Description Usage Arguments Details Value Author(s) Examples
Finds all directories of path
which contain a valid FID (i.e. contain the files fid
, acqu
and acqus
) and loads
them in a matrix.
1 |
path |
A character string specifying the directory where the FIDs are searched. |
l |
A positive number indicating which line of the title file to use as spectra names. |
subdirs |
If |
dirs.names |
If |
verbose |
If |
The row names are the first line of the file "pdata/1/title" in the directory or the directory name(and subdirectory if subdirs == TRUE
) if the title file doesn't exists or the line l
is blank. The column names are the time coordinates of the FID.
All the FIDs therefore need to have the same length and time interval between points.
Case 1: subdirs = FALSE
DIR1 => 1, 2, 3, ...
Case 2a: subdirs = TRUE
DIR1 => 1 ; DIR2 => 1 ; DIR3 => 1 ; ...
Case 2b: subdirs = TRUE
DIR1 => 1, 2, ... ; DIR2 => 1, 2, ... ; ...
Returns a list with the FIDs and their related information.
Fid_data |
The matrix containing the FIDs. |
Fid_info |
A matrix containing the information about the FIDs.
The naming of the row is the same than for The columns are:
|
Benoît Legat & Manon Martin
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.