pisces.models.galaxy_clusters.spherical.SphericalGalaxyClusterModel.config#

SphericalGalaxyClusterModel.config: dict = {'hydrogen_abundance': 0.76}#

Model-specific configuration settings.

This dictionary provides access to optional, model-scoped settings defined in the Pisces configuration system. Each model class can retrieve its default parameters from the global config file under the section:

models:
  MyGalaxyClusterModel:
    sampling_resolution: 1000
    enable_logging: true

Access the config like a normal dictionary:

resolution = self.config.get("sampling_resolution", 1000)
enable_logging = self.config.get("log_fields", True)

This allows you to customize model behavior without hardcoding values into your Python code. If the model class is not registered in the config file, accessing self.config will raise an error with guidance.