Class MCMCResult

java.lang.Object
Localiser.algorithms.genericLocaliser.MCMC.MCMCResult

public class MCMCResult extends Object
  • 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

      public void setChains(ArrayList<MCMC.ChainResult> data)
      Set the chains
      Parameters:
      data - - chain data for all MCMC chains
    • setLocError

      public void setLocError(EllipticalError localiserError)
      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

      public ArrayList<MCMC.ChainResult> getData()
      Get the chain results.
      Returns:
      - the chain data.
    • getLocError

      public EllipticalError 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

      public ArrayList<ArrayList<javax.vecmath.Point3f>> 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.