yt.lagos.FcnSet.set_pdf_params

FcnSet.set_pdf_params(bin_type='lin', bin_number=1000, bin_range=None)

Set the parameters used to build the Probability Distribution Function for each ruler length for this function. The values output by the function are slotted into the bins described here.

Parameters :

bin_type : String

Controls the edges of the bins spaced evenly in logarithmic or linear space, set by “log” or “lin”, respectively. A single string, or list of strings for N-dim binning. Default = “lin”.

bin_number : Integer

Sets how many bins to create, evenly spaced by the above parameter. A single integer, or a list of integers for N-dim binning. Default = 1000.

bin_range : Float

A pair of values giving the range for the bins. A pair of floats (a list), or a list of pairs for N-dim binning. Default = None.

Examples

>>> f1.set_pdf_params(bin_type='log', bin_range=[5e4, 5.5e13],
... bin_number=1000)

This Page