-
Notifications
You must be signed in to change notification settings - Fork 529
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
Polarization Analysis issues #2365
Comments
@jwassermann this one is for you! |
Yes, documentation should be clear that these are not even used with 2/3 methods, not even the default one. It's really unfortunate that these were made positional arguments, they should rather be kwargs but we can't change this without major backwards compatibility workarounds now..
I agree, this definitly needs to be changed like proposed, but the error raised should be a |
Also the |
@sjohnson5 please check out #2403 |
Looks great! It's a bummer that |
"Looks great!" as in "code comparison looks cool with all the green/red lines" or as in "tried it and works"? ;-) |
Waiting for final OP feedback |
Well closing I guess |
I've found a couple problems with
obspy.signal.polarization.polarization_analysis
polarization_analysis
requires parameterfrqlow
andfrqhigh
(regardless ofmethod
), however looking in the source code those parameters are only used ifmethod="vidale"
. Reading the documentation I expected these to filter the stream I pass the function. (Also I feel like these parameters should be namedfreqmin
andfreqmax
in order to match the names parameters that would be passed to a bandpass filter, for example)I've got a channel named "ENZ", this channel will get all mixed up because all of the above instances are true (other channels like "ELZ" or "HNE" would also get mixed up). I would recommend replacing this with:
Version info:
Thanks for all you guys do!
The text was updated successfully, but these errors were encountered: