|
457 | 457 | "Often, one has to keep track of the units for certain values. Was the wavelength\n", |
458 | 458 | "given in Angstrom or in nm? In X-ray observations, a common unit of wavelength is\n", |
459 | 459 | "keV. How many nm is 0.65 keV?\n", |
460 | | - "[`astropy.units`](http://docs.astropy.org/en/v0.2.1/units/index.html)\n", |
| 460 | + "[`astropy.units`](http://docs.astropy.org/en/stable/units/index.html)\n", |
461 | 461 | "offers a framework that can take\n", |
462 | 462 | "care of this book-keeping and propagate the units through many (but not all)\n", |
463 | 463 | "mathematical operations (e.g. addition, division, multiplication).\n", |
464 | 464 | "Furthermore,\n", |
465 | | - "[`astropy.constants`](http://docs.astropy.org/en/v0.2.1/constants/index.html) supplies the values of\n", |
| 465 | + "[`astropy.constants`](http://docs.astropy.org/en/stable/constants/index.html) supplies the values of\n", |
466 | 466 | "many physical and astronomical constants.\n", |
467 | 467 | "The easiest way to attach a unit to a number is by multiplication" |
468 | 468 | ] |
|
638 | 638 | "metadata": {}, |
639 | 639 | "source": [ |
640 | 640 | "I want to mention one more feature here (check out\n", |
641 | | - "[`astropy.units`](http://docs.astropy.org/en/v0.2.1/units/index.html) for\n", |
| 641 | + "[`astropy.units`](http://docs.astropy.org/en/stable/units/index.html) for\n", |
642 | 642 | "more): The ability to convert the spectral axis to frequencies or energies.\n", |
643 | 643 | "Normally, a unit of length is not equivalent to a unit of energy or to a\n", |
644 | 644 | "frequency, but this conversion makes sense for the wavelength of a spectrum.\n", |
|
827 | 827 | "cell_type": "markdown", |
828 | 828 | "metadata": {}, |
829 | 829 | "source": [ |
830 | | - "[`astropy.time`](http://docs.astropy.org/en/v0.2.1/time/index.html\n", |
| 830 | + "[`astropy.time`](http://docs.astropy.org/en/stable/time/index.html)\n", |
831 | 831 | "provides methods to convert times and dates between different\n", |
832 | 832 | "systems and formats. Since the ESO fits headers already contain the time of the\n", |
833 | 833 | "observation in different systems, we could just read the keyword in the time\n", |
|
1055 | 1055 | "Now, we want to generate a LaTeX table of the observation times, period\n", |
1056 | 1056 | "and equivalent width that we can directly paste into our manuscript. To do so,\n", |
1057 | 1057 | "we first collect all the columns and make an ``astropy.table.Table`` object. (Please\n", |
1058 | | - "check [`astropy.table`](http://docs.astropy.org/en/v0.2.1/table/index.html)\n", |
| 1058 | + "check [`astropy.table`](http://docs.astropy.org/en/stable/table/index.html)\n", |
1059 | 1059 | "or `tabular-data` for more\n", |
1060 | 1060 | "details on ``Table``). So, here is the code" |
1061 | 1061 | ] |
|
0 commit comments