kinms_fitter.sb_profs
¶
Module Contents¶
Classes¶
Creates flexible surface brightness profiles that can be combined together. |
- class kinms_fitter.sb_profs.sb_profs¶
Creates flexible surface brightness profiles that can be combined together.
- class expdisk(guesses, minimums, maximums, priors=None, precisions=None, fixed=None)¶
Creates an exponentially declining surface brightness profile.
- guessesndarray of float
Initial guesses. If a single element, then the disc profile is normalised (peak=1). If two elements then elements should be [‘PeakFlux_exp’,’Rscale_exp’]. Rscale units of arcsec.
- minimumsndarray of float
Minimums for the given parameters.
- maximumsndarray of float
Maximums for the given parameters.
- priorsndarray of objects
Optional- Priors for the given parameters (see GAStimator priors).
- precisionsndarray of float
Optional - Precision you want to reach for the given parameters. [Default = 10 percent of range]
- fixed: ndarray of bool
Optional - Fix this parameter to the input value in guesses. [Default = All False]
- __repr__()¶
Return repr(self).
- __call__(x, args)¶
Returns the required profile.
- xndarray of float
Input radial array in arcseconds
- argsndarray of float
Input arguments to evalue the profile with
- class gaussian(guesses, minimums, maximums, priors=None, precisions=None, fixed=None)¶
Creates an gaussian surface brightness profile.
- guessesndarray of float
Initial guesses. If a two elements, then the gaussian profile is normalised (peak=1). If three elements then elements should be [‘PeakFlux_gauss’,’Mean_gauss’,’sigma_gauss’]. Units of mean/sigma are arcsec.
- minimumsndarray of float
Minimums for the given parameters.
- maximumsndarray of float
Maximums for the given parameters.
- priorsndarray of objects
Optional- Priors for the given parameters (see GAStimator priors).
- precisionsndarray of float
Optional - Precision you want to reach for the given parameters. [Default = 10 percent of range]
- fixed: ndarray of bool
Optional - Fix this parameter to the input value in guesses. [Default = All False]
- __repr__()¶
Return repr(self).
- __call__(x, args)¶
Returns the required profile.
- xndarray of float
Input radial array in arcseconds
- argsndarray of float
Input arguments to evalue the profile with
- class cutoff(guesses, minimums, maximums, priors=None, precisions=None, fixed=None)¶
Creates an cutoff in a surface brightness profile between two radii.
- guessesndarray of float
Initial guesses. Two elements [‘Start_cutoff’,’End_cutoff’]. Units of arcsec.
- minimumsndarray of float
Minimums for the given parameters.
- maximumsndarray of float
Maximums for the given parameters.
- priorsndarray of objects
Optional- Priors for the given parameters (see GAStimator priors).
- precisionsndarray of float
Optional - Precision you want to reach for the given parameters. [Default = 10 percent of range]
- fixed: ndarray of bool
Optional - Fix this parameter to the input value in guesses. [Default = All False]
- __repr__()¶
Return repr(self).
- __call__(x, args)¶
Returns the required profile.
- xndarray of float
Input radial array in arcseconds
- argsndarray of float
Input arguments to evalue the profile with
- eval(r, params)¶
Evaluates a list of surface brightness profiles.
- modellistlist of objects
List of sb_prof objects, or objects that have the same methods/inputs.
- r: ndarray of floats
Radius array, units of arcseconds.
- params: ndarray of floats
Parameters to use in each model in the list.
- outndarray of floats
Output combined surface brightness profile.