This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| #-*- coding: utf-8 -*- | |
| """ | |
| Program accepts two parameters: image1 image2 | |
| Both files have to have the same dimension. Any format accepted by scipy is possible. | |
| They may be grayscale or RGB, in the latter case the R+G+B value is taken. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python3 | |
| #-*- coding: utf-8 -*- | |
| """ | |
| Do you have some "outlier" noise in your experimental data, e.g. due to "hot pixels" in spectrometer? | |
| Run | |
| python3 rm_outliers.py my_file.dat | |
| and the new "my_file.dat_corrected.dat" will be free of these errors. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python3 | |
| #-*- coding: utf-8 -*- | |
| # License: This code is released as public domain. | |
| import time | |
| import numpy as np | |
| import tkinter as tk | |
| X_SIZE, Y_SIZE = 200, 200 |
OlderNewer