taskGNU Astronomy Utilities - Tasks: task #14101, Use catalog column to specify crop...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

task #14101: Use catalog column to specify crop names

Submitter:  Mohammad Akhlaghi <makhlaghi>
Submitted:  Mon 25 Jul 2016 11:05:15 PM UTC
   
 
Should Start On:  Mon 25 Jul 2016 03:00:00 PM UTC Should be Finished on:  Mon 25 Jul 2016 03:00:00 PM UTC
Category:  Crop Priority:  5 - Normal
Item Group:  Enhancement Status:  Postponed
Privacy:  Public Assigned to:  makhlaghi
Percent Complete:  100% Open/Closed:  Closed
Effort:  0.00

Mon 06 Feb 2017 03:27:13 AM UTC, comment #1: 

As part of modifying ImageCrop to benefit from `gal_data_t', this task has been completed and is pushed to my development branch.

As one side-effect of the already built new infra-structure, it is now possible to use column names, units, or even comments as well as column numbers (counting from 1) to identify the input columns when cropping from a catalog.

With this task complete, now the filenames of the crops also exist in a column in the input catalog. tests/imgcrop/cat.txt is one example. The tests/imgcrop/imgcat.sh test now uses this feature when running `make check'.

Mohammad Akhlaghi <makhlaghi>
Group administrator
Mon 25 Jul 2016 11:05:15 PM UTC, original submission:  

When using ImageCrop in catalog mode, currently the outputs are named based on their row number. But usually catalogs also have IDs for the objects within in them.

For example see the catalog example below: first column is the registered object ID, second column is the RA and the third column is the Declination (all are random numbers).

4ACN980  32.932870987 -20.232132349
2ACN991  32.823123837 -21.239128422
2ACN999  33.734382343 -20.249438311

Then the outputs will be: '1_crop.fits', '2_crop.fits', and '3_crop.fits'. This is not very useful since the IDs are very meaningful for the analysis. So currently it is up to the user to rename the cutouts later with some script for example. This is very inconvenient.

It would be very helpful if like '--xcol', '--deccol' and etc, ImageCrop could optionally get something like an '--idcol' and use the string value of that column in the catalog as the filename (not directory) prefix for the outputs. In the proposed task, the output file names of the example catalog would be '4ACN980_crop.fits', '2ACN991_crop.fits', and '2ACN999_crop.fits'.

Mohammad Akhlaghi <makhlaghi>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by makhlaghi (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-02-06 makhlaghi Percent Complete0% 100%
        Assigned toNone makhlaghi
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code