Corentin Cadiou
Corentin Cadiou
_Running title: When do we have enough?_ ## Quick indexing of space-filling-curve-based datasets With RAMSES datasets, we can intersect the bounding box of a selection container with the Hilbert curve...
Take the following example: ```python import yt @yt.particle_filter(filtered_type="io") def DM_lores(pfilter, data): return data[pfilter.filtered_type, "particle_mass"].to("code_mass").d > 3.1e-6 ds = yt.load_sample("output_00080") ds.add_particle_filter("DM_lores") yt.set_log_level(10) # to see the IO footprint ds.r["DM_lores", "particle_position"] ```...
In the following example, the gas density will be read twice from disk: once to get the data and a second one to make the slice, disregarding the fact it's...
The following script leads to a segfault: ```python import yt ds = yt.load_sample("output_00080") ad = ds.all_data() surf = ds.surface(ad, ("gas", "density"), (1, "mp/cm**3")) surf["index", "x"] ``` Note that the segfault...