RadFil: a Python Package for Building and Fitting Radial Profiles for Interstellar Filaments

Catherine Zucker, Hope How-Huan Chen
7/17/2018
35 citations
astro-ph.GA

Official code: catherinezucker/radfil (16 stars, Jupyter Notebook, GPL-3.0, last commit 2025-09-19).

Abstract

We present RadFil, a publicly available Python package that gives users full control over how to build and fit radial density profiles for interstellar filaments. RadFil builds filament profiles by taking radial cuts across the spine of a filament, thereby preserving the radial structure of the filament across its entire length.

Show full abstract

Pre-existing spines can be inputted directly into RadFil, or can be computed using the FilFinder package as part of the RadFil workflow. We provide Gaussian and Plummer built-in fitting functions, in addition to a background subtraction estimator, which can be fit to the entire ensemble of radial cuts or an average radial profile for the filament. Users can tweak parameters like the radial cut sampling interval, the background subtraction estimation radii, and the Gaussian/Plummer fitting radii. As a result, RadFil can provide treatment of how the resulting filament properties rely on systematics in the building and fitting process. We walk through the typical RadFil workflow and compare our results to those from an independent radial density profile code obtained using the same data; we find that our results are entirely consistent. RadFil is open source and available on GitHub. We also provide a complete working tutorial of the code available as a Jupyter notebook which users can download and run themselves.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Building Radial Density Profiles for Interstellar Filaments

169Jupyter Notebook, PythonJan 18, 20171 years agoGPL-3.0

Similar Papers

Cite this paper

@article{zucker2018radfil,
  title  = {RadFil: a Python Package for Building and Fitting Radial Profiles for Interstellar Filaments},
  author = {Catherine Zucker and Hope How-Huan Chen},
  year   = {2018},
  eprint = {1807.06567},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1807.06567}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1807.06567.svg)](https://codeofpaper.com/paper/1807.06567)

Discussion