Skip to content

Processing line sampling data #451

Answered by sayerhs
joejoeyjoseph asked this question in Q&A
Discussion options

You must be logged in to vote

@joejoeyjoseph The data is saved in native AMReX particle format. You can use the python script in the tools directory to extract the data into a Pandas Dataframe.

from amrex_particle import AmrexParticleFile

# Load data from 1000th timestep in  the run directory (containing input file)
pfile = AmrexParticleFile.load(1000)

# get dataframe
df = pfile()

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@joejoeyjoseph
Comment options

Answer selected by marchdf
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@sayerhs
Comment options

@tonyinme
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #438 on July 01, 2021 22:42.