spc-parser
    Preparing search index...

    Interface LogBlock

    The log block of a new-format Galactic SPC file.

    interface LogBlock {
        binary: Uint8Array;
        disk: Uint8Array;
        entries: LogEntry[];
        history: LogHistoryEntry[];
        imaginary?: Float64Array<ArrayBufferLike>;
        lines: string[];
        meta: LogMetadata;
        text: string;
    }

    Hierarchy

    • ParsedLogText
      • LogBlock
    Index

    Properties

    binary: Uint8Array

    Copy of the binary area (e.g. NMR imaginary data), clamped to the file.

    disk: Uint8Array

    Copy of the disk area, clamped to the file.

    entries: LogEntry[]

    The key = value lines, in order, duplicates kept.

    history: LogHistoryEntry[]

    The audit lines.

    imaginary?: Float64Array<ArrayBufferLike>

    NMR imaginary part (float32 values of the binary area), when the file is NMR data and the log does not set SPC_REAL=TRUE. It is in the order of y: reversed with it when a decreasing X is sorted.

    undefined
    
    lines: string[]

    The text lines (CR LF, LF CR, CR or LF separated), right-trimmed.

    The log header (LOGSTC) fields, as stored in the file.

    text: string

    The log text, cut at its terminating NUL, decoded and trimmed.