jakevdp / 2014_fall_astr599 Goto Github PK
View Code? Open in Web Editor NEWContent for my Astronomy 599 / Applied Math 500 Course: Intro to scientific computing in Python
License: Apache License 2.0
Content for my Astronomy 599 / Applied Math 500 Course: Intro to scientific computing in Python
License: Apache License 2.0
For notebook 14 (optimization), I have used 5 different star IDs with the original notebook, and they produce divide-by-zero warnings in some of the calculations. With the original sample star (18525697
), there were no such warnings.
To reproduce the warnings, one can use star ID 18870395
. A sample session with the warnings is available using the notebook viewer here.
The following warnings are listed after input lines numbers 55, 57 and 60:
Divide-by-zero encountered: rhok assumed large
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/scipy/optimize/
optimize.py:828: RuntimeWarning: divide by zero encountered in double_scalars
rhok = 1.0 / (numpy.dot(yk, sk))
I am wondering if these messages have an impact on the resulting calculations?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.