print

Function: get_maxnumref

Reference

Home

List of PyCrysFML08 Dictionaries

List of PyCrysFML08 Functions

USE

get_maxnumref returns un upper limit of the expected maximum number of reflections up to sintlmax for a volume volcell of the primitive cell.

function call

r = get_maxnumref(sintlmax: float,volcell : float, kwargs : dict)

VariableTypeDescription
sintlmaxfloatMaximum value for sin(theta) / lambda.
volcellfloatPrimitive cell volume.
kwargsdictOptional arguments. Keywords are: sintlmin and mult.
 sintlminfloatMinimum value for sin(theta) / lambda. If given, the function returns the number of expected reflections in the interval [sintlmin,sintlmax].
 multintGeneral multiplicity. If given, the result is divided by half this multiplicity to obtain an estimation of the expected number of unique reflections.
rtuple

The tuple returned by the function.

r[0] : int, error code. If non-zero, an error has occurred.

r[1] : str, error message.

r[2]: int, number of expected reflections.

examples