PSFModel

class sherpa.instrument.PSFModel(name='psfmodel', kernel=None)[source]

Bases: sherpa.models.model.Model

Attributes Summary

center array of size parameters
origin FFT origin
size array of size parameters
thawedparhardmaxes
thawedparhardmins
thawedparmaxes
thawedparmins
thawedpars

Methods Summary

calc(\*args, \*\*kwargs)
fold(data)
get_center()
get_kernel(data[, subkernel])
guess(dep, \*args, \*\*kwargs) Set an initial guess for the parameter values.
reset()
set_center(\*args, \*\*kwargs)
startup() Called before a model may be evaluated multiple times.
teardown() Called after a model may be evaluated multiple times.

Attributes Documentation

center

array of size parameters

origin

FFT origin

size

array of size parameters

thawedparhardmaxes
thawedparhardmins
thawedparmaxes
thawedparmins
thawedpars

Methods Documentation

calc(*args, **kwargs)[source]
fold(data)[source]
get_center()
get_kernel(data, subkernel=True)[source]
guess(dep, *args, **kwargs)

Set an initial guess for the parameter values.

Attempt to set the parameter values, and ranges, for the model to match the data values. This is intended as a rough guess, so it is expected that the model is only evaluated a small number of times, if at all.

reset()
set_center(*args, **kwargs)
startup()

Called before a model may be evaluated multiple times.

See also

teardown()

teardown()

Called after a model may be evaluated multiple times.

See also

setup()