Skip to content

This program is designed for the processing of photoreflection spectra, specifically for fitting the shape of the interference signal into the spectrum.

Notifications You must be signed in to change notification settings

akorzunin/PR_spectra_handler

Repository files navigation



Photoreflection spectra handler

This program is designed for the processing of photoreflection spectra, specifically for fitting the shape of the interference signal into the
spectrum.
Filtering out the interference signal in the spectrum can help to detect a more complex signal that has been distorted by the interference overlay.

Installation

  1. Make sure python3 is installed.
  2. Use pip install -r requirements.txt to install
    required libraries for python.
  3. Configure the fields in the auth_info.txt file

How to use

  1. Run main_plot.py.
  2. Open spectrum (file format .CSV or .DPT, example file: test_file.DPT first column: k[1/cm], second column: I[r. u.])
    12991.92168 0.00267
    12984.20676 0.00306
    12976.49185 0.00313
    ...			...
    
  3. Use the sliders to change the shape of the red sine wave in the left graph so that it matches the spectrum as closely as possible
    initial plot
  4. The result will be shown as a green line on the right graph

configured plot

Description of elements

  • Cd left and right sliders:
    These sliders represents amount of attenuation by gauss function from right and left side accordingly.

  • Wd left and right sliders:
    These sliders represents intensity of attenuation by gauss function from right and left side accordingly.

  • Amp slider:
    This slider represents amplitude of sine signal.

  • Freq slider:
    This slider represents frequency of sine signal.

  • Phase slider:
    This slider represents phase of sine signal from 0 to 2*Pi in rads.

  • Offset slider:
    This slider represents offset of sine signal along the x-axis.

  • Reset button:
    This button returns all sliders to their default positions witch is marked red on each slider.

License

Photoreflection spectra handler is free and open source software under the Apache 2.0 License.

About

This program is designed for the processing of photoreflection spectra, specifically for fitting the shape of the interference signal into the spectrum.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages