Skip to content

Using as a library? #6

@XavierTolza

Description

@XavierTolza

Hi. First, thanks for this really nice plotting soft.
I think it would be really interesting to use your code to plot timeseries from python or C program without having to go manually through all the mess of file formatting, etc. I mean a C/python API where you just enter ftsplot(x,y1,y2,y3,...) and its handles the files creation and processing in a temporary folder and plots the result.
I can do the python interface, but I would just need a "API" to hook at with the following features:

  • FtsPrep: given a file, process it in headless mode, return the path of the corresponding resulting config file
  • FtsPlot:
    • given a flat file of events or intervals & a folder, import the flat file into the folder
    • given a list of timeseries config files and events folders, open a windows with the corresponding plots

Do you think it would be time consuming to create those three functions? I dive into the code but I do not know anything about QT. Additionally it would be nice if we could set up the colors of the plot.

If you could provide me with those functions, I could make a python package which could greatly improve ease of use of your library.
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions