CustomPdf¶
- class madspace.CustomPdf(*args, **kwargs)¶
Bases:
pybind11_objectA user-supplied parton density, loaded as a UMAMI library.
Passed in place of a PdfGrid. The library receives the momentum fraction, the factorization scale, the parton PDG id and the beam index. It returns \(x f(x, q)\) under
UMAMI_OUT_PDF.Overloaded function.
__init__(self: madspace._madspace_py.CustomPdf, function_index: typing.SupportsInt) -> None
- Parameters:
function_index – Index of the loaded library in the context.
__init__(self: madspace._madspace_py.CustomPdf, function_api: madspace._madspace_py.MatrixElementApi) -> None
- Parameters:
function_api – The loaded library.
- property function_index¶
Index of the loaded library in the context.