endf.IncidentNeutron.from_ace#
- classmethod IncidentNeutron.from_ace(filename_or_table, metastable_scheme='mcnp')[source]#
Generate incident neutron continuous-energy data from an ACE table
- Parameters:
ace_or_filename – ACE table to read from. If the value is a string, it is assumed to be the filename for the ACE file.
metastable_scheme ({'mcnp', 'nndc'}) – Determine how ZAID identifiers are to be interpreted in the case of a metastable nuclide. Because the normal ZAID (=1000*Z + A) does not encode metastable information, different conventions are used among different libraries. In MCNP libraries, the convention is to add 400 for a metastable nuclide except for Am242m, for which 95242 is metastable and 95642 (or 1095242 in newer libraries) is the ground state. For NNDC libraries, ZAID is given as 1000*Z + A + 100*m.
- Return type:
- Returns:
Incident neutron continuous-energy data