Coder Social home page Coder Social logo

ska-inaf / caesar Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 0.0 36.26 MB

Caesar source finder tool

License: GNU General Public License v3.0

CMake 3.56% C++ 73.85% Shell 5.75% C 10.24% Python 6.61%
astronomy finding image processing radio segmentation source

caesar's People

Contributors

fvitello avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

caesar's Issues

Log message header in MPI runs

Log message has this format:

date [hostname, PROCXXX, TIDXXX] INFO My log message

Where PROC is the MPI processor rank and TID is the thread id in OpenMP. In MPI+OpenMP runs the header info [hostname,PROC,TID] cannot be retrieved and are empty string for computing nodes different from the frontend.
To be fixed.

Discrepancies between island and component DS9 regions in pixels and WCS coordinates

In some projections we observed some minimal discrepancies (at the level of 1 pixel) between the produced DS9 regions of islands (polygons) and components (ellipses) in pixel coordinates (the default) and in WCS (e.g. FK5) coordinates, even after including possible +1 offset pixel in DS9 convention. This may be due to wcsutil library or some other bugs yet to be found.

WCS Conversion for tile images & sources

When an image tile is read, e.g. with img->ReadFITS("imgname",hduId,xmin,xmax,ymin,ymax) the fits header is modified accordingly and stored in the tile image (crpix are modified). To convert from pixel to sky coordinates (see AstroUtils methods) with WCS derived from tile image metadata you need to pass image matrix coordinates in the tile new ref system (ix,ix), NOT in the original system (e.g. (x,y)).
For source operations (e.g. contour, ellipse conversions) the coordinate used are those in the original system (which are offset wrt to new ref system) so you would either need to pass coordinates in the new system with default WCS built from image or build a new WCS with crpix shifted.
We did the latter by assigning a crpix-modified metadata to sources in BlobFinder.
This can be misleading so keep this issue open to re-think again the design.

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.