Advertisement
Guest User

Untitled

a guest
Sep 21st, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.86 KB | None | 0 0
  1. {
  2. "cells": [
  3. {
  4. "cell_type": "code",
  5. "execution_count": 1,
  6. "metadata": {
  7. "collapsed": true
  8. },
  9. "outputs": [],
  10. "source": [
  11. "import astropy as ay\n",
  12. "import numpy as np\n",
  13. "import matplotlib as mpl\n",
  14. "import matplotlib.pyplot as plt\n",
  15. "from astropy.io import ascii\n",
  16. "\n",
  17. "mpl.rcParams['figure.figsize'] = (10, 6)\n",
  18. "mpl.rcParams['font.size'] = 14\n",
  19. "import urllib.request"
  20. ]
  21. },
  22. {
  23. "cell_type": "markdown",
  24. "metadata": {},
  25. "source": [
  26. "# Astronomy 5830, HW 2\n",
  27. "\n",
  28. "## Lyra Cao\n",
  29. "\n",
  30. "### Problem 1:\n",
  31. "\n",
  32. "Signal-to-noise: An interesting object has been discovered with $r_{AB} = 22$ mag and you would\n",
  33. "like to observe it further. Note that the SDSS r-band has $\\lambda _c= 0.626 \\mu m$, $d \\lambda = 0.1064 \\mu m$, and the\n",
  34. "zeropoint of the AB magnitude system is $3631 Jy$.\n",
  35. "\n",
  36. "\n",
  37. "#### 1a. What is the flux zeropoint per unit wavelength $f _{\\lambda}$? Please use $[erg] [s^{-1}] [cm^{-2}] [A^{-1}]$"
  38. ]
  39. },
  40. {
  41. "cell_type": "markdown",
  42. "metadata": {},
  43. "source": [
  44. "#### Answer, 1a:\n",
  45. "\n",
  46. "\\begin{equation}\n",
  47. "f _{\\nu} = 3631 [Jy] = 3.631 \\times 10^3 \\times 10^{−23} [erg] [s^{−1}] [Hz^{−1}] [cm^{−2}] = 3.631 \\times 10^{−20} [erg] [s^{−1}] [Hz^{−1}] [cm^{−2}]\n",
  48. "\\end{equation}\n",
  49. "\n",
  50. "By the chain rule,\n",
  51. "\n",
  52. "\\begin{equation}\n",
  53. "\\frac{\\partial F}{\\partial \\lambda} = \\frac{\\partial F}{\\partial \\nu} \\frac{\\partial \\nu}{\\partial \\lambda}\n",
  54. "\\end{equation}\n",
  55. "\n",
  56. "So, since $f _{\\nu} \\equiv \\frac{\\partial F}{\\partial \\nu}$ and $f _{\\lambda} \\equiv \\frac{\\partial F}{\\partial \\lambda}$,\n",
  57. "\n",
  58. "\\begin{equation}\n",
  59. "f_{\\lambda} = f_{\\nu} \\left| \\frac{\\partial \\nu}{\\partial \\lambda} \\right|\n",
  60. "\\end{equation}\n",
  61. "\n",
  62. "\\begin{equation}\n",
  63. "c = \\lambda \\nu\n",
  64. "\\end{equation}\n",
  65. "\n",
  66. "So,\n",
  67. "\n",
  68. "\\begin{equation}\n",
  69. "\\nu = \\frac{c}{\\lambda}\n",
  70. "\\end{equation}\n",
  71. "\n",
  72. "\\begin{equation}\n",
  73. "\\frac{\\partial \\nu}{\\partial \\lambda} = -\\frac{c}{\\lambda ^2}\n",
  74. "\\end{equation}\n",
  75. "\n",
  76. "So,\n",
  77. "\n",
  78. "\\begin{equation}\n",
  79. "f_{\\lambda} = f_{\\nu} \\frac{c}{\\lambda ^2}\n",
  80. "\\end{equation}\n",
  81. "\n",
  82. "With our existing values for $f _{\\nu}$ in cgs units, we multiply by $c=2.99792458 \\times 10^{10}$, and divide by $\\lambda$ in Angstroms ($6260 A$) and $\\lambda$ in cm ($6.26 \\times 10^{-4} cm$).\n",
  83. "\n",
  84. "So,\n",
  85. "\n",
  86. "\\begin{equation}\n",
  87. "f_{\\lambda} = 3.631 \\times 10^{−20} [erg] [s^{−1}] [Hz^{−1}] [cm^{−2}] * 2.99792458 \\times 10^{10} [cm] [s^{-1}] * 1/6260 [A^{-1}] * 1/(6.26 \\times 10^{-4}) [cm^{-1}]\n",
  88. "\\end{equation}\n",
  89. "\n",
  90. "\\begin{equation}\n",
  91. "f_{\\lambda} \\approx 2.778 \\times 10^{-10} [erg] [s^{−1}] [cm^{−2}] [A^{-1}]\n",
  92. "\\end{equation}\n",
  93. "\n",
  94. "The flux zeropoint is $f_{\\lambda} \\approx 2.778 \\times 10^{-10} [erg] [s^{−1}] [cm^{−2}] [A^{-1}]$."
  95. ]
  96. },
  97. {
  98. "cell_type": "markdown",
  99. "metadata": {},
  100. "source": [
  101. "#### 1b. What is the zeropoint in [$\\gamma$][$s^{-1}$][$cm^{-2}$][$A^{-1}$]?"
  102. ]
  103. },
  104. {
  105. "cell_type": "code",
  106. "execution_count": null,
  107. "metadata": {
  108. "collapsed": true
  109. },
  110. "outputs": [],
  111. "source": []
  112. }
  113. ],
  114. "metadata": {
  115. "kernelspec": {
  116. "display_name": "Python 3",
  117. "language": "python",
  118. "name": "python3"
  119. },
  120. "language_info": {
  121. "codemirror_mode": {
  122. "name": "ipython",
  123. "version": 3
  124. },
  125. "file_extension": ".py",
  126. "mimetype": "text/x-python",
  127. "name": "python",
  128. "nbconvert_exporter": "python",
  129. "pygments_lexer": "ipython3",
  130. "version": "3.5.3"
  131. }
  132. },
  133. "nbformat": 4,
  134. "nbformat_minor": 0
  135. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement