|
Doxygen Source Code Documentation
Read_1D.m File Reference
Go to the source code of this file.
|
Functions |
| if (nargin==1) |
else | if (isstruct(p1)) |
| if (isfield(Opt, 'verb')&~isempty(Opt.verb)) verb |
end end | if (~isfield(Opt, 'method')|isempty(Opt.method)) |
end | if (~isfield(Opt, 'verb')|isempty(Opt.verb)) |
end | if (~isfield(Opt, 'chunk_size')|isempty(Opt.chunk_size)) |
end | if (~isfield(Opt, 'col_index')) Opt.col_index |
end | if (~isfield(Opt, 'chunk_index')) Opt.chunk_index=0 |
end | if (length(Opt.chunk_index(:))~=1) |
end | fprintf (2,'Opt.chunk_index must contain one value') |
| if (Opt.method< 0|Opt.method > 2) |
| fprintf (2,'Opt.method must be an integer between 0 and 2\n') |
end | if (~filexist(fname)) |
| if (verb) |
| fprintf (1,'Trying for%s or%s\n', fname2, fname3) |
end | if (filexist(fname2)) |
| elseif (filexist(fname3)) |
else | fprintf (2, 'Error%s:\n%s not found\n', FuncName, fname) |
end else | fprintf (1,'File%s exists and will be read.\n', fname) |
end end | if (Opt.method==0) |
end end load the D file | fprintf (1,'Reading file\n') |
| if (fid< 0) |
| fprintf (1,'Error%s:\nCould not read%s.\nCheck for file existence\n', FuncName, fname) |
| fclose (fid) |
purge comments | if (verb > 1) |
purge comments | fprintf (1,'Purging comments\n') |
remove line breaks and the
following new line | fprintf (1,'Removing line breaks\n') |
| for (i=1:1:nib) |
| c (ib(i)) |
| if (c(ib(i)+1)~=10) |
| fprintf (1,'Error%s:\nline break not followed by newline.\n', FuncName) |
else | c (ib(i)+1) |
end end | fprintf (1,'Replacing @\n') |
| if (nia) |
| while (j >0 &~found) |
| if (c(j) >= '0'&c(j)<= '9') |
Copy OK stuff | if (found) |
else | fprintf (1,'Error%s:\nno number preceding @\n', FuncName) |
| c (lst) |
| switch (meth) |
case this one s slow as hell | fprintf (1,'The str2num operation...\n') |
str2double fails miserably
where str2num does not case | fprintf (1,'The round about way...\n') |
| fprintf (1,'Error%s:\nFailed to open tempfile%s for writing\n', FuncName, ftmp) |
end | fprintf (fid,'%c', c) |
| unix (rmcom) |
1,'Selecting columns...\n' | fprintf () |
end slices | if (Opt.chunk_size > 0) |
| if (strt > size(v, 1)) |
| fprintf (1,'Error%s:\nNothing left to read(strt=%d, nvec=%d)\n', FuncName, strt, size(v, 1)) |
end | if (stp > size(v, 1)) stp = size(v,1) |
end | elseif (Opt.method==1) |
| if (isempty(v)) |
| fprintf (2,'Failed to read 1D file.If file exists Try method 0\n') |
| if (filexist(ftmpout)) |
'''[' | sprintf () |
end | unix (convcom) |
end end some fake Info stuff | if (nargout==3) |
Variables |
| function [err, v, Info] |
consider disk space issues
Input | Parameters |
consider disk space issues
Input default is method(0/1/2)
default is 0.%0 Debug Flag | DBG = 1 |
| verb = 1 |
| Opt = [] |
Opt | method = 0 |
end Opt | chunk_size = 0 |
| return |
end initailize return variables | err = 1 |
| v = [] |
| Info = [] |
end try with extension | fname2 = sprintf('%s.1D', fname) |
| fname3 = sprintf('%s.1D.dset', fname) |
end | fname = sprintf('%s', fname2) |
end | fid = fopen(fname,'r') |
end | c = fscanf(fid,'%c') |
| nc = length(c) |
end | ib = find (c == '\') |
| nib = length(ib) |
end work the cats | ia = find (c == '@') |
| lst = 1 |
| nia = length(ia) |
| cnew = '' |
bracket | found = 0 |
| j = ia(i)-1 |
Copy OK stuff | prod = str2num(c(found:ia(i)-1)) |
else | nxtchunk = nc |
| end [vr, cnt, err, nxt] = sscanf(c(ia(i)+1:nxtchunk), '%f', 1) |
insert the replacement | cinsert = num2str(ones(1,prod)*vr) |
end | meth = 2 |
end | ftmp = sprintf('%s_Read_1D_tmp_', fname) |
| rmcom = sprintf('rm -f %s', ftmp) |
end slices | strt = (Opt.chunk_size .* Opt.chunk_index) + 1 |
| stp = Opt.chunk_size .* (Opt.chunk_index+1) |
end Assuming D file has no
comments | n |
| ftmpout = sprintf('%s.1D.dset', ftmp) |
end | ssel = sprintf('%s %d ]''', ssel, Opt.col_index(length(Opt.col_index))) |
end | convcom = sprintf('ConvertDset -o_1dp -input %s%s -i_1D -prefix %s', fname, ssel, ftmp) |
Command | is |
Function Documentation
end elseif |
( |
Opt. |
method = = 1 |
) |
|
|
fprintf |
( |
2 |
, |
|
|
'Failed to read 1D file.If file exists Try method 0\n' |
|
|
) |
|
|
fprintf |
( |
1 |
, |
|
|
'Error%s:\nNothing left to read(strt=%d, nvec=%d)\n' |
, |
|
|
FuncName |
, |
|
|
strt |
, |
|
|
size(v, 1) |
|
|
) |
|
|
1,'Selecting columns ...\n' fprintf |
( |
|
) |
[virtual] |
|
end fprintf |
( |
fid |
, |
|
|
'%c' |
, |
|
|
c |
|
|
) |
|
|
fprintf |
( |
1 |
, |
|
|
'Error%s:\nFailed to open tempfile%s for writing\n' |
, |
|
|
FuncName |
, |
|
|
ftmp |
|
|
) |
|
|
str2double fails miserably where str2num does not case fprintf |
( |
1 |
, |
|
|
'The round about way...\n' |
|
|
) |
|
|
case this one s slow as hell fprintf |
( |
1 |
, |
|
|
'The str2num operation...\n' |
|
|
) |
|
|
end end fprintf |
( |
1 |
, |
|
|
'Replacing @\n' |
|
|
) |
|
|
fprintf |
( |
1 |
, |
|
|
'Error%s:\nline break not followed by newline.\n' |
, |
|
|
FuncName |
|
|
) |
|
|
remove line breaks and the following new line fprintf |
( |
1 |
, |
|
|
'Removing line breaks\n' |
|
|
) |
|
|
purge comments fprintf |
( |
1 |
, |
|
|
'Purging comments\n' |
|
|
) |
|
|
end end load the D file fprintf |
( |
1 |
, |
|
|
'Reading file\n' |
|
|
) |
|
|
end if |
( |
stp |
, |
|
|
size(v, 1) |
|
|
) |
= size(v,1) |
|
if |
( |
c(j) >= '0'&c(j)<= '9' |
|
) |
|
|
end end if |
( |
Opt. |
method = = 0 |
) |
|
|
end if |
( |
~ |
filexist(fname) |
) |
|
|
end if |
( |
~ |
isfield(Opt, 'chunk_index') |
) |
[pure virtual] |
|
end if |
( |
~ |
isfield(Opt, 'col_index') |
) |
|
|
end if |
( |
~ |
isfield(Opt, 'chunk_size')|isempty(Opt.chunk_size) |
) |
|
|
end if |
( |
~ |
isfield(Opt, 'verb')|isempty(Opt.verb) |
) |
|
|
end end if |
( |
~ |
isfield(Opt, 'method')|isempty(Opt.method) |
) |
|
|
'''[' sprintf |
( |
|
) |
[virtual] |
|
|
Referenced by add_point_to_list(), adwarp_refashion_dataset(), AFNI_anatmode_CB(), AFNI_andersonville(), AFNI_autorange_label(), AFNI_brick_to_mri(), AFNI_bucket_label_CB(), AFNI_choose_dataset_CB(), AFNI_controller_label(), AFNI_crosshair_label(), AFNI_dataset_slice(), AFNI_do_bkgd_lab(), AFNI_do_many_writes(), AFNI_equate_pbars(), AFNI_fimmer_compute(), AFNI_fimmer_execute(), AFNI_fimmer_setort(), AFNI_fimmer_setref(), AFNI_finalize_read_sess_CB(), AFNI_finalize_read_Web_CB(), AFNI_finalize_write_palette_CB(), AFNI_finalsave_layout_CB(), AFNI_find_jpegs(), AFNI_find_warp(), AFNI_follower_dataset(), AFNI_force_adoption(), AFNI_func_overlay(), AFNI_funcmode_CB(), AFNI_get_friend(), AFNI_gra_send_CB(), AFNI_hintize_pbar(), AFNI_imag_pop_CB(), AFNI_init_niml(), AFNI_init_plugouts(), AFNI_init_warp(), AFNI_initialize_controller(), AFNI_initialize_view(), AFNI_inten_av_texter(), afni_io(), AFNI_load_defaults(), AFNI_make_descendants_old(), AFNI_make_surface_widgets(), AFNI_make_widgets(), AFNI_mark_for_death(), AFNI_marks_action_CB(), AFNI_marks_quality_check(), AFNI_marks_transform_CB(), AFNI_niml_redisplay_CB(), AFNI_niml_viewpoint_CB(), AFNI_niml_workproc(), AFNI_overlay(), AFNI_palette_label_CB(), AFNI_parse_args(), AFNI_popup_sonnet(), AFNI_process_drawing(), AFNI_process_NIML_data(), AFNI_process_plugout(), AFNI_process_setup(), AFNI_range_label(), AFNI_range_lock_carryout(), AFNI_read_images(), AFNI_read_inputs(), AFNI_refashion_dataset(), AFNI_rescan_all_CB(), AFNI_rescan_CB(), AFNI_rescan_session_NEW(), AFNI_rescan_session_OLD(), AFNI_send_image(), AFNI_seq_send_CB(), AFNI_serverlog(), AFNI_set_func_range(), AFNI_set_thr_pval(), AFNI_set_valabel(), AFNI_set_viewpoint(), AFNI_set_window_titles(), AFNI_setenv(), AFNI_start_io(), AFNI_start_version_check(), AFNI_startup_layout_CB(), AFNI_startup_timeout_CB(), AFNI_thr_scale_CB(), AFNI_thresh_lock_carryout(), AFNI_thresh_tlabel_CB(), AFNI_ttatlas_overlay(), AFNI_update_surface_widgets(), AFNI_version_check(), AFNI_write_many_dataset_CB(), Alloc(), approximate_number_string(), Argtype(), ART_send_control_info(), ART_start_io(), AV_fval_to_char(), bad_atypes(), badthing(), basis_write_iresp(), basis_write_sresp(), BFIT_main(), c_type_decl(), calc_hist(), CALC_read_opts(), calc_stats(), calculate_contrasts(), calculate_differences(), calculate_means(), calculate_sstr(), calculate_sum(), calculate_y(), calculate_ysum(), cds(), changedtype(), check_for_valid_inputs(), check_one_output_file(), check_piece(), check_temporary_files(), check_volume(), clear_around_point(), clip_memplot(), CloseBitRateFile(), Clp_VaOptionError(), comm_union_name(), COMPRESS_fopen_read(), COMPRESS_fopen_write(), ComputeDHMSTime(), conv_set_ref(), convci(), copy_memplot(), CORREL_main(), create_bucket(), create_memplot_surely(), dataname(), dclerr(), DCM_GetString(), DCM_OpenFile(), def_commons(), DELAY_main(), delete_volume(), do_string(), do_xrestore_stuff(), DOT_main(), DRAW_choose_CB(), DRAW_finalize_dset_CB(), DRAW_label_CB(), DRAW_label_EV(), DRAW_main(), DRAW_saveas_finalize_CB(), DRAW_undo_butlab(), DRAW_value_string(), DrawSubWindow(), DrawTopWindow(), DSETN_func(), dtos(), DUMP_main(), dump_PBAR_palette_table(), DWI_AFNI_update_graph(), DWI_NIML_create_newgraph(), DWI_Open_NIML_stream(), EDIT_add_bricklist(), EDIT_coerce_scale_type(), EDIT_coerce_type(), EDIT_dset_items(), EDIT_one_dataset(), ENV_main(), equiv_name(), erri(), errl(), errstr(), estimate_field(), EX_read_opts(), exassign(), execerr(), explode_filename(), exportData(), exportEncapsulatedPixels(), exportPixels(), EXTRACT_main(), f_end(), f_open(), fatali(), fatalstr(), FD_warp_to_mri(), FFT_selection(), file_exists(), fill_afni_struct(), fim3d_fimmer_compute(), FIM_selection(), fix_entry_returns(), fk_open(), flconst(), fmtname(), form_clusters(), FramesToMPEG(), GenMPEGStream(), get_fft_mag(), get_inputs(), get_line_opt(), get_MAC_addr(), get_options(), get_popup_label(), get_UNIQ_string(), get_user_inputs(), GetNthInputFileName(), GetRemoteFrame(), gettok(), GOPStoMPEG(), GRA_drawing_EV(), GRA_handle_keypress(), GRA_mapmenu_CB(), GRA_redraw_overlay(), handle_tta(), hilbertdelay_V2(), HISTO_main(), imsized_fname(), init_colors(), init_indep_var_matrix(), init_maxima_s(), init_MCW_sizes(), init_TRUST_list(), init_trusted_list(), initialize_glt_options(), initialize_model(), initialize_noise_model(), initialize_options(), initialize_program(), initialize_signal_model(), initialize_stim_options(), iochan_init(), ioset(), ioseta(), ISQ_butsave_EV(), ISQ_cropper(), ISQ_draw_winfo(), ISQ_drawing_EV(), ISQ_make_image(), ISQ_reset_dimen(), ISQ_rowgraph_label(), ISQ_saver_CB(), ISQ_set_barhint(), ISQ_setup_new(), ISQ_setup_ppmto_filters(), ISQ_snapfile(), JMovie2JPEG(), JPEG_matrix_gray(), jpeg_open_backing_store(), L1F_main(), L1F_worker(), l_g(), l_R(), Len(), lin_shift(), list_decls(), ListDirectory(), lit_name(), LMAP_XNAME(), LMAP_YNAME(), LMAP_ZNAME(), LSQ_main(), LSQ_worker(), main(), main_FD_EPI(), MAIN_workprocess(), many(), markov_array(), MASKAVE_main(), matrix_file_read(), MB_RateOut(), MCW_choose_CB(), MCW_choose_multi_editable_strlist(), MCW_choose_multi_strlist(), MCW_choose_timeseries(), MCW_fc7(), MCW_file_expand(), mcw_malloc_dump(), mcw_malloc_status(), md5_draw_frame(), MD5_static_printf(), memname(), memplot_to_topshell(), mixed_type(), mkbitcon(), mkfunct(), mkname(), mpeg_setup(), mri_imcount_mpeg(), mri_overlay_2D(), mri_read3D_analyze75(), mri_read_3A(), mri_read_3D(), mri_read_3D_delay(), mri_read_analyze75(), mri_read_mpeg(), mri_read_ppm3(), mri_read_siemens(), mri_read_stuff(), mri_to_niml(), mri_warp3d_align_one(), mri_write_analyze(), mri_write_angif(), mri_write_jpg(), multivector_write(), MV_fval_to_char(), name_color(), name_delay(), name_loopcount(), ncio_ffio_assign(), new_arg_length(), new_MCW_grapher(), new_PLUGIN_interface_1999(), newentry(), NI_fval_to_char(), NI_malloc_dump(), NI_malloc_status(), NI_read_file_nohead(), NI_rowtype_find_name(), NI_rowtype_procins(), NI_stat_encode(), NI_stream_reopen(), NI_val_to_text(), NI_write_element(), NI_write_procins(), nifti_set_afni_extension(), NLFIT_get_all_MODELs(), NLFIT_get_many_MODELs(), NLFIT_read_MODEL(), NOTES_add_CB(), NOTES_choose_CB(), NOTES_delete_CB(), NOTES_finalize_dset_CB(), NOTES_main(), NOTES_save_CB(), NUD_3string(), NUD_brick_av_label_CB(), NUD_choose_CB(), NUD_doall_CB(), NUD_main(), NUD_threestring(), opconv_fudge(), open_MCW_imseq(), open_URL_hpf(), output_results(), output_ts_array(), patch_PLUGIN_dataset_links(), PBAR_button_EV(), PBAR_enviro_bigmaps(), PBAR_labelize(), PDF_float_to_pdf(), PDF_short_to_pdf(), pgm_draw_frame(), pgm_setup(), pipe_color_transformer(), plot_image_surface(), PLUG_choose_dataset_CB(), PLUG_finalize_dataset_CB(), PLUG_get_all_plugins(), PLUG_get_many_plugins(), PLUG_read_plugin(), PLUG_setup_widgets(), PLUG_startup_plugin_CB(), PLUGIN_init(), PLUTO_add_hint(), PLUTO_popup_dset_chooser(), populate_nifti_image(), POWER_main(), pr_att_vals(), pr_tvals(), print_all_clusters(), print_extrema(), print_plot(), printbval(), printdval(), printfval(), printival(), printsval(), process_all_datasets(), process_args(), process_NIML_AFNI_dataset(), process_NIML_AFNI_volumedata(), process_NIML_MRI_IMAGE(), process_NIML_Node_ROI(), process_NIML_SUMA_ijk(), process_NIML_SUMA_ixyz(), process_NIML_SUMA_node_normals(), ProcessRefFrame(), putentries(), putio(), putmnmx(), putpower(), PV2S_check_surfaces(), PV2S_process_args(), qh_option(), qhull_wrap(), quotize_float_vector(), quotize_int_vector(), r_any_cb_hide(), r_any_cb_raise(), r_gr_cb_set_max_dist(), r_gr_cb_set_range(), r_gr_mk_fillval_fr(), r_gr_mk_max_dist_w(), r_gr_mk_range_fr(), r_gr_set_fill_val(), r_histogram(), r_HL_cb_set_fill_val(), r_HL_cb_set_maxsize(), r_HL_mk_fillval_fr(), r_HL_mk_maxsize_fr(), r_index2pt(), r_INT_cb_set_fill_val(), r_INT_mk_fillval_fr(), r_main_cb_saveas(), r_save_dataset_as(), r_set_afni_s_from_dset(), r_wt_cb_set_diag_conn(), r_wt_cb_set_fill_val(), r_wt_cb_set_min_nbrs(), r_wt_cb_set_range(), r_wt_mk_diag_conn_fr(), r_wt_mk_fillval_fr(), r_wt_mk_nbrs_fr(), r_wt_mk_range_fr(), r_wtgr_cb_suggest_limits(), RCREND_autorange_label(), RCREND_choose_av_CB(), RCREND_choose_av_label_CB(), RCREND_choose_CB(), RCREND_clip_CB(), RCREND_finalize_dset_CB(), RCREND_finalize_func_CB(), RCREND_main(), RCREND_make_cutout(), RCREND_range_label(), RCREND_read_exec_CB(), RCREND_read_this_CB(), RCREND_reload_dataset(), RCREND_save_many_CB(), RCREND_save_this_CB(), RCREND_set_thr_pval(), RCREND_state_to_widgets(), RCREND_thresh_tlabel_CB(), rd_disp_dset_info(), rd_disp_mri_image(), rd_F(), read_dataset(), read_gif(), read_input_data(), read_mincdim(), read_one_time_series(), read_options(), read_piece(), read_table(), read_time_series(), read_URL_ftp(), read_URL_http(), read_volume(), ReadDecodedRefFrame(), ReadFrame(), ReadInputFileNames(), ReadIOConvert(), ReadParamFile(), redraw_graph(), REND_autorange_label(), REND_choose_av_CB(), REND_choose_av_label_CB(), REND_choose_CB(), REND_clip_CB(), REND_finalize_dset_CB(), REND_finalize_func_CB(), REND_main(), REND_make_cutout(), REND_range_label(), REND_read_exec_CB(), REND_read_this_CB(), REND_reload_dataset(), REND_save_many_CB(), REND_save_this_CB(), REND_set_thr_pval(), REND_state_to_widgets(), REND_thresh_tlabel_CB(), report_results(), reset_options(), ROIPLOT_main(), RT_3T_to_AFNI(), RT_fim_recurse(), RT_main(), RT_start_dataset(), RT_tell_afni(), RWC_init_fim_colors(), RWC_xineramize(), save_all_images(), save_argtypes(), save_pgm(), save_pieces(), save_ppm(), SC_read_opts(), SCAT_main(), select_file_name(), set_formats(), set_tmp_names(), set_viewer_name(), setbound(), setimpl(), setup_mri_write_angif(), SetupWriteDistortions(), SFIM_write_avs(), SKIT_popper(), Smooth_line(), Specifics_Init(), StartIOServer(), StartMasterServer(), string_num(), SUMA_2Prefix2SurfaceName(), SUMA_Add_Color(), SUMA_AddColAttr(), SUMA_AFNI_Extract_Colors(), SUMA_AfniPrefix(), SUMA_AfniView(), SUMA_Align_to_VolPar(), SUMA_Alloc_Axis(), SUMA_AllocateDrawnROI(), SUMA_AllocateROI(), SUMA_AssembleAllROIList(), SUMA_AssembleColorPlaneList(), SUMA_ATF_SetString(), SUMA_AxisText(), SUMA_BrainVoyager_Read_vmr(), SUMA_Build_FirstNeighb(), SUMA_cb_AbsThresh_tb_toggled(), SUMA_cb_createSumaCont(), SUMA_cb_createSurfaceCont(), SUMA_cb_createViewerCont(), SUMA_cb_moreViewerInfo(), SUMA_cb_search_text(), SUMA_cb_set_threshold_label(), SUMA_CheckOnSpecFile(), SUMA_ColLabelCopy(), SUMA_ColorMapVec_Info(), SUMA_ColorOverlayPlane_Info(), SUMA_ColorVec_Info(), SUMA_ColPlane_NewOrder(), SUMA_CreateCmapWidgets(), SUMA_CreateOverlayPointer(), SUMA_CreateSurfContStruct(), SUMA_disp_dmat(), SUMA_disp_mat(), SUMA_disp_vecdmat(), SUMA_disp_vecmat(), SUMA_disp_vecucmat(), SUMA_DsetColLabelCopy(), SUMA_DsetInfo(), SUMA_Engine(), SUMA_EngineSourceString(), SUMA_EquateSurfaceSize(), SUMA_Extension(), SUMA_FakeIt(), SUMA_FileSelection_file_select_cb(), SUMA_Format(), SUMA_FormatMessage(), SUMA_FreeSurfer_Read_eng(), SUMA_Get_AFNI_Default_Color_Maps(), SUMA_GetDsetValInCol(), SUMA_GetValInCol(), SUMA_GimmeSomeSOs(), SUMA_Init_SurfCont_SurfParam(), SUMA_InitializeColPlaneShell(), SUMA_InitializeDrawROIWindow(), SUMA_InitializeEngineListData(), SUMA_input(), SUMA_InsertDsetPointer(), SUMA_Interpret_AFNIColor(), SUMA_IO_args_2_spec(), SUMA_iRGB_to_OverlayPointer(), SUMA_IV_FaceSetsextract(), SUMA_IV_XYZextract(), SUMA_Linearize_Color_Map(), SUMA_Load_Spec_Surf(), SUMA_Load_Surface_Object_eng(), SUMA_Load_Surface_Object_Wrapper(), SUMA_LockEnum_LockType(), SUMA_Make_Edge_List_eng(), SUMA_MakeColorMap(), SUMA_MakeColorMap_v2(), SUMA_MemberFaceSets(), SUMA_Mesh_IJK2Mesh_IJK_nel(), SUMA_NewSO(), SUMA_NodeVal2irgba_nel(), SUMA_NodeXYZ2NodeXYZ_nel(), SUMA_OpenDrawnROI_1D(), SUMA_OpenDrawnROI_NIML(), SUMA_OpenDX_Read_CruiseVolHead(), SUMA_pad_str(), SUMA_ParseFname(), SUMA_ParseLHS_RHS(), SUMA_PlaneOrder_Info(), SUMA_PrepAddmappableSO(), SUMA_process_environ(), SUMA_ProjectSurfaceToSphere(), SUMA_qhull_wrap(), SUMA_Read_SpecFile(), SUMA_Read_SureFit_Param(), SUMA_readFScurv(), SUMA_RegisterEngineData(), SUMA_RegisterEngineListCommand(), SUMA_RenderToPixMap(), SUMA_ROIv2dataset(), SUMA_ROIv2Grpdataset(), SUMA_SaveDrawnROI_1D(), SUMA_SaveDrawnROINIML(), SUMA_SaveVisualState(), SUMA_SendToSuma(), SUMA_SetScaleRange(), SUMA_Show_SurfClust_list_Info(), SUMA_SO2nimlSO(), SUMA_SOGroup_2_Spec(), SUMA_SOVolPar2VolPar_nel(), SUMA_SpecStructInfo(), SUMA_StretchToFitLeCerveau(), SUMA_StringAppend(), SUMA_StripPath(), SUMA_SureFit_Read_Coord(), SUMA_SureFit_Read_Topo(), SUMA_SurfaceFileName(), SUMA_SurfaceObject_Info(), SUMA_SurfNorm(), SUMA_TableF_SetString(), SUMA_truncate_string(), SUMA_UpdateNodeLblField(), SUMA_UpdateNodeNodeField(), SUMA_UpdateTriField(), SUMA_UpdateViewerTitle_old(), SUMA_ver2date(), SUMA_VolPar_Info(), SUMA_Write_DrawnROI_NIML(), T3D_check_outliers(), T3D_create_widgets(), T3D_data_to_widgets(), T3D_geometry_parent_CB(), T3D_initialize_user_data(), T3D_read_images(), T3D_setup_stat_aux(), T3D_swap_CB(), TAG_add_CB(), TAG_get_dset_CB(), TAG_main(), TAG_make_widgets(), TAG_read_CB(), targetRateControl(), temp_name(), terminate(), terminate_program(), TFIM_getopts(), THD_3dim_from_block(), THD_add_bricks(), THD_datablock_apply_atr(), THD_datablock_from_atr(), THD_dataset_info(), THD_get_all_executables(), THD_get_all_filenames(), THD_init_datablock_labels(), THD_init_diskptr_names(), THD_init_one_datablock(), THD_init_session(), THD_open_3dcalc(), THD_open_minc(), THD_open_nifti(), THD_read_niml_atr(), THD_rename_dataset_files(), THD_set_atr(), THD_setup_bricks(), THD_store_datablock_label(), THD_subbrick_to_niml(), THD_write_datablock(), THD_write_minc(), THD_write_nimlatr(), top_nr_name(), tostring(), tross_Add_Note(), tross_Append_History(), tross_Delete_Note(), tross_Get_Note(), tross_Get_Notedate(), tross_Store_Note(), TT_read_opts(), TT_whereami(), UNIQ_idcode(), updateRateControl(), user_label(), UTL_ConvertFloattoTime(), UTL_ConvertLongtoDate(), UTL_GetDicomDate(), UTL_GetDicomTime(), UUID_hashcode(), v2s_write_outfile_niml(), vector_multiply(), verify_inputs(), verror(), VOLREG_main(), vpt_to_char(), warn1(), warni(), weighted_index(), wr_ardecls(), write_3dtime(), write_afni_data(), write_bucket(), write_bucket_data(), write_one_ts(), write_piece(), write_results(), write_table(), write_ts_array(), WriteDecodedFrame(), wrt_E(), wrt_F(), and XSAVE_output(). |
Variable Documentation
insert the replacement cinsert = num2str(ones(1,prod)*vr) |
|
|
Initial value:
Definition at line 1 of file Read_1D.m. |
|
Definition at line 142 of file Read_1D.m.
Referenced by calculate_xdifferences(), cl1_fort(), cub_shift(), do_ncdump(), hept_shift(), isort_doubleint(), isort_floatfloat(), isort_floatint(), isort_floatstuff(), isort_intint(), isort_pair(), lin_shift(), main(), nn_shift(), nn_shift_byte(), pr_att(), qsort_doubleint(), qsort_floatfloat(), qsort_floatint(), qsort_floatstuff(), qsort_intint(), qsort_pair(), qsrec_doubleint(), qsrec_floatfloat(), qsrec_floatint(), qsrec_floatstuff(), qsrec_intint(), qsrec_pair(), quint_shift(), THD_erase_all_atr(), THD_find_atr(), THD_nimlize_dsetatr(), THD_set_atr(), THD_write_atr(), ts_shift(), ts_shift_2byte(), ts_shift_byte(), and zzchar_(). |
|
Definition at line 129 of file Read_1D.m.
Referenced by AFNI_brick_to_mri(), AFNI_do_many_writes(), AFNI_first_tog(), AFNI_make_wid2(), AFNI_marktog_CB(), AFNI_overlay(), AFNI_seq_send_CB(), AFNI_set_tog(), AFNI_set_valabel(), allocate_pieces(), basis_write_iresp(), basis_write_sresp(), calculate_results(), calculate_xdifferences(), check_for_valid_inputs(), count_volumes_and_files(), drive_MCW_imseq(), GRA_setshift_action_CB(), GRA_setshift_startup(), hmode_(), init_indep_var_matrix(), INTERP_evaluate(), INTERP_setup_linear(), ISQ_but_disp_CB(), ISQ_disp_act_CB(), ISQ_disp_options(), ISQ_free_alldata(), ISQ_montage_action_CB(), ISQ_montage_CB(), ISQ_record_CB(), ISQ_record_send_CB(), lmode_(), main(), MCW_bbox_hints(), MCW_choose_CB(), MCW_choose_integer(), MCW_choose_multi_editable_strlist(), MCW_choose_multi_strlist(), MCW_choose_ovcolor(), MCW_choose_string(), MCW_choose_timeseries(), MCW_choose_vector(), MCW_file_expand(), MCW_set_bbox(), MCW_val_bbox(), new_MCW_bbox(), outer9_box_func(), output_results(), output_ts_array(), partial_cliplevel(), PLUG_fillin_values(), PLUG_freeup_values(), PLUG_optional_toggle_CB(), PLUG_setup_widgets(), rank_order_float(), report_results(), show_options(), SUMA_pad_string(), terminate_program(), THD_3dfind_to_fdfind(), THD_3dind_to_fdind(), THD_cliplevel(), THD_fdfind_to_3dfind(), THD_fdind_to_3dind(), write_3dtime(), write_bucket_data(), and write_ts_array(). |
end Running ConvertDset to purging D file of bells and whistles n |
|
|
Definition at line 126 of file Read_1D.m.
Referenced by AJ_make_STDcol(), AJ_StoreColors(), color_quantize(), DC_color_bright(), DC_gray_change(), DC_gray_conbrio(), DC_gray_contrast(), DC_init_im_col(), DC_init_im_gry(), DC_palette_rotate(), DC_palette_swap(), DC_set_image_colors(), extract_assign_directions(), extract_byte_fs(), extract_byte_liby(), extract_byte_lifl(), extract_byte_lix(), extract_byte_lixx(), extract_byte_nn(), extract_byte_speedtest(), extract_byte_ts(), extract_byte_tsx(), extract_rgba_nn(), find_color_index(), getplane_byte(), init_histogram(), load_tmp_colors(), main(), Make_RGB_lookup(), mcw_load(), null_convert(), pipe_color_transformer(), ppmd_polyspline(), putplane_byte(), quantize_fs_dither(), quantize_ord_dither(), RCREND_axis_rotmatrix(), REND_init_cmap(), ROIPLOT_main(), RT_start_dataset(), s_cat(), select_ncolors(), studave_t2p(), studave_t2z(), SUMA_ClusterCenterofMass(), SUMA_disp_dmat(), SUMA_disp_mat(), SUMA_disp_vecdmat(), SUMA_disp_vecmat(), SUMA_disp_vecucmat(), SUMA_dqsortrow(), SUMA_FindClusters(), SUMA_fqsortrow(), SUMA_GetStandardMap(), SUMA_NodePath_to_TriPath_Inters(), SUMA_ReadCharStdin(), swaptest(), TAG_columnize(), THD_average_timeseries(), and tross_multi_Append_History(). |
Copy OK stuff prod = str2num(c(found:ia(i)-1)) |
|
|