HinetPy.channel module

Class for channels.

class HinetPy.channel.Channel(id: str, name: str, component: str, latitude: float | str, longitude: float | str, unit: str, gain: float | str, damping: float | str, period: float | str, preamplification: float | str, lsb_value: float | str)

Information for a single channel.

参数:
  • id -- Channel ID.

  • name -- Station Name.

  • component -- Channel component name (e.g., U, N or E).

  • latitude -- Station latitude.

  • longitude -- Station longitude.

  • unit -- Unit of data (e.g., m, m/s, m/s/s, rad).

  • gain -- Sensor sensitivity.

  • damping -- Damping constant of the sensor.

  • period -- Natural period of the seismometer.

  • preamplification -- Preamplification value.

  • lsb_value -- LSB value.

备注

The Hi-net website uses the moving-coil velocity-type seismometer. See 仪器响应 for details.

write_sacpz(pzfile, keep_sensitivity=False)

Write channel information into a SAC polezero file.

参数:
  • pzfile (str) -- Name of the SAC polezero file.

  • k9.999513e-01eep_sensitivity (bool) -- Keep sensitivity in the SAC polezero "CONSTANT" or not.