pytomoatt.src_rec.SrcRec.box_weighting¶
- SrcRec.box_weighting(d_deg: float, d_km: float, obj='both', dd_weight='average')[source]¶
Weighting sources and receivers by number in each subgrid
- Parameters:
d_deg (float) – grid size along lat and lon in degree
d_km (float) – grid size along depth axis in km, (only used when obj=’src’ or ‘both’)
obj (str, optional) – Object to be weighted, options:
src
,rec
orboth
, defaults toboth
dd_weight – Weighting method for double difference, options:
average
, multiply, defaults toaverage