News

Preview image for: Transitioning from Black to Ruff

We have transitioned from Black to Ruff in our codebase, primarily due to Ruff's exceptional speed and efficiency. Ruff is over 30 times faster than Black, which significantly enhances our development workflow.Additionally, it maintains great compatibility with Black, allowing for a seamless integration.

Preview image for: TARDIS attends the Google Summer of Code Mentor Summit

Wolfgang Kerzendorf and Andreas Flörs attended the Google Summer of Code (GSoC) mentor summit to represent the TARDIS collaboration. Andreas gave a lightning talk summarizing the TARDIS participation in GSoC, emphasizing the excellent work accomplished by the students. The summit provided an opportunity for meaningful discussions with other open-science-focused projects, and potential collaborations are now on the horizon.

Preview image for: LIV (Last Interaction Velocity) Plot

The TARDIS SDEC plot visualizes which atoms photon packets interact with before they escape the ejecta and contribute to the output spectrum's absorption and emission features. However, the SDEC plot does not visualize where these interactions occur within the ejecta. This information can be beneficial to astronomers who want to understand which regions of the ejecta are responsible for important features in the output spectrum.

This project develops the LIV (Last Interaction Velocity) Plot that plots the number of photon packet interactions as a velocity function for each element present in the ejecta. One such example is shown in the plot below.

We can create a highly informative and visually appealing Last Interaction Velocity plot using Matplotlib, If you're using the Last Interaction Velocity plot for exploration, consider creating an interactive version with Plotly. This allows you to zoom, pan, and inspect data values by hovering, resizing the scale, and more conveniently.

The plots have various options providing the users with more control over how your last interaction velocity looks, like, 'species_list', 'nelements', 'packet_wvl_range', 'num_bins', 'log_scale' and many other options.

The detailed report for the GSoC project is available here.

Preview image for: Enhancing Packet Trackers

`event_id` is the interaction number, `current_shell_id` is the previous boundary, and `next_shell_id` is the shell id to which the packet moved

We also researched a lot about Numba. Some of the things included using dynamic variables inside Numba using approaches like overload, branch pruning, etc., if you are interested about it, here are some toy code.

Also, we made sure to create lots of tests and benchmarks to ensure that the trackers are working at their best.

The detailed report for the GSoC project is available here.

We have introduced a new RPacketLastInteractionTracker class to keep track of the last interaction of a RPacket.

As a result of the tracker restructuring, the peak memory usage has been reduced from 4 GB to approximately 1 GB.

Before Restructure

After Restructure

We also added detailed boundary interaction to the RPacketTracker, the structure of which looks like

Preview image for: TARDIS-con

TARDIS-Con 2024 has come and gone. After another unique two-week un-conference, we are exhausted but very proud of the many projects that we worked on.

On the TARDIS side, we worked on improving the code's efficiency, implementing new features, and discussing the latest scientific insights related to supernovae.

Our insights into Science of Science grew rapidly. We looked at how international collaborations become more prevalent in the last decades.

We also enjoyed some group outings, including a day trip to Ann Arbor for a local craft market and a detour through an escape room.

See you next year at TARDIS-Con 2025!

Preview image for: A Sample of TARDIS Improvements at TARDISCon

At TARDISCon, part of the TARDIS team (Anirban Dutta, Jing Lu, and Jack O’Brien) worked on a new positronium spectrum sampler. Positronium is a bound system of an electron and a positron that is stable for only a very short time (nanoseconds). It has a chance to be formed as part of the beta decay process of radioactive elements in supernovae. When the electron-positron pair annihilate each other, they can produce either 2 or 3 gamma-rays. We wrote code to sample the possible gamma-ray energies by inverting the integral description from Ore & Powell (1949).

This sampler will be used as part of the gamma-ray energy deposition module for TARDIS that is currently under development. It will enable TARDIS to accurately simulate the formation and annihilation of positronium and the resulting gamma-ray spectra and deposition rates.

