Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions data/PLUME-Output-Table-2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions data/PLUME-Output-Table.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion output.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ If `low_n` is true, we have
- 18+(11-6{!eigen})`nspec`+j. $P_j^{zy}$ (Landau Damping term 1).
- 18+(12-6{!eigen})`nspec`+j. $P_j^{zz}$ (Landau Damping term 2).
- 18+(13-6{!eigen})`nspec`+j. $P_j^{n=0}$ (sum of Landau and Transit Time Damping).
- 18+(14-6{!eigen})`nspec`+j. $P_j^{n=\pm 1}$ ($n=\pm 1$ Cyclotron Damping).
- 18+(14-6{!eigen})`nspec`+j. $P_j^{n=+1}$ ($n=+ 1$ Cyclotron Damping).
- 18+(15-6{!eigen})`nspec`+j. $P_j^{n=-1}$ ($n=- 1$ Cyclotron Damping).
Here, {!eigen} (negation of eigen boolean) is equal to 1 if eigen is false and 0 if eigen is true.

This will be followed by 6`nspec` columns containing the parameter lists $\mathcal{P}_j$ for each species or component.
Expand All @@ -132,6 +133,8 @@ This will be followed by 6`nspec` columns containing the parameter lists $\mathc
- 24+`noutperspec` `nspec`+6(j-1)-12({!eigen}). $v_{j,drift}/v_{A,ref}$.
Here, noutperspec = 0 is the number of additional outputs created by setting heating or eigen to true. If eigen and heating are false, then noutperspec = 7, if eigen is false and heating is true, then noutperspec = 8, and if eigen is true and if eigen and heating are true, then noutperspec=15. Note that {!eigen} (negation of eigen boolean) is equal to 1 if eigen is false and 0 if eigen is true.

For ease of reference, consider the below tables for column numbers for two and three component calculations.

![Table for output column numbering for a two-component plasma.](./data/PLUME-Output-Table.svg)

![Table for output column numbering for a three-component plasma.](./data/PLUME-Output-Table-2.svg)
Expand Down
61 changes: 40 additions & 21 deletions plotter/example/example_kpar.plt
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ dy=0.225
base_color='#000000'
n0_color='#009e73'
n1_color='#e68f00'
nm1_color='#00f86e'

set log x
set xrange [k_min:k_max]
Expand Down Expand Up @@ -135,7 +136,9 @@ file_in(mm) u 2:($35/sgn($5)) w l lc rgb base_color dt 2 title '$\gamma_p<0$' ,\
file_in(mm) u 2:(-$41/sgn($5)) w l lc rgb n0_color dt 1 title '' ,\
file_in(mm) u 2:($41/sgn($5)) w l lc rgb n0_color dt 2 title '' ,\
file_in(mm) u 2:(-$42/sgn($5)) w l lc rgb n1_color dt 1 title '' ,\
file_in(mm) u 2:($42/sgn($5)) w l lc rgb n1_color dt 2 title ''
file_in(mm) u 2:($42/sgn($5)) w l lc rgb n1_color dt 2 title '' ,\
file_in(mm) u 2:(-$43/sgn($5)) w l lc rgb nm1_color dt 1 title '' ,\
file_in(mm) u 2:($43/sgn($5)) w l lc rgb nm1_color dt 2 title ''

#Electron Damping Rates
unset label
Expand All @@ -151,10 +154,12 @@ set label '$|\gamma_e|/|\omega_{\textrm{r}}|$' at graph -0.3,0.15 rotate by 90
plot \
file_in(mm) u 2:(-$36/sgn($5)) w l lc rgb base_color dt 1 title '$\gamma_e>0$' ,\
file_in(mm) u 2:($36/sgn($5)) w l lc rgb base_color dt 2 title '$\gamma_e<0$' ,\
file_in(mm) u 2:(-$47/sgn($5)) w l lc rgb n0_color dt 1 title '' ,\
file_in(mm) u 2:($47/sgn($5)) w l lc rgb n0_color dt 2 title '' ,\
file_in(mm) u 2:(-$48/sgn($5)) w l lc rgb n1_color dt 1 title '' ,\
file_in(mm) u 2:($48/sgn($5)) w l lc rgb n1_color dt 2 title ''
file_in(mm) u 2:(-$48/sgn($5)) w l lc rgb n0_color dt 1 title '' ,\
file_in(mm) u 2:($48/sgn($5)) w l lc rgb n0_color dt 2 title '' ,\
file_in(mm) u 2:(-$49/sgn($5)) w l lc rgb n1_color dt 1 title '' ,\
file_in(mm) u 2:($49/sgn($5)) w l lc rgb n1_color dt 2 title '' ,\
file_in(mm) u 2:(-$50/sgn($5)) w l lc rgb nm1_color dt 1 title '' ,\
file_in(mm) u 2:($50/sgn($5)) w l lc rgb nm1_color dt 2 title ''

#Polarization
unset label
Expand Down Expand Up @@ -224,7 +229,9 @@ file_in(mm) u 2:($35/sgn($5)) w l lc rgb base_color dt 2 title '' ,\
file_in(mm) u 2:(-$41/sgn($5)) w l lc rgb n0_color dt 1 title '$\gamma_p^{n=0}>0$' ,\
file_in(mm) u 2:($41/sgn($5)) w l lc rgb n0_color dt 2 title '$\gamma_p^{n=0}<0$' ,\
file_in(mm) u 2:(-$42/sgn($5)) w l lc rgb n1_color dt 1 title '' ,\
file_in(mm) u 2:($42/sgn($5)) w l lc rgb n1_color dt 2 title ''
file_in(mm) u 2:($42/sgn($5)) w l lc rgb n1_color dt 2 title '' ,\
file_in(mm) u 2:(-$43/sgn($5)) w l lc rgb nm1_color dt 1 title '' ,\
file_in(mm) u 2:($43/sgn($5)) w l lc rgb nm1_color dt 2 title ''

#Electron Damping Rates
unset label
Expand All @@ -239,10 +246,12 @@ set yrange [gam_min:gam_max]
plot \
file_in(mm) u 2:(-$36/sgn($5)) w l lc rgb base_color dt 1 title '' ,\
file_in(mm) u 2:($36/sgn($5)) w l lc rgb base_color dt 2 title '' ,\
file_in(mm) u 2:(-$47/sgn($5)) w l lc rgb n0_color dt 1 title '$\gamma_e^{n=0}>0$' ,\
file_in(mm) u 2:($47/sgn($5)) w l lc rgb n0_color dt 2 title '$\gamma_e^{n=0}<0$' ,\
file_in(mm) u 2:(-$48/sgn($5)) w l lc rgb n1_color dt 1 title '' ,\
file_in(mm) u 2:($48/sgn($5)) w l lc rgb n1_color dt 2 title ''
file_in(mm) u 2:(-$48/sgn($5)) w l lc rgb n0_color dt 1 title '$\gamma_e^{n=0}>0$' ,\
file_in(mm) u 2:($48/sgn($5)) w l lc rgb n0_color dt 2 title '$\gamma_e^{n=0}<0$' ,\
file_in(mm) u 2:(-$49/sgn($5)) w l lc rgb n1_color dt 1 title '' ,\
file_in(mm) u 2:($49/sgn($5)) w l lc rgb n1_color dt 2 title '' ,\
file_in(mm) u 2:(-$50/sgn($5)) w l lc rgb nm1_color dt 1 title '' ,\
file_in(mm) u 2:($50/sgn($5)) w l lc rgb nm1_color dt 2 title ''

