LALInference  4.1.6.1-89842e6
LALInferenceThreadState Struct Reference

Detailed Description

Structure containing chain-specific variables.

Definition at line 539 of file LALInference.h.

Data Fields

INT4 id
 
char name [VARNAME_MAX]
 Unique integer ID of this thread. More...
 
INT4 step
 
INT4 effective_sample_size
 Step counter for this thread. More...
 
LALInferenceProposalFunction proposal
 Step counter for this thread. More...
 
LALInferenceProposalCyclecycle
 The proposal cycle. More...
 
LALInferenceModelmodel
 Cycle of proposals to call. More...
 
REAL8 currentPropDensity
 Stucture containing model buffers and parameters. More...
 
REAL8 temperature
 Array containing multiple proposal densities. More...
 
LALInferenceVariablesproposalArgs
 
LALInferenceVariablesalgorithmParams
 Arguments needed by proposals. More...
 
LALInferenceVariablespriorArgs
 Stope things such as output arrays. More...
 
LALInferenceVariablescurrentParams
 Prior boundaries, etc. More...
 
LALInferenceVariablespreProposalParams
 The current parameters. More...
 
LALInferenceVariablesproposedParams
 Current location going into jump proposal. More...
 
LALInferenceVariables ** differentialPoints
 Parameters proposed. More...
 
size_t differentialPointsLength
 Array of points for differential evolution. More...
 
size_t differentialPointsSize
 Length of the current differential points stored in differentialPoints. More...
 
size_t differentialPointsSkip
 Size of the differentialPoints memory block (must be >= length of differential points). More...
 
REAL8currentIFOSNRs
 When the DE buffer gets too long, start storing only every n-th output point; this counter stores n. More...
 
REAL8currentIFOLikelihoods
 Array storing single-IFO SNRs of current sample. More...
 
REAL8 currentSNR
 Array storing single-IFO likelihoods of current sample. More...
 
REAL8 nullLikelihood
 Array storing network SNR of current sample. More...
 
REAL8 currentLikelihood
 
REAL8 currentPrior
 This should be removed, can be given as an algorithmParams or proposalParams entry. More...
 
INT4 accepted
 This should be removed, can be given as an algorithmParams entry. More...
 
INT4 acceptanceCount
 
gsl_rng * GSLrandom
 
REAL8 creation_time
 
struct tagLALInferenceRunState * parent
 
INT4temp_swap_accepts
 Pointer to the parent RunState of the thread. More...
 
INT4 temp_swap_window
 
INT4 temp_swap_counter
 

Field Documentation

◆ id

INT4 LALInferenceThreadState::id

Definition at line 542 of file LALInference.h.

◆ name

char LALInferenceThreadState::name[VARNAME_MAX]

Unique integer ID of this thread.

Handy of I/O.

Definition at line 543 of file LALInference.h.

◆ step

INT4 LALInferenceThreadState::step

Definition at line 544 of file LALInference.h.

◆ effective_sample_size

INT4 LALInferenceThreadState::effective_sample_size

Step counter for this thread.

Negative numbers indicate burnin

Definition at line 545 of file LALInference.h.

◆ proposal

LALInferenceProposalFunction LALInferenceThreadState::proposal

Step counter for this thread.

Negative numbers indicate burnin

Definition at line 546 of file LALInference.h.

◆ cycle

LALInferenceProposalCycle* LALInferenceThreadState::cycle

The proposal cycle.

Definition at line 547 of file LALInference.h.

◆ model

LALInferenceModel* LALInferenceThreadState::model

Cycle of proposals to call.

Definition at line 548 of file LALInference.h.

◆ currentPropDensity

REAL8 LALInferenceThreadState::currentPropDensity

Stucture containing model buffers and parameters.

Definition at line 549 of file LALInference.h.

◆ temperature

REAL8 LALInferenceThreadState::temperature

Array containing multiple proposal densities.

Definition at line 550 of file LALInference.h.

◆ proposalArgs

LALInferenceVariables* LALInferenceThreadState::proposalArgs

