forked from shoaibsufi/boot-camps
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'katyhuff/cleaned_chicago_plus' into tes…
…t-chicago-merge Conflicts: .gitignore README.md I restored .gitignore and README.md to their state in swcarpentry/master. I made a sample boot camp README from the README in katyhuff/cleaned_chicago_plus.
- Loading branch information
Showing
503 changed files
with
29,791 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
This collection of material is licensed under a Creative Commons - Attribution | ||
license. | ||
|
||
You are free: | ||
|
||
- to **Share** - to copy, distribute and transmit the work | ||
- to **Remix** - to adapt the work | ||
|
||
Under the following conditions: | ||
|
||
- **Attribution** - You must attribute the work in the manner specified by the | ||
author or licensor (but not in any way that suggests that they endorse you or | ||
your use of the work). | ||
|
||
With the understanding that: | ||
|
||
- **Waiver** - Any of the above conditions can be waived if you get permission | ||
from the copyright holder. | ||
- **Other Rights** - In no way are any of the following rights affected by the | ||
license: | ||
- Your fair dealing or fair use rights; | ||
- The author’s moral rights; | ||
- Rights other persons may have either in the work itself or in how the work | ||
is used, such as publicity or privacy rights. | ||
- **Notice** - For any reuse or distribution, you must make clear to others the | ||
license terms of this work. The best way to do this is with a link to this | ||
[web page](http://creativecommons.org/licenses/by/3.0/). | ||
|
||
For the full legal text of this license, please see | ||
http://creativecommons.org/licenses/by/3.0/legalcode. |
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,18 @@ | ||
<!doctype html> | ||
|
||
<html> | ||
<head> | ||
<title>Exoplanet Histograms</title> | ||
</head> | ||
<body> | ||
<p> | ||
<h3>exoplanet.eu_catalog.png</h3> | ||
<a href="exoplanet.eu_catalog.png"><img src="exoplanet.eu_catalog.png" style="width: 500px;"></a> | ||
</p> | ||
<p> | ||
<h3>kepler_planets.png</h3> | ||
<a href="kepler_planets.png"><img src="kepler_planets.png" style="width: 500px;"></a> | ||
</p> | ||
|
||
</body> | ||
</html> |
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,10 @@ | ||
all: exoplanet_figures.html | ||
|
||
*.png: *.csv | ||
make_plots.py $^ | ||
|
||
exoplanet_figures.html: *.png | ||
make_html.py $@ $^ | ||
|
||
clean: | ||
rm *.png exoplanet_figures.html |
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,96 @@ | ||
name,mass,radius,period,axis,eccentricity,inclination,angular_distance,publication_status, discovered,updated,omega,tperi,detection_type,molecules,star.name,ra,dec,star.magnitude_v,star.magnitude_i,star.magnitude_j,star.magnitude_h,star.magnitude_k,star.distance,star.metallicity, star.mass,star.radius,star.spec_type,star.age,star.teff | ||
Kepler-10 b,0.0143,0.127,0.837495,0.01684,0.0,84.4,9.7e-05,R,2011,2012-09-10,,,detected by transit,,Kepler-10,19:02:43.0,+50:14:29,10.96,,,,,173.0,-0.15,0.895,1.056,G,11.9,5627.0 | ||
Kepler-10 c,0.063,0.199,45.29485,0.2407,0.0,89.65,0.001391,R,2011,2011-05-26,,,detected by transit,,Kepler-10,19:02:43.0,+50:14:29,10.96,,,,,173.0,-0.15,0.895,1.056,G,11.9,5627.0 | ||
Kepler-11 b,0.01353,0.1762,10.30375,0.091,0.0,88.5,,R,2011,2011-02-02,,,detected by transit,,Kepler-11,19:48:28.0,+41:54:33,13.7,,,,,,0.0,0.95,1.1,G,8.0,5680.0 | ||
Kepler-11 c,0.0425,0.28175,13.02502,0.106,0.0,89.0,,R,2011,2011-02-02,,,detected by transit,,Kepler-11,19:48:28.0,+41:54:33,13.7,,,,,,0.0,0.95,1.1,G,8.0,5680.0 | ||
Kepler-11 d,0.01919,0.3068,22.68719,0.159,0.0,89.3,,R,2011,2011-02-02,,,detected by transit,,Kepler-11,19:48:28.0,+41:54:33,13.7,,,,,,0.0,0.95,1.1,G,8.0,5680.0 | ||
Kepler-11 e,0.02643,0.4043,31.9959,0.194,0.0,88.8,,R,2011,2011-02-02,,,detected by transit,,Kepler-11,19:48:28.0,+41:54:33,13.7,,,,,,0.0,0.95,1.1,G,8.0,5680.0 | ||
Kepler-11 f,0.007237,0.2335,46.68876,0.25,0.0,89.4,,R,2011,2012-10-03,,,detected by transit,,Kepler-11,19:48:28.0,+41:54:33,13.7,,,,,,0.0,0.95,1.1,G,8.0,5680.0 | ||
Kepler-11 g,0.95,0.3274,118.37774,0.462,0.0,89.8,,R,2011,2012-07-23,,,detected by transit,,Kepler-11,19:48:28.0,+41:54:33,13.7,,,,,,0.0,0.95,1.1,G,8.0,5680.0 | ||
Kepler-12 b,0.431,1.695,4.4379637,0.0556,0.01,88.76,,R,2011,2011-09-09,182.0,,detected by transit,,Kepler-12,00:00:00.0,+00:00:00,13.4,,,,,,0.07,1.166,1.483,G0,4.0,5947.0 | ||
Kepler-14 b,8.4,1.136,6.790123,,0.035,90.0,,S,2011,2011-06-29,,,detected by transit,,Kepler-14,19:10:50.0,+47:19:59,12.12,,,,,980.0,0.12,1.512,2.048,F,2.2,6395.0 | ||
Kepler-15 b,0.66,0.96,4.942782,0.05714,,87.44,,R,2011,2011-08-02,,,detected by transit,,Kepler-15,00:00:00.0,+00:00:00,13.8,,,,,,0.36,1.018,0.992,,,5595.0 | ||
Kepler-16 (AB) b,0.333,0.7538,228.776,0.7048,0.00685,90.0322,,R,2011,2012-08-13,318.0,,detected by transit,,Kepler-16 (AB),19:16:18.0,+51:45:27,12.0,,,,,,-0.3,0.8499,0.65,K,,4450.0 | ||
Kepler-17 b,2.45,1.312,1.4857108,0.02591,0.011,87.2,3.2e-05,R,2011,2011-10-26,,,detected by transit,,Kepler-17,19:53:35.0,+47:48:54,14.0,,,,,800.0,0.26,1.16,1.05,G2V,1.78,5781.0 | ||
Kepler-18 b,0.0217,0.179,3.504725,0.0447,,84.92,,R,2011,2012-08-31,,,detected by transit,,Kepler-18,19:52:19.0,+44:44:47,14.0,,,,,,0.2,0.972,1.108,,10.0,5383.0 | ||
Kepler-18 c,0.054,0.49,7.64159,0.0752,,87.68,,R,2011,2012-08-31,,,detected by transit,,Kepler-18,19:52:19.0,+44:44:47,14.0,,,,,,0.2,0.972,1.108,,10.0,5383.0 | ||
Kepler-18 d,0.052,0.62,14.85888,0.1172,,88.07,,R,2011,2012-08-31,,,detected by transit,,Kepler-18,19:52:19.0,+44:44:47,14.0,,,,,,0.2,0.972,1.108,,10.0,5383.0 | ||
Kepler-19 b,0.064,0.198,9.2869944,0.085,,89.94,,R,2011,2012-07-24,,,detected by transit,,Kepler-19,19:21:41.0,+37:51:06,12.0,,,,,,-0.13,0.936,0.85,,1.9,5541.0 | ||
Kepler-20 b,0.027,0.17,3.6961219,0.04537,0.32,86.5,0.000156,R,2011,2011-12-21,,,detected by transit,,Kepler-20,19:10:48.0,+42:20:19,12.5,,,,,290.0,0.02,0.912,0.944,G8,8.8,5466.0 | ||
Kepler-20 c,0.051,0.27,10.854092,0.093,0.4,88.39,0.000321,R,2011,2011-12-21,,,detected by transit,,Kepler-20,19:10:48.0,+42:20:19,12.5,,,,,290.0,0.02,0.912,0.944,G8,8.8,5466.0 | ||
Kepler-20 d,0.06,0.25,77.61185,0.3453,0.6,89.57,0.001191,R,2011,2011-12-21,,,detected by transit,,Kepler-20,19:10:48.0,+42:20:19,12.5,,,,,290.0,0.02,0.912,0.944,G8,8.8,5466.0 | ||
Kepler-20 e,0.0097,0.078,6.098493,0.0507,,87.5,0.000175,R,2011,2011-12-23,,,detected by transit,,Kepler-20,19:10:48.0,+42:20:19,12.5,,,,,290.0,0.02,0.912,0.944,G8,8.8,5466.0 | ||
Kepler-20 f,0.045,0.09,19.57706,0.11,,88.68,0.000379,R,2011,2011-12-23,,,detected by transit,,Kepler-20,19:10:48.0,+42:20:19,12.5,,,,,290.0,0.02,0.912,0.944,G8,8.8,5466.0 | ||
Kepler-21 b,0.033,0.1459,2.785755,0.042507,0.0,82.58,0.000394,C,2011,2011-12-12,,,detected by transit,,Kepler-21,19:09:27.0,+38:42:50,8.27,,,,,108.0,-0.15,1.34,1.86,F6IV,2.84,6131.0 | ||
Kepler-22 b,0.11,0.21,289.8623,0.849,,89.764,0.004468,R,2011,2012-09-25,,,detected by transit,,Kepler-22,19:16:52.0,+47:53:04,12.0,,,,,190.0,-0.29,0.97,0.979,G5,,5518.0 | ||
Kepler-23 b,0.8,0.17,7.1073,0.075,,,,R,2012,2012-01-30,,,detected by transit,,Kepler-23,19:36:52.0,+49:28:45,14.0,,,,,,,1.11,1.52,,,5760.0 | ||
Kepler-23 c,2.7,0.29,10.7421,0.099,,,,R,2012,2012-01-30,,,detected by transit,,Kepler-23,19:36:52.0,+49:28:45,14.0,,,,,,,1.11,1.52,,,5760.0 | ||
Kepler-24 b,1.6,0.21,8.1453,0.08,,,,R,2012,2012-01-30,,,detected by transit,,Kepler-24,19:21:39.0,+38:20:38,15.5,,,,,,,1.03,1.07,,,5800.0 | ||
Kepler-24 c,1.6,0.25,12.3335,0.106,,,,R,2012,2012-01-30,,,detected by transit,,Kepler-24,19:21:39.0,+38:20:38,15.5,,,,,,,1.03,1.07,,,5800.0 | ||
Kepler-25 b,12.7,0.23,6.2385,0.068,,,,R,2012,2012-01-30,,,detected by transit,,Kepler-25,19:06:33.0,+39:29:16,11.0,,,,,,0.01,1.22,1.36,,,6190.0 | ||
Kepler-25 c,4.16,0.4,12.7204,0.11,,,,R,2012,2012-01-30,,,detected by transit,,Kepler-25,19:06:33.0,+39:29:16,11.0,,,,,,0.01,1.22,1.36,,,6190.0 | ||
Kepler-26 b,0.38,0.32,12.2829,0.085,,,,R,2012,2012-01-30,,,detected by transit,,Kepler-26,18:59:46.0,+46:34:00,16.0,,,,,,-0.21,0.65,0.59,,,4500.0 | ||
Kepler-26 c,0.375,0.32,17.2513,0.107,,,,R,2012,2012-01-30,,,detected by transit,,Kepler-26,18:59:46.0,+46:34:00,16.0,,,,,,-0.21,0.65,0.59,,,4500.0 | ||
Kepler-27 b,9.11,0.36,15.3348,0.118,,,,R,2012,2012-01-30,,,detected by transit,,Kepler-27,19:28:57.0,+41:05:09,,,,,,,0.41,0.65,0.59,,,5400.0 | ||
Kepler-27 c,13.8,0.44,31.3309,0.191,,,,R,,2012-01-30,,,detected by transit,,Kepler-27,19:28:57.0,+41:05:09,,,,,,,0.41,0.65,0.59,,,5400.0 | ||
Kepler-28 b,1.51,0.32,5.9123,0.062,,,,R,2012,2012-01-30,,,detected by transit,,Kepler-28,19:28:33.0,+42:25:46,15.5,,,,,,0.34,0.75,0.7,,,4590.0 | ||
Kepler-28 c,1.36,0.3,8.9858,0.081,,,,R,2012,2012-01-30,,,detected by transit,,Kepler-28,19:28:33.0,+42:25:46,15.5,,,,,,0.34,0.75,0.7,,,4590.0 | ||
Kepler-29 b,0.4,0.32,10.3376,0.09,,,,R,2012,2012-01-30,,,detected by transit,,Kepler-29,19:53:24.0,+47:29:28,15.5,,,,,,0.0,1.0,0.96,,,5750.0 | ||
Kepler-29 c,0.3,0.26,13.2907,0.11,,,,R,2012,2012-01-30,,,detected by transit,,Kepler-29,19:53:24.0,+47:29:28,15.5,,,,,,0.0,1.0,0.96,,,5750.0 | ||
Kepler-30 b,0.036,0.35,29.334,0.18,,89.82,,R,2012,2012-08-31,,,detected by transit,,Kepler-30,19:01:08.0,+38:56:50,15.5,,,,,,0.18,0.99,0.95,,,5498.0 | ||
Kepler-30 c,2.01,1.1,60.3231,0.3,,89.68,,R,2012,2012-08-31,,,detected by transit,,Kepler-30,19:01:08.0,+38:56:50,15.5,,,,,,0.18,0.99,0.95,,,5498.0 | ||
Kepler-30 d,0.073,0.79,143.343,0.5,,89.84,,R,2012,2012-08-31,,,detected by transit,,Kepler-30,19:01:08.0,+38:56:50,15.5,,,,,,0.18,0.99,0.95,,,5498.0 | ||
Kepler-31 b,6.8,0.38,20.8613,0.16,,,,R,2012,2012-01-30,,,detected by transit,,Kepler-31,19:36:06.0,+45:51:11,15.5,,,,,,-0.08,1.21,1.22,,,6340.0 | ||
Kepler-31 c,4.7,0.38,42.6318,0.26,,,,R,2012,2012-01-30,,,detected by transit,,Kepler-31,19:36:06.0,+45:51:11,15.5,,,,,,-0.08,1.21,1.22,,,6340.0 | ||
Kepler-32 b,4.1,0.37,5.90124,0.05,,,,R,2012,2012-01-30,,,detected by transit,,Kepler-32,19:51:22.0,+46:34:27,16.0,,,,,,0.0,0.58,0.53,,,3900.0 | ||
Kepler-32 c,0.5,0.33,8.7522,0.09,,,,R,2012,2012-01-30,,,detected by transit,,Kepler-32,19:51:22.0,+46:34:27,16.0,,,,,,0.0,0.58,0.53,,,3900.0 | ||
Kepler-33 b,,0.16,5.66793,0.0677,,86.39,,R,2012,2012-01-30,,,detected by transit,,Kepler-33,19:16:19.0,+46:00:19,14.0,,,,,,,1.291,1.82,,4.27,5904.0 | ||
Kepler-33 c,,0.29,13.17562,0.1189,,88.19,,R,2012,2012-01-30,,,detected by transit,,Kepler-33,19:16:19.0,+46:00:19,14.0,,,,,,,1.291,1.82,,4.27,5904.0 | ||
Kepler-33 d,,0.48,21.77596,0.1662,,88.71,,R,2012,2012-01-30,,,detected by transit,,Kepler-33,19:16:19.0,+46:00:19,14.0,,,,,,,1.291,1.82,,4.27,5904.0 | ||
Kepler-33 e,,0.36,31.7844,0.2138,,88.94,,R,2012,2012-01-30,,,detected by transit,,Kepler-33,19:16:19.0,+46:00:19,14.0,,,,,,,1.291,1.82,,4.27,5904.0 | ||
Kepler-33 f,,0.4,41.02902,0.2535,,,,R,2012,2012-01-30,,,detected by transit,,Kepler-33,19:16:19.0,+46:00:19,14.0,,,,,,,1.291,1.82,,4.27,5904.0 | ||
Kepler-34(AB) b,0.22,0.764,288.822,1.0896,0.182,90.355,0.000727,R,2012,2012-04-24,,,detected by transit,,Kepler-34(AB),19:45:45.0,+44:38:30,15.0,,,,,1499.0,-0.07,2.0687,1.1,G,,5913.0 | ||
Kepler-35(AB) b,0.127,0.728,131.458,0.60347,0.042,90.76,0.000367,R,2012,2012-04-24,,,detected by transit,,Kepler-35(AB),19:37:59.0,+46:41:24,16.0,,,,,1645.0,-0.34,1.6971,1.0,G,,5606.0 | ||
Kepler-36b,0.014,0.133,13.83989,0.1153,,,,R,2012,2012-09-06,,,detected by transit,,Kepler-36,19:25:00.0,+49:13:55,12.0,,,,,,,1.071,1.626,,6.8,5911.0 | ||
Kepler-36c,0.0254,0.329,16.23855,0.1283,,,,R,2012,2012-09-06,,,detected by transit,,Kepler-36,19:25:00.0,+49:13:55,12.0,,,,,,,1.071,1.626,,6.8,5911.0 | ||
Kepler-38(AB) b,0.38,0.39,105.595,0.4644,,89.446,,R,2012,2012-09-29,,,detected by transit,,Kepler-38A,19:07:19.0,+42:16:45,14.3,,,,,,-0.158,0.949,1.757,,,5640.0 | ||
Kepler-4 b,0.077,0.357,3.21346,0.0456,0.0,89.76,8.3e-05,R,2010,2010-01-06,,,detected by transit,,Kepler-4,19:02:28.0,+50:08:09,12.7,,,,,550.0,0.17,1.223,1.487,G0,4.5,5857.0 | ||
Kepler-42 b,0.009,0.07,1.2137672,0.0116,,,0.0003,R,2012,2012-05-21,,,detected by transit,,Kepler-42,19:28:53.0,+44:37:10,16.12,,,,,38.7,-0.48,0.13,0.17,,,3068.0 | ||
Kepler-42 c,0.006,0.065,0.45328509,0.006,,,0.000155,R,2012,2012-05-16,,,detected by transit,,Kepler-42,19:28:53.0,+44:37:10,16.12,,,,,38.7,-0.48,0.13,0.17,,,3068.0 | ||
Kepler-42 d,0.003,0.051,1.856169,0.0154,,,0.000398,R,2012,2012-05-16,,,detected by transit,,Kepler-42,19:28:53.0,+44:37:10,16.12,,,,,38.7,-0.48,0.13,0.17,,,3068.0 | ||
Kepler-47(AB) b,,0.27,49.514,0.2956,,89.59,,R,2012,2012-09-29,,,detected by transit,,Kepler-47A,19:41:11.5,+46:55:12,,,,,,,,1.043,0.964,,,5636.0 | ||
Kepler-47(AB) c,,0.41,303.148,0.989,,89.826,,R,2012,2012-09-29,,,detected by transit,,Kepler-47A,19:41:11.5,+46:55:12,,,,,,,,1.043,0.964,,,5636.0 | ||
Kepler-48b,5.94,0.18,4.7779803,,,,,R,2012,2012-09-03,,,detected by transit,,Kepler-48,19:56:33.0,+40:56:56,13.5,,,,,,,0.89,0.89,,,5190.0 | ||
Kepler-48c,0.032,0.3,9.6739283,,,,,R,2012,2012-09-03,,,detected by transit,,Kepler-48,19:56:33.0,+40:56:56,13.5,,,,,,,0.89,0.89,,,5190.0 | ||
Kepler-49b,,0.24,7.2037945,,,,,R,2012,2012-09-03,,,detected by transit,,Kepler-49,19:29:11.0,+40:35:30,15.5,,,,,,,0.55,0.53,,,3974.0 | ||
Kepler-49c,,0.23,10.9129343,,,,,R,2012,2012-09-03,,,detected by transit,,Kepler-49,19:29:11.0,+40:35:30,15.5,,,,,,,0.55,0.53,,,3974.0 | ||
Kepler-5 b,2.114,1.431,3.54846,0.05064,0.0,86.3,,W,2010,2010-04-23,,,detected by transit,,Kepler-5,19:57:38.0,+44:02:06,,,,,,,0.04,1.374,1.793,,,6297.0 | ||
Kepler-50b,0.024,0.2,7.8125124,,,,,R,2012,2012-09-03,,,detected by transit,,Kepler-50,19:12:24.0,+50:02:01,11.0,,,,,,,1.23,1.88,,,6058.0 | ||
Kepler-50c,0.022,0.25,9.3761368,,,,,R,2012,2012-09-03,,,detected by transit,,Kepler-50,19:12:24.0,+50:02:01,11.0,,,,,,,1.23,1.88,,,6058.0 | ||
Kepler-51b,,0.63,45.1555023,,,,,R,2012,2012-09-03,,,detected by transit,,Kepler-51,19:45:55.0,+49:56:16,15.0,,,,,,,1.0,0.91,,,5803.0 | ||
Kepler-51c,,0.51,85.3128662,,,,,R,2012,2012-09-03,,,detected by transit,,Kepler-51,19:45:55.0,+49:56:16,15.0,,,,,,,1.0,0.91,,,5803.0 | ||
Kepler-52b,0.28,0.19,7.8773565,,,,,R,2012,2012-09-03,,,detected by transit,,Kepler-52,19:06:57.0,+49:58:33,15.5,,,,,,,0.54,0.52,,,4075.0 | ||
Kepler-52c,0.12,0.16,16.3850021,,,,,R,2012,2012-09-03,,,detected by transit,,Kepler-52,19:06:57.0,+49:58:33,15.5,,,,,,,0.54,0.52,,,4075.0 | ||
Kepler-53b,0.26,0.26,18.6489525,,,,,R,2012,2012-09-03,,,detected by transit,,Kepler-53,19:21:51.0,+40:33:45,16.0,,,,,,,0.98,0.89,,,5858.0 | ||
Kepler-53c,0.076,0.28,38.5583038,,,,,R,2012,2012-09-03,,,detected by transit,,Kepler-53,19:21:51.0,+40:33:45,16.0,,,,,,,0.98,0.89,,,5858.0 | ||
Kepler-54b,,0.19,8.0109434,,,,,R,2012,2012-09-03,,,detected by transit,,Kepler-54,19:39:06.0,+43:03:23,16.3,,,,,,,0.51,0.5,,,3705.0 | ||
Kepler-54c,,0.11,12.0717249,,,,,R,2012,2012-09-03,,,detected by transit,,Kepler-54,19:39:06.0,+43:03:23,16.3,,,,,,,0.51,0.5,,,3705.0 | ||
Kepler-55b,,0.22,27.94811449,,,,,R,2012,2012-09-03,,,detected by transit,,Kepler-55,19:00:40.0,+44:01:35,16.3,,,,,,,0.62,0.58,,,4362.0 | ||
Kepler-55c,,0.2,42.1516418,,,,,R,2012,2012-09-03,,,detected by transit,,Kepler-55,19:00:40.0,+44:01:35,16.3,,,,,,,0.62,0.58,,,4362.0 | ||
Kepler-56b,,0.34,10.5034294,,,,,R,2012,2012-09-03,,,detected by transit,,Kepler-56,19:35:02.0,+41:52:19,13.0,,,,,,,1.37,3.14,,,4931.0 | ||
Kepler-56c,,0.7,21.4050484,,,,,R,2012,2012-09-03,,,detected by transit,,Kepler-56,19:35:02.0,+41:52:19,13.0,,,,,,,1.37,3.14,,,4931.0 | ||
Kepler-57b,0.31,0.2,5.7293196,,,,,R,2012,2012-09-03,,,detected by transit,,Kepler-57,19:34:34.0,+44:39:25,15.5,,,,,,,0.83,0.73,,,5145.0 | ||
Kepler-57c,0.017,0.14,11.6092567,,,,,R,2012,2012-09-03,,,detected by transit,,Kepler-57,19:34:34.0,+44:39:25,15.5,,,,,,,0.83,0.73,,,5145.0 | ||
Kepler-58b,0.086,0.25,10.2184954,,,,,R,2012,2012-09-03,,,detected by transit,,Kepler-58,19:45:26.0,+39:06:55,15.3,,,,,,,0.95,1.03,,,5843.0 | ||
Kepler-58c,0.13,0.26,15.5741568,,,,,R,2012,2012-09-03,,,detected by transit,,Kepler-58,19:45:26.0,+39:06:55,15.3,,,,,,,0.95,1.03,,,5843.0 | ||
Kepler-59b,,0.098,11.8681707,,,,,R,2012,2012-09-03,,,detected by transit,,Kepler-59,19:08:09.0,+46:38:24,14.8,,,,,,,1.04,0.94,,,6074.0 | ||
Kepler-59c,,0.18,17.9801235,,,,,R,2012,2012-09-03,,,detected by transit,,Kepler-59,19:08:09.0,+46:38:24,14.8,,,,,,,1.04,0.94,,,6074.0 | ||
Kepler-6 b,0.669,1.323,3.234723,0.04567,0.0,86.8,,R,2010,2011-12-01,,,detected by transit,,Kepler-6,19:47:21.0,+48:14:24,,,,,,,0.34,1.209,1.391,,3.8,5647.0 | ||
Kepler-60b,,0.2,7.1316185,,,,,R,2012,2012-09-03,,,detected by transit,,Kepler-60,19:15:51.0,+42:15:54,14.5,,,,,,,1.1,1.5,,,5915.0 | ||
Kepler-60c,,0.22,8.9193459,,,,,R,2012,2012-09-03,,,detected by transit,,Kepler-60,19:15:51.0,+42:15:54,14.5,,,,,,,1.1,1.5,,,5915.0 | ||
Kepler-60d,,0.23,11.9016171,,,,,R,2012,2012-09-03,,,detected by transit,,Kepler-60,19:15:51.0,+42:15:54,14.5,,,,,,,1.1,1.5,,,5915.0 | ||
Kepler-7 b,0.433,1.614,4.885525,0.06246,0.1,85.18,,R,2010,2011-05-27,357.1,,detected by transit,,Kepler-7,19:14:20.0,+41:05:23,,,,,,,0.11,1.36,2.02,,3.5,5933.0 | ||
Kepler-8 b,0.603,1.419,3.52254,0.0483,0.0,84.07,3.6e-05,C,2010,2012-07-05,,,detected by transit,,Kepler-8,18:45:09.0,+42:27:04,13.9,,,,,1330.0,-0.055,1.213,1.486,,3.84,6213.0 | ||
Kepler-9 b,0.252,0.842,19.243158,0.14,,88.55,,R,2010,2010-09-09,,,detected by transit,,Kepler-9,19:02:18.0,+38:24:03,13.9,,,,,,0.17,1.0,1.1,,3.0,5722.0 | ||
Kepler-9 c,0.171,0.823,38.90861,0.225,,88.12,,R,2010,2010-09-09,,,detected by transit,,Kepler-9,19:02:18.0,+38:24:03,13.9,,,,,,0.17,1.0,1.1,,3.0,5722.0 | ||
Kepler-9 d,0.022,0.147,1.592851,0.0273,,,,R,2010,2010-11-23,,,detected by transit,,Kepler-9,19:02:18.0,+38:24:03,13.9,,,,,,0.17,1.0,1.1,,3.0,5722.0 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,46 @@ | ||
#!/usr/bin/env python | ||
|
||
import argparse | ||
import sys | ||
|
||
TEMPLATE = """<p> | ||
<h3>{}</h3> | ||
<a href="{}"><img src="{}" style="width: 500px;"></a> | ||
</p> | ||
""" | ||
|
||
|
||
def make_figure_html(figures): | ||
html = '' | ||
|
||
for fig in figures: | ||
html += TEMPLATE.format(fig, fig, fig) | ||
|
||
return html | ||
|
||
|
||
def save_html(html, outfile): | ||
with open('template.html', 'r') as t: | ||
template = t.read() | ||
|
||
with open(outfile, 'w') as out: | ||
out.write(template.format(html)) | ||
|
||
|
||
def parse_args(args=None): | ||
d = 'Make an HTML page of all the given figures.' | ||
parser = argparse.ArgumentParser(description=d) | ||
parser.add_argument('outfile', type=str, help='Name of output HTML file.') | ||
parser.add_argument('figures', type=str, nargs='+', | ||
help='Figures to include in the webpage.') | ||
return parser.parse_args(args) | ||
|
||
|
||
def main(args=None): | ||
args = parse_args(args) | ||
html = make_figure_html(args.figures) | ||
save_html(html, args.outfile) | ||
|
||
|
||
if __name__ == '__main__': | ||
sys.exit(main()) |
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,62 @@ | ||
#!/usr/bin/env python | ||
|
||
import sys | ||
import argparse | ||
import csv | ||
|
||
import matplotlib.pyplot as plt | ||
|
||
|
||
def read_mass_period(df): | ||
mass = [] | ||
period = [] | ||
|
||
with open(df, 'r') as f: | ||
csvr = csv.DictReader(f) | ||
|
||
for line in csvr: | ||
if line['mass']: | ||
mass.append(float(line['mass'])) | ||
|
||
if line['period']: | ||
period.append(float(line['period'])) | ||
|
||
return mass, period | ||
|
||
|
||
def plot_data(df): | ||
figname = df[:-3] + 'png' | ||
|
||
mass, period = read_mass_period(df) | ||
|
||
fig, (m_ax, p_ax) = plt.subplots(2, 1) | ||
|
||
# plot mass histogram | ||
m_ax.hist(mass, bins=50) | ||
m_ax.set_xlabel('Mass ($M_{Earth}$)') | ||
|
||
# plot period histogram | ||
p_ax.hist(period, bins=50) | ||
p_ax.set_xlabel('Period (Days)') | ||
|
||
fig.savefig(figname) | ||
|
||
|
||
def parse_args(args=None): | ||
d = ('Plot histograms of planet mass and planet period for each' | ||
'given CSV data file.') | ||
parser = argparse.ArgumentParser(d) | ||
parser.add_argument('datafiles', type=str, nargs='+', | ||
help='CSV files with data to plot.') | ||
return parser.parse_args(args) | ||
|
||
|
||
def main(args=None): | ||
args = parse_args(args) | ||
|
||
for df in args.datafiles: | ||
plot_data(df) | ||
|
||
|
||
if __name__ == '__main__': | ||
sys.exit(main()) |
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,42 @@ | ||
#!/usr/bin/env python | ||
|
||
import sys | ||
|
||
from argparse import ArgumentParser | ||
|
||
|
||
def subset_by_name(match, infile, outfile): | ||
""" | ||
Write lines from `infile` which contain the string `match` | ||
in the first column to `outfile`. Also copies the column headings. | ||
""" | ||
with open(outfile, 'w') as outf: | ||
with open(infile, 'r') as inf: | ||
# transfer the column headings | ||
outf.write(inf.readline()) | ||
|
||
for line in inf: | ||
name = line.split(',')[0] | ||
if match in name: | ||
outf.write(line) | ||
|
||
|
||
def parse_args(args=None): | ||
d = 'Output a CSV subset of the exoplanet data filtering on name.' | ||
parser = ArgumentParser(description=d) | ||
h = ('Only lines which contain this string in the name field will be' | ||
'included in the subset.') | ||
parser.add_argument('match', type=str, help=h) | ||
parser.add_argument('infile', type=str, help='Name of input CSV file.') | ||
parser.add_argument('outfile', type=str, help='Name of output CSV file.') | ||
return parser.parse_args(args) | ||
|
||
|
||
def main(args=None): | ||
args = parse_args(args) | ||
subset_by_name(args.match, args.infile, args.outfile) | ||
|
||
|
||
if __name__ == '__main__': | ||
sys.exit(main()) |
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,10 @@ | ||
<!doctype html> | ||
|
||
<html> | ||
<head> | ||
<title>Exoplanet Histograms</title> | ||
</head> | ||
<body> | ||
{} | ||
</body> | ||
</html> |
Oops, something went wrong.