Miscellaneous functions¶
calceph_getmaxsupportedorder¶
- calceph_getmaxsupportedorder(segid)¶
- Parameters
arg_segid (
int
) -- type of the segment.- Returns
maximal order of the computable derivatives for this type of segment.
- Return type
int
This function returns the maximal order of the derivatives computed by the functions CalcephBin.compute_order()
, 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).
maxorder = calceph_getmaxsupportedorder(Constants.SEGTYPE_SPK_2)