Comments (12)
from orbitdeterminator.
python setup.py will install dependencies using 'pip' and for macOS 'pykep' has some issues on installation using pip (at least on Mojave I can confirm that) so what you should do is remove pykep from install_required in setup.py and manually install pykep, which you already did using
conda install pykep
.
Here is the screenshot of the working code-
Since you are using python 3.6 you might face error like
TypeError: __init__() should return None, not 'NoneType'
then try downgrading python in conda environment using
conda install python==3.5.2
and install pykep using
conda install pykep==2.1
then do
python setup.py install
(with pykep removed from install_required)
Test your setup using pytest
command in orbitdeterminator directory
Let us know if this fixes your problem or not :)
from orbitdeterminator.
from orbitdeterminator.
I think you have installed 'matplotlib' using 'pip', if that is the case then what you can do is if you want a workaround then just uninstall matplotlib using
pip uninstall matplotlib
and install it with conda
conda install matplotlib
then you can just run the program with python main.py
or if you want to fix this problem then install python.app using
conda install python.app
After this you should always use pythonw main.py
instead of python
You might need to use an alias such that python = /path/to/pythonw for using pytest which is not recommended, I would have just installed matplotlib using conda. For more details, you can check this answer
from orbitdeterminator.
from orbitdeterminator.
You need to give a file input with main.py as
python main.py -f /path/to/your/csvFile
For more information refer to orbitdeterminator tutorial here
from orbitdeterminator.
RuntimeWarning: invalid value encountered in double_scalars raan = math.acos(np.clip(n[0] / mag_n, -1, 1))
Try running it as python main.py -u m
. That will set the unit to metres. (The default file has units in metres)
from orbitdeterminator.
from orbitdeterminator.
Try using the solution given by @aryadas98 above i.e run python main.py -f /your/file/path -u m
because it seems that the csv file you are using needs default unit in meters, also, please attach results of command pytest
from the project directory
Note that this is not a universal command, -u
flag is used to state units used in your file (which in case of file you have used is meters hence, -u m
argument), otherwise, you won't be needing this flag as km is the default value.
from orbitdeterminator.
Cool, your setup is running fine 😄
from orbitdeterminator.
from orbitdeterminator.
Last year this paper was very helpful for me. https://vtechworks.lib.vt.edu/bitstream/handle/10919/49102/Keil_EM_T_2014.pdf
from orbitdeterminator.
Related Issues (20)
- pytest fail after installing orbitdeterminator on MacPro (2019) HOT 2
- Wrong results when running main.py HOT 7
- Where is check_sgp4 used? HOT 2
- the question about the format of the data
- the error when I was using certain modules like the help pdf(pages_20) HOT 3
- Code Unit Testing Philosophy HOT 8
- Doppler: CleanUp HOT 3
- conda install pykep==2.1 raises error HOT 2
- test_old and test_utils fails while test HOT 3
- pykep package not getting installed HOT 2
- No module named 'lamberts_method' HOT 4
- input file format auto detect HOT 5
- Replace PyEphem with SkyField functions HOT 3
- one central place for orbital calculations HOT 3
- Setting standard gravitational parameter according to the central body and find a place for the constants HOT 7
- load in mixed input formats (json, iod, uk, etc...)
- Installation procedure on a MacPro (desktop) running Mac OS X 11.5.2 (Big Sur)
- Faster State Vector processing (SPG4/Skyfield vs ideal Keppler vs...) HOT 1
- IndexError : "list index out of range" ,coming on running "triple_moving_average.py" code HOT 1
- Are the right values in the variables?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orbitdeterminator.