-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
I tried to concatenate two sky model with the following code:
import lsmtool
s1 = lsmtool.load('catalog.skymodel')
s2 = lsmtool.load('Ateam_lowres.skymodel')
lsmtool.operations.concatenate.concatenate(s1, s2)
this used to work fine with earlier version of lsmtool but with version 1.4.9, I get wrong spectral index and ref frequency in the resulting skymodel.
For example, previously (output_1-4-7.skymodel):
1858.9+2503, POINT, Main, 18:58:54.2496, 25.03.00.684, 1.2851, 0.0, 0.0, 0.0, 60000000.0, [-0.4473, 0.0], 0.0, 0.0, 0.0
now (output_1-4-9.skymodel):
1858.9+2503, POINT, Main, 18:58:54.2496, 25.03.00.684, 1.2851, 0.0, 0.0, 0.0, 999999.0, [-0.4473, 1e+20], 0.0, 0.0, 0.0
catalog.skymodel.txt
Ateam_lowres.skymodel.txt
output_1-4-7.skymodel.txt
output_1-4-9.skymodel.txt
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels