質問編集履歴
3
補足説明の追加、プログラムの修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -145,3 +145,421 @@
|
|
145
145
|
初めての投稿でおかしな部分があるとは思いますがご容赦ください。
|
146
146
|
|
147
147
|
https://www.jstage.jst.go.jp/article/jvsj2/56/6/56_13-LC-019/_pdf
|
148
|
+
|
149
|
+
[Si2p data]
|
150
|
+
|
151
|
+
x y
|
152
|
+
|
153
|
+
106.95 100
|
154
|
+
|
155
|
+
106.9 200
|
156
|
+
|
157
|
+
106.85 329
|
158
|
+
|
159
|
+
106.8 315
|
160
|
+
|
161
|
+
106.75 323
|
162
|
+
|
163
|
+
106.7 309
|
164
|
+
|
165
|
+
106.65 333
|
166
|
+
|
167
|
+
106.6 307
|
168
|
+
|
169
|
+
106.55 315
|
170
|
+
|
171
|
+
106.5 311
|
172
|
+
|
173
|
+
106.45 290
|
174
|
+
|
175
|
+
106.4 317
|
176
|
+
|
177
|
+
106.35 346
|
178
|
+
|
179
|
+
106.3 317
|
180
|
+
|
181
|
+
106.25 293
|
182
|
+
|
183
|
+
106.2 287
|
184
|
+
|
185
|
+
106.15 295
|
186
|
+
|
187
|
+
106.1 306
|
188
|
+
|
189
|
+
106.05 291
|
190
|
+
|
191
|
+
106 306
|
192
|
+
|
193
|
+
105.95 312
|
194
|
+
|
195
|
+
105.9 302
|
196
|
+
|
197
|
+
105.85 272
|
198
|
+
|
199
|
+
105.8 309
|
200
|
+
|
201
|
+
105.75 284
|
202
|
+
|
203
|
+
105.7 270
|
204
|
+
|
205
|
+
105.65 286
|
206
|
+
|
207
|
+
105.6 266
|
208
|
+
|
209
|
+
105.55 281
|
210
|
+
|
211
|
+
105.5 256
|
212
|
+
|
213
|
+
105.45 272
|
214
|
+
|
215
|
+
105.4 288
|
216
|
+
|
217
|
+
105.35 295
|
218
|
+
|
219
|
+
105.3 299
|
220
|
+
|
221
|
+
105.25 292
|
222
|
+
|
223
|
+
105.2 311
|
224
|
+
|
225
|
+
105.15 307
|
226
|
+
|
227
|
+
105.1 305
|
228
|
+
|
229
|
+
105.05 291
|
230
|
+
|
231
|
+
105 324
|
232
|
+
|
233
|
+
104.95 333
|
234
|
+
|
235
|
+
104.9 350
|
236
|
+
|
237
|
+
104.85 383
|
238
|
+
|
239
|
+
104.8 424
|
240
|
+
|
241
|
+
104.75 430
|
242
|
+
|
243
|
+
104.7 469
|
244
|
+
|
245
|
+
104.65 526
|
246
|
+
|
247
|
+
104.6 548
|
248
|
+
|
249
|
+
104.55 608
|
250
|
+
|
251
|
+
104.5 638
|
252
|
+
|
253
|
+
104.45 700
|
254
|
+
|
255
|
+
104.4 793
|
256
|
+
|
257
|
+
104.35 887
|
258
|
+
|
259
|
+
104.3 983
|
260
|
+
|
261
|
+
104.25 1041
|
262
|
+
|
263
|
+
104.2 1146
|
264
|
+
|
265
|
+
104.15 1222
|
266
|
+
|
267
|
+
104.1 1312
|
268
|
+
|
269
|
+
104.05 1389
|
270
|
+
|
271
|
+
104 1558
|
272
|
+
|
273
|
+
103.95 1602
|
274
|
+
|
275
|
+
103.9 1700
|
276
|
+
|
277
|
+
103.85 1840
|
278
|
+
|
279
|
+
103.8 1983
|
280
|
+
|
281
|
+
103.75 2073
|
282
|
+
|
283
|
+
103.7 2147
|
284
|
+
|
285
|
+
103.65 2257
|
286
|
+
|
287
|
+
103.6 2347
|
288
|
+
|
289
|
+
103.55 2370
|
290
|
+
|
291
|
+
103.5 2432
|
292
|
+
|
293
|
+
103.45 2484
|
294
|
+
|
295
|
+
103.4 2487
|
296
|
+
|
297
|
+
103.35 2473
|
298
|
+
|
299
|
+
103.3 2508
|
300
|
+
|
301
|
+
103.25 2497
|
302
|
+
|
303
|
+
103.2 2508
|
304
|
+
|
305
|
+
103.15 2454
|
306
|
+
|
307
|
+
103.1 2327
|
308
|
+
|
309
|
+
103.05 2289
|
310
|
+
|
311
|
+
103 2326
|
312
|
+
|
313
|
+
102.95 2241
|
314
|
+
|
315
|
+
102.9 2127
|
316
|
+
|
317
|
+
102.85 1871
|
318
|
+
|
319
|
+
102.8 1855
|
320
|
+
|
321
|
+
102.75 1685
|
322
|
+
|
323
|
+
102.7 1602
|
324
|
+
|
325
|
+
102.65 1453
|
326
|
+
|
327
|
+
102.6 1411
|
328
|
+
|
329
|
+
102.55 1300
|
330
|
+
|
331
|
+
102.5 1154
|
332
|
+
|
333
|
+
102.45 1067
|
334
|
+
|
335
|
+
102.4 987
|
336
|
+
|
337
|
+
102.35 934
|
338
|
+
|
339
|
+
102.3 842
|
340
|
+
|
341
|
+
102.25 790
|
342
|
+
|
343
|
+
102.2 742
|
344
|
+
|
345
|
+
102.15 683
|
346
|
+
|
347
|
+
102.1 644
|
348
|
+
|
349
|
+
102.05 629
|
350
|
+
|
351
|
+
102 573
|
352
|
+
|
353
|
+
101.95 569
|
354
|
+
|
355
|
+
101.9 579
|
356
|
+
|
357
|
+
101.85 567
|
358
|
+
|
359
|
+
101.8 536
|
360
|
+
|
361
|
+
101.75 524
|
362
|
+
|
363
|
+
101.7 521
|
364
|
+
|
365
|
+
101.65 508
|
366
|
+
|
367
|
+
101.6 517
|
368
|
+
|
369
|
+
101.55 514
|
370
|
+
|
371
|
+
101.5 478
|
372
|
+
|
373
|
+
101.45 440
|
374
|
+
|
375
|
+
101.4 440
|
376
|
+
|
377
|
+
101.35 485
|
378
|
+
|
379
|
+
101.3 467
|
380
|
+
|
381
|
+
101.25 460
|
382
|
+
|
383
|
+
101.2 468
|
384
|
+
|
385
|
+
101.15 483
|
386
|
+
|
387
|
+
101.1 485
|
388
|
+
|
389
|
+
101.05 509
|
390
|
+
|
391
|
+
101 494
|
392
|
+
|
393
|
+
100.95 480
|
394
|
+
|
395
|
+
100.9 490
|
396
|
+
|
397
|
+
100.85 487
|
398
|
+
|
399
|
+
100.8 485
|
400
|
+
|
401
|
+
100.75 473
|
402
|
+
|
403
|
+
100.7 476
|
404
|
+
|
405
|
+
100.65 456
|
406
|
+
|
407
|
+
100.6 436
|
408
|
+
|
409
|
+
100.55 462
|
410
|
+
|
411
|
+
100.5 506
|
412
|
+
|
413
|
+
100.45 559
|
414
|
+
|
415
|
+
100.4 661
|
416
|
+
|
417
|
+
100.35 729
|
418
|
+
|
419
|
+
100.3 872
|
420
|
+
|
421
|
+
100.25 998
|
422
|
+
|
423
|
+
100.2 1199
|
424
|
+
|
425
|
+
100.15 1579
|
426
|
+
|
427
|
+
100.1 1870
|
428
|
+
|
429
|
+
100.05 2273
|
430
|
+
|
431
|
+
100 2656
|
432
|
+
|
433
|
+
99.95 3019
|
434
|
+
|
435
|
+
99.9 3227
|
436
|
+
|
437
|
+
99.85 3339
|
438
|
+
|
439
|
+
99.8 3207
|
440
|
+
|
441
|
+
99.75 3017
|
442
|
+
|
443
|
+
99.7 2852
|
444
|
+
|
445
|
+
99.65 2683
|
446
|
+
|
447
|
+
99.6 2671
|
448
|
+
|
449
|
+
99.55 2893
|
450
|
+
|
451
|
+
99.5 3389
|
452
|
+
|
453
|
+
99.45 3916
|
454
|
+
|
455
|
+
99.4 4621
|
456
|
+
|
457
|
+
99.35 5264
|
458
|
+
|
459
|
+
99.3 5484
|
460
|
+
|
461
|
+
99.25 5662
|
462
|
+
|
463
|
+
99.2 5299
|
464
|
+
|
465
|
+
99.15 4596
|
466
|
+
|
467
|
+
99.1 3847
|
468
|
+
|
469
|
+
99.05 2929
|
470
|
+
|
471
|
+
99 2234
|
472
|
+
|
473
|
+
98.95 1572
|
474
|
+
|
475
|
+
98.9 1045
|
476
|
+
|
477
|
+
98.85 670
|
478
|
+
|
479
|
+
98.8 485
|
480
|
+
|
481
|
+
98.75 357
|
482
|
+
|
483
|
+
98.7 299
|
484
|
+
|
485
|
+
98.65 226
|
486
|
+
|
487
|
+
98.6 170
|
488
|
+
|
489
|
+
98.55 174
|
490
|
+
|
491
|
+
98.5 187
|
492
|
+
|
493
|
+
98.45 149
|
494
|
+
|
495
|
+
98.4 117
|
496
|
+
|
497
|
+
98.35 131
|
498
|
+
|
499
|
+
98.3 142
|
500
|
+
|
501
|
+
98.25 147
|
502
|
+
|
503
|
+
98.2 154
|
504
|
+
|
505
|
+
98.15 130
|
506
|
+
|
507
|
+
98.1 120
|
508
|
+
|
509
|
+
98.05 125
|
510
|
+
|
511
|
+
98 116
|
512
|
+
|
513
|
+
97.95 128
|
514
|
+
|
515
|
+
97.9 130
|
516
|
+
|
517
|
+
97.85 122
|
518
|
+
|
519
|
+
97.8 130
|
520
|
+
|
521
|
+
97.75 110
|
522
|
+
|
523
|
+
97.7 121
|
524
|
+
|
525
|
+
97.65 125
|
526
|
+
|
527
|
+
97.6 125
|
528
|
+
|
529
|
+
97.55 135
|
530
|
+
|
531
|
+
97.5 120
|
532
|
+
|
533
|
+
97.45 127
|
534
|
+
|
535
|
+
97.4 127
|
536
|
+
|
537
|
+
97.35 120
|
538
|
+
|
539
|
+
97.3 114
|
540
|
+
|
541
|
+
97.25 115
|
542
|
+
|
543
|
+
97.2 100
|
544
|
+
|
545
|
+
97.15 106
|
546
|
+
|
547
|
+
97.1 122
|
548
|
+
|
549
|
+
97.05 117
|
550
|
+
|
551
|
+
97 119
|
552
|
+
|
553
|
+
96.95 115
|
554
|
+
|
555
|
+
96.9 135
|
556
|
+
|
557
|
+
96.85 113
|
558
|
+
|
559
|
+
|
560
|
+
|
561
|
+
|
562
|
+
|
563
|
+
|
564
|
+
|
565
|
+
![イメージ説明](bfe6c03380ecd6dfc16ac08bc84a257b.png)
|
2
指摘いただいた点を修正して再びプログラムを作りました。自分が実現したい事をまとめてPDFにしたので、そちらを参照していただけるとありがたいです。Si2pのデータについても同様に上げておきます。
test
CHANGED
File without changes
|
test
CHANGED
@@ -26,9 +26,9 @@
|
|
26
26
|
|
27
27
|
|
28
28
|
|
29
|
+
```Python
|
29
30
|
|
30
31
|
|
31
|
-
```Python
|
32
32
|
|
33
33
|
import numpy as np
|
34
34
|
|
@@ -50,49 +50,51 @@
|
|
50
50
|
|
51
51
|
|
52
52
|
|
53
|
-
class function:
|
54
53
|
|
55
|
-
def calculation(self):
|
56
54
|
|
57
|
-
|
55
|
+
k = 1
|
58
56
|
|
59
|
-
|
57
|
+
Flist =[]
|
60
58
|
|
61
|
-
|
59
|
+
while True:
|
62
60
|
|
63
|
-
|
61
|
+
for i in range(203):
|
64
62
|
|
65
|
-
|
63
|
+
R1 = h * (y1 - 0.5*(y[1] - y[-1]) + (y[k] - y[-1]))
|
66
64
|
|
67
|
-
|
65
|
+
Q1 = h * (y1 - 0.5*(y[k] - y[-1] + y[203] - y[-1]))
|
68
66
|
|
69
|
-
|
67
|
+
B1 = (y[1] - y[203])*(Q1/R1) + y[-1]
|
70
68
|
|
71
|
-
|
69
|
+
F = y[k] - B1
|
72
70
|
|
73
|
-
|
71
|
+
k += 1
|
74
72
|
|
75
|
-
|
73
|
+
Blist.append(B1)
|
76
74
|
|
77
|
-
|
75
|
+
Flist.append(F)
|
78
76
|
|
79
|
-
|
77
|
+
for i in range(100):
|
80
78
|
|
81
|
-
|
79
|
+
t = 1
|
82
80
|
|
83
|
-
|
81
|
+
z = Flist[t]
|
84
82
|
|
85
|
-
|
83
|
+
Q = h * (y1 - 0.5*(z - y[-1] + y[203] - y[-1]))
|
86
84
|
|
87
|
-
|
85
|
+
R = h * (y1 - 0.5*(y[1] - y[-1]) + (z - y[-1]))
|
88
86
|
|
87
|
+
B = (y[1] - y[203])*(Q/R) + y[-1]
|
88
|
+
|
89
|
+
Blist.append(B)
|
90
|
+
|
89
|
-
|
91
|
+
Flist.append(F)
|
92
|
+
|
93
|
+
t += 1
|
90
94
|
|
91
95
|
|
92
96
|
|
93
|
-
classInstance = function()
|
94
|
-
|
95
|
-
print(
|
97
|
+
print(Blist)
|
96
98
|
|
97
99
|
|
98
100
|
|
@@ -117,8 +119,6 @@
|
|
117
119
|
plt.ylabel("Intensity[a.u.]",fontname="MS Gothic")
|
118
120
|
|
119
121
|
ax.invert_xaxis()
|
120
|
-
|
121
|
-
#plt.legend(["name"], loc=2, title="LABEL NAME",fontsize = 13,prop = {"size":15} )
|
122
122
|
|
123
123
|
|
124
124
|
|
1
ご指摘いただいた通り変更してみたつもりです。ご確認よろしくお願いします。
test
CHANGED
File without changes
|
test
CHANGED
@@ -17,6 +17,18 @@
|
|
17
17
|
|
18
18
|
|
19
19
|
### 該当のソースコード
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
```Python
|
20
32
|
|
21
33
|
import numpy as np
|
22
34
|
|
@@ -94,6 +106,8 @@
|
|
94
106
|
|
95
107
|
x_min, x_max = ax.get_xlim()
|
96
108
|
|
109
|
+
#ax.set_xlim(97,102)
|
110
|
+
|
97
111
|
plt.title("Shirley",fontname="MS Gothic")
|
98
112
|
|
99
113
|
plt.plot(x,y,color="black")
|
@@ -104,17 +118,13 @@
|
|
104
118
|
|
105
119
|
ax.invert_xaxis()
|
106
120
|
|
121
|
+
#plt.legend(["name"], loc=2, title="LABEL NAME",fontsize = 13,prop = {"size":15} )
|
122
|
+
|
107
123
|
|
108
124
|
|
109
125
|
plt.show()
|
110
126
|
|
111
127
|
|
112
|
-
|
113
|
-
```ここに言語名を入力
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
Python3.7
|
118
128
|
|
119
129
|
```
|
120
130
|
|