add_slide_above
- iadpython.combine.add_slide_above(sample, R01, R10, T01, T10, R12, R21, T12, T21)[source]
Calculate matrices for a slab with a boundary placed above.
This routine should be used before the slide is been added below!
Here 0 is the air/top-of-slide, 1 is the bottom-of-slide/top-of-slab boundary, and 2 is the is the bottom-of-slab boundary.
- Parameters:
R01 – reflection arrays for slide 0->1
R10 – reflection arrays for slide 1->0
T01 – transmission arrays for slide 0->1
T10 – transmission arrays for slide 1->0
R12 – reflection matrices for slab 1->2
R21 – reflection matrices for slab 2->1
T12 – transmission matrices for slab 1->2
T21 – transmission matrices for slab 2->1
- Returns:
R02, R20, T02, T20 – matrices for slide+slab combination