#include <bspline_imager1d.h>
Public Member Functions | |
CBasisSplineImager1d (void) | |
~CBasisSplineImager1d (void) | |
bool | Read (const parameterMap &m) |
bool | Write (parameterMap &m) |
bool | convertCorrelationToSource (const CCorrFtn1dHisto &corrin, CSourceFtnBase &souout, const parameterMap &m, const CKernel *_kernelPtr=NULL) |
function that manages the imaging | |
bool | convertSourceToCorrelation (const CSourceFtnBase &souin, CCorrFtn1dHisto &corrout, const parameterMap &m, const CKernel *_kernelPtr=NULL) |
function that manages the unimaging | |
double | imageit (CBasisFunctionExpansion1d &souout) |
Code to image a 1d source, with equality constraints. | |
bool | set_no_data (CSourceFtnBase &souout) |
bool | initialize_source (const CCorrFtn1dHisto &corrin, CSourceFtnBase &souout, const parameterMap &m) |
void | set_knots (CBasisSpline1d &souout) |
master knot initializer routine | |
void | set_knots_default (CBasisSpline1d &souout) |
void | set_knots_from_colloc_points (CBasisSpline1d &souout) |
void | set_knots_user_defined (CBasisSpline1d &souout) |
void | set_colloc_sampling_thm (void) |
vector< double > | get_zeros (double q, int nZeros, int l, double eps=1e-2) |
Get list of first nZeros zeros for l<=lmax=rmax*q/hbarc. | |
zero_struct | find_zero (double xmin, double xmax, double q, int l, double eps) |
double | do_optimal_knots (CBasisSpline1d &souout) |
Static Public Member Functions | |
static double | static_imageit (const gsl_vector *variableKnots, void *classPtr) |
Public Attributes | |
double | qscale |
int | spline_degree |
double | knot_tolerance |
string | knot_init_scheme |
bool | optimize_knots |
int | optimize_knots_max_iter |
double | optimize_knots_minimizer_func_weight |
double | optimize_knots_coellesce_knot_tol |
double | optimize_knots_simplex_min_size |
vector< double > | colloc_pts |
vector< double > | user_knots |
CBasisSpline1d | souWork |
Definition at line 29 of file bspline_imager1d.h.
CBasisSplineImager1d::CBasisSplineImager1d | ( | void | ) | [inline] |
Definition at line 34 of file bspline_imager1d.h.
CBasisSplineImager1d::~CBasisSplineImager1d | ( | void | ) | [inline] |
Definition at line 50 of file bspline_imager1d.h.
bool CBasisSplineImager1d::convertCorrelationToSource | ( | const CCorrFtn1dHisto & | corrin, | |
CSourceFtnBase & | souout, | |||
const parameterMap & | m, | |||
const CKernel * | _kernelPtr = NULL | |||
) | [virtual] |
function that manages the imaging
Reimplemented from CBasisFuncImager1d.
Definition at line 64 of file bspline_imager1d.cc.
bool CBasisSplineImager1d::convertSourceToCorrelation | ( | const CSourceFtnBase & | souin, | |
CCorrFtn1dHisto & | corrout, | |||
const parameterMap & | m, | |||
const CKernel * | _kernelPtr = NULL | |||
) | [virtual] |
function that manages the unimaging
Reimplemented from CBasisFuncImager1d.
Definition at line 75 of file bspline_imager1d.cc.
double CBasisSplineImager1d::do_optimal_knots | ( | CBasisSpline1d & | souout | ) |
Definition at line 99 of file bspline_imager1d.cc.
zero_struct CBasisSplineImager1d::find_zero | ( | double | xmin, | |
double | xmax, | |||
double | q, | |||
int | l, | |||
double | eps | |||
) |
Gets first zero between xmin & xmax, starting at xmin. l and q are fixed.
Definition at line 412 of file bspline_imager1d.cc.
vector< double > CBasisSplineImager1d::get_zeros | ( | double | q, | |
int | nZeros, | |||
int | l, | |||
double | eps = 1e-2 | |||
) |
Get list of first nZeros zeros for l<=lmax=rmax*q/hbarc.
Definition at line 366 of file bspline_imager1d.cc.
double CBasisSplineImager1d::imageit | ( | CBasisFunctionExpansion1d & | souout | ) | [virtual] |
Code to image a 1d source, with equality constraints.
Reimplemented from CBasisFuncImager1d.
Definition at line 82 of file bspline_imager1d.cc.
bool CBasisSplineImager1d::initialize_source | ( | const CCorrFtn1dHisto & | corrin, | |
CSourceFtnBase & | souout, | |||
const parameterMap & | m | |||
) | [virtual] |
bool CBasisSplineImager1d::Read | ( | const parameterMap & | m | ) | [virtual] |
void CBasisSplineImager1d::set_colloc_sampling_thm | ( | void | ) |
Definition at line 267 of file bspline_imager1d.cc.
void CBasisSplineImager1d::set_knots | ( | CBasisSpline1d & | souout | ) |
void CBasisSplineImager1d::set_knots_default | ( | CBasisSpline1d & | souout | ) |
Definition at line 252 of file bspline_imager1d.cc.
void CBasisSplineImager1d::set_knots_from_colloc_points | ( | CBasisSpline1d & | souout | ) |
Definition at line 296 of file bspline_imager1d.cc.
void CBasisSplineImager1d::set_knots_user_defined | ( | CBasisSpline1d & | souout | ) |
Definition at line 330 of file bspline_imager1d.cc.
bool CBasisSplineImager1d::set_no_data | ( | CSourceFtnBase & | souout | ) | [virtual] |
double CBasisSplineImager1d::static_imageit | ( | const gsl_vector * | variableKnots, | |
void * | classPtr | |||
) | [static] |
Wrapper to imageit that we can use to do optimization using GSL. Also, recomputes losource's knots using the variable knots in variableKnots, handed to this routine by the gsl minimizer
Definition at line 173 of file bspline_imager1d.cc.
bool CBasisSplineImager1d::Write | ( | parameterMap & | m | ) | [virtual] |
vector< double > CBasisSplineImager1d::colloc_pts |
Definition at line 75 of file bspline_imager1d.h.
Definition at line 67 of file bspline_imager1d.h.
Definition at line 64 of file bspline_imager1d.h.
Definition at line 68 of file bspline_imager1d.h.
Definition at line 71 of file bspline_imager1d.h.
Definition at line 69 of file bspline_imager1d.h.
Definition at line 70 of file bspline_imager1d.h.
Definition at line 72 of file bspline_imager1d.h.
double CBasisSplineImager1d::qscale |
Definition at line 62 of file bspline_imager1d.h.
Definition at line 81 of file bspline_imager1d.h.
Definition at line 63 of file bspline_imager1d.h.
vector< double > CBasisSplineImager1d::user_knots |
Definition at line 78 of file bspline_imager1d.h.