eradiate.pipelines.ComputeAlbedo#

class eradiate.pipelines.ComputeAlbedo(radiosity_var='radiosity', irradiance_var='irradiance', albedo_var='albedo')[source]#

Bases: PipelineStep

Derive the albedo from radiosity and irradiance fields.

Parameters:
  • radiosity_var (str, default: "radiosity") – Name of the variable storing the radiosity (leaving flux) value.

  • irradiance_var (str, default: "irradiance") – Name of the variable storing the irradiance (incoming flux) value.

  • albedo_var (str, default: "albedo") – Name of the variable storing the albedo value.

Fields:
  • radiosity_var (str) – Name of the variable storing the radiosity (leaving flux) value.

  • irradiance_var (str) – Name of the variable storing the irradiance (incoming flux) value.

  • albedo_var (str) – Name of the variable storing the albedo value.

transform(x)[source]#

Apply the pipeline step to a given data.

Parameters:

x – Data to process.

Returns:

xt – Processed data.