Python for Astronomy with Dr. Becky
Learn how she's using Python to make new discoveries at the cutting edge of research and dive into a couple of her YouTube videos aimed at spreading scientific truth in an entertaining wrapper.
Episode Deep Dive
Guest Introduction and Background
Dr. Becky Smethurst is an astrophysicist at Oxford University whose work focuses on supermassive black holes and the evolution of galaxies. She analyzes enormous datasets, collaborates with international research teams, and uses Python extensively to model, visualize, and interpret astrophysical phenomena. Outside her research, Dr. Becky is deeply dedicated to science communication through her YouTube channel and popular science books. She also shares how hobbyist-friendly tools (like Jupyter notebooks) and open-source libraries (like AstroPy) empower her daily research.
What to Know If You're New to Python
Even if you are a beginner, you can follow many parts of this conversation if you know the essentials of using Python for data handling and visualization. Here are a few tips and points Dr. Becky raised to keep in mind:
- You should be comfortable writing basic Python code to load, manipulate, and visualize data (e.g., using NumPy and Matplotlib).
- Familiarity with Jupyter notebooks will help you understand quick explorations and iterative data analysis.
- Realize that Python is often used with astronomy-specific libraries, such as AstroPy, to process and analyze large sets of astronomical data.
Key Points and Takeaways
- 1) Why Python Is Essential for Astronomy Dr. Becky highlights that modern astrophysics involves sifting through massive datasets from telescopes and surveys. Python’s extensive scientific ecosystem (NumPy, SciPy, Matplotlib, Pandas, AstroPy) makes it the de facto choice for data cleaning, model fitting, and visualization. Moreover, Python’s readability and the community’s contributions (e.g., AstroPy and other open-source projects) make research and collaboration more efficient.
- 2) Real-World Image Processing
A big portion of astronomy relies on processing images from telescopes. Dr. Becky discussed removing noise from images and handling cosmic rays or satellite trails. She explained how each telescope’s detector has quirks that Python scripts can correct or calibrate using libraries like AstroPy.
- Links and Tools:
- 3) Handling Large Data Tables and Catalogs
Dr. Becky shared examples of working with catalogs of 600,000+ galaxies in custom data formats (like FITS files). The conversation underscored why tools like pandas or NumPy arrays drastically outperform spreadsheets for such tasks, enabling quick queries and transformations without hitting row limits or performance bottlenecks.
- Links and Tools:
- 4) Jupyter Notebooks for Collaboration
The ability to have live code, interactive plots, and textual explanations side-by-side is a game-changer for exploratory research. Dr. Becky often prepares Jupyter notebooks to share new plots or test results with her collaborators so they can quickly reproduce or adapt her code.
- Links and Tools:
- 5) Citizen Science and Machine Learning
Dr. Becky highlighted crowdsourced projects like Galaxy Zoo and Planet Hunters, where people help classify galaxy shapes or exoplanet signals. These classifications feed machine learning algorithms to tackle even larger future surveys with billions of objects.
- Links and Tools:
- 6) Visualization for Scientific Insight
From 2D scatter plots to 3D VR-ready simulations, data visualization allows astronomers to find new structures (e.g., radial flows, black hole activity) and to share them with a wider audience. Dr. Becky specifically mentioned using Plotly and Matplotlib for 2D/3D data explorations.
- Links and Tools:
- 7) Simulation and Model Fitting
Some astrophysics projects revolve around simulating black hole interactions or star “spaghettification.” These rely on numerical methods coded in Python along with specialized libraries. Dr. Becky also called out Bayesian approaches, specifically an MCMC (Markov chain Monte Carlo) library, for improving fits and estimating uncertainties.
- Links and Tools:
- 8) Communicating Complex Science on YouTube
Dr. Becky’s channel breaks down everything from how Python helps find exoplanets to busting space conspiracy theories. By capturing real examples of code (like analyzing star orbits) and astronomy “day in the life” time-lapses, she aims to humanize science and coding.
- Links and Tools:
- 9) Merging Hobby, Research, and Education A recurring theme was how Dr. Becky’s professional research workflows blend seamlessly with her outreach. She pointed out that a curious mind plus Python is enough to do real astronomy—from amateurs analyzing personal telescope images, to journaling new data from major telescopes.
- 10) From IT to Pythonic Science Finally, Dr. Becky noted how many educational systems still rely on spreadsheets or minimal coding. Real-world astrophysics, however, thrives on the broad ecosystem of Python libraries, as well as the welcoming nature of the community—providing an excellent path for budding scientists looking to automate, innovate, and discover.
Interesting Quotes and Stories
“Even if you don’t think of yourself as a programmer, once you start writing code to do everyday tasks, you’ve effectively become one.” – Illustrating how necessity in research leads scientists to coding.
“It still blows my mind that we can do all of this in Python, and that I get to do it every day.” – On the excitement of unraveling cosmic mysteries with open-source tools.
Key Definitions and Terms
- Spaghettification: The stretching effect objects experience near massive gravitational fields, like black holes, where the force at one end can be significantly stronger than the other.
- Citizen Science: Involving the public in data collection or classification (e.g., Galaxy Zoo) to accelerate and scale scientific projects.
- Markov chain Monte Carlo (MCMC): A statistical sampling technique to estimate model parameters and quantify uncertainty.
Learning Resources
If you want to strengthen your Python skills in preparation for data-driven projects like astronomy or other science domains, here are some courses that might fit your needs.
- Python for Absolute Beginners: Learn Python step by step, from installing it all the way to structuring basic applications.
- Data Science Jumpstart with 10 Projects: If you’re interested in data-oriented workloads (like those in astronomy), you can build solid foundations here.
Overall Takeaway
Whether you’re running full-blown cosmological simulations or quickly cleaning a few thousand data rows, Python’s ecosystem offers an accessible way to transform raw information into scientific insights. Dr. Becky Smethurst’s experiences highlight how a curious mindset, some numeric fundamentals, and open-source libraries can empower anyone—astrophysicist or otherwise—to discover something truly new about the universe. And along the way, the collaborative spirit of Python (and astronomy) can accelerate learning, build community, and make science more open to everyone.
Links from the show
Dr. Becky's YouTube channel: youtube.com
5 ways I use code as an astrophysicist video: youtube.com
Astrophysicist reacts to funny space MEMES video: youtube.com
A day in the life of an Oxford University Astrophysicist: youtube.com
Book: Space: 10 things you should know: amazon.com
SpaceMemes
Apple maps: image
Otter space: image
Eclipses: image
Steals a cow: image
Black holes: image
YouTube live stream: youtube.com
Episode transcripts: talkpython.fm
--- Stay in touch with us ---
Subscribe to Talk Python on YouTube: youtube.com
Talk Python on Bluesky: @talkpython.fm at bsky.app
Talk Python on Mastodon: talkpython
Michael on Bluesky: @mkennedy.codes at bsky.app
Michael on Mastodon: mkennedy
Episode Transcript
Collapse transcript
00:00 If you're involved in science or use computational tools in your work, you should be using code to solve your problems. On this episode, we have Dr. Becky Smethurst,
00:08 who is an astrophysicist at Oxford University and uses Python to explore galaxies and black holes.
00:13 Learn how she's using Python to make new discoveries at the cutting edge of research
00:17 and dive into a couple of her YouTube videos aimed at spreading scientific truth in an
00:22 entertaining rapper. This is Talk Python to Me, episode 303, recorded February 4th, 2021.
00:28 Welcome to Talk Python to Me, a weekly podcast on Python, the language, the libraries, the ecosystem,
00:46 and the personalities. This is your host, Michael Kennedy. Follow me on Twitter where I'm @mkennedy,
00:51 and keep up with the show and listen to past episodes at talkpython.fm, and follow the show on Twitter via at Talk Python.
00:58 This episode is brought to you by Linode and Cloud ENV. Please check out what they're offering
01:03 during their segments. It really helps support the show. Dr. Becky Smethurst, welcome to the podcast.
01:08 It's so great to have you here. Yeah, it's great to be here. I'm just happy to have a
01:12 chat about code on a Thursday afternoon for me. One of the things that I like to do is I like to tell
01:17 stories of people doing amazing stuff with Python, not making Python necessarily their entire world,
01:24 right? Like it's awesome to talk to the people maybe at Instagram and how they're building Instagram
01:28 with Python. But I think it's also really neat to shine a light on people doing other things like
01:33 astronomy or economics or whatever, but also, you know, using Python as a superpower. And it definitely
01:40 get the sense that that's kind of your world. Yeah. It's fun. Like thinking about not just all the
01:44 things that you can do with Python, but like humans in general can do the things that I am doing
01:50 with Python, like that we've figured all of this out, you know, that we can then use a tool like
01:55 Python to do it. It kind of blows my mind that I get to do that every day. In your world, there's
02:00 probably a lot of supercomputers and high-end, you know, there's a lot of stuff behind the scenes,
02:05 behind maybe a simple Jupyter notebook, right? Yeah. Just a little bit like the Oxford physics,
02:12 like a supercomputer is called Glamdring as well. Like everything's Lord of the Rings references.
02:17 Okay. Awesome. So these like conversations you have with other physicists in the department being
02:21 like, Ooh, did you, did you get time on Glamdring? Like how did you get hands on Glamdring? Like it
02:26 makes it sound like we're passing around this sword between us all like that.
02:29 That's amazing. And I, you know, we're going to talk a bit about your YouTube channel and some stuff
02:35 that you're doing there as well to popularize astronomy and whatnot. And one of them, you talked
02:39 about how at Oxford where you're working, there's actually some of the scenes from Harry Potter
02:44 shot as well. So there's all sorts of cool fantasy movie tie-ins here, right?
02:48 Yeah, definitely. So Oxford has them, the colleges and my college Christchurch is the one they used
02:53 in the first film for the steps up to the hall where like Trevor finds his toad and McGonagall welcomes
02:59 them and stuff. So the amount of times I've walked up those steps and like quoted parts of the film,
03:04 because I'm such a Potterhead. But then also I managed to somehow get past the referee on one of my
03:09 scientific papers to name galaxies after Harry Potter characters.
03:12 Oh, fantastic.
03:14 Because like when I was at the telescope taking the data, I was highlighting them like red,
03:18 blue or green, depending like whether I was observing them on like Tuesday night, Wednesday night or
03:23 Thursday night. And so I named all the red ones after Gryffindors and all the blue ones after Ravenclaws
03:28 and all the green ones after Slytherins. So yeah, I ended up with, you know, writing a paper that was
03:32 like Hermione shows interesting features. It was great.
03:37 Oh, that's fantastic. I love that. Let's kick off a little bit of background about you with a comment
03:41 from live stream. Robert says, I like Dr. Smether. She reaches for the stars. Fantastic. So maybe tell us
03:46 a bit about yourself.
03:47 Yeah, sure. So I am an astrophysicist. I work at the University of Oxford at Christchurch and I research
03:54 how supermassive black holes affect galaxies. And that's sort of like my day job. And that includes,
04:00 you know, going to telescopes and taking data, coming back, analyzing that data with Python and then
04:06 writing it up and publishing it to the world. But then sort of was like a side hustle, I guess you could
04:12 call it. I have my YouTube channel where I like to just chat to people about space and astrophysics and
04:18 all the research that's going on in astrophysics right now, because I think there's often a disconnect
04:23 between the public who are like, I think so many people are interested in space in general, because
04:28 it is one of those things that there's just an abundance of questions that we don't know the
04:32 answer to. And that's why we're still doing the research. And so everyone is so curious about it,
04:36 but they don't have a friendly neighborhood astrophysicist to ask the question too. And that's
04:41 what I, you know, try and be for people and highlight, you know, what it's actually like
04:46 to work as an astrophysicist. Because I think a lot of people don't really know that it can feel sort of
04:52 very opaque, sort of the academic world of research and being a scientist. But then also, you know, being
04:57 like, oh, there was this new research study published, what does it actually mean? Why do we
05:02 astrophysicists care? Like, what implications does it have for, you know, our field in general? How does
05:07 it fit in? All those kind of things and really combating as well, like the rise in the sort of,
05:13 you know, conspiracy theory science on YouTube as well. I feel like if we just flooded YouTube with like
05:17 real scientists and real academics actually doing the research, you know, that know their stuff,
05:21 then I guess we can combat that.
05:23 Yeah. So that's amazing. Two thoughts. One, I think astronomy is interesting because it's both
05:28 so close to everyone, right? You go out at night and you just look up and you can't help but go,
05:33 wow, I can almost see the craters on the moon. Like it's, it's right there. And yet at the same time,
05:39 it's also super inaccessible, right? Like if we want to study, you know, Newtonian physics,
05:43 we can throw a rock and watch the parabola, but we, we can't really access the stars in that way,
05:49 or even the planets other than, you know, they look like stars themselves, right? Basically,
05:52 unless you get a proper telescope.
05:54 Yeah, exactly. There's so many steps that go from just using your eyes to observe the night sky to
05:59 stepping through, you know, buying binoculars, buying telescope, buying a, an adapter that can
06:04 adapt your camera to a telescope that you've bought to, you know, putting together loads of lenses of
06:09 cameras to make a telescope or going to then like a professional, you know, telescope that's built
06:14 with these incredible detectors that let us see the faintest of faintest of features. And with that is,
06:20 is where we can start doing some science. But, you know, I say even in the 1600s, what, you know,
06:26 400 years ago or so people were still doing naked eye astronomy and learning things about the stars,
06:32 or even just with, with binoculars or telescopes, you know, a very small telescope that's maybe less,
06:37 less than a hundred quid, a hundred dollars. You know, you can see the moons of Jupyter and you could
06:42 night by night, every time it's clear, go out and sort of show, okay, the four brightest moons of
06:47 Jupyter are here, here, here, and here around Jupyter. Oh, the next night they've moved. Oh,
06:51 and the next night they've moved again. And that's a project you can still do at home. And okay, yeah,
06:55 we might understand that, but that would be one way that you could test gravity or, you know,
06:59 test the positions of Jupyter's moons. Or even people, a guy called Olber used one of the moons of
07:04 Jupyter to work out the speed of light 200 years ago. So there are, there is still stuff you can do,
07:11 but yeah, it can feel like, you know, it's not accessible to the things that we're doing in
07:15 terms of black holes or dark matter or anything like that. You do need, you know, seven years of
07:20 education or whatever to be able to grasp that and do research yourself. But I guess that's why I want
07:24 to be on YouTube. It's kind of saying, okay, you don't have the seven years of maths and physics
07:30 behind you, but here's the gist of it. You know, here's what they're saying and here's what it means.
07:35 Amazing. The other thing I wanted to mention or get your thought on is you point out that there's
07:40 all this misinformation and it just boggles my mind. I just cannot comprehend how we live in a time of
07:46 so much accessible information. And yet there are people, you know, there's a guy in the United States
07:52 that was convinced the earth was flat. So he built a rocket, shot himself up in there to disprove it,
07:57 and then crashed and died, I believe.
07:58 Yeah.
07:59 Because he was like, yeah, I got to prove it's flat. All these people keep telling me this,
08:02 that it's not. And you know, it's so good on you for putting out like interesting,
08:07 compelling science for people to learn about.
08:10 Yeah. I think it's also just like really getting out like the process of science. Like
08:14 you collect evidence, you test an idea you've had, but if the evidence doesn't match that,
08:20 you have to change your ideas. And I think that's where people get stuck on science is that they have
08:25 some emotional attachment to an idea like the earth is flat. They can't change their mind when
08:30 presented with evidence that isn't. But it's the same thing where people are like, oh, I've never
08:34 really liked the idea of dark matter. So I'm really skeptical of it. You know, like it's the same thing.
08:40 It's like, well, you know, you have to look at the evidence. And as begrudgingly as astronomers
08:45 eventually came up with the idea of dark matter after ignoring sort of the evidence 50 years,
08:50 you know, that was sort of something that is like when you understand the history of all that stuff
08:55 that's built up, it's very easy to see why we think what we do. And I think that's something I try and
09:00 focus on to try and combat those sort of like science skeptics or, you know, people who have
09:06 emotional attachment to stuff like that. And this misinformation is the how we know, not just what
09:11 we know. Cause I think that's so important.
09:13 Yeah, absolutely. I know there's a lot of stuff going around this, like this whole coronavirus era of like,
09:17 well, the scientists said this, and then they changed their mind and they said something else
09:22 after further research was done. So they must have no idea what they're doing. It's like, no,
09:25 that's called science ideas. And then you follow up. All right. So let's get into some of the coding
09:31 topics a little bit here. You know, before we get too far into it, you know, how do you get into
09:36 programming in Python? Out there on the live stream, I also have a sort of similar question,
09:40 maybe tie them both together. It's how do you learn Python for astronomy as an intermediate
09:44 program? I have an intermediate Python program. So any advice for me to get
09:47 better to apply Python to physics?
09:49 Yeah, sure. I didn't even come across coding or Python until I was at university. So it must
09:55 have been my second or third year. There was actually Python courses as part of the physics
09:59 course, you know, teaching it you from scratch, basically. I never learned it at school because
10:04 it just never crossed my radar. Like I did what would be the equivalent of sort of like IT
10:09 computing for what we call our GCSEs up to when we're 16. But that was like Excel spreadsheets
10:13 and like Word docs. It was right, right. More like computer fluency stuff. Yeah.
10:17 Yeah. The practical exam was like a three hour practical exam. I think I finished it in an
10:20 hour and I was just like, oh, it's just an Excel spreadsheet. So I wish we'd done something
10:25 like that then because I think it would have prepared me better because so much science is
10:28 ingrained in Python. And it was great. The introduction we had at university because we learned the basics.
10:32 But then, you know, the next minute you were like, okay, so code up Einstein's theory of
10:37 general relativity because there's just the laws that you follow and do that around a black hole and
10:41 look at, you know, the, how the strength of gravity changes as you get closer to it. You know, that was
10:46 something that was really cool to be set. And that it sounds so complicated to try and code up, but it's,
10:51 you know, it's like a couple of functions and, and then you don't kind of things. Yeah. I found that so
10:56 difficult at the time. But looking back now, I'm like, that was so simple.
10:59 Well, I, you know, thinking back to the code that I've written, I remember being so just thrilled
11:05 and satisfied of getting some simple little program working. And, but it seemed like a giant achievement
11:10 at the time. And, you know, it probably fit on one screen or whatnot, but that's how it is when you're
11:14 learning. Right. Yeah. I mean, even just like being like, what is a terminal, you know, print,
11:19 hello world. Like, what is this? I remember that being such like a mammoth, like obstacle to get over
11:24 of just like getting into like the language and everything like that. But that comes from just
11:29 immersion right in it. And the same thing is true for, for learning how to apply Python to
11:33 astronomy or to physics. It's immersion in both the language that's used in astronomy and physics,
11:39 but also then the coding modules that are so useful to you, like Python modules, for example,
11:44 I'm just going to shout out the AstroPy consortium now, because they're incredible. It's this,
11:48 this whole open source project that's developing, you know, everything from how to, you know,
11:54 plan your observations if you're using a telescope. So you give it coordinates of an object and it's like,
11:59 this is when this is visible in the sky, you know, to, you know, then reducing that data or
12:04 converting, you know, a redshift to an age of the universe, for example, like something cosmological,
12:09 like, you know, that people would be writing their own little widget, like HTML widgets for like about
12:14 10 years ago, but now is so ingrained in the Python and Astro stuff.
12:18 Yeah, that's fantastic. It's, you know, so much of it seems like it would be very,
12:21 like a huge challenge, but these days, it may be 20 years ago it was, but these days it's,
12:25 you know, grab this package, call that function, know what it does, right? And then grab something
12:30 out of AstroPy or something in Jupyter or Plotly or Altair and off you go.
12:34 Exactly. So I would definitely, if anyone wants to get into it, definitely recommend starting with
12:37 the AstroPy project because they have so many tutorials and everything, because it's all open source
12:41 that they're all probably Jupyter notebooks as well. So it would be a great sort of jumping off
12:45 point to get involved. Say, you know, want to get into astrophotography maybe,
12:49 and you want to reduce your images, clean them up with Python. That would be a really fun project to
12:53 do.
12:53 Yeah. Fantastic. Quick, maybe a related question from Frey out there is, do you use basic Python
12:58 or is there a special AstroPy version? I think that's interesting.
13:01 No, it's the usual Python. You know, there was a big sort of like collective, like,
13:06 oh, change to Python 3.6 or 3.7, whatever it is during the AstroPyps community when everyone's
13:11 stuff broke, but it's the normal basic Python, just complementing, by the AstroPyp package.
13:16 Yeah. I think that's one of the powers of Python. And maybe you could speak to this from
13:20 your slice of science, but I think this is why Python is so popular for computational science
13:25 in general, is that it's just Python plus, right? And it's so accessible. You can start out with a
13:32 very simple program, add to it, add to it. And you never think of yourself as a programmer,
13:36 but all of a sudden you end up with functions and a package. You're like, what am I doing? How
13:39 did I become a programmer? Right?
13:42 Exactly. Yeah. I think that's the thing about programming though, is as long as you have a
13:45 task, you're rolling, right? You know, you're on your way to becoming that. It's almost like not
13:50 knowing where to begin or not knowing what to do with it that sort of scuppers you. So yeah,
13:54 it's sort of weird that you can do so much with Python. It's so flexible for, you know,
13:59 data tables, but I can also pull in an image that I've taken as well. Or I can,
14:03 the idea of NumPy as well is just an absolute lifesaver. Like the fact that I can,
14:08 you know, the fact that it's like row and column manipulation, you can do something across the
14:12 entire array. Like I have images that are arrays, right? So I can do something across the entire
14:16 image with NumPy like that. Yeah. It's just, it's so easy to use. There are some tools in astrophysics
14:23 that, you know, we have languages called IDL that were really developed.
14:26 Right. Specifically for astronomy. Yeah.
14:29 Yeah. And I find IDL hell, sorry, excuse my language, but like I find you run it and it does
14:35 a different thing the second time you run it. And I'm like, why?
14:38 It should not do that.
14:39 It shouldn't, no. And then like IRAF as well, which is a similar thing that was developed,
14:43 but they're just, they're not as intuitive and easy readable as Python, I don't think. And so I
14:48 think that's why Python has really took off in the astronomy community.
14:53 This portion of Talk Python To Me is sponsored by Linode. Simplify your infrastructure and cut
14:58 your cloud bills in half with Linode's Linux virtual machines. Develop, deploy, and scale
15:02 your modern applications faster and easier. Whether you're developing a personal project
15:06 or managing large workloads, you deserve simple, affordable, and accessible cloud computing solutions.
15:12 As listeners of Talk Python To Me, you'll get a $100 free credit. You can find all the details
15:18 at talkpython.fm/Linode. Linode has data centers around the world with the
15:23 same simple and consistent pricing, regardless of location. Just choose the data center that's
15:28 nearest to your users. You'll also receive 24-7, 365 human support with no tiers or handoffs,
15:34 regardless of your plan size. You can choose shared and dedicated compute instances, or you
15:39 can use your $100 in credit on S3 compatible object storage, managed Kubernetes clusters, and
15:45 more. If it runs on Linux, it runs on Linode. Visit talkpython.fm/Linode or click the link in your
15:52 show notes, then click that create free account button to get started.
15:57 The next question I always ask my guests after introductions, what they do day to day, but I
16:01 kind of want to anchor our conversation around your YouTube channel on these cool videos you put out
16:05 there. So not only do you have an answer for that, you have an incredible video you put together.
16:11 So yeah, an 18-minute video you put together, a day in the life of an Oxford astrophysicist. And
16:18 basically, it's like a time-lapse with commentary, right? Maybe you want to just talk about,
16:24 you know, summarize that video for people? Yeah, sure. What do you do day to day?
16:27 I get, because I just got asked this question so much, like, what do you actually do? And I just
16:31 figured the easiest way was to show people. So I show people everything from, you know,
16:34 leaving my house and getting on the train to arriving at the office and lunch and all the
16:39 things in between kind of thing. So there's a mixture of, you know, me doing everyday things
16:44 like checking emails. That's almost part of it. Communication between your colleagues to say,
16:49 oh, I've got this new result. I've got this new plot. Oh, can you read my paper? That's cool.
16:53 Checking all the new research that's been published.
16:55 Sorry, you literally have like the time-lapse of, say, you at your desk and you're like,
16:59 oh, that's on the screen. I must have been doing this right now. Oh, now I'm doing this
17:01 something in Jupyter. And now I'm off to this.
17:03 Yeah, exactly. So there's bits of me working with Jupyter and definitely like doing, I was doing a
17:08 little test of my hypothesis because I had some new data that came in. I then went to a talk that was
17:13 given by a visitor to the department who was one of the leads in the Event Horizon telescope that made
17:19 that picture of the black hole, the orange donut, as people call it.
17:22 That was such huge news. A couple, was that last year?
17:24 A year before, 2019. That's crazy.
17:27 Yeah, 2019.
17:27 But yeah, so that was really cool to show people that, you know, that's part of our day. We,
17:32 you know, go to talks and listen to people present their science. And then also, you know,
17:36 I happened to be on the radio that day. I picked a very exciting day.
17:39 So I was like, oh, keep going on the radio.
17:40 It seems so glamorous. Like, oh, wow, this person is probably going to win the Nobel Prize. And here
17:44 I'm on the BBC for a while and back to lunch.
17:46 There was just lots of bits in my day that were, and then also like we have a big, what we call a
17:50 journal club where we bring a research paper that's been published that week. And we go through it
17:55 in our research group and talk about it to find out, you know, how it fits in with our research,
17:59 that kind of thing and what it means. And I get a lot of my ideas from videos from those kind of
18:03 journal clubs as well. Cause I'm like, you know, we talked about it as colleagues and then I'll make a
18:07 video on it to sort of say, well, this is what we found cool this month kind of thing.
18:11 It just showcases the whole day, but then also a little bit of, it's why it's an Oxford astrophysicist
18:15 because it's also like, we also took the speaker to college dinner, which is like a very fancy
18:21 dinner and a nice room. And we all got dressed up and had drinks and stuff like that. It's like
18:24 very Oxford, but it showcases that side of it because that like, you know, networking side
18:29 of things. So there's, there's code in there. There's, there's a talk, there's lunch,
18:33 there's dinner, there's everything. So yeah, it seems fabulous actually. Yeah. Yeah. It
18:38 seems really great. So, one question, I guess one quick meta question and then one
18:43 other question. So how did you film this? Like, is it just eight hours or 12 hours of full on high
18:49 res video or it wasn't the high res cause it was on my old iPhone. So it was like seven 20 P.
18:53 So it wasn't that high res. I think it was, yeah, I cleaned my phone basically of pretty much
18:59 every picture and video and backs it up and then literally just carried it around and a little
19:05 gorilla pod all day, plonked it on the desk and then like took it with me wherever I went. And I would
19:10 stop it sort of, if I was like leaving the room, I would sort of set a new file going. So it didn't
19:15 like break or anything. And it was like permanently plugged into like a charging block as well. Cause it
19:20 was like an old phone running out of battery constantly. I, yeah, I just took it everywhere and I felt
19:25 stupid doing it just carrying around being like, hi, yeah, sorry. I'm filming. But like, it was,
19:33 people were always asking me what I was doing everywhere I was going and people like loved the
19:36 idea of it. So. Yeah. It seemed really interesting. I actually thought you did a great job with it.
19:40 So the non-meta question is what did you learn about yourself by, did something surprise you?
19:47 You're like, Oh my gosh, I had no idea. I remember thinking this was quite a full day,
19:51 but it didn't feel like I was rushing around or doing anything. I just think when you watch
19:55 something in time-lapse, it feels so busy. So all the comments were like, Oh my God,
19:59 she does so much in a day. Like she looks so busy. And I was like, I didn't feel that way kind of thing.
20:04 But like, I felt like I was like, cause there's a part of it where it's, it's filmed like mid November
20:08 and the Christmas adverts for the, all the big, you know, like department stores had just come out in
20:13 the UK. And I, there was a part of it where I just caught myself watching one of those.
20:18 And I was like, stop wasting time in your day on like Twitter or watching videos, you know? So
20:23 there was bits like that, I guess that I learned that I was kind of like, gosh, that's literally
20:28 sort of like so much time. One thing I did find though, is that I was very productive because my
20:32 phone was always recording. I couldn't just pick up my phone and scroll or anything because it was
20:37 always filming.
20:38 Instagram or whatever. Yeah. Interesting.
20:40 So I had quite a productive day because of it.
20:42 Oh, interesting. All right. Well, let's go ahead and jump into sort of the main topic
20:47 here is the reason that you caught my attention as maybe a guest for the show is you did this really
20:53 interesting video, you know, five ways that I use code as an astrophysicist. I think this relates
20:58 back to that superpower. You know, Python has a superpower, not we should take all the people that are in
21:03 finance or math and turn them into programmers, but you know, people that have interests, give them some
21:08 other thing. And you really touched on how programming is so valuable, but it's not necessarily
21:13 communicated to that when you're in the sciences. I did a math degree and I don't remember really
21:18 till maybe my senior year in college when they're like, you really need to learn programming. That was
21:22 just for a research project, right?
21:24 Yeah. I was the same. Like, I think I was given various different projects that were like graded in
21:30 my second, third year. And then in my fourth year, I was given a research project on galaxies and it was
21:34 like, you're going to need code to do this. And that was when I finally became comfortable using it.
21:39 And you realize, oh, I have, you know, thousands of galaxies. I don't have to do this in an Excel
21:45 spreadsheet. There's a better way. And, you know, if you have images, you have to analyze, oh, I can do it
21:50 in the same function. I can do it in the same, you know, you know, piece of code or whatever. And,
21:55 yeah, I think that's not communicated how much and how many different ways you are going to end up
22:01 using it and how many ways it just makes your life just generally easier to use it.
22:06 Right. I mean, there are problems you could solve without writing code.
22:08 If you know how to do it, there's no way you would spend half an hour doing something by hand. Like,
22:14 you know, we just write a little program and in three minutes have this done ever and ever,
22:18 you know, every time over and over. Yeah.
22:19 Yeah. There are things that I've picked out in my day that I've been like, I do this nearly every
22:24 day. I should just write a function for this. Yeah. And you just save yourself so much time.
22:29 I totally agree. There's certain things I have to do at work and my business. And I'd just be like,
22:34 this is so painful. I can't believe I have to do this. And I, why have I not stopped to just write
22:38 a program that does this? This can be automated. Why, why have I done this for three months and,
22:42 you know, suffered over and over. And then, you know, I'm just endlessly happy when I take that.
22:48 So let's cover the five ways, right? Like you've already set the stage of why
22:52 people in science in general and astrophysics in particular should care about these things.
22:56 But what are the five ways?
22:58 Oh, it reminds me what order I put them in. I can't actually quite remember.
23:01 I got them here. So the first one you gave was image processing.
23:04 Yeah. Okay. So this is a big one for astronomy, obviously, is that we, you know,
23:07 I am an astrophysicist and an astronomer. So I take images of the sky and then use them to do my
23:14 science. There are some people who are very theoretical. So they'll either run
23:17 computer simulations or they'll work with sort of the maths. And so they don't really tend to do that.
23:21 But as an astronomer, I take images of the sky and I have to analyze them. So for one thing,
23:27 you have to remove all the sources of noise in the image. So that's essentially just,
23:31 like I said before, it's a numpy array, right? Because all you've recorded when you've taken
23:34 an image of the sky is how bright each pixel is. And so what you want, say you're observing,
23:40 like I would be, I would be observing a galaxy. In my image, I would have the light from the galaxy,
23:45 but I would also have background light from just the sky in general. So like light from the sun
23:52 that's scattered around the atmosphere and then hits the detector, but also just noise that comes
23:58 from the detector itself. So the detector thinks it's detected light, but it's actually just that
24:02 it's a little bit warm, for example, you know? Okay.
24:05 So the way it does it is light comes in, pings off an electron from in an atom,
24:09 but that can happen if the atoms are just a little bit warm.
24:11 Yeah. Yeah. You give an example of even if you close the shutter and have no light at all,
24:16 it kind of looks like a backlight. We were young, the TV channels, you know,
24:21 you had like that antenna, not the cable, right? It's just like that fuzz.
24:24 Yeah, exactly. It looks like fuzz. So you have to remove all those things from your image if you
24:28 just want the image with galaxy left over at the end. So there's clever ways you can do that. Like
24:33 you said, you just leave the shutter closed and you get an idea for what the noise looks like
24:38 for that detector. You can take an image of just like sky and then you'll work out, okay, well,
24:43 that's the noise I need to remove for that bit and everything. And again, it's just numpy, right?
24:47 It's just taking them all out. And sometimes you'll also have cosmic rays that come in and hit your
24:51 detector. So that's really super high energy radiation. And it looks like just a little sort of
24:55 super bright pixel, maybe three pixels. Like they're just like, and if they're off to the side,
25:01 it's fine. You just, you just take them out. But if they're right on top of what you want to observe,
25:04 that's so annoying. That's where the exoplanet transit was supposed to be. What's going on?
25:09 Yeah, exactly. Similarly with like satellite trails as well, which is obviously becoming a
25:13 bigger issue with sort of the SpaceX constellations and everything like that as well.
25:17 Is there going to be some kind of AI type thing that just goes, I now detect SpaceX satellite transit?
25:23 Stop observing. Yeah. I think that's hopefully the sort of moving forward is that
25:27 more will be shared between astronomers and sort of the people who are manning those big
25:32 constellations of satellites. Cause it's great what they want to do. They want to bring internet
25:35 to the farthest corners of the world, which is always great in my book, moving everything to space
25:40 in terms of astronomy is just not feasible. Like the money it would cost and everything. And like the
25:44 fact that you can't fix them if something goes wrong, if they're in space, you know, we still need
25:48 telescopes on the ground. And so if there's some form of, yeah, like you say, an AI, that's like,
25:53 warning SpaceX satellite trail coming. Like you just sort of stop your observation and start off
25:58 again. But yeah, we don't have that at the minute, you know, so you sometimes do get a satellite trail
26:03 that's snuck in there and you have to remove that. And it, and it, it's so easy to do with Python.
26:07 Again, AstroPy, there's loads of functions in there that help you out as well with removing so that the
26:12 detectors aren't always perfect either. So they have a response function, we call it where, you know,
26:18 they'll have some efficiency of like 95% in the middle, but it will drop off at the edges.
26:22 And so you'll have to account for that as well in the processing of the image, all those kinds of
26:27 things you can use Python to do.
26:28 You've got to somehow adjust what the telescope sees and retrofit that to try to be as close to
26:34 reality.
26:34 Yeah.
26:35 Not just what the picture says, right?
26:36 Yeah. And there are sometimes as well. So one of the things that can affect your images is just
26:40 turbulence in the atmosphere. So the same turbulence that you get when you're on a plane and,
26:44 you know, you pass through like a warm or a cold pocket of air and all of a sudden you feel it
26:48 shake. If light passes through that, it can get really distorted. And so they actually do some
26:53 real time adjustment of images on some telescopes. So you might've seen images of telescopes where
26:58 they're pointing like a giant laser out of the top of them. And that laser, you're essentially
27:03 recording what happens to the laser as it passes through the atmosphere. And the same, same way that
27:07 noise cancelling headphones work where they record the noise and then invert it. So you don't hear it.
27:13 You record what's happening to laser, invert that and put it on the image that you're getting from
27:17 the telescope and you can get rid of the atmosphere sort of ruining your stuff.
27:22 Yeah. I've always wondered how they were able to, you know, account for like the waves of heat
27:28 and all sorts of stuff in the atmosphere and still get these super clear pictures from ground-based
27:33 telescopes.
27:34 That's how they do it. Lasers.
27:36 Awesome. It's like it's in the future, but now. All right. So the next one that you talked about
27:41 was data analysis and processing large quantities of data. And that's actually what's on the screen
27:46 here.
27:46 Yeah.
27:47 Live share as well, right? You have this really cool example of brightness of 600,000 galaxies.
27:53 Yeah.
27:53 Something like that.
27:54 So one of the biggest surveys that's ever been taken. So, you know, you can do stuff like I do
27:59 where you sort of spot observe galaxies you're interested in, but then there are some telescopes
28:02 that's just sole job is to survey the entire sky or the entire like northern sky or entire southern
28:08 sky. And then you end up with like, here's all the things that's been observed, you know,
28:13 and you have to write algorithms to pick all those out. That's another side of obviously astronomy as
28:17 well as like picking out the areas of interest from this huge survey. And you can end up with data
28:22 tables that are like, here's 600,000 galaxies that have been found with the brightness. So
28:26 that thing you're showing there. So you've got an ID in the first column and they're like 18 digits
28:30 because it's all sorts of like, you know, coordinates in there and everything.
28:34 Yeah.
28:34 But then U, G, R, I, and Z is five measures of brightness in different what we call wave bands.
28:41 So U is sort of like the bluest light and then Z is the reddest light. And so you can,
28:48 if you look in sort of different colors of light, you can see different things. So blue,
28:51 is lots of new stars, red is lots of old stars. And so that's what you have for like 600,000 galaxies.
28:57 That's amazing.
28:59 But then you also have all the other things that you might have measured as well, like their size
29:04 and their shape and various other different things. You can end up with tables that are
29:10 just huge essentially. And you'll see that the eagle eyed people might see that the format for the
29:15 table is .fits, F-I-T-S. And that's a format that was invented by astronomy as well, because it's a format
29:22 that can both take a table like that, but it can also store an image at the same time. But you can store
29:26 both a table and an image or many images, you know, so there's all sorts of different things you can do
29:31 with it. So it's very, very useful. I think it's called a flexible image table system, but don't quote me on that.
29:37 Yeah, we have full of acronyms in astronomy. So yeah, things like that, where you want to be able
29:43 to load in the data table, manipulate that data, you know, say, okay, transform this column into
29:49 something else that I'm interested in, whatever it might be for 600,000 columns, you know, but you
29:55 don't want to do that on an iterative loop again, like NumPy is great for that. It's just, it's a
29:59 perfect tool for it.
30:01 Yeah. And, you know, maybe if you didn't have Python as a skill, you might try to do this in
30:05 Excel, or maybe even slower would be Google Sheets or something like that.
30:09 Yeah.
30:09 But I think those have a limit around 101, you know, 1.05 million rows, and then also
30:15 your mental well being in terms of how long you gotta wait for stuff to happen, right?
30:19 Yeah, exactly.
30:20 Yeah. One thing you do point out in the video when you're talking about this is the mistakes
30:25 that people have made, especially around the NHS there where-
30:31 The test and trace.
30:32 Yeah, the test and trace stuff where they tried to do this with Excel and, you know, missed
30:36 a ton of COVID cases in the early days.
30:38 Yeah, exactly. Just because, you know, when you have that many rows, it's so difficult to
30:42 keep track of in a spreadsheet. You know, with this, you can index it really easily. You can
30:47 say, give me all the rows that have fulfilled this value or quantity or whatever. And it's just
30:53 much easier to stay on top of and manipulate. You know, in astronomy, there's lots of people
30:57 who use, you know, pandas data frames as well to do this kind of stuff. So, you know, it's
31:01 using all the tools that are available.
31:03 This portion of Talk Python in Me is brought to you by Cloud ENV. You've heard that you should
31:10 never commit things like API keys and database connections to source control. Then how do you
31:16 manage them? Do you email them around? Ask on Slack, hey, what's the new password for our
31:20 Postgres server? Please don't. What if I told you there was an end-to-end encrypted cloud sync
31:26 system for environment variables in Python? That setup literally takes just a few seconds. There's
31:32 no learning curve and you just pip install the sync library. And maybe you could even access
31:37 control your secrets by adding IP allow or deny lists or even getting notified when a new IP address
31:43 tries to access one of your secrets like your database connection string. Yeah, that'd be cool if
31:48 somebody built that, right? Well, they did. And it's called Cloud ENV. You set up your environment
31:53 on your server with a simple CLI, and then you access your secrets from your Python app using their
31:58 incredibly simple package. Simple as in two lines of Python. Seriously, it's just load Cloud ENV,
32:04 OS.getEnvironment, and you give it something like database connection string. You just use OS.getEnvironment,
32:09 and it's preloaded all these synchronized and access control secrets. Keep your secrets, well, secret and in sync with Cloud ENV. Get started at talkpython.fm/cloud ENV. That's talkpython.fm/cloud ENV.
32:27 A couple of listener comments. One is, how long would it take roughly for the code to parse and analyze the data? And what would you do with that? I think that leads well into the next one.
32:37 Yeah. I mean, loading data tables, even in 600,000 size is so quick in Python. Like by blink and it's done it.
32:43 Yeah, exactly. I touched on that. Like you would wait in Excel for a while.
32:46 Yeah. I would wait to just open the spreadsheet, whereas this is just like, yes, I'm done.
32:50 Yeah. It's almost instant, right? Probably.
32:52 Yeah. And then again, like, I mean, it depends what you're doing, right? If you're, you know, just transforming one value into another. So for example, people who have a major physics, like flux into luminosity. So for example, flux is what you observe because you're very distant away from something, but luminosity is like the absolute value it would have if you were like right next to it. That's how bright it would be.
33:14 For example, that's just a simple translation, right? So that on 600,000 rows would probably be quite quick. But if you're doing something a little bit more complex where you're taking each value and perhaps using it in inference or something like that, like optimizing a model based on all these values or something that would obviously take a lot longer. You know, I've had code run from anywhere from a second to a week.
33:36 Right.
33:36 So yeah, it just depends what you're doing. And then I think it might, yeah, like you said, lead into the next one is what would I do with the data afterwards? I'd make a plot with my plot lib.
33:45 And that leads into, yeah, the next thing that you covered, which was model fitting and that sort of thing, right? So Freya asks, how do you search the galaxies and find the ones you need for your research?
33:56 Yeah. I mean, so for example, I'm really interested in a certain shape of galaxies. So I call them the egg white omelets of the galaxy world.
34:05 Not the spiral galaxies.
34:07 No. So if you think about a spiral galaxy, it's a nice flat disk and it has, you know, the spiral arms on the outside, but in the middle, there's usually what we call a bulge, but you can think of like an egg yolk, right? It's like a fried egg, a galaxy. And it has this bulge of stars that instead of, you know, on a nice flat disk where all the stars are orbiting, like in the solar system, like planets in the solar system, you've got stars that look a bit more like a beehive.
34:30 And then you've got stars that look a bit more like a beehive because they're sort of all doing this, you know, in various different planes around the very, very center. And we think those form when two galaxies merge together and you just, you ruin all the nice rotation and you end up with this big blob in the middle.
34:43 I'm interested in the things that don't have that blob. So we think they don't, they haven't had a merger, right? And I think, okay, well, what's happened to the black hole in the middle if you haven't merged two things together and shoved a load of stuff into the center?
34:55 So that's what I'm interested in. So I need two things to do that. First of all, I need to know what shapes the galaxies are. And that kind of stuff comes from literally, well, two ways. First way that we've been doing it for a long time is people eyeballing the images and looking at them and labeling.
35:11 They have spiral structure. It has a bulge. It doesn't have a bulge. It looks like it's merging, all that kind of stuff. And that's been done individually by people, you know, from Edwin Hubble back in the 1920s to the, you know, poor PhD students that are given 50,000 of them to look at as part of their PhD and label them.
35:31 But then more recently in the past 10 years, a project called Galaxy Zoo, which is a, what we call a citizen science project online. So galaxyzoo.org still running, you know, gets the public to classify the shapes because it's a fairly simple task for even, you know, like a five-year-old to do is to show them an image and say, is this round and blobby or is this a spiral shape?
35:50 And that 600,000 images of galaxies that would take one astronomer, you know, years would have terrible statistics. There'd be mistakes all over the place because they hadn't had their morning coffee or something yet before they started.
36:00 You know, we can get instead 40 people to look at each image and it's fantastic statistics and all that as well. And that's still going because we're still taking pictures of the sky.
36:09 But there were people out there thinking, well, what about machine learning? Can you train a machine to do this with an algorithm? And yes, you can.
36:16 So Galaxy Zoo actually held a Kaggle competition for this as well about five or six years ago and found that you can get sort of like 90% sort of like agreement with an expert human.
36:28 And we're getting to the point now where Galaxy Zoo is running on the website, but we've got a machine in the background, which is deciding what to show to people.
36:36 The machine's like, I've classified all the simple, easy things, but I'm not sure about these ones. So can you look at this?
36:43 So it's sort of like a joint effort. And that's going to be really important with the next generation of big survey telescopes we're building. People might have heard of the LSST or it's been recently dubbed the Vera Rubin Observatory.
36:53 And there's so much data coming out of that thing that is ridiculous now.
36:57 All right.
36:57 They're estimating instead of like a, you know, 600,000 to a million, they're estimating like a billion galaxies.
37:02 Wow.
37:02 So that's not scalable to get a person or a couple of astronomers to do that. So that's where we need machine, you know, crowd to do it. And yeah, so once you've got those classification labels, either from machine or cloud, then it's just the column in your data table, right?
37:18 And then you can filter based on, you know, give me all the things with the lowest, you know, vote for having this bulge in the center. And I'll look at those and sort of whittle it down kind of thing.
37:28 So yeah, it's really how you choose them is just from a data table.
37:31 Yeah. Once you get the number, then it's super easy, right? It's coming up with it. I did have recently, I had David Armstrong and you have Gamper. They're out of the UK as well.
37:39 At least David is how they used machine learning to discover 50 exoplanets in some of the Kepler data as well. So yeah, it's super interesting how ML starting to make its way into astronomy.
37:51 Yeah. And that's another area where ML and citizen science are working together. So there's a, like Galaxy Zoo, there's a project called Planet Hunters, which is using the follow-up to the Kepler space telescope, which is the one that discovered like 5,000 exoplanets.
38:04 There's now a follow-up called TESS, which is doing the same. And so they're like, we have run our algorithms in the ML on all the data. It's found what we've told it to look for, but then here's all the data. Do you see anything else? Do you see planets? Do you see anything weird? Do you see things unexplained?
38:20 And that's the thing that you really need people to eyeball.
38:23 Right, right. The ML is going to find what it knows to find.
38:26 Yes, exactly.
38:27 That looks weird, but not, you know.
38:30 Not what you told me to look for.
38:31 Yeah, exactly.
38:32 You know, you can't train a machine to look for stuff that's just interesting because everything will be interesting to it.
38:36 Yeah, exactly. Yeah, that's the problem with software. You know, you give it input, it gives you a number out the other side and it's easy to trust that number, but that's not always the way to go.
38:44 Yeah.
38:44 All right, so the next one you talked about was data visualization and you had some really interesting examples of galaxies colliding that I touched on.
38:53 And then also your research is around black holes. And so there's a visualization you show of star coming too close to a black hole.
39:00 Yes.
39:01 Getting spaghettified.
39:03 Yeah, it's one of my favorite words ever. Spaghettification is what happens when you get too close to very strong gravity, like around a black hole, where the gravity is stronger at your feet than at your head.
39:12 So you get stretched out like spaghetti.
39:14 Never look at spaghetti the same way afterwards.
39:17 But yeah, so data visualization can be anything from, you know, plotting two columns in a data table against each other in a nice scatter plot and being like, oh, look, there's a correlation there.
39:27 And then you can fit a line to it with, you know, an optimization, like thinking scipy or something.
39:32 And that's one side of it of sort of data visualization.
39:35 Then there's the sort of like, you know, 3D data visualization you can do with like plotly again of like, you know, three columns in a data table.
39:42 But then there's things you can do like this, where you have simulated what's actually happening around a black hole.
39:50 And you said, okay, my black hole is here.
39:52 And I have a star over here that's going to get too close.
39:55 If I code up all the laws of gravity and Einstein's theory of general relativity and set it running, what happens?
40:01 And then visualizing what you actually see.
40:04 And obviously the code behind this is literally like an array telling you where more of the particles that used to be in the star now are on this grid that you've made, where one point on the grid will be a black hole.
40:17 And every sort of time stamp that you run it at.
40:21 So maybe you do it for every, say a year or something, I guess, on these timescales.
40:25 We're talking astrophysics, right?
40:27 So we're not going to do them every second.
40:29 So short.
40:30 I know.
40:31 So like a year between frames, you recalculate where they all are now based on the laws of physics.
40:36 And then you obviously want to visualize those arrays as something that, you know, we can actually picture what's going on.
40:43 And you can play them as a beautiful movie like this as well.
40:45 And it looks amazing.
40:46 But you get obviously so much understanding from that as well.
40:49 It's fun to, you know, you don't, because I don't run a lot of simulations day to day.
40:54 So it was fun then just to break down what that actually looks like behind the scenes in terms of, yeah, that is just a bunch of numpy arrays basically.
41:01 Yeah.
41:01 How interesting.
41:02 The star is just a bunch of points in a glob in the beginning.
41:06 Yeah, exactly.
41:07 Yeah.
41:07 And that's all to do with like n body simulations they're called.
41:10 So n being the number of particles you simulate.
41:12 And obviously the number that you decide to simulate, it goes up as I think is n squared in terms of computing power and stuff.
41:18 So yeah, it's, it's very difficult.
41:21 I mean, this is why, you know, I'm like running what we call cosmological simulations where you simulate the entire universe.
41:28 It's obviously very difficult.
41:30 They take years to run.
41:31 You need a lot of RAM for that.
41:32 Yeah.
41:33 And then obviously this is what I was talking about before where you have a nice 3D visualization.
41:36 So this is of something called the Radcliffe wave, which was discovered this time last year.
41:41 And it was something that was nearby to where the sun is in the Milky Way.
41:46 So this is sort of like gas card positions, but until they plotted them in, in a 3D way so that you could like drag around the data and overlay.
41:54 Okay.
41:54 These are known positions of other things.
41:56 And these are the shapes of say the spiral arms nearby that, you know, it was then that you could actually see spatially what was going on.
42:03 They realized that this was actually a feature in the Milky Way.
42:07 And so that, you know, I can drag it around and everything on plotly.
42:09 So it's great to see.
42:10 And there's data visualizations.
42:12 And so this is just plotly, right?
42:13 Yeah, exactly.
42:14 And it's tools like this, though, that like you say, oh, that seems obvious to plot something in 3D to see the spatial scale.
42:20 But if the tool didn't exist, tool didn't exist, you know?
42:22 As say somebody who's a scientist or just looking to visualize data, they just need to get it into basically like a numpy array of data, throw it at plotly, give it some colors.
42:32 And it does all the visualization and the rotation and the zooming and that stuff, right?
42:36 So it's more accessible than maybe it seems.
42:38 Yeah.
42:38 And that's the thing is that it is very accessible.
42:40 But what I love is that, you know, astronomy is driving forward a lot of these tools as well, because you're saying we need this.
42:45 You know, people often say, like, why do we bother studying astronomy?
42:47 Like, you know, shouldn't we put money into other things?
42:50 But I think one of the sort of indirect benefits is how much astronomy drives forward technology.
42:54 You know, digital camera detectors are invented because astronomers needed a better way to record stuff.
42:59 And Wi-Fi was massively improved because astronomers came up with a better way to recombine signals that have been scattered.
43:05 They go around your house and stuff.
43:07 And another thing is tools like this.
43:09 And especially when we look towards a lot of the VR stuff that's coming out soon as well.
43:14 So I'm thinking about, like, you know, when you can put on a VR headset and you can be immersed in an image or anything like we have now.
43:21 We like to call them 3D images.
43:23 So we'll take an image of something at every single wavelength or wavelength steps, right?
43:28 So from infrared to UV or from red colors to blue colors.
43:32 And like I said before, there's lots of different features that pop out of those things.
43:35 So you can imagine actually being able to be immersed in that to actually see it for yourself rather than maybe doing it in something like plotly.
43:40 Or you could also imagine there's a star called Ita Carina that we think is very close to supernova and collapse.
43:47 And people have observed it for years and seen the big 3D structure of it and modeled the 3D structure.
43:52 People have 3D printed it.
43:54 But you can imagine being put in a VR environment and being able to fully, you know, move stuff around and get into anything.
43:59 Just walk around it.
44:00 Exactly.
44:01 Yeah.
44:02 And sort of that kind of a tech is the kind of thing that I can really see a lot of science pushing forward.
44:09 Like it having a use case, which at first it necessarily didn't in society, but science gave it a use case.
44:15 And then all of a sudden it became, it was developed.
44:17 And then all of a sudden society realized another use case for it.
44:20 And it snorched no balls from there really.
44:22 So cool.
44:22 Yeah.
44:23 Yeah.
44:23 Super neat.
44:24 Super neat.
44:24 So that video covered the five things.
44:26 And then you interviewed your friend, your colleague who also actually did more simulation work than analyzing and whatnot.
44:31 So yeah, I recommend people check out that video.
44:33 Of course, it'll be in the show notes.
44:35 Are you ready for some quick career advice before we move on?
44:38 All right.
44:39 So out here in the comments, would you recommend a computer science for A-level so it'll be easier to use code in university?
44:45 What subjects would be best for astrophysics?
44:47 Yeah.
44:47 Computer science definitely won't hinder you in terms of science.
44:51 Like I think it's great to sort of know about the ins and outs of computing.
44:54 And you will do a lot of coding as part of a computer science A-level or whatever is the equivalent in your country.
44:59 So that's sort of like the 17 to 18 year old that we do in the UK, the exams.
45:03 Other subjects, obviously physics, obviously maths.
45:06 For sort of context, so we only do four subjects, maybe only three for our A-levels.
45:12 We specialize very early in the UK.
45:14 But I did physics, maths, chemistry, further maths, which is like extra maths.
45:18 And like that was just because they were my favorite subjects.
45:21 And I knew that they were the ones that if I had a pile of homework, I'd be picking those off the top, you know, rather than my English homework or whatever.
45:27 There'd be some essay buried underneath that's going to get written.
45:29 Exactly.
45:30 I mean, like I'll do that later.
45:31 And like future me would hate me because I'd put it off for too long.
45:33 I'd be doing it the next day right before the class.
45:35 And so that's why I did those.
45:37 And that was great because I got to university and the further maths helped because there was some I'd already seen.
45:43 But like I think when you're at school, it's often quite pressurized to feel like you have to know everything to either get into university or before university.
45:50 But that's kind of the point of college or university is they're there to teach you these things.
45:55 They don't expect you to know everything.
45:58 So just give yourself the best platform to get into whatever subject you care about the most.
46:02 So if you're considering a certain subject at a certain university, just check what their entry requirements are.
46:08 If they're like, oh, actually, we would need you to do computer science, then great.
46:12 Take computer science.
46:13 But otherwise, you know, just take those subjects that you like the most is what I would say.
46:17 Yeah, fantastic.
46:18 And then also another interesting question from Giordia.
46:22 You know, we have been talking as we're just taking Jupyter for advantage.
46:26 Like Jupyter is here.
46:27 So we just use that.
46:28 But the question is, was the Jupyter ecosystem a game changer for astronomy and training in your opinion?
46:32 And in what way?
46:33 I think it was for science.
46:34 Oh, yeah.
46:35 I mean, it didn't exist when I was learning.
46:37 And I think I would have picked it up a lot quicker if it had existed.
46:41 I think because it's just a more familiar interface than being faced with a terminal or, you know, a blank.
46:46 I used idle way back in the day, right?
46:49 Like a blank idle, like empty.
46:51 What's the word?
46:52 File.
46:53 Thank you.
46:53 Brain.
46:54 I finally came out.
46:55 After a long day of work.
46:57 Yeah, I think it would have been a lot easier.
46:58 And I do a lot of my tutorials and stuff like that that we share around colleagues.
47:03 And I also like right now I've got we read a paper the other day.
47:06 We were like, this is really cool.
47:07 We could test that.
47:09 It would be a really quick plot if we just made it.
47:11 So I've done that in Jupyter notebooks.
47:12 I've been like, and I've been like, you know, marked down being like, we read this paper.
47:15 Here's the link of the paper.
47:16 Like we had this idea.
47:17 So let's test it.
47:18 Here's the data.
47:19 Here's the plot we make.
47:20 And here's what I think it means.
47:21 And I'm going to share it to my colleagues.
47:22 And they'll read it through so much more easily than if I'd sent, you know, an email with an embedded PDF or something.
47:28 Right.
47:28 So.
47:29 Right.
47:29 A lot of times you send the picture, but obviously you don't necessarily send the code.
47:32 And people are like, well, what is this?
47:33 And what does this mean?
47:34 Like, are you sending the same thing I'm sending?
47:36 All right.
47:37 Like, yeah, it really is combined those in interesting ways, I think.
47:40 Yeah.
47:40 And I think it really was a game changer, especially for astronomy, just because astronomy is such a visual science that seeing both the code and the images next to each other and what each step physically did to the image.
47:52 You know, like I was talking about before, like removing all the sources of noise and all that stuff.
47:55 That is so helpful in Jupyter.
47:57 Yeah.
47:58 Fantastic.
47:58 All right.
47:59 Well, we're getting a little bit near the end of our time together.
48:01 So I want to wrap it up with one thing that I think is also worth giving a shout out to.
48:05 And then you did a nice video of an astrophysicist reacts to funny space meme.
48:11 Yeah.
48:11 We'll close it out with that.
48:12 But you also wrote a cool book that came out pretty recently, right?
48:15 Called Space, 10 Things You Should Know.
48:17 You want to tell people about that?
48:18 Yeah, sure.
48:19 So it's Space, 10 Things You Should Know is the title in the UK.
48:22 And Space at the Speed of Light is the title in North America and Canada.
48:27 Oh, okay.
48:28 Space, 10 Things You Should Know everywhere else in the world.
48:30 That's why I'm in the UK.
48:31 I'm sorry, I pulled it up.
48:32 Yeah, sure.
48:33 So it's about, it's sort of like 10 short essays on the things that I feel like you should know if you're wanting to either dip your toe in astronomy or someone who's loved it for a long time but wants to make sure that they're like, you know, do I really know this stuff?
48:46 If you were going to a dinner party with a bunch of astronomers, like these are the, like you'd want this sort of like base knowledge to be like, oh, I get what they're talking about or whatever.
48:54 How much differential equations do I need to know?
48:56 There are none.
48:57 Absolutely none.
48:57 It's written, so it's written with my, like I'm talking to my mom basically.
49:02 So my mom is intelligent but not necessarily educated.
49:05 So she didn't, she's finished school at 16.
49:07 So she didn't have the privilege of an education like I did.
49:11 She just started work straight away.
49:13 And so she's so curious about space and the universe.
49:16 Like I think a lot of people are.
49:17 And so I wrote it with her in mind of being like, okay, what would my mom understand if I said to her, you know, and she loved the book.
49:22 So I take that as a good thing.
49:24 So, oh, Freya, thank you.
49:26 Yeah, Freya says my favorite book as well.
49:28 So absolutely.
49:30 But yeah, so it's, it's, I really enjoyed writing it.
49:32 It's nice and short.
49:33 So it's not too intimidating if, you know, you don't want to read a big long book about space, but there's everything from like, okay, like, why do we think dark matter exists, for example?
49:41 But like, could aliens exist?
49:43 And also like the things we still don't know as well, which I like.
49:48 So I like thinking about that.
49:49 Yeah.
49:50 Yeah.
49:50 There's, it seems like everything is known.
49:52 But no.
49:53 There's so much, but no.
49:55 No.
49:55 There's so much more that we don't know.
49:57 A lot more than it used to be.
49:57 Yeah.
49:58 Yeah.
49:58 Exactly.
49:59 Fantastic.
50:00 All right.
50:01 So I want to do not the same memes, but I want to kind of round this out just as a fun, like, let's do the memes.
50:07 So let me, I've hidden this on our screen share.
50:10 So I couldn't see what you were planning.
50:13 You couldn't jump ahead.
50:13 I'm excited.
50:14 All right.
50:15 So I'll pull up a couple of memes here and I'll try to describe these to the listeners because almost everyone's just listening.
50:21 Sure.
50:22 But yeah.
50:23 So setting the stage here, like on yours, this is kind of a sneaker educational video that you did, right?
50:29 Like you did the meme, but then you, you talked about the science that would actually.
50:33 Yeah.
50:33 People were commenting, like, I clicked for a meme review and now I've come away with more knowledge than any physics class I ever taught.
50:39 It's like a sneak attack.
50:42 Exactly.
50:44 Oh, all right.
50:44 We go through these pretty quick.
50:45 I'll try to describe them.
50:46 All right.
50:46 So the first one we've got, remember Elon Musk shot at SpaceX, shot his Tesla Roadster and put a camera on his space and was flying along.
50:57 But actually this is around the same time that Apple Maps came out and was really bad.
51:02 So the meme is it's this, it's earth in the background with the Tesla flying through the air.
51:07 It says stupid Apple Maps.
51:08 I love that.
51:11 I love it.
51:12 Because it really, you know, I miss Google Earth.
51:14 Can we bring, is Google Earth still a thing?
51:16 I feel like when that came out, we spent so long, like zooming out of the entire earth.
51:21 And then all we do is just zoom into our house.
51:24 All the way from the whole earth.
51:26 I'm like, I wonder where that hiking trail ended.
51:29 And I like went along it for so far.
51:31 Yeah.
51:31 But yeah, I feel like Apple Maps was just so like, I just wasn't intuitive with the zoom and you could end up just like, oh God, I can see the entirety of like Europe right now.
51:40 Exactly.
51:41 All right.
51:42 Next one.
51:43 There's an otter carrying two little tubes.
51:45 Shooting along.
51:47 He says he needs those parts for his spaceship.
51:50 He's going to otter space.
51:51 I kind of wish that I studied black holes in otter space now because I feel like they would be cuter for one.
51:57 It's a very cute picture.
52:00 Also infinitely cool.
52:00 Yeah.
52:01 All right.
52:01 Next one.
52:02 You touched on this like this.
52:03 You talked about the Wi-Fi.
52:04 So there's, I have no idea why there's a seal here, but it says NASA receives data from over 17.3 billion kilometers away.
52:11 I lose the Wi-Fi signal in my own bathroom.
52:14 But that's the thing though, that the techniques that are developed to like recombine all the scattered signals from 17.3 billion kilometers away are the same ones that are used to recombine your Wi-Fi.
52:26 But apparently brick walls are better at disrupting them than the earth's atmosphere is.
52:34 Yeah.
52:34 The magnetic field, 17 billion kilometers, all that.
52:38 Awesome.
52:38 Yeah.
52:39 All right.
52:39 A couple more.
52:40 Also, NASA's detectors are much more sensitive than your phone detector.
52:42 Yeah.
52:42 That's true.
52:43 Yeah.
52:44 You wouldn't want to carry that around.
52:45 All right.
52:46 So this one is a different kind of eclipses.
52:48 So we've got the moon, the earth, and the sun.
52:51 And it tries to show you what the difference between a lunar and a solar eclipse is.
52:55 So it has moon, earth, sun.
52:57 It says lunar eclipse.
52:58 It has earth, moon, sun, solar eclipse.
53:01 And then it has earth, sun, moon, apocalypse.
53:04 Great.
53:04 It's so, so good.
53:06 I love it so much.
53:07 Yeah.
53:08 That's a good one.
53:09 Yeah.
53:09 All right.
53:09 We never see the moon.
53:10 That'd be so sad.
53:11 All right.
53:12 So here's a picture of a traditional alien like E.T.
53:15 And it says, here's a creature capable of intergalactic space travel, steals a cow.
53:19 And the thing is, people justify this as like, well, the cow population is greater than the
53:27 human population.
53:28 Therefore, they will have assumed.
53:29 I was like, if they go by that, they'll be abducted.
53:32 They'll be abducted loads of chickens.
53:33 Exactly.
53:35 So crazy.
53:36 This one made me laugh really hard.
53:38 I like this.
53:38 All right.
53:39 I mean, I would love aliens, to be real.
53:41 But I doubt that we'll ever make that kind of contact with them.
53:44 Exactly.
53:44 Exactly.
53:45 I do think they probably are out there, but they're far, far away.
53:48 All right.
53:49 So this one is really close to your research.
53:50 Yeah.
53:51 It's a black hole and then there's stuff around it, but you can see nothing in the
53:54 black hole.
53:54 It says, what happens in the black hole stays in a black hole.
53:56 Yeah.
53:56 Kind of like Las Vegas.
53:57 I mean, that is like the most physics accurate meme we've had so far.
54:01 Yeah.
54:02 Yeah.
54:03 I tried to find a few science-y ones.
54:04 And then let's see what's the last one here.
54:06 Oh, yeah.
54:06 This one, it has the moon, which is just a picture of the moon.
54:09 And then the dark side of the moon, he's dressed up like the emperor from Star Wars.
54:13 Palpatine.
54:14 Yeah.
54:14 Palpatine.
54:15 Exactly.
54:15 So cute.
54:17 I want like a little, like, do you remember they made, it has to made a load of like little
54:21 plushy teddy bear things of the planets and like all of their little satellites a while
54:26 ago.
54:26 I now want like the dark side of the moon as a little, as a little plushy toy.
54:31 But people get so confused with like the dark side of the moon and the far side of the moon
54:35 because the far side of the moon is the moon that we can't see because it's what's called
54:39 tidely locked.
54:40 So only one side of the moon ever faces us.
54:42 So, but that's not the dark side of the moon because when we have a new moon, like
54:47 or a solar eclipse, the far side of the moon is lit up.
54:50 Exactly.
54:51 Because we are seeing the wrong direction.
54:52 Yeah.
54:53 Yeah.
54:53 It is confusing, but still a good meme.
54:56 All right.
54:56 Those are fun.
54:57 Thanks.
54:57 They're great.
54:58 All right.
54:59 So final two questions of the show.
55:02 If you're going to write some Python code, what editor do you use?
55:04 VS Code.
55:05 I love VS Code.
55:07 VS Code.
55:07 It only just pipped out Atom.
55:09 Like I was using Atom and then I saw you.
55:11 It's good.
55:12 Command D in VS Code.
55:14 Basically you can highlight a, like a parameter you've defined and then it picks out all of
55:20 the other times you've mentioned that parameter in your script.
55:22 And you'd be like, oh, I want to change the name.
55:24 And if you start typing, it will just change it everywhere.
55:26 And like the biggest joy I ever felt was discovering that was a thing.
55:31 Why is this named?
55:33 I don't want to change it.
55:33 Wait, it's so easy to change.
55:35 Yeah, exactly.
55:36 It's great.
55:37 Yeah.
55:37 And I suspect you probably throw Jupyter in there as well as a lot of work, right?
55:41 But not proper editor, right?
55:42 I mean, those are kind of more exploration.
55:44 Yeah.
55:44 If I was doing something that I was going to share with colleagues, I'd do it on Jupyter.
55:47 So the final stage where I would visualize my data in a plot or I'd be able to like write
55:52 something out as an argument, I'd do it in Jupyter as well.
55:55 But if I'm doing model fitting or if I'm doing a lot of heavy sort of image analysis, I will
56:02 do it in a script in like VS Code.
56:05 Yeah, for sure.
56:05 I think there are just different ways of working.
56:07 Are you trying to build something that you can reuse and kind of create a little library
56:11 out of?
56:12 Or are you trying to explore and you don't really know where you're going?
56:14 Exactly.
56:14 Yeah.
56:15 I'd use Jupyter for doing that as well.
56:16 Being like, okay, I have this data table.
56:18 It's brand new.
56:19 Let's get to grips with it.
56:20 I'll do that in Jupyter again because it's just so visual to be able to grab stuff more easily
56:24 and be like, hmm, let's plot this against this and see if there's something there.
56:27 Like I'll do that in Jupyter.
56:28 Rather than like a, I used to do it in an IPython terminal, but it's just so much more
56:32 visual.
56:32 Yeah.
56:33 I have a pop up, a sort of window or whatever.
56:35 Yeah.
56:35 Yeah.
56:36 Well, that's another thing I love about VS Code is that when I then write up my papers,
56:40 so I use LaTeX, which is another programming language, VS Code can run the LaTeX script
56:47 for you.
56:48 Oh, nice.
56:48 It compiles it to the output.
56:50 So it can also do the same with Python as well.
56:52 You can like highlight a little section and get it to run in a terminal as well with like
56:56 shift enter like you do in a Jupyter notebook.
56:59 Oh yeah.
56:59 Okay.
57:00 So it's just great.
57:01 It's just great.
57:02 Fantastic.
57:03 All right.
57:04 And then final question.
57:05 There's almost 300,000 different packages out on PyPI.
57:08 And that's sort of the part of the beauty of Python, right?
57:11 Is just, you can go grab these things and bring them in, but you know, what one maybe you've
57:16 come across you want to recommend?
57:17 Yeah.
57:17 So I was trying to think of something that would be applicable to like everyone and not
57:21 just, you know, someone in astronomy.
57:22 And my immediate thought, and I can't deny it's been one of the most useful packages just
57:26 ever to me is MC, E-M-C-E-E by Daniel Formamaki, who is an astronomer as well.
57:34 And it's a module that codes up Bayesian analysis, like Monte Carlo, Markov chain Monte Carlo.
57:39 So MC, MC.
57:40 Yeah.
57:41 Yeah.
57:41 And it's essentially like an optimization package, you know, like a sci-fi optimize or something
57:45 like that, but it uses Bayesian statistics to do it.
57:48 And the Markov chain Monte Carlo, which is really sophisticated way of optimizing, but also getting
57:53 sort of like, like, okay, you fitted this model.
57:55 This is your best fit, but this is how uncertain this model is as well.
57:59 It's what it gives you.
57:59 And it's just so like ready and out of the box.
58:03 It's so well documented.
58:04 It runs great.
58:06 And it's just, I just can't fault it.
58:08 Like, that's the thing.
58:09 And Dan is just like the coolest person.
58:11 He's just like, he taught me so much Python when I was a PhD student and he was sort of
58:15 like a senior PhD student as well.
58:17 And he has the, he has an accent very similar to yours, actually.
58:19 He's definitely from, I think he's from the Pacific Northwest, but I don't want to say that
58:22 in case I got it wrong.
58:23 And he's like, no, no, I'm from Southern California.
58:25 Exactly.
58:26 But like, he's an accent like yours.
58:28 And so I associate that sort of like really sort of like very sort of like slow, not
58:33 slow.
58:34 That sounds bad, but you know what I mean?
58:35 That, that sort of like cadence to an American accent.
58:37 Deliver it or whatever.
58:38 Yeah.
58:38 Yeah, exactly.
58:39 Like I associate that with just like, okay, I'm going to teach you this cool thing about
58:43 Python.
58:45 Like hold your hand through it.
58:46 So yeah, it's a great, great package.
58:50 If you're doing anything to do with like model fitting or Bayesian stats or anything like that,
58:53 I would like a hundred percent recommend.
58:55 Awesome.
58:55 Yeah.
58:55 That's not something I've tried yet because I haven't had to use that, but it sounds really,
58:59 really useful.
58:59 Just as a funny story, since you brought up accents, you know, so for like 10 years or so, I did
59:04 a professional development, like training.
59:07 I'd go to a company or somewhere and do like a week long in-person course.
59:11 And I did this one in Beijing and I think the students were nervous that I would come
59:17 maybe with like a broad Scottish accent or something.
59:20 It'd be very hard to understand.
59:21 And at the end of the course, everyone had to write a little review for the company I was
59:27 working for.
59:27 And like, what did you think of Michael as a teacher?
59:29 And then the company, they would go through and review if there's any weird comments.
59:34 Like, oh, what happened to this course?
59:35 Like, why did it go?
59:35 Like, tell us about why this weird, you know, people are unhappy or they're, you know, what
59:40 did you do to make them so happy or whatever?
59:41 And the comment was just this.
59:43 Michael has a very good tongue.
59:45 And they're like, you're going to need to explain this.
59:48 What is going on?
59:50 Was it mis-translation?
59:51 Yeah.
59:52 I was like, he just has a good accent.
59:53 Like, he speaks clearly and like, whatever.
59:55 Yeah.
59:56 But it's just like the way on paper, the way that it ended up with, they contacted me like,
01:00:00 Michael, you need to tell me what's going on.
01:00:03 I love that.
01:00:04 My accent confuses people massively because I was like brought up in the Northwest of England,
01:00:10 but my mom's family are all from the Northeast of England.
01:00:12 So it's this odd smush.
01:00:14 And then most Americans haven't really heard a Northern accent or if they have, it's like
01:00:17 Sean Bean, you know?
01:00:19 It's like, let's take the hobbits to my city.
01:00:23 That's all they've ever heard.
01:00:26 That's another Lord of the Rings reference.
01:00:27 God, they're flying today.
01:00:28 And so, yeah.
01:00:29 And then I've spent obviously a lot of time in South of England now since I've moved and
01:00:33 my accents had to soften because academia and science in general is such a global thing.
01:00:38 You know, so many people with so many different cultures and accents coming together that like,
01:00:43 if I talked in my normal one, I think a lot of people ask me to repeat things so many times
01:00:47 that it softens and it gets more.
01:00:50 I enunciate things more now, which makes me sound posher, which I don't like.
01:00:55 But nevermind.
01:00:56 Yeah.
01:00:57 How funny.
01:00:58 All right.
01:00:59 So what a great conversation.
01:01:01 Thanks for being here, Dr. Becky.
01:01:03 It's, you know, like I said, you're doing great work.
01:01:05 People should certainly check out your YouTube channel and what you're doing there.
01:01:08 You're doing a lot of cool work to popularize science in a super accessible way.
01:01:12 So final call to action.
01:01:13 People are interested in what you're doing.
01:01:15 Maybe they want to get Python into their astronomy or maybe they want to get into astronomy.
01:01:19 What's your final call to action for listeners?
01:01:21 Install AstroBuy.
01:01:22 I think it's a simple pip install AstroBuy to get into and check out all their documentation
01:01:25 as well.
01:01:26 And, you know, do as much physics and maths as you can and get involved with Galaxy Zoo
01:01:32 and Planet Hunters online because all those kind of clicks end up in scientific research
01:01:36 papers and they thank the participants as well.
01:01:39 So it's a great endeavor to be involved in.
01:01:41 Yeah.
01:01:41 And one question on the way out, you know, someone was asking if they can read your,
01:01:44 can the public read your paper?
01:01:46 Does you have to be part of a journal subscription?
01:01:48 No.
01:01:48 So all astronomy papers get posted on something called the archive.
01:01:51 A-R-X-I-V.
01:01:53 Oh, AstroPH on the archive.
01:01:55 And so they're all free to read.
01:01:56 So you should be able to find them that way.
01:01:58 They're all listed from my public website as well, actually.
01:02:01 So you should be able to find them there.
01:02:03 Yeah.
01:02:03 Fantastic.
01:02:04 All right.
01:02:04 Well, thank you so much for being here.
01:02:06 It's been really fun to have you on the show.
01:02:08 Thanks for having me.
01:02:08 Have had fun.
01:02:09 Yeah.
01:02:10 This has been another episode of Talk Python to Me.
01:02:14 Our guest on this episode was Dr. Becky Smethurst.
01:02:17 And it's been brought to you by Linode and Cloud ENV.
01:02:19 Simplify your infrastructure and cut your cloud bills in half with Linode's Linux virtual machines.
01:02:25 Develop, deploy, and scale your modern applications faster and easier.
01:02:28 Visit talkpython.fm/Linode and click the create free account button to get started.
01:02:34 Keep your secrets secret and in sync with Cloud ENV.
01:02:38 Get started with their Python library and CLI at talkpython.fm/cloudenv.
01:02:44 Want to level up your Python?
01:02:46 We have one of the largest catalogs of Python video courses over at Talk Python.
01:02:50 Our content ranges from true beginners to deeply advanced topics like memory and async.
01:02:55 And best of all, there's not a subscription in sight.
01:02:58 Check it out for yourself at training.talkpython.fm.
01:03:01 Be sure to subscribe to the show.
01:03:03 Open your favorite podcast app and search for Python.
01:03:05 We should be right at the top.
01:03:07 You can also find the iTunes feed at /itunes, the Google Play feed at /play,
01:03:12 and the direct RSS feed at /rss on talkpython.fm.
01:03:16 We're live streaming most of our recordings these days.
01:03:20 If you want to be part of the show and have your comments featured on the air,
01:03:23 be sure to subscribe to our YouTube channel at talkpython.fm/youtube.
01:03:27 This is your host, Michael Kennedy.
01:03:29 Thanks so much for listening.
01:03:31 I really appreciate it.
01:03:32 Now get out there and write some Python code.
01:03:34 Bye.
01:03:34 Bye.
01:03:34 Bye.
01:03:35 Thank you.