taskGNU Astronomy Utilities - Tasks: task #13931, MakeCatalog only do the desired...

 
 

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

task #13931: MakeCatalog only do the desired raw calculations

Submitter:  Mohammad Akhlaghi <makhlaghi>
Submitted:  Wed 23 Mar 2016 05:48:53 AM UTC
   
 
Should Start On:  Tue 22 Mar 2016 03:00:00 PM UTC Should be Finished on:  Tue 22 Mar 2016 03:00:00 PM UTC
Category:  MakeCatalog Priority:  5 - Normal
Item Group:  Enhancement Status:  None
Privacy:  Public Assigned to:  None
Percent Complete:  0% Open/Closed:  Open
Effort:  0.00

Wed 23 Mar 2016 05:48:53 AM UTC, original submission:  

Currently in the first and second passes, all the raw information that is possibly needed for any output column is collected in the information table. So for example if a user only wants the geometric center of an object, everything from the brightness, to brightness weighted centers, and etc, will also be collected in the information array while they are never used!

As long as the number of output columns is not significant this isn't a major problem. But as we add more columns, this is going to be a major consumer of memory/speed.

MakeCatalog should be modified in a way that the information table does not necessarily have a fixed number of columns, but only the number of columns necessary to do the calculations that the user has asked for. This can be done when inspecting the desired columns: each operation needs certain columns, so each designed operation can flag certain columns as necessary (in ui.c), then after all the desired columns are found based on the user's desired output, a specific information table can be built for that particular run and only the functions that are needed can fill in those columns.

We might be able to do this by defining functions for each information table column, and then using pointers to those functions which the first and second pass functions can call in order. The function pointers can be put into an array of pointers like a string (terminating with a NULL, so the first pass function knows when to stop).

These solutions are just some random brainstorms for now. Certainly as we start doing this in practice they will become more robust.

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.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code