#include <pixel_amp_array.h>
Inheritance diagram for Arroyo::pixel_amp_array< precision >:
Public Member Functions | |
| pixel_amp_array () | |
| template<class U> | |
| pixel_amp_array (const pixel_amp_array< U > &pixamparr) | |
| template<class U> | |
| pixel_amp_array (const pixel_array< U > &pixarr) | |
| pixel_amp_array (const iofits &iof) | |
| pixel_amp_array (const std::vector< long > &in_axes, const precision *data=NULL, const float *wts=NULL) | |
| template<class U> | |
| pixel_amp_array (const pixel_amp_array< U > &pixarr, const std::vector< long > &pixel_limits) | |
| template<class U> | |
| pixel_amp_array (std::vector< pixel_amp_array< U > * > &paas) | |
| ~pixel_amp_array () | |
| pixel_amp_array & | operator= (const pixel_amp_array< precision > &pixamparr) |
| void | mean_and_rms (double &mean, double &rms) const |
| void | sigma_clip (const int &niter, const double &sigma_clip) |
| void | amp_clip (const double &min, const double &max) |
| void | interpolate () |
| double | fit (const pixel_amp_array< precision > &psf, double &differential_amplitude, vector< double > &relative_offsets, pixel_amp_array< precision > &fitted_psf, pixel_amp_array< precision > &fit_residual, pixel_amp_array< precision > &orig) const |
| double | fit (const pixel_amp_array< precision > &psf, double &differential_amplitude, double &offset, bool fit_for_offset, vector< double > &relative_offsets, pixel_amp_array< precision > &fitted_psf, pixel_amp_array< precision > &fit_residual, pixel_amp_array< precision > &orig) const |
| double | fit (int npsfs, const pixel_amp_array< precision > &psf, vector< double > &differential_amplitudes, vector< vector< double > > &relative_offsets, pixel_amp_array< precision > &fitted_model, pixel_amp_array< precision > &fit_residual) const |
| double | aperture_photometry (double x, double y, double inner_radius, double outer_radius) const |
| template<class U> | |
| void | flag_outliers (const pixel_amp_array< U > &pixamparr, const double &threshold) |
| std::vector< float > | azav (int xcenter, int ycenter) |
Friends | |
| bool | operator== (const pixel_amp_array< precision > &p1, const pixel_amp_array< precision > &p2) |
|
|||||||||
|
Null constructor |
|
||||||||||||||
|
Copy constructor |
|
||||||||||||||
|
Copy from pixel_array |
|
||||||||||
|
Construct from iofits object |
|
||||||||||||||||||||
|
Construct from arrays |
|
||||||||||||||||||||
|
Construct an instance with pixel limits given by pixel_limits These limits must be contained by pixarr's arrays |
|
||||||||||||||
|
Construct from median of a vector of pixel_amp_arrays |
|
|||||||||
|
Destructor |
|
||||||||||||||||
|
Amp clip the pixel_amp_array |
|
||||||||||||||||||||||||
|
Function to perform aperture photometry All arguments in pixels |
|
||||||||||||||||
|
Function to perform an azimuthal average around a central point |
|
||||||||||||||||||||||||||||||||
|
Function to model this data as npsfs shifted and scaled copies of the array psf. The best fitting model is returned in fitted_psf, and the residuals are returned in fit_residual. Relative offsets are measured in pixels. Arrays must be the same dimension. |
|
||||||||||||||||||||||||||||||||||||||||
|
Function to model this data as a single shifted and scaled copy of the array psf, plus a DC offset. The best fitting model is returned in fitted_psf, and the residuals are returned in fit_residual. Relative offsets are measured in pixels. Arrays must be the same dimension. |
|
||||||||||||||||||||||||||||||||
|
Function to model this data as a single shifted and scaled copy of the array psf. The best fitting model is returned in fitted_psf, and the residuals are returned in fit_residual. Relative offsets are measured in pixels. Arrays must be the same dimension. |
|
||||||||||||||||||||
|
This function compares this pixel_amp_array to the argument and deletes points in this instance for which the difference between the two instances is greater than sigma_clip*rms and for which the point in this instance is greater than sigma_clip*rms |
|
|||||||||
|
Function to interpolate over gaps in the array. Only points surrounded on at least 3 sides by points with nonzero weights are fixed. |
|
||||||||||||||||
|
Find the rms of a pixel_array The function sorts the array and discards discard_fraction of the points at either end of the resulting array |
|
||||||||||
|
Operator = |
|
||||||||||||||||
|
Sigma clip a pixel_amp_array (i.e. set the weight to zero if value>sigma_clip * sigma |
|
||||||||||||||||
|
Friend operator == for pixel_amp_array |
1.3.9.1