Git Product home page Git Product logo

fil_finder's Introduction

fil_finder

Description

fil_finder is a module for extraction and analysis of filamentary structure in molecular clouds.

fil_finder segments filamentary structure in an integrated intensity image using adaptive thresholding. Detected regions are reduced to a skeleton using a Medial Axis Transform. Pixels within each skeleton are classified by the number of connecting pixels. A pixel can be a body point, end point, or intersection point. A shortest path algorithm, weighted by the intensity and length, finds the longest path through the skeleton, which is reported as the main length. At this point, branches less than a length threshold are removed to give a final, cleaned skeleton. A Euclidean Distance Transform is performed to build a radial profile of each filament. A Gaussian with a constant background is fit to the profile to find the width. The filament width is the FWHM value after deconvolving with the FWHM beamwidth of the instrument. The curvature of the filament is described using the Rolling Hough Transform (Clark et al., 2013) is used. This method returns the direction of the filament on the plane (median of the RHT) and the curvature (IQR of the RHT). Also included in the package is an alternate method to find curvature based on the Menger Curvature Formula. This method does NOT yet return a reliable value and we recommend using the RHT method.

Example Images

Data shown below is from the Herschel Gould Belt Survey (Andre et al. 2010).

Chameleon-250 Scaled to 2150

Chameleon-250 Scaled to 2500

Package Dependencies

Requires:

  • numpy 1.7.1
  • matplotlib
  • astropy
  • scipy
  • scikits-image 0.8.0
  • networkx
  • pandas

Optional:

  • pygraphviz -- to make connectivity graphs (set verbose = True)

fil_finder's People

Contributors

e-koch avatar keflavich avatar

Watchers

James Cloos avatar Erik Rosolowsky avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.