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

Bug/173 monte carlo inverse code fixes #174

Merged
merged 6 commits into from
Sep 26, 2024

Conversation

hayakawa16
Copy link
Member

I think this is ready for review. Please see issues page for more description of what was changed.

… wavelengths. Found major bug in that get_optical_properties returns [mua,mus',g,n] and I was using the 2nd parameter as if it was mus not musp, so code that substitutes into the infiles for the database generation and the post-processing, inserted the wrong values for "s1" (mus) and "sp1" (musp). This code was correct in the Linux version, however I plan to make sure those results agree with those generated on Windows.
…y added spectral ranges. I updated get_mua.m accordingly to obtain the spectra correctly from the xlsx file. I cleaned up comments in mc_inverse.m and mc_inverse_Win.m so that they align as far as comments go. I took screenshots of the plots for Examples 1-3 in preparation for adding them to the MC Inverse wiki. Now to pull code to Linux and see if I obtain same plots.
…e. This meant changing access into data read. This all started because Linux wasn't reading table correctly.
…affect inversion solution, just affected output at end.
@hayakawa16 hayakawa16 self-assigned this Sep 24, 2024
@hayakawa16 hayakawa16 linked an issue Sep 24, 2024 that may be closed by this pull request
Copy link

Copy link
Member

@janakarana janakarana left a comment

Choose a reason for hiding this comment

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

Everything looks good. Thanks.

@hayakawa16
Copy link
Member Author

Thanks for your review @janakarana!!

@hayakawa16
Copy link
Member Author

I added sample output plots to the wiki page:
https://github.com/VirtualPhotonics/Vts.MonteCarlo/wiki/MCCL-Inverse-Solutions
Let me know what you think. Thanks!

Copy link
Member

@lmalenfant lmalenfant left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@hayakawa16 hayakawa16 merged commit d7e80eb into master Sep 26, 2024
3 checks passed
@hayakawa16 hayakawa16 deleted the bug/173-monte-carlo-inverse-code-fixes branch September 26, 2024 23:11
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.

Monte Carlo inverse code fixes
4 participants