From 0974c44b3f12d18a6ece58fb59de7ce0fcaa401e Mon Sep 17 00:00:00 2001 From: Simon Torres Date: Mon, 15 Jul 2019 16:26:24 -0400 Subject: [PATCH 1/4] updated README.md with minimal information and linking to rtd --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4e88333..9f541ab 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,8 @@ -# goodman-lamps-lib -Library of reference lamps for supported modes. +# Goodman HTS Reference Lamps Library + +[![Documentation Status](https://readthedocs.org/projects/goodman-lamps/badge/?version=latest)](https://goodman-lamps.readthedocs.io/en/latest/?badge=latest) + + +Visual library of reference lamps for supported modes. + +See full documentation at [goodman-lamps.readthedocs.io](https://goodman-lamps.readthedocs.io) From dcd0f933602a48e20b2387c2bd69a6e1641ff581 Mon Sep 17 00:00:00 2001 From: Simon Torres Date: Mon, 15 Jul 2019 18:32:47 -0400 Subject: [PATCH 2/4] Added overview text and table sumarizing lamp usability --- docs/index.rst | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/docs/index.rst b/docs/index.rst index 1dbfee1..681b2bf 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -6,6 +6,54 @@ Welcome to Reference Lamps Library's documentation! =================================================== +.. image:: https://readthedocs.org/projects/goodman-lamps/badge/?version=latest + :target: https://goodman-lamps.readthedocs.io/en/latest/?badge=latest + :alt: Documentation Status + +This is a visual library of all the usable lamps of the Goodman High Throughput +Spectrograph. + +.. note:: + + The plots in this library are automatically generated therefore in some cases + if two lines are too close together the labels will appear stacked + + +The table below is presented as a quick reference. It is not generated automatically. + +To see a full set of plots of all lamps please visit this `GitHub Repository `_ + +.. table:: Lamp usability per spectroscopic mode + + ========== ========== ========== ========== ========== ========== ========== ========== + Mode Filter Ne HgAr HgArNe CuHeAr FeHeAr Ar + ========== ========== ========== ========== ========== ========== ========== ========== + 400 M1 -- No Yes Yes No No No + 400 M2 GG-450 Yes Yes Yes Yes Yes Yes + 600 UV -- No Yes Yes Yes No No + 600 Blue -- No Yes Yes Yes No No + 600 Mid GG-385 No Yes Yes Yes No No + 600 Red GG-495 Yes Yes Yes Yes Yes Yes + 930 M1 -- No Yes Yes No No No + 930 M2 -- No Yes Yes Yes Yes Yes + 930 M3 GG-385 No No No Yes Yes No + 930 M4 GG-495 Yes Yes Yes Yes No No + 930 M5 GG-495 Yes Yes Yes Yes Yes Yes + 930 M6 OG-570 Yes Yes Yes Yes Yes Yes + 1200 M0 -- No No No No No No + 1200 M1 -- No No No Yes Yes Yes + 1200 M2 -- No No No Yes Yes No + 1200 M3 -- No No No Yes Yes No + 1200 M4 GG-455 Yes No Yes Yes Yes No + 1200 M5 GG-455 Yes Yes Yes Yes Yes Yes + 1200 M6 GG-495 Yes Yes Yes Yes Yes Yes + 1200 M7 OG-570 Yes Yes Yes Yes Yes Yes + ========== ========== ========== ========== ========== ========== ========== ========== + + + + + .. toctree:: :maxdepth: 2 :caption: Plots From 851d8590b1f44f487fd3c3efd5c8753b9f59e6ca Mon Sep 17 00:00:00 2001 From: Simon Torres Date: Mon, 15 Jul 2019 18:38:35 -0400 Subject: [PATCH 3/4] Added Issues section --- docs/index.rst | 1 + docs/issues.rst | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 docs/issues.rst diff --git a/docs/index.rst b/docs/index.rst index 681b2bf..8de8f65 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -69,6 +69,7 @@ To see a full set of plots of all lamps please visit this `GitHub Repository `_ \ No newline at end of file From 02fb27b3926bbe75a46c416770b735c544bfdc52 Mon Sep 17 00:00:00 2001 From: Simon Torres Date: Mon, 15 Jul 2019 18:45:52 -0400 Subject: [PATCH 4/4] Increased width of plots to a ratio of 20 7 --- goodman_lamps/goodman_lamps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/goodman_lamps/goodman_lamps.py b/goodman_lamps/goodman_lamps.py index 3fd4708..80fc491 100644 --- a/goodman_lamps/goodman_lamps.py +++ b/goodman_lamps/goodman_lamps.py @@ -95,7 +95,7 @@ def create_plot(mode): print(_file) for file_name in file_list: - fig, ax = plt.subplots(figsize=(16, 7)) + fig, ax = plt.subplots(figsize=(20, 7)) ccd = CCDData.read(file_name, unit='adu') line_list = LineList()