ExtinctionLaw

class beast.physicsmodel.dust.extinction.ExtinctionLaw[source]

Bases: object

Extinction Law Template Class

Attributes:
name : string

Name identifying the extinction law

Methods Summary

__call__(self, \*args, \*\*kwargs) Call self as a function.
function(self, lamb, \*arg, \*\*kwargs) function to provide extinction curve given wavelength(s)
isvalid(self, \*args, \*\*kwargs) Check if the current arguments are in the validity domain of the law Must be redefined if any restriction applies to the law

Methods Documentation

__call__(self, *args, **kwargs)[source]

Call self as a function.

function(self, lamb, *arg, **kwargs)[source]

function to provide extinction curve given wavelength(s)

isvalid(self, *args, **kwargs)[source]

Check if the current arguments are in the validity domain of the law Must be redefined if any restriction applies to the law