File:SN 2002cx Lightcurve.svg

From Wikimedia Commons, the free media repository

Jump to: navigation, search

SN_2002cx_Lightcurve.svg(SVG file, nominally 720 × 540 pixels, file size: 162 KB)

Contents

[edit] Summary

Description
English: Supernova 2002cx light curve. It contains B-band (blue points), V-band (green points), R-band (yellow points), and I-band (red points) from two telescopes, KAIT (circles) and Nickel (Triangles). Data is from: Li, Weidong; Filippenko, Alexei V.; Chornock, Ryan et al. (04/2003). "SN 2002cx: The Most Peculiar Known Type Ia Supernova". Publications of the Astronomical Society of the Pacific 115 (806): 453-473. Chicago, Illinois: University of Chicago Press. DOI:10.1086/374200. Retrieved on 2009-06-19.
Date

21 June 2009(2009-06-21)

Source

Own work

Author

Falcorian

Permission
(Reusing this image)

See below.

[edit] Licensing


I, the copyright holder of this work, hereby publish it under the following licenses:
Creative Commons license
Creative Commons Attribution iconCreative Commons Share Alike icon
This file is licensed under the Creative Commons Attribution ShareAlike 3.0, Attribution ShareAlike 2.5, Attribution ShareAlike 2.0 and Attribution ShareAlike 1.0 License. In short: you are free to share and make derivative works of the file under the conditions that you appropriately attribute it, and that you distribute it only under a license identical to this one. Official license.

Afrikaans | Беларуская | Български | Català | Česky | Dansk | Deutsch | Ελληνικά | English | Esperanto | Español | Eesti | Euskara | Estremeñu | Suomi | Français | עברית | Hrvatski | Հայերեն | Italiano | 日本語 | 한국어 | Lietuvių | Македонски | Plattdüütsch | Nederlands | ‪Norsk (bokmål)‬ | Occitan | Polski | Piemontèis | Português | Română | Русский | Slovenčina | ไทย | Vèneto | Tiếng Việt | 中文 | ‪中文(简体)‬ | ‪中文(繁體)‬ | +/−

GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".

Afrikaans | Alemannisch | Aragonés | العربية | Asturianu | Беларуская | Беларуская (тарашкевіца) | Български | বাংলা | ইমার ঠার/বিষ্ণুপ্রিয়া মণিপুরী | Brezhoneg | Bosanski | Català | Cebuano | Česky | Dansk | Deutsch | Ελληνικά | English | Esperanto | Español | Eesti | Euskara | فارسی | Suomi | Français | Gaeilge | Galego | עברית | Hrvatski | Magyar | Հայերեն | Bahasa Indonesia | Ido | Íslenska | Italiano | 日本語 | ქართული | ភាសាខ្មែរ | 한국어 | Kurdî / كوردی | Latina | Lëtzebuergesch | Lietuvių | 文言 | Македонски | Bahasa Melayu | Malti | Nnapulitano | Plattdüütsch | Nederlands | ‪Norsk (nynorsk)‬ | ‪Norsk (bokmål)‬ | Occitan | Polski | Português | Română | Русский | Slovenčina | Slovenščina | Shqip | Српски / Srpski | Svenska | Kiswahili | తెలుగు | ไทย | Tagalog | Türkçe | Українська | اردو | Vèneto | Tiếng Việt | Volapük | Yorùbá | 中文 | ‪中文(简体)‬ | ‪中文(繁體)‬ | +/−

You may select the license of your choice.

Taken by Falcorian

[edit] Code

The following python script generated this plot:

import pylab as pl
 
# Define files
file = 'ltcv.dat'
outplot = 'SN_2002cx_Lightcurve.svg'
 
## Will store out data for ploting
points = {'KAIT':{},'Nickel':{}}
## Column ---> Band
map    = {0:'B',1:'V',2:'R',3:'I'}
## Color for each band on the plot
colors = {0:'b',1:'g',2:'y',3:'r'}
## Marker shape for each telescope on the plot
types  = {'KAIT':'o','Nickel':'^'}
 
# Open data
f = open(file)
cont = f.read()
f.close()
cont = cont.splitlines()
 
# Prase the file
for line in cont:
    if line.startswith('#'): continue
    sline = line.split(',')
    date = float(sline[0])
    tele = sline[-1]
    pdic = points[tele]
    for i in range(4):
        mag = sline[i+1].strip()
        if mag: 
            smag = mag.split('(')
            fmag = float(smag[0])
            emag = float('.'+smag[1].strip(')'))
            print fmag,emag
            try:
                pdic[i].append((date,fmag,emag))
            except KeyError:
                pdic[i] = [(date,fmag,emag)]
 
