Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/a/n/analysis_IM-HEAD/scripts/map2fits.py   analysis_IM(Download)
    out_fname = map_file.split('/')[-1][:-4] + '.fits'
 
    Map_fits = data_map.DataMap(sp.rollaxis(map, 0, 3))
    # Set axis names
    Map_fits.set_field('CTYPE3', 'FREQ--HZ', (), '32A')

src/a/n/analysis_IM-HEAD/map/tools.py   analysis_IM(Download)
 
    nf = Data.dims[-1]
    Map = data_map.DataMap(ma.zeros(tuple(shape) + (nf,), dtype=float))
 
    # Copy some data over that all the data_blocks should have