Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plotting recipes for interferometer data #30

Merged
merged 1 commit into from
Nov 16, 2023
Merged

Plotting recipes for interferometer data #30

merged 1 commit into from
Nov 16, 2023

Conversation

anchal-physics
Copy link
Collaborator

  • Added recipe to plot interferometer geometry on top of SOLPS mesh in the R-Z plane.
  • Added recipes for plotting integrated and averaged electron density data from interferometer as time series.
  • Added example file to see how to use these functions.

Plot outputs from the example file:

R-Z plane interferometer line of sight plot

gr()           # Fast and can save pdf
plot(space)
plot!(ids.interferometer) # Default plot_type is :los 
plot!(legend=true)

interferometer_RZ

Integrated electron density vs time

gr()           # Fast and can save pdf
plot(ids.interferometer, plot_type=:n_e)

interferometer_n_e

Average electron density vs time

gr()           # Fast and can save pdf
plot(ids.interferometer, plot_type=:n_e)

interferometer_n_e_avg

This completes the last two tasks in ProjectTorreyPines/FusionSyntheticDiagnostics.jl#1 and will complete the issue.

Added recipe to plot interferometer geometry on top of SOLPS mesh
in the R-Z plane.
Added recipes for plotting integrated and averaged electron density
data from interferometer as time series.
Added example file to see how to use these functions.
Copy link
Contributor

@eldond eldond left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The example notebook runs.
The ugly part of the mesh is because of a bug in SD4SOLPS that has been fixed on branch mesh_ext_refined, so it is not a concern and shouldn't block this development.
image

@anchal-physics anchal-physics merged commit 1c30a12 into dev Nov 16, 2023
1 check passed
anchal-physics added a commit to ProjectTorreyPines/FusionSyntheticDiagnostics.jl that referenced this pull request Nov 16, 2023
Remove dependence to SD4SOLPS and more

Merging this without review as these are basic changes that do not affect the interferometer functionality much. The plotting has been reviewed in ProjectTorreyPines/IMASggd.jl#30
@eldond eldond deleted the add_recipe branch July 24, 2024 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants