SlideShare a Scribd company logo
1 of 86
Python and MongoDB
                                       in Astronomy




Dan Foreman-Mackey
Center for Cosmology and Particle Physics
Department of Physics @ NYU


                                   In collaboration with:
                      David W. Hogg (NYU), Larry Widrow (Queen’s),
                     Dustin Lang (Princeton), Jonathan Sick (Queen’s),
                         Micha Gorelick (NYU) and many others...
Astronomy 101


               How to Study the Cosmos


                     Python, MongoDB, etc.


                         Case Studies


Dan Foreman-Mackey                              CCPP@NYU
                                             dfm.github.com
Astronomy 101


               How to Study the Cosmos


                     Python, MongoDB, etc.


    Andromeda Case Studies The Internet
              The Milky Way



Dan Foreman-Mackey                              CCPP@NYU
                                             dfm.github.com
The Universe


                       Galaxies


                        Stars


                       Planets


Dan Foreman-Mackey                     CCPP@NYU
                                    dfm.github.com
What is the           The Universe
 Universe
Made of?
                        Galaxies


                         Stars


                        Planets


 Dan Foreman-Mackey                     CCPP@NYU
                                     dfm.github.com
What is the           The Universe
 Universe
Made of?
                        Galaxies


                         Stars
                                        Are there
                                      other Earth-
                        Planets      like planets?



 Dan Foreman-Mackey                       CCPP@NYU
                                       dfm.github.com
What is the           The Universe
 Universe
Made of?
                        Galaxies


                         Stars
                                        Are there
                                      other Earth-
                        Planets      like planets?



 Dan Foreman-Mackey                       CCPP@NYU
                                       dfm.github.com
What is the Universe Made of?




Dan Foreman-Mackey           CCPP@NYU
                          dfm.github.com
What is the Universe Made of?




                        Source: Wikipedia (Adam Evans)




Dan Foreman-Mackey                    CCPP@NYU
                                   dfm.github.com
What is the Universe Made of?

         Rotational Speed




                            Radius




Dan Foreman-Mackey                      CCPP@NYU
                                     dfm.github.com
What is the Universe Made of?

                            Observed
         Rotational Speed




                            Radius




Dan Foreman-Mackey                        CCPP@NYU
                                       dfm.github.com
What is the Universe Made of?

                            Observed
         Rotational Speed

                                 WTF?




                            Radius




Dan Foreman-Mackey                         CCPP@NYU
                                        dfm.github.com
What is the Universe Made of?

         Rotational Speed   ?   Observed


                                     WTF?




                                Radius




Dan Foreman-Mackey                             CCPP@NYU
                                            dfm.github.com
What is the Universe Made of?

         Rotational Speed   ?   Observed


                                     WTF?




                                Radius
                                                 ?

Dan Foreman-Mackey                             CCPP@NYU
                                            dfm.github.com
What is the Universe Made of?

                                Observed
         Rotational Speed

                                     WTF?




                                Radius
                                                 ?
                            ?
Dan Foreman-Mackey                             CCPP@NYU
                                            dfm.github.com
What is the Universe Made of?




                     Dark Matter
Dan Foreman-Mackey                    CCPP@NYU
                                   dfm.github.com
What is the Universe Made of?
           Size of the Universe




                                                             PyGotham
   b le
     rva
obse




                                  Time
                                         Source: NASA / WMAP Science Team




       Dan Foreman-Mackey                                 CCPP@NYU
                                                       dfm.github.com
What is the Universe Made of?


                          Dark Energy
                             73%


        Heavy
       Elements
        0.03%
                      Dark Matter
                         23%
              Atoms
               4%


                                        Source: NASA / WMAP Science Team
                                            WMAP Year 7 (Larson et al. 2011)



Dan Foreman-Mackey                                         CCPP@NYU
                                                        dfm.github.com
What is the Universe Made of?


                                             Dark Energy
                                                73%
Source: DFM & Widrow (in prep)

                          Heavy
                         Elements
                          0.03%
                                         Dark Matter
                                            23%
                                 Atoms
                                  4%


                                                           Source: NASA / WMAP Science Team
                                                               WMAP Year 7 (Larson et al. 2011)



             Dan Foreman-Mackey                                               CCPP@NYU
                                                                           dfm.github.com
What is the Universe Made of?                        Source: http://apod.nasa.gov




                                             Dark Energy
                                                73%
Source: DFM & Widrow (in prep)

                          Heavy
                         Elements
                          0.03%
                                         Dark Matter
                                            23%
                                 Atoms
                                  4%


                                                           Source: NASA / WMAP Science Team
                                                               WMAP Year 7 (Larson et al. 2011)



             Dan Foreman-Mackey                                               CCPP@NYU
                                                                           dfm.github.com
What is the Universe Made of?                        Source: http://apod.nasa.gov




                                             Dark Energy
                                                73%
Source: DFM & Widrow (in prep)

                          Heavy
                         Elements
                          0.03%
                                         Dark Matter
                                            23%
                                 Atoms
                                  4%


                                                           Source: NASA / WMAP Science Team
                                                               WMAP Year 7 (Larson et al. 2011)



             Dan Foreman-Mackey                                               CCPP@NYU
                                                                           dfm.github.com
Dan Foreman-Mackey                          CCPP@NYU
                     Credit: The Millennium Simulation Project
                                         dfm.github.com
Dan Foreman-Mackey                          CCPP@NYU
                     Credit: The Millennium Simulation Project
                                         dfm.github.com
