scene_emission_measure#
- esis.data.synth.scene_emission_measure(emission_measure, temperature, position, wavelength_min, wavelength_max, velocity, abundance, pressure, shift=<Quantity 0. km / s>, width_nonthermal=<Quantity 0. km / s>, fraction_min=0.005, ions=None, axis_temperature='temperature', axis_shift=None, axis_x='x', axis_y='y', axis_line='line', axis_velocity='velocity')[source]#
Create a synthetic solar scene from the emission measure of each pixel.
The spectrum of the plasma is computed from the CHIANTI atomic database, through
utu.spectrum.contribution_function(), for every line between wavelength_min and wavelength_max bright enough to matter, and each line is spread into a profile over bins of velocity withutu.spectrum.synthesize().This is the second half of
scene_dem(), for an emission measure from anywhere, such as a simulation. With axis_shift, the emission measure can be resolved in line-of-sight velocity as well as in temperature, as in the velocity-resolved DEMscene_vdem()reads.- Parameters:
emission_measure (AbstractScalar) – The emission measure of each bin of temperature, \(\int n_e n_H \, dh\), along axis_temperature, and of each bin of line-of-sight velocity too, along axis_shift, if it is given. A DEM per unit \(\log_{10} T\) has to be multiplied by the widths of its bins first. Every other axis is carried through to the result, such as axis_x and axis_y, the two axes of the pixels, or an axis of time.
temperature (AbstractScalar) – The temperatures of the plasma, along axis_temperature only.
position (AbstractCartesian2dVectorArray) – The vertices of the pixels, along axis_x and axis_y.
wavelength_min (Quantity) – The shortest wavelength of the lines to include.
wavelength_max (Quantity) – The longest wavelength of the lines to include.
velocity (AbstractScalar) – The vertices of the bins of line-of-sight velocity each line is spread over, along axis_velocity.
abundance (str) – The abundances the lines are computed with, by their name in
fiasco. These should be the abundances the emission measure was found or simulated with.pressure (Quantity) – The constant pressure, \(n_e T\), the lines are computed at.
shift (Quantity | AbstractScalar) – The line-of-sight velocity of the plasma, see
utu.spectrum.synthesize().width_nonthermal (Quantity | AbstractScalar) – The standard deviation of the unresolved nonthermal velocities of the plasma, see
utu.spectrum.synthesize().fraction_min (float) – The least fraction of the radiance of all the lines in the passband, averaged over the pixels, along axis_x and axis_y, for a line to be included. A line is included if it carries that fraction anywhere along the other axes of emission_measure, such as in any one frame of a series in time. The default keeps the lines brighter than half a percent of the total.
ions (None | list[str]) – The ions to compute the lines of, named as
fiasconames them. IfNone(the default), every ion with a line between wavelength_min and wavelength_max, found withutu.spectrum.ions().axis_temperature (str) – The name of the axis of temperature.
axis_shift (None | str) – The name of the axis of emission_measure along which the plasma is binned by line-of-sight velocity, see
utu.spectrum.synthesize(). IfNone(the default), the emission measure is resolved in temperature alone.axis_x (str) – The name of the axis of the pixels in \(x\). An emission measure without it is the same all along it, as for a scene one pixel wide.
axis_y (str) – The name of the axis of the pixels in \(y\), like axis_x.
axis_line (str) – The name of the axis along the lines of the result.
axis_velocity (str) – The name of the axis of velocity.
- Returns:
The spectral radiance of the scene, along axis_line, axis_velocity, and the axes of emission_measure other than axis_temperature and axis_shift. The positions are position, and the wavelengths are the vertices of the bins of velocity of each line, beside its rest wavelength.
- Return type:
Notes
The contribution functions take minutes to compute, so they are cached with
esis.memory.