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

Class TetheredPolymerLayer

source code


TetheredPolymer section of reflectometry profile
Instance Methods
 
__init__(self, name="Tethered Polymer", Val=1.0, span=1)
Create a Tethered Polymer 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="Tethered Polymer", Val=1.0, span=1)
(Constructor)

source code 

Create a Tethered Polymer layer for a profile. It has a single tuple v indicating the 'Value for polymer', 'Value for solvent', 'phi_0', 'Flat fraction', and 'Y' of the Tethered Polymer.

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