ConstFlux1D¶
- class synphot.models.ConstFlux1D(amplitude, **kwargs)[source]¶
Bases:
Const1DOne dimensional constant flux model.
Flux that is constant in a given unit might not be constant in another unit. During evaluation, flux is always converted to PHOTLAM.
For multiple
n_models, this model only accepts amplitudes of the same flux unit; e.g.,[1, 2]orQuantity([1, 2], 'photlam').- Parameters:
- amplitudenumber or
Quantity Value and unit of the constant function. If not Quantity, assume the unit of PHOTLAM.
- amplitudenumber or
Methods Summary
evaluate(x, *args)One dimensional constant flux model function.
integrate(x)Methods Documentation