pymcnp.outp.tally Subpackage

Table of Contents

AST Classes

Subtally_1 Class

class pymcnp.outp.tally.Subtally_1(surface: ~pymcnp.types.String.String, angle_from: ~pymcnp.types.String.String, angle_to: ~pymcnp.types.String.String, lines: ~pymcnp.types.Generator.Generator.<locals>._Generator, total: ~pymcnp.types.String.String)

Represents OUTP 1tally 1 nps subtally.

surface

Surface number.

angle_from

Angle bin start.

angle_to

Angle bin end.

lines

Tally lines.

total

Total line.

static from_mcnp(source: str)

Generates Subtally_1 from OUTP.

Parameters:

source – OUTP for Subtally_1.

Returns:

Subtally_1.

to_dataframe()

Generates pandas.DataFrame from Subtally_1.

Returns:

pandas.DataFrame.

to_mcnp()

Generates OUTP from Subtally_1.

Returns:

OUTP for Subtally_1.

Subtally_2 Class

class pymcnp.outp.tally.Subtally_2(surface: ~pymcnp.types.String.String, lines: ~pymcnp.types.Generator.Generator.<locals>._Generator, total: ~pymcnp.types.String.String)

Represents OUTP 1tally 2 nps subtally.

surface

Surface number.

lines

Tally lines.

total

Total line.

static from_mcnp(source: str)

Generates Subtally_2 from OUTP.

Parameters:

source – OUTP for Subtally_2.

Returns:

Subtally_2.

to_dataframe()

Generates pandas.DataFrame from Subtally_2.

Returns:

pandas.DataFrame.

to_mcnp()

Generates OUTP from Subtally_2.

Returns:

OUTP for Subtally_2.

Subtally_4 Class

class pymcnp.outp.tally.Subtally_4(cell: ~pymcnp.types.String.String, lines: ~pymcnp.types.Generator.Generator.<locals>._Generator, total: ~pymcnp.types.String.String)

Represents OUTP 1tally 4 nps subtally.

cell

Cell number.

lines

Tally lines.

total

Total line.

static from_mcnp(source: str)

Generates Subtally_4 from OUTP.

Parameters:

source – OUTP for Subtally_4.

Returns:

Subtally_4.

to_dataframe()

Generates pandas.DataFrame from Subtally_4.

Returns:

pandas.DataFrame.

to_mcnp()

Generates OUTP from Subtally_4.

Returns:

OUTP for Subtally_4.