Add data
Browse files- data/Example PCM data/Read me.txt +33 -0
- data/Example PCM data/TEST 512x512.npy +3 -0
- data/Example PCM data/TEST 512x512_hadamard_measurement_vector.npy +3 -0
- data/Example PCM data/TEST 512x512_reconstructed_image.npy +3 -0
- data/Example PCM data/TEST 512x512_reconstructed_image.png +3 -0
- data/Example PCM data/TEST 512x512_spyrit_reconstructed_image.npy +3 -0
- data/Example PCM data/TEST 512x512_spyrit_reconstructed_image.png +3 -0
- data/Example PCM data/output.npy +3 -0
- data/Example PCM data/output.png +3 -0
- data/Example PCM data/output_clipped.png +3 -0
data/Example PCM data/Read me.txt
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
The example data contain measurement data files:
|
| 2 |
+
"GaAs ref cell closer 20ms 16repeat 100mAbiasLED 800mV bias 256x256 +390+330.txt"
|
| 3 |
+
An example of the corresponding reconstructed image is given in:
|
| 4 |
+
"output.txt"
|
| 5 |
+
|
| 6 |
+
Measurement data files contain tab delimited text data with one line per measurement comprising a pattern index followed by a measured current.
|
| 7 |
+
|
| 8 |
+
Data are generated by illuminating a sample with split Hadamard patterns while simultaneously measuring the sample's output current.
|
| 9 |
+
|
| 10 |
+
*** Measurement theory ***
|
| 11 |
+
In principle, the measured current corresponds to the sum of photocurrent generated by the measurement pattern plus a constant background current. In vector form this is written:
|
| 12 |
+
y = Phi*x + y_0
|
| 13 |
+
where y (vector) is the measured current, x (vector) is the photocurrent response of the sample (the measurand) and Phi is a matrix containing all of the measurement patterns as rows.
|
| 14 |
+
|
| 15 |
+
*** Pattern generation ***
|
| 16 |
+
Split Hadamard patterns are 2D binary patterns with 2^oRow rows and 2^oCol columns. Each one is generated by mapping a row of a 2^(oRow+oCol) x 2^(oRow+oCol) Hadamard matrix onto a 2D array. The pattern index tells us which row of the Hadamard matrix is used for each Split Hadamard pattern. Elements of Hadamard matrices are -1 or +1, whereas the measurement system uses binary arrays of 0, +1. Each row of the Hadamard array is split into a pair of binary patterns: a positive pattern and a negative pattern. In the positive pattern the -1 elements of the Hadamard vector are replaced with 0, but the +1 elements remain the same. The negative pattern is generated by taking the positive pattern and swapping 1s and 0s.
|
| 17 |
+
|
| 18 |
+
For example, if the ith row of the 4x4 Hadamard matrix is
|
| 19 |
+
Phi_i = [+1 +1 -1 -1];
|
| 20 |
+
Then the positive 2D pattern mapped into a 2x2 2D array is:
|
| 21 |
+
H+_i = [1 1]
|
| 22 |
+
[0 0]
|
| 23 |
+
and the negative pattern is:
|
| 24 |
+
H-_i = [0 0]
|
| 25 |
+
[1 1]
|
| 26 |
+
|
| 27 |
+
The rows of the Hadamard matrix are ordered such that the pattern resolution increases with increasing index.
|
| 28 |
+
|
| 29 |
+
*** Image reconstruction ***
|
| 30 |
+
Images can be reconstructed using the inverse Hadamard transform. To do this, the measurements must be sorted into natural Hadamard order and the differential between measurements of positive and negative patterns should be taken. An example of this is given in the accompanying MATLAB Live Script "partialReconstruction.mlx".
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
|
data/Example PCM data/TEST 512x512.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c47c1198252fc4c86b5c35e355567004636bbf486157e970cd1265cdcf50466f
|
| 3 |
+
size 8388736
|
data/Example PCM data/TEST 512x512_hadamard_measurement_vector.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bf10656e2351131d5846179cdb7b9b5efe61f08a0815257a9721afea408c2893
|
| 3 |
+
size 2097280
|
data/Example PCM data/TEST 512x512_reconstructed_image.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a915da6dbcc41328b01e01d5f8b87fb1b912e526240dc1dbe65a0fedc8cab0b1
|
| 3 |
+
size 1048704
|
data/Example PCM data/TEST 512x512_reconstructed_image.png
ADDED
|
Git LFS Details
|
data/Example PCM data/TEST 512x512_spyrit_reconstructed_image.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:daa555db1e52886e573f391c6e78cdd96efbc77de8145591eaa3be90e5939bff
|
| 3 |
+
size 1048704
|
data/Example PCM data/TEST 512x512_spyrit_reconstructed_image.png
ADDED
|
Git LFS Details
|
data/Example PCM data/output.npy
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3e461cb1843f23f173f7e0ee9cd5e4d79988bb92f4ba531505fe12230f9d62f9
|
| 3 |
+
size 524416
|
data/Example PCM data/output.png
ADDED
|
Git LFS Details
|
data/Example PCM data/output_clipped.png
ADDED
|
Git LFS Details
|