Skip to content

Issue1170 cfsem.hyp2f1() - #1175

Merged
Didou09 merged 10 commits into
develfrom
Issue1170_Hyp2F1_cfsem
Aug 31, 2026
Merged

Didou09 merged 10 commits into
develfrom
Issue1170_Hyp2F1_cfsem

Conversation

@Didou09

@Didou09 Didou09 commented Aug 31, 2026

Copy link
Copy Markdown
Member

Main changes:

Hyp2f1():

  • optional dependency cfsem implemented
  • physics_tools.electrons.emission.get_xray_thin_d2cross_ei_integrated_thetae_dphi(source='cfsem') implemented
  • For a realistic case with not-too-big numpy arrays, the wrapping tofu routine is now approximately ~500 times faster than looping over the mpmath equivalent, wit identical results

PBS jobs:

  • tofu/physics_tools/electrons/emission/_pbs_d2cross.py: introduced the possibility of user-setting nthetae and ndphi
  • tofu/physics_tools/electrons/emission/_xray_thin_target_integrated.py the default values from nthetae and ndphi are now derived from theta_ph for better sampling consistency

Issues:

Fixes, in devel, issue #1170

@Didou09 Didou09 changed the title Issue1170 hyp2 f1 cfsem Issue1170 cfsem.hyp2f1() Aug 31, 2026
@Didou09
Didou09 merged commit efae04f into devel Aug 31, 2026
3 checks passed
@Didou09
Didou09 deleted the Issue1170_Hyp2F1_cfsem branch August 31, 2026 16:49
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