radiasoft / rslaser_old

Integrated modeling of CPA crystal-based laser amplifiers
Apache License 2.0
1 stars 1 forks source link

add functionality for varying n0, n2 slice-by-slice w ex nb #122

Closed nickgoldring closed 1 year ago

nickgoldring commented 1 year ago

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

bnash commented 1 year ago

Additional checks should be added to ensure the n0 and n2 array sizes match the number of crystal slices. Merging.