Package reflectometry :: Package model1d :: Package model :: Module layer :: Class PowerLawLayer

Class PowerLawLayer

source code


PowerLaw section of reflectometry profile
Instance Methods
 
__init__(self, name="Power Law", Val=1.0, span=1)
Create a PowerLaw layer for a profile.
source code
 
calc(self, thickness, z)
Compute the values for the profile at depth z (scalar or array).
source code

Inherited from _Layer: getValue, setValue, toFloatValue

Method Details

__init__(self, name="Power Law", Val=1.0, span=1)
(Constructor)

source code 

Create a PowerLaw layer for a profile. It has a single tuple v indicating the 'multiplier', 'lin_coeff', and 'power' of the PowerLaw.

The optional span indicates how many model layers are spanned by this portion of the profile.

Overrides: _Layer.__init__

calc(self, thickness, z)

source code 
Compute the values for the profile at depth z (scalar or array).
Overrides: _Layer.calc