suncast-org / gx2py

This is a repository intended to collect Python code examples suggesting how various GX Simulator and GSFIT functionalities implemented in IDL could be achieved in Python.
MIT License
2 stars 2 forks source link

Add example notebook on computing LOS intersections #2

Open wtbarnes opened 4 months ago

wtbarnes commented 4 months ago

This gist contains a notebook showing how to compute LOS intersections with a simulation domain defined by a Cartesian box. This demonstration came out of discussions at the recent SUNCAST Workshop. I've just added this as a gist for now as I'm not sure of what the best way to add it to this repository is. I'm also happy to reformat as a Python script if that is preferable.

Gelu-Nita commented 4 months ago

I suggest you creating a short markdown document entitled, for example, "Understanding Observer Orientation Relative to a Simulated Volume with Astropy Coordinates" which should include a link and short description of the purpose of this gist, basically what you did in your comment above. Then, you may initiate a pull request for the markdown document to be inserted in the root of the gx2py repository. I could have done this myself, but I believe that if you do it from your side you will be listed as a collaborator to the gx2py repository and receive proper credit for your contribution. If you agree that this is the proper way to do it, I will include a description of this workflow in the Readme.md as a third option for contributing to the gx2py repository.