Giter Site home page Giter Site logo

Comments (5)

tpeulen avatar tpeulen commented on June 22, 2024

I have only very limited testing data. Can you provide me with a PTU file? Then I can make sure your data is going to work on the next release (ETA 1-2 month).

from tttrlib.

Ozcifci avatar Ozcifci commented on June 22, 2024

Here are the PTU file and the short python script I wrote:
https://drive.google.com/file/d/1WFfUVMoAuF7sfyKUyhD5y-KtnOhm5iHe/view?usp=sharing
Please let me know if you need more data or information about the measurement.
Thank you a lot for your help.

from tttrlib.

tpeulen avatar tpeulen commented on June 22, 2024

Thanks, a lot. I will let you know on my progress via this issue.

from tttrlib.

Ozcifci avatar Ozcifci commented on June 22, 2024

Since Monday I have used get_fluorescence_decay_image and analyzed the data with fourier transformation and IRF deconvolution with my script.
I have realized that my data has per pixel too few photons to perform proper phasor analysis. But I have to work with low concentrations.
get_fluorescence_decay_image bins the data in 16384 channels even though the data requires only 3214 channels after the time calibration. After increasing the micro_time_coarsening to 10 or so, I could get reasonable binning of the data. But, the get_phasor_image function does not have micro_time_coarsening, which is probably why the function cannot fourier transform the flat decay curve. I think the problem lies there. It may be good if you can implement micro_time_coarsening to get_phasor_image, too.

However, even binning the photons with lower resolution did not yield a good phasor plot, the data points are still too close to zero lifetime, which is not true.
I will now increase the photon count per pixel by decreasing the pixel size of 512x512 to e.g. 50x50.
Is there a possibility to do that while creating the tttrlib.CLSMImage Image?

from tttrlib.

Ozcifci avatar Ozcifci commented on June 22, 2024

Update:
I found the problem and could perform a phasor plot without micro_time_coarsening and the need to reduce the image size.

20p_1st_1_1_1

The problem is that get_fluorescence_decay_image is binning the data in ~20% of the whole bins and filling the rest with zeros.
Thus the whole decay curve is squeezed to 20% of the whole macro resolution. I have deleted the unnecessary bins and now everything is working:
img_decays = np.delete(img_decays, np.s_[int(642/3276*img_decays.shape[3]):], axis=3)

Anyway it may be good if you could correct it in your next release since my script is quite slow.

Best wishes,
Özcifci

from tttrlib.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.