taskGNU Astronomy Utilities - Tasks: task #14301, Table columns as input into the...

 
 

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

task #14301: Table columns as input into the programs (e.g., Statistics and Arithmetic)

Submitter:  Mohammad Akhlaghi <makhlaghi>
Submitted:  Fri 06 Jan 2017 02:38:16 PM UTC
   
 
Should Start On:  Thu 05 Jan 2017 03:00:00 PM UTC Should be Finished on:  Thu 05 Jan 2017 03:00:00 PM UTC
Category:  All Gnuastro Priority:  5 - Normal
Item Group:  Enhancement Status:  In Progress
Privacy:  Public Assigned to:  makhlaghi
Percent Complete:  10% Open/Closed:  Open
Effort:  0.00

Wed 22 Feb 2017 03:23:08 AM UTC, comment #2: 

Statistics now applies this concept and works equally well on images (of any dimension) or table columns. Many new features have now also been added to it thanks to `gal_data_t' and adding any new statistical calculation is very easy with the infra-structure that is now in place.

Thanks to these new features, you can do many (currently basic) calculations on a dataset/table directly on the shell without having to go into some higher-level programming environment! So it is very convenient. It even makes ASCII histograms for a crude feeling of hte data :-)!

Statistics can now act as a model for the other programs to work to complete this task.

Mohammad Akhlaghi <makhlaghi>
Group administrator
Sun 12 Feb 2017 04:33:09 PM UTC, comment #1: 

The "Image" and "img" prefixes have been removed from the three program names that had them. The old and new names are shown below.


  Old names                            New names
  ---------                            ---------
  ImageCrop       (`astimgcrop')  -->  Crop       (`astcrop')
  ImageStatistics (`astimgstat')  -->  Statistics (`aststatistics')
  ImageWarp       (`astimgwarp')  -->  Warp       (`astwarp')


Mohammad Akhlaghi <makhlaghi>
Group administrator
Fri 06 Jan 2017 02:38:16 PM UTC, original submission:  

Now that `gal_data_t' is the format of input into `Arithmetic', the number of the input's dimensions is irrelevant. So it can equally well operate on table column(s) as well as images.

The same applies to many of Gnuastro's programs (although `gal_data_t' is not yet ported to most of them):

  • Convert to convert table types (effectively removing the current `Table' program).


  • Convolve a 1D table column with a 1D kernel.


  • ImageCrop (after removing the `Image' part from the name!) to crop certain rows from a column.


  • ImageStatistics (again after correcting the name) to get various statistics for a/some columns.


  • ImageWarp (again, after correcting the name) warp the values in a column to a new 1D grid. Ofcourse this only makes sense when the rows are related, for example in a table where each column is an object's spectra.


  • MakeCatalog for creating a catalog from 1D labeled columns, as in detection of spectral features over a 1D spectrum.


  • MakeNoise Add noise to the values of a column.


  • MakeProfiles Make 1D profiles over columns (useful in spectroscopic data analysis)


  • NoiseChisel Detect 1D signal.


  • SubtractSky subtract the Sky value from 1D data.


In effect after this is done, Gnuastro's programs (and ones that will be added in the future) will become something like a high-level programming language which directly inputs and outputs to files. This is great for reproducibility and allowing researchers to benefit from something like Makefiles.

Ofcourse, the programs are becoming more and more a veneer over the library functions which are the main workhorse. So beside this shell/file level program access, people can also use the heart of Gnuastro directly in their own programs. So it is becoming really exciting ;-) ....

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-f8d8.
    Corresponding source code