Method for relative calibration of sensors using a sensor with known
transfer function
Parameters:
st1 Stream or Trace object, (known)
st2 Stream or Trace object, (unknown)
calib_file (String) file name of calibration file containing the PAZ of the
known instrument in GSE2 standard.
window_len (Float) length of sliding window in seconds
overlap_frac (float) fraction of overlap, defaults to fifty percent (0.5)
smooth (Float) variable that defines if the Konno-Ohmachi taper is used or
not. default = 0 -> no taper generally used in geopsy: smooth = 40
save_data (Boolean) Whether or not to save the result to a file. If True, two
output files will be created:
* The new response in station_name.window_length.resp
* The ref response in station_name.refResp
Defaults to True
Returns:
frequency, amplitude and phase spectrum
implemented after relcalstack.c by M.Ohrnberger and J.Wassermann.