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)
Variable | Type | Description | |
---|---|---|---|
sintlmax | float | Maximum value for sin(theta) / lambda. | |
volcell | float | Primitive cell volume. | |
kwargs | dict | Optional arguments. Keywords are: sintlmin and mult. | |
sintlmin | float | Minimum value for sin(theta) / lambda. If given, the function returns the number of expected reflections in the interval [sintlmin,sintlmax]. | |
mult | int | General multiplicity. If given, the result is divided by half this multiplicity to obtain an estimation of the expected number of unique reflections. | |
r | tuple | 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