- Timestamp:
- Jul 2, 2013 2:38:09 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sans/Dev/trunk/NCNR_User_Procedures/Reduction/SANS/EventModeProcessing.ipf
r915 r916 2762 2762 fSplitBigFile(splitSize, baseStr) 2763 2763 2764 ShowSplitFileTable() 2764 2765 End 2765 2766 … … 2863 2864 End 2864 2865 2866 // allows the list of loaded files to be edited 2867 Function ShowSplitFileTable() 2868 2869 SVAR str = root:Packages:NIST:Event:gSplitFileList 2870 2871 Make/O/T/N=1 root:Packages:NIST:Event:SplitFileWave 2872 WAVE tw = root:Packages:NIST:Event:SplitFileWave 2873 2874 List2TextWave(str,tw) 2875 Edit tw 2876 2877 return(0) 2878 End 2865 2879 2866 2880 … … 3135 3149 End 3136 3150 3137 // functions that take file names as arguments so that the loading an be done in batch mode 3138 // for the mode of "one continuous exposure" 3151 // loads a list of files, decimating each chunk as it is read in 3139 3152 // 3140 3153 Function Stream_LoadDecim(ctrlName) … … 3152 3165 3153 3166 3167 // if "stream" mode is not checked - abort 3168 NVAR gEventModeRadioVal= root:Packages:NIST:gEvent_mode 3169 if(gEventModeRadioVal != MODE_STREAM) 3170 Abort "The mode must be 'Stream' to use this function" 3171 return(0) 3172 endif 3173 3174 // if the list has been edited, turn it into a list 3175 WAVE/T/Z tw = root:Packages:NIST:Event:SplitFileWave 3176 if(WaveExists(tw)) 3177 listStr = TextWave2SemiList(tw) 3178 endif 3179 3180 3154 3181 3155 3182 //loop through everything in the list … … 3180 3207 t_longest = waveMax(rescaledTime) //should be the last point 3181 3208 3182 // (2) do the decimation, just on timePt. Ignore rescaledTime for now3209 // (2) do the decimation, just on timePt. create rescaledTime from the decimated timePt 3183 3210 3184 3211 Duplicate/O timePt, timePt_dTmp
Note: See TracChangeset
for help on using the changeset viewer.