MexicanHat1D

class synphot.models.MexicanHat1D(amplitude=1, x_0=0, sigma=1, **kwargs)[source]

Bases: astropy.modeling.functional_models.MexicanHat1D

Same as astropy.modeling.models.MexicanHat1D, except with sampleset defined.

Attributes Summary

param_names

Methods Summary

sampleset([factor_step]) Return x array that samples the feature.

Attributes Documentation

param_names = ('amplitude', 'x_0', 'sigma')

Methods Documentation

sampleset(factor_step=0.1, **kwargs)[source]

Return x array that samples the feature.

Parameters:
factor_step : float

Factor for sample step calculation. The step is calculated using factor_step * self.sigma.

kwargs : dict

Keyword(s) for bounding_box calculation.