radiasoft / rslaser_old

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

example notebook using rslaser.pulse.LaserPulse #165

Closed moellep closed 1 year ago

moellep commented 1 year ago

Added a new notebook SinglePass01-LaserPulse.ipynb which is the conversion of SinglePass01 using the rslaser.pulse.LaserPulse for calculations. Added uti_plot calls to verify plot orientation.

bruhwiler commented 1 year ago

I agree that the file trimming should be removed.

bruhwiler commented 1 year ago

This is working fine with prop_type = 'n0n2_srw'. If you change it to 'n0n2_lct', then the LCT algorithm hangs.

I believe the best solution is to pad the data out to a 64 by 64 mesh. I still agree that deleting rows or columns from the mesh is not the right thing to do.

@moellep -- please have a look at my changes and accept the PR if you approve.

@k-wolfinger -- in your active branch, please check whether your data padding algorithm will accommodate the WFS data files with no initial truncation of the mesh.