Skip to content

Conversation

@becnealon
Copy link
Contributor

Following previous PR, the format for APR tracking files has changed. I've added a small section that will read these files (if they exist) and output a df that contains the information that would be needed for plotting.

This routine went into read_phantom.py because it required the dump filename (this is safer than using the time in the simulation). By producing a df with the position and size of the APR region, the user can choose exactly how it is plotted. This also circumvents the rotation problem; both sdf_sinks and sdf_apr will require rotation to be taken into account somehow but both can be treated the same when that is done. Naturally allows for multiple APR regions.

I'll edit the documentation to include an example if you're happy with the above changes.

Copy link
Owner

@ttricco ttricco left a comment

Choose a reason for hiding this comment

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

Take a look at the failed lint checks under flake8.

@ttricco
Copy link
Owner

ttricco commented Nov 28, 2025

As dicussed, I am going to close this PR. Instead of adding APR .ev reading inside read_phantom(), we will add a general purpose standalone function for reading all types of .ev files.

@ttricco ttricco closed this Nov 28, 2025
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