-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
Milestone
Description
Description:
without specifying the field in evaluate.SF2d, the evaluation will run through but return incorrect results.
Code for reproduction:
import amep
path="/home/dormann/Documents/git_amep/examples/data/continuum.h5amep"
ctraj = amep.load.traj(path)
fsf2d = amep.evaluate.SF2d(
ctraj, nav = 1, skip = 0.9
)
fig, axs = amep.plot.new()
mp = amep.plot.field(
axs, fsf2d.avg, fsf2d.qx, fsf2d.qy,
cscale="log", vmin=1e0
)
fsf2d = amep.evaluate.SF2d(
ctraj, nav = 1, skip = 0.9,
ftype="c"
)
fig, axs = amep.plot.new()
mp = amep.plot.field(
axs, fsf2d.avg, fsf2d.qx, fsf2d.qy,
cscale="log", vmin=1e0
)Error message:
Python and AMEP versions:
amep 1.1.1
Additional information:
No response
How did you install AMEP?
pip