Skip to content

Commit

Permalink
notebook updates
Browse files Browse the repository at this point in the history
  • Loading branch information
JarronL committed Jan 10, 2018
1 parent 54c3370 commit d8baaf7
Show file tree
Hide file tree
Showing 17 changed files with 631 additions and 2,021 deletions.
34 changes: 23 additions & 11 deletions notebooks/Example_HR8799.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"# Makes print and division act like Python 3\n",
Expand Down Expand Up @@ -36,7 +38,9 @@
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"import pynrc\n",
Expand All @@ -55,7 +59,9 @@
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"def obs_wfe(wfe_drift, filt_list, sp_sci, dist, sp_ref=None):\n",
Expand Down Expand Up @@ -195,7 +201,9 @@
{
"cell_type": "code",
"execution_count": 6,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"# HR8799 planet magnitudes\n",
Expand Down Expand Up @@ -228,7 +236,9 @@
{
"cell_type": "code",
"execution_count": 7,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"# List of filters\n",
Expand Down Expand Up @@ -365,9 +375,7 @@
{
"cell_type": "code",
"execution_count": 11,
"metadata": {
"scrolled": true
},
"metadata": {},
"outputs": [
{
"data": {
Expand Down Expand Up @@ -433,7 +441,9 @@
{
"cell_type": "code",
"execution_count": 7,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"# List of filters\n",
Expand Down Expand Up @@ -541,7 +551,9 @@
{
"cell_type": "code",
"execution_count": 10,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"# For each obs configuration, add planet information\n",
Expand Down Expand Up @@ -971,7 +983,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.1"
"version": "3.6.3"
}
},
"nbformat": 4,
Expand Down
40 changes: 29 additions & 11 deletions notebooks/GTO/NRC_ERS_HD142527.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"import pynrc\n",
Expand Down Expand Up @@ -97,7 +99,9 @@
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"def obs_wfe(wfe_drift, filt_list, sp_sci, dist, sp_ref=None, disk_mod=True, fov_pix=None, verbose=False):\n",
Expand Down Expand Up @@ -328,7 +332,9 @@
{
"cell_type": "code",
"execution_count": 11,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"# K-Band Filter\n",
Expand Down Expand Up @@ -358,7 +364,9 @@
{
"cell_type": "code",
"execution_count": 13,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"i=0\n",
Expand All @@ -376,7 +384,9 @@
{
"cell_type": "code",
"execution_count": 14,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"i=1\n",
Expand Down Expand Up @@ -428,7 +438,7 @@
"cell_type": "code",
"execution_count": 16,
"metadata": {
"scrolled": true
"scrolled": false
},
"outputs": [
{
Expand Down Expand Up @@ -560,7 +570,9 @@
{
"cell_type": "code",
"execution_count": 20,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"# Add planets and M-Dwarf companion\n",
Expand Down Expand Up @@ -734,7 +746,9 @@
{
"cell_type": "code",
"execution_count": 32,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"# Add planets and M-Dwarf companion\n",
Expand Down Expand Up @@ -909,7 +923,9 @@
{
"cell_type": "code",
"execution_count": 39,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"# Add planets and M-Dwarf companion\n",
Expand Down Expand Up @@ -1298,7 +1314,9 @@
{
"cell_type": "code",
"execution_count": 83,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"def axes_update(axes, loc, obs_dict, hdu_dict, filt_keys, wfe_drift, fov=10, \n",
Expand Down Expand Up @@ -1507,7 +1525,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.1"
"version": "3.6.3"
}
},
"nbformat": 4,
Expand Down

0 comments on commit d8baaf7

Please sign in to comment.