Skip to content
This repository has been archived by the owner on Oct 23, 2022. It is now read-only.

Brian gun/issue315 fix beam energy calculation #316

Merged
merged 7 commits into from
Nov 9, 2021
Merged

Conversation

BrianGun
Copy link
Contributor

@BrianGun BrianGun commented Nov 9, 2021

beamenergy was computing the wrong value because it was dividing by the area of the pupil rather than the area of the lenslet. This is now fixed.

@BrianGun BrianGun requested a review from galran November 9, 2021 18:04
@codecov-commenter
Copy link

codecov-commenter commented Nov 9, 2021

Codecov Report

Merging #316 (bc1431b) into main (15bb16d) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #316      +/-   ##
==========================================
+ Coverage   54.55%   54.56%   +0.01%     
==========================================
  Files          78       78              
  Lines        7396     7079     -317     
==========================================
- Hits         4035     3863     -172     
+ Misses       3361     3216     -145     
Impacted Files Coverage Δ
src/Optical/ParaxialAnalysis/LensletAssembly.jl 60.00% <100.00%> (+3.58%) ⬆️
src/RepeatingStructures/Lattice.jl 71.42% <0.00%> (-9.83%) ⬇️
src/RepeatingStructures/HexagonalLattice.jl 46.47% <0.00%> (-4.18%) ⬇️
src/Optical/OpticalInterface.jl 64.28% <0.00%> (-2.39%) ⬇️
src/Geometry/Primitives/Curves/BSpline.jl 66.15% <0.00%> (-2.13%) ⬇️
src/Optical/Paraxial.jl 69.56% <0.00%> (-2.06%) ⬇️
src/Geometry/Primitives/Curves/Bezier.jl 54.87% <0.00%> (-1.72%) ⬇️
src/utilities.jl 73.33% <0.00%> (-1.67%) ⬇️
src/Geometry/Transform.jl 52.73% <0.00%> (-1.57%) ⬇️
src/OpticSim.jl 87.50% <0.00%> (-1.39%) ⬇️
... and 52 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 15bb16d...bc1431b. Read the comment docs.

@BrianGun BrianGun merged commit e1861fd into main Nov 9, 2021
@BrianGun BrianGun deleted the BrianGun/issue315 branch November 9, 2021 18:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants