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

GREOPy: A General Relativistic Emitter-Observer problem Python algorithm #227

Open
19 of 32 tasks
irideselby opened this issue Dec 21, 2024 · 6 comments
Open
19 of 32 tasks

Comments

@irideselby
Copy link

irideselby commented Dec 21, 2024

Submitting Author: Jan P. Hackstein (@irideselby)
All current maintainers: (@irideselby)
Package Name: GREOPy
One-Line Description of Package: Calculate relativistic light rays sent by an emitter to a receiver in the presence of a gravitational field.
Repository Link: https://codeberg.org/JPHackstein/GREOPy
Version submitted: v0.2.1
EiC: @coatless
Editor: TBD
Reviewer 1: TBD
Reviewer 2: TBD
Archive: https://zenodo.org/records/14537866
JOSS DOI: TBD
Version accepted: TBD
Date accepted (month/day/year): TBD


Code of Conduct & Commitment to Maintain Package

Description

GREOPy is a Python library for calculating relativistic light rays sent by an emitter to a receiver in the presence of a gravitational field. Finding a light ray connecting two events is sometimes called "Emitter-Observer" problem and is always present when it comes to communication between two observers, e.g. two satellites in orbit. GREOPy allows the emitter and receiver to move along arbitrary curves, making this an initial-value problem to solve from the emitter's perspective, and the gravitational field can be described by a rotating, non-accelerating central mass. Everything is being calculated in the general relativistic framework to include relativistic effects like light bending and the relativistic Doppler effect to be able to quantify their impact on error propagation. While only two spacetimes are implemented at the moment (even though further additions are planned), GREOPy is written in a way to allow the community to easily expand the number of spacetimes to suit their needs.

Scope

  • Please indicate which category or categories.
    Check out our package scope page to learn more about our
    scope. (If you are unsure of which category you fit, we suggest you make a pre-submission inquiry):

    • Data retrieval
    • Data extraction
    • Data processing/munging
    • Data deposition
    • Data validation and testing
    • Data visualization1
    • Workflow automation
    • Citation management and bibliometrics
    • Scientific software wrappers
    • Database interoperability

Domain Specific

  • Geospatial
  • Education

Community Partnerships

If your package is associated with an
existing community please check below:

  • For all submissions, explain how and why the package falls under the categories you indicated above. In your explanation, please address the following points (briefly, 1-2 sentences for each):

Data processing/munging: GREOPy uses parametrised curves, e.g. orbit data, to simulate communication via relativistic light rays between them. This allows analysis of relativistic effects on light and by extension any corresponding observable in some chosen spacetime, giving insights into fundamental properties of the underlying spacetime.

  • Who is the target audience and what are scientific applications of this package?

This package is mainly targeted for scientists working in geodesy; it can be used to simulate satellite-satellite or satellite-ground station communication and from this derive, e.g. how the Earth mass distribution changes over time due to for example climate change.

  • Are there other Python packages that accomplish the same thing? If so, how does yours differ?

Not the same thing. There exist of course Python packages that implement General Relativity, e.g. to be able to calculate light rays (lightlike/nulllike geodesics) as one can do with EinsteinPy for example. However there appear to be no packages that implement specifically the Emitter-Observer problem (initial-value problem with a variable target boundary) in terms of General Relativity.

  • If you made a pre-submission enquiry, please paste the link to the corresponding issue, forum post, or other discussion, or @tag the editor you contacted:

No presubmission inquiry was made

Technical checks

For details about the pyOpenSci packaging requirements, see our packaging guide. Confirm each of the following by checking the box. This package:

  • does not violate the Terms of Service of any service it interacts with.
  • uses an OSI approved license.
  • contains a README with instructions for installing the development version.
  • includes documentation with examples for all functions.
  • contains a tutorial with examples of its essential functions and uses.
  • has a test suite.
  • has continuous integration setup, such as GitHub Actions CircleCI, and/or others.

Publication Options

JOSS Checks
  • The package has an obvious research application according to JOSS's definition in their submission requirements. Be aware that completing the pyOpenSci review process does not guarantee acceptance to JOSS. Be sure to read their submission requirements (linked above) if you are interested in submitting to JOSS.
  • The package is not a "minor utility" as defined by JOSS's submission requirements: "Minor ‘utility’ packages, including ‘thin’ API clients, are not acceptable." pyOpenSci welcomes these packages under "Data Retrieval", but JOSS has slightly different criteria.
  • The package contains a paper.md matching JOSS's requirements with a high-level description in the package root or in inst/.
  • The package is deposited in a long-term repository with the DOI: https://zenodo.org/records/14537866

Note: JOSS accepts our review as theirs. You will NOT need to go through another full review. JOSS will only review your paper.md file. Be sure to link to this pyOpenSci issue when a JOSS issue is opened for your package. Also be sure to tell the JOSS editor that this is a pyOpenSci reviewed package once you reach this step.

Are you OK with Reviewers Submitting Issues and/or pull requests to your Repo Directly?

This option will allow reviewers to open smaller issues that can then be linked to PR's rather than submitting a more dense text based review. It will also allow you to demonstrate addressing the issue via PR links.

  • Yes I am OK with reviewers submitting requested changes as issues to my repo. Reviewers will then link to the issues in their submitted review.

