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
sim suggestions #67
Comments
|
Yeah, you're right. That was an earlier draft of inputs Also agree that the API should be improved. My bad :) |
@rdgao : If you have code for generating 1/f^x noise, that you can add in, that would be great! If it's the same as in the repo I linked great (if it's a different procedure, maybe we should check equivalence, explore a bit?). If you want to make a PR with that copied in, I'll start working with that updated version, and go from there with the other things I was thinking of. |
Thanks Richard for adding the variable 1/f^beta generation. Question: how disruptive would it be to update the API's / variable names to some degree? Is there much established code that depends on this file? What I'm thinking, for example:
|
I believe those are just regular (position-based) arguments, so I don't see why changing their names would interfere with anything. I doubt anyone is using this and using those as keyword arguments. If we do want to change a keyword argument, I think we could just add the new one as the recommended, but keep the old one as a redundant argument and throw a deprecation warning when someone uses it. |
Okay cool - I'll go through with some changes, and we can sanity check at PR that they don't seem too drastic. Couple other Q's @srcole :
|
That would be fine. I did it because I would often plot these signals, and if I'm interested in a 10Hz oscillation, I can't see it as well if a lot of the power is < 1 Hz (because there are large slow fluctuations). We generally do highpass our empirical data, right? (Though, that may be more like 0.5Hz than 2Hz).
The amplitude is controlled by the SNR parameter. It's a ratio of the power of the oscillation to the power of the background. I think this is appropriate because the overall voltage scale seems kind of arbitrary.
Yes, that would be great :) |
Ah, okay - amplitude thing makes total sense. I'll update for optional filtering and variable exponents! |
While making bycycle, I fixed up the inconsistency issues with the simulation package and wrote some better smoke tests for them. So for neurodsp v1.0.0, I think we should update |
Let's coordinate: http://github.com/tomdonoghue/neurodsp/ |
I'm starting to use neurodsp.sim, and have some possible suggestions:
ToDos:
Open Questions:
Anyways - I'll use this issue for continuing points of discussion, and open a PR soon-ish with some updates - so let me know of any thoughts about things here.
The text was updated successfully, but these errors were encountered: