<div dir="ltr">Hello everyone,<div><br></div><div>As I'm updating some of the documentation in 3.0 to be current on field generation, I thought of something that might make the particle fields a bit more clean as we build on them in the future.</div>

<div><br></div><div>As I understand it, each particle type from a given code will generate its own namespace for those native particle quantities.  So for example a Gadget binary dataset will read in its star, gas, and DM particles as:</div>

<div><br></div><div>('star', 'particle_mass')</div><div><div>('gas', 'particle_mass')</div></div><div><div>('DM', 'particle_mass')</div></div><div><br></div><div>but when these different particles are deposited and smoothed on to the grid, they all get put into the same 'deposit' namespace:</div>

<div><br></div><div>('deposit', 'star_density')</div><div><div>('deposit', 'gas_density')</div></div><div><div>('deposit', 'DM_density')</div></div><div><br></div><div>It seems to me that perhaps we should create a separate deposit namespace for each of the native particle types, so that we'll have a clean 1-to-1 conversion between native particle types and smoothed particle types in namespaces.  Now the above fields would map to:</div>

<div><br></div><div>('deposit_star', 'density')</div><div><div>('deposit_gas', 'density')</div><div><div>('deposit_DM', 'density')</div></div><div><br></div><div>This doesn't seem like it would be hard to change in the field-generation infrastructure, but it might break things later on, which I've just not yet considered.  Anyway, I just wanted to bounce this off of people.  It may not be better in the long run, but it seemed like if we're breaking API, it should be done now instead of later on.  I may be missing something big here, but I wanted to see what others thought.  </div>

<div><br></div><div>Cameron</div><div><div><br></div>-- <br>Cameron Hummels<div>Postdoctoral Researcher</div><div>Steward Observatory</div><div>University of Arizona</div><div><a href="http://chummels.org" target="_blank">http://chummels.org</a></div>


</div></div></div>