-
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
Fdtd fixes #110
Fdtd fixes #110
Conversation
- Added function to eliminate transient parts in the FDTD signal output - Added notebook to compare
Updated paper results notebooks
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.
Looks good, can't spot anything that would break the fdtd/make results wrong.
@@ -100,7 +107,7 @@ def plot_spectrum( | |||
target_frequencies, | |||
R_spectrum, | |||
ylimits, | |||
121, |
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.
What is this number?
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.
It defines the index of the plot among the subplots
@@ -38,15 +208,14 @@ def calculate_transmission_reflection_coefficients( | |||
.item() | |||
] | |||
) | |||
|
|||
else: |
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.
May want to remove this, as the results could possibly be way off, and rather ask that the user uses more time steps? Will probably be unnecessary with the automatic calculation of niter
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.
But we already asking them to increase the number of timesteps, right? Regarding automatic calculation see also https://github.com/esa/NIDN/pull/111/files#r935248046 . I think we should tell the user to do it. Our calculation may be off or the user is just testing something, wants to use fewer timesteps some reason etc. Always forcibly increasing it limits the use options
Description
Summary of changes
Need to
Resolved Issues
N/A
How Has This Been Tested?
Related Pull Requests
N/A