Compare commits

..

20 commits

Author SHA1 Message Date
19ebb5cdd3 Lab 6 commit 2025-05-12 08:33:29 -07:00
227af7e665 2025 update 2025-05-04 22:20:42 -07:00
554ff65ce0 quick change 2025-04-27 23:41:12 -07:00
0d48253844 spring 2025 update 2025-04-27 23:33:09 -07:00
1d6a094a98 Spring 2025 update 2025-04-20 22:43:57 -07:00
22c8fcf448 smallest change 2025-04-13 15:25:05 -07:00
ff8938b654 2025 Lab 2 updates 2025-04-13 15:24:15 -07:00
0ea5aad97c Update Lab 1 for 2025 2025-04-06 18:29:48 -07:00
1fde25ebdc updated saving instructions 2025-03-30 17:12:13 -07:00
8ce7046af3 First update of 2025 2025-03-30 17:03:03 -07:00
Maxwell Millar-Blanchaer
2cddc833c3 Spring 2024 updates 2024-05-05 21:42:59 -07:00
Maxwell Millar-Blanchaer
e1eefbaf6a Spring 2024 Update 2024-04-28 18:05:02 -07:00
Maxwell Millar-Blanchaer
58a16e2d1c merged main for 2024, updated fits 2024-04-21 20:58:37 -07:00
Maxwell Millar-Blanchaer
d204e71487 Fixing corrupt files 2024-04-17 10:30:33 -07:00
Maxwell Millar-Blanchaer
c8f701d7fa Spring_2024 Updates 2024-04-14 22:05:17 -07:00
Maxwell Millar-Blanchaer
11aae2c5aa Added Lab 1 Files 2024-04-07 21:50:22 -07:00
Maxwell Millar-Blanchaer
67419ca6b5 recleaning out the other labs 2024-03-31 19:38:50 -07:00
Maxwell Millar-Blanchaer
2cd24e8acf Merge remote-tracking branch 'origin/main' into Spring_2024 2024-03-31 19:37:58 -07:00
Maxwell Millar-Blanchaer
915530ace6 Filename and path Changes 2024-03-31 19:23:58 -07:00
Maxwell Millar-Blanchaer
5a6c0e69ae Removed all the labs 2024-03-31 19:15:24 -07:00
12 changed files with 59 additions and 127034 deletions

View file

