hightower8083 / synchrad

Synchrotron Radiation calculator via openCL
GNU General Public License v3.0
18 stars 11 forks source link

Add `fbpic` example script [WIP] #10

Closed berceanu closed 4 years ago

berceanu commented 4 years ago

This PR adds an example fbpic input script, based on lwfa_script.py. The runtime on my laptop, using an NVIDIA GeForce GTX 950M is under 4 minutes.

To test it, install fbpic and do

$ cd example
$ python fbpic_lwfa_script.py
berceanu commented 4 years ago

We might decide to remove this script later on, or it can be moved to fbpic, but for now it serves as good base for reproducible testing I think.

hightower8083 commented 4 years ago

Hi @berceanu and thanx for this PR.

I'll check it shortly, but this should be completed with the track-extraction, radiation calculation and some post-processing notebook in order to make it a workflow example rather than just a PIC run.

berceanu commented 4 years ago

Yes of course, this is still WIP and not ready for merging yet :) I put it up so I can get your feedback on the .h5 generation before continuing.

berceanu commented 4 years ago

I merged this into the other PR, closing.