Skip to content

Conversation

@RemiLehe
Copy link
Contributor

@RemiLehe RemiLehe commented Oct 3, 2025

This updates the calculation of the laser spectrum.

Instead of using the function get_spectrum -- which computes the FFT of the on-axis electric field -- this uses the function get_laser_spectral_intensity (from this branch of openPMD-viewer -- which computes the spectrum of the full laser (not only an on-axis slice)

@RemiLehe RemiLehe changed the title [WIP] Update analysis script Update movie of the laser spectrum for staging_injector Oct 3, 2025
@RemiLehe RemiLehe requested a review from EZoni October 3, 2025 01:31
@EZoni
Copy link
Member

EZoni commented Oct 3, 2025

If the new function is available only in a specific branch of openPMD-viewer, do we have to update a dependency somewhere? I don't remember if we have a simulation environment configured besides the dashboard environment.

@RemiLehe
Copy link
Contributor Author

RemiLehe commented Oct 4, 2025

We don't have a simulation environment file yet.
I think that at some point we will have to make a Dockerfile for the simulation -- at which point it will be good to remember to use this branch.

@EZoni EZoni merged commit e07f255 into main Oct 4, 2025
@EZoni EZoni deleted the update_analysis_script branch October 4, 2025 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants