From 4c8fdb0f2cceecb71b0838b2ebc37b3db5356827 Mon Sep 17 00:00:00 2001 From: pcain-usgs <pcain@usgs.gov> Date: Wed, 29 Apr 2020 16:05:42 -0600 Subject: [PATCH] Remove unused mean from D_absolute calculation --- geomagio/residual/Calculation.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/geomagio/residual/Calculation.py b/geomagio/residual/Calculation.py index bb2548ccc..37776f54d 100644 --- a/geomagio/residual/Calculation.py +++ b/geomagio/residual/Calculation.py @@ -80,8 +80,6 @@ def calculate_D_absolute( ------- D Absolute """ - # mean across all declination measurements - mean = average_measurement(measurements, DECLINATION_TYPES) # average mark average_mark = average_measurement(measurements, MARK_TYPES).angle # adjust based on which is larger -- GitLab