USRA-STI / gdt-fermi

Gamma-ray Data Tools - Fermi mission components
Apache License 2.0
2 stars 3 forks source link

Attribute error when using GbmDetectorCollection with TTE data: cannot find detector information #19

Open OliverRoberts-USRA opened 5 months ago

OliverRoberts-USRA commented 5 months ago

When I convert TTE data to PHAII or PHA files and group several detectors using GbmDetectorCollection, there seems to be missing values for local arguments. This procedure works for other PHAII types like CTIME and CSPEC. I tried converting to PHAII and then to PHA and I get the same error during the conversion to PHA. May it is an issue specific to the opening/reading of TTE files and converting them to PHAII/PHA? Might be related to issue #13?

Screenshot 2024-01-26 at 8 54 28 AM

Screenshot 2024-01-26 at 8 54 54 AM

When converting directly to PHA from TTE:

Screenshot 2024-01-26 at 9 43 20 AM

Screenshot 2024-01-26 at 9 43 39 AM