isofit.surface.surface

class Surface(full_config)[source]

Bases: object

A model of the surface.

Surface models are stored as MATLAB ‘.mat’ format files.

resample_reflectance()[source]

Make sure model wavelengths align with the wavelength file.

xa(x_surface, geom)[source]

Mean of prior state vector distribution calculated at state x.

Sa(x_surface, geom)[source]

Covariance of prior state vector distribution calculated at state x.

fit_params(rfl_meas, geom, *args)[source]

Given a directional reflectance estimate and one or more emissive parameters, fit a state vector.

calc_lamb(x_surface, geom)[source]

Calculate a Lambertian surface reflectance for this state vector.

calc_rfl(x_surface, geom)[source]

Calculate the directed reflectance (specifically the HRDF) for this state vector.

drfl_dsurface(x_surface, geom)[source]

Partial derivative of reflectance with respect to state vector, calculated at x_surface. In the case that there are no free paramters our convention is to return the vector of zeros.

drfl_dsurfaceb(x_surface, geom)[source]

Partial derivative of reflectance with respect to unmodeled variables, calculated at x_surface. In the case that there are no free paramters our convention is to return the vector of zeros.

calc_Ls(x_surface, geom)[source]

Emission of surface, as a radiance.

dLs_dsurface(x_surface, geom)[source]

Partial derivative of surface emission with respect to state vector, calculated at x_surface. In the case that there are no free paramters our convention is to return the vector of zeros.

summarize(x_surface, geom)[source]

Summary of state vector.