Hey all,
I'm wondering if I can get some assistance utilizing bridges between RAMSES snapshots. At current, I encounter errors when I run anything like the following:
------------------------------------------------------------------------------------------------------------------------------
import pynbody as pyn
import numpy as np
# Loading the snapshots
o1,o2= pyn.load('output_00001'),pyn.load("output_00200")
# creating the bridge #
# filtering first ouput #
s = pyn.filt.Sphere(radius, center)
o2_filt = bridge(o1.dm[s])
----------------------------------------------------------------------------------------------------------
This returns the following odd error:
RuntimeError: Stale reference to start or endpoint
The RAMSES outputs do include AMR gas particles, but I'm restricting the bridge to the DM particles, so I don't think that should be the issue!
Hopefully this is a relatively simple fix. Additionally, this might be an example worth adding to documentation as its likely one of the more useful cases that users might encounter!
Thanks for any insight you can lend!
Best,
Eliza Diggins