PROTEUS-SIM / PROTEUS

MIT License
8 stars 0 forks source link

How to customize the bubble positions? #1

Open renxwang opened 2 weeks ago

renxwang commented 2 weeks ago

Thanks for sharing such a sophisticated simulator. The bubble positions will be changed in two simulations even when the simulation settings are the same. It seems like there is a random seed to randomize bubble radii and locations. Could I control the random seed or just directly set the bubble positions?

GLajoinie commented 2 weeks ago

Dear Renxwang,

you can choose to reuse the same ground-truth locations for the bubbles in different simulations. The easiest is to run the simulation using command lines. The ground truth location comprises the bubble sizes and locations. Please see the section "Running the simulation from the command line" https://github.com/PROTEUS-SIM/PROTEUS/tree/main?tab=readme-ov-file#running-the-simulation-from-the-command-line in the readme file. To that end, you only need to specify the same ground-truth file for the different Gui_parameter_files you wish to run.

You may also do so from the GUI by choosing "reuse ground truth" in the "acquisition" panel of the GUI https://github.com/PROTEUS-SIM/PROTEUS/blob/main/documentation/AcquisitionGUI.md

You may also override the ground-truth bubble location file if you want to customize the locations and/or sizes.

I hope this answers your question. Guillaume

renxwang commented 2 weeks ago

Thank you and I will try!