75 """Return max number of particles of type particle_type
78 particle_type -- type or category of particle to check (default 'all')
83 np = iaea_types.IAEA_I64(0)
86 ptypes = tuple(iaea_types.particle_types[particle_type])
88 ptypes = (iaea_types.particle_types[particle_type],)
91 ptype = iaea_types.IAEA_I32(ptype)
93 num_particles += np.value
96 message =
"Unable to read number of particles of type: %s" % particle_type