| | | | |
| Offset 1, 32 lines modified | Offset 1, 32 lines modified |
| 1 | { | 1 | { |
| 2 | ····"cells":·[ | 2 | ····"cells":·[ |
| 3 | ········{ | 3 | ········{ |
| 4 | ············"cell_type":·"markdown", | 4 | ············"cell_type":·"markdown", |
| 5 | ············"id":·"97db0048", | 5 | ············"id":·"e88298b4", |
| 6 | ············"metadata":·{}, | 6 | ············"metadata":·{}, |
| 7 | ············"source":·[ | 7 | ············"source":·[ |
| 8 | ················"#·Signal·separation·between·amorphous·and·crystalline·phases\n", | 8 | ················"#·Signal·separation·between·amorphous·and·crystalline·phases\n", |
| 9 | ················"\n" | 9 | ················"\n" |
| 10 | ············] | 10 | ············] |
| 11 | ········}, | 11 | ········}, |
| 12 | ········{ | 12 | ········{ |
| 13 | ············"cell_type":·"code", | 13 | ············"cell_type":·"code", |
| 14 | ············"execution_count":·1, | 14 | ············"execution_count":·1, |
| 15 | ············"id":·"52b3f5a5", | 15 | ············"id":·"9c24bb61", |
| 16 | ············"metadata":·{}, | 16 | ············"metadata":·{}, |
| 17 | ············"outputs":·[], | 17 | ············"outputs":·[], |
| 18 | ············"source":·[ | 18 | ············"source":·[ |
| 19 | ················"%matplotlib·nbagg" | 19 | ················"%matplotlib·nbagg" |
| 20 | ············] | 20 | ············] |
| 21 | ········}, | 21 | ········}, |
| 22 | ········{ | 22 | ········{ |
| 23 | ············"cell_type":·"code", | 23 | ············"cell_type":·"code", |
| 24 | ············"execution_count":·2, | 24 | ············"execution_count":·2, |
| 25 | ············"id":·"b91a6a60", | 25 | ············"id":·"ffefcc7c", |
| 26 | ············"metadata":·{}, | 26 | ············"metadata":·{}, |
| 27 | ············"outputs":·[ | 27 | ············"outputs":·[ |
| 28 | ················{ | 28 | ················{ |
| 29 | ····················"name":·"stdout", | 29 | ····················"name":·"stdout", |
| 30 | ····················"output_type":·"stream", | 30 | ····················"output_type":·"stream", |
| 31 | ····················"text":·[ | 31 | ····················"text":·[ |
| 32 | ························"Using·pyFAI·version·0.21.0-dev0\n" | 32 | ························"Using·pyFAI·version·0.21.0-dev0\n" |
| Offset 54, 15 lines modified | Offset 54, 15 lines modified |
| 54 | ················"print(f\"Using·pyFAI·version·{pyFAI.version}\")\n", | 54 | ················"print(f\"Using·pyFAI·version·{pyFAI.version}\")\n", |
| 55 | ················"#print(fabio.open(image_file).header[\"_array_data.header_contents\"])" | 55 | ················"#print(fabio.open(image_file).header[\"_array_data.header_contents\"])" |
| 56 | ············] | 56 | ············] |
| 57 | ········}, | 57 | ········}, |
| 58 | ········{ | 58 | ········{ |
| 59 | ············"cell_type":·"code", | 59 | ············"cell_type":·"code", |
| 60 | ············"execution_count":·3, | 60 | ············"execution_count":·3, |
| 61 | ············"id":·"0f8ca34d", | 61 | ············"id":·"19a73ad3", |
| 62 | ············"metadata":·{}, | 62 | ············"metadata":·{}, |
| 63 | ············"outputs":·[ | 63 | ············"outputs":·[ |
| 64 | ················{ | 64 | ················{ |
| 65 | ····················"data":·{ | 65 | ····················"data":·{ |
| 66 | ························"text/plain":·[ | 66 | ························"text/plain":·[ |
| 67 | ····························"Detector·Pilatus·6M\t·PixelSize=·1.720e-04,·1.720e-04·m\n", | 67 | ····························"Detector·Pilatus·6M\t·PixelSize=·1.720e-04,·1.720e-04·m\n", |
| 68 | ····························"Wavelength=·1.033200e-10m\n", | 68 | ····························"Wavelength=·1.033200e-10m\n", |
| Offset 84, 15 lines modified | Offset 84, 15 lines modified |
| 84 | ················"ai.detector·=·pyFAI.detector_factory(\"Pilatus6M\")\n", | 84 | ················"ai.detector·=·pyFAI.detector_factory(\"Pilatus6M\")\n", |
| 85 | ················"ai" | 85 | ················"ai" |
| 86 | ············] | 86 | ············] |
| 87 | ········}, | 87 | ········}, |
| 88 | ········{ | 88 | ········{ |
| 89 | ············"cell_type":·"code", | 89 | ············"cell_type":·"code", |
| 90 | ············"execution_count":·4, | 90 | ············"execution_count":·4, |
| 91 | ············"id":·"dee841c2", | 91 | ············"id":·"8a9d65c3", |
| 92 | ············"metadata":·{}, | 92 | ············"metadata":·{}, |
| 93 | ············"outputs":·[ | 93 | ············"outputs":·[ |
| 94 | ················{ | 94 | ················{ |
| 95 | ····················"data":·{ | 95 | ····················"data":·{ |
| 96 | ························"application/javascript":·[ | 96 | ························"application/javascript":·[ |
| 97 | ····························"/*·Put·everything·inside·the·global·mpl·namespace·*/\n", | 97 | ····························"/*·Put·everything·inside·the·global·mpl·namespace·*/\n", |
| 98 | ····························"/*·global·mpl·*/\n", | 98 | ····························"/*·global·mpl·*/\n", |
| Offset 1069, 24 lines modified | Offset 1069, 24 lines modified |
| 1069 | ················"fig,ax·=·subplots(figsize=(9,9))\n", | 1069 | ················"fig,ax·=·subplots(figsize=(9,9))\n", |
| 1070 | ················"jupyter.display(img,·ax=ax)\n", | 1070 | ················"jupyter.display(img,·ax=ax)\n", |
| 1071 | ················"pass" | 1071 | ················"pass" |
| 1072 | ············] | 1072 | ············] |
| 1073 | ········}, | 1073 | ········}, |
| 1074 | ········{ | 1074 | ········{ |
| 1075 | ············"cell_type":·"markdown", | 1075 | ············"cell_type":·"markdown", |
| 1076 | ············"id":·"fc57ad25", | 1076 | ············"id":·"4418c52f", |
| 1077 | ············"metadata":·{}, | 1077 | ············"metadata":·{}, |
| 1078 | ············"source":·[ | 1078 | ············"source":·[ |
| 1079 | ················"##·0.·1D·and·2D·integration" | 1079 | ················"##·0.·1D·and·2D·integration" |
| 1080 | ············] | 1080 | ············] |
| 1081 | ········}, | 1081 | ········}, |
| 1082 | ········{ | 1082 | ········{ |
| 1083 | ············"cell_type":·"code", | 1083 | ············"cell_type":·"code", |
| 1084 | ············"execution_count":·5, | 1084 | ············"execution_count":·5, |
| 1085 | ············"id":·"dc1efd08", | 1085 | ············"id":·"862b605f", |
| 1086 | ············"metadata":·{}, | 1086 | ············"metadata":·{}, |
| 1087 | ············"outputs":·[ | 1087 | ············"outputs":·[ |
| 1088 | ················{ | 1088 | ················{ |
| 1089 | ····················"data":·{ | 1089 | ····················"data":·{ |
| 1090 | ························"application/javascript":·[ | 1090 | ························"application/javascript":·[ |
| 1091 | ····························"/*·Put·everything·inside·the·global·mpl·namespace·*/\n", | 1091 | ····························"/*·Put·everything·inside·the·global·mpl·namespace·*/\n", |
| 1092 | ····························"/*·global·mpl·*/\n", | 1092 | ····························"/*·global·mpl·*/\n", |
| Offset 2078, 30 lines modified | Offset 2078, 30 lines modified |
| 2078 | ················"jupyter.plot2d(int2,·ax=ax[1])\n", | 2078 | ················"jupyter.plot2d(int2,·ax=ax[1])\n", |
| 2079 | ················"ax[0].set_xlim(int2.radial.min(),·int2.radial.max())\n", | 2079 | ················"ax[0].set_xlim(int2.radial.min(),·int2.radial.max())\n", |
| 2080 | ················"pass" | 2080 | ················"pass" |
| 2081 | ············] | 2081 | ············] |
| 2082 | ········}, | 2082 | ········}, |
| 2083 | ········{ | 2083 | ········{ |
| 2084 | ············"cell_type":·"markdown", | 2084 | ············"cell_type":·"markdown", |
| 2085 | ············"id":·"6e5511ed", | 2085 | ············"id":·"1472d927", |
| 2086 | ············"metadata":·{}, | 2086 | ············"metadata":·{}, |
| 2087 | ············"source":·[ | 2087 | ············"source":·[ |
| 2088 | ················"##·1.·Separation·based·on·2D·integration\n", | 2088 | ················"##·1.·Separation·based·on·2D·integration\n", |
| 2089 | ················"\n", | 2089 | ················"\n", |
| 2090 | ················"Two·methods·are·readily·available·in·pyFAI,·they·perform·filtering·the·2D·regrouped·image·along·a·vertical·axis:\n", | 2090 | ················"Two·methods·are·readily·available·in·pyFAI,·they·perform·filtering·the·2D·regrouped·image·along·a·vertical·axis:\n", |
| 2091 | ················"*·median·filtering:·simple·median·along·azimuthal·angle\n", | 2091 | ················"*·median·filtering:·simple·median·along·azimuthal·angle\n", |
| 2092 | ················"*·sigma·clipping:·iterative·removal·of·all·pixels·above·n·standard·deviation\n", | 2092 | ················"*·sigma·clipping:·iterative·removal·of·all·pixels·above·n·standard·deviation\n", |
| 2093 | ················"\n", | 2093 | ················"\n", |
| 2094 | ················"The·drawback·is·in·the·2D·integration:·costly·in·time·and·smears·pixel·together." | 2094 | ················"The·drawback·is·in·the·2D·integration:·costly·in·time·and·smears·pixel·together." |
| 2095 | ············] | 2095 | ············] |
| 2096 | ········}, | 2096 | ········}, |
| 2097 | ········{ | 2097 | ········{ |
| 2098 | ············"cell_type":·"code", | 2098 | ············"cell_type":·"code", |
| 2099 | ············"execution_count":·6, | 2099 | ············"execution_count":·6, |
| 2100 | ············"id":·"1ee1c9b2", | 2100 | ············"id":·"9c2ba19e", |
| 2101 | ············"metadata":·{}, | 2101 | ············"metadata":·{}, |
| 2102 | ············"outputs":·[ | 2102 | ············"outputs":·[ |
| 2103 | ················{ | 2103 | ················{ |
| 2104 | ····················"data":·{ | 2104 | ····················"data":·{ |
| 2105 | ························"application/javascript":·[ | 2105 | ························"application/javascript":·[ |
| 2106 | ····························"/*·Put·everything·inside·the·global·mpl·namespace·*/\n", | 2106 | ····························"/*·Put·everything·inside·the·global·mpl·namespace·*/\n", |
| 2107 | ····························"/*·global·mpl·*/\n", | 2107 | ····························"/*·global·mpl·*/\n", |
| Offset 3108, 29 lines modified | Offset 3108, 29 lines modified |
| 3108 | ················"ax.plot(sc2.radial,·sc2.intensity,·label=\"sigma-clip·(legacy)\")\n", | 3108 | ················"ax.plot(sc2.radial,·sc2.intensity,·label=\"sigma-clip·(legacy)\")\n", |
| 3109 | ················"ax.legend()\n", | 3109 | ················"ax.legend()\n", |
| 3110 | ················"pass" | 3110 | ················"pass" |
| 3111 | ············] | 3111 | ············] |
| 3112 | ········}, | 3112 | ········}, |
| 3113 | ········{ | 3113 | ········{ |
|
Max diff block lines reached; 9840/14538 bytes (67.68%) of diff not shown.
|