taskGNU Astronomy Utilities - Tasks: task #13869, Type of output and operations...

 
 

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

task #13869: Type of output and operations based on inputs in ImageArithmetic

Submitted by:  Mohammad Akhlaghi <makhlaghi>
Submitted on:  Wed 27 Jan 2016 07:00:09 AM UTC  
 
Should Start On: Tue 26 Jan 2016 03:00:00 PM UTCShould be Finished on: Tue 26 Jan 2016 03:00:00 PM UTC
Category: ArithmeticPriority: 5 - Normal
Item Group: EnhancementStatus: None
Privacy: PublicPercent Complete: 10%
Assigned to: NoneOpen/Closed: Open
Effort: 0.00

Fri 26 Aug 2016 05:49:44 PM UTC, comment #1:

From commit 62c3bd26, the type of Arithmetic's output is now determined with configuration files or command-line options. So the new `--type' option is now a mandatory option.

But this does not necessarily complete this task, it would be great if `--type' was optional and the output type could be determined based on the input types, so for example when all the input images have an integer type, the output would also be integer automatically.

I am marking the task as 10% complete since some of the type setting infrastructure has been prepared during the above settings (through the `p->type' variable replacing the `p->obitpix'). But work still remains to complete this task.

Mohammad Akhlaghi <makhlaghi>
Project Administrator
Wed 27 Jan 2016 07:00:09 AM UTC, original submission:

In its first implementation, ImageArithmetic will do all operations in double precision floating point and will keep the output as double precision if at least one of the input files has that type. Otherwise the output will be in single precision floating point.

The next step is to ensure that unless it is necessary the types of the inputs do not change, so for example when all the inputs are integer type, the output remains an integer and all the operations are done on integer arrays. This has some parallels with task #13868.

Mohammad Akhlaghi <makhlaghi>
Project Administrator

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 26 Aug 2016 05:49:44 PM UTCmakhlaghiPercent Complete0%=>10%

    Back to the top


    Powered by Savane 3.1-cleanup1