pynetdesign.modelling.classes.DetectionParameters#
- class pynetdesign.modelling.classes.DetectionParameters(min_SNR_p, min_SNR_s, min_stations_p, min_stations_s, f_p=None, f_s=None, f_p_corner=None, f_s_corner=None, fs_mode=None, fs_level=None, fs_deviation=None, free_surface=None)[source]#
Container for the parameters controlling event detection.
- Parameters:
- min_SNR_p
float Minimum signal-to-noise ratio required to detect a P wave on one receiver.
- min_SNR_s
float Minimum signal-to-noise ratio required to detect an S wave on one receiver.
- min_stations_p
int Minimum number of receivers on which the event must be detected with P waves.
- min_stations_s
int Minimum number of receivers on which the event must be detected with S waves.
- f_p
float, optional Representative frequency of the P wave (Hz). If
None, the peak frequency is computed from the model.- f_s
float, optional Representative frequency of the S wave (Hz). If
None, the peak frequency is computed from the model.- f_p_corner
float, optional, default:None(100 Hz) Corner frequency of the P wave (Hz), limiting the peak frequency.
- f_s_corner
float, optional, default:None(100 Hz) Corner frequency of the S wave (Hz), limiting the peak frequency.
- fs_mode
str, optional, default:None('auto') Free surface correction mode, one of
'auto','on'or'off'. In'auto'mode the correction is applied to receivers that are withinfs_deviationof the free surface level, or according to theSurfacecolumn of the geometry when present.- fs_level
float, optional, default:None(0.0) Level of the free surface in metres above the reference level.
- fs_deviation
float, optional, default:None(1.0) Permitted deviation from the free surface level in metres.
- free_surface
bool, optional Deprecated override kept for backward compatibility.
Truemaps tofs_mode='on'andFalsetofs_mode='off'. IfNone,fs_modeis used.
- min_SNR_p
Notes
The free surface correction is applied per receiver, so a geometry combining surface and downhole receivers is handled correctly. This differs from PyNetDesign 1.0.x, where
free_surface=Trueamplified every receiver irrespective of its depth.Methods
__init__(min_SNR_p, min_SNR_s, ...[, f_p, ...])validate()