Child pages
  • Output file
Skip to end of metadata
Go to start of metadata

 

The output file is a binary file, containing the behavioural simulations per sample (or all if in diagnostics mode). The output file can be read by the python gemma module. The structure of the file is as follows:

File header

type

description

bool

x64: is file written by x64-compiled version?

int

number of stream samples

long

number of iterations

int

number of end-members (nE)

nE*string

each end-member name as a string*

int

number of solutes (nS)

nS*string

each solute name as a string*

bool

diagnostics mode?

bool

using LLS approximation?

bool

enforce behaviourals within trapezoids?

bool

stop at max saved behaviourals?

bool

write shorter file <deprecated>

* strings are saved as follows:

type

description

int

number of characters in string

n*char

string

Sample results

Note that samples are not necessarily stored in the same order as in the stream samples file, due to the parallel processing of samples.

Sample header

type

description

string*

sample name

string*

datetime

long

number of behavioural simulations

long

number of simulations saved

Sample data

For each behavioural iteration, or all when in diagnostics mode:

type

description

long

iteration no

int

number of end-members in this iteration

int

number of solutes in this iteration

nE*nS*float

end-member concentrations in this iteration

nS*float

calculated stream concentration in this iteration

nE*float

calculated end-member fractions in this iteration

(nS+1)*float

residuals in this iteration (only when in diagnostics mode)

float

Likelihood of iteration

bool

Behavioural? (only when in diagnostics mode)

  • No labels