Skip to content

'printing' a calibrated spectrum doesn't work #39

@MMuellenmeister

Description

@MMuellenmeister

When using the command print on a visible, calibrated spectrum only gives the error
ERROR: Module 'scipy' has no attribute 'polyval'
and does not create a file/picture.

Example:

spectrum get test.spc
calibration position set 1 1.2
print

I suspect in line 191 of /hdtv/plugins/printing.py one has to change
en = scipy.polyval(calpolynom, en) to
en = numpy.polyval(calpolynom, en).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions