Returns a structure of arrays with all of the particles’ positions, velocities, masses, types, IDs, and attributes for a particle type ptype for a maximum of max_num particles. If non-default particle fields are used, provide them in additional_fields.