POSEIDON.surfaces ================= .. py:module:: POSEIDON.surfaces Functions --------- .. autoapisummary:: POSEIDON.surfaces.find_nearest_less_than POSEIDON.surfaces.load_surface_components POSEIDON.surfaces.interpolate_surface_components Module Contents --------------- .. py:function:: find_nearest_less_than(searchVal, array) .. py:function:: load_surface_components(surface_components) Loads in the txt files for albedos to store into model object :param surface_components: List of surface components (if surface_model = 'Lab_data'). :type surface_components: list of strings .. py:function:: 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 :param wl: Model wavelength grid (μm). :type wl: np.array of float :param surface_components: List of surface components (if surface_model = 'Lab_data'). :type surface_components: list of strings :param surface_component_albedos: Array of [wavelength,albedo] for each txt file loaded in :type surface_component_albedos: array