This image is used to prevent my account and repository from being cloned by mirror and does not represent my political stance.
VSOP was developed and is maintained (updated with the latest data) by the scientists at the Bureau des Longitudes in Paris.
VSOP2013,another version of VSOP, computed the positions of the planets directly at any moment, as well as their orbital elements with improved accuracy.
Original VSOP2013 Solution was write by FORTRAN 77 . It's too old to use.
This repo is not just programming language translation, it's refactoring of VSOP2013.
This thing is totally useless for myself. But I think someone might need this algorithm in the future.
VSOP2013 is much much slower than VSOP87. But it's more accurate than 87?
I use multi-thread and precalculation technique to accelerate iteration speed.
I promise it will be much faster than origin algorithm.
This is the best VSOP2013 library ever.
Note: .NET 8 occurs performance regression due to RyuJIT bugs. Detail Here
- Use VSOPResult class to manage calculate results.
- Use VSOPTime class to manage time.
Easy to convert time by callingVSOPTime.UTC
,VSOPTime.TAI
,VSOPTime.TDB
- Very high performance per solution
- Useful Utility class. Convert Elliptic coordinates to cartesian and spherical
- Async Api included.
- precalculation on φ in terms, which gives 20%+ speed up of calculation.
- Use [MessagePack](https://github.com/neuecc/MessagePack-CSharp#lz4-compression"MessagePack for C#") for binary serialize.
Initialization time becomes less than 10% of previous version. - Brotli compression on source data. ~300Mb -> ~50MB.
- Optional Native Side library accelerate. (Only on Windows)
.NET 6/7/8 Runtime
Windows 10 64bit with AVX2 for native accelerate
[MessagePack](https://github.com/neuecc/MessagePack-CSharp#lz4-compression"MessagePack for C#")