This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures | |
struct | pf_peak_bg |
Peak background fit. More... | |
struct | pf_peak_fit |
Peak fit. More... | |
struct | pf_peak |
Peak data. More... | |
struct | pf_cal_fit |
Calibration fit. More... | |
struct | pf_cal_pt |
Calibration point. More... | |
struct | pf_cal_pts |
Calibration points. More... | |
struct | pf_data |
Data set. More... | |
struct | pf_plot_params |
Plot parameters. More... | |
Defines | |
#define | NCHAN 4096 |
The maximum number of channels in the data set. | |
#define | MAXCALPTS 1024 |
The maximum number of calibration points. | |
#define | MAXUNIT 256 |
The maximum length of a calibration unit string. | |
Enumerations | |
enum | pf_peak_sort { sort_number, sort_height, sort_area } |
Peak sort type. More... | |
Functions | |
int | pf_parse_command (char *command) |
Parse a command string. | |
int | pf_loaddata (char *fn, struct pf_data *d) |
Load data from a file. | |
double | pf_chanwindowavg (double *data, int ds, int ci, int ac) |
Compute the average counts per bin over some window. | |
void | pf_plotdata (struct pf_data *d, struct pf_plot_params *p, struct pf_cal_fit *cal) |
Plot data. | |
void | pf_plotpeak (struct pf_data *d, struct pf_plot_params *p, struct pf_cal_fit *cal) |
Plot a given peak. | |
int | pf_printdata (struct pf_data *d, char *fn, int norm) |
Print the data set. | |
int | pf_printpeaks (struct pf_data *d, char *fn, enum pf_peak_sort srt) |
Print the peaks. | |
int | pf_printpeak (struct pf_data *d, struct pf_cal_fit *cal, int peak, char *fn) |
Print data about a given peak. | |
int | pf_printcal (struct pf_data *d, struct pf_cal_fit *f, char *fn) |
Print data about the calibration fit. | |
void | pf_fitpeaks (struct pf_data *d) |
Fit peaks in the data set. | |
void | pf_prunepeaks (struct pf_data *d) |
Prune peaks without reasonable fits. | |
double | pf_bgfunc (struct pf_data *d, int peak, double x) |
Evaluate the background function for a given peak. | |
double | pf_peakfunc (struct pf_data *d, int peak, double x) |
Evaluate the peak fit function for a given peak. | |
double | pf_fitfunc (struct pf_data *d, int peak, double x) |
Evaluate the total fit function for a given peak. | |
int | pf_calibrate (struct pf_data *d, struct pf_cal_fit *f, char *fn) |
Calibrate input using known data points. | |
double | pf_calfunc (struct pf_cal_fit *f, double ch) |
Evaluate the calibration fit function for a given peak. |
|
The maximum number of calibration points.
|
|
The maximum length of a calibration unit string.
|
|
The maximum number of channels in the data set.
|
|
Peak sort type.
|
|
Evaluate the background function for a given peak.
|
|
Evaluate the calibration fit function for a given peak.
|
|
Calibrate input using known data points.
|
|
Compute the average counts per bin over some window.
|
|
Evaluate the total fit function for a given peak.
|
Here is the call graph for this function:
|
Fit peaks in the data set.
|
|
Load data from a file.
|
Here is the call graph for this function:
|
Parse a command string.
|
Here is the call graph for this function:
|
Evaluate the peak fit function for a given peak.
|
|
Plot data.
|
Here is the call graph for this function:
|
Plot a given peak.
|
Here is the call graph for this function:
|
Print data about the calibration fit.
|
|
Print the data set.
|
|
Print data about a given peak.
|
Here is the call graph for this function:
|
Print the peaks.
|
|
Prune peaks without reasonable fits.
|