Chandra X-Ray Observatory
Last modified: 28 June 2018

How do I copy a block from one file to another?

The tool dmappend can append an extension (block) from one file to another existing file. In this example, the BKGREG block, which is part of the input file, is appended to output.fits:

unix% dmappend acisf00021_000N001_r0001_reg3.fits"[BKGREG]" output.fits

Last modified: 28 June 2018
Smithsonian Institute Smithsonian Institute

The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory. 60 Garden Street, Cambridge, MA 02138 USA.   Email: Smithsonian Institution, Copyright © 1998-2017. All rights reserved.