svalenti / pessto

pessto pipeline
MIT License
9 stars 6 forks source link

`SPEC_BIN` calculated incorrectly in spectral headers #8

Closed thespacedoctor closed 9 years ago

thespacedoctor commented 9 years ago

Currently in the pipeline I think you calculate this as:

SPEC_BIN = ( WAVELMAX - WAVELMIN ) / ( NELEM)

but this should be:

SPEC_BIN = ( WAVELMAX - WAVELMIN ) / ( NELEM - 1)
svalenti commented 9 years ago

fixed, check