Created
June 13, 2015 15:41
-
-
Save cdeil/97a7be42096cfe71f5c5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ python | |
| Python 3.4.3 (default, May 26 2015, 19:25:32) | |
| [GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin | |
| Type "help", "copyright", "credits" or "license" for more information. | |
| >>> from astropy.table import Table | |
| >>> table = Table.read('https://github.com/cdeil/random-stuff/blob/master/gll_psc_v14.fit?raw=true') | |
| Downloading https://github.com/cdeil/random-stuff/blob/master/gll_psc_v14.fit?raw=true | |
| |=========================================================================================================| 3.7M/3.7M (100.00%) 0s | |
| WARNING: hdu= was not specified but multiple tables are present, reading in first available table (hdu=1) [astropy.io.fits.connect] | |
| WARNING: UnitsWarning: 'photon/cm**2/MeV/s' contains multiple slashes, which is discouraged by the FITS standard [astropy.units.format.generic] | |
| WARNING: UnitsWarning: 'photon/cm**2/s' contains multiple slashes, which is discouraged by the FITS standard [astropy.units.format.generic] | |
| WARNING: UnitsWarning: The unit 'erg' has been deprecated in the FITS standard. Suggested: cm2 g s-2. [astropy.units.format.utils] | |
| WARNING: UnitsWarning: 'erg/cm**2/s' contains multiple slashes, which is discouraged by the FITS standard [astropy.units.format.generic] | |
| >>> table.info() | |
| <Table length=3034> | |
| name dtype shape unit n_bad | |
| -------------------- ------- ------- ---------------- ----- | |
| Source_Name str576 0 | |
| RAJ2000 float32 deg 0 | |
| DEJ2000 float32 deg 0 | |
| GLON float32 deg 0 | |
| GLAT float32 deg 0 | |
| Conf_68_SemiMajor float32 deg 28 | |
| Conf_68_SemiMinor float32 deg 28 | |
| Conf_68_PosAng float32 deg 28 | |
| Conf_95_SemiMajor float32 deg 28 | |
| Conf_95_SemiMinor float32 deg 28 | |
| Conf_95_PosAng float32 deg 28 | |
| ROI_num int16 0 | |
| Signif_Avg float32 5 | |
| Pivot_Energy float32 MeV 0 | |
| Flux_Density float32 ph / (cm2 MeV s) 0 | |
| Unc_Flux_Density float32 ph / (cm2 MeV s) 5 | |
| Flux1000 float32 ph / (cm2 s) 0 | |
| Unc_Flux1000 float32 ph / (cm2 s) 5 | |
| Energy_Flux100 float32 erg / (cm2 s) 0 | |
| Unc_Energy_Flux100 float32 erg / (cm2 s) 5 | |
| Signif_Curve float32 0 | |
| SpectrumType str512 0 | |
| Spectral_Index float32 0 | |
| Unc_Spectral_Index float32 9 | |
| beta float32 2639 | |
| Unc_beta float32 2679 | |
| Cutoff float32 MeV 2918 | |
| Unc_Cutoff float32 MeV 2918 | |
| Exp_Index float32 2918 | |
| Unc_Exp_Index float32 3028 | |
| PowerLaw_Index float32 0 | |
| Flux30_100 float32 ph / (cm2 s) 3034 | |
| Unc_Flux30_100 float32 ph / (cm2 s) 3034 | |
| nuFnu30_100 float32 erg / (cm2 s) 3034 | |
| Sqrt_TS30_100 float32 3034 | |
| Flux100_300 float32 ph / (cm2 s) 0 | |
| Unc_Flux100_300 float32 (2,) ph / (cm2 s) 836 | |
| nuFnu100_300 float32 erg / (cm2 s) 0 | |
| Sqrt_TS100_300 float32 5 | |
| Flux300_1000 float32 ph / (cm2 s) 0 | |
| Unc_Flux300_1000 float32 (2,) ph / (cm2 s) 327 | |
| nuFnu300_1000 float32 erg / (cm2 s) 0 | |
| Sqrt_TS300_1000 float32 5 | |
| Flux1000_3000 float32 ph / (cm2 s) 0 | |
| Unc_Flux1000_3000 float32 (2,) ph / (cm2 s) 111 | |
| nuFnu1000_3000 float32 erg / (cm2 s) 0 | |
| Sqrt_TS1000_3000 float32 0 | |
| Flux3000_10000 float32 ph / (cm2 s) 0 | |
| Unc_Flux3000_10000 float32 (2,) ph / (cm2 s) 137 | |
| nuFnu3000_10000 float32 erg / (cm2 s) 0 | |
| Sqrt_TS3000_10000 float32 3 | |
| Flux10000_100000 float32 ph / (cm2 s) 0 | |
| Unc_Flux10000_100000 float32 (2,) ph / (cm2 s) 670 | |
| nuFnu10000_100000 float32 erg / (cm2 s) 0 | |
| Sqrt_TS10000_100000 float32 2 | |
| Variability_Index float32 0 | |
| Signif_Peak float32 2387 | |
| Flux_Peak float32 ph / (cm2 s) 2387 | |
| Unc_Flux_Peak float32 ph / (cm2 s) 2387 | |
| Time_Peak float64 s 2387 | |
| Peak_Interval float32 s 2387 | |
| Flux_History float32 (48,) ph / (cm2 s) 0 | |
| Unc_Flux_History float32 (48, 2) ph / (cm2 s) 64623 | |
| Extended_Source_Name str576 0 | |
| 0FGL_Name str544 0 | |
| 1FGL_Name str576 0 | |
| 2FGL_Name str576 0 | |
| 1FHL_Name str576 0 | |
| ASSOC_GAM1 str480 0 | |
| ASSOC_GAM2 str448 0 | |
| ASSOC_GAM3 str480 0 | |
| TEVCAT_FLAG str32 0 | |
| ASSOC_TEV str672 0 | |
| CLASS1 str160 0 | |
| ASSOC1 str832 0 | |
| ASSOC2 str832 0 | |
| Flags int16 0 | |
| >>> table.info('stats') | |
| /opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/numpy/lib/nanfunctions.py:598: RuntimeWarning: Mean of empty slice | |
| warnings.warn("Mean of empty slice", RuntimeWarning) | |
| /opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/numpy/lib/nanfunctions.py:1057: RuntimeWarning: Degrees of freedom <= 0 for slice. | |
| warnings.warn("Degrees of freedom <= 0 for slice.", RuntimeWarning) | |
| /opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/numpy/lib/nanfunctions.py:232: RuntimeWarning: All-NaN axis encountered | |
| warnings.warn("All-NaN axis encountered", RuntimeWarning) | |
| /opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/numpy/lib/nanfunctions.py:331: RuntimeWarning: All-NaN axis encountered | |
| warnings.warn("All-NaN axis encountered", RuntimeWarning) | |
| /opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/numpy/lib/nanfunctions.py:598: RuntimeWarning: Mean of empty slice | |
| warnings.warn("Mean of empty slice", RuntimeWarning) | |
| /opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/numpy/lib/nanfunctions.py:1057: RuntimeWarning: Degrees of freedom <= 0 for slice. | |
| warnings.warn("Degrees of freedom <= 0 for slice.", RuntimeWarning) | |
| /opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/numpy/lib/nanfunctions.py:232: RuntimeWarning: All-NaN axis encountered | |
| warnings.warn("All-NaN axis encountered", RuntimeWarning) | |
| /opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/numpy/lib/nanfunctions.py:331: RuntimeWarning: All-NaN axis encountered | |
| warnings.warn("All-NaN axis encountered", RuntimeWarning) | |
| /opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/numpy/lib/nanfunctions.py:598: RuntimeWarning: Mean of empty slice | |
| warnings.warn("Mean of empty slice", RuntimeWarning) | |
| /opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/numpy/lib/nanfunctions.py:1057: RuntimeWarning: Degrees of freedom <= 0 for slice. | |
| warnings.warn("Degrees of freedom <= 0 for slice.", RuntimeWarning) | |
| /opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/numpy/lib/nanfunctions.py:232: RuntimeWarning: All-NaN axis encountered | |
| warnings.warn("All-NaN axis encountered", RuntimeWarning) | |
| /opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/numpy/lib/nanfunctions.py:331: RuntimeWarning: All-NaN axis encountered | |
| warnings.warn("All-NaN axis encountered", RuntimeWarning) | |
| /opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/numpy/lib/nanfunctions.py:598: RuntimeWarning: Mean of empty slice | |
| warnings.warn("Mean of empty slice", RuntimeWarning) | |
| /opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/numpy/lib/nanfunctions.py:1057: RuntimeWarning: Degrees of freedom <= 0 for slice. | |
| warnings.warn("Degrees of freedom <= 0 for slice.", RuntimeWarning) | |
| /opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/numpy/lib/nanfunctions.py:232: RuntimeWarning: All-NaN axis encountered | |
| warnings.warn("All-NaN axis encountered", RuntimeWarning) | |
| /opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/numpy/lib/nanfunctions.py:331: RuntimeWarning: All-NaN axis encountered | |
| warnings.warn("All-NaN axis encountered", RuntimeWarning) | |
| <Table length=3034> | |
| name mean std min max n_bad | |
| -------------------- ------------- ------------- ----------- ----------- ----- | |
| Source_Name -- -- -- -- 0 | |
| RAJ2000 185.638 100.585 0.0377 359.881 0 | |
| DEJ2000 -2.23514 41.5371 -87.6185 88.7739 0 | |
| GLON 186.273 107.572 0.126161 359.969 0 | |
| GLAT 1.22728 36.4998 -87.9516 86.3679 0 | |
| Conf_68_SemiMajor -inf nan -inf 0.658726 28 | |
| Conf_68_SemiMinor -inf nan -inf 0.320945 28 | |
| Conf_68_PosAng -0.219671 51.9263 -89.94 89.92 28 | |
| Conf_95_SemiMajor -inf nan -inf 1.0681 28 | |
| Conf_95_SemiMinor -inf nan -inf 0.5204 28 | |
| Conf_95_PosAng -0.219671 51.9263 -89.94 89.92 28 | |
| ROI_num 424.777191826 238.846231996 1 840 0 | |
| Signif_Avg -inf nan -inf 1048.96 5 | |
| Pivot_Energy 2104.46 2578.2 100.798 37202.0 0 | |
| Flux_Density 1.29389e-11 2.17231e-10 4.21515e-16 1.14476e-08 0 | |
| Unc_Flux_Density -inf nan -inf 6.86476e-10 5 | |
| Flux1000 2.7507e-09 2.76475e-08 4.90582e-12 1.29768e-06 0 | |
| Unc_Flux1000 -inf nan -inf 2.89396e-09 5 | |
| Energy_Flux100 2.56011e-11 1.88859e-10 1.65227e-12 8.93008e-09 0 | |
| Unc_Energy_Flux100 -inf nan -inf 2.52953e-11 5 | |
| Signif_Curve 2.43161 3.87731 0.0 84.973 0 | |
| SpectrumType -- -- -- -- 0 | |
| Spectral_Index 2.21451 0.360539 0.5 5.71589 0 | |
| Unc_Spectral_Index -inf nan -inf 1.06113 9 | |
| beta -inf nan -inf 1.0 2639 | |
| Unc_beta -inf nan -inf 0.337608 2679 | |
| Cutoff -inf nan -inf 13326.4 2918 | |
| Unc_Cutoff -inf nan -inf 3750.56 2918 | |
| Exp_Index -inf nan -inf 1.0 2918 | |
| Unc_Exp_Index -inf nan -inf 0.0442999 3028 | |
| PowerLaw_Index 2.24982 0.306354 1.09753 5.71589 0 | |
| Flux30_100 nan nan nan nan 3034 | |
| Unc_Flux30_100 nan nan nan nan 3034 | |
| nuFnu30_100 nan nan nan nan 3034 | |
| Sqrt_TS30_100 nan nan nan nan 3034 | |
| Flux100_300 2.37795e-08 1.20342e-07 1.00222e-14 5.37625e-06 0 | |
| Unc_Flux100_300 -inf nan -inf 9.56701e-08 836 | |
| nuFnu100_300 5.71922e-12 3.02685e-11 2.49123e-18 1.37177e-09 0 | |
| Sqrt_TS100_300 3.81654 8.91583 0.0 215.416 5 | |
| Flux300_1000 8.61936e-09 6.73293e-08 3.97788e-15 3.21672e-06 0 | |
| Unc_Flux300_1000 -inf nan -inf 1.89716e-08 327 | |
| nuFnu300_1000 5.90484e-12 4.79845e-11 2.91179e-18 2.29243e-09 0 | |
| Sqrt_TS300_1000 7.4718 19.8981 0.0 568.663 5 | |
| Flux1000_3000 2.19502e-09 2.27795e-08 1.50877e-15 1.07019e-06 0 | |
| Unc_Flux1000_3000 -inf nan -inf 6.09948e-09 111 | |
| nuFnu1000_3000 5.14613e-12 5.38784e-11 3.76523e-18 2.52534e-09 0 | |
| Sqrt_TS1000_3000 8.60778 22.2479 0.0 711.632 0 | |
| Flux3000_10000 4.83629e-10 4.64785e-09 9.33897e-16 2.16177e-07 0 | |
| Unc_Flux3000_10000 -inf nan -inf 2.98606e-09 137 | |
| nuFnu3000_10000 3.07335e-12 2.83225e-11 5.6769e-18 1.32102e-09 0 | |
| Sqrt_TS3000_10000 6.98671 13.9194 0.0 465.899 3 | |
| Flux10000_100000 7.39921e-11 3.22538e-10 1.03878e-17 1.13815e-08 0 | |
| Unc_Flux10000_100000 -inf nan -inf 7.88092e-10 670 | |
| nuFnu10000_100000 1.16414e-12 4.63575e-12 9.38528e-20 1.16018e-10 0 | |
| Sqrt_TS10000_100000 4.01938 5.47004 0.0 111.192 2 | |
| Variability_Index 154.126 1230.71 0.0 60733.9 0 | |
| Signif_Peak -inf nan -inf 255.071 2387 | |
| Flux_Peak -inf nan -inf 2.12374e-05 2387 | |
| Unc_Flux_Peak -inf nan -inf 1.47859e-07 2387 | |
| Time_Peak -inf nan -inf 364203776.0 2387 | |
| Peak_Interval -inf nan -inf 2.63e+06 2387 | |
| Flux_History 3.54401e-08 2.26052e-07 0.0 2.12374e-05 0 | |
| Unc_Flux_History -inf nan -inf 2.30386e-07 64623 | |
| Extended_Source_Name -- -- -- -- 0 | |
| 0FGL_Name -- -- -- -- 0 | |
| 1FGL_Name -- -- -- -- 0 | |
| 2FGL_Name -- -- -- -- 0 | |
| 1FHL_Name -- -- -- -- 0 | |
| ASSOC_GAM1 -- -- -- -- 0 | |
| ASSOC_GAM2 -- -- -- -- 0 | |
| ASSOC_GAM3 -- -- -- -- 0 | |
| TEVCAT_FLAG -- -- -- -- 0 | |
| ASSOC_TEV -- -- -- -- 0 | |
| CLASS1 -- -- -- -- 0 | |
| ASSOC1 -- -- -- -- 0 | |
| ASSOC2 -- -- -- -- 0 | |
| Flags 41.0494396836 246.948230748 0 2565 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment