Module gplately.ptt.diagnose_rotations
Functions
def diagnose_rotations(rotation_features, rotation_threshold_degrees=0.01)
-
Diagnose one or more rotation files to check for inconsistencies.
'rotation_features' can be a rotation feature collection, or rotation filename, or rotation feature, or sequence of rotation features, or a sequence (eg, list or tuple) of any combination of those four types.
'rotation_threshold_degrees' allows two rotations to compare equal if their rotation latitude, longitude or angle differ by less than the specified amount (in degrees). The default value is useful for some PLATES rotation files that are typically accurate to 2 decimal places (or threshold of 0.01). Specifing 'None' is equivalent to having no threshold (see pygplates.FiniteRotation.are_equal).