Miscellaneous functions¶
calcephpy.getmaxsupportedorder¶
-
getmaxsupportedorder
(segid)¶ Parameters: segid (int) -- type of the segment. Returns: version of the library Return type: str
This function returns the maximal order of the derivatives computed by the functions calcephpy.CalcephBin.compute_order()
, calcephpy.CalcephBin.orient_order()
, .... for the segment type segid.
If the segment type is unknown by the library, the function returns -1.
The accepted values of segid* are the predefined constants Constants.SEGTYPE_... (Constants).
from calcephpy import *
maxorder = getmaxsupportedorder(Constants.SEGTYPE_SPK_2)
print('maximal order is ', maxorder)