Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
OliverRoberts-USRA opened this issue Jan 26, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@OliverRoberts-USRA
Copy link

OliverRoberts-USRA commented Jan 26, 2024

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

@OliverRoberts-USRA OliverRoberts-USRA changed the title Error when using GbmDetectorCollection for TTE/PHAII data: cannot access local variable 'our_args' where it is not associated with a value Attribute error when using GbmDetectorCollection with TTE data: cannot find detector information Jan 26, 2024
@AdamGoldstein-USRA AdamGoldstein-USRA added the bug Something isn't working label Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants