how to gather or extract mass using lammps python interface

How does one extract/gather a per-type value like mass through the python interface?

Thank you.

…Murray Daw

i cannot see why you’d need this, but maybe it could be accomplished extracting a per-atom value?

How does one extract/gather a per-type value like mass through the python
interface?

​create a property/atom compute for whatever property you want and use the
extract_compute() method.

axel.​