Release Notes#
SpecpolFlow 1.1 (2026 July 5)#
Version 1.1, released on 5 July, 2026
New functions
Equivalent widths and V/R ratios can now be calculated using the
calc_ewfunction from theSpectrumclass or thecalc_ewfunction from theLSDclass. Use cases are demonstrated in the subject Measuring equivalent widths tutorial.V/R ratios (ratio of the equivalent width of the violet side of a line to the red side of a line) can now be calculated using the
calc_V_Rfunctions from theLSDclass.Plot spectra and line lists with the
plot_obs_linesfunction, which can label lines from the list, and can plot Stokes I, V, null, or both I and V spectra, described in the Plotting Spectra with Line Lists tutorial.Plot line lists and labels with flexible formatting with the
plot_lineListfunction.Command line plotting tool for spectra and line lists
spf-plotspec, as an easy ‘quick look’ tool.Plot a breakdown of the number of lines from different elements in a Mask with the new
plot_elementsChartfunction. This is described inside the Mask tutorialTools for converting between wavelengths in air and vacuum for the Spectrum, LineList, and Mask classes, with the
vacuum_to_airandair_to_vacuumfunctions.Tools for Doppler shifting the Spectrum, LineList, and Mask classes, with the
doppler_shiftfunctions.Function to convert Mask objects back into LineList objects using the
Mask.convert_to_line_listfunction (complimenting themake_maskandconvert_list_to_maskfunctions)
Modified functions
Spectrum.coaddcan now coadd spectral orders separately or it can merge spectral orders before coadding. By default it will coadd orders individually, which is controlled by thebyOrderskeyword. If orders are merged before coadding, how the merge is performed is controlled by themergeOrderskeyword.The
converters.espadonsandconverters.spiroufunctions can now read compressed fits files in fits.gz, fits.zip, or fits.b2z formatsThe
read_spectrumfunction has a newusecolsoption to control which columns of the input text file are used for non-standard formatsThe
LSD.calc_bzfunction has a newplotAllCOGoption, which can be set toFalseto only plot the center of gravity used, not all alternativesThe plot generated by LSDpy has removed the smoothed profile included by default (the full unsmoothed profile is still plotted)
New tutorials
SpecpolFlow 1.0 (2025 July 13)#
Version 1.0, released on 13 July, 2025.
This was the first full release, after several months as a pre-release beta.