public class AngleOrderDetectorPlus extends 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.
|
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 OrderDetector
RefinerFailedException
Copyright © 2000–2018 BioJava. All rights reserved.