Skip to content
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

Add logging to FDTD code #51

Closed
3 tasks done
gomezzz opened this issue Feb 17, 2022 · 1 comment
Closed
3 tasks done

Add logging to FDTD code #51

gomezzz opened this issue Feb 17, 2022 · 1 comment
Assignees

Comments

@gomezzz
Copy link
Collaborator

gomezzz commented Feb 17, 2022

Feature

Desired Behavior / Functionality

For easier debugging and understanding what happens on the inside we need to add logging to the FDTD part.

For an example how this can and should look have a look here

(If you wanna see what this gives you run on the existing notebooks with loglevel trace or debug ;) )

What Needs to Be Done

  • Add logging to fdtd compute_spectrum
  • Add logging to init_fdtd
  • Add logging to calculate_transmission_reflection_coeffs.py

How Can It Be Tested

In the notebook set different loglevels with nidn.set_log_level and have a look.

@gomezzz
Copy link
Collaborator Author

gomezzz commented Mar 3, 2022

@torbjornstoro so I think logging for compute spectrum is ok for now the other two don't have any logging yet. Feel free to add in #54 or leave the issue open for now :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants