Closed benjaminrose closed 1 year ago
Unfortunately TAKE_SPECTRUM doesn't work with SIMSED models because it pre-computes all magnitudes on a multidimensional grid and then loses the SEDs to avoid using too much memory. There is a relatively simple way to convert a SIMSED model into a NONIASED model that allows TAKE_SPECTRUM keys. I will post again after setting up an example.
Looks like you already used the NON1ASED feature for TAKE_SPECTRUM keys. The seg fault was due to the large number of NON1A keys (1000 keys) causing the README_DOC list to be exceeded. Fix is to change MXDOCLINE = 1000 -> 2000
For some reason, when using
TAKE_SPECTRUM(DEEP-PRISM): MJD(61000:61725:10) TEXPOSE_ZPOLY(3600)
on the SNIax model (taken from PLASRICC_ROOT), I get a seg fault.An example of the failing command can be found at
$SNANA_DEBUG/brose3/1ax_take_spectrum
.The end of the output from
snlc_sim.exe
is: