public class AngleOrderDetectorPlus extends java.lang.Object implements OrderDetector
Improves upon the AngleOrderDetector used in the paper by checking all rotations, not just the base one.
| Constructor and Description |
|---|
AngleOrderDetectorPlus(double angleError) |
AngleOrderDetectorPlus(int maxOrder) |
AngleOrderDetectorPlus(int maxOrder,
double angleError) |
AngleOrderDetectorPlus(int maxOrder,
double angleError,
boolean normalize)
Determine order by finding the order (up to the maxOrder) which has the
closest rotation angle to the observed rotation.
|
| Modifier and Type | Method and Description |
|---|---|
int |
calculateOrder(AFPChain afpChain,
Atom[] ca) |
java.lang.String |
toString() |
public AngleOrderDetectorPlus(double angleError)
error - maximum angular error, in radianspublic AngleOrderDetectorPlus(int maxOrder)
public AngleOrderDetectorPlus(int maxOrder,
double angleError)
maxOrder - maximum order to considererror - maximum angular error, in radianspublic AngleOrderDetectorPlus(int maxOrder,
double angleError,
boolean normalize)
maxOrder - maximum order to considererror - maximum angular errornormalize - indicates whether error should be normalized by the orderpublic int calculateOrder(AFPChain afpChain, Atom[] ca) throws RefinerFailedException
calculateOrder in interface OrderDetectorRefinerFailedExceptionpublic java.lang.String toString()
toString in class java.lang.Object