Parses an Agilent .amx method archive, extracting instrument parameters
from one or more of its driver sub-files.
Arguments
- path
Path to the
.amxfile.- what
One or more instrument modules to parse. Any combination of
"dad","pump","comp", and"sampler". Defaults to all four.- path_out
Directory into which the archive is extracted. If
NULL(default), a temporary directory is used and cleaned up on exit.- format_out
Class of the
gradient,solvents,signalsandtemp_controlstables. Either"data.frame","tibble"or"data.table".- gradient_format
Whether to return the gradient in
"wide"(default) or"long"format.
Value
A named list with one element per parsed module, plus "metadata".
A module the archive has no driver file for is left out with a warning,
and it is an error if none of the requested modules has one. The comp module is returned as column and
sampler as autosampler. See below for the structure of each.
metadata — a list with scalar elements:
method_nameOriginal method name.
versionMethod version string.
statusApproval state.
createdCreation timestamp (
POSIXct, UTC).created_byUsername of creator.
modifiedLast-modified timestamp (
POSIXct, UTC).modified_byUsername of last modifier.
pump — a list with scalar elements flow_mL_min, stop_time_min,
post_time_min, pressure_low_bar, pressure_high_bar, plus:
solventsA table of active solvent channels:
channel,percentage,solvent.gradientA table of timetable entries. Wide format (default):
time_minplus onepct_<channel>column per active channel, and aflow_mL_mincolumn if the timetable changes the flow. Long format:time_min,channel,percent, where aflowchannel holds the flow in mL/min.
dad — a list with scalar elements peakwidth_nm, slitwidth_nm,
uv_lamp_required, vis_lamp_required, spectra_from_nm,
spectra_to_nm, spectra_step_nm, plus:
signalsA table of active signals:
id,wavelength_nm,bandwidth_nm.
column — a list with scalar element post_time_min, plus:
temp_controlsTwo-row table (Left/Right):
side,temperature_C,not_ready_limit_C,equilibration_time_min.
autosampler — a list with scalar elements: thermostat_installed,
draw_speed_uL_min, eject_speed_uL_min,
wait_after_draw_min, injection_volume_uL, wash_time_s.
