In the following cookbook section we explain how to derive images of short bursts, such as GRB, from SPI data. We assume that readers have some knowledge about SPI data analysis with the ISDC spi_science_analysis script. Please follow the above cookbook example if it is not the case.
This produces an observation group with a standard name "og_spi.fits" (located in ./obs/grb030501/ in our example).
If you do not want to use the GUI, you can also specify the above parameters by editing the spi_science_analysis.par file located in your $PFILES directory.
You know the input parameters from the first point above, so you can then launch the spi_grb_analysis script. Make sure the "grb_start" - "sec_to_avoid_before_grb" is not before the pointing start, and that "grb_stop" + "sec_to_avoid_after_grb" is not after the pointing end, as there is no corresponding checks in the spi_grb_analysis script.
In our example:
spi_grb_analysis 2003-05-01T03:10:10.000 2003-05-01T03:10:30.000 UTC 10 10.
You can re-run spi_grb_analysis in the same directory as many times as you wish, changing the parameters as explained above. However, when making a new run, the output of the previous run will be deleted. If you want to keep your output before making a new run, save them by copying the entire directory (e.g., cd ..; cp -r grb030501 grb030501_imaging; cd grb030501) before continuing.