-
Notifications
You must be signed in to change notification settings - Fork 28
TNS-FRB crossmatching script #200
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
base: main
Are you sure you want to change the base?
Conversation
Updated TNS crossmatching script, now compatible with TNS 2.0 API querying.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this!
return name, ra, dec, theta, a, b | ||
|
||
|
||
def cov_matrix(a, b, theta): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these methods looks very useful!
might be better in another location..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could add them to utilities.py or something like that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, please
#plt.savefig(f'{transient_name}_gaussian_map.png') | ||
|
||
|
||
def main(filename, name, ra, dec, theta, a, b, radius, single_obj=False): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are we going to make this a proper script?
If so, we need to add another file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like to turn this into a proper script to be made available when the paper comes out. What other file is needed? I guess I don't know what that entails...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's discuss
docstring descriptions of variables and what the functions do
I updated the script based on your suggestions! let me know if there's anything else to add. Thanks X! |
Updated TNS crossmatching script, now compatible with TNS 2.0 API querying.