Interactively select a measurement protocol
Source:R/acq-interactive-utils.R
protocol_interactive.Rd
Choose a protocol by name from a list of protocols, allowing the user to
correct the selection if needed. Protocols are not hard-wired, but instead
defined by the list passed as argument to protocols
.
Usage
protocol_interactive(protocols, default = names(protocols)[[1]])
Details
A protocol is defined as a named list of character strings, and consist in
multiple acquisition of spectra contributing to the same logical measurement.
The name of the list member is the name of the protocol, while the members
of each character vector correspond to spectra to be acquired, after some
change in the measurement conditions. For example the list
list(rsd = c("reference", "sample", "dark"), rs = c("reference", "sample"))
defines two protocols.
See also
Other interactive acquisition utility functions:
choose_ch_interactive()
,
choose_sr_interactive()
,
f.trigger.message()
,
list_srs_interactive()
,
set_attributes_interactive()
,
set_folder_interactive()
,
set_seq_interactive()
,
set_session_name_interactive()
,
set_user_name_interactive()
,
tune_interactive()