Hello all,
I'm using eSASS in docker windows. When I use srctool to produce source spectrum, the processing time is incredibly long: it takes ~30 minutes to get the spectrum of a source with area ~0.36 deg². Is there a way to work around this?
How to increase the processing speed of srctool?
-
- Posts: 32
- Joined: Mon Jun 28, 2021 7:24 am
Re: How to increase the processing speed of srctool?
Dear Chi Fong
The processing speed scales with the xgrid parameter squared and linearly with the tstep parameter. If your source is large you can increase xgrid and tstep. You need to choose parameters which adequately sample the source over time. Please see the documentation on these parameters.
For large sources you can also disable psf correction (psftype=NONE). In addition parallel processing can be used to increase the speed up to a factor of 7, by setting the OMP_NUM_THREADS environment variable.
Best wishes
Jeremy
Edited: mistake in scaling of tstep
The processing speed scales with the xgrid parameter squared and linearly with the tstep parameter. If your source is large you can increase xgrid and tstep. You need to choose parameters which adequately sample the source over time. Please see the documentation on these parameters.
For large sources you can also disable psf correction (psftype=NONE). In addition parallel processing can be used to increase the speed up to a factor of 7, by setting the OMP_NUM_THREADS environment variable.
Best wishes
Jeremy
Edited: mistake in scaling of tstep
Re: How to increase the processing speed of srctool?
Many thanks Jeremy! I have changed the parameters as you suggested and the problems are solved.