hispecdrp.primitives.wavesol.set_wavesol_primitive

Classes

SetInitialWLSPrimitive([dataset, config, ...])

Set the initial wavelength solution for each fiber/order.

class SetInitialWLSPrimitive(dataset=None, config=None, context=None, log_config=None, parent=None, **kwargs)[source]

Bases: BasePrimitive

Set the initial wavelength solution for each fiber/order. This should be accurate to ~ < 10% of a resolution element.

Parameters:
  • input (str or L1Model) – Input L1 model or file name.

  • suffix (str) – Suffix to add to the output file name. Default is ‘wavesolinit’.

  • do_fibers (list of int, optional) – List of fibers to process. Default is all fibers.

  • do_orders (list of int, optional) – List of orders to process. Default is all orders.

Calibrations:

wavesol (str or CalibrationModel) –

Notes

This depends on the type of wavelength solution and is under development

Returns:

output (L2Model) – The output model with the initial wavelength solution set.