#Polarization
unset label
Expand Down Expand Up @@ -310,8 +319,10 @@ file_in(mm) u 2:(-$35/sgn($5)) w l lc rgb base_color dt 1 title '' ,\
file_in(mm) u 2:($35/sgn($5)) w l lc rgb base_color dt 2 title '' ,\
file_in(mm) u 2:(-$41/sgn($5)) w l lc rgb n0_color dt 1 title '' ,\
file_in(mm) u 2:($41/sgn($5)) w l lc rgb n0_color dt 2 title '' ,\
file_in(mm) u 2:(-$42/sgn($5)) w l lc rgb n1_color dt 1 title '$\gamma_p^{n=\pm 1}>0$' ,\
file_in(mm) u 2:($42/sgn($5)) w l lc rgb n1_color dt 2 title '$\gamma_p^{n=\pm 1}<0$'
file_in(mm) u 2:(-$42/sgn($5)) w l lc rgb n1_color dt 1 title '$\gamma_p^{n=+ 1}>0$' ,\
file_in(mm) u 2:($42/sgn($5)) w l lc rgb n1_color dt 2 title '$\gamma_p^{n=+ 1}<0$' ,\
file_in(mm) u 2:(-$43/sgn($5)) w l lc rgb nm1_color dt 1 title '' ,\
file_in(mm) u 2:($43/sgn($5)) w l lc rgb nm1_color dt 2 title ''

#Electron Damping Rates
unset label
Expand All @@ -326,10 +337,12 @@ set yrange [gam_min:gam_max]
plot \
file_in(mm) u 2:(-$36/sgn($5)) w l lc rgb base_color dt 1 title '' ,\
file_in(mm) u 2:($36/sgn($5)) w l lc rgb base_color dt 2 title '' ,\
file_in(mm) u 2:(-$47/sgn($5)) w l lc rgb n0_color dt 1 title '' ,\
file_in(mm) u 2:($47/sgn($5)) w l lc rgb n0_color dt 2 title '' ,\
file_in(mm) u 2:(-$48/sgn($5)) w l lc rgb n1_color dt 1 title '$\gamma_e^{n=\pm 1}>0$' ,\
file_in(mm) u 2:($48/sgn($5)) w l lc rgb n1_color dt 2 title '$\gamma_e^{n=\pm 1}<0$'
file_in(mm) u 2:(-$48/sgn($5)) w l lc rgb n0_color dt 1 title '' ,\
file_in(mm) u 2:($48/sgn($5)) w l lc rgb n0_color dt 2 title '' ,\
file_in(mm) u 2:(-$49/sgn($5)) w l lc rgb n1_color dt 1 title '$\gamma_e^{n=+ 1}>0$' ,\
file_in(mm) u 2:($49/sgn($5)) w l lc rgb n1_color dt 2 title '$\gamma_e^{n=+ 1}<0$' ,\
file_in(mm) u 2:(-$50/sgn($5)) w l lc rgb nm1_color dt 1 title '' ,\
file_in(mm) u 2:($50/sgn($5)) w l lc rgb nm1_color dt 2 title ''

#Polarization
unset label
Expand Down Expand Up @@ -398,7 +411,11 @@ file_in(mm) u 2:($35/sgn($5)) w l lc rgb base_color dt 2 title '' ,\
file_in(mm) u 2:(-$41/sgn($5)) w l lc rgb n0_color dt 1 title '' ,\
file_in(mm) u 2:($41/sgn($5)) w l lc rgb n0_color dt 2 title '' ,\
file_in(mm) u 2:(-$42/sgn($5)) w l lc rgb n1_color dt 1 title '' ,\
file_in(mm) u 2:($42/sgn($5)) w l lc rgb n1_color dt 2 title ''
file_in(mm) u 2:($42/sgn($5)) w l lc rgb n1_color dt 2 title '' ,\
file_in(mm) u 2:(-$43/sgn($5)) w l lc rgb nm1_color dt 1 title '$\gamma_p^{n=- 1}>0$' ,\
file_in(mm) u 2:($43/sgn($5)) w l lc rgb nm1_color dt 2 title '$\gamma_p^{n=- 1}<0$'