# Make a plot
for tele in points:
    for key in points[tele]:
        band = map[key]
        dates = [tup[0] for tup in points[tele][key]]
        fmags = [tup[1] for tup in points[tele][key]]
        emags = [tup[2] for tup in points[tele][key]]
        color = colors[key]
        type  = types[tele]
        pl.errorbar(dates,fmags,yerr=emags,fmt='%s%s'%(type,color),ms=5.,label='%s %s'%(tele,map[key]))
 
ax = pl.axis()
pl.axis((ax[0],ax[1],ax[3],ax[2]))
 
pl.xlabel('JD - 2450000')
pl.ylabel('Magnitude')
pl.title('SN 2002cx Lightcurve')
pl.legend(loc=0,numpoints=1,columnspacing=1.)
pl.savefig(outplot)


[edit] Data

Saved as ltcv.dat

#  JD −      B         V         R          I     Tel.
#2450000   (mag)     (mag)     (mag)     (mag)
2411.78,17.81(03),17.81(03),17.70(02),17.70(04),Nickel
2412.78,17.77(03),17.73(04),17.64(04),17.53(04),KAIT
2413.81,17.69(04),         ,         ,         ,KAIT
2419.81,17.85(12),17.45(10),17.53(07),17.30(08),KAIT
2421.77,18.06(05),17.69(04),17.48(03),17.39(04),KAIT
2422.75,18.10(09),17.70(03),17.50(03),17.40(03),KAIT
2423.73,18.22(03),17.80(03),17.47(02),17.42(03),KAIT
2424.75,18.35(04),17.82(03),17.53(03),17.38(03),KAIT
2425.76,18.47(06),17.87(06),17.53(05),17.42(06),KAIT
2426.72,18.61(04),17.88(03),17.54(04),17.37(03),KAIT
2427.72,18.68(05),17.99(04),17.54(03),17.40(04),KAIT
2428.76,18.83(04),18.05(04),17.61(03),17.46(04),KAIT
2429.75,18.73(10),18.16(03),17.61(03),17.45(03),KAIT
2430.71,19.02(04),18.20(04),17.69(03),17.50(03),KAIT
2431.78,19.12(04),18.27(04),17.71(04),17.44(04),KAIT
2432.69,19.24(07),18.34(03),17.73(03),17.46(05),KAIT
2433.74,19.45(08),18.36(04),17.80(04),17.40(05),Nickel
2434.70,         ,18.31(07),17.75(07),17.52(07),KAIT
2435.70,         ,18.45(06),17.84(04),17.67(05),KAIT
2435.75,19.49(08),18.46(03),17.89(03),17.47(06),Nickel
2436.75,         ,18.52(05),17.89(05),17.60(04),KAIT
2436.77,19.61(08),18.54(03),17.93(02),17.64(03),Nickel
2437.69,         ,18.57(04),17.99(03),17.64(06),KAIT
2437.70,19.65(06),18.59(02),17.97(02),17.71(02),Nickel
2438.73,         ,18.66(05),         ,17.66(05),KAIT
2440.69,         ,18.75(06),18.07(04),17.82(05),KAIT
2442.69,         ,18.81(04),18.11(04),17.84(05),KAIT
2443.73,         ,         ,18.19(06),17.90(06),KAIT
2447.70,         ,         ,18.30(08),17.97(08),KAIT
2451.74,         ,18.94(07),18.40(08),18.06(05),KAIT
2455.70,         ,19.11(05),18.45(04),18.16(04),KAIT
2456.70,         ,         ,18.45(07),18.17(04),KAIT
2465.70,20.36(21),19.33(07),18.75(06),18.27(08),Nickel

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current19:21, 21 June 2009Thumbnail for version as of 19:21, 21 June 2009720×540 (162 KB)Falcorian (Talk | contribs) (Lightcurve --> light curve)
19:02, 21 June 2009Thumbnail for version as of 19:02, 21 June 2009720×540 (162 KB)Falcorian (Talk | contribs) ({{Information |Description={{en|1=Supernova 2002cx light curve. It contains B-band (blue points), V-band (green points), R-band (yellow points), and I-band (red points) from two telescopes, KAIT (circles) and Nickel (Triangles). Data is from: {{cite journ)

The following page on Wikimedia Commons links to this file. Some pages on other Wikimedia projects may also link to it.