cogwheel.utils.get_priordir¶
- cogwheel.utils.get_priordir(parentdir, prior_name)¶
Return pathlib.Path object for a directory of the form
parentdir/prior_name.This directory is intended to contain multiple eventdir directories, one for each event. I.e. the file structure is as follows:
<parentdir> └── <priordir> └── <eventdir> ├── Posterior.json (optional) └── <rundir> ├── Sampler.json └── <sampler_output_files>