Skip to content

Support for other spectral file formats #20

@ximeg

Description

@ximeg

Current version (0.6.2) of speview does support only a single binary data format, which is, unsurprisingly, called "SPE". It would be really great to add support for a wide range of data formats for the application, so it could be possible to display spectra obtained from other instruments.

Proposal

The simplest, smartest and the most effective way to do it would be to use some already available software to extract data from various file formats. One of the possibilities is to use hyperSpec for reading of files, extraction of data and representation of them in a standard way.

Subtasks

This seems to be quite a challenge, which is not simple and straightforward to implement. What we are going to do:

  1. Check how hyperSpec imports data
  2. Get sample datafiles in a variety of different formats (do they come with hyperSpec?)
  3. Check how one can pass data from R to Python
  4. Write some quick and dirty script that adds support for other file formats. It should work somehow and prove the principle!
  5. Think about standard data representation – some kind of data container that provides values in a specific way to speview. Implement it, write a good documentation for it.
  6. If necessary, refactor speview
  7. Double-check that everything works, that the dependencies are solved correctly and that the package get installed in the right way.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions