Skip to content

Commit

Permalink
Add contam units
Browse files Browse the repository at this point in the history
  • Loading branch information
cphyc committed May 10, 2021
1 parent dfe6a1c commit 930ac0f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions yt/frontends/adaptahop/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ class AdaptaHOPFieldInfo(FieldInfoContainer):
("radius_50", (r_units, [], r"$R_\mathrm{50}$")),
("mass_200", (m_units, [], r"$M_\mathrm{200}$")),
("mass_50", (m_units, [], r"$M_\mathrm{50}$")),
# Contamination
("contaminated", ("", [], "Contaminated")),
("m_contam", (m_units, [], "Contaminated Mass")),
)

def setup_particle_fields(self, ptype):
Expand Down

0 comments on commit 930ac0f

Please sign in to comment.