VSOPTOP2013 1.0.0

.NET Standard 2.0
dotnet add package VSOPTOP2013 --version 1.0.0
NuGet\Install-Package VSOPTOP2013 -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="VSOPTOP2013" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add VSOPTOP2013 --version 1.0.0
#r "nuget: VSOPTOP2013, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install VSOPTOP2013 as a Cake Addin
#addin nuget:?package=VSOPTOP2013&version=1.0.0

// Install VSOPTOP2013 as a Cake Tool
#tool nuget:?package=VSOPTOP2013&version=1.0.0


An implementation of the analytic planetary solutions published by G. Francou and J. L. Simon of the Paris Observatory. For a given date and time from -4000 to +8000, returns the position and velocity of any planet 1-9 using VSOP or 5-9 using TOP. VSOP/TOP2013 is a CLS-compliant library targeted to .NET Standard 2.0.

How to Use

A Planet object may be obtained by index or name. Then the Position method may be called with the desired Barycentric Dynamical Time (TDB) expressed as a Julian date. The method returns an orbital coordinate containing position and velocity of the planet at that time. Examples:

// Construct by 1-based index. VSOP is the default solution.
Planet myPlanet = new Planet(2);

// Construct by enumerated index.
Planet myPlanet = new Planet(Planets.Venus);

// Construct by name.
Planet myPlanet = new Planet("Venus");

// Construct by name and specify TOP solution. Valid only for the outer planets.
Planet myPlanet = new Planet("Saturn", true);

// Call Position method for TDB 2411545 and return result in J2000.0 ecliptical coordinates.
OrbitalCoordinate myCoordinate = myPlanet.Position(2411545, Frame.J2000);

	// X: -8.51511074854885, Y: 3.69589695443049, Z: 0.272426618537697
	// VelocityX: -0.00251503644983892, VelocityY: -0.00512845140735252, VelocityZ: 0.000190225351577721
	// Frame: J2000

// Call Position method for TDB 2459543.5 and return result in ICRF equatorial coordinates.
OrbitalCoordinate myCoordinate = myPlanet.Position(2459543.5, Frame.ICRF);

	// X: 6.82294199648418, Y: -6.55672280255307, Z: -3.00201564910881
	// VelocityX: 0.00374508722196133, VelocityY: 0.00359950179347434, VelocityZ: 0.00132560239628805
	// Frame: ICRF
Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 304 11/30/2021

Initial release. Sample outputs agree with FORTRAN control outputs as rounded.