CCP package

seispy.rfcorrect module

class seispy.rfcorrect.DepModel(YAxisRange, velmod='iasp91')[source]

Bases: object

class seispy.rfcorrect.Mod3DPerturbation(modpath, YAxisRange, velmod='iasp91')[source]

Bases: object

interpdvp(points)[source]
interpdvs(points)[source]
class seispy.rfcorrect.SACStation(evt_lst, only_r=False)[source]

Bases: object

resample(dt)[source]
seispy.rfcorrect.from_file(mode_name)[source]
seispy.rfcorrect.interp_depth_model(model, lat, lon, new_dep)[source]
seispy.rfcorrect.moveoutcorrect_ref(stadatar, raypref, YAxisRange, sampling, shift, velmod='iasp91')[source]
Parameters
  • stadatar – data class of SACStation

  • raypref – referred ray parameter in rad

  • YAxisRange – Depth range in nd.array type

  • sampling – dt

  • shift – time before P

  • velmod – Path to velocity model

Returns

Newdatar, EndIndex, x_s, x_p

seispy.rfcorrect.psrf2depth(stadatar, YAxisRange, sampling, shift, velmod='iasp91', velmod_3d=None, srayp=None)[source]
Parameters
  • stadatar

  • YAxisRange

  • sampling

  • shift

  • velmod

Returns

seispy.rfcorrect.psrf_1D_raytracing(stadatar, YAxisRange, velmod='iasp91', srayp=None)[source]
seispy.rfcorrect.psrf_3D_migration(pplat_s, pplon_s, pplat_p, pplon_p, raylength_s, raylength_p, Tpds, YAxisRange, mod3d)[source]
seispy.rfcorrect.psrf_3D_raytracing(stadatar, YAxisRange, mod3d, srayp=None)[source]

Back ray trace the S wavs with a assumed ray parameter of P.

stla: float

The latitude of the station

stlo: float

The longitude of the station

stadatar: object SACStation

The data class including PRFs and more parameters

YAxisRange: array_like

The depth array with the same intervals

mod3d: ‘Mod3DPerturbation’ object

The 3D velocity model with fields of dep, lat, lon, vp and vs.

seispy.rfcorrect.time2depth(stadatar, YAxisRange, Tpds)[source]

seispy.rf2depth_makedata module

class seispy.rf2depth_makedata.Station(sta_lst)[source]

Bases: object

seispy.rf2depth_makedata.init_mat(sta_num)[source]
seispy.rf2depth_makedata.makedata(cpara, velmod3d=None, log=<seispy.setuplog.setuplog object>)[source]
seispy.rf2depth_makedata.makedata3d(cpara, velmod3d, log=<seispy.setuplog.setuplog object>, raytracing3d=True)[source]
seispy.rf2depth_makedata.rf2depth()[source]

seispy.ccp module

seispy.ccp.ccp_profile()[source]
seispy.ccp.fix_filename(filename, typ='dat')[source]
seispy.ccp.get_sta(rfdep, stalist, line_loca, dep_axis, log)[source]
seispy.ccp.init_profile(lat1, lon1, lat2, lon2, val)[source]
seispy.ccp.line_proj(lat1, lon1, lat2, lon2)[source]
seispy.ccp.search_pierce(rfdep, bin_loca, profile_range, stack_range, dep_axis, log, bin_radius=None, isci=False, domperiod=5)[source]
seispy.ccp.select_sta(rfdep, stalist, line_loca, width, dep_axis, log)[source]
seispy.ccp.stack(rfdep, cpara, log=<seispy.setuplog.setuplog object>)[source]
Parameters
  • rfdep – RFdepth struct

  • cpara – parameters for CCP stacking

  • log – class for seispy.setuplog.setuplog

Returns

seispy.ccp.writedat(dat_path, stack_data, stack_range, isci=False)[source]

seispy.ccppara module

class seispy.ccppara.CCPPara[source]

Bases: object

property bin_radius
property shape
seispy.ccppara.ccppara(cfg_file)[source]