extraction also uses Da over m/z
@@ -81,7 +81,8 @@ public class IonMobilityUtils {
if (feature != null) {
Float ccs = feature.getCCS();
if (ccs != null) {
- Point2D point = new Point2D.Double(feature.getMZ(), ccs.doubleValue());
+ Point2D point = new Point2D.Double(feature.getMZ() * feature.getCharge(),
+ ccs.doubleValue());
for (Path2D region : regions) {
if (region.contains(point)) {
return true;
