Skip to content

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

Merged
jfkrizmanic merged 14 commits intomainfrom
issue-103-longitudinal-profile
Mar 24, 2025
Merged

resolves #103 by updating config, eas and cphotang#104
jfkrizmanic merged 14 commits intomainfrom
issue-103-longitudinal-profile

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)

Areustle and others added 7 commits September 4, 2024 15:38
…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.
@Areustle
Copy link
Contributor Author

@jfkrizmanic Please approve of the merge!

# From https://pdg.lbl.gov/2024/AtomicNuclearProperties/HTML/air_dry_1_atm.html
X0 = 61.3
Xm = 739.0
gh_lam = 65.12
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add a comment line above this: "# 65.17 g/cm^2 value obtained by evaluating lambda at Xmax for 1000 upward pion 10^17 eV EAS at 5 deg Earth-emergence angle and starting at sea level"

@jfkrizmanic jfkrizmanic merged commit 3ea1879 into main Mar 24, 2025
16 checks passed
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.

2 participants