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

rewrite reac_density() for the three cases #12

Closed
riberaborrell opened this issue Nov 22, 2019 · 2 comments
Closed

rewrite reac_density() for the three cases #12

riberaborrell opened this issue Nov 22, 2019 · 2 comments

Comments

@riberaborrell
Copy link
Collaborator

No description provided.

@riberaborrell
Copy link
Collaborator Author

Split the method reac_density() in three methods:

  • reac_density(): not normalized reactive density
  • reac_norm_factor(): normalization factor
  • norm_reac_density(): normalized reactive density

riberaborrell pushed a commit that referenced this issue Nov 22, 2019
riberaborrell pushed a commit that referenced this issue Nov 22, 2019
@LuzieH
Copy link
Owner

LuzieH commented Nov 25, 2019

  • for the norm_reac_density() method: ensure that the density is only computed for the times when the normalization factor is >0 (this can also be the case for times 0<n<N-1

  • further, ensure that the norm_reac_density method doesn't compute reac_dens and _reac_norm_factor again, if they have already been computed

  • small network example: there is a problem with plotting the finite time reactive density for times n=0 and n=N-1

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

No branches or pull requests

2 participants