Latest / Talk Python To Me / #398: Imaging Black Holes with Python
Transcript
- 0:00The iconic and first-ever image of a black hole was recently released.
- 0:03It took over a decade of work and is a major achievement for astronomy
- 0:07and broadens our understanding of the universe for all of us.
- 0:10Would it surprise you to know that Python played a major part in this discovery?
- 0:14Of course it did, and Dr. Sarah Eisen is here to give us the full story.
- 0:18This is Talk Python To Me, episode 398, recorded December 12, 2022.
- 0:24Welcome to Talk Python To Me, a weekly podcast on Python.
- 0:41This is your host, Michael Kennedy.
- 0:43Follow me on Mastodon, where I'm @mkennedy,
- 0:45and follow the podcast using @talkpython, both on fosstodon.org.
- 0:50Be careful with impersonating accounts on other instances.
- 0:53There are many.
- 0:54Keep up with the show and listen to over seven years of past episodes at talkpython.fm.
- 0:59We've started streaming most of our episodes live on YouTube.
- 1:03Subscribe to our YouTube channel over at talkpython.fm/youtube
- 1:06to get notified about upcoming shows and be part of that episode.
- 1:10This episode is brought to you by Cox Automotive.
- 1:14Use your technical skills to transform the way the world buys,
- 1:17sells, and owns cars at talkpython.fm/cox and by Sentry.
- 1:22Don't let those errors go unnoticed.
- 1:24Get started at talkpython.fm/sentry.
- 1:29Sarah, welcome to Talk Python To Me.
- 1:31Thank you so much.
- 1:32Thank you for having me.
- 1:33Yeah, I'm very excited to have you on the show.
- 1:36Ever since I saw that first picture of the black hole and heard the news,
- 1:41I didn't know, but I thought, oh, there has to be some Python going on here, huh?
- 1:45Oh, yeah, definitely.
- 1:45We got a lot of traction from our Matplotlib press.
- 1:49That's soon to catch the eye of many developers.
- 1:52Oh, I see.
- 1:53It is.
- 1:54It is.
- 1:54It is.
- 1:54It is Python.
- 1:55I see.
- 1:56Look, there it is.
- 1:56I know that theme.
- 1:57That's right.
- 1:58Yeah.
- 1:58Yeah, absolutely.
- 1:59So there's just many fascinating aspects of this.
- 2:03The amount of data, the different data sources, the Earth scale telescope that you all created,
- 2:10the processing with the pipeline, Python, and just seeing stuff 55 million light years away
- 2:17at all, which is dark, is kind of crazy.
- 2:21But before we get to all those fun topics, let's just hear your story.
- 2:25How do you get into programming and into the Python side of these things?
- 2:29And how do you get going to black holes, too?
- 2:31Just to introduce myself.
- 2:32Hello, everyone.
- 2:33My name is Sarah.
- 2:34I'm currently a member of the Event Horizon Telescope Project, the team that makes images
- 2:39of black holes.
- 2:40I've been interested in astronomy since I was a little kid.
- 2:43Since I was eight years old, I got to, in second grade, I got to build a cardboard forward
- 2:48system.
- 2:49I'm sure everybody has kind of had similar experiences.
- 2:52That was really my first kind of introduction into a world outside of our planet.
- 2:56And I was just so fascinated by planets that I kind of binged through all of the astronomy
- 3:02books I could find at my local library and fell in love with astronomy.
- 3:06And so I ended up studying kind of the physical sciences.
- 3:09I did a bachelor's in physics.
- 3:11And because I was doing a bachelor's in physics, I didn't have astronomy courses as part of my
- 3:16program.
- 3:16So that was something that was pretty disappointing to me because I really wanted to do astronomy,
- 3:21but I couldn't quite do that yet.
- 3:23So as an undergrad, I decided to do a summer project in astronomy.
- 3:26So I emailed a professor or a number of professors working in astronomy in the Netherlands.
- 3:31And this professor responded a few minutes later to my email, which I sent during Christmas
- 3:37holidays.
- 3:37So I was very surprised that he'd respond.
- 3:40And it turns out he said it was unusual for him to get emails from students wanting to do
- 3:44work in the summer.
- 3:45So he thought, oh, come on by.
- 3:47I'll tell you about my project.
- 3:48And he told me he was one of the big leads of this amazing adventure to take an image of
- 3:54a black horse.
- 3:54And I thought that was the coolest thing I'd ever heard.
- 3:57And I kind of jumped right in and undergrad and then continued my master's and PhD with the project.
- 4:03And I've been here ever since.
- 4:05And so Python, I got introduced to Python in undergrad for programming, simple data analysis.
- 4:13Although most of my undergrad was spent on C programming and MATLAB because it was very much
- 4:19on the physics side.
- 4:20And this is mostly what physicists use.
- 4:23But then when I transitioned into an astronomy program in my master's and PhD, it was really
- 4:27almost all Python.
- 4:28And so that kind of was kind of learned by doing kind of training that I had to do.
- 4:34I had to learn how to write.
- 4:35I didn't take any Python classes, really.
- 4:37Just kind of learn as I go with data processing analysis.
- 4:41Ended up playing a big part in the EHT results.
- 4:44And it really plays a big part in most astronomy data analysis lately.
- 4:48It seems like it's just taken over that world recently, at least for the analysis side, right?
- 4:53Maybe not running on devices, right?
- 4:56There's probably, I don't think there's any Python running on, say, JWST.
- 4:59But maybe some of the earthbound telescopes have some in play.
- 5:04I don't know.
- 5:04Yeah, a lot of the data processing and analysis is done in Python.
- 5:08A lot of visualizations are also done in Pythons.
- 5:12So it's become a very kind of versatile and flexible tool for us to quickly kind of make figures
- 5:18for papers, as many people have noticed in our papers, our kind of major kind of matplotlib tools
- 5:25that we use to display our data.
- 5:28Exactly.
- 5:29I think it's just completely taken over that space, which is really neat.
- 5:32And I think the Python world is much better for having all of these scientists and folks
- 5:38with other backgrounds using it for whatever they're interested in, right?
- 5:42It's not just, well, here's how Instagram uses it.
- 5:45And here's how this other API company uses it, right?
- 5:48There's a much more diverse mosaic of interests and things people want from the language.
- 5:54Absolutely.
- 5:55I think one of the big strengths that we drew from Python was really the open source community.
- 6:00There are many open source codes available that we were able to make use of in astronomy that
- 6:07were not necessarily designed for astronomy data science purposes.
- 6:11But that just happened to be really useful for what we were trying to do with the data.
- 6:15And so it ended up saving us an enormous amount of time.
- 6:19And so whenever we speak about our project, I tried to make a big point of saying that we do rely a lot on the open source
- 6:25development community, which I think is a part of the developer community that is often overlooked.
- 6:31And that is really important to support open source work because a lot of it is done by students and postdocs who are in the sciences, who just happen to need code to do a certain thing.
- 6:43And they make it available.
- 6:44And it turns out to have many different uses in other people's science.
- 6:48And so we really build on the shoulders of all these people.
- 6:51And it saves so much time.
- 6:52Yeah.
- 6:53Like Matplotlib or Pandas or a lot of these are general purpose, right?
- 6:58Yeah.
- 6:58So you gave a really great presentation, a keynote at PyCon 2022.
- 7:03And I'll be sure to link that and we'll pull some ideas out of there.
- 7:07Before we get to really into the programming and Python side of things, give us maybe just a little bit of history of black holes.
- 7:16You know, a lot of this starts with Einstein, right?
- 7:19And as soon as you see that dip, well, if there's enough gravity here, but what have you put more?
- 7:23And what have you put more?
- 7:24Like how steep can that curve get until it, then stuff falls into it and it gets steeper, right?
- 7:28Like give us the history.
- 7:30History starts, I think in the 1700s, even before Einstein.
- 7:34There was this runner, Reverend Mitchell, who thought about this idea of, say, when you have kind of something trying to leave the Earth's gravity,
- 7:43it has a specific escape speed in order to leave the Earth's gravity.
- 7:47And no matter the size and weight of the object trying to leave, it always has the same escape speed because it depends on the gravity of the Earth.
- 7:55So he thought what would happen if you would kind of make the Earth so heavy, so compact that the escape speed would become higher than the speed of light.
- 8:04And so he thought he made this thought experiment and he found out that by having the speed being higher than the speed of light,
- 8:12this star that you collapse ends up being dark because all of the light that is at its surface cannot escape.
- 8:19So you can't see it anymore.
- 8:20If it doesn't get to your eye, you cannot see it.
- 8:23So you end up with a dark star.
- 8:25And that was this kind of thought experiment that led to being a black hole.
- 8:29This dark star is actually a black hole.
- 8:30So even in the 1700s, you know, philosophers, you know, religious people like Reverend Mitchell thought about these ideas,
- 8:37about what it could look like if you had such an object.
- 8:40And these objects often seemed, well, this was just a thought experiment.
- 8:44And then when Einstein came along, he tried to describe space and time and gravity in a single unifying theory and ended up the theory of general relativity.
- 8:52That was in 1915 when he showed that light was actually affected by gravity so that light would bend around heavy objects because of this bend in the space time.
- 9:04And then a year later, Carl Schwarzschild found the first kind of real solution to Einstein's theory, to Einstein's equations,
- 9:11which ended up in what we call the singularity, which showed that there is this object that is kind of a hole in the space time.
- 9:19And this object has a horizon, which we call the event horizon.
- 9:23And the size of the horizon, the radius is called now the Schwarzschild radius after Carl Schwarzschild.
- 9:28And it showed that anything that goes beyond this horizon can never come back because the escape speed at the horizon is the speed of light.
- 9:36So anything that goes beyond would need an escape speed higher than the speed of light.
- 9:40So, and light is the fastest thing that goes.
- 9:42So nothing.
- 9:42Circle around and just kind of just somehow, probably still move, but still be trapped within that space.
- 9:48Exactly.
- 9:48So you can never, once you cross that point, you can never come back.
- 9:52And at that time, so people thought a lot about the theory of Einstein and this mathematical object that we call the singularity.
- 9:58At the time they thought, okay, black holes are a mathematical object, but there's no way they could be real, right?
- 10:04So people thought, okay, mathematically, that's so interesting, but these things can't exist in the universe.
- 10:09And then in the 1930s, Chandrasekhar, famous Indian astronomer, he thought about the mass of stars.
- 10:16So they're, you know, stars when they die, they become white dwarfs.
- 10:20And so they die in these kind of stellar dead stars.
- 10:23But then he thought, what about more massive stars?
- 10:25Stars are much heavier.
- 10:26It turns out that he calculated it and white dwarfs have a maximum mass.
- 10:31So there are certain classes of heavier stars that could never end up as white dwarfs because they would collapse to something more massive than a white dwarf.
- 10:39So it could not be a white dwarf.
- 10:40And it turns out what they collapsed into is a black hole.
- 10:43And this was the very first evidence that black holes could exist in reality, in the universe.
- 10:49But they're kind of an inevitable endpoint for hemi stars.
- 10:53But since then, people have been thinking about where to find them.
- 10:56And people have been detecting these powerful streams of gas coming from centers of galaxies that could only be powered by a black hole.
- 11:03And the galaxy M87, that's 55 million light years away from us, does have one of these big streams.
- 11:09So that and that was the very first stream of gas from a center of a galaxy ever observed by humanity in 1980.
- 11:18Didn't know that it was going to be a black hole at the time.
- 11:20But then there was more and more evidence that the only thing that could really power this really powerful process had to be a black hole.
- 11:27So we started then the story of trying to understand what they would look like from an observer point of view.
- 11:33How big does the black hole have to be for us to be able to see it from Earth?
- 11:36How big do we design a telescope that could see it?
- 11:39And it turns out there are only two black holes in the sky that are reachable with the telescope the size of the Earth.
- 11:45That's our maximum size that we could go.
- 11:47And one is this black hole in M87, which we imaged in 2019.
- 11:51And then the second one is our very own black hole in our Milky Way, Sagittarius star, which we imaged in 2022, just last May.
- 11:59Oh, do you have pictures published of that?
- 12:01Yeah, that's right.
- 12:02It came out on May 12, 2022.
- 12:04Yeah, just two weeks after my PyCon talk.
- 12:07Oh, that's what I mean.
- 12:09Yeah, it was frustrating not to be able to say anything.
- 12:13So I kept telling people, you know, oh, please watch Earth news.
- 12:17And we have exciting stuff coming.
- 12:19But I couldn't say anything.
- 12:20We have more pictures.
- 12:22I'm sure.
- 12:22I know.
- 12:23I've seen them.
- 12:23Yeah.
- 12:24It's also worth pointing out this whole project that you were on.
- 12:27It's a long running project.
- 12:28Yes.
- 12:29It went from when did it start?
- 12:31I know.
- 12:31Yeah.
- 12:32Kind of the technology part started in the late 90s and then actually starting to add more and more
- 12:39telescopes started in 2007.
- 12:40So it is about a 10 year process between the first telescopes that joined and then the 2017 campaign in which we had finally enough telescopes to take the data to make images.
- 12:51So about 10 years of building.
- 12:52And we're still building.
- 12:54We're still adding more telescopes.
- 12:55We've added three more since then.
- 12:56Yeah.
- 12:57So this is called the Event Horizon Telescope.
- 13:00And it's a planet scale telescope.
- 13:03I mean, I just saw a whole bunch of news and cool pictures from JWST, James Webb Space Telescope.
- 13:09Yeah.
- 13:10It's huge, but it's only like 30, how many meters across?
- 13:1430 feet?
- 13:15Some number of meters?
- 13:1612 meters?
- 13:17I don't know.
- 13:17It's not planet sized.
- 13:18No.
- 13:19How do you build a planet sized one?
- 13:22We use a very clever trick that is called interferometry that actually won the Nobel Prize back in the 70s by Martin Ryle, who designed this technique.
- 13:32And what we do is, in fact, it would be great to have a telescope the size of the Earth that we could build, like a giant Death Star in space that we could look at.
- 13:40It would save us so much trouble.
- 13:42But it turns out convincing funding agencies to give us that kind of money wasn't really possible.
- 13:48So we had to use this clever technique of interferometry.
- 13:52And what we do with our technique is we sync up telescopes that are at strategic locations around the Earth.
- 13:59They have to observe at the exact same time.
- 14:01And they're timed accurately by atomic clocks that are so precise, they lose about a second every million years.
- 14:07And so these clocks time-
- 14:08They're big too, right?
- 14:09They're like-
- 14:10They're not the size of a mini fridge.
- 14:12Yeah.
- 14:12Wow, okay.
- 14:13Yeah.
- 14:13They're big and they're very expensive.
- 14:15So we have to take really good care of them.
- 14:18So there's one at each of our telescopes that time-tags the data as it arrives at each site.
- 14:22And then we record that data onto hard drives.
- 14:25And then we ship those hard drives to a central computer in which all of the data from all the telescopes are combined and aligned together to synthesize a virtual telescope that finds the Earth.
- 14:36So that's how we do it.
- 14:37The telescope is not physically the size of the Earth, but we synthesize it using telescopes that span-
- 14:42the size of the Earth.
- 14:43Right.
- 14:44So kind of like little different sensors at 10, 15 locations.
- 14:47Yeah, exactly.
- 14:48But you have to keep them in sync.
- 14:49That's the big problem, right?
- 14:50Yeah.
- 14:51And timing is everything for what we do.
- 14:53Yeah.
- 14:53Yeah.
- 14:54And you think about how off can you be.
- 14:56And you're talking the speed of light.
- 14:57A little, a microsecond, you cover a lot of distance in that time and the speed of light, right?
- 15:02That's right.
- 15:02Yeah.
- 15:02We have to be extremely accurate because any shift in time between signals means that we're no longer in the reference frame of the black hole.
- 15:10Everything that we see has to be in the reference frame of the black hole.
- 15:13So it all has to be exactly aligned at the same time.
- 15:17And there are many, many different aspects in the instrumentation of each telescope that needs to be measured very accurately and corrected at the time of combining the signals.
- 15:27And then we also go through a very lengthy data processing step in which we correct all the additional effects.
- 15:32We also have to deal with the earth atmosphere because we observe such a high frequency in the radio, which is 230 gigahertz, dealing with very high frequency radio waves.
- 15:41And they're very affected by the atmosphere.
- 15:43So water vapor and instability in the atmosphere can scramble and destroy our signal.
- 15:48So we have to correct it after the fact and kind of model the atmosphere at each site, remove it.
- 15:54And then we can average our data down and build signal that way, build signal to noise.
- 15:59And then finally, at the end of that, all that processing is where imaging comes in.
- 16:03And then we can combine the data with our imaging softwares and then reconstruct images that best fit the data.
- 16:10Yeah, you had a really cool visualization showing how obviously the earth is curved.
- 16:14I liked how you tried to reinforce that with folks.
- 16:18I really hope now that the earth is round.
- 16:21Otherwise, it would make our job very weird.
- 16:26This portion of Talk Python To Me is brought to you by Cox Automotive.
- 16:30Cox Automotive isn't a car company.
- 16:33It's a technology company that's transforming the automotive industry.
- 16:37The team at Cox Automotive understands the future of car buying and ownership.
- 16:41And they're looking for software developers, data engineers, scrum masters, and other experts to help make that happen.
- 16:49If you're interested in innovating with brands like Kelly Blue Book, Auto Traders, and others, then you should check out Cox Automotive.
- 16:56Just visit talkpython.fm/cox to find out more.
- 17:01Thank you to Cox Automotive for sponsoring the show.
- 17:06Yeah, we definitely have to take into account the curvature of the earth because of this delay in curvature.
- 17:11Two telescopes far enough apart have to deal with the earth's curvature because then the signal doesn't arrive at the same time at each place.
- 17:18It arrives down here earlier than arrives here.
- 17:20And so we have to take into account this curvature difference to make the signal be at the exact same time.
- 17:25And we do that at the simple computer stage.
- 17:27Yeah. So maybe let's follow the data for a minute because I think that that's pretty interesting.
- 17:32So it starts by things hit the different telescopes.
- 17:36How many did you say were involved at the time?
- 17:38Yeah. Eight.
- 17:39Eight telescopes at six different locations.
- 17:41Yeah, you got these eight different telescopes and they're all at different points on the earth.
- 17:45So the signal's hitting them at different times just because it's not a lot of time difference,
- 17:50but it's enough to make a difference in the light waves or the radio waves.
- 17:54But then the next step gets pretty interesting.
- 17:57Because it's not like we're using our fiber, our gigabit connection to upload the data.
- 18:03You record it to a huge block of hard drives and you physically send the hard drives, right?
- 18:09Yes, that's right.
- 18:10Yeah, they're basically just standard kind of helium drives that we use just stacked together,
- 18:15the kinds that are in laptops.
- 18:17And then we record our data onto these hard drives.
- 18:20They're kind of split into random folders with some names that I can't decipher,
- 18:26people who work at their computer supercomputers do.
- 18:29And then we pack them up.
- 18:31We drive them down each mountain and then ship them, usually via FedEx or UPS,
- 18:36to our two central correlation facilities where we combine the data.
- 18:40One is at MIT Haystack in Boston, right here.
- 18:43And then one is in Bonn, Germany at the Max Planck Institute for Radiostromy.
- 18:48So they get half the data and they get half the data.
- 18:51Yeah.
- 18:51And there's one guy who used to be a police officer who is now in charge of logistics of
- 18:57the data.
- 18:58That's right.
- 18:58Right?
- 18:58Yeah.
- 18:58I always like telling the story of Don because Don Souza used to be a police officer for the
- 19:04state of Massachusetts.
- 19:05And then since then, for the last 20 years, he's been dealing with the shipments for MIT
- 19:10Haystack Observatory.
- 19:11And all of the data goes for him, including the ones that go to Bonn.
- 19:16And he's been doing this for years.
- 19:18And he is our main shipping guy for the EHT.
- 19:21And he's never lost a single package.
- 19:24That's incredible.
- 19:24Yeah.
- 19:25There was just one, I think, funny mishap that happened once where we had a package
- 19:29incoming from the South Pole that was meant to be our South Pole equipment.
- 19:33And then he opened it and it was just a bunch of fabric.
- 19:36That was a little bit of an issue.
- 19:38Silk?
- 19:39Yeah.
- 19:39I don't remember if it was silk, but I think it's just regular fabric.
- 19:42But then luckily, the help of the shipping company, the mishap was found.
- 19:46And then the fabric went to the rightful owner.
- 19:48And then the equipment got returned to us.
- 19:50So everything went well.
- 19:52Yeah.
- 19:53You're like, they didn't get what they expected and we definitely didn't.
- 19:57That's right.
- 19:58How bad would it have been if you had lost it?
- 20:00Would it have been catastrophic or would it have been just...
- 20:02So it wasn't data.
- 20:03It was just a piece of equipment.
- 20:04It would have been expensive to get another one and go through the test.
- 20:08And they would have probably delayed a couple of things.
- 20:11But other than that, it would not have been catastrophic.
- 20:13Yeah.
- 20:14The other thing I think is interesting, as you said, the color code, the hard drives with green
- 20:19ready to record and empty and red being awful.
- 20:22And they got to be processed.
- 20:23Yeah.
- 20:23We have little round stickers on our modules that have the hard drives that color code.
- 20:29Yeah.
- 20:29Yeah.
- 20:30Yeah.
- 20:30I mean, why not, right?
- 20:32You want to look over and see like, oh, that pile, that pile is going out, not coming in.
- 20:36Exactly.
- 20:37Yeah.
- 20:37And often at the sites, we have spare modules that we have just in case we have issues recording
- 20:43onto certain ones.
- 20:44So it's good to know which ones we've recorded on and which ones are spare.
- 20:48Yeah.
- 20:48So there's a lot of data here, which is why you ship the hard drives.
- 20:53Yeah.
- 20:53Yeah.
- 20:53Yeah.
- 20:54If you had a couple of gigabytes, nobody wants to ship hard drives, right?
- 20:57That's, they can break, they can get lost.
- 21:00It's relatively slow unless you have petabytes of data.
- 21:03Yeah.
- 21:04And then all of a sudden you realize this is actually a problem.
- 21:06I've been just doing some backups of all the podcast episodes and stuff that I did.
- 21:11And they're like 20 gigs per episode and there's hundreds of, you know, 700.
- 21:16I've been uploading for days, for four or five days.
- 21:19I'm only through one of the podcasts for part of the time.
- 21:22I'm like, this is insane.
- 21:24And I'm so excited to appreciate just like, how hard is it to send this much data?
- 21:28So when you're talking petabytes, and these are remote locations as well for the satellites
- 21:33often, right?
- 21:34So maybe not the best connection.
- 21:36Yeah.
- 21:36And I think it would be pretty much unfeasible to send data from our site, especially the
- 21:42South Pole is our most remote location.
- 21:44And during the South Pole winter, the internet is not very good.
- 21:49So we have to rely on some satellite connections that happen twice a day.
- 21:52And so the connections are about fast enough that it would take about 40 years to get all
- 21:58the data from the South Pole that we take during our campaign.
- 22:01So it's really just not feasible.
- 22:03Our founding director always says that you cannot beat the bandwidth of a 747 sold with
- 22:07hard drives.
- 22:08So shipping is always the best.
- 22:10Yeah, that's incredible.
- 22:12But apparently, apparently true.
- 22:14Yeah.
- 22:15Yeah.
- 22:15So we have a picture, right?
- 22:17We have this amazing picture of the black hole.
- 22:21We'll talk about the story about how we get it, but maybe just describe it for people.
- 22:26I'm sure everyone has seen it, but it's maybe been a couple of years.
- 22:29Yeah.
- 22:29So this is a picture of the M87 black hole, what we call the first image of a black hole.
- 22:34We released this picture in April 2019.
- 22:37So three years ago now.
- 22:39And this picture comes from our 2017 observing campaign.
- 22:43And it is of the central black hole inside the galaxy M87, which is 55 million light years
- 22:49away from us.
- 22:50So the light you're looking at in this picture is 55 million years old, which is pretty cool.
- 22:55And when it left the black hole, the first mammals were starting to appear on planet Earth.
- 23:01Wow.
- 23:01That's amazing.
- 23:02That's pretty cool.
- 23:03Yeah.
- 23:04So what we're seeing in the middle is this kind of dark patch, which we call the black hole shadow.
- 23:08And there's this big ring of light around it.
- 23:10And the dark patch is where the black hole is inside.
- 23:13And the reason why it's dark is because inside there's the black hole event horizon, which is actually a little bit smaller than the shadow.
- 23:20And the path of the light rays that are around the event horizon makes the darkness in which the light can no longer escape and makes it puff up.
- 23:29And so the light rays kind of graze a bigger area, which is why the shadow is actually bigger than the event horizon.
- 23:35And then this ring of light around it is very, very hot gas.
- 23:38So we're talking billions of degrees, a hot gas swirling around in the black holes, either accretion disk or bottom of the famous jet.
- 23:46And this gas is swirling around so much that it's glowing.
- 23:50And it emits light in the radio, which are those radio waves that we observe.
- 23:54And so this is light that hasn't crossed the event horizon.
- 23:58It's not close enough to be purled in into the darkness and not being able to come out.
- 24:04But it's just close enough to show us this shadow of the black hole.
- 24:07It illuminates the darkness.
- 24:09So there's all this mass that's been attracted, but it's like whipping around, kind of like a toilet bowl, right?
- 24:14The water is not just shooting through the hole.
- 24:16It's kind of spinning, but it's spinning near the speed of light.
- 24:19And there's lots of friction and stuff, which makes it glow, right?
- 24:22That's right.
- 24:23Yeah.
- 24:23And what about the jet?
- 24:24Does the jet come from this accretion disk or does it somehow come out of the black hole or where does it come from?
- 24:30I mean, it can't, right?
- 24:32Yeah.
- 24:32It doesn't come out of the black hole, but it does come pretty close to the black hole.
- 24:36So this image in particular didn't teach us too much about the jet other than we can't see it in our image because at the time we didn't have enough telescopes to see the jet because it's very, very faint at the frequency we're looking at.
- 24:49But our polarization image, which came out in 2021, which showed kind of a more spiral structure on top that trace magnetic field around the black hole, showed us that the magnetic fields around the black hole are kind of in a spiral shape that twist enough and are ordered enough to be able to launch the jet.
- 25:06So they're coming from the rotation speed of the black hole that makes the kind of the space time twist and the magnetic fields twist.
- 25:14And that is launching the jet.
- 25:15Okay.
- 25:16Amazing.
- 25:16I was just thinking last night, getting ready for this and doing some of the research, you know, the black hole, the lights and light and all that stuff goes into it.
- 25:25All this matter.
- 25:25And it's completely dark.
- 25:27But inside, it must have an insane amount of light and energy somehow in there, right?
- 25:32Like if you could get into it, it must be really bright.
- 25:35If none of the light ever created can ever leave, it must just be building up in there.
- 25:40It's hard to tell.
- 25:41It would be hard to explain what you would see inside.
- 25:44Once you fall in, space time is getting stretched like crazy.
- 25:48The more in you go, the more stretch it gets because it inevitably should end up in the singularity in which all of space and time is compressed into a single point.
- 25:57So everything is kind of shifted and spaghettified.
- 26:00And so even the light ahead of you, you wouldn't be able to see it because it can never travel back in the direction where you are.
- 26:07So whenever you're falling, whatever's in front of you, you cannot see because it cannot go out.
- 26:12It can only go in.
- 26:13And so...
- 26:14Yeah, maybe more like time stops and there's nothing.
- 26:16Maybe it's not that bright, huh?
- 26:18Yeah.
- 26:18If you look back behind you at the horizon and at the outside, you would see the entire history of the universe.
- 26:25Yeah.
- 26:25It's kind of a...
- 26:27It's a very mind-boggling place.
- 26:29And I think people do get very creative about what could happen inside a black hole, what you would see.
- 26:34There are a lot of thought experiments around it.
- 26:36But obviously, because of the physical boundary that is the event horizon, we can never know what is beyond.
- 26:41I often get this question in talks like, well, what you show us is just the shadow of the black hole.
- 26:46It's not the actual black hole itself, which I think is not a true question because I don't think the statement is true because this is everything we can see of the black hole.
- 26:56It is the black hole in the only way we can see it.
- 26:59Whatever is inside, we can never see.
- 27:01So this is always a picture of a black hole.
- 27:04This is it.
- 27:04This is absolutely it.
- 27:05Yeah, this is as far as you can go.
- 27:06You cannot go further.
- 27:08Mellie in the audience says, whoa, that is weird.
- 27:10I agree.
- 27:11It definitely is weird.
- 27:13I think we get a lot of very emotional reactions whenever we talk about kind of the whole aspect of looking at this image and what it represents, this end of space and time, this kind of point of no return and this whole kind of world of what is beyond it, what is outside of it.
- 27:30Yeah, very strange.
- 27:31All right. So back to following the data along, we've got petabytes of data collected to these hard drives on site at these six different locations.
- 27:41They get shipped to the two places in Cambridge, in the U.S. and in Bonn, Germany.
- 27:46And then what happens?
- 27:47Yeah. And then once all of the disks arrive, they get plugged into the kind of readout machines that kind of read out all the data from all the different sites.
- 27:56And then we have supercomputers that align the data using a bunch of it's a very complicated machine, but it takes into account the Earth's curvature, a model of the Earth, the positions of the telescopes, different instrumentation effects that we measure at the sites that get put into this big model.
- 28:12So that we record at the telescope is kind of all of the signal the telescope receives, which includes signal from the black hole, but also the atmosphere, the surroundings, the air, the instrument and stuff.
- 28:33But because the only thing the telescopes have in common is the black hole signal, the rest of the data doesn't what we call doesn't correlate.
- 28:41So it is not seen in common.
- 28:43So at that point, a lot of the data that's noise can we can get rid of because we only care about what the telescopes see in common, which is what comes from space.
- 28:52And so then we can reduce the data from petabytes to like the kind of hundreds of gigabytes level, terabyte, gigabyte level.
- 29:02And then at that point, after the correlation, the data are ready to move on to the data calibration stage.
- 29:08So we end up with kind of data files per observing day of about maybe 100 gigabytes, 300 gigabytes, kind of manageable for software.
- 29:17Right.
- 29:17Yeah.
- 29:18You could transfer it over the Internet sort of levels of data.
- 29:22Kind of.
- 29:22Yeah.
- 29:22So usually we can put it on a common archive.
- 29:26That's where we have it stored, the correlated data.
- 29:29And then the data teams go in and get the data and then process them through their software.
- 29:34And we use cloud computing facilities to do data processing as well.
- 29:38It really speeds up things.
- 29:40I bet.
- 29:40These are like big supercomputers in those two locations, not like AWS or Azure, is it?
- 29:47No, they're at the locations.
- 29:48That's right.
- 29:49Yeah.
- 29:49Yeah.
- 29:49They're basically computer clusters.
- 29:51Are these shared computers?
- 29:53Are they dedicated especially for this job or are they more general?
- 29:57They're dedicated especially for dealing with radio interferometry data.
- 30:01Necessarily, they're not used all the time by us.
- 30:04They're also used a lot by geodesy experiments.
- 30:08So geodesy is the science of studying tectonic plates on Earth.
- 30:12So they basically do the exact opposite to us.
- 30:14They use telescopes at different locations on Earth, looking at a common source that doesn't change.
- 30:19And then that way they can track the movement of the locations of the telescopes on Earth.
- 30:24And they do these observations many, many times.
- 30:26And that's where they get all combined.
- 30:27And in fact, through geodesy, that's how they get the model of the Earth that we use in our experiment to correct for this movement of the telescope.
- 30:36So there's a kind of very nice cycle that happens at the same location.
- 30:40Yeah.
- 30:41Yeah, that is a sympathetic cycle.
- 30:43That's great.
- 30:45This portion of Talk Python To Me is brought to you by Sentry.
- 30:48How would you like to remove a little stress from your life?
- 30:51Do you worry that users may be encountering errors, slowdowns, or crashes with your app right now?
- 30:57Would you even know it until they sent you that support email?
- 31:00How much better would it be to have the error or performance details immediately sent to you,
- 31:05including the call stack and values of local variables and the active user recorded in the report?
- 31:11With Sentry, this is not only possible, it's simple.
- 31:14In fact, we use Sentry on all the Talk Python web properties.
- 31:17We've actually fixed a bug triggered by a user and had the upgrade ready to roll out as we got the support email.
- 31:24That was a great email to write back.
- 31:26Hey, we already saw your error and have already rolled out the fix.
- 31:29Imagine their surprise.
- 31:31Surprise and delight your users.
- 31:33Create your Sentry account at talkpython.fm/sentry.
- 31:37And if you sign up with the code talkpython, all one word, it's good for two free months of Sentry's business plan,
- 31:44which will give you up to 20 times as many monthly events as well as other features.
- 31:49Create better software, delight your users, and support the podcast.
- 31:53Visit talkpython.fm/sentry and use the coupon code talkpython.
- 32:00It's in this calibration stage where Python starts to make its appearance, right?
- 32:05Yeah.
- 32:06So we have our data processing softwares are, I think, mostly built in, let's see, Fortran and C code.
- 32:14So more of the kind of heavier data crunching parts.
- 32:18And then there are a number of kind of post-processing tasks that do use Python.
- 32:23Especially we have a kind of suite of post-processing tasks that make use of pandas a lot.
- 32:29Because it offers a very neat data structure that allows us to organize data correction across, you know, kind of different columns of types of data.
- 32:37And that's been very helpful for us.
- 32:39Yeah.
- 32:40You also get a lot of the matrix multiplication, vector math type of features from there, right?
- 32:43Yeah.
- 32:44Yeah.
- 32:44It's very helpful.
- 32:45And it has made our data processing a lot cleaner to do it through that data structure.
- 32:52Now, this cycle where you take the data, you factor out the atmosphere and other interference, and then you add in all the good parts of the signal, the positive parts of the signal from the different telescopes.
- 33:05You analyze it.
- 33:07You said that this cycle goes around a couple of times and takes like a year and a half or something, right?
- 33:12Yeah.
- 33:13So from the time we took the data, which was in April 2017, to the time we released this image in April 2019, about one and a half years of that time was spent on the data processing.
- 33:25And the feedback loop between our correlation centers and the data processing team.
- 33:30I was part of the data processing team.
- 33:32We're quite a small team working kind of around the clock on a pretty fast turnaround, just because we had kind of a lot of data issues identified at each site that needed to be run down and then going back upstream and then back down.
- 33:45And we also had a feedback cycle with the imaging team that looked at early versions of the data and then discovered issues and then again going back upstream.
- 33:54So there was a long process of really trying to fix all of the instrumentation parts that would contaminate the black hole data.
- 34:01And then eventually we finally had a data set mature enough that would allow for actual imaging.
- 34:07And then once that was done, we were dealing with data files in the kind of 100 megabyte sizes.
- 34:12After data processing, we could really average our data down.
- 34:15So we're dealing with complex numbers.
- 34:17The data we get from the black hole are complex visibilities.
- 34:21They have an amplitude and a phase.
- 34:23Like 7 plus 2i, complex in that sense?
- 34:26Exactly.
- 34:26Yes.
- 34:27Yeah.
- 34:27And so because we have complex numbers, if we try to average numbers in which the phase part don't align, we end up destroying our signal because of destructive interference.
- 34:37So we needed to align the phases in order to average down our signal to have constructive interference and build up signal.
- 34:44And that's really the key part of the data processing.
- 34:47That's what we do in order for the imaging teams to have the best data possible.
- 34:51And then in the kind of 100 megabytes data, then we move on to our imaging software.
- 34:56Indeed.
- 34:57Quick question from the audience.
- 34:59What sort of wait times do you experience when you're iterating this step when you're sort of working in, say, a Jupyter Notebook and you press run?
- 35:07How long until you see the results?
- 35:09I guess.
- 35:09What's the experience of working like this?
- 35:11Is it a lot of batch processing and you walk away for lunch?
- 35:14Or is it small enough that you're getting immediate responses?
- 35:19Yeah.
- 35:19So I think outside of the Python packages is where we run most of the big data crunching.
- 35:24I think in those parts, it would take a couple of days to run through our calibration pipeline.
- 35:29And the Python parts would take maybe a couple hours.
- 35:33Then when we're running diagnostic Jupyter Notebooks, it would take maybe not long because then at that point, we're basically in the 100 megabyte parts just doing data checks in which we make use a lot of Jupyter Notebooks, in fact.
- 35:46And math plot will have to plot through our entire data steps and cross-check every part.
- 35:52We have all these diagnostic notebooks that look at our data.
- 35:55And those don't take much time to generate.
- 35:58I would say maybe 20 minutes would generate kind of a single switch from a Jupyter Notebook.
- 36:03Sure.
- 36:03Very interesting.
- 36:04So most of the work is done by this supercomputer and seeing Fortran.
- 36:09And then you kind of are working with the raw answers in just numerical form, but you want them visualated.
- 36:15You want them correlated or things like that.
- 36:17Yeah.
- 36:17And then when we're really looking to diagnose our data to find instrumentation errors, then visual representations are extremely useful.
- 36:25And we've made a lot of use of kind of Jupyter Notebooks, especially in our data processing checks, to make sure everything looks good at each step of the pipeline.
- 36:35All right.
- 36:35One more audience question, then I'll move on.
- 36:37Mellie asks, do you do logging or any staging to keep track of the stages they're at and not in a loop?
- 36:45Yeah.
- 36:45So each data pipeline has multiple stages in which we have kind of checkpoints at each stage where we have a suite of kind of Jupyter Notebooks or our suite of plots generated so that we can go back.
- 36:57If there's an issue, we can go back in each stage and look at the outputs and make sure that we can generate or we can identify where the issue has happened or when the failure has occurred.
- 37:07We have logs also of every process that comes in.
- 37:11We also do very strict version control of each kind of software version.
- 37:15Every time we run something, we do have a kind of version control package of all the software within one single pipeline run that we keep track of as well.
- 37:25That's really interesting because you want to have reproducibility, right?
- 37:29Absolutely.
- 37:30Maybe something minor changed about the way Pandas does floating point operations.
- 37:35I'm just making this up.
- 37:36But, you know, theoretically over versions and give you a slightly different answer, right?
- 37:40So you want to have a really clear snapshot of the entire system, right?
- 37:44That's right.
- 37:45And this was also very important for us when we released the papers for this image.
- 37:50We also released the version controlled pipelines, both on the data side and on the imaging side that contained, you know, the exact version and kind of container form of the software that we use and the scripts that we used to generate these exact results.
- 38:06Oh, awesome.
- 38:06So this won the Nobel Prize, right?
- 38:08It did not.
- 38:09It did not?
- 38:11No.
- 38:11I'm sorry.
- 38:12I don't know why I thought I did.
- 38:13No, we won the breakthrough prize in physics in 2019.
- 38:17It won the heart and the minds though.
- 38:19So you did point out in your talk about how much this made a splash among people who are not scientists.
- 38:26Yeah, that was something that was very shocking for us because when we building up the project, obviously we had talked about the projects in various media forums and it was interesting in the astronomy community.
- 38:37So we knew there was some traction about the project that people would be interested in the results.
- 38:42But we did not expect the magnitude at which this image would really go into pop culture.
- 38:48Especially the fact that the next day after this release, it was on front pages of newspapers around the world.
- 38:54Just really unusual for science results, especially around times around these times when 19 was not, you know, the most happy of years.
- 39:03There was plenty of other stuff to occupy the news.
- 39:05So it's definitely unusual.
- 39:07And, you know, it ended up kind of trending number one on Twitter, which is, again, really surprising for science news.
- 39:14We did not have a trending campaign, really.
- 39:16We didn't prepare a hashtag.
- 39:17It was not something we were not really social media savvy kind of people.
- 39:21So it was it was not planned.
- 39:23It just kind of organically happened.
- 39:25And then there were so many memes and references.
- 39:27And we were kind of referenced on talk shows and documentaries and news segments.
- 39:33So it was really beyond anything we had expected.
- 39:36And there was a lot of demand also to hear from us, not just from astronomy or physics, you know, academics,
- 39:42but also a lot of demand from planetariums and science camps and even museums.
- 39:48We did a bunch of talks at museums, which was really enjoyable and kind of reached to a different audience.
- 39:53And that was all really cool.
- 39:55I think really nice experience to kind of reach out to the community and make sure that people are part of it,
- 40:00because these science results happen in very big teams.
- 40:03And not just that, our teams are funded by taxpayer dollars.
- 40:07They build on resources from various communities, including, you know, the developer community in programming and instrumentation community.
- 40:14And, you know, all the giants and physics that came before us.
- 40:18So it's really not just kind of a personal victory as a member of our team.
- 40:22It's kind of a global effort.
- 40:24And we want to make sure that we send a signal that teamwork is really a global thing and that big science happens in big teams.
- 40:30And not everybody's playing a part in this in some way.
- 40:34Are you familiar with the Mars rover GitHub?
- 40:37Not the rover itself, but the Mars, the badge, I guess it's called.
- 40:41No, I don't think so.
- 40:43People got this for the people who worked on.
- 40:45Where is this?
- 40:46Oh, somebody show me the badge.
- 40:49So for people who worked on the Mars lander, they got a special badge.
- 40:55I don't know where it is.
- 40:56Oh, really?
- 40:56Oh.
- 40:57I feel like there should be one of these as well.
- 40:59That would be cool.
- 41:00Right?
- 41:01For the people that worked on this project.
- 41:02Yeah.
- 41:03There should be like a little black hole badge.
- 41:05So I don't have it.
- 41:06That would be very cool.
- 41:07But, you know, it's like a little badge, like here's the Arctic contributor one.
- 41:10There's a Mars rover one.
- 41:11So people in GitHub out there, let's make a black hole badge.
- 41:15Because there's so many of these open source projects that are indirectly used and contributors
- 41:20to it.
- 41:20And they could have a black hole badge.
- 41:22And that would be awesome, I think.
- 41:22That's a great idea.
- 41:23I would be happy to reach out to people and try to see if I can make that happen.
- 41:27I think that would be really awesome.
- 41:29Yeah.
- 41:29Yeah.
- 41:30Indeed.
- 41:30I don't know.
- 41:31I think I don't know the username enough people to search for it.
- 41:34But anyway, I think that would be really cool.
- 41:35I think there should be a badge.
- 41:36But let's go and talk Matplotlib for a minute.
- 41:39So here you are presenting this keynote.
- 41:42Yeah, my favorite.
- 41:44Yeah, yeah.
- 41:45Tell us about this picture that you got here.
- 41:46And then we can maybe dive into how you know the picture that we see is actually the picture.
- 41:52Yeah.
- 41:53This is my physics process, which is kind of underwhelming when you show it to most people.
- 41:57But people who are radio astronomers like me would be extremely excited seeing this.
- 42:02And this is really the first kind of depiction of M87 I saw after we finished the data processing
- 42:08pipeline.
- 42:08This is before anyone made any image, by the way.
- 42:11It was in May 2018 when we actually finished the very first run of the full pipeline in
- 42:17data calibration.
- 42:18And this was the end point, this plot.
- 42:20And what this plot shows is kind of on the y-axis, there's a flux density, which is basically
- 42:26the brightness of signal seen by pairs of telescopes.
- 42:29And then on the x-axis, there is baseline length, which tells us kind of the separation between
- 42:34pairs of telescopes.
- 42:35So telescopes close together see a lot of signal in common.
- 42:38Telescopes far apart see kind of smaller signal in common.
- 42:42And depending on their location, they probe different sections of the image.
- 42:46And so what we see here is this kind of, how would I say that, this kind of bump, double
- 42:50bump in the image.
- 42:52And what this double bump actually tells us in the plot is if you look at the dashed line,
- 42:57this is what we would expect if the image on the sky was a uniform ring.
- 43:02Uniform as in the brightness along the ring is the same everywhere.
- 43:06So it's just a closed ring and the brightness is the same everywhere.
- 43:08And so it turned out that this bump structure looked really close to a uniform ring.
- 43:14And this is already really exciting because we were already trying to imagine what does
- 43:19the ring look like and how this plot also tells us how big it is.
- 43:23It tells us it was actually 42 microseconds wide, this ring, without any image.
- 43:28And what was also really cool is that if you look at the first dip location, you will see
- 43:33that the data actually split into two levels.
- 43:35There is a lower level and an upper level.
- 43:37And these correspond to two different directions on the sky that the stations are looking at.
- 43:42The lower level are looking at the source in the east-west direction, so across, and they're
- 43:48seeing a kind of dip.
- 43:50And the other ones are looking at it in the north-south and they're seeing more signal.
- 43:55And what this difference tells us is that the ring is not uniform, but it's actually asymmetrical
- 44:02in the north-south.
- 44:03There's one part that is brighter, either north or south, that is brighter than the other
- 44:07side.
- 44:07And if you look at our final image, it is brighter on the bottom than it is at the top.
- 44:12Whereas if you were to slice across, you will see it's the same, right?
- 44:15If you were to slice across, it's the same.
- 44:17But if you were to slice like this, you have less signal up here and more signal down here.
- 44:21Already the plot told us so much about what we're looking at.
- 44:25Yeah.
- 44:25So before we hit a picture, you're like, oh, we think we're onto something here, right?
- 44:29Yes.
- 44:30It was super exciting.
- 44:31But then we were very careful because we thought, okay, there's a lot we can talk from this plot,
- 44:36but let's not try to get ahead of ourselves.
- 44:39Because there are a lot of types of images that could be tweaked to mimic this kind of structure.
- 44:45And so that was kind of part of the next stages in which we wanted to split our teams into our big
- 44:52imaging team into four independent teams.
- 44:54And each team works independently for about seven weeks on analyzing the data in any means they wanted,
- 45:00with any software they wanted, any decision they wanted.
- 45:03And we came together after seven weeks at a workshop to compare the images.
- 45:07And each team submitted a single image.
- 45:09And it turns out that the images between the four teams were very, very similar to each other.
- 45:14And so that was really exciting.
- 45:16And everybody got a ring of the same size, 42 micrach seconds and brighter on the bottom.
- 45:20Even though there were kind of some small differences across the images that came from the user-based
- 45:25choices in the software, the main structure was there for everyone.
- 45:30And I think that was one of my favorite days in the collaboration because we had so much fun that day.
- 45:35It was such a big relief because we were using so many different techniques,
- 45:39kind of imaging software that we weren't sure we would all get the same answer.
- 45:44So we were really relieved that we did.
- 45:46And then, you know, at the end of the day, we all went drinking at a bar and turned out it was karaoke night.
- 45:51So we all sang karaoke together.
- 45:53It was such a lovely day.
- 45:55Were there any space-themed songs like Hello Major Tom or any of these things?
- 46:01We sang Gua Tum San.
- 46:03Oh, there you go.
- 46:03Yeah.
- 46:04That was a must.
- 46:07Perfect.
- 46:07Yeah.
- 46:08But we changed the lyrics to Blackpool Shadow.
- 46:10If you're taking petabytes of data and running them through a bunch of algorithms until they come down to megabytes,
- 46:16or you said the final picture is actually like less than one meg.
- 46:19Yeah.
- 46:20Then, you know, what you're seeing, is that actually what you're seeing?
- 46:23Or is that artifacts built up along the way, right?
- 46:26So this must have been really comforting to try these different algorithms and go, they all come up with the same picture.
- 46:30Yeah.
- 46:30I think we were confident about what the data were telling us, but we wanted to make sure that we understood how our software were responding to the data.
- 46:37So, you know, from kind of objective perspective, when we looked at the data plots, we knew what it was telling us.
- 46:44But we wanted to make sure that we looked through every avenue of possible ways of creating images that look similar to the data.
- 46:50And in fact, it's really very hard to create images that don't look like what we have.
- 46:57And so no matter how much we tweaked our software, we would always end up with something very similar to the final image.
- 47:04But we still wanted to put our software through this test and do a kind of process in which we would test it.
- 47:10And in the end, the final stage ended up being trying to find what is the best kind of combinations of our software choices that gave us the best image.
- 47:19Because we generated so many images with user-based choices, and they ended up pretty similar to each other with the base structure.
- 47:26But how do you pick one image?
- 47:27So that was kind of the dilemma we had at the final.
- 47:31We didn't know how to pick a single image.
- 47:33So we decided to create these kind of fake data sets that mimicked our data in which we knew the real truth images.
- 47:40And they looked like rings or disks or double sources.
- 47:43And then we made our softwares go through thousands of combinations of these parameters and kind of tested how well they could reproduce all four of them, all four images.
- 47:54And then the ones that were kind of, we ranked them.
- 47:57And then number one was the best image for each software.
- 48:00And then the final image, you know, the famous image of a black hole is actually just the average of the three software images, the three best images from the software.
- 48:08And this is also only one image of the black hole.
- 48:11This is only April 11.
- 48:13We observed M87 for four days in 2017.
- 48:17So we have four images of this black hole from 2017.
- 48:20And they all look the same.
- 48:22And they all went through separate day observing, kind of separate processing, and always giving the same answer.
- 48:28So you all are pretty sure that this is the picture.
- 48:30Absolutely.
- 48:31At least this is the radio astronomy picture.
- 48:33Yeah, this is the picture at 230 gigahertz.
- 48:36Yeah, exactly.
- 48:37There's also pictures of that general space with Hubble and some other things that you laid out.
- 48:44Yes, this is a really fun part of our campaign also, because obviously we're trying, the purpose of our experiment is to learn about black holes.
- 48:52We want, I mean, these objects are super fascinating.
- 48:55They're kind of mind boggling in how they exist and what they do to galactic environments.
- 49:00These jets are enormous and they're pierced through entire galaxies.
- 49:03And yet they come from a very tiny part of the galaxy itself.
- 49:07And so in really understanding black holes, it's obviously really useful to look at one up close.
- 49:12But we need to combine that knowledge with how it looks across all colors, all wavelengths.
- 49:17And so we had a big multi-wavelength campaign at the same time as these observations across lots of different instruments.
- 49:25So we had instruments in the high energy, in the X-ray, infrared, in optical, and also other radio wavelengths.
- 49:32So we had a lot of partnerships with other observatories too, to make that happen.
- 49:37And we learned a great deal about the black hole and its jet through that process.
- 49:41Yeah.
- 49:41It seems that black holes, supermassive black holes are a fundamental part of galaxies almost, right?
- 49:47Absolutely.
- 49:47They live in the centers of most galaxies.
- 49:50M87 is one of the special ones because it has this big jet coming out of it.
- 49:55So it's very nice to get a look at one that has a jet up close.
- 49:58And actually, our Milky Way black hole, Sagittarius A star, is one of the very common, boring ones.
- 50:04And so the fact that we can have both of them and look at both of them is kind of special because it gives us kind of two very different classes of black holes.
- 50:13That end up looking very much the same.
- 50:15Sagittarius A star's image looks a lot like M87.
- 50:18This is really just because even though they're totally different black holes, they differ in mass by a factor of about 1500.
- 50:24And our Milky Way is a spiral galaxy, right?
- 50:27But M87's galaxy is elliptical and it's much older and much bigger than our Milky Way.
- 50:32And M87 has a jet and Sagittarius A star doesn't seem to have one.
- 50:36So there are two very different black holes.
- 50:38And yet, once you get up close, it's really just the effects of gravity is so strong that it's really all you see.
- 50:44And it's so cool that they look the same.
- 50:47Yeah, it is amazing.
- 50:47I guess it's worth just pointing out just how large the M87 black hole is.
- 50:53Oh, yes.
- 50:54The shadow of the M87 black hole could fit our entire solar system very easily.
- 50:59It could, you know, the orbit of Pluto would be about in the middle, in the kind of mid-range inside the shadow.
- 51:05And Voyager 1, which is the furthest human-made object, would be just at the edge of the shadow right now.
- 51:11Yeah, that's incredible.
- 51:12Very, very big.
- 51:13If it were there, it would get sucked back in.
- 51:15But if it were unaffected, it would be at the edge.
- 51:19Yeah, so also 6.5 billion solar masses.
- 51:22That's right.
- 51:23Yeah.
- 51:24That's really large.
- 51:25That's a lot of mass.
- 51:26It's actually one of the heaviest black holes in our universe.
- 51:29I think the current heaviest is about 10, I think 10 billion solar masses, maybe a little more.
- 51:37Wow, so that's not that much larger, yeah.
- 51:38Yeah, it was one of the pretty larger ones.
- 51:41Yeah.
- 51:41All right, well, we're getting a little short on time.
- 51:44So let me close this out with a bit of a future-looking question, and I'll give it to the IkuVu from the audience.
- 51:51So what's next for EHT?
- 51:54I'll ask it that way.
- 51:55Yeah.
- 51:55What now?
- 51:56Since our 2017 campaign, we've kept observing.
- 51:59We observed in 2018, where we added one telescope and increased our bandwidths, where we can have more sensitivity and cooler observations of magnetic fields.
- 52:08We also observed in 2021, which was a kind of mid-COVID observation, which was a very strange one.
- 52:14And in 2022, we added two new stations after that.
- 52:18So we're now up to 11 with the EHT.
- 52:21And we're trying to expand our array to have more telescopes.
- 52:24So there's currently an effort called the Next Generation Event Horizon Telescope.
- 52:29So the EHT so far only borrowed telescopes that just happened to be at the right locations that were actually built for completely different science programs, just radio telescopes that were able to observe at the frequency we wanted and at the right place.
- 52:43So we didn't have much of a control over the locations of the telescopes.
- 52:47And so in order to see more of our image, for example, to see the jet in MA-7, we need a lot more telescopes.
- 52:53So the Next Generation EHT plans to have more control over where telescopes are going to be put.
- 52:57So we're planning to get smaller dishes because we have the sensitivity now with the current EHT.
- 53:03Smaller dishes at the locations where we need them, where we have holes in our virtual mirror to recover the structure.
- 53:11And eventually, we'd like to observe more often.
- 53:13So now we only observe two weeks a year.
- 53:15We want to be able to observe every two weeks or every month.
- 53:19And eventually, we could make movies of M-87.
- 53:21And also, if we have enough telescopes, we would be able to make movies of Sagittarius A-Star as well.
- 53:26And that will really show us the connection between the black holes, the gas swirling around it, and its jet and magnetic fields.
- 53:32I think we could learn so much about black holes through that.
- 53:35It would be so exciting.
- 53:36You could get precise speed of the accretion disk and how it evolves.
- 53:40Yeah.
- 53:41And that's about a 10-year time scale.
- 53:44In the far future, in kind of 20 to 30 years, members of our team are currently actively thinking about putting satellites into space.
- 53:51Since we're running out of Earth's diameter to make a bigger telescope, there's only two ways to make your telescope bigger.
- 53:57Either make the separation bigger or go to higher frequency so we have higher resolution.
- 54:03And because of the Earth's atmosphere and the size of the Earth, we're limited in both.
- 54:07But by going into space, we'd go above the atmosphere so you can go to higher frequency and you could have larger distances.
- 54:14So by putting satellites into space, we could have enough resolution to maybe see up to 10 or even 50 more shadows of black holes, which would be really cool.
- 54:23And then we'd have amazing sharp images of the two that we know and love to really test theories of gravity, which would be terribly exciting.
- 54:31But of course, the technology to do that is not there yet, but it is moving forward.
- 54:35And it's something we're thinking actively about.
- 54:38Getting there.
- 54:38Another thing you pointed out was all the results you got from this so far still back up the general theory of relativity, right?
- 54:44That's right.
- 54:45Yeah.
- 54:46Einstein seems to be still correct.
- 54:48Our black hole shadows are still very circular, which is what Einstein's theory predicts.
- 54:52But we need much sharper images to see bigger differences.
- 54:55We were able to rule out some theories, but there are still some theories that survive.
- 54:58So we need to get to sharper and sharper images and a stronger and stronger test.
- 55:03But I think we're moving in that direction.
- 55:04Our first image has really just opened this new laboratory of images of black holes.
- 55:09So it's going to be an exciting new field.
- 55:12Yeah, this is possible.
- 55:13Now let's build on it, right?
- 55:16Yeah, absolutely.
- 55:17Awesome.
- 55:17All right.
- 55:18Well, I think we'll leave it there for the black holes, but congratulations to you.
- 55:22And I know that all the other people, often you point out that you're just the representative for this great big team.
- 55:28Yeah.
- 55:28I only play a small part.
- 55:30It's really a big team effort and a community effort, and everybody is part of it.
- 55:34Yeah, indeed.
- 55:35Now, before we get out of here, let me ask you the final two questions.
- 55:38I always ask, if you're going to write some Python code, what editor do you use these days?
- 55:42What editor?
- 55:43Oh, my God.
- 55:44Super boring.
- 55:45I use de-edit.
- 55:46Oh, perfect.
- 55:46Awesome.
- 55:47Yeah, very boring.
- 55:48If there's any Python package library you want to give a shout out to, maybe that was central to this work.
- 55:53I know you already mentioned pandas and matplotlib.
- 55:56Anything else that was really useful here?
- 55:58Yeah, there was a really cool nested sampling algorithm that was developed by a Harvard grad student called Dynasty that was super useful for her modeling work and really kicked off a lot of that analysis.
- 56:08So I'd like to shout that out, too.
- 56:09And it's open source.
- 56:10Yeah.
- 56:11I'll put a link to it in the show notes for people.
- 56:13All right.
- 56:13Well, Sarah, thank you so much for coming on the show, for sharing your work.
- 56:17As you saw, it's been an inspiration to everyone around the world.
- 56:20So thank you.
- 56:21Yeah, thank you for having me.
- 56:22Yeah, you bet.
- 56:23Bye.
- 56:25This has been another episode of Talk Python To Me.
- 56:27Thank you to our sponsors.
- 56:29Be sure to check out what they're offering.
- 56:31It really helps support the show.
- 56:32Join Cox Automotive and use your technical skills to transform the way the world buys, sells, and owns cars.
- 56:40Find an exciting position that's right for you at talkpython.fm/cox.
- 56:45Take some stress out of your life.
- 56:47Get notified immediately about errors and performance issues in your web or mobile applications with Sentry.
- 56:53Just visit talkpython.fm/sentry and get started for free.
- 56:58And be sure to use the promo code talkpython, all one word.
- 57:01Want to level up your Python?
- 57:03We have one of the largest catalogs of Python video courses over at Talk Python.
- 57:07Our content ranges from true beginners to deeply advanced topics like memory and async.
- 57:13And best of all, there's not a subscription in sight.
- 57:15Check it out for yourself at training.talkpython.fm.
- 57:18Be sure to subscribe to the show, open your favorite podcast app, and search for Python.
- 57:23We should be right at the top.
- 57:24You can also find the iTunes feed at /itunes, the Google Play feed at /play,
- 57:29and the direct RSS feed at /rss on talkpython.fm.
- 57:34We're live streaming most of our recordings these days.
- 57:37If you want to be part of the show and have your comments featured on the air,
- 57:40be sure to subscribe to our YouTube channel at talkpython.fm/youtube.
- 57:45This is your host, Michael Kennedy.
- 57:47Thanks so much for listening.
- 57:48I really appreciate it.
- 57:49Now get out there and write some Python code.
- 57:51Thank you.
- 57:52Bye.
- 57:53Bye.
- 57:54Bye.
- 57:55Bye.
- 57:56Bye.
- 57:57Bye.
- 57:58Bye.
- 57:59Bye.
- 58:00Bye.
- 58:01Bye.
- 58:02Bye.
- 58:03Bye.
- 58:04Bye.
- 58:05Bye.
- 58:06Bye.
- 58:07Bye.
- 58:08you
- 58:08you
- 58:09Thank you.