[ShCommands Return to command index] == filter traces == '''command''': FILTER [ ] [] Filters traces with filters read in previously by a FILI command (kinds 'F' and 'R') ar attenuates traces (kind 'A'). All filters of the specified kind () in memory are applied sequentially to the traces. If no time window (, ) is specified, the whole traces are filtered. If 'A' is selected, the desired attenuation must be passed in parameter (t* in sec). The result of filtering is displayed in new traces. The input traces remain unchanged. === parameters === * ''parameter type: char''[[BR]] Kind of filter. Valid values are * 'F' - applies FFT filter, previously read in by a "[ShFili FILI] F " command * 'T' - applies digital filter, previously read in by a "[ShFili FILI] T " command * 'R' - applies recursive filter, previously read in by a "[ShFili FILI] R " command * 'A' - attenuation with t* = sec * 'H' - computes Hilbert transformation * 'M' - computes minimum delay wavelet * 'P' - (undocumented) * ''parameter type: trace list''[[BR]] Input traces for filtering. These trace remain unchanged. If no time window is entered, all traces are filtered. * , ''parameter type: real''[[BR]] Time window on all traces. The filtering of the input traces is restricted to this time window. * ''parameter type: real''[[BR]] Attenuation (t* in sec). Only valid for = 'A'. === qualifiers === * /taper=[[BR]] Valid only for FFT and digital filters. Applies a cosine taper to filtered trace in frequency domain. ranges from 0.0 to 1.0. Default value is 1.0. The taper is started at sample *N if N is the length of the trace in frequency domain. A value of 1.0 and greater means that no taper is applied. * /demean[[BR]] (undocumented) * /lpc[[BR]] (undocumented) === example === `filter F ALL`:: filters all traces with the previous read filter in full length `filter F 1-3 10 110`:: filters traces 1-3 within time window 10..110