megaradrp.simulation — Simulation modules

Sequences for observing modes of MEGARA

megaradrp.simulation.actions.add_targets_lcb2(targets, subfinal, wl, fibrad, pos_x, pos_y, oe, telescope, atmosphere)

This correction includes DAR

megaradrp.simulation.actions.simulate_bias(detector)

Simulate a BIAS array.

megaradrp.simulation.actions.simulate_dark(detector, exposure)

Simulate a DARK array,

megaradrp.simulation.actions.simulate_dark_fits(factory, instrument, exposure, repeat=1)

Simulate a DARK FITS.

megaradrp.simulation.actions.simulate_flat(detector, exposure, source)

Simulate a FLAT array,

class megaradrp.simulation.control.ControlSystem(factory)

Top level

class megaradrp.simulation.convolution.HexagonA(amplitude=1, x_0=0, y_0=0, radius=1, angle=0, **kwargs)
static evaluate(x, y, amplitude, x_0, y_0, radius, angle)

Evaluate the model on some input variables.

class megaradrp.simulation.efficiency.InterpolFitsUVES(fname, fill_value=0.0)

Interpolate spectrum in UVES format.

This is the format of the sky spectrum file

Extended multiwavelength simulation

Simple monocromatic simulation

Computing differential atmospheric refraction

megaradrp.simulation.refraction.differential_p(zenith_distance, wl, wl_reference, temperature, pressure, relative_humidity)

Differential refraction as given by 1982PASP…94..715F