mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
basisUtils2D.hpp File Reference

Utilities for a working with a 2D basis set. More...

Utilities for a working with a 2D basis set.

Author
Jared R. Males (jared.nosp@m.male.nosp@m.s@gma.nosp@m.il.c.nosp@m.om)

Definition in file basisUtils2D.hpp.

Go to the source code of this file.

Namespaces

 mx
 The mxlib c++ namespace.
 

Functions

template<typename realT >
int mx::sigproc::basisMask (improc::eigenCube< realT > &modes, improc::eigenImage< realT > &mask)
 Mask a basis set. More...
 
template<typename realT >
int mx::sigproc::basisMeanSub (improc::eigenCube< realT > &modes, improc::eigenImage< realT > &mask, bool postMult=true)
 Mean-subtract a basis set. More...
 
template<typename realT >
int mx::sigproc::basisNormalize (improc::eigenCube< realT > &modes, improc::eigenImage< realT > &mask)
 Normalize a basis set. More...
 
template<typename realT >
int mx::sigproc::basisAmplitudes (std::vector< realT > &amps, improc::eigenImage< realT > &im, improc::eigenCube< realT > &modes, improc::eigenImage< realT > &mask, bool subtract=false, int meanIgnore=0, int N=-1)
 Measure the amplitudes of a set of basis modes fit to an image. Optionally subtract them. More...