NGC 628 (M74, UGC 1149) 2D


In [1]:
from IPython.display import HTML
from IPython.display import Image
import os
from PIL import Image as ImagePIL
import itertools

from scipy.interpolate import (
    LinearNDInterpolator, RectBivariateSpline,
    RegularGridInterpolator)
from scipy.ndimage import map_coordinates
# https://nbviewer.jupyter.org/github/pierre-haessig/stodynprog/blob/master/stodynprog/linear_interp_benchmark.ipynb

%pylab
%matplotlib inline
%run ../../utils/load_notebook.py


Using matplotlib backend: Qt5Agg
Populating the interactive namespace from numpy and matplotlib

In [2]:
from utils import *


importing Jupyter notebook from utils.ipynb
importing Jupyter notebook from instabilities.ipynb
Using matplotlib backend: Qt5Agg
Populating the interactive namespace from numpy and matplotlib

In [3]:
from photometry import *


importing Jupyter notebook from photometry.ipynb
Using matplotlib backend: Qt5Agg
Populating the interactive namespace from numpy and matplotlib

In [4]:
from instabilities import *

In [5]:
name = 'NGC628'
# gtype = 'SBm' #LEDA
incl = 7.0  #Leroy, Walter08
distance = 7.3 #Mpc, Walter08
scale = calc_scale(distance) #kpc/arcsec according to Noordermeer distance

data_path = '../../data/ngc628'
sin_i, cos_i = np.sin(incl*np.pi/180.), np.cos(incl*np.pi/180.)
print sin_i, cos_i, scale


0.121869343405 0.992546151641 0.0353914364198

Мотивация: результат из Leroy 2008


In [6]:
os.chdir(data_path)

Источники, мотивация и картинки


In [5]:
Image('Leroy2008_Table4.png', width=800)


Out[5]:

In [6]:
Image('Leroy2008_maps.png')


Out[6]:

In [7]:
Image('Leroy2008_results.png')


Out[7]:

In [ ]:


In [ ]:

THINGS: THE H i NEARBY GALAXY SURVEY Walter 2008

$I_{HI}, V_{HI}, \sigma_{HI}$


In [8]:
Image('THINGS_maps.png')


Out[8]:

In [9]:
Image('THINGS_HI_disp.png')


Out[9]:

In [ ]:


In [10]:
Image('BIMA_CO.png')


Out[10]:

In [ ]:


In [ ]:


In [11]:
Image('VENGA_position.png')


Out[11]:

In [12]:
Image('VENGA_stellar_data.png')


Out[12]:

In [ ]:

The JCMT Nearby Galaxies Legacy Survey – IV. Velocity dispersions in the molecular interstellar medium in spiral galaxies

$\sigma_{CO(3-2)}$

CO J = 3–2 velocity dispersion for six galaxies which are not members of the Virgo cluster. (a) NGC 628. Contour levels are 2.5, 5 and 10 km s−1 and the colour scale peak is 15 km s−1.


In [13]:
Image('JCMT_CO_disp.png')


Out[13]:

In [ ]:

COMPARING C ii, H i, AND CO DYNAMICS OF NEARBY GALAXIES

есть карта скоростей CII, HI и CO


In [ ]:


In [14]:
Image('CO_3_2_intens.png')


Out[14]:

In [ ]:

HI AND CO VELOCITY DISPERSIONS IN NEARBY GALAXIES

радиальные профили $\sigma_{HI}, \sigma_{CO}$, можно использовать для проверки


In [15]:
Image('Mogotsi_gas_disp.png')


Out[15]:

In [ ]:

HERACLES: THE HERA CO LINE EXTRAGALACTIC SURVEY Leroy 2009

есть карта $I_{CO(2-1)}$


In [ ]:

SCALING RELATIONS OF THE PROPERTIES FOR CO RESOLVED STRUCTURES IN NEARBY SPIRAL GALAXIES Leroy 2015

$\Sigma_{H_2}, \Sigma_{SFR}$ (правда только для верхней части галактики судя по всему)


In [16]:
Image('H2_SFR_binning.png')


Out[16]:

In [ ]:


In [17]:
Image('dust_map.png')


Out[17]:

In [18]:
Image('alpha_CO_map.png')


Out[18]:

