From 3de48f9b99f7c46196100f8aeba3782f61227928 Mon Sep 17 00:00:00 2001 From: Laura Sandoval Date: Fri, 19 Jul 2024 15:34:20 -0600 Subject: [PATCH] minor edit --- imap_processing/ultra/l1b/de.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/imap_processing/ultra/l1b/de.py b/imap_processing/ultra/l1b/de.py index f45baf69f..0978c655f 100644 --- a/imap_processing/ultra/l1b/de.py +++ b/imap_processing/ultra/l1b/de.py @@ -1,10 +1,9 @@ """Calculate Annotated Direct Events.""" import numpy as np - -from imap_processing.cdf.defaults import GlobalConstants import xarray as xr +from imap_processing.cdf.defaults import GlobalConstants from imap_processing.ultra.l1b.ultra_l1b_extended import ( determine_species_pulse_height, determine_species_ssd, @@ -24,7 +23,6 @@ # TODO: pass in attribute_manager to add attributes # instead of using GlobalConstants. -def calculate_de(de_dataset, name): def calculate_de(de_dataset: xr.Dataset, name: str) -> xr.Dataset: """ Create dataset with defined datatypes for Direct Event Data.