{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "from astropy.io import fits\n", "import numpy as np\n", "import ccdproc as ccdp\n", "import os\n", "import sys\n", "import glob" ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [], "source": [ "# get all images starting with CCD\n", "images = glob.glob('CCD*.fts')\n", "# sort the images\n", "images.sort()" ] }, { "cell_type": "code", "execution_count": 6, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
Table masked=True length=48\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "\n", "
filesimplebitpixnaxisnaxis1naxis2bscalebzerodate-obsexptimeexposureset-tempccd-tempxpixszypixszxbinningybinningxorgsubfyorgsubfreadoutmfilterimagetypfocallenaptdiaaptareasbstdvergainswcreateswserialfocusposfocussszobjctraobjctdecobjctaltobjctazobjcthasitelatsitelongjdjd-helioairmassobjecttelescopinstrumeobservernotesroworderflipstatswowner
str17boolint32int32int32int32float64float64str22float64float64float64float64float64float64int32int32int32int32str28str7str11float64float64float64str21str2str34str32int32float64str8str9str8str8str8str8str10float64float64float64str1str1str22str1str1str8str11str16
CCD Image 456.ftsTrue162204820481.032768.02024-04-13T04:11:16.015.05.0-65.62999725341797-64.9690017700195313.513.511005MHz High Sensitivity 16-bitHaGLight Frame3454.0508.0202682.99727916718SBFITSEXT Version 1.04xMaxIm DL Version 6.40 231201 0HTQT0HTQT-UWY5F-M0Q8R-W9UHW-8HTWQ-7M50001.010 07 30+16 43 2374.8415186.91020.125431 39 56-110 36 072460413.67449085652460413.67779331471.0359161492755804Andor CCD/EMCCD (SDK2)TOP-DOWNFlip/MirrorMACRO Consortium
CCD Image 457.ftsTrue162204820481.032768.02024-04-13T04:11:24.485.05.0-65.62999725341797-64.9690017700195313.513.511005MHz High Sensitivity 16-bitHaGLight Frame3454.0508.0202682.99727916718SBFITSEXT Version 1.04xMaxIm DL Version 6.40 231201 0HTQT0HTQT-UWY5F-M0Q8R-W9UHW-8HTWQ-7M50001.010 07 30+16 43 2374.8379187.03750.127831 39 56-110 36 072460413.6745888892460413.6778913391.0359337678705796Andor CCD/EMCCD (SDK2)TOP-DOWNFlip/MirrorMACRO Consortium
CCD Image 458.ftsTrue162204820481.032768.02024-04-13T04:11:32.555.05.0-65.62999725341797-64.9690017700195313.513.511005MHz High Sensitivity 16-bitHaGLight Frame3454.0508.0202682.99727916718SBFITSEXT Version 1.04xMaxIm DL Version 6.40 231201 0HTQT0HTQT-UWY5F-M0Q8R-W9UHW-8HTWQ-7M50001.010 07 30+16 43 2374.8340187.16680.130131 39 56-110 36 072460413.67468229172460413.67798473451.0359508644467001Andor CCD/EMCCD (SDK2)TOP-DOWNFlip/MirrorMACRO Consortium
CCD Image 459.ftsTrue162204820481.032768.02024-04-13T04:11:41.145.05.0-65.62999725341797-64.9690017700195313.513.511005MHz High Sensitivity 16-bitHaGLight Frame3454.0508.0202682.99727916718SBFITSEXT Version 1.04xMaxIm DL Version 6.40 231201 0HTQT0HTQT-UWY5F-M0Q8R-W9UHW-8HTWQ-7M50001.010 07 30+16 43 2374.8304187.29070.132431 39 56-110 36 072460413.6747817132460413.6780841481.035969395111508Andor CCD/EMCCD (SDK2)TOP-DOWNFlip/MirrorMACRO Consortium
CCD Image 460.ftsTrue162204820481.032768.02024-04-13T04:12:00.465.05.0-65.62999725341797-64.9690017700195313.513.511005MHz High Sensitivity 16-bitHaGLight Frame3454.0508.0202682.99727916718SBFITSEXT Version 1.04xMaxIm DL Version 6.40 231201 0HTQT0HTQT-UWY5F-M0Q8R-W9UHW-8HTWQ-7M45001.010 07 30+16 43 2374.8215187.58980.137931 39 56-110 36 072460413.6750053242460413.6783077411.0360123255168405Andor CCD/EMCCD (SDK2)TOP-DOWNFlip/MirrorMACRO Consortium
CCD Image 461.ftsTrue162204820481.032768.02024-04-13T04:12:08.525.05.0-65.62999725341797-64.9690017700195313.513.511005MHz High Sensitivity 16-bitHaGLight Frame3454.0508.0202682.99727916718SBFITSEXT Version 1.04xMaxIm DL Version 6.40 231201 0HTQT0HTQT-UWY5F-M0Q8R-W9UHW-8HTWQ-7M45001.010 07 30+16 43 2374.8175187.71290.140131 39 56-110 36 072460413.6750986112460413.67840102041.036030748116974Andor CCD/EMCCD (SDK2)TOP-DOWNFlip/MirrorMACRO Consortium
CCD Image 462.ftsTrue162204820481.032768.02024-04-13T04:12:17.095.05.0-65.62999725341797-64.9690017700195313.513.511005MHz High Sensitivity 16-bitHaGLight Frame3454.0508.0202682.99727916718SBFITSEXT Version 1.04xMaxIm DL Version 6.40 231201 0HTQT0HTQT-UWY5F-M0Q8R-W9UHW-8HTWQ-7M45001.010 07 30+16 43 2374.8136187.83640.142431 39 56-110 36 072460413.6751978012460413.67850020251.0360506676727164Andor CCD/EMCCD (SDK2)TOP-DOWNFlip/MirrorMACRO Consortium
CCD Image 463.ftsTrue162204820481.032768.02024-04-13T04:12:24.605.05.0-65.62999725341797-64.9690017700195313.513.511005MHz High Sensitivity 16-bitHaGLight Frame3454.0508.0202682.99727916718SBFITSEXT Version 1.04xMaxIm DL Version 6.40 231201 0HTQT0HTQT-UWY5F-M0Q8R-W9UHW-8HTWQ-7M45001.010 07 30+16 43 2374.8101187.95110.144531 39 56-110 36 072460413.67528472242460413.67858711681.0360684040241157Andor CCD/EMCCD (SDK2)TOP-DOWNFlip/MirrorMACRO Consortium
CCD Image 464.ftsTrue162204820481.032768.02024-04-13T04:12:32.535.05.0-65.62999725341797-64.9690017700195313.513.511005MHz High Sensitivity 16-bitHaGLight Frame3454.0508.0202682.99727916718SBFITSEXT Version 1.04xMaxIm DL Version 6.40 231201 0HTQT0HTQT-UWY5F-M0Q8R-W9UHW-8HTWQ-7M45001.010 07 30+16 43 2374.8057188.07980.146931 39 56-110 36 072460413.67537650472460413.67867889161.036087416836712Andor CCD/EMCCD (SDK2)TOP-DOWNFlip/MirrorMACRO Consortium
CCD Image 465.ftsTrue162204820481.032768.02024-04-13T04:12:48.725.05.0-65.62999725341797-64.9690017700195313.513.511005MHz High Sensitivity 16-bitHaGLight Frame3454.0508.0202682.99727916718SBFITSEXT Version 1.04xMaxIm DL Version 6.40 231201 0HTQT0HTQT-UWY5F-M0Q8R-W9UHW-8HTWQ-7M40001.010 07 30+16 43 2374.7976188.32680.151431 39 56-110 36 072460413.6755638892460413.6788662611.0361271414251263Andor CCD/EMCCD (SDK2)TOP-DOWNFlip/MirrorMACRO Consortium
...................................................................................................................................................
CCD Image 494.ftsTrue162204820481.032768.02024-04-13T04:18:37.245.05.0-65.62999725341797-64.9690017700195313.513.511005MHz High Sensitivity 16-bitOGGrismLight Frame3454.0508.0202682.99727916718SBFITSEXT Version 1.04xMaxIm DL Version 6.40 231201 0HTQT0HTQT-UWY5F-M0Q8R-W9UHW-8HTWQ-7M22001.010 07 30+16 43 2374.5623193.53510.248531 39 56-110 36 072460413.6795976852460413.68289973261.0372782219865375Andor CCD/EMCCD (SDK2)TOP-DOWNFlip/MirrorMACRO Consortium
CCD Image 495.ftsTrue162204820481.032768.02024-04-13T04:18:44.995.05.0-65.62999725341797-64.9690017700195313.513.511005MHz High Sensitivity 16-bitOGGrismLight Frame3454.0508.0202682.99727916718SBFITSEXT Version 1.04xMaxIm DL Version 6.40 231201 0HTQT0HTQT-UWY5F-M0Q8R-W9UHW-8HTWQ-7M22001.010 07 30+16 43 2374.5564193.63940.250531 39 56-110 36 072460413.6796873842460413.6829894241.0373102589571543Andor CCD/EMCCD (SDK2)TOP-DOWNFlip/MirrorMACRO Consortium
CCD Image 496.ftsTrue162204820481.032768.02024-04-13T04:18:52.755.05.0-65.62999725341797-64.9690017700195313.513.511005MHz High Sensitivity 16-bitOGGrismLight Frame3454.0508.0202682.99727916718SBFITSEXT Version 1.04xMaxIm DL Version 6.40 231201 0HTQT0HTQT-UWY5F-M0Q8R-W9UHW-8HTWQ-7M22001.010 07 30+16 43 2374.5493193.76170.252831 39 56-110 36 072460413.6797771992460413.6830792321.0373426186776395Andor CCD/EMCCD (SDK2)TOP-DOWNFlip/MirrorMACRO Consortium
CCD Image 497.ftsTrue162204820481.032768.02024-04-13T04:19:00.325.05.0-65.62999725341797-64.9690017700195313.513.511005MHz High Sensitivity 16-bitOGGrismLight Frame3454.0508.0202682.99727916718SBFITSEXT Version 1.04xMaxIm DL Version 6.40 231201 0HTQT0HTQT-UWY5F-M0Q8R-W9UHW-8HTWQ-7M22001.010 07 30+16 43 2374.5432193.86640.254831 39 56-110 36 072460413.6798648152460413.6831668411.0373744574713109Andor CCD/EMCCD (SDK2)TOP-DOWNFlip/MirrorMACRO Consortium
CCD Image 498.ftsTrue162204820481.032768.02024-04-13T04:19:08.135.05.0-65.62999725341797-64.9690017700195313.513.511005MHz High Sensitivity 16-bitOGGrismLight Frame3454.0508.0202682.99727916718SBFITSEXT Version 1.04xMaxIm DL Version 6.40 231201 0HTQT0HTQT-UWY5F-M0Q8R-W9UHW-8HTWQ-7M22001.010 07 30+16 43 2374.5362193.98880.257131 39 56-110 36 072460413.6799552082460413.6832572271.0374075863321695Andor CCD/EMCCD (SDK2)TOP-DOWNFlip/MirrorMACRO Consortium
CCD Image 499.ftsTrue162204820481.032768.02024-04-13T04:19:24.195.05.0-65.62999725341797-64.9690017700195313.513.511005MHz High Sensitivity 16-bitOGGrismLight Frame3454.0508.0202682.99727916718SBFITSEXT Version 1.04xMaxIm DL Version 6.40 231201 0HTQT0HTQT-UWY5F-M0Q8R-W9UHW-8HTWQ-7M27001.010 07 30+16 43 2374.5229194.21180.261331 39 56-110 36 072460413.6801410882460413.6834430921.0374766073139663Andor CCD/EMCCD (SDK2)TOP-DOWNFlip/MirrorMACRO Consortium
CCD Image 500.ftsTrue162204820481.032768.02024-04-13T04:19:31.755.05.0-65.62999725341797-64.9690017700195313.513.511005MHz High Sensitivity 16-bitOGGrismLight Frame3454.0508.0202682.99727916718SBFITSEXT Version 1.04xMaxIm DL Version 6.40 231201 0HTQT0HTQT-UWY5F-M0Q8R-W9UHW-8HTWQ-7M27001.010 07 30+16 43 2374.5157194.33390.263731 39 56-110 36 072460413.6802285882460413.6835305851.0375095155760148Andor CCD/EMCCD (SDK2)TOP-DOWNFlip/MirrorMACRO Consortium
CCD Image 501.ftsTrue162204820481.032768.02024-04-13T04:19:39.505.05.0-65.62999725341797-64.9690017700195313.513.511005MHz High Sensitivity 16-bitOGGrismLight Frame3454.0508.0202682.99727916718SBFITSEXT Version 1.04xMaxIm DL Version 6.40 231201 0HTQT0HTQT-UWY5F-M0Q8R-W9UHW-8HTWQ-7M27001.010 07 30+16 43 2374.5095194.43770.265631 39 56-110 36 072460413.6803182872460413.6836202771.0375435284210706Andor CCD/EMCCD (SDK2)TOP-DOWNFlip/MirrorMACRO Consortium
CCD Image 502.ftsTrue162204820481.032768.02024-04-13T04:19:47.315.05.0-65.62999725341797-64.9690017700195313.513.511005MHz High Sensitivity 16-bitOGGrismLight Frame3454.0508.0202682.99727916718SBFITSEXT Version 1.04xMaxIm DL Version 6.40 231201 0HTQT0HTQT-UWY5F-M0Q8R-W9UHW-8HTWQ-7M27001.010 07 30+16 43 2374.5018194.56260.268031 39 56-110 36 072460413.68040868032460413.68371066261.0375780889037702Andor CCD/EMCCD (SDK2)TOP-DOWNFlip/MirrorMACRO Consortium
CCD Image 503.ftsTrue162204820481.032768.02024-04-13T04:19:58.135.05.0-65.62999725341797-64.9690017700195313.513.511005MHz High Sensitivity 16-bitOGGrismLight Frame3454.0508.0202682.99727916718SBFITSEXT Version 1.04xMaxIm DL Version 6.40 231201 0HTQT0HTQT-UWY5F-M0Q8R-W9UHW-8HTWQ-7M27001.010 07 30+16 43 2374.4925194.71040.270831 39 56-110 36 072460413.6805339122460413.6838358841.0376264411206084Andor CCD/EMCCD (SDK2)TOP-DOWNFlip/MirrorMACRO Consortium
" ], "text/plain": [ "\n", " file simple bitpix naxis ... roworder flipstat swowner \n", " str17 bool int32 int32 ... str8 str11 str16 \n", "----------------- ------ ------ ----- ... -------- ----------- ----------------\n", "CCD Image 456.fts True 16 2 ... TOP-DOWN Flip/Mirror MACRO Consortium\n", "CCD Image 457.fts True 16 2 ... TOP-DOWN Flip/Mirror MACRO Consortium\n", "CCD Image 458.fts True 16 2 ... TOP-DOWN Flip/Mirror MACRO Consortium\n", "CCD Image 459.fts True 16 2 ... TOP-DOWN Flip/Mirror MACRO Consortium\n", "CCD Image 460.fts True 16 2 ... TOP-DOWN Flip/Mirror MACRO Consortium\n", "CCD Image 461.fts True 16 2 ... TOP-DOWN Flip/Mirror MACRO Consortium\n", "CCD Image 462.fts True 16 2 ... TOP-DOWN Flip/Mirror MACRO Consortium\n", "CCD Image 463.fts True 16 2 ... TOP-DOWN Flip/Mirror MACRO Consortium\n", "CCD Image 464.fts True 16 2 ... TOP-DOWN Flip/Mirror MACRO Consortium\n", "CCD Image 465.fts True 16 2 ... TOP-DOWN Flip/Mirror MACRO Consortium\n", " ... ... ... ... ... ... ... ...\n", "CCD Image 494.fts True 16 2 ... TOP-DOWN Flip/Mirror MACRO Consortium\n", "CCD Image 495.fts True 16 2 ... TOP-DOWN Flip/Mirror MACRO Consortium\n", "CCD Image 496.fts True 16 2 ... TOP-DOWN Flip/Mirror MACRO Consortium\n", "CCD Image 497.fts True 16 2 ... TOP-DOWN Flip/Mirror MACRO Consortium\n", "CCD Image 498.fts True 16 2 ... TOP-DOWN Flip/Mirror MACRO Consortium\n", "CCD Image 499.fts True 16 2 ... TOP-DOWN Flip/Mirror MACRO Consortium\n", "CCD Image 500.fts True 16 2 ... TOP-DOWN Flip/Mirror MACRO Consortium\n", "CCD Image 501.fts True 16 2 ... TOP-DOWN Flip/Mirror MACRO Consortium\n", "CCD Image 502.fts True 16 2 ... TOP-DOWN Flip/Mirror MACRO Consortium\n", "CCD Image 503.fts True 16 2 ... TOP-DOWN Flip/Mirror MACRO Consortium" ] }, "execution_count": 6, "metadata": {}, "output_type": "execute_result" } ], "source": [ "# Use ccdproc to get exposure time and other statistics of each image\n", "# and display in a table # get the statistics\n", "stats = ccdp.ImageFileCollection('.').summary\n", "stats" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "base", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.10.6" } }, "nbformat": 4, "nbformat_minor": 2 }