-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now, second sample simulation (for estimating n_photons) will only be performed if importance sampling is activated. This solves a problem when the user does not want to use importance sampling. Additionally, I entered a condition that will only trigger this calculation if the user has not stated photons manually. So, correct way of launching simulations with importance sampling and automatic calculations should be: s_photons = 1543214 (int num) photons = 0 This is well matched with photons = 0 and s_photons=0 triggers autocalculation (from simset) and no importance sampling
- Loading branch information
Showing
1 changed file
with
34 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters