{ "cells": [ { "cell_type": "markdown", "id": "6a63bd76", "metadata": {}, "source": [ "This example shows a basic example of \"Feff fitting\" with larch. \n", "\n", "We start with some import statements, then \n", " 1. read in data for ZnSe, Zn K edge\n", " 2. do background subtraction and plot $\\chi(k)$\n", " 3. set the Fourier transform ranges\n", " 4. define a Group of Parameters for the fit\n", " 5. read in a Feff Path for Zn-Se \n", " 6. run the fit and view the results" ] }, { "cell_type": "code", "execution_count": 3, "id": "59499dc6", "metadata": {}, "outputs": [], "source": [ "# step 0: imports\n", "import numpy as np\n", "from larch.xafs import (pre_edge, autobk, xftf, \n", " ff2chi, feffpath, feffit_transform, feffit_dataset, feffit, feffit_report)\n", "from larch.fitting import param, guess, param_group\n", "from larch.io import read_ascii\n", "from larch.plot.plotly_xafsplots import (plot_mu, plot_chik, plot_chir, plot_chifit, \n", " multi_plot, plotlabels, set_label_weight)" ] }, { "cell_type": "code", "execution_count": 4, "id": "c431a710", "metadata": {}, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { "plotlyServerURL": "https://plot.ly" }, "data": [ { "line": { "color": "#1f77b4", "width": 3 }, "name": "mu", "type": "scatter", "uid": "0069856f-ff71-4e96-9803-068e80365187", "x": [ 9509, 9514, 9519, 9524, 9529, 9534, 9539, 9544, 9549, 9554, 9559, 9564, 9569, 9574, 9579, 9584, 9589, 9594, 9599, 9604, 9609, 9614, 9619, 9624, 9629, 9634, 9639, 9644, 9649, 9649.25, 9649.5, 9649.75, 9650, 9650.25, 9650.5, 9650.75, 9651, 9651.25, 9651.5, 9651.75, 9652, 9652.25, 9652.5, 9652.75, 9653, 9653.25, 9653.5, 9653.75, 9654, 9654.25, 9654.5, 9654.75, 9655, 9655.25, 9655.5, 9655.75, 9656, 9656.25, 9656.5, 9656.75, 9657, 9657.25, 9657.5, 9657.75, 9658, 9658.25, 9658.5, 9658.75, 9659, 9659.25, 9659.5, 9659.75, 9660, 9660.25, 9660.5, 9660.75, 9661, 9661.25, 9661.5, 9661.75, 9662, 9662.25, 9662.5, 9662.75, 9663, 9663.25, 9663.5, 9663.75, 9664, 9664.25, 9664.5, 9664.75, 9665, 9665.25, 9665.5, 9665.75, 9666, 9666.25, 9666.5, 9666.75, 9667, 9667.25, 9667.5, 9667.75, 9668, 9668.25, 9668.5, 9668.75, 9669, 9669.25, 9669.5, 9669.75, 9670, 9670.25, 9670.5, 9670.75, 9671, 9671.25, 9671.5, 9671.75, 9672, 9672.25, 9672.5, 9672.75, 9673, 9673.25, 9673.5, 9673.75, 9674, 9674.25, 9674.5, 9674.75, 9675, 9675.25, 9675.5, 9675.75, 9676, 9676.25, 9676.5, 9676.75, 9677, 9677.25, 9677.5, 9677.75, 9678, 9678.25, 9678.5, 9678.75, 9679, 9679.25, 9679.5, 9679.75, 9680, 9680.25, 9680.5, 9680.75, 9681, 9681.25, 9681.5, 9681.75, 9682, 9682.25, 9682.5, 9682.75, 9683, 9683.25, 9683.5, 9683.75, 9684, 9684.25, 9684.5, 9684.75, 9685, 9685.25, 9685.5, 9685.75, 9686, 9686.25, 9686.5, 9686.75, 9687, 9687.25, 9687.5, 9687.75, 9688, 9688.25, 9688.5, 9688.75, 9689, 9689.861, 9690.734, 9691.619, 9692.517, 9693.427, 9694.349, 9695.282, 9696.229, 9697.187, 9698.157, 9699.14, 9700.135, 9701.142, 9702.161, 9703.192, 9704.236, 9705.292, 9706.359, 9707.439, 9708.532, 9709.637, 9710.753, 9711.882, 9713.023, 9714.177, 9715.342, 9716.52, 9717.709, 9718.911, 9720.125, 9721.352, 9722.59, 9723.841, 9725.104, 9726.378, 9727.665, 9728.965, 9730.276, 9731.6, 9732.936, 9734.284, 9735.645, 9737.017, 9738.401, 9739.798, 9741.207, 9742.628, 9744.062, 9745.507, 9746.965, 9748.435, 9749.916, 9751.411, 9752.917, 9754.436, 9755.967, 9757.51, 9759.064, 9760.632, 9762.211, 9763.803, 9765.406, 9767.022, 9768.65, 9770.291, 9771.943, 9773.608, 9775.285, 9776.975, 9778.676, 9780.389, 9782.114, 9783.853, 9785.603, 9787.364, 9789.139, 9790.925, 9792.724, 9794.535, 9796.357, 9798.193, 9800.04, 9801.9, 9803.771, 9805.655, 9807.552, 9809.46, 9811.381, 9813.313, 9815.258, 9817.215, 9819.185, 9821.165, 9823.159, 9825.165, 9827.183, 9829.213, 9831.255, 9833.31, 9835.376, 9837.455, 9839.546, 9841.648, 9843.765, 9845.892, 9848.031, 9850.184, 9852.348, 9854.523, 9856.712, 9858.912, 9861.125, 9863.351, 9865.587, 9867.837, 9870.098, 9872.372, 9874.657, 9876.955, 9879.266, 9881.588, 9883.923, 9886.27, 9888.628, 9890.999, 9893.383, 9895.778, 9898.186, 9900.605, 9903.037, 9905.481, 9907.938, 9910.406, 9912.887, 9915.38, 9917.885, 9920.402, 9922.932, 9925.473, 9928.027, 9930.593, 9933.171, 9935.761, 9938.363, 9940.979, 9943.605, 9946.244, 9948.896, 9951.559, 9954.234, 9956.922, 9959.622, 9962.334, 9965.059, 9967.795, 9970.543, 9973.304, 9976.077, 9978.862, 9981.659, 9984.469, 9987.291, 9990.125, 9992.971, 9995.829, 9998.699, 10001.58, 10004.48, 10007.38, 10010.3, 10013.23, 10016.18, 10019.13, 10022.1, 10025.08, 10028.07, 10031.08, 10034.09, 10037.12, 10040.16, 10043.22, 10046.28, 10049.36, 10052.45, 10055.55, 10058.67, 10061.79, 10064.93, 10068.08, 10071.24, 10074.42, 10077.6, 10080.8, 10084.01, 10087.24, 10090.47, 10093.72, 10096.98, 10100.25, 10103.54, 10106.84, 10110.14, 10113.47, 10116.8, 10120.14, 10123.5, 10126.87, 10130.25, 10133.65, 10137.05, 10140.47, 10143.9, 10147.35, 10150.8, 10154.27, 10157.75, 10161.24, 10164.74, 10168.26, 10171.79, 10175.33, 10178.88, 10182.44, 10186.02, 10189.61, 10193.21, 10196.82, 10200.45, 10204.09, 10207.74, 10211.4, 10215.07, 10218.76, 10222.46, 10226.17, 10229.89, 10233.63, 10237.37, 10241.13, 10244.91, 10248.69, 10252.49, 10256.29, 10260.11, 10263.95, 10267.79, 10271.65, 10275.52, 10279.4, 10283.29, 10287.2, 10291.11, 10295.04, 10298.99, 10302.94, 10306.91, 10310.89, 10314.88, 10318.88, 10322.9, 10326.92, 10330.96, 10335.01, 10339.08, 10343.15, 10347.24, 10351.34, 10355.46, 10359.58, 10363.72, 10367.87, 10372.03, 10376.2, 10380.39, 10384.58, 10388.79, 10393.02, 10397.25, 10401.5, 10405.76 ], "y": [ 0.0009041844097079902, 0.0029578956307156896, 0.000848814411055509, 0.0012812129896301809, -0.0012431550303300598, -0.0008848987787634413, -0.0008388946454113544, -0.001784365994037343, -0.0015076570860768793, -0.0012046149698610876, -0.0007287571966607947, -7.748499613613123e-05, 0.0005591908427041561, -0.0017211983517454912, -0.00033678595486155694, 6.205338608787005e-05, 0.00017911148998786156, 0.0007656220562774874, 0.0008772048797782691, 0.0006074349887610894, 0.0012850879191789327, 0.0012484773082859686, 0.001222134371148328, 0.003453866112661849, 0.004123990850914578, 0.005521182406553355, 0.006660614338540107, 0.009435378334909927, 0.015047791523116048, 0.016091571944026432, 0.0166349985445731, 0.017404481504256622, 0.01797376119199074, 0.017798976245010534, 0.018508125186550147, 0.018552386339565997, 0.019190617173919386, 0.0204410921568678, 0.02060739463909515, 0.021642106913509485, 0.021934725575684114, 0.022594869859889354, 0.0231015783864665, 0.02306573018476787, 0.02455702504551561, 0.025449854844663312, 0.026268590928665816, 0.027019653938388472, 0.02857235993640651, 0.02930717781789359, 0.03024183074245956, 0.030992033207109453, 0.032501528123525796, 0.0335846541637547, 0.034862484890713974, 0.03683632124906304, 0.038163063665226316, 0.03914431473216992, 0.04068442553070669, 0.043247960516279244, 0.044237598974596726, 0.046969786622074634, 0.049246881463363784, 0.051074325839606576, 0.05393539174157957, 0.057375247227376726, 0.06000633294783716, 0.06381310901957203, 0.06742230306961101, 0.07173785998203445, 0.07770072004292039, 0.08360722131829072, 0.08953466076301707, 0.09719773789247288, 0.10477507197497571, 0.11559324301990136, 0.1275095640997897, 0.14059436753492704, 0.15551049593410313, 0.17513040341908775, 0.20416277969519395, 0.23835232959378994, 0.2812274927448696, 0.3353513654089649, 0.4087151131429765, 0.5111226700616858, 0.6143820694788227, 0.7196826600133548, 0.8340843375500105, 0.9425989389235198, 1.0490475717344299, 1.1165584371816184, 1.1621428330010646, 1.1928431033455764, 1.2172407375548873, 1.2503384483441924, 1.288976705130553, 1.3356714453645606, 1.3859638282855158, 1.4312973417150512, 1.4706237560590798, 1.484801894219522, 1.4763176518136039, 1.4463689125147452, 1.400120103613388, 1.3304133715120958, 1.2693834196473133, 1.2066348936114373, 1.152348059628711, 1.1067107162593535, 1.0715256526242498, 1.0438607482204552, 1.0303134287393245, 1.0252990426746789, 1.0271664717431512, 1.0318715788489774, 1.040091686880488, 1.0448317825636182, 1.0465055256715148, 1.0456742569295099, 1.039660276540732, 1.0322434463997172, 1.0260895442394085, 1.0214177715256996, 1.022165751869355, 1.0285940034444565, 1.040863842265419, 1.0600040387778369, 1.0780604892197192, 1.0968065624680257, 1.115197077236541, 1.1291939668258206, 1.1428567250007455, 1.1500185446083055, 1.149392413747411, 1.1428669763224741, 1.1301783568951698, 1.1113667726062613, 1.085466968790092, 1.0600963148324414, 1.0369474769580806, 1.0151752501189415, 0.9951354171031975, 0.9748625985741972, 0.9617151378979143, 0.9504393784889783, 0.9420466963376082, 0.9368236514824972, 0.9339789053901583, 0.9323299206754234, 0.9312006705585892, 0.9303629098606981, 0.9299261197990812, 0.928897090352842, 0.9276237480877012, 0.9251824809091135, 0.9224209900021658, 0.9200202045559535, 0.9173737749939861, 0.9135734409884879, 0.911047213670135, 0.9087721203976312, 0.907347263734963, 0.9060864972470307, 0.904957583865653, 0.9040420286938653, 0.902965503766654, 0.902898889932266, 0.9027643169512244, 0.9031666424257855, 0.9034979930706584, 0.9047875566989412, 0.9072177831393633, 0.9097954890562829, 0.9128440120380648, 0.9157956388087436, 0.9203413407840022, 0.9239346684044905, 0.928245220654401, 0.9311359729926538, 0.934105753573158, 0.936461054379032, 0.9386215788116353, 0.940083710043441, 0.9417608891973805, 0.9436920472861011, 0.9448404803356379, 0.9469456475865359, 0.9483707545667467, 0.9542696488462726, 0.9578114577582362, 0.9582439367327287, 0.9585904772083109, 0.9609953587366761, 0.9650424837812339, 0.9734540555341987, 0.9814783708764653, 0.9881162395027596, 0.9900686416062159, 0.9873746487462082, 0.9841103656791218, 0.9838808506212943, 0.9842162432610241, 0.986055049740833, 0.9880035252104757, 0.9905140860398314, 0.9920670343736131, 0.9938324476188648, 0.9943461121274282, 0.9940795564263463, 0.9945560013562942, 0.996973849970617, 1.002515604239074, 1.010303392265835, 1.016054462896584, 1.0166027388874967, 1.013223540736206, 1.0090597685678537, 1.003791002695275, 0.9971201207480349, 0.9903708668398031, 0.983887124056164, 0.9764751615281598, 0.9716631631592205, 0.9688569558938039, 0.9689484662345383, 0.9722881719674427, 0.9796652065339421, 0.9878719935876962, 0.9981552289994408, 1.0074654935303777, 1.0137962596675516, 1.016167480630252, 1.0163478132739534, 1.0149754094193, 1.0140806144062, 1.013112862065518, 1.01267747260038, 1.011492849927784, 1.0108069297704372, 1.009166183525318, 1.00682476925379, 1.002731810782396, 0.9981925423845217, 0.9916509780533145, 0.9858271266775284, 0.9826655324044937, 0.9813146610180965, 0.9838287427413824, 0.9876436146374897, 0.9899572702181382, 0.9908102814102974, 0.9889171179541418, 0.9836438180857923, 0.9755431895801004, 0.9700269876129156, 0.9654723663625356, 0.9655415236405622, 0.9678854233451153, 0.9689450923617718, 0.9703983825928559, 0.9726838124655452, 0.9762392418127979, 0.9799737708149592, 0.9848792354700172, 0.988664369806496, 0.9928652855257296, 0.9970313959110427, 1.0006262753145867, 1.0055608640903269, 1.0087604480547854, 1.0108149490173954, 1.0111081022632777, 1.012035289036454, 1.0144766383553074, 1.0162358092552348, 1.0164227881693046, 1.015904311614512, 1.013917671337194, 1.0115739920987459, 1.0090073406828064, 1.0042724698068195, 0.999409624055963, 0.9932714342956749, 0.986890490035207, 0.981827149890921, 0.9758695232424145, 0.9708383393873088, 0.9667146797057761, 0.9641182843531114, 0.9614161063607058, 0.9627655966367517, 0.9614221732093885, 0.9605148237155445, 0.960619151415891, 0.9614759065140551, 0.9639229289520322, 0.9718347202286763, 0.9757014671546859, 0.9798957617373938, 0.9826416674197394, 0.9850649591247818, 0.986378652605294, 0.9876778327234625, 0.9884851313586703, 0.9905137568394081, 0.9907821882292276, 0.9920151972791383, 0.9925821926135879, 0.9928331485394828, 0.9936076606561143, 0.9950546365125603, 0.9967506886911136, 0.9974059925307875, 0.9964113823535915, 0.9936578793973796, 0.9905089676117782, 0.9870214085351364, 0.9856927313996893, 0.9837372728581767, 0.9820299920959301, 0.9789411168923239, 0.9753220732332853, 0.971610146059206, 0.968748514362203, 0.9649003511689465, 0.9611804236664881, 0.9577747685942377, 0.9548457445596312, 0.9534955495558252, 0.9532466311421911, 0.9537300631846172, 0.9564548696862208, 0.9582392115585501, 0.9600379553601226, 0.9627247195928379, 0.9655048077722537, 0.9682779216423336, 0.9707748875102019, 0.9726665389416488, 0.9738988123649408, 0.9744314222601822, 0.975271172828412, 0.9757771459311076, 0.9769500232339013, 0.9763652015392682, 0.9763408094786908, 0.97596992978797, 0.9764782784969983, 0.9751293479758928, 0.9744175360497278, 0.973423696905791, 0.9716949624344579, 0.97012456092636, 0.9686945447246953, 0.9660763075527468, 0.9649239966443643, 0.9629682346048354, 0.9627628232182169, 0.9598614759076501, 0.9587777022857334, 0.9570909444820054, 0.9541629328327821, 0.9539582077074952, 0.9530898005366764, 0.9521508681872001, 0.9516897073233274, 0.9512323046872531, 0.9516149557333391, 0.9516125900135955, 0.9521216832491943, 0.9523095693730821, 0.9544537055288376, 0.9561507141352531, 0.9571719794486462, 0.9581564303485428, 0.9582765494344164, 0.9591570356306051, 0.9601513350829409, 0.9601398767676242, 0.961790859089334, 0.9623791294880436, 0.9623210366999488, 0.9615157411258758, 0.9612860256863471, 0.961431054760552, 0.9614367117163377, 0.9603114640976388, 0.9601570913734536, 0.9587538081694316, 0.956999053889158, 0.9570342965143728, 0.9552007944339479, 0.9544686914498746, 0.9542470816083184, 0.9522583093623889, 0.9520553244699991, 0.9497574706368097, 0.9493271559038825, 0.9493784112632251, 0.9489445001691627, 0.9494504506420862, 0.9496538219337404, 0.9503587684698718, 0.9505433547654126, 0.9509773825797277, 0.9501576247338702, 0.9505433023311765, 0.9512334594170103, 0.9519471728692737, 0.953025060539794, 0.9541999678728849, 0.9539122905113846, 0.9544498038621534, 0.9547200235172708, 0.9559228635303946, 0.956862807595431, 0.9569784895896492, 0.9571413137131833, 0.9570912473182569, 0.9570650308736157, 0.9575097586016014, 0.9579349739889916, 0.9574033546247314, 0.9571860221409603, 0.956185529477663, 0.9569621364713419, 0.9560082206145335, 0.9564060303939895, 0.9559932663194919, 0.955544939395741, 0.955171006853932, 0.9558469425223248, 0.95468835803273, 0.9545995158158488, 0.9547125952754701, 0.9547268512624871, 0.9559191669213467, 0.9557029621211988, 0.9566470734828582, 0.9567364690921778, 0.9570453795588427, 0.9580119064148154, 0.9579904699934328, 0.9592131739334572, 0.9589769549609157, 0.9601118937595664, 0.9603485288289733, 0.9610990338048604, 0.9616153980822256, 0.961847068520962, 0.9626514552119143, 0.9635811869023087, 0.9640590339079004, 0.9642533495162617, 0.9652133504329321, 0.9644822371879735, 0.9654590563912491, 0.9654791974092333, 0.9660013728086678, 0.9665926081515667, 0.9661650815959837, 0.9670751087077402, 0.966305989052908, 0.9681666305913481, 0.9681720516425363, 0.9668423906573034, 0.9676563285544101, 0.9684252855222324 ] } ], "layout": { "height": 500, "hovermode": "closest", "legend": { "bgcolor": "#F2F2F2", "borderwidth": 0.5 }, "plot_bgcolor": "#FDFDFF", "showlegend": true, "template": { "data": { "bar": [ { "error_x": { "color": "#2a3f5f" }, "error_y": { "color": "#2a3f5f" }, "marker": { "line": { "color": "#E5ECF6", "width": 0.5 }, "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "bar" } ], "barpolar": [ { "marker": { "line": { "color": "#E5ECF6", "width": 0.5 }, "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "barpolar" } ], "carpet": [ { "aaxis": { "endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f" }, "baxis": { "endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f" }, "type": "carpet" } ], "choropleth": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "choropleth" } ], "contour": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "contour" } ], "contourcarpet": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "contourcarpet" } ], "heatmap": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "heatmap" } ], "heatmapgl": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "heatmapgl" } ], "histogram": [ { "marker": { "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "histogram" } ], "histogram2d": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "histogram2d" } ], "histogram2dcontour": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "histogram2dcontour" } ], "mesh3d": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "mesh3d" } ], "parcoords": [ { "line": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "parcoords" } ], "pie": [ { "automargin": true, "type": "pie" } ], "scatter": [ { "fillpattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 }, "type": "scatter" } ], "scatter3d": [ { "line": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatter3d" } ], "scattercarpet": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattercarpet" } ], "scattergeo": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattergeo" } ], "scattergl": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattergl" } ], "scattermapbox": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattermapbox" } ], "scatterpolar": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterpolar" } ], "scatterpolargl": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterpolargl" } ], "scatterternary": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterternary" } ], "surface": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "surface" } ], "table": [ { "cells": { "fill": { "color": "#EBF0F8" }, "line": { "color": "white" } }, "header": { "fill": { "color": "#C8D4E3" }, "line": { "color": "white" } }, "type": "table" } ] }, "layout": { "annotationdefaults": { "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, "autotypenumbers": "strict", "coloraxis": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "colorscale": { "diverging": [ [ 0, "#8e0152" ], [ 0.1, "#c51b7d" ], [ 0.2, "#de77ae" ], [ 0.3, "#f1b6da" ], [ 0.4, "#fde0ef" ], [ 0.5, "#f7f7f7" ], [ 0.6, "#e6f5d0" ], [ 0.7, "#b8e186" ], [ 0.8, "#7fbc41" ], [ 0.9, "#4d9221" ], [ 1, "#276419" ] ], "sequential": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "sequentialminus": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ] }, "colorway": [ "#636efa", "#EF553B", "#00cc96", "#ab63fa", "#FFA15A", "#19d3f3", "#FF6692", "#B6E880", "#FF97FF", "#FECB52" ], "font": { "color": "#2a3f5f" }, "geo": { "bgcolor": "white", "lakecolor": "white", "landcolor": "#E5ECF6", "showlakes": true, "showland": true, "subunitcolor": "white" }, "hoverlabel": { "align": "left" }, "hovermode": "closest", "mapbox": { "style": "light" }, "paper_bgcolor": "white", "plot_bgcolor": "#E5ECF6", "polar": { "angularaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "bgcolor": "#E5ECF6", "radialaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" } }, "scene": { "xaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" }, "yaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" }, "zaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" } }, "shapedefaults": { "line": { "color": "#2a3f5f" } }, "ternary": { "aaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "baxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "bgcolor": "#E5ECF6", "caxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" } }, "title": { "x": 0.05 }, "xaxis": { "automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": { "standoff": 15 }, "zerolinecolor": "white", "zerolinewidth": 2 }, "yaxis": { "automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": { "standoff": 15 }, "zerolinecolor": "white", "zerolinewidth": 2 } } }, "title": { "text": "znse_zn_xafs.001" }, "width": 650, "xaxis": { "color": "#004", "gridcolor": "#D8D8D8", "range": [ 9409, 10505.76 ], "showgrid": true, "title": { "text": "$E\\rm\\,(eV)$" }, "zerolinecolor": "#DDD" }, "yaxis": { "color": "#004", "gridcolor": "#D8D8D8", "showgrid": true, "title": { "text": "$\\mu(E)$ (norm)" }, "zerolinecolor": "#DDD" } } }, "text/html": [ "