Find Intensity Extremes within the EPR/ENDOR Spectrum
Source:R/eval_extremeX_Spec.R
eval_extremeX_Spec.RdFinding the x positions like B (in mT, G or T), g (unitless)
or RF (in MHz) of the intensity minimum or maximum within the selected region
of an EPR/ENDOR spectrum. In terms of extremes, if one wants to perform peak picking of an EPR/ENDOR spectrum,
the eval_peakPick_Spec function can be applied as well.
Usage
eval_extremeX_Spec(
data.spectr,
x = "B_mT",
Intensity = "dIepr_over_dB",
xlim = NULL,
extreme = "max"
)Arguments
- data.spectr
EPR/ENDOR spectrum data frame object with magnetic flux density B (in
mTorG) or g-Value or RF (inMHz) column/variable as well as including the derivativedIepr_over_dBIntensity. Alsoindexcolumn may be present.- x
Character string, pointing to name of the
x-axis/column/variable (in the originaldata.spectr) like magnetic flux density \(B\), \(g\)-Value or \(RF\) (radio frequency), default:x = "B_mT".- Intensity
Character string, pointing to name of the
intensity column/variable, in the originaldata.spectr, if other thandIepr_over_dBname/label is used (e.g. for simulated spectra). Default:Intesity = "dIepr_over_dB".- xlim
Numeric vector, corresponding to lower and upper limit of the selected x-region, such as
xlim = c(3495.4,3595.4)(B inG) orxlim = c(12.5,21.2)(RF inMHz) orxlim = c(2.004,2.001)(g dimensionless). Default:xlim = NULL(corresponding to the entirex-range).- extreme
Character string with only two values allowed:
"min"or"max"(default).
Value
Numeric value of x-axis variable like B,g,RF, corresponding
to Intensity minimum or its maximum, within the EPR/ENDOR spectrum or its integrated form.
See also
Other Evaluations:
eval_DeltaXpp_Spec(),
eval_FWHMx_Spec(),
eval_gFactor(),
eval_gFactor_Spec(),
eval_interval_cnfd_tVec(),
eval_kinR_Eyring_GHS(),
eval_nu_ENDOR(),
eval_peakPick_Spec()
Examples
## loading TMPD built-in example file:
tmpd.data.file.path <-
load_data_example(file = "TMPD_specelchem_accu_b.asc")
## reading data:
tmpd.data.file <-
readEPR_Exp_Specs(path_to_ASC = tmpd.data.file.path,
col.names = c("B_G",
"dIepr_over_dB"),
qValue = 3500,
norm.vec.add = 20,
origin = "winepr")
#
## finding maximum and minimum `B` within the entire
## spectral (`B`) range:
eval_extremeX_Spec(data.spectr = tmpd.data.file)
#> [1] 350.042
#
eval_extremeX_Spec(data.spectr = tmpd.data.file,
extreme = "min")
#> [1] 350.092
#
## both values can be checked by the interactive
## spectrum:
plot_EPR_Specs2D_interact(tmpd.data.file)