Comments (2)
Hi Chris,
I wanted to go through the steps myself to check what is needed. It is pretty easy. Yes, I just changed the "folder" name to an alternate in MonteCarloLoader. However, this class expects to load reference ROfRhoAndTime and ROfFxAndTime data files, so you'll need to generate both and put them into your alternate folder. So I created an alternate folder "test" and then copied the 4 files from Resources/ReferenceData/N1e8mua0musp1g0p8dr0p2dt0p005/ into test/. Then I ran a MC using only 100 photons and the data I wanted. I took the resulting binary files ROfRhoAndTime and ROfFxAndTime and copied them over the existing files in test/. I didn't copy over the *.txt files because the MonteCarloLoader is expecting a simpler format for these files and the original ones will work. Also, I tested my result using Visual Studio (VS) 2017 and to load these files successfully, you need to change them to an "Embedded Resource". You do this in VS by right clicking file->Properties->Build Action->Embedded Resource. I should note that we have a "tasks" folder in our solution that has a Vts.MonteCarlo.GenerateReferenceData program. You can use the Program.cs to run the MC. You need to update tissue with the OPs of interest and uncomment lines 65-72 of this file so that the output is generated and you'll find the output in the bin/Debug/ folder of this folder.
I hope that sounded easy. Let me know if you have any problems.
Best,
Carole
from vts.
Awesome, Thanks Carole!
I'll try this tomorrow.
It should, I hope, help immensely.
from vts.
Related Issues (20)
- CI/CD - Github Actions to build Vts.sln and run Vts.Library.sln Tests upon PR submission
- Fix the SonarCloud issues in IForwardSover HOT 4
- Add ability to angle SurfaceFiberDetector
- Fix the 5 SonarCloud Bugs
- Fix bugs, security issues and maintenance issues in MCCL and MCPP
- Fix the bug in EllipsoidTissueRegion
- Reconfigure the detectors to use global code for the Binary Serializers HOT 65
- Fix the cognitive complexity issues from the Sonar Cloud analysis HOT 5
- Bug in 2 of the Detectors TransmittedMTOfXAndYAndSubregionHistDetector and ReflectedMTOfXAndYAndSubregionHistDetector HOT 2
- Preparation for the November release
- Vts Code and Scripting changes in preparation for Polyglot notebooks
- Add ability to use layered concentric infinite cylinders with refractive index mismatch HOT 2
- Move the FemModeling and MGRTE into a separate repository HOT 2
- Non-flat layered tissues for MCCL HOT 31
- Replace Moq with NSubstitute
- Add resiliency to CustomBinaryStreamWriterOfT HOT 1
- SDA forward solvers need check on optical properties to make sure solution is valid HOT 4
- .NET Polyglot Notebook and Jupyter Notebook samples HOT 17
- RangeOfT enhancements for simplicity to consumers HOT 8
- Publish static web hosted documentation to Github Pages
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vts.