Author Topic: FITS presets  (Read 5599 times)

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
FITS presets
« on: 2013 September 13 02:13:22 »
Hi,
we see many messages of people that have difficulties to import FITS images written by other applications (for instance Maxim) into PI. I know this is due to non-standard uses of FITS, such as using floats to encode ADU values, or using non-standard keywords.

Maybe it would be useful to offer a FITS import module that would provide a number of presets and pre-defined fixes for different source applications.

Georg
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)

Offline mschuster

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1087
Re: FITS presets
« Reply #1 on: 2013 September 13 11:27:50 »
+1. An ability to add new, custom, named settings would be nice to support the less common source apps. I would also like to specify an arbitrary PixelMath transformation.

Mike

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: FITS presets
« Reply #2 on: 2013 September 13 14:17:09 »
yes, this is a good idea. +1

Offline Geoff

  • PixInsight Padawan
  • ****
  • Posts: 908
Re: FITS presets
« Reply #3 on: 2013 September 13 16:20:13 »
This would have to take in all the possible permutations that the capturing software can give to the acquisition frames. I have seen a bit of mention about difficulties with Maxim using floating point fits. In fact, Maxim allows various settings, one of which is standard 16 bit integer. I have never had any problem importing my Maxim acquired images into PI.  Maybe there should be some responsibility for the user of the acquistion software to investigate how to use it properly rather than expecting Juan to solve their problems.
Geoff
Don't panic! (Douglas Adams)
Astrobin page at http://www.astrobin.com/users/Geoff/
Webpage (under construction) http://geoffsastro.smugmug.com/

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: FITS presets
« Reply #4 on: 2013 September 13 18:06:40 »
true enough and that is the right solution, but the "i16 as f32 [0.0 - 65535.0]" format is common enough that it might warrant at least a preset. we've seen both maxim and nebulosity doing this.

Offline Riccardo A. Ballerini

  • Newcomer
  • Posts: 37
Re: FITS presets
« Reply #5 on: 2013 September 14 11:58:12 »
a batch command for correcting/adding fields like binning, filter id, author etc would be useful :-)

Offline Geoff

  • PixInsight Padawan
  • ****
  • Posts: 908
Re: FITS presets
« Reply #6 on: 2013 September 14 12:56:50 »
Again I say use the acquisition software properly and all these will be in the file header.
Geoff
Don't panic! (Douglas Adams)
Astrobin page at http://www.astrobin.com/users/Geoff/
Webpage (under construction) http://geoffsastro.smugmug.com/

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Re: FITS presets
« Reply #7 on: 2013 September 14 14:03:06 »
Perhaps something like an Assistant that evaluates statistics and keywords, and based on these gives hints on the correct settings (either in PI or in the source application) would be an option.
Georg



« Last Edit: 2013 September 15 03:55:24 by georg.viehoever »
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)

Offline Geoff

  • PixInsight Padawan
  • ****
  • Posts: 908
Re: FITS presets
« Reply #8 on: 2013 September 14 16:10:35 »
Perhaps something like an Assistant that evaluates statistics and keywords, and based on these gives hints on the correct settings (either in PI or in the source application) would be an option.
Georg
Modify message
Good suggestion Georg.
Geoff
Don't panic! (Douglas Adams)
Astrobin page at http://www.astrobin.com/users/Geoff/
Webpage (under construction) http://geoffsastro.smugmug.com/

Offline Riccardo A. Ballerini

  • Newcomer
  • Posts: 37
Re: FITS presets
« Reply #9 on: 2017 October 25 09:00:37 »
I use Equinox for acquiring and the Batch PreProcess does not recognise binning, I had to ask a friend with some programming expertise to modify the script. With all the new updates the modding no longer works and I'm back to square one.  :sad:

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: FITS presets
« Reply #10 on: 2017 October 26 01:29:58 »
Hi Riccardo,

The BPP script looks for the de facto standard keywords used to store pixel binning factors: XBINNING/YBINNING, BINNING, and CCDBINX/CCDBINY. If the Equinox application uses different keywords, then BPP won't recognize them unless you modify the script. Here we have another good example of interoperability problems caused by the FITS format: a poorly defined format, unable to standardize even something as essential as binning factors.

Do you know what keywords are being used by Equinox to store pixel binning information in FITS headers?
Juan Conejero
PixInsight Development Team
http://pixinsight.com/