#Electron Damping Rates
unset label
Expand All @@ -413,10 +430,12 @@ set yrange [gam_min:gam_max]
plot \
file_in(mm) u 2:(-$36/sgn($5)) w l lc rgb base_color dt 1 title '' ,\
file_in(mm) u 2:($36/sgn($5)) w l lc rgb base_color dt 2 title '' ,\
file_in(mm) u 2:(-$47/sgn($5)) w l lc rgb n0_color dt 1 title '' ,\
file_in(mm) u 2:($47/sgn($5)) w l lc rgb n0_color dt 2 title '' ,\
file_in(mm) u 2:(-$48/sgn($5)) w l lc rgb n1_color dt 1 title '' ,\
file_in(mm) u 2:($48/sgn($5)) w l lc rgb n1_color dt 2 title ''
file_in(mm) u 2:(-$48/sgn($5)) w l lc rgb n0_color dt 1 title '' ,\
file_in(mm) u 2:($48/sgn($5)) w l lc rgb n0_color dt 2 title '' ,\
file_in(mm) u 2:(-$49/sgn($5)) w l lc rgb n1_color dt 1 title '' ,\
file_in(mm) u 2:($49/sgn($5)) w l lc rgb n1_color dt 2 title '' ,\
file_in(mm) u 2:(-$50/sgn($5)) w l lc rgb nm1_color dt 1 title '$\gamma_e^{n=- 1}>0$' ,\
file_in(mm) u 2:($50/sgn($5)) w l lc rgb nm1_color dt 2 title '$\gamma_e^{n=- 1}>0$'

#Polarization
unset label
Expand Down
59 changes: 38 additions & 21 deletions plotter/example/example_kperp.plt
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ dy=0.225
base_color='#000000'
n0_color='#009e73'
n1_color='#e68f00'
nm1_color='#00f86e'

set log x
set xrange [k_min:k_max]
Expand Down Expand Up @@ -135,7 +136,9 @@ file_in(mm) u 1:($35/sgn($5)) w l lc rgb base_color dt 2 title '$\gamma_p<0$' ,\
file_in(mm) u 1:(-$41/sgn($5)) w l lc rgb n0_color dt 1 title '' ,\
file_in(mm) u 1:($41/sgn($5)) w l lc rgb n0_color dt 2 title '' ,\
file_in(mm) u 1:(-$42/sgn($5)) w l lc rgb n1_color dt 1 title '' ,\
file_in(mm) u 1:($42/sgn($5)) w l lc rgb n1_color dt 2 title ''
file_in(mm) u 1:($42/sgn($5)) w l lc rgb n1_color dt 2 title '' ,\
file_in(mm) u 1:(-$43/sgn($5)) w l lc rgb nm1_color dt 1 title '' ,\
file_in(mm) u 1:($43/sgn($5)) w l lc rgb nm1_color dt 2 title ''

#Electron Damping Rates
unset label
Expand All @@ -151,10 +154,12 @@ set label '$|\gamma_e|/|\omega_{\textrm{r}}|$' at graph -0.3,0.15 rotate by 90
plot \
file_in(mm) u 1:(-$36/sgn($5)) w l lc rgb base_color dt 1 title '$\gamma_e>0$' ,\
file_in(mm) u 1:($36/sgn($5)) w l lc rgb base_color dt 2 title '$\gamma_e<0$' ,\
file_in(mm) u 1:(-$47/sgn($5)) w l lc rgb n0_color dt 1 title '' ,\
file_in(mm) u 1:($47/sgn($5)) w l lc rgb n0_color dt 2 title '' ,\
file_in(mm) u 1:(-$48/sgn($5)) w l lc rgb n1_color dt 1 title '' ,\
file_in(mm) u 1:($48/sgn($5)) w l lc rgb n1_color dt 2 title ''
file_in(mm) u 1:(-$48/sgn($5)) w l lc rgb n0_color dt 1 title '' ,\
file_in(mm) u 1:($48/sgn($5)) w l lc rgb n0_color dt 2 title '' ,\
file_in(mm) u 1:(-$49/sgn($5)) w l lc rgb n1_color dt 1 title '' ,\
file_in(mm) u 1:($49/sgn($5)) w l lc rgb n1_color dt 2 title '' ,\
file_in(mm) u 1:(-$50/sgn($5)) w l lc rgb nm1_color dt 1 title '' ,\
file_in(mm) u 1:($50/sgn($5)) w l lc rgb nm1_color dt 2 title ''

