BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//pretalx//pretalx.adass.org//adass2026//talk//S8LFSQ
BEGIN:VTIMEZONE
TZID:AWST
BEGIN:STANDARD
DTSTART:20000101T000000
RRULE:FREQ=YEARLY;BYMONTH=1;UNTIL=20051231T160000Z
TZNAME:AWST
TZOFFSETFROM:+0800
TZOFFSETTO:+0800
END:STANDARD
BEGIN:STANDARD
DTSTART:20070325T040000
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3
TZNAME:AWST
TZOFFSETFROM:+0900
TZOFFSETTO:+0800
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:20071028T030000
RRULE:FREQ=YEARLY;BYDAY=4SU;BYMONTH=10;UNTIL=20081025T190000Z
TZNAME:AWDT
TZOFFSETFROM:+0800
TZOFFSETTO:+0900
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
UID:pretalx-adass2026-S8LFSQ@pretalx.adass.org
DTSTART;TZID=AWST:20261102T152400
DTEND;TZID=AWST:20261102T153600
DESCRIPTION:Modernizing established astronomical software requires preservi
 ng scientific behavior while improving portability\, maintainability\, and
  integration with modern workflows. We present [xstar-tools](https://githu
 b.com/xstar-tools/xstar-tools)\, an open-source modernization of the FORTR
 AN XSTAR photoionization code through an AI-assisted software development.
  The project progressed from a pure Python implementation to an independen
 t C++ engine with Python interfaces and native tools for generating XSPEC 
 spectral tables.\n\nLarge language models assisted our code development\, 
 memory and runtime optimization\, testing\, and documentation under human 
 supervision. Scientific qualification used FORTRAN XSTAR as the authoritat
 ive reference and examined atomic level populations\, heating and cooling 
 rates\, convergence trajectories\, radiative transfer\, spectra\, and outp
 ut products. Validation combined numerical acceptance criteria with exact 
 comparisons against accepted baselines. Qualification diagnostics exposed 
 subtle differences in floating-point accumulation order\, atomic level ind
 exing\, and the association of physical quantities with output records. Re
 vised implementations were accepted only after passing the relevant qualif
 ication checks\, with optimization changes additionally evaluated for memo
 ry use and runtime.\n\nThe xstar-tools suite also incorporates serial and 
 local multiprocess execution\, optional MPI execution for high-performance
  computing\, and XSPEC table generation. Native packages are qualified on 
 Linux\, macOS\, and Windows\, with distribution through PyPI and conda-for
 ge on supported platforms. These capabilities facilitate deployment and in
 tegration into other scientific applications while retaining the establish
 ed XSTAR physical framework.\n\nWe discuss practical lessons from AI-assis
 ted modernization\, emphasizing the role of reference implementations\, hu
 man evaluation\, traceable diagnostics\, and reproducible acceptance crite
 ria in producing scientifically trustworthy software. Future development o
 f xstar-tools will extend the framework toward post-processing hydrodynami
 c simulations.
DTSTAMP:20261116T154858Z
LOCATION:Seminar Room 2
SUMMARY:xstar-tools: AI-Assisted Modernization of the XSTAR Photoionization
  Code - Ashkbiz Danehkar
URL:https://pretalx.adass.org/adass2026/talk/S8LFSQ/
END:VEVENT
END:VCALENDAR