Dan Foreman-Mackey                          CCPP@NYU
                     Credit: The Millennium Simulation Project
                                         dfm.github.com
Data in Astronomy




Dan Foreman-Mackey                      CCPP@NYU
                                     dfm.github.com
Data in Astronomy




                                 Credit: Jonathan Sick
                                       jonathansick.ca



Dan Foreman-Mackey                   CCPP@NYU
                                  dfm.github.com
Data in Astronomy




                                 Credit: Jonathan Sick
                                       jonathansick.ca



Dan Foreman-Mackey                   CCPP@NYU
                                  dfm.github.com
Data in Astronomy




              MegaCam: 340 MegaPixels   Credit: Jonathan Sick
                                              jonathansick.ca



Dan Foreman-Mackey                          CCPP@NYU
                                         dfm.github.com
Data in Astronomy




              MegaCam: 340 MegaPixels       Credit: NASA




Dan Foreman-Mackey                         CCPP@NYU
                                        dfm.github.com
Data in Astronomy
                     Imaging




                                 Source: NASA / ESA




Dan Foreman-Mackey                  CCPP@NYU
                                 dfm.github.com
Data in Astronomy
            Imaging

                             Spectroscopy




                                       Source: NASA / ESA




Dan Foreman-Mackey                        CCPP@NYU
                                       dfm.github.com
Data in Astronomy
                      Source: Riaud & Schneider (2007)


            Imaging
                          Spectroscopy
                                                         Spectroscopy




                                                                   Source: NASA / ESA




Dan Foreman-Mackey                                                    CCPP@NYU
                                                                   dfm.github.com
Data in Astronomy
                      Source: Riaud & Schneider (2007)


            Imaging
                          Spectroscopy
                                                         Spectroscopy




                                                                   Source: NASA / ESA




Dan Foreman-Mackey                                                    CCPP@NYU
                                                                   dfm.github.com
a
                   Data in Astronomy
                  lot
                        is Open
                        of




Dan Foreman-Mackey                        CCPP@NYU
                                       dfm.github.com
a
                   Data in Astronomy
                  lot
                        is Open
                        of


                                                     !
                             and there’s a lot of it




Dan Foreman-Mackey                                          CCPP@NYU
                                                         dfm.github.com
Data in Astronomy is Open
         1990–                    2000–          1997–2001
                               SDSS
Hubble archive.stsci.edu/hst          sdss.org
                                                               2MASS
                                                 www.ipac.caltech.edu/2mass




                               GAIA
Pan-STARRS                                                       LSST
                                  Planned

Dan Foreman-Mackey                                                  CCPP@NYU
                                                                 dfm.github.com
Data in Astronomy is Open
         1990–                    2000–          1997–2001
                               SDSS
Hubble archive.stsci.edu/hst          sdss.org
                                                               2MASS
                                                 www.ipac.caltech.edu/2mass




                               GAIA
Pan-STARRS                                                       LSST
                                  Planned

Dan Foreman-Mackey                                                  CCPP@NYU
                                                                 dfm.github.com
Data in Astronomy is Open
         1990–                    2000–          1997–2001
                               SDSS
Hubble archive.stsci.edu/hst          sdss.org
                                                               2MASS
                                                 www.ipac.caltech.edu/2mass




                               GAIA
Pan-STARRS                                                       LSST
                                  Planned

Dan Foreman-Mackey                                                  CCPP@NYU
                                                                 dfm.github.com
Where does Python fit in?




Dan Foreman-Mackey               CCPP@NYU
                              dfm.github.com
Where does Python fit in?




Dan Foreman-Mackey                    CCPP@NYU
                                   dfm.github.com
Where does Python fit in?




Dan Foreman-Mackey                    CCPP@NYU
                                   dfm.github.com
Where does Python fit in?




Dan Foreman-Mackey                    CCPP@NYU
                                   dfm.github.com
Where does Python fit in?




Dan Foreman-Mackey                    CCPP@NYU
                                   dfm.github.com
Where does Python fit in?




                                 +
                        Scientific Python Stack




Dan Foreman-Mackey                                  CCPP@NYU
                                                 dfm.github.com
Where does Python fit in?




                                 +
                        Scientific Python Stack




Dan Foreman-Mackey                                  CCPP@NYU
                                                 dfm.github.com
Where does Python fit in?




                                 +
                        Scientific Python Stack




Dan Foreman-Mackey                                  CCPP@NYU
                                                 dfm.github.com
What about             ?

                       Easy
                      Flexible
                     Pythonic
                      Scalable

Dan Foreman-Mackey                   CCPP@NYU
                                  dfm.github.com
Case Studies




Dan Foreman-Mackey                     CCPP@NYU
                                    dfm.github.com
Case Studies
                     Variable Stars in Stripe 82
           SDSS




Dan Foreman-Mackey                        CCPP@NYU
                                       dfm.github.com
Case Studies
                                        Variable Stars in Stripe 82
           SDSS

          728                                           SESAR ET AL.

                                                                                 Ses

                                                                     S07 Labela Ntot
                                                                       A          84
                                                                       B         144
                                                                       C          54
                                                                       D          8
                                                                       E          11
                                                                       F          11
                     Source: Sesar et al. (2010)                       G          10
                                                                       H          7
                                                                       I          4
                                                                       J          26
                                                                       K          8
Dan Foreman-Mackey                                           CCPP@NYU  L          3
                                                          dfm.github.com
                                                                       M          5
Case Studies
                     Variable Stars in Stripe 82
           SDSS




Dan Foreman-Mackey                        CCPP@NYU
                                       dfm.github.com
Case Studies
                     Variable Stars in Stripe 82
           SDSS




Dan Foreman-Mackey                        CCPP@NYU
                                       dfm.github.com
Case Studies
                           Variable Stars in Stripe 82
           SDSS


         800k “Fields” ~ 12TB Imaging data
                > 1M “Target Stars”




Dan Foreman-Mackey                              CCPP@NYU
                                             dfm.github.com
Case Studies
                                         Variable Stars in Stripe 82
           SDSS
             Photons/Brightness




                                  Time

Dan Foreman-Mackey                                            CCPP@NYU
                                                           dfm.github.com
Case Studies
                                         Variable Stars in Stripe 82
             SDSS
             Y N
p(X|⇥) =               [(1   Pvar )pconst (X ↵ |⇥) + Pvar pvar (X ↵ |⇥)]
              ↵=1




  Dan Foreman-Mackey                                          CCPP@NYU
                                                           dfm.github.com
Case Studies
                                         Variable Stars in Stripe 82
             SDSS
             Y N
p(X|⇥) =               [(1   Pvar )pconst (X ↵ |⇥) + Pvar pvar (X ↵ |⇥)]
              ↵=1
            Stars




  Dan Foreman-Mackey                                          CCPP@NYU
                                                           dfm.github.com
Case Studies
                                                     Variable Stars in Stripe 82
                       SDSS
                       YN
 p(X|⇥) =                    [(1     Pvar )pconst (X ↵ |⇥) + Pvar pvar (X ↵ |⇥)]
                       ↵=1
                       Stars
           M
           Y                                                 M
                                                             Y
pconst ⌘         [(1    Pbad )pgood + Pbad pbad ]   pvar ⌘         [(1   Pbad )pvar,good + Pbad pbad ]
           i=1                                               i=1




     Dan Foreman-Mackey                                                             CCPP@NYU
                                                                                 dfm.github.com
Case Studies
                                                     Variable Stars in Stripe 82
                       SDSS
                       YN
 p(X|⇥) =                    [(1     Pvar )pconst (X ↵ |⇥) + Pvar pvar (X ↵ |⇥)]
                       ↵=1
                       Stars
           M
           Y                                                 M
                                                             Y
pconst ⌘         [(1    Pbad )pgood + Pbad pbad ]   pvar ⌘         [(1   Pbad )pvar,good + Pbad pbad ]
           i=1                                               i=1

     Runs                                               Runs




     Dan Foreman-Mackey                                                             CCPP@NYU
                                                                                 dfm.github.com
Case Studies
                                                        Variable Stars in Stripe 82
                       SDSS
                       YN
 p(X|⇥) =                    [(1        Pvar )pconst (X ↵ |⇥) + Pvar pvar (X ↵ |⇥)]
                       ↵=1
                       Stars
           M
           Y                                                     M
                                                                 Y
pconst ⌘         [(1    Pbad )pgood + Pbad pbad ]      pvar ⌘          [(1   Pbad )pvar,good + Pbad pbad ]
           i=1                                                   i=1

      Runs                                                   Runs
                       ⇤                                                     ⇤
  pgood ⌘ N (Ci↵ |fi0 f↵ ,     2
                               i↵   +   2
                                        i↵ )        pvar,good ⌘ N (Ci↵ |fi0 f↵ ,     2
                                                                                     i↵   +   2
                                                                                              i↵   + ⌃2 )
                                                                                                      var
                 “Constant & Good”                   “Variable & Good”

                                                 ⇤
                             pbad ⌘ N (Ci↵ |fi0 f↵ ,    2
                                                        i↵   +   2
                                                                 i↵    + ⌃2 )
                                                                          bad
                                                “Bad”

      Dan Foreman-Mackey                                                                CCPP@NYU
                                                                                     dfm.github.com
Case Studies
                                                        Variable Stars in Stripe 82
                       SDSS
                       YN
 p(X|⇥) =                    [(1        Pvar )pconst (X ↵ |⇥) + Pvar pvar (X ↵ |⇥)]
                       ↵=1
                       Stars
           M
           Y                                                     M
                                                                 Y