#Polarization
unset label
Expand Down Expand Up @@ -224,7 +229,9 @@ file_in(mm) u 1:($35/sgn($5)) w l lc rgb base_color dt 2 title '' ,\
file_in(mm) u 1:(-$41/sgn($5)) w l lc rgb n0_color dt 1 title '$\gamma_p^{n=0}>0$' ,\
file_in(mm) u 1:($41/sgn($5)) w l lc rgb n0_color dt 2 title '$\gamma_p^{n=0}<0$' ,\
file_in(mm) u 1:(-$42/sgn($5)) w l lc rgb n1_color dt 1 title '' ,\
file_in(mm) u 1:($42/sgn($5)) w l lc rgb n1_color dt 2 title ''
file_in(mm) u 1:($42/sgn($5)) w l lc rgb n1_color dt 2 title '' ,\
file_in(mm) u 1:(-$43/sgn($5)) w l lc rgb nm1_color dt 1 title '' ,\
file_in(mm) u 1:($43/sgn($5)) w l lc rgb nm1_color dt 2 title ''

#Electron Damping Rates
unset label
Expand All @@ -239,10 +246,12 @@ set yrange [gam_min:gam_max]
plot \
file_in(mm) u 1:(-$36/sgn($5)) w l lc rgb base_color dt 1 title '' ,\
file_in(mm) u 1:($36/sgn($5)) w l lc rgb base_color dt 2 title '' ,\
file_in(mm) u 1:(-$47/sgn($5)) w l lc rgb n0_color dt 1 title '$\gamma_e^{n=0}>0$' ,\
file_in(mm) u 1:($47/sgn($5)) w l lc rgb n0_color dt 2 title '$\gamma_e^{n=0}<0$' ,\
file_in(mm) u 1:(-$48/sgn($5)) w l lc rgb n1_color dt 1 title '' ,\
file_in(mm) u 1:($48/sgn($5)) w l lc rgb n1_color dt 2 title ''
file_in(mm) u 1:(-$48/sgn($5)) w l lc rgb n0_color dt 1 title '$\gamma_e^{n=0}>0$' ,\
file_in(mm) u 1:($48/sgn($5)) w l lc rgb n0_color dt 2 title '$\gamma_e^{n=0}<0$' ,\
file_in(mm) u 1:(-$49/sgn($5)) w l lc rgb n1_color dt 1 title '' ,\
file_in(mm) u 1:($49/sgn($5)) w l lc rgb n1_color dt 2 title '' ,\
file_in(mm) u 1:(-$50/sgn($5)) w l lc rgb nm1_color dt 1 title '' ,\
file_in(mm) u 1:($50/sgn($5)) w l lc rgb nm1_color dt 2 title ''

#Polarization
unset label
Expand Down Expand Up @@ -310,8 +319,10 @@ file_in(mm) u 1:(-$35/sgn($5)) w l lc rgb base_color dt 1 title '' ,\
file_in(mm) u 1:($35/sgn($5)) w l lc rgb base_color dt 2 title '' ,\
file_in(mm) u 1:(-$41/sgn($5)) w l lc rgb n0_color dt 1 title '' ,\
file_in(mm) u 1:($41/sgn($5)) w l lc rgb n0_color dt 2 title '' ,\
file_in(mm) u 1:(-$42/sgn($5)) w l lc rgb n1_color dt 1 title '$\gamma_p^{n=\pm 1}>0$' ,\
file_in(mm) u 1:($42/sgn($5)) w l lc rgb n1_color dt 2 title '$\gamma_p^{n=\pm 1}<0$'
file_in(mm) u 1:(-$42/sgn($5)) w l lc rgb n1_color dt 1 title '$\gamma_p^{n=+ 1}>0$' ,\
file_in(mm) u 1:($42/sgn($5)) w l lc rgb n1_color dt 2 title '$\gamma_p^{n=+ 1}<0$' ,\
file_in(mm) u 1:(-$43/sgn($5)) w l lc rgb nm1_color dt 1 title '' ,\
file_in(mm) u 1:($43/sgn($5)) w l lc rgb nm1_color dt 2 title ''

