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.

Parameters:
  • 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.

Notes

The Hi-net website uses the moving-coil velocity-type seismometer. See Instrumental Response for details.

write_sacpz(pzfile, keep_sensitivity=False)

Write channel information into a SAC polezero file.

Parameters:
  • pzfile (str) – Name of the SAC polezero file.

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