ConstFlux1D¶
-
class
synphot.models.
ConstFlux1D
(amplitude, **kwargs)[source]¶ Bases:
astropy.modeling.functional_models.Const1D
One 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: - amplitude : number or
Quantity
Value and unit of the constant function. If not Quantity, assume the unit of PHOTLAM.
Attributes Summary
param_names
Methods Summary
evaluate
(x, *args)One dimensional constant flux model function. Attributes Documentation
-
param_names
= ('amplitude',)¶
Methods Documentation
- amplitude : number or