pytomoatt.src_rec.SrcRec.read

classmethod SrcRec.read(fname: str, dist_in_data=False, name_net_and_sta=False, **kwargs)[source]

Read source <–> receiver file to pandas.DataFrame

Parameters:
  • fname (str) – Path to src_rec file

  • dist_in_data (bool) – Whether distance is included in the src_rec file

  • name_net_and_sta (bool) – Whether to include network and station name in the src_rec file

Returns:

class of SrcRec

Return type:

SrcRec