GithubHelp home page GithubHelp logo

Comments (2)

hayakawa16 avatar hayakawa16 commented on June 15, 2024

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.

ccampb19 avatar ccampb19 commented on June 15, 2024

Awesome, Thanks Carole!
I'll try this tomorrow.
It should, I hope, help immensely.

from vts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.