You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#12
Add type hinting to various functions across multiple files for consistency with Firecrown.
* **`CosmoAPI/two_point_functions/generate_theory.py`**
- Add type hints to `generate_ell_theta_array_from_yaml`, `load_systematics_factory`, `process_probes_load_2pt`, `generate_two_point_metadata`, and `prepare_2pt_functions`.
* **`CosmoAPI/two_point_functions/nz_loader.py`**
- Add type hints to `_load_nz`, `load_all_nz`, and `_load_nz_from_module`.
* **`CosmoAPI/__main__.py`**
- Add type hints to `gen_datavec`, `gen_covariance`, `forecast`, and `main`.
* **`CosmoAPI/api_io.py`**
- Add type hints to `load_yaml_file` and `load_metadata_function_class`.
Important: Change the placeholder `Any` for the actual firecrown types.
Add type hinting to the functions to keep consistency with Firecrown.
The text was updated successfully, but these errors were encountered: