Use a `float` default value for `fmin`-param in `mne.time_frequency.psd_array_multitaper`
See original GitHub issueHello,
Static type checkers infers the expected type of the fmin-param for the mne.time_frequency.psd_array_multitaper-function to be of type int since the default value used is an int.
The docstring clearly states that psd_array_multitaper supports fmin-values of type float.
Can we change the default-value of fmin to 0.0 to avoid errors in static type checkers?

Issue Analytics
- State:
- Created a year ago
- Comments:18 (17 by maintainers)
Top Results From Across the Web
mne.time_frequency.psd_array_multitaper
Compute power spectral density (PSD) using a multi-taper method. The power spectral density is computed with DPSS tapers[1]. Parameters: x ...
Read more >mne.time_frequency.psd_multitaper
The default value is a window half-bandwidth of 4. adaptive : bool. Use adaptive weights to combine the tapered spectra into PSD (slow,...
Read more >Default parameters - JavaScript - MDN Web Docs
Default function parameters allow named parameters to be initialized with default values if no value or undefined is passed.
Read more >C++ Using default values for parameters - Stack Overflow
1 Answer 1 · This is the prototype void AddBenchNode(osg::ref_ptr<osg::Group>,osg::ref_ptr<osg::Node>, bool, float, float, float, int, int, int );.
Read more >Adding modifiable inputs to plugin functions which have ...
I'm trying to add some user-modifiable parameters to my function. For example, we have a default threshold for filtering OTUs (e.g. an OTU ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I didn’t think they were hostile, no problem @hoechenberger! Yes, I think it’s best to discuss this IRL!
I can definitely try 😃