flatten_jcamp: Flatten JCAMP list file

Description Usage Arguments Value

Description

As most JCAMP files contain only one block/ntuple, it's not necessary to use deep nesting for all the entries. This function checks the the number of blocks/ntuples and then stores header, block, and ntuple entries in a single flat list. Only the ntuple element remains a list, containing the elements 'descriptors' and 'pages'. Note, tag names are switched between processed and non-processed forms automatically. If there are name conlicts between header and block elements, only the block elements are kept.

Usage

1
flatten_jcamp(jcamp_list)

Arguments

jcamp_list

The list output of read_jcamp() or process_jcamp().

Value

A flattened list containing all jcamp entries.


ssokolen/rnmrfit documentation built on May 23, 2019, 1:48 p.m.