pconst ⌘         [(1    Pbad )pgood + Pbad pbad ]      pvar ⌘         [(1   Pbad )pvar,good + Pbad pbad ]
           i=1
                Npars = Nstars + Nruns + 6
                                         i=1

      Runs      ~ 0 , ~ ⇤ , , ⌘, ⌃2 , PRuns , Pbad }
                                              2
           ⇥ = {f f               var  var , ⌃bad
                       ⇤                                                     ⇤
  pgood ⌘ N (Ci↵ |fi0 f↵ ,     2
                               i↵   +   2
                                        i↵ )        pvar,good ⌘ N (Ci↵ |fi0 f↵ ,    2
                                                                                    i↵   +   2
                                                                                             i↵   + ⌃2 )
                                                                                                     var
                 “Constant & Good”                   “Variable & Good”

                                                 ⇤
                             pbad ⌘ N (Ci↵ |fi0 f↵ ,    2
                                                        i↵   +   2
                                                                 i↵   + ⌃2 )
                                                                         bad
                                                “Bad”

      Dan Foreman-Mackey                                                               CCPP@NYU
                                                                                    dfm.github.com
Case Studies
                     Variable Stars in Stripe 82
           SDSS




Dan Foreman-Mackey                        CCPP@NYU
                                       dfm.github.com
Case Studies
                     Variable Stars in Stripe 82
           SDSS




Dan Foreman-Mackey                        CCPP@NYU
                                       dfm.github.com
Case Studies
                                  Variable Stars in Stripe 82
           SDSS
                                N
                                Y
                     p(X|⇥) =         [(1   Pvar )pconst (X ↵ |⇥) + Pvar pvar (X ↵ |⇥)]
                                ↵=1




Dan Foreman-Mackey                                                 CCPP@NYU
                                                                dfm.github.com
Case Studies
                        Variable Stars in Stripe 82
           SDSS




                                      N
                                      X
                     f ⇤ (t) = A0 +         [An sin(!t) + Bn cos(!t)]
                                      n=1
Dan Foreman-Mackey                                   CCPP@NYU
                                                  dfm.github.com
Case Studies
 CFHT




4.7 Gigapixel mosaic of M31
                                    Source: Jonathan Sick
                                      (Queen’s University)



Dan Foreman-Mackey                       CCPP@NYU
                                      dfm.github.com
Dan Foreman-Mackey      CCPP@NYU
                     dfm.github.com Jonathan Sick
                               Source:
                                 (Queen’s University)
Dan Foreman-Mackey      CCPP@NYU
                     dfm.github.com Jonathan Sick
                               Source:
                                 (Queen’s University)
Dan Foreman-Mackey      CCPP@NYU
                     dfm.github.com Jonathan Sick
                               Source:
                                 (Queen’s University)
Case Studies
    CFHT
Cosmic ray removal      Flat-fielding   Sky subtraction     ...    Mosaic making




                   MongoDB
    Persistent Metadata + GeoSpatial Indexing


       img1.fits           img2.fits           ...         img4000.fits
                                                                 Source: Jonathan Sick
                                                                   (Queen’s University)



   Dan Foreman-Mackey                                                 CCPP@NYU
                                                                   dfm.github.com
Astrometry.net       Case Studies




Dan Foreman-Mackey             CCPP@NYU
                            dfm.github.com
Astrometry.net       Case Studies




Dan Foreman-Mackey             CCPP@NYU
                            dfm.github.com
Dan Foreman-Mackey      CCPP@NYU
                     dfm.github.com
Dan Foreman-Mackey      CCPP@NYU
                     dfm.github.com
Dan Foreman-Mackey      CCPP@NYU
                     dfm.github.com
Crowdsourcing Comet Holmes                  Case Studies


                       Lang & Hogg (2011)




                        ~2500
                           JPGs



Dan Foreman-Mackey                                    CCPP@NYU
                                                   dfm.github.com
Crowdsourcing Comet Holmes   Case Studies




Dan Foreman-Mackey                     CCPP@NYU
                                    dfm.github.com
Crowdsourcing Comet Holmes   Case Studies




Dan Foreman-Mackey                     CCPP@NYU
                                    dfm.github.com
Crowdsourcing Comet Holmes   Case Studies




Dan Foreman-Mackey                     CCPP@NYU
                                    dfm.github.com
Crowdsourcing Comet Holmes   Case Studies




                                  Source: Lang & Hogg (2011)




Dan Foreman-Mackey                          CCPP@NYU
                                         dfm.github.com
Crowdsourcing Comet Holmes   Case Studies




                                  Source: Lang & Hogg (2011)




Dan Foreman-Mackey                          CCPP@NYU
                                         dfm.github.com
Crowdsourcing Comet Holmes   Case Studies




                                  Source: Lang & Hogg (2011)
github.com/dfm/MarkovPy


Dan Foreman-Mackey                          CCPP@NYU
                                         dfm.github.com
Crowdsourcing Comet Holmes   Case Studies




Dan Foreman-Mackey                     CCPP@NYU
                                    dfm.github.com
Growing
 Datasets



   User
Interaction



 Number                  Data     And Much
Crunching            Management    More...
                       (      )
Dan Foreman-Mackey                      CCPP@NYU
                                     dfm.github.com
Growing
 Datasets



   User
Interaction
                     Easy!
 Number                  Data     And Much
Crunching            Management    More...
                       (      )
Dan Foreman-Mackey                      CCPP@NYU
                                     dfm.github.com
Growing                          Big Questions
 Datasets



   User
Interaction
                     Easy!
 Number                  Data        And Much
Crunching            Management       More...
                       (      )
Dan Foreman-Mackey                          CCPP@NYU
                                         dfm.github.com
Dan Foreman-Mackey
  Center for Cosmology & Particle Physics (NYU)
                dfm.github.com
                  @__dfm__




Dan Foreman-Mackey                           CCPP@NYU
                                          dfm.github.com

More Related Content

What's hot

Rocketry, Meteor Belt, Astronomy PowerPoint Quiz Game
Rocketry, Meteor Belt, Astronomy PowerPoint Quiz GameRocketry, Meteor Belt, Astronomy PowerPoint Quiz Game
Rocketry, Meteor Belt, Astronomy PowerPoint Quiz Gamewww.sciencepowerpoint.com
 
Origins (big bang)
Origins (big bang)Origins (big bang)
Origins (big bang)SSGADEW
 
Atomic Mass, Atomic Number, Isotopes, Physical Science Lesson PowerPoint
Atomic Mass, Atomic Number, Isotopes, Physical Science Lesson PowerPointAtomic Mass, Atomic Number, Isotopes, Physical Science Lesson PowerPoint
Atomic Mass, Atomic Number, Isotopes, Physical Science Lesson PowerPointwww.sciencepowerpoint.com
 
Sloan digital sky survey iii mapping the universe on the largest scales
Sloan digital sky survey iii  mapping the universe on the largest scalesSloan digital sky survey iii  mapping the universe on the largest scales
Sloan digital sky survey iii mapping the universe on the largest scalesSérgio Sacani
 
Discovering Your Inner Scientist
Discovering Your Inner ScientistDiscovering Your Inner Scientist
Discovering Your Inner ScientistChad Orzel
 
Jack oughton 02.12.08 - fomalhaut
Jack oughton   02.12.08 - fomalhautJack oughton   02.12.08 - fomalhaut
Jack oughton 02.12.08 - fomalhautJack Oughton
 

What's hot (20)

04 lecture outline
04 lecture outline04 lecture outline
04 lecture outline
 
05 lecture outline
05 lecture outline05 lecture outline
05 lecture outline
 
09 lecture outline
09 lecture outline09 lecture outline
09 lecture outline
 
Cube.key
Cube.keyCube.key
Cube.key
 
The Science of Comet ISON
The Science of Comet ISONThe Science of Comet ISON
The Science of Comet ISON
 
11 lecture outline
11 lecture outline11 lecture outline
11 lecture outline
 
Rocketry, Meteor Belt, Astronomy PowerPoint Quiz Game
Rocketry, Meteor Belt, Astronomy PowerPoint Quiz GameRocketry, Meteor Belt, Astronomy PowerPoint Quiz Game
Rocketry, Meteor Belt, Astronomy PowerPoint Quiz Game
 
Origins (big bang)
Origins (big bang)Origins (big bang)
Origins (big bang)
 
Atomic Mass, Atomic Number, Isotopes, Physical Science Lesson PowerPoint
Atomic Mass, Atomic Number, Isotopes, Physical Science Lesson PowerPointAtomic Mass, Atomic Number, Isotopes, Physical Science Lesson PowerPoint
Atomic Mass, Atomic Number, Isotopes, Physical Science Lesson PowerPoint
 
12 review clickers
12 review clickers12 review clickers
12 review clickers
 
Sloan digital sky survey iii mapping the universe on the largest scales
Sloan digital sky survey iii  mapping the universe on the largest scalesSloan digital sky survey iii  mapping the universe on the largest scales
Sloan digital sky survey iii mapping the universe on the largest scales
 
Discovering Your Inner Scientist
Discovering Your Inner ScientistDiscovering Your Inner Scientist
Discovering Your Inner Scientist
 
S2 review clickers
S2 review clickersS2 review clickers
S2 review clickers
 
Cubegood
CubegoodCubegood
Cubegood
 
1universe hp
1universe hp1universe hp
1universe hp
 
Jack oughton 02.12.08 - fomalhaut
Jack oughton   02.12.08 - fomalhautJack oughton   02.12.08 - fomalhaut
Jack oughton 02.12.08 - fomalhaut
 
Big Bang Theory Astronomy Lesson PowerPoint
Big Bang Theory Astronomy Lesson PowerPointBig Bang Theory Astronomy Lesson PowerPoint
Big Bang Theory Astronomy Lesson PowerPoint
 
258 a
258 a258 a
258 a
 
A1 17 Ism
A1 17 IsmA1 17 Ism
A1 17 Ism
 
2010_Lobbia_Thesis
2010_Lobbia_Thesis2010_Lobbia_Thesis
2010_Lobbia_Thesis
 

Viewers also liked

The Changing Face(s) of Astronomy
The Changing Face(s) of AstronomyThe Changing Face(s) of Astronomy
The Changing Face(s) of Astronomyskendrew
 
Starting in Backyard Astronomy: On the Right Foot
Starting in Backyard Astronomy: On the Right FootStarting in Backyard Astronomy: On the Right Foot
Starting in Backyard Astronomy: On the Right Footneweyesoldskies
 
Discovering Astronomy: Intro to the Cosmos
Discovering Astronomy: Intro to the CosmosDiscovering Astronomy: Intro to the Cosmos
Discovering Astronomy: Intro to the Cosmosxneptune
 
Origin of Modern Astronomy
Origin of Modern AstronomyOrigin of Modern Astronomy
Origin of Modern AstronomyJundel Deliman
 
Iya Activities Of Kssp
Iya Activities Of KsspIya Activities Of Kssp
Iya Activities Of KsspTHANKACHAN V P
 
History of Photography
History of PhotographyHistory of Photography
History of Photographyjembigsky
 
Pre Photography History
Pre Photography HistoryPre Photography History
Pre Photography History.IMG-I
 
History Of The Internet[1]
History Of The Internet[1]History Of The Internet[1]
History Of The Internet[1]jsoni2
 
Discovering Astronomy Workshop 2014 May
Discovering Astronomy Workshop 2014 MayDiscovering Astronomy Workshop 2014 May
Discovering Astronomy Workshop 2014 Mayxneptune
 
How Telescopes Work
How Telescopes WorkHow Telescopes Work
How Telescopes Workbergsa
 
Basic astronomy
Basic astronomy Basic astronomy
Basic astronomy MPerezBaena
 
Astronomy Photographer of the Year 2014, shortlist
Astronomy Photographer of the Year 2014, shortlist Astronomy Photographer of the Year 2014, shortlist
Astronomy Photographer of the Year 2014, shortlist guimera
 
History of photography
History of photography History of photography
History of photography hammodbz
 
Astronomy Midterm Review
Astronomy Midterm ReviewAstronomy Midterm Review
Astronomy Midterm Reviewteachingmike
 
Cosmology And Astronomy
Cosmology And AstronomyCosmology And Astronomy
Cosmology And AstronomyMarinela L
 
History Of Photography
History Of PhotographyHistory Of Photography
History Of PhotographyDrew Loker
 
Astronomy Photographer of the Year 2015 (shortlisted images selected)
Astronomy Photographer of the Year 2015 (shortlisted images selected)Astronomy Photographer of the Year 2015 (shortlisted images selected)
Astronomy Photographer of the Year 2015 (shortlisted images selected)guimera
 
PeopleBrowsr Presents A Brief Cartoon History of Social Networking 1930-2015
PeopleBrowsr Presents A Brief Cartoon History of Social Networking 1930-2015PeopleBrowsr Presents A Brief Cartoon History of Social Networking 1930-2015
PeopleBrowsr Presents A Brief Cartoon History of Social Networking 1930-2015PeopleBrowsr
 

Viewers also liked (20)

The Changing Face(s) of Astronomy
The Changing Face(s) of AstronomyThe Changing Face(s) of Astronomy
The Changing Face(s) of Astronomy
 
Starting in Backyard Astronomy: On the Right Foot
Starting in Backyard Astronomy: On the Right FootStarting in Backyard Astronomy: On the Right Foot
Starting in Backyard Astronomy: On the Right Foot
 
Discovering Astronomy: Intro to the Cosmos
Discovering Astronomy: Intro to the CosmosDiscovering Astronomy: Intro to the Cosmos
Discovering Astronomy: Intro to the Cosmos
 
Origin of Modern Astronomy
Origin of Modern AstronomyOrigin of Modern Astronomy
Origin of Modern Astronomy
 
My astronomy dictionary
My astronomy dictionaryMy astronomy dictionary
My astronomy dictionary
 
Iya Activities Of Kssp
Iya Activities Of KsspIya Activities Of Kssp
Iya Activities Of Kssp
 
Astronomy
AstronomyAstronomy
Astronomy
 
History of Photography
History of PhotographyHistory of Photography
History of Photography
 
Pre Photography History
Pre Photography HistoryPre Photography History
Pre Photography History
 
History Of The Internet[1]
History Of The Internet[1]History Of The Internet[1]
History Of The Internet[1]
 
Discovering Astronomy Workshop 2014 May
Discovering Astronomy Workshop 2014 MayDiscovering Astronomy Workshop 2014 May
Discovering Astronomy Workshop 2014 May
 
How Telescopes Work
How Telescopes WorkHow Telescopes Work
How Telescopes Work
 
Basic astronomy
Basic astronomy Basic astronomy
Basic astronomy
 
Astronomy Photographer of the Year 2014, shortlist
Astronomy Photographer of the Year 2014, shortlist Astronomy Photographer of the Year 2014, shortlist
Astronomy Photographer of the Year 2014, shortlist
 
History of photography
History of photography History of photography
History of photography
 
Astronomy Midterm Review
Astronomy Midterm ReviewAstronomy Midterm Review
Astronomy Midterm Review
 
Cosmology And Astronomy
Cosmology And AstronomyCosmology And Astronomy
Cosmology And Astronomy
 
History Of Photography
History Of PhotographyHistory Of Photography
History Of Photography
 
Astronomy Photographer of the Year 2015 (shortlisted images selected)
Astronomy Photographer of the Year 2015 (shortlisted images selected)Astronomy Photographer of the Year 2015 (shortlisted images selected)
Astronomy Photographer of the Year 2015 (shortlisted images selected)
 
PeopleBrowsr Presents A Brief Cartoon History of Social Networking 1930-2015
PeopleBrowsr Presents A Brief Cartoon History of Social Networking 1930-2015PeopleBrowsr Presents A Brief Cartoon History of Social Networking 1930-2015
PeopleBrowsr Presents A Brief Cartoon History of Social Networking 1930-2015
 

Recently uploaded

Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 

Recently uploaded (20)

Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 

Python and MongoDB in Astronomy

  • 1. Python and MongoDB in Astronomy Dan Foreman-Mackey Center for Cosmology and Particle Physics Department of Physics @ NYU In collaboration with: David W. Hogg (NYU), Larry Widrow (Queen’s), Dustin Lang (Princeton), Jonathan Sick (Queen’s), Micha Gorelick (NYU) and many others...
  • 2. Astronomy 101 How to Study the Cosmos Python, MongoDB, etc. Case Studies Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 3. Astronomy 101 How to Study the Cosmos Python, MongoDB, etc. Andromeda Case Studies The Internet The Milky Way Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 4. The Universe Galaxies Stars Planets Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 5. What is the The Universe Universe Made of? Galaxies Stars Planets Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 6. What is the The Universe Universe Made of? Galaxies Stars Are there other Earth- Planets like planets? Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 7. What is the The Universe Universe Made of? Galaxies Stars Are there other Earth- Planets like planets? Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 8. What is the Universe Made of? Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 9. What is the Universe Made of? Source: Wikipedia (Adam Evans) Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 10. What is the Universe Made of? Rotational Speed Radius Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 11. What is the Universe Made of? Observed Rotational Speed Radius Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 12. What is the Universe Made of? Observed Rotational Speed WTF? Radius Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 13. What is the Universe Made of? Rotational Speed ? Observed WTF? Radius Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 14. What is the Universe Made of? Rotational Speed ? Observed WTF? Radius ? Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 15. What is the Universe Made of? Observed Rotational Speed WTF? Radius ? ? Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 16. What is the Universe Made of? Dark Matter Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 17. What is the Universe Made of? Size of the Universe PyGotham b le rva obse Time Source: NASA / WMAP Science Team Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 18. What is the Universe Made of? Dark Energy 73% Heavy Elements 0.03% Dark Matter 23% Atoms 4% Source: NASA / WMAP Science Team WMAP Year 7 (Larson et al. 2011) Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 19. What is the Universe Made of? Dark Energy 73% Source: DFM & Widrow (in prep) Heavy Elements 0.03% Dark Matter 23% Atoms 4% Source: NASA / WMAP Science Team WMAP Year 7 (Larson et al. 2011) Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 20. What is the Universe Made of? Source: http://apod.nasa.gov Dark Energy 73% Source: DFM & Widrow (in prep) Heavy Elements 0.03% Dark Matter 23% Atoms 4% Source: NASA / WMAP Science Team WMAP Year 7 (Larson et al. 2011) Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 21. What is the Universe Made of? Source: http://apod.nasa.gov Dark Energy 73% Source: DFM & Widrow (in prep) Heavy Elements 0.03% Dark Matter 23% Atoms 4% Source: NASA / WMAP Science Team WMAP Year 7 (Larson et al. 2011) Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 22. Dan Foreman-Mackey CCPP@NYU Credit: The Millennium Simulation Project dfm.github.com
  • 23. Dan Foreman-Mackey CCPP@NYU Credit: The Millennium Simulation Project dfm.github.com
  • 24. Dan Foreman-Mackey CCPP@NYU Credit: The Millennium Simulation Project dfm.github.com
  • 25. Data in Astronomy Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 26. Data in Astronomy Credit: Jonathan Sick jonathansick.ca Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 27. Data in Astronomy Credit: Jonathan Sick jonathansick.ca Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 28. Data in Astronomy MegaCam: 340 MegaPixels Credit: Jonathan Sick jonathansick.ca Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 29. Data in Astronomy MegaCam: 340 MegaPixels Credit: NASA Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 30. Data in Astronomy Imaging Source: NASA / ESA Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 31. Data in Astronomy Imaging Spectroscopy Source: NASA / ESA Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 32. Data in Astronomy Source: Riaud & Schneider (2007) Imaging Spectroscopy Spectroscopy Source: NASA / ESA Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 33. Data in Astronomy Source: Riaud & Schneider (2007) Imaging Spectroscopy Spectroscopy Source: NASA / ESA Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 34. a Data in Astronomy lot is Open of Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 35. a Data in Astronomy lot is Open of ! and there’s a lot of it Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 36. Data in Astronomy is Open 1990– 2000– 1997–2001 SDSS Hubble archive.stsci.edu/hst sdss.org 2MASS www.ipac.caltech.edu/2mass GAIA Pan-STARRS LSST Planned Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 37. Data in Astronomy is Open 1990– 2000– 1997–2001 SDSS Hubble archive.stsci.edu/hst sdss.org 2MASS www.ipac.caltech.edu/2mass GAIA Pan-STARRS LSST Planned Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 38. Data in Astronomy is Open 1990– 2000– 1997–2001 SDSS Hubble archive.stsci.edu/hst sdss.org 2MASS www.ipac.caltech.edu/2mass GAIA Pan-STARRS LSST Planned Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 39. Where does Python fit in? Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 40. Where does Python fit in? Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 41. Where does Python fit in? Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 42. Where does Python fit in? Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 43. Where does Python fit in? Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 44. Where does Python fit in? + Scientific Python Stack Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 45. Where does Python fit in? + Scientific Python Stack Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 46. Where does Python fit in? + Scientific Python Stack Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 47. What about ? Easy Flexible Pythonic Scalable Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 48. Case Studies Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 49. Case Studies Variable Stars in Stripe 82 SDSS Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 50. Case Studies Variable Stars in Stripe 82 SDSS 728 SESAR ET AL. Ses S07 Labela Ntot A 84 B 144 C 54 D 8 E 11 F 11 Source: Sesar et al. (2010) G 10 H 7 I 4 J 26 K 8 Dan Foreman-Mackey CCPP@NYU L 3 dfm.github.com M 5
  • 51. Case Studies Variable Stars in Stripe 82 SDSS Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 52. Case Studies Variable Stars in Stripe 82 SDSS Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 53. Case Studies Variable Stars in Stripe 82 SDSS 800k “Fields” ~ 12TB Imaging data > 1M “Target Stars” Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 54. Case Studies Variable Stars in Stripe 82 SDSS Photons/Brightness Time Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 55. Case Studies Variable Stars in Stripe 82 SDSS Y N p(X|⇥) = [(1 Pvar )pconst (X ↵ |⇥) + Pvar pvar (X ↵ |⇥)] ↵=1 Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 56. Case Studies Variable Stars in Stripe 82 SDSS Y N p(X|⇥) = [(1 Pvar )pconst (X ↵ |⇥) + Pvar pvar (X ↵ |⇥)] ↵=1 Stars Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 57. Case Studies Variable Stars in Stripe 82 SDSS YN p(X|⇥) = [(1 Pvar )pconst (X ↵ |⇥) + Pvar pvar (X ↵ |⇥)] ↵=1 Stars M Y M Y pconst ⌘ [(1 Pbad )pgood + Pbad pbad ] pvar ⌘ [(1 Pbad )pvar,good + Pbad pbad ] i=1 i=1 Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 58. Case Studies Variable Stars in Stripe 82 SDSS YN p(X|⇥) = [(1 Pvar )pconst (X ↵ |⇥) + Pvar pvar (X ↵ |⇥)] ↵=1 Stars M Y M Y pconst ⌘ [(1 Pbad )pgood + Pbad pbad ] pvar ⌘ [(1 Pbad )pvar,good + Pbad pbad ] i=1 i=1 Runs Runs Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 59. Case Studies Variable Stars in Stripe 82 SDSS YN p(X|⇥) = [(1 Pvar )pconst (X ↵ |⇥) + Pvar pvar (X ↵ |⇥)] ↵=1 Stars M Y M Y pconst ⌘ [(1 Pbad )pgood + Pbad pbad ] pvar ⌘ [(1 Pbad )pvar,good + Pbad pbad ] i=1 i=1 Runs Runs ⇤ ⇤ pgood ⌘ N (Ci↵ |fi0 f↵ , 2 i↵ + 2 i↵ ) pvar,good ⌘ N (Ci↵ |fi0 f↵ , 2 i↵ + 2 i↵ + ⌃2 ) var “Constant & Good” “Variable & Good” ⇤ pbad ⌘ N (Ci↵ |fi0 f↵ , 2 i↵ + 2 i↵ + ⌃2 ) bad “Bad” Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 60. Case Studies Variable Stars in Stripe 82 SDSS YN p(X|⇥) = [(1 Pvar )pconst (X ↵ |⇥) + Pvar pvar (X ↵ |⇥)] ↵=1 Stars M Y M Y pconst ⌘ [(1 Pbad )pgood + Pbad pbad ] pvar ⌘ [(1 Pbad )pvar,good + Pbad pbad ] i=1 Npars = Nstars + Nruns + 6 i=1 Runs ~ 0 , ~ ⇤ , , ⌘, ⌃2 , PRuns , Pbad } 2 ⇥ = {f f var var , ⌃bad ⇤ ⇤ pgood ⌘ N (Ci↵ |fi0 f↵ , 2 i↵ + 2 i↵ ) pvar,good ⌘ N (Ci↵ |fi0 f↵ , 2 i↵ + 2 i↵ + ⌃2 ) var “Constant & Good” “Variable & Good” ⇤ pbad ⌘ N (Ci↵ |fi0 f↵ , 2 i↵ + 2 i↵ + ⌃2 ) bad “Bad” Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 61. Case Studies Variable Stars in Stripe 82 SDSS Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 62. Case Studies Variable Stars in Stripe 82 SDSS Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 63. Case Studies Variable Stars in Stripe 82 SDSS N Y p(X|⇥) = [(1 Pvar )pconst (X ↵ |⇥) + Pvar pvar (X ↵ |⇥)] ↵=1 Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 64. Case Studies Variable Stars in Stripe 82 SDSS N X f ⇤ (t) = A0 + [An sin(!t) + Bn cos(!t)] n=1 Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 65. Case Studies CFHT 4.7 Gigapixel mosaic of M31 Source: Jonathan Sick (Queen’s University) Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 66. Dan Foreman-Mackey CCPP@NYU dfm.github.com Jonathan Sick Source: (Queen’s University)
  • 67. Dan Foreman-Mackey CCPP@NYU dfm.github.com Jonathan Sick Source: (Queen’s University)
  • 68. Dan Foreman-Mackey CCPP@NYU dfm.github.com Jonathan Sick Source: (Queen’s University)
  • 69. Case Studies CFHT Cosmic ray removal Flat-fielding Sky subtraction ... Mosaic making MongoDB Persistent Metadata + GeoSpatial Indexing img1.fits img2.fits ... img4000.fits Source: Jonathan Sick (Queen’s University) Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 70. Astrometry.net Case Studies Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 71. Astrometry.net Case Studies Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 72. Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 73. Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 74. Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 75. Crowdsourcing Comet Holmes Case Studies Lang & Hogg (2011) ~2500 JPGs Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 76. Crowdsourcing Comet Holmes Case Studies Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 77. Crowdsourcing Comet Holmes Case Studies Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 78. Crowdsourcing Comet Holmes Case Studies Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 79. Crowdsourcing Comet Holmes Case Studies Source: Lang & Hogg (2011) Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 80. Crowdsourcing Comet Holmes Case Studies Source: Lang & Hogg (2011) Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 81. Crowdsourcing Comet Holmes Case Studies Source: Lang & Hogg (2011) github.com/dfm/MarkovPy Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 82. Crowdsourcing Comet Holmes Case Studies Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 83. Growing Datasets User Interaction Number Data And Much Crunching Management More... ( ) Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 84. Growing Datasets User Interaction Easy! Number Data And Much Crunching Management More... ( ) Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 85. Growing Big Questions Datasets User Interaction Easy! Number Data And Much Crunching Management More... ( ) Dan Foreman-Mackey CCPP@NYU dfm.github.com
  • 86. Dan Foreman-Mackey Center for Cosmology & Particle Physics (NYU) dfm.github.com @__dfm__ Dan Foreman-Mackey CCPP@NYU dfm.github.com