GLASS
Global LISA Analysis Software Suite
Chain Struct Reference

Structure containing settings and housekeeping data for each of the parallel chains. More...

#include <glass_data.h>

Public Attributes

int NC
 Number of chains.
 
int * index
 Array containing current order of chains in temperature ladder.
 
int ** dimension
 Size of model being sampled by chain. Depricated?
 
double * acceptance
 Array tracking acceptance rate of parallel chain exchanges.
 
double * temperature
 Array of chain temperatures.
 
double * avgLogL
 Array storing \(\langle \log p(d|\vec\theta)^{1/T} \rangle\) for thermodynamic integration.
 
double annealing
 Annealing temperature for all chains used during burnin DEPRICATED
 
double logLmax
 Store the maximum value of \(\log p(d|\vec\theta)\) encountered by the chain. Used for determining when burn-in is complete.
 
char chainDir [MAXSTRINGSIZE]
 store chain directory.
 
char chkptDir [MAXSTRINGSIZE]
 store checkpoint directory.
 
Random Number Generator (RNG) Data Types

Thread-safe random number generator data types used by GSL

const gsl_rng_type ** T
 Needed for initializing RNG.
 
gsl_rng ** r
 Seed for RNGs for each parallel chain.
 
Chain File Pointers

By default only the cold chain M=0 is saved. When Flags::verbose = TRUE files for each of the parallel chain are written.

FILE ** noiseFile
 Noise parameter chain file: chains/noise_chain.dat.M More...
 
FILE ** foregroundFile
 
FILE ** chainFile
 Markov chain state (iterations, likelihoods, etc.): chains/model_chain.dat.M More...
 
FILE ** calibrationFile
 Calibration parameter chain file: chains/calibration_chain.dat.M More...
 
FILE ** dimensionFile
 Signal parameter chain files for discrete models, only for cold chains: chains/dimension_chain.dat.D More...
 
FILE ** parameterFile
 Full signal parameter chain files: chains/dimension_chain.dat.M More...
 
FILE * likelihoodFile
 Log-likelhood values for each parallel chain. More...
 
FILE * temperatureFile
 Temperature of each parallel chain to monitor adaptive temperature spacing. More...
 

Detailed Description

Structure containing settings and housekeeping data for each of the parallel chains.

Member Data Documentation

◆ calibrationFile

FILE** Chain::calibrationFile

Calibration parameter chain file: chains/calibration_chain.dat.M

Columns:

◆ chainFile

FILE** Chain::chainFile

Markov chain state (iterations, likelihoods, etc.): chains/model_chain.dat.M

Columns: step | N_live | logL | logL_norm | t_0

◆ dimensionFile

FILE** Chain::dimensionFile

Signal parameter chain files for discrete models, only for cold chains: chains/dimension_chain.dat.D

Columns: f | fdot | A | cos_colat | long | cos_inc | psi | phi

◆ likelihoodFile

FILE* Chain::likelihoodFile

Log-likelhood values for each parallel chain.

Columns: step | logL_0 | logL_1 | ... | logL_NC-1

◆ noiseFile

FILE** Chain::noiseFile

Noise parameter chain file: chains/noise_chain.dat.M

Columns: step | logL | logL_norm | etaA | eta E

◆ parameterFile

FILE** Chain::parameterFile

Full signal parameter chain files: chains/dimension_chain.dat.M

Columns: f | fdot | A | cos_colat | long | cos_inc | psi | phi

◆ temperatureFile

FILE* Chain::temperatureFile

Temperature of each parallel chain to monitor adaptive temperature spacing.

Columns: step | 1/T_0 | 1/T_1 | ... | 1/T_NC-1


The documentation for this struct was generated from the following file: