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

Frequency-domain integration #44

Open
marianoarnaiz opened this issue Jul 8, 2024 · 2 comments
Open

Frequency-domain integration #44

marianoarnaiz opened this issue Jul 8, 2024 · 2 comments

Comments

@marianoarnaiz
Copy link

Hi everyone.
I use the spectral integration quite a bit and it would be nice to have SAC's divomega in the toolkit. It is possible to add?

https://ds.iris.edu/files/sac-manual/commands/divomega.html

Kind regards.

@anowacki
Copy link
Owner

anowacki commented Jul 8, 2024

Hi @marianoarnaiz. I'm guessing that you want this for FourierTraces? In this case, the integrate function could just have a new method integrate!(::AbstractFourierTrace) which does the standard frequency-domain integration. At the same time, adding a differentiate!(::AbstractFourierTrace) method would also be worthwhile.

I'd be happy to receive a PR for the above, or I can get round to it when time allows.

@anowacki anowacki changed the title Adding Divomega to the list of functions Frequency-domain integration Jul 8, 2024
@marianoarnaiz
Copy link
Author

Hi @anowacki I'd be glad to help. I am actually not using a ::AbstractFourierTrace) right now, but I might be tempted to change my code to add this to Seis.jl. Let me give it a try and report back here!

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