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

Lightmediator #13

Merged
merged 62 commits into from
Apr 8, 2024
Merged

Lightmediator #13

merged 62 commits into from
Apr 8, 2024

Commits on Aug 10, 2022

  1. Remove electron contribution to debye screening scale

    Timon Emken authored and temken committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    0d8c15f View commit details
    Browse the repository at this point in the history
  2. Update the total cross section functions of the DM_Dark_Photon class …

    …to include long range interactions
    Timon Emken authored and temken committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    6466df8 View commit details
    Browse the repository at this point in the history
  3. Change from analytic to numerical integration in the computation of t…

    …he scattering rates
    
    This slows down the interpolation of the scattering rates considerably, but it is necessary for long range interactions. This should be optimized later.
    Timon Emken authored and temken committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    85748bf View commit details
    Browse the repository at this point in the history
  4. Add the sample function of the scattering angle to the dark photon cl…

    …ass for light mediators
    Timon Emken authored and temken committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    d1587d7 View commit details
    Browse the repository at this point in the history
  5. Implement new target velocity sampling method

    Timon Emken authored and temken committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    dc7779b View commit details
    Browse the repository at this point in the history
  6. Remove some compiler warnings

    Timon Emken authored and temken committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    7f5ad35 View commit details
    Browse the repository at this point in the history
  7. Allow to only include a subset of nuclear solar targets to accelerate…

    … the computation of the scattering rate tabulation
    Timon Emken authored and temken committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    d888ff5 View commit details
    Browse the repository at this point in the history
  8. Minor changes to solar model

    Timon Emken authored and temken committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    efab3dd View commit details
    Browse the repository at this point in the history
  9. Bugfix of new target velocity sampler

    Timon Emken authored and temken committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    4c345af View commit details
    Browse the repository at this point in the history
  10. Add overriding function to dark photon class

    Timon Emken authored and temken committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    ef74df0 View commit details
    Browse the repository at this point in the history
  11. Distinguish in the simulation if the total cross section depends on t…

    …he relative speed. Use the quicker simulation function if it doesn't.
    Timon Emken authored and temken committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    defe98b View commit details
    Browse the repository at this point in the history
  12. Add files for medium effects and implementation of plasma dispersion …

    …function including unit tests
    temken committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    188f468 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    3c6f085 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    1a6824f View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    c1caa8d View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    a573a95 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    92f56ba View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    9fa0156 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    829a445 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    789d336 View commit details
    Browse the repository at this point in the history
  21. Change the scattering sampling procedure to sample q, cos_theta (vDM,…

    …q) from previously sampling the scattering angle and the target velocity.
    
    NOT COMPLETE YET
    temken committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    9c444f6 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    b289fc0 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    45a2a48 View commit details
    Browse the repository at this point in the history
  24. Rename Medium_Effects file

    temken committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    2cdfcd7 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    2678984 View commit details
    Browse the repository at this point in the history
  26. Finish the scattering rate implementation.

    Medium function still accounts for electron density only (and wrongly at that for nuclei, needs to be fixed later)
    temken committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    d22c58d View commit details
    Browse the repository at this point in the history
  27. Include zeta parameter in configuration class and solar model class (…

    …not in trajectory simulator class)
    temken committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    1215ba6 View commit details
    Browse the repository at this point in the history
  28. Minor adjustment to differential scattering rate to avoid NAN values …

    …for vDM = 0.0 (which happens during interpolation).
    temken committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    b82b851 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    2793a2e View commit details
    Browse the repository at this point in the history
  30. Include nuclei in the medium function and use the libphysica inverse …

    …transform sampling function for q sampling
    
    NOTE: Medium function not included in scattering rates at this point
    temken committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    eb1cc88 View commit details
    Browse the repository at this point in the history
  31. Change the arguments of the scattering rate and sampling functions. q…

    …Min and qMax are now their own arguments
    temken committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    494548a View commit details
    Browse the repository at this point in the history
  32. Add a plasma struct that can compute the medium effect functions. Thi…

    …s can act as a target argument for the scattering rates and reduce the number of arguments of these functions a lot!
    temken committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    b574ab1 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    aad9e39 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    47037b3 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    8768757 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    92c2e76 View commit details
    Browse the repository at this point in the history
  37. The maximum momentum transfer qMax is no longer function argument but…

    … is found dynamically.
    temken committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    d0e38d6 View commit details
    Browse the repository at this point in the history
  38. Remove the Plasma class and promote the scattering rates to template …

    …functions. I want to give both std::vector<Isotope> and std::vector<Solar_Isotope> as argument. Not too happy with this solution, but not sure about a better alternative.
    temken committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    b9a5528 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    3db9256 View commit details
    Browse the repository at this point in the history
  40. This commit fixes a bug in the sampling of cos_theta, which propagate…

    …s to the sampling of q.
    
    For a positive cos_theta, the pdf of q is 0 everywhere, and this gave an error. But cos_theta was sampled from a wrong PDF (due to a faulty integration using Gauss-Legendre instead of Gauss-Kronrod).
    temken committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    938499f View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    24e25b1 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    4d42245 View commit details
    Browse the repository at this point in the history
  43. Improve the terminal output.

    temken committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    829a501 View commit details
    Browse the repository at this point in the history
  44. Add branch to github actions

    temken committed Aug 10, 2022
    Configuration menu
    Copy the full SHA
    fd53622 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2022

  1. Configuration menu
    Copy the full SHA
    3718ade View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2022

  1. Remove old sampling and distribution functions, implement the MH into…

    … the simulation code. Update the main function for testing of sampling.
    temken committed Aug 16, 2022
    Configuration menu
    Copy the full SHA
    191a1f1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    698329f View commit details
    Browse the repository at this point in the history
  3. Set pdfs to 0 for q<qMin (not really important since the pdfs are not…

    … used in the simulations anymore, might delete later.)
    temken committed Aug 16, 2022
    Configuration menu
    Copy the full SHA
    1859597 View commit details
    Browse the repository at this point in the history
  4. Rescale total scattering rate if the mass has not changed in the scan…

    … (if possible, i.e. if the nucleus and electron rate scale identically).
    temken committed Aug 16, 2022
    Configuration menu
    Copy the full SHA
    0607fed View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2022

  1. Move rescaling into its own function. Check interaction parameter for…

    … zero when computing the total rate.
    temken committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    8ad81f5 View commit details
    Browse the repository at this point in the history
  2. Extend the rescaling function to account for the case where one cross…

    … section (e or N) is zero.
    
    In that case a rescaling is also possible and should be preferred over a new tabulation.
    temken committed Aug 17, 2022
    Configuration menu
    Copy the full SHA
    4ba2dd0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    045fe3e View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2022

  1. Add the average radius of the last scattering to the simulation resul…

    …ts to be shown in the terminal
    temken committed Sep 30, 2022
    Configuration menu
    Copy the full SHA
    a7841bf View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2023

  1. Configuration menu
    Copy the full SHA
    87f7d0c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ca7f6c9 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2023

  1. Configuration menu
    Copy the full SHA
    93df810 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2023

  1. Configuration menu
    Copy the full SHA
    8e06b5e View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2023

  1. Change the definition of captured particles, since it didn't account …

    …for the fact when the number of scatterings reaches the maximum value allowed.
    temken committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    9acebb4 View commit details
    Browse the repository at this point in the history
  2. Remove unnecessary variable.

    temken committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    6b5fcd1 View commit details
    Browse the repository at this point in the history
  3. Typo in warning

    temken committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    4a2c88d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e226aa4 View commit details
    Browse the repository at this point in the history
  5. Increase maximum number of allowed scatterings to 10000.

    Particles that scatter more often are considered as "captured" in the statistics.
    temken committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    07c9df0 View commit details
    Browse the repository at this point in the history