[Kst] NAN and filters
Gunter.Koenigsmann at semikron.com
Wed Jun 29 13:34:35 UTC 2016
I've just encountered a problem that technically is no bug but as I
have spent about an hour in tracking it down I thought I'd better report
it to the developers:
My Tektronix scope is willing to save the acquired data in a CSV
formats. The first few lines are headers. Then there is data - and the
very last line of the file consists of only a newline with no characters
kst knows how to skip headers and even knows how to extract information
from them. It also is real fast in reading the data. But the completely
empty line at the end of the file by default is interpreted as NaN.
Everything now looks fine. Curves are drawn, but if I try to
low-pass-filter them the result is a vector of the size 0:
The filter tried to fourier-transform a curve containing a NaN and the
result was all NaNs.
Don't kow if in the case that the filter generated zero data a test if
this was the cause would be a good idea or a mechanism that ignores a
totally empty line at the end of a file. But I at least wanted to report
that I found this.
Tel: +49 911-6559-6025
Fax: +49 911-6559-776747
gunter.koenigsmann at semikron.com
SEMIKRON Elektronik GmbH & Co. KG
Sigmundstrasse 200, 90431 Nürnberg, Germany
Amtsgericht Nürnberg HRA 13650
SEMIKRON Elektronik Verwaltungs GmbH
Amtsgericht Nürnberg HRB 21338
IMPORTANT NOTICE - The contents of this email and attachments are
confidential. If you are not the intended recipient you must not use,
copy, distribute or rely on this email and should please return it
immediately or notify us by telephone. While we take every reasonable
precaution to screen out computer viruses from emails, attachments to
this email may contain such viruses. We cannot accept liability for loss
or damage resulting from such viruses. The integrity of email across
the Internet cannot be guaranteed and SEMIKRON will not accept liability
for any claims arising as a result of the use of this medium for
transmissions by or to SEMIKRON.
This email has been scanned by the Symantec Email Security.cloud service.
More information about the Kst