key: cord-0197430-nnc9hrj3 authors: Nolan, Liam; Mechtley, Mira; Windhorst, Rogier; Knierman, Karen; Ashcraft, Teresa; Cohen, Seth; Tompkins, Scott; ASUSESE, Lisa Will; Tempe,; AZ,; USA,; SDCC,; Diego, San; CA, title: Interactive Cosmology Visualization Using the Hubble UltraDeep Field Data in the Classroom date: 2020-12-18 journal: nan DOI: nan sha: 5379ed1ce3da700f78d629738ab10507a9245e93 doc_id: 197430 cord_uid: nnc9hrj3 We have developed a Java-based teaching tool,"Appreciating Hubble at Hyper-speed"($textit{AHaH}$), intended for use by students and instructors in beginning astronomy and cosmology courses, which we have made available online. This tool lets the user hypothetically traverse the Hubble Ultra Deep Field (HUDF) in three dimensions at over $sim500!times!10^{12}$ times the speed of light, from redshifts $z!=!0$ today to $z!=!6$, about 1 Gyr after the Big Bang. Users may also view the Universe in various cosmology configurations and two different geometry modes - standard geometry that includes expansion of the Universe, and a static pseudo-Euclidean geometry for comparison. In this paper we detail the mathematical formulae underlying the functions of this Java application, and provide justification for the use of these particular formulae. These include the manner in which the angular sizes of objects are calculated in various cosmologies, as well as how the application's coordinate system is defined in relativistically expanding cosmologies. We also briefly discuss the methods used to select and prepare the images in the application, the data used to measure the redshifts of the galaxies, and the qualitative implications of the visualization - that is, what exactly users see when they"move"the virtual telescope through the simulation. Finally, we conduct a study of the effectiveness in this teaching tool in the classroom, the results of which show the efficacy of the tool, with over $sim$90% approval by students, and provide justification for its further use in a classroom setting. In beginning astronomy courses, many non-science majors appear to have a significant lack of understanding -even after taking the introductory courses -of basic concepts such as wavelength, the electromagnetic spectrum, the speed of light, lookback time, redshift, and the expansion of the Universe. We be-lieve this lack of concept acquisition or retention represents a significant shortcoming of the currently available teaching tools. While pictures, figures, and other static media are certainly effective at communicating many concepts, they tend to be poor at showing these effects in three dimensions, or those that evolve over time (e.g. Sadaghiani ) . Since virtually all cosmological effects require very large time or distance scales to become apparent, a different teaching medium is needed in this case. This is reflected by the well-established need in astronomy education to support the development of spatial skills, which strongly correlates with performance in all STEM disciplines (Cole et al., ). In addition, the education landscape is changing at a breakneck pace around us, with online learning quickly becoming a preferred option for reasons of convenience, access, and affordability, especially to students of limited means. At its extreme, in the case of large-scale threats to safety, online learning becomes mandatory, as has been so dramatically underlined by the recent outbreak of COVID-. As millions of students around the world moved from learning in a classroom to learning at home, it became evidently clear that modern classes require new tools for education. Nowhere is this more needed than in the laboratory-type complement to lecture-based learning, and online virtual tools stand to serve this purpose exceptionally well (e.g. Hoeling ). "Appreciating Hubble at Hyper-speed" (AHaH) is an educational tool that aims to address these issues of concept acquisition and retention by providing a visual and interactive learning medium. The project uses data from the Hubble Space Telescope (HST) Cycle Project "GRAPES" (Grism-ACS (Advanced Camera for Surveys) Program for Extragalactic Science; Pirzkal et al., ) to build a redshift-sorted database of over galaxies within the Hubble Ultra Deep Field (HUDF). As a simplified, brief explanation, if one begins Hubble's Law of the Universal Expansion (as per the FLRW model ), and combine with the Doppler approximation as valid for small redshifts v ≈ cz, one obtains and can see a galaxy's distance is proportional to redshift, z, divided by Hubble's constant, H . As these galaxies range from redshift z ≈ . to z ≈ , their distances span nearly % of the history of the Universe (Yan and Windhorst, ; Bouwens et al., ; Cohen et al., ; Windhorst et al., ) . Since these data represent the deepest optical images of the Universe ever obtained, they are thus uniquely suited to help students understand the effects of the expanding Universe. It is worth noting that for the AHaH Application, we developed a custom-balanced RGB version of the original HUDF image to eliminate bright areas being "burned out" and lacking fine detail (Lupton et al., ). This custom version is then displayed as semi-transparent, and images are attached to photometric redshifts measured using HyperZ (Bolzonella et al., ) using photometry from the publicly available HST optical and near-infrared images (Thompson et al., ) , as well as spectro-photometric redshifts from Ryan et al. ( ). A comparison of the original STScI color images and our prepared images is shown in Figure , and one can see examples of galaxies processed in this way in Figure . We explain this in more detail in § (Appendix B). For further discussion of the differences between the Hubble's redshiftdistance and velocity-distance laws, see Harrison ( ). We use H ≈ km/s/Mpc throughout (Planck Collaboration et al., ). A comparison of three images of HUDF galaxy . The left image is that from the original STScI release, clearly showing the bright, burned-out knots characteristic of the standard logarithmic image stretch. The center image is our prepared image using the arcsinh stretch described by Lupton et al. ( ), as it appears in the AHaH application. The right image is our prepared image against an artificially imposed chessboard pattern, showing the included transparency. Note that pixels outside the source are all completely transparent, since they have been removed entirely using the SourceExtractor segmentation map. Our prepared images of three galaxies from the HUDF, using the arcsinh stretch described by Lupton et al. ( ). Shown are galaxy (left), galaxy (center), and galaxy (right). As discussed in detail by Wright ( ), there are a number of different methods for calculating distances in cosmology. For our purposes, the most meaningful of these is the comoving radial distance, D R , representing the spatial separation of an object and an observer with zero peculiar velocity at a common cosmic time. This distance takes into account the expansion of the Universe, and so is more useful when dealing with distances on very large scales (and thus very large look-back times), as is the case with most galaxies in the HUDF. Henceforth, we shall adopt the convention of referring to the comoving radial distance from Earth to a galaxy as D R in Gpc , and the comoving coordinate distance between two arbitrary points in the coordinate system as r ij . As we begin to define different cosmological distances, we wish to note that there are many different distance definitions and naming conventions in cosmology which ultimately come down to three distances. For discussions and examples of the variety used in the literature see, for example, Kristian and Sachs ( ), Weinberg ( ), Peebles ( ), Longair ( ), Hogg ( ),, Ellis ( ), Etherington ( ), and Ellis ( ). We adopt the names comoving radial distance (D R ), angular size distance (D A ), and luminosity distance (D L ), with D A and D L being related by the "distance duality relation." Regardless of terminology or convenient approximations (i.e. Equation ( )), we carefully use the correct distance formalism "under the hood" to produce the visualization in AHaH. Returning to the development of the tool, we also wish to calculate the angular sizes of objects as they would be observed from redshifts other than zero. To do so, we need a formula for the angular size distance, D A . That is, the distance which satisfies the equation d ≈ θD A for an object with transverse linear Gpc = pc, and pc = . lightyear. diameter d subtending an angle θ in the field of view at any redshift in any relativistic cosmology. Following Ribeiro ( ), we note that the correct relation is between solid angle and l over D A , but in the small area of the HUDF we may linearize as previously stated. This is also important to allow the tool to run at a reasonable speed on consumer computers. In a simple Euclidean space, this is the same as the radial distance, but again we must take into account the expansion (and possible curvature) of the Universe, so we must use a separate equation for D A in the AHaH tool. Details on these definitions and equations are given in § (Appendix A). In addition, we need to consider how we wish to define the coordinate system for the objects within the Java tool. Although we have very deep HST imaging data that allow us to show how the Universe has changed over time, all of these data were collected at a common time ( / -). Moreover, the principal distance measure that we have available, the comoving radial distance D R , also assumes a common cosmic time. Thus the most sensible coordinate system is one with three spatial dimensions that makes all calculations for a common cosmic time, viz. when the data were collected. We can then contract the distances in this "comoving coordinate system" as necessary to simulate observations from redshifts greater than zero. The question remains of how we should derive such coordinates from the data that we have in such a way that they will be useful to us -this is discussed in § . in Appendix A, prior to deriving the equations. We detail our calculations in full in § (Appendix A), which we include for both completeness and instructional purposes -as these calculations should be comprehensible in an intermediate undergraduate-level cosmology coursebut are not necessary to follow for a demonstration of the tool's educational utility. Ultimately, we are able to develop a relationship between angular size distance and redshift, as well as a coordinate system, which is logical with our available data. We use these relationships (with a few simplifications for computational efficiency) to simulate the "motion" of our AHaH camera. While some might argue that the equations in § (Appendix A) speak for themselves, we believe it is very instructive to consider the qualitative implications to their user -that is, a description of what exactly we see when we "move" the camera in the Java application. For the sake of completeness, we will also detail a number of cosmological effects that have been omitted from the application due to technical limitations. An example of the standard display mode is shown in Figure . When we move the camera to a certain position in the HUDF (X, Y, Z) data cube, we are in general viewing the Universe as it would appear from that point and at that redshift. We must qualify this statement by noting that the simulation accounts only for cosmological effects of changing the camera positionno other dynamical, gravitational lensing, evolutionary, or other cosmological or physical effects are simulated. In this sense, AHaH thus truly, though hypothetically, allows the user to travel through the Universe at "hyper-speed." The highest virtual speed of ∼ × times the speed of light that AHaH uses to zoom into the HUDF database allows the observer to travel from z= to z < ∼ in a fraction of a minute, rather than in the ∼ . Gyr needed if the maximum "travel" speed were really limited to the speed of light c, as in the real Universe. As is covered in many introductory physics and astronomy classes, we use the Euclidean small angle approximation (SAA), where for a fixed object length l and a small angle θ: The HUDF data as viewed from redshift z = . in the AHaH application, using standard geometry mode, which properly calculates angular sizes. Note how the image is dominated by luminous red early-type galaxies at moderate redshifts of z < ∼ , where the Universe is older than billion years. where the distance to the object is D. In relativity, we use essentially the same equation, but replace D with D A , where D A is a complex function of redshift with a maximum at z ≈ . . Thus the relativistic SAA is: The somewhat counter intuitive relationship (called the Θz relation) between an object's angular size and its redshift in Relativistic Cosmology is readily apparent in the standard display mode. If a user slowly increases the redshift of the camera, high redshift objects will begin to decrease in angular size and move toward the center of the display, eventually reaching a minimum angular size (at redshift z . in standard ΛCDM cosmology (Planck Collaboration et al., )), and then increasing. Also visible are the effects of galaxy evolution and merging over time. For example, when viewing the Universe from redshift z = . as in Figure , there are many large spiral and elliptical galaxies visible. Note how the Universe is dominated by luminous red, early-type galaxies at moderate redshifts of z < ∼ in Figure . However, when viewing the Universe from redshift z = . as in Figure , the AHaH screen is dominated by small and compact blue galaxies. When zooming into the data at z > ∼ . , many of these objects are blue irregular, merging and/or star-forming galaxies. In Figure , all red ellipticals of Figure are now "behind us". This Universe at z > ∼ . is indeed the actively star-forming Universe, i.e., the first billion years after the Big Bang. It should be noted that the application does not make calculations for cosmological surface brightness dimming or changes in color due to redshift or spectral evolution. While certainly feasible to simulate, performing such image manipulation techniques on large numbers of galaxies in real-time is currently too difficult for consumer computers. Moreover, we must also recall that the HUDF data are limited in both magnitude and effective horizon by what could be observed from low Earth orbit. When we view the data from redshifts other than zero, we would expect to see more galaxies overall -includ-| Astronomy Education Journal, , Vol. , No. The HUDF data as viewed from redshift z = . in the AHaH application, using standard geometry mode. Note how this image is dominated by blue irregular and merging star-forming galaxies, and that all red ellipticals of Figure are now "behind us". This Universe at z > ∼ . is the actively star-forming Universe, where the Universe is younger than billion years. ing fainter galaxies -than are present in the current HUDF data. We could choose to simulate these objects as extensions of our data set if desired, but we felt this would not be particularly instructive, and could lead to potential confusion, as fainter galaxies would have to be continuously simulated in increasing numbers by the computer below Hubble's detection limit when traveling from z= today to z < ∼ (∼ Gyr after the Big Bang). Moreover, such simulations have a high degree of uncertainty, and by significantly increasing the size of the data set, would add prohibitively to the computation times. Likewise, we have chosen not to simulate galaxies outside of the original field, which would of course enter the camera's field of view as the user pans around. When a user presses the "G" key in the AHaH Java tool, they are told that they are viewing the simulation with "unexpanding angular geometry" turned on. What this means specifically is that angular sizes as derived above are no longer affected by the scale factor or curvature of the Universe. After we develop our original coordinates, as in Equation ( ), all calculations for angles are simply done with θ = θ E . This has the visual effect of all galaxies appearing smaller and closer to the center of the viewport (as can be seen in Figure as compared to , since all initial angles have been contracted by an expansion factor of ( + z) (when the curvature energy density Ω K is zero; see § for an explanation of the main energy densities at play in Relativistic Cosmology). In this static case, galaxies will also simply increase in angular size as we approach them, as opposed to the angular sizes of high-redshift objects in the real ΛCDM Universe (Planck Collaboration et al., ), which decrease, reach a minimum, and then increase again in angular size as the camera's redshift increases. This static mode of viewing the simulation has no physical analogue -it is simply meant to convey to the user that there are non-Euclidean aspects of the Universe's geometry, and that the The HUDF data as viewed from redshift z = in the AHaH application, using static geometry mode. This displays the entire HUDF, and one can see the evident "contraction" of the field of galaxies due to the lack of non-Euclidean geometry in the real HUDF data. (That is, the HUDF data in a relativistically expanding cosmology -when shown in Euclidean geometry -compresses all objects towards the image center, since the square cylindrical volume is now not undergoing the expansion, as it should). angular sizes that we observe in the present have been made larger due to the universal expansion. One should note that this display mode only considers expansion as it relates to angular size -the comoving radial distance is still calculated using the redshift and curvature factors that would not be present in a strictly Euclidean Universe. That is, in the static display mode, we assume that the Hubble Law distance, D = v/H ≈ (c/H )z, is simply a Euclidean distance unrelated to expansion. This is primarily because our method of calculating the comoving ra-dial distance relies using all object redshifts, which is a phenomenon specific only to an expanding Universe, and is therefore the only way we could calculate the distances for all galaxies in other -hypothetical -Universes. One additional capacity of the AHaH software we wish to note is the representation of wildly different universes from our own, in terms of the cosmological parameters used in the calculations above. As we have already noted, many students have difficulty with relatively esoteric concepts of the energy density parameters of the Universe, and how different portions dominate cosmic behavior over time. To briefly summarize for the reader, Ω M , Ω R , Ω Λ , and Ω K are the main cosmological parameters, which are the fractions of the Universe's total average energy density that are attributable to matter (M), radiation (R), dark energy (Λ), and the curvature of the spatial geometry (K), respectively. It is assumed these are the only relevant contributions to the total energy density Ω Tot , i.e. Ω Tot = Ω M + Ω Λ + Ω R + Ω K (with a spatially flat Universe having Ω Tot ≡ with Ω K = ). However, instead of leaving this to verbal and written descriptions (which can be obtuse), relying on a student's ability to mentally visualize these concepts, AHaH allows the student to form an approximate image of any cosmology with whatever parameters one could desire. By varying a single parameter, one can see the dramatic (or sometimes less so) impact on our vision of the Universe. We present as an example a massive increase in the vacuum energy density (or Einstein's cosmological constant) Ω Λ from . to . (as in Figure ) , which of course results in a Universe rapidly pushed outwards until just a few galaxies hypothetically remain in Hubble's field-of-view. This value was selected because at noticeably higher values of Ω Λ , all galaxies disappear nearly completely from view sooner. Of course, just as with the static viewing mode described above, this change in parameters does not produce a perfect representation of a Universe with these parameters, and what is simulated by the software has no physical analogue. However, the changes in display under extreme values of different constants is still instructive as to the effects of these different constants on the structure of the Universe. In order to test the effectiveness of this software in a real education environment, we conducted a study in astronomy classes at Arizona State University in the northern hemisphere fall semester of . It should be noted that due to the outbreak of COVID-, ASU classes were moved into a partially online Synchronous format for part/all of the northern hemisphere fall semester, thus introducing an additional variable as compared to a typical semester. This pandemic underlines the necessity of developing online laboratory tools which complement virtual instruction, thus we felt continuing with our study was particularly appropriate. We selected the introductory astronomy labs for non-majors (AST northern hemisphere Fall ) and for astronomy majors (SES northern hemisphere Fall ) for our study in order to focus on the target population mentioned abovestudents first being introduced to this type of astronomy content. Both classes are typically composed of first-year students, so the level of preparation is similar, though students pursuing astronomy majors tend to come into college with more back- The HUDF data as viewed from redshift z = in the AHaH application, using standard geometry mode, with a vacuum energy density parameter Ω Λ value increased from the default value of . to . . One can see that the extreme value causes most galaxies that are visible in the standard ΛCDM cosmology (Planck Collaboration et al., ) to disappear due to vastly increased expansion in this case. This value was selected because noticeably higher values of Ω Λ cause all galaxies to disappear entirely -we observers likely live in a relativistic Universe with a "little Lambda." ground information in our experience. We modified the curriculum of all sections of the lab in two different orders, and compared our results between the two orderings of labs. We requested the ASU Institutional Review Board (IRB) for approval to make this study in the AST and SES Lab classrooms, and their approval, containing all conditions for the study, was filed with ASU. Students who enrolled in these modified lab sections were informed that the new programs with our virtual tool would be available, and that this would not affect the course expectations or standards. We selected several exercises in the typical class curriculum in both labs for replacement with AHaH materials based on the advice of the course instructor as to which exercises could have their essential materials folded into other activities or the class lecture component. We then introduced in replacement of these exercises a series of exercises designed by members of our team for AHaH, all of which are available online . Students then conducted these exercises either on AST /SES Lab or their own home computers, with the same resources available to them as other activities in class (i.e. technical and subject-matter support from Teaching Assistants, instructor, etc.). Reasonable accommodations for learning and access difficulties as pursuant to University policy were made for, e.g., those students who needed to take this course remotely via the Zoom teleconference platform given their presence elsewhere during the COVID-pandemic. In addition, for visually impaired students, we made available the Astronomy Sound of the Month webpage for January , which has a full display of the HUDF image and plays a tone when one moves the mouse over a given galaxy, of varying pitch depending on the distance to that galaxy. All lab sections were led for these activities by a combination of Lab Teaching Assistants and the class , Vol. , No. instructor, as appropriate. In some cases, material covered by these AHaH exercises is not part of the subject matter typically evaluated by the course. However, the course instructor believed there was sufficient relation to course content, and students were made aware of this slight alteration. These subjects included, e.g.: galaxy morphology, Hubble's Law, galaxy evolution, the Θz relation, and cosmological parameters. . The first of the two student activities (referred to as "labs") we led students through in this class was on the subject of galaxy morphology . Students use the AHaH tool to "fly" through the universe and inspect the morphology of galaxies, either from an instructor-provided list or whichever they find interesting. In the latter case, students are encouraged to pick a variety of galactic morphologies, as they are then asked to classify the galaxies by the Hubble Classification Scheme, and identify various other features. Students then learn more about how different features can lead to conclusions about the populations of stars making up the galaxy. The general learning outcomes produced are: • Identify galaxies by appearance • Apply observed colors to the properties of its stars, and • Understand the differences between the different Hubble classification types. The second lab was on the subject of "Hubble's Law" , by which we mean the linear relationship found by Hubble between distance and redshift at low redshifts. In a similar fashion to the galaxy morphology lab, students move through the HUDF to inspect galaxies either from a list or of their choice, but in this case they use the built-in information pop-up on the galaxy to learn its redshift and comoving radial distance, D R . Students plot their data points, and then use the "Hubble Law" (the combination of the FLRW model Hubble Law and the Doppler approximation as given in Equation ( )) to calculate H from the slope of their graphs. A spreadsheet which would work out distances for higher redshifts was made available to students who wished to look at such galaxies. The general learning outcomes produced are: • Understanding the concept of redshift • Obtaining and performing calculations with data to produce universal properties (such as H ), and • Gaining familiarity with the expansion of the universe. These goals in particular address an established stumbling point in introductory undergraduate astronomy education -the curvature and behavior of the Universe -as described by Coble et al. ( ). The goals of these labs are well-described by the Anatomy of Disciplinary Discernment as laid out by Eriksson et al. ( ). For many students, the labs will serve to bring them from the first level, Disciplinary Identification (as students are expected to have been previously informed of terms such as "galaxy" and "redshift"), to the second level, Disciplinary Explanation, and be able to show how galactic properties distribute with redshift. For other students the labs may be able to bring them to the third level, Disciplinary Appreciation, as they grasp the "power" of Hubble's Law and other astronomical relations for astronomers to be able to describe the universe itself from the http://ahah.asu.edu/exercises/galmorph.pdf http://ahah.asu.edu/exercises/hubble.pdf Table , specifically for question on how well the tool helped the students' understanding of the lab content. trends of galaxies. We also see a few students actually take it upon themselves to learn more about how the standard calculations of the lab are approximations, and how these diverge at high redshifts -thus approaching the fourth and final level, Disciplinary Evaluation. We would also note that a third lab is available on our website concerning galaxy evolution , but was not used in our study. . At the end of the northern hemisphere fall semester class described above, we conducted a survey of students in the enhanced labs for their assessment of the utility of the AHaH tool, with questions shown in Table , and complete results shown in Figures , , and , and Table for the northern hemisphere fall class. As can be seen, % of students surveyed thought that AHaH was good to excellent in helping understanding of lab materials, % thought it was good to excellent in making the lab more interesting, and % thought that it was good to excellent in answering questions they had on the subject matter. Finally, throughout the semester students consistently expressed to instructors a preference for activities with AHaH, as well as greater ease of understanding with the tool. Teaching Assistants regularly reported notably higher amounts of positive feedback on AHaH-related labs as compared to standard lab exercises. In addition to in the classroom, AHaH has been and continues to be useful in a wide range of applications in STEM education. We have conducted several pilot programs to use this tool in outreach efforts through several events held on and about ASU campus. As in education, while static images have utility in outreach efforts with the general public, people young and old are far more likely to become and stay engaged with dynamic media, such as simulation. As previous studies have shown (e.g. Questions from survey used in northern hemisphere Fall AST /SES program. Response Type I understand that my responses will be used -without my name and in aggregate -in a journal article, and I consent to this use. How well did you feel AHaH and related labs aided your understanding of the content covered by these labs? Multiple Choice on scale of (Poor) to (Excellent) How well did you feel AHaH and related labs helped in making labs more interesting? Multiple Choice on scale of (Poor) to (Excellent) How well did you feel AHaH and related labs helped answer your questions about this material? Multiple Choice on scale of (Poor) to (Excellent) Other comments? Summary of results from northern hemisphere fall program, with number and percentage of responses to questions, and summary of comments from students. Each of the two categories above were rated on a scale of -, with being not at all and being excellently useful in this regard. We consider here responses of to be "Excellent," -to be "Good," and -to be " Comments Excited to use tool as visualization -many students were interested in the differences between galaxies visually, as well as getting an idea of differences in distances. Interface took getting used to -some students expressed an interest in the tool being redesigned as an app, or with more immediate information pop-ups. Summary of results from northern hemisphere fall study, detailed in Table , specifically for question on how interesting students found the tool. . Summary of results from northern hemisphere fall study, detailed in Table , specifically for question on how well the tool answered students' questions. Holzinger et al. ), simple dynamic media can improve the acquisition and retention of information. In the case of interactive simulation like AHaH, this is likely because the user becomes directly involved in shaping the course of their experience. In our program, this is exemplified by members of the public being able to pick out the galaxies they "fly" towards using AHaH, and can learn more details about these. These programs have shown a qualitative increase in participation by the general public in outreach activities, especially among young children or young adults. As many public educators will attest, half the battle is often getting the public to start using to an education opportunity. Thus the use of AHaH in the classroom is worth consideration by teachers, outreach developers, and organizers. We believe that our AHaH software provides students and instructors with an unique ability to interactively visualize many of the effects of a relativistically expanding Universe, among its other capabilities. The application should help clarify these concepts, and allow students to develop a deeper intuitive understanding of the material. Certain cosmological effects -such as bandpass shifting, k-correction, surface brightness dimming, gravitational lensing, and the effects of the magnitude limit and object sizes on the sample completeness limit -have been largely omitted due to computational limitations, but we believe these to be not essential for the understanding of the included effects. For a discussion of these more technical effects, see e.g., Windhorst et al. ( ). In addition, our brief study of the utility of the program in the classroom meets our expectations of its impact on learning, and lends support to our recommendation that further virtual tools be developed in support of online classrooms. We also recommend the use of this tool in other public education and science outreach efforts for its utility in quickly engaging the public. For the convenience of those who wish to see or modify the particular implementation of the above formulae within the Java software, we have provided source code with the standard distribution of the tool. It is included in the src/ directory of ahah.jar, and may be extracted using the java jar utility or any zlib-compatible de-compressor such as unzip. The tool may be downloaded from the AHaH website . Further details on AHaH download instructions and installation are given in the AHaH user manual, available on the tool website. Virtually any modification or redistribution of the application is permitted, with the following caveats: • Any redistribution must retain the original copyright notice and license file, either with the source code or with the documentation in the case of binary distributions. • The names of the copyright holders, contributors, and associated institutions may not be used to endorse or promote any derivative works without prior permission. The application's source code is provided with the standard distribution. The data used to develop the teaching tool is available through the sources we cite throughout the paper. As part of our Institutional Review Board agreement, our data may only be published and discussed in aggregate, so we cannot make available our raw survey data. List of abbreviations Ethical Approval As noted above, we filed for and received approval with the ASU Institutional Review Board to conduct our survey in the AST and SES Lab classrooms, and their approval, containing all conditions for the study, was filed with ASU. Students were informed of the new content that would be part of the class, and that there would be a non-graded, optional survey at the end of class concerning the AHaH tool. All participants in the survey, as indicated in our procedures, gave consent that they were over years of age and that their responses would be reported in aggregate. . Not applicable, see above. . The authors declare that they have no competing interests. We acknowledge student support from the Arizona State University NASA Space Grant (to LJN and MRM). We acknowledge support from Hubble Space Telescope grants HST-GO-. -A, HST-GO-. -A, HST-EO-. -A and HST-EO-. -A from STScI, which is operated by AURA for NASA under contract NAS -. RAW acknowledges support from NASA JWST Interdisciplinary Scientist grants NAG-, NNX AN G and NSSC K from GSFC. . LN was the general project lead, developed the survey and other in-classroom components, completed IRB procedures, and wrote the majority of the text on background and program applications. MM led development of the AHaH code and wrote much of the initial technical paper on the tool's function. RW was in charge of general project management and oversight, as well as geometric formalism, development of related labs, and assisted with paper modification. KK, LW, TA, and RW were in charge of various labs and accommodating the AHaH survey. SC helped with the data preparation for the tool, and assisted in paper development. ST gave general project assistance. rent educational research. We also thank the wonderful Teaching Assistants of AST and SES : Angelica Berner, Katherine Elder, Ebraheem Farag, Connor Gelb, Jake Hanson, Isabela Huckabee, Darby tor of /( + z i ) to get the comoving distance from z i to z j as measured by the observer at z i (r i in Equation ( ) above). This is because the proper spatial separation in the current epoch has been stretched by the Universe's expansion, so as seen by an observer at redshift z i it must be scaled appropriately. Hence, the equivalent Euclidean distance between any two points is D E = r /( + z i ), in which case we get the Euclidean small-angle approximation back: d = θ E D E . Thus canceling r , we get the following expression for θ E from Equation ( ): In our initial data z i is simply zero, so that we create coordinates (X, Y, Z) for an object at redshift z like: and similarly for Y and Z. We have thus developed a coordinate system of X, Y, and Z in comoving Mpc with the original telescope position at the origin. . Now, when we "move" the Hubble camera virtually to higher redshifts, we do so by moving to some new (Xc, Yc, Zc) value in the coordinate space. (Note that AHaH does not only "virtually violate the laws of physics" by moving the observer into the HUDF images at ∼ × times the speed of light, but it also has no problem "violating the arrow of time" by allowing the user to move back and forth in redshift through the sorted HUDF image data cube). By construction, the distance measure here is just the Euclidean coordinate distance: Now to determine where to display an object after we have "moved" the camera, we use the distance calculated with Equation ( ) and the Euclidean angular size. Using the redshift of the object of interest, zo, and the camera's user-defined redshift, zc, we rearrange Equation ( ) to get: Here δ ij follows from Equation ( ) and Equation ( ) for an object at redshift z j as observed from redshift z i . In this case, θ E is a quantity that we must calculate from our coordinates in the usual Euclidean way. For an object's angular size it is even simpler than for its (X, Y, Z) position, since we do not have to manually calculate θ E . We know that in the Euclidean case: where θ is the Euclidean angular size from redshift zero, and D E is the coordinate distance from the camera to the object from Equation ( ). We then solve for θ E in Equation ( ), θ E = θ D R /D E , and substitute back into Equation ( ) to obtain an expression for the desired angular size θ for any object at redshift zo as observed from zc: To develop the images used in AHaH we first created a custombalanced RGB version of the HUDF image . While the image provided in the original press releases would have been adequate, it has the undesirable characteristic that very bright areas, such as bulges in large spiral galaxies, appear burned-out and lack fine detail. The HUDF data used was taken to roughly equal depths in the B-, V-, i -, and z -band filters, which have central wavelengths of ∼ (Blue), (Visual), (Red), and Å (near-Infrared), respectively (Beckwith et al., ), so we created a three-channel color image by first combining the B-and V-bands, applying weights based on the sky signalto-noise ratio . We then used the algorithm developed by Lupton et al. ( ) to create the combined RGB image, with the combined B+V-bands as the blue channel, the i -band as the green channel, and the z -band as the red channel . Besides showing more detail in bright areas, this method has the added benefit that an object with a specified astronomical color has a unique color in the composite RGB image. A comparison of the original STScI color images and our prepared images is shown in Figure . The full HUDF image using this color preparation technique is also available as an interactive map online . One can see examples of galaxies processed in this way in Figure . The galaxies represented in the AHaH application were iband ( Å) selected using the SourceExtractor algorithm (Bertin and Arnouts, ; Bertin et al., ) with a detection threshold of . × the rms noise level ( . σ) above the local sky. The i -band (at z ≈ ) dropouts of Yan and Windhorst ( ) were added by hand. We then created color JPEG "stamp" images for each individual object, using the SourceExtractorgenerated segmentation map to mask as black any pixels outside the detected source. These "stamps" were then converted pixel-for-pixel to PNG images, which employ a lossless compression algorithm -no image quality was thus lost. We then developed a transparency map based on each pixel's brightness, which was saved into the PNG alpha channel . The resulting images can thus be displayed as semi-transparent, allowing objects in the distance to show through the dim regions of objects in the foreground, as is also possible in the real Universe. Photometric redshifts for the galaxies were measured with the HyperZ package (Bolzonella et al., ), using a combination of the original HST-ACS four-band (BVi z ) data from the HUDF, along with Y-, J-and H-band near-IR data from HST NICMOS (Near Infrared Camera and Multi-Object Spectrometer) (Thompson et al., ). We have supplemented the edu/acsihb. http://ahah.asu.edu/clickonHUDF/index.html The alpha channel of a PNG contains the "transparency" of each pixel, which is more straightforwardly the opacity of the pixel. For more, see the PNG specification page from w : https://www.w3.org/TR/PNG-DataRep. html. FIGS-Faint Infrared Grism Survey: Description and Data Reduction GRAPES, Grism Spectroscopy of the Hubble Ultra Deep Field: Description and Data Reduction The Great Observatories Origins Deep Survey. VLT/ISAAC near-infrared imaging of the GOODS-South field The Galaxy Luminosity Function at z~= in the HUDF: Probing the Dwarf Population Using multimedia learning modules in a hybrid-online course in electricity and magnetism Gravitation and cosmology The Hubble Space Telescope Wide Field Camera Early Release Science Data: Panchromatic Faint On the Observability of Individual Population III Stars and Their Stellar-mass Black Hole Accretion Disks through Candidates of z~= . -Galaxies in the Hubble Space Telescope Ultra Deep Field. APJL We thank Dr. Ned Wright for helpful discussion early in the project. We sincerely appreciate comments from both reviewers of this paper, which helped us better anchor our work in the historical context, and better suit the audience of AEJ and cur- Here we include our derivations of the math used in AHaH at a level appropriate for an intermediate undergraduate cosmology class .. To begin, we need the comoving radial distance, D R , from the Earth to an object at redshift z, derived from the Robertson-Walker metric, as discussed previously, e.g., Longair (Ch. ), Eqs. . and . of Ryden ( ), and Eq. of Wright ( ). We express this as the integral:where the scale factor a = /( + z). The derivative of a with respect to time,ȧ, is given by the expression:where Ω M , Ω R , Ω Λ , and Ω K are energy density parameters, corresponding to the fractions of the Universe's total average energy density that are attributable to matter (M), radiation (R), dark energy (Λ), and the curvature of the spatial geometry (K), respectively. Note that it is assumed these are the only relevant contributions to the total energy density Ω Tot . That is, we as- , Ω Λ = . , Ω R = ×with Ω K = .We evaluate this integral in steps of .in z from z = to z = to create a look-up table, interpolating linearly to find the value for any arbitrary redshift in between these discrete steps. This is because we must make the calculation frequently and for many objects, so computing the integral manually every time would be computationally prohibitive. The resulting error in this method is generally small enough that it translates to less than one pixel's difference even on high-resolution displays, so this error can safely be ignored for the purposes of the application. We evaluate the integral using the simple midpoint method, which may not be the optimal solution, but was simple to implement and adequately efficient on any home computer. As with the linear interpolation, higher accuracy numerical integration would result in less than one pixel's difference when displayed. To develop the angular size distance, D A , we first need to develop a generalized form of the comoving radial distance D R , to express the distance measure to an object at redshift z j as measured by an observer at redshift z i . This distance is given by the formula:where is the radius of curvature of the spatial geometry at redshift z i , and r i is the value of the comoving coordinate distance at the same redshift (Longair, ; Wright, ) . These correspond to the cases where the spatial geometry of the Universe is spherically curved, flat, and hyperbolically curved, respectively. Recalling that both r ij and scale as /( + z i ), and that = (c/H )/ |Ω K |, we next define an intermediate quantity U, representing the argument of sin and sinh in Equation ( ) above:We note that since U now depends only upon the cosmology selected by the user and the object's redshift, we may calculate U once per object and re-use it, thus saving CPU time. Using this quantity, we may now rewrite D R as:Here, δ(U) is simply some function of U. By substituting U into Equation ( ) above, we get the following expression for δ(U):Note that δ(U) expressly depends upon r . The case where Ω K = comes from the limit of both sin(U)/U and sinh(U)/U as Ω K → -one may observe that in this case Equation ( ) simplifies to r /( + z i ), which is precisely r i as in Equation ( ), since as observers we start our AHaH journey at z i = . When we expand with AHaH into the HUDF galaxy database as it is sorted in redshift, the observer's redshift can take any value < ∼ z i < ∼ , although the current set of HUDF postage stamp images does not have any galaxies with z > ∼ . We intend to expand this with a future version of AHaH based on the full data set summarized in Windhorst et al. ( ). Thus, using our Equation ( ) and the equation relating the angular size distance and the distance measure as developed by Longair ( , Eq. . ), the angular size distance from redshift z i to z j is given by: Now that we have developed formulae for D R and D A , we can consider the best way to create a coordinate system for the Java application. The data we start with are the redshift z j of object j (with which we can calculate D R ) and four angles: the object's angular size (from the height and width of its image) and the angular separation between the object and the x and y axes, which we define as lines going through the center of the original image. These angles are calculated by taking the corresponding size in pixels and multiplying by the scale in arcsec/pixel of the original HST image . We would like to use this information to create a coordinate system with the original telescope position at the origin. In a Euclidean space this would present no problem, but we have already remarked that the observed angles are not the same in an expanding Universe as they would be in a Euclidean space. Further, it would be desirable for the Euclidean coordinate distance to correspond to the comoving radial distance, as this would make calculations significantly simpler. We can accomplish this, but when we create coordinates for each object as such, we need to "correct" the observed angles. That is, we want a "Euclidean angular size" associated with a certain observed angular size. We will call this θ E . An object's angular size is related to its physical transverse diameter, d, by the following equation which derives from Equation ( ):Note that in the Euclidean case we must contract r by a fac-The HUDF mosaics used have been drizzled to a scale of . per pixel photometric redshifts with spectro-photometric redshifts measured by Ryan et al. ( ) , which incorporate the aforementioned BVi z JH data, as well as grism spectra from GRAPES (Pirzkal et al., , ) , the U-band observations from CTIO (Cerro Tololo Inter-American Observatory) Mosaic II (Dahlen et al., ) , and Ks-band data from VLT-ISAAC (Very Large Telescope -Infrared Spectrometer And Array Camera, e.g. Retzlaff et al. ( )). For a summary of all these data and the quality of the spectro-photometric redshifts, see Ryan et al. ( ). When available, we have chosen to use the more reliable spectrophotometric redshifts.