edges_cal.cal_coefficients.Load.from_io

classmethod Load.from_io(io_obj: ~edges_io.io.CalibrationObservation, load_name: str, f_low: ~astropy.units.quantity.Quantity = <Quantity 40. MHz>, f_high: ~astropy.units.quantity.Quantity = <Quantity inf MHz>, reflection_kwargs: dict | None = None, spec_kwargs: dict | None = None, loss_kwargs: dict | None = None, ambient_temperature: float | None = None)[source]

Define a full Load from a path and name.

Parameters:
  • path (str or Path) – Path to the top-level calibration observation.

  • load_name (str) – Name of a load to define.

  • f_low, f_high (float) – Min/max frequencies to keep in measurements.

  • reflection_kwargs (dict) – Extra arguments to pass through to SwitchCorrection.

  • spec_kwargs (dict) – Extra arguments to pass through to LoadSpectrum.

  • ambient_temperature – The ambient temperature to use for the loss, if required (required for new hot loads). By default, read an ambient load’s actual temperature reading from the io object.

Returns:

load (Load) – The load object, containing all info about spectra and S11’s for that load.