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

resolves #103 by updating config, eas and cphotang #104

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

Areustle
Copy link
Contributor

@Areustle Areustle commented Aug 21, 2024

@Areustle Areustle requested review from TobiasHeibges and jfkrizmanic and removed request for TobiasHeibges August 21, 2024 01:24
- Set 'Greisen' as the default value for the cherenkov_light_engine field in the Simulation class.
- Added validation to replace 'Default' with 'Greisen' when parsing input configurations.
- Adjusted existing tests to reflect that 'Greisen' is now the default value for the cherenkov_light_engine field.
- Added new tests to verify that 'Default' is replaced by 'Greisen' during simulation configuration.
- Included validation tests to ensure that only valid values ('Greisen', 'Gaisser-Hillas') are accepted for the cherenkov_light_engine field, and that invalid values raise appropriate errors.
@Areustle
Copy link
Contributor Author

#103 (comment)

…top height

- Updated the condition in the CphotAng class to ensure early return checks for segments above the cloud-top height handle cases where the segment list has fewer than 2 elements.
- This change prevents potential index errors by checking the length of the segment list before accessing elements.
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