@ -23,7 +23,7 @@
"\n",
"*Complete these assignments on your own*\n",
"\n",
"<div class=\"alert alert-block alert-danger\"><b>Due date (with Part 1):</b> Sunday, April 7th, 2024 by 11:59pm, submitted through Canvas.</div>"
"<div class=\"alert alert-block alert-danger\"><b>Due date (with Part 2):</b> Sunday, April 6th, 2025 by 11:59pm, submitted through Canvas.</div>"
]
},
{
@ -844,7 +844,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"To submit this assignment, first make sure that all the cells have been run and are showing the outputs that you expect. Then you can print this file to PDF. You must combine this PDF with a PDF from Part 2 of the bootcamp before submitting it to gradescope. \n",
"To submit this assignment, first make sure that all the cells have been run and are showing the outputs that you expect. Then you can print this file to PDF. If you've completed this assignment on the JupyterHub, then sometimes it can be difficult to export it directly as a PDF. One way is to export your notebook as HTML and then \"Print to PDF\" from the computer you're working on. You must combine this PDF with a PDF from Part 1 of the bootcamp before submitting it to gradescope. \n",
"\n",
"Here's a handy website that makes merging PDFs easy: \n",
"https://www.adobe.com/acrobat/online/merge-pdf.html"

View file

@ -1161,11 +1161,16 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"To submit this assignment, first make sure that all the cells have been run and are showing the outputs that you expect. Then you can print this file to PDF. You must combine this PDF with a PDF from Part 2 of the bootcamp before submitting it to gradescope. \n",
"To submit this assignment, first make sure that all the cells have been run and are showing the outputs that you expect. Then you can print this file to PDF. If you've completed this assignment on the JupyterHub, then sometimes it can be difficult to export it directly as a PDF. One way is to export your notebook as HTML and then \"Print to PDF\" from the computer you're working on. You must combine this PDF with a PDF from Part 1 of the bootcamp before submitting it to gradescope. \n",
"\n",
"Here's a handy website that makes merging PDFs easy: \n",
"https://www.adobe.com/acrobat/online/merge-pdf.html"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": []
}
],
"metadata": {

View file

@ -5,14 +5,14 @@
"metadata": {},
"source": [
"\n",
"# <p style=\"text-align: center;\">PHYS 134L Spring 2024 Lab 1</p>"
"# <p style=\"text-align: center;\">PHYS 134L Spring 2025 Lab 1</p>"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<div class=\"alert alert-block alert-danger\"><b>Due date:</b> Sunday, April 14th, 2024 by 11:59pm, submitted through Canvas.</div>"
"<div class=\"alert alert-block alert-danger\"><b>Due date:</b> Sunday, April 13th, 2025 by 11:59pm, submitted through Canvas/Gradescope.</div>"
]
},
{

File diff suppressed because one or more lines are too long

View file

@ -4,14 +4,14 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# <p style=\"text-align: center;\">PHYS 134L Spring 2024 Lab 2</p>"
"# <p style=\"text-align: center;\">PHYS 134L Spring 2025 Lab 2</p>"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<div class=\"alert alert-block alert-danger\"><b>Due date:</b> Sunday, April 21th, 2024 by 11:59pm, submitted through Gradescope.</div>"
"<div class=\"alert alert-block alert-danger\"><b>Due date:</b> Sunday, April 20th, 2025 by 11:59pm, submitted through Gradescope.</div>"
]
},
{
@ -56,7 +56,7 @@
"metadata": {},
"source": [
"We'll begin by revisiting the same datafile that we used in Lab 1: ```object.fits```.\n",
"**In ds9, open \\texttt{object.fits}. Click on ''file/display\\_header'' to display the header.** The entries ''RA'' and ''Dec'' give the coordinates in the sky where the telescope was pointing while taking the image. Also notice the entry\n",
"**In ds9, open ```object.fits```. Click on ''file/display\\_header'' to display the header.** The entries ''RA'' and ''Dec'' give the coordinates in the sky where the telescope was pointing while taking the image. Also notice the entry\n",
"commented ``start time of the observation.'' This is the time (in Universal Time, or UT) when the shutter opened for the CCD image. UT corresponds to the local time on the prime meridian (longitude = 0 degrees), which passes through the observatory at Greenwich, England. This time zone is 8 hours ahead of Pacific Std Time, and 7 hours ahead of Pacific Daylight Time.\n"
]
},
@ -92,7 +92,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"**On a sheet of paper, sketch a map of the part of the sky where the image was taken large enough to include a couple of bright, named stars (please label them). Check out the [Stellarium website](https://stellarium-web.org/) if you need some help. Note that RA is defined so that as the Earth turns, the RA of objects on the meridian increases with time. Draw your map with N up and E to the left (as it would appear if you were facing the southern horizon). Attach the drawing to the end of this lab report before you submit it to gradescope.**"
"**On a sheet of paper, sketch a map of the part of the sky where the image was taken large enough to include a couple of bright, named stars (please label them). Check out the Stellarium app installed on the lab computers or the [Stellarium website](https://stellarium-web.org/) if you need some help. Note that RA is defined so that as the Earth turns, the RA of objects on the meridian increases with time. Draw your map with N up and E to the left (as it would appear if you were facing the southern horizon). Attach the drawing to the end of this lab report before you submit it to gradescope.**"
]
},
{
@ -511,7 +511,7 @@
"metadata": {},
"source": [
"The size of an astronomical image on the CCD detector depends on the effective focal length (usually abbreviated ''focal length'') of\n",
"the telescope. Here is a link to a quick primary on focal length: [Focal length and f/# explained](https://www.paragon-press.com/lens/lenchart.html). This part of the lab will use a fits file called ```cluster.fits``` that should have been downloaded to your JupyterHub account when you clicked the link for this notebook, but it can also be found on the Lab 2 tab on the Canvas site. "
"the telescope. This part of the lab will use a fits file called ```cluster.fits``` that should have been downloaded to your JupyterHub account when you clicked the link for this notebook, but it can also be found on the Lab 2 tab on the Canvas site. For the part of the lab, it may benefit to read ahead to Sections 2.2, 2.3 and 2.4 of Burns."
]
},
{
@ -523,6 +523,13 @@
"Explain the origin of the magic number 206264.80. If you get stuck here, read the the primer above and think about the relationship between radians and arcseconds.**"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "markdown",
"metadata": {},
@ -790,6 +797,13 @@
"source": [
"*You answer here*"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Don't forget to restart your JupyterHub Kernel and re-run all of your cells before submitting! "
]
}
],
"metadata": {

Binary file not shown.

File diff suppressed because one or more lines are too long

View file

@ -4,14 +4,15 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# <p style=\"text-align: center;\">PHYS 134L Spring 2024 Lab 3</p>"
"# <p style=\"text-align: center;\">PHYS 134L Spring 2025\n",
" Lab 3</p>"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<div class=\"alert alert-block alert-danger\"><b>Due date:</b> Sunday, April 28th, 2024 by 11:59pm, submitted through Gradescope.</div>"
"<div class=\"alert alert-block alert-danger\"><b>Due date:</b> Sunday, April 27th, 2024 by 11:59pm, submitted through Gradescope.</div>"
]
},
{
@ -304,7 +305,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Last lab, you estimated the angular sizes of a few stars; the largest size you should have computed was around 2~mas. You also computed the pixel scale in these images; you should have gotten a scale of around $0.^{\\prime \\prime}58$ arcsec/pixel. **Use these two numbers to estimate the angular size of a star in units of pixels. Please show your work for the unit conversion.**"
"If you were to estimate the expected sizes of some of the bigget and nearest stars you'd find that they're on the order of a few mas. You also computed the pixel scale in these images; you should have gotten a scale of around $0.^{\\prime \\prime}58$ arcsec/pixel. **Assuming a stellar diameter of 3mas, estimate the angular size of a star in units of pixels. Please show your work for the unit conversion.**"
]
},
{
@ -640,6 +641,13 @@
"source": [
"*Your answer here*"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Don't forget to restart your JupyterHub Kernel and re-run all of your cells before submitting! "
]
}
],
"metadata": {

View file

@ -4,14 +4,14 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# <p style=\"text-align: center;\">PHYS 134L Spring 2024 Lab 4</p>"
"# <p style=\"text-align: center;\">PHYS 134L Spring 2025 Lab 4</p>"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<div class=\"alert alert-block alert-danger\"><b>Due date:</b> Sunday, May 5th, 2024 by 11:59pm, submitted through Gradescope.</div>"
"<div class=\"alert alert-block alert-danger\"><b>Due date:</b> Sunday, May 4th, 2025 by 11:59pm, submitted through Gradescope.</div>"
]
},
{
@ -205,7 +205,7 @@
"\n",
"See the ```photutils``` documentation [here](https://photutils.readthedocs.io/en/stable/aperture.html) on aperture photometry. **Read up on the documentation and try it out yourself.**\n",
"\n",
"To get started quickly you can ignore some of these sections in the documentation: sky apertures, pixel masking, aperture masks, aperture photometry using Sky Coordinates. \n",
"To get started quickly you can ignore some of these sections in the documentation: pixel masking, aperture masks, aperture photometry using Sky Coordinates. \n",
"\n",
"**Extract photometry using circular apertures for all the sources you found using the DAOStarFinder. Don't forget to subtract off the background (using whatever method you settled on earlier) before calculating the photometry. What do you think the radius of your circular apertures should be and why?**"
]

