We changed element.py to accept an array of varying n0, n2 values longitudinally along the crystal. n0, n2 array sizes must match number of crystal slices for obvious reasons. Example notebook demonstrating this functionality for multiple crystal slices and multiple pulse slices may be found in the examples/wavefront directory: pulsePropagateMultiSliceCrystal02.ipynb
We changed element.py to accept an array of varying n0, n2 values longitudinally along the crystal. n0, n2 array sizes must match number of crystal slices for obvious reasons. Example notebook demonstrating this functionality for multiple crystal slices and multiple pulse slices may be found in the examples/wavefront directory:
pulsePropagateMultiSliceCrystal02.ipynb