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

TimepixCollection.get_flags() now removes the value 1 #66

Merged
merged 1 commit into from
Mar 23, 2024

Conversation

KriSun95
Copy link
Collaborator

if it is in the list since that value indicated the HVPS status which is already handled by TimepixCollection.get_hvps_status() and displayed in its own field in the GSE

A PR for FOXSI-4's GSE 🦊


First and foremost, thank you so much for opening a PR for this repository. Any contribution is greatly appreciated.

Note

To make this process as easy as possible to follow when looking over and discussing the PR, please respond to each field below.

The fields below should inform the reader of the purpose(s) for the PR without having to infer things from the code itself.

What is reason for this PR

  • Bug fix
  • New feature
  • Behavioural change
  • Other
    • Tidying up

Describe why the PR is needed

For example, what problem is being tackled? What new behaviour is needed?

The Timepix flags contains the HVPS status in them. The HVPS status is pulled out separately at the start and has its own field in the GSE. Therefore, if a value of 1 appears in the flags it should be removed so it doesn't need to be displayed twice.

Please provide a description of the changes/additions being made to the package

Although the changes in the code can be clear, try to describe the conceptial changes being made to the repository.

If one is in the Timepix flags, it is removed and handled by the get_hvps_status method of the collection.

Are there any dangers in this change

In a perfect, flawless, ideal, faultless world all changes would be without danger and never have any knock-on effects; however, sadly, our world is not perfect, flawless, ideal, or faultless. 😔

The PR could be introducing breaking changes which may seem to be resolved by the time of this PR. However, here is a good space to lay out what those breaking changes were and how they were resolved, as well as to highlight any change for future alterations/tests/features.

Not really.

… list since that value indicated the HVPS status which is already handled by TimepixCollection.get_hvps_status() and displayed in its own field in the GSE
@KriSun95 KriSun95 merged commit a19eca5 into foxsi:main Mar 23, 2024
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.

None yet

1 participant