BIN
Lab_4/cluster1.fits (Stored with Git LFS)

Binary file not shown.

View file

@ -4,14 +4,14 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# <p style=\"text-align: center;\">PHYS 134L Spring 2024 Lab 5</p>"
"# <p style=\"text-align: center;\">PHYS 134L Spring 2025 Lab 5</p>"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<div class=\"alert alert-block alert-danger\"><b>Due date:</b> Sunday, May 12th, 2024 by 11:59pm, submitted through Gradescope.</div>"
"<div class=\"alert alert-block alert-danger\"><b>Due date:</b> Sunday, May 11th, 2025 by 11:59pm, submitted through Gradescope.</div>"
]
},
{

View file

@ -4,14 +4,14 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# <p style=\"text-align: center;\">PHYS 134L Spring 2022 Lab 6</p>"
"# <p style=\"text-align: center;\">PHYS 134L Spring 2025 Lab 6</p>"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<div class=\"alert alert-block alert-danger\"><b>Due date:</b> Sunday, May 15th, 2022 by 11:59pm, submitted through Gradescope.</div>"
"<div class=\"alert alert-block alert-danger\"><b>Due date:</b> Sunday, May 18th, 2025 by 11:59pm, submitted through Gradescope.</div>"
]
},
{
@ -172,13 +172,6 @@
"*Your answer here*"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"I highly recommend you spend some time browsing some images of the Messier Catalog (look up the Hubble Space Telescope Messier Catalog) just for fun! They are gorgeous astronomical objects!"
]
},
{
"cell_type": "markdown",
"metadata": {},
@ -228,7 +221,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"**What is the average $\\Delta_x$ and $\\Delta_y?**"
"**What is the average $\\Delta_x$ and $\\Delta_y$?**"
]
},
{
@ -242,7 +235,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"**Use this offset to match up stars from your two lists, much like you did before matching your stars to the Source Extractor Catalog, but not taking advantage of the average delta x and delta y you just measured.** Just as before, you may find that some stars don't exist in both catalogs. Set a maximum $r$ value as a threshold above which you can say there is no reasonable match. **Make a list of indices that match one magnitude list (B or V magnitude) to the other.**"
"**Use this offset to match up stars from your two lists, much like you did before matching your stars to the Source Extractor Catalog, but now taking advantage of the average delta x and delta y you just measured.** Just as before, you may find that some stars don't exist in both catalogs. Set a maximum $r$ value as a threshold above which you can say there is no reasonable match. **Make a list of indices that match one magnitude list (B or V magnitude) to the other.**"
]
},
{
@ -258,14 +251,14 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Now we need to calibrate our B and V magnitudes using the sky-map website. Use 5 stars in the field to do an absolute calibration of the $B$ and $V$ magnitudes (we did this in Lab 4!). **Please state which stars you used and what zero points (ZP) you obtained in the table below.**"
"Now we need to calibrate our B and V magnitudes using the Aladin website. Use 5 stars in the field to do an absolute calibration of the $B$ and $V$ magnitudes (we did this in Lab 4!). **Please state which stars you used and what zero points (ZP) you obtained in the table below.**"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Star| Star Name | $B_{mag}$ | $B_{skymap}$ | $B_{ZP}$ |$V_{mag}$ | $V_{skymap}$ | $V_{ZP}$ \n",
"Star| Star Name | $B_{mag}$ | $B_{Aladin}$ | $B_{ZP}$ |$V_{mag}$ | $V_{Aladin}$ | $V_{ZP}$ \n",
"---|---|---|--- |--- |--- |--- |--- \n",
"1 |---|---|---|--- |--- |--- |--- \n",
"2 |---|---|---|--- |--- |--- |--- \n",
@ -342,7 +335,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
@ -356,7 +349,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.3"
"version": "3.9.16"
}
},
"nbformat": 4,