Coder Social home page Coder Social logo

emilyselwood / orbcalc Goto Github PK

View Code? Open in Web Editor NEW
12.0 4.0 1.0 10.49 MB

Orbital mechanics on minor planets using golang

License: Apache License 2.0

Go 60.13% Python 1.16% HTML 2.30% JavaScript 35.05% CSS 1.36%
orbital-mechanics orbital-dynamics asteroids space golang astronomical-algorithms

orbcalc's Introduction

Orb Calc

A library to do orbital mechanics in go.

Every object in the solar system

OrbViwer

Currently very basic and work in progress, the basic orbital propogation with the mean motion method should work for most cases. Hyperbolic and parabolic orbits have not been tested, if you find bugs please let us know.

Example in main.go which reads in the MPC orbit file propogates them forward by one day and then writes the position vectors to a file. See also the example and tools folders for more examples

There is a lot still to do:

  • Reference frame transformations.
  • Benchmarking
  • Documentation

If you want to help with these please feel free to get in contact.

Reason

This project is designed to alow you to work out the position in space of an object after some time given the normal orbital elements.

The main usecase is to be able to plot the locations of asteroids over time.

Design Goals

  1. Be Accurate
  2. Be Fast
  3. Be Easy To Use

Contributing

Fantastic. We welcome an help you can give. We especially welcome bug reports and case studies of uses. If you have managed to successfully use this project please let us know. If you have found a pain point please let us know, we can probably make it easier to use. If you are not sure if something is a bug please rase it any way. Worst case it is something we need to document better.

If you want to provide code support to the project we use the "usual" github process, issues, forks and pull requests.

Building from source

Prerequistits:

  • Golang 1.11+
git clone [email protected]:wselwood/orbcalc.git
cd orbcalc
go build

We use the Go module system which should take care of the dependencies for you. See the examples and tools folders for more information about usage

Thanks

This project owes a great debt of thanks to the poliastro project for the algorithms and examples of how things should be done.

Contributors

The following people have helped improve this project:

orbcalc's People

Contributors

emilyselwood avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

cicerolneto

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.