question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Further performance improvements for earth-centred transformations

See original GitHub issue

#11069 sped up the calculation of GCRS obsgeoloc and obsgeovel from EarthLocation for the GCRS<->(CIRS, TETE) transforms. It may be possible to

  • Use the same technique to (slightly?) speed up erfa_astrom.apco (see https://github.com/astropy/astropy/pull/10994#issuecomment-730408512)
  • Speed up EarthLocation.get_gcrs(). (see #11073)
  • Be cleverer in the transformations, not using FunctionTransformWithFiniteDifference when all that is being done is introduce a rotating frame. EDIT: this would work only if obstime were the same; can one special-case this? EDIT 2: best to just special-case “interesting” transformations like ICRS->AltAz, as suggested in #10887.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:20 (20 by maintainers)

github_iconTop GitHub Comments

1reaction
mkbrewercommented, Nov 26, 2020

While the coordinate transforms don’t currently deal with the target’s velocity, they could be upgraded to do so. For instance, the ICRS->GCRS transform could deal with velocity in the same way that it does for position. The ErfaAstrom method apcs() returns the observer’s velocity wrt the SSB in astrom['v'] (as does apco()). This can be subtracted from the ICRS target velocity in the same way as astrom['eb'] is subtracted from the position to form the GCRS velocity of the target.

0reactions
mhvkcommented, Dec 15, 2020

@mkbrewer - belatedly, not super familiar myself with the new SpectralCoord class capabilities, so let me ping @astrofrog about your https://github.com/astropy/astropy/issues/11072#issuecomment-735241792

My guess is that it is possible - if so, it sounds like it would be good to have an actual example in the docs!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Improved relativistic transformations in GPS | Request PDF
Recent papers (Kouba 2004; Larson et al. 2007) consider such additional relativistic effects in the GPS model. A detailed review on Relativity ...
Read more >
Many-Revolution Earth-Centred Solar-Sail Trajectory ...
The numerical performance of the optimisation algorithm is enhanced by integrating the sailcraft state in modified equinoctial elements and ...
Read more >
HORAYZON v1.2: an efficient and flexible ray-tracing ... - GMD
We propose a new and more efficient method, which is based on a high-performance ray-tracing library. The new algorithm can speed up horizon....
Read more >
Midterm # 1 (Lectures 7-) Flashcards | Chegg.com
Minimum number of links necessary for a transformation of polynomial order. n = (p+1)(p+2)/2 p= order number -it is strongly suggested to use...
Read more >
A Simple Perturbation Algorithm for Inverting the Cartesian to ...
Referring to Figure 1, the transformation from geodetic coordinates to Cartesian coordinates is given ... In a more recent addition to iterative methods...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found