Empirical1D¶
-
class
synphot.models.
Empirical1D
(**kwargs)[source]¶ Bases:
abc.Tabular1D
Empirical (sampled) spectrum or bandpass model.
Note
This model requires SciPy 0.14 or later to be installed.
Parameters: - keep_neg : bool
Convert negative
lookup_table
values to zeroes? This is to be consistent with ASTROLIB PYSYNPHOT.- kwargs : dict
Keywords for
Tabular1D
model creation orinterpn()
. Whenfill_value=np.nan
is given, extrapolation is done based on nearest end points on each end; This is the default behavior.
Methods Summary
evaluate
(inputs)Evaluate the model. is_tapered
()sampleset
()Return array that samples the feature. Methods Documentation