rsoft_cad.utils.config package
Submodules
rsoft_cad.utils.config.modifier module
Utility script to modify photonic lantern configuration and create new configuration files.
- rsoft_cad.utils.config.modifier.load_config(config_file='config/complete_pl_config.json')[source]
Load configuration from JSON file
- rsoft_cad.utils.config.modifier.save_config(config, output_file)[source]
Save configuration to JSON file
- rsoft_cad.utils.config.modifier.modify_parameter(config, param_path, value)[source]
Modify a parameter in the configuration.
- Parameters:
config – The configuration dictionary
param_path – Path to the parameter (e.g., “pl_params.Num_Cores_Ring”)
value – New value for the parameter
- Returns:
Modified configuration dictionary