-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into s3_url_hotfix
- Loading branch information
Showing
46 changed files
with
1,351 additions
and
239 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
|
||
.. include:: include/links.rst | ||
|
||
.. _onespec: | ||
|
||
======= | ||
OneSpec | ||
======= | ||
|
||
Overview | ||
======== | ||
|
||
Generally, the ultimate PypeIt spectrum output is a single | ||
spectrum per source, fully calibrated and (as desired) | ||
with a :doc:`telluric` performed. | ||
|
||
The standard way to generate this file is | ||
with the :ref:`_pypeit_coadd_1dspec` script. | ||
|
||
The naming of this file is user-generated, | ||
i.e. it can be anything you wish. | ||
|
||
The header of the primary extension includes the | ||
`core_meta` of PypeIt, e.g. RA, DEC, MJD, and | ||
configuration parameters of the instrument. | ||
|
||
Inspection | ||
========== | ||
|
||
You view the spectrum using the ``lt_xspec`` script | ||
(``pypeit_show_1dspec`` will not work), which loads the data | ||
and launches a GUI from the `linetools`_ package. e.g.: | ||
|
||
.. code-block:: console | ||
lt_xspec J1217p3905_coadd.fits | ||
Current Data Model | ||
================== | ||
|
||
Internally, the spectrum for a single object is held by the | ||
:class:`~pypeit.onespec.OneSpec` class. | ||
|
||
Here is its datamodel, which | ||
is written as an `astropy.io.fits.BinTableHDU`_ in the | ||
first HDU of the file. | ||
|
||
.. include:: include/datamodel_onespec.rst | ||
|
||
All wavelengths are in vacuum and flux units | ||
depend on whether :doc:`Fluxing` was performed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.