xopto.mcbase.mcpf.pfbase module

class PfBase[source]

Bases: xopto.mcbase.mcobject.McObject

classmethod fromdict(data: dict)xopto.mcbase.mcpf.pfbase.PfBase[source]

Create a new instance of a scattering phase function from a dict. The dict keys must match the parameter names defined by the constructor.