Skip to content

copy reference mcmc chain files into report at generation

This MR adds a method to find the latest exported report and copy the MCMC chains (as hdf5 files) into the provided report directory. The new function is invoked during the report generation process. The same function also creates a file in the report directory that contains the report id of the reference report used.

Files that will be created:

  • sensing_mcmc_ref_report_id
  • actuation_mcmc_ref_report_id
  • reference_sensing_mcmc_chain.hdf5
  • reference_actuation_{stage}_{optic}_mcmc_chain.hdf5 (one file for each stage/optic configuration)

The config ("cmd yaml") in the current report (i.e. the report object passed as the argument to the function) is used to determine which stage/optic configurations to consider.

Edited by Louis Dartez

Merge request reports