Git Product home page Git Product logo

centerradon's Introduction

Determination of Star Centers based on Radon Transform DOI ascl:1906.021

This code is firstly used to determine the centers of the stars for the HST-STIS coronagraphic archive (Ren et al. 2017).

Installation

Checkout the code from this Github repository. Then open up a terminal window and navigate to the directory for this package. Run the following command to have an installation that will evolve with the development of this codebase.

$ python setup.py develop

Running the code:

import radonCenter
(x_cen, y_cen) = radonCenter.searchCenter(image, x_ctr_assign, y_ctr_assign, size_window = image.shape[0]/2)

Inputs:

  1. image: 2d array.
  2. x_ctr_assign: the assigned x-center, or starting x-position; for STIS, the "CRPIX1" header is suggested.
  3. y_ctr_assign: the assigned y-center, or starting y-position; for STIS, the "CRPIX2" header is suggested.
  4. size_window: half width of the window to generate the cost function; for STIS, half the length of the image is suggested.

References:

Pueyo, L., Soummer, R., Hoffmann, J., et al. 2015, ApJ, 803, 31

Ren, B., Pueyo, L., Perrin, M. D., Debes, J. H, & Choquet, ร‰. 2017, Society of Photo-Optical Instrumentation Engineers (SPIE) Conference Series, 10400, 1040021

centerradon's People

Contributors

seawander avatar semaphorep 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.