Coder Social home page Coder Social logo

kglotfelty / adaptivebin Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 19.69 MB

Various adaptive binning routines for use in CIAO

Python 1.06% Shell 0.88% Jupyter Notebook 98.06%
chandra ciao image-processing adaptive adaptive-binning smoothing astronomy centroid contour tessellation

adaptivebin's Introduction

Banner

Adaptive Binning Routines

This repo contains several adaptive binning routines for use in CIAO. These include

  • contour_map : follows local contours
  • dragon_scales : overlapping shapes
  • grow_from_max : Voronoi tesselation map
  • hexgrid : regular hexagonal grid
  • mkregmap : stack of regions to a map
  • pathfinder : steepest ascent
  • centroid_map : iterative centroid map

Users may also be interested in the compiled tools

These are C programs that need to be built into your CIAO installation. (You do not have to build all of CIAO or even have the CIAO source code installed).

Installation

Users must have CIAO installed and have already sourced the setup script.
Then if you installed CIAO using conda just

git clone https://github.com/kglotfelty/AdaptiveBin
cd AdaptiveBin
python setup.py install 

or if you installed CIAO using ciao-install then

git clone https://github.com/kglotfelty/AdaptiveBin
cd AdaptiveBin
python setup.py build -f -e "/usr/bin/env python" install -f --prefix=$ASCDS_CONTRIB

You will then need to re-index your ahelp to get access to the help files

ahelp -r

Banner

In the banner image above, from left to right we have original data, dmnautilus (original), contour_map, grow_from_max, pathfinder, dragon_scales, hexmap, mkregmap, centroid_map, and dmradar

adaptivebin's People

Contributors

kglotfelty avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

adaptivebin's Issues

dragon_scales gradient

w.r.t. box vs. diamond ...

We could compute the gradient of the image and rotate the polygon.

That then may make it more natural to create N-sided regular polygon (ie hexagons) ; possibly with rotation offset (ie triangle up vs. triangle down)

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.