In This Section
Coding the Cosmos
Mark Martinez Learns the Language of Stars
By Amy Pavlak Laird Email Amy Pavlak Laird
- Associate Dean of Marketing and Communications, MCS
- Email opdyke@andrew.cmu.edu
- Phone 412-268-9982
Mark Martinez didn’t expect to be an interpreter when he started studying astrophysics, but that’s what his research required: translating the clues observers gather from deep space into physics based rules that power a computer simulation designed to model billions of stars.
Martinez, who graduated in December with a bachelor of science degree in physics, with a focus on astrophysics and a minor in computer science, embraced the challenge.
“Sifting through simulation data was pretty instructional for learning about our understanding of how stars live and die,” Martinez said. “My skill set definitely started with the coding, but then it helped me learn the science.”
Martinez arrived at Carnegie Mellon from Washington, D.C., drawn by what he calls the nerdy energy he felt on his first visit.
“Everyone was so invested and proud of what they were doing,” he recalled. “I thought the culture was really fun.”
The summer before his junior year, Martinez joined Assistant Physics Professor Katie Breivik’s research group. He brought a strong skill set in coding — and ended up becoming the group’s supernovae expert.
“Every week he was teaching us new things from the literature that we hadn’t yet figured out. He very quickly became the group expert on supernova types and how the assumptions scientists make about their physics impact what comes out of our code. He’s really remarkable,” said Breivik.
At the center of Martinez’s research is COSMIC, a tool developed by Breivik that generates huge synthetic populations of stars and tracks how they evolve, interact, merge and explode.
“There are a ton of knobs to turn with something like COSMIC,” Martinez said. “A big part of it was figuring out which knobs, when you turn them, make our simulations look the most like observations.”
His first task was to add code so that COSMIC makes more realistic decisions about which stars exist with a partner. Massive stars are more likely to be in such binary systems, so taking into account the mass of the star to determine whether it has a buddy was key. Martinez’s code made the entire simulation behave more like the real universe.
It was the first project he worked on that summer. He finished it in two weeks, surprising his mentors, Breivik and Anna O’Grady, a McWilliams Postdoctoral Fellow, who expected it to be a summer-long project. Impressed with Martinez and his work, they let him loose with COSMIC. His next task was to determine how adjusting the knobs in the simulations, such as how much mass binary stars transfer between each other or how often they merge, changes the kinds of supernovae produced in the simulations.
Martinez’s goal was to take the simulation’s assumptions about stars — the physics that’s going on inside of them, how they interact with their companion, what’s going on when they explode — and align it with what observers see in the real universe.
To do this, Martinez created 2,048 different populations of stars with different characteristics, ultimately simulating billions of stars from birth to death. All told, he generated several terabytes of data that helped illuminate how often stars merge and how those mergers shape the types of supernovae astronomers detect. COSMIC didn’t contain the code to characterize supernovae, specifically core-collapse supernovae, until Martinez added it.
“He has opened up a new research avenue and made an opportunity for students here at to continue making impacts that build off of his excellent software and his very, very careful characterization and summary of the state of the field,” said Breivik.
Martinez wrote a 30 page manuscript about his research, which he’s submitted to The Astrophysical Journal. Breivik and O’Grady say it reads at the level of a graduate student or collaborator, not a first-time undergraduate researcher.
Those same skills were on display at the American Astronomical Society meeting, where his poster drew nonstop attention and earned him a Chambliss Astronomy Achievement Student Award, which is given to recognize exemplary research by students. Martinez was one of 25 winners out of 485 submissions.
“When you go into research like this, being on that cutting edge, walking out to where people have not asked these questions before or doing it concurrently with other groups, that’s Ph.D.-level research. And Mark was doing that,” O’Grady said.
Beyond his research and coursework, Martinez played varsity soccer, which he says was an awesome experience that taught him to never stop moving, both on and off the field. Outside of campus, he volunteered frequently at the Kamin Science Center. Whether he was running UV light demos for kids, helping middle schoolers with a chain reaction engineering competition, or judging the regional science fair, he found joy in sharing science with the Pittsburgh community.
“The Science Center has been really fun,” he said. “It’s been a cool way to see Pittsburgh and engage with the community.”
Martinez currently is working as a research assistant with Breivik and O’Grady. He has been fielding offers from graduate schools and plans to pursue a Ph.D. in astrophysics. He hopes to find a community like the one he’s found at Carnegie Mellon.
"The Physics Department has been such a nice family that is incredibly supportive. It’s truly the best department I could have asked for in so many ways.”