POSEIDON.surfaces

Functions

find_nearest_less_than(searchVal, array)

load_surface_components(surface_components)

Loads in the txt files for albedos to store into model object

interpolate_surface_components(wl, surface_components, ...)

Interpolates txt files onto wavelength grid. Will throw up an error

Module Contents

POSEIDON.surfaces.find_nearest_less_than(searchVal, array)
POSEIDON.surfaces.load_surface_components(surface_components)

Loads in the txt files for albedos to store into model object

Parameters:

surface_components (list of strings) – List of surface components (if surface_model = ‘Lab_data’).

POSEIDON.surfaces.interpolate_surface_components(wl, surface_components, surface_component_albedos)

Interpolates txt files onto wavelength grid. Will throw up an error if the wavelength extends beyond lab data txt file

Parameters:
  • wl (np.array of float) – Model wavelength grid (μm).

  • surface_components (list of strings) – List of surface components (if surface_model = ‘Lab_data’).

  • surface_component_albedos (array) – Array of [wavelength,albedo] for each txt file loaded in