File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -171,8 +171,8 @@ def unpack_sensor_type_52(data):
171171 fmin = data [49 ]
172172 fmax = data [50 ]
173173 if fmin != 999 and fmax != 999 :
174- fstep = ( fmax - fmin ) / ( len (swift ['energy_density' ]) - 1 )
175- swift ['frequency' ] = np .arange (fmin , fmax + fstep , fstep )
174+ fnum = len (swift ['energy_density' ])
175+ swift ['frequency' ] = np .linspace (fmin , fmax , fnum )
176176 else :
177177 swift ['frequency' ] = 999 * np .ones (np .shape (swift ['energy_density' ]))
178178 swift ['a1' ] = np .asarray (data [51 :93 ])/ 100
Original file line number Diff line number Diff line change 44# Format expected by setup.py and doc/source/conf.py: string of form "X.Y.Z"
55_version_major = 0
66_version_minor = 3
7- _version_micro = 3 # use '' for first of series, number for 1 and above
7+ _version_micro = 4 # use '' for first of series, number for 1 and above
88# _version_extra = 'dev'
99_version_extra = '' # TODO: Uncomment this for full releases
1010
You can’t perform that action at this time.
0 commit comments