{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/pylongslit-a-simple-manual-python-pipeline","title":"PyLongslit: a simple manual Python pipeline for processing of astronomical long-slit spectra recorded with CCD detectors","arxiv_id":"2504.00973","date":"2025-04-01","proceeding":null,"authors":["Kostas Valeckas","Johan Peter Uldall Fynbo","Jens-Kristian Krogager","Kasper Elm Heintz"],"abstract":"We present a new Python pipeline for processing data from astronomical long-slit spectroscopy observations recorded with CCD detectors. The pipeline is designed to aim for simplicity, manual execution, transparency and robustness. The goal for the pipeline is to provide a manual and simple counterpart to the well-established semi-automated and automated pipelines. The intended use-cases are teaching and cases where automated pipelines fail. From raw data, the pipeline can produce the following output: * A calibrated 2D spectrum in counts and wavelength for every detector pixel. * A 1D spectrum extracted from the 2D spectrum in counts per wavelength (for point-like objects). * A flux-calibrated 1D spectrum (for point-like objects). The products are obtained by performing standard procedures for detector calibrations (Howell, 2006; Richard Berry, 2005), cosmic-ray subtraction (McCully et al., 2018; van Dokkum, 2001), and 1D spectrum extraction (Bradley et al., 2024; Horne, 1986). Software repository: https://github.com/KostasValeckas/PyLongslit","url_abs":"https://arxiv.org/abs/2504.00973v1","url_pdf":"https://arxiv.org/pdf/2504.00973v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"links_only","authors_date_abstract":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license), from the Kaggle arXiv metadata snapshot of 2026-09-12"},"code_links":[{"paper_slug":"pylongslit-a-simple-manual-python-pipeline","repo_url":"https://github.com/kostasvaleckas/pylongslit","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":null}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":null,"mcp":null,"developers":"https://syntology.ai/developers"},"arxiv_metadata":null,"syntology_extracted_results":null}