#Electron Damping Rates
unset label
Expand All @@ -326,10 +337,12 @@ set yrange [gam_min:gam_max]
plot \
file_in(mm) u 1:(-$36/sgn($5)) w l lc rgb base_color dt 1 title '' ,\
file_in(mm) u 1:($36/sgn($5)) w l lc rgb base_color dt 2 title '' ,\
file_in(mm) u 1:(-$47/sgn($5)) w l lc rgb n0_color dt 1 title '' ,\
file_in(mm) u 1:($47/sgn($5)) w l lc rgb n0_color dt 2 title '' ,\
file_in(mm) u 1:(-$48/sgn($5)) w l lc rgb n1_color dt 1 title '$\gamma_e^{n=\pm 1}>0$' ,\
file_in(mm) u 1:($48/sgn($5)) w l lc rgb n1_color dt 2 title '$\gamma_e^{n=\pm 1}<0$'
file_in(mm) u 1:(-$48/sgn($5)) w l lc rgb n0_color dt 1 title '' ,\
file_in(mm) u 1:($48/sgn($5)) w l lc rgb n0_color dt 2 title '' ,\
file_in(mm) u 1:(-$49/sgn($5)) w l lc rgb n1_color dt 1 title '$\gamma_e^{n=+ 1}>0$' ,\
file_in(mm) u 1:($49/sgn($5)) w l lc rgb n1_color dt 2 title '$\gamma_e^{n=+ 1}<0$' ,\
file_in(mm) u 1:(-$50/sgn($5)) w l lc rgb nm1_color dt 1 title '' ,\
file_in(mm) u 1:($50/sgn($5)) w l lc rgb nm1_color dt 2 title ''

#Polarization
unset label
Expand Down Expand Up @@ -398,7 +411,9 @@ file_in(mm) u 1:($35/sgn($5)) w l lc rgb base_color dt 2 title '' ,\
file_in(mm) u 1:(-$41/sgn($5)) w l lc rgb n0_color dt 1 title '' ,\
file_in(mm) u 1:($41/sgn($5)) w l lc rgb n0_color dt 2 title '' ,\
file_in(mm) u 1:(-$42/sgn($5)) w l lc rgb n1_color dt 1 title '' ,\
file_in(mm) u 1:($42/sgn($5)) w l lc rgb n1_color dt 2 title ''
file_in(mm) u 1:($42/sgn($5)) w l lc rgb n1_color dt 2 title '' ,\
file_in(mm) u 2:(-$43/sgn($5)) w l lc rgb nm1_color dt 1 title '$\gamma_p^{n=- 1}>0$' ,\
file_in(mm) u 2:($43/sgn($5)) w l lc rgb nm1_color dt 2 title '$\gamma_p^{n=- 1}>0$'

#Electron Damping Rates
unset label
Expand All @@ -413,10 +428,12 @@ set yrange [gam_min:gam_max]
plot \
file_in(mm) u 1:(-$36/sgn($5)) w l lc rgb base_color dt 1 title '' ,\
file_in(mm) u 1:($36/sgn($5)) w l lc rgb base_color dt 2 title '' ,\
file_in(mm) u 1:(-$47/sgn($5)) w l lc rgb n0_color dt 1 title '' ,\
file_in(mm) u 1:($47/sgn($5)) w l lc rgb n0_color dt 2 title '' ,\
file_in(mm) u 1:(-$48/sgn($5)) w l lc rgb n1_color dt 1 title '' ,\
file_in(mm) u 1:($48/sgn($5)) w l lc rgb n1_color dt 2 title ''
file_in(mm) u 1:(-$4/sgn($5)) w l lc rgb n0_color dt 1 title '' ,\
file_in(mm) u 1:($48/sgn($5)) w l lc rgb n0_color dt 2 title '' ,\
file_in(mm) u 1:(-$49/sgn($5)) w l lc rgb n1_color dt 1 title '' ,\
file_in(mm) u 1:($49/sgn($5)) w l lc rgb n1_color dt 2 title '' ,\
file_in(mm) u 1:(-$50/sgn($5)) w l lc rgb nm1_color dt 1 title '$\gamma_e^{n=- 1}>0$' ,\
file_in(mm) u 1:($50/sgn($5)) w l lc rgb nm1_color dt 2 title '$\gamma_e^{n=- 1}>0$'

#Polarization
unset label
Expand Down
Loading