py21cmmc.cosmoHammer.HDFStorage.save_step#

HDFStorage.save_step(coords, log_prob, blobs, truepos, trueprob, accepted, random_state)[source]#

Save a step to the file.

Parameters:
  • coords (ndarray) – The coordinates of the walkers in the ensemble.

  • log_prob (ndarray) – The log probability for each walker.

  • blobs (ndarray or None) – The blobs for each walker or None if there are no blobs.

  • accepted (ndarray) – An array of boolean flags indicating whether or not the proposal for each walker was accepted.

  • random_state – The current state of the random number generator.