Commit 2e187049d2f9475e851422a5aaa849e107904cdf

Authored by Ilyes Choubani
1 parent 11a73ecb
Exists in master

removed comments. Procedure was updated so that it also filters wavelengths for …

…spectrum data points. Help section TB_UP
Showing 1 changed file with 0 additions and 2 deletions   Show diff stats
src/idl/dustem_mask_data.pro
... ... @@ -51,9 +51,7 @@ IF keyword_set(data_struct) and keyword_set(omit) THEN BEGIN
51 51 ;Tag names present in data_struct (to be able to test on the different data sets)
52 52 tagnames = tag_names(data_struct)
53 53  
54   - ;if typename(omit) EQ 'STRING' then ind0=intarr(n_elements(omit)) else ind0 = omit[*] ;a simple '=' ties the two lists (but not arrays) and a modification in one will result in the exact same modification in the other list.
55 54  
56   - ;YOU NEED TO UNCOMMENT THIS LINE AND TEST IT.
57 55 if typename(omit) EQ 'LIST' then ind0 = omit[*] else ind0=intarr(n_elements(omit)) ; this is a better condition because it is also valid for when the user wants to omit 'spectrum' (non-filter) data points.
58 56 ;because types can be float or double but not long.
59 57  
... ...