make_image()#

curvit.make_image(events_list='', framecount_per_sec=28.7185)#

Create a FITS image from the input events list. The image unit is in counts.

Parameters:
  • events_list (file path) – The name of the events list FITS file.

  • framecount_per_sec (float, optional) –

    The framerate of the observation, with a default value of 28.7185 frames per second for 512 x 512 window mode. The most accurate way to get the framerate would be to take the value of (1 / INT_TIME). INT_TIME value can be found from the corresponding image header. Approximate values of framerate for different window modes of UVIT are given in the table below.

    window mode

    frames per second

    512 x 512

    28.7

    350 x 350

    61

    300 x 300

    82

    250 x 250

    115

    200 x 200

    180

    150 x 150

    300

    100 x 100

    640

Warning

If you plan to use the generated FITS image for science, make sure to give the proper framerate value.

Example

>>> import curvit
>>> curvit.make_image('test_events_list.fits', 28.7185)

The above script will generate a FITS image called test_events_list_image.fits. You may open it in software such as DS9 to view the image.