Git Product home page Git Product logo

planar_rzp_nexafs's Introduction

Planar_RZP_Nexafs

Image processing for pump-probe measurements.

  • single image processing includes:

    • background substraction methods (if background provided): no back, constant back, referenced back
    • referenced back: statistics can be saved too, reference roi for this method
    • data integration on given data roi
  • stack image processing includes:

    • referenced px-shift method for jitter-correction between stack members
    • referenced intensity normalization between stack members
    • avg, shift statistics etc.
    • save avg and statistics
  • two stack processing includes:

    • jitter or px shift correction between avg of two different stack of images (eg. pumped vs no not pumped)
    • normalization intensity between avg of two different stacks
    • nexafs calculation (e.g. -log(pumped/notPumped))
    • save data

In generell the routine is written for 32bit .Tiff pictures size: 2048x2052 px The routine is using ROIS in order to minimize the necessary calculation. The routine is robust and does not use many evaluation packages (e.g. the correlation function for the jitter correction "px-shift" can be as well done via np.correlate or FFT methods, here a simple minimum comparison in a 15px range about a given first guess minimum position does this - and is comparative much faster then correlating over the whole 2048 px for each stack member. But! it cannot do sub-px shifts - as it needs a distinct minimum and can not be used on spectra that are undecided in that point. NEXAFS usually provides a sharp absorption edge that fullfills the requirements.)

used packages and versions python 3.7 / 3.8 compatible matplotlib lmfit (Gaussfit otherwise not needed) numpy

help-scripts for agile use: basic_file_app.py, basic_image_app.py (if you use different image sizes or image endings like ".tif" e.g., you could change this here)

planar_rzp_nexafs's People

Contributors

similarities avatar

Watchers

James Cloos avatar  avatar

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.