Interface JcampOptions

interface JcampOptions {
    factor?: Record<OneLowerCase, number>;
    forceNtuples?: boolean;
    info?: JcampInfo;
    meta?: Record<string, any>;
    xyEncoding?: XYEncoding;
}

Properties

factor?: Record<OneLowerCase, number>
forceNtuples?: boolean

force the ntuples format even if there is only x and y variables

Default

false
info?: JcampInfo

standardize meta data defined in a jcamp like title or dataType

Default

{}
meta?: Record<string, any>

meta data information that will be placed in a ##$ labeled data record. Objects will be stringified.

Default

{}
xyEncoding?: XYEncoding

defines if the format should be PEAKTABLE (default) or XYDATA in the specified encodeing

Default

''