bugGNU Astronomy Utilities - Bugs: bug #66286, In-slice measurements don't work...

 
 

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

bug #66286: In-slice measurements don't work on clumps in MakeCatalog

Submitter:  Sepideh Eskandarlou <sepideh>
Submitted:  Thu 03 Oct 2024 03:26:56 PM UTC
   
 
Category:  MakeCatalog Severity:  3 - Normal
Item Group:  Crash Status:  Postponed
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Sat 12 Oct 2024 10:23:01 PM UTC, comment #1: 

Thank you for raising this issue Sepideh. I just checked and the cause is that the in-slice measurements are not yet implemented on clumps: due to limited time unfortunately :-(.

But for now, the best thing I could do was to print a more informative warning that is now implemented in Commit 64db9aab4733 (it also includes a link to this bug). In this way, at least the users will be informed that this is a known bug and they can check its status by visiting here.

Until then, for the scenario you gave, you can convert the rivers to a separate label (set any '-1' valued pixel to '2' for example), then get the spectra of both the labels. Finally, you can subtract the mean flux of label 2 (the rivers) from the mean flux of label 1 (the internal region) within the Table program ;-). In this way you can achieve the same result as you would for clumps for this particular problem. For other problems, it will be more complicated, but not impossible ;-).

Mohammad Akhlaghi <makhlaghi>
Group administrator
Thu 03 Oct 2024 03:26:56 PM UTC, original submission:  

The main purpose of this work was to create a catalog based on the MaNGA 3D cube.

First the data has downloaded based on this command:

$ wget https://data.sdss.org/sas/dr17/manga/spectro/redux/v3_1_1/8555/stack/manga-8555-3701-LINCUBE.fits.gz


A labeled image is needed to create the catalog, but since I wanted both the clumps and objects, two labeled image for each one is created based on the following commands:

$ astarithmetic manga-8555-3701-LINCUBE.fits.gz \
                0 ne --output=label-obj.fits

$ astarithmetic manga-8555-3701-LINCUBE.fits.gz 0 ne set-i \
                i 2 erode 2 erode set-e \
                i int8 i e ne -1 where \
                --output=label-clumps.fits


Finally for creating the catalog of MaNGA the following command is run.

astmkcatalog label-obj.fits \
             --ids --ra --dec --w3 --sum \
             --clumpscat --clumpshdu=1 -h1 \
             --area-in-slice --sum-in-slice \
             --sum-proj-in-slice --valueshdu=1 \
             --valuesfile=manga-8555-3701-LINCUBE.fits.gz \
             --clumpsfile=label-clumps.fits --output=cat.fits \
             --clumps-w1 --clumps-w2 --clumps-w3 --clumps-sum


But I faced with this error:

astmkcatalog: columns_fill: a bug! Please contact us at bug-gnuastro@gnu.org to solve the problem. The output column code 1128 not recognized (for clumps).


Sepideh Eskandarlou <sepideh>
Group Member

 

(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 (Posted a comment)
  • -email is unavailable- added by sepideh (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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-10-13 makhlaghi SummaryIn MakeCatalog the output column 1128 not recognized In-slice measurements don't work on clumps in MakeCatalog
    2024-10-12 makhlaghi StatusNone Postponed

    Back to the top

    Powered by Savane 3.14-7003.
    Corresponding source code