pymcnp.inp.pikmt Subpackage

AST Classes

Photonbias Class

class pymcnp.inp.pikmt.Photonbias(zaid: str | Zaid, ipiki: str | int | Integer)

Represents INP photonbias elements.

classmethod from_mcnp(source: str)

Generates Entry from INP.

Parameters:

sourceEntry for INP.

Returns:

Entry.

Raises:

InpError – SYNTAX_OPTION.

to_mcnp()

Generates INP from Entry.

Returns:

INP for Entry.

property ipiki: Integer

Bias controls

Raises:
  • InpError – SEMANTICS_OPTION.

  • TypeError

property zaid: Zaid

Bias nuclide identifier

Raises:
  • InpError – SEMANTICS_OPTION.

  • TypeError