New issue 837: Deposited Particle filter fields do not show up in derived_field_list
Take the following example script:
import numpy as np
from yt.data_objects.particle_filters import add_particle_filter
from matplotlib import pyplot as plt
def star(pfilter, data):
filter = data["all", "particle_type"] == 2
add_particle_filter("star", function=star, filtered_type="all",
filename = "IsolatedGalaxy/galaxy0030/galaxy0030"
ds = yt.load(filename)
While the particle fields for the "star" particle types do show up, only the
deposit fields for `"io"` and `"all"` show up under the deposit ptype.
The deposit fields for the `"star"` ptype can be accessed through a data
object, so the issue seems to be with the way deposit fields are added to the
`derived_field_list` rather than the deposit fields themselves.