pytomoatt.src_rec.SrcRec.generate_double_difference¶
- SrcRec.generate_double_difference(type='cs', max_azi_gap=15, max_dist_gap=2.5, dd_weight='average', recalc_baz=False)[source]¶
Generate double difference data
- Parameters:
type (str, optional) – Type of double difference, options:
cr
,cs
orboth
, defaults tocs
max_azi_gap (float, optional) – Maximum azimuthal gap for selecting events, defaults to 15
max_dist_gap (float, optional) – Maximum distance gap for selecting events, defaults to 2.5
dd_weight – Weighting method for double difference, options:
average
,multiply
, defaults toaverage
recalc_baz (bool, optional) – Recalculate azimuth and back azimuth, defaults to False
self.rec_points_cr
orself.rec_points_cs
are generated