Exemple #1
0
    emin=['emin'],
    emax=['emax'],

    pointlike_norm=['pointlike', 'fit', 
                    ['ring_2year_P76_v0.fits', 'isotrop_2year_P76_source_v0.txt', 'Sreekumar Isotropic','Norm'],
                    ['Scale','Norm']],

    pointlike_norm_err=['pointlike','fit', 
                        ['ring_2year_P76_v0.fits','isotrop_2year_P76_source_v0.txt','Sreekumar Isotropic'],
                        ['Scale_err','Norm_err']],

    pointlike_norm_mc=['pointlike','mc', 
                       ['ring_2year_P76_v0.fits','isotrop_2year_P76_source_v0.txt','Sreekumar Isotropic'],
                       ['Scale','Norm']],

    gtlike_norm=['gtlike','fit', 
                 ['ring_2year_P76_v0.fits', 'isotrop_2year_P76_source_v0.txt', 'Sreekumar Isotropic','Norm'],
                 ['Value','Normalization','Prefactor']],

    gtlike_norm_err=['gtlike','fit',
                     ['ring_2year_P76_v0.fits', 'isotrop_2year_P76_source_v0.txt', 'Sreekumar Isotropic','Norm'],
                     ['Value_err','Normalization_err','Prefactor_err']],

    gtlike_norm_mc=['gtlike','mc',
                    ['ring_2year_P76_v0.fits', 'isotrop_2year_P76_source_v0.txt', 'Sreekumar Isotropic','Norm'],
                    ['Value','Normalization','Prefactor']],
    )

m = SimMerger(savedir='$fitdiffdata/v11/', keys=keys)
m.save('$fitdiffdata/v11/merged.hdf5')
Exemple #2
0
    flux_gtlike=['gtlike', 'fit', 'flux', 'flux'],
    flux_gtlike_err=['gtlike', 'fit', 'flux', 'flux_err'],
    flux_pointlike=['pointlike', 'fit', 'flux', 'flux'],
    flux_pointlike_err=['pointlike', 'fit', 'flux', 'flux_err'],
    flux_mc=['gtlike', 'mc', 'flux', 'flux'],

    index_gtlike=['gtlike', 'fit', 'model', 'Index'],
    index_gtlike_err=['gtlike', 'fit', 'model', 'Index_err'],
    index_pointlike=['pointlike', 'fit', 'model', 'Index'],
    index_pointlike_err=['pointlike', 'fit', 'model', 'Index_err'],
    index_mc=['gtlike', 'mc', 'model', 'Index'],

    glon=['pointlike', 'mc', 'position', 'gal', 0],
    glat=['pointlike', 'mc', 'position', 'gal', 1],
    ra=['pointlike', 'mc', 'position', 'equ', 0],
    dec=['pointlike', 'mc', 'position', 'equ', 1],
    i=['i'],
    emin=['emin'],
    emax=['emax'],
    time=['time'],
    phibins=['phibins'],
    spatial=['spatial'],
    position=['position'],
    
    binsz=['binsz'],
    rfactor=['rfactor'],
    )

m = SimMerger(savedir='$simsrcdata/v22/', keys=keys)
m.save('$simsrcdata/v22/merged.hdf5')
Exemple #3
0
from lande.utilities.simtools import SimMerger
keys = dict(TS_point=['point', 'TS'],
            TS_ext=['extended','TS_ext'],
            flux_mc=['mc','flux','flux'],
            index_mc=['mc','model','Index'],
            glon=['mc','position','gal',0],
            glat=['mc','position','gal',1])
m = SimMerger(savedir='$tsext_plane_data/v12', keys=keys)
m.save('$tsext_plane_data/v12/merged.hdf5')