Skip to content

Python 3.12 and LST Prod6 MCs multi-telescope support#13

Open
IevgenVovk wants to merge 21 commits intomasterfrom
fix-compat-python-and-prod6-mc
Open

Python 3.12 and LST Prod6 MCs multi-telescope support#13
IevgenVovk wants to merge 21 commits intomasterfrom
fix-compat-python-and-prod6-mc

Conversation

@IevgenVovk
Copy link
Collaborator

Various fixes to ensure compatibility with newer Python versions and LST Prod6 MCs (including multiple telescopes)

Changes

New:

  • mc: prod6 dl1 files support
  • data run: simulate arrival time per gamma-ray event, coherent across telescopes

Fixes:

  • mc: fix pandas column value retrieval
  • spectrum: add missing params conversion to units
  • data run: add missing mc_src_name
  • simrun: write events under the key from MC files instead of the hard-coded one

Refactoring:

  • mc: refactor mccollection and mcsample to use a single base class to unify common methods

@IevgenVovk IevgenVovk self-assigned this Feb 17, 2026
@IevgenVovk IevgenVovk requested a review from mstrzys February 17, 2026 04:48
@IevgenVovk
Copy link
Collaborator Author

@mstrzys , I've relaxed the dependencies as we've agreed. On my laptop the code runs OK; I think we can merge this if you agree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant