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

closures.write_closure_info_to_log(seismic.rfc_raw[1:4, ...]) #22

Open
klaas-koster opened this issue Jul 15, 2024 · 4 comments
Open

closures.write_closure_info_to_log(seismic.rfc_raw[1:4, ...]) #22

klaas-koster opened this issue Jul 15, 2024 · 4 comments

Comments

@klaas-koster
Copy link

klaas-koster commented Jul 15, 2024

The call in main.py to write_closure_info_to_log() is hardwired to pass on the second, third, and fourth angle. That looks like a remnant from the past where the code assumed the user always specified three angles in the configuration file and the code padded those with a 0- and 45-degree response. I suggest changing

closures.write_closure_info_to_log(seismic.rfc_raw[1:4, ...])

to

closures.write_closure_info_to_log(seismic.rfc_raw[:, ...])

Note, that this is not guaranteed to give good results if the user specifies just one angle in the configuration file.

I am now seeing that I sometimes still get 5 angles in rfc_raw when I specify 3 in the configuration file. In that case my fix above does not work because the code is now trying to match 5 RFCs with 3 angles.

I need to figure out why I sometimes get 3 and other times 5 angles in rfc_raw...

@gavargas22
Copy link
Collaborator

Thank you for all your great analysis of the repo. These are great ideas

@geokefe
Copy link

geokefe commented Aug 25, 2024

I'm having problem with the installation; how do we install synthoseis in Jupiter notebook?

@klaas-koster
Copy link
Author

@geokefe this is not the right place to ask that question.
Anyway, there is a 'notebook' folder that show exactly how to use synthoseis in a Jupyter notebook.

@gavargas22
Copy link
Collaborator

I'm having problem with the installation; how do we install synthoseis in Jupiter notebook?

Indeed, you can submit a new issue for any question you have so we can keep track of it in a separate ticket.

I will make a new issue to discuss an answer to your question

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

3 participants