pymcnp.outp.tally Subpackage

Table of Contents

AST Classes

Subtally_1 Class

class pymcnp.outp.tally.Subtally_1(surface: String, angle_from: String, angle_to: String, lines: _Generator, total: 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: String, lines: _Generator, total: 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: String, lines: _Generator, total: 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.