load
Module for loading training and target files
smooth_func
def smooth_func(
f_in:ndarray=None, # Unsmoothed array
)->ndarray: # Smoothed arrayCall self as a function.
load_boost_data
def load_boost_data(
Bk_fileIn:str='/home/runner/work/CubicGalileonEmu/CubicGalileonEmu/CubicGalileonEmu/data/Boost.npy', # Input file for Boost
Zk_fileIn:str='/home/runner/work/CubicGalileonEmu/CubicGalileonEmu/CubicGalileonEmu/data/z_k.txt', # Input file for redshift and wavenumbers
)->tuple: # Boost, Smoothed Boost, wavenumbers, redshiftsCall self as a function.
load_boost_data_lin
def load_boost_data_lin(
Bk_fileIn:str='/home/runner/work/CubicGalileonEmu/CubicGalileonEmu/CubicGalileonEmu/data/Boost_Lin.npy', # Input file for Boost
Zk_fileIn:str='/home/runner/work/CubicGalileonEmu/CubicGalileonEmu/CubicGalileonEmu/data/z_k.txt', # Input file for redshift and wavenumbers
)->tuple: # Boost, wavenumbers, redshiftsCall self as a function.
load_params
def load_params(
p_fileIn:str='/home/runner/work/CubicGalileonEmu/CubicGalileonEmu/CubicGalileonEmu/data/cosmo_newdesign.txt', # Input file for parameters
)->array: # ParametersCall self as a function.
load_boost_data_edges
def load_boost_data_edges(
Bk_fileIn:str='/home/runner/work/CubicGalileonEmu/CubicGalileonEmu/CubicGalileonEmu/data/Boost_validation_edges.npy', # Input file for edge validation Boost
Zk_fileIn:str='/home/runner/work/CubicGalileonEmu/CubicGalileonEmu/CubicGalileonEmu/data/z_k_validation_edges.txt', # Input file for edge validation z and k
)->tuple: # Boost, Smoothed Boost, wavenumbers, redshiftsLoad edge validation boost data, handling potentially incomplete files gracefully.
sepia_data_format
def sepia_data_format(
design:array=None, # Params array of shape (num_simulation, num_params)
y_vals:array=None, # Shape (num_simulation, num_y_values)
y_ind:array=None, # Shape (num_y_values,)
)->SepiaData: # Sepia data formatCall self as a function.