For the production of epoch of reionisation (EoR) hydrogen 21cm (H-21cm) observational .fits
cubes. This pipeline utilises a modified/forked version of the python implementation of the 21cmfast
library.
In order to use this package, we have provided a conda environment configuration file (environment.yaml
). You can use this to create your conda virtual environment with which to run the pipeline to produce the H-21cm cube. In order to set up the environment on the command-line:
conda env create --file environment.yaml
This will create an environment named 'sdc3_h21cm_generator' the envs
directory within conda's base directory. In order to create the virtual environment in a custom path (e.g. ./venv
):
conda env create -p ./venv --file environment.yaml
You can also create a custom-named environment via:
conda env create -n my_name --file environment.yaml
Coming soon.
Using the pipeline requires the configuration of a .toml
file containing all of the required parameters needed for an execution of the pipeline. The full path to this configuration file constitutes the sole command-line argument for the execution of the pipeline.
The parameter file is divided into the following sections:
outputs
: Directories and file namingfield
: Observational coordinate systemcorrelator
: Frequency setupastro_params
:21cmfast
EoR realisation parametersuser_params
: Various user and21cmfast
configuration parametersflags
: Flags to pass to21cmfast
An example parameter file is provided in this repository in files/example_params.toml
with annotations in the form of comments for each individual parameter.
After setting up the virtual environment, it can be activated via:
conda activate sdc3_h21cm_generator
Once within the virtual environment, the pipeline can be executed according to the parameters within the parameter file via:
python /path/to/sdc3_training_datasets/eor_h21cm.py parameter_file.toml
Coming soon.
Please see the file, environment.yaml
, for a full list of dependencies.