flatmaker2 - program description

1. General description

It is program for creating flat field frame from series of sky images. It requires a lot of memory , as all frames are read to memory however SMOK
with 4GB of ram will allow to calculate median of 4000 / 8.5 ~= 470 frames , so 400 should make no problem ! This should give a perfect flat !
There are still some things to be improved here - red ones.

Main steps :  
Testowalem ostatnio na smok(heplx45) /data2/results/tmp/FLAT - calkiem przyzwoicie zadzialala

2. Program options

Program is called with name of file with list of fits files from which flat should be produced and name of output FLAT field name, also name of
dark fits file should be provided, example :

    flatmaker2 k2a_list flat_k2a_85mm.fit -dark=dark1.fitc

Example of flat field creation procedure is described here.

Option Name
Description
DEFAULT
-lum_add
Used in limit lum_hi determination
value added to value in 1/4 of sorted table of pixel (x,y) values from each frame
0.1
-lum_mul
Used in limit lum_hi determination, multiplier of (lum[lum_count/4]+lum_add) 1.2
-lum_minhi
Used in limit lum_hi determination, if calculated lum_hi < lum_minhi then lum_minhi is used 0.5
-prog
Used in bacground calculation, only pixels below this limit are used in
median bacground calculation in map field :
max_limit = square_third_value + prog_value
pixels above such max_limit are ignored

125
-border
Size of border to be skiped from making flat
30 - must be changed
to make flat of all pixels without any borders !
-frame
Definition of borders in image as :
   -frame=(left,up,right,bottom)

24,8,8,8
-dark
path to dark frame file
no dark
-type
type of flat calculation 0 - Bogumil's, 1 - msok, 2 - fit of gauss to each pixel
0 - Bogumil's method
-verb
verbose mode
0