Output

class mcnpy.CreateLahet(*args, **kwargs)[source]

Bases: CreateLahet, OutputSetting

A representation of the model object CreateLahet.

Parameters
  • max_words_per_file (int) – MaxWordsPerFile for CreateLahet.

  • cells (iterable of mcnpy.Cell) – Cells for CreateLahet.

class mcnpy.DontPrintTallies(*args, **kwargs)[source]

Bases: DontPrintTallies, OutputSetting

A representation of the model object DontPrintTallies.

Parameters

dont_print (iterable of mcnpy.Tally) – DontPrint for DontPrintTallies.

class mcnpy.Events(*args, **kwargs)[source]

Bases: Events

A representation of the model object Events.

Parameters

event (mcnpy.ParticleTrackEvent) – Event for Events.

class mcnpy.InteractivePlot(*args, **kwargs)[source]

Bases: InteractivePlot, OutputSetting

A representation of the model object InteractivePlot.

Parameters
  • output_device_type (int) – OutputDeviceType for InteractivePlot.

  • send_plots (str) – SendPlots for InteractivePlot.

  • interval_of_cells (float) – IntervalOfCells for InteractivePlot.

  • pause_time (float) – PauseTime for InteractivePlot.

  • filename (int) – Filename for InteractivePlot.

  • print_type_param (int) – PrintTypeParam for InteractivePlot.

  • current_runtpe_file (int) – CurrentRuntpeFile for InteractivePlot.

  • tally_data_file (str) – TallyDataFile for InteractivePlot.

  • m_c_t_a_lfile (str) – MCTALfile for InteractivePlot.

  • tally (mcnpy.Tally) – Tally for InteractivePlot.

  • pert_num (int) – PertNum for InteractivePlot.

  • a_param (mcnpy.Axis) – AParam for InteractivePlot.

  • f_param (float) – FParam for InteractivePlot.

  • s_param (float) – SParam for InteractivePlot.

  • command (mcnpy.ParameterCommand) – Command for InteractivePlot.

  • title_toggle (int) – TitleToggle for InteractivePlot.

  • line (str) – Line for InteractivePlot.

  • x_location (float) – XLocation for InteractivePlot.

  • y_location (float) – YLocation for InteractivePlot.

  • subtitle (str) – Subtitle for InteractivePlot.

  • xtitle (str) – Xtitle for InteractivePlot.

  • ytitle (str) – Ytitle for InteractivePlot.

  • ztitle (str) – Ztitle for InteractivePlot.

  • label (str) – Label for InteractivePlot.

  • x_variable (float) – XVariable for InteractivePlot.

  • y_variable (float) – YVariable for InteractivePlot.

  • num_bins (int) – NumBins for InteractivePlot.

  • var (mcnpy.FixedVariable) – Var for InteractivePlot.

  • bin_num (int) – BinNum for InteractivePlot.

  • setvar (iterable of mcnpy.FixedVariable) – Setvar for InteractivePlot.

  • allowed_value (mcnpy.TallyFluctuationList) – AllowedValue for InteractivePlot.

  • keff_val (int) – KeffVal for InteractivePlot.

  • material_num (mcnpy.Material) – MaterialNum for InteractivePlot.

  • reaction_num (mcnpy.Material) – ReactionNum for InteractivePlot.

  • part_type (mcnpy.Particle) – PartType for InteractivePlot.

  • xmin (float) – Xmin for InteractivePlot.

  • xmax (float) – Xmax for InteractivePlot.

  • xsteps (int) – Xsteps for InteractivePlot.

  • ymin (float) – Ymin for InteractivePlot.

  • ymax (float) – Ymax for InteractivePlot.

  • ysteps (int) – Ysteps for InteractivePlot.

  • scales_val (int) – ScalesVal for InteractivePlot.

  • splines_of_tension (float) – SplinesOfTension for InteractivePlot.

  • thickness (float) – Thickness for InteractivePlot.

  • legend_vals (iterable of float) – LegendVals for InteractivePlot.

  • cmin (float) – Cmin for InteractivePlot.

  • cmax (float) – Cmax for InteractivePlot.

  • csteps (int) – Csteps for InteractivePlot.

  • wash_param (mcnpy.EBoolean) – WashParam for InteractivePlot.

  • mesh_tally (mcnpy.Tally) – MeshTally for InteractivePlot.

  • rel_error (mcnpy.Tally) – RelError for InteractivePlot.

  • tally_results (iterable of mcnpy.LogLin) – TallyResults for InteractivePlot.

  • energy_bin_tally (mcnpy.Tally) – EnergyBinTally for InteractivePlot.

  • time_bin_tally (mcnpy.Tally) – TimeBinTally for InteractivePlot.

class mcnpy.ParticleTrack(*args, **kwargs)[source]

Bases: ParticleTrack, OutputSetting

A representation of the model object ParticleTrack.

Parameters
  • buffer (float) – Buffer for ParticleTrack.

  • format (mcnpy.ParticleTrackFormat) – Format for ParticleTrack.

  • max_tracks (int) – MaxTracks for ParticleTrack.

  • max_events_per_history (int) – MaxEventsPerHistory for ParticleTrack.

  • write (mcnpy.ParticleTrackWrite) – Write for ParticleTrack.

  • print_zero_tallies (mcnpy.Boolean) – PrintZeroTallies for ParticleTrack.

  • event (iterable of mcnpy.Events) – Event for ParticleTrack.

  • filters (iterable of mcnpy.ParticleTrackFilter) – Filters for ParticleTrack.

  • particles (iterable of mcnpy.Particle) – Particles for ParticleTrack.

  • histories (iterable of int) – Histories for ParticleTrack.

  • cells (iterable of mcnpy.Cell) – Cells for ParticleTrack.

  • surfaces (iterable of mcnpy.Surface) – Surfaces for ParticleTrack.

  • tallies (iterable of mcnpy.ParticleTrackTally) – Tallies for ParticleTrack.

  • tally_cutoffs (iterable of mcnpy.ParticleTrack.Values) – TallyCutoffs for ParticleTrack.

class Values(*args, **kwargs)[source]

Bases: Values

A representation of the model object ParticleTrack.Values.

Parameters

value (float) – Value for ParticleTrack.Values.

class mcnpy.ParticleTrackFilter(*args, **kwargs)[source]

Bases: ParticleTrackFilter

A representation of the model object ParticleTrackFilter.

Parameters
class mcnpy.ParticleTrackTally(*args, **kwargs)[source]

Bases: ParticleTrackTally

A representation of the model object ParticleTrackTally.

Parameters
  • cutoff_multiplier (mcnpy.Boolean) – CutoffMultiplier for ParticleTrackTally.

  • tally (mcnpy.Tally) – Tally for ParticleTrackTally.

class mcnpy.Print(*args, **kwargs)[source]

Bases: Print, OutputSetting

A representation of the model object Print.

Parameters

tables (iterable of int) – Tables for Print.

class mcnpy.PrintDump(*args, **kwargs)[source]

Bases: PrintDump, OutputSetting

A representation of the model object PrintDump.

Parameters
  • increment_tallies (float) – IncrementTallies for PrintDump.

  • increment_runtape (float) – IncrementRuntape for PrintDump.

  • print_mctal (float) – PrintMctal for PrintDump.

  • max_dumps_runtape (float) – MaxDumpsRuntape for PrintDump.

  • print_tally_chart (float) – PrintTallyChart for PrintDump.

  • j_increment_tallies (str) – J_incrementTallies for PrintDump.

  • j_increment_runtape (str) – J_incrementRuntape for PrintDump.

  • j_print_mctal (str) – J_printMctal for PrintDump.

  • j_max_dumps_runtape (str) – J_maxDumpsRuntape for PrintDump.

  • j_print_chart_tally (str) – J_printChartTally for PrintDump.

class mcnpy.OutputSetting[source]

Bases: ABC