mitsud90: Initial support for the Fujifilm ASK-500

Looks to be a near-identical clone of the CP-M1 series, albeit with
different color curves and no LUT.

Currently untested, as I don't know the USB VID/PID.  Gutenprint
support not yet committed.
This commit is contained in:
Solomon Peachy 2021-03-15 17:08:43 -04:00
parent 231341dd2b
commit e450d6f496
8 changed files with 582 additions and 18 deletions

15
README
View File

@ -57,6 +57,7 @@
Mitsubishi CP-D90DW Mitsubishi CP-D90DW
Mitsubishi CP-K60DW-S Mitsubishi CP-K60DW-S
Mitsubishi CP-M1A / CP-M1E Mitsubishi CP-M1A / CP-M1E
Mitsubishi CP-M15
Mitsubishi P95DW Mitsubishi P95DW
Mitsubishi P93DW Mitsubishi P93DW
Shinko CHC-S1245 (aka Sinfonia E1 and DNP Q8) Shinko CHC-S1245 (aka Sinfonia E1 and DNP Q8)
@ -75,6 +76,7 @@
DNP M4 / Q4 DNP M4 / Q4
DNP M8 DNP M8
Fujifilm ASK-500
HiTi P110 series HiTi P110 series
HiTi P510 series HiTi P510 series
HiTi M610 (not X610!) HiTi M610 (not X610!)
@ -91,7 +93,6 @@
Mitsubishi CP3020D/DE and CP3020DA/DAE Mitsubishi CP3020D/DE and CP3020DA/DAE
Mitsubishi CP9000DW, CP9500DW, and CP9600DW-S Mitsubishi CP9000DW, CP9500DW, and CP9600DW-S
Mitsubishi CP9800DW, CP9800DW-S, CP9810DW, and CP9820DW-S Mitsubishi CP9800DW, CP9800DW-S, CP9810DW, and CP9820DW-S
Mitsubishi CP-M15
Olmec OP900 Olmec OP900
Shinko CHC-S2245 (aka Sinfonia S3) Shinko CHC-S2245 (aka Sinfonia S3)
Shinko CHC-S6145-5A (aka Sinfonia CS2-c) Shinko CHC-S6145-5A (aka Sinfonia CS2-c)
@ -987,20 +988,22 @@
Model IDs recognized: Model IDs recognized:
mitsubishi-d90dw mitsubishi-d90dw mitsubishi-cpm1 mitsubishi-cpm1
fujifilm-ask-500
Supported and tested printers: Supported and tested printers:
Mitsubishi CP-D90DW Mitsubishi CP-D90DW
Mitsubishi CP-M1A / CP-M1E Mitsubishi CP-M1A / CP-M1E
Work-in-progress printers:
Mitsubishi CP-M15E Mitsubishi CP-M15E
Work-in-progress printers (unknown USB ID)
Fujifilm ASK-500
*** VERY IMPORTANT *** *** VERY IMPORTANT ***
The CP-M1 family is similar to the CP-D70 family in that it requires The CP-M1/ASK500 family is similar to the CP-D70 family in that it requires
the input data to be gamma corrected (and transformed in other ways) the input data to be gamma corrected (and transformed in other ways)
before it is sent to the printer. before it is sent to the printer.

View File

@ -115,6 +115,7 @@ enum {
P_ES3_30, P_ES3_30,
P_ES40, P_ES40,
P_FUJI_ASK300, P_FUJI_ASK300,
P_FUJI_ASK500,
P_HITI_51X, P_HITI_51X,
P_HITI_52X, P_HITI_52X,
P_HITI_720, P_HITI_720,

View File

@ -32,9 +32,12 @@
#define USB_VID_MITSU 0x06D3 #define USB_VID_MITSU 0x06D3
#define USB_PID_MITSU_D90 0x3B60 #define USB_PID_MITSU_D90 0x3B60
#define USB_PID_MITSU_CPM1 0x3B80 #define USB_PID_MITSU_CPM1 0x3B80
#define USB_VID_FUJIFILM 0x04cb
//#define USB_PID_FUJIFILM_ASK500 0x1234
/* CPM1 stuff */ /* CPM1 stuff */
#define CPM1_LAMINATE_STRIDE 1852 #define CPM1_LAMINATE_STRIDE 1852
#define CPM1_LAMINATE_FILE "M1_MAT02.raw" #define CPM1_LAMINATE_FILE "M1_MAT02.raw"
#define CPM1_CPC_FNAME "CPM1_N1.csv" #define CPM1_CPC_FNAME "CPM1_N1.csv"
#define CPM1_CPC_G1_FNAME "CPM1_G1.csv" #define CPM1_CPC_G1_FNAME "CPM1_G1.csv"
@ -42,6 +45,12 @@
#define CPM1_CPC_G5_VIVID_FNAME "CPM1_G5_vivid.csv" #define CPM1_CPC_G5_VIVID_FNAME "CPM1_G5_vivid.csv"
#define CPM1_LUT_FNAME "CPM1_NL.lut" #define CPM1_LUT_FNAME "CPM1_NL.lut"
/* ASK500 stuff -- Note the lack of LUT or G5_vivid! */
#define ASK5_LAMINATE_FILE "ASK5_MAT.raw"
#define ASK5_CPC_FNAME "ASK5_N1.csv"
#define ASK5_CPC_G1_FNAME "ASK5_G1.csv"
#define ASK5_CPC_G5_FNAME "ASK5_G5.csv"
/* Printer data structures */ /* Printer data structures */
#define COM_STATUS_TYPE_MODEL 0x01 // 10, null-terminated ASCII. 'CPD90D' #define COM_STATUS_TYPE_MODEL 0x01 // 10, null-terminated ASCII. 'CPD90D'
#define COM_STATUS_TYPE_x02 0x02 // 1, 0x5f ? #define COM_STATUS_TYPE_x02 0x02 // 1, 0x5f ?
@ -624,7 +633,8 @@ static int mitsud90_attach(void *vctx, struct dyesub_connection *conn, uint8_t j
ctx->marker.levelmax = be16_to_cpu(resp.media.capacity); ctx->marker.levelmax = be16_to_cpu(resp.media.capacity);
ctx->marker.levelnow = be16_to_cpu(resp.media.remain); ctx->marker.levelnow = be16_to_cpu(resp.media.remain);
if (ctx->conn->type == P_MITSU_M1) { if (ctx->conn->type == P_MITSU_M1 ||
ctx->conn->type == P_FUJI_ASK500) {
#if defined(WITH_DYNAMIC) #if defined(WITH_DYNAMIC)
/* Attempt to open the library */ /* Attempt to open the library */
if (mitsu_loadlib(&ctx->lib, ctx->conn->type)) if (mitsu_loadlib(&ctx->lib, ctx->conn->type))
@ -652,7 +662,8 @@ static void mitsud90_teardown(void *vctx) {
if (!ctx) if (!ctx)
return; return;
if (ctx->conn->type == P_MITSU_M1) { if (ctx->conn->type == P_MITSU_M1 ||
ctx->conn->type == P_FUJI_ASK500) {
mitsu_destroylib(&ctx->lib); mitsu_destroylib(&ctx->lib);
} }
@ -795,7 +806,8 @@ static int mitsud90_read_parse(void *vctx, const void **vjob, int data_fd, int c
/* How many pixels do we need to read? */ /* How many pixels do we need to read? */
remain = be16_to_cpu(job->hdr.cols) * be16_to_cpu(job->hdr.rows) * 3; remain = be16_to_cpu(job->hdr.cols) * be16_to_cpu(job->hdr.rows) * 3;
if (ctx->conn->type == P_MITSU_M1) { if (ctx->conn->type == P_MITSU_M1 ||
ctx->conn->type == P_FUJI_ASK500) {
/* See if it's a special gutenprint "not-raw" job */ /* See if it's a special gutenprint "not-raw" job */
job->is_raw = !job->hdr.zero_b[3]; job->is_raw = !job->hdr.zero_b[3];
job->hdr.zero_b[3] = 0; job->hdr.zero_b[3] = 0;
@ -848,6 +860,7 @@ static int mitsud90_read_parse(void *vctx, const void **vjob, int data_fd, int c
} }
/* CP-M1 has... other considerations */ /* CP-M1 has... other considerations */
/* NOTE: ASK500 does *not* use an external LUT! */
if (ctx->conn->type == P_MITSU_M1 && !job->is_raw) { if (ctx->conn->type == P_MITSU_M1 && !job->is_raw) {
if (!ctx->lib.dl_handle) { if (!ctx->lib.dl_handle) {
ERROR("!!! Image Processing Library not found, aborting!\n"); ERROR("!!! Image Processing Library not found, aborting!\n");
@ -945,7 +958,8 @@ static int mitsud90_main_loop(void *vctx, const void *vjob) {
ctx->pano_page = 0; ctx->pano_page = 0;
} }
if (ctx->conn->type == P_MITSU_M1 && !job->is_raw) { if ((ctx->conn->type == P_MITSU_M1 ||
ctx->conn->type == P_FUJI_ASK500) && !job->is_raw) {
struct BandImage input; struct BandImage input;
struct BandImage output; struct BandImage output;
struct M1CPCData *cpc; struct M1CPCData *cpc;
@ -982,15 +996,26 @@ static int mitsud90_main_loop(void *vctx, const void *vjob) {
2 NOLUT, NOMATCH */ 2 NOLUT, NOMATCH */
const char *gammatab; const char *gammatab;
if (job->m1_colormode == 1) {
gammatab = CPM1_CPC_G5_FNAME; if (ctx->conn->type == P_FUJI_ASK500) {
} else if (job->m1_colormode == 3) { if (job->m1_colormode == 1) {
gammatab = CPM1_CPC_G5_VIVID_FNAME; gammatab = ASK5_CPC_G5_FNAME;
} else { /* Mode 0 or 2 */ } else { /* Mode 0 or 2 */
gammatab = CPM1_CPC_G1_FNAME; gammatab = ASK5_CPC_G1_FNAME;
}
cpc = ctx->lib.M1_GetCPCData(corrtable_path, ASK5_CPC_FNAME, gammatab);
} else {
if (job->m1_colormode == 1) {
gammatab = CPM1_CPC_G5_FNAME;
} else if (job->m1_colormode == 3) {
gammatab = CPM1_CPC_G5_VIVID_FNAME;
} else { /* Mode 0 or 2 */
gammatab = CPM1_CPC_G1_FNAME;
}
cpc = ctx->lib.M1_GetCPCData(corrtable_path, CPM1_CPC_FNAME, gammatab);
} }
cpc = ctx->lib.M1_GetCPCData(corrtable_path, CPM1_CPC_FNAME, gammatab);
if (!cpc) { if (!cpc) {
ERROR("Cannot read data tables\n"); ERROR("Cannot read data tables\n");
free(convbuf); free(convbuf);
@ -1686,14 +1711,19 @@ static int mitsud90_query_stats(void *vctx, struct printerstats *stats)
if (mitsud90_query_status(ctx, &resp)) if (mitsud90_query_status(ctx, &resp))
return CUPS_BACKEND_FAILED; return CUPS_BACKEND_FAILED;
stats->mfg = "Mitsubishi";
switch (ctx->conn->type) { switch (ctx->conn->type) {
case P_MITSU_D90: case P_MITSU_D90:
stats->mfg = "Mitsubishi";
stats->model = "CP-D90 family"; stats->model = "CP-D90 family";
break; break;
case P_MITSU_M1: case P_MITSU_M1:
stats->mfg = "Mitsubishi";
stats->model = "CP-M1 family"; stats->model = "CP-M1 family";
break; break;
case P_FUJI_ASK500:
stats->mfg = "Fujifilm";
stats->model = "AK500";
break;
default: default:
stats->model = "Unknown!"; stats->model = "Unknown!";
break; break;
@ -1749,6 +1779,7 @@ const struct dyesub_backend mitsud90_backend = {
{ USB_VID_MITSU, USB_PID_MITSU_D90, P_MITSU_D90, NULL, "mitsubishi-d90dw"}, { USB_VID_MITSU, USB_PID_MITSU_D90, P_MITSU_D90, NULL, "mitsubishi-d90dw"},
{ USB_VID_MITSU, USB_PID_MITSU_CPM1, P_MITSU_M1, NULL, "mitsubishi-cpm1"}, { USB_VID_MITSU, USB_PID_MITSU_CPM1, P_MITSU_M1, NULL, "mitsubishi-cpm1"},
{ USB_VID_MITSU, USB_PID_MITSU_CPM1, P_MITSU_M1, NULL, "mitsubishi-cpm15"}, // Duplicate for the M15 { USB_VID_MITSU, USB_PID_MITSU_CPM1, P_MITSU_M1, NULL, "mitsubishi-cpm15"}, // Duplicate for the M15
// { USB_VID_FUJIFILM, USB_PID_FUJIFILM_ASK500, P_FUJI_ASK500, NULL, "fujifilm-ask500"},
{ 0, 0, 0, NULL, NULL} { 0, 0, 0, NULL, NULL}
} }
}; };

BIN
icm/Fujifilm/ASK500-V1A.icc (Stored with Git LFS) Normal file

Binary file not shown.

258
lib70x/data/ASK5_G1.csv Normal file
View File

@ -0,0 +1,258 @@
INDEX,GNM_A-B,GNM_A-G,GNM_A-R
256,256,256,256
0,0,0,0
1,64,64,64
2,128,128,128
3,192,192,192
4,256,256,256
5,320,320,320
6,384,384,384
7,448,448,448
8,512,512,512
9,576,576,576
10,640,640,640
11,704,704,704
12,768,768,768
13,832,832,832
14,896,896,896
15,960,960,960
16,1024,1024,1024
17,1088,1088,1088
18,1152,1152,1152
19,1216,1216,1216
20,1280,1280,1280
21,1344,1344,1344
22,1408,1408,1408
23,1472,1472,1472
24,1536,1536,1536
25,1600,1600,1600
26,1664,1664,1664
27,1728,1728,1728
28,1792,1792,1792
29,1856,1856,1856
30,1920,1920,1920
31,1984,1984,1984
32,2048,2048,2048
33,2112,2112,2112
34,2176,2176,2176
35,2240,2240,2240
36,2304,2304,2304
37,2368,2368,2368
38,2432,2432,2432
39,2496,2496,2496
40,2560,2560,2560
41,2624,2624,2624
42,2688,2688,2688
43,2752,2752,2752
44,2816,2816,2816
45,2880,2880,2880
46,2944,2944,2944
47,3008,3008,3008
48,3072,3072,3072
49,3136,3136,3136
50,3200,3200,3200
51,3264,3264,3264
52,3328,3328,3328
53,3392,3392,3392
54,3456,3456,3456
55,3520,3520,3520
56,3584,3584,3584
57,3648,3648,3648
58,3712,3712,3712
59,3776,3776,3776
60,3840,3840,3840
61,3904,3904,3904
62,3968,3968,3968
63,4032,4032,4032
64,4096,4096,4096
65,4160,4160,4160
66,4224,4224,4224
67,4288,4288,4288
68,4352,4352,4352
69,4416,4416,4416
70,4480,4480,4480
71,4544,4544,4544
72,4608,4608,4608
73,4672,4672,4672
74,4736,4736,4736
75,4800,4800,4800
76,4864,4864,4864
77,4928,4928,4928
78,4992,4992,4992
79,5056,5056,5056
80,5120,5120,5120
81,5184,5184,5184
82,5248,5248,5248
83,5312,5312,5312
84,5376,5376,5376
85,5440,5440,5440
86,5504,5504,5504
87,5568,5568,5568
88,5632,5632,5632
89,5696,5696,5696
90,5760,5760,5760
91,5824,5824,5824
92,5888,5888,5888
93,5952,5952,5952
94,6016,6016,6016
95,6080,6080,6080
96,6144,6144,6144
97,6208,6208,6208
98,6272,6272,6272
99,6336,6336,6336
100,6400,6400,6400
101,6464,6464,6464
102,6528,6528,6528
103,6592,6592,6592
104,6656,6656,6656
105,6720,6720,6720
106,6784,6784,6784
107,6848,6848,6848
108,6912,6912,6912
109,6976,6976,6976
110,7040,7040,7040
111,7104,7104,7104
112,7168,7168,7168
113,7232,7232,7232
114,7296,7296,7296
115,7360,7360,7360
116,7424,7424,7424
117,7488,7488,7488
118,7552,7552,7552
119,7616,7616,7616
120,7680,7680,7680
121,7744,7744,7744
122,7808,7808,7808
123,7872,7872,7872
124,7936,7936,7936
125,8000,8000,8000
126,8064,8064,8064
127,8128,8128,8128
128,8192,8192,8192
129,8256,8256,8256
130,8320,8320,8320
131,8384,8384,8384
132,8448,8448,8448
133,8512,8512,8512
134,8576,8576,8576
135,8640,8640,8640
136,8704,8704,8704
137,8768,8768,8768
138,8832,8832,8832
139,8896,8896,8896
140,8960,8960,8960
141,9024,9024,9024
142,9088,9088,9088
143,9152,9152,9152
144,9216,9216,9216
145,9280,9280,9280
146,9344,9344,9344
147,9408,9408,9408
148,9472,9472,9472
149,9536,9536,9536
150,9600,9600,9600
151,9664,9664,9664
152,9728,9728,9728
153,9792,9792,9792
154,9856,9856,9856
155,9920,9920,9920
156,9984,9984,9984
157,10048,10048,10048
158,10112,10112,10112
159,10176,10176,10176
160,10240,10240,10240
161,10304,10304,10304
162,10368,10368,10368
163,10432,10432,10432
164,10496,10496,10496
165,10560,10560,10560
166,10624,10624,10624
167,10688,10688,10688
168,10752,10752,10752
169,10816,10816,10816
170,10880,10880,10880
171,10944,10944,10944
172,11008,11008,11008
173,11072,11072,11072
174,11136,11136,11136
175,11200,11200,11200
176,11264,11264,11264
177,11328,11328,11328
178,11392,11392,11392
179,11456,11456,11456
180,11520,11520,11520
181,11584,11584,11584
182,11648,11648,11648
183,11712,11712,11712
184,11776,11776,11776
185,11840,11840,11840
186,11904,11904,11904
187,11968,11968,11968
188,12032,12032,12032
189,12096,12096,12096
190,12160,12160,12160
191,12224,12224,12224
192,12288,12288,12288
193,12352,12352,12352
194,12416,12416,12416
195,12480,12480,12480
196,12544,12544,12544
197,12608,12608,12608
198,12672,12672,12672
199,12736,12736,12736
200,12800,12800,12800
201,12864,12864,12864
202,12928,12928,12928
203,12992,12992,12992
204,13056,13056,13056
205,13120,13120,13120
206,13184,13184,13184
207,13248,13248,13248
208,13312,13312,13312
209,13376,13376,13376
210,13440,13440,13440
211,13504,13504,13504
212,13568,13568,13568
213,13632,13632,13632
214,13696,13696,13696
215,13760,13760,13760
216,13824,13824,13824
217,13888,13888,13888
218,13952,13952,13952
219,14016,14016,14016
220,14080,14080,14080
221,14144,14144,14144
222,14208,14208,14208
223,14272,14272,14272
224,14336,14336,14336
225,14400,14400,14400
226,14464,14464,14464
227,14528,14528,14528
228,14592,14592,14592
229,14656,14656,14656
230,14720,14720,14720
231,14784,14784,14784
232,14848,14848,14848
233,14912,14912,14912
234,14976,14976,14976
235,15040,15040,15040
236,15104,15104,15104
237,15168,15168,15168
238,15232,15232,15232
239,15296,15296,15296
240,15360,15360,15360
241,15424,15424,15424
242,15488,15488,15488
243,15552,15552,15552
244,15616,15616,15616
245,15680,15680,15680
246,15744,15744,15744
247,15808,15808,15808
248,15872,15872,15872
249,15936,15936,15936
250,16000,16000,16000
251,16064,16064,16064
252,16128,16128,16128
253,16192,16192,16192
254,16256,16256,16256
255,16383,16383,16383
1 INDEX GNM_A-B GNM_A-G GNM_A-R
2 256 256 256 256
3 0 0 0 0
4 1 64 64 64
5 2 128 128 128
6 3 192 192 192
7 4 256 256 256
8 5 320 320 320
9 6 384 384 384
10 7 448 448 448
11 8 512 512 512
12 9 576 576 576
13 10 640 640 640
14 11 704 704 704
15 12 768 768 768
16 13 832 832 832
17 14 896 896 896
18 15 960 960 960
19 16 1024 1024 1024
20 17 1088 1088 1088
21 18 1152 1152 1152
22 19 1216 1216 1216
23 20 1280 1280 1280
24 21 1344 1344 1344
25 22 1408 1408 1408
26 23 1472 1472 1472
27 24 1536 1536 1536
28 25 1600 1600 1600
29 26 1664 1664 1664
30 27 1728 1728 1728
31 28 1792 1792 1792
32 29 1856 1856 1856
33 30 1920 1920 1920
34 31 1984 1984 1984
35 32 2048 2048 2048
36 33 2112 2112 2112
37 34 2176 2176 2176
38 35 2240 2240 2240
39 36 2304 2304 2304
40 37 2368 2368 2368
41 38 2432 2432 2432
42 39 2496 2496 2496
43 40 2560 2560 2560
44 41 2624 2624 2624
45 42 2688 2688 2688
46 43 2752 2752 2752
47 44 2816 2816 2816
48 45 2880 2880 2880
49 46 2944 2944 2944
50 47 3008 3008 3008
51 48 3072 3072 3072
52 49 3136 3136 3136
53 50 3200 3200 3200
54 51 3264 3264 3264
55 52 3328 3328 3328
56 53 3392 3392 3392
57 54 3456 3456 3456
58 55 3520 3520 3520
59 56 3584 3584 3584
60 57 3648 3648 3648
61 58 3712 3712 3712
62 59 3776 3776 3776
63 60 3840 3840 3840
64 61 3904 3904 3904
65 62 3968 3968 3968
66 63 4032 4032 4032
67 64 4096 4096 4096
68 65 4160 4160 4160
69 66 4224 4224 4224
70 67 4288 4288 4288
71 68 4352 4352 4352
72 69 4416 4416 4416
73 70 4480 4480 4480
74 71 4544 4544 4544
75 72 4608 4608 4608
76 73 4672 4672 4672
77 74 4736 4736 4736
78 75 4800 4800 4800
79 76 4864 4864 4864
80 77 4928 4928 4928
81 78 4992 4992 4992
82 79 5056 5056 5056
83 80 5120 5120 5120
84 81 5184 5184 5184
85 82 5248 5248 5248
86 83 5312 5312 5312
87 84 5376 5376 5376
88 85 5440 5440 5440
89 86 5504 5504 5504
90 87 5568 5568 5568
91 88 5632 5632 5632
92 89 5696 5696 5696
93 90 5760 5760 5760
94 91 5824 5824 5824
95 92 5888 5888 5888
96 93 5952 5952 5952
97 94 6016 6016 6016
98 95 6080 6080 6080
99 96 6144 6144 6144
100 97 6208 6208 6208
101 98 6272 6272 6272
102 99 6336 6336 6336
103 100 6400 6400 6400
104 101 6464 6464 6464
105 102 6528 6528 6528
106 103 6592 6592 6592
107 104 6656 6656 6656
108 105 6720 6720 6720
109 106 6784 6784 6784
110 107 6848 6848 6848
111 108 6912 6912 6912
112 109 6976 6976 6976
113 110 7040 7040 7040
114 111 7104 7104 7104
115 112 7168 7168 7168
116 113 7232 7232 7232
117 114 7296 7296 7296
118 115 7360 7360 7360
119 116 7424 7424 7424
120 117 7488 7488 7488
121 118 7552 7552 7552
122 119 7616 7616 7616
123 120 7680 7680 7680
124 121 7744 7744 7744
125 122 7808 7808 7808
126 123 7872 7872 7872
127 124 7936 7936 7936
128 125 8000 8000 8000
129 126 8064 8064 8064
130 127 8128 8128 8128
131 128 8192 8192 8192
132 129 8256 8256 8256
133 130 8320 8320 8320
134 131 8384 8384 8384
135 132 8448 8448 8448
136 133 8512 8512 8512
137 134 8576 8576 8576
138 135 8640 8640 8640
139 136 8704 8704 8704
140 137 8768 8768 8768
141 138 8832 8832 8832
142 139 8896 8896 8896
143 140 8960 8960 8960
144 141 9024 9024 9024
145 142 9088 9088 9088
146 143 9152 9152 9152
147 144 9216 9216 9216
148 145 9280 9280 9280
149 146 9344 9344 9344
150 147 9408 9408 9408
151 148 9472 9472 9472
152 149 9536 9536 9536
153 150 9600 9600 9600
154 151 9664 9664 9664
155 152 9728 9728 9728
156 153 9792 9792 9792
157 154 9856 9856 9856
158 155 9920 9920 9920
159 156 9984 9984 9984
160 157 10048 10048 10048
161 158 10112 10112 10112
162 159 10176 10176 10176
163 160 10240 10240 10240
164 161 10304 10304 10304
165 162 10368 10368 10368
166 163 10432 10432 10432
167 164 10496 10496 10496
168 165 10560 10560 10560
169 166 10624 10624 10624
170 167 10688 10688 10688
171 168 10752 10752 10752
172 169 10816 10816 10816
173 170 10880 10880 10880
174 171 10944 10944 10944
175 172 11008 11008 11008
176 173 11072 11072 11072
177 174 11136 11136 11136
178 175 11200 11200 11200
179 176 11264 11264 11264
180 177 11328 11328 11328
181 178 11392 11392 11392
182 179 11456 11456 11456
183 180 11520 11520 11520
184 181 11584 11584 11584
185 182 11648 11648 11648
186 183 11712 11712 11712
187 184 11776 11776 11776
188 185 11840 11840 11840
189 186 11904 11904 11904
190 187 11968 11968 11968
191 188 12032 12032 12032
192 189 12096 12096 12096
193 190 12160 12160 12160
194 191 12224 12224 12224
195 192 12288 12288 12288
196 193 12352 12352 12352
197 194 12416 12416 12416
198 195 12480 12480 12480
199 196 12544 12544 12544
200 197 12608 12608 12608
201 198 12672 12672 12672
202 199 12736 12736 12736
203 200 12800 12800 12800
204 201 12864 12864 12864
205 202 12928 12928 12928
206 203 12992 12992 12992
207 204 13056 13056 13056
208 205 13120 13120 13120
209 206 13184 13184 13184
210 207 13248 13248 13248
211 208 13312 13312 13312
212 209 13376 13376 13376
213 210 13440 13440 13440
214 211 13504 13504 13504
215 212 13568 13568 13568
216 213 13632 13632 13632
217 214 13696 13696 13696
218 215 13760 13760 13760
219 216 13824 13824 13824
220 217 13888 13888 13888
221 218 13952 13952 13952
222 219 14016 14016 14016
223 220 14080 14080 14080
224 221 14144 14144 14144
225 222 14208 14208 14208
226 223 14272 14272 14272
227 224 14336 14336 14336
228 225 14400 14400 14400
229 226 14464 14464 14464
230 227 14528 14528 14528
231 228 14592 14592 14592
232 229 14656 14656 14656
233 230 14720 14720 14720
234 231 14784 14784 14784
235 232 14848 14848 14848
236 233 14912 14912 14912
237 234 14976 14976 14976
238 235 15040 15040 15040
239 236 15104 15104 15104
240 237 15168 15168 15168
241 238 15232 15232 15232
242 239 15296 15296 15296
243 240 15360 15360 15360
244 241 15424 15424 15424
245 242 15488 15488 15488
246 243 15552 15552 15552
247 244 15616 15616 15616
248 245 15680 15680 15680
249 246 15744 15744 15744
250 247 15808 15808 15808
251 248 15872 15872 15872
252 249 15936 15936 15936
253 250 16000 16000 16000
254 251 16064 16064 16064
255 252 16128 16128 16128
256 253 16192 16192 16192
257 254 16256 16256 16256
258 255 16383 16383 16383

258
lib70x/data/ASK5_G5.csv Normal file
View File

@ -0,0 +1,258 @@
INDEX,GNM_A-B,GNM_A-G,GNM_A-R
256,256,256,256
0,0,0,0
1,64,64,64
2,128,128,128
3,192,192,192
4,256,256,256
5,320,320,320
6,384,384,384
7,448,448,448
8,512,512,512
9,576,576,576
10,640,640,640
11,704,704,704
12,768,768,768
13,832,832,832
14,896,896,896
15,960,960,960
16,1024,1024,1024
17,1088,1088,1088
18,1152,1152,1152
19,1216,1216,1216
20,1280,1280,1280
21,1344,1344,1344
22,1408,1408,1408
23,1472,1472,1472
24,1536,1536,1536
25,1600,1600,1600
26,1664,1664,1664
27,1728,1728,1728
28,1792,1792,1792
29,1856,1856,1856
30,1920,1920,1920
31,1984,1984,1984
32,2048,2048,2048
33,2112,2112,2112
34,2176,2176,2176
35,2240,2240,2240
36,2304,2304,2304
37,2368,2368,2368
38,2432,2432,2432
39,2496,2496,2496
40,2560,2560,2560
41,2624,2624,2624
42,2688,2688,2688
43,2752,2752,2752
44,2816,2816,2816
45,2880,2880,2880
46,2944,2944,2944
47,3008,3008,3008
48,3072,3072,3072
49,3136,3136,3136
50,3200,3200,3200
51,3264,3264,3264
52,3328,3328,3328
53,3392,3392,3392
54,3456,3456,3456
55,3520,3520,3520
56,3584,3584,3584
57,3648,3648,3648
58,3712,3712,3712
59,3776,3776,3776
60,3840,3840,3840
61,3904,3904,3904
62,3968,3968,3968
63,4032,4032,4032
64,4096,4096,4096
65,4160,4160,4160
66,4224,4224,4224
67,4288,4288,4288
68,4352,4352,4352
69,4416,4416,4416
70,4480,4480,4480
71,4544,4544,4544
72,4608,4608,4608
73,4672,4672,4672
74,4736,4736,4736
75,4800,4800,4800
76,4864,4864,4864
77,4928,4928,4928
78,4992,4992,4992
79,5056,5056,5056
80,5120,5120,5120
81,5184,5184,5184
82,5248,5248,5248
83,5312,5312,5312
84,5376,5376,5376
85,5440,5440,5440
86,5504,5504,5504
87,5568,5568,5568
88,5632,5632,5632
89,5696,5696,5696
90,5760,5760,5760
91,5824,5824,5824
92,5888,5888,5888
93,5952,5952,5952
94,6016,6016,6016
95,6080,6080,6080
96,6144,6144,6144
97,6208,6208,6208
98,6272,6272,6272
99,6336,6336,6336
100,6400,6400,6400
101,6464,6464,6464
102,6528,6528,6528
103,6592,6592,6592
104,6656,6656,6656
105,6720,6720,6720
106,6784,6784,6784
107,6848,6848,6848
108,6912,6912,6912
109,6976,6976,6976
110,7040,7040,7040
111,7104,7104,7104
112,7168,7168,7168
113,7232,7232,7232
114,7296,7296,7296
115,7360,7360,7360
116,7424,7424,7424
117,7488,7488,7488
118,7552,7552,7552
119,7616,7616,7616
120,7680,7680,7680
121,7744,7744,7744
122,7808,7808,7808
123,7872,7872,7872
124,7936,7936,7936
125,8000,8000,8000
126,8064,8064,8064
127,8128,8128,8128
128,8192,8192,8192
129,8256,8256,8256
130,8320,8320,8320
131,8384,8384,8384
132,8448,8448,8448
133,8512,8512,8512
134,8576,8576,8576
135,8640,8640,8640
136,8704,8704,8704
137,8768,8768,8768
138,8832,8832,8832
139,8896,8896,8896
140,8960,8960,8960
141,9024,9024,9024
142,9088,9088,9088
143,9152,9152,9152
144,9216,9216,9216
145,9280,9280,9280
146,9344,9344,9344
147,9408,9408,9408
148,9472,9472,9472
149,9536,9536,9536
150,9600,9600,9600
151,9664,9664,9664
152,9728,9728,9728
153,9792,9792,9792
154,9856,9856,9856
155,9920,9920,9920
156,9984,9984,9984
157,10048,10048,10048
158,10112,10112,10112
159,10176,10176,10176
160,10240,10240,10240
161,10304,10304,10304
162,10368,10368,10368
163,10432,10432,10432
164,10496,10496,10496
165,10560,10560,10560
166,10624,10624,10624
167,10688,10688,10688
168,10752,10752,10752
169,10816,10816,10816
170,10880,10880,10880
171,10944,10944,10944
172,11008,11008,11008
173,11072,11072,11072
174,11136,11136,11136
175,11200,11200,11200
176,11264,11264,11264
177,11328,11328,11328
178,11392,11392,11392
179,11456,11456,11456
180,11520,11520,11520
181,11584,11584,11584
182,11648,11648,11648
183,11712,11712,11712
184,11776,11776,11776
185,11840,11840,11840
186,11904,11904,11904
187,11968,11968,11968
188,12032,12032,12032
189,12096,12096,12096
190,12160,12160,12160
191,12224,12224,12224
192,12288,12288,12288
193,12352,12352,12352
194,12416,12416,12416
195,12480,12480,12480
196,12544,12544,12544
197,12608,12608,12608
198,12672,12672,12672
199,12736,12736,12736
200,12800,12800,12800
201,12864,12864,12864
202,12928,12928,12928
203,12992,12992,12992
204,13056,13056,13056
205,13120,13120,13120
206,13184,13184,13184
207,13248,13248,13248
208,13312,13312,13312
209,13376,13376,13376
210,13440,13440,13440
211,13504,13504,13504
212,13568,13568,13568
213,13632,13632,13632
214,13696,13696,13696
215,13760,13760,13760
216,13824,13824,13824
217,13888,13888,13888
218,13952,13952,13952
219,14016,14016,14016
220,14080,14080,14080
221,14144,14144,14144
222,14208,14208,14208
223,14272,14272,14272
224,14336,14336,14336
225,14400,14400,14400
226,14464,14464,14464
227,14528,14528,14528
228,14592,14592,14592
229,14656,14656,14656
230,14720,14720,14720
231,14784,14784,14784
232,14848,14848,14848
233,14912,14912,14912
234,14976,14976,14976
235,15040,15040,15040
236,15104,15104,15104
237,15168,15168,15168
238,15232,15232,15232
239,15296,15296,15296
240,15360,15360,15360
241,15424,15424,15424
242,15488,15488,15488
243,15552,15552,15552
244,15616,15616,15616
245,15680,15680,15680
246,15744,15744,15744
247,15808,15808,15808
248,15872,15872,15872
249,15936,15936,15936
250,16000,16000,16000
251,16064,16064,16064
252,16128,16128,16128
253,16192,16192,16192
254,16256,16256,16256
255,16383,16383,16383
1 INDEX GNM_A-B GNM_A-G GNM_A-R
2 256 256 256 256
3 0 0 0 0
4 1 64 64 64
5 2 128 128 128
6 3 192 192 192
7 4 256 256 256
8 5 320 320 320
9 6 384 384 384
10 7 448 448 448
11 8 512 512 512
12 9 576 576 576
13 10 640 640 640
14 11 704 704 704
15 12 768 768 768
16 13 832 832 832
17 14 896 896 896
18 15 960 960 960
19 16 1024 1024 1024
20 17 1088 1088 1088
21 18 1152 1152 1152
22 19 1216 1216 1216
23 20 1280 1280 1280
24 21 1344 1344 1344
25 22 1408 1408 1408
26 23 1472 1472 1472
27 24 1536 1536 1536
28 25 1600 1600 1600
29 26 1664 1664 1664
30 27 1728 1728 1728
31 28 1792 1792 1792
32 29 1856 1856 1856
33 30 1920 1920 1920
34 31 1984 1984 1984
35 32 2048 2048 2048
36 33 2112 2112 2112
37 34 2176 2176 2176
38 35 2240 2240 2240
39 36 2304 2304 2304
40 37 2368 2368 2368
41 38 2432 2432 2432
42 39 2496 2496 2496
43 40 2560 2560 2560
44 41 2624 2624 2624
45 42 2688 2688 2688
46 43 2752 2752 2752
47 44 2816 2816 2816
48 45 2880 2880 2880
49 46 2944 2944 2944
50 47 3008 3008 3008
51 48 3072 3072 3072
52 49 3136 3136 3136
53 50 3200 3200 3200
54 51 3264 3264 3264
55 52 3328 3328 3328
56 53 3392 3392 3392
57 54 3456 3456 3456
58 55 3520 3520 3520
59 56 3584 3584 3584
60 57 3648 3648 3648
61 58 3712 3712 3712
62 59 3776 3776 3776
63 60 3840 3840 3840
64 61 3904 3904 3904
65 62 3968 3968 3968
66 63 4032 4032 4032
67 64 4096 4096 4096
68 65 4160 4160 4160
69 66 4224 4224 4224
70 67 4288 4288 4288
71 68 4352 4352 4352
72 69 4416 4416 4416
73 70 4480 4480 4480
74 71 4544 4544 4544
75 72 4608 4608 4608
76 73 4672 4672 4672
77 74 4736 4736 4736
78 75 4800 4800 4800
79 76 4864 4864 4864
80 77 4928 4928 4928
81 78 4992 4992 4992
82 79 5056 5056 5056
83 80 5120 5120 5120
84 81 5184 5184 5184
85 82 5248 5248 5248
86 83 5312 5312 5312
87 84 5376 5376 5376
88 85 5440 5440 5440
89 86 5504 5504 5504
90 87 5568 5568 5568
91 88 5632 5632 5632
92 89 5696 5696 5696
93 90 5760 5760 5760
94 91 5824 5824 5824
95 92 5888 5888 5888
96 93 5952 5952 5952
97 94 6016 6016 6016
98 95 6080 6080 6080
99 96 6144 6144 6144
100 97 6208 6208 6208
101 98 6272 6272 6272
102 99 6336 6336 6336
103 100 6400 6400 6400
104 101 6464 6464 6464
105 102 6528 6528 6528
106 103 6592 6592 6592
107 104 6656 6656 6656
108 105 6720 6720 6720
109 106 6784 6784 6784
110 107 6848 6848 6848
111 108 6912 6912 6912
112 109 6976 6976 6976
113 110 7040 7040 7040
114 111 7104 7104 7104
115 112 7168 7168 7168
116 113 7232 7232 7232
117 114 7296 7296 7296
118 115 7360 7360 7360
119 116 7424 7424 7424
120 117 7488 7488 7488
121 118 7552 7552 7552
122 119 7616 7616 7616
123 120 7680 7680 7680
124 121 7744 7744 7744
125 122 7808 7808 7808
126 123 7872 7872 7872
127 124 7936 7936 7936
128 125 8000 8000 8000
129 126 8064 8064 8064
130 127 8128 8128 8128
131 128 8192 8192 8192
132 129 8256 8256 8256
133 130 8320 8320 8320
134 131 8384 8384 8384
135 132 8448 8448 8448
136 133 8512 8512 8512
137 134 8576 8576 8576
138 135 8640 8640 8640
139 136 8704 8704 8704
140 137 8768 8768 8768
141 138 8832 8832 8832
142 139 8896 8896 8896
143 140 8960 8960 8960
144 141 9024 9024 9024
145 142 9088 9088 9088
146 143 9152 9152 9152
147 144 9216 9216 9216
148 145 9280 9280 9280
149 146 9344 9344 9344
150 147 9408 9408 9408
151 148 9472 9472 9472
152 149 9536 9536 9536
153 150 9600 9600 9600
154 151 9664 9664 9664
155 152 9728 9728 9728
156 153 9792 9792 9792
157 154 9856 9856 9856
158 155 9920 9920 9920
159 156 9984 9984 9984
160 157 10048 10048 10048
161 158 10112 10112 10112
162 159 10176 10176 10176
163 160 10240 10240 10240
164 161 10304 10304 10304
165 162 10368 10368 10368
166 163 10432 10432 10432
167 164 10496 10496 10496
168 165 10560 10560 10560
169 166 10624 10624 10624
170 167 10688 10688 10688
171 168 10752 10752 10752
172 169 10816 10816 10816
173 170 10880 10880 10880
174 171 10944 10944 10944
175 172 11008 11008 11008
176 173 11072 11072 11072
177 174 11136 11136 11136
178 175 11200 11200 11200
179 176 11264 11264 11264
180 177 11328 11328 11328
181 178 11392 11392 11392
182 179 11456 11456 11456
183 180 11520 11520 11520
184 181 11584 11584 11584
185 182 11648 11648 11648
186 183 11712 11712 11712
187 184 11776 11776 11776
188 185 11840 11840 11840
189 186 11904 11904 11904
190 187 11968 11968 11968
191 188 12032 12032 12032
192 189 12096 12096 12096
193 190 12160 12160 12160
194 191 12224 12224 12224
195 192 12288 12288 12288
196 193 12352 12352 12352
197 194 12416 12416 12416
198 195 12480 12480 12480
199 196 12544 12544 12544
200 197 12608 12608 12608
201 198 12672 12672 12672
202 199 12736 12736 12736
203 200 12800 12800 12800
204 201 12864 12864 12864
205 202 12928 12928 12928
206 203 12992 12992 12992
207 204 13056 13056 13056
208 205 13120 13120 13120
209 206 13184 13184 13184
210 207 13248 13248 13248
211 208 13312 13312 13312
212 209 13376 13376 13376
213 210 13440 13440 13440
214 211 13504 13504 13504
215 212 13568 13568 13568
216 213 13632 13632 13632
217 214 13696 13696 13696
218 215 13760 13760 13760
219 216 13824 13824 13824
220 217 13888 13888 13888
221 218 13952 13952 13952
222 219 14016 14016 14016
223 220 14080 14080 14080
224 221 14144 14144 14144
225 222 14208 14208 14208
226 223 14272 14272 14272
227 224 14336 14336 14336
228 225 14400 14400 14400
229 226 14464 14464 14464
230 227 14528 14528 14528
231 228 14592 14592 14592
232 229 14656 14656 14656
233 230 14720 14720 14720
234 231 14784 14784 14784
235 232 14848 14848 14848
236 233 14912 14912 14912
237 234 14976 14976 14976
238 235 15040 15040 15040
239 236 15104 15104 15104
240 237 15168 15168 15168
241 238 15232 15232 15232
242 239 15296 15296 15296
243 240 15360 15360 15360
244 241 15424 15424 15424
245 242 15488 15488 15488
246 243 15552 15552 15552
247 244 15616 15616 15616
248 245 15680 15680 15680
249 246 15744 15744 15744
250 247 15808 15808 15808
251 248 15872 15872 15872
252 249 15936 15936 15936
253 250 16000 16000 16000
254 251 16064 16064 16064
255 252 16128 16128 16128
256 253 16192 16192 16192
257 254 16256 16256 16256
258 255 16383 16383 16383

1
lib70x/data/ASK5_MAT.raw Symbolic link
View File

@ -0,0 +1 @@
M1_MAT02.raw

9
lib70x/data/ASK5_N1.csv Normal file
View File

@ -0,0 +1,9 @@
INDEX,ENHTH,NOISETH,NRGAIN,NRTH,NRK,HDENHGAIN,ENHDARKGAIN,DTCTAREA,CORCOL,HIGH_DOWN_MODE,HIGH_TH,HIGH_G
7,7,7,7,7,7,7,7,7,7,7,7,7
0,96,8,40,32,1,0,0,1,2,1,800,0.1
1,96,8,40,32,1,32,0,1,2,1,800,0.1
2,96,8,40,32,1,64,0,1,2,1,800,0.1
3,96,8,40,32,1,96,0,1,2,1,800,0.1
4,96,8,40,32,1,144,0,1,2,1,800,0.1
5,96,8,40,32,1,192,0,1,2,1,800,0.1
6,96,8,40,32,1,255,0,1,2,1,800,0.1
1 INDEX ENHTH NOISETH NRGAIN NRTH NRK HDENHGAIN ENHDARKGAIN DTCTAREA CORCOL HIGH_DOWN_MODE HIGH_TH HIGH_G
2 7 7 7 7 7 7 7 7 7 7 7 7 7
3 0 96 8 40 32 1 0 0 1 2 1 800 0.1
4 1 96 8 40 32 1 32 0 1 2 1 800 0.1
5 2 96 8 40 32 1 64 0 1 2 1 800 0.1
6 3 96 8 40 32 1 96 0 1 2 1 800 0.1
7 4 96 8 40 32 1 144 0 1 2 1 800 0.1
8 5 96 8 40 32 1 192 0 1 2 1 800 0.1
9 6 96 8 40 32 1 255 0 1 2 1 800 0.1