In addition to adding samplers for new physics processes, TARDIS team members added new sampling features to the existing radiative transfer framework. Jack O'Brien, Anirban Dutta, and Wolfgang Kerzendorf wrote a weighted sampler implementation for the Monte Carlo packet instantiation. This new sampler allows TARDIS to draw more packet samples in wavelength regions with low radiative intensity to improve the quality of the statistics, especially near the red and blue ends of the spectrum. In contrast to the original packet sampler, which generates packets at each frequency with a probability corresponding to its initial radiative intensity, the weighted sampler works by drawing frequencies for each packet uniformly across the spectrum and assigning a weight to each packet based on the initial radiative intensity. In the future, this sampler will serve to help TARDIS both track and actively improve its sampling efficiency in undersampled regions of the spectrum as well as serve as a base for more complex importance samplers.

Preview image for: Introducing a new logger widget for TARDIS!

During TARDIS Con 2024, a collaborative effort by Deeksha, Jaladh, Jing, and Anirban led to the development of a logging widget for TARDIS simulation runs. This widget organizes logging information into four tabs with the categories: warnings and errors, detailed simulation run information (including convergence and iteration details), debugging logs, and a comprehensive tab that consolidates all logs in the order they occur.

The new logging widget enhances the user experience by providing a clear overview of the simulation's performance and potential issues.

Preview image for: Attention! Update your TARDIS Python environment

We upgrade the TARDIS environment with the current version of the scientific python software stack. This is to ensure that we include the latest bug fixes in our dependencies and have access to new API and tools. We have updated our Python environment with the latest dependencies and the current lock-file is available here. Please read here how to update the new environment.

Preview image for: GSoC Students Begin Projects to Enhance TARDIS

We are thrilled to announce that our Google Summer of Code (GSoC) students, Sumit Gupta, Ashish Kumar, and Sarthak Srivastava, have officially started their projects! The projects will improve TARDIS performance, add tools for better analysis of the simulation and code to improve its science capabilities.

Preview image for: A Dr. is Born - Josh Shields Defends Thesis on SN Ia Surviving Companions

On May 3rd of 2024, Joshua Shields successfully defended his thesis invesitgating the surviving companions of Type Ia Supernovae. He joined our group in 2019 and quickly became an expert in stellar modeling and radiative transfer. In his first project he investigated the SN 1006 remnant for hypervelocity white dwarfs, interesting peculiar stars that could might result from SN Ia. In his second project, he investigated the SNR 0509-67.5 remnant in the Large Magellanic Cloud, testing a large collection of SN Ia progenitor scenarios by modelling the spectral energy distributions of all the stars inside the remnant. He then developed the STARDIS code, an adaptation of TARDIS, able to model stellar atmospheres and produce spectra of surviving companions. He will continue working with us, improving the functionality of TARDIS. He is an integral part of our group, and we are ecstatic to see what he does next.

Preview image for: Dr. Jack O'Brien Successfully Defends Thesis on Supernova Progenitor Identification

We congratulate Dr. Jack O’Brien for successfully defending his thesis titled “Progenitor Identification of Type Ia Supernovae through Statistical Abundance Tomography from Optical Spectra with Machine Learning and Radiative Transfer” in astrophysics at Michigan State University. Jack started with us in 2020 and scientifically worked on (in addition to his thesis work) adding continuum opacities to TARDIS. He became and still is our education coordinator and made sure that students from different disciplines received training in physics, computing, and machine learning. He will join Gautham Narayan's group at University of Illinois, Urbana-Champaign in the Fall of 2024. Thank you for all of your contributions and help and for being a fantastic team member!

Preview image for: Accepted as a mentoring organisation for Google Summer of Code 2024

We are excited to announce that TARDIS has been accepted as a mentoring organization in Google Summer of Code 2024! Check out our ideas page and connect with us on gitter if you are interested! Please note that application deadline is April 2nd, 2024