Author Topic: BPP does not see my master flat frames  (Read 6433 times)

Offline viktorbravo

  • Member
  • *
  • Posts: 65
BPP does not see my master flat frames
« on: 2014 April 06 15:57:51 »
I made master flats with the Integration process following Vicent's tutorial, but when I add them to the BPP script I get this message:

"** Warning: No flat frames have been selected to calibrate light frames (filter="Ha 5nm", binning=1, exposure=1800.00s, length=19")

BPP sees the Master Bias and Master Darks I made just fine.  The flats work fine using the calibration process, but still BPP doesn't see them.

Currently running 1.8.01.1087 OSX 10.8.5

Any ideas?
« Last Edit: 2014 April 06 16:07:31 by viktorbravo »

Offline Geoff

  • PixInsight Padawan
  • ****
  • Posts: 908
Re: BPP does not see my master flat frames
« Reply #1 on: 2014 April 06 16:17:09 »
Check the fits header file. You may find the frame is wrongly categorised--for example as 'light' instead of 'flat'
Geoff
Don't panic! (Douglas Adams)
Astrobin page at http://www.astrobin.com/users/Geoff/
Webpage (under construction) http://geoffsastro.smugmug.com/

Offline viktorbravo

  • Member
  • *
  • Posts: 65
Re: BPP does not see my master flat frames
« Reply #2 on: 2014 April 06 17:10:16 »
Thanks.

None of the masters I made have any reference to the type of frame in the FITS header since it is a integration, yet BPP accepts the Dark and Bias, but not the Flat.

I just added IMAGETYP 'Flat Field' to the FITS header of the Master Flat and it still does not work. 

I'll keep at it and see what the issue is.
« Last Edit: 2014 April 06 17:30:09 by viktorbravo »

Offline Warhen

  • PTeam Member
  • PixInsight Old Hand
  • ****
  • Posts: 490
    • Billions and Billions
Re: BPP does not see my master flat frames
« Reply #3 on: 2014 April 06 18:25:10 »
Hi, I'm not sure why but it sometimes sees my master dark as a light. Simply choose custom and tell the script that your flat is a flat. Done!
Best always, Warren

Warren A. Keller
www.ip4ap.com

Offline bitli

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 513
Re: BPP does not see my master flat frames
« Reply #4 on: 2014 April 06 23:10:20 »
Looking at the code BBP uses the following logic:
  • If you forced a type (loaded specifically image of that type), it uses the specific type, whatever the name and IMAGETYP
  • Otherwise it looks at the IMAGTYP keywords and recognizes the image types "bias frame", "bias", "master bias", "dark frame", "dark", "master dark", "flat field", "flat frame", "flat", "master flat","light frame", "light", "science frame","science""master light"in trimmed/case insensitive comparison.
  • If sill not found, it checks if one of the words 'bias', 'dark', 'flat' or 'light' is in the name of the file (case insensitive, the name only, not the directoy)
If none succeeds it displays an error message.
Things that can go wrong seems to be the usual human bugs as typo in IMAGETYP (including an additional space between words) or in file name (dark ->drak), clicking on the wrong button to load file, all things I do regularly :-)
BPP itself will generate the files with one of the IMAGETYP "Master Bias", "Master Dark", "Master Flat" or "Master Light".
The indication 'master' seems to be for information purpose only, you must still manually set the check box 'use master ...'.

If you have a file that meet the requirements above but is repeatedly not loaded properly, I would be interested to have a look.
-- bitli




Offline cfranks

  • PixInsight Addict
  • ***
  • Posts: 138
Re: BPP does not see my master flat frames
« Reply #5 on: 2014 April 08 07:28:40 »
Thanks.

None of the masters I made have any reference to the type of frame in the FITS header since it is a integration, yet BPP accepts the Dark and Bias, but not the Flat.

I just added IMAGETYP 'Flat Field' to the FITS header of the Master Flat and it still does not work. 

I'll keep at it and see what the issue is.

Into the Fits header, insert XBINNING and YBINNING keywords with the appropriate binning and the FILTER keyword with the appropriate filter colour.

Charles

Offline GJL

  • PixInsight Addict
  • ***
  • Posts: 102
Re: BPP does not see my master flat frames
« Reply #6 on: 2014 April 09 02:21:03 »
>> Into the Fits header, insert XBINNING and YBINNING keywords with the appropriate binning and the FILTER keyword with the appropriate filter colour.<<

Thank you for the solution, I´ve got the same problem. In FitsHeader/Name/Filter there must be the same expression like in BPP/Lights i.e. "Filter 2" or "Filter R". Not  F, 2 or R, this doesn´t work. Change the expression, Triangle to the image, Save.

Regards  Gerhard

Offline viktorbravo

  • Member
  • *
  • Posts: 65
Re: BPP does not see my master flat frames
« Reply #7 on: 2014 April 09 13:56:59 »
Thanks for the info.  I'll probably just continue to calibrate in other software as it seems to be a less time consuming method for me.

Offline viktorbravo

  • Member
  • *
  • Posts: 65
Re: BPP does not see my master flat frames
« Reply #8 on: 2014 April 28 22:26:15 »
Hi, I'm not sure why but it sometimes sees my master dark as a light. Simply choose custom and tell the script that your flat is a flat. Done!

Warren, this worked like a charm once I remembered to also add the binning.

Muchas gracias señor!

Offline nickg

  • Newcomer
  • Posts: 11
Re: BPP does not see my master flat frames
« Reply #9 on: 2016 October 05 20:48:47 »
Sorry to revive this old thread, but I'm trying to shift my pre-processing workflow to PI. None of the above solutions have worked. I am still getting the flat frame error. Editing headers is just too tough. It would be nice to just load all the files and click "Run" without any issues.

Nick

Offline mar504

  • Newcomer
  • Posts: 17
Re: BPP does not see my master flat frames
« Reply #10 on: 2016 October 06 10:58:35 »
Sorry to revive this old thread, but I'm trying to shift my pre-processing workflow to PI. None of the above solutions have worked. I am still getting the flat frame error. Editing headers is just too tough. It would be nice to just load all the files and click "Run" without any issues.

Nick

Sounds like the same problem I was having (I had renamed my filters which confused things). Just use the "custom" button to add your files if it's giving you grief.

Offline nickg

  • Newcomer
  • Posts: 11
Re: BPP does not see my master flat frames
« Reply #11 on: 2016 October 06 16:29:24 »
Thanks, that solved it. I had to add matching filter names under "Custom".

Nick

Offline STAstro

  • Newcomer
  • Posts: 43
Re: BPP does not see my master flat frames
« Reply #12 on: 2017 March 27 07:13:08 »
I had the same issue, I solved it by adding them as custom, but you had to enter the Filter detail in the same way it had for the light frames, this resulted in me identifying what was wrong with my flat masters in the first place

If your light frames are added as Red, Green, Blue and Lum but you "Custom" add with RED, GREEN, BLUE and LUM it will not match them as Red is not the same as RED!!!

I chekced all my Masters and they are all in Capitals, changing the headers to match the case of the light frames worked, I worked this out because it did not have any issues with my HA Lights and Flats.

Maybe the script can be changed to not be case sensitive?