Class MCMCResult
java.lang.Object
Localiser.algorithms.genericLocaliser.MCMC.MCMCResult
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiondoublegetChi2()Get the chi^2 value.getData()Get the chain results.getJumps()Get the jumps for the MCMC algorithm in Point3f format.double[][]double[][]getJumpsd(int div) Get the jumps for the MCMC algorithm in double[][] format.double[][]float[][]getJumpsf(int div) Get the jumps for the MCMC algorithm in double[][] format.Get the localisation error.double[]Get the mean locationdouble[]Get the mean standard deviationvoidsetChains(ArrayList<MCMC.ChainResult> data) Set the chainsvoidsetChi2(double chi2) Set the chi^2 value.voidsetError(double[] meanstd) Set the standard deviation of the chainsvoidsetLocation(double[] meanloc) Set the location of the chainsvoidsetLocError(EllipticalError localiserError) Set the localisation error. 
- 
Constructor Details
- 
MCMCResult
public MCMCResult() 
 - 
 - 
Method Details
- 
setLocation
public void setLocation(double[] meanloc) Set the location of the chains- Parameters:
 meanloc- - mean location of the chains
 - 
setError
public void setError(double[] meanstd) Set the standard deviation of the chains- Parameters:
 meanstd- - the standard deviation of chains in x, y and z.
 - 
setChains
Set the chains- Parameters:
 data- - chain data for all MCMC chains
 - 
setLocError
Set the localisation error.- Parameters:
 localiserError- - the localisation error
 - 
getMeanLoc
public double[] getMeanLoc()Get the mean location- Returns:
 - the mean location
 
 - 
getMeanstd
public double[] getMeanstd()Get the mean standard deviation- Returns:
 - - the mean std.
 
 - 
getData
Get the chain results.- Returns:
 - - the chain data.
 
 - 
getLocError
Get the localisation error.- Returns:
 - the localisation error.
 
 - 
getChi2
public double getChi2()Get the chi^2 value.- Returns:
 - the chi^2 value
 
 - 
setChi2
public void setChi2(double chi2) Set the chi^2 value.- Parameters:
 chi2- - the chi^2 value to set.
 - 
getJumps
Get the jumps for the MCMC algorithm in Point3f format. This is for legacy code.- Returns:
 - the MCMC jumps in Point3f format.
 
 - 
getJumpsd
public double[][] getJumpsd() - 
getJumpsf
public double[][] getJumpsf() - 
getJumpsd
public double[][] getJumpsd(int div) Get the jumps for the MCMC algorithm in double[][] format. This is for legacy code.- Parameters:
 div- - reduce the data by div times (e.g. for plotting).- Returns:
 - the MCMC jumps from all chains.
 
 - 
getJumpsf
public float[][] getJumpsf(int div) Get the jumps for the MCMC algorithm in double[][] format. This is for legacy code.- Parameters:
 div- - reduce the data by div times (e.g. for plotting).- Returns:
 - the MCMC jumps from all chains.
 
 
 -