Definition at line 551 of file LALInference.h.

◆ algorithmParams

LALInferenceVariables * LALInferenceThreadState::algorithmParams

Arguments needed by proposals.

Definition at line 552 of file LALInference.h.

◆ priorArgs

LALInferenceVariables * LALInferenceThreadState::priorArgs

Stope things such as output arrays.

Definition at line 553 of file LALInference.h.

◆ currentParams

LALInferenceVariables* LALInferenceThreadState::currentParams

Prior boundaries, etc.

This is stored at the thread level because proposals often need to know about prior boundaries

Definition at line 556 of file LALInference.h.

◆ preProposalParams

LALInferenceVariables * LALInferenceThreadState::preProposalParams

The current parameters.

Definition at line 557 of file LALInference.h.

◆ proposedParams

LALInferenceVariables * LALInferenceThreadState::proposedParams

Current location going into jump proposal.

Definition at line 558 of file LALInference.h.

◆ differentialPoints

LALInferenceVariables** LALInferenceThreadState::differentialPoints

Parameters proposed.

Definition at line 559 of file LALInference.h.

◆ differentialPointsLength

size_t LALInferenceThreadState::differentialPointsLength

Array of points for differential evolution.

Definition at line 560 of file LALInference.h.

◆ differentialPointsSize

size_t LALInferenceThreadState::differentialPointsSize

Length of the current differential points stored in differentialPoints.

This should be removed can be given as an algorithmParams entry

Definition at line 563 of file LALInference.h.

◆ differentialPointsSkip

size_t LALInferenceThreadState::differentialPointsSkip

Size of the differentialPoints memory block (must be >= length of differential points).

Can also be removed.

Definition at line 566 of file LALInference.h.

◆ currentIFOSNRs

REAL8* LALInferenceThreadState::currentIFOSNRs

When the DE buffer gets too long, start storing only every n-th output point; this counter stores n.

Definition at line 568 of file LALInference.h.

◆ currentIFOLikelihoods

REAL8* LALInferenceThreadState::currentIFOLikelihoods

Array storing single-IFO SNRs of current sample.

Definition at line 569 of file LALInference.h.

◆ currentSNR

REAL8 LALInferenceThreadState::currentSNR

Array storing single-IFO likelihoods of current sample.

Definition at line 570 of file LALInference.h.

◆ nullLikelihood

REAL8 LALInferenceThreadState::nullLikelihood

Array storing network SNR of current sample.

Definition at line 571 of file LALInference.h.

◆ currentLikelihood

REAL8 LALInferenceThreadState::currentLikelihood

Definition at line 572 of file LALInference.h.

◆ currentPrior

REAL8 LALInferenceThreadState::currentPrior

This should be removed, can be given as an algorithmParams or proposalParams entry.

Definition at line 573 of file LALInference.h.

◆ accepted

INT4 LALInferenceThreadState::accepted

This should be removed, can be given as an algorithmParams entry.

Definition at line 574 of file LALInference.h.

◆ acceptanceCount

INT4 LALInferenceThreadState::acceptanceCount

Definition at line 575 of file LALInference.h.

◆ GSLrandom

gsl_rng* LALInferenceThreadState::GSLrandom

Definition at line 576 of file LALInference.h.

◆ creation_time

REAL8 LALInferenceThreadState::creation_time

Definition at line 577 of file LALInference.h.

◆ parent

struct tagLALInferenceRunState* LALInferenceThreadState::parent

Definition at line 578 of file LALInference.h.

◆ temp_swap_accepts

INT4* LALInferenceThreadState::temp_swap_accepts

Pointer to the parent RunState of the thread.

e.g., Useful for getting data

Definition at line 579 of file LALInference.h.

◆ temp_swap_window

INT4 LALInferenceThreadState::temp_swap_window

Definition at line 580 of file LALInference.h.

◆ temp_swap_counter

INT4 LALInferenceThreadState::temp_swap_counter

Definition at line 581 of file LALInference.h.