-
Notifications
You must be signed in to change notification settings - Fork 1
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
start chisurf instance from python script #45
Comments
This is a great idea. Using and chisurf in other software is possible. Take a look at the following test: https://github.com/Fluorescence-Tools/chisurf/blob/master/test/test_fit_tcspc.py I already migrated the master branch of chisurf to python 3. Since the last release, there were many changes. This and the lack of testing by (qualified) testers is the main reason I did not release a new version. |
Sure I can test the new version of chisurf. I cloned the master repo and ran: Next, in python shell:
Then I tried importing again: File "C:\ProgramData\Anaconda3\lib\site-packages\chisurf-19.9.22-py3.7-win-amd64.egg\chisurf\fio\photons.py", line 34, in ModuleNotFoundError: No module named 'tttrlib' I checked and there is a file called tttr in ~\chisurf\chisurf\fio, but not tttrlib. Untill sofar, |
Is your feature request related to a problem? Please describe.
For the CD95 project we are doing many TCSPC fits, similar to the TGR5 project. The option to run scripts in Chisurf is already quite helpful. Is it also possible to create a Chisurf instance from a python interpreter and do fitting there? In this way chisurf TCSPC fitting can be embedded in whatever analysis other analysis is undertaken.
We do live-cell data, so we generate a lot of data for which I'd like to automate the analysis.
Describe the solution you'd like
From there the combination command line + cs gui should enable scripting Donor only calibrated Donor Acceptor fits.
Describe alternatives you've considered
I have a few scripts for running batch fits in Chisurf. It works ok, but it's a bit messy and I'd like to automate human clicking as far as routine analysis is concerned. If it works nicely, it can be modularly implemented wherever TCSPC fitting is needed.
Additional context
Chisurf running py2.7 and Jupyter QtConsole 4.2.1 (I couldn't find the software version).
Is pain to be expected from running py2.7 chisurf in 3.7 interpreter?
Many thanks,
The text was updated successfully, but these errors were encountered: