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.
- param_names = ('amplitude', 'x_0', 'y_0', 'radius', 'angle')¶
Names of the parameters that describe models of this type.
The parameters in this tuple are in the same order they should be passed in when initializing a model of a specific type. Some types of models, such as polynomial models, have a different number of parameters depending on some other property of the model, such as the degree.
When defining a custom model class the value of this attribute is automatically set by the ~astropy.modeling.Parameter attributes defined in the class body.
- 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