Confirm each of the following by checking the box.

  • I have read the author guide.
  • I expect to maintain this package for at least 2 years and can help find a replacement for the maintainer (team) if needed.

Please fill out our survey

P.S. Have feedback/comments about our review process? Leave a comment here

Editor and Review Templates

The editor template can be found here.

The review template can be found here.

Footnotes

  1. Please fill out a pre-submission inquiry before submitting a data visualization package.

@coatless
Copy link

coatless commented Jan 29, 2025

Editor in Chief checks

Hi there! Thank you for submitting your package for pyOpenSci
review. Below are the basic checks that your package needs to pass
to begin our review. If some of these are missing, we will ask you
to work on them before the review process begins.

Please check our Python packaging guide for more information on the elements
below.

  • Installation The package can be installed from a community repository such as PyPI (preferred), and/or a community channel on conda (e.g. conda-forge, bioconda).
    • The package imports properly into a standard Python environment import package.
  • Fit The package meets criteria for fit and overlap.
  • Documentation The package has sufficient online documentation to allow us to evaluate package function and scope without installing the package. This includes:
    • User-facing documentation that overviews how to install and start using the package.
    • Short tutorials that help a user understand how to use the package and what it can do for them.
    • API documentation (documentation for your code's functions, classes, methods and attributes): this includes clearly written docstrings with variables defined using a standard docstring format.
  • Core GitHub repository Files
    • README The package has a README.md file with clear explanation of what the package does, instructions on how to install it, and a link to development instructions.
    • Contributing File The package has a CONTRIBUTING.md file that details how to install and contribute to the package.
    • Code of Conduct The package has a CODE_OF_CONDUCT.md file.
    • License The package has an OSI approved license.
      NOTE: We prefer that you have development instructions in your documentation too.
  • Issue Submission Documentation All of the information is filled out in the YAML header of the issue (located at the top of the issue template).
  • Automated tests Package has a testing suite and is tested via a Continuous Integration service.
  • Repository The repository link resolves correctly.
  • Package overlap The package doesn't entirely overlap with the functionality of other packages that have already been submitted to pyOpenSci.
  • Archive (JOSS only, may be post-review): The repository DOI resolves correctly.
  • Version (JOSS only, may be post-review): Does the release version given match the GitHub release (v1.0.0)?

  • Initial onboarding survey was filled out
    We appreciate each maintainer of the package filling out this survey individually. 🙌
    Thank you authors in advance for setting aside five to ten minutes to do this. It truly helps our organization. 🙌


Editor comments

Thanks for bearing with us as we hibernated over the holidays and assigned out a new EiC.

Regarding the package, I'm happy to work on assigning an editor.

However, I do want to bring to your attention a few concerns.

Specifically, the "How to find initial conditions" page linked on the documentation website is blank.

https://greopy.readthedocs.io/en/latest/about/initial_conditions.html

Also, the tutorial gallery only one tutorial is present ("Quick Start"). Do you envision additional tutorials being added during the review process?

https://greopy.readthedocs.io/en/latest/auto_tutorials/index.html

Lastly, the Quickstart example on the reduced grid also took about 15 minutes of compute time on Colab. Would it be possible to include a note on the documentation that computations may be long running?

@lwasser lwasser moved this from pre-review-checks to seeking-editor in peer-review-status Jan 29, 2025
@irideselby
Copy link
Author

Hello!
Thank you very much for your answer and comments.
Concerning the blank page on the wiki. It has sadly been sitting there for a while while I was working on different aspects of the package and it has been slipping through until now, but I think now will be a good time to finally update it.
I definitely want to fill the tutorial gallery with more tutorials over time, and I think I have a good idea about a second small tutorial already. Now that I got the package into shape I can also focus more on tutorials.
Also thank your for the notice on computation times, I will add a note to the documentation.

I will begin working on the comments in the next couple of days and update everything accordingly, so thanks again!
Maybe one question: Between submitting the package and now, I have found a bug concerning the light ray calculation for which I have worked out a fix. May I just update the package while the review process is going on? I imagine that the review process will be conducted with the exact version I submitted, so in case the bug will be found by the reviewers as well, do I then just link to the package version/PR that fixes the bug?

@coatless
Copy link

@irideselby Okay, let's hold off on sending it out for the review until the bug regarding light ray calculation is fixed as that may impact what SME reviewers of the software respond with.

Sound okay?

@lwasser lwasser moved this from seeking-editor to pre-review-checks in peer-review-status Jan 29, 2025
@irideselby
Copy link
Author

@coatless Thank you for waiting, I fixed the bug and bumped the version accordingly. I also edited the initial message in this thread to reflect this change, so now the submitted version is 0.2.1 instead of 0.2.0, I hope that's alright.

@coatless
Copy link

@irideselby thanks for letting me know. I'll start the process of assigning an editor.

@lwasser lwasser moved this from pre-review-checks to seeking-editor in peer-review-status Jan 31, 2025
@irideselby
Copy link
Author

I have now added the paper.md for JOSS in a paper/ directory and added a tick for the corresponding bullet point in the initial submission message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: seeking-editor
Development

No branches or pull requests

2 participants