neutronpy.crystal.material.Material.N_atoms

Material.N_atoms(mass)[source]

Number of atoms in the defined Material, given the mass of the sample.

Parameters:
mass : float

The mass of the sample in grams.

Returns:
Natoms : int

The number of atoms of the material based on the mass of the sample.