Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions examples/Example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Now we have a pretty good looking light curve! This light curve is just generated with the central pixel, so lets make a better aperture. We can do quick aperture photometry with tr.Make_lc(). If you provide no aperture, then it will use a 3x3 aperture at the centre of the image. If you want to give it a custom aperture, then you can either give it a list of coordinate pairs, referenced from the origin, or a boolean numpy array the same shape as the tpf images.In this case we know the source is at the centre, so the default aperture will work fine!\n",
"Now we have a pretty good looking light curve! This light curve is just generated with the central pixel, so lets make a better aperture. We can do quick aperture photometry with tr.make_lc(). If you provide no aperture, then it will use a 3x3 aperture at the centre of the image. If you want to give it a custom aperture, then you can either give it a list of coordinate pairs, referenced from the origin, or a boolean numpy array the same shape as the tpf images.In this case we know the source is at the centre, so the default aperture will work fine!\n",
"\n",
"Often we don't need the full cadence of the TESS FFIs, so we can bin the data to improve the signal to noise. Let's make two lightcurves, one with no binning and the other binned to 12, or 6 hours."
]
Expand All @@ -474,8 +474,8 @@
"metadata": {},
"outputs": [],
"source": [
"lc = tr.Make_lc(tpf.astropy_time.mjd,flux,bin_size=0,normalise=False)\n",
"lc_bin = tr.Make_lc(tpf.astropy_time.mjd,flux,bin_size=12,normalise=False)"
"lc = tr.make_lc(tpf.astropy_time.mjd,flux,bin_size=0,normalise=False)\n",
"lc_bin = tr.make_lc(tpf.astropy_time.mjd,flux,bin_size=12,normalise=False)"
]
},
{
Expand Down Expand Up @@ -708,7 +708,7 @@
}
],
"source": [
"lc = tr.Make_lc(tpf.astropy_time.mjd,flux-ref,bin_size=12)\n",
"lc = tr.make_lc(tpf.astropy_time.mjd,flux-ref,bin_size=12)\n",
"tr.Plotter(lc[0,:],lc[1,:])"
]
},
Expand Down