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

Class NoLayer

source code

Empty layer
Instance Methods
 
__init__(self, span=1)
Create a placeholder which indicates that the current layer is empty.
source code
 
calc(self, thickness, z)
Compute the values for the profile at depth z (scalar or array).
source code
Method Details

__init__(self, span=1)
(Constructor)

source code 

Create a placeholder which indicates that the current layer is empty. This will evaluate as a flat layer of value 0.

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