-
Notifications
You must be signed in to change notification settings - Fork 6
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
Added notebook for generating NIDN results using FDTD #90
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see comments / as discussed 🙏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minimal changes
"cfg.solver = \"FDTD\"\n", | ||
"cfg.FDTD_niter = 400\n", | ||
"cfg.N_layers = 1\n", | ||
"cfg.FDTD_pulse_type = 'continuous'\n", | ||
"cfg.FDTD_source_type = 'line'\n", | ||
"\n", | ||
"# Currently, the target spectra is set manually as a list of numbers \n", | ||
"cfg.target_reflectance_spectrum = [0.04456351,0.12983103,0.20803709,0.34838794,0.40374041,0.43852469,0.42395525,0.35184451,0.23594347,0.09928435,0.04685543,0.05025798,0.16480385,0.34852490,0.47360640,0.48079059,0.47393927,0.32548627,0.30220670,0.06996665,0.06193323,0.28238744,0.32690241,0.53719555,0.54476352,0.35588386,0.29008964,0.18691291,0.27902207,0.35943538,0.57196896,0.52884206,0.44624134,0.36921438,0.51291333,0.59620698,0.26694859,0.44032823,0.49345384,0.45239907,0.51884675,0.54193479,0.56739480,0.57878280,0.65530901,0.64809091,0.63580893,0.62772046,0.66017392,0.64911847,]\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we change the Ground-truth Data Generation notebook to use 100 instead of 20 points? Then these points should be exactly every 5th frequency point, right? Otherwise it is not clear where this ground truth comes from
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, but didnt we agree on Tuesday to decrease it from 50 to 20 frequencies due to runtime?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, keep it at 20 here, but in the other notebook make it 100? So that the 20 points in this notebook are part of the 100 in the other to see that values match?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okey (y)
@@ -195,7 +195,7 @@ | |||
"cfg.Nx = 1\n", | |||
"cfg.Ny = 1\n", | |||
"cfg.N_layers = 3\n", | |||
"cfg.N_freq = 32\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please also change ground truth in supplementary notebook to match this, numbers shoudl be the same then
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Co-authored-by: Pablo Gómez <contact@pablo-gomez.net>
Description
Summary of changes
As title