make_2d_spec_image#
- specreduce.utils.synth_data.make_2d_spec_image(nx: int = 3000, ny: int = 1000, wcs: WCS | None = None, extent=(6500, 9500), wave_unit: Unit = Unit('Angstrom'), wave_air: bool = False, background: int | float = 5, line_fwhm: float = 5.0, linelists=('OH_GMOS',), amplitude_scale: float = 1.0, tilt_func: Model = None, trace_center: int | float | None = None, trace_order: int = 3, trace_coeffs: dict | None = None, source_profile: Model = None, add_noise: bool = True) CCDData[source]#
Deprecated since version 1.10: The make_2d_spec_image function is deprecated and may be removed in a future version. Use SynthImage instead.
Deprecated. Use
SynthImagewith.add_arcs(...)and.add_source(...)instead.