ENDFtk icon indicating copy to clipboard operation
ENDFtk copied to clipboard

Add convenience enumerators for ENDF options

Open whaeck opened this issue 3 years ago • 0 comments

For example:

  • to easily identify resonance formalisms and types: ResonanceType.resolved and ResonanceType.unresolved

We can then write code like:

if resonances.LRU == Formalism.ReichMoore :

    print( 'found one' )

instead of:

if resonances.LRU == 3 :

    print( 'found one' )

whaeck avatar Jun 16 '21 16:06 whaeck