Replies: 1 comment 1 reply
-
Hi,
In my opinion, the PR is done but it could be optimized after it is merged. Another PR I think would be valuable to open/work on, would be one about optimizing Poisson drives (which I didn't get to do last summer). I would let the HNN team know and see where you can go from there. Most of the code for this new PR would probably go under objective_functions.py. You would also need to come up with an example and add that under examples/howto, and finally add the relevant tests under tests/test_general_optimization.py. Let me know if you ever want to schedule a call or feel free to reach out at any time! Kindly |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @carolinafernandezp,
I am @samadpls, a GSoC student this year working on a project. As an initial task for my mentorship, I have been assigned to understand and contribute to the "Optimize rhythmic drives #673" PR. After going through the PR description and the discussion, I have identified the following tasks that need to be completed:
The main issue that needs to be addressed is that the current implementation of the
_maximize_psd
objective function does not ensure that the resulting power spectral density (PSD) will express the specified ratios between the frequency bands. Even though the optimizer maximizes the power in the specified bands, it does not maintain the desired ratio between them, which is a crucial requirement.Modify the
_maximize_psd
objective functionImplement the ability to pass a custom callable for
obj_fun
: The codebase currently allows users to passobj_fun_kwargs
, but not a custom callable function forobj_fun
Update documentation and tests and git conflicts
Please let me know if I'm on the right track with these tasks. I would appreciate your guidance and feedback on my understanding of the PR and the remaining work.
Additionally, I tried running the example code provided in the PR, but it is taking a long time to simulate. Are you aware of how long the simulation should typically take? If it's taking an unusually long time, I would appreciate any insights or suggestions you may have to troubleshoot the issue.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions