Skip to content

Commit 6e991bb

Browse files
authored
Merge pull request #32 from ambarb/common_xpcs_v2
Common xpcs v2
2 parents 2ea7aee + 4c60d67 commit 6e991bb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+61040
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ build/
99
# Byte-compiled / optimized / DLL files
1010
__pycache__/
1111
*.py[cod]
12+
*.ipynb_checkpoints
1213

1314
# C extensions
1415
*.so

pyCHX/v2/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# This file can be used to make public "finished" libraries/functions without importing
2+
# the entire subdirectory.
3+
# i.e.
4+
# from ._commonspeckle import finalized_library
5+
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
'''Dev@Octo12,2017'''
2+
import numpy as np
3+
damaged_4Mpixel = np.array( [
4+
[ 1157, 2167 - 1231],[ 1158, 2167 - 1231],[ 1159, 2167 - 1231],[ 1160, 2167 - 1231],
5+
[ 1157, 2167 - 1230],[ 1158, 2167 - 1230],[ 1159, 2167 - 1230], [ 1160, 2167 - 1230],[ 1161, 2167 - 1230],
6+
[ 1157, 2167 - 1229],[ 1158, 2167 - 1229],[ 1159, 2167 - 1229], [ 1160, 2167 - 1229],
7+
[ 1159, 2167 - 1228], [ 1160, 2167 - 1228],
8+
[ 1159, 2167 - 1227], [ 1160, 2167 - 1227],
9+
[ 1159, 2167 - 1226],
10+
]
11+
)
12+
13+
14+
15+
#March 1, 2018
16+
#uid = '92394a'
17+
bad_pixel_4M = {
18+
'92394a': np.array( [ 828861, 882769, 915813, 928030, 959317, 959318, 992598,
19+
992599, 998768, 1009202, 1036105, 1143261, 1149650, 1259208,
20+
1321301, 1426856, 1426857, 1586163, 1774616, 1936607, 1936609,
21+
1936610, 1938677, 1938678, 1938681, 1940747, 1946959, 1955276,
22+
2105743, 2105744, 2107813, 2107815, 2109883, 2118276, 2118277,
23+
2149798, 2194925, 2283956, 2284016, 2284225, 2284388, 2290249,
24+
2292593, 2298770, 2304729, 2317145, 2344268, 2346156, 2356554,
25+
2360827, 2364960, 2408361, 2453913, 2470447, 2476691, 3462303,
26+
4155535] ), #57 points, coralpor
27+
28+
'6cc34a': np.array( [ 1058942, 2105743, 2105744, 2107813, 2107815, 2109883, 4155535] ) # coralpor
29+
30+
}
31+
32+
33+
## Create during 2018 Cycle 1
34+
BadPix_4M = np.array( [ 828861, 882769, 915813, 928030, 959317, 959318, 992598,
35+
992599, 998768, 1009202, 1036105, 1143261, 1149650, 1259208,
36+
1321301, 1426856, 1426857, 1586163, 1774616, 1936607, 1936609,
37+
1936610, 1938677, 1938678, 1938681, 1940747, 1946959, 1955276,
38+
2105743, 2105744, 2107813, 2107815, 2109883, 2118276, 2118277,
39+
2149798, 2194925, 2283956, 2284016, 2284225, 2284388, 2290249,
40+
2292593, 2298770, 2304729, 2317145, 2344268, 2346156, 2356554,
41+
2360827, 2364960, 2408361, 2453913, 2470447, 2476691, 3462303,
42+
4155535,
43+
1058942, 2105743, 2105744, 2107813, 2107815, 2109883, 4155535,
44+
2107814, 3462303,
45+
] )
46+
47+
48+
49+
50+
51+
52+

0 commit comments

Comments
 (0)