py21cmsense.sensitivity.PowerSpectrum.from_yaml

classmethod PowerSpectrum.from_yaml(yaml_file) Sensitivity[source]

Construct a PowerSpectrum sensitivity from yaml.

YAML spec has p21 as a file which obtains k_21 and delta_21. It is assumed that k in the file is in units of 1/Mpc (true for 21cmFAST).