Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application vs library #77

Open
ivergara opened this issue Jul 27, 2019 · 1 comment
Open

Application vs library #77

ivergara opened this issue Jul 27, 2019 · 1 comment
Labels

Comments

@ivergara
Copy link
Collaborator

How do you see this code? More as a library that allows you to build from it or as an application (as in some sort of "executable")? Or perhaps as both?

@francescorandi
Copy link
Owner

I feel it would be more useful as a library, with some "high level" function that allow you to easily use it inside your script and/or some example scripts that can be directly used if there are no particular needs. If we provide only an "executable" or similar, we might have to force, e.g, the input file to be in a specific format. This would require that people use a separate program or script of their own to convert the data in the format we use. If instead we provide functions and example scripts, people can easily integrate them with an interface to their data format.
It is also easy to build a simple user-interface with Matplotlib, so that we can still build some interactive part that can be called with a line of code. If you're not familiar with that, see in my repository mistofrutta, mistofrutta.plt.hyperstack. It's a tool to visualize "volumetric" images with different channels. We work a lot with images of samples taken at different depths (positions along z in the microscope) and at different wavelengths.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants