|
8 | 8 | "name": "", |
9 | 9 | "published": true |
10 | 10 | }, |
11 | | - "signature": "sha256:fd9515822031a7a0d16c78263eb9a448fc057188c6f52dc3c59b33c2b20f3354" |
| 11 | + "signature": "sha256:41d5460b905ee796887164865ff8c3c6cfd882e4b1c647ade463663adacf9376" |
12 | 12 | }, |
13 | 13 | "nbformat": 3, |
14 | 14 | "nbformat_minor": 0, |
|
1374 | 1374 | "Please try to include an example that demonstrates the issue and will allow the\n", |
1375 | 1375 | "developers to reproduce and fix the problem. If you are seeing a crash\n", |
1376 | 1376 | "then frequently it will help to include the full Python stack trace as well as\n", |
1377 | | - "information about your operating system (e.g. MacOSX version or Linux version).\n", |
1378 | | - "\n", |
1379 | | - "Here is a practical example.\n", |
1380 | | - "Above we calculated the free-fall\n", |
1381 | | - "velocity onto MN Lup like this." |
1382 | | - ] |
1383 | | - }, |
1384 | | - { |
1385 | | - "cell_type": "code", |
1386 | | - "collapsed": false, |
1387 | | - "input": [ |
1388 | | - "v_accr = (2.*G *M_MN_Lup / R_MN_Lup)**0.5" |
1389 | | - ], |
1390 | | - "language": "python", |
1391 | | - "metadata": {}, |
1392 | | - "outputs": [] |
1393 | | - }, |
1394 | | - { |
1395 | | - "cell_type": "markdown", |
1396 | | - "metadata": {}, |
1397 | | - "source": [ |
1398 | | - "Mathematically, the following statement is equivalent:" |
1399 | | - ] |
1400 | | - }, |
1401 | | - { |
1402 | | - "cell_type": "code", |
1403 | | - "collapsed": false, |
1404 | | - "input": [ |
1405 | | - "v_accr2 = np.sqrt((2.*G * M_MN_Lup/R_MN_Lup))" |
1406 | | - ], |
1407 | | - "language": "python", |
1408 | | - "metadata": {}, |
1409 | | - "outputs": [] |
1410 | | - }, |
1411 | | - { |
1412 | | - "cell_type": "markdown", |
1413 | | - "metadata": {}, |
1414 | | - "source": [ |
1415 | | - "However, this raises a warning and automatically converts the quantity object\n", |
1416 | | - "to an numpy array and the unit is lost. If you believe that is a bug that should\n", |
1417 | | - "be fixed, you might chose to report it in the [issue tracker](http://github.com/astropy/astropy/issues).\n", |
1418 | | - "(But please check if somebody else has reported the same thing before, so we do\n", |
1419 | | - "not clutter the issue tracker needlessly.)" |
| 1377 | + "information about your operating system (e.g. MacOSX version or Linux version)." |
1420 | 1378 | ] |
1421 | 1379 | } |
1422 | 1380 | ], |
|
0 commit comments