TARANG.lib.valid.val_setup#
Functions#
|
Preprocess the parameter file for validation. |
|
Load the testing module based on the parameters. |
|
Validate the global parameters against the testing module. |
|
Read data from an HDF5 file. |
|
Clean up the validation setup by removing temporary files. |
Module Contents#
- TARANG.lib.valid.val_setup.preprocessing(args, para)#
Preprocess the parameter file for validation.
- Parameters:
args (list) – List of arguments specifying the validation setup.
- Return type:
None
- TARANG.lib.valid.val_setup.module_load(para)#
Load the testing module based on the parameters.
- Returns:
Path to the testing module.
- Return type:
str
- TARANG.lib.valid.val_setup.validator(testing_path, para)#
Validate the global parameters against the testing module.
- Parameters:
testing_path (str) – Path to the testing module.
- Return type:
None
- TARANG.lib.valid.val_setup.h5_read(filename, dataset, para)#
Read data from an HDF5 file.
- Parameters:
filename (str) – Path to the HDF5 file.
dataset (str) – Name of the dataset to read.
- Returns:
Data read from the HDF5 file.
- Return type:
array-like
- TARANG.lib.valid.val_setup.cleanup(para)#
Clean up the validation setup by removing temporary files.
- Return type:
None