GUIBRUSHR.General_Constants.FunctionsAndConstants.PTR_Modules module

GUIBRUSHR.General_Constants.FunctionsAndConstants.PTR_Modules.split_species_all_info(species, final_charge_format='+-')[source]

Split a species string into all its components.

Parameters:
  • species – Full species string to parse.

  • final_charge_format – Format for charge symbols (‘+-’ or ‘pm’).

Returns:

Tuple of (name, natural_abundance, charge, cloud_info, source, spectral_info).

GUIBRUSHR.General_Constants.FunctionsAndConstants.PTR_Modules.get_species_scientific_name(species: str) str[source]

Return the species name formatted with LaTeX-style isotope notation.

GUIBRUSHR.General_Constants.FunctionsAndConstants.PTR_Modules.get_cia_aliases(name: str) str[source]

Resolve a CIA species name to its full petitRADTRANS directory name.

GUIBRUSHR.General_Constants.FunctionsAndConstants.PTR_Modules.get_species_basename(species: str, join: bool = False) str[source]

Return the base name of a species with isotope numbers removed.

GUIBRUSHR.General_Constants.FunctionsAndConstants.PTR_Modules.join_species_all_info(name, natural_abundance='', charge='', cloud_info='', source='', spectral_info='', resolution_filename=None, range_filename=None)[source]

Reconstruct a full species string from its individual components.