In [7]:
Image('alpha_CO_variations.png')[Late-type galaxies observed with SAURON: two-dimensional stellar and emission-line kinematics of 18 spirals](https://academic.oup.com/mnras/article/367/1/46/1020614/Late-type-galaxies-observed-with-SAURON-two)
Image('SAURON_view.png')
Image('SAURON_star_maps.png')
[The inner mass distribution of late-type spiral galaxies from SAURON stellar kinematic maps](https://arxiv.org/pdf/1609.08700.pdf)
Image('SAURON_maps2.png')
Есть кривая вращения, но как-то уж очень странно извлеченная.
Image('SAURON_data3.png')

[ kinematics of the SINGS nearby galaxies survey  I](http://adsabs.harvard.edu/abs/2006MNRAS.367..469D)
Image('Halpha_SINGS.png')

http://iopscience.iop.org/article/10.1088/0004-6256/141/1/24/pdf Vollmer Leroy 2011 - турбулентная модель
Image('Leroy2011_rotcurve.png')

[THE HIERARCHICAL DISTRIBUTION OF THE YOUNG STELLAR CLUSTERS IN SIX LOCAL STAR FORMING GALAXIES](https://arxiv.org/pdf/1704.06321.pdf)

[PLANETARY NEBULAE IN FACE-ON SPIRAL GALAXIES. III. PLANETARY NEBULA KINEMATICS AND DISK MASS](http://iopscience.iop.org/article/10.1088/0004-637X/705/2/1686/pdf)

TODO: есть кривая вращения
Image('stas_data1.png')
Image('stas_data2.png')
Image('rotcurve2.png')


Out[7]:

In [ ]:


In [ ]:

THE VIRUS-P EXPLORATION OF NEARBY GALAXIES (VENGA): THE XCO GRADIENT IN NGC 628

Данные по $SFR$, $I_{CO}$ из HERACLES, BIMA, CARMS, карта металличности, изучение $X_{CO}$

We caution against adopting a single XCO value when large changes in gas surface density or metallicity are present.


In [19]:
Image('VENGA_CO_SFR.png')


Out[19]:

In [ ]:


In [ ]:


In [21]:
Image('JCMT_H_alpha.png', width=500)


Out[21]:

In [ ]:

The Westerbork SINGS survey III. Global magnetic field topology

В случае, если нас заинтересует - есть данные по магнитному полю


In [22]:
Image('SINGS_magnetic.png')


Out[22]:

In [ ]:


In [ ]:

Фотометрия


In [ ]:

https://arxiv.org/pdf/1506.01653.pdf $M_*,SFR, extinction$ maps


In [6]:
Image('Sorba2015_maps.png')


Out[6]:

In [ ]:

SPITZER изображение http://www.spitzer.caltech.edu/images/2257-sig06-018c-NASA-s-Spitzer-Space-Telescope-View-of-M74

На заглавной https://guaix.fis.ucm.es/sings есть куча картинок NGC628 в полосах FUV 1528 A, NUV 2271 A, B 0.45 μm, V 0.55 μm, R 0.66 μm, I 0.81 μm, IRAC1 3.6 μm, IRAC2 4.5 μm,IRAC3 5.8 μm, IRAC4 8.0 μm, MIPS1 24 μm, MIPS2 70 μm.


In [7]:
Image('https://guaix.fis.ucm.es/sites/default/files/images/science/sings/ngc0628irac1_color.jpg')


Out[7]:

In [ ]:


In [ ]:


In [10]:
Image('SAURON_view.png')


Out[10]:

In [11]:
Image('SAURON_star_maps.png')


Out[11]:

In [13]:
Image('SAURON_maps2.png')


Out[13]:

Есть кривая вращения, но как-то уж очень странно извлеченная.


In [14]:
Image('SAURON_data3.png')


Out[14]:

In [ ]:


In [12]:
Image('Halpha_SINGS.png')


Out[12]:

In [ ]:

http://iopscience.iop.org/article/10.1088/0004-6256/141/1/24/pdf Vollmer Leroy 2011 - турбулентная модель


In [65]:
Image('Leroy2011_rotcurve.png')


Out[65]:

In [ ]:


In [66]:
Image('stas_data1.png')


Out[66]:

In [67]:
Image('stas_data2.png')


Out[67]:

In [68]:
Image('rotcurve2.png')


Out[68]:

THINGS расстояния


In [58]:
from astropy.coordinates import SkyCoord
from astropy import units as u

In [59]:
c = SkyCoord('00h42.5m', '+41d12m')
c2 = SkyCoord('00h43.5m', '+41d13m')
c.separation(c2)


Out[59]:
$0^\circ11{}^\prime19.7402{}^{\prime\prime}$

In [61]:
x = c.separation(c2)
print type(x)
print x.arcsec


<class 'astropy.coordinates.angles.Angle'>
679.740196405

In [97]:
18/36.


Out[97]:
0.5

In [102]:
23/29.


Out[102]:
0.7931034482758621

In [103]:
22./29 * 2


Out[103]:
1.5172413793103448

In [118]:
lb = SkyCoord(ra='01h37m35s', dec='+15d34.5m')
rb = SkyCoord('01h35m49.5s', '+15d34.5m')

lu = SkyCoord('01h37m35s', '+16d00m')
ru = SkyCoord('01h35m49.5s', '+16d00m')

In [119]:
print lb.separation(rb).arcsec
print lu.separation(ru).arcsec


1524.39003535
1521.19635036

In [126]:
def pix_to_coordinates(xpix, ypix):
    xrange_ = lb.data.lon.deg + (rb.data.lon.deg-lb.data.lon.deg)/1024. * (xpix)
    yrange_ = lb.data.lat.deg + (lu.data.lat.deg-lb.data.lat.deg)/1024. * (ypix)
    return SkyCoord(ra='{}deg'.format(xrange_), dec='{}deg'.format(yrange_))

In [136]:
pix_to_coordinates(512,512).ra.hms


Out[136]:
hms_tuple(h=1.0, m=36.0, s=42.250000008001223)

In [137]:
dist = np.zeros((1024,1024))

In [ ]:
%%time
# 1h34min
center = pix_to_coordinates(512,512)
for xpix in range(1024):
    print xpix
    for ypix in range(1024):
        dist[xpix][ypix] = center.separation(pix_to_coordinates(xpix,ypix)).arcsec

In [188]:
np.save('dist_map.npy', dist)

In [192]:
X,Y = np.meshgrid(np.arange(0.,len(data),1), np.arange(0.,len(data[0]),1))

# ax1,ax2 = plt.subplots(ncols=2, nrows=1, figsize=[16, 8])
plt.figure(figsize=[30, 12])
plt.subplot(1, 2, 1)
quadmesh = plt.pcolormesh(X, Y, dist, cmap=cm.Blues)
# quadmesh.set_clim(vmin=-77., vmax=77.)

# CS = plt.contour(X, Y, Z, levels=[-25., -12.5, 0., 12.5, 25.])
# plt.clabel(CS, inline=1, fontsize=10)

plt.colorbar()
quadmesh.cmap.set_under('white')

CS = plt.contour(X, Y, dist, levels=[100, 300, 500, 750])

plt.subplot(1, 2, 2)
plt.imshow(ImagePIL.open('Leroy_HI_vel.png'))


Out[192]:
<matplotlib.image.AxesImage at 0xf4a83a90>

Плотность $\Sigma_{HI}$

$$\Sigma_{HI} [M_{sun} pc^{-2}] = 0.020 \cos i \times I_{21cm} [K km s^{-1}]$$

из https://arxiv.org/pdf/1609.03179.pdf $$\Sigma_{HI}[M_{sun} {pc}^{-2}] = 8840\times\frac{F_{HI}[Jy / beam \times km/s]}{bmaj\times bmin [arcsec]},$$ where the bmaj and bmin are the major and minor axis size of the beam, respectively. FHI is the flux detected across all velocity channels.

Чтобы перевести в кельвины в Walter написана формула $$T[K] = 6.07\times 10^5\times S[Jy beam^{-1}]/(B_{maj}\times B_{min}),$$ где $B_{maj},B_{min}$ - размеры бима в секундах

Т.к. мы использовал NA данные - размеры бима 11.88 и 9.30 arcsec


In [34]:
6.07*2*1000*cos_i*200/(11.88*9.30*calc_scale(distance)**2 * 1000**2)


Out[34]:
17.414203847679726

Не знаю почему, но похоже надо переводить beam в пк.


In [8]:
f = lambda l: 6.07*2*1000*cos_i*l/(11.88*9.30*calc_scale(distance)**2 * 1000**2)
Z1 = f(Z)

In [9]:
X,Y = np.meshgrid(np.arange(0.,len(data),1), np.arange(0.,len(data[0]),1))
Z = data

# ax1,ax2 = plt.subplots(ncols=2, nrows=1, figsize=[16, 8])
plt.figure(figsize=[30, 12])
plt.subplot(1, 2, 1)
quadmesh = plt.pcolormesh(X, Y, Z1, cmap=cm.hot)
# quadmesh.set_clim(vmin=10., vmax=17.5)

# CS = plt.contour(X, Y, Z, levels=[5000, 10000, 20000])
# plt.clabel(CS, inline=1, fontsize=10)

plt.colorbar()
quadmesh.cmap.set_under('white')

plt.subplot(1, 2, 2)
plt.imshow(ImagePIL.open('THINGS_HI_flux.png'))


Out[9]:
<matplotlib.image.AxesImage at 0xece19e8>

In [10]:
Sigma_HI = Z1

In [41]:
np.save('Sigma_HI.npy', Sigma_HI)

Проверка


In [140]:
HI_raw = ImagePIL.open('Leroy_HI_scaled.png')

In [143]:
fdata = list(HI_raw.getdata())

In [144]:
HI_raw.height, HI_raw.width


Out[144]:
(861, 862)

In [147]:
disp_colorbar = ImagePIL.open('Leroy_HI_colorbar.png')

In [148]:
disp_colorbar.width, disp_colorbar.height


Out[148]:
(334, 862)

In [149]:
disp_colorbar = np.array(list(disp_colorbar.getdata())).reshape(862, 334, 4)

In [151]:
disp_colorbar = disp_colorbar[:, 10:11, :]

In [152]:
disp_colorbar = disp_colorbar.reshape(862, 4)

In [159]:
# 305 px = 9 km/s
305./9


Out[159]:
33.888888888888886

In [160]:
def color_to_level(color):
    '''Вычисляем исходную величину из цвета'''
    argmin = np.argmin(np.linalg.norm(disp_colorbar - color, axis=1))
    return np.round(1. + (862-argmin)/33.89)

In [161]:
color_to_level((239, 85, 0, 255))


Out[161]:
10.0

In [162]:
color_to_level((255, 255, 255, 255))


Out[162]:
1.0

In [163]:
color_to_level((1, 0, 0, 255))


Out[163]:
26.0

In [166]:
X,Y = np.meshgrid(np.arange(0.,862,1), np.arange(0.,861,1))
Z = np.array(fdata).reshape(861, 862, 4)

Z = np.apply_along_axis(color_to_level, 2, Z)
Z = Z[::-1, :] #inverse axes
# Z[Z < 0] = 0.

In [185]:
# ax1,ax2 = plt.subplots(ncols=2, nrows=1, figsize=[16, 8])
plt.figure(figsize=[20, 8])
plt.subplot(1, 2, 1)
quadmesh = plt.pcolormesh(X, Y, Z, cmap=cm.gist_heat_r)
# quadmesh.set_clim(vmin=10.0, vmax=26.)
plt.colorbar()
# quadmesh.cmap.set_under('white')
# quadmesh.cmap.set_over('white')

plt.subplot(1, 2, 2)
XX,YY = np.meshgrid(np.arange(0.,len(data)-500,1), np.arange(0.,len(data[0])-500,1))
quadmesh = plt.pcolormesh(XX, YY, Sigma_HI[250:-250, 250:-250], cmap=cm.gist_heat_r)
plt.colorbar();



In [186]:
# ax1,ax2 = plt.subplots(ncols=2, nrows=1, figsize=[16, 8])
plt.figure(figsize=[20, 8])
plt.subplot(1, 2, 1)
quadmesh = plt.pcolormesh(X, Y, Z, cmap=cm.gist_heat_r)
quadmesh.set_clim(vmin=10.0, vmax=26.)
plt.colorbar()
# quadmesh.cmap.set_under('white')
# quadmesh.cmap.set_over('white')

plt.subplot(1, 2, 2)
XX,YY = np.meshgrid(np.arange(0.,len(data)-500,1), np.arange(0.,len(data[0])-500,1))
quadmesh = plt.pcolormesh(XX, YY, Sigma_HI[250:-250, 250:-250], cmap=cm.gist_heat_r)
quadmesh.set_clim(vmin=10.0, vmax=26.)
plt.colorbar();



In [ ]:

Кривая вращения


In [128]:
data = np.squeeze(data)
for i in range(1024):
    for j in range(1024):
        if np.isnan(data[i][j]):
            data[i][j] = 0.

In [130]:
veloc_norm = lambda l: (l/1000. - 659.1)/sin_i

Z = veloc_norm(Z)

In [131]:
# ax1,ax2 = plt.subplots(ncols=2, nrows=1, figsize=[16, 8])
plt.figure(figsize=[30, 12])
plt.subplot(1, 2, 1)
quadmesh = plt.pcolormesh(X, Y, Z, cmap=cm.Blues)
quadmesh.set_clim(vmin=-300., vmax=300.)

# CS = plt.contour(X, Y, Z, levels=[-25., -12.5, 0., 12.5, 25.])
# plt.clabel(CS, inline=1, fontsize=10)

plt.colorbar()
quadmesh.cmap.set_under('white')

CS = plt.contour(X, Y, Z, levels=[-250., -125, 0., 125, 250.])

plt.subplot(1, 2, 2)
plt.imshow(ImagePIL.open('Leroy_HI_vel.png'))


Out[131]:
<matplotlib.image.AxesImage at 0xe4dd9f98>

In [132]:
v_HI = Z

In [13]:
np.save('v_HI.npy', v_HI)

TODO: надо ли теперь взять абсолютные значения?


In [133]:
# https://stackoverflow.com/questions/7878398/how-to-extract-an-arbitrary-line-of-values-from-a-numpy-array
import scipy.ndimage

#-- Extract the line...
# Make a line with "num" points...
x0, y0 = 647, 200 # These are in _pixel_ coordinates!!
x1, y1 = 387, 800
num = 1000
x, y = np.linspace(x0, x1, num), np.linspace(y0, y1, num)

# Extract the values along the line, using cubic interpolation
zi = scipy.ndimage.map_coordinates(v_HI, np.vstack((y,x)))
zi_cub = v_HI[y.astype(np.int), x.astype(np.int)]


x0_, y0_ = 100, 325 # These are in _pixel_ coordinates!!
x1_, y1_ = 923, 695
num = 1000
x_, y_ = np.linspace(x0_, x1_, num), np.linspace(y0_, y1_, num)
zi_ = scipy.ndimage.map_coordinates(v_HI, np.vstack((y_,x_)))

#-- Plot...
fig, axes = plt.subplots(ncols=2, figsize = [30, 12])

axes[0].plot(zi)
axes[0].plot(zi_cub)
axes[0].plot(zi_)
axes[0].set_ylim(-300., 300.)
# axes[0].imshow(v_HI)
# axes[1].axis('image')

quadmesh = plt.pcolormesh(X, Y, v_HI, cmap=cm.Blues)
quadmesh.set_clim(vmin=-300., vmax=300.)
plt.colorbar()
# axes[1].imshow(v_HI[::-1, ])
CS = plt.contour(X, Y, v_HI, levels=[-100., 0., 100.])
axes[1].plot([x0, x1], [y0, y1], 'ro-')
axes[1].plot([x0_, x1_], [y0_, y1_], 'ro-', alpha=0.5)
axes[1].scatter([512.,], [512.,], [30.,], marker='s', color='r')
plt.show()



In [134]:
# CAUTION: расстояния не соответствуют настоящим вдоль среза
fig = plt.figure(figsize=[8, 8])
plt.plot(np.abs(np.arange(1000)-500.), np.abs(zi), '.');



In [135]:
r_g, vel_g = zip(*sorted(zip(np.abs(np.arange(1000)-500.), np.abs(zi))))

In [32]:
import scipy.interpolate as inter
fig = plt.figure(figsize=[10, 6])
gas_approx = poly1d(polyfit(r_g, vel_g, deg=5))
test_points = np.linspace(min(r_g), max(r_g), 100)
plt.plot(test_points, gas_approx(test_points), '--', label='approx')

plt.plot(herrman2009_vc[0::2], herrman2009_vc[1::2], '-', label='Herrman+2009')
plt.plot(leroy2011_vc[0::2], leroy2011_vc[1::2], '-', label='Leroy+2011')

gas_approx2 = poly1d(polyfit(leroy2011_vc[0::2], leroy2011_vc[1::2], deg=7))
plt.plot(test_points[:-50], gas_approx2(test_points[:-50]), '--', label='approx2')

plt.plot(r_g, vel_g, 'g.')
plt.ylim(0, 450)
plt.legend(loc='lower right');



In [ ]:

Эпициклическая частота

$$\kappa=\sqrt{2}\frac{\vartheta_c}{R}\sqrt{1+\frac{R}{\vartheta_c}\frac{d\vartheta_c}{dR}}$$

In [36]:
def epicyclicFreq_real(poly_gas, R, resolution):
    '''Честное вычисление эпициклической частоты на расстоянии R для сплайна или полинома'''
    try:
        return sqrt(2.0) * poly_gas(R) * sqrt(1 + R * poly_gas.deriv()(R) / poly_gas(R)) / (R * resolution )
    except:
        return sqrt(2.0) * poly_gas(R) * sqrt(1 + R * poly_gas.derivative()(R) / poly_gas(R)) / (R * resolution )

fig = plt.figure(figsize=[12, 8])
plt.plot(test_points, [epicyclicFreq_real(gas_approx, x, scale) for x in test_points], '-', label='gas_approx')
plt.plot(test_points[2:-50], [epicyclicFreq_real(gas_approx2, x, scale) for x in test_points[2:-50]], '-', label='gas_approx2')
# plt.plot(r_g_dens[1:], ef, '--')
plt.xlabel('$R, arcsec$')
plt.ylabel('$\kappa,\, km/s/kpc$', fontsize=15)
plt.legend()


Out[36]:
<matplotlib.legend.Legend at 0x1b8a4d68>

In [ ]:

SFR


In [6]:
SFR_raw = ImagePIL.open('Leroy_SFR_scaled.png')

In [7]:
plt.figure(figsize=[8, 8])
plt.imshow(SFR_raw)


Out[7]:
<matplotlib.image.AxesImage at 0xd279668>

In [8]:
fdata = list(SFR_raw.getdata())

In [9]:
SFR_raw.height, SFR_raw.width


Out[9]:
(864, 862)

In [11]:
disp_colorbar = ImagePIL.open('Leroy_SFR_colorbar.png')

In [12]:
disp_colorbar.width, disp_colorbar.height


Out[12]:
(298, 863)

In [13]:
disp_colorbar = np.array(list(disp_colorbar.getdata())).reshape(863, 298, 4)

In [15]:
disp_colorbar = disp_colorbar[:, 10:11, :]

In [16]:
disp_colorbar = disp_colorbar.reshape(863, 4)

In [159]:
# 86 10-4 -> 10-3
# 365 10-3 -> 10-2


Out[159]:
33.888888888888886

In [29]:
(0.01 - 0.001)/365


Out[29]:
2.4657534246575345e-05

In [28]:
86/(0.001-0.0001)


Out[28]:
95555.55555555556

In [25]:
0.0001 + 0.000010*86


Out[25]:
0.0009600000000000001

In [19]:
364./86


Out[19]:
4.232558139534884

In [30]:
def color_to_level(color):
    '''Вычисляем исходную величину из цвета'''
    argmin = np.argmin(np.linalg.norm(disp_colorbar - color, axis=1))
    return np.round(0.0001 + (863-argmin)*0.000022)

In [161]:
color_to_level((239, 85, 0, 255))


Out[161]:
10.0

In [162]:
color_to_level((255, 255, 255, 255))


Out[162]:
1.0

In [163]:
color_to_level((1, 0, 0, 255))


Out[163]:
26.0

In [33]:
X,Y = np.meshgrid(np.arange(0.,864,1), np.arange(0.,862,1))
Z = np.array(fdata).reshape(862, 864, 4)

Z = np.apply_along_axis(color_to_level, 2, Z)
Z = Z[::-1, :] #inverse axes
# Z[Z < 0] = 0.

In [ ]:


In [40]:
halpha_raw = ImagePIL.open('JCMT_H_alpha.png').convert('LA')

In [41]:
halpha_raw.width, halpha_raw.height


Out[41]:
(838, 839)

In [42]:
fdata = list(halpha_raw.getdata())

In [43]:
fig = plt.figure(figsize=[12,12])
plt.imshow(halpha_raw)


Out[43]:
<matplotlib.image.AxesImage at 0x2bf0f5f8>

In [44]:
X,Y = np.meshgrid(np.arange(0.,838, 1), np.arange(0.,839, 1))
Z = np.array(fdata).reshape(839, 838, 2)[::-1, :, 0]

plt.figure(figsize=[12, 12])
quadmesh = plt.pcolormesh(X, Y, Z, cmap=cm.gist_heat_r)
# quadmesh.set_clim(vmin=0, vmax=70.)
plt.colorbar()
CS = plt.contour(X, Y, Z, levels=[40, 150.])
plt.scatter([416], [416], [10], marker='s', color='b')


Out[44]:
<matplotlib.collections.PathCollection at 0x128489b0>

In [45]:
# 37 px = 30 arcsec

838. * 30./37.

1524.39/1024, 1521.19/1024


Out[45]:
(1.488662109375, 1.485537109375)

In [46]:
679./(1524.39/1024), 456/2., 512.-228.


Out[46]:
(456.1142489782798, 228.0, 284.0)

In [49]:
import matplotlib.patches as patches
X,Y = np.meshgrid(np.arange(0.,len(Sigma_HI),1), np.arange(0.,len(Sigma_HI[0]),1))

# ax1,ax2 = plt.subplots(ncols=2, nrows=1, figsize=[16, 8])
plt.figure(figsize=[30, 12])
plt.subplot(1, 2, 1)
quadmesh = plt.pcolormesh(X[264:760, 264:760], Y[264:760, 264:760], Sigma_HI[264:760, 264:760], cmap=cm.gist_yarg)
# quadmesh.set_clim(vmin=10., vmax=17.5)
plt.colorbar()

X,Y = np.meshgrid(np.linspace(264.,760, 838), np.linspace(264.,760,839))
CS = plt.contour(X, Y, Z, levels=[40., 150.], aspect='auto', alpha=0.5)
# plt.clabel(CS, inline=1, fontsize=10)

#VENGA field
rect = patches.Rectangle((412,482),200,60,linewidth=1,edgecolor='r',facecolor='none')
plt.gca().add_patch(rect)

#bulge
circle = plt.Circle((512, 512), 10., color='b', fill=False)
plt.gca().add_artist(circle)

# quadmesh.cmap.set_under('white')


Out[49]:
<matplotlib.patches.Circle at 0x2bf878d0>

In [ ]:


In [ ]:


In [42]:
Image('VENGA_Halpha_SFR.png')


Out[42]:

In [43]:
Halpha_raw = ImagePIL.open('VENGA_Halpha_SFR.png')

In [44]:
Halpha_raw.height, Halpha_raw.width


Out[44]:
(450, 1358)

In [46]:
fdata = list(Halpha_raw.getdata())

In [48]:
disp_colorbar = ImagePIL.open('VENGA_Halpha_SFR_colorbar.png')

In [49]:
disp_colorbar.width, disp_colorbar.height


Out[49]:
(168, 581)

In [50]:
disp_colorbar = np.array(list(disp_colorbar.getdata())).reshape(disp_colorbar.height, disp_colorbar.width, 4)

In [52]:
disp_colorbar = disp_colorbar[:, 110:111, :]

In [53]:
disp_colorbar = disp_colorbar.reshape(581, 4)

In [54]:
# 578 px = 2.5
578./2.5, 97./0.42


Out[54]:
(231.2, 230.95238095238096)

In [55]:
def color_to_level(color):
    '''Вычисляем исходную величину из цвета'''
    argmin = np.argmin(np.linalg.norm(disp_colorbar - color, axis=1))
    return (-3.5 + (581.-argmin)/231.)

In [56]:
print color_to_level((0, 0, 252, 255))
print color_to_level((255, 216, 0, 255))
# print color_to_level((12, 12, 14, 255))


-3.07575757576
-1.82034632035

In [57]:
X,Y = np.meshgrid(np.arange(0.,1358,1), np.arange(0.,450,1))
Z = np.array(fdata).reshape(450, 1358, 4)

Z = np.apply_along_axis(color_to_level, 2, Z)
Z = Z[::-1, :] #inverse axes
# Z[Z < 0] = 0.

In [59]:
log_Halpha_SFR = Z

In [60]:
np.save('log_Halpha_SFR.npy', log_Halpha_SFR)

In [153]:
log_Halpha_SFR.shape


Out[153]:
(450L, 1358L)

In [154]:
xgrid = np.arange(0.,len(log_Halpha_SFR),1)
ygrid = np.arange(0.,len(log_Halpha_SFR[0]),1)
f_2d_grid = log_Halpha_SFR[::-1, :]

In [156]:
yinterp = np.linspace(0, 1358., 1553)
xinterp = np.linspace(0., 450., 513)
print min(xinterp), max(xinterp), min(yinterp), max(yinterp)


0.0 450.0 0.0 1358.0

In [157]:
points_x, points_y = np.broadcast_arrays(xgrid.reshape(-1,1), ygrid)
points = np.vstack((points_x.flatten(),
                    points_y.flatten())).T
values = f_2d_grid.flatten()
f_2d_interp = LinearNDInterpolator(points, values)

In [159]:
tmp.shape


Out[159]:
(513L, 1553L)

In [162]:
log_Halpha_SFR_ = tmp[::-1, :]

In [163]:
np.save('log_Halpha_SFR_.npy', log_Halpha_SFR_)

Плотность $\Sigma_{CO}$


In [61]:
Image('VENGA_BIMA_CO.png')


Out[61]:

In [62]:
CO_raw = ImagePIL.open('VENGA_BIMA_CO.png')

In [63]:
CO_raw.height, CO_raw.width


Out[63]:
(450, 1358)

In [65]:
fdata = list(CO_raw.getdata())

In [67]:
disp_colorbar = ImagePIL.open('VENGA_BIMA_CO_colorbar.png')

In [68]:
disp_colorbar.width, disp_colorbar.height


Out[68]:
(161, 581)

In [69]:
disp_colorbar = np.array(list(disp_colorbar.getdata())).reshape(disp_colorbar.height, disp_colorbar.width, 4)

In [71]:
disp_colorbar = disp_colorbar[:, 110:111, :]

In [72]:
disp_colorbar = disp_colorbar.reshape(581, 4)

In [73]:
# 388 px = 0.8
388./0.8


Out[73]:
485.0

In [74]:
def color_to_level(color):
    '''Вычисляем исходную величину из цвета'''
    argmin = np.argmin(np.linalg.norm(disp_colorbar - color, axis=1))
    return (0. + (581.-argmin)/485.)

In [75]:
print color_to_level((3, 230, 80, 255))
# print color_to_level((0, 1, 252, 255))
# print color_to_level((12, 12, 14, 255))


0.585567010309

In [76]:
X,Y = np.meshgrid(np.arange(0.,1358,1), np.arange(0.,450,1))
Z = np.array(fdata).reshape(450, 1358, 4)

Z = np.apply_along_axis(color_to_level, 2, Z)
Z = Z[::-1, :] #inverse axes
# Z[Z < 0] = 0.

In [78]:
Sigma_BIMA_CO = Z*3.2

In [79]:
np.save('Sigma_BIMA_CO.npy', Sigma_BIMA_CO)

In [140]:
Sigma_BIMA_CO.shape


Out[140]:
(450L, 1358L)

In [141]:
xgrid = np.arange(0.,len(Sigma_BIMA_CO),1)
ygrid = np.arange(0.,len(Sigma_BIMA_CO[0]),1)
f_2d_grid = Sigma_BIMA_CO[::-1, :]

In [143]:
yinterp = np.linspace(0, 1358., 1553)
xinterp = np.linspace(0., 450., 513)
print min(xinterp), max(xinterp), min(yinterp), max(yinterp)


0.0 450.0 0.0 1358.0

In [144]:
points_x, points_y = np.broadcast_arrays(xgrid.reshape(-1,1), ygrid)
points = np.vstack((points_x.flatten(),
                    points_y.flatten())).T
values = f_2d_grid.flatten()
f_2d_interp = LinearNDInterpolator(points, values)

In [146]:
tmp.shape


Out[146]:
(513L, 1553L)

In [150]:
Sigma_BIMA_CO_ = tmp[::-1, :]

In [151]:
np.save('Sigma_BIMA_CO_.npy', Sigma_BIMA_CO_)

In [ ]:


In [47]:
# ax1,ax2 = plt.subplots(ncols=2, nrows=1, figsize=[16, 8])
plt.figure(figsize=[28, 8])
plt.subplot(1, 2, 1)
quadmesh = plt.pcolormesh(X[350:500, 200:700], Y[350:500, 200:700], Z[350:500, 200:700], cmap=cm.gist_heat_r)
quadmesh.set_clim(vmin=10.0, vmax=15.)
plt.colorbar()
# quadmesh.cmap.set_under('white')
# quadmesh.cmap.set_over('white')

plt.subplot(1, 2, 2)
XX,YY = np.meshgrid(np.linspace(489. - 175.92/2.3, 489.+157.3/2.3, 1553), np.linspace(425. - 53.82/2.3, 425. + 55.42/2.3, 513))
quadmesh = plt.pcolormesh(XX, YY, Sigma_BIMA_CO_*5.3, cmap=cm.gist_heat_r)
quadmesh.set_clim(vmin=10.0, vmax=15.)
plt.colorbar();


Что-то какое-то очень сильное различие, потому что дожножать приходится.

TODO: обоснованно решить, какую их трех CARMA/HERA/BIMA карт использовать (HERA вроде лучше выглядит)

TODO: понять, почему такая разница в уровнях

TODO: учесть градиент $X_{CO}$

$\Sigma_s$


In [6]:
Image('VENGA_log_fR.png')


Out[6]:

In [7]:
fr_raw = ImagePIL.open('VENGA_log_fR.png')

In [8]:
fr_raw.height, fr_raw.width


Out[8]:
(539, 1627)

In [10]:
fdata = list(fr_raw.getdata())

In [12]:
disp_colorbar = ImagePIL.open('VENGA_fR_colorbar.png')

In [13]:
disp_colorbar.width, disp_colorbar.height


Out[13]:
(258, 696)

In [14]:
disp_colorbar = np.array(list(disp_colorbar.getdata())).reshape(disp_colorbar.height, disp_colorbar.width, 4)

In [18]:
disp_colorbar = disp_colorbar[:, 210:211, :]

In [19]:
disp_colorbar = disp_colorbar.reshape(696, 4)

In [20]:
# 116 px = 0.37
116./0.37


Out[20]:
313.51351351351354

In [22]:
def color_to_level(color):
    '''Вычисляем исходную величину из цвета'''
    argmin = np.argmin(np.linalg.norm(disp_colorbar - color, axis=1))
    return (-17.5 + (696.-argmin)/313.5135)

In [24]:
print color_to_level((255, 216, 0, 255))
print color_to_level((254, 2, 2, 255))
# print color_to_level((12, 12, 14, 255))


-16.0168102809
-15.6436206096

In [25]:
X,Y = np.meshgrid(np.arange(0.,1627,1), np.arange(0.,539,1))
Z = np.array(fdata).reshape(539, 1627, 4)

Z = np.apply_along_axis(color_to_level, 2, Z)
Z = Z[::-1, :] #inverse axes
# Z[Z < 0] = 0.

In [29]:
log_fR = Z

In [30]:
np.save('log_fR.npy', log_fR)

In [31]:
log_fR.shape


Out[31]:
(539L, 1627L)

In [32]:
xgrid = np.arange(0.,len(log_fR),1)
ygrid = np.arange(0.,len(log_fR[0]),1)
f_2d_grid = log_fR[::-1, :]

In [44]:
yinterp = np.linspace(0, 1627., 1553)
xinterp = np.linspace(0., 539., 513)
print min(xinterp), max(xinterp), min(yinterp), max(yinterp)


0.0 539.0 0.0 1627.0

In [45]:
points_x, points_y = np.broadcast_arrays(xgrid.reshape(-1,1), ygrid)
points = np.vstack((points_x.flatten(),
                    points_y.flatten())).T
values = f_2d_grid.flatten()
f_2d_interp = LinearNDInterpolator(points, values)

In [47]:
tmp.shape


Out[47]:
(513L, 1553L)

In [49]:
log_fR_ = tmp[::-1, :]

In [50]:
np.save('log_fR_.npy', log_fR_)

In [7]:
log_fR_ = np.load('log_fR_.npy')

Далее, чтобы перевести все это в нужные нам величины, надо постараться.

Прежде всего, переход в STMAG mag http://web.ipac.caltech.edu/staff/fmasci/home/astro_refs/magsystems.pdf

$$m = -2.5\log_{10}F[erg\, s^{-1} \, cm^{-2} \, A] - 21.1$$

Причем надо будет проверить, что это те, которые нам нужны - может нужны болометрические? Перевод в astropy http://docs.astropy.org/en/stable/units/logarithmic_units.html

TODO: проверить что STMAG - те, что нам нужны

Наконец, нужно перевести в поверхностные величины. Используя формулу https://en.wikipedia.org/wiki/Surface_brightness и считая, что размер $2^"\times2^" $

$$\mu = m + 2.5\log_{10}Area[arcsec^2]$$

А дальше уже по накатанной.


In [8]:
mag = -2.5*log_fR_ - 21.1

In [9]:
mu = mag + 2.5* np.log10(4.)

In [21]:
def surface_brightness(mu=None, band=None):
    '''Пересчет поверхностной яркости из mag/arcsec^2 в Lsun/pc^2 по формуле
    http://www.astro.spbu.ru/staff/resh/Books/SurfPhot/node3.html#sec1.1'''
    sun_mag = sun_abs_mags[band]
    return 4.255 * np.power(10, 8 + 0.4 * (sun_mag - mu))

surf_br = surface_brightness(mu=mu, band='r')

In [22]:
surf_br.shape


Out[22]:
(513L, 1553L)

Теперь надо взять какое-то стандартное $M/L$, чтобы посмотреть что получается. Возьмем к примеру 1.6.


In [24]:
def surf_density(mu=None, M_to_L=None, band=None):
    '''Плотность для любого компонента галактики - пересчитываем mu в яркость и домножаем на M/L, размерность M_sun/pc^2'''
    return M_to_L*surface_brightness(mu=mu, band=band)
Sigma_s = surf_density(mu=mu, M_to_L=1.6, band='r')

In [28]:
plt.figure(figsize=[30, 12])

X,Y = np.meshgrid(np.linspace(489. - 175.92/2.3, 489.+157.3/2.3, 1553), np.linspace(425. - 53.82/2.3, 425. + 55.42/2.3, 513))
quadmesh2 = plt.pcolormesh(X, Y, Sigma_s, cmap=cm.jet)
quadmesh2.set_clim(vmin=0., vmax=500.)
plt.colorbar()


Out[28]:
<matplotlib.colorbar.Colorbar at 0x10932a90>

In [29]:
np.save('Sigma_s.npy', Sigma_s)

In [142]:
Sigma_s = np.load('Sigma_s.npy')

Попробуем применить Leroy $$\Sigma_s = 280\cos i\times I_{3.6}$$


In [50]:
from astropy.io import fits

fig = plt.figure(figsize=[12,12])
data = fits.getdata('NGC0628.phot.1_nonan.fits')
plt.imshow(np.squeeze(data), origin='lower', cmap='gray')
plt.show()



In [51]:
data = squeeze(data)
X,Y = np.meshgrid(np.arange(0.,len(data[0]),1), np.arange(0.,len(data),1))
Z = data

# ax1,ax2 = plt.subplots(ncols=2, nrows=1, figsize=[16, 8])
plt.figure(figsize=[12, 12])
quadmesh = plt.pcolormesh(X, Y, Z, cmap=cm.gist_yarg)
quadmesh.set_clim(vmin=0., vmax=1.)

# CS = plt.contour(X, Y, Z, levels=[5000, 10000, 20000])
# plt.clabel(CS, inline=1, fontsize=10)

plt.colorbar()
# quadmesh.cmap.set_under('white')


Out[51]:
<matplotlib.colorbar.Colorbar at 0x21408c18>

In [52]:
hdulist = fits.open('NGC0628.phot.1_nonan.fits')
hdulist[0].header


Out[52]:
SIMPLE  =                    T / Written by IDL:  Thu Sep  2 18:44:02 2010      
BITPIX  =                  -32 / Bits per pixel                                 
NAXIS   =                    2 / Number of axes                                 
NAXIS1  =                 1535 / Axis length                                    
NAXIS2  =                 1853 / Axis length                                    
EXTEND  =                    T / File may contain extensions                    
ORIGIN  = 'NOAO-IRAF FITS Image Kernel July 2003' / FITS file originator        
DATE    = '2009-08-21T14:26:04' / Date FITS file was generated                  
IRAF-TLM= '2010-04-09T13:58:08' / Time of last modification                     
OBJECT  = 'NGC628  '           / Name of the object observed                    
CREATOR = 'S18.7.0 '           / SW version used to create this FITS file       
TELESCOP= 'Spitzer '           / SPITZER Space Telescope                        
INSTRUME= 'IRAC    '           / SPITZER Space Telescope instrument ID          
CHNLNUM =                    1 / 1 digit instrument channel number              
EXPTYPE = 'sci     '           / Exposure Type                                  
REQTYPE = 'AOR     '           / Request type (AOR, IER, or  SER)               
AOT_TYPE= 'IracMap '           / Observation template type                      
AORLABEL= 'IRAC-N0628'         / AOR Label                                      
FOVID   =                   81 / Field of View ID                               
FOVNAME = 'IRAC_FOV_bwn_3.6&5.8_and_4.5&8.0_for_mapping' / Field of View Name   
                                                                                
          / PROPOSAL INFORMATION                                                
                                                                                
OBSRVR  = 'Robert Kennicutt'   / Observer Name (Last, First)                    
OBSRVRID=                  101 / Observer ID of Principal Investigator          
PROCYCL =                    2 / Proposal Cycle                                 
PROGID  =                  159 / Program ID                                     
PROTITLE= 'SINGS: The Spitzer Infrared Nearby Galaxies Survey -- Physics of the'
PROGCAT =                   27 / Program Category                               
                                                                                
          / TIME AND EXPOSURE INFORMATION                                       
                                                                                
DATE_OBS= '2004-07-28T15:05:05.928' / Date & time at DCE start                  
MJD_OBS =        53214.6285408 / [days] MJD at DCE start (,JD-2400000.5)        
HMJD_OBS=         53214.628929 / [days] Corresponding Heliocen. Mod. Julian Date
UTCS_OBS=        144299105.928 / [sec] J2000 ephem. time at DCE start           
SCLK_OBS=        775494411.015 / [sec] SCLK time (since 1/1/1980) at DCE start  
SPTZR_X =      80771019.142087 / [km] Heliocentric J2000 x position             
SPTZR_Y =    -118740138.161766 / [km] Heliocentric J2000 y position             
SPTZR_Z =     -52318884.553983 / [km] Heliocentric J2000 z position             
SPTZR_VX=            24.984386 / [km/s] Heliocentric J2000 x velocity           
SPTZR_VY=            13.833275 / [km/s] Heliocentric J2000 y velocity           
SPTZR_VZ=             6.610328 / [km/s] Heliocentric J2000 z velocity           
SPTZR_LT=           509.823488 / [sec] One-way light time to Sun's center       
ET_OBS  =        144299170.112 / [sec] Ephemeris time (seconds past J2000 epoch)
AORTIME =                  30. / [sec] Duration of AOR                          
SAMPTIME=                  0.2 / [sec] Sample integration time                  
FRAMTIME=                  30. / [sec] Time spent integrating (whole array)     
COMMENT   Photons in Well = Flux[photons/sec/pixel] * FRAMTIME                  
EXPTIME = '1.      '           / [sec] Effective integration time per pixel     
COMMENT   DN per pixel = Flux[photons/sec/pixel] / GAIN * EXPTIME               
FRAMEDLY=               710.21 / [sec] Frame Delay Time                         
FRDLYDET= 'T       '           / Frame Delay Time Determinable (T or F)         
INTRFDLY=                 1.98 / [sec] Inter Frame Delay Time                   
IMDLYDET= 'T       '           / Immediate Delay Time Determinable (T or F)     
AINTBEG =            845222.65 / [Secs since IRAC turn-on] Time of integ. start 
ATIMEEND=             845252.6 / [Secs since IRAC turn-on] Time of integ. end   
AFOWLNUM=                   16 / Fowler number                                  
AWAITPER=                  118 / [0.2 sec] Wait period                          
ANUMREPS=                    1 / Number of repeat integrations                  
AREADMOD=                    0 / Full (0) or subarray (1)                       
HDRMODE =                    T / DCE taken in High Dynamic Range mode           
HDRFRAME= '    long'           / Position in HDR observation                    
HDRCYCLE=                    1 / Cycle of HDR observation                       
ABARREL =                    4 / Barrel shift                                   
APEDSIG =                    0 / 0=Normal, 1=Pedestal, 2=Signal                 
                                                                                
          / TARGET AND POINTING INFORMATION                                     
                                                                                
OBJTYPE = 'TargetFixedSingle'  / Object Type                                    
CRPIX1  =              650.000 / Reference pixel along axis 1                   
CRPIX2  =              678.000 / Reference pixel along axis 2                   
CRVAL1  =            24.174042 / [deg] RA at CRPIX1,CRPIX2 (using Pointing Recon
CRVAL2  =            15.783472 / [deg] DEC at CRPIX1,CRPIX2 (using Pointing Reco
CRDER1  = 3.52020129654682E-05 / [deg] Uncertainty in CRVAL1                    
CRDER2  = 3.48067151605475E-05 / [deg] Uncertainty in CRVAL2                    
RA_HMS  = '01h36m33.1s'        / [hh:mm:ss.s] CRVAL1 as sexagesimal             
DEC_DMS = '+15d42m04s'         / [dd:mm:ss] CRVAL2 as sexagesimal               
RADESYS = 'ICRS    '           / International Celestial Reference System       
EQUINOX =                2000. / Equinox for ICRS celestial coord. system       
CD1_1   =  -2.0833333333333E-4 / Corrected CD matrix element with Pointing Recon
CD1_2   =                   0. / Corrected CD matrix element with Pointing Reco 
CD2_1   =                   0. / Corrected CD matrix element with Pointing Reco 
CD2_2   =  2.08333333333333E-4 / Corrected CD matrix element with Pointing Reco 
CTYPE1  = 'RA---TAN'           / RA---TAN with distortion in pixel space        
CTYPE2  = 'DEC--TAN'           / DEC--TAN with distortion in pixel space        
PXSCAL1 =    -1.22334117768332 / [arcsec/pix] Scale for axis 1 at CRPIX1,CRPIX2 
PXSCAL2 =     1.22328355209902 / [arcsec/pix] Scale for axis 2 at CRPIX1,CRPIX2 
PA      =                  0.0 / [deg] Position angle of axis 2 (E of N) (was OR
UNCRTPA =   0.0004794047897317 / [deg] Uncertainty in position angle            
CSDRADEC= 1.34144761074998E-06 / [deg] Costandard deviation in RA and Dec       
SIGRA   =   0.0161048083211143 / [arcsec] RMS dispersion of RA over DCE         
SIGDEC  =    0.080939444030765 / [arcsec] RMS dispersion of DEC over DCE        
SIGPA   =   0.0626389654894276 / [arcsec] RMS dispersion of PA over DCE         
PA      =    -111.538368712306 / [deg] Position angle of axis 2 (E of N) (was OR
RA_RQST =     24.1378103908803 / [deg] Requested RA at CRPIX1, CRPIX2           
DEC_RQST=     15.7011488551707 / [deg] Requested Dec at CRPIX1, CRPIX2          
PM_RA   =                   0. / [arcsec/yr] Proper Motion in RA (J2000)        
PM_DEC  =                   0. / [arcsec/yr] Proper Motion in Dec (J200)        
RMS_JIT =   0.0193582693621055 / [arcsec] RMS jitter during DCE                 
RMS_JITY=   0.0146011299353916 / [arcsec] RMS jitter during DCE along Y         
RMS_JITZ=   0.0127102162572335 / [arcsec] RMS jitter during DCE along Z         
SIG_JTYZ=  0.00437036203238336 / [arcsec] Costadard deviation of jitter in YZ   
PTGDIFF =    0.221809801715655 / [arcsec] Offset btwn actual and rqsted pntng   
PTGDIFFX=  -0.0245845987141704 / [pixels] rqsted - actual pntng along axis 1    
PTGDIFFY=   -0.220401443050503 / [pixels] rqsted - actual pntng along axis 2    
RA_REF  =             24.17375 / [deg] Commanded RA (J2000) of ref. position    
DEC_REF =     15.7831669444445 / [deg] Commanded Dec (J2000) of ref. position   
USEDBPHF=                    T / T if Boresight Pointing History File was used  
BPHFNAME= 'SBPHF.0775483200.031.pntg' / Boresight Pointing History Filename     
FOVVERSN= 'BodyFrames_FTU_14a.xls' / FOV/BodyFrames file version used           
RECONFOV= 'IRAC_Center_of_3.6umArray' / Reconstructed Field of View             
ORIG_RA =      24.137809753418 / [deg] Original RA from raw BPHF (without pointi
ORIG_DEC=     15.7011680603027 / [deg] Original Dec from raw BPHF (without point
ORIGCD11=      0.0001250584173 / [deg/pix] Original CD1_1 element (without point
ORIGCD12=      -0.000316073274 / [deg/pix] Original CD1_2 element (without point
ORIGCD21=     -0.0003159686457 / [deg/pix] Original CD2_1 element (without point
ORIGCD22=     -0.0001247493201 / [deg/pix] Original CD2_2 element (without point
                                                                                
                                                                                
                                                                                
          / DISTORTION KEYWORDS                                                 
                                                                                
A_ORDER =                    3 / polynomial order, axis 1, detector to sky      
A_0_2   =           2.9656E-06 / distortion coefficient                         
A_0_3   =           3.7746E-09 / distortion coefficient                         
A_1_1   =           2.1886E-05 / distortion coefficient                         
A_1_2   =          -1.6847E-07 / distortion coefficient                         
A_2_0   =          -2.3863E-05 / distortion coefficient                         
A_2_1   =           -8.561E-09 / distortion coefficient                         
A_3_0   =          -1.4172E-07 / distortion coefficient                         
A_DMAX  =                1.394 / [pixel] maximum correction                     
B_ORDER =                    3 / polynomial order, axis 2, detector to sky      
B_0_2   =             2.31E-05 / distortion coefficient                         
B_0_3   =          -1.6168E-07 / distortion coefficient                         
B_1_1   =          -2.4386E-05 / distortion coefficient                         
B_1_2   =          -5.7813E-09 / distortion coefficient                         
B_2_0   =           2.1197E-06 / distortion coefficient                         
B_2_1   =          -1.6583E-07 / distortion coefficient                         
B_3_0   =          -2.0249E-08 / distortion coefficient                         
B_DMAX  =                1.501 / [pixel] maximum correction                     
AP_ORDER=                    3 / polynomial order, axis 1, sky to detector      
AP_0_1  =          -6.4275E-07 / distortion coefficient                         
AP_0_2  =          -2.9425E-06 / distortion coefficient                         
AP_0_3  =           -3.582E-09 / distortion coefficient                         
AP_1_0  =          -1.4897E-05 / distortion coefficient                         
AP_1_1  =           -2.225E-05 / distortion coefficient                         
AP_1_2  =           1.7195E-07 / distortion coefficient                         
AP_2_0  =           2.4146E-05 / distortion coefficient                         
AP_2_1  =            6.709E-09 / distortion coefficient                         
AP_3_0  =           1.4492E-07 / distortion coefficient                         
BP_ORDER=                    3 / polynomial order, axis 2, sky to detector      
BP_0_1  =          -1.6588E-05 / distortion coefficient                         
BP_0_2  =          -2.3424E-05 / distortion coefficient                         
BP_0_3  =            1.651E-07 / distortion coefficient                         
BP_1_0  =          -2.6783E-06 / distortion coefficient                         
BP_1_1  =           2.4753E-05 / distortion coefficient                         
BP_1_2  =           3.8917E-09 / distortion coefficient                         
BP_2_0  =           -2.151E-06 / distortion coefficient                         
BP_2_1  =              1.7E-07 / distortion coefficient                         
BP_3_0  =           2.0482E-08 / distortion coefficient                         
                                                                                
          / PHOTOMETRY                                                          
                                                                                
BUNIT   = 'MJy/sr  '           / Units of image data                            
FLUXCONV=               0.1088 / Flux Conv. factor (MJy/sr per DN/sec)          
GAIN    =                  3.3 / e/DN conversion                                
RONOISE =                  7.8 / [Electrons] Readout Noise from Array           
ZODY_EST=             0.135313 / [MJy/sr] Zodiacal Background Estimate          
ISM_EST =          0.007307361 / [MJy/sr] Interstellar Medium Estimate          
CIB_EST =                   0. / [MJy/sr] Cosmic Infrared Background Estimate   
SKYDRKZB=             0.040008 / [MJy/sr] Zodiacal Background Est of Subtracted 
SKYDKMED=             0.076904 / [MJy/sr] Median of Subtracted Skydark          
SKDKRKEY=             11666944 / Skydark AOR Reqkey                             
SKDKTIME=                  30. / [sec] Skydark AOR Duration Time                
SKDKFDLY=                13.35 / [sec] Average Frame Delay Time of Skydark      
SKDKIDLY=                 1.89 / [sec] Average Immediate Delay Time of Skydark  
                                                                                
          / GENERAL MAPPING KEYWORDS                                            
                                                                                
CYCLENUM=                    1 / Current cycle number                           
COLUMN  =                    1 / Current column number                          
ROW     =                    1 / Current row number                             
MAPNUM  =                    1 / Current map cycle number                       
DITHPOS =                    1 / Current dither position                        
                                                                                
          / IRAC MAPPING KEYWORDS                                               
                                                                                
READMODE= 'FULL    '           / Readout mode                                   
COLSTEP =                146.6 / [arcsec] Column step size                      
ROWSTEP =                146.6 / [arcsec] Row step size                         
COLOFF  =                 -3.3 / [arcsec] Column map center offset              
ROWOFF  =                 -3.3 / [arcsec] Row map center offset                 
MAPCOORD= 'Array   '           / Array or celestial coordinates                 
DITHSCAL= 'small   '           / Dither scale (small, medium, large)            
                                                                                
          / INSTRUMENT TELEMETRY DATA                                           
                                                                                
ASHTCON =                    2 / Shutter condition (1:closed, 2: open)          
AWEASIDE=                    0 / WEA side in use (0:B, 1:A)                     
ACTXSTAT=                    0 / Cmded transcal status                          
ATXSTAT =                    0 / transcal status                                
ACFLSTAT=                    0 / Cmded floodcal status                          
AFLSTAT =                    0 / floodcal status                                
AVRSTUCC=                 -3.5 / [Volts] Cmded VRSTUC Bias                      
AVRSTBEG=           -3.5114367 / [Volts] VRSTUC Bias at start integration       
AVDETC  =                -2.75 / [Volts] Cmded VDET Bias                        
AVDETBEG=           -2.7578687 / [Volts] VDET Bias at start of integration      
AVGG1C  =                -3.65 / [Volts] Cmded VGG1 Bias                        
AVGG1BEG=           -3.2078801 / [Volts] VGG1 Bias at start of integration      
AVDDUCC =                   -3 / [Volts] Cmded VDDUC Bias                       
AVDDUBEG=                   -3 / [Volts] VDDUC Bias at start integration        
AVGGCLC =                    1 / [Volts] Cmnded VGGCL clock rail voltage        
AVGGCBEG=                    1 / [Volts] VGGCL clock rail voltage               
AHTRIBEG=            204.90478 / [uAmps] Heater current at start of integ       
AHTRVBEG=            2.3900636 / [Volts] Heater Voltage at start integ.         
AFPAT2B =            15.023121 / [Deg_K] FPA Temp sensor #2 at start integ.     
AFPAT2BT=            845196.13 / [Sec] FPA Temp sensor #2 time tag              
AFPAT2E =            15.023121 / [Deg_K] FPA temp sensor #2, end integ.         
AFPAT2ET=            845226.35 / [Sec] FPA temp sensor #2 time tag              
ACTENDT =            19.980523 / [Deg_C] C&T board thermistor                   
AFPECTE =             17.86685 / [Deg_C] FPE control board thermistor           
AFPEATE =            21.200587 / [Deg_C] FPE analog board thermistor            
ASHTEMPE=            21.108313 / [Deg_C] Shutter board thermistor               
ATCTEMPE=            22.297065 / [Deg_C] Temp. controller board thermistor      
ACETEMPE=            19.950042 / [Deg_C] Calib. electronics board thermistor    
APDTEMPE=            20.376773 / [Deg_C] PDU board thermistor                   
ACATMP1E=            1.3152074 / [Deg_K] CA Temp, end integration for temp1     
ACATMP2E=            1.2981968 / [Deg_K] CA Temp, end integration for temp2     
ACATMP3E=            1.3303045 / [Deg_K] CA Temp, end integration for temp3     
ACATMP4E=            1.3271083 / [Deg_K] CA Temp, end integration for temp4     
ACATMP5E=            1.3252261 / [Deg_K] CA Temp, end integration for temp5     
ACATMP6E=            1.3237207 / [Deg_K] CA Temp, end integration for temp6     
ACATMP7E=             1.322523 / [Deg_K] CA Temp, end integration for temp7     
ACATMP8E=            1.3155912 / [Deg_K] CA Temp, end integration for temp8     
                                                                                
          / DATA FLOW KEYWORDS                                                  
                                                                                
ORIGIN0 = 'JPL_FOS '           / Site where RAW FITS file was written           
CREATOR0= 'J5.3    '           / SW system that created RAW FITS                
AORKEY  =              5513728 / AOR or EIR key. Astrnmy Obs Req/Instr Eng Req  
DS_IDENT= 'ads/sa.spitzer#0005513728' / Data Set Identification for ADS/journals
EXPID   =                    1 / Exposure ID (0-9999)                           
DCENUM  =                    0 / DCE number (0-9999)                            
TLMGRPS =                    1 / expected number of groups                      
FILE_VER=                    1 / Version of the raw file made by SIS            
RAWFILE = 'IRAC.1.0005513728.0001.0000.01.mipl.fits' / Raw data file name       
CPT_VER = '3.0.98  '           / Channel Param Table FOS versioN                
CTD_VER = '3.0.94S '           / Cmded telemetry data version                   
EXPDFLAG=                    F / (T/F) expedited DCE                            
MISS_LCT=                    0 / Total Missed Line Cnt in this FITS             
MANCPKT =                    F / T if this FITS is Missing Ancillary Data       
MISSDATA=                    F / T if this FITS is Missing Image Data           
CHECKSUM= 'GfhZGfeWGfeWGfeW'   / HDU checksum updated 2010-09-02T15:44:02       
PAONUM  =                  681 / PAO Number                                     
CAMPAIGN= 'IRAC005000'         / Campaign                                       
DCEID   =             16921117 / Data-Collection-Event ID                       
DCEINSID=              3194218 / DCE Instance ID                                
DPID    =            241340497 / Data Product Instance ID                       
PIPENUM =                  107 / Pipeline Script Number                         
SOS_VER =                    1 / Data-Product Version                           
PLVID   =                    4 / Pipeline Version ID                            
CALID   =                    6 / CalTrans Version ID                            
                                                                                
SDRKEPID=              4862819 / Sky Dark ensemble product ID                   
                                                                                
PMSKFBID=                 1238 / Pixel mask ID                                  
LDRKFBID=                  908 / Fall-back lab dark ID                          
LINCFBID=                  357 / Fall-back Linearity correction ID              
FLATFBID=                 1157 / Fall-back flat ID                              
FLXCFBID=                 1025 / Flux conversion ID                             
MBLTFBID=                 1183 / Muxbleed Lookup Table ID                       
MBCFFBID=                 1172 / Muxbleed Coefficients ID                       
LBDRKFLE= 'HDR_30s_30sf16d1r1_ch1_v1.2.0_dark.txt' / Labdark File Used          
LBDRKTD = 'T       '           / Labdark Time Dependent (T or F)                
                                                                                
                                                                                
                                                                                
          / PROCESSING HISTORY                                                  
                                                                                
HISTORY job.c ver: 1.50                                                         
HISTORY TRANHEAD                  v.         13.0, ran Mon May  4 18:10:06 2009 
HISTORY CALTRANS                 v.        4.0, ran Mon May  4 18:10:12 2009    
HISTORY INSBPOSDOM                v.          1.1, ran Mon May  4 18:10:13 2009 
HISTORY cvti2r4           v.  1.31 A61025, generated  5/04/09 at 18:10:14       
HISTORY hdrupd8           v.  1.6  A70821,  updated   5/04/09 at 18:10:16       
HISTORY hdrupd8           v.  1.6  A70821,  updated   5/04/09 at 18:10:17       
HISTORY hdrupd8           v.  1.6  A70821,  updated   5/04/09 at 18:10:18       
HISTORY hdrupd8           v.  1.6  A70821,  updated   5/04/09 at 18:10:19       
HISTORY hdrupd8           v.  1.6  A70821,  updated   5/04/09 at 18:10:21       
HISTORY hdrupd8           v.  1.6  A70821,  updated   5/04/09 at 18:10:22       
HISTORY hdrupd8           v.  1.6  A70821,  updated   5/04/09 at 18:10:23       
HISTORY FFC                       v.          1.0, ran Mon May  4 18:10:24 2009 
HISTORY MUXBLEEDCORR              v.        1.600, ran Mon May  4 18:10:26 2009 
HISTORY FOWLINEARIZE              v.     4.900000, ran Mon May  4 18:10:26 2009 
HISTORY hdrupd8           v.  1.6  A70821,  updated   5/04/09 at 18:10:27       
HISTORY BGMODEL                   v.          1.0, ran Mon May  4 18:10:28 2009 
HISTORY SLREMOVE                  v.          1.0, ran Mon May  4 18:10:28 2009 
HISTORY hdrupd8           v.  1.6  A70821,  updated   5/04/09 at 18:10:29       
HISTORY hdrupd8           v.  1.6  A70821,  updated   5/04/09 at 18:10:30       
HISTORY hdrupd8           v.  1.6  A70821,  updated   5/04/09 at 18:10:32       
HISTORY hdrupd8           v.  1.6  A70821,  updated   5/04/09 at 18:10:33       
HISTORY hdrupd8           v.  1.6  A70821,  updated   5/04/09 at 18:10:34       
HISTORY hdrupd8           v.  1.6  A70821,  updated   5/04/09 at 18:10:36       
HISTORY DARKSUBNG                 v. 1.000, ran Mon May  4 18:10:36 2009        
HISTORY DARKDRIFT                 v.          4.1, ran Mon May  4 18:10:37 2009 
HISTORY FLATAP                    v. 1.500   Mon May  4 18:10:38 2009           
HISTORY DNTOFLUX                  v.          4.1, ran Mon May  4 18:10:42 2009 
HISTORY PREDICTSAT                v.     3.600000, ran Mon May  4 18:13:12 2009 
HISTORY CALTRANS                 v.        4.0, ran Mon May  4 18:17:20 2009    
HISTORY PTNTRAN                   v.          1.4, ran Mon May  4 18:17:23 2009 
HISTORY FPGen                     v.         1.25, ran Mon May  4 18:17:27 2009 
HISTORY PTGADJUST                 v.          1.0, ran Mon May  4 18:19:29 2009 
BACKGRND=                    0                                                  
NDRIZIM =                   56 / Drizzle, number of images drizzled onto this ou
D001VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D001GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D001DATA= 'correctedng001.1.fits' / Drizzle, input data image                   
D001DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D001OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D001OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D001OUCO= '        '           / Drizzle, output context image                  
D001MASK= 'drmask.1.001.fits'  / Drizzle, input weighting image                 
D001WTSC=                 26.8 / Drizzle, weighting factor for input image      
D001KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D001PIXF=                 0.75 / Drizzle, linear size of drop                   
D001COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D001XGIM= '        '           / Drizzle, X distortion image name               
D001YGIM= '        '           / Drizzle, Y distortion image name               
D001LAM =                 555. / Drizzle, wavelength applied for transformation 
D001EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D001INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D001OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D001FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D001INXC=                 129. / Drizzle, reference center of input image (X)   
D001INYC=                 129. / Drizzle, reference center of input image (Y)   
D001OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D001OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D001SECP=                    F / Drizzle, there are no secondary geometric param
D002VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D002GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D002DATA= 'correctedng002.1.fits' / Drizzle, input data image                   
D002DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D002OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D002OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D002OUCO= '        '           / Drizzle, output context image                  
D002MASK= 'drmask.1.002.fits'  / Drizzle, input weighting image                 
D002WTSC=                 26.8 / Drizzle, weighting factor for input image      
D002KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D002PIXF=                 0.75 / Drizzle, linear size of drop                   
D002COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D002XGIM= '        '           / Drizzle, X distortion image name               
D002YGIM= '        '           / Drizzle, Y distortion image name               
D002LAM =                 555. / Drizzle, wavelength applied for transformation 
D002EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D002INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D002OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D002FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D002INXC=                 129. / Drizzle, reference center of input image (X)   
D002INYC=                 129. / Drizzle, reference center of input image (Y)   
D002OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D002OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D002SECP=                    F / Drizzle, there are no secondary geometric param
D003VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D003GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D003DATA= 'correctedng003.1.fits' / Drizzle, input data image                   
D003DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D003OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D003OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D003OUCO= '        '           / Drizzle, output context image                  
D003MASK= 'drmask.1.003.fits'  / Drizzle, input weighting image                 
D003WTSC=                 26.8 / Drizzle, weighting factor for input image      
D003KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D003PIXF=                 0.75 / Drizzle, linear size of drop                   
D003COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D003XGIM= '        '           / Drizzle, X distortion image name               
D003YGIM= '        '           / Drizzle, Y distortion image name               
D003LAM =                 555. / Drizzle, wavelength applied for transformation 
D003EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D003INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D003OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D003FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D003INXC=                 129. / Drizzle, reference center of input image (X)   
D003INYC=                 129. / Drizzle, reference center of input image (Y)   
D003OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D003OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D003SECP=                    F / Drizzle, there are no secondary geometric param
D004VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D004GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D004DATA= 'correctedng004.1.fits' / Drizzle, input data image                   
D004DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D004OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D004OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D004OUCO= '        '           / Drizzle, output context image                  
D004MASK= 'drmask.1.004.fits'  / Drizzle, input weighting image                 
D004WTSC=                 26.8 / Drizzle, weighting factor for input image      
D004KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D004PIXF=                 0.75 / Drizzle, linear size of drop                   
D004COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D004XGIM= '        '           / Drizzle, X distortion image name               
D004YGIM= '        '           / Drizzle, Y distortion image name               
D004LAM =                 555. / Drizzle, wavelength applied for transformation 
D004EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D004INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D004OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D004FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D004INXC=                 129. / Drizzle, reference center of input image (X)   
D004INYC=                 129. / Drizzle, reference center of input image (Y)   
D004OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D004OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D004SECP=                    F / Drizzle, there are no secondary geometric param
D005VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D005GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D005DATA= 'correctedng005.1.fits' / Drizzle, input data image                   
D005DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D005OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D005OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D005OUCO= '        '           / Drizzle, output context image                  
D005MASK= 'drmask.1.005.fits'  / Drizzle, input weighting image                 
D005WTSC=                 26.8 / Drizzle, weighting factor for input image      
D005KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D005PIXF=                 0.75 / Drizzle, linear size of drop                   
D005COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D005XGIM= '        '           / Drizzle, X distortion image name               
D005YGIM= '        '           / Drizzle, Y distortion image name               
D005LAM =                 555. / Drizzle, wavelength applied for transformation 
D005EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D005INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D005OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D005FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D005INXC=                 129. / Drizzle, reference center of input image (X)   
D005INYC=                 129. / Drizzle, reference center of input image (Y)   
D005OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D005OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D005SECP=                    F / Drizzle, there are no secondary geometric param
D006VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D006GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D006DATA= 'correctedng006.1.fits' / Drizzle, input data image                   
D006DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D006OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D006OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D006OUCO= '        '           / Drizzle, output context image                  
D006MASK= 'drmask.1.006.fits'  / Drizzle, input weighting image                 
D006WTSC=                 26.8 / Drizzle, weighting factor for input image      
D006KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D006PIXF=                 0.75 / Drizzle, linear size of drop                   
D006COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D006XGIM= '        '           / Drizzle, X distortion image name               
D006YGIM= '        '           / Drizzle, Y distortion image name               
D006LAM =                 555. / Drizzle, wavelength applied for transformation 
D006EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D006INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D006OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D006FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D006INXC=                 129. / Drizzle, reference center of input image (X)   
D006INYC=                 129. / Drizzle, reference center of input image (Y)   
D006OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D006OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D006SECP=                    F / Drizzle, there are no secondary geometric param
D007VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D007GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D007DATA= 'correctedng007.1.fits' / Drizzle, input data image                   
D007DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D007OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D007OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D007OUCO= '        '           / Drizzle, output context image                  
D007MASK= 'drmask.1.007.fits'  / Drizzle, input weighting image                 
D007WTSC=                 26.8 / Drizzle, weighting factor for input image      
D007KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D007PIXF=                 0.75 / Drizzle, linear size of drop                   
D007COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D007XGIM= '        '           / Drizzle, X distortion image name               
D007YGIM= '        '           / Drizzle, Y distortion image name               
D007LAM =                 555. / Drizzle, wavelength applied for transformation 
D007EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D007INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D007OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D007FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D007INXC=                 129. / Drizzle, reference center of input image (X)   
D007INYC=                 129. / Drizzle, reference center of input image (Y)   
D007OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D007OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D007SECP=                    F / Drizzle, there are no secondary geometric param
D008VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D008GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D008DATA= 'correctedng008.1.fits' / Drizzle, input data image                   
D008DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D008OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D008OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D008OUCO= '        '           / Drizzle, output context image                  
D008MASK= 'drmask.1.008.fits'  / Drizzle, input weighting image                 
D008WTSC=                 26.8 / Drizzle, weighting factor for input image      
D008KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D008PIXF=                 0.75 / Drizzle, linear size of drop                   
D008COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D008XGIM= '        '           / Drizzle, X distortion image name               
D008YGIM= '        '           / Drizzle, Y distortion image name               
D008LAM =                 555. / Drizzle, wavelength applied for transformation 
D008EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D008INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D008OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D008FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D008INXC=                 129. / Drizzle, reference center of input image (X)   
D008INYC=                 129. / Drizzle, reference center of input image (Y)   
D008OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D008OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D008SECP=                    F / Drizzle, there are no secondary geometric param
D009VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D009GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D009DATA= 'correctedng009.1.fits' / Drizzle, input data image                   
D009DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D009OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D009OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D009OUCO= '        '           / Drizzle, output context image                  
D009MASK= 'drmask.1.009.fits'  / Drizzle, input weighting image                 
D009WTSC=                 26.8 / Drizzle, weighting factor for input image      
D009KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D009PIXF=                 0.75 / Drizzle, linear size of drop                   
D009COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D009XGIM= '        '           / Drizzle, X distortion image name               
D009YGIM= '        '           / Drizzle, Y distortion image name               
D009LAM =                 555. / Drizzle, wavelength applied for transformation 
D009EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D009INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D009OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D009FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D009INXC=                 129. / Drizzle, reference center of input image (X)   
D009INYC=                 129. / Drizzle, reference center of input image (Y)   
D009OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D009OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D009SECP=                    F / Drizzle, there are no secondary geometric param
D010VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D010GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D010DATA= 'correctedng010.1.fits' / Drizzle, input data image                   
D010DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D010OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D010OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D010OUCO= '        '           / Drizzle, output context image                  
D010MASK= 'drmask.1.010.fits'  / Drizzle, input weighting image                 
D010WTSC=                 26.8 / Drizzle, weighting factor for input image      
D010KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D010PIXF=                 0.75 / Drizzle, linear size of drop                   
D010COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D010XGIM= '        '           / Drizzle, X distortion image name               
D010YGIM= '        '           / Drizzle, Y distortion image name               
D010LAM =                 555. / Drizzle, wavelength applied for transformation 
D010EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D010INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D010OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D010FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D010INXC=                 129. / Drizzle, reference center of input image (X)   
D010INYC=                 129. / Drizzle, reference center of input image (Y)   
D010OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D010OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D010SECP=                    F / Drizzle, there are no secondary geometric param
D011VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D011GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D011DATA= 'correctedng011.1.fits' / Drizzle, input data image                   
D011DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D011OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D011OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D011OUCO= '        '           / Drizzle, output context image                  
D011MASK= 'drmask.1.011.fits'  / Drizzle, input weighting image                 
D011WTSC=                 26.8 / Drizzle, weighting factor for input image      
D011KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D011PIXF=                 0.75 / Drizzle, linear size of drop                   
D011COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D011XGIM= '        '           / Drizzle, X distortion image name               
D011YGIM= '        '           / Drizzle, Y distortion image name               
D011LAM =                 555. / Drizzle, wavelength applied for transformation 
D011EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D011INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D011OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D011FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D011INXC=                 129. / Drizzle, reference center of input image (X)   
D011INYC=                 129. / Drizzle, reference center of input image (Y)   
D011OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D011OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D011SECP=                    F / Drizzle, there are no secondary geometric param
D012VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D012GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D012DATA= 'correctedng012.1.fits' / Drizzle, input data image                   
D012DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D012OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D012OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D012OUCO= '        '           / Drizzle, output context image                  
D012MASK= 'drmask.1.012.fits'  / Drizzle, input weighting image                 
D012WTSC=                 26.8 / Drizzle, weighting factor for input image      
D012KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D012PIXF=                 0.75 / Drizzle, linear size of drop                   
D012COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D012XGIM= '        '           / Drizzle, X distortion image name               
D012YGIM= '        '           / Drizzle, Y distortion image name               
D012LAM =                 555. / Drizzle, wavelength applied for transformation 
D012EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D012INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D012OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D012FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D012INXC=                 129. / Drizzle, reference center of input image (X)   
D012INYC=                 129. / Drizzle, reference center of input image (Y)   
D012OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D012OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D012SECP=                    F / Drizzle, there are no secondary geometric param
D013VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D013GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D013DATA= 'correctedng013.1.fits' / Drizzle, input data image                   
D013DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D013OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D013OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D013OUCO= '        '           / Drizzle, output context image                  
D013MASK= 'drmask.1.013.fits'  / Drizzle, input weighting image                 
D013WTSC=                 26.8 / Drizzle, weighting factor for input image      
D013KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D013PIXF=                 0.75 / Drizzle, linear size of drop                   
D013COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D013XGIM= '        '           / Drizzle, X distortion image name               
D013YGIM= '        '           / Drizzle, Y distortion image name               
D013LAM =                 555. / Drizzle, wavelength applied for transformation 
D013EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D013INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D013OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D013FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D013INXC=                 129. / Drizzle, reference center of input image (X)   
D013INYC=                 129. / Drizzle, reference center of input image (Y)   
D013OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D013OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D013SECP=                    F / Drizzle, there are no secondary geometric param
D014VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D014GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D014DATA= 'correctedng014.1.fits' / Drizzle, input data image                   
D014DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D014OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D014OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D014OUCO= '        '           / Drizzle, output context image                  
D014MASK= 'drmask.1.014.fits'  / Drizzle, input weighting image                 
D014WTSC=                 26.8 / Drizzle, weighting factor for input image      
D014KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D014PIXF=                 0.75 / Drizzle, linear size of drop                   
D014COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D014XGIM= '        '           / Drizzle, X distortion image name               
D014YGIM= '        '           / Drizzle, Y distortion image name               
D014LAM =                 555. / Drizzle, wavelength applied for transformation 
D014EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D014INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D014OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D014FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D014INXC=                 129. / Drizzle, reference center of input image (X)   
D014INYC=                 129. / Drizzle, reference center of input image (Y)   
D014OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D014OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D014SECP=                    F / Drizzle, there are no secondary geometric param
D015VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D015GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D015DATA= 'correctedng015.1.fits' / Drizzle, input data image                   
D015DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D015OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D015OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D015OUCO= '        '           / Drizzle, output context image                  
D015MASK= 'drmask.1.015.fits'  / Drizzle, input weighting image                 
D015WTSC=                 26.8 / Drizzle, weighting factor for input image      
D015KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D015PIXF=                 0.75 / Drizzle, linear size of drop                   
D015COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D015XGIM= '        '           / Drizzle, X distortion image name               
D015YGIM= '        '           / Drizzle, Y distortion image name               
D015LAM =                 555. / Drizzle, wavelength applied for transformation 
D015EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D015INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D015OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D015FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D015INXC=                 129. / Drizzle, reference center of input image (X)   
D015INYC=                 129. / Drizzle, reference center of input image (Y)   
D015OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D015OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D015SECP=                    F / Drizzle, there are no secondary geometric param
D016VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D016GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D016DATA= 'correctedng016.1.fits' / Drizzle, input data image                   
D016DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D016OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D016OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D016OUCO= '        '           / Drizzle, output context image                  
D016MASK= 'drmask.1.016.fits'  / Drizzle, input weighting image                 
D016WTSC=                 26.8 / Drizzle, weighting factor for input image      
D016KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D016PIXF=                 0.75 / Drizzle, linear size of drop                   
D016COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D016XGIM= '        '           / Drizzle, X distortion image name               
D016YGIM= '        '           / Drizzle, Y distortion image name               
D016LAM =                 555. / Drizzle, wavelength applied for transformation 
D016EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D016INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D016OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D016FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D016INXC=                 129. / Drizzle, reference center of input image (X)   
D016INYC=                 129. / Drizzle, reference center of input image (Y)   
D016OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D016OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D016SECP=                    F / Drizzle, there are no secondary geometric param
D017VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D017GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D017DATA= 'correctedng017.1.fits' / Drizzle, input data image                   
D017DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D017OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D017OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D017OUCO= '        '           / Drizzle, output context image                  
D017MASK= 'drmask.1.017.fits'  / Drizzle, input weighting image                 
D017WTSC=                 26.8 / Drizzle, weighting factor for input image      
D017KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D017PIXF=                 0.75 / Drizzle, linear size of drop                   
D017COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D017XGIM= '        '           / Drizzle, X distortion image name               
D017YGIM= '        '           / Drizzle, Y distortion image name               
D017LAM =                 555. / Drizzle, wavelength applied for transformation 
D017EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D017INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D017OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D017FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D017INXC=                 129. / Drizzle, reference center of input image (X)   
D017INYC=                 129. / Drizzle, reference center of input image (Y)   
D017OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D017OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D017SECP=                    F / Drizzle, there are no secondary geometric param
D018VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D018GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D018DATA= 'correctedng018.1.fits' / Drizzle, input data image                   
D018DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D018OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D018OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D018OUCO= '        '           / Drizzle, output context image                  
D018MASK= 'drmask.1.018.fits'  / Drizzle, input weighting image                 
D018WTSC=                 26.8 / Drizzle, weighting factor for input image      
D018KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D018PIXF=                 0.75 / Drizzle, linear size of drop                   
D018COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D018XGIM= '        '           / Drizzle, X distortion image name               
D018YGIM= '        '           / Drizzle, Y distortion image name               
D018LAM =                 555. / Drizzle, wavelength applied for transformation 
D018EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D018INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D018OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D018FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D018INXC=                 129. / Drizzle, reference center of input image (X)   
D018INYC=                 129. / Drizzle, reference center of input image (Y)   
D018OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D018OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D018SECP=                    F / Drizzle, there are no secondary geometric param
D019VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D019GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D019DATA= 'correctedng019.1.fits' / Drizzle, input data image                   
D019DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D019OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D019OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D019OUCO= '        '           / Drizzle, output context image                  
D019MASK= 'drmask.1.019.fits'  / Drizzle, input weighting image                 
D019WTSC=                 26.8 / Drizzle, weighting factor for input image      
D019KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D019PIXF=                 0.75 / Drizzle, linear size of drop                   
D019COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D019XGIM= '        '           / Drizzle, X distortion image name               
D019YGIM= '        '           / Drizzle, Y distortion image name               
D019LAM =                 555. / Drizzle, wavelength applied for transformation 
D019EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D019INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D019OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D019FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D019INXC=                 129. / Drizzle, reference center of input image (X)   
D019INYC=                 129. / Drizzle, reference center of input image (Y)   
D019OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D019OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D019SECP=                    F / Drizzle, there are no secondary geometric param
D020VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D020GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D020DATA= 'correctedng020.1.fits' / Drizzle, input data image                   
D020DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D020OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D020OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D020OUCO= '        '           / Drizzle, output context image                  
D020MASK= 'drmask.1.020.fits'  / Drizzle, input weighting image                 
D020WTSC=                 26.8 / Drizzle, weighting factor for input image      
D020KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D020PIXF=                 0.75 / Drizzle, linear size of drop                   
D020COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D020XGIM= '        '           / Drizzle, X distortion image name               
D020YGIM= '        '           / Drizzle, Y distortion image name               
D020LAM =                 555. / Drizzle, wavelength applied for transformation 
D020EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D020INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D020OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D020FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D020INXC=                 129. / Drizzle, reference center of input image (X)   
D020INYC=                 129. / Drizzle, reference center of input image (Y)   
D020OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D020OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D020SECP=                    F / Drizzle, there are no secondary geometric param
D021VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D021GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D021DATA= 'correctedng021.1.fits' / Drizzle, input data image                   
D021DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D021OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D021OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D021OUCO= '        '           / Drizzle, output context image                  
D021MASK= 'drmask.1.021.fits'  / Drizzle, input weighting image                 
D021WTSC=                 26.8 / Drizzle, weighting factor for input image      
D021KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D021PIXF=                 0.75 / Drizzle, linear size of drop                   
D021COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D021XGIM= '        '           / Drizzle, X distortion image name               
D021YGIM= '        '           / Drizzle, Y distortion image name               
D021LAM =                 555. / Drizzle, wavelength applied for transformation 
D021EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D021INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D021OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D021FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D021INXC=                 129. / Drizzle, reference center of input image (X)   
D021INYC=                 129. / Drizzle, reference center of input image (Y)   
D021OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D021OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D021SECP=                    F / Drizzle, there are no secondary geometric param
D022VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D022GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D022DATA= 'correctedng022.1.fits' / Drizzle, input data image                   
D022DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D022OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D022OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D022OUCO= '        '           / Drizzle, output context image                  
D022MASK= 'drmask.1.022.fits'  / Drizzle, input weighting image                 
D022WTSC=                 26.8 / Drizzle, weighting factor for input image      
D022KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D022PIXF=                 0.75 / Drizzle, linear size of drop                   
D022COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D022XGIM= '        '           / Drizzle, X distortion image name               
D022YGIM= '        '           / Drizzle, Y distortion image name               
D022LAM =                 555. / Drizzle, wavelength applied for transformation 
D022EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D022INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D022OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D022FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D022INXC=                 129. / Drizzle, reference center of input image (X)   
D022INYC=                 129. / Drizzle, reference center of input image (Y)   
D022OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D022OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D022SECP=                    F / Drizzle, there are no secondary geometric param
D023VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D023GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D023DATA= 'correctedng023.1.fits' / Drizzle, input data image                   
D023DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D023OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D023OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D023OUCO= '        '           / Drizzle, output context image                  
D023MASK= 'drmask.1.023.fits'  / Drizzle, input weighting image                 
D023WTSC=                 26.8 / Drizzle, weighting factor for input image      
D023KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D023PIXF=                 0.75 / Drizzle, linear size of drop                   
D023COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D023XGIM= '        '           / Drizzle, X distortion image name               
D023YGIM= '        '           / Drizzle, Y distortion image name               
D023LAM =                 555. / Drizzle, wavelength applied for transformation 
D023EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D023INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D023OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D023FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D023INXC=                 129. / Drizzle, reference center of input image (X)   
D023INYC=                 129. / Drizzle, reference center of input image (Y)   
D023OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D023OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D023SECP=                    F / Drizzle, there are no secondary geometric param
D024VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D024GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D024DATA= 'correctedng024.1.fits' / Drizzle, input data image                   
D024DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D024OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D024OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D024OUCO= '        '           / Drizzle, output context image                  
D024MASK= 'drmask.1.024.fits'  / Drizzle, input weighting image                 
D024WTSC=                 26.8 / Drizzle, weighting factor for input image      
D024KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D024PIXF=                 0.75 / Drizzle, linear size of drop                   
D024COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D024XGIM= '        '           / Drizzle, X distortion image name               
D024YGIM= '        '           / Drizzle, Y distortion image name               
D024LAM =                 555. / Drizzle, wavelength applied for transformation 
D024EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D024INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D024OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D024FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D024INXC=                 129. / Drizzle, reference center of input image (X)   
D024INYC=                 129. / Drizzle, reference center of input image (Y)   
D024OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D024OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D024SECP=                    F / Drizzle, there are no secondary geometric param
D025VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D025GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D025DATA= 'correctedng025.1.fits' / Drizzle, input data image                   
D025DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D025OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D025OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D025OUCO= '        '           / Drizzle, output context image                  
D025MASK= 'drmask.1.025.fits'  / Drizzle, input weighting image                 
D025WTSC=                 26.8 / Drizzle, weighting factor for input image      
D025KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D025PIXF=                 0.75 / Drizzle, linear size of drop                   
D025COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D025XGIM= '        '           / Drizzle, X distortion image name               
D025YGIM= '        '           / Drizzle, Y distortion image name               
D025LAM =                 555. / Drizzle, wavelength applied for transformation 
D025EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D025INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D025OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D025FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D025INXC=                 129. / Drizzle, reference center of input image (X)   
D025INYC=                 129. / Drizzle, reference center of input image (Y)   
D025OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D025OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D025SECP=                    F / Drizzle, there are no secondary geometric param
D026VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D026GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D026DATA= 'correctedng026.1.fits' / Drizzle, input data image                   
D026DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D026OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D026OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D026OUCO= '        '           / Drizzle, output context image                  
D026MASK= 'drmask.1.026.fits'  / Drizzle, input weighting image                 
D026WTSC=                 26.8 / Drizzle, weighting factor for input image      
D026KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D026PIXF=                 0.75 / Drizzle, linear size of drop                   
D026COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D026XGIM= '        '           / Drizzle, X distortion image name               
D026YGIM= '        '           / Drizzle, Y distortion image name               
D026LAM =                 555. / Drizzle, wavelength applied for transformation 
D026EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D026INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D026OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D026FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D026INXC=                 129. / Drizzle, reference center of input image (X)   
D026INYC=                 129. / Drizzle, reference center of input image (Y)   
D026OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D026OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D026SECP=                    F / Drizzle, there are no secondary geometric param
D027VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D027GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D027DATA= 'correctedng027.1.fits' / Drizzle, input data image                   
D027DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D027OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D027OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D027OUCO= '        '           / Drizzle, output context image                  
D027MASK= 'drmask.1.027.fits'  / Drizzle, input weighting image                 
D027WTSC=                 26.8 / Drizzle, weighting factor for input image      
D027KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D027PIXF=                 0.75 / Drizzle, linear size of drop                   
D027COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D027XGIM= '        '           / Drizzle, X distortion image name               
D027YGIM= '        '           / Drizzle, Y distortion image name               
D027LAM =                 555. / Drizzle, wavelength applied for transformation 
D027EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D027INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D027OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D027FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D027INXC=                 129. / Drizzle, reference center of input image (X)   
D027INYC=                 129. / Drizzle, reference center of input image (Y)   
D027OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D027OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D027SECP=                    F / Drizzle, there are no secondary geometric param
D028VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D028GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D028DATA= 'correctedng028.1.fits' / Drizzle, input data image                   
D028DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D028OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D028OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D028OUCO= '        '           / Drizzle, output context image                  
D028MASK= 'drmask.1.028.fits'  / Drizzle, input weighting image                 
D028WTSC=                 26.8 / Drizzle, weighting factor for input image      
D028KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D028PIXF=                 0.75 / Drizzle, linear size of drop                   
D028COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D028XGIM= '        '           / Drizzle, X distortion image name               
D028YGIM= '        '           / Drizzle, Y distortion image name               
D028LAM =                 555. / Drizzle, wavelength applied for transformation 
D028EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D028INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D028OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D028FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D028INXC=                 129. / Drizzle, reference center of input image (X)   
D028INYC=                 129. / Drizzle, reference center of input image (Y)   
D028OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D028OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D028SECP=                    F / Drizzle, there are no secondary geometric param
D029VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D029GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D029DATA= 'correctedng029.1.fits' / Drizzle, input data image                   
D029DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D029OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D029OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D029OUCO= '        '           / Drizzle, output context image                  
D029MASK= 'drmask.1.029.fits'  / Drizzle, input weighting image                 
D029WTSC=                 26.8 / Drizzle, weighting factor for input image      
D029KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D029PIXF=                 0.75 / Drizzle, linear size of drop                   
D029COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D029XGIM= '        '           / Drizzle, X distortion image name               
D029YGIM= '        '           / Drizzle, Y distortion image name               
D029LAM =                 555. / Drizzle, wavelength applied for transformation 
D029EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D029INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D029OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D029FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D029INXC=                 129. / Drizzle, reference center of input image (X)   
D029INYC=                 129. / Drizzle, reference center of input image (Y)   
D029OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D029OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D029SECP=                    F / Drizzle, there are no secondary geometric param
D030VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D030GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D030DATA= 'correctedng030.1.fits' / Drizzle, input data image                   
D030DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D030OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D030OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D030OUCO= '        '           / Drizzle, output context image                  
D030MASK= 'drmask.1.030.fits'  / Drizzle, input weighting image                 
D030WTSC=                 26.8 / Drizzle, weighting factor for input image      
D030KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D030PIXF=                 0.75 / Drizzle, linear size of drop                   
D030COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D030XGIM= '        '           / Drizzle, X distortion image name               
D030YGIM= '        '           / Drizzle, Y distortion image name               
D030LAM =                 555. / Drizzle, wavelength applied for transformation 
D030EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D030INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D030OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D030FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D030INXC=                 129. / Drizzle, reference center of input image (X)   
D030INYC=                 129. / Drizzle, reference center of input image (Y)   
D030OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D030OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D030SECP=                    F / Drizzle, there are no secondary geometric param
D031VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D031GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D031DATA= 'correctedng031.1.fits' / Drizzle, input data image                   
D031DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D031OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D031OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D031OUCO= '        '           / Drizzle, output context image                  
D031MASK= 'drmask.1.031.fits'  / Drizzle, input weighting image                 
D031WTSC=                 26.8 / Drizzle, weighting factor for input image      
D031KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D031PIXF=                 0.75 / Drizzle, linear size of drop                   
D031COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D031XGIM= '        '           / Drizzle, X distortion image name               
D031YGIM= '        '           / Drizzle, Y distortion image name               
D031LAM =                 555. / Drizzle, wavelength applied for transformation 
D031EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D031INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D031OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D031FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D031INXC=                 129. / Drizzle, reference center of input image (X)   
D031INYC=                 129. / Drizzle, reference center of input image (Y)   
D031OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D031OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D031SECP=                    F / Drizzle, there are no secondary geometric param
D032VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D032GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D032DATA= 'correctedng032.1.fits' / Drizzle, input data image                   
D032DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D032OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D032OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D032OUCO= '        '           / Drizzle, output context image                  
D032MASK= 'drmask.1.032.fits'  / Drizzle, input weighting image                 
D032WTSC=                 26.8 / Drizzle, weighting factor for input image      
D032KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D032PIXF=                 0.75 / Drizzle, linear size of drop                   
D032COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D032XGIM= '        '           / Drizzle, X distortion image name               
D032YGIM= '        '           / Drizzle, Y distortion image name               
D032LAM =                 555. / Drizzle, wavelength applied for transformation 
D032EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D032INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D032OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D032FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D032INXC=                 129. / Drizzle, reference center of input image (X)   
D032INYC=                 129. / Drizzle, reference center of input image (Y)   
D032OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D032OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D032SECP=                    F / Drizzle, there are no secondary geometric param
D033VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D033GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D033DATA= 'correctedng033.1.fits' / Drizzle, input data image                   
D033DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D033OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D033OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D033OUCO= '        '           / Drizzle, output context image                  
D033MASK= 'drmask.1.033.fits'  / Drizzle, input weighting image                 
D033WTSC=                 26.8 / Drizzle, weighting factor for input image      
D033KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D033PIXF=                 0.75 / Drizzle, linear size of drop                   
D033COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D033XGIM= '        '           / Drizzle, X distortion image name               
D033YGIM= '        '           / Drizzle, Y distortion image name               
D033LAM =                 555. / Drizzle, wavelength applied for transformation 
D033EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D033INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D033OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D033FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D033INXC=                 129. / Drizzle, reference center of input image (X)   
D033INYC=                 129. / Drizzle, reference center of input image (Y)   
D033OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D033OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D033SECP=                    F / Drizzle, there are no secondary geometric param
D034VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D034GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D034DATA= 'correctedng034.1.fits' / Drizzle, input data image                   
D034DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D034OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D034OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D034OUCO= '        '           / Drizzle, output context image                  
D034MASK= 'drmask.1.034.fits'  / Drizzle, input weighting image                 
D034WTSC=                 26.8 / Drizzle, weighting factor for input image      
D034KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D034PIXF=                 0.75 / Drizzle, linear size of drop                   
D034COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D034XGIM= '        '           / Drizzle, X distortion image name               
D034YGIM= '        '           / Drizzle, Y distortion image name               
D034LAM =                 555. / Drizzle, wavelength applied for transformation 
D034EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D034INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D034OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D034FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D034INXC=                 129. / Drizzle, reference center of input image (X)   
D034INYC=                 129. / Drizzle, reference center of input image (Y)   
D034OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D034OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D034SECP=                    F / Drizzle, there are no secondary geometric param
D035VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D035GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D035DATA= 'correctedng035.1.fits' / Drizzle, input data image                   
D035DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D035OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D035OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D035OUCO= '        '           / Drizzle, output context image                  
D035MASK= 'drmask.1.035.fits'  / Drizzle, input weighting image                 
D035WTSC=                 26.8 / Drizzle, weighting factor for input image      
D035KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D035PIXF=                 0.75 / Drizzle, linear size of drop                   
D035COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D035XGIM= '        '           / Drizzle, X distortion image name               
D035YGIM= '        '           / Drizzle, Y distortion image name               
D035LAM =                 555. / Drizzle, wavelength applied for transformation 
D035EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D035INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D035OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D035FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D035INXC=                 129. / Drizzle, reference center of input image (X)   
D035INYC=                 129. / Drizzle, reference center of input image (Y)   
D035OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D035OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D035SECP=                    F / Drizzle, there are no secondary geometric param
D036VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D036GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D036DATA= 'correctedng036.1.fits' / Drizzle, input data image                   
D036DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D036OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D036OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D036OUCO= '        '           / Drizzle, output context image                  
D036MASK= 'drmask.1.036.fits'  / Drizzle, input weighting image                 
D036WTSC=                 26.8 / Drizzle, weighting factor for input image      
D036KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D036PIXF=                 0.75 / Drizzle, linear size of drop                   
D036COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D036XGIM= '        '           / Drizzle, X distortion image name               
D036YGIM= '        '           / Drizzle, Y distortion image name               
D036LAM =                 555. / Drizzle, wavelength applied for transformation 
D036EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D036INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D036OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D036FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D036INXC=                 129. / Drizzle, reference center of input image (X)   
D036INYC=                 129. / Drizzle, reference center of input image (Y)   
D036OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D036OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D036SECP=                    F / Drizzle, there are no secondary geometric param
D037VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D037GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D037DATA= 'correctedng037.1.fits' / Drizzle, input data image                   
D037DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D037OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D037OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D037OUCO= '        '           / Drizzle, output context image                  
D037MASK= 'drmask.1.037.fits'  / Drizzle, input weighting image                 
D037WTSC=                 26.8 / Drizzle, weighting factor for input image      
D037KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D037PIXF=                 0.75 / Drizzle, linear size of drop                   
D037COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D037XGIM= '        '           / Drizzle, X distortion image name               
D037YGIM= '        '           / Drizzle, Y distortion image name               
D037LAM =                 555. / Drizzle, wavelength applied for transformation 
D037EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D037INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D037OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D037FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D037INXC=                 129. / Drizzle, reference center of input image (X)   
D037INYC=                 129. / Drizzle, reference center of input image (Y)   
D037OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D037OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D037SECP=                    F / Drizzle, there are no secondary geometric param
D038VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D038GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D038DATA= 'correctedng038.1.fits' / Drizzle, input data image                   
D038DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D038OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D038OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D038OUCO= '        '           / Drizzle, output context image                  
D038MASK= 'drmask.1.038.fits'  / Drizzle, input weighting image                 
D038WTSC=                 26.8 / Drizzle, weighting factor for input image      
D038KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D038PIXF=                 0.75 / Drizzle, linear size of drop                   
D038COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D038XGIM= '        '           / Drizzle, X distortion image name               
D038YGIM= '        '           / Drizzle, Y distortion image name               
D038LAM =                 555. / Drizzle, wavelength applied for transformation 
D038EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D038INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D038OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D038FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D038INXC=                 129. / Drizzle, reference center of input image (X)   
D038INYC=                 129. / Drizzle, reference center of input image (Y)   
D038OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D038OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D038SECP=                    F / Drizzle, there are no secondary geometric param
D039VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D039GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D039DATA= 'correctedng039.1.fits' / Drizzle, input data image                   
D039DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D039OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D039OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D039OUCO= '        '           / Drizzle, output context image                  
D039MASK= 'drmask.1.039.fits'  / Drizzle, input weighting image                 
D039WTSC=                 26.8 / Drizzle, weighting factor for input image      
D039KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D039PIXF=                 0.75 / Drizzle, linear size of drop                   
D039COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D039XGIM= '        '           / Drizzle, X distortion image name               
D039YGIM= '        '           / Drizzle, Y distortion image name               
D039LAM =                 555. / Drizzle, wavelength applied for transformation 
D039EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D039INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D039OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D039FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D039INXC=                 129. / Drizzle, reference center of input image (X)   
D039INYC=                 129. / Drizzle, reference center of input image (Y)   
D039OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D039OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D039SECP=                    F / Drizzle, there are no secondary geometric param
D040VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D040GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D040DATA= 'correctedng040.1.fits' / Drizzle, input data image                   
D040DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D040OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D040OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D040OUCO= '        '           / Drizzle, output context image                  
D040MASK= 'drmask.1.040.fits'  / Drizzle, input weighting image                 
D040WTSC=                 26.8 / Drizzle, weighting factor for input image      
D040KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D040PIXF=                 0.75 / Drizzle, linear size of drop                   
D040COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D040XGIM= '        '           / Drizzle, X distortion image name               
D040YGIM= '        '           / Drizzle, Y distortion image name               
D040LAM =                 555. / Drizzle, wavelength applied for transformation 
D040EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D040INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D040OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D040FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D040INXC=                 129. / Drizzle, reference center of input image (X)   
D040INYC=                 129. / Drizzle, reference center of input image (Y)   
D040OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D040OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D040SECP=                    F / Drizzle, there are no secondary geometric param
D041VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D041GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D041DATA= 'correctedng041.1.fits' / Drizzle, input data image                   
D041DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D041OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D041OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D041OUCO= '        '           / Drizzle, output context image                  
D041MASK= 'drmask.1.041.fits'  / Drizzle, input weighting image                 
D041WTSC=                 26.8 / Drizzle, weighting factor for input image      
D041KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D041PIXF=                 0.75 / Drizzle, linear size of drop                   
D041COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D041XGIM= '        '           / Drizzle, X distortion image name               
D041YGIM= '        '           / Drizzle, Y distortion image name               
D041LAM =                 555. / Drizzle, wavelength applied for transformation 
D041EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D041INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D041OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D041FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D041INXC=                 129. / Drizzle, reference center of input image (X)   
D041INYC=                 129. / Drizzle, reference center of input image (Y)   
D041OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D041OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D041SECP=                    F / Drizzle, there are no secondary geometric param
D042VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D042GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D042DATA= 'correctedng042.1.fits' / Drizzle, input data image                   
D042DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D042OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D042OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D042OUCO= '        '           / Drizzle, output context image                  
D042MASK= 'drmask.1.042.fits'  / Drizzle, input weighting image                 
D042WTSC=                 26.8 / Drizzle, weighting factor for input image      
D042KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D042PIXF=                 0.75 / Drizzle, linear size of drop                   
D042COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D042XGIM= '        '           / Drizzle, X distortion image name               
D042YGIM= '        '           / Drizzle, Y distortion image name               
D042LAM =                 555. / Drizzle, wavelength applied for transformation 
D042EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D042INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D042OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D042FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D042INXC=                 129. / Drizzle, reference center of input image (X)   
D042INYC=                 129. / Drizzle, reference center of input image (Y)   
D042OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D042OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D042SECP=                    F / Drizzle, there are no secondary geometric param
D043VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D043GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D043DATA= 'correctedng043.1.fits' / Drizzle, input data image                   
D043DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D043OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D043OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D043OUCO= '        '           / Drizzle, output context image                  
D043MASK= 'drmask.1.043.fits'  / Drizzle, input weighting image                 
D043WTSC=                 26.8 / Drizzle, weighting factor for input image      
D043KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D043PIXF=                 0.75 / Drizzle, linear size of drop                   
D043COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D043XGIM= '        '           / Drizzle, X distortion image name               
D043YGIM= '        '           / Drizzle, Y distortion image name               
D043LAM =                 555. / Drizzle, wavelength applied for transformation 
D043EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D043INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D043OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D043FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D043INXC=                 129. / Drizzle, reference center of input image (X)   
D043INYC=                 129. / Drizzle, reference center of input image (Y)   
D043OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D043OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D043SECP=                    F / Drizzle, there are no secondary geometric param
D044VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D044GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D044DATA= 'correctedng044.1.fits' / Drizzle, input data image                   
D044DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D044OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D044OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D044OUCO= '        '           / Drizzle, output context image                  
D044MASK= 'drmask.1.044.fits'  / Drizzle, input weighting image                 
D044WTSC=                 26.8 / Drizzle, weighting factor for input image      
D044KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D044PIXF=                 0.75 / Drizzle, linear size of drop                   
D044COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D044XGIM= '        '           / Drizzle, X distortion image name               
D044YGIM= '        '           / Drizzle, Y distortion image name               
D044LAM =                 555. / Drizzle, wavelength applied for transformation 
D044EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D044INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D044OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D044FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D044INXC=                 129. / Drizzle, reference center of input image (X)   
D044INYC=                 129. / Drizzle, reference center of input image (Y)   
D044OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D044OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D044SECP=                    F / Drizzle, there are no secondary geometric param
D045VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D045GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D045DATA= 'correctedng045.1.fits' / Drizzle, input data image                   
D045DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D045OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D045OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D045OUCO= '        '           / Drizzle, output context image                  
D045MASK= 'drmask.1.045.fits'  / Drizzle, input weighting image                 
D045WTSC=                 26.8 / Drizzle, weighting factor for input image      
D045KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D045PIXF=                 0.75 / Drizzle, linear size of drop                   
D045COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D045XGIM= '        '           / Drizzle, X distortion image name               
D045YGIM= '        '           / Drizzle, Y distortion image name               
D045LAM =                 555. / Drizzle, wavelength applied for transformation 
D045EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D045INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D045OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D045FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D045INXC=                 129. / Drizzle, reference center of input image (X)   
D045INYC=                 129. / Drizzle, reference center of input image (Y)   
D045OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D045OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D045SECP=                    F / Drizzle, there are no secondary geometric param
D046VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D046GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D046DATA= 'correctedng046.1.fits' / Drizzle, input data image                   
D046DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D046OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D046OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D046OUCO= '        '           / Drizzle, output context image                  
D046MASK= 'drmask.1.046.fits'  / Drizzle, input weighting image                 
D046WTSC=                 26.8 / Drizzle, weighting factor for input image      
D046KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D046PIXF=                 0.75 / Drizzle, linear size of drop                   
D046COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D046XGIM= '        '           / Drizzle, X distortion image name               
D046YGIM= '        '           / Drizzle, Y distortion image name               
D046LAM =                 555. / Drizzle, wavelength applied for transformation 
D046EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D046INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D046OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D046FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D046INXC=                 129. / Drizzle, reference center of input image (X)   
D046INYC=                 129. / Drizzle, reference center of input image (Y)   
D046OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D046OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D046SECP=                    F / Drizzle, there are no secondary geometric param
D047VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D047GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D047DATA= 'correctedng047.1.fits' / Drizzle, input data image                   
D047DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D047OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D047OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D047OUCO= '        '           / Drizzle, output context image                  
D047MASK= 'drmask.1.047.fits'  / Drizzle, input weighting image                 
D047WTSC=                 26.8 / Drizzle, weighting factor for input image      
D047KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D047PIXF=                 0.75 / Drizzle, linear size of drop                   
D047COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D047XGIM= '        '           / Drizzle, X distortion image name               
D047YGIM= '        '           / Drizzle, Y distortion image name               
D047LAM =                 555. / Drizzle, wavelength applied for transformation 
D047EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D047INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D047OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D047FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D047INXC=                 129. / Drizzle, reference center of input image (X)   
D047INYC=                 129. / Drizzle, reference center of input image (Y)   
D047OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D047OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D047SECP=                    F / Drizzle, there are no secondary geometric param
D048VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D048GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D048DATA= 'correctedng048.1.fits' / Drizzle, input data image                   
D048DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D048OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D048OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D048OUCO= '        '           / Drizzle, output context image                  
D048MASK= 'drmask.1.048.fits'  / Drizzle, input weighting image                 
D048WTSC=                 26.8 / Drizzle, weighting factor for input image      
D048KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D048PIXF=                 0.75 / Drizzle, linear size of drop                   
D048COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D048XGIM= '        '           / Drizzle, X distortion image name               
D048YGIM= '        '           / Drizzle, Y distortion image name               
D048LAM =                 555. / Drizzle, wavelength applied for transformation 
D048EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D048INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D048OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D048FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D048INXC=                 129. / Drizzle, reference center of input image (X)   
D048INYC=                 129. / Drizzle, reference center of input image (Y)   
D048OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D048OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D048SECP=                    F / Drizzle, there are no secondary geometric param
D049VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D049GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D049DATA= 'correctedng049.1.fits' / Drizzle, input data image                   
D049DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D049OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D049OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D049OUCO= '        '           / Drizzle, output context image                  
D049MASK= 'drmask.1.049.fits'  / Drizzle, input weighting image                 
D049WTSC=                 26.8 / Drizzle, weighting factor for input image      
D049KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D049PIXF=                 0.75 / Drizzle, linear size of drop                   
D049COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D049XGIM= '        '           / Drizzle, X distortion image name               
D049YGIM= '        '           / Drizzle, Y distortion image name               
D049LAM =                 555. / Drizzle, wavelength applied for transformation 
D049EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D049INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D049OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D049FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D049INXC=                 129. / Drizzle, reference center of input image (X)   
D049INYC=                 129. / Drizzle, reference center of input image (Y)   
D049OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D049OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D049SECP=                    F / Drizzle, there are no secondary geometric param
D050VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D050GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D050DATA= 'correctedng050.1.fits' / Drizzle, input data image                   
D050DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D050OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D050OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D050OUCO= '        '           / Drizzle, output context image                  
D050MASK= 'drmask.1.050.fits'  / Drizzle, input weighting image                 
D050WTSC=                 26.8 / Drizzle, weighting factor for input image      
D050KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D050PIXF=                 0.75 / Drizzle, linear size of drop                   
D050COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D050XGIM= '        '           / Drizzle, X distortion image name               
D050YGIM= '        '           / Drizzle, Y distortion image name               
D050LAM =                 555. / Drizzle, wavelength applied for transformation 
D050EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D050INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D050OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D050FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D050INXC=                 129. / Drizzle, reference center of input image (X)   
D050INYC=                 129. / Drizzle, reference center of input image (Y)   
D050OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D050OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D050SECP=                    F / Drizzle, there are no secondary geometric param
D051VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D051GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D051DATA= 'correctedng051.1.fits' / Drizzle, input data image                   
D051DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D051OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D051OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D051OUCO= '        '           / Drizzle, output context image                  
D051MASK= 'drmask.1.051.fits'  / Drizzle, input weighting image                 
D051WTSC=                 26.8 / Drizzle, weighting factor for input image      
D051KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D051PIXF=                 0.75 / Drizzle, linear size of drop                   
D051COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D051XGIM= '        '           / Drizzle, X distortion image name               
D051YGIM= '        '           / Drizzle, Y distortion image name               
D051LAM =                 555. / Drizzle, wavelength applied for transformation 
D051EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D051INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D051OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D051FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D051INXC=                 129. / Drizzle, reference center of input image (X)   
D051INYC=                 129. / Drizzle, reference center of input image (Y)   
D051OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D051OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D051SECP=                    F / Drizzle, there are no secondary geometric param
D052VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D052GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D052DATA= 'correctedng052.1.fits' / Drizzle, input data image                   
D052DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D052OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D052OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D052OUCO= '        '           / Drizzle, output context image                  
D052MASK= 'drmask.1.052.fits'  / Drizzle, input weighting image                 
D052WTSC=                 26.8 / Drizzle, weighting factor for input image      
D052KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D052PIXF=                 0.75 / Drizzle, linear size of drop                   
D052COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D052XGIM= '        '           / Drizzle, X distortion image name               
D052YGIM= '        '           / Drizzle, Y distortion image name               
D052LAM =                 555. / Drizzle, wavelength applied for transformation 
D052EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D052INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D052OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D052FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D052INXC=                 129. / Drizzle, reference center of input image (X)   
D052INYC=                 129. / Drizzle, reference center of input image (Y)   
D052OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D052OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D052SECP=                    F / Drizzle, there are no secondary geometric param
D053VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D053GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D053DATA= 'correctedng053.1.fits' / Drizzle, input data image                   
D053DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D053OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D053OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D053OUCO= '        '           / Drizzle, output context image                  
D053MASK= 'drmask.1.053.fits'  / Drizzle, input weighting image                 
D053WTSC=                 26.8 / Drizzle, weighting factor for input image      
D053KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D053PIXF=                 0.75 / Drizzle, linear size of drop                   
D053COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D053XGIM= '        '           / Drizzle, X distortion image name               
D053YGIM= '        '           / Drizzle, Y distortion image name               
D053LAM =                 555. / Drizzle, wavelength applied for transformation 
D053EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D053INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D053OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D053FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D053INXC=                 129. / Drizzle, reference center of input image (X)   
D053INYC=                 129. / Drizzle, reference center of input image (Y)   
D053OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D053OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D053SECP=                    F / Drizzle, there are no secondary geometric param
D054VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D054GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D054DATA= 'correctedng054.1.fits' / Drizzle, input data image                   
D054DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D054OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D054OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D054OUCO= '        '           / Drizzle, output context image                  
D054MASK= 'drmask.1.054.fits'  / Drizzle, input weighting image                 
D054WTSC=                 26.8 / Drizzle, weighting factor for input image      
D054KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D054PIXF=                 0.75 / Drizzle, linear size of drop                   
D054COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D054XGIM= '        '           / Drizzle, X distortion image name               
D054YGIM= '        '           / Drizzle, Y distortion image name               
D054LAM =                 555. / Drizzle, wavelength applied for transformation 
D054EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D054INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D054OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D054FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D054INXC=                 129. / Drizzle, reference center of input image (X)   
D054INYC=                 129. / Drizzle, reference center of input image (Y)   
D054OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D054OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D054SECP=                    F / Drizzle, there are no secondary geometric param
D055VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D055GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D055DATA= 'correctedng055.1.fits' / Drizzle, input data image                   
D055DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D055OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D055OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D055OUCO= '        '           / Drizzle, output context image                  
D055MASK= 'drmask.1.055.fits'  / Drizzle, input weighting image                 
D055WTSC=                 26.8 / Drizzle, weighting factor for input image      
D055KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D055PIXF=                 0.75 / Drizzle, linear size of drop                   
D055COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D055XGIM= '        '           / Drizzle, X distortion image name               
D055YGIM= '        '           / Drizzle, Y distortion image name               
D055LAM =                 555. / Drizzle, wavelength applied for transformation 
D055EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D055INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D055OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D055FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D055INXC=                 129. / Drizzle, reference center of input image (X)   
D055INYC=                 129. / Drizzle, reference center of input image (Y)   
D055OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D055OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D055SECP=                    F / Drizzle, there are no secondary geometric param
D056VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D056GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D056DATA= 'correctedng056.1.fits' / Drizzle, input data image                   
D056DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D056OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D056OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D056OUCO= '        '           / Drizzle, output context image                  
D056MASK= 'drmask.1.056.fits'  / Drizzle, input weighting image                 
D056WTSC=                 26.8 / Drizzle, weighting factor for input image      
D056KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D056PIXF=                 0.75 / Drizzle, linear size of drop                   
D056COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D056XGIM= '        '           / Drizzle, X distortion image name               
D056YGIM= '        '           / Drizzle, Y distortion image name               
D056LAM =                 555. / Drizzle, wavelength applied for transformation 
D056EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D056INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D056OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D056FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D056INXC=                 129. / Drizzle, reference center of input image (X)   
D056INYC=                 129. / Drizzle, reference center of input image (Y)   
D056OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D056OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D056SECP=                    F / Drizzle, there are no secondary geometric param
SINGSVRS= '25aug09 '                                                            
BACK_SUB= 'F       '                                                            
S4GVRS  = '30oct09 '                                                            
P1DATE  = '2010-04-09'                                                          
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
COMMENT data-image modified by make_sigma_image.pro   2-Sep-2010 18:44:02.00    
COMMENT NaNs removed                                                            
COMMENT exptime set to 1 second                                                 
COMMENT subtracted sky value      0.108854                                      
DATASUM = '2711404515'         / data unit checksum created 2010-09-02T15:44:02 

In [54]:
Z.shape


Out[54]:
(1853L, 1535L)

In [60]:
# ax1,ax2 = plt.subplots(ncols=2, nrows=1, figsize=[16, 8])
plt.figure(figsize=[20, 8])
quadmesh = plt.pcolormesh(X[500:800, 300:1000], Y[500:800, 300:1000], Z[500:800, 300:1000]*280*cos_i, cmap=cm.jet, norm=matplotlib.colors.LogNorm())
quadmesh.set_clim(vmin=1., vmax=1000.)
plt.colorbar()

plt.plot([650, 715],[670,670],'-', lw=5)
plt.plot([650, round(650+65*1.5)],[670,670],'-', lw=4, color='g')
plt.plot([650, round(650+65*4.4)],[670,670],'-', lw=2, color='r')

plt.scatter([650.], [678.], [50.], marker='o', color='m')



CS = plt.contour(X[500:800, 300:1000], Y[500:800, 300:1000], Z[500:800, 300:1000]*280*cos_i, levels=[10., 100.], colors=('blue', 'm'))
# plt.clabel(CS, inline=1, fontsize=10)

# quadmesh.cmap.set_under('white')



In [61]:
Sigma_s_Leroy = Z*280*cos_i

Оооооочень похоже на его усредненные радиальные данные.

TODO: использовать вместо $r$


In [ ]:


In [ ]:
venga (59, 413)   (458, 1112)
s4g (104, 338)    (262, 563)

In [107]:
(458.-59.)/(262.-104.), (1112.-413.)/(563.-338.), 65/50.


Out[107]:
(2.5253164556962027, 3.1066666666666665, 1.3)

In [ ]:


In [108]:
import matplotlib.patches as patches

plt.figure(figsize=[20, 8])
X,Y = np.meshgrid(np.arange(0.,len(data[0]),1), np.arange(0.,len(data),1))
quadmesh = plt.pcolormesh(X[500:800, 300:1000], Y[500:800, 300:1000], Z[500:800, 300:1000]*280*cos_i, cmap=cm.jet, norm=matplotlib.colors.LogNorm())
quadmesh.set_clim(vmin=1., vmax=1000.)
plt.colorbar()

plt.scatter([650.], [678.], [50.], marker='o', color='m')

CS = plt.contour(X[500:800, 300:1000], Y[500:800, 300:1000], Z[500:800, 300:1000]*280*cos_i, levels=[10., 100.], colors=('blue', 'm'))

# scalex = 2.5/2.5253164556962027
# scaley = 2.5/3.1066666666666665

scalex = 1/1.3
scaley = 1/1.3

rect = patches.Rectangle((650. - 175.92/scalex, 678. - 53.82/scaley), 157.3/scalex+175.92/scalex, 53.82/scaley + 55.42/scaley, linewidth=1,edgecolor='r',facecolor='none')
plt.gca().add_patch(rect)

# plt.clabel(CS, inline=1, fontsize=10)

# quadmesh.cmap.set_under('white')


Out[108]:
<matplotlib.patches.Rectangle at 0x9da65da0>

In [112]:
plt.figure(figsize=[20, 8])
log_fR_ = np.load('log_fR_.npy')

X,Y = np.meshgrid(np.arange(0.,1553,1), np.arange(0.,513,1))
quadmesh = plt.pcolormesh(X, Y, log_fR_, cmap=cm.gist_yarg)
quadmesh.set_clim(vmin=-17.5, vmax=-15.5)
plt.colorbar()

X,Y = np.meshgrid(np.arange(0.,len(data[0]),1), np.arange(0.,len(data),1))
CS = plt.contour(X[608:750, 421:854], Y[608:750, 421:854], Z[608:750, 421:854]*280*cos_i, levels=[50., 100.], aspect='auto', alpha=0.5)



In [ ]:
# # PXSCAL1 =    -1.22334117768332 / [arcsec/pix] Scale for axis 1 at CRPIX1,CRPIX2 
# # PXSCAL2 =     1.22328355209902 / [arcsec/pix] Scale for axis 2 at CRPIX1,CRPIX2 

# X,Y = np.meshgrid(np.linspace(650. - 175.92/1.22334117768332, 650.+157.3/1.22334117768332, 1553), np.linspace(678. - 53.82/1.22328355209902, 678. + 55.42/1.22328355209902, 513))
# CS = plt.contour(X, Y, Z[500:800, 300:1000]*280*cos_i, levels=[40.], aspect='auto', alpha=0.5)
# plt.clabel(CS, inline=1, fontsize=10)

In [113]:
from scipy.interpolate import (
    LinearNDInterpolator, RectBivariateSpline,
    RegularGridInterpolator)
from scipy.ndimage import map_coordinates

xgrid = np.arange(0.,len(Sigma_s_Leroy),1)
ygrid = np.arange(0.,len(Sigma_s_Leroy[0]),1)
f_2d_grid = Sigma_s_Leroy[::-1, :]

yinterp = np.linspace(650. - 175.92*1.3, 650.+157.3*1.3, 1553)
xinterp = np.linspace(678. - 53.82*1.3, 678. + 55.42*1.3, 513)
print min(xinterp), max(xinterp), min(yinterp), max(yinterp)


608.034 750.046 421.304 854.49

In [ ]:
points_x, points_y = np.broadcast_arrays(xgrid.reshape(-1,1), ygrid)
points = np.vstack((points_x.flatten(),
                    points_y.flatten())).T
values = f_2d_grid.flatten()
f_2d_interp = LinearNDInterpolator(points, values)

In [115]:
plt.figure(figsize=[30, 12])
tmp = f_2d_interp(xinterp.reshape(-1,1), yinterp)
plt.imshow(f_2d_interp(xinterp.reshape(-1,1), yinterp))
# plt.xlim(min(xinterp), max(xinterp))


Out[115]:
<matplotlib.image.AxesImage at 0x104395f98>

In [121]:
plt.figure(figsize=[30, 24])
plt.subplot(2, 1, 1)

log_fR_ = np.load('log_fR_.npy')

X,Y = np.meshgrid(np.arange(0.,1553,1), np.arange(0.,513,1))
quadmesh = plt.pcolormesh(X, Y, log_fR_, cmap=cm.gist_yarg)
# CS = plt.contour(X, Y, log_fR, levels=[5., 10., 20.], aspect='auto', alpha=0.5)
quadmesh.set_clim(vmin=-17.5, vmax=-15.5)
plt.colorbar()

# X,Y = np.meshgrid(np.linspace(512. - 175.92/1.5, 512.+157.3/1.5, 1553), np.linspace(512. - 53.82/1.5, 512. + 55.42/1.5, 513))
# CS = plt.contour(X, Y, sig_los, levels=[40.], aspect='auto', alpha=0.5)
# plt.clabel(CS, inline=1, fontsize=10)

plt.subplot(2, 1, 2)
# X,Y = np.meshgrid(np.linspace(512. - 175.92/1.5, 512.+157.3/1.5, 1553), np.linspace(512. - 53.82/1.5, 512. + 55.42/1.5, 513))
quadmesh2 = plt.pcolormesh(X, Y, tmp[::-1, :], cmap=cm.gist_yarg)
quadmesh2.set_clim(vmin=1., vmax=1000.)
plt.colorbar()

# X,Y = np.meshgrid(np.linspace(512. - 175.92/1.5, 512.+157.3/1.5, 1553), np.linspace(512. - 53.82/1.5, 512. + 55.42/1.5, 513))
CS = plt.contour(X, Y, tmp[::-1, :], levels=[50., 70.], aspect='auto', alpha=0.5)
# plt.clabel(CS, inline=1, fontsize=10)



In [ ]:


In [ ]:

Из http://www.oulu.fi/astronomy/S4G_PIPELINE4/P4_paper1_010914_v2.pdf

$\mu_{3.6} = −2.5\log_{10} F + 5 \log_{10} pix + zp,$ pix = 0.75 and the zeropoint at 3.6 µm is zp = 21.097

и затем формулу (А5) из https://arxiv.org/pdf/1304.6083v1.pdf $\log_{10}\Sigma_∗(M_{\circ}{kpc}^{−2}) = 16.76 − 0.4\mu_{3.6}(AB_{mag} {arcsec}^{−2})$

http://iopscience.iop.org/article/10.1088/0004-637X/744/1/17/pdf

Unless otherwise specified, all images are presented in units of MJy sr−1. For conversion to mag arcsec−2 relative to Vega, we use the zero-point fluxes 280.9, 179.7, and 64.13 Jy at 3.6, 4.5, and 8μm, respectively (Reach et al. 2005), and the 2MASS H-band magnitude zero point provided in the image header (Jarrett et al. 2000). Surface brightnesses in units of L pc−2 are also derived using the value of the absolute magnitude of the Sun in the IRAC 3.6μm band, M3.6  = 3.24 mag, calculated by Oh et al. (2008).

По идее zero-flux - это то, на что мы делим.


In [44]:
- 2.5*np.log10(1000000*280.9)


Out[44]:
-21.121379348003945

TODO: почему домножать, если делить??


In [55]:
def s4g_surf_density(mu=None, M_to_L=None):
    return M_to_L*np.power(10., 16.76 - 0.4*mu)/1000000.

def s4g_flux_to_mu(flux, zero):
    return -2.5*np.log10(flux) + 2.5*np.log10(1000000*zero) + 5*np.log10(0.74)

Z = np.apply_along_axis(lambda l: s4g_surf_density(s4g_flux_to_mu(l, 280.9), M_to_L=0.6), 0, s4g_stellar)
# Z = np.apply_along_axis(lambda l: s4g_flux_to_mu(l, 280.9), 0, s4g_stellar)

In [88]:
hdulist = fits.open('NGC0628.stellar.fits')
hdulist[0].header


Out[88]:
SIMPLE  =                    T / Written by IDL:  Fri Aug 22 13:25:08 2014      
BITPIX  =                  -32 / Bits per pixel                                 
NAXIS   =                    2 / Number of axes                                 
NAXIS1  =                  853 /Number of positions along axis 1                
NAXIS2  =                 1029 /Number of positions along axis 2                
EXTEND  =                    T / File may contain extensions                    
COMMENT 3.6um s1 map, old stellar flux (S4G P5, ICA). M.Querejeta, Feb 2014     
ORIGIN  = 'NOAO-IRAF FITS Image Kernel July 2003' / FITS file originator        
DATE    = '2009-08-21T14:26:04' / Date FITS file was generated                  
IRAF-TLM= '2010-04-09T13:58:08' / Time of last modification                     
OBJECT  = 'NGC628  '           / Name of the object observed                    
CREATOR = 'S18.7.0 '           / SW version used to create this FITS file       
TELESCOP= 'Spitzer '           / SPITZER Space Telescope                        
INSTRUME= 'IRAC    '           / SPITZER Space Telescope instrument ID          
CHNLNUM =                    1 / 1 digit instrument channel number              
EXPTYPE = 'sci     '           / Exposure Type                                  
REQTYPE = 'AOR     '           / Request type (AOR, IER, or  SER)               
AOT_TYPE= 'IracMap '           / Observation template type                      
AORLABEL= 'IRAC-N0628'         / AOR Label                                      
FOVID   =                   81 / Field of View ID                               
FOVNAME = 'IRAC_FOV_bwn_3.6&5.8_and_4.5&8.0_for_mapping' / Field of View Name   
                                                                                
          / PROPOSAL INFORMATION                                                
                                                                                
OBSRVR  = 'Robert Kennicutt'   / Observer Name (Last, First)                    
OBSRVRID=                  101 / Observer ID of Principal Investigator          
PROCYCL =                    2 / Proposal Cycle                                 
PROGID  =                  159 / Program ID                                     
PROTITLE= 'SINGS: The Spitzer Infrared Nearby Galaxies Survey -- Physics of the'
PROGCAT =                   27 / Program Category                               
                                                                                
          / TIME AND EXPOSURE INFORMATION                                       
                                                                                
DATE_OBS= '2004-07-28T15:05:05.928' / Date & time at DCE start                  
MJD_OBS =        53214.6285408 / [days] MJD at DCE start (,JD-2400000.5)        
HMJD_OBS=         53214.628929 / [days] Corresponding Heliocen. Mod. Julian Date
UTCS_OBS=        144299105.928 / [sec] J2000 ephem. time at DCE start           
SCLK_OBS=        775494411.015 / [sec] SCLK time (since 1/1/1980) at DCE start  
SPTZR_X =      80771019.142087 / [km] Heliocentric J2000 x position             
SPTZR_Y =    -118740138.161766 / [km] Heliocentric J2000 y position             
SPTZR_Z =     -52318884.553983 / [km] Heliocentric J2000 z position             
SPTZR_VX=            24.984386 / [km/s] Heliocentric J2000 x velocity           
SPTZR_VY=            13.833275 / [km/s] Heliocentric J2000 y velocity           
SPTZR_VZ=             6.610328 / [km/s] Heliocentric J2000 z velocity           
SPTZR_LT=           509.823488 / [sec] One-way light time to Sun's center       
ET_OBS  =        144299170.112 / [sec] Ephemeris time (seconds past J2000 epoch)
AORTIME =                  30. / [sec] Duration of AOR                          
SAMPTIME=                  0.2 / [sec] Sample integration time                  
FRAMTIME=                  30. / [sec] Time spent integrating (whole array)     
COMMENT   Photons in Well = Flux[photons/sec/pixel] * FRAMTIME                  
EXPTIME =               1500.8 / [sec] Effective integration time per pixel     
COMMENT   DN per pixel = Flux[photons/sec/pixel] / GAIN * EXPTIME               
FRAMEDLY=               710.21 / [sec] Frame Delay Time                         
FRDLYDET= 'T       '           / Frame Delay Time Determinable (T or F)         
INTRFDLY=                 1.98 / [sec] Inter Frame Delay Time                   
IMDLYDET= 'T       '           / Immediate Delay Time Determinable (T or F)     
AINTBEG =            845222.65 / [Secs since IRAC turn-on] Time of integ. start 
ATIMEEND=             845252.6 / [Secs since IRAC turn-on] Time of integ. end   
AFOWLNUM=                   16 / Fowler number                                  
AWAITPER=                  118 / [0.2 sec] Wait period                          
ANUMREPS=                    1 / Number of repeat integrations                  
AREADMOD=                    0 / Full (0) or subarray (1)                       
HDRMODE =                    T / DCE taken in High Dynamic Range mode           
HDRFRAME= '    long'           / Position in HDR observation                    
HDRCYCLE=                    1 / Cycle of HDR observation                       
ABARREL =                    4 / Barrel shift                                   
APEDSIG =                    0 / 0=Normal, 1=Pedestal, 2=Signal                 
                                                                                
          / TARGET AND POINTING INFORMATION                                     
                                                                                
OBJTYPE = 'TargetFixedSingle'  / Object Type                                    
CRPIX1  =              426.000 / Reference pixel along axis 1                   
CRPIX2  =              514.000 / Reference pixel along axis 2                   
CRVAL1  =              24.1739 / [deg] RA at CRPIX1,CRPIX2 (using Pointing Recon
CRVAL2  =              15.7836 / [deg] DEC at CRPIX1,CRPIX2 (using Pointing Reco
CRDER1  = 3.52020129654682E-05 / [deg] Uncertainty in CRVAL1                    
CRDER2  = 3.48067151605475E-05 / [deg] Uncertainty in CRVAL2                    
RA_HMS  = '01h36m33.1s'        / [hh:mm:ss.s] CRVAL1 as sexagesimal             
DEC_DMS = '+15d42m04s'         / [dd:mm:ss] CRVAL2 as sexagesimal               
RADESYS = 'ICRS    '           / International Celestial Reference System       
EQUINOX =                2000. / Equinox for ICRS celestial coord. system       
CD1_1   =  -2.0833333333333E-4 / Corrected CD matrix element with Pointing Recon
CD1_2   =                   0. / Corrected CD matrix element with Pointing Reco 
CD2_1   =                   0. / Corrected CD matrix element with Pointing Reco 
CD2_2   =  2.08333333333333E-4 / Corrected CD matrix element with Pointing Reco 
CTYPE1  = 'RA---TAN'           / RA---TAN with distortion in pixel space        
CTYPE2  = 'DEC--TAN'           / DEC--TAN with distortion in pixel space        
PXSCAL1 =    -1.22334117768332 / [arcsec/pix] Scale for axis 1 at CRPIX1,CRPIX2 
PXSCAL2 =     1.22328355209902 / [arcsec/pix] Scale for axis 2 at CRPIX1,CRPIX2 
PA      =                  0.0 / [deg] Position angle of axis 2 (E of N) (was OR
UNCRTPA =   0.0004794047897317 / [deg] Uncertainty in position angle            
CSDRADEC= 1.34144761074998E-06 / [deg] Costandard deviation in RA and Dec       
SIGRA   =   0.0161048083211143 / [arcsec] RMS dispersion of RA over DCE         
SIGDEC  =    0.080939444030765 / [arcsec] RMS dispersion of DEC over DCE        
SIGPA   =   0.0626389654894276 / [arcsec] RMS dispersion of PA over DCE         
PA      =    -111.538368712306 / [deg] Position angle of axis 2 (E of N) (was OR
RA_RQST =     24.1378103908803 / [deg] Requested RA at CRPIX1, CRPIX2           
DEC_RQST=     15.7011488551707 / [deg] Requested Dec at CRPIX1, CRPIX2          
PM_RA   =                   0. / [arcsec/yr] Proper Motion in RA (J2000)        
PM_DEC  =                   0. / [arcsec/yr] Proper Motion in Dec (J200)        
RMS_JIT =   0.0193582693621055 / [arcsec] RMS jitter during DCE                 
RMS_JITY=   0.0146011299353916 / [arcsec] RMS jitter during DCE along Y         
RMS_JITZ=   0.0127102162572335 / [arcsec] RMS jitter during DCE along Z         
SIG_JTYZ=  0.00437036203238336 / [arcsec] Costadard deviation of jitter in YZ   
PTGDIFF =    0.221809801715655 / [arcsec] Offset btwn actual and rqsted pntng   
PTGDIFFX=  -0.0245845987141704 / [pixels] rqsted - actual pntng along axis 1    
PTGDIFFY=   -0.220401443050503 / [pixels] rqsted - actual pntng along axis 2    
RA_REF  =             24.17375 / [deg] Commanded RA (J2000) of ref. position    
DEC_REF =     15.7831669444445 / [deg] Commanded Dec (J2000) of ref. position   
USEDBPHF=                    T / T if Boresight Pointing History File was used  
BPHFNAME= 'SBPHF.0775483200.031.pntg' / Boresight Pointing History Filename     
FOVVERSN= 'BodyFrames_FTU_14a.xls' / FOV/BodyFrames file version used           
RECONFOV= 'IRAC_Center_of_3.6umArray' / Reconstructed Field of View             
ORIG_RA =      24.137809753418 / [deg] Original RA from raw BPHF (without pointi
ORIG_DEC=     15.7011680603027 / [deg] Original Dec from raw BPHF (without point
ORIGCD11=      0.0001250584173 / [deg/pix] Original CD1_1 element (without point
ORIGCD12=      -0.000316073274 / [deg/pix] Original CD1_2 element (without point
ORIGCD21=     -0.0003159686457 / [deg/pix] Original CD2_1 element (without point
ORIGCD22=     -0.0001247493201 / [deg/pix] Original CD2_2 element (without point
                                                                                
                                                                                
                                                                                
          / DISTORTION KEYWORDS                                                 
                                                                                
A_ORDER =                    3 / polynomial order, axis 1, detector to sky      
A_0_2   =           2.9656E-06 / distortion coefficient                         
A_0_3   =           3.7746E-09 / distortion coefficient                         
A_1_1   =           2.1886E-05 / distortion coefficient                         
A_1_2   =          -1.6847E-07 / distortion coefficient                         
A_2_0   =          -2.3863E-05 / distortion coefficient                         
A_2_1   =           -8.561E-09 / distortion coefficient                         
A_3_0   =          -1.4172E-07 / distortion coefficient                         
A_DMAX  =                1.394 / [pixel] maximum correction                     
B_ORDER =                    3 / polynomial order, axis 2, detector to sky      
B_0_2   =             2.31E-05 / distortion coefficient                         
B_0_3   =          -1.6168E-07 / distortion coefficient                         
B_1_1   =          -2.4386E-05 / distortion coefficient                         
B_1_2   =          -5.7813E-09 / distortion coefficient                         
B_2_0   =           2.1197E-06 / distortion coefficient                         
B_2_1   =          -1.6583E-07 / distortion coefficient                         
B_3_0   =          -2.0249E-08 / distortion coefficient                         
B_DMAX  =                1.501 / [pixel] maximum correction                     
AP_ORDER=                    3 / polynomial order, axis 1, sky to detector      
AP_0_1  =          -6.4275E-07 / distortion coefficient                         
AP_0_2  =          -2.9425E-06 / distortion coefficient                         
AP_0_3  =           -3.582E-09 / distortion coefficient                         
AP_1_0  =          -1.4897E-05 / distortion coefficient                         
AP_1_1  =           -2.225E-05 / distortion coefficient                         
AP_1_2  =           1.7195E-07 / distortion coefficient                         
AP_2_0  =           2.4146E-05 / distortion coefficient                         
AP_2_1  =            6.709E-09 / distortion coefficient                         
AP_3_0  =           1.4492E-07 / distortion coefficient                         
BP_ORDER=                    3 / polynomial order, axis 2, sky to detector      
BP_0_1  =          -1.6588E-05 / distortion coefficient                         
BP_0_2  =          -2.3424E-05 / distortion coefficient                         
BP_0_3  =            1.651E-07 / distortion coefficient                         
BP_1_0  =          -2.6783E-06 / distortion coefficient                         
BP_1_1  =           2.4753E-05 / distortion coefficient                         
BP_1_2  =           3.8917E-09 / distortion coefficient                         
BP_2_0  =           -2.151E-06 / distortion coefficient                         
BP_2_1  =              1.7E-07 / distortion coefficient                         
BP_3_0  =           2.0482E-08 / distortion coefficient                         
                                                                                
          / PHOTOMETRY                                                          
                                                                                
BUNIT   = 'MJy/sr  '           / Units of image data                            
FLUXCONV=               0.1088 / Flux Conv. factor (MJy/sr per DN/sec)          
GAIN    =                  3.3 / e/DN conversion                                
RONOISE =                  7.8 / [Electrons] Readout Noise from Array           
ZODY_EST=             0.135313 / [MJy/sr] Zodiacal Background Estimate          
ISM_EST =          0.007307361 / [MJy/sr] Interstellar Medium Estimate          
CIB_EST =                   0. / [MJy/sr] Cosmic Infrared Background Estimate   
SKYDRKZB=             0.040008 / [MJy/sr] Zodiacal Background Est of Subtracted 
SKYDKMED=             0.076904 / [MJy/sr] Median of Subtracted Skydark          
SKDKRKEY=             11666944 / Skydark AOR Reqkey                             
SKDKTIME=                  30. / [sec] Skydark AOR Duration Time                
SKDKFDLY=                13.35 / [sec] Average Frame Delay Time of Skydark      
SKDKIDLY=                 1.89 / [sec] Average Immediate Delay Time of Skydark  
                                                                                
          / GENERAL MAPPING KEYWORDS                                            
                                                                                
CYCLENUM=                    1 / Current cycle number                           
COLUMN  =                    1 / Current column number                          
ROW     =                    1 / Current row number                             
MAPNUM  =                    1 / Current map cycle number                       
DITHPOS =                    1 / Current dither position                        
                                                                                
          / IRAC MAPPING KEYWORDS                                               
                                                                                
READMODE= 'FULL    '           / Readout mode                                   
COLSTEP =                146.6 / [arcsec] Column step size                      
ROWSTEP =                146.6 / [arcsec] Row step size                         
COLOFF  =                 -3.3 / [arcsec] Column map center offset              
ROWOFF  =                 -3.3 / [arcsec] Row map center offset                 
MAPCOORD= 'Array   '           / Array or celestial coordinates                 
DITHSCAL= 'small   '           / Dither scale (small, medium, large)            
                                                                                
          / INSTRUMENT TELEMETRY DATA                                           
                                                                                
ASHTCON =                    2 / Shutter condition (1:closed, 2: open)          
AWEASIDE=                    0 / WEA side in use (0:B, 1:A)                     
ACTXSTAT=                    0 / Cmded transcal status                          
ATXSTAT =                    0 / transcal status                                
ACFLSTAT=                    0 / Cmded floodcal status                          
AFLSTAT =                    0 / floodcal status                                
AVRSTUCC=                 -3.5 / [Volts] Cmded VRSTUC Bias                      
AVRSTBEG=           -3.5114367 / [Volts] VRSTUC Bias at start integration       
AVDETC  =                -2.75 / [Volts] Cmded VDET Bias                        
AVDETBEG=           -2.7578687 / [Volts] VDET Bias at start of integration      
AVGG1C  =                -3.65 / [Volts] Cmded VGG1 Bias                        
AVGG1BEG=           -3.2078801 / [Volts] VGG1 Bias at start of integration      
AVDDUCC =                   -3 / [Volts] Cmded VDDUC Bias                       
AVDDUBEG=                   -3 / [Volts] VDDUC Bias at start integration        
AVGGCLC =                    1 / [Volts] Cmnded VGGCL clock rail voltage        
AVGGCBEG=                    1 / [Volts] VGGCL clock rail voltage               
AHTRIBEG=            204.90478 / [uAmps] Heater current at start of integ       
AHTRVBEG=            2.3900636 / [Volts] Heater Voltage at start integ.         
AFPAT2B =            15.023121 / [Deg_K] FPA Temp sensor #2 at start integ.     
AFPAT2BT=            845196.13 / [Sec] FPA Temp sensor #2 time tag              
AFPAT2E =            15.023121 / [Deg_K] FPA temp sensor #2, end integ.         
AFPAT2ET=            845226.35 / [Sec] FPA temp sensor #2 time tag              
ACTENDT =            19.980523 / [Deg_C] C&T board thermistor                   
AFPECTE =             17.86685 / [Deg_C] FPE control board thermistor           
AFPEATE =            21.200587 / [Deg_C] FPE analog board thermistor            
ASHTEMPE=            21.108313 / [Deg_C] Shutter board thermistor               
ATCTEMPE=            22.297065 / [Deg_C] Temp. controller board thermistor      
ACETEMPE=            19.950042 / [Deg_C] Calib. electronics board thermistor    
APDTEMPE=            20.376773 / [Deg_C] PDU board thermistor                   
ACATMP1E=            1.3152074 / [Deg_K] CA Temp, end integration for temp1     
ACATMP2E=            1.2981968 / [Deg_K] CA Temp, end integration for temp2     
ACATMP3E=            1.3303045 / [Deg_K] CA Temp, end integration for temp3     
ACATMP4E=            1.3271083 / [Deg_K] CA Temp, end integration for temp4     
ACATMP5E=            1.3252261 / [Deg_K] CA Temp, end integration for temp5     
ACATMP6E=            1.3237207 / [Deg_K] CA Temp, end integration for temp6     
ACATMP7E=             1.322523 / [Deg_K] CA Temp, end integration for temp7     
ACATMP8E=            1.3155912 / [Deg_K] CA Temp, end integration for temp8     
                                                                                
          / DATA FLOW KEYWORDS                                                  
                                                                                
ORIGIN0 = 'JPL_FOS '           / Site where RAW FITS file was written           
CREATOR0= 'J5.3    '           / SW system that created RAW FITS                
AORKEY  =              5513728 / AOR or EIR key. Astrnmy Obs Req/Instr Eng Req  
DS_IDENT= 'ads/sa.spitzer#0005513728' / Data Set Identification for ADS/journals
EXPID   =                    1 / Exposure ID (0-9999)                           
DCENUM  =                    0 / DCE number (0-9999)                            
TLMGRPS =                    1 / expected number of groups                      
FILE_VER=                    1 / Version of the raw file made by SIS            
RAWFILE = 'IRAC.1.0005513728.0001.0000.01.mipl.fits' / Raw data file name       
CPT_VER = '3.0.98  '           / Channel Param Table FOS versioN                
CTD_VER = '3.0.94S '           / Cmded telemetry data version                   
EXPDFLAG=                    F / (T/F) expedited DCE                            
MISS_LCT=                    0 / Total Missed Line Cnt in this FITS             
MANCPKT =                    F / T if this FITS is Missing Ancillary Data       
MISSDATA=                    F / T if this FITS is Missing Image Data           
CHECKSUM= 'U8pAV6o5U6oAU6o3'   / HDU checksum updated 2014-08-22T11:25:09       
PAONUM  =                  681 / PAO Number                                     
CAMPAIGN= 'IRAC005000'         / Campaign                                       
DCEID   =             16921117 / Data-Collection-Event ID                       
DCEINSID=              3194218 / DCE Instance ID                                
DPID    =            241340497 / Data Product Instance ID                       
PIPENUM =                  107 / Pipeline Script Number                         
SOS_VER =                    1 / Data-Product Version                           
PLVID   =                    4 / Pipeline Version ID                            
CALID   =                    6 / CalTrans Version ID                            
                                                                                
SDRKEPID=              4862819 / Sky Dark ensemble product ID                   
                                                                                
PMSKFBID=                 1238 / Pixel mask ID                                  
LDRKFBID=                  908 / Fall-back lab dark ID                          
LINCFBID=                  357 / Fall-back Linearity correction ID              
FLATFBID=                 1157 / Fall-back flat ID                              
FLXCFBID=                 1025 / Flux conversion ID                             
MBLTFBID=                 1183 / Muxbleed Lookup Table ID                       
MBCFFBID=                 1172 / Muxbleed Coefficients ID                       
LBDRKFLE= 'HDR_30s_30sf16d1r1_ch1_v1.2.0_dark.txt' / Labdark File Used          
LBDRKTD = 'T       '           / Labdark Time Dependent (T or F)                
                                                                                
                                                                                
                                                                                
          / PROCESSING HISTORY                                                  
                                                                                
HISTORY job.c ver: 1.50                                                         
HISTORY TRANHEAD                  v.         13.0, ran Mon May  4 18:10:06 2009 
HISTORY CALTRANS                 v.        4.0, ran Mon May  4 18:10:12 2009    
HISTORY INSBPOSDOM                v.          1.1, ran Mon May  4 18:10:13 2009 
HISTORY cvti2r4           v.  1.31 A61025, generated  5/04/09 at 18:10:14       
HISTORY hdrupd8           v.  1.6  A70821,  updated   5/04/09 at 18:10:16       
HISTORY hdrupd8           v.  1.6  A70821,  updated   5/04/09 at 18:10:17       
HISTORY hdrupd8           v.  1.6  A70821,  updated   5/04/09 at 18:10:18       
HISTORY hdrupd8           v.  1.6  A70821,  updated   5/04/09 at 18:10:19       
HISTORY hdrupd8           v.  1.6  A70821,  updated   5/04/09 at 18:10:21       
HISTORY hdrupd8           v.  1.6  A70821,  updated   5/04/09 at 18:10:22       
HISTORY hdrupd8           v.  1.6  A70821,  updated   5/04/09 at 18:10:23       
HISTORY FFC                       v.          1.0, ran Mon May  4 18:10:24 2009 
HISTORY MUXBLEEDCORR              v.        1.600, ran Mon May  4 18:10:26 2009 
HISTORY FOWLINEARIZE              v.     4.900000, ran Mon May  4 18:10:26 2009 
HISTORY hdrupd8           v.  1.6  A70821,  updated   5/04/09 at 18:10:27       
HISTORY BGMODEL                   v.          1.0, ran Mon May  4 18:10:28 2009 
HISTORY SLREMOVE                  v.          1.0, ran Mon May  4 18:10:28 2009 
HISTORY hdrupd8           v.  1.6  A70821,  updated   5/04/09 at 18:10:29       
HISTORY hdrupd8           v.  1.6  A70821,  updated   5/04/09 at 18:10:30       
HISTORY hdrupd8           v.  1.6  A70821,  updated   5/04/09 at 18:10:32       
HISTORY hdrupd8           v.  1.6  A70821,  updated   5/04/09 at 18:10:33       
HISTORY hdrupd8           v.  1.6  A70821,  updated   5/04/09 at 18:10:34       
HISTORY hdrupd8           v.  1.6  A70821,  updated   5/04/09 at 18:10:36       
HISTORY DARKSUBNG                 v. 1.000, ran Mon May  4 18:10:36 2009        
HISTORY DARKDRIFT                 v.          4.1, ran Mon May  4 18:10:37 2009 
HISTORY FLATAP                    v. 1.500   Mon May  4 18:10:38 2009           
HISTORY DNTOFLUX                  v.          4.1, ran Mon May  4 18:10:42 2009 
HISTORY PREDICTSAT                v.     3.600000, ran Mon May  4 18:13:12 2009 
HISTORY CALTRANS                 v.        4.0, ran Mon May  4 18:17:20 2009    
HISTORY PTNTRAN                   v.          1.4, ran Mon May  4 18:17:23 2009 
HISTORY FPGen                     v.         1.25, ran Mon May  4 18:17:27 2009 
HISTORY PTGADJUST                 v.          1.0, ran Mon May  4 18:19:29 2009 
BACKGRND=                    0                                                  
NDRIZIM =                   56 / Drizzle, number of images drizzled onto this ou
D001VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D001GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D001DATA= 'correctedng001.1.fits' / Drizzle, input data image                   
D001DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D001OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D001OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D001OUCO= '        '           / Drizzle, output context image                  
D001MASK= 'drmask.1.001.fits'  / Drizzle, input weighting image                 
D001WTSC=                 26.8 / Drizzle, weighting factor for input image      
D001KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D001PIXF=                 0.75 / Drizzle, linear size of drop                   
D001COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D001XGIM= '        '           / Drizzle, X distortion image name               
D001YGIM= '        '           / Drizzle, Y distortion image name               
D001LAM =                 555. / Drizzle, wavelength applied for transformation 
D001EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D001INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D001OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D001FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D001INXC=                 129. / Drizzle, reference center of input image (X)   
D001INYC=                 129. / Drizzle, reference center of input image (Y)   
D001OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D001OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D001SECP=                    F / Drizzle, there are no secondary geometric param
D002VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D002GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D002DATA= 'correctedng002.1.fits' / Drizzle, input data image                   
D002DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D002OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D002OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D002OUCO= '        '           / Drizzle, output context image                  
D002MASK= 'drmask.1.002.fits'  / Drizzle, input weighting image                 
D002WTSC=                 26.8 / Drizzle, weighting factor for input image      
D002KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D002PIXF=                 0.75 / Drizzle, linear size of drop                   
D002COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D002XGIM= '        '           / Drizzle, X distortion image name               
D002YGIM= '        '           / Drizzle, Y distortion image name               
D002LAM =                 555. / Drizzle, wavelength applied for transformation 
D002EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D002INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D002OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D002FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D002INXC=                 129. / Drizzle, reference center of input image (X)   
D002INYC=                 129. / Drizzle, reference center of input image (Y)   
D002OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D002OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D002SECP=                    F / Drizzle, there are no secondary geometric param
D003VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D003GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D003DATA= 'correctedng003.1.fits' / Drizzle, input data image                   
D003DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D003OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D003OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D003OUCO= '        '           / Drizzle, output context image                  
D003MASK= 'drmask.1.003.fits'  / Drizzle, input weighting image                 
D003WTSC=                 26.8 / Drizzle, weighting factor for input image      
D003KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D003PIXF=                 0.75 / Drizzle, linear size of drop                   
D003COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D003XGIM= '        '           / Drizzle, X distortion image name               
D003YGIM= '        '           / Drizzle, Y distortion image name               
D003LAM =                 555. / Drizzle, wavelength applied for transformation 
D003EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D003INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D003OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D003FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D003INXC=                 129. / Drizzle, reference center of input image (X)   
D003INYC=                 129. / Drizzle, reference center of input image (Y)   
D003OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D003OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D003SECP=                    F / Drizzle, there are no secondary geometric param
D004VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D004GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D004DATA= 'correctedng004.1.fits' / Drizzle, input data image                   
D004DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D004OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D004OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D004OUCO= '        '           / Drizzle, output context image                  
D004MASK= 'drmask.1.004.fits'  / Drizzle, input weighting image                 
D004WTSC=                 26.8 / Drizzle, weighting factor for input image      
D004KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D004PIXF=                 0.75 / Drizzle, linear size of drop                   
D004COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D004XGIM= '        '           / Drizzle, X distortion image name               
D004YGIM= '        '           / Drizzle, Y distortion image name               
D004LAM =                 555. / Drizzle, wavelength applied for transformation 
D004EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D004INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D004OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D004FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D004INXC=                 129. / Drizzle, reference center of input image (X)   
D004INYC=                 129. / Drizzle, reference center of input image (Y)   
D004OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D004OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D004SECP=                    F / Drizzle, there are no secondary geometric param
D005VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D005GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D005DATA= 'correctedng005.1.fits' / Drizzle, input data image                   
D005DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D005OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D005OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D005OUCO= '        '           / Drizzle, output context image                  
D005MASK= 'drmask.1.005.fits'  / Drizzle, input weighting image                 
D005WTSC=                 26.8 / Drizzle, weighting factor for input image      
D005KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D005PIXF=                 0.75 / Drizzle, linear size of drop                   
D005COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D005XGIM= '        '           / Drizzle, X distortion image name               
D005YGIM= '        '           / Drizzle, Y distortion image name               
D005LAM =                 555. / Drizzle, wavelength applied for transformation 
D005EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D005INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D005OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D005FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D005INXC=                 129. / Drizzle, reference center of input image (X)   
D005INYC=                 129. / Drizzle, reference center of input image (Y)   
D005OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D005OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D005SECP=                    F / Drizzle, there are no secondary geometric param
D006VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D006GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D006DATA= 'correctedng006.1.fits' / Drizzle, input data image                   
D006DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D006OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D006OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D006OUCO= '        '           / Drizzle, output context image                  
D006MASK= 'drmask.1.006.fits'  / Drizzle, input weighting image                 
D006WTSC=                 26.8 / Drizzle, weighting factor for input image      
D006KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D006PIXF=                 0.75 / Drizzle, linear size of drop                   
D006COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D006XGIM= '        '           / Drizzle, X distortion image name               
D006YGIM= '        '           / Drizzle, Y distortion image name               
D006LAM =                 555. / Drizzle, wavelength applied for transformation 
D006EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D006INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D006OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D006FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D006INXC=                 129. / Drizzle, reference center of input image (X)   
D006INYC=                 129. / Drizzle, reference center of input image (Y)   
D006OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D006OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D006SECP=                    F / Drizzle, there are no secondary geometric param
D007VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D007GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D007DATA= 'correctedng007.1.fits' / Drizzle, input data image                   
D007DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D007OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D007OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D007OUCO= '        '           / Drizzle, output context image                  
D007MASK= 'drmask.1.007.fits'  / Drizzle, input weighting image                 
D007WTSC=                 26.8 / Drizzle, weighting factor for input image      
D007KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D007PIXF=                 0.75 / Drizzle, linear size of drop                   
D007COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D007XGIM= '        '           / Drizzle, X distortion image name               
D007YGIM= '        '           / Drizzle, Y distortion image name               
D007LAM =                 555. / Drizzle, wavelength applied for transformation 
D007EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D007INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D007OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D007FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D007INXC=                 129. / Drizzle, reference center of input image (X)   
D007INYC=                 129. / Drizzle, reference center of input image (Y)   
D007OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D007OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D007SECP=                    F / Drizzle, there are no secondary geometric param
D008VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D008GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D008DATA= 'correctedng008.1.fits' / Drizzle, input data image                   
D008DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D008OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D008OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D008OUCO= '        '           / Drizzle, output context image                  
D008MASK= 'drmask.1.008.fits'  / Drizzle, input weighting image                 
D008WTSC=                 26.8 / Drizzle, weighting factor for input image      
D008KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D008PIXF=                 0.75 / Drizzle, linear size of drop                   
D008COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D008XGIM= '        '           / Drizzle, X distortion image name               
D008YGIM= '        '           / Drizzle, Y distortion image name               
D008LAM =                 555. / Drizzle, wavelength applied for transformation 
D008EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D008INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D008OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D008FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D008INXC=                 129. / Drizzle, reference center of input image (X)   
D008INYC=                 129. / Drizzle, reference center of input image (Y)   
D008OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D008OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D008SECP=                    F / Drizzle, there are no secondary geometric param
D009VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D009GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D009DATA= 'correctedng009.1.fits' / Drizzle, input data image                   
D009DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D009OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D009OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D009OUCO= '        '           / Drizzle, output context image                  
D009MASK= 'drmask.1.009.fits'  / Drizzle, input weighting image                 
D009WTSC=                 26.8 / Drizzle, weighting factor for input image      
D009KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D009PIXF=                 0.75 / Drizzle, linear size of drop                   
D009COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D009XGIM= '        '           / Drizzle, X distortion image name               
D009YGIM= '        '           / Drizzle, Y distortion image name               
D009LAM =                 555. / Drizzle, wavelength applied for transformation 
D009EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D009INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D009OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D009FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D009INXC=                 129. / Drizzle, reference center of input image (X)   
D009INYC=                 129. / Drizzle, reference center of input image (Y)   
D009OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D009OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D009SECP=                    F / Drizzle, there are no secondary geometric param
D010VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D010GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D010DATA= 'correctedng010.1.fits' / Drizzle, input data image                   
D010DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D010OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D010OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D010OUCO= '        '           / Drizzle, output context image                  
D010MASK= 'drmask.1.010.fits'  / Drizzle, input weighting image                 
D010WTSC=                 26.8 / Drizzle, weighting factor for input image      
D010KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D010PIXF=                 0.75 / Drizzle, linear size of drop                   
D010COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D010XGIM= '        '           / Drizzle, X distortion image name               
D010YGIM= '        '           / Drizzle, Y distortion image name               
D010LAM =                 555. / Drizzle, wavelength applied for transformation 
D010EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D010INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D010OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D010FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D010INXC=                 129. / Drizzle, reference center of input image (X)   
D010INYC=                 129. / Drizzle, reference center of input image (Y)   
D010OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D010OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D010SECP=                    F / Drizzle, there are no secondary geometric param
D011VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D011GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D011DATA= 'correctedng011.1.fits' / Drizzle, input data image                   
D011DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D011OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D011OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D011OUCO= '        '           / Drizzle, output context image                  
D011MASK= 'drmask.1.011.fits'  / Drizzle, input weighting image                 
D011WTSC=                 26.8 / Drizzle, weighting factor for input image      
D011KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D011PIXF=                 0.75 / Drizzle, linear size of drop                   
D011COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D011XGIM= '        '           / Drizzle, X distortion image name               
D011YGIM= '        '           / Drizzle, Y distortion image name               
D011LAM =                 555. / Drizzle, wavelength applied for transformation 
D011EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D011INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D011OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D011FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D011INXC=                 129. / Drizzle, reference center of input image (X)   
D011INYC=                 129. / Drizzle, reference center of input image (Y)   
D011OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D011OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D011SECP=                    F / Drizzle, there are no secondary geometric param
D012VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D012GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D012DATA= 'correctedng012.1.fits' / Drizzle, input data image                   
D012DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D012OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D012OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D012OUCO= '        '           / Drizzle, output context image                  
D012MASK= 'drmask.1.012.fits'  / Drizzle, input weighting image                 
D012WTSC=                 26.8 / Drizzle, weighting factor for input image      
D012KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D012PIXF=                 0.75 / Drizzle, linear size of drop                   
D012COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D012XGIM= '        '           / Drizzle, X distortion image name               
D012YGIM= '        '           / Drizzle, Y distortion image name               
D012LAM =                 555. / Drizzle, wavelength applied for transformation 
D012EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D012INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D012OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D012FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D012INXC=                 129. / Drizzle, reference center of input image (X)   
D012INYC=                 129. / Drizzle, reference center of input image (Y)   
D012OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D012OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D012SECP=                    F / Drizzle, there are no secondary geometric param
D013VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D013GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D013DATA= 'correctedng013.1.fits' / Drizzle, input data image                   
D013DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D013OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D013OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D013OUCO= '        '           / Drizzle, output context image                  
D013MASK= 'drmask.1.013.fits'  / Drizzle, input weighting image                 
D013WTSC=                 26.8 / Drizzle, weighting factor for input image      
D013KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D013PIXF=                 0.75 / Drizzle, linear size of drop                   
D013COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D013XGIM= '        '           / Drizzle, X distortion image name               
D013YGIM= '        '           / Drizzle, Y distortion image name               
D013LAM =                 555. / Drizzle, wavelength applied for transformation 
D013EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D013INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D013OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D013FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D013INXC=                 129. / Drizzle, reference center of input image (X)   
D013INYC=                 129. / Drizzle, reference center of input image (Y)   
D013OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D013OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D013SECP=                    F / Drizzle, there are no secondary geometric param
D014VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D014GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D014DATA= 'correctedng014.1.fits' / Drizzle, input data image                   
D014DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D014OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D014OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D014OUCO= '        '           / Drizzle, output context image                  
D014MASK= 'drmask.1.014.fits'  / Drizzle, input weighting image                 
D014WTSC=                 26.8 / Drizzle, weighting factor for input image      
D014KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D014PIXF=                 0.75 / Drizzle, linear size of drop                   
D014COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D014XGIM= '        '           / Drizzle, X distortion image name               
D014YGIM= '        '           / Drizzle, Y distortion image name               
D014LAM =                 555. / Drizzle, wavelength applied for transformation 
D014EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D014INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D014OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D014FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D014INXC=                 129. / Drizzle, reference center of input image (X)   
D014INYC=                 129. / Drizzle, reference center of input image (Y)   
D014OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D014OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D014SECP=                    F / Drizzle, there are no secondary geometric param
D015VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D015GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D015DATA= 'correctedng015.1.fits' / Drizzle, input data image                   
D015DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D015OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D015OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D015OUCO= '        '           / Drizzle, output context image                  
D015MASK= 'drmask.1.015.fits'  / Drizzle, input weighting image                 
D015WTSC=                 26.8 / Drizzle, weighting factor for input image      
D015KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D015PIXF=                 0.75 / Drizzle, linear size of drop                   
D015COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D015XGIM= '        '           / Drizzle, X distortion image name               
D015YGIM= '        '           / Drizzle, Y distortion image name               
D015LAM =                 555. / Drizzle, wavelength applied for transformation 
D015EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D015INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D015OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D015FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D015INXC=                 129. / Drizzle, reference center of input image (X)   
D015INYC=                 129. / Drizzle, reference center of input image (Y)   
D015OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D015OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D015SECP=                    F / Drizzle, there are no secondary geometric param
D016VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D016GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D016DATA= 'correctedng016.1.fits' / Drizzle, input data image                   
D016DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D016OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D016OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D016OUCO= '        '           / Drizzle, output context image                  
D016MASK= 'drmask.1.016.fits'  / Drizzle, input weighting image                 
D016WTSC=                 26.8 / Drizzle, weighting factor for input image      
D016KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D016PIXF=                 0.75 / Drizzle, linear size of drop                   
D016COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D016XGIM= '        '           / Drizzle, X distortion image name               
D016YGIM= '        '           / Drizzle, Y distortion image name               
D016LAM =                 555. / Drizzle, wavelength applied for transformation 
D016EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D016INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D016OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D016FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D016INXC=                 129. / Drizzle, reference center of input image (X)   
D016INYC=                 129. / Drizzle, reference center of input image (Y)   
D016OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D016OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D016SECP=                    F / Drizzle, there are no secondary geometric param
D017VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D017GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D017DATA= 'correctedng017.1.fits' / Drizzle, input data image                   
D017DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D017OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D017OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D017OUCO= '        '           / Drizzle, output context image                  
D017MASK= 'drmask.1.017.fits'  / Drizzle, input weighting image                 
D017WTSC=                 26.8 / Drizzle, weighting factor for input image      
D017KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D017PIXF=                 0.75 / Drizzle, linear size of drop                   
D017COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D017XGIM= '        '           / Drizzle, X distortion image name               
D017YGIM= '        '           / Drizzle, Y distortion image name               
D017LAM =                 555. / Drizzle, wavelength applied for transformation 
D017EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D017INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D017OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D017FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D017INXC=                 129. / Drizzle, reference center of input image (X)   
D017INYC=                 129. / Drizzle, reference center of input image (Y)   
D017OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D017OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D017SECP=                    F / Drizzle, there are no secondary geometric param
D018VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D018GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D018DATA= 'correctedng018.1.fits' / Drizzle, input data image                   
D018DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D018OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D018OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D018OUCO= '        '           / Drizzle, output context image                  
D018MASK= 'drmask.1.018.fits'  / Drizzle, input weighting image                 
D018WTSC=                 26.8 / Drizzle, weighting factor for input image      
D018KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D018PIXF=                 0.75 / Drizzle, linear size of drop                   
D018COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D018XGIM= '        '           / Drizzle, X distortion image name               
D018YGIM= '        '           / Drizzle, Y distortion image name               
D018LAM =                 555. / Drizzle, wavelength applied for transformation 
D018EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D018INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D018OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D018FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D018INXC=                 129. / Drizzle, reference center of input image (X)   
D018INYC=                 129. / Drizzle, reference center of input image (Y)   
D018OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D018OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D018SECP=                    F / Drizzle, there are no secondary geometric param
D019VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D019GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D019DATA= 'correctedng019.1.fits' / Drizzle, input data image                   
D019DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D019OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D019OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D019OUCO= '        '           / Drizzle, output context image                  
D019MASK= 'drmask.1.019.fits'  / Drizzle, input weighting image                 
D019WTSC=                 26.8 / Drizzle, weighting factor for input image      
D019KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D019PIXF=                 0.75 / Drizzle, linear size of drop                   
D019COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D019XGIM= '        '           / Drizzle, X distortion image name               
D019YGIM= '        '           / Drizzle, Y distortion image name               
D019LAM =                 555. / Drizzle, wavelength applied for transformation 
D019EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D019INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D019OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D019FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D019INXC=                 129. / Drizzle, reference center of input image (X)   
D019INYC=                 129. / Drizzle, reference center of input image (Y)   
D019OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D019OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D019SECP=                    F / Drizzle, there are no secondary geometric param
D020VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D020GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D020DATA= 'correctedng020.1.fits' / Drizzle, input data image                   
D020DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D020OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D020OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D020OUCO= '        '           / Drizzle, output context image                  
D020MASK= 'drmask.1.020.fits'  / Drizzle, input weighting image                 
D020WTSC=                 26.8 / Drizzle, weighting factor for input image      
D020KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D020PIXF=                 0.75 / Drizzle, linear size of drop                   
D020COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D020XGIM= '        '           / Drizzle, X distortion image name               
D020YGIM= '        '           / Drizzle, Y distortion image name               
D020LAM =                 555. / Drizzle, wavelength applied for transformation 
D020EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D020INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D020OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D020FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D020INXC=                 129. / Drizzle, reference center of input image (X)   
D020INYC=                 129. / Drizzle, reference center of input image (Y)   
D020OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D020OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D020SECP=                    F / Drizzle, there are no secondary geometric param
D021VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D021GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D021DATA= 'correctedng021.1.fits' / Drizzle, input data image                   
D021DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D021OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D021OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D021OUCO= '        '           / Drizzle, output context image                  
D021MASK= 'drmask.1.021.fits'  / Drizzle, input weighting image                 
D021WTSC=                 26.8 / Drizzle, weighting factor for input image      
D021KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D021PIXF=                 0.75 / Drizzle, linear size of drop                   
D021COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D021XGIM= '        '           / Drizzle, X distortion image name               
D021YGIM= '        '           / Drizzle, Y distortion image name               
D021LAM =                 555. / Drizzle, wavelength applied for transformation 
D021EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D021INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D021OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D021FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D021INXC=                 129. / Drizzle, reference center of input image (X)   
D021INYC=                 129. / Drizzle, reference center of input image (Y)   
D021OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D021OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D021SECP=                    F / Drizzle, there are no secondary geometric param
D022VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D022GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D022DATA= 'correctedng022.1.fits' / Drizzle, input data image                   
D022DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D022OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D022OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D022OUCO= '        '           / Drizzle, output context image                  
D022MASK= 'drmask.1.022.fits'  / Drizzle, input weighting image                 
D022WTSC=                 26.8 / Drizzle, weighting factor for input image      
D022KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D022PIXF=                 0.75 / Drizzle, linear size of drop                   
D022COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D022XGIM= '        '           / Drizzle, X distortion image name               
D022YGIM= '        '           / Drizzle, Y distortion image name               
D022LAM =                 555. / Drizzle, wavelength applied for transformation 
D022EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D022INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D022OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D022FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D022INXC=                 129. / Drizzle, reference center of input image (X)   
D022INYC=                 129. / Drizzle, reference center of input image (Y)   
D022OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D022OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D022SECP=                    F / Drizzle, there are no secondary geometric param
D023VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D023GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D023DATA= 'correctedng023.1.fits' / Drizzle, input data image                   
D023DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D023OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D023OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D023OUCO= '        '           / Drizzle, output context image                  
D023MASK= 'drmask.1.023.fits'  / Drizzle, input weighting image                 
D023WTSC=                 26.8 / Drizzle, weighting factor for input image      
D023KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D023PIXF=                 0.75 / Drizzle, linear size of drop                   
D023COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D023XGIM= '        '           / Drizzle, X distortion image name               
D023YGIM= '        '           / Drizzle, Y distortion image name               
D023LAM =                 555. / Drizzle, wavelength applied for transformation 
D023EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D023INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D023OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D023FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D023INXC=                 129. / Drizzle, reference center of input image (X)   
D023INYC=                 129. / Drizzle, reference center of input image (Y)   
D023OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D023OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D023SECP=                    F / Drizzle, there are no secondary geometric param
D024VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D024GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D024DATA= 'correctedng024.1.fits' / Drizzle, input data image                   
D024DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D024OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D024OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D024OUCO= '        '           / Drizzle, output context image                  
D024MASK= 'drmask.1.024.fits'  / Drizzle, input weighting image                 
D024WTSC=                 26.8 / Drizzle, weighting factor for input image      
D024KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D024PIXF=                 0.75 / Drizzle, linear size of drop                   
D024COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D024XGIM= '        '           / Drizzle, X distortion image name               
D024YGIM= '        '           / Drizzle, Y distortion image name               
D024LAM =                 555. / Drizzle, wavelength applied for transformation 
D024EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D024INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D024OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D024FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D024INXC=                 129. / Drizzle, reference center of input image (X)   
D024INYC=                 129. / Drizzle, reference center of input image (Y)   
D024OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D024OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D024SECP=                    F / Drizzle, there are no secondary geometric param
D025VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D025GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D025DATA= 'correctedng025.1.fits' / Drizzle, input data image                   
D025DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D025OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D025OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D025OUCO= '        '           / Drizzle, output context image                  
D025MASK= 'drmask.1.025.fits'  / Drizzle, input weighting image                 
D025WTSC=                 26.8 / Drizzle, weighting factor for input image      
D025KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D025PIXF=                 0.75 / Drizzle, linear size of drop                   
D025COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D025XGIM= '        '           / Drizzle, X distortion image name               
D025YGIM= '        '           / Drizzle, Y distortion image name               
D025LAM =                 555. / Drizzle, wavelength applied for transformation 
D025EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D025INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D025OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D025FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D025INXC=                 129. / Drizzle, reference center of input image (X)   
D025INYC=                 129. / Drizzle, reference center of input image (Y)   
D025OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D025OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D025SECP=                    F / Drizzle, there are no secondary geometric param
D026VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D026GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D026DATA= 'correctedng026.1.fits' / Drizzle, input data image                   
D026DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D026OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D026OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D026OUCO= '        '           / Drizzle, output context image                  
D026MASK= 'drmask.1.026.fits'  / Drizzle, input weighting image                 
D026WTSC=                 26.8 / Drizzle, weighting factor for input image      
D026KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D026PIXF=                 0.75 / Drizzle, linear size of drop                   
D026COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D026XGIM= '        '           / Drizzle, X distortion image name               
D026YGIM= '        '           / Drizzle, Y distortion image name               
D026LAM =                 555. / Drizzle, wavelength applied for transformation 
D026EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D026INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D026OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D026FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D026INXC=                 129. / Drizzle, reference center of input image (X)   
D026INYC=                 129. / Drizzle, reference center of input image (Y)   
D026OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D026OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D026SECP=                    F / Drizzle, there are no secondary geometric param
D027VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D027GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D027DATA= 'correctedng027.1.fits' / Drizzle, input data image                   
D027DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D027OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D027OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D027OUCO= '        '           / Drizzle, output context image                  
D027MASK= 'drmask.1.027.fits'  / Drizzle, input weighting image                 
D027WTSC=                 26.8 / Drizzle, weighting factor for input image      
D027KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D027PIXF=                 0.75 / Drizzle, linear size of drop                   
D027COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D027XGIM= '        '           / Drizzle, X distortion image name               
D027YGIM= '        '           / Drizzle, Y distortion image name               
D027LAM =                 555. / Drizzle, wavelength applied for transformation 
D027EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D027INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D027OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D027FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D027INXC=                 129. / Drizzle, reference center of input image (X)   
D027INYC=                 129. / Drizzle, reference center of input image (Y)   
D027OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D027OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D027SECP=                    F / Drizzle, there are no secondary geometric param
D028VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D028GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D028DATA= 'correctedng028.1.fits' / Drizzle, input data image                   
D028DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D028OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D028OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D028OUCO= '        '           / Drizzle, output context image                  
D028MASK= 'drmask.1.028.fits'  / Drizzle, input weighting image                 
D028WTSC=                 26.8 / Drizzle, weighting factor for input image      
D028KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D028PIXF=                 0.75 / Drizzle, linear size of drop                   
D028COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D028XGIM= '        '           / Drizzle, X distortion image name               
D028YGIM= '        '           / Drizzle, Y distortion image name               
D028LAM =                 555. / Drizzle, wavelength applied for transformation 
D028EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D028INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D028OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D028FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D028INXC=                 129. / Drizzle, reference center of input image (X)   
D028INYC=                 129. / Drizzle, reference center of input image (Y)   
D028OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D028OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D028SECP=                    F / Drizzle, there are no secondary geometric param
D029VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D029GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D029DATA= 'correctedng029.1.fits' / Drizzle, input data image                   
D029DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D029OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D029OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D029OUCO= '        '           / Drizzle, output context image                  
D029MASK= 'drmask.1.029.fits'  / Drizzle, input weighting image                 
D029WTSC=                 26.8 / Drizzle, weighting factor for input image      
D029KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D029PIXF=                 0.75 / Drizzle, linear size of drop                   
D029COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D029XGIM= '        '           / Drizzle, X distortion image name               
D029YGIM= '        '           / Drizzle, Y distortion image name               
D029LAM =                 555. / Drizzle, wavelength applied for transformation 
D029EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D029INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D029OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D029FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D029INXC=                 129. / Drizzle, reference center of input image (X)   
D029INYC=                 129. / Drizzle, reference center of input image (Y)   
D029OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D029OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D029SECP=                    F / Drizzle, there are no secondary geometric param
D030VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D030GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D030DATA= 'correctedng030.1.fits' / Drizzle, input data image                   
D030DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D030OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D030OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D030OUCO= '        '           / Drizzle, output context image                  
D030MASK= 'drmask.1.030.fits'  / Drizzle, input weighting image                 
D030WTSC=                 26.8 / Drizzle, weighting factor for input image      
D030KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D030PIXF=                 0.75 / Drizzle, linear size of drop                   
D030COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D030XGIM= '        '           / Drizzle, X distortion image name               
D030YGIM= '        '           / Drizzle, Y distortion image name               
D030LAM =                 555. / Drizzle, wavelength applied for transformation 
D030EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D030INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D030OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D030FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D030INXC=                 129. / Drizzle, reference center of input image (X)   
D030INYC=                 129. / Drizzle, reference center of input image (Y)   
D030OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D030OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D030SECP=                    F / Drizzle, there are no secondary geometric param
D031VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D031GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D031DATA= 'correctedng031.1.fits' / Drizzle, input data image                   
D031DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D031OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D031OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D031OUCO= '        '           / Drizzle, output context image                  
D031MASK= 'drmask.1.031.fits'  / Drizzle, input weighting image                 
D031WTSC=                 26.8 / Drizzle, weighting factor for input image      
D031KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D031PIXF=                 0.75 / Drizzle, linear size of drop                   
D031COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D031XGIM= '        '           / Drizzle, X distortion image name               
D031YGIM= '        '           / Drizzle, Y distortion image name               
D031LAM =                 555. / Drizzle, wavelength applied for transformation 
D031EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D031INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D031OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D031FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D031INXC=                 129. / Drizzle, reference center of input image (X)   
D031INYC=                 129. / Drizzle, reference center of input image (Y)   
D031OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D031OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D031SECP=                    F / Drizzle, there are no secondary geometric param
D032VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D032GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D032DATA= 'correctedng032.1.fits' / Drizzle, input data image                   
D032DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D032OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D032OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D032OUCO= '        '           / Drizzle, output context image                  
D032MASK= 'drmask.1.032.fits'  / Drizzle, input weighting image                 
D032WTSC=                 26.8 / Drizzle, weighting factor for input image      
D032KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D032PIXF=                 0.75 / Drizzle, linear size of drop                   
D032COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D032XGIM= '        '           / Drizzle, X distortion image name               
D032YGIM= '        '           / Drizzle, Y distortion image name               
D032LAM =                 555. / Drizzle, wavelength applied for transformation 
D032EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D032INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D032OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D032FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D032INXC=                 129. / Drizzle, reference center of input image (X)   
D032INYC=                 129. / Drizzle, reference center of input image (Y)   
D032OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D032OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D032SECP=                    F / Drizzle, there are no secondary geometric param
D033VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D033GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D033DATA= 'correctedng033.1.fits' / Drizzle, input data image                   
D033DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D033OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D033OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D033OUCO= '        '           / Drizzle, output context image                  
D033MASK= 'drmask.1.033.fits'  / Drizzle, input weighting image                 
D033WTSC=                 26.8 / Drizzle, weighting factor for input image      
D033KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D033PIXF=                 0.75 / Drizzle, linear size of drop                   
D033COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D033XGIM= '        '           / Drizzle, X distortion image name               
D033YGIM= '        '           / Drizzle, Y distortion image name               
D033LAM =                 555. / Drizzle, wavelength applied for transformation 
D033EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D033INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D033OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D033FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D033INXC=                 129. / Drizzle, reference center of input image (X)   
D033INYC=                 129. / Drizzle, reference center of input image (Y)   
D033OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D033OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D033SECP=                    F / Drizzle, there are no secondary geometric param
D034VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D034GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D034DATA= 'correctedng034.1.fits' / Drizzle, input data image                   
D034DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D034OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D034OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D034OUCO= '        '           / Drizzle, output context image                  
D034MASK= 'drmask.1.034.fits'  / Drizzle, input weighting image                 
D034WTSC=                 26.8 / Drizzle, weighting factor for input image      
D034KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D034PIXF=                 0.75 / Drizzle, linear size of drop                   
D034COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D034XGIM= '        '           / Drizzle, X distortion image name               
D034YGIM= '        '           / Drizzle, Y distortion image name               
D034LAM =                 555. / Drizzle, wavelength applied for transformation 
D034EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D034INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D034OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D034FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D034INXC=                 129. / Drizzle, reference center of input image (X)   
D034INYC=                 129. / Drizzle, reference center of input image (Y)   
D034OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D034OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D034SECP=                    F / Drizzle, there are no secondary geometric param
D035VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D035GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D035DATA= 'correctedng035.1.fits' / Drizzle, input data image                   
D035DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D035OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D035OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D035OUCO= '        '           / Drizzle, output context image                  
D035MASK= 'drmask.1.035.fits'  / Drizzle, input weighting image                 
D035WTSC=                 26.8 / Drizzle, weighting factor for input image      
D035KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D035PIXF=                 0.75 / Drizzle, linear size of drop                   
D035COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D035XGIM= '        '           / Drizzle, X distortion image name               
D035YGIM= '        '           / Drizzle, Y distortion image name               
D035LAM =                 555. / Drizzle, wavelength applied for transformation 
D035EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D035INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D035OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D035FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D035INXC=                 129. / Drizzle, reference center of input image (X)   
D035INYC=                 129. / Drizzle, reference center of input image (Y)   
D035OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D035OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D035SECP=                    F / Drizzle, there are no secondary geometric param
D036VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D036GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D036DATA= 'correctedng036.1.fits' / Drizzle, input data image                   
D036DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D036OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D036OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D036OUCO= '        '           / Drizzle, output context image                  
D036MASK= 'drmask.1.036.fits'  / Drizzle, input weighting image                 
D036WTSC=                 26.8 / Drizzle, weighting factor for input image      
D036KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D036PIXF=                 0.75 / Drizzle, linear size of drop                   
D036COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D036XGIM= '        '           / Drizzle, X distortion image name               
D036YGIM= '        '           / Drizzle, Y distortion image name               
D036LAM =                 555. / Drizzle, wavelength applied for transformation 
D036EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D036INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D036OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D036FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D036INXC=                 129. / Drizzle, reference center of input image (X)   
D036INYC=                 129. / Drizzle, reference center of input image (Y)   
D036OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D036OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D036SECP=                    F / Drizzle, there are no secondary geometric param
D037VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D037GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D037DATA= 'correctedng037.1.fits' / Drizzle, input data image                   
D037DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D037OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D037OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D037OUCO= '        '           / Drizzle, output context image                  
D037MASK= 'drmask.1.037.fits'  / Drizzle, input weighting image                 
D037WTSC=                 26.8 / Drizzle, weighting factor for input image      
D037KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D037PIXF=                 0.75 / Drizzle, linear size of drop                   
D037COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D037XGIM= '        '           / Drizzle, X distortion image name               
D037YGIM= '        '           / Drizzle, Y distortion image name               
D037LAM =                 555. / Drizzle, wavelength applied for transformation 
D037EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D037INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D037OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D037FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D037INXC=                 129. / Drizzle, reference center of input image (X)   
D037INYC=                 129. / Drizzle, reference center of input image (Y)   
D037OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D037OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D037SECP=                    F / Drizzle, there are no secondary geometric param
D038VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D038GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D038DATA= 'correctedng038.1.fits' / Drizzle, input data image                   
D038DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D038OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D038OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D038OUCO= '        '           / Drizzle, output context image                  
D038MASK= 'drmask.1.038.fits'  / Drizzle, input weighting image                 
D038WTSC=                 26.8 / Drizzle, weighting factor for input image      
D038KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D038PIXF=                 0.75 / Drizzle, linear size of drop                   
D038COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D038XGIM= '        '           / Drizzle, X distortion image name               
D038YGIM= '        '           / Drizzle, Y distortion image name               
D038LAM =                 555. / Drizzle, wavelength applied for transformation 
D038EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D038INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D038OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D038FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D038INXC=                 129. / Drizzle, reference center of input image (X)   
D038INYC=                 129. / Drizzle, reference center of input image (Y)   
D038OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D038OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D038SECP=                    F / Drizzle, there are no secondary geometric param
D039VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D039GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D039DATA= 'correctedng039.1.fits' / Drizzle, input data image                   
D039DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D039OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D039OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D039OUCO= '        '           / Drizzle, output context image                  
D039MASK= 'drmask.1.039.fits'  / Drizzle, input weighting image                 
D039WTSC=                 26.8 / Drizzle, weighting factor for input image      
D039KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D039PIXF=                 0.75 / Drizzle, linear size of drop                   
D039COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D039XGIM= '        '           / Drizzle, X distortion image name               
D039YGIM= '        '           / Drizzle, Y distortion image name               
D039LAM =                 555. / Drizzle, wavelength applied for transformation 
D039EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D039INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D039OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D039FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D039INXC=                 129. / Drizzle, reference center of input image (X)   
D039INYC=                 129. / Drizzle, reference center of input image (Y)   
D039OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D039OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D039SECP=                    F / Drizzle, there are no secondary geometric param
D040VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D040GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D040DATA= 'correctedng040.1.fits' / Drizzle, input data image                   
D040DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D040OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D040OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D040OUCO= '        '           / Drizzle, output context image                  
D040MASK= 'drmask.1.040.fits'  / Drizzle, input weighting image                 
D040WTSC=                 26.8 / Drizzle, weighting factor for input image      
D040KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D040PIXF=                 0.75 / Drizzle, linear size of drop                   
D040COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D040XGIM= '        '           / Drizzle, X distortion image name               
D040YGIM= '        '           / Drizzle, Y distortion image name               
D040LAM =                 555. / Drizzle, wavelength applied for transformation 
D040EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D040INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D040OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D040FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D040INXC=                 129. / Drizzle, reference center of input image (X)   
D040INYC=                 129. / Drizzle, reference center of input image (Y)   
D040OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D040OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D040SECP=                    F / Drizzle, there are no secondary geometric param
D041VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D041GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D041DATA= 'correctedng041.1.fits' / Drizzle, input data image                   
D041DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D041OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D041OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D041OUCO= '        '           / Drizzle, output context image                  
D041MASK= 'drmask.1.041.fits'  / Drizzle, input weighting image                 
D041WTSC=                 26.8 / Drizzle, weighting factor for input image      
D041KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D041PIXF=                 0.75 / Drizzle, linear size of drop                   
D041COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D041XGIM= '        '           / Drizzle, X distortion image name               
D041YGIM= '        '           / Drizzle, Y distortion image name               
D041LAM =                 555. / Drizzle, wavelength applied for transformation 
D041EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D041INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D041OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D041FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D041INXC=                 129. / Drizzle, reference center of input image (X)   
D041INYC=                 129. / Drizzle, reference center of input image (Y)   
D041OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D041OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D041SECP=                    F / Drizzle, there are no secondary geometric param
D042VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D042GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D042DATA= 'correctedng042.1.fits' / Drizzle, input data image                   
D042DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D042OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D042OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D042OUCO= '        '           / Drizzle, output context image                  
D042MASK= 'drmask.1.042.fits'  / Drizzle, input weighting image                 
D042WTSC=                 26.8 / Drizzle, weighting factor for input image      
D042KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D042PIXF=                 0.75 / Drizzle, linear size of drop                   
D042COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D042XGIM= '        '           / Drizzle, X distortion image name               
D042YGIM= '        '           / Drizzle, Y distortion image name               
D042LAM =                 555. / Drizzle, wavelength applied for transformation 
D042EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D042INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D042OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D042FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D042INXC=                 129. / Drizzle, reference center of input image (X)   
D042INYC=                 129. / Drizzle, reference center of input image (Y)   
D042OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D042OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D042SECP=                    F / Drizzle, there are no secondary geometric param
D043VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D043GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D043DATA= 'correctedng043.1.fits' / Drizzle, input data image                   
D043DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D043OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D043OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D043OUCO= '        '           / Drizzle, output context image                  
D043MASK= 'drmask.1.043.fits'  / Drizzle, input weighting image                 
D043WTSC=                 26.8 / Drizzle, weighting factor for input image      
D043KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D043PIXF=                 0.75 / Drizzle, linear size of drop                   
D043COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D043XGIM= '        '           / Drizzle, X distortion image name               
D043YGIM= '        '           / Drizzle, Y distortion image name               
D043LAM =                 555. / Drizzle, wavelength applied for transformation 
D043EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D043INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D043OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D043FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D043INXC=                 129. / Drizzle, reference center of input image (X)   
D043INYC=                 129. / Drizzle, reference center of input image (Y)   
D043OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D043OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D043SECP=                    F / Drizzle, there are no secondary geometric param
D044VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D044GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D044DATA= 'correctedng044.1.fits' / Drizzle, input data image                   
D044DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D044OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D044OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D044OUCO= '        '           / Drizzle, output context image                  
D044MASK= 'drmask.1.044.fits'  / Drizzle, input weighting image                 
D044WTSC=                 26.8 / Drizzle, weighting factor for input image      
D044KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D044PIXF=                 0.75 / Drizzle, linear size of drop                   
D044COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D044XGIM= '        '           / Drizzle, X distortion image name               
D044YGIM= '        '           / Drizzle, Y distortion image name               
D044LAM =                 555. / Drizzle, wavelength applied for transformation 
D044EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D044INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D044OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D044FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D044INXC=                 129. / Drizzle, reference center of input image (X)   
D044INYC=                 129. / Drizzle, reference center of input image (Y)   
D044OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D044OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D044SECP=                    F / Drizzle, there are no secondary geometric param
D045VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D045GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D045DATA= 'correctedng045.1.fits' / Drizzle, input data image                   
D045DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D045OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D045OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D045OUCO= '        '           / Drizzle, output context image                  
D045MASK= 'drmask.1.045.fits'  / Drizzle, input weighting image                 
D045WTSC=                 26.8 / Drizzle, weighting factor for input image      
D045KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D045PIXF=                 0.75 / Drizzle, linear size of drop                   
D045COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D045XGIM= '        '           / Drizzle, X distortion image name               
D045YGIM= '        '           / Drizzle, Y distortion image name               
D045LAM =                 555. / Drizzle, wavelength applied for transformation 
D045EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D045INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D045OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D045FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D045INXC=                 129. / Drizzle, reference center of input image (X)   
D045INYC=                 129. / Drizzle, reference center of input image (Y)   
D045OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D045OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D045SECP=                    F / Drizzle, there are no secondary geometric param
D046VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D046GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D046DATA= 'correctedng046.1.fits' / Drizzle, input data image                   
D046DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D046OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D046OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D046OUCO= '        '           / Drizzle, output context image                  
D046MASK= 'drmask.1.046.fits'  / Drizzle, input weighting image                 
D046WTSC=                 26.8 / Drizzle, weighting factor for input image      
D046KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D046PIXF=                 0.75 / Drizzle, linear size of drop                   
D046COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D046XGIM= '        '           / Drizzle, X distortion image name               
D046YGIM= '        '           / Drizzle, Y distortion image name               
D046LAM =                 555. / Drizzle, wavelength applied for transformation 
D046EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D046INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D046OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D046FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D046INXC=                 129. / Drizzle, reference center of input image (X)   
D046INYC=                 129. / Drizzle, reference center of input image (Y)   
D046OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D046OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D046SECP=                    F / Drizzle, there are no secondary geometric param
D047VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D047GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D047DATA= 'correctedng047.1.fits' / Drizzle, input data image                   
D047DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D047OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D047OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D047OUCO= '        '           / Drizzle, output context image                  
D047MASK= 'drmask.1.047.fits'  / Drizzle, input weighting image                 
D047WTSC=                 26.8 / Drizzle, weighting factor for input image      
D047KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D047PIXF=                 0.75 / Drizzle, linear size of drop                   
D047COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D047XGIM= '        '           / Drizzle, X distortion image name               
D047YGIM= '        '           / Drizzle, Y distortion image name               
D047LAM =                 555. / Drizzle, wavelength applied for transformation 
D047EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D047INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D047OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D047FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D047INXC=                 129. / Drizzle, reference center of input image (X)   
D047INYC=                 129. / Drizzle, reference center of input image (Y)   
D047OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D047OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D047SECP=                    F / Drizzle, there are no secondary geometric param
D048VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D048GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D048DATA= 'correctedng048.1.fits' / Drizzle, input data image                   
D048DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D048OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D048OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D048OUCO= '        '           / Drizzle, output context image                  
D048MASK= 'drmask.1.048.fits'  / Drizzle, input weighting image                 
D048WTSC=                 26.8 / Drizzle, weighting factor for input image      
D048KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D048PIXF=                 0.75 / Drizzle, linear size of drop                   
D048COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D048XGIM= '        '           / Drizzle, X distortion image name               
D048YGIM= '        '           / Drizzle, Y distortion image name               
D048LAM =                 555. / Drizzle, wavelength applied for transformation 
D048EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D048INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D048OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D048FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D048INXC=                 129. / Drizzle, reference center of input image (X)   
D048INYC=                 129. / Drizzle, reference center of input image (Y)   
D048OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D048OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D048SECP=                    F / Drizzle, there are no secondary geometric param
D049VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D049GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D049DATA= 'correctedng049.1.fits' / Drizzle, input data image                   
D049DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D049OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D049OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D049OUCO= '        '           / Drizzle, output context image                  
D049MASK= 'drmask.1.049.fits'  / Drizzle, input weighting image                 
D049WTSC=                 26.8 / Drizzle, weighting factor for input image      
D049KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D049PIXF=                 0.75 / Drizzle, linear size of drop                   
D049COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D049XGIM= '        '           / Drizzle, X distortion image name               
D049YGIM= '        '           / Drizzle, Y distortion image name               
D049LAM =                 555. / Drizzle, wavelength applied for transformation 
D049EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D049INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D049OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D049FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D049INXC=                 129. / Drizzle, reference center of input image (X)   
D049INYC=                 129. / Drizzle, reference center of input image (Y)   
D049OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D049OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D049SECP=                    F / Drizzle, there are no secondary geometric param
D050VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D050GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D050DATA= 'correctedng050.1.fits' / Drizzle, input data image                   
D050DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D050OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D050OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D050OUCO= '        '           / Drizzle, output context image                  
D050MASK= 'drmask.1.050.fits'  / Drizzle, input weighting image                 
D050WTSC=                 26.8 / Drizzle, weighting factor for input image      
D050KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D050PIXF=                 0.75 / Drizzle, linear size of drop                   
D050COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D050XGIM= '        '           / Drizzle, X distortion image name               
D050YGIM= '        '           / Drizzle, Y distortion image name               
D050LAM =                 555. / Drizzle, wavelength applied for transformation 
D050EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D050INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D050OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D050FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D050INXC=                 129. / Drizzle, reference center of input image (X)   
D050INYC=                 129. / Drizzle, reference center of input image (Y)   
D050OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D050OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D050SECP=                    F / Drizzle, there are no secondary geometric param
D051VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D051GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D051DATA= 'correctedng051.1.fits' / Drizzle, input data image                   
D051DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D051OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D051OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D051OUCO= '        '           / Drizzle, output context image                  
D051MASK= 'drmask.1.051.fits'  / Drizzle, input weighting image                 
D051WTSC=                 26.8 / Drizzle, weighting factor for input image      
D051KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D051PIXF=                 0.75 / Drizzle, linear size of drop                   
D051COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D051XGIM= '        '           / Drizzle, X distortion image name               
D051YGIM= '        '           / Drizzle, Y distortion image name               
D051LAM =                 555. / Drizzle, wavelength applied for transformation 
D051EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D051INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D051OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D051FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D051INXC=                 129. / Drizzle, reference center of input image (X)   
D051INYC=                 129. / Drizzle, reference center of input image (Y)   
D051OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D051OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D051SECP=                    F / Drizzle, there are no secondary geometric param
D052VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D052GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D052DATA= 'correctedng052.1.fits' / Drizzle, input data image                   
D052DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D052OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D052OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D052OUCO= '        '           / Drizzle, output context image                  
D052MASK= 'drmask.1.052.fits'  / Drizzle, input weighting image                 
D052WTSC=                 26.8 / Drizzle, weighting factor for input image      
D052KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D052PIXF=                 0.75 / Drizzle, linear size of drop                   
D052COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D052XGIM= '        '           / Drizzle, X distortion image name               
D052YGIM= '        '           / Drizzle, Y distortion image name               
D052LAM =                 555. / Drizzle, wavelength applied for transformation 
D052EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D052INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D052OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D052FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D052INXC=                 129. / Drizzle, reference center of input image (X)   
D052INYC=                 129. / Drizzle, reference center of input image (Y)   
D052OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D052OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D052SECP=                    F / Drizzle, there are no secondary geometric param
D053VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D053GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D053DATA= 'correctedng053.1.fits' / Drizzle, input data image                   
D053DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D053OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D053OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D053OUCO= '        '           / Drizzle, output context image                  
D053MASK= 'drmask.1.053.fits'  / Drizzle, input weighting image                 
D053WTSC=                 26.8 / Drizzle, weighting factor for input image      
D053KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D053PIXF=                 0.75 / Drizzle, linear size of drop                   
D053COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D053XGIM= '        '           / Drizzle, X distortion image name               
D053YGIM= '        '           / Drizzle, Y distortion image name               
D053LAM =                 555. / Drizzle, wavelength applied for transformation 
D053EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D053INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D053OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D053FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D053INXC=                 129. / Drizzle, reference center of input image (X)   
D053INYC=                 129. / Drizzle, reference center of input image (Y)   
D053OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D053OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D053SECP=                    F / Drizzle, there are no secondary geometric param
D054VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D054GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D054DATA= 'correctedng054.1.fits' / Drizzle, input data image                   
D054DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D054OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D054OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D054OUCO= '        '           / Drizzle, output context image                  
D054MASK= 'drmask.1.054.fits'  / Drizzle, input weighting image                 
D054WTSC=                 26.8 / Drizzle, weighting factor for input image      
D054KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D054PIXF=                 0.75 / Drizzle, linear size of drop                   
D054COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D054XGIM= '        '           / Drizzle, X distortion image name               
D054YGIM= '        '           / Drizzle, Y distortion image name               
D054LAM =                 555. / Drizzle, wavelength applied for transformation 
D054EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D054INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D054OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D054FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D054INXC=                 129. / Drizzle, reference center of input image (X)   
D054INYC=                 129. / Drizzle, reference center of input image (Y)   
D054OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D054OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D054SECP=                    F / Drizzle, there are no secondary geometric param
D055VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D055GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D055DATA= 'correctedng055.1.fits' / Drizzle, input data image                   
D055DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D055OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D055OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D055OUCO= '        '           / Drizzle, output context image                  
D055MASK= 'drmask.1.055.fits'  / Drizzle, input weighting image                 
D055WTSC=                 26.8 / Drizzle, weighting factor for input image      
D055KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D055PIXF=                 0.75 / Drizzle, linear size of drop                   
D055COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D055XGIM= '        '           / Drizzle, X distortion image name               
D055YGIM= '        '           / Drizzle, Y distortion image name               
D055LAM =                 555. / Drizzle, wavelength applied for transformation 
D055EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D055INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D055OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D055FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D055INXC=                 129. / Drizzle, reference center of input image (X)   
D055INYC=                 129. / Drizzle, reference center of input image (Y)   
D055OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D055OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D055SECP=                    F / Drizzle, there are no secondary geometric param
D056VER = 'WDRIZZLE Version 3.4.2 (Jul 3rd 2006)' / Drizzle, task version       
D056GEOM= 'Header WCS'         / Drizzle, source of geometric information       
D056DATA= 'correctedng056.1.fits' / Drizzle, input data image                   
D056DEXP=                 26.8 / Drizzle, input image exposure time (s)         
D056OUDA= 'ngc0628.1_dr.fits'  / Drizzle, output data image                     
D056OUWE= 'ngc0628.1_drw.fits' / Drizzle, output weighting image                
D056OUCO= '        '           / Drizzle, output context image                  
D056MASK= 'drmask.1.056.fits'  / Drizzle, input weighting image                 
D056WTSC=                 26.8 / Drizzle, weighting factor for input image      
D056KERN= 'square  '           / Drizzle, form of weight distribution kernel    
D056PIXF=                 0.75 / Drizzle, linear size of drop                   
D056COEF= '/Users/mregan/Documents/sings/geo/ch1_new2_coeffs.txt' / Drizzle, coe
D056XGIM= '        '           / Drizzle, X distortion image name               
D056YGIM= '        '           / Drizzle, Y distortion image name               
D056LAM =                 555. / Drizzle, wavelength applied for transformation 
D056EXKY= 'exptime '           / Drizzle, exposure keyword name in input image  
D056INUN= 'cps     '           / Drizzle, units of input image - counts or cps  
D056OUUN= 'cps     '           / Drizzle, units of output image - counts or cps 
D056FVAL= '-1000   '           / Drizzle, fill value for zero weight output pixe
D056INXC=                 129. / Drizzle, reference center of input image (X)   
D056INYC=                 129. / Drizzle, reference center of input image (Y)   
D056OUXC=               1319.5 / Drizzle, reference center of output image (X)  
D056OUYC=               1319.5 / Drizzle, reference center of output image (Y)  
D056SECP=                    F / Drizzle, there are no secondary geometric param
SINGSVRS= '25aug09 '                                                            
BACK_SUB= 'F       '                                                            
S4GVRS  = '30oct09 '                                                            
P1DATE  = '2010-04-09'                                                          
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
DATASUM = '3260245011'         / data unit checksum updated 2014-08-22T11:25:09 

In [87]:
X,Y = np.meshgrid(np.arange(0.,len(data[0]),1), np.arange(0.,len(data),1))
Z1 = s4g_stellar*1000

# ax1,ax2 = plt.subplots(ncols=2, nrows=1, figsize=[16, 8])
plt.figure(figsize=[20, 8])
quadmesh = plt.pcolormesh(X[455:582, 150:650], Y[455:582, 150:650], Z1[455:582, 150:650], cmap=cm.jet, norm=matplotlib.colors.LogNorm())
quadmesh.set_clim(vmin=1., vmax=1000.)

# CS = plt.contour(X, Y, Z, levels=[5000, 10000, 20000])
# plt.clabel(CS, inline=1, fontsize=10)

plt.colorbar()
# quadmesh.cmap.set_under('white')


Out[87]:
<matplotlib.colorbar.Colorbar at 0x14dc2a58>

In [56]:
X,Y = np.meshgrid(np.arange(0.,len(data[0]),1), np.arange(0.,len(data),1))

# ax1,ax2 = plt.subplots(ncols=2, nrows=1, figsize=[16, 8])
plt.figure(figsize=[20, 8])
quadmesh = plt.pcolormesh(X[455:582, 150:650], Y[455:582, 150:650], Z[455:582, 150:650], cmap=cm.jet)
# quadmesh.set_clim(vmin=14., vmax=28.)
quadmesh.set_clim(vmin=1., vmax=1000.)
plt.colorbar()

CS = plt.contour(X[455:582, 150:650], Y[455:582, 150:650], Z[455:582, 150:650], levels=[10., 100.], colors=('blue', 'm'))
# CS = plt.contour(X, Y, Z, levels=[5000, 10000, 20000])
# plt.clabel(CS, inline=1, fontsize=10)

# quadmesh.cmap.set_under('white')


Дисперсии

HI


In [67]:
sigma_raw = ImagePIL.open('THINGS_HI_disp.png').convert('LA')

In [69]:
sigma_raw.height, sigma_raw.width


Out[69]:
(760, 761)

In [70]:
fdata = list(sigma_raw.getdata())

In [71]:
X,Y = np.meshgrid(np.arange(0.,761,1), np.arange(0.,760,1))
Z = np.array(fdata).reshape(760, 761, 2)[::-1, :, 0]

In [85]:
# import itertools

# for i, row in enumerate(Z):
#     for j, col in enumerate(Z[i]):
#         if Z[i][j] == 0:
#             neigb = []
#             for i1, j1 in list(itertools.product([i, i+1, i-1], [j, j+1, j-1])):
#                 if not (i1 == i and j1 ==j):
#                     try:
#                         if Z[i1][j1] != 0:
#                             neigb.append(Z[i1][j1])
#                     except IndexError:
#                         pass
#             if len(neigb):
#                 Z[i][j] = sum(neigb)/len(neigb)

In [ ]:
# 5, 10, 20

In [ ]:
# 225 - 5
# 190 - 10
# 130 - 20

In [ ]:


In [ ]:


In [147]:
def color_to_level(color):
    '''Вычисляем исходную величину из цвета'''
    return (255.-color)/6.

In [148]:
print color_to_level(225.)
print color_to_level(190.)
print color_to_level(130.)


5.0
10.8333333333
20.8333333333

In [149]:
X,Y = np.meshgrid(np.arange(0.,761,1), np.arange(0.,760,1))
Z = np.array(fdata).reshape(760, 761, 2)[::-1, :, 0]
Z = np.apply_along_axis(color_to_level, 0, Z)

In [ ]:


In [ ]:


In [ ]:


In [81]:
data = np.squeeze(data)

In [82]:
for i in range(1024):
    for j in range(1024):
        if np.isnan(data[i][j]):
            data[i][j] = 0.

In [83]:
X,Y = np.meshgrid(np.arange(0.,len(data),1), np.arange(0.,len(data[0]),1))
Z = data

# ax1,ax2 = plt.subplots(ncols=2, nrows=1, figsize=[16, 8])
plt.figure(figsize=[30, 12])
plt.subplot(1, 2, 1)
quadmesh = plt.pcolormesh(X, Y, Z, cmap=cm.gist_yarg)
quadmesh.set_clim(vmin=4000., vmax=30000.)

CS = plt.contour(X, Y, Z, levels=[5000, 10000, 20000])
# plt.clabel(CS, inline=1, fontsize=10)

plt.colorbar()
quadmesh.cmap.set_under('white')

plt.subplot(1, 2, 2)
plt.imshow(ImagePIL.open('THINGS_HI_disp.png'))


Out[83]:
<matplotlib.image.AxesImage at 0x28755518>

In [84]:
c_g = Z/1000.

In [85]:
np.save('c_g.npy', c_g)

CO


In [87]:
codisp_raw = ImagePIL.open('JCMT_CO_disp_rot_cleared.png').convert('LA')

In [88]:
codisp_raw.width, codisp_raw.height


Out[88]:
(969, 951)

In [89]:
fdata = list(codisp_raw.getdata())

In [91]:
X,Y = np.meshgrid(np.arange(0.,codisp_raw.width, 1), np.arange(0.,codisp_raw.height, 1))
Z = np.array(fdata).reshape(codisp_raw.height, codisp_raw.width, 2)[::-1, :, 0]

In [92]:
for i in range(len(Z)):
    for j in range(len(Z[0])):
        if Z[i][j] == 255 or Z[i][j] == 205:
            Z[i][j] = 0

In [94]:
# 69 - 5
# 115 - 10
# 45 - 2.5
# 22 - 0.

In [96]:
# unique, counts = np.unique(Z, return_counts=True)
# print np.asarray((unique, counts)).T

In [97]:
def color_to_level(color):
    '''Вычисляем исходную величину из цвета'''
    return (color)/16.7

In [98]:
# X,Y = np.meshgrid(np.arange(0.,969,1), np.arange(0.,951,1))
# Z = np.array(fdata).reshape(951, 969, 2)

Z = np.apply_along_axis(color_to_level, 1, Z)
# Z = Z[::-1, :] #inverse axes
# Z[Z < 0] = 0.

In [99]:
plt.figure(figsize=[25, 10])
plt.subplot(1, 2, 1)
quadmesh = plt.pcolormesh(X, Y, Z, cmap=cm.copper)
quadmesh.set_clim(vmin=0.1, vmax=15.1)
plt.colorbar()
quadmesh.cmap.set_under('white')
quadmesh.cmap.set_over('white')
# CS = plt.contour(X, Y, Z, levels=[2.5])

plt.subplot(1, 2, 2)
plt.imshow(ImagePIL.open('JCMT_CO_disp_rot_cleared.png'), aspect=1.);



In [100]:
CO_disp = Z

In [102]:
np.save('CO_disp.npy', CO_disp)

In [172]:
# hor 497 px = 15 sec = 216.5 arcsec
# ver 414px = 3 min = 180 arcsec
497./216.5, 414./180


Out[172]:
(2.295612009237875, 2.3)

In [156]:
from astropy.coordinates import SkyCoord
from astropy import units as u
c = SkyCoord(ra='01h36m45s', dec='+15d44.5m')
c2 = SkyCoord(ra='01h36m30s', dec='+15d44.5m')
print c.separation(c2).arcsec

c = SkyCoord(ra='01h36m45s', dec='+15d45.0m')
c2 = SkyCoord(ra='01h36m45s', dec='+15d48.0m')
c.separation(c2).arcsec


216.561307989
Out[156]:
180.0000000000012

In [104]:
X,Y = np.meshgrid(np.linspace(489. - 175.92/2.3, 489.+157.3/2.3, 1553), np.linspace(425. - 53.82/2.3, 425. + 55.42/2.3, 513))

In [123]:
xgrid = np.arange(0.,len(CO_disp),1)
ygrid = np.arange(0.,len(CO_disp[0]),1)
f_2d_grid = CO_disp[::-1, :]

In [125]:
CO_disp.shape


Out[125]:
(951L, 969L)

In [126]:
yinterp = np.linspace(969-489. - 175.92/2.3, 969-489. + 157.3/2.3, 1553)
xinterp = np.linspace(951-425. - 53.82/2.3, 951-425. + 55.42/2.3, 513)
print min(xinterp), max(xinterp), min(yinterp), max(yinterp)


502.6 550.095652174 403.513043478 548.391304348

In [127]:
points_x, points_y = np.broadcast_arrays(xgrid.reshape(-1,1), ygrid)
points = np.vstack((points_x.flatten(),
                    points_y.flatten())).T
values = f_2d_grid.flatten()
f_2d_interp = LinearNDInterpolator(points, values)

In [130]:
tmp.shape


Out[130]:
(513L, 1553L)

In [132]:
c_CO_ = tmp[::-1, :]

In [133]:
np.save('c_CO_.npy', c_CO_)

sig_los

σ2los,φ = [σ2Rsin2φ + σ2ϕcos2φ] sin2i + σ2zcos2i, where φ is the angle between the slit and the major axis of the projected stellar disc (the position angle)


In [20]:
Image('VENGA_sig_los.png')


Out[20]:

In [21]:
sig_raw = ImagePIL.open('VENGA_sig_los.png')

In [22]:
sig_raw.height, sig_raw.width


Out[22]:
(513, 1553)

In [24]:
fdata = list(sig_raw.getdata())

In [26]:
disp_colorbar = ImagePIL.open('VENGA_sig_los_colorbar.png')

In [27]:
disp_colorbar.width, disp_colorbar.height


Out[27]:
(208, 665)

In [28]:
disp_colorbar = np.array(list(disp_colorbar.getdata())).reshape(disp_colorbar.height, disp_colorbar.width, 4)

In [30]:
disp_colorbar = disp_colorbar[:, 110:111, :]

In [31]:
disp_colorbar = disp_colorbar.reshape(665, 4)

In [32]:
# 110 px = 12.33 km/s
110./12.33


Out[32]:
8.921330089213301

In [33]:
def color_to_level(color):
    '''Вычисляем исходную величину из цвета'''
    argmin = np.argmin(np.linalg.norm(disp_colorbar - color, axis=1))
    return (6. + (665.-argmin)/8.921330089213301)

In [34]:
print color_to_level((102, 215, 255, 255))
print color_to_level((0, 1, 252, 255))
print color_to_level((12, 12, 14, 255))


31.3325454545
18.4420909091
6.33627272727

In [35]:
X,Y = np.meshgrid(np.arange(0.,1553,1), np.arange(0.,513,1))
Z = np.array(fdata).reshape(513, 1553, 4)

Z = np.apply_along_axis(color_to_level, 2, Z)
Z = Z[::-1, :] #inverse axes
# Z[Z < 0] = 0.

In [37]:
# hor 22px 34px
# ver 18px 2px

# ver 494 px = 105 arcsec
# hor 1494px = 320

1494/320., 46./10, 494./105, 23./5


Out[37]:
(4.66875, 4.6, 4.704761904761905, 4.6)

In [38]:
print 'hor: ', -23./4.66875-170., 34./4.66875 + 150
print 'ver: ', -18./4.7047-50., 2./4.7047 + 55.


hor:  -174.926372155 157.282463186
ver:  -53.8259612728 55.4251068081

In [39]:
sig_los = Z

In [40]:
np.save('sig_los.npy', sig_los)

In [30]:
sig_los = np.load('sig_los.npy')

In [48]:
1553./2, 513./2


Out[48]:
(776.5, 256.5)

In [90]:
import math

def dotproduct(v1, v2):
    return sum((a*b) for a, b in zip(v1, v2))

def length(v):
    return math.sqrt(dotproduct(v, v))

def angle(v1, v2):
    return math.acos(dotproduct(v1, v2) / (length(v1) * length(v2)))

In [113]:
phi = np.zeros(sig_los.shape)

for i in range(len(sig_los[0])):
    for j in range(len(sig_los)):
        x, y  = 813.5-i, 253.5-j
#         x, y  = i-253.5, j - 813.5
#         scalar = (253.5-1553.)*x + (813.5 - 1553.*np.sin(22.5*np.pi/180.)-60.)*y
#         scalar_cos = scalar/sqrt(((1553. - 253.5)**2 + (1553*np.sin(22.5*np.pi/180.)-60. - 813.5)**2)*(x**2 + y**2))
#         phi[i][j] = np.arccos(scalar_cos)*180./np.pi
        phi[j][i] = angle(np.array([x,y]), np.array([1553., 1553*np.sin(22.5*np.pi/180.)-60.]))*180./np.pi
#         phi[i][j] = scalar

In [118]:
sig_r_max = lambda sig, phi_: sig/np.sqrt(sin_i**2 * np.sin(phi_*np.pi/180.)**2 + 0.25*sin_i**2*np.cos(phi_*np.pi/180.)**2 + 0.09*cos_i**2) 
sig_r_min = lambda sig, phi_: sig/np.sqrt(sin_i**2 + 0.49*cos_i**2)

In [120]:
sig_R_max = np.zeros(sig_los.shape)

for i in range(len(sig_los)):
    for j in range(len(sig_los[0])):
        sig_R_max[i][j] = sig_r_max(sig_los[i][j], phi[i][j])
        
sig_R_min = np.zeros(sig_los.shape)

for i in range(len(sig_los)):
    for j in range(len(sig_los[0])):
        sig_R_min[i][j] = sig_r_min(sig_los[i][j], phi[i][j])

In [123]:
plt.figure(figsize=[24, 16])
plt.subplot(2,1,1)
quadmesh = plt.pcolormesh(X, Y, sig_R_min, cmap=cm.jet)
# quadmesh.set_clim(vmin=6.0, vmax=80.)
plt.colorbar()
quadmesh.cmap.set_under('white')
quadmesh.cmap.set_over('white')
plt.title(r'$\sigma_R^{min}$')

plt.subplot(2,1,2)
quadmesh = plt.pcolormesh(X, Y, sig_R_max, cmap=cm.jet)
# quadmesh.set_clim(vmin=6.0, vmax=80.)
plt.colorbar()
quadmesh.cmap.set_under('white')
quadmesh.cmap.set_over('white')
plt.title(r'$\sigma_R^{max}$')


Out[123]:
<matplotlib.text.Text at 0xcfb56b00>

In [138]:
np.save('sig_R_max.npy', sig_R_max)
np.save('sig_R_min.npy', sig_R_min)

In [ ]:


In [ ]:


In [11]:
%%time
import scipy.interpolate
# https://stackoverflow.com/questions/37872171/how-can-i-perform-two-dimensional-interpolation-using-scipy

X,Y = np.meshgrid(np.arange(0.,len(Sigma_HI),1), np.arange(0.,len(Sigma_HI[0]),1))
f = scipy.interpolate.interp2d(X[470:560, 380:650], Y[470:560, 380:650], Sigma_HI[470:560, 380:650])


Wall time: 5min 40s
C:\Anaconda\lib\site-packages\scipy\interpolate\_fitpack_impl.py:975: RuntimeWarning: No more knots can be added because the number of B-spline
coefficients already exceeds the number of data points m.
Probable causes: either s or m too small. (fp>s)
	kx,ky=1,1 nx,ny=250,100 m=24300 fp=0.429796 s=0.000000
  warnings.warn(RuntimeWarning(_iermess2[ierm][0] + _mess))

In [12]:
xvalues = np.linspace(512. - 175.92/1.5, 512.+157.3/1.5, 1553)
yvalues = np.linspace(512. - 53.82/1.5, 512. + 55.42/1.5, 513)
zvalues = f(xvalues, yvalues)

In [13]:
Sigma_HI_ = zvalues

In [18]:
np.save('Sigma_HI_.npy', Sigma_HI_)

In [14]:
dist = np.load('dist_map.npy')

In [15]:
X,Y = np.meshgrid(np.arange(0.,len(Sigma_HI),1), np.arange(0.,len(Sigma_HI[0]),1))
f = scipy.interpolate.interp2d(X[470:560, 380:650], Y[470:560, 380:650], dist[470:560, 380:650])


C:\Anaconda\lib\site-packages\scipy\interpolate\_fitpack_impl.py:975: RuntimeWarning: No more knots can be added because the number of B-spline
coefficients already exceeds the number of data points m.
Probable causes: either s or m too small. (fp>s)
	kx,ky=1,1 nx,ny=261,96 m=24300 fp=0.000003 s=0.000000
  warnings.warn(RuntimeWarning(_iermess2[ierm][0] + _mess))

In [16]:
xvalues = np.linspace(512. - 175.92/1.5, 512.+157.3/1.5, 1553)
yvalues = np.linspace(512. - 53.82/1.5, 512. + 55.42/1.5, 513)
zvalues = f(xvalues, yvalues)

In [17]:
dist_ = zvalues

In [19]:
np.save('dist_.npy', dist_)

In [12]:
# %%time
# import scipy.interpolate
# X,Y = np.meshgrid(np.arange(0.,len(c_g),1), np.arange(0.,len(c_g[0]),1))
# f = scipy.interpolate.interp2d(X[470:560, 380:650], Y[470:560, 380:650], c_g[470:560, 380:650], kind='cubic')


Wall time: 32min 46s
C:\Anaconda\lib\site-packages\scipy\interpolate\_fitpack_impl.py:975: RuntimeWarning: A theoretically impossible result when finding a smoothing spline
with fp = s. Probable causes: s too small or badly chosen eps.
(abs(fp-s)/s>0.001)
	kx,ky=3,3 nx,ny=96,83 m=24300 fp=4456761980445583741391644655616.000000 s=0.000000
  warnings.warn(RuntimeWarning(_iermess2[ierm][0] + _mess))

In [ ]:


In [13]:
# xvalues = np.linspace(512. - 175.92/1.5, 512.+157.3/1.5, 1553)
# yvalues = np.linspace(512. - 53.82/1.5, 512. + 55.42/1.5, 513)
# zvalues = f(xvalues, yvalues)

In [14]:
# c_g_ = zvalues

In [112]:
from scipy.interpolate import (
    LinearNDInterpolator, RectBivariateSpline,
    RegularGridInterpolator)
from scipy.ndimage import map_coordinates
# https://nbviewer.jupyter.org/github/pierre-haessig/stodynprog/blob/master/stodynprog/linear_interp_benchmark.ipynb

In [113]:
# xgrid = np.arange(0.,len(c_g),1)[470:560]
# ygrid = np.arange(0.,len(c_g),1)[380:650]
# f_2d_grid = c_g[470:560, 380:650][::-1, :]

xgrid = np.arange(0.,len(c_g),1)
ygrid = np.arange(0.,len(c_g),1)
f_2d_grid = c_g[::-1, :]

In [116]:
yinterp = np.linspace(512. - 175.92/1.5, 512.+157.3/1.5, 1553)
xinterp = np.linspace(512. - 53.82/1.5, 512. + 55.42/1.5, 513)
print min(xinterp), max(xinterp), min(yinterp), max(yinterp)


476.12 548.946666667 394.72 616.866666667

In [117]:
points_x, points_y = np.broadcast_arrays(xgrid.reshape(-1,1), ygrid)
points = np.vstack((points_x.flatten(),
                    points_y.flatten())).T
values = f_2d_grid.flatten()
f_2d_interp = LinearNDInterpolator(points, values)

In [119]:
tmp.shape


Out[119]:
(513L, 1553L)

In [121]:
c_g_ = tmp[::-1, :]

In [122]:
np.save('c_g_.npy', c_g_)

In [ ]:

Все в одном


In [125]:
Sigma_HI_ = np.load('Sigma_HI_.npy')
sig_los = np.load('sig_los.npy')
c_g_ = np.load('c_g_.npy')
c_CO_ = np.load('c_CO_.npy')
dist_ = np.load('dist_.npy')
Sigma_BIMA_CO_ = np.load('Sigma_BIMA_CO_.npy')
log_Halpha_SFR_ = np.load('log_Halpha_SFR_.npy')

In [ ]:


In [6]:
import matplotlib.patches as patches

plt.figure(figsize=[30, 84])
plt.subplot(7, 1, 1)
X,Y = np.meshgrid(np.linspace(512. - 175.92/1.5, 512.+157.3/1.5, 1553), np.linspace(512. - 53.82/1.5, 512. + 55.42/1.5, 513))
quadmesh = plt.pcolormesh(X, Y, Sigma_HI_, cmap=cm.gist_yarg)
# CS = plt.contour(X, Y, Sigma_HI, levels=[5., 10.], aspect='auto', alpha=0.5)
quadmesh.set_clim(vmin=0., vmax=10.5)
plt.colorbar()
plt.title(r'$\Sigma_{HI}$', fontsize=30)


plt.subplot(7, 1, 2)
X,Y = np.meshgrid(np.linspace(512. - 175.92/1.5, 512.+157.3/1.5, 1553), np.linspace(512. - 53.82/1.5, 512. + 55.42/1.5, 513))
CS = plt.contour(X, Y, sig_los, levels=[40., 70.], aspect='auto', alpha=0.5, colors='r')
plt.clabel(CS, inline=1, fontsize=10)
plt.title(r'$\sigma_{s}$', fontsize=30)
quadmesh2 = plt.pcolormesh(X, Y, sig_los, cmap=cm.jet)
# quadmesh2.set_clim(vmin=0., vmax=10.5)
plt.colorbar()

#bulge
circle = plt.Circle((512, 512), 10., color='b', fill=False)
plt.gca().add_artist(circle)


plt.subplot(7, 1, 3)
# X,Y = np.meshgrid(xvalues, yvalues)
quadmesh = plt.pcolormesh(X, Y, c_g_, cmap=cm.plasma)
# CS = plt.contour(X, Y, Sigma_HI, levels=[5., 10.], aspect='auto', alpha=0.5)
quadmesh.set_clim(vmin=5., vmax=25.5)
plt.colorbar()
plt.title(r'$\sigma_{HI}$', fontsize=30)

plt.subplot(7, 1, 4)
# X,Y = np.meshgrid(xvalues, yvalues)
quadmesh = plt.pcolormesh(X, Y, c_CO_, cmap=cm.copper)
# CS = plt.contour(X, Y, Sigma_HI, levels=[5., 10.], aspect='auto', alpha=0.5)
quadmesh.set_clim(vmin=.1, vmax=15.1)
plt.colorbar()
plt.title(r'$\sigma_{CO}$', fontsize=30)

plt.subplot(7, 1, 5)
# X,Y = np.meshgrid(xvalues, yvalues)
quadmesh = plt.pcolormesh(X, Y, dist_, cmap=cm.ocean)
# CS = plt.contour(X, Y, Sigma_HI, levels=[5., 10.], aspect='auto', alpha=0.5)
# quadmesh.set_clim(vmin=.1, vmax=15.1)
plt.colorbar()
plt.title(r'$R$', fontsize=30)

plt.subplot(7, 1, 6)
# X,Y = np.meshgrid(xvalues, yvalues)
quadmesh = plt.pcolormesh(X, Y, Sigma_BIMA_CO_, cmap=cm.jet)
# CS = plt.contour(X, Y, Sigma_HI, levels=[5., 10.], aspect='auto', alpha=0.5)
quadmesh.set_clim(vmin=0., vmax=5.19)
plt.colorbar()
plt.title(r'$\Sigma_{CO}$', fontsize=30)

plt.subplot(7, 1, 7)
# X,Y = np.meshgrid(xvalues, yvalues)
quadmesh = plt.pcolormesh(X, Y, log_Halpha_SFR_, cmap=cm.jet)
# CS = plt.contour(X, Y, Sigma_HI, levels=[5., 10.], aspect='auto', alpha=0.5)
quadmesh.set_clim(vmin=-3.5, vmax=-1.)
plt.colorbar()
plt.title(r'$\log H_{\alpha}$', fontsize=30)

# X,Y = np.meshgrid(np.arange(0.,len(c_g),1), np.arange(0.,len(c_g[0]),1))
# CS = plt.contour(X[470:560, 380:650], Y[470:560, 380:650], c_g[470:560, 380:650], levels=[5., 10., 20.], aspect='auto', alpha=0.5)


Out[6]:
<matplotlib.text.Text at 0x15a9e240>

In [ ]:


In [ ]:


In [ ]:


In [ ]:

Qg

$$Q_g = \frac{\sigma\varkappa}{\pi G \Sigma}$$

In [204]:
G = 4.32
Qgs = np.zeros(v_HI.shape)

for i, row in enumerate(v_HI):
    for j, col in enumerate(v_HI):
        c = c_g[i][j]
        Sigma = Sigma_HI[i][j]
        kappa = epi4[i][j]
        Qgs[i][j] = kappa * c / (math.pi * G * Sigma)

In [ ]:

C азимутально-усредненной эпициклической частотой и дисперсиями газа от водорода:


In [31]:
G = 4.32
Qgs = np.zeros(dist_.shape)

for i, row in enumerate(dist_):
    for j, col in enumerate(dist_[0]):
        c = c_g_[i][j]
        Sigma = Sigma_HI_[i][j] + Sigma_BIMA_CO_[i][j]
        kappa = epicyclicFreq_real(gas_approx, dist_[i][j], scale)
        Qgs[i][j] = kappa * c / (math.pi * G * Sigma)

In [34]:
import matplotlib.patches as patches

plt.figure(figsize=[30, 18])
plt.subplot(2, 1, 1)
X,Y = np.meshgrid(np.linspace(512. - 175.92/1.5, 512.+157.3/1.5, 1553), np.linspace(512. - 53.82/1.5, 512. + 55.42/1.5, 513))
quadmesh = plt.pcolormesh(X, Y, Qgs, cmap=cm.gist_yarg)
# CS = plt.contour(X, Y, Sigma_HI, levels=[5., 10.], aspect='auto', alpha=0.5)
quadmesh.set_clim(vmin=3., vmax=10.)
plt.colorbar()
plt.title(r'$Q_g$', fontsize=30)


plt.subplot(2, 1, 2)
# X,Y = np.meshgrid(xvalues, yvalues)
quadmesh = plt.pcolormesh(X, Y, log_Halpha_SFR_, cmap=cm.jet)
# CS = plt.contour(X, Y, Sigma_HI, levels=[5., 10.], aspect='auto', alpha=0.5)
quadmesh.set_clim(vmin=-3.5, vmax=-1.)
plt.colorbar()
plt.title(r'$\log H_{\alpha}$', fontsize=30)

# X,Y = np.meshgrid(np.arange(0.,len(c_g),1), np.arange(0.,len(c_g[0]),1))
# CS = plt.contour(X[470:560, 380:650], Y[470:560, 380:650], c_g[470:560, 380:650], levels=[5., 10., 20.], aspect='auto', alpha=0.5)


Out[34]:
<matplotlib.text.Text at 0x7b5f94a8>

In [38]:
import matplotlib.patches as patches

plt.figure(figsize=[30, 9])
X,Y = np.meshgrid(np.linspace(512. - 175.92/1.5, 512.+157.3/1.5, 1553), np.linspace(512. - 53.82/1.5, 512. + 55.42/1.5, 513))
quadmesh = plt.pcolormesh(X, Y, Qgs, cmap=cm.jet)
# CS = plt.contour(X, Y, Sigma_HI, levels=[5., 10.], aspect='auto', alpha=0.5)
quadmesh.set_clim(vmin=0., vmax=3.)
plt.colorbar()

plt.title(r'$Q_g$', fontsize=30)

CS = plt.contour(X, Y, log_Halpha_SFR_, levels=[-2.25, -1.], aspect='auto', alpha=0.5)

#bulge
circle = plt.Circle((512, 512), 10., color='b', fill=False)
plt.gca().add_artist(circle)


Out[38]:
<matplotlib.patches.Circle at 0x7bdd0198>

In [41]:
import matplotlib.patches as patches

plt.figure(figsize=[30, 9])
X,Y = np.meshgrid(np.linspace(512. - 175.92/1.5, 512.+157.3/1.5, 1553), np.linspace(512. - 53.82/1.5, 512. + 55.42/1.5, 513))
quadmesh = plt.pcolormesh(X, Y, Qgs, cmap=cm.jet)
quadmesh.set_clim(vmin=0., vmax=3.)
plt.colorbar()

CS = plt.contour(X, Y, Qgs, levels=[3., 5., 10.], aspect='auto', alpha=0.5)
plt.clabel(CS, inline=1, fontsize=10)

plt.title(r'$Q_g$', fontsize=30)

#bulge
circle = plt.Circle((512, 512), 10., color='b', fill=False)
plt.gca().add_artist(circle)


Out[41]:
<matplotlib.patches.Circle at 0x49b14c18>

In [ ]:


In [144]:
%%time

G = 4.32
# Qeff_max = np.zeros(dist_.shape)
Qeff_min = np.zeros(dist_.shape)

for i, row in enumerate(dist_):
    print i
    for j, col in enumerate(dist_[0]):
        c = c_g_[i][j]
        Sigma = Sigma_HI_[i][j] + Sigma_BIMA_CO_[i][j]
        kappa = epicyclicFreq_real(gas_approx, dist_[i][j], scale)
        Sigma_s_ = Sigma_s[i][j]
        s_R_max = sig_R_max[i][j]
        s_R_min = sig_R_min[i][j]
        Qg = kappa * c / (math.pi * G * Sigma)
        Qs_max = kappa * s_R_max / (3.36 * G * Sigma_s_)
        Qs_min = kappa * s_R_min / (3.36 * G * Sigma_s_)
        try:
            qeff = findInvKinemQeffBrentq(Qs_min, Qg, c/s_R_min, np.arange(0.01, 1000., 1.))[1]
        except ValueError:
            qeff = 0.01
        Qeff_min[i][j] = 1./qeff


0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
Wall time: 2h 50min 35s

In [145]:
np.save('Qeff_min.npy', Qeff_min)

In [146]:
import matplotlib.patches as patches

plt.figure(figsize=[30, 9])
X,Y = np.meshgrid(np.linspace(512. - 175.92/1.5, 512.+157.3/1.5, 1553), np.linspace(512. - 53.82/1.5, 512. + 55.42/1.5, 513))
quadmesh = plt.pcolormesh(X, Y, Qeff_min, cmap=cm.jet)
# CS = plt.contour(X, Y, Sigma_HI, levels=[5., 10.], aspect='auto', alpha=0.5)
quadmesh.set_clim(vmin=0., vmax=3.)
plt.colorbar()

plt.title(r'$Q_g$', fontsize=30)

CS = plt.contour(X, Y, log_Halpha_SFR_, levels=[-2.25, -1.], aspect='auto', alpha=0.5)

#bulge
circle = plt.Circle((512, 512), 10., color='b', fill=False)
plt.gca().add_artist(circle)


Out[146]:
<matplotlib.patches.Circle at 0xe59b3320>

In [148]:
import matplotlib.patches as patches

plt.figure(figsize=[30, 9])
X,Y = np.meshgrid(np.linspace(512. - 175.92/1.5, 512.+157.3/1.5, 1553), np.linspace(512. - 53.82/1.5, 512. + 55.42/1.5, 513))
quadmesh = plt.pcolormesh(X, Y, Qeff_min, cmap=cm.jet)
quadmesh.set_clim(vmin=0., vmax=3.)
plt.colorbar()

CS = plt.contour(X, Y, Qeff_min, levels=[3., 5., 10.], aspect='auto', alpha=0.5)
plt.clabel(CS, inline=1, fontsize=10)

plt.title(r'$Q_g$', fontsize=30)

#bulge
circle = plt.Circle((512, 512), 10., color='b', fill=False)
plt.gca().add_artist(circle)


Out[148]:
<matplotlib.patches.Circle at 0xf20e24a8>

In [158]:
import matplotlib.patches as patches

plt.figure(figsize=[30, 9])

# X,Y = np.meshgrid(xvalues, yvalues)
quadmesh = plt.pcolormesh(X, Y, log_Halpha_SFR_, cmap=cm.jet)
# CS = plt.contour(X, Y, Sigma_HI, levels=[5., 10.], aspect='auto', alpha=0.5)
quadmesh.set_clim(vmin=-3.5, vmax=-1.)
plt.colorbar()
plt.title(r'$\log H_{\alpha}$', fontsize=30)

CS = plt.contour(X, Y, Qeff_min, levels=[2.0], colors=('red'))
plt.clabel(CS, inline=1, fontsize=10)

# X,Y = np.meshgrid(np.arange(0.,len(c_g),1), np.arange(0.,len(c_g[0]),1))
# CS = plt.contour(X[470:560, 380:650], Y[470:560, 380:650], c_g[470:560, 380:650], levels=[5., 10., 20.], aspect='auto', alpha=0.5)


Out[158]:
<a list of 61 text.Text objects>

In [164]:
import matplotlib.patches as patches

plt.figure(figsize=[30, 9])
X,Y = np.meshgrid(np.linspace(512. - 175.92/1.5, 512.+157.3/1.5, 1553), np.linspace(512. - 53.82/1.5, 512. + 55.42/1.5, 513))
quadmesh = plt.pcolormesh(X, Y, Qeff_min, cmap=cm.plasma)
# CS = plt.contour(X, Y, Sigma_HI, levels=[5., 10.], aspect='auto', alpha=0.5)
quadmesh.set_clim(vmin=1.5, vmax=3.)
plt.colorbar()

plt.title(r'$Q_{eff}$', fontsize=30)

CS = plt.contour(X, Y, log_Halpha_SFR_, levels=[-2.25, -1.], colors=('red', 'blue'))

#bulge
circle = plt.Circle((512, 512), 10., color='b', fill=False)
plt.gca().add_artist(circle)


Out[164]:
<matplotlib.patches.Circle at 0x12534cef0>

In [ ]:


In [7]:
Image('tmp.png')


Out[7]:

In [ ]: