From b494c616eb259a87d3fe951cbba1d076b1caebb8 Mon Sep 17 00:00:00 2001 From: Arya Das Date: Sun, 3 Jun 2018 00:08:41 +0530 Subject: [PATCH] Add .gitignore, license and readme --- AUTHORS.rst | 5 +++++ LICENSE | 21 +++++++++++++++++++++ README.md | 7 +++++++ app.py | 6 ++---- requirements.txt | 1 + 5 files changed, 36 insertions(+), 4 deletions(-) create mode 100644 AUTHORS.rst create mode 100644 LICENSE create mode 100644 README.md diff --git a/AUTHORS.rst b/AUTHORS.rst new file mode 100644 index 0000000..f0c87ea --- /dev/null +++ b/AUTHORS.rst @@ -0,0 +1,5 @@ +========== +Developers +========== + +* Arya Das diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..2f7b968 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2017 AerospaceResearch + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..341df91 --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# Orbitdeterminator-Webapp: A webapp for [Orbit Determinator](https://github.com/aerospaceresearch/orbitdeterminator) + +## Quick Start + +__orbitdeterminator__ is a package written in python3 for determining orbit of satellites based on positional data. Various filtering and determination algorithms are available for satellite operators to choose from. + +See [here](http://orbit-determinator.readthedocs.io/en/latest/) for installation instructions and documentation. diff --git a/app.py b/app.py index d195110..e882e71 100644 --- a/app.py +++ b/app.py @@ -12,9 +12,7 @@ import sys import os.path -sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__),os.path.pardir,'orbitdeterminator'))) - -from kep_determination.ellipse_fit import determine_kep +import orbitdeterminator.kep_determination.ellipse_fit as e_fit app = dash.Dash() @@ -72,7 +70,7 @@ def display_file(file_content, file_name): data = parse_file(file_content) if (data.shape[0] > 0): data_dict = [{'No.':'{:03d}'.format(i+1), 't':data[i][0], 'x':data[i][1], 'y':data[i][2], 'z':data[i][3]} for i in range(data.shape[0])] - kep, res = determine_kep(data[:,1:]) + kep, res = e_fit.determine_kep(data[:,1:]) return [html.Div(children=file_name, className='section-titles'), diff --git a/requirements.txt b/requirements.txt index 1f4dff7..c7b1895 100644 --- a/requirements.txt +++ b/requirements.txt @@ -19,6 +19,7 @@ jupyter-core==4.4.0 kiwisolver==1.0.1 MarkupSafe==1.0 matplotlib==2.2.2 +orbitdeterminator==1.0 nbformat==4.4.0 numpy==1.14.3 plotly==2.7.0