#include <stdio.h>
#include <math.h>
#include <string.h>
#include <stdlib.h>
#include "libcpixe.h"
#include "stop96.h"
#include "compilopt.h"
Go to the source code of this file.
Functions | |
int | readINPUT (const char *InputFileNm, EXP_PARAM *pexppar, EXTRAINFO *pExtraInfo) |
int | readEXP_PARAM (char *ExpParFileNm, EXP_PARAM *pexppar) |
int | readSIM_PARAM (char *SampleParamFileNm, SIM_PARAM *simpar, char *IniMatFileNm, char *FilterFileNm, char *XYldFileNm) |
int | symbol2Z (char *symbol) |
int | Z2mass (int Z, double *mass, char option) |
int | readCOMPOUND (FILE *f, int nelem, COMPOUND *c) |
int | readsample (char *SampleDefFileNm, int *MaxZ, int *NFoil, foil **Sample) |
int | createPresentElems (int MaxZ, int NFoil, const foil *MatArray, int **PresentElems) |
int | readCalcFlags (const char *CalcFlagsFileNm, const int *PresentElems, int MaxZinsample, int AreasFormat, CPIXERESULTS **CalcFlags) |
int | readXYld (const char *XYldFileNm, const int *PresentElems, const CPIXERESULTS *CalcFlags, int MaxZinsample, double *CalEner, XrayYield **XYldArray) |
int | readFCK (char *FCKCoefFileNm, int MaxZinsample, FluorCKCoef **FCKCoefArray) |
int | readAbsCoef (char *TotAbsCoefFileNm, int MaxZinsample, const int *PresentElems, const FILTER *Filter, AbsCoef **TotAbsCoefArray) |
int | createSPTs (const char *path, const EXP_PARAM *pexp, int MaxZinsample, const int *PresentElems, double step, SPT **SPTArray) |
double | getSP (const COMPOUND *pcmp, const SPT *SPTArray, double E) |
int | initlyrarray (const EXP_PARAM *pexp, const foil *MatArray, const XrayYield *XYldArray, const AbsCoef *TotAbsCoefArray, const SPT *SPTArray, const int *PresentElems, int NFoil, int *NFoilUsed, LYR **plyrarray) |
int | initlyr (const EXP_PARAM *pexp, const XrayYield *XYldArray, const AbsCoef *TotAbsCoefArray, const int *PresentElems, LYR *plyr, double *MACoef) |
int | readFilter (const char *FilterDefFileNm, FILTER *Filter) |
int | FilterTrans (const EXP_PARAM *pexp, const XrayYield *XYldArray, const AbsCoef *TotAbsCoefArray, const int *PresentElems, FILTER *Filter) |
int | Transmission (const XrayYield *XYldArray, const AbsCoef *TotAbsCoefArray, int Z, const foil *pFoil, double geomcorr, const CalibYld *pTransOld, CalibYld *pTrans) |
double | TotAbsor (const AbsCoef *TotAbsCoefArray, const COMPOUND *cmp, double Xray) |
double | TotAbsor_elemental (int iener, const AbsCoef *Absco, int Z, double Xray) |
int | createsublyrs (const EXP_PARAM *pexp, const foil *pMat, const SPT *SPTArray, double MajAbsCoef, LYR *plyr) |
int | SSThick (const EXP_PARAM *pexp, const foil *pMat, const SPT *SPTArray, double MajAbsCoef, double LayerThickness, ESxType ESxin, ESxType *ESxfin, int *pFpos, double *thick, ESxType **ESxA) |
int | integrate_Simpson (const EXP_PARAM *pexp, const AbsCoef *TotAbsCoefArray, const FluorCKCoef *FCKCoefArray, const XrayYield *XYldArray, int NFoilUsed, const FILTER *Filter, LYR *plyrarray, CalibYld *XYldSums) |
int | Xprod (const AbsCoef *AbsC, const FluorCKCoef *pFCK, atomicnumber Z1, atomicnumber Z2, double M2, double ener, CalibYld *XYld) |
double | PaulX (double ener, atomicnumber z) |
double | PaulX_y (double MeV, atomicnumber z) |
double | PaulX_lp (double x, long p) |
int | ReisX (const AbsCoef *AbsC, const FluorCKCoef *pFCK, double ener, atomicnumber z, double M2, double *sigmaXL) |
double | ReisX_gs (FwTipo T, int SS, double ksis) |
double | ReisX_hs (FwTipo T, int SS, double ksih, double thet) |
double | ReisX_En (double z, int niu) |
double | ReisX_polisec (int ssind, double kz, double tz) |
double | ReisX_g (int ss, atomicnumber Zg, double xi) |
void | PenInteg (atomicnumber atnumb, const CalibYld *AbsFac, const ESxType *ESA, const CalibYld *YldA, const CalibYld *TrsA, const CalibYld *pTrs0, int FExlen, int NeedSFC, int AllowXEqCalc, double x0, double CosInc, CalibYld *XYld, CalibYld *XSFCr, CalibYld *XYldxmed) |
double | Simps (double a, double b, double fa, double fi, double fb) |
void | deNormalize (const EXP_PARAM *pexp, const AbsCoef *AbsC, const FluorCKCoef *pFCK, atomicnumber Z2, double M2, double attfraction, const CalibYld *pXYld, XrayYield *ResY, CalibYld *XYldSum) |
void | freeFilter (FILTER *Filter) |
void | freeReusable (int NFoils, LYR **plyrarray, foil **MatArray, CalibYld **XYldSums) |
void | safefree (void **ptr) |
void | fprintCALIBYLD (FILE *f, const CalibYld *pCYld) |
void | fscanCALIBYLD (FILE *f, CalibYld *pCYld) |
News, documentation and latest releases can be found at: http://cpixe.sourceforge.net
A number of papers will be published and should be cited if libcpixe is used for producing scientific publications.
The reference paper for LibCPIXE and CPIXE is: "LibCPIXE: an open-source library for PIXE simulation and Analysis", Carlos Pascual-Izarra, Nuno P. Barradas and Miguel A. Reis, To be published in Proceedings of the IBA2005 (NIMB)
A paper showing the integration of LibCPIXE into the Data Furnace code is: "Simultaneous PIXE and RBS analysis using Bayesian Inference" Carlos Pascual-Izarra, Miguel A. Reis and Nuno P. Barradas, To be published in Proceedings of the IBA2005 (NIMB)
The seed for this code is on a translation from Pascal to C of parts of the code writen by M.A. Reis for the DatPixe-v5.3 code. The Pascal code was initially translated using p2c (an automatic Pascal-to-C free translator) and afterwards heavily modified.
Definition in file libcpixe.c.
|
Creates an array of integer flags indicating whether an element is present in the sample (1) or not (0). The dimension of the array is that of the maximum atomic number present in the sample. For example, if the sample contains only C and Si, the array will be: PresentElems[6]= PresentElems[14]=1 (and all the other=0)
Definition at line 732 of file libcpixe.c. References foil::comp, COMPOUND::elem, COMPOUND::nelem, and ELEMENT::Z. Referenced by cpixecalib(), CPIXEMAIN(), cpixemain(), and readFilter(). |
|
Generates the stopping force tables Returns an array of pointers referencing to one table for each element present in sample) IMPORTANT: The tables are generated in the following units: keV/(1e15at/cm2) !!!
<For the moment, only linear Energy scale is implemented Definition at line 1290 of file libcpixe.c. References EXP_PARAM::BeamEner, SPT::dSdE, SPT::E, SPT::Emax, SPT::Estep, FILENMLENGTH, ELEMENT::IM, EXP_PARAM::ion, SPT::logmode, SPT::nrows, nuclearstopping_ZBL(), readstopcoef(), SPT::S, SPT::Smax, stop96d(), and ELEMENT::Z. Referenced by cpixecalib(), CPIXEMAIN(), and cpixemain(). |
|
Manages the creation of internal sublayers in each layer
Definition at line 1807 of file libcpixe.c. References foil::comp, EXP_PARAM::cosInc, COMPOUND::elem, ESxType::ep, LYR::ESxArray, LYR::FESxlen, EXP_PARAM::FinalEner, LYR::FoilInEner, LYR::FoilOutEner, getSP(), foil::nfoilelm, SPT::Smax, SSThick(), ESxType::stpp, foil::thick, LYR::ThickIn, ESxType::x, COMPOUND::xn, and ELEMENT::Z. Referenced by initlyrarray(). |
|
Calculates the yield values using the penetration integral results, i.e. Applies all the factors such as solid angle, atomic fraction, charge,... etc See eq. (1) of "Reis et al. NIM B 109/110 (1996) 134-138"
Definition at line 2995 of file libcpixe.c. References XrayYield::atnum, SIM_PARAM::CalEner, SIM_PARAM::ColCharge, EXP_PARAM::DetColFac, SIM_PARAM::DTCC, EXP_PARAM::ion, CalibYld::K_, CalibYld::L_, CalibYld::M_, EXP_PARAM::simpar, SIM_PARAM::useFilter, Xprod(), XrayYield::XYld, and ELEMENT::Z. Referenced by integrate_Simpson(). |
|
Definition at line 1609 of file libcpixe.c. References FILTER::dimTrans, FILTER::foil, FILTER::geomcorr, SIM_PARAM::MaxZinsample, FILTER::nlyr, EXP_PARAM::simpar, FILTER::Trans, and Transmission(). Referenced by cpixecalib(), CPIXEMAIN(), and cpixemain(). |
|
Prints a CalibYld structure on a given stream
Definition at line 3203 of file libcpixe.c. References CalibYld::K_, CalibYld::L_, and CalibYld::M_. Referenced by cpixecalib(). |
|
Frees all memory allocated for the filter structure.
Definition at line 3122 of file libcpixe.c. References foil::comp, COMPOUND::elem, FILTER::FilterElems, FILTER::foil, FILTER::nlyr, safefree(), FILTER::Trans, COMPOUND::w, COMPOUND::X, and COMPOUND::xn. Referenced by cpixecalib(), CPIXEMAIN(), and cpixemain(). |
|
Frees the space allocated for arrays that are to be reused in subsequent iterations
Definition at line 3148 of file libcpixe.c. References foil::comp, COMPOUND::elem, LYR::ESxArray, LYR::NeedSFC, LYR::ResYldArray, safefree(), LYR::SecResArray, LYR::SSTrsArray, LYR::SSYldArray, LYR::Trans, LYR::TrcAtnum, LYR::TrcUse, COMPOUND::w, COMPOUND::X, and COMPOUND::xn. Referenced by cpixecalib(), CPIXEMAIN(), and cpixemain(). |
|
Reads a CalibYld structure from a given stream. The expected format is that as printed by fprintCALIBYLD
Definition at line 3222 of file libcpixe.c. References CalibYld::K_, CalibYld::L_, and CalibYld::M_. |
|
Returns stopping Using previously calculated tables. Performs a linear interpolation and a Bragg adition.
Definition at line 1361 of file libcpixe.c. References SPT::dSdE, SPT::E, COMPOUND::elem, SPT::Estep, COMPOUND::nelem, SPT::S, COMPOUND::xn, and ELEMENT::Z. Referenced by createsublyrs(), and SSThick(). |
|
Initializes ONE given layer. It allocates space for various arrays and sets initial values for TrcUse, ResYldArray,... It also calculates the absorption and returns the Maximum absorption coefficient (MACoef). Note: it uses the global vars minK, maxK, minM, minL,...
CAUTION: Change with respect to CDT: TrcUse now starts with index 0 CAUTION: Change with respect to CDT: NeedSFC now starts with index 0 Note:
CAUTION: Change with respect to CDT: TrcAtnum now starts with index 0 Note: At this point in the CDT code, CalYld is defined, but it makes no sense since it is just a copy of XYldArray[].XYld (which is already there and never changing... So whenever CalYld[i] is needed, use XYldArray[i].XYld instead Definition at line 1456 of file libcpixe.c. References SRType::AbsFact, PeakArea::area, PeakArea::atnum, XrayYield::atnum, CalibYld, foil::comp, EXP_PARAM::cosDet, LYR::dimTrans, COMPOUND::elem, XrayYield::ener, CalibYld::K_, CalibYld::L_, CalibYld::M_, SIM_PARAM::MaxZinsample, LYR::NeedSFC, foil::nfoilelm, LYR::NumOfTrc, LYR::pFoil, SecResType::Pk, LYR::ResYldArray, LYR::SecResArray, EXP_PARAM::simpar, SecResType::SR, TotAbsor(), LYR::Trans, Transmission(), LYR::TrcAtnum, LYR::TrcUse, and ELEMENT::Z. Referenced by initlyrarray(). |
|
Initializes the lyr array
Definition at line 1391 of file libcpixe.c. References LYR::absolutepos, EXP_PARAM::BeamEner, createsublyrs(), EXP_PARAM::FinalEner, LYR::FoilInEner, LYR::FoilOutEner, initlyr(), LYR::pFoil, and LYR::ThickIn. Referenced by cpixecalib(), CPIXEMAIN(), and cpixemain(). |
|
|
Definition at line 2231 of file libcpixe.c. References PaulX_lp(), and PaulX_y(). Referenced by Xprod(). |
|
Definition at line 2327 of file libcpixe.c. Referenced by PaulX(). |
|
Definition at line 2305 of file libcpixe.c. Referenced by PaulX(). |
|
Calculates a normalized "Penetration Integral" for a given X-ray emission line of a given element. See "Reis et al. NIM B 109/110 (1996) 134-138" See section 1.4 of "Correccoes de Fluorescencia Secundaria em PIXE" Master Thesis by M.A. Reis It calculates the integral of eq. (4) of the cited paper except that it does not include the normalization constant "sigmaX_ij(Ep)"
Definition at line 2782 of file libcpixe.c. References ESxType::ep, CalibYld::K_, CalibYld::L_, CalibYld::M_, Simps(), ESxType::stpp, and ESxType::x. Referenced by integrate_Simpson(). |
|
Reads from an ascii file the X-ray Absorption coefficients. The File must have the following format: Note: the index of TotAbsCoefArray starts in 1. ----------------- (any header) MAXZ [maxZ] DATA (datablocks) ----------------- The datablock for each element has the following structure: [atnum] [chemsymb] (23 coefs each one for a given standard energy (see stdtable in TotAbsor() ) [stdcoef[0]]....[stdcoef[22]] (9 triplets --1 for K, 3 for L and 5 for M-- describing absorp edges for K, L & M (1+3+5 triplets). First member of triplet is the transition ener, 2nd is abs coef for E below E_edge and 3rd is abs coef for E above E_edge ) [enr[1]] [coefenr[0][0]] [coefenr[0][1]] ... [enr[9]] [coefenr[8][0]] [coefenr[8][1]] -----------------
Definition at line 1197 of file libcpixe.c. References AbsCoef::atnum, ChemSymb, AbsCoef::coefenr, AbsCoef::coefstd, AbsCoef::enr, FILTER::FilterElems, FILTER::MaxZ, symbol2Z(), and Z2mass(). Referenced by cpixecalib(), CPIXEMAIN(), and cpixemain(). |
|
Reads files containing the Calculation Flags (i.e. which lines should be calculated) or, alternativelly reads areas files from a file in the DATTPIXE Areas format. The behaviour depends on the DTAreasFlag (see below) The Format of the file is as follows: ----------------- (any header) DATA (datablocks) ----------------- if AreasFormat=1, The datablock for each element has the following structure: [ChemSymb] [Kalpha1,2] [Kbeta1] [Kbeta2] [Lalpha1,2] [Lbeta2] [Ll] [Lbeta1] [Lgamma1] [Leta] [Lbeta3] [Lbeta4] [Lgamma3] [Malpha1,2] [Mbeta] [Mgamma] Note: the flags are: 0 if not to be calculated, 1 (or >1) if should be calculated If AreasFormat=2 the datablock format is: [ChemSymb] [Kalpha1,2] [err] [Kbeta1] [err] [Kbeta2] [err] [Lalpha1,2] [err] [Lbeta2] [err] [Ll] [err] [Lbeta1] [err] [Lgamma1] [err] [Leta] [err] [Lbeta3] [err] [Lbeta4] [err] [Lgamma3] [err] [Malpha1,2] [err] [Mbeta] [err] [Mgamma] [err] Note: The information for elements not present in the sample is just ignored.
Definition at line 792 of file libcpixe.c. References CPIXERESULTS::atnum, ChemSymb, CPIXERESULTS::err, CalibYld::K_, CalibYld::L_, CalibYld::M_, CPIXERESULTS::simareas, and symbol2Z(). Referenced by cpixecalib(), and cpixemain(). |
|
Reads a compound of 'nelem' elements from the stream f and fills with this info the the compound c This is a slightly modified version from that of hstoplib.c It fills the normalized atomic and mass concentration. Mass of the elements is obtained by calling Z2mass() The data from the stream must have the following format (repeated nelem times): [element] [atomic_concentration] ...
Definition at line 577 of file libcpixe.c. References ELEMENT::A, COMPOUND::elem, ELEMENT::IM, ELEMENT::M, COMPOUND::name, COMPOUND::nelem, COMPOUND::sumX, ELEMENT::symbol, symbol2Z(), COMPOUND::w, COMPOUND::X, COMPOUND::xn, ELEMENT::Z, and Z2mass(). Referenced by readFilter(), and readsample(). |
|
Fills an EXP_PARAM struct with data from a file. The file must have the following format: ------------------ BeamEner BeamCol DetColFac IncAng DetAng ------------------
Definition at line 336 of file libcpixe.c. References ELEMENT::A, EXP_PARAM::BeamCol, EXP_PARAM::BeamCross, EXP_PARAM::BeamEner, EXP_PARAM::cosDet, EXP_PARAM::cosFac, EXP_PARAM::cosInc, EXP_PARAM::DetAng, EXP_PARAM::DetColFac, EXP_PARAM::FinalEner, ELEMENT::IM, EXP_PARAM::IncAng, EXP_PARAM::ion, ELEMENT::M, ELEMENT::symbol, symbol2Z(), ELEMENT::Z, and Z2mass(). |
|
Reads from an ascii file the Fluorescence and Coster-Kronig coefficients. Note: the index of FCKCoefArray starts in 1.
----------------- (any header) MAXZ [maxZ] DATA (datablocks) ----------------- The datablock for each element has the following structure: [atnum] [chemsymb] (Fluorescence Coeficients) [K] [LI] [LII] [LIII] [MI]... [f12] [f13] [f23] (Line fractions for:) [Kalpha1,2] [Kbeta1] [Kbeta2] [Lalpha1,2] [Lbeta2] [Ll] [Lbeta1] [Lgamma1] [Leta] [Lbeta3] [Lbeta4] [Lgamma3] [Malpha1,2] [Mbeta] [Mgamma] -----------------
Definition at line 1092 of file libcpixe.c. References FluorCKCoef::atnum, ChemSymb, FluorCKCoef::ck, FluorCKCoef::k, CalibYld::K_, CalibYld::L_, CalibYld::M_, symbol2Z(), and FluorCKCoef::w. Referenced by cpixecalib(), CPIXEMAIN(), and cpixemain(). |
|
<
Definition at line 1550 of file libcpixe.c. References foil::comp, createPresentElems(), COMPOUND::elem, FILTER::FilterElems, FILTER::foil, FILTER::geomcorr, ELEMENT::M, FILTER::MaxZ, foil::nfoilelm, FILTER::nlyr, readCOMPOUND(), foil::thick, and COMPOUND::xn. Referenced by cpixecalib(), and cpixemain(). |
|
|
Allocates and initializes the sample definition from a file. It also returns Number of foils and Maximum atomic number present in sample. The File must have the following format: ----------------- NUMBER_OF_FOILS [nfoils] FOIL [thickness_in_ug/cm2] [numberofelems] [symbol] [concentration] [symbol] [concentration] ... FOIL CalEner [numberofelems] [symbol] [concentration] ... ----------------- Note:Any number of foils and any number of elements are allowed.
Definition at line 667 of file libcpixe.c. References foil::comp, COMPOUND::elem, ELEMENT::M, foil::nfoilelm, readCOMPOUND(), foil::thick, and COMPOUND::xn. Referenced by cpixecalib(), and cpixemain(). |
|
Fills a SIM_PARAM struct with data from a file. The file must have the following format: ------------------ Samplefilename absorbertype AllowSXFCorr AllowXEqCalc GenPulNumb GenInteg ColCharge ------------------
Definition at line 394 of file libcpixe.c. References SIM_PARAM::AllowSXFCorr, SIM_PARAM::AllowXEqCalc, SIM_PARAM::ColCharge, SIM_PARAM::DTCC, and SIM_PARAM::useFilter. |
|
Reads from an ascii file the calibration yields and also returns CalEner.
DATA (datablocks) ----------------- The datablock for each element has the following structure: [AtNum] [ChemSymb] [Kalpha1,2] [Kbeta1] [Kbeta2] <----Energies [Kalpha1,2] [Kbeta1] [Kbeta2] <----Yields [Lalpha1,2] [Lbeta2] [Ll] <---------Energies [Lalpha1,2] [Lbeta2] [Ll] <---------Yields [Lbeta1] [Lgamma1] [Leta] <--------Energies [Lbeta1] [Lgamma1] [Leta] <--------Yields [Lbeta3] [Lbeta4] [Lgamma3] <----Energies [Lbeta3] [Lbeta4] [Lgamma3] <----Yields [Malpha1,2] [Mbeta] [Mgamma] <-----Energies [Malpha1,2] [Mbeta] [Mgamma] <-----Yields -----------------
Definition at line 934 of file libcpixe.c. References XrayYield::atnum, CPIXERESULTS::atnum, ChemSymb, XrayYield::ener, CalibYld::K_, CalibYld::L_, CalibYld::M_, CPIXERESULTS::simareas, XrayYield::symb, symbol2Z(), XrayYield::XYld, and Z2mass(). Referenced by cpixecalib(), CPIXEMAIN(), and cpixemain(). |
|
Returns X-ray fluorescence cross-sections for L lines. See paper ???
U.Atomicas de massa * U.Atomicas * parametro de correccao de polarizacao-ligacao * correccao de defleccao Coulombiana * Definition at line 2371 of file libcpixe.c. References FluorCKCoef::ck, AbsCoef::enr, FwTipo, ReisX_En(), ReisX_g(), ReisX_gs(), ReisX_hs(), ReisX_polisec(), SecXL, and FluorCKCoef::w. Referenced by Xprod(). |
|
Auxiliar function to ReisX()
aproximation for niu>> * vide Abramowitz & Stegun , Dover 1Ed. 1965 * Definition at line 2599 of file libcpixe.c. Referenced by ReisX(). |
|
Auxiliar function to ReisX()
Definition at line 2712 of file libcpixe.c. Referenced by ReisX(). |
|
Auxiliar function to ReisX()
ref. Brandt and Lapicki,Phys.Rev.,A20(1979)465 * Definition at line 2474 of file libcpixe.c. Referenced by ReisX(). |
|
Auxiliar function to ReisX()
Definition at line 2550 of file libcpixe.c. Referenced by ReisX(). |
|
Auxiliar function to ReisX()
Definition at line 2631 of file libcpixe.c. Referenced by ReisX(). |
|
Frees memory only if *ptr is not NULL
Definition at line 3188 of file libcpixe.c. Referenced by CPIXEMAIN(), freeFilter(), and freeReusable(). |
|
Returns area of trapezoid, useful for Simpson Integration. See "Corrected Trapezoidal Rule" in Conte & de Boor "Elementar Numerical Analysis" 3rd Ed. McGraw-Hill,1980,,p309 ExpCTR:=(b-a)/2*(fa+fb)
Definition at line 2964 of file libcpixe.c. Referenced by PenInteg(). |
|
Recursive function which divides a sublayer in two if either energy loss or absorption are too large
Definition at line 1884 of file libcpixe.c. References EXP_PARAM::BeamEner, foil::comp, EXP_PARAM::cosFac, ESxType::ep, getSP(), ESxType::stpp, and ESxType::x. Referenced by createsublyrs(). |
|
Returns the atomic number for a certain element (up to Z=109) This is a faster version than that of hstoplib.c because it does not access any file.
Array containing the chemical symbols from H(Z=1) to Mt(Z=109) Definition at line 469 of file libcpixe.c. References ChemSymb. Referenced by readAbsCoef(), readCalcFlags(), readCOMPOUND(), readEXP_PARAM(), readFCK(), readINPUT(), and readXYld(). |
|
Calculates the total absoption (it returns it as a double) for a given X-ray line in a given compound
<
Definition at line 1698 of file libcpixe.c. References COMPOUND::elem, COMPOUND::nelem, TotAbsor_elemental(), COMPOUND::xn, and ELEMENT::Z. Referenced by initlyr(), and Transmission(). |
|
Calculates the total absoption coefficient (it returns it as a double) for a given X-ray line in a given element.
Definition at line 1742 of file libcpixe.c. References AbsCoef::coefenr, AbsCoef::coefstd, and AbsCoef::enr. Referenced by sigmaphoto(), and TotAbsor(). |
|
Calculates the Transmission coefficients for a given foil (whith effective thickness calculated using a geometric correction).
Definition at line 1655 of file libcpixe.c. References foil::comp, XrayYield::ener, CalibYld::K_, CalibYld::L_, CalibYld::M_, foil::thick, and TotAbsor(). Referenced by FilterTrans(), and initlyr(). |
|
Calculates X-Ray production efficiency for a given beam and target, in cm2/(1e15at).
Definition at line 2151 of file libcpixe.c. References FluorCKCoef::k, CalibYld::K_, CalibYld::L_, PaulX(), ReisX(), and SecXL. Referenced by cpixecalib(), deNormalize(), and integrate_Simpson(). |
|
Returns mass information for a given element (specified by its atomic number). Currently the range is limited from Z=1 (H) to Z=92 (U). It provides the Natural (average) weight, Most Abundant Isotope (MAI) weight and Most Abundant Isotope number of nucleons
Array containing the chemical symbols from H(Z=1) to Es(Z=99) Definition at line 500 of file libcpixe.c. Referenced by cpixecalib(), integrate_Simpson(), readAbsCoef(), readCOMPOUND(), readEXP_PARAM(), readINPUT(), readXYld(), translatesample(), and translatesample2(). |