MCPcopy Create free account
hub / github.com/danieljfarrell/pvtrace / coefficient

Method coefficient

pvtrace/material/component.py:100–104  ·  view source on GitHub ↗

Returns the scattering coefficient at `wavelength`.

(self, wavelength)

Source from the content-addressed store, hash-verified

98 )
99
100 def coefficient(self, wavelength):
101 """ Returns the scattering coefficient at `wavelength`.
102 """
103 value = self._abs_dist(wavelength)
104 return value
105
106 def is_radiative(self, ray):
107 """ Monte-Carlo sampling to determine of the event is radiative.

Callers 2

componentMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected