View source: R/mcnp_si_sp_hist_scan.R
mcnp_si_sp_hist_scan | R Documentation |
:
This function is deprecated
and will be removed in a future package revision.
For now, it is still usable.
The replacement,
mcnp_sdef_erg_hist
makes MCNP histogram
probabilities for energy bins from data either copied and
pasted or from the global environment.
mcnp_si_sp_hist_scan(ebin_mode = "emax", my_dir = NULL)
ebin_mode |
Either "emin", lower bounding energy values are entered or "emax", upper bounding energy values are entered. If the length of the energy values scanned in are equal to the bin probabilities, a final bounding value (lowest in emax mode and highest in emin mode) will be scanned in. |
my_dir |
Optional directory. The function will write to the working directory by default. |
Data may be identified by named vector, e.g. my_emin_data, or by column of a data frame, e.g. photons_cs137_hist$E_MeV (which is in emax format) and photons_cs137_hist$prob (bin_prob).
A vector of energy bins and probabilities for an energy distribution, formatted as needed for MCNP input. It is designed for copying and pasting into an MCNP input. (The # should be changed to the appropriate distribution number. The data is saved in the global environment and appended to a file in the user's working directory, si_sp.txt. Two plots of the data are provided to the plot window, one with two linear axes and one with two log axes.
mcnp_si_sp_hist()
for data already loaded in R
mcnp_si_sp_RD()
for data from RadData
Other mcnp tools:
mcnp_cone_angle()
,
mcnp_est_nps()
,
mcnp_matrix_rotations()
,
mcnp_mesh_bins()
,
mcnp_plot_out_spec()
,
mcnp_scan2plot()
,
mcnp_scan_save()
,
mcnp_sdef_erg_hist()
,
mcnp_sdef_erg_line()
,
mcnp_si_sp_RD()
,
mcnp_si_sp_hist()
## Not run:
mcnp_si_sp_hist_scan()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.