repo
stringlengths 7
54
| path
stringlengths 4
223
| func_name
stringlengths 1
134
| original_string
stringlengths 75
104k
| language
stringclasses 1
value | code
stringlengths 75
104k
| code_tokens
listlengths 20
28.4k
| docstring
stringlengths 1
46.3k
| docstring_tokens
listlengths 1
1.66k
| sha
stringlengths 40
40
| url
stringlengths 87
315
| partition
stringclasses 1
value | summary
stringlengths 4
350
| obf_code
stringlengths 7.85k
764k
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
plot_pole
|
def plot_pole(map_axis, plon, plat, A95, label='', color='k', edgecolor='k', marker='o', markersize=20, legend='no'):
"""
This function plots a paleomagnetic pole and A95 error ellipse on a cartopy map axis.
Before this function is called, a plot needs to be initialized with code
such as that in the make_orthographic_map function.
Example
-------
>>> plon = 200
>>> plat = 60
>>> A95 = 6
>>> map_axis = ipmag.make_orthographic_map(central_longitude=200,central_latitude=30)
>>> ipmag.plot_pole(map_axis, plon, plat, A95 ,color='red',markersize=40)
Required Parameters
-----------
map_axis : the name of the current map axis that has been developed using cartopy
plon : the longitude of the paleomagnetic pole being plotted (in degrees E)
plat : the latitude of the paleomagnetic pole being plotted (in degrees)
A95 : the A_95 confidence ellipse of the paleomagnetic pole (in degrees)
Optional Parameters (defaults are used if not specified)
-----------
color : the default color is black. Other colors can be chosen (e.g. 'r')
marker : the default is a circle. Other symbols can be chosen (e.g. 's')
markersize : the default is 20. Other size can be chosen
label : the default is no label. Labels can be assigned.
legend : the default is no legend ('no'). Putting 'yes' will plot a legend.
"""
if not has_cartopy:
print('-W- cartopy must be installed to run ipmag.plot_pole')
return
A95_km = A95 * 111.32
map_axis.scatter(plon, plat, marker=marker,
color=color, edgecolors=edgecolor, s=markersize,
label=label, zorder=101, transform=ccrs.Geodetic())
equi(map_axis, plon, plat, A95_km, color)
if legend == 'yes':
plt.legend(loc=2)
|
python
|
def plot_pole(map_axis, plon, plat, A95, label='', color='k', edgecolor='k', marker='o', markersize=20, legend='no'):
"""
This function plots a paleomagnetic pole and A95 error ellipse on a cartopy map axis.
Before this function is called, a plot needs to be initialized with code
such as that in the make_orthographic_map function.
Example
-------
>>> plon = 200
>>> plat = 60
>>> A95 = 6
>>> map_axis = ipmag.make_orthographic_map(central_longitude=200,central_latitude=30)
>>> ipmag.plot_pole(map_axis, plon, plat, A95 ,color='red',markersize=40)
Required Parameters
-----------
map_axis : the name of the current map axis that has been developed using cartopy
plon : the longitude of the paleomagnetic pole being plotted (in degrees E)
plat : the latitude of the paleomagnetic pole being plotted (in degrees)
A95 : the A_95 confidence ellipse of the paleomagnetic pole (in degrees)
Optional Parameters (defaults are used if not specified)
-----------
color : the default color is black. Other colors can be chosen (e.g. 'r')
marker : the default is a circle. Other symbols can be chosen (e.g. 's')
markersize : the default is 20. Other size can be chosen
label : the default is no label. Labels can be assigned.
legend : the default is no legend ('no'). Putting 'yes' will plot a legend.
"""
if not has_cartopy:
print('-W- cartopy must be installed to run ipmag.plot_pole')
return
A95_km = A95 * 111.32
map_axis.scatter(plon, plat, marker=marker,
color=color, edgecolors=edgecolor, s=markersize,
label=label, zorder=101, transform=ccrs.Geodetic())
equi(map_axis, plon, plat, A95_km, color)
if legend == 'yes':
plt.legend(loc=2)
|
[
"def",
"plot_pole",
"(",
"map_axis",
",",
"plon",
",",
"plat",
",",
"A95",
",",
"label",
"=",
"''",
",",
"color",
"=",
"'k'",
",",
"edgecolor",
"=",
"'k'",
",",
"marker",
"=",
"'o'",
",",
"markersize",
"=",
"20",
",",
"legend",
"=",
"'no'",
")",
":",
"if",
"not",
"has_cartopy",
":",
"print",
"(",
"'-W- cartopy must be installed to run ipmag.plot_pole'",
")",
"return",
"A95_km",
"=",
"A95",
"*",
"111.32",
"map_axis",
".",
"scatter",
"(",
"plon",
",",
"plat",
",",
"marker",
"=",
"marker",
",",
"color",
"=",
"color",
",",
"edgecolors",
"=",
"edgecolor",
",",
"s",
"=",
"markersize",
",",
"label",
"=",
"label",
",",
"zorder",
"=",
"101",
",",
"transform",
"=",
"ccrs",
".",
"Geodetic",
"(",
")",
")",
"equi",
"(",
"map_axis",
",",
"plon",
",",
"plat",
",",
"A95_km",
",",
"color",
")",
"if",
"legend",
"==",
"'yes'",
":",
"plt",
".",
"legend",
"(",
"loc",
"=",
"2",
")"
] |
This function plots a paleomagnetic pole and A95 error ellipse on a cartopy map axis.
Before this function is called, a plot needs to be initialized with code
such as that in the make_orthographic_map function.
Example
-------
>>> plon = 200
>>> plat = 60
>>> A95 = 6
>>> map_axis = ipmag.make_orthographic_map(central_longitude=200,central_latitude=30)
>>> ipmag.plot_pole(map_axis, plon, plat, A95 ,color='red',markersize=40)
Required Parameters
-----------
map_axis : the name of the current map axis that has been developed using cartopy
plon : the longitude of the paleomagnetic pole being plotted (in degrees E)
plat : the latitude of the paleomagnetic pole being plotted (in degrees)
A95 : the A_95 confidence ellipse of the paleomagnetic pole (in degrees)
Optional Parameters (defaults are used if not specified)
-----------
color : the default color is black. Other colors can be chosen (e.g. 'r')
marker : the default is a circle. Other symbols can be chosen (e.g. 's')
markersize : the default is 20. Other size can be chosen
label : the default is no label. Labels can be assigned.
legend : the default is no legend ('no'). Putting 'yes' will plot a legend.
|
[
"This",
"function",
"plots",
"a",
"paleomagnetic",
"pole",
"and",
"A95",
"error",
"ellipse",
"on",
"a",
"cartopy",
"map",
"axis",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L1800-L1839
|
train
|
This function plots a paleomagnetic pole and A95 error ellipse on a cartopy map axis.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(0b110000) + '\157' + '\x32' + chr(50) + '\061', 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b101001 + 0o106) + '\062' + chr(0b101110 + 0o5) + chr(0b110111), 62872 - 62864), nzTpIcepk0o8('\060' + chr(111) + chr(52), 0o10), nzTpIcepk0o8(chr(0b1100 + 0o44) + chr(3773 - 3662) + chr(51) + chr(2651 - 2597) + chr(0b110100), 0b1000), nzTpIcepk0o8('\x30' + chr(111) + chr(0b110010) + '\063' + chr(0b1000 + 0o57), 8), nzTpIcepk0o8('\060' + chr(111) + chr(51) + '\063' + '\060', 0o10), nzTpIcepk0o8('\060' + chr(7465 - 7354) + chr(0b1111 + 0o42) + chr(0b110111) + chr(51), 0b1000), nzTpIcepk0o8(chr(48) + '\157' + '\x32' + chr(0b1101 + 0o46) + chr(55), 8), nzTpIcepk0o8('\060' + chr(0b110100 + 0o73) + '\x32' + chr(1499 - 1450) + chr(50), 28857 - 28849), nzTpIcepk0o8(chr(0b11101 + 0o23) + '\157' + chr(0b100011 + 0o20) + chr(153 - 105), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(4751 - 4640) + chr(678 - 629) + chr(2253 - 2198) + chr(0b110010), 0b1000), nzTpIcepk0o8('\060' + chr(111) + chr(0b110 + 0o55) + '\x36', 0b1000), nzTpIcepk0o8(chr(48) + chr(6464 - 6353) + '\061' + chr(48) + chr(1990 - 1938), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\x32' + '\066' + chr(0b110010), 0o10), nzTpIcepk0o8(chr(1699 - 1651) + chr(0b1101111) + '\061' + chr(1004 - 955) + '\062', 5609 - 5601), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\061' + chr(593 - 541) + '\061', 6667 - 6659), nzTpIcepk0o8(chr(0b110000) + chr(0b110110 + 0o71) + chr(0b110110) + '\065', 0o10), nzTpIcepk0o8('\x30' + chr(0b11110 + 0o121) + chr(0b110011) + chr(0b10110 + 0o36), 50064 - 50056), nzTpIcepk0o8(chr(692 - 644) + '\157' + chr(2036 - 1987) + chr(49) + '\x30', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b101110 + 0o3) + chr(0b110000) + chr(0b110100), 8), nzTpIcepk0o8(chr(0b11110 + 0o22) + chr(111) + '\063' + chr(48), 8), nzTpIcepk0o8('\x30' + chr(0b101 + 0o152) + chr(2419 - 2369) + '\061' + chr(0b1 + 0o63), 0b1000), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b11000 + 0o36), 0o10), nzTpIcepk0o8('\060' + chr(0b1011010 + 0o25) + chr(0b11011 + 0o26) + '\x32' + '\064', 63032 - 63024), nzTpIcepk0o8('\060' + chr(10458 - 10347) + chr(0b110011) + '\x33' + '\063', 0o10), nzTpIcepk0o8('\060' + '\157' + chr(0b10 + 0o61) + chr(0b10001 + 0o45) + '\x32', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(50) + '\x32' + chr(54), 33795 - 33787), nzTpIcepk0o8(chr(0b100100 + 0o14) + chr(0b1101111) + '\061' + chr(0b110111) + chr(50), 8), nzTpIcepk0o8('\x30' + '\157' + chr(49) + chr(0b110001) + chr(2168 - 2119), 55927 - 55919), nzTpIcepk0o8(chr(0b1101 + 0o43) + '\x6f' + '\061' + '\063' + chr(2070 - 2021), 0o10), nzTpIcepk0o8(chr(0b101110 + 0o2) + '\157' + chr(51) + chr(0b110101) + '\x34', ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b100000 + 0o117) + chr(299 - 250) + chr(48) + chr(0b11001 + 0o32), 18986 - 18978), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b110101) + chr(52), 28331 - 28323), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(50) + chr(51) + chr(0b100101 + 0o14), 0o10), nzTpIcepk0o8('\x30' + chr(11082 - 10971) + '\063' + chr(55) + '\x34', 0o10), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(2288 - 2238) + chr(997 - 946) + '\x32', 0o10), nzTpIcepk0o8('\060' + chr(0b1101111) + '\067' + chr(0b100111 + 0o15), 4527 - 4519), nzTpIcepk0o8(chr(0b10100 + 0o34) + chr(11959 - 11848) + chr(1773 - 1724) + chr(54) + '\060', 22149 - 22141), nzTpIcepk0o8(chr(2076 - 2028) + '\x6f' + chr(0b110010) + chr(805 - 755) + chr(1469 - 1414), 0b1000), nzTpIcepk0o8('\060' + chr(3290 - 3179) + chr(53), 0b1000)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(826 - 778) + '\x6f' + '\x35' + chr(1910 - 1862), 0o10)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xbf'), '\x64' + '\145' + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + chr(0b1100101))('\x75' + chr(0b1 + 0o163) + '\x66' + chr(413 - 368) + '\070') + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def ynjdnFWTZc8X(RGxUm1YH2emY, j1qi1l65tYxo, yOX81cxVSDwr, Pu01yUzyHxZw, OkDIn6t2Cke6=roI3spqORKae(ES5oEprVxulp(b''), chr(100) + '\x65' + chr(6632 - 6533) + chr(111) + chr(100) + chr(0b110111 + 0o56))('\165' + chr(5709 - 5593) + chr(0b11 + 0o143) + '\x2d' + '\070'), s93qyRHd7l1y=roI3spqORKae(ES5oEprVxulp(b'\xfa'), chr(2317 - 2217) + chr(101) + '\143' + chr(11117 - 11006) + '\144' + '\145')(chr(117) + '\164' + '\x66' + chr(1593 - 1548) + chr(1654 - 1598)), HiUt9Rz_exGD=roI3spqORKae(ES5oEprVxulp(b'\xfa'), chr(100) + '\x65' + '\x63' + chr(111) + chr(0b1011 + 0o131) + chr(790 - 689))(chr(0b110000 + 0o105) + chr(0b1110100) + chr(0b1100110) + chr(1092 - 1047) + chr(56)), uic71ZuNaAED=roI3spqORKae(ES5oEprVxulp(b'\xfe'), chr(7729 - 7629) + chr(101) + chr(0b100010 + 0o101) + chr(111) + '\x64' + chr(3656 - 3555))(chr(0b1101010 + 0o13) + chr(609 - 493) + '\146' + chr(45) + '\x38'), bl_hQogL99mv=nzTpIcepk0o8(chr(0b101101 + 0o3) + chr(111) + chr(50) + chr(782 - 730), ord("\x08")), _rP71CgJu3le=roI3spqORKae(ES5oEprVxulp(b'\xff\xf0'), chr(0b110011 + 0o61) + chr(101) + chr(0b111 + 0o134) + '\157' + chr(100) + '\145')('\165' + chr(0b1110100) + '\146' + '\055' + '\070')):
if not iooSrYwNGRVI:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xbc\xc8)\xd4\xfc\xb9\t\xeb\xe5h\x03>)\xc79\x15\x15~-dq\xe2u \xba\x9e\xfa\x1f-y\x98,\x0c\xeb\x89\xf4\x1c\x19\xe7h\xf0\xf8*\x84\xf3\xb7\x0f\xc0\xfaw\x16{'), chr(6457 - 6357) + '\x65' + chr(0b1010010 + 0o21) + '\x6f' + chr(0b1100100) + '\x65')(chr(0b1001011 + 0o52) + chr(0b1110100) + chr(0b100111 + 0o77) + chr(45) + chr(0b11001 + 0o37)))
return
DBCraPlhoREz = Pu01yUzyHxZw * 111.32
roI3spqORKae(RGxUm1YH2emY, roI3spqORKae(ES5oEprVxulp(b'\xcb\xd74\x9d\xe7\xea\x1d\xf2\xdeo\x12\x7f'), '\x64' + chr(968 - 867) + chr(2814 - 2715) + chr(0b1101111) + '\144' + chr(101))('\165' + chr(116) + chr(6815 - 6713) + chr(0b101101) + chr(0b111000)))(j1qi1l65tYxo, yOX81cxVSDwr, marker=uic71ZuNaAED, color=s93qyRHd7l1y, edgecolors=HiUt9Rz_exGD, s=bl_hQogL99mv, label=OkDIn6t2Cke6, zorder=nzTpIcepk0o8(chr(1773 - 1725) + chr(2354 - 2243) + chr(0b10010 + 0o37) + chr(0b110000 + 0o4) + chr(53), 0b1000), transform=roI3spqORKae(uCkO3D3nGLZI, roI3spqORKae(ES5oEprVxulp(b'\xd6\xfak\x90\xfa\xac\x12\xfc'), chr(0b1100100) + chr(3865 - 3764) + chr(0b1100011) + '\x6f' + '\x64' + chr(0b110000 + 0o65))('\165' + chr(0b1110100) + '\x66' + chr(0b101101) + '\x38'))())
DLCjUGEWs_oA(RGxUm1YH2emY, j1qi1l65tYxo, yOX81cxVSDwr, DBCraPlhoREz, s93qyRHd7l1y)
if _rP71CgJu3le == roI3spqORKae(ES5oEprVxulp(b'\xe8\xfaw'), chr(0b1100100) + chr(0b111101 + 0o50) + '\x63' + chr(0b1010110 + 0o31) + chr(4287 - 4187) + '\145')('\x75' + chr(0b110011 + 0o101) + chr(0b110110 + 0o60) + chr(0b101101) + chr(1014 - 958)):
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\xfd\xfac\x91\xf1\xbc'), '\144' + chr(101) + chr(0b11100 + 0o107) + '\x6f' + '\x64' + chr(0b1100101))('\x75' + chr(807 - 691) + chr(102) + '\x2d' + chr(0b101001 + 0o17)))(loc=nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b110010 + 0o0), ord("\x08")))
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
plot_poles
|
def plot_poles(map_axis, plon, plat, A95, label='', color='k', edgecolor='k', marker='o', markersize=20, legend='no'):
"""
This function plots paleomagnetic poles and A95 error ellipses on a cartopy map axis.
Before this function is called, a plot needs to be initialized with code
such as that in the make_orthographic_map function.
Examples
-------
>>> plons = [200, 180, 210]
>>> plats = [60, 40, 35]
>>> A95 = [6, 3, 10]
>>> map_axis = ipmag.make_orthographic_map(central_longitude=200, central_latitude=30)
>>> ipmag.plot_poles(map_axis, plons, plats, A95s, color='red', markersize=40)
>>> plons = [200, 180, 210]
>>> plats = [60, 40, 35]
>>> A95 = [6, 3, 10]
>>> colors = ['red','green','blue']
>>> map_axis = ipmag.make_orthographic_map(central_longitude=200, central_latitude=30)
>>> ipmag.plot_poles(map_axis, plons, plats, A95s, color=colors, markersize=40)
Required Parameters
-----------
map_axis : the name of the current map axis that has been developed using cartopy
plon : the longitude of the paleomagnetic pole being plotted (in degrees E)
plat : the latitude of the paleomagnetic pole being plotted (in degrees)
A95 : the A_95 confidence ellipse of the paleomagnetic pole (in degrees)
Optional Parameters (defaults are used if not specified)
-----------
color : the default color is black. Other colors can be chosen (e.g. 'r')
a list of colors can also be given so that each pole has a distinct color
edgecolor : the default edgecolor is black. Other colors can be chosen (e.g. 'r')
marker : the default is a circle. Other symbols can be chosen (e.g. 's')
markersize : the default is 20. Other size can be chosen
label : the default is no label. Labels can be assigned.
legend : the default is no legend ('no'). Putting 'yes' will plot a legend.
"""
map_axis.scatter(plon, plat, marker=marker,
color=color, edgecolors=edgecolor, s=markersize,
label=label, zorder=101, transform=ccrs.Geodetic())
if isinstance(color,str)==True:
for n in range(0,len(A95)):
A95_km = A95[n] * 111.32
equi(map_axis, plon[n], plat[n], A95_km, color)
else:
for n in range(0,len(A95)):
A95_km = A95[n] * 111.32
equi(map_axis, plon[n], plat[n], A95_km, color[n])
if legend == 'yes':
plt.legend(loc=2)
|
python
|
def plot_poles(map_axis, plon, plat, A95, label='', color='k', edgecolor='k', marker='o', markersize=20, legend='no'):
"""
This function plots paleomagnetic poles and A95 error ellipses on a cartopy map axis.
Before this function is called, a plot needs to be initialized with code
such as that in the make_orthographic_map function.
Examples
-------
>>> plons = [200, 180, 210]
>>> plats = [60, 40, 35]
>>> A95 = [6, 3, 10]
>>> map_axis = ipmag.make_orthographic_map(central_longitude=200, central_latitude=30)
>>> ipmag.plot_poles(map_axis, plons, plats, A95s, color='red', markersize=40)
>>> plons = [200, 180, 210]
>>> plats = [60, 40, 35]
>>> A95 = [6, 3, 10]
>>> colors = ['red','green','blue']
>>> map_axis = ipmag.make_orthographic_map(central_longitude=200, central_latitude=30)
>>> ipmag.plot_poles(map_axis, plons, plats, A95s, color=colors, markersize=40)
Required Parameters
-----------
map_axis : the name of the current map axis that has been developed using cartopy
plon : the longitude of the paleomagnetic pole being plotted (in degrees E)
plat : the latitude of the paleomagnetic pole being plotted (in degrees)
A95 : the A_95 confidence ellipse of the paleomagnetic pole (in degrees)
Optional Parameters (defaults are used if not specified)
-----------
color : the default color is black. Other colors can be chosen (e.g. 'r')
a list of colors can also be given so that each pole has a distinct color
edgecolor : the default edgecolor is black. Other colors can be chosen (e.g. 'r')
marker : the default is a circle. Other symbols can be chosen (e.g. 's')
markersize : the default is 20. Other size can be chosen
label : the default is no label. Labels can be assigned.
legend : the default is no legend ('no'). Putting 'yes' will plot a legend.
"""
map_axis.scatter(plon, plat, marker=marker,
color=color, edgecolors=edgecolor, s=markersize,
label=label, zorder=101, transform=ccrs.Geodetic())
if isinstance(color,str)==True:
for n in range(0,len(A95)):
A95_km = A95[n] * 111.32
equi(map_axis, plon[n], plat[n], A95_km, color)
else:
for n in range(0,len(A95)):
A95_km = A95[n] * 111.32
equi(map_axis, plon[n], plat[n], A95_km, color[n])
if legend == 'yes':
plt.legend(loc=2)
|
[
"def",
"plot_poles",
"(",
"map_axis",
",",
"plon",
",",
"plat",
",",
"A95",
",",
"label",
"=",
"''",
",",
"color",
"=",
"'k'",
",",
"edgecolor",
"=",
"'k'",
",",
"marker",
"=",
"'o'",
",",
"markersize",
"=",
"20",
",",
"legend",
"=",
"'no'",
")",
":",
"map_axis",
".",
"scatter",
"(",
"plon",
",",
"plat",
",",
"marker",
"=",
"marker",
",",
"color",
"=",
"color",
",",
"edgecolors",
"=",
"edgecolor",
",",
"s",
"=",
"markersize",
",",
"label",
"=",
"label",
",",
"zorder",
"=",
"101",
",",
"transform",
"=",
"ccrs",
".",
"Geodetic",
"(",
")",
")",
"if",
"isinstance",
"(",
"color",
",",
"str",
")",
"==",
"True",
":",
"for",
"n",
"in",
"range",
"(",
"0",
",",
"len",
"(",
"A95",
")",
")",
":",
"A95_km",
"=",
"A95",
"[",
"n",
"]",
"*",
"111.32",
"equi",
"(",
"map_axis",
",",
"plon",
"[",
"n",
"]",
",",
"plat",
"[",
"n",
"]",
",",
"A95_km",
",",
"color",
")",
"else",
":",
"for",
"n",
"in",
"range",
"(",
"0",
",",
"len",
"(",
"A95",
")",
")",
":",
"A95_km",
"=",
"A95",
"[",
"n",
"]",
"*",
"111.32",
"equi",
"(",
"map_axis",
",",
"plon",
"[",
"n",
"]",
",",
"plat",
"[",
"n",
"]",
",",
"A95_km",
",",
"color",
"[",
"n",
"]",
")",
"if",
"legend",
"==",
"'yes'",
":",
"plt",
".",
"legend",
"(",
"loc",
"=",
"2",
")"
] |
This function plots paleomagnetic poles and A95 error ellipses on a cartopy map axis.
Before this function is called, a plot needs to be initialized with code
such as that in the make_orthographic_map function.
Examples
-------
>>> plons = [200, 180, 210]
>>> plats = [60, 40, 35]
>>> A95 = [6, 3, 10]
>>> map_axis = ipmag.make_orthographic_map(central_longitude=200, central_latitude=30)
>>> ipmag.plot_poles(map_axis, plons, plats, A95s, color='red', markersize=40)
>>> plons = [200, 180, 210]
>>> plats = [60, 40, 35]
>>> A95 = [6, 3, 10]
>>> colors = ['red','green','blue']
>>> map_axis = ipmag.make_orthographic_map(central_longitude=200, central_latitude=30)
>>> ipmag.plot_poles(map_axis, plons, plats, A95s, color=colors, markersize=40)
Required Parameters
-----------
map_axis : the name of the current map axis that has been developed using cartopy
plon : the longitude of the paleomagnetic pole being plotted (in degrees E)
plat : the latitude of the paleomagnetic pole being plotted (in degrees)
A95 : the A_95 confidence ellipse of the paleomagnetic pole (in degrees)
Optional Parameters (defaults are used if not specified)
-----------
color : the default color is black. Other colors can be chosen (e.g. 'r')
a list of colors can also be given so that each pole has a distinct color
edgecolor : the default edgecolor is black. Other colors can be chosen (e.g. 'r')
marker : the default is a circle. Other symbols can be chosen (e.g. 's')
markersize : the default is 20. Other size can be chosen
label : the default is no label. Labels can be assigned.
legend : the default is no legend ('no'). Putting 'yes' will plot a legend.
|
[
"This",
"function",
"plots",
"paleomagnetic",
"poles",
"and",
"A95",
"error",
"ellipses",
"on",
"a",
"cartopy",
"map",
"axis",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L1842-L1894
|
train
|
This function plots the paleomagnetic poles and A95 error ellipses on a cartopy map axis.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(0b10110 + 0o32) + chr(0b1101111) + '\x31' + chr(0b110111) + '\065', 0o10), nzTpIcepk0o8(chr(1004 - 956) + chr(4520 - 4409) + chr(207 - 157) + chr(0b11011 + 0o32) + chr(0b1001 + 0o47), 63135 - 63127), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(49) + chr(0b110100), 9396 - 9388), nzTpIcepk0o8(chr(782 - 734) + chr(0b1101111) + chr(0b110001 + 0o0) + chr(50) + chr(2751 - 2697), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(845 - 796) + chr(132 - 78) + '\065', 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b1101000 + 0o7) + chr(533 - 483) + chr(49) + '\x34', 0b1000), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(1656 - 1607) + chr(53) + '\062', 0o10), nzTpIcepk0o8('\x30' + '\x6f' + chr(1829 - 1779) + '\064' + chr(1003 - 949), 0b1000), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\065' + '\x32', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b110001) + '\061' + '\x33', 35371 - 35363), nzTpIcepk0o8(chr(48) + chr(0b1011101 + 0o22) + chr(0b10101 + 0o35) + chr(2294 - 2243) + '\064', 0b1000), nzTpIcepk0o8(chr(48) + '\157' + '\x33' + '\x31', ord("\x08")), nzTpIcepk0o8(chr(0b10101 + 0o33) + '\x6f' + '\061' + '\x36' + '\x31', ord("\x08")), nzTpIcepk0o8(chr(952 - 904) + '\157' + chr(0b110011) + chr(0b110011) + chr(0b110011), 0o10), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\061' + chr(51) + chr(54), 23747 - 23739), nzTpIcepk0o8(chr(48) + chr(0b100111 + 0o110) + chr(0b101 + 0o56) + chr(1039 - 990) + chr(53), 0o10), nzTpIcepk0o8(chr(48) + '\x6f' + chr(78 - 29) + chr(2081 - 2031) + chr(0b11101 + 0o27), 0b1000), nzTpIcepk0o8('\x30' + chr(0b1101111) + '\062' + '\061' + chr(0b110111), 0b1000), nzTpIcepk0o8('\x30' + '\x6f' + '\065' + chr(590 - 537), 20213 - 20205), nzTpIcepk0o8(chr(0b10000 + 0o40) + chr(111) + chr(164 - 113) + chr(0b110010) + chr(0b110001), ord("\x08")), nzTpIcepk0o8(chr(194 - 146) + chr(111) + chr(0b1111 + 0o42) + chr(48) + '\x32', 59178 - 59170), nzTpIcepk0o8(chr(2112 - 2064) + chr(0b1101111) + chr(1775 - 1726) + chr(702 - 649) + '\061', 0o10), nzTpIcepk0o8(chr(1968 - 1920) + chr(111) + chr(0b100000 + 0o26), 0o10), nzTpIcepk0o8('\060' + chr(111) + chr(0b110001) + chr(50) + chr(51), 0o10), nzTpIcepk0o8('\x30' + chr(111) + chr(0b110001) + chr(0b10001 + 0o43) + chr(728 - 673), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b111110 + 0o61) + chr(2464 - 2413) + chr(1648 - 1594) + chr(1696 - 1642), 0b1000), nzTpIcepk0o8('\060' + chr(0b1010101 + 0o32) + '\063' + chr(52), 0o10), nzTpIcepk0o8(chr(0b10100 + 0o34) + chr(111) + '\x34' + chr(0b110000), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b10000 + 0o137) + chr(50) + chr(51) + '\x37', 54533 - 54525), nzTpIcepk0o8(chr(0b10111 + 0o31) + '\157' + '\063' + chr(0b110111) + chr(0b110111), 0b1000), nzTpIcepk0o8('\060' + chr(111) + '\x32' + chr(50) + chr(0b10100 + 0o36), 0o10), nzTpIcepk0o8(chr(48) + chr(0b1011011 + 0o24) + chr(55) + chr(1513 - 1464), 45631 - 45623), nzTpIcepk0o8(chr(2099 - 2051) + chr(0b1011010 + 0o25) + chr(125 - 75) + chr(1428 - 1376) + '\x36', 8), nzTpIcepk0o8('\060' + chr(0b1010000 + 0o37) + chr(0b100001 + 0o22) + chr(0b100100 + 0o17) + chr(0b1 + 0o64), ord("\x08")), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b110011) + '\062' + chr(0b110101), 0o10), nzTpIcepk0o8(chr(416 - 368) + '\157' + chr(2115 - 2066) + chr(53) + '\x37', 22384 - 22376), nzTpIcepk0o8(chr(0b11010 + 0o26) + '\157' + '\065' + '\066', 0o10), nzTpIcepk0o8(chr(2235 - 2187) + chr(11639 - 11528) + '\062' + chr(52) + chr(0b11001 + 0o33), 0o10), nzTpIcepk0o8(chr(48) + chr(1951 - 1840) + '\x33' + chr(1219 - 1168) + chr(52), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(1840 - 1791) + '\060' + chr(0b10 + 0o63), ord("\x08"))][ZlbFMSG8gCoF % nzTpIcepk0o8('\060' + chr(0b11111 + 0o120) + chr(53) + '\x30', 20952 - 20944)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'S'), '\144' + '\x65' + '\x63' + chr(0b1001100 + 0o43) + chr(0b10000 + 0o124) + '\145')(chr(0b10 + 0o163) + chr(0b1110100) + chr(102) + '\055' + chr(0b111000)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def Tk8SE9rTbGd5(RGxUm1YH2emY, j1qi1l65tYxo, yOX81cxVSDwr, Pu01yUzyHxZw, OkDIn6t2Cke6=roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(0b1001001 + 0o34) + chr(0b10 + 0o141) + chr(111) + chr(0b10010 + 0o122) + chr(0b1100101))(chr(0b1110101) + chr(0b1010 + 0o152) + chr(0b1100110) + chr(0b101101) + '\x38'), s93qyRHd7l1y=roI3spqORKae(ES5oEprVxulp(b'\x16'), '\144' + chr(0b100010 + 0o103) + chr(3242 - 3143) + chr(0b1101111) + '\x64' + chr(0b101010 + 0o73))(chr(3044 - 2927) + '\x74' + chr(3113 - 3011) + chr(967 - 922) + chr(56)), HiUt9Rz_exGD=roI3spqORKae(ES5oEprVxulp(b'\x16'), '\144' + chr(0b1100101) + chr(0b1100011) + '\x6f' + chr(0b1000101 + 0o37) + chr(101))('\x75' + chr(116) + '\x66' + '\055' + chr(1990 - 1934)), uic71ZuNaAED=roI3spqORKae(ES5oEprVxulp(b'\x12'), chr(100) + '\145' + chr(99) + chr(8454 - 8343) + chr(0b100110 + 0o76) + chr(9731 - 9630))(chr(117) + chr(116) + chr(943 - 841) + '\x2d' + '\070'), bl_hQogL99mv=nzTpIcepk0o8('\060' + '\157' + chr(50) + chr(52), 0o10), _rP71CgJu3le=roI3spqORKae(ES5oEprVxulp(b'\x13\xc7'), chr(0b1100100) + chr(0b1100101) + chr(99) + chr(111) + chr(100) + chr(101))(chr(0b1110101) + '\x74' + '\146' + chr(0b11100 + 0o21) + chr(0b110001 + 0o7))):
roI3spqORKae(RGxUm1YH2emY, roI3spqORKae(ES5oEprVxulp(b"'\xe0<?\r\xbe\x0c\xcb~<\xf4x"), chr(0b101111 + 0o65) + chr(101) + chr(4237 - 4138) + chr(0b1101111) + '\144' + chr(101))(chr(0b1010010 + 0o43) + chr(0b1110100) + '\x66' + chr(0b10011 + 0o32) + chr(56)))(j1qi1l65tYxo, yOX81cxVSDwr, marker=uic71ZuNaAED, color=s93qyRHd7l1y, edgecolors=HiUt9Rz_exGD, s=bl_hQogL99mv, label=OkDIn6t2Cke6, zorder=nzTpIcepk0o8(chr(1423 - 1375) + chr(0b1101111) + chr(193 - 144) + '\x34' + chr(0b110101), 0b1000), transform=roI3spqORKae(uCkO3D3nGLZI, roI3spqORKae(ES5oEprVxulp(b':\xcdc2\x10\xf8\x03\xc5'), '\x64' + '\x65' + '\143' + '\157' + chr(2826 - 2726) + '\145')(chr(3099 - 2982) + '\x74' + chr(3364 - 3262) + '\055' + chr(0b10100 + 0o44)))())
if suIjIS24Zkqw(s93qyRHd7l1y, N9zlRy29S1SS):
for NoZxuO7wjArS in bbT2xIe5pzk7(nzTpIcepk0o8('\x30' + chr(111) + '\x30', 0b1000), ftfygxgFas5X(Pu01yUzyHxZw)):
DBCraPlhoREz = Pu01yUzyHxZw[NoZxuO7wjArS] * 111.32
DLCjUGEWs_oA(RGxUm1YH2emY, j1qi1l65tYxo[NoZxuO7wjArS], yOX81cxVSDwr[NoZxuO7wjArS], DBCraPlhoREz, s93qyRHd7l1y)
else:
for NoZxuO7wjArS in bbT2xIe5pzk7(nzTpIcepk0o8(chr(0b100111 + 0o11) + chr(10331 - 10220) + chr(1764 - 1716), 8), ftfygxgFas5X(Pu01yUzyHxZw)):
DBCraPlhoREz = Pu01yUzyHxZw[NoZxuO7wjArS] * 111.32
DLCjUGEWs_oA(RGxUm1YH2emY, j1qi1l65tYxo[NoZxuO7wjArS], yOX81cxVSDwr[NoZxuO7wjArS], DBCraPlhoREz, s93qyRHd7l1y[NoZxuO7wjArS])
if _rP71CgJu3le == roI3spqORKae(ES5oEprVxulp(b'\x04\xcd\x7f'), '\144' + chr(0b10111 + 0o116) + chr(0b1100011) + '\157' + chr(0b1100100) + chr(0b1100101))(chr(1191 - 1074) + chr(4637 - 4521) + '\x66' + chr(0b11010 + 0o23) + chr(648 - 592)):
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\x11\xcdk3\x1b\xe8'), chr(8459 - 8359) + chr(0b100111 + 0o76) + '\143' + chr(111) + chr(674 - 574) + chr(0b1100101))(chr(9406 - 9289) + chr(0b1001111 + 0o45) + chr(1692 - 1590) + '\055' + '\x38'))(loc=nzTpIcepk0o8('\060' + chr(111) + chr(1009 - 959), 0o10))
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
plot_pole_basemap
|
def plot_pole_basemap(mapname, plon, plat, A95, label='', color='k', edgecolor='k', marker='o', markersize=20, legend='no'):
"""
This function plots a paleomagnetic pole and A95 error ellipse on whatever
current map projection has been set using the basemap plotting library.
Before this function is called, a plot needs to be initialized with code
that looks something like:
>from mpl_toolkits.basemap import Basemap
>mapname = Basemap(projection='ortho',lat_0=35,lon_0=200)
>plt.figure(figsize=(6, 6))
>mapname.drawcoastlines(linewidth=0.25)
>mapname.fillcontinents(color='bisque',lake_color='white',zorder=1)
>mapname.drawmapboundary(fill_color='white')
>mapname.drawmeridians(np.arange(0,360,30))
>mapname.drawparallels(np.arange(-90,90,30))
Required Parameters
-----------
mapname : the name of the current map that has been developed using basemap
plon : the longitude of the paleomagnetic pole being plotted (in degrees E)
plat : the latitude of the paleomagnetic pole being plotted (in degrees)
A95 : the A_95 confidence ellipse of the paleomagnetic pole (in degrees)
Optional Parameters (defaults are used if not specified)
-----------
color : the default color is black. Other colors can be chosen (e.g. 'r')
marker : the default is a circle. Other symbols can be chosen (e.g. 's')
markersize : the default is 20. Other size can be chosen
label : the default is no label. Labels can be assigned.
legend : the default is no legend ('no'). Putting 'yes' will plot a legend.
"""
centerlon, centerlat = mapname(plon, plat)
A95_km = A95 * 111.32
mapname.scatter(centerlon, centerlat, marker=marker,
color=color, edgecolors=edgecolor, s=markersize, label=label, zorder=101)
equi_basemap(mapname, plon, plat, A95_km, color)
if legend == 'yes':
plt.legend(loc=2)
|
python
|
def plot_pole_basemap(mapname, plon, plat, A95, label='', color='k', edgecolor='k', marker='o', markersize=20, legend='no'):
"""
This function plots a paleomagnetic pole and A95 error ellipse on whatever
current map projection has been set using the basemap plotting library.
Before this function is called, a plot needs to be initialized with code
that looks something like:
>from mpl_toolkits.basemap import Basemap
>mapname = Basemap(projection='ortho',lat_0=35,lon_0=200)
>plt.figure(figsize=(6, 6))
>mapname.drawcoastlines(linewidth=0.25)
>mapname.fillcontinents(color='bisque',lake_color='white',zorder=1)
>mapname.drawmapboundary(fill_color='white')
>mapname.drawmeridians(np.arange(0,360,30))
>mapname.drawparallels(np.arange(-90,90,30))
Required Parameters
-----------
mapname : the name of the current map that has been developed using basemap
plon : the longitude of the paleomagnetic pole being plotted (in degrees E)
plat : the latitude of the paleomagnetic pole being plotted (in degrees)
A95 : the A_95 confidence ellipse of the paleomagnetic pole (in degrees)
Optional Parameters (defaults are used if not specified)
-----------
color : the default color is black. Other colors can be chosen (e.g. 'r')
marker : the default is a circle. Other symbols can be chosen (e.g. 's')
markersize : the default is 20. Other size can be chosen
label : the default is no label. Labels can be assigned.
legend : the default is no legend ('no'). Putting 'yes' will plot a legend.
"""
centerlon, centerlat = mapname(plon, plat)
A95_km = A95 * 111.32
mapname.scatter(centerlon, centerlat, marker=marker,
color=color, edgecolors=edgecolor, s=markersize, label=label, zorder=101)
equi_basemap(mapname, plon, plat, A95_km, color)
if legend == 'yes':
plt.legend(loc=2)
|
[
"def",
"plot_pole_basemap",
"(",
"mapname",
",",
"plon",
",",
"plat",
",",
"A95",
",",
"label",
"=",
"''",
",",
"color",
"=",
"'k'",
",",
"edgecolor",
"=",
"'k'",
",",
"marker",
"=",
"'o'",
",",
"markersize",
"=",
"20",
",",
"legend",
"=",
"'no'",
")",
":",
"centerlon",
",",
"centerlat",
"=",
"mapname",
"(",
"plon",
",",
"plat",
")",
"A95_km",
"=",
"A95",
"*",
"111.32",
"mapname",
".",
"scatter",
"(",
"centerlon",
",",
"centerlat",
",",
"marker",
"=",
"marker",
",",
"color",
"=",
"color",
",",
"edgecolors",
"=",
"edgecolor",
",",
"s",
"=",
"markersize",
",",
"label",
"=",
"label",
",",
"zorder",
"=",
"101",
")",
"equi_basemap",
"(",
"mapname",
",",
"plon",
",",
"plat",
",",
"A95_km",
",",
"color",
")",
"if",
"legend",
"==",
"'yes'",
":",
"plt",
".",
"legend",
"(",
"loc",
"=",
"2",
")"
] |
This function plots a paleomagnetic pole and A95 error ellipse on whatever
current map projection has been set using the basemap plotting library.
Before this function is called, a plot needs to be initialized with code
that looks something like:
>from mpl_toolkits.basemap import Basemap
>mapname = Basemap(projection='ortho',lat_0=35,lon_0=200)
>plt.figure(figsize=(6, 6))
>mapname.drawcoastlines(linewidth=0.25)
>mapname.fillcontinents(color='bisque',lake_color='white',zorder=1)
>mapname.drawmapboundary(fill_color='white')
>mapname.drawmeridians(np.arange(0,360,30))
>mapname.drawparallels(np.arange(-90,90,30))
Required Parameters
-----------
mapname : the name of the current map that has been developed using basemap
plon : the longitude of the paleomagnetic pole being plotted (in degrees E)
plat : the latitude of the paleomagnetic pole being plotted (in degrees)
A95 : the A_95 confidence ellipse of the paleomagnetic pole (in degrees)
Optional Parameters (defaults are used if not specified)
-----------
color : the default color is black. Other colors can be chosen (e.g. 'r')
marker : the default is a circle. Other symbols can be chosen (e.g. 's')
markersize : the default is 20. Other size can be chosen
label : the default is no label. Labels can be assigned.
legend : the default is no legend ('no'). Putting 'yes' will plot a legend.
|
[
"This",
"function",
"plots",
"a",
"paleomagnetic",
"pole",
"and",
"A95",
"error",
"ellipse",
"on",
"whatever",
"current",
"map",
"projection",
"has",
"been",
"set",
"using",
"the",
"basemap",
"plotting",
"library",
".",
"Before",
"this",
"function",
"is",
"called",
"a",
"plot",
"needs",
"to",
"be",
"initialized",
"with",
"code",
"that",
"looks",
"something",
"like",
":",
">",
"from",
"mpl_toolkits",
".",
"basemap",
"import",
"Basemap",
">",
"mapname",
"=",
"Basemap",
"(",
"projection",
"=",
"ortho",
"lat_0",
"=",
"35",
"lon_0",
"=",
"200",
")",
">",
"plt",
".",
"figure",
"(",
"figsize",
"=",
"(",
"6",
"6",
"))",
">",
"mapname",
".",
"drawcoastlines",
"(",
"linewidth",
"=",
"0",
".",
"25",
")",
">",
"mapname",
".",
"fillcontinents",
"(",
"color",
"=",
"bisque",
"lake_color",
"=",
"white",
"zorder",
"=",
"1",
")",
">",
"mapname",
".",
"drawmapboundary",
"(",
"fill_color",
"=",
"white",
")",
">",
"mapname",
".",
"drawmeridians",
"(",
"np",
".",
"arange",
"(",
"0",
"360",
"30",
"))",
">",
"mapname",
".",
"drawparallels",
"(",
"np",
".",
"arange",
"(",
"-",
"90",
"90",
"30",
"))",
"Required",
"Parameters",
"-----------",
"mapname",
":",
"the",
"name",
"of",
"the",
"current",
"map",
"that",
"has",
"been",
"developed",
"using",
"basemap",
"plon",
":",
"the",
"longitude",
"of",
"the",
"paleomagnetic",
"pole",
"being",
"plotted",
"(",
"in",
"degrees",
"E",
")",
"plat",
":",
"the",
"latitude",
"of",
"the",
"paleomagnetic",
"pole",
"being",
"plotted",
"(",
"in",
"degrees",
")",
"A95",
":",
"the",
"A_95",
"confidence",
"ellipse",
"of",
"the",
"paleomagnetic",
"pole",
"(",
"in",
"degrees",
")",
"Optional",
"Parameters",
"(",
"defaults",
"are",
"used",
"if",
"not",
"specified",
")",
"-----------",
"color",
":",
"the",
"default",
"color",
"is",
"black",
".",
"Other",
"colors",
"can",
"be",
"chosen",
"(",
"e",
".",
"g",
".",
"r",
")",
"marker",
":",
"the",
"default",
"is",
"a",
"circle",
".",
"Other",
"symbols",
"can",
"be",
"chosen",
"(",
"e",
".",
"g",
".",
"s",
")",
"markersize",
":",
"the",
"default",
"is",
"20",
".",
"Other",
"size",
"can",
"be",
"chosen",
"label",
":",
"the",
"default",
"is",
"no",
"label",
".",
"Labels",
"can",
"be",
"assigned",
".",
"legend",
":",
"the",
"default",
"is",
"no",
"legend",
"(",
"no",
")",
".",
"Putting",
"yes",
"will",
"plot",
"a",
"legend",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L1897-L1931
|
train
|
This function plots a paleomagnetic pole and A95 error ellipse on the current map.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(0b110000) + chr(111) + '\061' + chr(53) + chr(0b110111), 58519 - 58511), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(49) + '\x35' + '\067', 8), nzTpIcepk0o8('\060' + '\157' + chr(892 - 843) + '\x34' + '\x32', 26468 - 26460), nzTpIcepk0o8(chr(0b11010 + 0o26) + chr(0b1101 + 0o142) + chr(0b11101 + 0o24) + chr(0b110101) + chr(0b100000 + 0o20), 37513 - 37505), nzTpIcepk0o8(chr(0b1101 + 0o43) + chr(111) + chr(0b11101 + 0o24) + '\066' + chr(54), 0b1000), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\063' + chr(0b10010 + 0o37) + chr(0b110010), 0o10), nzTpIcepk0o8(chr(48) + '\157' + chr(49) + chr(50) + '\060', 29837 - 29829), nzTpIcepk0o8('\x30' + '\157' + '\063' + chr(1022 - 968) + chr(0b101100 + 0o13), 0b1000), nzTpIcepk0o8(chr(0b1101 + 0o43) + chr(0b1101111) + chr(1101 - 1051) + chr(48) + '\066', 0o10), nzTpIcepk0o8('\060' + '\157' + chr(0b110010) + chr(0b110110) + '\064', ord("\x08")), nzTpIcepk0o8(chr(0b10000 + 0o40) + '\157' + chr(0b0 + 0o61) + chr(54) + chr(0b110010), 0o10), nzTpIcepk0o8('\060' + chr(1429 - 1318) + chr(2095 - 2046) + chr(51) + '\x35', 0b1000), nzTpIcepk0o8('\x30' + chr(111) + chr(0b110010) + chr(0b101000 + 0o15) + chr(2133 - 2084), 0o10), nzTpIcepk0o8('\060' + chr(0b1101111) + '\061' + '\065' + '\065', 0o10), nzTpIcepk0o8(chr(0b110000) + chr(5067 - 4956) + chr(2285 - 2235) + '\x32' + '\x37', ord("\x08")), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b110011) + chr(49) + chr(50), 8), nzTpIcepk0o8(chr(0b11111 + 0o21) + chr(5909 - 5798) + chr(500 - 450) + chr(0b110100) + chr(1121 - 1067), 41349 - 41341), nzTpIcepk0o8('\060' + chr(9893 - 9782) + chr(1284 - 1234) + chr(52) + chr(1799 - 1745), 8), nzTpIcepk0o8(chr(0b101100 + 0o4) + chr(0b1101111) + '\061' + chr(0b110001 + 0o1) + '\062', 0o10), nzTpIcepk0o8(chr(1282 - 1234) + chr(111) + chr(0b101000 + 0o13) + chr(54) + chr(0b1000 + 0o53), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(11587 - 11476) + '\062' + '\062' + chr(0b10 + 0o60), 54121 - 54113), nzTpIcepk0o8(chr(0b101000 + 0o10) + chr(0b1101111) + chr(52) + '\x31', 0o10), nzTpIcepk0o8('\060' + chr(3056 - 2945) + chr(50) + '\x30' + '\067', 0o10), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b10010 + 0o36), ord("\x08")), nzTpIcepk0o8(chr(0b10111 + 0o31) + chr(0b1100101 + 0o12) + chr(498 - 449) + chr(0b110011) + chr(0b110110), ord("\x08")), nzTpIcepk0o8('\060' + '\157' + chr(51) + '\062' + chr(0b110000), 0b1000), nzTpIcepk0o8(chr(0b111 + 0o51) + chr(0b1101111) + '\067' + '\066', 0o10), nzTpIcepk0o8('\x30' + chr(111) + '\061' + chr(55) + chr(657 - 604), 59343 - 59335), nzTpIcepk0o8('\060' + chr(0b1101111) + '\x37' + chr(55), 24526 - 24518), nzTpIcepk0o8(chr(0b11000 + 0o30) + chr(0b1101111) + chr(50) + chr(996 - 948), 0o10), nzTpIcepk0o8(chr(0b11111 + 0o21) + chr(8279 - 8168) + chr(0b110101) + chr(279 - 231), 50702 - 50694), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(574 - 525) + '\061' + '\062', 0b1000), nzTpIcepk0o8('\x30' + chr(0b101 + 0o152) + '\x33' + chr(0b110011) + '\x34', 0b1000), nzTpIcepk0o8(chr(0b101101 + 0o3) + '\x6f' + chr(0b110011) + chr(0b110001) + chr(0b101100 + 0o10), 8216 - 8208), nzTpIcepk0o8(chr(0b100 + 0o54) + chr(111) + chr(0b110001) + chr(1714 - 1663) + chr(54), 8), nzTpIcepk0o8('\x30' + chr(11443 - 11332) + chr(0b110011) + chr(0b110101), 41072 - 41064), nzTpIcepk0o8(chr(0b1111 + 0o41) + chr(0b1100101 + 0o12) + chr(50) + chr(0b10110 + 0o32), 8), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111 + 0o0) + chr(0b110111) + chr(53), 11078 - 11070), nzTpIcepk0o8('\060' + chr(9960 - 9849) + '\061' + chr(0b101001 + 0o7) + '\060', 0b1000), nzTpIcepk0o8('\x30' + chr(11701 - 11590) + chr(49) + '\x33' + chr(0b110010), 0b1000)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(1125 - 1077) + chr(675 - 564) + '\065' + chr(0b110000 + 0o0), 8)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'A'), chr(8179 - 8079) + chr(2240 - 2139) + chr(99) + chr(3004 - 2893) + '\x64' + chr(8547 - 8446))('\165' + chr(13053 - 12937) + chr(270 - 168) + '\055' + chr(0b111000 + 0o0)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def oQ0MaAJRIQSt(rJmLPquDy8nK, j1qi1l65tYxo, yOX81cxVSDwr, Pu01yUzyHxZw, OkDIn6t2Cke6=roI3spqORKae(ES5oEprVxulp(b''), chr(199 - 99) + chr(8770 - 8669) + chr(0b1100011) + chr(0b1101111) + chr(3514 - 3414) + chr(101))('\165' + chr(6206 - 6090) + chr(0b1100110) + chr(45) + '\070'), s93qyRHd7l1y=roI3spqORKae(ES5oEprVxulp(b'\x04'), '\x64' + chr(6493 - 6392) + chr(0b111 + 0o134) + '\157' + chr(7267 - 7167) + chr(0b1001111 + 0o26))('\165' + chr(0b1110100) + '\x66' + '\055' + chr(1094 - 1038)), HiUt9Rz_exGD=roI3spqORKae(ES5oEprVxulp(b'\x04'), chr(0b1100100) + chr(0b1100101) + chr(0b1000 + 0o133) + '\157' + chr(0b110010 + 0o62) + chr(9439 - 9338))(chr(0b1010100 + 0o41) + '\164' + chr(102) + chr(2019 - 1974) + chr(56)), uic71ZuNaAED=roI3spqORKae(ES5oEprVxulp(b'\x00'), chr(5364 - 5264) + '\145' + chr(7901 - 7802) + chr(0b1101111) + chr(0b1100100) + chr(101))('\165' + chr(2076 - 1960) + chr(102) + chr(0b101100 + 0o1) + chr(0b111000)), bl_hQogL99mv=nzTpIcepk0o8(chr(0b100011 + 0o15) + chr(9422 - 9311) + chr(0b1100 + 0o46) + '\x34', 23835 - 23827), _rP71CgJu3le=roI3spqORKae(ES5oEprVxulp(b'\x01\x00'), chr(8429 - 8329) + '\x65' + chr(99) + '\x6f' + chr(0b1011100 + 0o10) + chr(3702 - 3601))('\x75' + chr(1284 - 1168) + chr(7413 - 7311) + chr(0b111 + 0o46) + chr(2142 - 2086))):
(vR0phE8WlwSP, EeSk1dJA0nh3) = rJmLPquDy8nK(j1qi1l65tYxo, yOX81cxVSDwr)
DBCraPlhoREz = Pu01yUzyHxZw * 111.32
roI3spqORKae(rJmLPquDy8nK, roI3spqORKae(ES5oEprVxulp(b"5'R\x01\x0e\xf86\x9a\xd2\xc3\x1a<"), '\144' + '\145' + chr(0b11 + 0o140) + chr(0b1000 + 0o147) + chr(135 - 35) + '\x65')(chr(0b1010001 + 0o44) + chr(0b1110100) + '\146' + '\x2d' + '\x38'))(vR0phE8WlwSP, EeSk1dJA0nh3, marker=uic71ZuNaAED, color=s93qyRHd7l1y, edgecolors=HiUt9Rz_exGD, s=bl_hQogL99mv, label=OkDIn6t2Cke6, zorder=nzTpIcepk0o8(chr(849 - 801) + chr(0b100101 + 0o112) + chr(0b110001) + '\064' + chr(53), 0b1000))
t9x_wVKjE_V0(rJmLPquDy8nK, j1qi1l65tYxo, yOX81cxVSDwr, DBCraPlhoREz, s93qyRHd7l1y)
if _rP71CgJu3le == roI3spqORKae(ES5oEprVxulp(b'\x16\n\x11'), '\144' + chr(0b110101 + 0o60) + '\143' + '\157' + '\x64' + '\145')(chr(0b11010 + 0o133) + '\164' + '\146' + chr(0b101101) + chr(0b111000)):
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\x03\n\x05\r\x18\xae'), '\x64' + '\145' + chr(2250 - 2151) + chr(0b100101 + 0o112) + chr(100) + chr(0b1100101))(chr(0b1001100 + 0o51) + '\164' + '\x66' + chr(45) + '\070'))(loc=nzTpIcepk0o8('\x30' + chr(0b1101111) + '\x32', 0o10))
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
plot_pole_dp_dm
|
def plot_pole_dp_dm(map_axis, plon, plat, slon, slat, dp, dm, pole_label='pole', site_label='site',
pole_color='k', pole_edgecolor='k', pole_marker='o',
site_color='r', site_edgecolor='r', site_marker='s',
markersize=20, legend=True):
"""
This function plots a paleomagnetic pole and a dp/dm confidence ellipse on a cartopy map axis.
Before this function is called, a plot needs to be initialized with code
such as that in the make_orthographic_map function.
Example
-------
>>> dec = 280
>>> inc = 45
>>> a95 = 5
>>> site_lat = 45
>>> site_lon = -100
>>> pole = pmag.dia_vgp(dec, inc, a95, site_lat, site_lon)
>>> pole_lon = pole[0]
>>> pole_lat = pole[1]
>>> dp = pole[2]
>>> dm = pole[3]
>>> map_axis = ipmag.make_orthographic_map(central_longitude=200,central_latitude=30)
>>> ipmag.plot_pole_dp_dm(map_axis,pole_lon,pole_lat,site_lon,site_lat,dp,dm)
Required Parameters
-----------
map_axis : the name of the current map axis that has been developed using cartopy
plon : the longitude of the paleomagnetic pole being plotted (in degrees E)
plat : the latitude of the paleomagnetic pole being plotted (in degrees)
slon : the longitude of the site (in degrees E)
slat : the latitude of the site (in degrees)
dp : the semi-minor axis of the confidence ellipse (in degrees)
dm : the semi-major axis of the confidence ellipse (in degrees)
Optional Parameters (defaults are used if not specified)
-----------
pole_color : the default color is black. Other colors can be chosen (e.g. 'g')
site_color : the default color is red. Other colors can be chosen (e.g. 'g')
pole_marker : the default is a circle. Other symbols can be chosen (e.g. 's')
site_marker : the default is a square. Other symbols can be chosen (e.g. '^')
markersize : the default is 20. Other size can be chosen
pole_label : string that labels the pole.
site_label : string that labels the site
legend : the default is a legend (True). Putting False will suppress legend plotting.
"""
if not has_cartopy:
print('-W- cartopy must be installed to run ipmag.plot_pole_dp_dm')
return
dp_km = dp*111.32
dm_km = dm*111.32
map_axis.scatter(plon, plat, marker=pole_marker,
color=pole_color, edgecolors=pole_edgecolor, s=markersize,
label=pole_label, zorder=101, transform=ccrs.Geodetic())
map_axis.scatter(slon, slat, marker=site_marker,
color=site_color, edgecolors=site_edgecolor, s=markersize,
label=site_label, zorder=101, transform=ccrs.Geodetic())
# the orientation of the ellipse needs to be determined using the
# two laws of cosines for spherical triangles where the triangle is
# A: site, B: north pole, C: paleomagnetic pole (see Fig. A.2 of Butler)
site_lon_rad = np.deg2rad(slon)
site_lat_rad = np.deg2rad(slat)
c_rad = np.deg2rad(90-slat)
pole_lon_rad = np.deg2rad(plon)
pole_lat_rad = np.deg2rad(plat)
a_rad = np.deg2rad(90-plat)
B_rad = np.abs(pole_lon_rad-site_lon_rad)
cos_b = np.cos(c_rad)*np.cos(a_rad) + np.sin(c_rad) * \
np.sin(a_rad)*np.cos(B_rad)
b_rad = np.arccos(cos_b)
sin_C = (np.sin(B_rad)/np.sin(b_rad))*np.sin(c_rad)
C_rad = np.arcsin(sin_C)
# need to make the rotation of the ellipse go the right way
if slon-plon > 180:
if plon >= slon and plat >= slat:
C_deg = -np.abs(np.rad2deg(C_rad))
elif plon <= slon and plat >= slat:
C_deg = np.abs(np.rad2deg(C_rad))
elif plon >= slon and plat <= slat:
C_deg = np.abs(np.rad2deg(C_rad))
elif plon <= slon and plat <= slat:
C_deg = -np.abs(np.rad2deg(C_rad))
elif slon-plon <= 180:
if plon >= slon and plat >= slat:
C_deg = np.abs(np.rad2deg(C_rad))
elif plon <= slon and plat >= slat:
C_deg = -np.abs(np.rad2deg(C_rad))
elif plon >= slon and plat <= slat:
C_deg = -np.abs(np.rad2deg(C_rad))
elif plon <= slon and plat <= slat:
C_deg = np.abs(np.rad2deg(C_rad))
print(C_deg)
ellipse(map_axis, plon, plat, dp_km, dm_km, C_deg)
if legend == True:
plt.legend(loc=2)
|
python
|
def plot_pole_dp_dm(map_axis, plon, plat, slon, slat, dp, dm, pole_label='pole', site_label='site',
pole_color='k', pole_edgecolor='k', pole_marker='o',
site_color='r', site_edgecolor='r', site_marker='s',
markersize=20, legend=True):
"""
This function plots a paleomagnetic pole and a dp/dm confidence ellipse on a cartopy map axis.
Before this function is called, a plot needs to be initialized with code
such as that in the make_orthographic_map function.
Example
-------
>>> dec = 280
>>> inc = 45
>>> a95 = 5
>>> site_lat = 45
>>> site_lon = -100
>>> pole = pmag.dia_vgp(dec, inc, a95, site_lat, site_lon)
>>> pole_lon = pole[0]
>>> pole_lat = pole[1]
>>> dp = pole[2]
>>> dm = pole[3]
>>> map_axis = ipmag.make_orthographic_map(central_longitude=200,central_latitude=30)
>>> ipmag.plot_pole_dp_dm(map_axis,pole_lon,pole_lat,site_lon,site_lat,dp,dm)
Required Parameters
-----------
map_axis : the name of the current map axis that has been developed using cartopy
plon : the longitude of the paleomagnetic pole being plotted (in degrees E)
plat : the latitude of the paleomagnetic pole being plotted (in degrees)
slon : the longitude of the site (in degrees E)
slat : the latitude of the site (in degrees)
dp : the semi-minor axis of the confidence ellipse (in degrees)
dm : the semi-major axis of the confidence ellipse (in degrees)
Optional Parameters (defaults are used if not specified)
-----------
pole_color : the default color is black. Other colors can be chosen (e.g. 'g')
site_color : the default color is red. Other colors can be chosen (e.g. 'g')
pole_marker : the default is a circle. Other symbols can be chosen (e.g. 's')
site_marker : the default is a square. Other symbols can be chosen (e.g. '^')
markersize : the default is 20. Other size can be chosen
pole_label : string that labels the pole.
site_label : string that labels the site
legend : the default is a legend (True). Putting False will suppress legend plotting.
"""
if not has_cartopy:
print('-W- cartopy must be installed to run ipmag.plot_pole_dp_dm')
return
dp_km = dp*111.32
dm_km = dm*111.32
map_axis.scatter(plon, plat, marker=pole_marker,
color=pole_color, edgecolors=pole_edgecolor, s=markersize,
label=pole_label, zorder=101, transform=ccrs.Geodetic())
map_axis.scatter(slon, slat, marker=site_marker,
color=site_color, edgecolors=site_edgecolor, s=markersize,
label=site_label, zorder=101, transform=ccrs.Geodetic())
# the orientation of the ellipse needs to be determined using the
# two laws of cosines for spherical triangles where the triangle is
# A: site, B: north pole, C: paleomagnetic pole (see Fig. A.2 of Butler)
site_lon_rad = np.deg2rad(slon)
site_lat_rad = np.deg2rad(slat)
c_rad = np.deg2rad(90-slat)
pole_lon_rad = np.deg2rad(plon)
pole_lat_rad = np.deg2rad(plat)
a_rad = np.deg2rad(90-plat)
B_rad = np.abs(pole_lon_rad-site_lon_rad)
cos_b = np.cos(c_rad)*np.cos(a_rad) + np.sin(c_rad) * \
np.sin(a_rad)*np.cos(B_rad)
b_rad = np.arccos(cos_b)
sin_C = (np.sin(B_rad)/np.sin(b_rad))*np.sin(c_rad)
C_rad = np.arcsin(sin_C)
# need to make the rotation of the ellipse go the right way
if slon-plon > 180:
if plon >= slon and plat >= slat:
C_deg = -np.abs(np.rad2deg(C_rad))
elif plon <= slon and plat >= slat:
C_deg = np.abs(np.rad2deg(C_rad))
elif plon >= slon and plat <= slat:
C_deg = np.abs(np.rad2deg(C_rad))
elif plon <= slon and plat <= slat:
C_deg = -np.abs(np.rad2deg(C_rad))
elif slon-plon <= 180:
if plon >= slon and plat >= slat:
C_deg = np.abs(np.rad2deg(C_rad))
elif plon <= slon and plat >= slat:
C_deg = -np.abs(np.rad2deg(C_rad))
elif plon >= slon and plat <= slat:
C_deg = -np.abs(np.rad2deg(C_rad))
elif plon <= slon and plat <= slat:
C_deg = np.abs(np.rad2deg(C_rad))
print(C_deg)
ellipse(map_axis, plon, plat, dp_km, dm_km, C_deg)
if legend == True:
plt.legend(loc=2)
|
[
"def",
"plot_pole_dp_dm",
"(",
"map_axis",
",",
"plon",
",",
"plat",
",",
"slon",
",",
"slat",
",",
"dp",
",",
"dm",
",",
"pole_label",
"=",
"'pole'",
",",
"site_label",
"=",
"'site'",
",",
"pole_color",
"=",
"'k'",
",",
"pole_edgecolor",
"=",
"'k'",
",",
"pole_marker",
"=",
"'o'",
",",
"site_color",
"=",
"'r'",
",",
"site_edgecolor",
"=",
"'r'",
",",
"site_marker",
"=",
"'s'",
",",
"markersize",
"=",
"20",
",",
"legend",
"=",
"True",
")",
":",
"if",
"not",
"has_cartopy",
":",
"print",
"(",
"'-W- cartopy must be installed to run ipmag.plot_pole_dp_dm'",
")",
"return",
"dp_km",
"=",
"dp",
"*",
"111.32",
"dm_km",
"=",
"dm",
"*",
"111.32",
"map_axis",
".",
"scatter",
"(",
"plon",
",",
"plat",
",",
"marker",
"=",
"pole_marker",
",",
"color",
"=",
"pole_color",
",",
"edgecolors",
"=",
"pole_edgecolor",
",",
"s",
"=",
"markersize",
",",
"label",
"=",
"pole_label",
",",
"zorder",
"=",
"101",
",",
"transform",
"=",
"ccrs",
".",
"Geodetic",
"(",
")",
")",
"map_axis",
".",
"scatter",
"(",
"slon",
",",
"slat",
",",
"marker",
"=",
"site_marker",
",",
"color",
"=",
"site_color",
",",
"edgecolors",
"=",
"site_edgecolor",
",",
"s",
"=",
"markersize",
",",
"label",
"=",
"site_label",
",",
"zorder",
"=",
"101",
",",
"transform",
"=",
"ccrs",
".",
"Geodetic",
"(",
")",
")",
"# the orientation of the ellipse needs to be determined using the",
"# two laws of cosines for spherical triangles where the triangle is",
"# A: site, B: north pole, C: paleomagnetic pole (see Fig. A.2 of Butler)",
"site_lon_rad",
"=",
"np",
".",
"deg2rad",
"(",
"slon",
")",
"site_lat_rad",
"=",
"np",
".",
"deg2rad",
"(",
"slat",
")",
"c_rad",
"=",
"np",
".",
"deg2rad",
"(",
"90",
"-",
"slat",
")",
"pole_lon_rad",
"=",
"np",
".",
"deg2rad",
"(",
"plon",
")",
"pole_lat_rad",
"=",
"np",
".",
"deg2rad",
"(",
"plat",
")",
"a_rad",
"=",
"np",
".",
"deg2rad",
"(",
"90",
"-",
"plat",
")",
"B_rad",
"=",
"np",
".",
"abs",
"(",
"pole_lon_rad",
"-",
"site_lon_rad",
")",
"cos_b",
"=",
"np",
".",
"cos",
"(",
"c_rad",
")",
"*",
"np",
".",
"cos",
"(",
"a_rad",
")",
"+",
"np",
".",
"sin",
"(",
"c_rad",
")",
"*",
"np",
".",
"sin",
"(",
"a_rad",
")",
"*",
"np",
".",
"cos",
"(",
"B_rad",
")",
"b_rad",
"=",
"np",
".",
"arccos",
"(",
"cos_b",
")",
"sin_C",
"=",
"(",
"np",
".",
"sin",
"(",
"B_rad",
")",
"/",
"np",
".",
"sin",
"(",
"b_rad",
")",
")",
"*",
"np",
".",
"sin",
"(",
"c_rad",
")",
"C_rad",
"=",
"np",
".",
"arcsin",
"(",
"sin_C",
")",
"# need to make the rotation of the ellipse go the right way",
"if",
"slon",
"-",
"plon",
">",
"180",
":",
"if",
"plon",
">=",
"slon",
"and",
"plat",
">=",
"slat",
":",
"C_deg",
"=",
"-",
"np",
".",
"abs",
"(",
"np",
".",
"rad2deg",
"(",
"C_rad",
")",
")",
"elif",
"plon",
"<=",
"slon",
"and",
"plat",
">=",
"slat",
":",
"C_deg",
"=",
"np",
".",
"abs",
"(",
"np",
".",
"rad2deg",
"(",
"C_rad",
")",
")",
"elif",
"plon",
">=",
"slon",
"and",
"plat",
"<=",
"slat",
":",
"C_deg",
"=",
"np",
".",
"abs",
"(",
"np",
".",
"rad2deg",
"(",
"C_rad",
")",
")",
"elif",
"plon",
"<=",
"slon",
"and",
"plat",
"<=",
"slat",
":",
"C_deg",
"=",
"-",
"np",
".",
"abs",
"(",
"np",
".",
"rad2deg",
"(",
"C_rad",
")",
")",
"elif",
"slon",
"-",
"plon",
"<=",
"180",
":",
"if",
"plon",
">=",
"slon",
"and",
"plat",
">=",
"slat",
":",
"C_deg",
"=",
"np",
".",
"abs",
"(",
"np",
".",
"rad2deg",
"(",
"C_rad",
")",
")",
"elif",
"plon",
"<=",
"slon",
"and",
"plat",
">=",
"slat",
":",
"C_deg",
"=",
"-",
"np",
".",
"abs",
"(",
"np",
".",
"rad2deg",
"(",
"C_rad",
")",
")",
"elif",
"plon",
">=",
"slon",
"and",
"plat",
"<=",
"slat",
":",
"C_deg",
"=",
"-",
"np",
".",
"abs",
"(",
"np",
".",
"rad2deg",
"(",
"C_rad",
")",
")",
"elif",
"plon",
"<=",
"slon",
"and",
"plat",
"<=",
"slat",
":",
"C_deg",
"=",
"np",
".",
"abs",
"(",
"np",
".",
"rad2deg",
"(",
"C_rad",
")",
")",
"print",
"(",
"C_deg",
")",
"ellipse",
"(",
"map_axis",
",",
"plon",
",",
"plat",
",",
"dp_km",
",",
"dm_km",
",",
"C_deg",
")",
"if",
"legend",
"==",
"True",
":",
"plt",
".",
"legend",
"(",
"loc",
"=",
"2",
")"
] |
This function plots a paleomagnetic pole and a dp/dm confidence ellipse on a cartopy map axis.
Before this function is called, a plot needs to be initialized with code
such as that in the make_orthographic_map function.
Example
-------
>>> dec = 280
>>> inc = 45
>>> a95 = 5
>>> site_lat = 45
>>> site_lon = -100
>>> pole = pmag.dia_vgp(dec, inc, a95, site_lat, site_lon)
>>> pole_lon = pole[0]
>>> pole_lat = pole[1]
>>> dp = pole[2]
>>> dm = pole[3]
>>> map_axis = ipmag.make_orthographic_map(central_longitude=200,central_latitude=30)
>>> ipmag.plot_pole_dp_dm(map_axis,pole_lon,pole_lat,site_lon,site_lat,dp,dm)
Required Parameters
-----------
map_axis : the name of the current map axis that has been developed using cartopy
plon : the longitude of the paleomagnetic pole being plotted (in degrees E)
plat : the latitude of the paleomagnetic pole being plotted (in degrees)
slon : the longitude of the site (in degrees E)
slat : the latitude of the site (in degrees)
dp : the semi-minor axis of the confidence ellipse (in degrees)
dm : the semi-major axis of the confidence ellipse (in degrees)
Optional Parameters (defaults are used if not specified)
-----------
pole_color : the default color is black. Other colors can be chosen (e.g. 'g')
site_color : the default color is red. Other colors can be chosen (e.g. 'g')
pole_marker : the default is a circle. Other symbols can be chosen (e.g. 's')
site_marker : the default is a square. Other symbols can be chosen (e.g. '^')
markersize : the default is 20. Other size can be chosen
pole_label : string that labels the pole.
site_label : string that labels the site
legend : the default is a legend (True). Putting False will suppress legend plotting.
|
[
"This",
"function",
"plots",
"a",
"paleomagnetic",
"pole",
"and",
"a",
"dp",
"/",
"dm",
"confidence",
"ellipse",
"on",
"a",
"cartopy",
"map",
"axis",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L1934-L2037
|
train
|
This function plots a paleomagnetic pole and a semi - major axis of the confidence ellipse on a cartopy map axis.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(0b110000) + '\157' + chr(768 - 718) + '\x33' + chr(437 - 383), ord("\x08")), nzTpIcepk0o8(chr(787 - 739) + chr(0b101010 + 0o105) + '\x36' + chr(0b110111), 0o10), nzTpIcepk0o8(chr(48) + chr(0b1000100 + 0o53) + chr(0b101011 + 0o14) + chr(425 - 373), 4684 - 4676), nzTpIcepk0o8(chr(48) + chr(111) + '\x31' + '\x32' + chr(49), 0o10), nzTpIcepk0o8(chr(0b101001 + 0o7) + chr(0b1101111) + chr(2149 - 2100) + chr(2944 - 2889) + chr(0b1100 + 0o53), 52847 - 52839), nzTpIcepk0o8('\060' + chr(0b1011111 + 0o20) + '\063' + '\063' + chr(420 - 367), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1101111) + '\061' + chr(2327 - 2275) + '\x34', 16758 - 16750), nzTpIcepk0o8('\x30' + chr(0b0 + 0o157) + chr(0b1100 + 0o47) + chr(52) + chr(52), 21287 - 21279), nzTpIcepk0o8(chr(48) + chr(111) + '\061' + chr(0b11100 + 0o33), 0b1000), nzTpIcepk0o8('\x30' + chr(111) + '\063' + '\x32', 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b100000 + 0o117) + '\061' + '\064' + chr(652 - 597), 25588 - 25580), nzTpIcepk0o8(chr(0b110000) + '\157' + '\x32' + chr(0b110111) + chr(0b110011), 17927 - 17919), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\062' + chr(1100 - 1049) + '\062', 0o10), nzTpIcepk0o8(chr(0b110000) + chr(1476 - 1365) + '\x32' + chr(51) + chr(0b110001), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b110001) + chr(0b110001) + chr(331 - 281), 22195 - 22187), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\063' + '\061' + '\064', 27949 - 27941), nzTpIcepk0o8(chr(1770 - 1722) + chr(111) + '\x32' + chr(0b110100) + '\065', 0b1000), nzTpIcepk0o8(chr(0b101101 + 0o3) + chr(8000 - 7889) + chr(0b110011) + '\066' + chr(51), 0o10), nzTpIcepk0o8(chr(1928 - 1880) + chr(0b1100010 + 0o15) + '\063' + chr(2455 - 2401) + chr(0b110001), ord("\x08")), nzTpIcepk0o8(chr(0b1010 + 0o46) + '\157' + chr(0b110010) + chr(1084 - 1034) + chr(1925 - 1873), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(553 - 499) + chr(992 - 939), 53346 - 53338), nzTpIcepk0o8(chr(0b1101 + 0o43) + '\x6f' + '\063' + chr(0b10100 + 0o35) + chr(1588 - 1537), 0b1000), nzTpIcepk0o8(chr(526 - 478) + chr(0b1101111) + chr(2127 - 2078) + chr(0b110000) + chr(0b110001), ord("\x08")), nzTpIcepk0o8(chr(0b1110 + 0o42) + chr(111) + '\x33' + chr(2012 - 1959) + chr(53), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(12295 - 12184) + '\x31' + '\061' + chr(0b110001), 0b1000), nzTpIcepk0o8(chr(0b110000) + '\157' + '\x32' + chr(415 - 365) + '\064', 8), nzTpIcepk0o8(chr(1769 - 1721) + '\157' + chr(652 - 603) + chr(0b1010 + 0o47) + chr(0b1100 + 0o44), 14126 - 14118), nzTpIcepk0o8('\x30' + chr(5828 - 5717) + '\x33' + chr(0b110011) + '\065', 8), nzTpIcepk0o8(chr(48) + '\x6f' + chr(1069 - 1020) + chr(0b110100), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b10100 + 0o36) + chr(0b1100 + 0o52) + '\x31', 0b1000), nzTpIcepk0o8(chr(48) + chr(0b1101101 + 0o2) + '\x32' + '\063' + chr(55), 28941 - 28933), nzTpIcepk0o8(chr(0b11101 + 0o23) + '\157' + chr(0b110010) + chr(389 - 334) + chr(0b110011), 8), nzTpIcepk0o8('\060' + chr(11808 - 11697) + chr(49) + chr(55) + chr(48), 0b1000), nzTpIcepk0o8(chr(48) + '\157' + '\062' + '\065' + chr(49), 0o10), nzTpIcepk0o8('\x30' + chr(111) + chr(0b110001) + '\x32' + '\066', 0b1000), nzTpIcepk0o8('\x30' + chr(12270 - 12159) + chr(311 - 261) + chr(2249 - 2199), ord("\x08")), nzTpIcepk0o8(chr(0b11010 + 0o26) + chr(11640 - 11529) + '\x33' + chr(54) + chr(1562 - 1512), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(49) + '\066' + chr(0b110110), 44262 - 44254), nzTpIcepk0o8('\060' + chr(5803 - 5692) + '\062' + '\x35' + chr(53), 34142 - 34134), nzTpIcepk0o8('\x30' + chr(111) + chr(0b101111 + 0o3) + '\064' + '\x30', 0o10)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(200 - 152) + chr(111) + '\x35' + chr(48), 13058 - 13050)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xb0'), chr(100) + '\x65' + '\x63' + chr(111) + chr(100) + chr(0b1100101))(chr(6033 - 5916) + chr(0b100100 + 0o120) + chr(102) + chr(136 - 91) + chr(3026 - 2970)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def CMuo8giDTOXN(RGxUm1YH2emY, j1qi1l65tYxo, yOX81cxVSDwr, XgDdBrXtsYof, dcbj7KRNqoJt, El4w8QMGwyUW, _zcxIoncSRlL, d7UjOsOjjZP7=roI3spqORKae(ES5oEprVxulp(b'\xeeXP4'), '\144' + chr(0b1001001 + 0o34) + chr(0b1100011) + chr(2596 - 2485) + '\x64' + '\x65')(chr(0b1110101) + chr(0b1110100) + '\146' + chr(0b101101) + '\070'), jGCBZh3d3v0u=roI3spqORKae(ES5oEprVxulp(b'\xed^H4'), chr(0b1100100) + chr(0b1000010 + 0o43) + chr(0b1100011) + '\x6f' + chr(0b110010 + 0o62) + chr(0b1100101))(chr(970 - 853) + chr(0b111101 + 0o67) + chr(102) + chr(0b100111 + 0o6) + '\x38'), X5yaRPVQZGbs=roI3spqORKae(ES5oEprVxulp(b'\xf5'), chr(100) + chr(3868 - 3767) + '\x63' + '\157' + '\x64' + chr(1895 - 1794))('\x75' + '\x74' + chr(10389 - 10287) + chr(0b101101) + chr(972 - 916)), lpNgoICe6tXU=roI3spqORKae(ES5oEprVxulp(b'\xf5'), '\x64' + '\145' + chr(0b1100011) + chr(111) + '\x64' + chr(1715 - 1614))(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + '\070'), zwkblxYiOKYd=roI3spqORKae(ES5oEprVxulp(b'\xf1'), chr(0b1100100) + '\145' + '\143' + '\x6f' + chr(0b1100100) + chr(0b10110 + 0o117))(chr(117) + chr(0b1110100) + chr(0b1011000 + 0o16) + chr(1348 - 1303) + chr(56)), Auat2pEXRi5Z=roI3spqORKae(ES5oEprVxulp(b'\xec'), chr(766 - 666) + '\145' + chr(0b1100011) + chr(11571 - 11460) + chr(8617 - 8517) + '\145')('\165' + chr(3020 - 2904) + '\146' + chr(0b1111 + 0o36) + chr(2697 - 2641)), AbOvRtXYiqZi=roI3spqORKae(ES5oEprVxulp(b'\xec'), '\x64' + chr(0b1100101) + chr(0b1100011) + chr(0b1101111) + chr(0b111 + 0o135) + '\x65')(chr(117) + chr(116) + '\146' + chr(0b111 + 0o46) + chr(0b10000 + 0o50)), gQFfaK0nV2C0=roI3spqORKae(ES5oEprVxulp(b'\xed'), chr(0b1100100) + '\x65' + chr(0b1100011) + chr(111) + chr(9735 - 9635) + chr(101))(chr(0b1010111 + 0o36) + chr(116) + '\x66' + chr(1945 - 1900) + chr(0b101010 + 0o16)), bl_hQogL99mv=nzTpIcepk0o8(chr(0b1101 + 0o43) + chr(111) + chr(50) + chr(1156 - 1104), 0o10), _rP71CgJu3le=nzTpIcepk0o8('\x30' + chr(6524 - 6413) + chr(0b0 + 0o61), 4251 - 4243)):
if not iooSrYwNGRVI:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xb3`\x11q\x1c\xbc\x16\x90`j\x1e\x9b\xf7\xec9\xb8\x85\x91\x94\xb4\\\xa52\x99(\xf8$\xb8h\x91\xeb\xd4X\xdb#|\xd2\x1f\xdd\xcd\xffP\x12!\x13\xb2\x10\xbb\x7fu\x0b\xde\xc5\xfd:\x93\xc1\x9e'), chr(0b1100100) + chr(3846 - 3745) + '\x63' + chr(9335 - 9224) + chr(0b1100100) + chr(0b10000 + 0o125))(chr(0b1110101) + chr(0b1110100) + '\x66' + chr(45) + chr(0b110011 + 0o5)))
return
oCLpxJN1UjtA = El4w8QMGwyUW * 111.32
vRKaFwNdBaJq = _zcxIoncSRlL * 111.32
roI3spqORKae(RGxUm1YH2emY, roI3spqORKae(ES5oEprVxulp(b'\xc4\x7f\x0c8\x07\xef\x02\x89[m\x0f\xda'), chr(0b1100100) + chr(0b1001101 + 0o30) + '\143' + '\157' + '\x64' + '\x65')(chr(11312 - 11195) + chr(5871 - 5755) + chr(2361 - 2259) + chr(45) + '\070'))(j1qi1l65tYxo, yOX81cxVSDwr, marker=zwkblxYiOKYd, color=X5yaRPVQZGbs, edgecolors=lpNgoICe6tXU, s=bl_hQogL99mv, label=d7UjOsOjjZP7, zorder=nzTpIcepk0o8('\x30' + chr(0b10100 + 0o133) + chr(49) + chr(0b110100) + chr(1711 - 1658), 7724 - 7716), transform=roI3spqORKae(uCkO3D3nGLZI, roI3spqORKae(ES5oEprVxulp(b'\xd9RS5\x1a\xa9\r\x87'), chr(0b1100100) + chr(0b1100101) + chr(0b1100011) + '\157' + chr(0b1100100) + chr(0b1100101))(chr(117) + '\x74' + chr(0b1100110) + chr(0b100 + 0o51) + chr(663 - 607)))())
roI3spqORKae(RGxUm1YH2emY, roI3spqORKae(ES5oEprVxulp(b'\xc4\x7f\x0c8\x07\xef\x02\x89[m\x0f\xda'), '\x64' + chr(1509 - 1408) + chr(0b111000 + 0o53) + '\157' + chr(100) + '\145')('\165' + chr(0b1110100) + chr(1712 - 1610) + '\055' + chr(1284 - 1228)))(XgDdBrXtsYof, dcbj7KRNqoJt, marker=gQFfaK0nV2C0, color=Auat2pEXRi5Z, edgecolors=AbOvRtXYiqZi, s=bl_hQogL99mv, label=jGCBZh3d3v0u, zorder=nzTpIcepk0o8(chr(0b100010 + 0o16) + chr(111) + chr(1028 - 979) + chr(0b110100) + chr(53), 8), transform=roI3spqORKae(uCkO3D3nGLZI, roI3spqORKae(ES5oEprVxulp(b'\xd9RS5\x1a\xa9\r\x87'), '\x64' + '\x65' + chr(0b1100011) + '\157' + '\144' + '\x65')(chr(0b1110101) + chr(0b1101000 + 0o14) + chr(0b1000011 + 0o43) + chr(0b101101) + '\x38'))())
dbUvmVaSu9AI = nDF4gVNx0u9Q.deg2rad(XgDdBrXtsYof)
eTqXAM8Vi4QQ = nDF4gVNx0u9Q.deg2rad(dcbj7KRNqoJt)
S6tYm525P3RQ = nDF4gVNx0u9Q.deg2rad(nzTpIcepk0o8(chr(48) + '\157' + chr(591 - 542) + chr(0b11100 + 0o27) + chr(0b110010), 0b1000) - dcbj7KRNqoJt)
uifN015KYhax = nDF4gVNx0u9Q.deg2rad(j1qi1l65tYxo)
HZQ1tjgjx17c = nDF4gVNx0u9Q.deg2rad(yOX81cxVSDwr)
NIK2lprJf0ID = nDF4gVNx0u9Q.deg2rad(nzTpIcepk0o8(chr(0b110000) + chr(0b10000 + 0o137) + chr(749 - 700) + chr(51) + chr(0b110010), 8) - yOX81cxVSDwr)
ybpQ0xJfA_p2 = nDF4gVNx0u9Q.zQBGwUT7UU8L(uifN015KYhax - dbUvmVaSu9AI)
F_Vq69TBXRVz = nDF4gVNx0u9Q.mLriLohwQ9NU(S6tYm525P3RQ) * nDF4gVNx0u9Q.mLriLohwQ9NU(NIK2lprJf0ID) + nDF4gVNx0u9Q.TMleLVztqSLZ(S6tYm525P3RQ) * nDF4gVNx0u9Q.TMleLVztqSLZ(NIK2lprJf0ID) * nDF4gVNx0u9Q.mLriLohwQ9NU(ybpQ0xJfA_p2)
tenhrXi1zcpJ = nDF4gVNx0u9Q.arccos(F_Vq69TBXRVz)
uQteVa_Tl4iL = nDF4gVNx0u9Q.TMleLVztqSLZ(ybpQ0xJfA_p2) / nDF4gVNx0u9Q.TMleLVztqSLZ(tenhrXi1zcpJ) * nDF4gVNx0u9Q.TMleLVztqSLZ(S6tYm525P3RQ)
QK5cKcTpIPRB = nDF4gVNx0u9Q.arcsin(uQteVa_Tl4iL)
if XgDdBrXtsYof - j1qi1l65tYxo > nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(2037 - 1987) + '\066' + chr(0b1000 + 0o54), 0b1000):
if j1qi1l65tYxo >= XgDdBrXtsYof and yOX81cxVSDwr >= dcbj7KRNqoJt:
XOMoJZyHq9Be = -nDF4gVNx0u9Q.zQBGwUT7UU8L(nDF4gVNx0u9Q.rad2deg(QK5cKcTpIPRB))
elif j1qi1l65tYxo <= XgDdBrXtsYof and yOX81cxVSDwr >= dcbj7KRNqoJt:
XOMoJZyHq9Be = nDF4gVNx0u9Q.zQBGwUT7UU8L(nDF4gVNx0u9Q.rad2deg(QK5cKcTpIPRB))
elif j1qi1l65tYxo >= XgDdBrXtsYof and yOX81cxVSDwr <= dcbj7KRNqoJt:
XOMoJZyHq9Be = nDF4gVNx0u9Q.zQBGwUT7UU8L(nDF4gVNx0u9Q.rad2deg(QK5cKcTpIPRB))
elif j1qi1l65tYxo <= XgDdBrXtsYof and yOX81cxVSDwr <= dcbj7KRNqoJt:
XOMoJZyHq9Be = -nDF4gVNx0u9Q.zQBGwUT7UU8L(nDF4gVNx0u9Q.rad2deg(QK5cKcTpIPRB))
elif XgDdBrXtsYof - j1qi1l65tYxo <= nzTpIcepk0o8('\060' + chr(10628 - 10517) + chr(50) + chr(0b1000 + 0o56) + chr(0b0 + 0o64), 8):
if j1qi1l65tYxo >= XgDdBrXtsYof and yOX81cxVSDwr >= dcbj7KRNqoJt:
XOMoJZyHq9Be = nDF4gVNx0u9Q.zQBGwUT7UU8L(nDF4gVNx0u9Q.rad2deg(QK5cKcTpIPRB))
elif j1qi1l65tYxo <= XgDdBrXtsYof and yOX81cxVSDwr >= dcbj7KRNqoJt:
XOMoJZyHq9Be = -nDF4gVNx0u9Q.zQBGwUT7UU8L(nDF4gVNx0u9Q.rad2deg(QK5cKcTpIPRB))
elif j1qi1l65tYxo >= XgDdBrXtsYof and yOX81cxVSDwr <= dcbj7KRNqoJt:
XOMoJZyHq9Be = -nDF4gVNx0u9Q.zQBGwUT7UU8L(nDF4gVNx0u9Q.rad2deg(QK5cKcTpIPRB))
elif j1qi1l65tYxo <= XgDdBrXtsYof and yOX81cxVSDwr <= dcbj7KRNqoJt:
XOMoJZyHq9Be = nDF4gVNx0u9Q.zQBGwUT7UU8L(nDF4gVNx0u9Q.rad2deg(QK5cKcTpIPRB))
v8jsMqaYV6U2(XOMoJZyHq9Be)
VDFtOIExTZhC(RGxUm1YH2emY, j1qi1l65tYxo, yOX81cxVSDwr, oCLpxJN1UjtA, vRKaFwNdBaJq, XOMoJZyHq9Be)
if _rP71CgJu3le:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\xf2R[4\x11\xb9'), chr(0b1001 + 0o133) + chr(0b1100101) + chr(0b1001 + 0o132) + chr(111) + chr(0b1100100) + chr(6638 - 6537))(chr(8256 - 8139) + chr(13152 - 13036) + chr(907 - 805) + chr(0b101101) + chr(0b101010 + 0o16)))(loc=nzTpIcepk0o8(chr(0b110000) + '\157' + chr(2467 - 2417), ord("\x08")))
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
plot_poles_colorbar
|
def plot_poles_colorbar(map_axis, plons, plats, A95s, colorvalues, vmin, vmax,
colormap='viridis', edgecolor='k', marker='o', markersize='20',
alpha=1.0, colorbar=True, colorbar_label='pole age (Ma)'):
"""
This function plots multiple paleomagnetic pole and A95 error ellipse on a cartopy map axis.
The poles are colored by the defined colormap.
Before this function is called, a plot needs to be initialized with code
such as that in the make_orthographic_map function.
Example
-------
>>> plons = [200, 180, 210]
>>> plats = [60, 40, 35]
>>> A95s = [6, 3, 10]
>>> ages = [100,200,300]
>>> vmin = 0
>>> vmax = 300
>>> map_axis = ipmag.make_orthographic_map(central_longitude=200, central_latitude=30)
>>> ipmag.plot_poles_colorbar(map_axis, plons, plats, A95s, ages, vmin, vmax)
Required Parameters
-----------
map_axis : the name of the current map axis that has been developed using cartopy
plons : the longitude of the paleomagnetic pole being plotted (in degrees E)
plats : the latitude of the paleomagnetic pole being plotted (in degrees)
A95s : the A_95 confidence ellipse of the paleomagnetic pole (in degrees)
colorvalues : what attribute is being used to determine the colors
vmin : what is the minimum range for the colormap
vmax : what is the maximum range for the colormap
Optional Parameters (defaults are used if not specified)
-----------
colormap : the colormap used (default is 'viridis'; others should be put as a string with quotes, e.g. 'plasma')
edgecolor : the color desired for the symbol outline
marker : the marker shape desired for the pole mean symbol (default is 'o' aka a circle)
colorbar : the default is to include a colorbar (True). Putting False will make it so no legend is plotted.
colorbar_label : label for the colorbar
"""
if not has_cartopy:
print('-W- cartopy must be installed to run ipmag.plot_poles_colorbar')
return
color_mapping = plt.cm.ScalarMappable(cmap=colormap, norm=plt.Normalize(vmin=vmin, vmax=vmax))
colors = color_mapping.to_rgba(colorvalues).tolist()
plot_poles(map_axis, plons, plats, A95s,
label='', color=colors, edgecolor=edgecolor, marker=marker)
if colorbar == True:
sm = plt.cm.ScalarMappable(
cmap=colormap, norm=plt.Normalize(vmin=vmin, vmax=vmax))
sm._A = []
plt.colorbar(sm, orientation='horizontal', shrink=0.8,
pad=0.05, label=colorbar_label)
|
python
|
def plot_poles_colorbar(map_axis, plons, plats, A95s, colorvalues, vmin, vmax,
colormap='viridis', edgecolor='k', marker='o', markersize='20',
alpha=1.0, colorbar=True, colorbar_label='pole age (Ma)'):
"""
This function plots multiple paleomagnetic pole and A95 error ellipse on a cartopy map axis.
The poles are colored by the defined colormap.
Before this function is called, a plot needs to be initialized with code
such as that in the make_orthographic_map function.
Example
-------
>>> plons = [200, 180, 210]
>>> plats = [60, 40, 35]
>>> A95s = [6, 3, 10]
>>> ages = [100,200,300]
>>> vmin = 0
>>> vmax = 300
>>> map_axis = ipmag.make_orthographic_map(central_longitude=200, central_latitude=30)
>>> ipmag.plot_poles_colorbar(map_axis, plons, plats, A95s, ages, vmin, vmax)
Required Parameters
-----------
map_axis : the name of the current map axis that has been developed using cartopy
plons : the longitude of the paleomagnetic pole being plotted (in degrees E)
plats : the latitude of the paleomagnetic pole being plotted (in degrees)
A95s : the A_95 confidence ellipse of the paleomagnetic pole (in degrees)
colorvalues : what attribute is being used to determine the colors
vmin : what is the minimum range for the colormap
vmax : what is the maximum range for the colormap
Optional Parameters (defaults are used if not specified)
-----------
colormap : the colormap used (default is 'viridis'; others should be put as a string with quotes, e.g. 'plasma')
edgecolor : the color desired for the symbol outline
marker : the marker shape desired for the pole mean symbol (default is 'o' aka a circle)
colorbar : the default is to include a colorbar (True). Putting False will make it so no legend is plotted.
colorbar_label : label for the colorbar
"""
if not has_cartopy:
print('-W- cartopy must be installed to run ipmag.plot_poles_colorbar')
return
color_mapping = plt.cm.ScalarMappable(cmap=colormap, norm=plt.Normalize(vmin=vmin, vmax=vmax))
colors = color_mapping.to_rgba(colorvalues).tolist()
plot_poles(map_axis, plons, plats, A95s,
label='', color=colors, edgecolor=edgecolor, marker=marker)
if colorbar == True:
sm = plt.cm.ScalarMappable(
cmap=colormap, norm=plt.Normalize(vmin=vmin, vmax=vmax))
sm._A = []
plt.colorbar(sm, orientation='horizontal', shrink=0.8,
pad=0.05, label=colorbar_label)
|
[
"def",
"plot_poles_colorbar",
"(",
"map_axis",
",",
"plons",
",",
"plats",
",",
"A95s",
",",
"colorvalues",
",",
"vmin",
",",
"vmax",
",",
"colormap",
"=",
"'viridis'",
",",
"edgecolor",
"=",
"'k'",
",",
"marker",
"=",
"'o'",
",",
"markersize",
"=",
"'20'",
",",
"alpha",
"=",
"1.0",
",",
"colorbar",
"=",
"True",
",",
"colorbar_label",
"=",
"'pole age (Ma)'",
")",
":",
"if",
"not",
"has_cartopy",
":",
"print",
"(",
"'-W- cartopy must be installed to run ipmag.plot_poles_colorbar'",
")",
"return",
"color_mapping",
"=",
"plt",
".",
"cm",
".",
"ScalarMappable",
"(",
"cmap",
"=",
"colormap",
",",
"norm",
"=",
"plt",
".",
"Normalize",
"(",
"vmin",
"=",
"vmin",
",",
"vmax",
"=",
"vmax",
")",
")",
"colors",
"=",
"color_mapping",
".",
"to_rgba",
"(",
"colorvalues",
")",
".",
"tolist",
"(",
")",
"plot_poles",
"(",
"map_axis",
",",
"plons",
",",
"plats",
",",
"A95s",
",",
"label",
"=",
"''",
",",
"color",
"=",
"colors",
",",
"edgecolor",
"=",
"edgecolor",
",",
"marker",
"=",
"marker",
")",
"if",
"colorbar",
"==",
"True",
":",
"sm",
"=",
"plt",
".",
"cm",
".",
"ScalarMappable",
"(",
"cmap",
"=",
"colormap",
",",
"norm",
"=",
"plt",
".",
"Normalize",
"(",
"vmin",
"=",
"vmin",
",",
"vmax",
"=",
"vmax",
")",
")",
"sm",
".",
"_A",
"=",
"[",
"]",
"plt",
".",
"colorbar",
"(",
"sm",
",",
"orientation",
"=",
"'horizontal'",
",",
"shrink",
"=",
"0.8",
",",
"pad",
"=",
"0.05",
",",
"label",
"=",
"colorbar_label",
")"
] |
This function plots multiple paleomagnetic pole and A95 error ellipse on a cartopy map axis.
The poles are colored by the defined colormap.
Before this function is called, a plot needs to be initialized with code
such as that in the make_orthographic_map function.
Example
-------
>>> plons = [200, 180, 210]
>>> plats = [60, 40, 35]
>>> A95s = [6, 3, 10]
>>> ages = [100,200,300]
>>> vmin = 0
>>> vmax = 300
>>> map_axis = ipmag.make_orthographic_map(central_longitude=200, central_latitude=30)
>>> ipmag.plot_poles_colorbar(map_axis, plons, plats, A95s, ages, vmin, vmax)
Required Parameters
-----------
map_axis : the name of the current map axis that has been developed using cartopy
plons : the longitude of the paleomagnetic pole being plotted (in degrees E)
plats : the latitude of the paleomagnetic pole being plotted (in degrees)
A95s : the A_95 confidence ellipse of the paleomagnetic pole (in degrees)
colorvalues : what attribute is being used to determine the colors
vmin : what is the minimum range for the colormap
vmax : what is the maximum range for the colormap
Optional Parameters (defaults are used if not specified)
-----------
colormap : the colormap used (default is 'viridis'; others should be put as a string with quotes, e.g. 'plasma')
edgecolor : the color desired for the symbol outline
marker : the marker shape desired for the pole mean symbol (default is 'o' aka a circle)
colorbar : the default is to include a colorbar (True). Putting False will make it so no legend is plotted.
colorbar_label : label for the colorbar
|
[
"This",
"function",
"plots",
"multiple",
"paleomagnetic",
"pole",
"and",
"A95",
"error",
"ellipse",
"on",
"a",
"cartopy",
"map",
"axis",
".",
"The",
"poles",
"are",
"colored",
"by",
"the",
"defined",
"colormap",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L2040-L2095
|
train
|
This function plots a single paleomagnetic pole and A95 error ellipse on a cartopy map axis.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(1177 - 1129) + chr(0b1101111) + chr(0b11110 + 0o25) + chr(52) + '\x36', 28954 - 28946), nzTpIcepk0o8('\x30' + chr(0b1011100 + 0o23) + chr(49) + chr(1185 - 1130) + '\067', 0b1000), nzTpIcepk0o8(chr(2171 - 2123) + chr(10472 - 10361) + chr(1962 - 1913) + '\x35' + chr(0b11 + 0o63), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b11011 + 0o32) + chr(2258 - 2209), 7394 - 7386), nzTpIcepk0o8(chr(191 - 143) + '\157' + chr(0b110011) + chr(0b110110) + chr(0b11101 + 0o30), ord("\x08")), nzTpIcepk0o8(chr(48) + '\157' + chr(0b110001) + chr(1184 - 1135) + chr(0b11001 + 0o36), 0b1000), nzTpIcepk0o8(chr(0b100 + 0o54) + chr(111) + chr(49) + chr(0b110000) + chr(0b110001), 0o10), nzTpIcepk0o8('\x30' + '\x6f' + '\065' + chr(0b10100 + 0o43), ord("\x08")), nzTpIcepk0o8(chr(477 - 429) + chr(0b1101111) + chr(51) + chr(0b110001), 0o10), nzTpIcepk0o8(chr(525 - 477) + chr(3028 - 2917) + '\x33' + chr(0b110000) + chr(0b110010), 0b1000), nzTpIcepk0o8('\x30' + chr(0b1101111) + '\062' + '\062' + chr(54), 47310 - 47302), nzTpIcepk0o8(chr(0b1110 + 0o42) + chr(9619 - 9508) + chr(0b1101 + 0o43), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(4802 - 4691) + '\062' + '\062' + chr(0b110111), 0b1000), nzTpIcepk0o8(chr(1587 - 1539) + chr(111) + chr(1233 - 1183) + chr(48) + '\062', 0o10), nzTpIcepk0o8(chr(438 - 390) + chr(0b1011100 + 0o23) + chr(675 - 620), 0o10), nzTpIcepk0o8(chr(1820 - 1772) + chr(7183 - 7072) + chr(50) + chr(0b110010) + chr(0b110010 + 0o2), 0b1000), nzTpIcepk0o8(chr(48) + '\x6f' + '\x36' + chr(1956 - 1904), 0o10), nzTpIcepk0o8(chr(1134 - 1086) + chr(111) + '\x33' + '\x36' + chr(0b10011 + 0o41), 45110 - 45102), nzTpIcepk0o8(chr(48) + '\157' + chr(0b110001) + '\x31' + chr(0b110010), 0o10), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b100111 + 0o14) + chr(1447 - 1398) + chr(0b110101), 0o10), nzTpIcepk0o8('\x30' + chr(111) + chr(687 - 636) + chr(54), 13113 - 13105), nzTpIcepk0o8(chr(1308 - 1260) + chr(0b111111 + 0o60) + chr(0b110001 + 0o2) + chr(1815 - 1764), 0b1000), nzTpIcepk0o8(chr(0b11010 + 0o26) + chr(111) + chr(50) + chr(0b110111) + chr(48), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(7724 - 7613) + '\x31', 64056 - 64048), nzTpIcepk0o8(chr(1980 - 1932) + chr(6508 - 6397) + chr(0b1001 + 0o51) + chr(0b110111) + chr(0b110111), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(49) + chr(0b110100) + chr(55), 0b1000), nzTpIcepk0o8(chr(0b100101 + 0o13) + chr(10516 - 10405) + chr(0b110010) + '\067' + '\x37', 8), nzTpIcepk0o8('\060' + chr(111) + chr(0b110011) + chr(2705 - 2650), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\062' + '\060' + chr(0b101 + 0o54), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1010010 + 0o35) + chr(0b1 + 0o60) + chr(48) + chr(0b100101 + 0o20), 0o10), nzTpIcepk0o8(chr(48) + chr(419 - 308) + '\x33' + chr(0b110110) + '\x35', 8), nzTpIcepk0o8('\x30' + chr(111) + chr(0b101001 + 0o12) + chr(52) + '\065', 41487 - 41479), nzTpIcepk0o8(chr(219 - 171) + chr(111) + chr(50) + chr(50) + '\066', 8), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(2435 - 2384) + chr(0b110100) + '\065', 8), nzTpIcepk0o8(chr(623 - 575) + chr(7803 - 7692) + '\064' + '\x35', 58311 - 58303), nzTpIcepk0o8(chr(0b1001 + 0o47) + chr(0b1101111) + '\x32' + chr(0b110111) + chr(0b11000 + 0o31), 51322 - 51314), nzTpIcepk0o8(chr(1808 - 1760) + '\x6f' + chr(0b110010) + '\067' + chr(1155 - 1105), ord("\x08")), nzTpIcepk0o8(chr(810 - 762) + chr(1000 - 889) + chr(51) + chr(2204 - 2150) + chr(0b100100 + 0o14), 47493 - 47485), nzTpIcepk0o8(chr(824 - 776) + '\x6f' + '\064' + chr(53), 8), nzTpIcepk0o8('\060' + chr(7053 - 6942) + '\x32' + chr(48) + chr(53), 22068 - 22060)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(239 - 186) + chr(48), 63282 - 63274)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xc8'), chr(0b1011001 + 0o13) + chr(6671 - 6570) + '\x63' + '\157' + chr(0b1100100) + '\145')(chr(0b1110101) + '\164' + chr(0b10011 + 0o123) + chr(0b1100 + 0o41) + '\070') + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def N3CNt7F8iV9P(RGxUm1YH2emY, zNkXztGc8xkU, jSoaIJOxYmBc, RCtexmiWlV1L, UAP4n9o1OmWl, dd9k_9ENnwTw, wELe2JJPb28t, l84Lyj0cajjP=roI3spqORKae(ES5oEprVxulp(b'\x90\x16\x1c@\x91&2'), '\x64' + chr(0b1100101) + chr(99) + chr(0b1101111) + chr(0b111100 + 0o50) + chr(0b0 + 0o145))(chr(0b1110101) + '\164' + chr(102) + chr(0b101101) + '\x38'), HiUt9Rz_exGD=roI3spqORKae(ES5oEprVxulp(b'\x8d'), '\x64' + chr(101) + chr(0b1100011) + '\x6f' + chr(100) + '\145')('\x75' + chr(2931 - 2815) + chr(0b1100110) + chr(0b100100 + 0o11) + chr(0b11001 + 0o37)), uic71ZuNaAED=roI3spqORKae(ES5oEprVxulp(b'\x89'), chr(100) + chr(8237 - 8136) + chr(1107 - 1008) + chr(111) + chr(0b1100011 + 0o1) + '\x65')(chr(0b111010 + 0o73) + chr(116) + chr(0b1010100 + 0o22) + chr(0b101101) + chr(0b111000)), bl_hQogL99mv=roI3spqORKae(ES5oEprVxulp(b'\xd4O'), chr(0b1100100) + '\145' + chr(6314 - 6215) + chr(0b11111 + 0o120) + chr(0b1011101 + 0o7) + chr(7101 - 7000))('\165' + chr(116) + chr(7966 - 7864) + chr(45) + '\070'), t3TBppk7s7__=1.0, G1nlXbDaI_wa=nzTpIcepk0o8(chr(0b100 + 0o54) + '\x6f' + '\x31', 8), In7RX5bYB9Gb=roI3spqORKae(ES5oEprVxulp(b'\x96\x10\x02L\xd5.&J9\xea\xdba\xbe'), chr(0b11100 + 0o110) + '\145' + chr(0b1100011) + chr(572 - 461) + '\x64' + chr(101))('\165' + '\164' + chr(7162 - 7060) + chr(0b101101) + chr(56))):
if not iooSrYwNGRVI:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xcb(C\t\x96.3[v\xb2\xef \xfa\xf7t\xe0\x14\x96/\xedwu\xcbu\xde\x0b\xd3z\xe5e\x81\x8a\xb6\x97P\xd7\x9a\x99U\xe8\x87\x18@Y\x99 5pi\xad\xfae\xe4\xddd\xfbX\x9b8\xaf\x7fi'), '\x64' + chr(101) + '\x63' + '\157' + chr(0b1010001 + 0o23) + '\x65')(chr(117) + chr(0b1110100) + '\x66' + chr(0b101101) + '\070'))
return
bL891_iVH8un = Z7HGgmIyegqz.cm.ScalarMappable(cmap=l84Lyj0cajjP, norm=Z7HGgmIyegqz.Normalize(vmin=dd9k_9ENnwTw, vmax=wELe2JJPb28t))
ykFgDM_9hKHU = bL891_iVH8un.to_rgba(UAP4n9o1OmWl).tolist()
Tk8SE9rTbGd5(RGxUm1YH2emY, zNkXztGc8xkU, jSoaIJOxYmBc, RCtexmiWlV1L, label=roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(282 - 181) + '\143' + chr(0b101001 + 0o106) + chr(3602 - 3502) + chr(101))(chr(0b10 + 0o163) + chr(116) + chr(8546 - 8444) + '\055' + chr(0b111000)), color=ykFgDM_9hKHU, edgecolor=HiUt9Rz_exGD, marker=uic71ZuNaAED)
if G1nlXbDaI_wa:
miZza6ggsjTu = Z7HGgmIyegqz.cm.ScalarMappable(cmap=l84Lyj0cajjP, norm=Z7HGgmIyegqz.Normalize(vmin=dd9k_9ENnwTw, vmax=wELe2JJPb28t))
miZza6ggsjTu.wblRjbtWBWhg = []
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\xa1N\x00E\xad-\x05NP\x9d\xe1a'), '\144' + chr(5033 - 4932) + '\143' + chr(111) + '\x64' + chr(101))(chr(0b1110101) + chr(3720 - 3604) + chr(0b1100110) + chr(0b101101) + chr(0b111000)))(miZza6ggsjTu, orientation=roI3spqORKae(ES5oEprVxulp(b'\x8e\x10\x1c@\x8f /[x\xae'), '\x64' + chr(0b111101 + 0o50) + chr(6728 - 6629) + chr(0b1011 + 0o144) + chr(100) + '\x65')(chr(6362 - 6245) + chr(0b1000001 + 0o63) + '\x66' + chr(0b101101) + chr(56)), shrink=0.8, pad=0.05, label=In7RX5bYB9Gb)
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
plot_vgp
|
def plot_vgp(map_axis, vgp_lon=None, vgp_lat=None, di_block=None, label='', color='k', marker='o',
edge='black', markersize=20, legend=False):
"""
This function plots a paleomagnetic pole position on a cartopy map axis.
Before this function is called, a plot needs to be initialized with code
such as that in the make_orthographic_map function.
Example
-------
>>> vgps = ipmag.fishrot(dec=200,inc=30)
>>> vgp_lon_list,vgp_lat_list,intensities= ipmag.unpack_di_block(vgps)
>>> map_axis = ipmag.make_orthographic_map(central_longitude=200,central_latitude=30)
>>> ipmag.plot_vgp(map_axis,vgp_lon=vgp_lon_list,vgp_lat=vgp_lat_list,color='red',markersize=40)
Required Parameters
-----------
map_axis : the name of the current map axis that has been developed using cartopy
plon : the longitude of the paleomagnetic pole being plotted (in degrees E)
plat : the latitude of the paleomagnetic pole being plotted (in degrees)
Optional Parameters (defaults are used if not specified)
-----------
color : the color desired for the symbol (default is 'k' aka black)
marker : the marker shape desired for the pole mean symbol (default is 'o' aka a circle)
edge : the color of the edge of the marker (default is black)
markersize : size of the marker in pt (default is 20)
label : the default is no label. Labels can be assigned.
legend : the default is no legend (False). Putting True will plot a legend.
"""
if not has_cartopy:
print('-W- cartopy must be installed to run ipmag.plot_vgp')
return
if di_block != None:
di_lists = unpack_di_block(di_block)
if len(di_lists) == 3:
vgp_lon, vgp_lat, intensity = di_lists
if len(di_lists) == 2:
vgp_lon, vgp_lat = di_lists
map_axis.scatter(vgp_lon, vgp_lat, marker=marker, edgecolors=[edge],
s=markersize, color=color, label=label, zorder=100, transform=ccrs.Geodetic())
map_axis.set_global()
if legend == True:
plt.legend(loc=2)
|
python
|
def plot_vgp(map_axis, vgp_lon=None, vgp_lat=None, di_block=None, label='', color='k', marker='o',
edge='black', markersize=20, legend=False):
"""
This function plots a paleomagnetic pole position on a cartopy map axis.
Before this function is called, a plot needs to be initialized with code
such as that in the make_orthographic_map function.
Example
-------
>>> vgps = ipmag.fishrot(dec=200,inc=30)
>>> vgp_lon_list,vgp_lat_list,intensities= ipmag.unpack_di_block(vgps)
>>> map_axis = ipmag.make_orthographic_map(central_longitude=200,central_latitude=30)
>>> ipmag.plot_vgp(map_axis,vgp_lon=vgp_lon_list,vgp_lat=vgp_lat_list,color='red',markersize=40)
Required Parameters
-----------
map_axis : the name of the current map axis that has been developed using cartopy
plon : the longitude of the paleomagnetic pole being plotted (in degrees E)
plat : the latitude of the paleomagnetic pole being plotted (in degrees)
Optional Parameters (defaults are used if not specified)
-----------
color : the color desired for the symbol (default is 'k' aka black)
marker : the marker shape desired for the pole mean symbol (default is 'o' aka a circle)
edge : the color of the edge of the marker (default is black)
markersize : size of the marker in pt (default is 20)
label : the default is no label. Labels can be assigned.
legend : the default is no legend (False). Putting True will plot a legend.
"""
if not has_cartopy:
print('-W- cartopy must be installed to run ipmag.plot_vgp')
return
if di_block != None:
di_lists = unpack_di_block(di_block)
if len(di_lists) == 3:
vgp_lon, vgp_lat, intensity = di_lists
if len(di_lists) == 2:
vgp_lon, vgp_lat = di_lists
map_axis.scatter(vgp_lon, vgp_lat, marker=marker, edgecolors=[edge],
s=markersize, color=color, label=label, zorder=100, transform=ccrs.Geodetic())
map_axis.set_global()
if legend == True:
plt.legend(loc=2)
|
[
"def",
"plot_vgp",
"(",
"map_axis",
",",
"vgp_lon",
"=",
"None",
",",
"vgp_lat",
"=",
"None",
",",
"di_block",
"=",
"None",
",",
"label",
"=",
"''",
",",
"color",
"=",
"'k'",
",",
"marker",
"=",
"'o'",
",",
"edge",
"=",
"'black'",
",",
"markersize",
"=",
"20",
",",
"legend",
"=",
"False",
")",
":",
"if",
"not",
"has_cartopy",
":",
"print",
"(",
"'-W- cartopy must be installed to run ipmag.plot_vgp'",
")",
"return",
"if",
"di_block",
"!=",
"None",
":",
"di_lists",
"=",
"unpack_di_block",
"(",
"di_block",
")",
"if",
"len",
"(",
"di_lists",
")",
"==",
"3",
":",
"vgp_lon",
",",
"vgp_lat",
",",
"intensity",
"=",
"di_lists",
"if",
"len",
"(",
"di_lists",
")",
"==",
"2",
":",
"vgp_lon",
",",
"vgp_lat",
"=",
"di_lists",
"map_axis",
".",
"scatter",
"(",
"vgp_lon",
",",
"vgp_lat",
",",
"marker",
"=",
"marker",
",",
"edgecolors",
"=",
"[",
"edge",
"]",
",",
"s",
"=",
"markersize",
",",
"color",
"=",
"color",
",",
"label",
"=",
"label",
",",
"zorder",
"=",
"100",
",",
"transform",
"=",
"ccrs",
".",
"Geodetic",
"(",
")",
")",
"map_axis",
".",
"set_global",
"(",
")",
"if",
"legend",
"==",
"True",
":",
"plt",
".",
"legend",
"(",
"loc",
"=",
"2",
")"
] |
This function plots a paleomagnetic pole position on a cartopy map axis.
Before this function is called, a plot needs to be initialized with code
such as that in the make_orthographic_map function.
Example
-------
>>> vgps = ipmag.fishrot(dec=200,inc=30)
>>> vgp_lon_list,vgp_lat_list,intensities= ipmag.unpack_di_block(vgps)
>>> map_axis = ipmag.make_orthographic_map(central_longitude=200,central_latitude=30)
>>> ipmag.plot_vgp(map_axis,vgp_lon=vgp_lon_list,vgp_lat=vgp_lat_list,color='red',markersize=40)
Required Parameters
-----------
map_axis : the name of the current map axis that has been developed using cartopy
plon : the longitude of the paleomagnetic pole being plotted (in degrees E)
plat : the latitude of the paleomagnetic pole being plotted (in degrees)
Optional Parameters (defaults are used if not specified)
-----------
color : the color desired for the symbol (default is 'k' aka black)
marker : the marker shape desired for the pole mean symbol (default is 'o' aka a circle)
edge : the color of the edge of the marker (default is black)
markersize : size of the marker in pt (default is 20)
label : the default is no label. Labels can be assigned.
legend : the default is no legend (False). Putting True will plot a legend.
|
[
"This",
"function",
"plots",
"a",
"paleomagnetic",
"pole",
"position",
"on",
"a",
"cartopy",
"map",
"axis",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L2098-L2141
|
train
|
This function plots a paleomagnetic pole position on a cartopy map axis.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b101111 + 0o2) + chr(0b10000 + 0o41) + chr(789 - 734), ord("\x08")), nzTpIcepk0o8(chr(0b10010 + 0o36) + chr(0b1101111) + chr(55) + chr(0b10110 + 0o32), 0b1000), nzTpIcepk0o8(chr(0b101011 + 0o5) + '\157' + chr(0b110010) + chr(0b110000) + chr(1343 - 1291), 0b1000), nzTpIcepk0o8(chr(1523 - 1475) + chr(111) + '\063' + chr(0b110000) + '\064', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(51) + chr(0b110101) + chr(0b110110), 17153 - 17145), nzTpIcepk0o8('\060' + '\157' + chr(2479 - 2428) + chr(0b110000) + chr(0b110000), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(2415 - 2364) + '\x31' + '\x31', 0o10), nzTpIcepk0o8('\060' + '\157' + chr(0b1 + 0o61) + chr(1821 - 1771) + chr(386 - 332), 36700 - 36692), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\x31' + '\067' + '\066', 0b1000), nzTpIcepk0o8('\060' + chr(111) + '\x32' + '\064' + chr(0b10 + 0o63), 49633 - 49625), nzTpIcepk0o8(chr(48) + chr(0b100110 + 0o111) + '\x37' + chr(0b1101 + 0o52), 4398 - 4390), nzTpIcepk0o8('\x30' + chr(11300 - 11189) + chr(1375 - 1325) + '\x35', 0b1000), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(49) + chr(49), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(5501 - 5390) + '\x31' + '\066' + chr(0b110010), ord("\x08")), nzTpIcepk0o8(chr(48) + '\x6f' + chr(49) + chr(54) + chr(54), ord("\x08")), nzTpIcepk0o8(chr(483 - 435) + chr(4831 - 4720) + '\x31' + chr(2744 - 2689) + chr(49), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b1001111 + 0o40) + chr(51) + '\065' + '\x36', 8), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(699 - 644) + chr(0b110101), 0b1000), nzTpIcepk0o8(chr(48) + '\157' + '\x36', 34192 - 34184), nzTpIcepk0o8('\060' + chr(111) + '\x31' + chr(53) + chr(0b1111 + 0o43), 0o10), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b101111 + 0o3) + '\x35' + '\062', 0b1000), nzTpIcepk0o8(chr(1059 - 1011) + chr(0b1101111) + chr(0b1111 + 0o42) + chr(0b1100 + 0o53) + chr(1879 - 1829), 0b1000), nzTpIcepk0o8('\060' + chr(0b111101 + 0o62) + chr(0b110001) + chr(52) + chr(238 - 188), 22797 - 22789), nzTpIcepk0o8(chr(0b11100 + 0o24) + chr(0b1101011 + 0o4) + chr(0b11100 + 0o31) + chr(986 - 934), 0b1000), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\063' + chr(0b110110), 0o10), nzTpIcepk0o8(chr(1127 - 1079) + chr(111) + chr(0b110001) + chr(0b1011 + 0o54), 0o10), nzTpIcepk0o8(chr(356 - 308) + chr(111) + chr(0b110010) + chr(0b100111 + 0o12) + chr(0b110011), 0b1000), nzTpIcepk0o8(chr(48) + chr(0b10001 + 0o136) + chr(0b100011 + 0o17) + chr(1719 - 1666) + chr(0b110001), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b1101011 + 0o4) + '\066' + chr(0b101 + 0o55), 26183 - 26175), nzTpIcepk0o8(chr(1036 - 988) + chr(111) + chr(0b110010) + chr(1357 - 1308) + chr(0b0 + 0o64), 0o10), nzTpIcepk0o8(chr(1817 - 1769) + chr(12156 - 12045) + '\062' + '\067' + chr(1810 - 1761), 0o10), nzTpIcepk0o8('\x30' + '\157' + '\x31' + '\067' + chr(0b110110 + 0o1), 0o10), nzTpIcepk0o8(chr(0b100010 + 0o16) + chr(0b1010000 + 0o37) + chr(0b110001) + chr(0b110100) + chr(0b10111 + 0o34), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(4934 - 4823) + chr(50) + '\x36' + chr(0b110100), ord("\x08")), nzTpIcepk0o8(chr(371 - 323) + chr(0b110100 + 0o73) + chr(51) + chr(52) + chr(50), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(49) + chr(0b1011 + 0o47) + chr(0b11001 + 0o27), 0o10), nzTpIcepk0o8(chr(595 - 547) + chr(111) + chr(0b110001) + chr(50) + chr(0b1001 + 0o54), 0o10), nzTpIcepk0o8('\060' + '\157' + chr(49) + chr(0b110101) + '\061', 0o10), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b110110) + chr(0b110000), 0b1000), nzTpIcepk0o8(chr(48) + '\157' + chr(49) + '\064' + chr(0b100011 + 0o17), 8)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(48) + chr(0b1101001 + 0o6) + chr(0b110101) + '\060', ord("\x08"))] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'a'), '\144' + chr(0b1100101) + chr(0b111111 + 0o44) + chr(0b1000010 + 0o55) + chr(5504 - 5404) + '\145')('\165' + chr(12927 - 12811) + chr(102) + chr(0b1110 + 0o37) + chr(237 - 181)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def fY9d64sJ7tiY(RGxUm1YH2emY, XBfmBP08mWP0=None, S9DNWPqlhcnh=None, AgwvZqQgIt7U=None, OkDIn6t2Cke6=roI3spqORKae(ES5oEprVxulp(b''), chr(4480 - 4380) + chr(0b1100101) + chr(0b110000 + 0o63) + chr(5911 - 5800) + '\144' + chr(101))('\x75' + '\x74' + chr(4009 - 3907) + chr(0b10010 + 0o33) + chr(0b111000)), s93qyRHd7l1y=roI3spqORKae(ES5oEprVxulp(b'$'), '\144' + '\145' + chr(99) + '\x6f' + chr(100) + '\145')(chr(0b111 + 0o156) + '\164' + chr(1102 - 1000) + chr(0b101101) + chr(1569 - 1513)), uic71ZuNaAED=roI3spqORKae(ES5oEprVxulp(b' '), '\x64' + chr(0b1000100 + 0o41) + chr(1755 - 1656) + '\157' + chr(0b1100100) + '\x65')(chr(8097 - 7980) + '\164' + chr(4094 - 3992) + '\x2d' + chr(56)), gMt_geOSZhSi=roI3spqORKae(ES5oEprVxulp(b'-T\xe5\xa7\x85'), '\x64' + chr(101) + chr(5171 - 5072) + chr(7204 - 7093) + '\144' + chr(0b1010110 + 0o17))(chr(12825 - 12708) + '\x74' + '\146' + chr(0b101101) + chr(1856 - 1800)), bl_hQogL99mv=nzTpIcepk0o8('\060' + chr(111) + '\x32' + chr(0b110100), ord("\x08")), _rP71CgJu3le=nzTpIcepk0o8(chr(1882 - 1834) + '\157' + chr(0b110000), 0o10)):
if not iooSrYwNGRVI:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'bo\xa9\xe4\x8d\xa1\xbb\xe2\x11\xd5F5d\x07\x05\r\xce_cJ\xc3\x14\x11X\x7fc\xe7\xccV\xac\xcd\x10C\xc6\x97>u\x00@\x0f._\xaa\xb4\x82\xaf\xbd\xc9\x08\xc2O'), chr(0b1100100) + '\145' + '\143' + chr(111) + chr(0b1100100) + chr(2095 - 1994))('\165' + chr(116) + chr(0b111100 + 0o52) + '\x2d' + '\x38'))
return
if AgwvZqQgIt7U is not None:
quwgbMzzf7J4 = YtOuPwMAyXVy(AgwvZqQgIt7U)
if ftfygxgFas5X(quwgbMzzf7J4) == nzTpIcepk0o8(chr(48) + chr(2380 - 2269) + '\x33', 24545 - 24537):
(XBfmBP08mWP0, S9DNWPqlhcnh, VYhsBiaoc58d) = quwgbMzzf7J4
if ftfygxgFas5X(quwgbMzzf7J4) == nzTpIcepk0o8(chr(0b110000) + chr(0b1011110 + 0o21) + chr(0b11111 + 0o23), 5300 - 5292):
(XBfmBP08mWP0, S9DNWPqlhcnh) = quwgbMzzf7J4
roI3spqORKae(RGxUm1YH2emY, roI3spqORKae(ES5oEprVxulp(b'\x15p\xb4\xad\x96\xf2\xaf\xfb*\xd2Wt'), '\144' + '\x65' + '\x63' + '\x6f' + chr(0b1011 + 0o131) + '\x65')('\x75' + chr(11245 - 11129) + chr(0b1100110) + '\055' + chr(0b1010 + 0o56)))(XBfmBP08mWP0, S9DNWPqlhcnh, marker=uic71ZuNaAED, edgecolors=[gMt_geOSZhSi], s=bl_hQogL99mv, color=s93qyRHd7l1y, label=OkDIn6t2Cke6, zorder=nzTpIcepk0o8(chr(0b10010 + 0o36) + chr(111) + chr(49) + '\x34' + '\064', 0b1000), transform=roI3spqORKae(uCkO3D3nGLZI, roI3spqORKae(ES5oEprVxulp(b'\x08]\xeb\xa0\x8b\xb4\xa0\xf5'), chr(100) + '\x65' + '\143' + chr(0b1101111) + '\144' + chr(7558 - 7457))(chr(12931 - 12814) + '\164' + '\146' + '\055' + chr(56)))())
roI3spqORKae(RGxUm1YH2emY, roI3spqORKae(ES5oEprVxulp(b'<]\xf0\x9b\x89\xac\xa6\xf4\x1f\xc9'), chr(100) + chr(4369 - 4268) + '\x63' + '\157' + chr(0b11001 + 0o113) + '\x65')(chr(10531 - 10414) + chr(0b1110100) + '\146' + '\x2d' + '\x38'))()
if _rP71CgJu3le:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'#]\xe3\xa1\x80\xa4'), chr(0b1100100) + chr(0b10000 + 0o125) + chr(0b10 + 0o141) + '\157' + chr(2014 - 1914) + '\145')(chr(0b10001 + 0o144) + '\x74' + chr(9879 - 9777) + '\055' + '\x38'))(loc=nzTpIcepk0o8(chr(1561 - 1513) + chr(9111 - 9000) + '\x32', 8))
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
plot_vgp_basemap
|
def plot_vgp_basemap(mapname, vgp_lon=None, vgp_lat=None, di_block=None, label='', color='k', marker='o', markersize=20, legend='no'):
"""
This function plots a paleomagnetic pole on whatever current map projection
has been set using the basemap plotting library.
Before this function is called, a plot needs to be initialized with code
that looks something like:
>from mpl_toolkits.basemap import Basemap
>mapname = Basemap(projection='ortho',lat_0=35,lon_0=200)
>plt.figure(figsize=(6, 6))
>mapname.drawcoastlines(linewidth=0.25)
>mapname.fillcontinents(color='bisque',lake_color='white',zorder=1)
>mapname.drawmapboundary(fill_color='white')
>mapname.drawmeridians(np.arange(0,360,30))
>mapname.drawparallels(np.arange(-90,90,30))
Required Parameters
-----------
mapname : the name of the current map that has been developed using basemap
plon : the longitude of the paleomagnetic pole being plotted (in degrees E)
plat : the latitude of the paleomagnetic pole being plotted (in degrees)
Optional Parameters (defaults are used if not specified)
-----------
color : the color desired for the symbol and its A95 ellipse (default is 'k' aka black)
marker : the marker shape desired for the pole mean symbol (default is 'o' aka a circle)
label : the default is no label. Labels can be assigned.
legend : the default is no legend ('no'). Putting 'yes' will plot a legend.
"""
if di_block != None:
di_lists = unpack_di_block(di_block)
if len(di_lists) == 3:
vgp_lon, vgp_lat, intensity = di_lists
if len(di_lists) == 2:
vgp_lon, vgp_lat = di_lists
centerlon, centerlat = mapname(vgp_lon, vgp_lat)
mapname.scatter(centerlon, centerlat, marker=marker,
s=markersize, color=color, label=label, zorder=100)
if legend == 'yes':
plt.legend(loc=2)
|
python
|
def plot_vgp_basemap(mapname, vgp_lon=None, vgp_lat=None, di_block=None, label='', color='k', marker='o', markersize=20, legend='no'):
"""
This function plots a paleomagnetic pole on whatever current map projection
has been set using the basemap plotting library.
Before this function is called, a plot needs to be initialized with code
that looks something like:
>from mpl_toolkits.basemap import Basemap
>mapname = Basemap(projection='ortho',lat_0=35,lon_0=200)
>plt.figure(figsize=(6, 6))
>mapname.drawcoastlines(linewidth=0.25)
>mapname.fillcontinents(color='bisque',lake_color='white',zorder=1)
>mapname.drawmapboundary(fill_color='white')
>mapname.drawmeridians(np.arange(0,360,30))
>mapname.drawparallels(np.arange(-90,90,30))
Required Parameters
-----------
mapname : the name of the current map that has been developed using basemap
plon : the longitude of the paleomagnetic pole being plotted (in degrees E)
plat : the latitude of the paleomagnetic pole being plotted (in degrees)
Optional Parameters (defaults are used if not specified)
-----------
color : the color desired for the symbol and its A95 ellipse (default is 'k' aka black)
marker : the marker shape desired for the pole mean symbol (default is 'o' aka a circle)
label : the default is no label. Labels can be assigned.
legend : the default is no legend ('no'). Putting 'yes' will plot a legend.
"""
if di_block != None:
di_lists = unpack_di_block(di_block)
if len(di_lists) == 3:
vgp_lon, vgp_lat, intensity = di_lists
if len(di_lists) == 2:
vgp_lon, vgp_lat = di_lists
centerlon, centerlat = mapname(vgp_lon, vgp_lat)
mapname.scatter(centerlon, centerlat, marker=marker,
s=markersize, color=color, label=label, zorder=100)
if legend == 'yes':
plt.legend(loc=2)
|
[
"def",
"plot_vgp_basemap",
"(",
"mapname",
",",
"vgp_lon",
"=",
"None",
",",
"vgp_lat",
"=",
"None",
",",
"di_block",
"=",
"None",
",",
"label",
"=",
"''",
",",
"color",
"=",
"'k'",
",",
"marker",
"=",
"'o'",
",",
"markersize",
"=",
"20",
",",
"legend",
"=",
"'no'",
")",
":",
"if",
"di_block",
"!=",
"None",
":",
"di_lists",
"=",
"unpack_di_block",
"(",
"di_block",
")",
"if",
"len",
"(",
"di_lists",
")",
"==",
"3",
":",
"vgp_lon",
",",
"vgp_lat",
",",
"intensity",
"=",
"di_lists",
"if",
"len",
"(",
"di_lists",
")",
"==",
"2",
":",
"vgp_lon",
",",
"vgp_lat",
"=",
"di_lists",
"centerlon",
",",
"centerlat",
"=",
"mapname",
"(",
"vgp_lon",
",",
"vgp_lat",
")",
"mapname",
".",
"scatter",
"(",
"centerlon",
",",
"centerlat",
",",
"marker",
"=",
"marker",
",",
"s",
"=",
"markersize",
",",
"color",
"=",
"color",
",",
"label",
"=",
"label",
",",
"zorder",
"=",
"100",
")",
"if",
"legend",
"==",
"'yes'",
":",
"plt",
".",
"legend",
"(",
"loc",
"=",
"2",
")"
] |
This function plots a paleomagnetic pole on whatever current map projection
has been set using the basemap plotting library.
Before this function is called, a plot needs to be initialized with code
that looks something like:
>from mpl_toolkits.basemap import Basemap
>mapname = Basemap(projection='ortho',lat_0=35,lon_0=200)
>plt.figure(figsize=(6, 6))
>mapname.drawcoastlines(linewidth=0.25)
>mapname.fillcontinents(color='bisque',lake_color='white',zorder=1)
>mapname.drawmapboundary(fill_color='white')
>mapname.drawmeridians(np.arange(0,360,30))
>mapname.drawparallels(np.arange(-90,90,30))
Required Parameters
-----------
mapname : the name of the current map that has been developed using basemap
plon : the longitude of the paleomagnetic pole being plotted (in degrees E)
plat : the latitude of the paleomagnetic pole being plotted (in degrees)
Optional Parameters (defaults are used if not specified)
-----------
color : the color desired for the symbol and its A95 ellipse (default is 'k' aka black)
marker : the marker shape desired for the pole mean symbol (default is 'o' aka a circle)
label : the default is no label. Labels can be assigned.
legend : the default is no legend ('no'). Putting 'yes' will plot a legend.
|
[
"This",
"function",
"plots",
"a",
"paleomagnetic",
"pole",
"on",
"whatever",
"current",
"map",
"projection",
"has",
"been",
"set",
"using",
"the",
"basemap",
"plotting",
"library",
".",
"Before",
"this",
"function",
"is",
"called",
"a",
"plot",
"needs",
"to",
"be",
"initialized",
"with",
"code",
"that",
"looks",
"something",
"like",
":",
">",
"from",
"mpl_toolkits",
".",
"basemap",
"import",
"Basemap",
">",
"mapname",
"=",
"Basemap",
"(",
"projection",
"=",
"ortho",
"lat_0",
"=",
"35",
"lon_0",
"=",
"200",
")",
">",
"plt",
".",
"figure",
"(",
"figsize",
"=",
"(",
"6",
"6",
"))",
">",
"mapname",
".",
"drawcoastlines",
"(",
"linewidth",
"=",
"0",
".",
"25",
")",
">",
"mapname",
".",
"fillcontinents",
"(",
"color",
"=",
"bisque",
"lake_color",
"=",
"white",
"zorder",
"=",
"1",
")",
">",
"mapname",
".",
"drawmapboundary",
"(",
"fill_color",
"=",
"white",
")",
">",
"mapname",
".",
"drawmeridians",
"(",
"np",
".",
"arange",
"(",
"0",
"360",
"30",
"))",
">",
"mapname",
".",
"drawparallels",
"(",
"np",
".",
"arange",
"(",
"-",
"90",
"90",
"30",
"))",
"Required",
"Parameters",
"-----------",
"mapname",
":",
"the",
"name",
"of",
"the",
"current",
"map",
"that",
"has",
"been",
"developed",
"using",
"basemap",
"plon",
":",
"the",
"longitude",
"of",
"the",
"paleomagnetic",
"pole",
"being",
"plotted",
"(",
"in",
"degrees",
"E",
")",
"plat",
":",
"the",
"latitude",
"of",
"the",
"paleomagnetic",
"pole",
"being",
"plotted",
"(",
"in",
"degrees",
")",
"Optional",
"Parameters",
"(",
"defaults",
"are",
"used",
"if",
"not",
"specified",
")",
"-----------",
"color",
":",
"the",
"color",
"desired",
"for",
"the",
"symbol",
"and",
"its",
"A95",
"ellipse",
"(",
"default",
"is",
"k",
"aka",
"black",
")",
"marker",
":",
"the",
"marker",
"shape",
"desired",
"for",
"the",
"pole",
"mean",
"symbol",
"(",
"default",
"is",
"o",
"aka",
"a",
"circle",
")",
"label",
":",
"the",
"default",
"is",
"no",
"label",
".",
"Labels",
"can",
"be",
"assigned",
".",
"legend",
":",
"the",
"default",
"is",
"no",
"legend",
"(",
"no",
")",
".",
"Putting",
"yes",
"will",
"plot",
"a",
"legend",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L2144-L2180
|
train
|
This function plots a paleomagnetic pole on the current map.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(1437 - 1389) + chr(111) + chr(0b110011) + chr(1325 - 1276) + '\x37', 0o10), nzTpIcepk0o8(chr(885 - 837) + chr(111) + chr(0b101001 + 0o11) + '\x35' + chr(0b110001 + 0o2), 0o10), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(51) + chr(48) + chr(48), 0o10), nzTpIcepk0o8(chr(0b110000) + '\157' + '\062' + chr(48) + chr(54), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(6259 - 6148) + '\x31' + chr(1681 - 1629), 41876 - 41868), nzTpIcepk0o8('\x30' + '\157' + '\x33' + chr(798 - 744) + chr(1315 - 1263), 0b1000), nzTpIcepk0o8('\060' + chr(0b1011001 + 0o26) + '\063' + chr(0b110111) + '\x31', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b110011) + chr(53) + chr(49), 30302 - 30294), nzTpIcepk0o8('\060' + chr(0b1001111 + 0o40) + chr(0b101111 + 0o3) + chr(0b100000 + 0o21) + chr(0b10111 + 0o37), 5336 - 5328), nzTpIcepk0o8('\060' + '\x6f' + chr(50) + '\067', 55091 - 55083), nzTpIcepk0o8('\060' + chr(7468 - 7357) + chr(2343 - 2293) + chr(0b110110) + chr(0b101010 + 0o7), 0b1000), nzTpIcepk0o8(chr(0b11001 + 0o27) + chr(0b1101111) + chr(0b11000 + 0o33) + chr(768 - 720) + chr(0b100001 + 0o23), 0o10), nzTpIcepk0o8(chr(48) + '\x6f' + '\062' + chr(51) + '\x34', ord("\x08")), nzTpIcepk0o8(chr(0b101 + 0o53) + '\x6f' + '\062' + chr(50) + chr(52), 0b1000), nzTpIcepk0o8(chr(495 - 447) + chr(4257 - 4146) + chr(49) + '\x37' + chr(0b110000), 0b1000), nzTpIcepk0o8('\060' + '\x6f' + chr(2222 - 2169) + chr(0b11110 + 0o25), 0b1000), nzTpIcepk0o8(chr(988 - 940) + chr(0b1101 + 0o142) + '\x31' + chr(0b110011) + chr(52), 7355 - 7347), nzTpIcepk0o8('\060' + chr(111) + chr(315 - 264) + chr(1447 - 1398), 0o10), nzTpIcepk0o8(chr(0b11010 + 0o26) + chr(111) + chr(54) + chr(0b110001), 31759 - 31751), nzTpIcepk0o8(chr(48) + '\157' + '\062' + chr(1177 - 1126) + '\061', ord("\x08")), nzTpIcepk0o8('\060' + chr(111) + chr(0b110011) + chr(0b110001) + '\x30', 56312 - 56304), nzTpIcepk0o8('\060' + chr(4422 - 4311) + chr(2395 - 2345) + chr(0b1011 + 0o47) + '\064', 8), nzTpIcepk0o8('\060' + chr(12058 - 11947) + chr(50) + '\062' + chr(0b1011 + 0o47), 0o10), nzTpIcepk0o8('\060' + chr(0b1101111) + '\061' + chr(0b110000) + chr(0b110011), 0b1000), nzTpIcepk0o8(chr(691 - 643) + chr(0b1101111) + chr(50) + '\062' + '\065', ord("\x08")), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b100000 + 0o21) + '\x31' + '\062', 36465 - 36457), nzTpIcepk0o8(chr(0b110000) + '\157' + '\x33' + chr(0b11101 + 0o27) + chr(0b110010), 0o10), nzTpIcepk0o8(chr(48) + chr(111) + chr(0b110011) + chr(0b110011) + chr(53), 0o10), nzTpIcepk0o8(chr(696 - 648) + chr(0b1010001 + 0o36) + chr(50) + chr(0b1000 + 0o51) + '\061', ord("\x08")), nzTpIcepk0o8('\x30' + '\157' + chr(2259 - 2210) + '\065' + chr(404 - 355), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(8324 - 8213) + '\x35' + '\062', 0o10), nzTpIcepk0o8(chr(48) + '\x6f' + '\063' + '\x33' + chr(1954 - 1901), 8), nzTpIcepk0o8('\060' + chr(840 - 729) + '\x33' + '\061' + chr(0b1011 + 0o47), 38957 - 38949), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b110011) + '\x33' + chr(0b110110), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b1101011 + 0o4) + chr(0b101100 + 0o7) + '\061' + chr(0b110011), 0o10), nzTpIcepk0o8(chr(2136 - 2088) + chr(0b1101111) + '\x33' + chr(2299 - 2246) + chr(49), 8), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(50) + '\x37' + chr(0b110110), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b100100 + 0o113) + chr(0b110011) + chr(2739 - 2684) + chr(0b110111), 1098 - 1090), nzTpIcepk0o8('\060' + '\157' + '\062' + chr(51) + chr(55), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110001) + '\x33' + chr(2666 - 2614), 8)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(0b110000) + chr(4791 - 4680) + '\065' + '\x30', 0b1000)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xe1'), chr(4077 - 3977) + chr(5024 - 4923) + '\x63' + chr(0b1101 + 0o142) + '\144' + chr(0b1100101))('\165' + chr(0b1110100) + chr(0b111001 + 0o55) + chr(0b11011 + 0o22) + chr(0b111000)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def U4fTHVcwVZ71(rJmLPquDy8nK, XBfmBP08mWP0=None, S9DNWPqlhcnh=None, AgwvZqQgIt7U=None, OkDIn6t2Cke6=roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(8012 - 7911) + chr(5470 - 5371) + chr(111) + chr(0b1100100) + chr(0b1100101))(chr(0b1011111 + 0o26) + chr(0b1101011 + 0o11) + chr(8069 - 7967) + '\x2d' + chr(56)), s93qyRHd7l1y=roI3spqORKae(ES5oEprVxulp(b'\xa4'), chr(0b11110 + 0o106) + chr(101) + chr(7902 - 7803) + chr(0b1101111) + chr(1177 - 1077) + '\x65')(chr(8913 - 8796) + chr(0b1110100) + '\146' + '\x2d' + '\070'), uic71ZuNaAED=roI3spqORKae(ES5oEprVxulp(b'\xa0'), chr(0b1100100) + chr(9409 - 9308) + chr(99) + '\157' + chr(7919 - 7819) + chr(1752 - 1651))(chr(0b1001100 + 0o51) + chr(0b1110100) + chr(2144 - 2042) + '\055' + '\070'), bl_hQogL99mv=nzTpIcepk0o8(chr(48) + '\x6f' + '\062' + '\064', 0o10), _rP71CgJu3le=roI3spqORKae(ES5oEprVxulp(b'\xa1\xc4'), chr(100) + chr(0b1100101) + '\143' + '\x6f' + chr(0b10110 + 0o116) + chr(0b11101 + 0o110))(chr(117) + chr(0b111010 + 0o72) + chr(8798 - 8696) + '\055' + '\x38')):
if AgwvZqQgIt7U is not None:
quwgbMzzf7J4 = YtOuPwMAyXVy(AgwvZqQgIt7U)
if ftfygxgFas5X(quwgbMzzf7J4) == nzTpIcepk0o8('\060' + '\157' + '\063', ord("\x08")):
(XBfmBP08mWP0, S9DNWPqlhcnh, VYhsBiaoc58d) = quwgbMzzf7J4
if ftfygxgFas5X(quwgbMzzf7J4) == nzTpIcepk0o8('\x30' + '\157' + chr(0b10000 + 0o42), ord("\x08")):
(XBfmBP08mWP0, S9DNWPqlhcnh) = quwgbMzzf7J4
(vR0phE8WlwSP, EeSk1dJA0nh3) = rJmLPquDy8nK(XBfmBP08mWP0, S9DNWPqlhcnh)
roI3spqORKae(rJmLPquDy8nK, roI3spqORKae(ES5oEprVxulp(b'\x95\xe3\xf0\xeft\xc6\x9f\x84\xda`\xd9\xa5'), chr(100) + chr(0b1100101) + chr(0b10010 + 0o121) + chr(111) + '\x64' + '\145')(chr(117) + '\164' + '\146' + chr(45) + '\x38'))(vR0phE8WlwSP, EeSk1dJA0nh3, marker=uic71ZuNaAED, s=bl_hQogL99mv, color=s93qyRHd7l1y, label=OkDIn6t2Cke6, zorder=nzTpIcepk0o8('\x30' + '\x6f' + chr(0b10010 + 0o37) + '\x34' + chr(0b110100), 0o10))
if _rP71CgJu3le == roI3spqORKae(ES5oEprVxulp(b'\xb6\xce\xb3'), '\x64' + '\145' + chr(0b1011 + 0o130) + '\157' + chr(0b100 + 0o140) + chr(0b1010010 + 0o23))(chr(0b1110101) + chr(116) + '\146' + chr(45) + chr(2248 - 2192)):
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\xa3\xce\xa7\xe3b\x90'), '\144' + '\145' + '\x63' + '\x6f' + chr(0b1100100) + chr(101))(chr(0b1011100 + 0o31) + chr(116) + chr(0b1100110) + chr(45) + chr(0b110111 + 0o1)))(loc=nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(141 - 91), 8))
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
vgp_calc
|
def vgp_calc(dataframe, tilt_correction='yes', site_lon='site_lon', site_lat='site_lat', dec_is='dec_is', inc_is='inc_is', dec_tc='dec_tc', inc_tc='inc_tc'):
"""
This function calculates paleomagnetic poles using directional data and site
location data within a pandas.DataFrame. The function adds the columns
'paleolatitude', 'vgp_lat', 'vgp_lon', 'vgp_lat_rev', and 'vgp_lon_rev'
to the dataframe. The '_rev' columns allow for subsequent choice as to which
polarity will be used for the VGPs.
Parameters
-----------
dataframe : the name of the pandas.DataFrame containing the data
tilt-correction : 'yes' is the default and uses tilt-corrected data (dec_tc, inc_tc), 'no' uses data that is not tilt-corrected and is in geographic coordinates
dataframe['site_lat'] : the name of the Dataframe column containing the latitude of the site
dataframe['site_lon'] : the name of the Dataframe column containing the longitude of the site
dataframe['inc_tc'] : the name of the Dataframe column containing the tilt-corrected inclination (used by default tilt-correction='yes')
dataframe['dec_tc'] : the name of the Dataframe column containing the tilt-corrected declination (used by default tilt-correction='yes')
dataframe['inc_is'] : the name of the Dataframe column containing the insitu inclination (used when tilt-correction='no')
dataframe['dec_is'] : the name of the Dataframe column containing the insitu declination (used when tilt-correction='no')
Returns
-------
dataframe['paleolatitude']
dataframe['colatitude']
dataframe['vgp_lat']
dataframe['vgp_lon']
dataframe['vgp_lat_rev']
dataframe['vgp_lon_rev']
"""
dataframe.is_copy = False
if tilt_correction == 'yes':
# calculate the paleolatitude/colatitude
dataframe['paleolatitude'] = np.degrees(
np.arctan(0.5 * np.tan(np.radians(dataframe[inc_tc]))))
dataframe['colatitude'] = 90 - dataframe['paleolatitude']
# calculate the latitude of the pole
dataframe['vgp_lat'] = np.degrees(np.arcsin(np.sin(np.radians(dataframe[site_lat])) *
np.cos(np.radians(dataframe['colatitude'])) +
np.cos(np.radians(dataframe[site_lat])) *
np.sin(np.radians(dataframe['colatitude'])) *
np.cos(np.radians(dataframe[dec_tc]))))
# calculate the longitudinal difference between the pole and the site
# (beta)
dataframe['beta'] = np.degrees(np.arcsin(old_div((np.sin(np.radians(dataframe['colatitude'])) *
np.sin(np.radians(dataframe[dec_tc]))),
(np.cos(np.radians(dataframe['vgp_lat']))))))
# generate a boolean array (mask) to use to distinguish between the two possibilities for pole longitude
# and then calculate pole longitude using the site location and
# calculated beta
mask = np.cos(np.radians(dataframe['colatitude'])) > np.sin(
np.radians(dataframe[site_lat])) * np.sin(np.radians(dataframe['vgp_lat']))
dataframe['vgp_lon'] = np.where(mask, (dataframe[site_lon] + dataframe['beta']) %
360., (dataframe[site_lon] + 180 - dataframe['beta']) % 360.)
# calculate the antipode of the poles
dataframe['vgp_lat_rev'] = -dataframe['vgp_lat']
dataframe['vgp_lon_rev'] = (dataframe['vgp_lon'] - 180.) % 360.
# the 'colatitude' and 'beta' columns were created for the purposes of the pole calculations
# but aren't of further use and are deleted
del dataframe['colatitude']
del dataframe['beta']
if tilt_correction == 'no':
# calculate the paleolatitude/colatitude
dataframe['paleolatitude'] = np.degrees(
np.arctan(0.5 * np.tan(np.radians(dataframe[inc_is]))))
dataframe['colatitude'] = 90 - dataframe['paleolatitude']
# calculate the latitude of the pole
dataframe['vgp_lat'] = np.degrees(np.arcsin(np.sin(np.radians(dataframe[site_lat])) *
np.cos(np.radians(dataframe['colatitude'])) +
np.cos(np.radians(dataframe[site_lat])) *
np.sin(np.radians(dataframe['colatitude'])) *
np.cos(np.radians(dataframe[dec_is]))))
# calculate the longitudinal difference between the pole and the site
# (beta)
dataframe['beta'] = np.degrees(np.arcsin(old_div((np.sin(np.radians(dataframe['colatitude'])) *
np.sin(np.radians(dataframe[dec_is]))),
(np.cos(np.radians(dataframe['vgp_lat']))))))
# generate a boolean array (mask) to use to distinguish between the two possibilities for pole longitude
# and then calculate pole longitude using the site location and
# calculated beta
mask = np.cos(np.radians(dataframe['colatitude'])) > np.sin(
np.radians(dataframe[site_lat])) * np.sin(np.radians(dataframe['vgp_lat']))
dataframe['vgp_lon'] = np.where(mask, (dataframe[site_lon] + dataframe['beta']) %
360., (dataframe[site_lon] + 180 - dataframe['beta']) % 360.)
# calculate the antipode of the poles
dataframe['vgp_lat_rev'] = -dataframe['vgp_lat']
dataframe['vgp_lon_rev'] = (dataframe['vgp_lon'] - 180.) % 360.
# the 'colatitude' and 'beta' columns were created for the purposes of the pole calculations
# but aren't of further use and are deleted
del dataframe['colatitude']
del dataframe['beta']
return(dataframe)
|
python
|
def vgp_calc(dataframe, tilt_correction='yes', site_lon='site_lon', site_lat='site_lat', dec_is='dec_is', inc_is='inc_is', dec_tc='dec_tc', inc_tc='inc_tc'):
"""
This function calculates paleomagnetic poles using directional data and site
location data within a pandas.DataFrame. The function adds the columns
'paleolatitude', 'vgp_lat', 'vgp_lon', 'vgp_lat_rev', and 'vgp_lon_rev'
to the dataframe. The '_rev' columns allow for subsequent choice as to which
polarity will be used for the VGPs.
Parameters
-----------
dataframe : the name of the pandas.DataFrame containing the data
tilt-correction : 'yes' is the default and uses tilt-corrected data (dec_tc, inc_tc), 'no' uses data that is not tilt-corrected and is in geographic coordinates
dataframe['site_lat'] : the name of the Dataframe column containing the latitude of the site
dataframe['site_lon'] : the name of the Dataframe column containing the longitude of the site
dataframe['inc_tc'] : the name of the Dataframe column containing the tilt-corrected inclination (used by default tilt-correction='yes')
dataframe['dec_tc'] : the name of the Dataframe column containing the tilt-corrected declination (used by default tilt-correction='yes')
dataframe['inc_is'] : the name of the Dataframe column containing the insitu inclination (used when tilt-correction='no')
dataframe['dec_is'] : the name of the Dataframe column containing the insitu declination (used when tilt-correction='no')
Returns
-------
dataframe['paleolatitude']
dataframe['colatitude']
dataframe['vgp_lat']
dataframe['vgp_lon']
dataframe['vgp_lat_rev']
dataframe['vgp_lon_rev']
"""
dataframe.is_copy = False
if tilt_correction == 'yes':
# calculate the paleolatitude/colatitude
dataframe['paleolatitude'] = np.degrees(
np.arctan(0.5 * np.tan(np.radians(dataframe[inc_tc]))))
dataframe['colatitude'] = 90 - dataframe['paleolatitude']
# calculate the latitude of the pole
dataframe['vgp_lat'] = np.degrees(np.arcsin(np.sin(np.radians(dataframe[site_lat])) *
np.cos(np.radians(dataframe['colatitude'])) +
np.cos(np.radians(dataframe[site_lat])) *
np.sin(np.radians(dataframe['colatitude'])) *
np.cos(np.radians(dataframe[dec_tc]))))
# calculate the longitudinal difference between the pole and the site
# (beta)
dataframe['beta'] = np.degrees(np.arcsin(old_div((np.sin(np.radians(dataframe['colatitude'])) *
np.sin(np.radians(dataframe[dec_tc]))),
(np.cos(np.radians(dataframe['vgp_lat']))))))
# generate a boolean array (mask) to use to distinguish between the two possibilities for pole longitude
# and then calculate pole longitude using the site location and
# calculated beta
mask = np.cos(np.radians(dataframe['colatitude'])) > np.sin(
np.radians(dataframe[site_lat])) * np.sin(np.radians(dataframe['vgp_lat']))
dataframe['vgp_lon'] = np.where(mask, (dataframe[site_lon] + dataframe['beta']) %
360., (dataframe[site_lon] + 180 - dataframe['beta']) % 360.)
# calculate the antipode of the poles
dataframe['vgp_lat_rev'] = -dataframe['vgp_lat']
dataframe['vgp_lon_rev'] = (dataframe['vgp_lon'] - 180.) % 360.
# the 'colatitude' and 'beta' columns were created for the purposes of the pole calculations
# but aren't of further use and are deleted
del dataframe['colatitude']
del dataframe['beta']
if tilt_correction == 'no':
# calculate the paleolatitude/colatitude
dataframe['paleolatitude'] = np.degrees(
np.arctan(0.5 * np.tan(np.radians(dataframe[inc_is]))))
dataframe['colatitude'] = 90 - dataframe['paleolatitude']
# calculate the latitude of the pole
dataframe['vgp_lat'] = np.degrees(np.arcsin(np.sin(np.radians(dataframe[site_lat])) *
np.cos(np.radians(dataframe['colatitude'])) +
np.cos(np.radians(dataframe[site_lat])) *
np.sin(np.radians(dataframe['colatitude'])) *
np.cos(np.radians(dataframe[dec_is]))))
# calculate the longitudinal difference between the pole and the site
# (beta)
dataframe['beta'] = np.degrees(np.arcsin(old_div((np.sin(np.radians(dataframe['colatitude'])) *
np.sin(np.radians(dataframe[dec_is]))),
(np.cos(np.radians(dataframe['vgp_lat']))))))
# generate a boolean array (mask) to use to distinguish between the two possibilities for pole longitude
# and then calculate pole longitude using the site location and
# calculated beta
mask = np.cos(np.radians(dataframe['colatitude'])) > np.sin(
np.radians(dataframe[site_lat])) * np.sin(np.radians(dataframe['vgp_lat']))
dataframe['vgp_lon'] = np.where(mask, (dataframe[site_lon] + dataframe['beta']) %
360., (dataframe[site_lon] + 180 - dataframe['beta']) % 360.)
# calculate the antipode of the poles
dataframe['vgp_lat_rev'] = -dataframe['vgp_lat']
dataframe['vgp_lon_rev'] = (dataframe['vgp_lon'] - 180.) % 360.
# the 'colatitude' and 'beta' columns were created for the purposes of the pole calculations
# but aren't of further use and are deleted
del dataframe['colatitude']
del dataframe['beta']
return(dataframe)
|
[
"def",
"vgp_calc",
"(",
"dataframe",
",",
"tilt_correction",
"=",
"'yes'",
",",
"site_lon",
"=",
"'site_lon'",
",",
"site_lat",
"=",
"'site_lat'",
",",
"dec_is",
"=",
"'dec_is'",
",",
"inc_is",
"=",
"'inc_is'",
",",
"dec_tc",
"=",
"'dec_tc'",
",",
"inc_tc",
"=",
"'inc_tc'",
")",
":",
"dataframe",
".",
"is_copy",
"=",
"False",
"if",
"tilt_correction",
"==",
"'yes'",
":",
"# calculate the paleolatitude/colatitude",
"dataframe",
"[",
"'paleolatitude'",
"]",
"=",
"np",
".",
"degrees",
"(",
"np",
".",
"arctan",
"(",
"0.5",
"*",
"np",
".",
"tan",
"(",
"np",
".",
"radians",
"(",
"dataframe",
"[",
"inc_tc",
"]",
")",
")",
")",
")",
"dataframe",
"[",
"'colatitude'",
"]",
"=",
"90",
"-",
"dataframe",
"[",
"'paleolatitude'",
"]",
"# calculate the latitude of the pole",
"dataframe",
"[",
"'vgp_lat'",
"]",
"=",
"np",
".",
"degrees",
"(",
"np",
".",
"arcsin",
"(",
"np",
".",
"sin",
"(",
"np",
".",
"radians",
"(",
"dataframe",
"[",
"site_lat",
"]",
")",
")",
"*",
"np",
".",
"cos",
"(",
"np",
".",
"radians",
"(",
"dataframe",
"[",
"'colatitude'",
"]",
")",
")",
"+",
"np",
".",
"cos",
"(",
"np",
".",
"radians",
"(",
"dataframe",
"[",
"site_lat",
"]",
")",
")",
"*",
"np",
".",
"sin",
"(",
"np",
".",
"radians",
"(",
"dataframe",
"[",
"'colatitude'",
"]",
")",
")",
"*",
"np",
".",
"cos",
"(",
"np",
".",
"radians",
"(",
"dataframe",
"[",
"dec_tc",
"]",
")",
")",
")",
")",
"# calculate the longitudinal difference between the pole and the site",
"# (beta)",
"dataframe",
"[",
"'beta'",
"]",
"=",
"np",
".",
"degrees",
"(",
"np",
".",
"arcsin",
"(",
"old_div",
"(",
"(",
"np",
".",
"sin",
"(",
"np",
".",
"radians",
"(",
"dataframe",
"[",
"'colatitude'",
"]",
")",
")",
"*",
"np",
".",
"sin",
"(",
"np",
".",
"radians",
"(",
"dataframe",
"[",
"dec_tc",
"]",
")",
")",
")",
",",
"(",
"np",
".",
"cos",
"(",
"np",
".",
"radians",
"(",
"dataframe",
"[",
"'vgp_lat'",
"]",
")",
")",
")",
")",
")",
")",
"# generate a boolean array (mask) to use to distinguish between the two possibilities for pole longitude",
"# and then calculate pole longitude using the site location and",
"# calculated beta",
"mask",
"=",
"np",
".",
"cos",
"(",
"np",
".",
"radians",
"(",
"dataframe",
"[",
"'colatitude'",
"]",
")",
")",
">",
"np",
".",
"sin",
"(",
"np",
".",
"radians",
"(",
"dataframe",
"[",
"site_lat",
"]",
")",
")",
"*",
"np",
".",
"sin",
"(",
"np",
".",
"radians",
"(",
"dataframe",
"[",
"'vgp_lat'",
"]",
")",
")",
"dataframe",
"[",
"'vgp_lon'",
"]",
"=",
"np",
".",
"where",
"(",
"mask",
",",
"(",
"dataframe",
"[",
"site_lon",
"]",
"+",
"dataframe",
"[",
"'beta'",
"]",
")",
"%",
"360.",
",",
"(",
"dataframe",
"[",
"site_lon",
"]",
"+",
"180",
"-",
"dataframe",
"[",
"'beta'",
"]",
")",
"%",
"360.",
")",
"# calculate the antipode of the poles",
"dataframe",
"[",
"'vgp_lat_rev'",
"]",
"=",
"-",
"dataframe",
"[",
"'vgp_lat'",
"]",
"dataframe",
"[",
"'vgp_lon_rev'",
"]",
"=",
"(",
"dataframe",
"[",
"'vgp_lon'",
"]",
"-",
"180.",
")",
"%",
"360.",
"# the 'colatitude' and 'beta' columns were created for the purposes of the pole calculations",
"# but aren't of further use and are deleted",
"del",
"dataframe",
"[",
"'colatitude'",
"]",
"del",
"dataframe",
"[",
"'beta'",
"]",
"if",
"tilt_correction",
"==",
"'no'",
":",
"# calculate the paleolatitude/colatitude",
"dataframe",
"[",
"'paleolatitude'",
"]",
"=",
"np",
".",
"degrees",
"(",
"np",
".",
"arctan",
"(",
"0.5",
"*",
"np",
".",
"tan",
"(",
"np",
".",
"radians",
"(",
"dataframe",
"[",
"inc_is",
"]",
")",
")",
")",
")",
"dataframe",
"[",
"'colatitude'",
"]",
"=",
"90",
"-",
"dataframe",
"[",
"'paleolatitude'",
"]",
"# calculate the latitude of the pole",
"dataframe",
"[",
"'vgp_lat'",
"]",
"=",
"np",
".",
"degrees",
"(",
"np",
".",
"arcsin",
"(",
"np",
".",
"sin",
"(",
"np",
".",
"radians",
"(",
"dataframe",
"[",
"site_lat",
"]",
")",
")",
"*",
"np",
".",
"cos",
"(",
"np",
".",
"radians",
"(",
"dataframe",
"[",
"'colatitude'",
"]",
")",
")",
"+",
"np",
".",
"cos",
"(",
"np",
".",
"radians",
"(",
"dataframe",
"[",
"site_lat",
"]",
")",
")",
"*",
"np",
".",
"sin",
"(",
"np",
".",
"radians",
"(",
"dataframe",
"[",
"'colatitude'",
"]",
")",
")",
"*",
"np",
".",
"cos",
"(",
"np",
".",
"radians",
"(",
"dataframe",
"[",
"dec_is",
"]",
")",
")",
")",
")",
"# calculate the longitudinal difference between the pole and the site",
"# (beta)",
"dataframe",
"[",
"'beta'",
"]",
"=",
"np",
".",
"degrees",
"(",
"np",
".",
"arcsin",
"(",
"old_div",
"(",
"(",
"np",
".",
"sin",
"(",
"np",
".",
"radians",
"(",
"dataframe",
"[",
"'colatitude'",
"]",
")",
")",
"*",
"np",
".",
"sin",
"(",
"np",
".",
"radians",
"(",
"dataframe",
"[",
"dec_is",
"]",
")",
")",
")",
",",
"(",
"np",
".",
"cos",
"(",
"np",
".",
"radians",
"(",
"dataframe",
"[",
"'vgp_lat'",
"]",
")",
")",
")",
")",
")",
")",
"# generate a boolean array (mask) to use to distinguish between the two possibilities for pole longitude",
"# and then calculate pole longitude using the site location and",
"# calculated beta",
"mask",
"=",
"np",
".",
"cos",
"(",
"np",
".",
"radians",
"(",
"dataframe",
"[",
"'colatitude'",
"]",
")",
")",
">",
"np",
".",
"sin",
"(",
"np",
".",
"radians",
"(",
"dataframe",
"[",
"site_lat",
"]",
")",
")",
"*",
"np",
".",
"sin",
"(",
"np",
".",
"radians",
"(",
"dataframe",
"[",
"'vgp_lat'",
"]",
")",
")",
"dataframe",
"[",
"'vgp_lon'",
"]",
"=",
"np",
".",
"where",
"(",
"mask",
",",
"(",
"dataframe",
"[",
"site_lon",
"]",
"+",
"dataframe",
"[",
"'beta'",
"]",
")",
"%",
"360.",
",",
"(",
"dataframe",
"[",
"site_lon",
"]",
"+",
"180",
"-",
"dataframe",
"[",
"'beta'",
"]",
")",
"%",
"360.",
")",
"# calculate the antipode of the poles",
"dataframe",
"[",
"'vgp_lat_rev'",
"]",
"=",
"-",
"dataframe",
"[",
"'vgp_lat'",
"]",
"dataframe",
"[",
"'vgp_lon_rev'",
"]",
"=",
"(",
"dataframe",
"[",
"'vgp_lon'",
"]",
"-",
"180.",
")",
"%",
"360.",
"# the 'colatitude' and 'beta' columns were created for the purposes of the pole calculations",
"# but aren't of further use and are deleted",
"del",
"dataframe",
"[",
"'colatitude'",
"]",
"del",
"dataframe",
"[",
"'beta'",
"]",
"return",
"(",
"dataframe",
")"
] |
This function calculates paleomagnetic poles using directional data and site
location data within a pandas.DataFrame. The function adds the columns
'paleolatitude', 'vgp_lat', 'vgp_lon', 'vgp_lat_rev', and 'vgp_lon_rev'
to the dataframe. The '_rev' columns allow for subsequent choice as to which
polarity will be used for the VGPs.
Parameters
-----------
dataframe : the name of the pandas.DataFrame containing the data
tilt-correction : 'yes' is the default and uses tilt-corrected data (dec_tc, inc_tc), 'no' uses data that is not tilt-corrected and is in geographic coordinates
dataframe['site_lat'] : the name of the Dataframe column containing the latitude of the site
dataframe['site_lon'] : the name of the Dataframe column containing the longitude of the site
dataframe['inc_tc'] : the name of the Dataframe column containing the tilt-corrected inclination (used by default tilt-correction='yes')
dataframe['dec_tc'] : the name of the Dataframe column containing the tilt-corrected declination (used by default tilt-correction='yes')
dataframe['inc_is'] : the name of the Dataframe column containing the insitu inclination (used when tilt-correction='no')
dataframe['dec_is'] : the name of the Dataframe column containing the insitu declination (used when tilt-correction='no')
Returns
-------
dataframe['paleolatitude']
dataframe['colatitude']
dataframe['vgp_lat']
dataframe['vgp_lon']
dataframe['vgp_lat_rev']
dataframe['vgp_lon_rev']
|
[
"This",
"function",
"calculates",
"paleomagnetic",
"poles",
"using",
"directional",
"data",
"and",
"site",
"location",
"data",
"within",
"a",
"pandas",
".",
"DataFrame",
".",
"The",
"function",
"adds",
"the",
"columns",
"paleolatitude",
"vgp_lat",
"vgp_lon",
"vgp_lat_rev",
"and",
"vgp_lon_rev",
"to",
"the",
"dataframe",
".",
"The",
"_rev",
"columns",
"allow",
"for",
"subsequent",
"choice",
"as",
"to",
"which",
"polarity",
"will",
"be",
"used",
"for",
"the",
"VGPs",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L2183-L2272
|
train
|
Calculates paleomagnetic poles using directional data and site location data within a pandas. DataFrame.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(0b101 + 0o53) + chr(0b1101111) + chr(0b111 + 0o53) + chr(2148 - 2100) + chr(293 - 239), 0o10), nzTpIcepk0o8('\060' + chr(0b1000000 + 0o57) + chr(0b100010 + 0o22) + '\x31', 0b1000), nzTpIcepk0o8('\x30' + '\x6f' + '\x32' + chr(0b110101) + chr(270 - 219), 61286 - 61278), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\x31', 0o10), nzTpIcepk0o8('\x30' + chr(0b111010 + 0o65) + '\063' + '\066' + chr(0b110001), 9415 - 9407), nzTpIcepk0o8('\060' + chr(0b1010101 + 0o32) + chr(0b111 + 0o56) + chr(0b110111), 0b1000), nzTpIcepk0o8(chr(48) + '\157' + chr(55) + chr(0b110001 + 0o2), 0o10), nzTpIcepk0o8('\060' + '\157' + chr(51) + chr(51) + chr(0b0 + 0o65), 0b1000), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(55) + chr(1594 - 1544), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(9032 - 8921) + chr(49) + chr(55) + chr(48), 49924 - 49916), nzTpIcepk0o8(chr(0b11 + 0o55) + '\x6f' + '\063' + chr(48) + chr(0b110000), ord("\x08")), nzTpIcepk0o8(chr(221 - 173) + chr(111) + chr(799 - 750) + chr(906 - 856) + chr(1461 - 1413), 58861 - 58853), nzTpIcepk0o8('\060' + '\157' + '\063' + chr(737 - 687) + '\066', 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1101101 + 0o2) + chr(0b100100 + 0o16) + chr(0b101101 + 0o7) + chr(48), 0b1000), nzTpIcepk0o8('\060' + chr(5533 - 5422) + chr(50) + chr(0b110100) + '\065', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b110011) + chr(52), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1101010 + 0o5) + chr(51) + chr(0b110100) + '\065', 690 - 682), nzTpIcepk0o8(chr(484 - 436) + '\x6f' + '\063' + '\062' + chr(366 - 315), 0b1000), nzTpIcepk0o8(chr(0b10110 + 0o32) + chr(0b1101111) + chr(803 - 753) + '\x33' + chr(0b1000 + 0o51), 0b1000), nzTpIcepk0o8('\060' + chr(111) + '\062' + chr(0b110100) + '\x35', 8), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(51) + '\x33' + '\x37', ord("\x08")), nzTpIcepk0o8(chr(48) + chr(1311 - 1200) + chr(49) + '\x36' + '\067', ord("\x08")), nzTpIcepk0o8('\060' + chr(0b1101111) + '\x32' + chr(0b110000) + chr(854 - 805), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b110010) + chr(0b110100) + chr(0b110010), 0b1000), nzTpIcepk0o8(chr(401 - 353) + '\157' + chr(0b110010 + 0o0) + chr(0b11110 + 0o31), 0b1000), nzTpIcepk0o8(chr(1103 - 1055) + chr(0b1010111 + 0o30) + chr(0b110010) + chr(0b110011) + chr(0b10001 + 0o41), 5481 - 5473), nzTpIcepk0o8('\x30' + chr(0b100011 + 0o114) + '\x31' + '\060' + '\067', 27067 - 27059), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b101111 + 0o4) + chr(0b1110 + 0o47), 0o10), nzTpIcepk0o8(chr(0b100000 + 0o20) + '\x6f' + chr(50) + '\x34' + chr(50), 8), nzTpIcepk0o8(chr(0b11101 + 0o23) + '\x6f' + chr(0b110001) + chr(2203 - 2152) + '\066', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(10409 - 10298) + chr(425 - 372) + chr(0b110010), ord("\x08")), nzTpIcepk0o8(chr(48) + '\x6f' + '\062' + chr(1505 - 1457) + '\063', ord("\x08")), nzTpIcepk0o8(chr(0b11101 + 0o23) + chr(0b1101111) + '\062' + chr(1249 - 1194) + chr(50), ord("\x08")), nzTpIcepk0o8('\x30' + chr(4233 - 4122) + chr(0b110001) + '\x32' + '\063', 0o10), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\061' + '\061' + chr(0b110001), ord("\x08")), nzTpIcepk0o8('\x30' + '\x6f' + '\x37' + '\x30', 4447 - 4439), nzTpIcepk0o8(chr(0b10010 + 0o36) + '\x6f' + chr(1470 - 1419) + '\x32' + chr(2632 - 2579), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b10110 + 0o34) + chr(1003 - 951) + chr(53), 8), nzTpIcepk0o8(chr(0b110000) + '\157' + '\061' + chr(0b100011 + 0o20), 0o10), nzTpIcepk0o8('\x30' + chr(12032 - 11921) + '\061' + chr(92 - 44), ord("\x08"))][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(0b100 + 0o54) + chr(0b1010111 + 0o30) + chr(0b110101) + '\060', 0b1000)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xa8'), chr(100) + '\145' + '\143' + chr(111) + '\x64' + chr(0b1000001 + 0o44))(chr(7438 - 7321) + '\x74' + chr(0b1100110 + 0o0) + chr(0b101 + 0o50) + chr(0b111000)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def DkNtVfYYVaTK(JGOfJ3ibSnmm, E2yuUXKVQlCx=roI3spqORKae(ES5oEprVxulp(b'\xffD\xd8'), chr(100) + chr(6705 - 6604) + chr(0b1100011) + chr(442 - 331) + chr(100) + chr(0b100110 + 0o77))(chr(0b111000 + 0o75) + '\164' + '\x66' + chr(45) + chr(0b100100 + 0o24)), swSkCuY5y4d_=roI3spqORKae(ES5oEprVxulp(b'\xf5H\xdfd\xaeCT\xb3'), chr(0b1100100) + chr(0b1011111 + 0o6) + chr(5121 - 5022) + chr(0b111 + 0o150) + chr(0b1100100) + '\x65')('\165' + chr(0b1110100) + chr(0b1001101 + 0o31) + chr(0b101101) + chr(56)), Co2cX618Vvm3=roI3spqORKae(ES5oEprVxulp(b'\xf5H\xdfd\xaeCZ\xa9'), '\144' + chr(101) + chr(0b1100011) + chr(111) + chr(781 - 681) + '\145')(chr(2685 - 2568) + '\164' + chr(743 - 641) + chr(45) + chr(2104 - 2048)), T7h6AkFTRyVJ=roI3spqORKae(ES5oEprVxulp(b'\xe2D\xc8^\x98\\'), chr(0b111011 + 0o51) + chr(101) + chr(99) + '\x6f' + chr(9220 - 9120) + '\145')(chr(117) + chr(0b1110100) + '\146' + chr(45) + chr(0b10 + 0o66)), nuHt0vm88r6F=roI3spqORKae(ES5oEprVxulp(b'\xefO\xc8^\x98\\'), '\x64' + chr(101) + chr(0b10001 + 0o122) + '\x6f' + '\144' + chr(243 - 142))(chr(0b1110101) + '\164' + chr(0b11011 + 0o113) + chr(891 - 846) + chr(56)), LQBnee4a4qTF=roI3spqORKae(ES5oEprVxulp(b'\xe2D\xc8^\x85L'), '\144' + chr(101) + chr(0b1100011) + '\x6f' + chr(0b1100100) + '\145')(chr(117) + chr(0b1111 + 0o145) + '\146' + chr(0b1001 + 0o44) + chr(56)), WP2hTbVaBNgD=roI3spqORKae(ES5oEprVxulp(b'\xefO\xc8^\x85L'), '\144' + chr(0b1011100 + 0o11) + '\x63' + chr(8624 - 8513) + '\144' + '\145')('\x75' + chr(116) + '\x66' + chr(0b101101) + '\070')):
JGOfJ3ibSnmm.ZCKACHtm00o4 = nzTpIcepk0o8(chr(2079 - 2031) + chr(10013 - 9902) + '\060', 46821 - 46813)
if E2yuUXKVQlCx == roI3spqORKae(ES5oEprVxulp(b'\xffD\xd8'), '\144' + chr(101) + '\x63' + chr(0b100010 + 0o115) + '\x64' + '\145')(chr(0b1001110 + 0o47) + '\164' + chr(102) + chr(1876 - 1831) + chr(819 - 763)):
JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xf6@\xc7d\x9eCZ\xa9S\x0c\xb54\xb3'), '\x64' + chr(8680 - 8579) + '\x63' + chr(111) + chr(0b101110 + 0o66) + chr(1072 - 971))(chr(0b1110101) + '\164' + chr(102) + chr(171 - 126) + chr(0b111000))] = nDF4gVNx0u9Q.degrees(nDF4gVNx0u9Q.arctan(0.5 * nDF4gVNx0u9Q.tan(nDF4gVNx0u9Q.radians(JGOfJ3ibSnmm[WP2hTbVaBNgD]))))
JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xe5N\xc7`\x85FO\xa8^\x1d'), chr(0b1100100) + chr(0b1100101) + '\x63' + chr(7296 - 7185) + '\144' + chr(101))(chr(0b1011000 + 0o35) + chr(6172 - 6056) + '\x66' + '\055' + chr(0b111000))] = nzTpIcepk0o8(chr(1584 - 1536) + chr(0b1101111) + chr(49) + chr(0b110011) + '\062', 15023 - 15015) - JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xf6@\xc7d\x9eCZ\xa9S\x0c\xb54\xb3'), chr(0b10100 + 0o120) + chr(101) + chr(4828 - 4729) + '\157' + chr(100) + chr(0b1100101))('\x75' + '\164' + '\x66' + chr(479 - 434) + chr(0b11110 + 0o32))]
JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xf0F\xdb^\x9dNO'), '\144' + chr(0b100011 + 0o102) + chr(99) + '\157' + '\144' + chr(0b11000 + 0o115))('\165' + chr(12995 - 12879) + '\146' + chr(0b101101) + chr(56))] = nDF4gVNx0u9Q.degrees(nDF4gVNx0u9Q.arcsin(nDF4gVNx0u9Q.TMleLVztqSLZ(nDF4gVNx0u9Q.radians(JGOfJ3ibSnmm[Co2cX618Vvm3])) * nDF4gVNx0u9Q.mLriLohwQ9NU(nDF4gVNx0u9Q.radians(JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xe5N\xc7`\x85FO\xa8^\x1d'), chr(4429 - 4329) + chr(0b1100101) + chr(0b1011001 + 0o12) + chr(7498 - 7387) + '\144' + '\145')(chr(0b1110101) + '\x74' + chr(0b100000 + 0o106) + chr(0b101101) + chr(56))])) + nDF4gVNx0u9Q.mLriLohwQ9NU(nDF4gVNx0u9Q.radians(JGOfJ3ibSnmm[Co2cX618Vvm3])) * nDF4gVNx0u9Q.TMleLVztqSLZ(nDF4gVNx0u9Q.radians(JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xe5N\xc7`\x85FO\xa8^\x1d'), '\x64' + chr(0b10000 + 0o125) + '\x63' + chr(1613 - 1502) + chr(0b10011 + 0o121) + chr(101))(chr(0b10000 + 0o145) + '\164' + chr(4044 - 3942) + chr(458 - 413) + chr(2219 - 2163))])) * nDF4gVNx0u9Q.mLriLohwQ9NU(nDF4gVNx0u9Q.radians(JGOfJ3ibSnmm[LQBnee4a4qTF]))))
JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xe4D\xdf`'), '\144' + chr(0b1010110 + 0o17) + '\x63' + chr(0b110010 + 0o75) + chr(100) + '\x65')(chr(7188 - 7071) + chr(0b1110100) + '\x66' + '\x2d' + chr(853 - 797))] = nDF4gVNx0u9Q.degrees(nDF4gVNx0u9Q.arcsin(SVfYwQaP38MC(nDF4gVNx0u9Q.TMleLVztqSLZ(nDF4gVNx0u9Q.radians(JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xe5N\xc7`\x85FO\xa8^\x1d'), '\x64' + chr(0b100110 + 0o77) + chr(2617 - 2518) + chr(0b1101111) + '\x64' + chr(101))('\x75' + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(1843 - 1787))])) * nDF4gVNx0u9Q.TMleLVztqSLZ(nDF4gVNx0u9Q.radians(JGOfJ3ibSnmm[LQBnee4a4qTF])), nDF4gVNx0u9Q.mLriLohwQ9NU(nDF4gVNx0u9Q.radians(JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xf0F\xdb^\x9dNO'), chr(0b11000 + 0o114) + '\145' + '\143' + chr(0b1101111) + chr(8671 - 8571) + chr(0b1100101))(chr(117) + '\x74' + chr(0b11100 + 0o112) + chr(0b1101 + 0o40) + '\070')])))))
BBM8dxm7YWge = nDF4gVNx0u9Q.mLriLohwQ9NU(nDF4gVNx0u9Q.radians(JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xe5N\xc7`\x85FO\xa8^\x1d'), '\144' + chr(0b11011 + 0o112) + '\x63' + '\157' + chr(0b1100100) + chr(8350 - 8249))('\165' + chr(0b1110100) + chr(0b100101 + 0o101) + chr(1454 - 1409) + chr(859 - 803))])) > nDF4gVNx0u9Q.TMleLVztqSLZ(nDF4gVNx0u9Q.radians(JGOfJ3ibSnmm[Co2cX618Vvm3])) * nDF4gVNx0u9Q.TMleLVztqSLZ(nDF4gVNx0u9Q.radians(JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xf0F\xdb^\x9dNO'), chr(100) + chr(0b1100101) + chr(99) + chr(0b1000110 + 0o51) + chr(0b1100100) + chr(101))(chr(0b1110101) + chr(116) + chr(0b111011 + 0o53) + '\055' + chr(0b1011 + 0o55))]))
JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xf0F\xdb^\x9d@U'), '\144' + chr(6672 - 6571) + '\143' + chr(0b110001 + 0o76) + chr(0b1011101 + 0o7) + chr(0b1100101))('\165' + chr(5465 - 5349) + chr(0b1100110) + '\x2d' + chr(0b111000))] = nDF4gVNx0u9Q.xWH4M7K6Qbd3(BBM8dxm7YWge, (JGOfJ3ibSnmm[swSkCuY5y4d_] + JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xe4D\xdf`'), chr(8598 - 8498) + chr(0b1100101) + chr(0b1011101 + 0o6) + '\x6f' + chr(100) + chr(0b110100 + 0o61))(chr(0b100000 + 0o125) + chr(116) + chr(0b1011010 + 0o14) + '\055' + chr(0b111000))]) % 360.0, (JGOfJ3ibSnmm[swSkCuY5y4d_] + nzTpIcepk0o8(chr(2068 - 2020) + chr(2065 - 1954) + chr(0b1000 + 0o52) + chr(54) + chr(0b110100), 0b1000) - JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xe4D\xdf`'), chr(100) + chr(101) + chr(190 - 91) + chr(0b1101111) + chr(0b111111 + 0o45) + chr(0b110110 + 0o57))(chr(117) + chr(0b1101110 + 0o6) + chr(0b1100110) + '\055' + chr(0b111000))]) % 360.0)
JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xf0F\xdb^\x9dNO\x82H\x1d\xb6'), '\x64' + chr(101) + '\143' + '\157' + chr(8892 - 8792) + chr(3619 - 3518))('\165' + chr(0b100010 + 0o122) + chr(0b1001010 + 0o34) + chr(437 - 392) + chr(0b111000))] = -JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xf0F\xdb^\x9dNO'), '\x64' + '\x65' + chr(206 - 107) + chr(0b1011100 + 0o23) + '\x64' + chr(0b1001111 + 0o26))(chr(117) + '\x74' + chr(0b1010100 + 0o22) + chr(0b101101) + chr(0b1110 + 0o52))]
JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xf0F\xdb^\x9d@U\x82H\x1d\xb6'), '\x64' + '\145' + chr(0b1100011) + '\x6f' + chr(100) + chr(0b1000111 + 0o36))('\165' + chr(116) + chr(0b1100110) + chr(0b10001 + 0o34) + chr(56))] = (JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xf0F\xdb^\x9d@U'), chr(100) + '\145' + chr(0b10111 + 0o114) + chr(0b101000 + 0o107) + '\x64' + chr(101))(chr(0b1110000 + 0o5) + chr(5802 - 5686) + chr(0b1100110) + chr(45) + chr(56))] - 180.0) % 360.0
del JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xe5N\xc7`\x85FO\xa8^\x1d'), chr(100) + chr(0b1100101) + '\143' + '\x6f' + '\144' + chr(101))('\x75' + '\x74' + chr(102) + '\055' + '\x38')]
del JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xe4D\xdf`'), chr(100) + chr(0b1001000 + 0o35) + chr(1503 - 1404) + chr(111) + '\144' + chr(0b101 + 0o140))(chr(0b110 + 0o157) + chr(0b1110100) + chr(0b1110 + 0o130) + chr(0b101101) + chr(56))]
if E2yuUXKVQlCx == roI3spqORKae(ES5oEprVxulp(b'\xe8N'), chr(0b1001110 + 0o26) + chr(0b1100101) + '\x63' + chr(391 - 280) + chr(100) + chr(7051 - 6950))('\x75' + chr(5979 - 5863) + chr(2315 - 2213) + chr(0b100011 + 0o12) + '\070'):
JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xf6@\xc7d\x9eCZ\xa9S\x0c\xb54\xb3'), chr(0b1001100 + 0o30) + chr(101) + '\x63' + '\157' + chr(0b1100100) + chr(1781 - 1680))(chr(0b1101111 + 0o6) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(56))] = nDF4gVNx0u9Q.degrees(nDF4gVNx0u9Q.arctan(0.5 * nDF4gVNx0u9Q.tan(nDF4gVNx0u9Q.radians(JGOfJ3ibSnmm[nuHt0vm88r6F]))))
JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xe5N\xc7`\x85FO\xa8^\x1d'), chr(0b1100100) + '\145' + '\143' + chr(0b1010101 + 0o32) + chr(100) + chr(0b1110 + 0o127))(chr(0b1110101) + chr(116) + chr(1649 - 1547) + '\x2d' + chr(2763 - 2707))] = nzTpIcepk0o8(chr(0b110000) + chr(0b1111 + 0o140) + chr(0b100111 + 0o12) + chr(1329 - 1278) + chr(0b110010), 8) - JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xf6@\xc7d\x9eCZ\xa9S\x0c\xb54\xb3'), chr(0b100011 + 0o101) + chr(101) + '\x63' + chr(0b1101111) + chr(4107 - 4007) + '\145')(chr(0b1011110 + 0o27) + chr(6786 - 6670) + '\x66' + chr(0b10 + 0o53) + chr(2798 - 2742))]
JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xf0F\xdb^\x9dNO'), '\144' + chr(101) + chr(0b1100011) + chr(1679 - 1568) + chr(0b1100100) + chr(5146 - 5045))(chr(0b1101 + 0o150) + '\x74' + '\146' + chr(590 - 545) + chr(0b111000))] = nDF4gVNx0u9Q.degrees(nDF4gVNx0u9Q.arcsin(nDF4gVNx0u9Q.TMleLVztqSLZ(nDF4gVNx0u9Q.radians(JGOfJ3ibSnmm[Co2cX618Vvm3])) * nDF4gVNx0u9Q.mLriLohwQ9NU(nDF4gVNx0u9Q.radians(JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xe5N\xc7`\x85FO\xa8^\x1d'), '\144' + chr(101) + chr(1990 - 1891) + chr(0b1001000 + 0o47) + chr(6941 - 6841) + chr(101))(chr(3695 - 3578) + chr(0b1110100) + chr(102) + '\055' + chr(0b111000))])) + nDF4gVNx0u9Q.mLriLohwQ9NU(nDF4gVNx0u9Q.radians(JGOfJ3ibSnmm[Co2cX618Vvm3])) * nDF4gVNx0u9Q.TMleLVztqSLZ(nDF4gVNx0u9Q.radians(JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xe5N\xc7`\x85FO\xa8^\x1d'), chr(100) + '\x65' + chr(99) + chr(2691 - 2580) + chr(0b10100 + 0o120) + '\145')('\x75' + '\164' + chr(0b11 + 0o143) + chr(1319 - 1274) + '\x38')])) * nDF4gVNx0u9Q.mLriLohwQ9NU(nDF4gVNx0u9Q.radians(JGOfJ3ibSnmm[T7h6AkFTRyVJ]))))
JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xe4D\xdf`'), chr(0b11101 + 0o107) + chr(0b1100101) + chr(0b100111 + 0o74) + '\157' + chr(0b1100100) + '\145')(chr(0b1110101) + '\164' + chr(102) + chr(0b101101) + chr(56))] = nDF4gVNx0u9Q.degrees(nDF4gVNx0u9Q.arcsin(SVfYwQaP38MC(nDF4gVNx0u9Q.TMleLVztqSLZ(nDF4gVNx0u9Q.radians(JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xe5N\xc7`\x85FO\xa8^\x1d'), '\x64' + '\x65' + chr(0b1100011) + chr(0b110011 + 0o74) + '\144' + chr(0b111 + 0o136))('\x75' + chr(6765 - 6649) + chr(102) + '\x2d' + chr(0b111000))])) * nDF4gVNx0u9Q.TMleLVztqSLZ(nDF4gVNx0u9Q.radians(JGOfJ3ibSnmm[T7h6AkFTRyVJ])), nDF4gVNx0u9Q.mLriLohwQ9NU(nDF4gVNx0u9Q.radians(JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xf0F\xdb^\x9dNO'), '\x64' + chr(0b1100101) + chr(0b1100011) + chr(0b111000 + 0o67) + chr(0b1100100) + '\145')('\x75' + chr(0b10 + 0o162) + '\x66' + chr(0b100001 + 0o14) + chr(0b1101 + 0o53))])))))
BBM8dxm7YWge = nDF4gVNx0u9Q.mLriLohwQ9NU(nDF4gVNx0u9Q.radians(JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xe5N\xc7`\x85FO\xa8^\x1d'), chr(5971 - 5871) + '\145' + chr(99) + chr(0b11101 + 0o122) + chr(5989 - 5889) + chr(0b1100101))(chr(0b1110101) + '\164' + chr(8238 - 8136) + chr(45) + '\x38')])) > nDF4gVNx0u9Q.TMleLVztqSLZ(nDF4gVNx0u9Q.radians(JGOfJ3ibSnmm[Co2cX618Vvm3])) * nDF4gVNx0u9Q.TMleLVztqSLZ(nDF4gVNx0u9Q.radians(JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xf0F\xdb^\x9dNO'), chr(100) + '\145' + chr(99) + '\157' + chr(0b111111 + 0o45) + '\145')('\x75' + chr(116) + chr(0b111101 + 0o51) + chr(0b110 + 0o47) + chr(0b110001 + 0o7))]))
JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xf0F\xdb^\x9d@U'), '\x64' + '\145' + '\143' + '\x6f' + chr(0b111 + 0o135) + chr(4796 - 4695))('\x75' + '\x74' + chr(102) + chr(0b101101) + '\070')] = nDF4gVNx0u9Q.xWH4M7K6Qbd3(BBM8dxm7YWge, (JGOfJ3ibSnmm[swSkCuY5y4d_] + JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xe4D\xdf`'), '\144' + chr(0b1100101) + '\x63' + chr(0b1101111) + chr(0b1100100) + '\x65')('\165' + '\164' + chr(102) + chr(1441 - 1396) + chr(0b111000))]) % 360.0, (JGOfJ3ibSnmm[swSkCuY5y4d_] + nzTpIcepk0o8(chr(0b110000) + chr(0b1010000 + 0o37) + '\062' + chr(54) + chr(52), 8) - JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xe4D\xdf`'), chr(9392 - 9292) + chr(0b1100101) + chr(0b1100011) + chr(0b1101111) + '\144' + '\x65')(chr(0b10 + 0o163) + chr(5970 - 5854) + chr(3499 - 3397) + chr(0b10 + 0o53) + chr(990 - 934))]) % 360.0)
JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xf0F\xdb^\x9dNO\x82H\x1d\xb6'), '\x64' + chr(0b101 + 0o140) + '\143' + chr(111) + chr(387 - 287) + chr(7076 - 6975))(chr(0b1110101 + 0o0) + '\164' + '\146' + chr(0b101101) + '\070')] = -JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xf0F\xdb^\x9dNO'), chr(0b0 + 0o144) + '\145' + chr(0b1100011) + chr(6718 - 6607) + chr(0b100001 + 0o103) + '\x65')(chr(0b1000111 + 0o56) + '\164' + '\x66' + chr(0b101101) + chr(971 - 915))]
JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xf0F\xdb^\x9d@U\x82H\x1d\xb6'), chr(0b1100100) + chr(4785 - 4684) + '\143' + '\157' + '\144' + chr(0b1000011 + 0o42))(chr(0b111111 + 0o66) + '\164' + chr(0b110011 + 0o63) + '\055' + chr(56))] = (JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xf0F\xdb^\x9d@U'), '\x64' + '\145' + '\143' + chr(0b1101111) + chr(0b1010010 + 0o22) + '\x65')(chr(0b10010 + 0o143) + chr(116) + chr(3354 - 3252) + chr(0b101101) + '\070')] - 180.0) % 360.0
del JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xe5N\xc7`\x85FO\xa8^\x1d'), '\144' + chr(0b110001 + 0o64) + '\x63' + chr(4500 - 4389) + chr(0b1100100) + chr(101))('\165' + chr(0b1010011 + 0o41) + chr(102) + chr(45) + '\x38')]
del JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\xe4D\xdf`'), chr(0b1100100) + chr(8711 - 8610) + chr(99) + '\x6f' + '\x64' + chr(0b1100101))('\165' + chr(0b1110100) + '\146' + chr(45) + chr(0b10101 + 0o43))]
return JGOfJ3ibSnmm
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
sb_vgp_calc
|
def sb_vgp_calc(dataframe, site_correction='yes', dec_tc='dec_tc', inc_tc='inc_tc'):
"""
This function calculates the angular dispersion of VGPs and corrects
for within site dispersion (unless site_correction = 'no') to return
a value S_b. The input data needs to be within a pandas Dataframe.
Parameters
-----------
dataframe : the name of the pandas.DataFrame containing the data
the data frame needs to contain these columns:
dataframe['site_lat'] : latitude of the site
dataframe['site_lon'] : longitude of the site
dataframe['k'] : fisher precision parameter for directions
dataframe['vgp_lat'] : VGP latitude
dataframe['vgp_lon'] : VGP longitude
----- the following default parameters can be changes by keyword argument -----
dataframe['inc_tc'] : tilt-corrected inclination
dataframe['dec_tc'] : tilt-corrected declination
plot : default is 'no', will make a plot of poles if 'yes'
"""
# calculate the mean from the directional data
dataframe_dirs = []
for n in range(0, len(dataframe)):
dataframe_dirs.append([dataframe[dec_tc][n],
dataframe[inc_tc][n], 1.])
dataframe_dir_mean = pmag.fisher_mean(dataframe_dirs)
# calculate the mean from the vgp data
dataframe_poles = []
dataframe_pole_lats = []
dataframe_pole_lons = []
for n in range(0, len(dataframe)):
dataframe_poles.append([dataframe['vgp_lon'][n],
dataframe['vgp_lat'][n], 1.])
dataframe_pole_lats.append(dataframe['vgp_lat'][n])
dataframe_pole_lons.append(dataframe['vgp_lon'][n])
dataframe_pole_mean = pmag.fisher_mean(dataframe_poles)
# calculate mean paleolatitude from the directional data
dataframe['paleolatitude'] = lat_from_inc(dataframe_dir_mean['inc'])
angle_list = []
for n in range(0, len(dataframe)):
angle = pmag.angle([dataframe['vgp_lon'][n], dataframe['vgp_lat'][n]],
[dataframe_pole_mean['dec'], dataframe_pole_mean['inc']])
angle_list.append(angle[0])
dataframe['delta_mean_pole'] = angle_list
if site_correction == 'yes':
# use eq. 2 of Cox (1970) to translate the directional precision parameter
# into pole coordinates using the assumption of a Fisherian distribution in
# directional coordinates and the paleolatitude as calculated from mean
# inclination using the dipole equation
dataframe['K'] = old_div(dataframe['k'], (0.125 * (5 + 18 * np.sin(np.deg2rad(dataframe['paleolatitude']))**2
+ 9 * np.sin(np.deg2rad(dataframe['paleolatitude']))**4)))
dataframe['Sw'] = old_div(81, (dataframe['K']**0.5))
summation = 0
N = 0
for n in range(0, len(dataframe)):
quantity = dataframe['delta_mean_pole'][n]**2 - \
old_div(dataframe['Sw'][n]**2, dataframe['n'][n])
summation += quantity
N += 1
Sb = ((old_div(1.0, (N - 1.0))) * summation)**0.5
if site_correction == 'no':
summation = 0
N = 0
for n in range(0, len(dataframe)):
quantity = dataframe['delta_mean_pole'][n]**2
summation += quantity
N += 1
Sb = ((old_div(1.0, (N - 1.0))) * summation)**0.5
return Sb
|
python
|
def sb_vgp_calc(dataframe, site_correction='yes', dec_tc='dec_tc', inc_tc='inc_tc'):
"""
This function calculates the angular dispersion of VGPs and corrects
for within site dispersion (unless site_correction = 'no') to return
a value S_b. The input data needs to be within a pandas Dataframe.
Parameters
-----------
dataframe : the name of the pandas.DataFrame containing the data
the data frame needs to contain these columns:
dataframe['site_lat'] : latitude of the site
dataframe['site_lon'] : longitude of the site
dataframe['k'] : fisher precision parameter for directions
dataframe['vgp_lat'] : VGP latitude
dataframe['vgp_lon'] : VGP longitude
----- the following default parameters can be changes by keyword argument -----
dataframe['inc_tc'] : tilt-corrected inclination
dataframe['dec_tc'] : tilt-corrected declination
plot : default is 'no', will make a plot of poles if 'yes'
"""
# calculate the mean from the directional data
dataframe_dirs = []
for n in range(0, len(dataframe)):
dataframe_dirs.append([dataframe[dec_tc][n],
dataframe[inc_tc][n], 1.])
dataframe_dir_mean = pmag.fisher_mean(dataframe_dirs)
# calculate the mean from the vgp data
dataframe_poles = []
dataframe_pole_lats = []
dataframe_pole_lons = []
for n in range(0, len(dataframe)):
dataframe_poles.append([dataframe['vgp_lon'][n],
dataframe['vgp_lat'][n], 1.])
dataframe_pole_lats.append(dataframe['vgp_lat'][n])
dataframe_pole_lons.append(dataframe['vgp_lon'][n])
dataframe_pole_mean = pmag.fisher_mean(dataframe_poles)
# calculate mean paleolatitude from the directional data
dataframe['paleolatitude'] = lat_from_inc(dataframe_dir_mean['inc'])
angle_list = []
for n in range(0, len(dataframe)):
angle = pmag.angle([dataframe['vgp_lon'][n], dataframe['vgp_lat'][n]],
[dataframe_pole_mean['dec'], dataframe_pole_mean['inc']])
angle_list.append(angle[0])
dataframe['delta_mean_pole'] = angle_list
if site_correction == 'yes':
# use eq. 2 of Cox (1970) to translate the directional precision parameter
# into pole coordinates using the assumption of a Fisherian distribution in
# directional coordinates and the paleolatitude as calculated from mean
# inclination using the dipole equation
dataframe['K'] = old_div(dataframe['k'], (0.125 * (5 + 18 * np.sin(np.deg2rad(dataframe['paleolatitude']))**2
+ 9 * np.sin(np.deg2rad(dataframe['paleolatitude']))**4)))
dataframe['Sw'] = old_div(81, (dataframe['K']**0.5))
summation = 0
N = 0
for n in range(0, len(dataframe)):
quantity = dataframe['delta_mean_pole'][n]**2 - \
old_div(dataframe['Sw'][n]**2, dataframe['n'][n])
summation += quantity
N += 1
Sb = ((old_div(1.0, (N - 1.0))) * summation)**0.5
if site_correction == 'no':
summation = 0
N = 0
for n in range(0, len(dataframe)):
quantity = dataframe['delta_mean_pole'][n]**2
summation += quantity
N += 1
Sb = ((old_div(1.0, (N - 1.0))) * summation)**0.5
return Sb
|
[
"def",
"sb_vgp_calc",
"(",
"dataframe",
",",
"site_correction",
"=",
"'yes'",
",",
"dec_tc",
"=",
"'dec_tc'",
",",
"inc_tc",
"=",
"'inc_tc'",
")",
":",
"# calculate the mean from the directional data",
"dataframe_dirs",
"=",
"[",
"]",
"for",
"n",
"in",
"range",
"(",
"0",
",",
"len",
"(",
"dataframe",
")",
")",
":",
"dataframe_dirs",
".",
"append",
"(",
"[",
"dataframe",
"[",
"dec_tc",
"]",
"[",
"n",
"]",
",",
"dataframe",
"[",
"inc_tc",
"]",
"[",
"n",
"]",
",",
"1.",
"]",
")",
"dataframe_dir_mean",
"=",
"pmag",
".",
"fisher_mean",
"(",
"dataframe_dirs",
")",
"# calculate the mean from the vgp data",
"dataframe_poles",
"=",
"[",
"]",
"dataframe_pole_lats",
"=",
"[",
"]",
"dataframe_pole_lons",
"=",
"[",
"]",
"for",
"n",
"in",
"range",
"(",
"0",
",",
"len",
"(",
"dataframe",
")",
")",
":",
"dataframe_poles",
".",
"append",
"(",
"[",
"dataframe",
"[",
"'vgp_lon'",
"]",
"[",
"n",
"]",
",",
"dataframe",
"[",
"'vgp_lat'",
"]",
"[",
"n",
"]",
",",
"1.",
"]",
")",
"dataframe_pole_lats",
".",
"append",
"(",
"dataframe",
"[",
"'vgp_lat'",
"]",
"[",
"n",
"]",
")",
"dataframe_pole_lons",
".",
"append",
"(",
"dataframe",
"[",
"'vgp_lon'",
"]",
"[",
"n",
"]",
")",
"dataframe_pole_mean",
"=",
"pmag",
".",
"fisher_mean",
"(",
"dataframe_poles",
")",
"# calculate mean paleolatitude from the directional data",
"dataframe",
"[",
"'paleolatitude'",
"]",
"=",
"lat_from_inc",
"(",
"dataframe_dir_mean",
"[",
"'inc'",
"]",
")",
"angle_list",
"=",
"[",
"]",
"for",
"n",
"in",
"range",
"(",
"0",
",",
"len",
"(",
"dataframe",
")",
")",
":",
"angle",
"=",
"pmag",
".",
"angle",
"(",
"[",
"dataframe",
"[",
"'vgp_lon'",
"]",
"[",
"n",
"]",
",",
"dataframe",
"[",
"'vgp_lat'",
"]",
"[",
"n",
"]",
"]",
",",
"[",
"dataframe_pole_mean",
"[",
"'dec'",
"]",
",",
"dataframe_pole_mean",
"[",
"'inc'",
"]",
"]",
")",
"angle_list",
".",
"append",
"(",
"angle",
"[",
"0",
"]",
")",
"dataframe",
"[",
"'delta_mean_pole'",
"]",
"=",
"angle_list",
"if",
"site_correction",
"==",
"'yes'",
":",
"# use eq. 2 of Cox (1970) to translate the directional precision parameter",
"# into pole coordinates using the assumption of a Fisherian distribution in",
"# directional coordinates and the paleolatitude as calculated from mean",
"# inclination using the dipole equation",
"dataframe",
"[",
"'K'",
"]",
"=",
"old_div",
"(",
"dataframe",
"[",
"'k'",
"]",
",",
"(",
"0.125",
"*",
"(",
"5",
"+",
"18",
"*",
"np",
".",
"sin",
"(",
"np",
".",
"deg2rad",
"(",
"dataframe",
"[",
"'paleolatitude'",
"]",
")",
")",
"**",
"2",
"+",
"9",
"*",
"np",
".",
"sin",
"(",
"np",
".",
"deg2rad",
"(",
"dataframe",
"[",
"'paleolatitude'",
"]",
")",
")",
"**",
"4",
")",
")",
")",
"dataframe",
"[",
"'Sw'",
"]",
"=",
"old_div",
"(",
"81",
",",
"(",
"dataframe",
"[",
"'K'",
"]",
"**",
"0.5",
")",
")",
"summation",
"=",
"0",
"N",
"=",
"0",
"for",
"n",
"in",
"range",
"(",
"0",
",",
"len",
"(",
"dataframe",
")",
")",
":",
"quantity",
"=",
"dataframe",
"[",
"'delta_mean_pole'",
"]",
"[",
"n",
"]",
"**",
"2",
"-",
"old_div",
"(",
"dataframe",
"[",
"'Sw'",
"]",
"[",
"n",
"]",
"**",
"2",
",",
"dataframe",
"[",
"'n'",
"]",
"[",
"n",
"]",
")",
"summation",
"+=",
"quantity",
"N",
"+=",
"1",
"Sb",
"=",
"(",
"(",
"old_div",
"(",
"1.0",
",",
"(",
"N",
"-",
"1.0",
")",
")",
")",
"*",
"summation",
")",
"**",
"0.5",
"if",
"site_correction",
"==",
"'no'",
":",
"summation",
"=",
"0",
"N",
"=",
"0",
"for",
"n",
"in",
"range",
"(",
"0",
",",
"len",
"(",
"dataframe",
")",
")",
":",
"quantity",
"=",
"dataframe",
"[",
"'delta_mean_pole'",
"]",
"[",
"n",
"]",
"**",
"2",
"summation",
"+=",
"quantity",
"N",
"+=",
"1",
"Sb",
"=",
"(",
"(",
"old_div",
"(",
"1.0",
",",
"(",
"N",
"-",
"1.0",
")",
")",
")",
"*",
"summation",
")",
"**",
"0.5",
"return",
"Sb"
] |
This function calculates the angular dispersion of VGPs and corrects
for within site dispersion (unless site_correction = 'no') to return
a value S_b. The input data needs to be within a pandas Dataframe.
Parameters
-----------
dataframe : the name of the pandas.DataFrame containing the data
the data frame needs to contain these columns:
dataframe['site_lat'] : latitude of the site
dataframe['site_lon'] : longitude of the site
dataframe['k'] : fisher precision parameter for directions
dataframe['vgp_lat'] : VGP latitude
dataframe['vgp_lon'] : VGP longitude
----- the following default parameters can be changes by keyword argument -----
dataframe['inc_tc'] : tilt-corrected inclination
dataframe['dec_tc'] : tilt-corrected declination
plot : default is 'no', will make a plot of poles if 'yes'
|
[
"This",
"function",
"calculates",
"the",
"angular",
"dispersion",
"of",
"VGPs",
"and",
"corrects",
"for",
"within",
"site",
"dispersion",
"(",
"unless",
"site_correction",
"=",
"no",
")",
"to",
"return",
"a",
"value",
"S_b",
".",
"The",
"input",
"data",
"needs",
"to",
"be",
"within",
"a",
"pandas",
"Dataframe",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L2275-L2356
|
train
|
This function calculates the angular dispersion of VGPs and corrects for within site dispersion of VGPs.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(53 - 5) + chr(0b1101111) + '\061' + chr(0b101111 + 0o10) + chr(0b110111), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(2245 - 2194) + '\060' + chr(0b11001 + 0o31), 0b1000), nzTpIcepk0o8(chr(48) + '\x6f' + '\061' + chr(0b110011) + chr(0b110001), 28189 - 28181), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b11111 + 0o23) + chr(488 - 436) + chr(0b110010), 0o10), nzTpIcepk0o8('\x30' + '\157' + '\063' + chr(0b1111 + 0o43) + chr(53), 0b1000), nzTpIcepk0o8(chr(0b100001 + 0o17) + chr(0b1101111) + chr(0b10100 + 0o36) + '\061', 23897 - 23889), nzTpIcepk0o8(chr(0b101111 + 0o1) + chr(750 - 639) + '\x37' + chr(0b110111), 0o10), nzTpIcepk0o8('\x30' + '\157' + chr(2373 - 2322) + '\x30' + chr(0b11101 + 0o24), 0o10), nzTpIcepk0o8('\x30' + chr(111) + chr(0b1010 + 0o47) + chr(503 - 450) + chr(0b110011), ord("\x08")), nzTpIcepk0o8(chr(257 - 209) + chr(0b1101111) + chr(2373 - 2323) + chr(0b110000) + '\x33', 0b1000), nzTpIcepk0o8(chr(0b1111 + 0o41) + '\x6f' + '\x32' + chr(0b110100) + chr(1786 - 1737), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(50) + chr(0b101101 + 0o11) + '\x37', 0b1000), nzTpIcepk0o8('\x30' + chr(0b1001101 + 0o42) + chr(981 - 931) + chr(0b110011) + chr(0b1111 + 0o45), 55036 - 55028), nzTpIcepk0o8('\060' + '\157' + chr(0b110001) + chr(0b101110 + 0o3) + chr(232 - 178), 0o10), nzTpIcepk0o8(chr(48) + chr(111) + chr(0b110010) + '\x35' + '\x34', ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\061' + chr(1722 - 1671) + chr(0b11001 + 0o30), 8), nzTpIcepk0o8(chr(0b11010 + 0o26) + '\157' + chr(49) + chr(0b110100) + '\066', 0o10), nzTpIcepk0o8('\060' + chr(111) + chr(0b110001) + '\062' + chr(52), ord("\x08")), nzTpIcepk0o8('\060' + chr(111) + chr(0b110001) + chr(508 - 456) + chr(0b101001 + 0o13), 0b1000), nzTpIcepk0o8('\x30' + '\157' + chr(632 - 583) + chr(0b1000 + 0o50) + '\x33', ord("\x08")), nzTpIcepk0o8(chr(48) + chr(3598 - 3487) + chr(54), 0o10), nzTpIcepk0o8('\x30' + chr(10297 - 10186) + chr(1554 - 1502) + chr(0b110001 + 0o1), 0b1000), nzTpIcepk0o8(chr(48) + chr(0b11110 + 0o121) + chr(866 - 817) + '\063' + chr(54), 0b1000), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\x33' + '\x31' + '\060', 7831 - 7823), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\x33' + chr(0b100010 + 0o21), 10828 - 10820), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b10011 + 0o36) + '\060' + chr(0b110110), ord("\x08")), nzTpIcepk0o8('\x30' + '\157' + chr(0b100001 + 0o20) + chr(0b110111) + chr(0b110010), 0o10), nzTpIcepk0o8('\x30' + chr(3852 - 3741) + '\063' + chr(0b110000), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(52) + '\061', 9058 - 9050), nzTpIcepk0o8(chr(0b11011 + 0o25) + '\157' + '\x33' + chr(0b110101) + '\x32', ord("\x08")), nzTpIcepk0o8(chr(0b100101 + 0o13) + '\x6f' + chr(1092 - 1039) + chr(0b110000), 0b1000), nzTpIcepk0o8(chr(48) + chr(111) + chr(51) + '\067', 29627 - 29619), nzTpIcepk0o8('\060' + chr(0b1101111) + '\x31' + chr(0b11100 + 0o31) + '\x31', 0o10), nzTpIcepk0o8(chr(299 - 251) + chr(111) + '\x33' + chr(52) + chr(0b1100 + 0o44), 0b1000), nzTpIcepk0o8('\x30' + '\157' + chr(0b110 + 0o53) + chr(0b10101 + 0o33) + '\061', 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(1764 - 1715) + chr(1720 - 1668) + chr(0b110001), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(111) + '\063' + chr(0b110111) + chr(0b110110), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b1101 + 0o142) + chr(273 - 222) + chr(0b110011), 8), nzTpIcepk0o8(chr(0b10001 + 0o37) + chr(4525 - 4414) + chr(1079 - 1030) + chr(50) + '\064', 8), nzTpIcepk0o8('\x30' + chr(0b1011101 + 0o22) + '\061' + chr(0b110101), 38479 - 38471)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(48) + '\157' + '\065' + chr(0b11 + 0o55), 8)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'Q'), chr(100) + '\x65' + chr(0b1100011) + '\157' + chr(100) + chr(0b1100101))(chr(117) + '\164' + '\146' + chr(1818 - 1773) + chr(56)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def QQQxmhmvrVfi(JGOfJ3ibSnmm, Cuzxf1DYyv1g=roI3spqORKae(ES5oEprVxulp(b'\x06\xa7*'), chr(0b1100100) + chr(0b1010011 + 0o22) + '\x63' + chr(593 - 482) + chr(8594 - 8494) + chr(0b1011100 + 0o11))(chr(0b1110101) + chr(1437 - 1321) + chr(102) + chr(0b100010 + 0o13) + '\x38'), LQBnee4a4qTF=roI3spqORKae(ES5oEprVxulp(b'\x1b\xa7:\xfd\xa1r'), chr(0b1100100) + '\145' + '\143' + chr(111) + chr(100) + chr(0b1100101))('\x75' + chr(116) + '\146' + chr(0b11111 + 0o16) + chr(0b11101 + 0o33)), WP2hTbVaBNgD=roI3spqORKae(ES5oEprVxulp(b'\x16\xac:\xfd\xa1r'), '\x64' + chr(5976 - 5875) + '\143' + chr(111) + chr(0b1100100) + '\145')(chr(0b1110101) + '\x74' + '\x66' + chr(0b111 + 0o46) + chr(0b100001 + 0o27))):
nQvoOLknTS1N = []
for NoZxuO7wjArS in bbT2xIe5pzk7(nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(1292 - 1244), 0o10), ftfygxgFas5X(JGOfJ3ibSnmm)):
roI3spqORKae(nQvoOLknTS1N, roI3spqORKae(ES5oEprVxulp(b'7\x96\n\x96\xadvx\xae\x01\xec\xf4\x82'), chr(100) + chr(0b1100101) + '\x63' + chr(111) + '\x64' + '\x65')('\165' + chr(0b1110100) + '\146' + chr(45) + chr(56)))([JGOfJ3ibSnmm[LQBnee4a4qTF][NoZxuO7wjArS], JGOfJ3ibSnmm[WP2hTbVaBNgD][NoZxuO7wjArS], 1.0])
TcyzFiE3Iaz3 = hUcsWwAd0nE_.fisher_mean(nQvoOLknTS1N)
gGfSQWV4uSmV = []
wQ9aDXW6OUD_ = []
UztLXuxHc9rd = []
for NoZxuO7wjArS in bbT2xIe5pzk7(nzTpIcepk0o8('\060' + chr(111) + '\x30', 8), ftfygxgFas5X(JGOfJ3ibSnmm)):
roI3spqORKae(gGfSQWV4uSmV, roI3spqORKae(ES5oEprVxulp(b'7\x96\n\x96\xadvx\xae\x01\xec\xf4\x82'), '\144' + chr(101) + '\x63' + '\x6f' + '\144' + '\145')(chr(117) + chr(6186 - 6070) + chr(0b1011010 + 0o14) + chr(1272 - 1227) + chr(0b10100 + 0o44)))([JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\t\xa5)\xfd\xb9~Q'), chr(0b1100100) + chr(0b1100101) + '\x63' + '\x6f' + chr(1689 - 1589) + chr(101))(chr(117) + chr(116) + chr(0b1100110) + chr(0b101101) + '\x38')][NoZxuO7wjArS], JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\t\xa5)\xfd\xb9pK'), chr(100) + chr(101) + chr(99) + chr(2700 - 2589) + '\x64' + chr(791 - 690))(chr(0b1110101) + chr(12978 - 12862) + chr(0b100101 + 0o101) + chr(0b101101) + '\070')][NoZxuO7wjArS], 1.0])
roI3spqORKae(wQ9aDXW6OUD_, roI3spqORKae(ES5oEprVxulp(b'7\x96\n\x96\xadvx\xae\x01\xec\xf4\x82'), '\x64' + chr(0b1000001 + 0o44) + chr(2577 - 2478) + '\157' + chr(100) + '\x65')(chr(2065 - 1948) + chr(0b11111 + 0o125) + chr(0b11010 + 0o114) + '\055' + chr(0b111000)))(JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\t\xa5)\xfd\xb9pK'), chr(8539 - 8439) + chr(3114 - 3013) + chr(0b111 + 0o134) + chr(0b1101100 + 0o3) + chr(0b1100100) + '\145')(chr(8855 - 8738) + chr(116) + '\x66' + chr(0b101101) + chr(1167 - 1111))][NoZxuO7wjArS])
roI3spqORKae(UztLXuxHc9rd, roI3spqORKae(ES5oEprVxulp(b'7\x96\n\x96\xadvx\xae\x01\xec\xf4\x82'), chr(3690 - 3590) + '\145' + chr(0b1100011) + chr(0b1101111) + chr(0b10110 + 0o116) + chr(0b100111 + 0o76))(chr(0b1110101) + '\x74' + chr(0b1100110) + chr(1558 - 1513) + chr(0b111000)))(JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\t\xa5)\xfd\xb9~Q'), '\x64' + '\145' + '\x63' + chr(0b11 + 0o154) + chr(0b10101 + 0o117) + chr(0b111000 + 0o55))(chr(117) + chr(0b1110100) + chr(102) + '\x2d' + '\070')][NoZxuO7wjArS])
L6efbGZ7hapO = hUcsWwAd0nE_.fisher_mean(gGfSQWV4uSmV)
JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\x0f\xa35\xc7\xba}^\xb5\x02\xf7\xd4\xd3\xf9'), '\x64' + chr(0b1100101) + chr(0b1100011) + chr(0b10111 + 0o130) + chr(0b101011 + 0o71) + chr(101))(chr(117) + chr(8678 - 8562) + '\x66' + chr(0b11010 + 0o23) + chr(0b111000))] = l_4Qjuo8VWly(TcyzFiE3Iaz3[roI3spqORKae(ES5oEprVxulp(b'\x16\xac:'), '\144' + chr(101) + '\143' + '\157' + chr(100) + chr(101))('\165' + '\x74' + '\146' + chr(770 - 725) + '\070')])
jAFYK0yvdN2e = []
for NoZxuO7wjArS in bbT2xIe5pzk7(nzTpIcepk0o8('\060' + '\157' + chr(385 - 337), 8), ftfygxgFas5X(JGOfJ3ibSnmm)):
aO7VavFy3Xvk = hUcsWwAd0nE_.aO7VavFy3Xvk([JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\t\xa5)\xfd\xb9~Q'), chr(0b1100100) + chr(7552 - 7451) + chr(0b1010110 + 0o15) + chr(111) + chr(0b1100100) + '\145')('\x75' + chr(6319 - 6203) + '\x66' + chr(0b101101 + 0o0) + chr(56))][NoZxuO7wjArS], JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\t\xa5)\xfd\xb9pK'), chr(954 - 854) + '\145' + chr(0b111010 + 0o51) + chr(0b10 + 0o155) + chr(0b1100100) + chr(0b1100101))('\165' + chr(0b1110100) + '\x66' + chr(0b101101) + chr(0b1001 + 0o57))][NoZxuO7wjArS]], [L6efbGZ7hapO[roI3spqORKae(ES5oEprVxulp(b'\x1b\xa7:'), '\144' + '\145' + '\143' + '\157' + chr(0b110 + 0o136) + chr(0b100110 + 0o77))(chr(117) + chr(0b1110100) + '\146' + chr(225 - 180) + '\070')], L6efbGZ7hapO[roI3spqORKae(ES5oEprVxulp(b'\x16\xac:'), chr(3385 - 3285) + chr(0b1100101) + chr(0b110001 + 0o62) + chr(0b1101111) + chr(0b1100100) + chr(0b1010010 + 0o23))('\x75' + chr(1671 - 1555) + '\146' + chr(1071 - 1026) + chr(0b110001 + 0o7))]])
roI3spqORKae(jAFYK0yvdN2e, roI3spqORKae(ES5oEprVxulp(b'7\x96\n\x96\xadvx\xae\x01\xec\xf4\x82'), chr(100) + chr(101) + chr(0b1100011) + '\157' + chr(100) + chr(0b111 + 0o136))('\165' + chr(9901 - 9785) + '\x66' + chr(82 - 37) + chr(2355 - 2299)))(aO7VavFy3Xvk[nzTpIcepk0o8('\x30' + '\157' + chr(48), 8)])
JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\x1b\xa75\xd6\xb4NR\xa4\n\xed\xfe\xc7\xf3"\xc9'), chr(100) + chr(0b101010 + 0o73) + chr(0b101110 + 0o65) + chr(0b1100001 + 0o16) + chr(0b101011 + 0o71) + chr(0b1001001 + 0o34))('\165' + chr(0b10011 + 0o141) + chr(102) + chr(0b101011 + 0o2) + '\070')] = jAFYK0yvdN2e
if Cuzxf1DYyv1g == roI3spqORKae(ES5oEprVxulp(b'\x06\xa7*'), chr(100) + '\145' + chr(1020 - 921) + '\157' + '\x64' + chr(775 - 674))(chr(0b1001101 + 0o50) + '\x74' + '\x66' + chr(1571 - 1526) + chr(56)):
JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'4'), '\x64' + '\x65' + chr(0b1010101 + 0o16) + chr(5207 - 5096) + chr(100) + chr(5609 - 5508))('\x75' + chr(0b1110100) + '\x66' + '\055' + chr(0b10110 + 0o42))] = SVfYwQaP38MC(JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\x14'), '\x64' + chr(101) + '\x63' + chr(0b1101111) + chr(100) + chr(3544 - 3443))(chr(7371 - 7254) + chr(0b11000 + 0o134) + chr(1387 - 1285) + '\055' + '\x38')], 0.125 * (nzTpIcepk0o8('\060' + '\x6f' + chr(0b110101), 45682 - 45674) + nzTpIcepk0o8(chr(2127 - 2079) + chr(0b1101100 + 0o3) + '\x32' + chr(0b10001 + 0o41), ord("\x08")) * nDF4gVNx0u9Q.TMleLVztqSLZ(nDF4gVNx0u9Q.deg2rad(JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\x0f\xa35\xc7\xba}^\xb5\x02\xf7\xd4\xd3\xf9'), '\144' + chr(8447 - 8346) + chr(8454 - 8355) + chr(0b1101111) + '\144' + '\145')(chr(0b101010 + 0o113) + chr(12244 - 12128) + chr(0b111101 + 0o51) + chr(0b101101) + chr(0b111000))])) ** nzTpIcepk0o8('\060' + '\157' + chr(2154 - 2104), 0b1000) + nzTpIcepk0o8(chr(48) + '\157' + '\061' + chr(0b110001), 56398 - 56390) * nDF4gVNx0u9Q.TMleLVztqSLZ(nDF4gVNx0u9Q.deg2rad(JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\x0f\xa35\xc7\xba}^\xb5\x02\xf7\xd4\xd3\xf9'), chr(1899 - 1799) + chr(0b1100101) + chr(0b1000001 + 0o42) + chr(0b1101101 + 0o2) + '\x64' + '\x65')('\165' + chr(116) + chr(102) + chr(0b101101) + chr(56))])) ** nzTpIcepk0o8(chr(48) + chr(111) + chr(0b110100), 9435 - 9427)))
JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b',\xb5'), chr(0b1100100) + chr(0b1100101) + chr(0b101000 + 0o73) + chr(111) + chr(0b1100100) + '\145')(chr(0b101010 + 0o113) + chr(0b1011001 + 0o33) + chr(0b1100110) + chr(0b101101) + '\x38')] = SVfYwQaP38MC(nzTpIcepk0o8(chr(0b1110 + 0o42) + '\157' + '\061' + '\x32' + chr(0b110001), 15367 - 15359), JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'4'), chr(100) + chr(101) + '\x63' + '\157' + '\x64' + chr(0b1011111 + 0o6))(chr(3310 - 3193) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(56))] ** 0.5)
EIBexzcoccrK = nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b110000), 8)
UtB2m8Xmgf5k = nzTpIcepk0o8(chr(48) + '\157' + '\x30', 8)
for NoZxuO7wjArS in bbT2xIe5pzk7(nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b110000), 8), ftfygxgFas5X(JGOfJ3ibSnmm)):
pM7jIcMBEnK6 = JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\x1b\xa75\xd6\xb4NR\xa4\n\xed\xfe\xc7\xf3"\xc9'), '\144' + '\145' + chr(0b1100011) + chr(0b1101111) + '\144' + chr(101))('\x75' + chr(116) + chr(0b1010100 + 0o22) + chr(582 - 537) + chr(56))][NoZxuO7wjArS] ** nzTpIcepk0o8(chr(1516 - 1468) + chr(0b1101111) + chr(50), 8) - SVfYwQaP38MC(JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b',\xb5'), '\x64' + '\145' + chr(7105 - 7006) + chr(0b1101111) + '\x64' + chr(0b1100 + 0o131))(chr(0b1110101) + chr(116) + chr(6998 - 6896) + chr(0b100110 + 0o7) + chr(56))][NoZxuO7wjArS] ** nzTpIcepk0o8(chr(0b101 + 0o53) + '\x6f' + chr(711 - 661), 8), JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\x11'), chr(7339 - 7239) + chr(101) + '\143' + chr(9616 - 9505) + chr(6424 - 6324) + '\x65')(chr(0b1110101) + '\x74' + '\x66' + '\055' + '\070')][NoZxuO7wjArS])
EIBexzcoccrK += pM7jIcMBEnK6
UtB2m8Xmgf5k += nzTpIcepk0o8('\060' + chr(0b1101111) + chr(967 - 918), ord("\x08"))
K5NQ3qGYPqxQ = (SVfYwQaP38MC(1.0, UtB2m8Xmgf5k - 1.0) * EIBexzcoccrK) ** 0.5
if Cuzxf1DYyv1g == roI3spqORKae(ES5oEprVxulp(b'\x11\xad'), '\x64' + chr(8302 - 8201) + '\143' + '\x6f' + '\x64' + '\x65')(chr(0b110010 + 0o103) + '\x74' + chr(1176 - 1074) + '\x2d' + chr(56)):
EIBexzcoccrK = nzTpIcepk0o8('\060' + chr(0b1101111) + chr(2240 - 2192), 8)
UtB2m8Xmgf5k = nzTpIcepk0o8('\x30' + '\x6f' + chr(48), 8)
for NoZxuO7wjArS in bbT2xIe5pzk7(nzTpIcepk0o8(chr(48) + chr(0b1001100 + 0o43) + '\060', 8), ftfygxgFas5X(JGOfJ3ibSnmm)):
pM7jIcMBEnK6 = JGOfJ3ibSnmm[roI3spqORKae(ES5oEprVxulp(b'\x1b\xa75\xd6\xb4NR\xa4\n\xed\xfe\xc7\xf3"\xc9'), '\x64' + chr(101) + '\143' + '\157' + chr(100) + '\145')('\165' + '\x74' + chr(1616 - 1514) + '\055' + chr(0b11100 + 0o34))][NoZxuO7wjArS] ** nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(1052 - 1002), 8)
EIBexzcoccrK += pM7jIcMBEnK6
UtB2m8Xmgf5k += nzTpIcepk0o8(chr(48) + '\157' + chr(0b110001), 8)
K5NQ3qGYPqxQ = (SVfYwQaP38MC(1.0, UtB2m8Xmgf5k - 1.0) * EIBexzcoccrK) ** 0.5
return K5NQ3qGYPqxQ
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
make_di_block
|
def make_di_block(dec, inc):
"""
Some pmag.py and ipmag.py functions require or will take a list of unit
vectors [dec,inc,1.] as input. This function takes declination and
inclination data and make it into such a nest list of lists.
Parameters
-----------
dec : list of declinations
inc : list of inclinations
Returns
-----------
di_block : nested list of declination, inclination lists
Example
-----------
>>> decs = [180.3, 179.2, 177.2]
>>> incs = [12.1, 13.7, 11.9]
>>> ipmag.make_di_block(decs,incs)
[[180.3, 12.1, 1.0], [179.2, 13.7, 1.0], [177.2, 11.9, 1.0]]
"""
di_block = []
for n in range(0, len(dec)):
di_block.append([dec[n], inc[n], 1.0])
return di_block
|
python
|
def make_di_block(dec, inc):
"""
Some pmag.py and ipmag.py functions require or will take a list of unit
vectors [dec,inc,1.] as input. This function takes declination and
inclination data and make it into such a nest list of lists.
Parameters
-----------
dec : list of declinations
inc : list of inclinations
Returns
-----------
di_block : nested list of declination, inclination lists
Example
-----------
>>> decs = [180.3, 179.2, 177.2]
>>> incs = [12.1, 13.7, 11.9]
>>> ipmag.make_di_block(decs,incs)
[[180.3, 12.1, 1.0], [179.2, 13.7, 1.0], [177.2, 11.9, 1.0]]
"""
di_block = []
for n in range(0, len(dec)):
di_block.append([dec[n], inc[n], 1.0])
return di_block
|
[
"def",
"make_di_block",
"(",
"dec",
",",
"inc",
")",
":",
"di_block",
"=",
"[",
"]",
"for",
"n",
"in",
"range",
"(",
"0",
",",
"len",
"(",
"dec",
")",
")",
":",
"di_block",
".",
"append",
"(",
"[",
"dec",
"[",
"n",
"]",
",",
"inc",
"[",
"n",
"]",
",",
"1.0",
"]",
")",
"return",
"di_block"
] |
Some pmag.py and ipmag.py functions require or will take a list of unit
vectors [dec,inc,1.] as input. This function takes declination and
inclination data and make it into such a nest list of lists.
Parameters
-----------
dec : list of declinations
inc : list of inclinations
Returns
-----------
di_block : nested list of declination, inclination lists
Example
-----------
>>> decs = [180.3, 179.2, 177.2]
>>> incs = [12.1, 13.7, 11.9]
>>> ipmag.make_di_block(decs,incs)
[[180.3, 12.1, 1.0], [179.2, 13.7, 1.0], [177.2, 11.9, 1.0]]
|
[
"Some",
"pmag",
".",
"py",
"and",
"ipmag",
".",
"py",
"functions",
"require",
"or",
"will",
"take",
"a",
"list",
"of",
"unit",
"vectors",
"[",
"dec",
"inc",
"1",
".",
"]",
"as",
"input",
".",
"This",
"function",
"takes",
"declination",
"and",
"inclination",
"data",
"and",
"make",
"it",
"into",
"such",
"a",
"nest",
"list",
"of",
"lists",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L2359-L2384
|
train
|
This function creates a nested list of unit
vectors.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(157 - 106) + '\x37' + chr(0b100011 + 0o22), ord("\x08")), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b101010 + 0o15) + chr(0b11010 + 0o30), 0b1000), nzTpIcepk0o8(chr(1894 - 1846) + chr(0b1101111) + chr(0b11100 + 0o30) + chr(2481 - 2430), 21299 - 21291), nzTpIcepk0o8(chr(0b100010 + 0o16) + chr(6502 - 6391) + '\x32' + chr(0b101100 + 0o11) + chr(0b11110 + 0o31), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\062' + chr(0b110011), 0b1000), nzTpIcepk0o8(chr(0b11000 + 0o30) + '\x6f' + chr(0b11011 + 0o27) + '\064' + '\x31', 0b1000), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(50) + chr(0b110001) + '\066', ord("\x08")), nzTpIcepk0o8(chr(995 - 947) + '\x6f' + '\x31' + chr(52) + chr(0b110010), 0o10), nzTpIcepk0o8(chr(48) + '\x6f' + '\x33' + chr(0b10001 + 0o37) + '\x33', ord("\x08")), nzTpIcepk0o8(chr(0b1100 + 0o44) + chr(111) + '\x33' + chr(54) + '\066', 5399 - 5391), nzTpIcepk0o8('\x30' + '\x6f' + '\x33' + chr(53) + chr(390 - 342), 0b1000), nzTpIcepk0o8(chr(1050 - 1002) + chr(10312 - 10201) + chr(0b111 + 0o54) + chr(0b11011 + 0o25), 0o10), nzTpIcepk0o8(chr(48) + '\x6f' + '\061' + chr(530 - 476) + chr(51), 0b1000), nzTpIcepk0o8('\060' + chr(111) + chr(53) + chr(0b110000), ord("\x08")), nzTpIcepk0o8(chr(0b100000 + 0o20) + '\157' + '\x31' + chr(0b101100 + 0o4) + chr(51), 0b1000), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(50) + chr(0b10011 + 0o42) + chr(49), ord("\x08")), nzTpIcepk0o8('\x30' + chr(111) + chr(0b10110 + 0o34) + chr(0b10010 + 0o36) + chr(54), 44626 - 44618), nzTpIcepk0o8(chr(0b101101 + 0o3) + chr(111) + '\063' + '\x32' + chr(0b101001 + 0o14), 0b1000), nzTpIcepk0o8('\x30' + chr(0b101110 + 0o101) + '\x31' + '\064' + '\x37', 0b1000), nzTpIcepk0o8(chr(1328 - 1280) + '\x6f' + '\061' + chr(0b1 + 0o63) + chr(53), 58708 - 58700), nzTpIcepk0o8('\060' + chr(111) + '\x31' + chr(935 - 880) + chr(55), 0b1000), nzTpIcepk0o8('\060' + '\157' + chr(0b110011) + chr(2900 - 2845) + chr(1775 - 1723), ord("\x08")), nzTpIcepk0o8('\060' + chr(0b1100 + 0o143) + chr(51) + '\062' + '\060', 0o10), nzTpIcepk0o8(chr(291 - 243) + chr(111) + chr(0b11101 + 0o27) + chr(0b10 + 0o63), 32839 - 32831), nzTpIcepk0o8(chr(1545 - 1497) + '\157' + chr(1988 - 1937) + chr(0b110000 + 0o7), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b1111 + 0o43) + chr(0b110101) + '\063', 15157 - 15149), nzTpIcepk0o8('\060' + '\157' + chr(0b110001) + '\061' + chr(0b11010 + 0o26), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(111) + chr(0b110011) + chr(1403 - 1350) + '\063', 0o10), nzTpIcepk0o8(chr(0b100100 + 0o14) + '\x6f' + '\062' + chr(1464 - 1413) + chr(0b110001), 0b1000), nzTpIcepk0o8(chr(0b101 + 0o53) + chr(0b1101111) + '\063' + chr(0b11101 + 0o24), ord("\x08")), nzTpIcepk0o8(chr(438 - 390) + chr(0b1101111) + '\062' + chr(0b110111) + '\065', 0b1000), nzTpIcepk0o8('\060' + chr(111) + '\065' + '\x33', ord("\x08")), nzTpIcepk0o8(chr(0b1000 + 0o50) + '\157' + '\063' + chr(54) + chr(0b110101), ord("\x08")), nzTpIcepk0o8(chr(0b10 + 0o56) + chr(111) + '\063' + '\x32' + '\x31', 53366 - 53358), nzTpIcepk0o8(chr(48) + chr(111) + '\x33' + chr(0b11100 + 0o25), 8), nzTpIcepk0o8('\x30' + chr(0b10 + 0o155) + chr(0b110010) + chr(0b100000 + 0o25) + chr(50), ord("\x08")), nzTpIcepk0o8('\x30' + chr(111) + chr(1064 - 1014) + chr(1136 - 1082), 35312 - 35304), nzTpIcepk0o8(chr(0b10101 + 0o33) + chr(111) + chr(203 - 154) + chr(0b110011) + chr(1977 - 1929), ord("\x08")), nzTpIcepk0o8('\x30' + chr(4002 - 3891) + chr(49) + '\x35' + chr(0b110000), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(51) + '\062', 0b1000)][ZlbFMSG8gCoF % nzTpIcepk0o8('\060' + '\x6f' + chr(0b110101) + '\060', 8)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xd3'), '\x64' + '\x65' + '\143' + chr(0b111101 + 0o62) + chr(0b110111 + 0o55) + chr(6053 - 5952))('\x75' + '\x74' + chr(0b110011 + 0o63) + chr(1189 - 1144) + '\070') + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def LTRwK8Rw2pXD(oD8LLo_zqNZe, ReAwxaIgTMy5):
AgwvZqQgIt7U = []
for NoZxuO7wjArS in bbT2xIe5pzk7(nzTpIcepk0o8(chr(0b110000) + chr(0b1101011 + 0o4) + chr(48), 44059 - 44051), ftfygxgFas5X(oD8LLo_zqNZe)):
roI3spqORKae(AgwvZqQgIt7U, roI3spqORKae(ES5oEprVxulp(b'\xb5np\x9bk\xc6\xc9\r\xa9\x99\xbd-'), chr(9822 - 9722) + '\x65' + '\143' + '\x6f' + '\144' + chr(101))(chr(0b1110101) + '\164' + chr(102) + '\055' + chr(1290 - 1234)))([oD8LLo_zqNZe[NoZxuO7wjArS], ReAwxaIgTMy5[NoZxuO7wjArS], 1.0])
return AgwvZqQgIt7U
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
unpack_di_block
|
def unpack_di_block(di_block):
"""
This function unpacks a nested list of [dec,inc,mag_moment] into a list of
declination values, a list of inclination values and a list of magnetic
moment values. Mag_moment values are optional, while dec and inc values are
required.
Parameters
-----------
di_block : nested list of declination, inclination lists
Returns
-----------
dec : list of declinations
inc : list of inclinations
mag_moment : list of magnetic moment (if present in di_block)
Example
-----------
The di_block nested lists of lists can be unpacked using the function
>>> directions = [[180.3, 12.1, 1.0], [179.2, 13.7, 1.0], [177.2, 11.9, 1.0]]
>>> ipmag.unpack_di_block(directions)
([180.3, 179.2, 177.2], [12.1, 13.7, 11.9], [1.0, 1.0, 1.0])
These unpacked values can be assigned to variables:
>>> dec, inc, moment = ipmag.unpack_di_block(directions)
"""
dec_list = []
inc_list = []
moment_list = []
for n in range(0, len(di_block)):
dec = di_block[n][0]
inc = di_block[n][1]
dec_list.append(dec)
inc_list.append(inc)
if len(di_block[n]) > 2:
moment = di_block[n][2]
moment_list.append(moment)
return dec_list, inc_list, moment_list
|
python
|
def unpack_di_block(di_block):
"""
This function unpacks a nested list of [dec,inc,mag_moment] into a list of
declination values, a list of inclination values and a list of magnetic
moment values. Mag_moment values are optional, while dec and inc values are
required.
Parameters
-----------
di_block : nested list of declination, inclination lists
Returns
-----------
dec : list of declinations
inc : list of inclinations
mag_moment : list of magnetic moment (if present in di_block)
Example
-----------
The di_block nested lists of lists can be unpacked using the function
>>> directions = [[180.3, 12.1, 1.0], [179.2, 13.7, 1.0], [177.2, 11.9, 1.0]]
>>> ipmag.unpack_di_block(directions)
([180.3, 179.2, 177.2], [12.1, 13.7, 11.9], [1.0, 1.0, 1.0])
These unpacked values can be assigned to variables:
>>> dec, inc, moment = ipmag.unpack_di_block(directions)
"""
dec_list = []
inc_list = []
moment_list = []
for n in range(0, len(di_block)):
dec = di_block[n][0]
inc = di_block[n][1]
dec_list.append(dec)
inc_list.append(inc)
if len(di_block[n]) > 2:
moment = di_block[n][2]
moment_list.append(moment)
return dec_list, inc_list, moment_list
|
[
"def",
"unpack_di_block",
"(",
"di_block",
")",
":",
"dec_list",
"=",
"[",
"]",
"inc_list",
"=",
"[",
"]",
"moment_list",
"=",
"[",
"]",
"for",
"n",
"in",
"range",
"(",
"0",
",",
"len",
"(",
"di_block",
")",
")",
":",
"dec",
"=",
"di_block",
"[",
"n",
"]",
"[",
"0",
"]",
"inc",
"=",
"di_block",
"[",
"n",
"]",
"[",
"1",
"]",
"dec_list",
".",
"append",
"(",
"dec",
")",
"inc_list",
".",
"append",
"(",
"inc",
")",
"if",
"len",
"(",
"di_block",
"[",
"n",
"]",
")",
">",
"2",
":",
"moment",
"=",
"di_block",
"[",
"n",
"]",
"[",
"2",
"]",
"moment_list",
".",
"append",
"(",
"moment",
")",
"return",
"dec_list",
",",
"inc_list",
",",
"moment_list"
] |
This function unpacks a nested list of [dec,inc,mag_moment] into a list of
declination values, a list of inclination values and a list of magnetic
moment values. Mag_moment values are optional, while dec and inc values are
required.
Parameters
-----------
di_block : nested list of declination, inclination lists
Returns
-----------
dec : list of declinations
inc : list of inclinations
mag_moment : list of magnetic moment (if present in di_block)
Example
-----------
The di_block nested lists of lists can be unpacked using the function
>>> directions = [[180.3, 12.1, 1.0], [179.2, 13.7, 1.0], [177.2, 11.9, 1.0]]
>>> ipmag.unpack_di_block(directions)
([180.3, 179.2, 177.2], [12.1, 13.7, 11.9], [1.0, 1.0, 1.0])
These unpacked values can be assigned to variables:
>>> dec, inc, moment = ipmag.unpack_di_block(directions)
|
[
"This",
"function",
"unpacks",
"a",
"nested",
"list",
"of",
"[",
"dec",
"inc",
"mag_moment",
"]",
"into",
"a",
"list",
"of",
"declination",
"values",
"a",
"list",
"of",
"inclination",
"values",
"and",
"a",
"list",
"of",
"magnetic",
"moment",
"values",
".",
"Mag_moment",
"values",
"are",
"optional",
"while",
"dec",
"and",
"inc",
"values",
"are",
"required",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L2387-L2429
|
train
|
This function unpacks a nested list of declination inclination and magnetic moment values into a list of declination and inclination lists and a list of magnetic moment values.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(48) + '\x6f' + '\x32' + chr(2211 - 2160) + chr(0b110110), 0o10), nzTpIcepk0o8(chr(401 - 353) + chr(8271 - 8160) + chr(49) + '\067' + '\x37', 5161 - 5153), nzTpIcepk0o8('\x30' + chr(8611 - 8500) + chr(51) + chr(0b110011) + chr(0b110110), 0b1000), nzTpIcepk0o8('\060' + chr(0b1011100 + 0o23) + chr(203 - 148) + chr(0b110001), 0b1000), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b110001), ord("\x08")), nzTpIcepk0o8('\060' + chr(0b1101111) + '\063' + chr(948 - 897) + chr(0b100001 + 0o22), ord("\x08")), nzTpIcepk0o8('\x30' + chr(4405 - 4294) + '\062' + '\x30' + '\x37', 0b1000), nzTpIcepk0o8(chr(236 - 188) + '\x6f' + chr(2343 - 2292) + chr(0b110111) + '\067', ord("\x08")), nzTpIcepk0o8(chr(515 - 467) + chr(111) + '\x32' + chr(48) + chr(0b110001 + 0o2), 0o10), nzTpIcepk0o8('\x30' + chr(111) + '\062' + '\x37' + chr(53), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(111) + chr(1972 - 1922) + chr(547 - 494) + chr(2067 - 2019), 0o10), nzTpIcepk0o8(chr(48) + '\157' + chr(0b110010) + '\061' + '\x30', 5938 - 5930), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(2581 - 2529) + '\x33', 0b1000), nzTpIcepk0o8(chr(1050 - 1002) + '\x6f' + chr(1715 - 1661), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(5487 - 5376) + '\x33' + chr(49) + chr(48), 0b1000), nzTpIcepk0o8(chr(0b10000 + 0o40) + '\x6f' + chr(428 - 379) + chr(954 - 904) + chr(54), ord("\x08")), nzTpIcepk0o8('\060' + '\x6f' + chr(0b11 + 0o63) + '\x30', 0o10), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110010) + '\064' + '\065', 54026 - 54018), nzTpIcepk0o8(chr(739 - 691) + chr(7537 - 7426) + chr(0b10010 + 0o41) + '\066' + '\x37', 0b1000), nzTpIcepk0o8('\060' + chr(1250 - 1139) + chr(2826 - 2771) + chr(0b10101 + 0o37), 0b1000), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(51) + chr(0b11001 + 0o30) + '\x33', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(5749 - 5638) + chr(0b110111) + chr(0b11110 + 0o30), 0o10), nzTpIcepk0o8(chr(0b11111 + 0o21) + '\x6f' + '\063' + chr(53) + chr(0b1001 + 0o56), 0b1000), nzTpIcepk0o8(chr(0b1010 + 0o46) + chr(111) + chr(1528 - 1476) + chr(1080 - 1028), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\x32' + chr(0b110000) + chr(1835 - 1787), ord("\x08")), nzTpIcepk0o8(chr(0b11011 + 0o25) + chr(0b1101111) + '\x36' + '\x30', 8), nzTpIcepk0o8('\x30' + chr(9568 - 9457) + '\063' + '\x31' + chr(0b1011 + 0o50), 8), nzTpIcepk0o8(chr(0b10010 + 0o36) + '\x6f' + '\x32' + chr(0b110001) + chr(0b110100), 3055 - 3047), nzTpIcepk0o8(chr(0b110000) + chr(0b100010 + 0o115) + chr(51) + chr(0b110000) + chr(55), 0o10), nzTpIcepk0o8('\x30' + chr(0b11100 + 0o123) + chr(0b111 + 0o52) + chr(2255 - 2202) + chr(0b110011), 0o10), nzTpIcepk0o8(chr(0b101111 + 0o1) + '\x6f' + '\x31' + '\063', 14852 - 14844), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(121 - 71) + '\x33' + chr(0b0 + 0o63), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b1010 + 0o145) + '\063' + '\x31' + '\x31', 42370 - 42362), nzTpIcepk0o8(chr(826 - 778) + chr(0b1101111) + chr(0b11000 + 0o31) + chr(79 - 27), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(50) + chr(697 - 648) + '\x35', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\x37' + chr(49), 8), nzTpIcepk0o8(chr(48) + chr(5170 - 5059) + '\061' + chr(0b101110 + 0o4) + chr(0b110001), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b1110 + 0o43) + chr(53) + chr(1390 - 1336), 42401 - 42393), nzTpIcepk0o8(chr(1360 - 1312) + chr(0b1011001 + 0o26) + chr(0b100010 + 0o21) + chr(0b110011) + chr(0b100010 + 0o24), 8), nzTpIcepk0o8(chr(1502 - 1454) + '\x6f' + '\063' + chr(1229 - 1179) + chr(0b110101), 0o10)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(0b10001 + 0o37) + chr(111) + chr(0b110101) + chr(48), 25558 - 25550)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xb0'), '\144' + chr(0b1100101) + chr(0b1100011) + chr(0b110010 + 0o75) + chr(0b1000 + 0o134) + chr(5476 - 5375))(chr(11597 - 11480) + chr(6168 - 6052) + chr(602 - 500) + '\055' + '\070') + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def YtOuPwMAyXVy(AgwvZqQgIt7U):
jTpeVh0j2_ks = []
DOqyZ4xfLoD0 = []
ci5Zw4pgE4qZ = []
for NoZxuO7wjArS in bbT2xIe5pzk7(nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(887 - 839), 0o10), ftfygxgFas5X(AgwvZqQgIt7U)):
oD8LLo_zqNZe = AgwvZqQgIt7U[NoZxuO7wjArS][nzTpIcepk0o8('\060' + chr(9623 - 9512) + '\x30', 8)]
ReAwxaIgTMy5 = AgwvZqQgIt7U[NoZxuO7wjArS][nzTpIcepk0o8(chr(0b110000) + chr(8940 - 8829) + '\061', 8)]
roI3spqORKae(jTpeVh0j2_ks, roI3spqORKae(ES5oEprVxulp(b'\xd6+\x8d\ry\xbc\xc0\x90\xe9\xd2\xfd\xbd'), '\144' + chr(0b100000 + 0o105) + chr(0b1100011) + chr(0b1101111) + chr(0b1000111 + 0o35) + '\145')(chr(7964 - 7847) + chr(7729 - 7613) + chr(102) + chr(0b101101) + chr(56)))(oD8LLo_zqNZe)
roI3spqORKae(DOqyZ4xfLoD0, roI3spqORKae(ES5oEprVxulp(b'\xd6+\x8d\ry\xbc\xc0\x90\xe9\xd2\xfd\xbd'), chr(0b1100100) + '\145' + '\x63' + '\x6f' + chr(233 - 133) + chr(0b1100101))(chr(0b111111 + 0o66) + chr(0b1110100) + chr(102) + chr(906 - 861) + '\070'))(ReAwxaIgTMy5)
if ftfygxgFas5X(AgwvZqQgIt7U[NoZxuO7wjArS]) > nzTpIcepk0o8('\060' + '\x6f' + chr(1512 - 1462), 0b1000):
XWekVuwuDDKc = AgwvZqQgIt7U[NoZxuO7wjArS][nzTpIcepk0o8('\060' + '\157' + chr(1511 - 1461), 8)]
roI3spqORKae(ci5Zw4pgE4qZ, roI3spqORKae(ES5oEprVxulp(b'\xd6+\x8d\ry\xbc\xc0\x90\xe9\xd2\xfd\xbd'), chr(100) + chr(0b1001101 + 0o30) + '\x63' + chr(11092 - 10981) + chr(8146 - 8046) + chr(101))(chr(9554 - 9437) + chr(0b1011010 + 0o32) + chr(102) + chr(0b11000 + 0o25) + chr(0b111000)))(XWekVuwuDDKc)
return (jTpeVh0j2_ks, DOqyZ4xfLoD0, ci5Zw4pgE4qZ)
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
make_diddd_array
|
def make_diddd_array(dec, inc, dip_direction, dip):
"""
Some pmag.py functions such as the bootstrap fold test require a numpy array
of dec, inc, dip direction, dip [dec, inc, dd, dip] as input. This function
makes such an array.
Parameters
-----------
dec : paleomagnetic declination in degrees
inc : paleomagnetic inclination in degrees
dip_direction : the dip direction of bedding (in degrees between 0 and 360)
dip: dip of bedding (in degrees)
Returns
-------
array : an array of [dec, inc, dip_direction, dip]
Examples
--------
Data in separate lists of dec, inc, dip_direction, dip data can be made into
an array.
>>> dec = [132.5,124.3,142.7,130.3,163.2]
>>> inc = [12.1,23.2,34.2,37.7,32.6]
>>> dip_direction = [265.0,265.0,265.0,164.0,164.0]
>>> dip = [20.0,20.0,20.0,72.0,72.0]
>>> data_array = ipmag.make_diddd_array(dec,inc,dip_direction,dip)
>>> data_array
array([[ 132.5, 12.1, 265. , 20. ],
[ 124.3, 23.2, 265. , 20. ],
[ 142.7, 34.2, 265. , 20. ],
[ 130.3, 37.7, 164. , 72. ],
[ 163.2, 32.6, 164. , 72. ]])
"""
diddd_block = []
for n in range(0, len(dec)):
diddd_block.append([dec[n], inc[n], dip_direction[n], dip[n]])
diddd_array = np.array(diddd_block)
return diddd_array
|
python
|
def make_diddd_array(dec, inc, dip_direction, dip):
"""
Some pmag.py functions such as the bootstrap fold test require a numpy array
of dec, inc, dip direction, dip [dec, inc, dd, dip] as input. This function
makes such an array.
Parameters
-----------
dec : paleomagnetic declination in degrees
inc : paleomagnetic inclination in degrees
dip_direction : the dip direction of bedding (in degrees between 0 and 360)
dip: dip of bedding (in degrees)
Returns
-------
array : an array of [dec, inc, dip_direction, dip]
Examples
--------
Data in separate lists of dec, inc, dip_direction, dip data can be made into
an array.
>>> dec = [132.5,124.3,142.7,130.3,163.2]
>>> inc = [12.1,23.2,34.2,37.7,32.6]
>>> dip_direction = [265.0,265.0,265.0,164.0,164.0]
>>> dip = [20.0,20.0,20.0,72.0,72.0]
>>> data_array = ipmag.make_diddd_array(dec,inc,dip_direction,dip)
>>> data_array
array([[ 132.5, 12.1, 265. , 20. ],
[ 124.3, 23.2, 265. , 20. ],
[ 142.7, 34.2, 265. , 20. ],
[ 130.3, 37.7, 164. , 72. ],
[ 163.2, 32.6, 164. , 72. ]])
"""
diddd_block = []
for n in range(0, len(dec)):
diddd_block.append([dec[n], inc[n], dip_direction[n], dip[n]])
diddd_array = np.array(diddd_block)
return diddd_array
|
[
"def",
"make_diddd_array",
"(",
"dec",
",",
"inc",
",",
"dip_direction",
",",
"dip",
")",
":",
"diddd_block",
"=",
"[",
"]",
"for",
"n",
"in",
"range",
"(",
"0",
",",
"len",
"(",
"dec",
")",
")",
":",
"diddd_block",
".",
"append",
"(",
"[",
"dec",
"[",
"n",
"]",
",",
"inc",
"[",
"n",
"]",
",",
"dip_direction",
"[",
"n",
"]",
",",
"dip",
"[",
"n",
"]",
"]",
")",
"diddd_array",
"=",
"np",
".",
"array",
"(",
"diddd_block",
")",
"return",
"diddd_array"
] |
Some pmag.py functions such as the bootstrap fold test require a numpy array
of dec, inc, dip direction, dip [dec, inc, dd, dip] as input. This function
makes such an array.
Parameters
-----------
dec : paleomagnetic declination in degrees
inc : paleomagnetic inclination in degrees
dip_direction : the dip direction of bedding (in degrees between 0 and 360)
dip: dip of bedding (in degrees)
Returns
-------
array : an array of [dec, inc, dip_direction, dip]
Examples
--------
Data in separate lists of dec, inc, dip_direction, dip data can be made into
an array.
>>> dec = [132.5,124.3,142.7,130.3,163.2]
>>> inc = [12.1,23.2,34.2,37.7,32.6]
>>> dip_direction = [265.0,265.0,265.0,164.0,164.0]
>>> dip = [20.0,20.0,20.0,72.0,72.0]
>>> data_array = ipmag.make_diddd_array(dec,inc,dip_direction,dip)
>>> data_array
array([[ 132.5, 12.1, 265. , 20. ],
[ 124.3, 23.2, 265. , 20. ],
[ 142.7, 34.2, 265. , 20. ],
[ 130.3, 37.7, 164. , 72. ],
[ 163.2, 32.6, 164. , 72. ]])
|
[
"Some",
"pmag",
".",
"py",
"functions",
"such",
"as",
"the",
"bootstrap",
"fold",
"test",
"require",
"a",
"numpy",
"array",
"of",
"dec",
"inc",
"dip",
"direction",
"dip",
"[",
"dec",
"inc",
"dd",
"dip",
"]",
"as",
"input",
".",
"This",
"function",
"makes",
"such",
"an",
"array",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L2432-L2470
|
train
|
This function creates a numpy array of dec inc dd dip.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(0b1110 + 0o42) + chr(0b1101 + 0o142) + '\x32' + chr(0b110 + 0o53), 0b1000), nzTpIcepk0o8('\060' + '\x6f' + chr(0b110001) + chr(0b110000) + chr(1532 - 1479), 0b1000), nzTpIcepk0o8(chr(48) + chr(447 - 336) + '\x33', 0b1000), nzTpIcepk0o8(chr(48) + '\157' + chr(0b110111) + chr(0b110010 + 0o1), ord("\x08")), nzTpIcepk0o8(chr(0b10101 + 0o33) + chr(0b1101111) + chr(228 - 178) + chr(628 - 573) + '\x35', ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b101010 + 0o105) + chr(1599 - 1546) + chr(0b11110 + 0o26), ord("\x08")), nzTpIcepk0o8('\060' + chr(0b111 + 0o150) + '\061' + chr(53) + '\063', 0o10), nzTpIcepk0o8(chr(0b10010 + 0o36) + chr(7104 - 6993) + chr(0b110010) + chr(0b110010), 0b1000), nzTpIcepk0o8(chr(0b111 + 0o51) + '\x6f' + chr(0b10 + 0o60) + chr(0b100101 + 0o21) + '\x35', 10035 - 10027), nzTpIcepk0o8(chr(0b110000) + '\157' + '\x31' + '\x32' + '\x35', 0b1000), nzTpIcepk0o8(chr(0b11010 + 0o26) + chr(0b10010 + 0o135) + chr(0b11111 + 0o23) + chr(626 - 573) + '\062', 63325 - 63317), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(1363 - 1308) + '\065', ord("\x08")), nzTpIcepk0o8(chr(0b11111 + 0o21) + '\x6f' + chr(51) + chr(0b110001) + chr(0b1010 + 0o55), ord("\x08")), nzTpIcepk0o8('\060' + chr(111) + '\061' + chr(53) + chr(55), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(11177 - 11066) + chr(0b10001 + 0o42) + chr(0b1010 + 0o54) + chr(0b110100), 0o10), nzTpIcepk0o8('\060' + chr(111) + chr(0b110001) + chr(0b110110 + 0o0) + chr(0b10001 + 0o40), 0o10), nzTpIcepk0o8(chr(48) + '\157' + '\x31' + chr(50) + '\x32', ord("\x08")), nzTpIcepk0o8(chr(48) + chr(111) + chr(0b101011 + 0o14) + '\062', 0o10), nzTpIcepk0o8(chr(2015 - 1967) + chr(0b11011 + 0o124) + chr(1881 - 1827) + chr(0b110110), 22031 - 22023), nzTpIcepk0o8(chr(0b100100 + 0o14) + '\x6f' + chr(0b110011) + '\x34' + chr(52), 47318 - 47310), nzTpIcepk0o8('\060' + '\157' + chr(0b110001) + chr(0b10010 + 0o41) + chr(0b10 + 0o62), 0b1000), nzTpIcepk0o8('\060' + '\157' + '\x32' + '\x31' + chr(0b101000 + 0o10), 0b1000), nzTpIcepk0o8('\060' + chr(111) + chr(50) + chr(2298 - 2249) + chr(907 - 857), 0o10), nzTpIcepk0o8('\060' + '\157' + chr(0b11010 + 0o26), ord("\x08")), nzTpIcepk0o8(chr(0b10110 + 0o32) + chr(0b110010 + 0o75) + chr(51) + chr(49) + '\x36', 6736 - 6728), nzTpIcepk0o8(chr(48) + chr(111) + chr(0b110110) + chr(51), 0b1000), nzTpIcepk0o8(chr(0b10000 + 0o40) + chr(0b1101111) + '\061' + '\060' + '\060', 0o10), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b10100 + 0o37) + chr(469 - 414) + chr(1996 - 1947), 0b1000), nzTpIcepk0o8('\060' + '\157' + chr(1965 - 1915) + chr(0b110100) + chr(1604 - 1549), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\061' + chr(50) + chr(0b110011), 0b1000), nzTpIcepk0o8(chr(0b1 + 0o57) + chr(6420 - 6309) + chr(1915 - 1864) + chr(0b110011) + chr(0b11000 + 0o31), 64244 - 64236), nzTpIcepk0o8('\060' + chr(6471 - 6360) + '\063' + '\x34' + chr(0b110100), 8), nzTpIcepk0o8(chr(48) + '\157' + chr(501 - 452) + chr(714 - 663) + chr(0b100011 + 0o20), 0o10), nzTpIcepk0o8(chr(817 - 769) + chr(0b1101111) + chr(49) + chr(0b110101) + chr(0b110111), 8), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110 + 0o57) + '\x36', 4116 - 4108), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b110011) + chr(173 - 124) + chr(0b110101 + 0o0), 0b1000), nzTpIcepk0o8(chr(0b110000) + '\157' + '\067' + '\x34', 9275 - 9267), nzTpIcepk0o8(chr(0b110000) + chr(7337 - 7226) + chr(2141 - 2092) + chr(1642 - 1594) + chr(54), 0b1000), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b100011 + 0o16) + chr(1650 - 1599) + chr(0b110001), 0b1000), nzTpIcepk0o8(chr(0b10001 + 0o37) + '\157' + chr(1883 - 1832) + '\065' + chr(0b110011), 0o10)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(0b10 + 0o56) + '\157' + chr(53) + '\060', 0o10)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'?'), '\x64' + chr(101) + '\143' + '\157' + chr(2252 - 2152) + '\x65')('\x75' + chr(4852 - 4736) + chr(0b1100110) + '\x2d' + '\x38') + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def v4_4i1C4yO09(oD8LLo_zqNZe, ReAwxaIgTMy5, f17Y4wAeskRW, a5VWIXvLItfZ):
wMqbr5e2DE5R = []
for NoZxuO7wjArS in bbT2xIe5pzk7(nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b11010 + 0o26), 8), ftfygxgFas5X(oD8LLo_zqNZe)):
roI3spqORKae(wMqbr5e2DE5R, roI3spqORKae(ES5oEprVxulp(b'Y\x11P\x0f\xc5K,}\xdf:\xff\x08'), '\x64' + '\x65' + chr(99) + chr(1953 - 1842) + chr(4694 - 4594) + chr(0b1100101))(chr(0b111111 + 0o66) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(56)))([oD8LLo_zqNZe[NoZxuO7wjArS], ReAwxaIgTMy5[NoZxuO7wjArS], f17Y4wAeskRW[NoZxuO7wjArS], a5VWIXvLItfZ[NoZxuO7wjArS]])
lk_fDSDOcEpr = nDF4gVNx0u9Q.Tn6rGr7XTM7t(wMqbr5e2DE5R)
return lk_fDSDOcEpr
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
equi
|
def equi(map_axis, centerlon, centerlat, radius, color, alpha=1.0):
"""
This function enables A95 error ellipses to be drawn in cartopy around
paleomagnetic poles in conjunction with shoot
(modified from: http://www.geophysique.be/2011/02/20/matplotlib-basemap-tutorial-09-drawing-circles/).
"""
if not has_cartopy:
print('-W- cartopy must be installed to run ipmag.equi')
return
glon1 = centerlon
glat1 = centerlat
X = []
Y = []
for azimuth in range(0, 360):
glon2, glat2, baz = shoot(glon1, glat1, azimuth, radius)
X.append(glon2)
Y.append(glat2)
X.append(X[0])
Y.append(Y[0])
plt.plot(X[::-1], Y[::-1], color=color,
transform=ccrs.Geodetic(), alpha=alpha)
|
python
|
def equi(map_axis, centerlon, centerlat, radius, color, alpha=1.0):
"""
This function enables A95 error ellipses to be drawn in cartopy around
paleomagnetic poles in conjunction with shoot
(modified from: http://www.geophysique.be/2011/02/20/matplotlib-basemap-tutorial-09-drawing-circles/).
"""
if not has_cartopy:
print('-W- cartopy must be installed to run ipmag.equi')
return
glon1 = centerlon
glat1 = centerlat
X = []
Y = []
for azimuth in range(0, 360):
glon2, glat2, baz = shoot(glon1, glat1, azimuth, radius)
X.append(glon2)
Y.append(glat2)
X.append(X[0])
Y.append(Y[0])
plt.plot(X[::-1], Y[::-1], color=color,
transform=ccrs.Geodetic(), alpha=alpha)
|
[
"def",
"equi",
"(",
"map_axis",
",",
"centerlon",
",",
"centerlat",
",",
"radius",
",",
"color",
",",
"alpha",
"=",
"1.0",
")",
":",
"if",
"not",
"has_cartopy",
":",
"print",
"(",
"'-W- cartopy must be installed to run ipmag.equi'",
")",
"return",
"glon1",
"=",
"centerlon",
"glat1",
"=",
"centerlat",
"X",
"=",
"[",
"]",
"Y",
"=",
"[",
"]",
"for",
"azimuth",
"in",
"range",
"(",
"0",
",",
"360",
")",
":",
"glon2",
",",
"glat2",
",",
"baz",
"=",
"shoot",
"(",
"glon1",
",",
"glat1",
",",
"azimuth",
",",
"radius",
")",
"X",
".",
"append",
"(",
"glon2",
")",
"Y",
".",
"append",
"(",
"glat2",
")",
"X",
".",
"append",
"(",
"X",
"[",
"0",
"]",
")",
"Y",
".",
"append",
"(",
"Y",
"[",
"0",
"]",
")",
"plt",
".",
"plot",
"(",
"X",
"[",
":",
":",
"-",
"1",
"]",
",",
"Y",
"[",
":",
":",
"-",
"1",
"]",
",",
"color",
"=",
"color",
",",
"transform",
"=",
"ccrs",
".",
"Geodetic",
"(",
")",
",",
"alpha",
"=",
"alpha",
")"
] |
This function enables A95 error ellipses to be drawn in cartopy around
paleomagnetic poles in conjunction with shoot
(modified from: http://www.geophysique.be/2011/02/20/matplotlib-basemap-tutorial-09-drawing-circles/).
|
[
"This",
"function",
"enables",
"A95",
"error",
"ellipses",
"to",
"be",
"drawn",
"in",
"cartopy",
"around",
"paleomagnetic",
"poles",
"in",
"conjunction",
"with",
"shoot",
"(",
"modified",
"from",
":",
"http",
":",
"//",
"www",
".",
"geophysique",
".",
"be",
"/",
"2011",
"/",
"02",
"/",
"20",
"/",
"matplotlib",
"-",
"basemap",
"-",
"tutorial",
"-",
"09",
"-",
"drawing",
"-",
"circles",
"/",
")",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L2542-L2563
|
train
|
This function draws an equilateral ellipses around a basemap.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8('\060' + '\157' + chr(0b110011) + chr(52) + '\x30', 0b1000), nzTpIcepk0o8(chr(179 - 131) + chr(0b1101111) + '\064' + chr(858 - 806), 0b1000), nzTpIcepk0o8(chr(0b11110 + 0o22) + chr(0b1011 + 0o144) + '\x31' + chr(54) + '\x32', 0b1000), nzTpIcepk0o8('\060' + chr(0b11 + 0o154) + chr(53) + '\x31', 0b1000), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(1717 - 1666) + chr(0b100111 + 0o13) + chr(499 - 446), ord("\x08")), nzTpIcepk0o8(chr(0b10001 + 0o37) + '\x6f' + chr(51) + chr(0b11001 + 0o31) + '\x32', 18663 - 18655), nzTpIcepk0o8(chr(814 - 766) + '\x6f' + chr(49) + '\066' + chr(0b110 + 0o57), 0b1000), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x37' + '\065', 0b1000), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b10011 + 0o37) + '\x34' + chr(704 - 656), ord("\x08")), nzTpIcepk0o8('\x30' + chr(111) + chr(1328 - 1278) + chr(0b1001 + 0o47) + chr(53), 0b1000), nzTpIcepk0o8(chr(48) + '\157' + chr(0b110110) + chr(1254 - 1205), 0o10), nzTpIcepk0o8(chr(0b100000 + 0o20) + chr(8933 - 8822) + '\066' + chr(0b110000), ord("\x08")), nzTpIcepk0o8(chr(0b10101 + 0o33) + '\x6f' + '\062' + '\x31' + '\067', 0b1000), nzTpIcepk0o8('\x30' + chr(2616 - 2505) + '\063' + chr(0b10111 + 0o34) + chr(0b1111 + 0o46), 0b1000), nzTpIcepk0o8(chr(48) + '\157' + chr(0b110100) + chr(0b11011 + 0o30), 22317 - 22309), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b10110 + 0o33) + '\063' + chr(48), 22265 - 22257), nzTpIcepk0o8(chr(1148 - 1100) + chr(111) + chr(0b110001) + chr(0b110101), 58782 - 58774), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b101110 + 0o3) + chr(53) + chr(0b110011), ord("\x08")), nzTpIcepk0o8(chr(308 - 260) + chr(4653 - 4542) + '\067' + chr(0b101101 + 0o4), 27222 - 27214), nzTpIcepk0o8(chr(2206 - 2158) + '\x6f' + '\061' + chr(722 - 668) + chr(691 - 638), 8), nzTpIcepk0o8(chr(1269 - 1221) + chr(0b1011101 + 0o22) + chr(49) + chr(0b110111) + chr(0b10111 + 0o34), 64023 - 64015), nzTpIcepk0o8(chr(0b10110 + 0o32) + chr(0b1101111) + '\061' + chr(1142 - 1092) + chr(0b1000 + 0o54), 755 - 747), nzTpIcepk0o8(chr(0b110000) + chr(0b100000 + 0o117) + '\063' + chr(53) + chr(0b110010), 0o10), nzTpIcepk0o8('\060' + '\157' + chr(1533 - 1483) + chr(0b1 + 0o63) + chr(0b110100), 0b1000), nzTpIcepk0o8('\060' + '\x6f' + '\x37' + chr(2535 - 2480), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(1449 - 1398) + chr(0b10100 + 0o37) + chr(50), 0b1000), nzTpIcepk0o8(chr(48) + chr(511 - 400) + '\x33' + chr(0b110000) + chr(55), 0o10), nzTpIcepk0o8('\x30' + '\157' + '\063' + '\x32', 0o10), nzTpIcepk0o8(chr(1689 - 1641) + chr(0b1101111) + chr(738 - 685) + chr(205 - 151), 0o10), nzTpIcepk0o8(chr(0b100100 + 0o14) + '\157' + '\063' + '\x37' + chr(53), 0b1000), nzTpIcepk0o8(chr(48) + chr(111) + chr(53) + chr(2266 - 2218), 0b1000), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(51) + '\x37', 0o10), nzTpIcepk0o8(chr(0b11 + 0o55) + '\157' + chr(828 - 779) + chr(1498 - 1448) + chr(0b110000 + 0o6), 0o10), nzTpIcepk0o8('\060' + chr(0b1011101 + 0o22) + chr(1986 - 1937) + '\060' + '\x37', ord("\x08")), nzTpIcepk0o8(chr(1832 - 1784) + chr(111) + chr(1431 - 1380) + chr(0b110101) + chr(470 - 418), 0b1000), nzTpIcepk0o8(chr(48) + chr(111) + chr(1866 - 1816) + '\063', 0o10), nzTpIcepk0o8(chr(843 - 795) + chr(0b1101111) + '\x32' + '\063' + chr(0b110010), 0b1000), nzTpIcepk0o8(chr(0b1100 + 0o44) + chr(0b1000011 + 0o54) + '\x33' + '\x36' + '\064', 0b1000), nzTpIcepk0o8(chr(0b101110 + 0o2) + '\157' + chr(2251 - 2202) + chr(2859 - 2805) + '\060', 0b1000), nzTpIcepk0o8('\x30' + '\x6f' + '\061' + chr(2537 - 2485) + '\x31', ord("\x08"))][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(0b100001 + 0o17) + chr(0b101011 + 0o104) + '\x35' + '\060', 8)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xce'), '\x64' + '\x65' + '\143' + chr(111) + chr(710 - 610) + '\x65')('\x75' + chr(0b1110100) + chr(0b11100 + 0o112) + '\x2d' + chr(56)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def DLCjUGEWs_oA(RGxUm1YH2emY, vR0phE8WlwSP, EeSk1dJA0nh3, qGhcQMWNyIbI, s93qyRHd7l1y, t3TBppk7s7__=1.0):
if not iooSrYwNGRVI:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xcds_\t\xb6\xb3\x07I\xcf\xf5H\x10\xe2\xa8P,-\t\\U\x12:\x99\xd0^\xb6\xab\x7fJ\xdd\\pv5\x99}\xba\x9d\x00\x0c\x81C\\L\xa4\xa7\x1c'), chr(0b110100 + 0o60) + '\145' + '\x63' + chr(0b1101111) + chr(5616 - 5516) + chr(101))(chr(0b101110 + 0o107) + chr(0b1101001 + 0o13) + chr(0b10 + 0o144) + '\055' + chr(0b101001 + 0o17)))
return
KLmnIHB8sxCh = vR0phE8WlwSP
ORedQjwHRiIs = EeSk1dJA0nh3
mxhyDqTAMpMC = []
zWIjrOExuyqC = []
for CJV7DnXUuVNP in bbT2xIe5pzk7(nzTpIcepk0o8('\060' + '\x6f' + chr(0b110000), 0o10), nzTpIcepk0o8(chr(0b110000) + '\157' + '\065' + chr(53) + chr(48), 0o10)):
(FXJyxt8xuHg8, J0rUnC6klckO, kkNuP7pmwfX_) = bk5NIQtnteti(KLmnIHB8sxCh, ORedQjwHRiIs, CJV7DnXUuVNP, qGhcQMWNyIbI)
roI3spqORKae(mxhyDqTAMpMC, roI3spqORKae(ES5oEprVxulp(b'\xa8p!\x1d\xad\xb52R\xca\xead\x05'), chr(0b1100100) + chr(101) + chr(5283 - 5184) + chr(0b1101111) + chr(100) + chr(0b1100101))('\165' + chr(1407 - 1291) + chr(0b10110 + 0o120) + chr(0b101101) + chr(56)))(FXJyxt8xuHg8)
roI3spqORKae(zWIjrOExuyqC, roI3spqORKae(ES5oEprVxulp(b'\xa8p!\x1d\xad\xb52R\xca\xead\x05'), chr(117 - 17) + chr(101) + '\143' + chr(0b101100 + 0o103) + chr(6722 - 6622) + '\x65')(chr(117) + '\164' + '\x66' + chr(374 - 329) + chr(1530 - 1474)))(J0rUnC6klckO)
roI3spqORKae(mxhyDqTAMpMC, roI3spqORKae(ES5oEprVxulp(b'\xa8p!\x1d\xad\xb52R\xca\xead\x05'), '\x64' + chr(0b1001110 + 0o27) + chr(99) + chr(0b111000 + 0o67) + chr(2095 - 1995) + '\x65')('\165' + chr(3975 - 3859) + chr(4200 - 4098) + chr(0b1 + 0o54) + '\x38'))(mxhyDqTAMpMC[nzTpIcepk0o8('\x30' + chr(459 - 348) + '\060', 8)])
roI3spqORKae(zWIjrOExuyqC, roI3spqORKae(ES5oEprVxulp(b'\xa8p!\x1d\xad\xb52R\xca\xead\x05'), chr(0b1100100) + chr(101) + chr(99) + chr(0b1000 + 0o147) + chr(0b1100100) + chr(0b1100101))(chr(6683 - 6566) + chr(0b110010 + 0o102) + chr(0b1000100 + 0o42) + chr(0b111 + 0o46) + chr(0b111000)))(zWIjrOExuyqC[nzTpIcepk0o8(chr(0b10011 + 0o35) + '\157' + '\x30', 8)])
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\x90H\x1d]'), chr(0b1100100) + '\x65' + chr(0b1110 + 0o125) + '\157' + '\144' + chr(0b1100101))('\165' + chr(0b1011 + 0o151) + chr(102) + chr(1222 - 1177) + chr(0b101010 + 0o16)))(mxhyDqTAMpMC[::-nzTpIcepk0o8('\x30' + '\157' + '\061', 0b1000)], zWIjrOExuyqC[::-nzTpIcepk0o8('\x30' + '\157' + chr(2323 - 2274), 8)], color=s93qyRHd7l1y, transform=roI3spqORKae(uCkO3D3nGLZI, roI3spqORKae(ES5oEprVxulp(b'\xa7A\x1dM\xb0\xa6\x1c^'), chr(100) + '\x65' + chr(0b1011110 + 0o5) + chr(111) + chr(100) + '\x65')('\165' + '\x74' + '\146' + chr(0b101101) + '\x38'))(), alpha=t3TBppk7s7__)
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
equi_basemap
|
def equi_basemap(m, centerlon, centerlat, radius, color):
"""
This function enables A95 error ellipses to be drawn in basemap around
paleomagnetic poles in conjunction with shoot
(from: http://www.geophysique.be/2011/02/20/matplotlib-basemap-tutorial-09-drawing-circles/).
"""
glon1 = centerlon
glat1 = centerlat
X = []
Y = []
for azimuth in range(0, 360):
glon2, glat2, baz = shoot(glon1, glat1, azimuth, radius)
X.append(glon2)
Y.append(glat2)
X.append(X[0])
Y.append(Y[0])
X, Y = m(X, Y)
plt.plot(X, Y, color)
|
python
|
def equi_basemap(m, centerlon, centerlat, radius, color):
"""
This function enables A95 error ellipses to be drawn in basemap around
paleomagnetic poles in conjunction with shoot
(from: http://www.geophysique.be/2011/02/20/matplotlib-basemap-tutorial-09-drawing-circles/).
"""
glon1 = centerlon
glat1 = centerlat
X = []
Y = []
for azimuth in range(0, 360):
glon2, glat2, baz = shoot(glon1, glat1, azimuth, radius)
X.append(glon2)
Y.append(glat2)
X.append(X[0])
Y.append(Y[0])
X, Y = m(X, Y)
plt.plot(X, Y, color)
|
[
"def",
"equi_basemap",
"(",
"m",
",",
"centerlon",
",",
"centerlat",
",",
"radius",
",",
"color",
")",
":",
"glon1",
"=",
"centerlon",
"glat1",
"=",
"centerlat",
"X",
"=",
"[",
"]",
"Y",
"=",
"[",
"]",
"for",
"azimuth",
"in",
"range",
"(",
"0",
",",
"360",
")",
":",
"glon2",
",",
"glat2",
",",
"baz",
"=",
"shoot",
"(",
"glon1",
",",
"glat1",
",",
"azimuth",
",",
"radius",
")",
"X",
".",
"append",
"(",
"glon2",
")",
"Y",
".",
"append",
"(",
"glat2",
")",
"X",
".",
"append",
"(",
"X",
"[",
"0",
"]",
")",
"Y",
".",
"append",
"(",
"Y",
"[",
"0",
"]",
")",
"X",
",",
"Y",
"=",
"m",
"(",
"X",
",",
"Y",
")",
"plt",
".",
"plot",
"(",
"X",
",",
"Y",
",",
"color",
")"
] |
This function enables A95 error ellipses to be drawn in basemap around
paleomagnetic poles in conjunction with shoot
(from: http://www.geophysique.be/2011/02/20/matplotlib-basemap-tutorial-09-drawing-circles/).
|
[
"This",
"function",
"enables",
"A95",
"error",
"ellipses",
"to",
"be",
"drawn",
"in",
"basemap",
"around",
"paleomagnetic",
"poles",
"in",
"conjunction",
"with",
"shoot",
"(",
"from",
":",
"http",
":",
"//",
"www",
".",
"geophysique",
".",
"be",
"/",
"2011",
"/",
"02",
"/",
"20",
"/",
"matplotlib",
"-",
"basemap",
"-",
"tutorial",
"-",
"09",
"-",
"drawing",
"-",
"circles",
"/",
")",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L2566-L2584
|
train
|
This function draws the basemap around a paleomagnetic poles in conjunction with shoot
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(48) + chr(111) + '\063' + chr(1024 - 971) + chr(0b110000), 48720 - 48712), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\061' + chr(52) + chr(0b11111 + 0o23), ord("\x08")), nzTpIcepk0o8(chr(0b11100 + 0o24) + chr(0b1101111) + chr(0b110011) + '\x30' + '\x30', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\062' + chr(52) + chr(0b110011), 0o10), nzTpIcepk0o8(chr(0b100100 + 0o14) + '\157' + '\061' + chr(0b1110 + 0o43) + chr(0b110100), ord("\x08")), nzTpIcepk0o8('\x30' + '\x6f' + '\x33' + '\064' + chr(0b110001), 57364 - 57356), nzTpIcepk0o8('\x30' + chr(111) + chr(51) + chr(0b110000), 44258 - 44250), nzTpIcepk0o8('\060' + '\157' + chr(0b1111 + 0o43) + '\x33' + chr(0b11010 + 0o32), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110010) + '\x35' + chr(0b110111), 0o10), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b110001) + chr(0b110100) + chr(49), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(4074 - 3963) + '\x33' + chr(54) + '\x37', 0o10), nzTpIcepk0o8(chr(1709 - 1661) + chr(0b1011100 + 0o23) + chr(0b1100 + 0o45) + '\x37' + chr(55), 0o10), nzTpIcepk0o8(chr(48) + chr(111) + '\x31' + '\063', 50159 - 50151), nzTpIcepk0o8('\x30' + chr(111) + chr(50) + '\067' + chr(0b10 + 0o57), 0o10), nzTpIcepk0o8('\060' + chr(0b10101 + 0o132) + chr(0b110001) + chr(0b10010 + 0o37) + '\064', 8), nzTpIcepk0o8(chr(48) + chr(0b1010011 + 0o34) + chr(0b110011) + chr(49) + '\066', ord("\x08")), nzTpIcepk0o8(chr(621 - 573) + chr(111) + '\x33' + chr(0b110001) + '\060', 0o10), nzTpIcepk0o8(chr(0b0 + 0o60) + '\x6f' + '\062' + '\x36' + chr(0b101101 + 0o4), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(111) + '\063' + chr(0b110101) + '\x31', ord("\x08")), nzTpIcepk0o8(chr(0b100111 + 0o11) + chr(7680 - 7569) + chr(0b100110 + 0o21) + chr(50), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(392 - 342) + chr(0b10011 + 0o37) + chr(51), 0b1000), nzTpIcepk0o8('\x30' + chr(0b1010100 + 0o33) + chr(0b110011) + chr(0b110010) + '\x37', 0o10), nzTpIcepk0o8(chr(0b100100 + 0o14) + '\x6f' + '\061' + chr(0b110111) + chr(0b110000), 0b1000), nzTpIcepk0o8('\x30' + chr(0b1101111) + '\x31' + chr(2574 - 2522) + chr(1693 - 1640), 0o10), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b110010) + chr(0b110111) + chr(0b11010 + 0o31), 0o10), nzTpIcepk0o8('\x30' + chr(7502 - 7391) + '\x32' + '\062' + '\x32', 0b1000), nzTpIcepk0o8(chr(0b101011 + 0o5) + chr(9657 - 9546) + chr(50) + chr(0b11101 + 0o26) + '\064', 8), nzTpIcepk0o8(chr(330 - 282) + chr(0b1101111) + '\062' + chr(55) + chr(0b110010), ord("\x08")), nzTpIcepk0o8('\060' + '\157' + '\x33' + '\x36' + '\x31', 0b1000), nzTpIcepk0o8(chr(48) + chr(111) + '\x36' + chr(49), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b1100101 + 0o12) + chr(55) + chr(0b110001), 0o10), nzTpIcepk0o8('\060' + chr(458 - 347) + '\067' + chr(2436 - 2381), 13977 - 13969), nzTpIcepk0o8(chr(1652 - 1604) + chr(0b1101111) + '\x32' + chr(0b100011 + 0o24) + chr(51), 8), nzTpIcepk0o8(chr(0b1010 + 0o46) + chr(111) + '\x33' + chr(0b101101 + 0o6) + chr(891 - 839), 44474 - 44466), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(1970 - 1921) + chr(0b110000) + chr(0b11110 + 0o24), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\062' + '\x31' + '\x37', 0o10), nzTpIcepk0o8(chr(1870 - 1822) + chr(2160 - 2049) + chr(0b110011) + '\x35' + '\064', ord("\x08")), nzTpIcepk0o8(chr(1782 - 1734) + chr(111) + chr(0b110100) + '\x37', 0b1000), nzTpIcepk0o8(chr(48) + chr(111) + chr(0b110001) + chr(49) + chr(0b110011), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(464 - 353) + chr(1198 - 1148) + chr(0b110001) + chr(0b1111 + 0o47), ord("\x08"))][ZlbFMSG8gCoF % nzTpIcepk0o8('\060' + '\x6f' + '\x35' + chr(0b110000), ord("\x08"))] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xc6'), chr(0b1010 + 0o132) + '\145' + '\x63' + '\x6f' + chr(0b1100100) + chr(101))(chr(117) + chr(0b1101 + 0o147) + chr(0b1100010 + 0o4) + chr(0b101101) + '\x38') + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def t9x_wVKjE_V0(tF75nqoNENFL, vR0phE8WlwSP, EeSk1dJA0nh3, qGhcQMWNyIbI, s93qyRHd7l1y):
KLmnIHB8sxCh = vR0phE8WlwSP
ORedQjwHRiIs = EeSk1dJA0nh3
mxhyDqTAMpMC = []
zWIjrOExuyqC = []
for CJV7DnXUuVNP in bbT2xIe5pzk7(nzTpIcepk0o8('\x30' + chr(111) + '\x30', 0b1000), nzTpIcepk0o8(chr(48) + chr(111) + '\x35' + chr(53) + '\x30', 0o10)):
(FXJyxt8xuHg8, J0rUnC6klckO, kkNuP7pmwfX_) = bk5NIQtnteti(KLmnIHB8sxCh, ORedQjwHRiIs, CJV7DnXUuVNP, qGhcQMWNyIbI)
roI3spqORKae(mxhyDqTAMpMC, roI3spqORKae(ES5oEprVxulp(b'\xa06\x93\x974\x86_\xf3\xc5\x0e\xa2J'), '\144' + '\145' + chr(0b1001100 + 0o27) + chr(0b1101111) + chr(100) + chr(0b101110 + 0o67))(chr(117) + chr(0b1110100) + '\146' + '\x2d' + chr(0b111000)))(FXJyxt8xuHg8)
roI3spqORKae(zWIjrOExuyqC, roI3spqORKae(ES5oEprVxulp(b'\xa06\x93\x974\x86_\xf3\xc5\x0e\xa2J'), chr(0b100101 + 0o77) + chr(0b1100101) + chr(99) + chr(0b1100001 + 0o16) + chr(100) + chr(101))(chr(117) + chr(12436 - 12320) + chr(0b1100110) + '\x2d' + chr(1847 - 1791)))(J0rUnC6klckO)
roI3spqORKae(mxhyDqTAMpMC, roI3spqORKae(ES5oEprVxulp(b'\xa06\x93\x974\x86_\xf3\xc5\x0e\xa2J'), chr(0b100111 + 0o75) + '\x65' + chr(0b1100011) + chr(0b1101111) + chr(6973 - 6873) + chr(0b1100101))('\165' + chr(0b1110100) + '\x66' + '\x2d' + '\x38'))(mxhyDqTAMpMC[nzTpIcepk0o8('\060' + chr(4386 - 4275) + chr(2108 - 2060), 8)])
roI3spqORKae(zWIjrOExuyqC, roI3spqORKae(ES5oEprVxulp(b'\xa06\x93\x974\x86_\xf3\xc5\x0e\xa2J'), chr(0b1010101 + 0o17) + chr(101) + '\143' + chr(0b1010001 + 0o36) + chr(0b1100100) + chr(0b1100101))(chr(4601 - 4484) + chr(0b111001 + 0o73) + chr(0b1100110) + chr(0b101101) + '\070'))(zWIjrOExuyqC[nzTpIcepk0o8(chr(1709 - 1661) + chr(453 - 342) + chr(0b10011 + 0o35), 8)])
(mxhyDqTAMpMC, zWIjrOExuyqC) = tF75nqoNENFL(mxhyDqTAMpMC, zWIjrOExuyqC)
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\x98\x0e\xaf\xd7'), '\x64' + chr(2192 - 2091) + chr(99) + '\x6f' + chr(0b1100100) + chr(1498 - 1397))(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + chr(1753 - 1708) + chr(56)))(mxhyDqTAMpMC, zWIjrOExuyqC, s93qyRHd7l1y)
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
ellipse
|
def ellipse(map_axis, centerlon, centerlat, major_axis, minor_axis, angle, n=360, filled=False, **kwargs):
"""
This function enables general error ellipses to be drawn on the cartopy projection of the input map axis
using a center and a set of major and minor axes and a rotation angle east of north.
(Adapted from equi).
Parameters
-----------
map_axis : cartopy axis
centerlon : longitude of the center of the ellipse
centerlat : latitude of the center of the ellipse
major_axis : Major axis of ellipse
minor_axis : Minor axis of ellipse
angle : angle of major axis in degrees east of north
n : number of points with which to apporximate the ellipse
filled : boolean specifying if the ellipse should be plotted as a filled polygon or
as a set of line segments (Doesn't work right now)
kwargs : any other key word arguments can be passed for the line
Returns
---------
The map object with the ellipse plotted on it
"""
if not has_cartopy:
print('-W- cartopy must be installed to run ipmag.ellipse')
return False
angle = angle*(np.pi/180)
glon1 = centerlon
glat1 = centerlat
X = []
Y = []
for azimuth in np.linspace(0, 360, n):
az_rad = azimuth*(np.pi/180)
radius = ((major_axis*minor_axis)/(((minor_axis*np.cos(az_rad-angle))
** 2 + (major_axis*np.sin(az_rad-angle))**2)**.5))
glon2, glat2, baz = shoot(glon1, glat1, azimuth, radius)
X.append((360+glon2) % 360)
Y.append(glat2)
X.append(X[0])
Y.append(Y[0])
if filled:
ellip = np.array((X, Y)).T
ellip = map_axis.projection.transform_points(
ccrs.PlateCarree(), ellip[:, 0], ellip[:, 1])
poly = Polygon(ellip[:, :2], **kwargs)
map_axis.add_patch(poly)
else:
try:
map_axis.plot(X, Y, transform=ccrs.Geodetic(), **kwargs)
return True
except ValueError:
return False
|
python
|
def ellipse(map_axis, centerlon, centerlat, major_axis, minor_axis, angle, n=360, filled=False, **kwargs):
"""
This function enables general error ellipses to be drawn on the cartopy projection of the input map axis
using a center and a set of major and minor axes and a rotation angle east of north.
(Adapted from equi).
Parameters
-----------
map_axis : cartopy axis
centerlon : longitude of the center of the ellipse
centerlat : latitude of the center of the ellipse
major_axis : Major axis of ellipse
minor_axis : Minor axis of ellipse
angle : angle of major axis in degrees east of north
n : number of points with which to apporximate the ellipse
filled : boolean specifying if the ellipse should be plotted as a filled polygon or
as a set of line segments (Doesn't work right now)
kwargs : any other key word arguments can be passed for the line
Returns
---------
The map object with the ellipse plotted on it
"""
if not has_cartopy:
print('-W- cartopy must be installed to run ipmag.ellipse')
return False
angle = angle*(np.pi/180)
glon1 = centerlon
glat1 = centerlat
X = []
Y = []
for azimuth in np.linspace(0, 360, n):
az_rad = azimuth*(np.pi/180)
radius = ((major_axis*minor_axis)/(((minor_axis*np.cos(az_rad-angle))
** 2 + (major_axis*np.sin(az_rad-angle))**2)**.5))
glon2, glat2, baz = shoot(glon1, glat1, azimuth, radius)
X.append((360+glon2) % 360)
Y.append(glat2)
X.append(X[0])
Y.append(Y[0])
if filled:
ellip = np.array((X, Y)).T
ellip = map_axis.projection.transform_points(
ccrs.PlateCarree(), ellip[:, 0], ellip[:, 1])
poly = Polygon(ellip[:, :2], **kwargs)
map_axis.add_patch(poly)
else:
try:
map_axis.plot(X, Y, transform=ccrs.Geodetic(), **kwargs)
return True
except ValueError:
return False
|
[
"def",
"ellipse",
"(",
"map_axis",
",",
"centerlon",
",",
"centerlat",
",",
"major_axis",
",",
"minor_axis",
",",
"angle",
",",
"n",
"=",
"360",
",",
"filled",
"=",
"False",
",",
"*",
"*",
"kwargs",
")",
":",
"if",
"not",
"has_cartopy",
":",
"print",
"(",
"'-W- cartopy must be installed to run ipmag.ellipse'",
")",
"return",
"False",
"angle",
"=",
"angle",
"*",
"(",
"np",
".",
"pi",
"/",
"180",
")",
"glon1",
"=",
"centerlon",
"glat1",
"=",
"centerlat",
"X",
"=",
"[",
"]",
"Y",
"=",
"[",
"]",
"for",
"azimuth",
"in",
"np",
".",
"linspace",
"(",
"0",
",",
"360",
",",
"n",
")",
":",
"az_rad",
"=",
"azimuth",
"*",
"(",
"np",
".",
"pi",
"/",
"180",
")",
"radius",
"=",
"(",
"(",
"major_axis",
"*",
"minor_axis",
")",
"/",
"(",
"(",
"(",
"minor_axis",
"*",
"np",
".",
"cos",
"(",
"az_rad",
"-",
"angle",
")",
")",
"**",
"2",
"+",
"(",
"major_axis",
"*",
"np",
".",
"sin",
"(",
"az_rad",
"-",
"angle",
")",
")",
"**",
"2",
")",
"**",
".5",
")",
")",
"glon2",
",",
"glat2",
",",
"baz",
"=",
"shoot",
"(",
"glon1",
",",
"glat1",
",",
"azimuth",
",",
"radius",
")",
"X",
".",
"append",
"(",
"(",
"360",
"+",
"glon2",
")",
"%",
"360",
")",
"Y",
".",
"append",
"(",
"glat2",
")",
"X",
".",
"append",
"(",
"X",
"[",
"0",
"]",
")",
"Y",
".",
"append",
"(",
"Y",
"[",
"0",
"]",
")",
"if",
"filled",
":",
"ellip",
"=",
"np",
".",
"array",
"(",
"(",
"X",
",",
"Y",
")",
")",
".",
"T",
"ellip",
"=",
"map_axis",
".",
"projection",
".",
"transform_points",
"(",
"ccrs",
".",
"PlateCarree",
"(",
")",
",",
"ellip",
"[",
":",
",",
"0",
"]",
",",
"ellip",
"[",
":",
",",
"1",
"]",
")",
"poly",
"=",
"Polygon",
"(",
"ellip",
"[",
":",
",",
":",
"2",
"]",
",",
"*",
"*",
"kwargs",
")",
"map_axis",
".",
"add_patch",
"(",
"poly",
")",
"else",
":",
"try",
":",
"map_axis",
".",
"plot",
"(",
"X",
",",
"Y",
",",
"transform",
"=",
"ccrs",
".",
"Geodetic",
"(",
")",
",",
"*",
"*",
"kwargs",
")",
"return",
"True",
"except",
"ValueError",
":",
"return",
"False"
] |
This function enables general error ellipses to be drawn on the cartopy projection of the input map axis
using a center and a set of major and minor axes and a rotation angle east of north.
(Adapted from equi).
Parameters
-----------
map_axis : cartopy axis
centerlon : longitude of the center of the ellipse
centerlat : latitude of the center of the ellipse
major_axis : Major axis of ellipse
minor_axis : Minor axis of ellipse
angle : angle of major axis in degrees east of north
n : number of points with which to apporximate the ellipse
filled : boolean specifying if the ellipse should be plotted as a filled polygon or
as a set of line segments (Doesn't work right now)
kwargs : any other key word arguments can be passed for the line
Returns
---------
The map object with the ellipse plotted on it
|
[
"This",
"function",
"enables",
"general",
"error",
"ellipses",
"to",
"be",
"drawn",
"on",
"the",
"cartopy",
"projection",
"of",
"the",
"input",
"map",
"axis",
"using",
"a",
"center",
"and",
"a",
"set",
"of",
"major",
"and",
"minor",
"axes",
"and",
"a",
"rotation",
"angle",
"east",
"of",
"north",
".",
"(",
"Adapted",
"from",
"equi",
")",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L2587-L2640
|
train
|
This function creates a key word ellipses that can be drawn on the map object.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(48) + '\x6f' + chr(49) + chr(0b100110 + 0o17) + chr(0b110100), 32391 - 32383), nzTpIcepk0o8(chr(160 - 112) + chr(0b110110 + 0o71) + chr(49) + chr(2164 - 2112) + '\x31', 0b1000), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(729 - 680) + '\x31' + chr(0b100000 + 0o25), 0b1000), nzTpIcepk0o8(chr(1402 - 1354) + chr(0b1001011 + 0o44) + chr(1449 - 1399) + '\x35' + '\x36', ord("\x08")), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(49) + chr(1578 - 1528), 29550 - 29542), nzTpIcepk0o8('\060' + chr(0b11010 + 0o125) + chr(0b110100 + 0o0) + '\x32', 0b1000), nzTpIcepk0o8(chr(0b10111 + 0o31) + chr(0b100110 + 0o111) + chr(0b110001 + 0o2) + '\066' + chr(840 - 792), 0o10), nzTpIcepk0o8(chr(48) + chr(10303 - 10192) + chr(50) + chr(0b100001 + 0o20) + chr(49), 0o10), nzTpIcepk0o8('\x30' + '\157' + chr(51) + '\x32' + '\065', ord("\x08")), nzTpIcepk0o8('\x30' + '\157' + chr(0b110010) + chr(0b110010) + chr(2803 - 2750), 0b1000), nzTpIcepk0o8('\x30' + chr(111) + chr(0b11001 + 0o35), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\063' + chr(1457 - 1408) + '\060', ord("\x08")), nzTpIcepk0o8(chr(0b0 + 0o60) + chr(111) + '\065' + '\061', 28424 - 28416), nzTpIcepk0o8('\060' + chr(1347 - 1236) + '\061' + chr(0b11110 + 0o24), 8), nzTpIcepk0o8(chr(89 - 41) + chr(9620 - 9509) + chr(0b101101 + 0o7) + chr(54), 49810 - 49802), nzTpIcepk0o8(chr(0b101 + 0o53) + chr(2453 - 2342) + '\063' + chr(0b110001) + chr(0b10110 + 0o36), 0o10), nzTpIcepk0o8(chr(48) + chr(111) + chr(49) + chr(0b1111 + 0o45) + '\x35', ord("\x08")), nzTpIcepk0o8(chr(48) + chr(11917 - 11806) + '\061' + chr(766 - 711), 0o10), nzTpIcepk0o8(chr(1924 - 1876) + chr(111) + chr(0b1110 + 0o43) + '\x31' + chr(54), 0o10), nzTpIcepk0o8('\060' + '\x6f' + chr(0b101110 + 0o3) + chr(52), ord("\x08")), nzTpIcepk0o8(chr(534 - 486) + chr(11076 - 10965) + chr(49) + chr(135 - 86) + '\063', 12165 - 12157), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b110001) + '\x35' + chr(0b110001), 5115 - 5107), nzTpIcepk0o8(chr(0b101111 + 0o1) + '\x6f' + chr(55) + chr(2862 - 2807), 0b1000), nzTpIcepk0o8('\060' + '\157' + chr(0b110110) + chr(0b111 + 0o53), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b101110 + 0o4) + chr(357 - 305) + chr(0b1110 + 0o46), 0o10), nzTpIcepk0o8(chr(454 - 406) + chr(0b1101111) + chr(1058 - 1007) + chr(0b110100) + '\061', ord("\x08")), nzTpIcepk0o8(chr(1212 - 1164) + chr(0b1101111) + chr(0b110110) + chr(0b1011 + 0o45), 12965 - 12957), nzTpIcepk0o8('\x30' + chr(111) + chr(0b110011) + chr(0b110101), 50199 - 50191), nzTpIcepk0o8(chr(0b110000) + chr(0b1101001 + 0o6) + '\063' + chr(0b100011 + 0o24) + '\x36', 0b1000), nzTpIcepk0o8('\060' + '\x6f' + chr(51) + chr(52), 0b1000), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b101 + 0o62), ord("\x08")), nzTpIcepk0o8(chr(0b11010 + 0o26) + '\x6f' + chr(0b110010) + chr(2522 - 2468) + '\067', 0o10), nzTpIcepk0o8(chr(0b101111 + 0o1) + chr(0b1001101 + 0o42) + chr(0b110001) + chr(0b110011) + chr(962 - 907), 48303 - 48295), nzTpIcepk0o8('\060' + chr(0b1000011 + 0o54) + chr(51) + chr(289 - 237) + chr(1897 - 1846), ord("\x08")), nzTpIcepk0o8(chr(0b101010 + 0o6) + '\157' + '\063' + '\x33', 0o10), nzTpIcepk0o8('\x30' + '\157' + '\062' + chr(0b10011 + 0o42) + '\061', 0o10), nzTpIcepk0o8(chr(1950 - 1902) + chr(111) + chr(0b11010 + 0o30) + '\065' + chr(874 - 822), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\x31' + chr(0b100011 + 0o23) + '\060', 0o10), nzTpIcepk0o8(chr(230 - 182) + chr(0b1101111) + '\x30', 60940 - 60932), nzTpIcepk0o8(chr(332 - 284) + chr(8332 - 8221) + '\x32', ord("\x08"))][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(48) + chr(6668 - 6557) + chr(0b110101) + chr(0b110000), ord("\x08"))] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'B'), '\144' + chr(0b1100101) + '\x63' + chr(7845 - 7734) + chr(0b1100100) + '\145')(chr(0b10111 + 0o136) + chr(0b1101000 + 0o14) + chr(0b1100110) + chr(516 - 471) + chr(2832 - 2776)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def VDFtOIExTZhC(RGxUm1YH2emY, vR0phE8WlwSP, EeSk1dJA0nh3, QBsAmYInLnro, o1P12FGKVa9w, aO7VavFy3Xvk, NoZxuO7wjArS=nzTpIcepk0o8(chr(48) + '\x6f' + '\x35' + chr(53) + '\060', ord("\x08")), WXGln4YM9cQq=nzTpIcepk0o8(chr(48) + chr(0b10 + 0o155) + chr(48), 8), **q5n0sHDDTy90):
if not iooSrYwNGRVI:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'A6`\x8eiC\x82\xfd\xba\xe5\x7f\xe8D\x7fU\xb8Em+,"\x07LF\xc5\x8d\\x\x9a<s\xd8\x7f\x91n\xc7\x8c\x19po\r\x06c\xcbfN\x99\xf9\xa6\xf0'), chr(0b1100100) + chr(101) + '\x63' + chr(0b1000111 + 0o50) + chr(0b1100100) + chr(272 - 171))(chr(117) + chr(683 - 567) + chr(9074 - 8972) + '\055' + chr(56)))
return nzTpIcepk0o8(chr(129 - 81) + chr(5489 - 5378) + '\060', 8)
aO7VavFy3Xvk = aO7VavFy3Xvk * (nDF4gVNx0u9Q.nMrXkRpTQ9Oo / nzTpIcepk0o8('\060' + '\x6f' + '\x32' + '\x36' + chr(0b110100), 0b1000))
KLmnIHB8sxCh = vR0phE8WlwSP
ORedQjwHRiIs = EeSk1dJA0nh3
mxhyDqTAMpMC = []
zWIjrOExuyqC = []
for CJV7DnXUuVNP in roI3spqORKae(nDF4gVNx0u9Q, roI3spqORKae(ES5oEprVxulp(b'+S\x0e\xca~F\x93\xe1\x83\xc5W\x8d'), '\144' + '\x65' + '\143' + chr(0b1101111) + chr(0b1100100) + chr(0b101000 + 0o75))(chr(0b101110 + 0o107) + chr(116) + '\x66' + '\x2d' + chr(56)))(nzTpIcepk0o8(chr(1866 - 1818) + '\157' + '\060', 8), nzTpIcepk0o8('\060' + chr(2313 - 2202) + chr(381 - 328) + '\x35' + '\x30', 8), NoZxuO7wjArS):
LzkUGIQ8FxlB = CJV7DnXUuVNP * (nDF4gVNx0u9Q.nMrXkRpTQ9Oo / nzTpIcepk0o8(chr(1023 - 975) + '\157' + chr(0b11011 + 0o27) + '\x36' + chr(0b100101 + 0o17), 8))
qGhcQMWNyIbI = QBsAmYInLnro * o1P12FGKVa9w / ((o1P12FGKVa9w * nDF4gVNx0u9Q.mLriLohwQ9NU(LzkUGIQ8FxlB - aO7VavFy3Xvk)) ** nzTpIcepk0o8(chr(189 - 141) + chr(0b1101111) + '\x32', 8) + (QBsAmYInLnro * nDF4gVNx0u9Q.TMleLVztqSLZ(LzkUGIQ8FxlB - aO7VavFy3Xvk)) ** nzTpIcepk0o8(chr(2186 - 2138) + chr(0b1100101 + 0o12) + '\062', 8)) ** 0.5
(FXJyxt8xuHg8, J0rUnC6klckO, kkNuP7pmwfX_) = bk5NIQtnteti(KLmnIHB8sxCh, ORedQjwHRiIs, CJV7DnXUuVNP, qGhcQMWNyIbI)
roI3spqORKae(mxhyDqTAMpMC, roI3spqORKae(ES5oEprVxulp(b'$5\x1e\x9arE\xb7\xe6\xbf\xfaS\xfd'), '\x64' + '\145' + '\143' + chr(111) + '\x64' + chr(101))(chr(0b1110101) + chr(116) + '\146' + chr(0b10 + 0o53) + chr(56)))((nzTpIcepk0o8('\x30' + chr(111) + chr(53) + '\065' + chr(0b110000), 8) + FXJyxt8xuHg8) % nzTpIcepk0o8(chr(1048 - 1000) + chr(111) + chr(1897 - 1844) + chr(0b10011 + 0o42) + chr(0b110000), 8))
roI3spqORKae(zWIjrOExuyqC, roI3spqORKae(ES5oEprVxulp(b'$5\x1e\x9arE\xb7\xe6\xbf\xfaS\xfd'), chr(100) + '\x65' + chr(99) + '\157' + chr(100) + '\x65')(chr(0b1110101) + chr(2861 - 2745) + chr(0b1100110) + chr(45) + chr(1085 - 1029)))(J0rUnC6klckO)
roI3spqORKae(mxhyDqTAMpMC, roI3spqORKae(ES5oEprVxulp(b'$5\x1e\x9arE\xb7\xe6\xbf\xfaS\xfd'), '\x64' + chr(8832 - 8731) + chr(0b1100011) + chr(0b10110 + 0o131) + chr(9933 - 9833) + chr(0b1100101))(chr(0b11011 + 0o132) + '\164' + '\146' + chr(178 - 133) + '\070'))(mxhyDqTAMpMC[nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(48), 8)])
roI3spqORKae(zWIjrOExuyqC, roI3spqORKae(ES5oEprVxulp(b'$5\x1e\x9arE\xb7\xe6\xbf\xfaS\xfd'), chr(0b1100100) + '\x65' + chr(0b1100011) + '\x6f' + '\x64' + chr(0b1100101))(chr(11947 - 11830) + chr(0b1110100) + '\146' + chr(45) + chr(0b111000)))(zWIjrOExuyqC[nzTpIcepk0o8('\060' + '\x6f' + '\x30', 8)])
if WXGln4YM9cQq:
h1HqRslhEEuZ = nDF4gVNx0u9Q.array((mxhyDqTAMpMC, zWIjrOExuyqC)).hq6XE4_Nhd6R
h1HqRslhEEuZ = RGxUm1YH2emY.projection.transform_points(uCkO3D3nGLZI.PlateCarree(), h1HqRslhEEuZ[:, nzTpIcepk0o8('\060' + '\x6f' + chr(48), 8)], h1HqRslhEEuZ[:, nzTpIcepk0o8('\060' + '\x6f' + chr(0b11000 + 0o31), 34886 - 34878)])
dlT9YcWsoiw_ = jHb3jkH94naa(h1HqRslhEEuZ[:, :nzTpIcepk0o8('\060' + chr(12292 - 12181) + chr(0b110000 + 0o2), 8)], **q5n0sHDDTy90)
roI3spqORKae(RGxUm1YH2emY, roI3spqORKae(ES5oEprVxulp(b'\r\x05)\xf1zC\x84\xea\xbd'), chr(0b1100100) + chr(0b111101 + 0o50) + chr(1576 - 1477) + '\157' + chr(6481 - 6381) + chr(0b1010111 + 0o16))(chr(0b100001 + 0o124) + chr(0b1101 + 0o147) + chr(8782 - 8680) + '\055' + chr(0b100011 + 0o25)))(dlT9YcWsoiw_)
else:
try:
roI3spqORKae(RGxUm1YH2emY, roI3spqORKae(ES5oEprVxulp(b'\x1c\r"\xda'), '\144' + '\x65' + chr(0b1100011) + chr(0b111000 + 0o67) + chr(100) + chr(0b1100101))(chr(117) + '\164' + '\x66' + chr(0b101101) + chr(56)))(mxhyDqTAMpMC, zWIjrOExuyqC, transform=roI3spqORKae(uCkO3D3nGLZI, roI3spqORKae(ES5oEprVxulp(b'+\x04"\xcaoV\x99\xea'), chr(0b1100100) + chr(101) + '\x63' + '\157' + chr(0b100000 + 0o104) + chr(7169 - 7068))(chr(0b1110101) + chr(10993 - 10877) + chr(0b110001 + 0o65) + '\055' + chr(0b111000)))(), **q5n0sHDDTy90)
return nzTpIcepk0o8('\x30' + '\x6f' + chr(0b11000 + 0o31), 8)
except WbNHlDKpyPtQ:
return nzTpIcepk0o8(chr(0b10000 + 0o40) + chr(0b1101111) + chr(0b110000), 8)
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
combine_magic
|
def combine_magic(filenames, outfile='measurements.txt', data_model=3, magic_table='measurements',
dir_path=".", input_dir_path=""):
"""
Takes a list of magic-formatted files, concatenates them, and creates a
single file. Returns output filename if the operation was successful.
Parameters
-----------
filenames : list of MagIC formatted files
outfile : name of output file [e.g., measurements.txt]
data_model : data model number (2.5 or 3), default 3
magic_table : name of magic table, default 'measurements'
dir_path : str
output directory, default "."
input_dir_path : str
input file directory (if different from dir_path), default ""
Returns
----------
outfile name if success, False if failure
"""
input_dir_path, output_dir_path = pmag.fix_directories(input_dir_path, dir_path)
if float(data_model) == 3.0:
outfile = pmag.resolve_file_name(outfile, output_dir_path)
output_dir_path, file_name = os.path.split(outfile)
con = cb.Contribution(output_dir_path, read_tables=[])
# make sure files actually exist
filenames = [pmag.resolve_file_name(f, input_dir_path) for f in filenames]
#filenames = [os.path.realpath(f) for f in filenames]
filenames = [f for f in filenames if os.path.exists(f)]
if not filenames:
print("You have provided no valid file paths, so nothing will be combined".format(
magic_table))
return False
# figure out file type from first of files to join
with open(filenames[0]) as f:
file_type = f.readline().split()[1]
if file_type in ['er_specimens', 'er_samples', 'er_sites',
'er_locations', 'er_ages', 'pmag_specimens',
'pmag_samples', 'pmag_sites', 'pmag_results',
'magic_measurements', 'rmag_anisotropy',
'rmag_results', 'rmag_specimens']:
print(
'-W- You are working in MagIC 3 but have provided a MagIC 2.5 file: {}'.format(file_type))
return False
if file_type not in con.table_names:
file_type = magic_table
infiles = [pd.read_csv(infile, sep='\t', header=1)
for infile in filenames]
df = pd.concat(infiles, ignore_index=True, sort=True)
# drop any fully duplicated rows
df.drop_duplicates(inplace=True)
con.add_magic_table(dtype=file_type, df=df)
# drop any mostly empty rows IF they have duplicate index
parent, child = con.get_parent_and_child(file_type)
ignore_cols = [col[:-1] for col in [file_type, parent] if col]
ignore_cols.extend(['software_packages', 'citations'])
con.tables[file_type].drop_duplicate_rows(ignore_cols)
# correctly handle measurements.sequence column
if 'sequence' in con.tables[file_type].df:
con.tables[file_type].df['sequence'] = range(1, len(con.tables[file_type].df) + 1)
# write table to file, use custom name
res = con.write_table_to_file(file_type, custom_name=file_name)
return res
else:
datasets = []
if not filenames:
print("You must provide at least one file")
return False
for infile in filenames:
if not os.path.isfile(infile):
print("{} is not a valid file name".format(infile))
return False
try:
dataset, file_type = pmag.magic_read(infile)
except IndexError:
print('-W- Could not get records from {}'.format(infile))
print(' Skipping...')
continue
print("File ", infile, " read in with ", len(dataset), " records")
for rec in dataset:
datasets.append(rec)
Recs, keys = pmag.fillkeys(datasets)
if Recs:
pmag.magic_write(outfile, Recs, file_type)
print("All records stored in ", outfile)
return outfile
print("No file could be created")
return False
|
python
|
def combine_magic(filenames, outfile='measurements.txt', data_model=3, magic_table='measurements',
dir_path=".", input_dir_path=""):
"""
Takes a list of magic-formatted files, concatenates them, and creates a
single file. Returns output filename if the operation was successful.
Parameters
-----------
filenames : list of MagIC formatted files
outfile : name of output file [e.g., measurements.txt]
data_model : data model number (2.5 or 3), default 3
magic_table : name of magic table, default 'measurements'
dir_path : str
output directory, default "."
input_dir_path : str
input file directory (if different from dir_path), default ""
Returns
----------
outfile name if success, False if failure
"""
input_dir_path, output_dir_path = pmag.fix_directories(input_dir_path, dir_path)
if float(data_model) == 3.0:
outfile = pmag.resolve_file_name(outfile, output_dir_path)
output_dir_path, file_name = os.path.split(outfile)
con = cb.Contribution(output_dir_path, read_tables=[])
# make sure files actually exist
filenames = [pmag.resolve_file_name(f, input_dir_path) for f in filenames]
#filenames = [os.path.realpath(f) for f in filenames]
filenames = [f for f in filenames if os.path.exists(f)]
if not filenames:
print("You have provided no valid file paths, so nothing will be combined".format(
magic_table))
return False
# figure out file type from first of files to join
with open(filenames[0]) as f:
file_type = f.readline().split()[1]
if file_type in ['er_specimens', 'er_samples', 'er_sites',
'er_locations', 'er_ages', 'pmag_specimens',
'pmag_samples', 'pmag_sites', 'pmag_results',
'magic_measurements', 'rmag_anisotropy',
'rmag_results', 'rmag_specimens']:
print(
'-W- You are working in MagIC 3 but have provided a MagIC 2.5 file: {}'.format(file_type))
return False
if file_type not in con.table_names:
file_type = magic_table
infiles = [pd.read_csv(infile, sep='\t', header=1)
for infile in filenames]
df = pd.concat(infiles, ignore_index=True, sort=True)
# drop any fully duplicated rows
df.drop_duplicates(inplace=True)
con.add_magic_table(dtype=file_type, df=df)
# drop any mostly empty rows IF they have duplicate index
parent, child = con.get_parent_and_child(file_type)
ignore_cols = [col[:-1] for col in [file_type, parent] if col]
ignore_cols.extend(['software_packages', 'citations'])
con.tables[file_type].drop_duplicate_rows(ignore_cols)
# correctly handle measurements.sequence column
if 'sequence' in con.tables[file_type].df:
con.tables[file_type].df['sequence'] = range(1, len(con.tables[file_type].df) + 1)
# write table to file, use custom name
res = con.write_table_to_file(file_type, custom_name=file_name)
return res
else:
datasets = []
if not filenames:
print("You must provide at least one file")
return False
for infile in filenames:
if not os.path.isfile(infile):
print("{} is not a valid file name".format(infile))
return False
try:
dataset, file_type = pmag.magic_read(infile)
except IndexError:
print('-W- Could not get records from {}'.format(infile))
print(' Skipping...')
continue
print("File ", infile, " read in with ", len(dataset), " records")
for rec in dataset:
datasets.append(rec)
Recs, keys = pmag.fillkeys(datasets)
if Recs:
pmag.magic_write(outfile, Recs, file_type)
print("All records stored in ", outfile)
return outfile
print("No file could be created")
return False
|
[
"def",
"combine_magic",
"(",
"filenames",
",",
"outfile",
"=",
"'measurements.txt'",
",",
"data_model",
"=",
"3",
",",
"magic_table",
"=",
"'measurements'",
",",
"dir_path",
"=",
"\".\"",
",",
"input_dir_path",
"=",
"\"\"",
")",
":",
"input_dir_path",
",",
"output_dir_path",
"=",
"pmag",
".",
"fix_directories",
"(",
"input_dir_path",
",",
"dir_path",
")",
"if",
"float",
"(",
"data_model",
")",
"==",
"3.0",
":",
"outfile",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"outfile",
",",
"output_dir_path",
")",
"output_dir_path",
",",
"file_name",
"=",
"os",
".",
"path",
".",
"split",
"(",
"outfile",
")",
"con",
"=",
"cb",
".",
"Contribution",
"(",
"output_dir_path",
",",
"read_tables",
"=",
"[",
"]",
")",
"# make sure files actually exist",
"filenames",
"=",
"[",
"pmag",
".",
"resolve_file_name",
"(",
"f",
",",
"input_dir_path",
")",
"for",
"f",
"in",
"filenames",
"]",
"#filenames = [os.path.realpath(f) for f in filenames]",
"filenames",
"=",
"[",
"f",
"for",
"f",
"in",
"filenames",
"if",
"os",
".",
"path",
".",
"exists",
"(",
"f",
")",
"]",
"if",
"not",
"filenames",
":",
"print",
"(",
"\"You have provided no valid file paths, so nothing will be combined\"",
".",
"format",
"(",
"magic_table",
")",
")",
"return",
"False",
"# figure out file type from first of files to join",
"with",
"open",
"(",
"filenames",
"[",
"0",
"]",
")",
"as",
"f",
":",
"file_type",
"=",
"f",
".",
"readline",
"(",
")",
".",
"split",
"(",
")",
"[",
"1",
"]",
"if",
"file_type",
"in",
"[",
"'er_specimens'",
",",
"'er_samples'",
",",
"'er_sites'",
",",
"'er_locations'",
",",
"'er_ages'",
",",
"'pmag_specimens'",
",",
"'pmag_samples'",
",",
"'pmag_sites'",
",",
"'pmag_results'",
",",
"'magic_measurements'",
",",
"'rmag_anisotropy'",
",",
"'rmag_results'",
",",
"'rmag_specimens'",
"]",
":",
"print",
"(",
"'-W- You are working in MagIC 3 but have provided a MagIC 2.5 file: {}'",
".",
"format",
"(",
"file_type",
")",
")",
"return",
"False",
"if",
"file_type",
"not",
"in",
"con",
".",
"table_names",
":",
"file_type",
"=",
"magic_table",
"infiles",
"=",
"[",
"pd",
".",
"read_csv",
"(",
"infile",
",",
"sep",
"=",
"'\\t'",
",",
"header",
"=",
"1",
")",
"for",
"infile",
"in",
"filenames",
"]",
"df",
"=",
"pd",
".",
"concat",
"(",
"infiles",
",",
"ignore_index",
"=",
"True",
",",
"sort",
"=",
"True",
")",
"# drop any fully duplicated rows",
"df",
".",
"drop_duplicates",
"(",
"inplace",
"=",
"True",
")",
"con",
".",
"add_magic_table",
"(",
"dtype",
"=",
"file_type",
",",
"df",
"=",
"df",
")",
"# drop any mostly empty rows IF they have duplicate index",
"parent",
",",
"child",
"=",
"con",
".",
"get_parent_and_child",
"(",
"file_type",
")",
"ignore_cols",
"=",
"[",
"col",
"[",
":",
"-",
"1",
"]",
"for",
"col",
"in",
"[",
"file_type",
",",
"parent",
"]",
"if",
"col",
"]",
"ignore_cols",
".",
"extend",
"(",
"[",
"'software_packages'",
",",
"'citations'",
"]",
")",
"con",
".",
"tables",
"[",
"file_type",
"]",
".",
"drop_duplicate_rows",
"(",
"ignore_cols",
")",
"# correctly handle measurements.sequence column",
"if",
"'sequence'",
"in",
"con",
".",
"tables",
"[",
"file_type",
"]",
".",
"df",
":",
"con",
".",
"tables",
"[",
"file_type",
"]",
".",
"df",
"[",
"'sequence'",
"]",
"=",
"range",
"(",
"1",
",",
"len",
"(",
"con",
".",
"tables",
"[",
"file_type",
"]",
".",
"df",
")",
"+",
"1",
")",
"# write table to file, use custom name",
"res",
"=",
"con",
".",
"write_table_to_file",
"(",
"file_type",
",",
"custom_name",
"=",
"file_name",
")",
"return",
"res",
"else",
":",
"datasets",
"=",
"[",
"]",
"if",
"not",
"filenames",
":",
"print",
"(",
"\"You must provide at least one file\"",
")",
"return",
"False",
"for",
"infile",
"in",
"filenames",
":",
"if",
"not",
"os",
".",
"path",
".",
"isfile",
"(",
"infile",
")",
":",
"print",
"(",
"\"{} is not a valid file name\"",
".",
"format",
"(",
"infile",
")",
")",
"return",
"False",
"try",
":",
"dataset",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"infile",
")",
"except",
"IndexError",
":",
"print",
"(",
"'-W- Could not get records from {}'",
".",
"format",
"(",
"infile",
")",
")",
"print",
"(",
"' Skipping...'",
")",
"continue",
"print",
"(",
"\"File \"",
",",
"infile",
",",
"\" read in with \"",
",",
"len",
"(",
"dataset",
")",
",",
"\" records\"",
")",
"for",
"rec",
"in",
"dataset",
":",
"datasets",
".",
"append",
"(",
"rec",
")",
"Recs",
",",
"keys",
"=",
"pmag",
".",
"fillkeys",
"(",
"datasets",
")",
"if",
"Recs",
":",
"pmag",
".",
"magic_write",
"(",
"outfile",
",",
"Recs",
",",
"file_type",
")",
"print",
"(",
"\"All records stored in \"",
",",
"outfile",
")",
"return",
"outfile",
"print",
"(",
"\"No file could be created\"",
")",
"return",
"False"
] |
Takes a list of magic-formatted files, concatenates them, and creates a
single file. Returns output filename if the operation was successful.
Parameters
-----------
filenames : list of MagIC formatted files
outfile : name of output file [e.g., measurements.txt]
data_model : data model number (2.5 or 3), default 3
magic_table : name of magic table, default 'measurements'
dir_path : str
output directory, default "."
input_dir_path : str
input file directory (if different from dir_path), default ""
Returns
----------
outfile name if success, False if failure
|
[
"Takes",
"a",
"list",
"of",
"magic",
"-",
"formatted",
"files",
"concatenates",
"them",
"and",
"creates",
"a",
"single",
"file",
".",
"Returns",
"output",
"filename",
"if",
"the",
"operation",
"was",
"successful",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L2643-L2733
|
train
|
Combine a list of MagIC formatted files into one.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8('\060' + chr(111) + chr(0b11100 + 0o26) + chr(0b1111 + 0o44) + '\060', 49447 - 49439), nzTpIcepk0o8('\x30' + chr(0b10001 + 0o136) + chr(1297 - 1248) + '\x37', 20161 - 20153), nzTpIcepk0o8(chr(0b110000) + chr(6439 - 6328) + '\x33' + '\063' + chr(0b110101), 17943 - 17935), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(1704 - 1655) + '\066' + '\x35', ord("\x08")), nzTpIcepk0o8('\x30' + chr(4828 - 4717) + '\x31' + '\064' + chr(0b110010), 0o10), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b1100 + 0o45) + chr(0b110111) + chr(256 - 207), 36179 - 36171), nzTpIcepk0o8('\x30' + chr(9557 - 9446) + chr(0b1000 + 0o51) + chr(1631 - 1583) + '\x35', 0b1000), nzTpIcepk0o8('\060' + chr(111) + chr(102 - 49) + chr(0b110101), 0b1000), nzTpIcepk0o8(chr(0b1100 + 0o44) + chr(0b11100 + 0o123) + chr(0b110011 + 0o0), ord("\x08")), nzTpIcepk0o8('\x30' + chr(111) + chr(1148 - 1095) + chr(0b100100 + 0o16), 0o10), nzTpIcepk0o8(chr(1271 - 1223) + '\157' + chr(0b110001) + '\x36' + chr(0b110000), ord("\x08")), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b110011) + chr(0b1010 + 0o54) + chr(1497 - 1448), ord("\x08")), nzTpIcepk0o8(chr(896 - 848) + chr(0b110111 + 0o70) + chr(420 - 369) + '\x33' + chr(0b1 + 0o62), 0b1000), nzTpIcepk0o8(chr(0b101001 + 0o7) + chr(0b1010111 + 0o30) + '\063' + chr(0b110001) + '\060', 0b1000), nzTpIcepk0o8('\x30' + '\x6f' + chr(49), 0o10), nzTpIcepk0o8('\060' + chr(111) + '\062' + chr(609 - 556) + '\x34', 16565 - 16557), nzTpIcepk0o8('\x30' + chr(0b1100010 + 0o15) + chr(0b110010) + '\066' + '\x32', 0o10), nzTpIcepk0o8(chr(48) + chr(111) + chr(0b110001) + '\063' + chr(0b110100), ord("\x08")), nzTpIcepk0o8(chr(1633 - 1585) + chr(0b1101110 + 0o1) + chr(50) + chr(0b110111) + chr(0b10010 + 0o37), 0b1000), nzTpIcepk0o8(chr(48) + chr(0b1001101 + 0o42) + chr(0b1000 + 0o53) + chr(0b100101 + 0o13) + '\064', 61320 - 61312), nzTpIcepk0o8(chr(0b101100 + 0o4) + '\x6f' + chr(0b110011) + '\067' + '\x31', 0b1000), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x32' + chr(382 - 334) + chr(52), 31318 - 31310), nzTpIcepk0o8(chr(48) + chr(0b111101 + 0o62) + chr(49) + chr(1587 - 1537) + chr(0b110011), 0o10), nzTpIcepk0o8(chr(688 - 640) + chr(6298 - 6187) + chr(0b10010 + 0o41) + '\x30' + chr(2002 - 1953), ord("\x08")), nzTpIcepk0o8('\060' + chr(4629 - 4518) + '\064' + chr(2093 - 2038), 0o10), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b1010 + 0o51) + chr(48) + chr(53), 0b1000), nzTpIcepk0o8('\060' + '\157' + chr(0b110011) + chr(0b110101) + chr(0b110010), 0o10), nzTpIcepk0o8('\060' + chr(111) + chr(1406 - 1357) + chr(0b110001) + chr(0b110101), 0b1000), nzTpIcepk0o8(chr(48) + chr(111) + chr(0b11111 + 0o24) + '\x37' + chr(50), ord("\x08")), nzTpIcepk0o8(chr(0b110 + 0o52) + chr(0b1101111) + chr(1881 - 1832) + '\x36' + '\x33', 21527 - 21519), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b110011) + '\061', 29711 - 29703), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(56 - 7) + chr(0b110000) + chr(0b110001), ord("\x08")), nzTpIcepk0o8(chr(400 - 352) + chr(0b101 + 0o152) + chr(0b110001) + chr(472 - 422) + '\x36', 0o10), nzTpIcepk0o8('\060' + chr(5976 - 5865) + chr(0b110011) + chr(53), 0b1000), nzTpIcepk0o8('\060' + chr(5638 - 5527) + chr(0b1100 + 0o46) + chr(55), 61619 - 61611), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110010) + chr(0b10001 + 0o45) + chr(0b10011 + 0o44), 28395 - 28387), nzTpIcepk0o8('\x30' + chr(111) + chr(330 - 280) + '\066' + '\062', 8), nzTpIcepk0o8(chr(1365 - 1317) + chr(0b100111 + 0o110) + chr(52) + chr(2421 - 2370), 54625 - 54617), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(50) + chr(0b1 + 0o62) + '\x34', ord("\x08")), nzTpIcepk0o8(chr(2023 - 1975) + '\x6f' + chr(1416 - 1367) + chr(0b11101 + 0o32) + chr(0b10110 + 0o34), 0o10)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(0b110000) + chr(4459 - 4348) + chr(53) + chr(0b110000), 0b1000)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xb6'), '\144' + chr(1165 - 1064) + chr(0b1100011) + chr(0b1101111) + chr(100) + chr(0b110111 + 0o56))('\165' + chr(116) + '\x66' + chr(45) + '\070') + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def Ba8MeId17RdU(EXVYY4cgQiXQ, neY2HPRd1pS4=roI3spqORKae(ES5oEprVxulp(b'\xf5j\xbc\x06\x17\x0b @fD\x04\x82\xf5\xbcy\xd8'), chr(0b1100100) + '\145' + chr(0b1100011) + chr(0b1101111) + chr(100) + chr(529 - 428))('\x75' + chr(116) + '\x66' + chr(411 - 366) + '\070'), ucvilvMnwW1d=nzTpIcepk0o8('\060' + chr(0b110011 + 0o74) + '\063', 8), EG_UNVMwAzzE=roI3spqORKae(ES5oEprVxulp(b'\xf5j\xbc\x06\x17\x0b @fD\x04\x82'), chr(8760 - 8660) + chr(0b1100101) + chr(9527 - 9428) + chr(111) + chr(179 - 79) + '\145')('\x75' + '\164' + '\146' + '\055' + chr(0b11101 + 0o33)), qjksZ7GK0xkJ=roI3spqORKae(ES5oEprVxulp(b'\xb6'), chr(0b110 + 0o136) + chr(0b111100 + 0o51) + chr(0b1000100 + 0o37) + chr(0b1101111) + chr(9280 - 9180) + '\x65')(chr(0b1110101) + chr(10999 - 10883) + '\146' + '\055' + '\070'), KADebXAR9grB=roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(0b1001000 + 0o35) + chr(0b110101 + 0o56) + chr(0b10011 + 0o134) + chr(0b1100100) + chr(1879 - 1778))('\165' + '\164' + '\x66' + '\x2d' + chr(232 - 176))):
(KADebXAR9grB, YtDhZvF7VzwC) = hUcsWwAd0nE_.fix_directories(KADebXAR9grB, qjksZ7GK0xkJ)
if jLW6pRf2DSRk(ucvilvMnwW1d) == 3.0:
neY2HPRd1pS4 = hUcsWwAd0nE_.resolve_file_name(neY2HPRd1pS4, YtDhZvF7VzwC)
(YtDhZvF7VzwC, Ob89R3fsHgUT) = aHUqKstZLeS6.path.LfRrQOxuDvnC(neY2HPRd1pS4)
D3H9MFOOog2W = RYEhqzIVZREo.Contribution(YtDhZvF7VzwC, read_tables=[])
EXVYY4cgQiXQ = [hUcsWwAd0nE_.resolve_file_name(_R8IKF5IwAfX, KADebXAR9grB) for _R8IKF5IwAfX in EXVYY4cgQiXQ]
EXVYY4cgQiXQ = [_R8IKF5IwAfX for _R8IKF5IwAfX in EXVYY4cgQiXQ if aHUqKstZLeS6.path.zSIynPuEvlQ4(_R8IKF5IwAfX)]
if not EXVYY4cgQiXQ:
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'\xc1`\xa8U\n\x183H#Z\x02\x9e\xad\xa1e\xc9\xd6|\xd7\xab\xd9\xf22\xadN\xa1\xca+\x93\x1f|a&|c\xdf\xc1\x0f\xbc\t\xf7/\xb3\x1a\x16\x11,Cd\n\x07\x98\xb7\xa4!\xce\xd7|\xda\xab\x94\xe6:\xafB\xa1'), chr(0b10101 + 0o117) + chr(101) + '\143' + chr(0b1101111) + chr(0b1100001 + 0o3) + chr(0b1100101))('\165' + '\x74' + chr(0b1100110) + '\x2d' + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xe9<\xee>%J#BRu3\xbb'), chr(100) + chr(8829 - 8728) + chr(99) + chr(0b1101111) + '\144' + '\145')('\165' + '\164' + '\146' + chr(0b101101) + chr(0b111000)))(EG_UNVMwAzzE))
return nzTpIcepk0o8('\060' + '\x6f' + chr(48), 0b1000)
with DnU3Rq9N5ala(EXVYY4cgQiXQ[nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b110000), 8)]) as _R8IKF5IwAfX:
mWsDpG3yRGLz = _R8IKF5IwAfX.readline().LfRrQOxuDvnC()[nzTpIcepk0o8('\x30' + chr(0b1011110 + 0o21) + '\061', 8)]
if mWsDpG3yRGLz in [roI3spqORKae(ES5oEprVxulp(b'\xfd}\x82\x06\x12\x1c&DnO\x1e\x82'), '\144' + '\145' + chr(0b1100011) + '\157' + chr(0b1100100) + chr(0b111000 + 0o55))(chr(0b1110101) + chr(9774 - 9658) + '\146' + chr(0b101101 + 0o0) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xfd}\x82\x06\x03\x145AfY'), '\x64' + chr(0b110000 + 0o65) + '\143' + chr(0b1001 + 0o146) + chr(0b1101 + 0o127) + chr(0b110 + 0o137))('\165' + chr(116) + chr(0b1001011 + 0o33) + chr(0b101101) + chr(0b10 + 0o66)), roI3spqORKae(ES5oEprVxulp(b'\xfd}\x82\x06\x0b\r ^'), chr(0b101000 + 0o74) + chr(101) + chr(99) + chr(111) + chr(100) + '\145')('\x75' + '\x74' + chr(0b1010101 + 0o21) + '\x2d' + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xfd}\x82\x19\r\x1a$YjE\x1e\x82'), '\144' + chr(0b1100101) + chr(5219 - 5120) + chr(0b1101111) + chr(4666 - 4566) + chr(2591 - 2490))('\165' + chr(10899 - 10783) + '\146' + chr(281 - 236) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xfd}\x82\x14\x05\x1c6'), chr(0b1100100) + chr(5343 - 5242) + chr(99) + chr(111) + chr(100) + '\x65')(chr(0b1110101) + chr(116) + '\x66' + chr(45) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xe8b\xbc\x12=\n5H`C\x1d\x94\xb5\xbb'), '\x64' + '\x65' + '\x63' + chr(0b1001 + 0o146) + chr(5086 - 4986) + chr(0b1100101))('\165' + chr(116) + chr(0b1100110) + '\x2d' + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xe8b\xbc\x12=\n$@sF\x15\x82'), chr(0b10001 + 0o123) + chr(0b1100101) + '\x63' + chr(111) + chr(0b1100100) + '\x65')(chr(117) + chr(116) + chr(6264 - 6162) + chr(45) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xe8b\xbc\x12=\n,YfY'), '\x64' + chr(101) + '\x63' + chr(0b1101111) + '\x64' + '\x65')('\x75' + chr(2140 - 2024) + chr(102) + '\x2d' + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xe8b\xbc\x12=\x0b ^vF\x04\x82'), chr(0b1100100) + chr(101) + chr(0b1100011) + chr(0b1101111) + chr(9087 - 8987) + '\145')(chr(0b1100010 + 0o23) + chr(0b1110100) + chr(0b10000 + 0o126) + chr(0b101101) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xf5n\xba\x1c\x01&(HbY\x05\x83\xbe\xa5d\xc2\xc6/'), '\144' + chr(3826 - 3725) + chr(338 - 239) + chr(0b1101111) + chr(9173 - 9073) + chr(101))(chr(7393 - 7276) + chr(4147 - 4031) + chr(102) + chr(0b101101) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xeab\xbc\x12=\x18+DpE\x04\x83\xb4\xb8x'), chr(0b101 + 0o137) + chr(0b1100101) + chr(7005 - 6906) + chr(0b1011 + 0o144) + chr(100) + chr(101))('\165' + chr(0b1110100) + chr(0b1100110) + chr(45) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xeab\xbc\x12=\x0b ^vF\x04\x82'), chr(8836 - 8736) + chr(101) + chr(99) + chr(111) + chr(0b1100100) + chr(0b1100101))(chr(0b111101 + 0o70) + chr(0b110000 + 0o104) + '\146' + chr(0b101101) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xeab\xbc\x12=\n5H`C\x1d\x94\xb5\xbb'), chr(1907 - 1807) + '\145' + chr(0b1001100 + 0o27) + chr(0b1101111) + chr(100) + chr(0b110010 + 0o63))(chr(0b1110101) + chr(0b110 + 0o156) + chr(0b1100110) + '\x2d' + chr(0b111000 + 0o0))]:
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'\xb5X\xf0U;\x160\rbX\x15\xd1\xac\xa7s\xc7\xdb2\xde\xe4\x90\xeas\x8cF\xa2\xa3\x0e\xda@9##i7\xdf\xd3U\xf9Z\xe8}\xb2\x03\x0b\x1d I#KP\xbc\xba\xafH\xef\x92n\x97\xf1\xd9\xe2:\xadB\xff\xca6\x87'), chr(0b1010001 + 0o23) + '\145' + chr(3104 - 3005) + chr(0b111101 + 0o62) + '\144' + chr(0b1100101))(chr(0b1110101) + chr(1898 - 1782) + chr(102) + chr(0b101010 + 0o3) + chr(0b111 + 0o61)), roI3spqORKae(ES5oEprVxulp(b'\xe9<\xee>%J#BRu3\xbb'), chr(0b1100100) + '\x65' + chr(5729 - 5630) + '\x6f' + chr(100) + chr(5760 - 5659))(chr(117) + chr(8549 - 8433) + chr(0b1100110) + '\x2d' + chr(0b110110 + 0o2)))(mWsDpG3yRGLz))
return nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b101010 + 0o6), 8)
if mWsDpG3yRGLz not in roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'\xecn\xbf\x19\x07&+LnO\x03'), chr(0b1100100) + chr(0b1100101) + chr(0b1100011) + chr(8436 - 8325) + chr(5739 - 5639) + chr(101))('\165' + chr(116) + chr(0b1100110) + '\x2d' + chr(0b100110 + 0o22))):
mWsDpG3yRGLz = EG_UNVMwAzzE
aHhobwmpKgcR = [HLKt4sa1j9hm.read_csv(XvbvbiHwSGUb, sep=roI3spqORKae(ES5oEprVxulp(b'\x91'), chr(100) + chr(0b1011110 + 0o7) + chr(1758 - 1659) + '\157' + chr(0b1100100) + chr(0b1100101))(chr(0b101 + 0o160) + chr(1716 - 1600) + chr(102) + chr(0b101101) + chr(0b10111 + 0o41)), header=nzTpIcepk0o8(chr(0b10011 + 0o35) + chr(0b1101111) + '\x31', 8)) for XvbvbiHwSGUb in EXVYY4cgQiXQ]
jpOn8DNZxbbx = HLKt4sa1j9hm.concat(aHhobwmpKgcR, ignore_index=nzTpIcepk0o8(chr(1275 - 1227) + chr(0b100101 + 0o112) + chr(0b110001), 8), sort=nzTpIcepk0o8(chr(0b110000) + chr(0b101110 + 0o101) + chr(445 - 396), 8))
roI3spqORKae(jpOn8DNZxbbx, roI3spqORKae(ES5oEprVxulp(b'\xfc}\xb2\x05=\x1d0]oC\x13\x90\xaf\xadr'), chr(100) + '\x65' + chr(2211 - 2112) + chr(111) + '\144' + chr(0b1100101))('\165' + '\164' + '\146' + '\055' + chr(56)))(inplace=nzTpIcepk0o8('\060' + '\x6f' + chr(49), 8))
roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'\xf9k\xb9*\x0f\x18"D`u\x04\x90\xb9\xa4d'), '\x64' + chr(101) + '\x63' + chr(0b1101111) + '\144' + chr(101))(chr(0b1101111 + 0o6) + '\x74' + '\x66' + '\x2d' + '\070'))(dtype=mWsDpG3yRGLz, df=jpOn8DNZxbbx)
(aY0lxtg5akD2, wEGGaNWalKDs) = D3H9MFOOog2W.get_parent_and_child(mWsDpG3yRGLz)
dhl3sG1RxeAY = [hRTUxJgvuslu[:-nzTpIcepk0o8(chr(0b110000) + '\157' + '\061', 8)] for hRTUxJgvuslu in [mWsDpG3yRGLz, aY0lxtg5akD2] if hRTUxJgvuslu]
roI3spqORKae(dhl3sG1RxeAY, roI3spqORKae(ES5oEprVxulp(b'\xccP\xee8\r\x1d\tz\\h\x12\x80'), chr(0b1100100) + chr(0b1100101) + '\143' + chr(0b1001111 + 0o40) + chr(0b1100100) + chr(0b1011110 + 0o7))(chr(0b1110101) + '\x74' + chr(830 - 728) + chr(0b101101) + '\x38'))([roI3spqORKae(ES5oEprVxulp(b'\xeb`\xbb\x01\x15\x187H\\Z\x11\x92\xb0\xa9f\xc9\xc1'), '\144' + '\x65' + chr(99) + chr(111) + chr(0b1010001 + 0o23) + '\x65')(chr(117) + chr(13013 - 12897) + '\x66' + chr(0b1111 + 0o36) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xfbf\xa9\x14\x16\x10*Cp'), chr(100) + chr(6718 - 6617) + '\143' + chr(0b1101001 + 0o6) + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + chr(116) + chr(102) + '\055' + chr(0b111000))])
roI3spqORKae(D3H9MFOOog2W.tables[mWsDpG3yRGLz], roI3spqORKae(ES5oEprVxulp(b'\xfc}\xb2\x05=\x1d0]oC\x13\x90\xaf\xad^\xde\xdd+\xca'), '\144' + chr(0b1000011 + 0o42) + '\x63' + '\x6f' + chr(100) + chr(8820 - 8719))(chr(117) + '\x74' + chr(0b1111 + 0o127) + chr(45) + '\x38'))(dhl3sG1RxeAY)
if roI3spqORKae(ES5oEprVxulp(b'\xebj\xac\x00\x07\x17&H'), '\x64' + chr(101) + chr(99) + chr(111) + '\144' + chr(0b1001011 + 0o32))(chr(0b1001011 + 0o52) + chr(10547 - 10431) + chr(711 - 609) + '\x2d' + '\x38') in roI3spqORKae(D3H9MFOOog2W.tables[mWsDpG3yRGLz], roI3spqORKae(ES5oEprVxulp(b'\xf2\x7f\x92\x1bZ=\x0bw{H\x12\x89'), chr(9571 - 9471) + chr(101) + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + chr(101))('\165' + chr(0b111 + 0o155) + '\x66' + '\x2d' + '\070')):
D3H9MFOOog2W.tables[mWsDpG3yRGLz].jpOn8DNZxbbx[roI3spqORKae(ES5oEprVxulp(b'\xebj\xac\x00\x07\x17&H'), '\144' + chr(0b1100101) + chr(99) + chr(0b1101111) + chr(7092 - 6992) + chr(1757 - 1656))(chr(3573 - 3456) + chr(116) + chr(4717 - 4615) + chr(1007 - 962) + chr(56))] = bbT2xIe5pzk7(nzTpIcepk0o8('\060' + chr(5251 - 5140) + chr(1761 - 1712), 8), ftfygxgFas5X(D3H9MFOOog2W.tables[mWsDpG3yRGLz].jpOn8DNZxbbx) + nzTpIcepk0o8('\x30' + '\157' + chr(49), 8))
_XdQFJpnzJor = D3H9MFOOog2W.write_table_to_file(mWsDpG3yRGLz, custom_name=Ob89R3fsHgUT)
return _XdQFJpnzJor
else:
OeaqGM6C910S = []
if not EXVYY4cgQiXQ:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xc1`\xa8U\x0f\x0c6Y#Z\x02\x9e\xad\xa1e\xc9\x92=\xcd\xe4\x95\xe12\xb2S\xe5\x85#\x9fS\x7f(:x'), chr(100) + chr(9785 - 9684) + chr(0b1001110 + 0o25) + chr(111) + chr(0b10110 + 0o116) + '\x65')(chr(0b1010111 + 0o36) + '\x74' + '\146' + chr(45) + '\070'))
return nzTpIcepk0o8(chr(1447 - 1399) + chr(111) + chr(861 - 813), 8)
for XvbvbiHwSGUb in EXVYY4cgQiXQ:
if not roI3spqORKae(aHUqKstZLeS6.path, roI3spqORKae(ES5oEprVxulp(b'\xf1|\xbb\x1c\x0e\x1c'), chr(0b111 + 0o135) + '\x65' + chr(99) + chr(0b1101111) + chr(0b101 + 0o137) + chr(583 - 482))(chr(117) + chr(0b1110100) + '\x66' + chr(45) + chr(141 - 85)))(XvbvbiHwSGUb):
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'\xe3r\xfd\x1c\x11Y+Bw\n\x11\xd1\xad\xa9m\xc5\xd6|\xdf\xad\x95\xe1s\xafF\xa8\x8f'), chr(100) + chr(2262 - 2161) + chr(0b1011110 + 0o5) + chr(0b1101111) + chr(0b1100100) + chr(5868 - 5767))('\165' + '\x74' + chr(102) + chr(0b10 + 0o53) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xe9<\xee>%J#BRu3\xbb'), '\144' + chr(5715 - 5614) + chr(6187 - 6088) + '\x6f' + chr(0b1100100) + '\x65')(chr(4032 - 3915) + chr(0b110110 + 0o76) + '\x66' + chr(0b101101) + '\x38'))(XvbvbiHwSGUb))
return nzTpIcepk0o8('\x30' + chr(111) + chr(0b10101 + 0o33), 8)
try:
(hYIyIF6sdVTE, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(XvbvbiHwSGUb)
except ah0DLMBSEU5j:
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'\xb5X\xf0U!\x160Ag\n\x1e\x9e\xaf\xe8f\xc9\xc6|\xcb\xa1\x9a\xeb!\xa5T\xe5\x8c?\x95\x1e9:+'), chr(100) + '\x65' + chr(0b1100011) + chr(0b1101111) + '\144' + '\x65')('\x75' + '\x74' + '\x66' + chr(1369 - 1324) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xe9<\xee>%J#BRu3\xbb'), '\x64' + chr(0b1100101) + chr(2725 - 2626) + chr(2503 - 2392) + '\x64' + chr(101))(chr(0b1011001 + 0o34) + chr(4340 - 4224) + '\x66' + chr(0b10001 + 0o34) + chr(1980 - 1924)))(XvbvbiHwSGUb))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xb8/\xfdU1\x12,]sC\x1e\x96\xf5\xe6/'), '\144' + '\145' + chr(3892 - 3793) + chr(0b1101111) + chr(0b1100100) + chr(101))('\x75' + '\164' + chr(0b1101 + 0o131) + '\x2d' + chr(0b111000)))
continue
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xdef\xb1\x10B'), chr(100) + chr(0b1011110 + 0o7) + chr(99) + chr(0b1001101 + 0o42) + chr(0b1100100) + chr(4140 - 4039))(chr(0b1110101) + chr(2337 - 2221) + chr(0b10 + 0o144) + '\x2d' + chr(0b110010 + 0o6)), XvbvbiHwSGUb, roI3spqORKae(ES5oEprVxulp(b'\xb8}\xb8\x14\x06Y,C#]\x19\x85\xb3\xe8'), chr(100) + chr(5974 - 5873) + chr(0b110001 + 0o62) + '\157' + chr(100) + chr(0b1000010 + 0o43))('\165' + chr(1506 - 1390) + '\146' + chr(0b101101) + chr(2444 - 2388)), ftfygxgFas5X(hYIyIF6sdVTE), roI3spqORKae(ES5oEprVxulp(b'\xb8}\xb8\x16\r\x0b!^'), chr(100) + chr(101) + '\143' + chr(0b1101111) + chr(0b1011110 + 0o6) + chr(0b11001 + 0o114))(chr(0b1110101) + '\164' + chr(1800 - 1698) + chr(881 - 836) + chr(0b111000)))
for FKO_XxLfWbYt in hYIyIF6sdVTE:
roI3spqORKae(OeaqGM6C910S, roI3spqORKae(ES5oEprVxulp(b'\xd0[\x8eA\x1a\x1e\x02BiE%\xc4'), '\144' + chr(101) + chr(0b1100011) + chr(0b100111 + 0o110) + '\144' + chr(0b11001 + 0o114))('\165' + '\x74' + chr(0b1100110) + chr(45) + chr(56)))(FKO_XxLfWbYt)
(e4DS9LRExnFr, HOp0ZjSPeQln) = hUcsWwAd0nE_.fillkeys(OeaqGM6C910S)
if e4DS9LRExnFr:
roI3spqORKae(hUcsWwAd0nE_, roI3spqORKae(ES5oEprVxulp(b'\xf5n\xba\x1c\x01&2_j^\x15'), '\144' + '\x65' + chr(0b1100011) + '\157' + chr(100) + chr(0b111 + 0o136))(chr(0b1110101) + chr(116) + '\146' + chr(245 - 200) + chr(1097 - 1041)))(neY2HPRd1pS4, e4DS9LRExnFr, mWsDpG3yRGLz)
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xd9c\xb1U\x10\x1c&BqN\x03\xd1\xa8\xbcn\xde\xd78\x99\xad\x97\xa4'), '\x64' + '\145' + chr(2024 - 1925) + '\157' + '\144' + chr(101))(chr(0b1110101) + chr(10450 - 10334) + '\146' + chr(0b1101 + 0o40) + chr(0b111000)), neY2HPRd1pS4)
return neY2HPRd1pS4
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xd6`\xfd\x13\x0b\x15 \r`E\x05\x9d\xbf\xe8c\xc9\x92?\xcb\xa1\x98\xf06\xa5'), chr(0b1100100) + chr(101) + '\x63' + chr(111) + chr(6302 - 6202) + chr(101))(chr(2607 - 2490) + chr(116) + chr(0b1100110) + '\x2d' + '\070'))
return nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x30', 8)
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
ani_depthplot2
|
def ani_depthplot2(ani_file='rmag_anisotropy.txt', meas_file='magic_measurements.txt', samp_file='er_samples.txt', age_file=None, sum_file=None, fmt='svg', dmin=-1, dmax=-1, depth_scale='sample_core_depth', dir_path='.'):
"""
returns matplotlib figure with anisotropy data plotted against depth
available depth scales: 'sample_composite_depth', 'sample_core_depth', or 'age' (you must provide an age file to use this option)
"""
pcol = 4
tint = 9
plots = 0
# format files to use full path
# os.path.join(dir_path, ani_file)
ani_file = pmag.resolve_file_name(ani_file, dir_path)
if not os.path.isfile(ani_file):
print("Could not find rmag_anisotropy type file: {}.\nPlease provide a valid file path and try again".format(ani_file))
return False, "Could not find rmag_anisotropy type file: {}.\nPlease provide a valid file path and try again".format(ani_file)
# os.path.join(dir_path, meas_file)
meas_file = pmag.resolve_file_name(meas_file, dir_path)
if age_file:
if not os.path.isfile(age_file):
print(
'Warning: you have provided an invalid age file. Attempting to use sample file instead')
age_file = None
depth_scale = 'sample_core_depth'
# os.path.join(dir_path, samp_file)
samp_file = pmag.resolve_file_name(samp_file, dir_path)
else:
# os.path.join(dir_path, age_file)
samp_file = pmag.resolve_file_name(samp_file, dir_path)
depth_scale = 'age'
print(
'Warning: you have provided an er_ages format file, which will take precedence over er_samples')
else:
samp_file = pmag.resolve_file_name(samp_file, dir_path)
label = 1
if sum_file:
sum_file = os.path.join(dir_path, sum_file)
dmin, dmax = float(dmin), float(dmax)
# get data read in
isbulk = 0 # tests if there are bulk susceptibility measurements
AniData, file_type = pmag.magic_read(ani_file) # read in tensor elements
if not age_file:
# read in sample depth info from er_sample.txt format file
Samps, file_type = pmag.magic_read(samp_file)
else:
# read in sample age info from er_ages.txt format file
Samps, file_type = pmag.magic_read(samp_file)
age_unit = Samps[0]['age_unit']
for s in Samps:
# change to upper case for every sample name
s['er_sample_name'] = s['er_sample_name'].upper()
Meas, file_type = pmag.magic_read(meas_file)
# print 'meas_file', meas_file
# print 'file_type', file_type
if file_type == 'magic_measurements':
isbulk = 1
Data = []
Bulks = []
BulkDepths = []
for rec in AniData:
# look for depth record for this sample
samprecs = pmag.get_dictitem(Samps, 'er_sample_name',
rec['er_sample_name'].upper(), 'T')
# see if there are non-blank depth data
sampdepths = pmag.get_dictitem(samprecs, depth_scale, '', 'F')
if dmax != -1:
# fishes out records within depth bounds
sampdepths = pmag.get_dictitem(
sampdepths, depth_scale, dmax, 'max')
sampdepths = pmag.get_dictitem(
sampdepths, depth_scale, dmin, 'min')
if len(sampdepths) > 0: # if there are any....
# set the core depth of this record
rec['core_depth'] = sampdepths[0][depth_scale]
Data.append(rec) # fish out data with core_depth
if isbulk: # if there are bulk data
chis = pmag.get_dictitem(
Meas, 'er_specimen_name', rec['er_specimen_name'], 'T')
# get the non-zero values for this specimen
chis = pmag.get_dictitem(
chis, 'measurement_chi_volume', '', 'F')
if len(chis) > 0: # if there are any....
# put in microSI
Bulks.append(
1e6 * float(chis[0]['measurement_chi_volume']))
BulkDepths.append(float(sampdepths[0][depth_scale]))
if len(Bulks) > 0: # set min and max bulk values
bmin = min(Bulks)
bmax = max(Bulks)
xlab = "Depth (m)"
if len(Data) > 0:
location = Data[0]['er_location_name']
else:
return False, 'no data to plot'
# collect the data for plotting tau V3_inc and V1_dec
Depths, Tau1, Tau2, Tau3, V3Incs, P, V1Decs = [], [], [], [], [], [], []
F23s = []
Axs = [] # collect the plot ids
# START HERE
if len(Bulks) > 0:
pcol += 1
# get all the s1 values from Data as floats
s1 = pmag.get_dictkey(Data, 'anisotropy_s1', 'f')
s2 = pmag.get_dictkey(Data, 'anisotropy_s2', 'f')
s3 = pmag.get_dictkey(Data, 'anisotropy_s3', 'f')
s4 = pmag.get_dictkey(Data, 'anisotropy_s4', 'f')
s5 = pmag.get_dictkey(Data, 'anisotropy_s5', 'f')
s6 = pmag.get_dictkey(Data, 'anisotropy_s6', 'f')
nmeas = pmag.get_dictkey(Data, 'anisotropy_n', 'int')
sigma = pmag.get_dictkey(Data, 'anisotropy_sigma', 'f')
Depths = pmag.get_dictkey(Data, 'core_depth', 'f')
# Ss=np.array([s1,s4,s5,s4,s2,s6,s5,s6,s3]).transpose() # make an array
Ss = np.array([s1, s2, s3, s4, s5, s6]).transpose() # make an array
# Ts=np.reshape(Ss,(len(Ss),3,-1)) # and re-shape to be n-length array of
# 3x3 sub-arrays
for k in range(len(Depths)):
# tau,Evecs= pmag.tauV(Ts[k]) # get the sorted eigenvalues and eigenvectors
# v3=pmag.cart2dir(Evecs[2])[1] # convert to inclination of the minimum
# eigenvector
fpars = pmag.dohext(nmeas[k] - 6, sigma[k], Ss[k])
V3Incs.append(fpars['v3_inc'])
V1Decs.append(fpars['v1_dec'])
Tau1.append(fpars['t1'])
Tau2.append(fpars['t2'])
Tau3.append(fpars['t3'])
P.append(old_div(Tau1[-1], Tau3[-1]))
F23s.append(fpars['F23'])
if len(Depths) > 0:
if dmax == -1:
dmax = max(Depths)
dmin = min(Depths)
tau_min = 1
for t in Tau3:
if t > 0 and t < tau_min:
tau_min = t
tau_max = max(Tau1)
# tau_min=min(Tau3)
P_max = max(P)
P_min = min(P)
# dmax=dmax+.05*dmax
# dmin=dmin-.05*dmax
main_plot = plt.figure(1, figsize=(10, 8)) # make the figure
version_num = pmag.get_version()
plt.figtext(.02, .01, version_num) # attach the pmagpy version number
ax = plt.subplot(1, pcol, 1) # make the first column
Axs.append(ax)
ax.plot(Tau1, Depths, 'rs')
ax.plot(Tau2, Depths, 'b^')
ax.plot(Tau3, Depths, 'ko')
if sum_file:
core_depth_key, core_label_key, Cores = read_core_csv_file(
sum_file)
for core in Cores:
depth = float(core[core_depth_key])
if depth > dmin and depth < dmax:
plt.plot([0, 90], [depth, depth], 'b--')
ax.axis([tau_min, tau_max, dmax, dmin])
ax.set_xlabel('Eigenvalues')
if depth_scale == 'sample_core_depth':
ax.set_ylabel('Depth (mbsf)')
elif depth_scale == 'age':
ax.set_ylabel('Age (' + age_unit + ')')
else:
ax.set_ylabel('Depth (mcd)')
ax2 = plt.subplot(1, pcol, 2) # make the second column
ax2.plot(P, Depths, 'rs')
ax2.axis([P_min, P_max, dmax, dmin])
ax2.set_xlabel('P')
ax2.set_title(location)
if sum_file:
for core in Cores:
depth = float(core[core_depth_key])
if depth > dmin and depth < dmax:
plt.plot([0, 90], [depth, depth], 'b--')
Axs.append(ax2)
ax3 = plt.subplot(1, pcol, 3)
Axs.append(ax3)
ax3.plot(V3Incs, Depths, 'ko')
ax3.axis([0, 90, dmax, dmin])
ax3.set_xlabel('V3 Inclination')
if sum_file:
for core in Cores:
depth = float(core[core_depth_key])
if depth > dmin and depth < dmax:
plt.plot([0, 90], [depth, depth], 'b--')
ax4 = plt.subplot(1, np.abs(pcol), 4)
Axs.append(ax4)
ax4.plot(V1Decs, Depths, 'rs')
ax4.axis([0, 360, dmax, dmin])
ax4.set_xlabel('V1 Declination')
if sum_file:
for core in Cores:
depth = float(core[core_depth_key])
if depth >= dmin and depth <= dmax:
plt.plot([0, 360], [depth, depth], 'b--')
if pcol == 4 and label == 1:
plt.text(360, depth + tint, core[core_label_key])
# ax5=plt.subplot(1,np.abs(pcol),5)
# Axs.append(ax5)
# ax5.plot(F23s,Depths,'rs')
# bounds=ax5.axis()
# ax5.axis([bounds[0],bounds[1],dmax,dmin])
# ax5.set_xlabel('F_23')
# ax5.semilogx()
# if sum_file:
# for core in Cores:
# depth=float(core[core_depth_key])
# if depth>=dmin and depth<=dmax:
# plt.plot([bounds[0],bounds[1]],[depth,depth],'b--')
# if pcol==5 and label==1:plt.text(bounds[1],depth+tint,core[core_label_key])
# if pcol==6:
if pcol == 5:
# ax6=plt.subplot(1,pcol,6)
ax6 = plt.subplot(1, pcol, 5)
Axs.append(ax6)
ax6.plot(Bulks, BulkDepths, 'bo')
ax6.axis([bmin - 1, 1.1 * bmax, dmax, dmin])
ax6.set_xlabel('Bulk Susc. (uSI)')
if sum_file:
for core in Cores:
depth = float(core[core_depth_key])
if depth >= dmin and depth <= dmax:
plt.plot([0, bmax], [depth, depth], 'b--')
if label == 1:
plt.text(1.1 * bmax, depth + tint,
core[core_label_key])
for x in Axs:
# this makes the x-tick labels more reasonable - they were
# overcrowded using the defaults
pmagplotlib.delticks(x)
fig_name = location + '_ani_depthplot.' + fmt
return main_plot, fig_name
else:
return False, "No data to plot"
|
python
|
def ani_depthplot2(ani_file='rmag_anisotropy.txt', meas_file='magic_measurements.txt', samp_file='er_samples.txt', age_file=None, sum_file=None, fmt='svg', dmin=-1, dmax=-1, depth_scale='sample_core_depth', dir_path='.'):
"""
returns matplotlib figure with anisotropy data plotted against depth
available depth scales: 'sample_composite_depth', 'sample_core_depth', or 'age' (you must provide an age file to use this option)
"""
pcol = 4
tint = 9
plots = 0
# format files to use full path
# os.path.join(dir_path, ani_file)
ani_file = pmag.resolve_file_name(ani_file, dir_path)
if not os.path.isfile(ani_file):
print("Could not find rmag_anisotropy type file: {}.\nPlease provide a valid file path and try again".format(ani_file))
return False, "Could not find rmag_anisotropy type file: {}.\nPlease provide a valid file path and try again".format(ani_file)
# os.path.join(dir_path, meas_file)
meas_file = pmag.resolve_file_name(meas_file, dir_path)
if age_file:
if not os.path.isfile(age_file):
print(
'Warning: you have provided an invalid age file. Attempting to use sample file instead')
age_file = None
depth_scale = 'sample_core_depth'
# os.path.join(dir_path, samp_file)
samp_file = pmag.resolve_file_name(samp_file, dir_path)
else:
# os.path.join(dir_path, age_file)
samp_file = pmag.resolve_file_name(samp_file, dir_path)
depth_scale = 'age'
print(
'Warning: you have provided an er_ages format file, which will take precedence over er_samples')
else:
samp_file = pmag.resolve_file_name(samp_file, dir_path)
label = 1
if sum_file:
sum_file = os.path.join(dir_path, sum_file)
dmin, dmax = float(dmin), float(dmax)
# get data read in
isbulk = 0 # tests if there are bulk susceptibility measurements
AniData, file_type = pmag.magic_read(ani_file) # read in tensor elements
if not age_file:
# read in sample depth info from er_sample.txt format file
Samps, file_type = pmag.magic_read(samp_file)
else:
# read in sample age info from er_ages.txt format file
Samps, file_type = pmag.magic_read(samp_file)
age_unit = Samps[0]['age_unit']
for s in Samps:
# change to upper case for every sample name
s['er_sample_name'] = s['er_sample_name'].upper()
Meas, file_type = pmag.magic_read(meas_file)
# print 'meas_file', meas_file
# print 'file_type', file_type
if file_type == 'magic_measurements':
isbulk = 1
Data = []
Bulks = []
BulkDepths = []
for rec in AniData:
# look for depth record for this sample
samprecs = pmag.get_dictitem(Samps, 'er_sample_name',
rec['er_sample_name'].upper(), 'T')
# see if there are non-blank depth data
sampdepths = pmag.get_dictitem(samprecs, depth_scale, '', 'F')
if dmax != -1:
# fishes out records within depth bounds
sampdepths = pmag.get_dictitem(
sampdepths, depth_scale, dmax, 'max')
sampdepths = pmag.get_dictitem(
sampdepths, depth_scale, dmin, 'min')
if len(sampdepths) > 0: # if there are any....
# set the core depth of this record
rec['core_depth'] = sampdepths[0][depth_scale]
Data.append(rec) # fish out data with core_depth
if isbulk: # if there are bulk data
chis = pmag.get_dictitem(
Meas, 'er_specimen_name', rec['er_specimen_name'], 'T')
# get the non-zero values for this specimen
chis = pmag.get_dictitem(
chis, 'measurement_chi_volume', '', 'F')
if len(chis) > 0: # if there are any....
# put in microSI
Bulks.append(
1e6 * float(chis[0]['measurement_chi_volume']))
BulkDepths.append(float(sampdepths[0][depth_scale]))
if len(Bulks) > 0: # set min and max bulk values
bmin = min(Bulks)
bmax = max(Bulks)
xlab = "Depth (m)"
if len(Data) > 0:
location = Data[0]['er_location_name']
else:
return False, 'no data to plot'
# collect the data for plotting tau V3_inc and V1_dec
Depths, Tau1, Tau2, Tau3, V3Incs, P, V1Decs = [], [], [], [], [], [], []
F23s = []
Axs = [] # collect the plot ids
# START HERE
if len(Bulks) > 0:
pcol += 1
# get all the s1 values from Data as floats
s1 = pmag.get_dictkey(Data, 'anisotropy_s1', 'f')
s2 = pmag.get_dictkey(Data, 'anisotropy_s2', 'f')
s3 = pmag.get_dictkey(Data, 'anisotropy_s3', 'f')
s4 = pmag.get_dictkey(Data, 'anisotropy_s4', 'f')
s5 = pmag.get_dictkey(Data, 'anisotropy_s5', 'f')
s6 = pmag.get_dictkey(Data, 'anisotropy_s6', 'f')
nmeas = pmag.get_dictkey(Data, 'anisotropy_n', 'int')
sigma = pmag.get_dictkey(Data, 'anisotropy_sigma', 'f')
Depths = pmag.get_dictkey(Data, 'core_depth', 'f')
# Ss=np.array([s1,s4,s5,s4,s2,s6,s5,s6,s3]).transpose() # make an array
Ss = np.array([s1, s2, s3, s4, s5, s6]).transpose() # make an array
# Ts=np.reshape(Ss,(len(Ss),3,-1)) # and re-shape to be n-length array of
# 3x3 sub-arrays
for k in range(len(Depths)):
# tau,Evecs= pmag.tauV(Ts[k]) # get the sorted eigenvalues and eigenvectors
# v3=pmag.cart2dir(Evecs[2])[1] # convert to inclination of the minimum
# eigenvector
fpars = pmag.dohext(nmeas[k] - 6, sigma[k], Ss[k])
V3Incs.append(fpars['v3_inc'])
V1Decs.append(fpars['v1_dec'])
Tau1.append(fpars['t1'])
Tau2.append(fpars['t2'])
Tau3.append(fpars['t3'])
P.append(old_div(Tau1[-1], Tau3[-1]))
F23s.append(fpars['F23'])
if len(Depths) > 0:
if dmax == -1:
dmax = max(Depths)
dmin = min(Depths)
tau_min = 1
for t in Tau3:
if t > 0 and t < tau_min:
tau_min = t
tau_max = max(Tau1)
# tau_min=min(Tau3)
P_max = max(P)
P_min = min(P)
# dmax=dmax+.05*dmax
# dmin=dmin-.05*dmax
main_plot = plt.figure(1, figsize=(10, 8)) # make the figure
version_num = pmag.get_version()
plt.figtext(.02, .01, version_num) # attach the pmagpy version number
ax = plt.subplot(1, pcol, 1) # make the first column
Axs.append(ax)
ax.plot(Tau1, Depths, 'rs')
ax.plot(Tau2, Depths, 'b^')
ax.plot(Tau3, Depths, 'ko')
if sum_file:
core_depth_key, core_label_key, Cores = read_core_csv_file(
sum_file)
for core in Cores:
depth = float(core[core_depth_key])
if depth > dmin and depth < dmax:
plt.plot([0, 90], [depth, depth], 'b--')
ax.axis([tau_min, tau_max, dmax, dmin])
ax.set_xlabel('Eigenvalues')
if depth_scale == 'sample_core_depth':
ax.set_ylabel('Depth (mbsf)')
elif depth_scale == 'age':
ax.set_ylabel('Age (' + age_unit + ')')
else:
ax.set_ylabel('Depth (mcd)')
ax2 = plt.subplot(1, pcol, 2) # make the second column
ax2.plot(P, Depths, 'rs')
ax2.axis([P_min, P_max, dmax, dmin])
ax2.set_xlabel('P')
ax2.set_title(location)
if sum_file:
for core in Cores:
depth = float(core[core_depth_key])
if depth > dmin and depth < dmax:
plt.plot([0, 90], [depth, depth], 'b--')
Axs.append(ax2)
ax3 = plt.subplot(1, pcol, 3)
Axs.append(ax3)
ax3.plot(V3Incs, Depths, 'ko')
ax3.axis([0, 90, dmax, dmin])
ax3.set_xlabel('V3 Inclination')
if sum_file:
for core in Cores:
depth = float(core[core_depth_key])
if depth > dmin and depth < dmax:
plt.plot([0, 90], [depth, depth], 'b--')
ax4 = plt.subplot(1, np.abs(pcol), 4)
Axs.append(ax4)
ax4.plot(V1Decs, Depths, 'rs')
ax4.axis([0, 360, dmax, dmin])
ax4.set_xlabel('V1 Declination')
if sum_file:
for core in Cores:
depth = float(core[core_depth_key])
if depth >= dmin and depth <= dmax:
plt.plot([0, 360], [depth, depth], 'b--')
if pcol == 4 and label == 1:
plt.text(360, depth + tint, core[core_label_key])
# ax5=plt.subplot(1,np.abs(pcol),5)
# Axs.append(ax5)
# ax5.plot(F23s,Depths,'rs')
# bounds=ax5.axis()
# ax5.axis([bounds[0],bounds[1],dmax,dmin])
# ax5.set_xlabel('F_23')
# ax5.semilogx()
# if sum_file:
# for core in Cores:
# depth=float(core[core_depth_key])
# if depth>=dmin and depth<=dmax:
# plt.plot([bounds[0],bounds[1]],[depth,depth],'b--')
# if pcol==5 and label==1:plt.text(bounds[1],depth+tint,core[core_label_key])
# if pcol==6:
if pcol == 5:
# ax6=plt.subplot(1,pcol,6)
ax6 = plt.subplot(1, pcol, 5)
Axs.append(ax6)
ax6.plot(Bulks, BulkDepths, 'bo')
ax6.axis([bmin - 1, 1.1 * bmax, dmax, dmin])
ax6.set_xlabel('Bulk Susc. (uSI)')
if sum_file:
for core in Cores:
depth = float(core[core_depth_key])
if depth >= dmin and depth <= dmax:
plt.plot([0, bmax], [depth, depth], 'b--')
if label == 1:
plt.text(1.1 * bmax, depth + tint,
core[core_label_key])
for x in Axs:
# this makes the x-tick labels more reasonable - they were
# overcrowded using the defaults
pmagplotlib.delticks(x)
fig_name = location + '_ani_depthplot.' + fmt
return main_plot, fig_name
else:
return False, "No data to plot"
|
[
"def",
"ani_depthplot2",
"(",
"ani_file",
"=",
"'rmag_anisotropy.txt'",
",",
"meas_file",
"=",
"'magic_measurements.txt'",
",",
"samp_file",
"=",
"'er_samples.txt'",
",",
"age_file",
"=",
"None",
",",
"sum_file",
"=",
"None",
",",
"fmt",
"=",
"'svg'",
",",
"dmin",
"=",
"-",
"1",
",",
"dmax",
"=",
"-",
"1",
",",
"depth_scale",
"=",
"'sample_core_depth'",
",",
"dir_path",
"=",
"'.'",
")",
":",
"pcol",
"=",
"4",
"tint",
"=",
"9",
"plots",
"=",
"0",
"# format files to use full path",
"# os.path.join(dir_path, ani_file)",
"ani_file",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"ani_file",
",",
"dir_path",
")",
"if",
"not",
"os",
".",
"path",
".",
"isfile",
"(",
"ani_file",
")",
":",
"print",
"(",
"\"Could not find rmag_anisotropy type file: {}.\\nPlease provide a valid file path and try again\"",
".",
"format",
"(",
"ani_file",
")",
")",
"return",
"False",
",",
"\"Could not find rmag_anisotropy type file: {}.\\nPlease provide a valid file path and try again\"",
".",
"format",
"(",
"ani_file",
")",
"# os.path.join(dir_path, meas_file)",
"meas_file",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"meas_file",
",",
"dir_path",
")",
"if",
"age_file",
":",
"if",
"not",
"os",
".",
"path",
".",
"isfile",
"(",
"age_file",
")",
":",
"print",
"(",
"'Warning: you have provided an invalid age file. Attempting to use sample file instead'",
")",
"age_file",
"=",
"None",
"depth_scale",
"=",
"'sample_core_depth'",
"# os.path.join(dir_path, samp_file)",
"samp_file",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"samp_file",
",",
"dir_path",
")",
"else",
":",
"# os.path.join(dir_path, age_file)",
"samp_file",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"samp_file",
",",
"dir_path",
")",
"depth_scale",
"=",
"'age'",
"print",
"(",
"'Warning: you have provided an er_ages format file, which will take precedence over er_samples'",
")",
"else",
":",
"samp_file",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"samp_file",
",",
"dir_path",
")",
"label",
"=",
"1",
"if",
"sum_file",
":",
"sum_file",
"=",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"sum_file",
")",
"dmin",
",",
"dmax",
"=",
"float",
"(",
"dmin",
")",
",",
"float",
"(",
"dmax",
")",
"# get data read in",
"isbulk",
"=",
"0",
"# tests if there are bulk susceptibility measurements",
"AniData",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"ani_file",
")",
"# read in tensor elements",
"if",
"not",
"age_file",
":",
"# read in sample depth info from er_sample.txt format file",
"Samps",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"samp_file",
")",
"else",
":",
"# read in sample age info from er_ages.txt format file",
"Samps",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"samp_file",
")",
"age_unit",
"=",
"Samps",
"[",
"0",
"]",
"[",
"'age_unit'",
"]",
"for",
"s",
"in",
"Samps",
":",
"# change to upper case for every sample name",
"s",
"[",
"'er_sample_name'",
"]",
"=",
"s",
"[",
"'er_sample_name'",
"]",
".",
"upper",
"(",
")",
"Meas",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"meas_file",
")",
"# print 'meas_file', meas_file",
"# print 'file_type', file_type",
"if",
"file_type",
"==",
"'magic_measurements'",
":",
"isbulk",
"=",
"1",
"Data",
"=",
"[",
"]",
"Bulks",
"=",
"[",
"]",
"BulkDepths",
"=",
"[",
"]",
"for",
"rec",
"in",
"AniData",
":",
"# look for depth record for this sample",
"samprecs",
"=",
"pmag",
".",
"get_dictitem",
"(",
"Samps",
",",
"'er_sample_name'",
",",
"rec",
"[",
"'er_sample_name'",
"]",
".",
"upper",
"(",
")",
",",
"'T'",
")",
"# see if there are non-blank depth data",
"sampdepths",
"=",
"pmag",
".",
"get_dictitem",
"(",
"samprecs",
",",
"depth_scale",
",",
"''",
",",
"'F'",
")",
"if",
"dmax",
"!=",
"-",
"1",
":",
"# fishes out records within depth bounds",
"sampdepths",
"=",
"pmag",
".",
"get_dictitem",
"(",
"sampdepths",
",",
"depth_scale",
",",
"dmax",
",",
"'max'",
")",
"sampdepths",
"=",
"pmag",
".",
"get_dictitem",
"(",
"sampdepths",
",",
"depth_scale",
",",
"dmin",
",",
"'min'",
")",
"if",
"len",
"(",
"sampdepths",
")",
">",
"0",
":",
"# if there are any....",
"# set the core depth of this record",
"rec",
"[",
"'core_depth'",
"]",
"=",
"sampdepths",
"[",
"0",
"]",
"[",
"depth_scale",
"]",
"Data",
".",
"append",
"(",
"rec",
")",
"# fish out data with core_depth",
"if",
"isbulk",
":",
"# if there are bulk data",
"chis",
"=",
"pmag",
".",
"get_dictitem",
"(",
"Meas",
",",
"'er_specimen_name'",
",",
"rec",
"[",
"'er_specimen_name'",
"]",
",",
"'T'",
")",
"# get the non-zero values for this specimen",
"chis",
"=",
"pmag",
".",
"get_dictitem",
"(",
"chis",
",",
"'measurement_chi_volume'",
",",
"''",
",",
"'F'",
")",
"if",
"len",
"(",
"chis",
")",
">",
"0",
":",
"# if there are any....",
"# put in microSI",
"Bulks",
".",
"append",
"(",
"1e6",
"*",
"float",
"(",
"chis",
"[",
"0",
"]",
"[",
"'measurement_chi_volume'",
"]",
")",
")",
"BulkDepths",
".",
"append",
"(",
"float",
"(",
"sampdepths",
"[",
"0",
"]",
"[",
"depth_scale",
"]",
")",
")",
"if",
"len",
"(",
"Bulks",
")",
">",
"0",
":",
"# set min and max bulk values",
"bmin",
"=",
"min",
"(",
"Bulks",
")",
"bmax",
"=",
"max",
"(",
"Bulks",
")",
"xlab",
"=",
"\"Depth (m)\"",
"if",
"len",
"(",
"Data",
")",
">",
"0",
":",
"location",
"=",
"Data",
"[",
"0",
"]",
"[",
"'er_location_name'",
"]",
"else",
":",
"return",
"False",
",",
"'no data to plot'",
"# collect the data for plotting tau V3_inc and V1_dec",
"Depths",
",",
"Tau1",
",",
"Tau2",
",",
"Tau3",
",",
"V3Incs",
",",
"P",
",",
"V1Decs",
"=",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
"F23s",
"=",
"[",
"]",
"Axs",
"=",
"[",
"]",
"# collect the plot ids",
"# START HERE",
"if",
"len",
"(",
"Bulks",
")",
">",
"0",
":",
"pcol",
"+=",
"1",
"# get all the s1 values from Data as floats",
"s1",
"=",
"pmag",
".",
"get_dictkey",
"(",
"Data",
",",
"'anisotropy_s1'",
",",
"'f'",
")",
"s2",
"=",
"pmag",
".",
"get_dictkey",
"(",
"Data",
",",
"'anisotropy_s2'",
",",
"'f'",
")",
"s3",
"=",
"pmag",
".",
"get_dictkey",
"(",
"Data",
",",
"'anisotropy_s3'",
",",
"'f'",
")",
"s4",
"=",
"pmag",
".",
"get_dictkey",
"(",
"Data",
",",
"'anisotropy_s4'",
",",
"'f'",
")",
"s5",
"=",
"pmag",
".",
"get_dictkey",
"(",
"Data",
",",
"'anisotropy_s5'",
",",
"'f'",
")",
"s6",
"=",
"pmag",
".",
"get_dictkey",
"(",
"Data",
",",
"'anisotropy_s6'",
",",
"'f'",
")",
"nmeas",
"=",
"pmag",
".",
"get_dictkey",
"(",
"Data",
",",
"'anisotropy_n'",
",",
"'int'",
")",
"sigma",
"=",
"pmag",
".",
"get_dictkey",
"(",
"Data",
",",
"'anisotropy_sigma'",
",",
"'f'",
")",
"Depths",
"=",
"pmag",
".",
"get_dictkey",
"(",
"Data",
",",
"'core_depth'",
",",
"'f'",
")",
"# Ss=np.array([s1,s4,s5,s4,s2,s6,s5,s6,s3]).transpose() # make an array",
"Ss",
"=",
"np",
".",
"array",
"(",
"[",
"s1",
",",
"s2",
",",
"s3",
",",
"s4",
",",
"s5",
",",
"s6",
"]",
")",
".",
"transpose",
"(",
")",
"# make an array",
"# Ts=np.reshape(Ss,(len(Ss),3,-1)) # and re-shape to be n-length array of",
"# 3x3 sub-arrays",
"for",
"k",
"in",
"range",
"(",
"len",
"(",
"Depths",
")",
")",
":",
"# tau,Evecs= pmag.tauV(Ts[k]) # get the sorted eigenvalues and eigenvectors",
"# v3=pmag.cart2dir(Evecs[2])[1] # convert to inclination of the minimum",
"# eigenvector",
"fpars",
"=",
"pmag",
".",
"dohext",
"(",
"nmeas",
"[",
"k",
"]",
"-",
"6",
",",
"sigma",
"[",
"k",
"]",
",",
"Ss",
"[",
"k",
"]",
")",
"V3Incs",
".",
"append",
"(",
"fpars",
"[",
"'v3_inc'",
"]",
")",
"V1Decs",
".",
"append",
"(",
"fpars",
"[",
"'v1_dec'",
"]",
")",
"Tau1",
".",
"append",
"(",
"fpars",
"[",
"'t1'",
"]",
")",
"Tau2",
".",
"append",
"(",
"fpars",
"[",
"'t2'",
"]",
")",
"Tau3",
".",
"append",
"(",
"fpars",
"[",
"'t3'",
"]",
")",
"P",
".",
"append",
"(",
"old_div",
"(",
"Tau1",
"[",
"-",
"1",
"]",
",",
"Tau3",
"[",
"-",
"1",
"]",
")",
")",
"F23s",
".",
"append",
"(",
"fpars",
"[",
"'F23'",
"]",
")",
"if",
"len",
"(",
"Depths",
")",
">",
"0",
":",
"if",
"dmax",
"==",
"-",
"1",
":",
"dmax",
"=",
"max",
"(",
"Depths",
")",
"dmin",
"=",
"min",
"(",
"Depths",
")",
"tau_min",
"=",
"1",
"for",
"t",
"in",
"Tau3",
":",
"if",
"t",
">",
"0",
"and",
"t",
"<",
"tau_min",
":",
"tau_min",
"=",
"t",
"tau_max",
"=",
"max",
"(",
"Tau1",
")",
"# tau_min=min(Tau3)",
"P_max",
"=",
"max",
"(",
"P",
")",
"P_min",
"=",
"min",
"(",
"P",
")",
"# dmax=dmax+.05*dmax",
"# dmin=dmin-.05*dmax",
"main_plot",
"=",
"plt",
".",
"figure",
"(",
"1",
",",
"figsize",
"=",
"(",
"10",
",",
"8",
")",
")",
"# make the figure",
"version_num",
"=",
"pmag",
".",
"get_version",
"(",
")",
"plt",
".",
"figtext",
"(",
".02",
",",
".01",
",",
"version_num",
")",
"# attach the pmagpy version number",
"ax",
"=",
"plt",
".",
"subplot",
"(",
"1",
",",
"pcol",
",",
"1",
")",
"# make the first column",
"Axs",
".",
"append",
"(",
"ax",
")",
"ax",
".",
"plot",
"(",
"Tau1",
",",
"Depths",
",",
"'rs'",
")",
"ax",
".",
"plot",
"(",
"Tau2",
",",
"Depths",
",",
"'b^'",
")",
"ax",
".",
"plot",
"(",
"Tau3",
",",
"Depths",
",",
"'ko'",
")",
"if",
"sum_file",
":",
"core_depth_key",
",",
"core_label_key",
",",
"Cores",
"=",
"read_core_csv_file",
"(",
"sum_file",
")",
"for",
"core",
"in",
"Cores",
":",
"depth",
"=",
"float",
"(",
"core",
"[",
"core_depth_key",
"]",
")",
"if",
"depth",
">",
"dmin",
"and",
"depth",
"<",
"dmax",
":",
"plt",
".",
"plot",
"(",
"[",
"0",
",",
"90",
"]",
",",
"[",
"depth",
",",
"depth",
"]",
",",
"'b--'",
")",
"ax",
".",
"axis",
"(",
"[",
"tau_min",
",",
"tau_max",
",",
"dmax",
",",
"dmin",
"]",
")",
"ax",
".",
"set_xlabel",
"(",
"'Eigenvalues'",
")",
"if",
"depth_scale",
"==",
"'sample_core_depth'",
":",
"ax",
".",
"set_ylabel",
"(",
"'Depth (mbsf)'",
")",
"elif",
"depth_scale",
"==",
"'age'",
":",
"ax",
".",
"set_ylabel",
"(",
"'Age ('",
"+",
"age_unit",
"+",
"')'",
")",
"else",
":",
"ax",
".",
"set_ylabel",
"(",
"'Depth (mcd)'",
")",
"ax2",
"=",
"plt",
".",
"subplot",
"(",
"1",
",",
"pcol",
",",
"2",
")",
"# make the second column",
"ax2",
".",
"plot",
"(",
"P",
",",
"Depths",
",",
"'rs'",
")",
"ax2",
".",
"axis",
"(",
"[",
"P_min",
",",
"P_max",
",",
"dmax",
",",
"dmin",
"]",
")",
"ax2",
".",
"set_xlabel",
"(",
"'P'",
")",
"ax2",
".",
"set_title",
"(",
"location",
")",
"if",
"sum_file",
":",
"for",
"core",
"in",
"Cores",
":",
"depth",
"=",
"float",
"(",
"core",
"[",
"core_depth_key",
"]",
")",
"if",
"depth",
">",
"dmin",
"and",
"depth",
"<",
"dmax",
":",
"plt",
".",
"plot",
"(",
"[",
"0",
",",
"90",
"]",
",",
"[",
"depth",
",",
"depth",
"]",
",",
"'b--'",
")",
"Axs",
".",
"append",
"(",
"ax2",
")",
"ax3",
"=",
"plt",
".",
"subplot",
"(",
"1",
",",
"pcol",
",",
"3",
")",
"Axs",
".",
"append",
"(",
"ax3",
")",
"ax3",
".",
"plot",
"(",
"V3Incs",
",",
"Depths",
",",
"'ko'",
")",
"ax3",
".",
"axis",
"(",
"[",
"0",
",",
"90",
",",
"dmax",
",",
"dmin",
"]",
")",
"ax3",
".",
"set_xlabel",
"(",
"'V3 Inclination'",
")",
"if",
"sum_file",
":",
"for",
"core",
"in",
"Cores",
":",
"depth",
"=",
"float",
"(",
"core",
"[",
"core_depth_key",
"]",
")",
"if",
"depth",
">",
"dmin",
"and",
"depth",
"<",
"dmax",
":",
"plt",
".",
"plot",
"(",
"[",
"0",
",",
"90",
"]",
",",
"[",
"depth",
",",
"depth",
"]",
",",
"'b--'",
")",
"ax4",
"=",
"plt",
".",
"subplot",
"(",
"1",
",",
"np",
".",
"abs",
"(",
"pcol",
")",
",",
"4",
")",
"Axs",
".",
"append",
"(",
"ax4",
")",
"ax4",
".",
"plot",
"(",
"V1Decs",
",",
"Depths",
",",
"'rs'",
")",
"ax4",
".",
"axis",
"(",
"[",
"0",
",",
"360",
",",
"dmax",
",",
"dmin",
"]",
")",
"ax4",
".",
"set_xlabel",
"(",
"'V1 Declination'",
")",
"if",
"sum_file",
":",
"for",
"core",
"in",
"Cores",
":",
"depth",
"=",
"float",
"(",
"core",
"[",
"core_depth_key",
"]",
")",
"if",
"depth",
">=",
"dmin",
"and",
"depth",
"<=",
"dmax",
":",
"plt",
".",
"plot",
"(",
"[",
"0",
",",
"360",
"]",
",",
"[",
"depth",
",",
"depth",
"]",
",",
"'b--'",
")",
"if",
"pcol",
"==",
"4",
"and",
"label",
"==",
"1",
":",
"plt",
".",
"text",
"(",
"360",
",",
"depth",
"+",
"tint",
",",
"core",
"[",
"core_label_key",
"]",
")",
"# ax5=plt.subplot(1,np.abs(pcol),5)",
"# Axs.append(ax5)",
"# ax5.plot(F23s,Depths,'rs')",
"# bounds=ax5.axis()",
"# ax5.axis([bounds[0],bounds[1],dmax,dmin])",
"# ax5.set_xlabel('F_23')",
"# ax5.semilogx()",
"# if sum_file:",
"# for core in Cores:",
"# depth=float(core[core_depth_key])",
"# if depth>=dmin and depth<=dmax:",
"# plt.plot([bounds[0],bounds[1]],[depth,depth],'b--')",
"# if pcol==5 and label==1:plt.text(bounds[1],depth+tint,core[core_label_key])",
"# if pcol==6:",
"if",
"pcol",
"==",
"5",
":",
"# ax6=plt.subplot(1,pcol,6)",
"ax6",
"=",
"plt",
".",
"subplot",
"(",
"1",
",",
"pcol",
",",
"5",
")",
"Axs",
".",
"append",
"(",
"ax6",
")",
"ax6",
".",
"plot",
"(",
"Bulks",
",",
"BulkDepths",
",",
"'bo'",
")",
"ax6",
".",
"axis",
"(",
"[",
"bmin",
"-",
"1",
",",
"1.1",
"*",
"bmax",
",",
"dmax",
",",
"dmin",
"]",
")",
"ax6",
".",
"set_xlabel",
"(",
"'Bulk Susc. (uSI)'",
")",
"if",
"sum_file",
":",
"for",
"core",
"in",
"Cores",
":",
"depth",
"=",
"float",
"(",
"core",
"[",
"core_depth_key",
"]",
")",
"if",
"depth",
">=",
"dmin",
"and",
"depth",
"<=",
"dmax",
":",
"plt",
".",
"plot",
"(",
"[",
"0",
",",
"bmax",
"]",
",",
"[",
"depth",
",",
"depth",
"]",
",",
"'b--'",
")",
"if",
"label",
"==",
"1",
":",
"plt",
".",
"text",
"(",
"1.1",
"*",
"bmax",
",",
"depth",
"+",
"tint",
",",
"core",
"[",
"core_label_key",
"]",
")",
"for",
"x",
"in",
"Axs",
":",
"# this makes the x-tick labels more reasonable - they were",
"# overcrowded using the defaults",
"pmagplotlib",
".",
"delticks",
"(",
"x",
")",
"fig_name",
"=",
"location",
"+",
"'_ani_depthplot.'",
"+",
"fmt",
"return",
"main_plot",
",",
"fig_name",
"else",
":",
"return",
"False",
",",
"\"No data to plot\""
] |
returns matplotlib figure with anisotropy data plotted against depth
available depth scales: 'sample_composite_depth', 'sample_core_depth', or 'age' (you must provide an age file to use this option)
|
[
"returns",
"matplotlib",
"figure",
"with",
"anisotropy",
"data",
"plotted",
"against",
"depth",
"available",
"depth",
"scales",
":",
"sample_composite_depth",
"sample_core_depth",
"or",
"age",
"(",
"you",
"must",
"provide",
"an",
"age",
"file",
"to",
"use",
"this",
"option",
")"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L2736-L2977
|
train
|
This function takes in an anisotropy file and returns a matplotlib figure with the data plotted against the depth of the anisotropy data.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8('\060' + chr(11177 - 11066) + '\x32' + chr(0b110100) + '\060', 0o10), nzTpIcepk0o8(chr(1292 - 1244) + chr(10576 - 10465) + chr(51) + '\060' + chr(49), 53334 - 53326), nzTpIcepk0o8(chr(1515 - 1467) + chr(8134 - 8023) + chr(0b110111) + chr(518 - 466), 0b1000), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b110011) + chr(2368 - 2313) + chr(54), 0o10), nzTpIcepk0o8(chr(48) + chr(8462 - 8351) + chr(0b100111 + 0o14) + '\061' + chr(0b100100 + 0o16), 0b1000), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110011) + chr(0b100001 + 0o25) + chr(0b110010), ord("\x08")), nzTpIcepk0o8('\x30' + chr(3837 - 3726) + '\x33' + chr(0b110110) + '\061', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b11001 + 0o126) + '\x32' + chr(1529 - 1475) + '\x35', 0b1000), nzTpIcepk0o8(chr(1589 - 1541) + '\x6f' + '\x33' + '\x34' + chr(0b10000 + 0o42), 0b1000), nzTpIcepk0o8('\x30' + chr(0b1000000 + 0o57) + '\061' + '\061' + chr(0b110001), 47284 - 47276), nzTpIcepk0o8(chr(48) + chr(111) + chr(1842 - 1792) + chr(0b1001 + 0o50) + '\065', 0b1000), nzTpIcepk0o8(chr(62 - 14) + '\x6f' + chr(0b11100 + 0o25) + chr(2372 - 2322) + chr(0b110011), 0b1000), nzTpIcepk0o8('\060' + chr(111) + chr(0b10100 + 0o35) + '\x35' + chr(0b110 + 0o53), 34184 - 34176), nzTpIcepk0o8('\x30' + chr(111) + chr(50) + chr(49) + chr(1586 - 1537), 0o10), nzTpIcepk0o8(chr(1425 - 1377) + chr(0b1101111) + chr(2168 - 2119) + '\060' + chr(0b110000), 0b1000), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(1204 - 1149) + chr(0b110011), ord("\x08")), nzTpIcepk0o8(chr(2009 - 1961) + chr(111) + chr(0b1101 + 0o50) + chr(0b10100 + 0o36), 0b1000), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\063' + chr(53), 58410 - 58402), nzTpIcepk0o8(chr(48) + '\157' + '\065' + '\061', 0b1000), nzTpIcepk0o8('\060' + chr(0b111101 + 0o62) + '\x33' + '\065' + chr(0b110011), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b1110 + 0o141) + '\063' + '\066', 0o10), nzTpIcepk0o8(chr(0b100100 + 0o14) + chr(111) + chr(0b11101 + 0o25) + chr(2037 - 1983) + '\065', 8), nzTpIcepk0o8(chr(0b11010 + 0o26) + '\x6f' + '\x32' + '\067' + chr(1021 - 968), ord("\x08")), nzTpIcepk0o8('\x30' + chr(173 - 62) + chr(2292 - 2239) + chr(0b101011 + 0o11), 53414 - 53406), nzTpIcepk0o8(chr(48) + '\x6f' + chr(1771 - 1722) + chr(51), 59614 - 59606), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b1101 + 0o46) + chr(0b110010), 0b1000), nzTpIcepk0o8(chr(0b101 + 0o53) + '\157' + chr(0b100010 + 0o20) + chr(2090 - 2036) + chr(52), 31073 - 31065), nzTpIcepk0o8(chr(1900 - 1852) + chr(0b111010 + 0o65) + chr(51) + '\067' + chr(1465 - 1411), 8), nzTpIcepk0o8(chr(774 - 726) + chr(0b1101111) + '\062' + chr(0b11001 + 0o30) + chr(51), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(5369 - 5258) + '\063' + chr(0b110101) + chr(0b0 + 0o64), 0b1000), nzTpIcepk0o8(chr(914 - 866) + chr(0b1101111) + '\x33' + chr(2030 - 1980) + chr(0b110010), 0b1000), nzTpIcepk0o8(chr(48) + '\157' + chr(48), 0b1000), nzTpIcepk0o8(chr(0b11010 + 0o26) + '\157' + chr(217 - 167) + chr(48) + chr(0b110001), ord("\x08")), nzTpIcepk0o8(chr(0b11101 + 0o23) + chr(0b1101111) + chr(0b100000 + 0o21) + chr(2774 - 2719) + '\067', 0b1000), nzTpIcepk0o8('\060' + chr(0b10 + 0o155) + '\x33' + chr(0b110 + 0o53) + chr(0b110110), 58508 - 58500), nzTpIcepk0o8('\x30' + chr(0b1011011 + 0o24) + '\x33' + chr(52) + chr(0b110101), 35987 - 35979), nzTpIcepk0o8(chr(0b101000 + 0o10) + chr(0b1100001 + 0o16) + chr(1207 - 1157) + chr(0b110110) + chr(0b10110 + 0o37), 8), nzTpIcepk0o8(chr(48) + chr(111) + chr(50) + chr(0b11110 + 0o26) + chr(0b110100), 0b1000), nzTpIcepk0o8(chr(1395 - 1347) + '\x6f' + '\061' + chr(0b110011) + '\x36', 0b1000), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b1001 + 0o50) + chr(0b110100) + chr(49), 0o10)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(841 - 793) + '\157' + chr(0b110101) + '\060', 0b1000)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\x8e'), chr(2487 - 2387) + chr(101) + chr(0b1100011) + '\x6f' + '\144' + chr(0b100000 + 0o105))(chr(0b110101 + 0o100) + '\164' + '\146' + chr(0b101101) + chr(56)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def MQlmbHHjt4G2(F6KTmFll1__E=roI3spqORKae(ES5oEprVxulp(b'\xd2\xac]\x99\x95\x93\x9f\xdc\x91&\xf9!\x06\xf99\x15^e]'), chr(4548 - 4448) + '\145' + chr(1779 - 1680) + chr(0b1101111) + chr(8064 - 7964) + chr(0b1001111 + 0o26))(chr(0b1110101) + chr(116) + chr(102) + '\055' + chr(56)), rHPU8oONrR4n=roI3spqORKae(ES5oEprVxulp(b'\xcd\xa0[\x97\xa9\xad\x9c\xd0\x83:\xf8!\x0c\xe4%U^n\x07\x9ff\xc1'), chr(100) + chr(860 - 759) + chr(99) + chr(0b1101 + 0o142) + '\144' + '\x65')('\165' + chr(0b10010 + 0o142) + chr(296 - 194) + '\055' + chr(0b101001 + 0o17)), bqpTUs8apVqb=roI3spqORKae(ES5oEprVxulp(b"\xc5\xb3c\x8d\xab\x9f\x81\xd9\x87:\xa3'\x11\xfd"), '\x64' + chr(101) + chr(99) + chr(0b1101111) + chr(0b111000 + 0o54) + chr(7080 - 6979))(chr(0b1000111 + 0o56) + '\x74' + chr(0b1100110) + chr(0b101101) + '\x38'), _FpkWd4wvvaT=None, cuJmomB0XH13=None, JummcHpaNLEw=roI3spqORKae(ES5oEprVxulp(b'\xd3\xb7['), chr(0b101 + 0o137) + chr(0b10011 + 0o122) + chr(0b1100011) + chr(5650 - 5539) + '\144' + '\x65')('\165' + chr(0b1110100) + chr(0b1100110) + '\x2d' + chr(56)), Hg_KJkMRv5EQ=-nzTpIcepk0o8(chr(1751 - 1703) + '\x6f' + '\061', 0o10), vrYAlPlCS8EO=-nzTpIcepk0o8(chr(0b11111 + 0o21) + chr(0b1101111) + chr(49), 8), H1WMyWd7nBfT=roI3spqORKae(ES5oEprVxulp(b'\xd3\xa0Q\x8e\xa6\x97\xae\xd6\x8d;\xe8\x0c\r\xec0OB'), chr(0b1100100) + chr(0b1100101) + '\x63' + chr(3857 - 3746) + chr(0b1100100) + '\145')(chr(0b1110101) + '\x74' + '\x66' + chr(45) + '\x38'), qjksZ7GK0xkJ=roI3spqORKae(ES5oEprVxulp(b'\x8e'), chr(0b111010 + 0o52) + chr(331 - 230) + '\143' + chr(0b101011 + 0o104) + chr(100) + chr(0b111011 + 0o52))(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + '\x2d' + chr(0b111000))):
rVXviMgDUC9h = nzTpIcepk0o8(chr(48) + chr(0b1011001 + 0o26) + chr(0b110100), 0b1000)
BdYTl2caVoTD = nzTpIcepk0o8(chr(0b1101 + 0o43) + chr(0b1101111) + chr(0b110001) + chr(0b110001), ord("\x08"))
rhJWrcAwWftY = nzTpIcepk0o8(chr(212 - 164) + '\x6f' + chr(0b110000), 8)
F6KTmFll1__E = hUcsWwAd0nE_.resolve_file_name(F6KTmFll1__E, qjksZ7GK0xkJ)
if not roI3spqORKae(aHUqKstZLeS6.path, roI3spqORKae(ES5oEprVxulp(b'\xc9\xb2Z\x97\xa6\x97'), '\x64' + '\145' + '\143' + chr(111) + '\144' + '\x65')(chr(0b100001 + 0o124) + chr(0b1000001 + 0o63) + '\146' + chr(0b100011 + 0o12) + chr(0b111000)))(F6KTmFll1__E):
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'\xe3\xaeI\x92\xae\xd2\x9f\xda\x96i\xeb:\x07\xed`IG|N\xb4\x7f\xdb\xd4_dn\xc6\x91\xfb\x95\xf2t\xf8\x0f\xab\xc5\xd3\xcd2\x04\x9a\xe1G\x83\xe4\xf8\xa1\xd9\x87(\xfe6I\xf92T\\tM\x8e>\xd4\x9dZjv\xdd\x9a\xab\x8a\xbbl\xe4_\xbe\x84\xc1\xcc~\x00\xce\xa5\x1c\x8a\xb8\x8b\xd1\xd4\x85(\xe4='), chr(100) + '\145' + '\143' + '\x6f' + '\x64' + chr(101))(chr(117) + chr(0b1110100) + '\x66' + '\x2d' + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xd1\xf2\x0f\xb5\x8d\xc1\x97\xda\xb3\x16\xce\x19'), '\x64' + '\145' + chr(0b100 + 0o137) + '\x6f' + chr(0b1100100) + chr(0b101001 + 0o74))('\165' + '\164' + '\146' + chr(0b101101) + chr(56)))(F6KTmFll1__E))
return (nzTpIcepk0o8(chr(0b100001 + 0o17) + '\x6f' + chr(0b110000), 8), roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'\xe3\xaeI\x92\xae\xd2\x9f\xda\x96i\xeb:\x07\xed`IG|N\xb4\x7f\xdb\xd4_dn\xc6\x91\xfb\x95\xf2t\xf8\x0f\xab\xc5\xd3\xcd2\x04\x9a\xe1G\x83\xe4\xf8\xa1\xd9\x87(\xfe6I\xf92T\\tM\x8e>\xd4\x9dZjv\xdd\x9a\xab\x8a\xbbl\xe4_\xbe\x84\xc1\xcc~\x00\xce\xa5\x1c\x8a\xb8\x8b\xd1\xd4\x85(\xe4='), chr(0b10100 + 0o120) + '\145' + '\x63' + chr(0b1101111) + chr(0b111110 + 0o46) + chr(6337 - 6236))(chr(0b111111 + 0o66) + chr(4406 - 4290) + '\x66' + chr(45) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xd1\xf2\x0f\xb5\x8d\xc1\x97\xda\xb3\x16\xce\x19'), '\144' + '\x65' + chr(99) + chr(111) + chr(5562 - 5462) + chr(5869 - 5768))(chr(0b1110101) + chr(116) + chr(9233 - 9131) + chr(0b101101) + chr(396 - 340)))(F6KTmFll1__E))
rHPU8oONrR4n = hUcsWwAd0nE_.resolve_file_name(rHPU8oONrR4n, qjksZ7GK0xkJ)
if _FpkWd4wvvaT:
if not roI3spqORKae(aHUqKstZLeS6.path, roI3spqORKae(ES5oEprVxulp(b'\xc9\xb2Z\x97\xa6\x97'), '\x64' + '\145' + chr(0b1100011) + '\157' + '\x64' + chr(0b101100 + 0o71))(chr(117) + chr(116) + chr(102) + chr(0b101101) + chr(0b111000)))(_FpkWd4wvvaT):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b"\xf7\xa0N\x90\xa3\x9c\x96\x8f\xc20\xe2&I\xe1!MO=Y\x99q\xc3\xd4Hn~\x94\x9f\xe5\xcc\xbbn\xf7\x1e\xa2\x8c\xd1\x84?\x06\xc5\xe1Z\x97\xa6\x97\xdf\x95\xc2\x08\xf9'\x0c\xe40OCsN\xcbj\xda\x9dYx\x7f\x94\x8d\xea\x81\xa2l\xe4_\xa8\x8c\xd9\xc1~\x08\xce\xb2H\x9b\xab\x96"), '\144' + '\145' + chr(1801 - 1702) + chr(10200 - 10089) + chr(0b1100100) + chr(6325 - 6224))(chr(8496 - 8379) + chr(0b1110100) + chr(102) + '\x2d' + '\070'))
_FpkWd4wvvaT = None
H1WMyWd7nBfT = roI3spqORKae(ES5oEprVxulp(b'\xd3\xa0Q\x8e\xa6\x97\xae\xd6\x8d;\xe8\x0c\r\xec0OB'), '\x64' + '\x65' + chr(0b1010000 + 0o23) + chr(0b1001011 + 0o44) + '\x64' + chr(0b101110 + 0o67))(chr(0b1100011 + 0o22) + chr(116) + '\x66' + chr(45) + '\070')
bqpTUs8apVqb = hUcsWwAd0nE_.resolve_file_name(bqpTUs8apVqb, qjksZ7GK0xkJ)
else:
bqpTUs8apVqb = hUcsWwAd0nE_.resolve_file_name(bqpTUs8apVqb, qjksZ7GK0xkJ)
H1WMyWd7nBfT = roI3spqORKae(ES5oEprVxulp(b'\xc1\xa6Y'), chr(0b10110 + 0o116) + '\145' + '\x63' + chr(0b1101111) + chr(0b111111 + 0o45) + '\145')(chr(0b1110101) + chr(6149 - 6033) + '\146' + chr(0b11100 + 0o21) + chr(0b110000 + 0o10))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xf7\xa0N\x90\xa3\x9c\x96\x8f\xc20\xe2&I\xe1!MO=Y\x99q\xc3\xd4Hn~\x94\x9f\xe5\xcc\xb7r\xde\x1e\xa9\x80\xc6\x848\x0e\xd2\xac]\x8a\xea\x94\x98\xd9\x87e\xad$\x01\xe0#S\nj@\x87r\x95\xc9M`\x7f\x94\x8e\xf9\x89\xb1e\xe5\x1a\xa0\x86\xd0\x841\x17\xc5\xb3\x1c\x9b\xb8\xad\x82\xd4\x8f9\xe16\x1a'), chr(100) + '\x65' + '\x63' + chr(111) + '\144' + chr(0b1100101))(chr(12126 - 12009) + chr(0b111111 + 0o65) + chr(4103 - 4001) + chr(0b101101) + '\070'))
else:
bqpTUs8apVqb = hUcsWwAd0nE_.resolve_file_name(bqpTUs8apVqb, qjksZ7GK0xkJ)
OkDIn6t2Cke6 = nzTpIcepk0o8('\060' + chr(0b1011010 + 0o25) + chr(49), 8)
if cuJmomB0XH13:
cuJmomB0XH13 = aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, cuJmomB0XH13)
(Hg_KJkMRv5EQ, vrYAlPlCS8EO) = (jLW6pRf2DSRk(Hg_KJkMRv5EQ), jLW6pRf2DSRk(vrYAlPlCS8EO))
rmrOupVsxi7s = nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(597 - 549), 8)
(dHJeCZaX9ihU, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(F6KTmFll1__E)
if not _FpkWd4wvvaT:
(NixjZbnCaKrH, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(bqpTUs8apVqb)
else:
(NixjZbnCaKrH, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(bqpTUs8apVqb)
VhDf1UQHyIoF = NixjZbnCaKrH[nzTpIcepk0o8('\060' + chr(111) + '\x30', 8)][roI3spqORKae(ES5oEprVxulp(b'\xc1\xa6Y\xa1\xbf\x9c\x98\xc1'), '\144' + chr(101) + chr(99) + chr(0b101 + 0o152) + chr(100) + chr(0b1100101))('\x75' + chr(8699 - 8583) + '\x66' + chr(0b100101 + 0o10) + '\070')]
for PmE5_h409JAA in NixjZbnCaKrH:
PmE5_h409JAA[roI3spqORKae(ES5oEprVxulp(b'\xc5\xb3c\x8d\xab\x9f\x81\xd9\x87\x16\xe32\x04\xec'), chr(100) + chr(101) + chr(0b10100 + 0o117) + chr(11113 - 11002) + '\x64' + '\145')('\165' + chr(0b101110 + 0o106) + '\146' + chr(0b101101) + chr(0b111000))] = PmE5_h409JAA[roI3spqORKae(ES5oEprVxulp(b'\xc5\xb3c\x8d\xab\x9f\x81\xd9\x87\x16\xe32\x04\xec'), chr(100) + chr(101) + chr(0b1001111 + 0o24) + chr(111) + chr(100) + chr(101))('\165' + chr(116) + chr(0b1100110) + chr(0b101101) + chr(56))].iq1mNMefb1Zd()
(mKnAmMvTYaH1, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(rHPU8oONrR4n)
if mWsDpG3yRGLz == roI3spqORKae(ES5oEprVxulp(b'\xcd\xa0[\x97\xa9\xad\x9c\xd0\x83:\xf8!\x0c\xe4%U^n'), chr(0b1100100) + chr(323 - 222) + '\143' + '\x6f' + chr(100) + chr(0b1100101))(chr(12207 - 12090) + chr(1465 - 1349) + chr(102) + '\x2d' + chr(0b111000)):
rmrOupVsxi7s = nzTpIcepk0o8(chr(48) + chr(0b100100 + 0o113) + '\061', 8)
BkI1oOCrzqWc = []
asjRqEDl1G8V = []
QvemRrd_uRY2 = []
for FKO_XxLfWbYt in dHJeCZaX9ihU:
v03X9NsV2c7Y = hUcsWwAd0nE_.get_dictitem(NixjZbnCaKrH, roI3spqORKae(ES5oEprVxulp(b'\xc5\xb3c\x8d\xab\x9f\x81\xd9\x87\x16\xe32\x04\xec'), chr(0b101011 + 0o71) + chr(3575 - 3474) + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + chr(0b1001101 + 0o30))(chr(0b1110101) + chr(116) + '\146' + '\x2d' + chr(0b110111 + 0o1)), FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xc5\xb3c\x8d\xab\x9f\x81\xd9\x87\x16\xe32\x04\xec'), chr(8880 - 8780) + chr(101) + '\143' + chr(6672 - 6561) + chr(7597 - 7497) + chr(0b1100101))('\165' + chr(2153 - 2037) + chr(0b1100110) + chr(1614 - 1569) + '\x38')].iq1mNMefb1Zd(), roI3spqORKae(ES5oEprVxulp(b'\xf4'), chr(0b1100100) + chr(0b1100101) + chr(99) + '\x6f' + '\144' + chr(9044 - 8943))(chr(0b1000011 + 0o62) + chr(0b1110100) + '\146' + chr(1332 - 1287) + '\x38'))
F30tc2hHiqYa = hUcsWwAd0nE_.get_dictitem(v03X9NsV2c7Y, H1WMyWd7nBfT, roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(2568 - 2467) + chr(99) + chr(0b1101111) + chr(0b1100100) + chr(9296 - 9195))(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + chr(381 - 336) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xe6'), '\x64' + chr(101) + '\x63' + chr(0b1101111) + '\x64' + chr(0b1 + 0o144))(chr(4524 - 4407) + '\x74' + chr(8249 - 8147) + chr(45) + chr(656 - 600)))
if vrYAlPlCS8EO != -nzTpIcepk0o8(chr(0b101110 + 0o2) + chr(111) + chr(49), 8):
F30tc2hHiqYa = hUcsWwAd0nE_.get_dictitem(F30tc2hHiqYa, H1WMyWd7nBfT, vrYAlPlCS8EO, roI3spqORKae(ES5oEprVxulp(b'\xcd\xa0D'), chr(0b1000010 + 0o42) + chr(0b1100101) + '\143' + '\157' + '\x64' + chr(754 - 653))(chr(117) + chr(10990 - 10874) + '\x66' + '\055' + chr(0b11011 + 0o35)))
F30tc2hHiqYa = hUcsWwAd0nE_.get_dictitem(F30tc2hHiqYa, H1WMyWd7nBfT, Hg_KJkMRv5EQ, roI3spqORKae(ES5oEprVxulp(b'\xcd\xa8R'), '\144' + chr(0b1100101) + chr(99) + '\157' + chr(0b1100100) + chr(3595 - 3494))(chr(0b1110101) + chr(5259 - 5143) + chr(0b1100110) + '\055' + '\070'))
if ftfygxgFas5X(F30tc2hHiqYa) > nzTpIcepk0o8(chr(0b11001 + 0o27) + chr(0b11010 + 0o125) + chr(0b10111 + 0o31), 8):
FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xc3\xaeN\x9b\x95\x96\x94\xc5\x96!'), chr(0b111000 + 0o54) + chr(0b1 + 0o144) + chr(0b100110 + 0o75) + chr(111) + '\x64' + '\x65')(chr(0b1110101) + chr(116) + chr(102) + chr(45) + chr(0b111000 + 0o0))] = F30tc2hHiqYa[nzTpIcepk0o8('\x30' + chr(2566 - 2455) + '\060', 8)][H1WMyWd7nBfT]
roI3spqORKae(BkI1oOCrzqWc, roI3spqORKae(ES5oEprVxulp(b'\xe8\x95o\xca\xb2\x95\xb6\xda\x88&\xd8f'), chr(4077 - 3977) + chr(2149 - 2048) + chr(99) + chr(0b1101111) + '\144' + chr(0b1100101))(chr(2692 - 2575) + chr(116) + chr(102) + chr(0b101101) + chr(56)))(FKO_XxLfWbYt)
if rmrOupVsxi7s:
WWQ1aYeCzDdU = hUcsWwAd0nE_.get_dictitem(mKnAmMvTYaH1, roI3spqORKae(ES5oEprVxulp(b'\xc5\xb3c\x8d\xba\x97\x92\xdc\x8f,\xe3\x0c\x07\xe8-^'), '\144' + '\x65' + '\x63' + '\157' + chr(0b1011101 + 0o7) + '\x65')(chr(5867 - 5750) + '\164' + '\146' + '\055' + '\070'), FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xc5\xb3c\x8d\xba\x97\x92\xdc\x8f,\xe3\x0c\x07\xe8-^'), '\x64' + '\145' + chr(99) + '\x6f' + '\144' + chr(0b1100101))(chr(9780 - 9663) + '\x74' + '\x66' + chr(1093 - 1048) + chr(0b110 + 0o62))], roI3spqORKae(ES5oEprVxulp(b'\xf4'), '\144' + chr(0b1100101) + chr(0b1010011 + 0o20) + chr(0b1100 + 0o143) + chr(100) + chr(101))(chr(0b1010110 + 0o37) + chr(2133 - 2017) + chr(0b101100 + 0o72) + '\055' + '\x38'))
WWQ1aYeCzDdU = hUcsWwAd0nE_.get_dictitem(WWQ1aYeCzDdU, roI3spqORKae(ES5oEprVxulp(b"\xcd\xa4]\x8d\xbf\x80\x94\xd8\x87'\xf9\x0c\n\xe1)d\\rE\x9es\xd0"), '\144' + chr(0b1100101) + '\143' + chr(11758 - 11647) + chr(3733 - 3633) + chr(0b1100101))(chr(0b111101 + 0o70) + chr(0b101001 + 0o113) + '\146' + chr(45) + chr(56)), roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + '\145' + chr(0b1100011) + chr(0b1101111) + chr(0b11111 + 0o105) + chr(101))(chr(0b110110 + 0o77) + chr(0b1001010 + 0o52) + chr(0b1000101 + 0o41) + chr(0b11100 + 0o21) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xe6'), '\144' + '\145' + chr(0b1100011) + chr(111) + chr(100) + chr(101))('\165' + chr(0b1110100) + chr(102) + '\055' + chr(2217 - 2161)))
if ftfygxgFas5X(WWQ1aYeCzDdU) > nzTpIcepk0o8(chr(48) + chr(6072 - 5961) + '\060', 8):
roI3spqORKae(asjRqEDl1G8V, roI3spqORKae(ES5oEprVxulp(b'\xe8\x95o\xca\xb2\x95\xb6\xda\x88&\xd8f'), chr(100) + chr(101) + chr(0b1100011) + chr(111) + chr(7047 - 6947) + '\x65')('\165' + '\164' + chr(0b1010110 + 0o20) + chr(0b101101) + '\070'))(1000000.0 * jLW6pRf2DSRk(WWQ1aYeCzDdU[nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x30', 8)][roI3spqORKae(ES5oEprVxulp(b"\xcd\xa4]\x8d\xbf\x80\x94\xd8\x87'\xf9\x0c\n\xe1)d\\rE\x9es\xd0"), '\144' + chr(0b1100101) + chr(7756 - 7657) + chr(0b11100 + 0o123) + chr(0b110110 + 0o56) + '\145')('\165' + chr(0b101001 + 0o113) + chr(4095 - 3993) + chr(1124 - 1079) + chr(1841 - 1785))]))
roI3spqORKae(QvemRrd_uRY2, roI3spqORKae(ES5oEprVxulp(b'\xe8\x95o\xca\xb2\x95\xb6\xda\x88&\xd8f'), chr(100) + chr(101) + chr(0b11010 + 0o111) + chr(7446 - 7335) + chr(0b1100100) + '\x65')(chr(10018 - 9901) + chr(116) + chr(0b1100110) + chr(45) + '\070'))(jLW6pRf2DSRk(F30tc2hHiqYa[nzTpIcepk0o8('\060' + chr(0b1100111 + 0o10) + chr(958 - 910), 8)][H1WMyWd7nBfT]))
if ftfygxgFas5X(asjRqEDl1G8V) > nzTpIcepk0o8(chr(0b110000) + chr(0b10110 + 0o131) + chr(0b100110 + 0o12), 8):
TMJnll0gEl9b = XURpmPuEWCNF(asjRqEDl1G8V)
cCpCZfVols23 = KV9ckIhroIia(asjRqEDl1G8V)
ikxkW8dy4ZA_ = roI3spqORKae(ES5oEprVxulp(b'\xe4\xa4L\x8a\xa2\xd2\xd9\xd8\xcb'), chr(0b110011 + 0o61) + chr(7030 - 6929) + chr(1360 - 1261) + chr(9193 - 9082) + chr(4085 - 3985) + chr(2342 - 2241))('\165' + '\x74' + chr(10121 - 10019) + chr(45) + chr(0b101100 + 0o14))
if ftfygxgFas5X(BkI1oOCrzqWc) > nzTpIcepk0o8(chr(48) + chr(0b10011 + 0o134) + chr(0b10110 + 0o32), 8):
y87dwGy_Qoj4 = BkI1oOCrzqWc[nzTpIcepk0o8(chr(0b1110 + 0o42) + chr(0b1101111) + chr(0b110000), 8)][roI3spqORKae(ES5oEprVxulp(b'\xc5\xb3c\x92\xa5\x91\x90\xc1\x8b&\xe3\x0c\x07\xe8-^'), '\144' + chr(0b1001110 + 0o27) + chr(5850 - 5751) + chr(0b100100 + 0o113) + '\144' + chr(8613 - 8512))('\165' + chr(0b1110100) + '\146' + chr(45) + chr(0b110 + 0o62))]
else:
return (nzTpIcepk0o8(chr(1663 - 1615) + '\x6f' + chr(0b100011 + 0o15), 8), roI3spqORKae(ES5oEprVxulp(b'\xce\xae\x1c\x9a\xab\x86\x90\x95\x96&\xad#\x05\xe64'), '\144' + '\x65' + chr(99) + chr(0b1101111) + chr(100) + '\145')('\x75' + chr(116) + chr(7505 - 7403) + '\055' + chr(0b111000)))
(LWpSiDWF2mYx, LilUF_VRtbz6, W_8Lmf0Kmub8, TDEabdhZd_nn, Q172BoscobXP, mOo9OqMgUnvf, yhfncZYmkEhN) = ([], [], [], [], [], [], [])
iGTeJCRaafZZ = []
a35B9fCTPvBO = []
if ftfygxgFas5X(asjRqEDl1G8V) > nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110000), 8):
rVXviMgDUC9h += nzTpIcepk0o8(chr(48) + chr(9966 - 9855) + '\x31', 8)
tZbys_8L0QgH = hUcsWwAd0nE_.get_dictkey(BkI1oOCrzqWc, roI3spqORKae(ES5oEprVxulp(b'\xc1\xafU\x8d\xa5\x86\x83\xda\x920\xd2 X'), chr(3295 - 3195) + '\145' + chr(0b101010 + 0o71) + '\157' + chr(0b1001 + 0o133) + chr(0b1100101))('\165' + '\164' + chr(102) + '\055' + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xc6'), '\x64' + chr(0b1010000 + 0o25) + chr(0b10001 + 0o122) + chr(2881 - 2770) + chr(3883 - 3783) + chr(8751 - 8650))(chr(117) + chr(0b1110100) + chr(0b11011 + 0o113) + chr(0b1101 + 0o40) + chr(0b11111 + 0o31)))
RWtImVdanJMG = hUcsWwAd0nE_.get_dictkey(BkI1oOCrzqWc, roI3spqORKae(ES5oEprVxulp(b'\xc1\xafU\x8d\xa5\x86\x83\xda\x920\xd2 ['), chr(100) + chr(0b1100101) + chr(99) + '\157' + chr(100) + chr(6041 - 5940))(chr(0b111101 + 0o70) + chr(0b100010 + 0o122) + '\146' + '\x2d' + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xc6'), chr(6910 - 6810) + chr(0b110 + 0o137) + chr(0b101 + 0o136) + chr(0b1101111) + chr(0b1100100) + chr(7013 - 6912))(chr(117) + chr(9573 - 9457) + chr(960 - 858) + chr(0b101101) + chr(0b111000)))
t1hlNBwNeEI6 = hUcsWwAd0nE_.get_dictkey(BkI1oOCrzqWc, roI3spqORKae(ES5oEprVxulp(b'\xc1\xafU\x8d\xa5\x86\x83\xda\x920\xd2 Z'), chr(9300 - 9200) + chr(101) + chr(0b1111 + 0o124) + chr(111) + chr(0b1000111 + 0o35) + chr(101))(chr(0b11101 + 0o130) + '\x74' + chr(3208 - 3106) + chr(45) + chr(0b100100 + 0o24)), roI3spqORKae(ES5oEprVxulp(b'\xc6'), chr(3299 - 3199) + chr(1964 - 1863) + '\x63' + '\157' + chr(100) + chr(9268 - 9167))(chr(0b1110101) + chr(0b1110100) + '\x66' + '\055' + chr(0b111000)))
t1Y8gL9mSKqu = hUcsWwAd0nE_.get_dictkey(BkI1oOCrzqWc, roI3spqORKae(ES5oEprVxulp(b'\xc1\xafU\x8d\xa5\x86\x83\xda\x920\xd2 ]'), chr(100) + '\x65' + chr(0b1100000 + 0o3) + chr(111) + '\144' + chr(0b1100001 + 0o4))('\x75' + '\164' + '\x66' + '\055' + chr(2467 - 2411)), roI3spqORKae(ES5oEprVxulp(b'\xc6'), chr(0b1100100) + chr(0b1100101) + chr(0b1111 + 0o124) + '\157' + '\144' + chr(0b1100101))(chr(0b1110101) + chr(116) + chr(102) + chr(45) + chr(56)))
c9E23QAHeujY = hUcsWwAd0nE_.get_dictkey(BkI1oOCrzqWc, roI3spqORKae(ES5oEprVxulp(b'\xc1\xafU\x8d\xa5\x86\x83\xda\x920\xd2 \\'), '\x64' + '\x65' + '\143' + '\x6f' + chr(2340 - 2240) + chr(101))('\x75' + chr(0b11000 + 0o134) + chr(0b1100110) + chr(0b101101) + chr(67 - 11)), roI3spqORKae(ES5oEprVxulp(b'\xc6'), chr(100) + '\x65' + '\143' + '\x6f' + chr(100) + '\145')('\165' + '\x74' + chr(7045 - 6943) + '\055' + chr(56)))
lVmGlpAh0S0U = hUcsWwAd0nE_.get_dictkey(BkI1oOCrzqWc, roI3spqORKae(ES5oEprVxulp(b'\xc1\xafU\x8d\xa5\x86\x83\xda\x920\xd2 _'), chr(0b11011 + 0o111) + chr(101) + chr(0b1100011) + '\x6f' + chr(0b1001 + 0o133) + chr(101))(chr(9114 - 8997) + chr(116) + chr(9808 - 9706) + chr(307 - 262) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xc6'), '\144' + chr(0b1100101) + '\x63' + chr(0b1101111) + chr(100) + chr(2177 - 2076))(chr(117) + chr(7875 - 7759) + '\x66' + '\x2d' + chr(56)))
qUaZvGk7rxFw = hUcsWwAd0nE_.get_dictkey(BkI1oOCrzqWc, roI3spqORKae(ES5oEprVxulp(b'\xc1\xafU\x8d\xa5\x86\x83\xda\x920\xd2='), chr(0b1000100 + 0o40) + chr(0b1000011 + 0o42) + chr(8990 - 8891) + chr(111) + chr(0b1100100) + '\x65')(chr(0b1010001 + 0o44) + '\x74' + chr(493 - 391) + chr(1941 - 1896) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xc9\xafH'), chr(0b1100100) + '\x65' + '\143' + chr(523 - 412) + '\144' + chr(0b1100101))(chr(117) + chr(6421 - 6305) + chr(0b1001110 + 0o30) + chr(89 - 44) + chr(2216 - 2160)))
uc4gGmjAvJP3 = hUcsWwAd0nE_.get_dictkey(BkI1oOCrzqWc, roI3spqORKae(ES5oEprVxulp(b'\xc1\xafU\x8d\xa5\x86\x83\xda\x920\xd2 \x00\xee-Z'), chr(0b111100 + 0o50) + chr(101) + '\x63' + '\157' + chr(0b1011010 + 0o12) + chr(0b1101 + 0o130))(chr(117) + '\x74' + chr(0b1100110) + '\x2d' + chr(0b110101 + 0o3)), roI3spqORKae(ES5oEprVxulp(b'\xc6'), '\144' + chr(0b1100101) + '\x63' + '\x6f' + chr(6366 - 6266) + chr(2553 - 2452))(chr(10580 - 10463) + '\164' + '\x66' + chr(0b11100 + 0o21) + chr(1346 - 1290)))
LWpSiDWF2mYx = hUcsWwAd0nE_.get_dictkey(BkI1oOCrzqWc, roI3spqORKae(ES5oEprVxulp(b'\xc3\xaeN\x9b\x95\x96\x94\xc5\x96!'), chr(3652 - 3552) + '\x65' + chr(99) + chr(0b1011100 + 0o23) + chr(0b11 + 0o141) + chr(101))(chr(1164 - 1047) + chr(116) + '\x66' + chr(0b1 + 0o54) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xc6'), chr(100) + chr(101) + chr(7339 - 7240) + '\157' + '\144' + chr(0b1100101))(chr(117) + chr(2282 - 2166) + chr(102) + chr(0b11 + 0o52) + chr(56)))
HgFdy4pMURor = nDF4gVNx0u9Q.array([tZbys_8L0QgH, RWtImVdanJMG, t1hlNBwNeEI6, t1Y8gL9mSKqu, c9E23QAHeujY, lVmGlpAh0S0U]).transpose()
for B6UAF1zReOyJ in bbT2xIe5pzk7(ftfygxgFas5X(LWpSiDWF2mYx)):
G8tc4lB1X1ze = hUcsWwAd0nE_.dohext(qUaZvGk7rxFw[B6UAF1zReOyJ] - nzTpIcepk0o8(chr(0b110000) + chr(0b100111 + 0o110) + chr(0b10101 + 0o41), ord("\x08")), uc4gGmjAvJP3[B6UAF1zReOyJ], HgFdy4pMURor[B6UAF1zReOyJ])
roI3spqORKae(Q172BoscobXP, roI3spqORKae(ES5oEprVxulp(b'\xe8\x95o\xca\xb2\x95\xb6\xda\x88&\xd8f'), chr(0b1100100) + '\x65' + '\x63' + chr(111) + chr(7368 - 7268) + chr(0b10011 + 0o122))(chr(0b101001 + 0o114) + chr(0b1010000 + 0o44) + '\x66' + chr(45) + '\070'))(G8tc4lB1X1ze[roI3spqORKae(ES5oEprVxulp(b'\xd6\xf2c\x97\xa4\x91'), chr(8686 - 8586) + chr(0b1100101) + '\143' + chr(0b1101111) + chr(0b1100100) + chr(6764 - 6663))(chr(5245 - 5128) + chr(0b11100 + 0o130) + '\146' + chr(0b101101) + chr(2829 - 2773))])
roI3spqORKae(yhfncZYmkEhN, roI3spqORKae(ES5oEprVxulp(b'\xe8\x95o\xca\xb2\x95\xb6\xda\x88&\xd8f'), chr(0b1100100) + chr(101) + chr(6665 - 6566) + chr(0b1101111) + chr(100) + chr(0b1001011 + 0o32))('\x75' + chr(0b1110100) + chr(102) + chr(45) + chr(1084 - 1028)))(G8tc4lB1X1ze[roI3spqORKae(ES5oEprVxulp(b'\xd6\xf0c\x9a\xaf\x91'), chr(0b1100100) + chr(9008 - 8907) + chr(99) + chr(111) + chr(0b111010 + 0o52) + chr(0b1100101))(chr(0b1110101) + chr(0b1010010 + 0o42) + '\x66' + chr(672 - 627) + chr(0b10 + 0o66))])
roI3spqORKae(LilUF_VRtbz6, roI3spqORKae(ES5oEprVxulp(b'\xe8\x95o\xca\xb2\x95\xb6\xda\x88&\xd8f'), chr(100) + chr(0b110100 + 0o61) + '\143' + chr(111) + '\144' + chr(2027 - 1926))('\165' + chr(0b1011010 + 0o32) + chr(0b1100 + 0o132) + chr(45) + chr(0b101 + 0o63)))(G8tc4lB1X1ze[roI3spqORKae(ES5oEprVxulp(b'\xd4\xf0'), chr(5482 - 5382) + '\145' + chr(0b1100011) + chr(111) + '\144' + chr(0b1100101))('\165' + '\164' + chr(0b101100 + 0o72) + '\x2d' + chr(1616 - 1560))])
roI3spqORKae(W_8Lmf0Kmub8, roI3spqORKae(ES5oEprVxulp(b'\xe8\x95o\xca\xb2\x95\xb6\xda\x88&\xd8f'), chr(0b111000 + 0o54) + chr(101) + chr(6915 - 6816) + chr(0b111011 + 0o64) + chr(0b1100100) + chr(101))(chr(12996 - 12879) + '\164' + chr(102) + '\x2d' + chr(0b10001 + 0o47)))(G8tc4lB1X1ze[roI3spqORKae(ES5oEprVxulp(b'\xd4\xf3'), '\144' + '\145' + '\143' + chr(0b1000010 + 0o55) + '\x64' + chr(101))(chr(0b1110101) + chr(0b100011 + 0o121) + chr(6954 - 6852) + chr(0b1000 + 0o45) + chr(2241 - 2185))])
roI3spqORKae(TDEabdhZd_nn, roI3spqORKae(ES5oEprVxulp(b'\xe8\x95o\xca\xb2\x95\xb6\xda\x88&\xd8f'), chr(0b101011 + 0o71) + chr(0b1100101) + '\143' + '\157' + chr(0b111101 + 0o47) + chr(2397 - 2296))(chr(0b1010101 + 0o40) + chr(6718 - 6602) + chr(7764 - 7662) + '\x2d' + '\070'))(G8tc4lB1X1ze[roI3spqORKae(ES5oEprVxulp(b'\xd4\xf2'), '\144' + chr(0b1100101) + chr(99) + '\x6f' + '\x64' + chr(0b1100101))(chr(117) + chr(5759 - 5643) + chr(0b1001 + 0o135) + chr(1264 - 1219) + chr(56))])
roI3spqORKae(mOo9OqMgUnvf, roI3spqORKae(ES5oEprVxulp(b'\xe8\x95o\xca\xb2\x95\xb6\xda\x88&\xd8f'), chr(5827 - 5727) + chr(101) + chr(99) + '\157' + chr(3546 - 3446) + chr(101))('\x75' + '\164' + chr(0b1100011 + 0o3) + chr(45) + chr(0b110010 + 0o6)))(SVfYwQaP38MC(LilUF_VRtbz6[-nzTpIcepk0o8(chr(48) + chr(7607 - 7496) + chr(0b110001), 8)], TDEabdhZd_nn[-nzTpIcepk0o8(chr(303 - 255) + chr(111) + chr(49), 8)]))
roI3spqORKae(iGTeJCRaafZZ, roI3spqORKae(ES5oEprVxulp(b'\xe8\x95o\xca\xb2\x95\xb6\xda\x88&\xd8f'), chr(100) + chr(0b11000 + 0o115) + chr(0b1100011) + chr(0b1101111) + chr(4236 - 4136) + chr(0b11 + 0o142))(chr(117) + '\x74' + chr(0b1100110) + chr(45) + '\x38'))(G8tc4lB1X1ze[roI3spqORKae(ES5oEprVxulp(b'\xe6\xf3\x0f'), chr(0b1000110 + 0o36) + '\x65' + '\143' + chr(111) + '\144' + '\145')(chr(0b1011100 + 0o31) + chr(5535 - 5419) + '\x66' + '\055' + '\x38')])
if ftfygxgFas5X(LWpSiDWF2mYx) > nzTpIcepk0o8(chr(0b11 + 0o55) + chr(111) + chr(1929 - 1881), 8):
if vrYAlPlCS8EO == -nzTpIcepk0o8('\x30' + chr(7460 - 7349) + chr(49), 8):
vrYAlPlCS8EO = KV9ckIhroIia(LWpSiDWF2mYx)
Hg_KJkMRv5EQ = XURpmPuEWCNF(LWpSiDWF2mYx)
q6QUFdjo1gs1 = nzTpIcepk0o8(chr(48) + chr(0b110010 + 0o75) + '\x31', 8)
for h3Vc_4wxEbgd in TDEabdhZd_nn:
if h3Vc_4wxEbgd > nzTpIcepk0o8(chr(1059 - 1011) + chr(0b1100010 + 0o15) + chr(974 - 926), 8) and h3Vc_4wxEbgd < q6QUFdjo1gs1:
q6QUFdjo1gs1 = h3Vc_4wxEbgd
W7_Da_XXma_z = KV9ckIhroIia(LilUF_VRtbz6)
Zv52BPAoqx4D = KV9ckIhroIia(mOo9OqMgUnvf)
u_iGRT9F3yGe = XURpmPuEWCNF(mOo9OqMgUnvf)
CIb4KLJ7bueR = Z7HGgmIyegqz.es0Z6dzChSL5(nzTpIcepk0o8(chr(0b10110 + 0o32) + '\157' + chr(0b11 + 0o56), 8), figsize=(nzTpIcepk0o8(chr(48) + '\x6f' + chr(49) + '\062', ord("\x08")), nzTpIcepk0o8(chr(2259 - 2211) + chr(0b1101111) + '\x31' + '\x30', ord("\x08"))))
uNg9Yeq376oN = hUcsWwAd0nE_.get_version()
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\xc6\xa8[\x8a\xaf\x8a\x85'), chr(100) + chr(0b101011 + 0o72) + chr(9106 - 9007) + chr(2502 - 2391) + chr(0b1001001 + 0o33) + chr(0b1100101))('\x75' + chr(0b1110100) + '\x66' + chr(178 - 133) + '\070'))(0.02, 0.01, uNg9Yeq376oN)
ZtB7KOLCW2Hk = Z7HGgmIyegqz.subplot(nzTpIcepk0o8(chr(1644 - 1596) + '\x6f' + chr(985 - 936), 8), rVXviMgDUC9h, nzTpIcepk0o8(chr(532 - 484) + chr(0b1101111) + chr(2372 - 2323), 8))
roI3spqORKae(a35B9fCTPvBO, roI3spqORKae(ES5oEprVxulp(b'\xe8\x95o\xca\xb2\x95\xb6\xda\x88&\xd8f'), chr(0b1100100) + chr(0b1100101) + '\x63' + chr(0b1101111) + '\144' + chr(0b11100 + 0o111))('\x75' + chr(8297 - 8181) + chr(6686 - 6584) + chr(0b1000 + 0o45) + chr(0b11100 + 0o34)))(ZtB7KOLCW2Hk)
roI3spqORKae(ZtB7KOLCW2Hk, roI3spqORKae(ES5oEprVxulp(b'\xd0\xadS\x8a'), chr(0b101001 + 0o73) + '\145' + '\x63' + chr(0b1101111) + '\x64' + chr(0b101011 + 0o72))('\165' + '\164' + '\x66' + '\x2d' + '\070'))(LilUF_VRtbz6, LWpSiDWF2mYx, roI3spqORKae(ES5oEprVxulp(b'\xd2\xb2'), chr(6383 - 6283) + chr(9374 - 9273) + chr(99) + '\157' + chr(8418 - 8318) + '\x65')(chr(0b1110101) + '\x74' + chr(0b1100110) + '\055' + chr(703 - 647)))
roI3spqORKae(ZtB7KOLCW2Hk, roI3spqORKae(ES5oEprVxulp(b'\xd0\xadS\x8a'), '\144' + '\x65' + '\143' + chr(0b1100001 + 0o16) + '\x64' + chr(101))(chr(0b1110101) + '\164' + chr(0b1100110) + '\x2d' + '\070'))(W_8Lmf0Kmub8, LWpSiDWF2mYx, roI3spqORKae(ES5oEprVxulp(b'\xc2\x9f'), '\144' + '\x65' + chr(0b100101 + 0o76) + '\x6f' + chr(0b1011000 + 0o14) + chr(0b10000 + 0o125))(chr(8954 - 8837) + chr(0b1110100) + chr(102) + chr(1762 - 1717) + '\070'))
roI3spqORKae(ZtB7KOLCW2Hk, roI3spqORKae(ES5oEprVxulp(b'\xd0\xadS\x8a'), chr(0b1010001 + 0o23) + '\145' + chr(0b10001 + 0o122) + chr(0b1101111) + '\144' + chr(101))(chr(855 - 738) + chr(116) + chr(3140 - 3038) + chr(1186 - 1141) + '\x38'))(TDEabdhZd_nn, LWpSiDWF2mYx, roI3spqORKae(ES5oEprVxulp(b'\xcb\xae'), chr(0b1011101 + 0o7) + chr(458 - 357) + '\x63' + chr(11842 - 11731) + '\144' + '\145')(chr(0b110001 + 0o104) + chr(0b1110100) + chr(4901 - 4799) + chr(0b101101) + chr(0b111000)))
if cuJmomB0XH13:
(dFt3oC7UZAaI, Z0GwVtJhJD5m, q5eO_jclWFG5) = wt4pZdpcsvhp(cuJmomB0XH13)
for fJSwBORhebts in q5eO_jclWFG5:
UH0YjwuI_XzX = jLW6pRf2DSRk(fJSwBORhebts[dFt3oC7UZAaI])
if UH0YjwuI_XzX > Hg_KJkMRv5EQ and UH0YjwuI_XzX < vrYAlPlCS8EO:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\xd0\xadS\x8a'), '\x64' + chr(0b1011100 + 0o11) + chr(0b1100011) + chr(0b11010 + 0o125) + '\144' + '\145')('\165' + chr(457 - 341) + chr(102) + '\x2d' + chr(0b111000)))([nzTpIcepk0o8(chr(654 - 606) + chr(986 - 875) + chr(2160 - 2112), 8), nzTpIcepk0o8(chr(0b10011 + 0o35) + '\157' + '\061' + '\063' + chr(0b110010), ord("\x08"))], [UH0YjwuI_XzX, UH0YjwuI_XzX], roI3spqORKae(ES5oEprVxulp(b'\xc2\xec\x11'), chr(0b1 + 0o143) + chr(1259 - 1158) + chr(0b1100011) + chr(0b1101111) + chr(100) + chr(0b1100101))(chr(117) + '\164' + chr(102) + '\055' + chr(0b111000)))
roI3spqORKae(ZtB7KOLCW2Hk, roI3spqORKae(ES5oEprVxulp(b'\xea\x85\x05\xce\xf8\x82\x87\xcc\xa1\x05\xc5b'), '\x64' + '\145' + chr(99) + '\157' + chr(7246 - 7146) + '\145')('\x75' + '\164' + '\x66' + chr(0b1010 + 0o43) + chr(0b100111 + 0o21)))([q6QUFdjo1gs1, W7_Da_XXma_z, vrYAlPlCS8EO, Hg_KJkMRv5EQ])
roI3spqORKae(ZtB7KOLCW2Hk, roI3spqORKae(ES5oEprVxulp(b'\xd3\xa4H\xa1\xb2\x9e\x90\xd7\x87%'), chr(0b1100100) + chr(0b1100101) + '\143' + chr(0b110 + 0o151) + '\144' + '\x65')(chr(1863 - 1746) + chr(0b101010 + 0o112) + '\x66' + chr(1020 - 975) + chr(1750 - 1694)))(roI3spqORKae(ES5oEprVxulp(b'\xe5\xa8[\x9b\xa4\x84\x90\xd9\x97,\xfe'), '\144' + chr(101) + '\143' + chr(0b111000 + 0o67) + chr(100) + chr(0b1100101))(chr(0b1110101) + '\x74' + '\x66' + chr(0b101101) + chr(56)))
if H1WMyWd7nBfT == roI3spqORKae(ES5oEprVxulp(b'\xd3\xa0Q\x8e\xa6\x97\xae\xd6\x8d;\xe8\x0c\r\xec0OB'), chr(0b111000 + 0o54) + chr(7061 - 6960) + chr(0b1010011 + 0o20) + '\157' + chr(0b110010 + 0o62) + '\145')(chr(0b110010 + 0o103) + chr(0b1011001 + 0o33) + '\146' + '\055' + chr(0b111000)):
roI3spqORKae(ZtB7KOLCW2Hk, roI3spqORKae(ES5oEprVxulp(b'\xd3\xa4H\xa1\xb3\x9e\x90\xd7\x87%'), '\144' + '\x65' + chr(0b1001000 + 0o33) + chr(5107 - 4996) + chr(0b10000 + 0o124) + chr(2378 - 2277))(chr(117) + chr(0b10010 + 0o142) + chr(102) + '\x2d' + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b'\xe4\xa4L\x8a\xa2\xd2\xd9\xd8\x80:\xebz'), chr(0b11001 + 0o113) + '\145' + chr(99) + '\157' + chr(100) + chr(5584 - 5483))('\x75' + chr(0b1110100) + chr(9083 - 8981) + chr(0b101101) + chr(0b11011 + 0o35)))
elif H1WMyWd7nBfT == roI3spqORKae(ES5oEprVxulp(b'\xc1\xa6Y'), chr(0b1100100) + '\x65' + chr(0b1100001 + 0o2) + chr(11592 - 11481) + chr(0b1100100) + chr(0b11000 + 0o115))(chr(117) + '\x74' + chr(7850 - 7748) + chr(0b101101) + '\x38'):
roI3spqORKae(ZtB7KOLCW2Hk, roI3spqORKae(ES5oEprVxulp(b'\xd3\xa4H\xa1\xb3\x9e\x90\xd7\x87%'), '\x64' + chr(0b1100101) + chr(0b110101 + 0o56) + '\x6f' + chr(100) + '\145')(chr(0b11001 + 0o134) + '\x74' + chr(3566 - 3464) + chr(0b101101) + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b'\xe1\xa6Y\xde\xe2'), chr(3936 - 3836) + '\x65' + chr(1601 - 1502) + chr(10017 - 9906) + '\144' + chr(8837 - 8736))('\x75' + chr(116) + chr(0b110000 + 0o66) + chr(0b101101) + '\070') + VhDf1UQHyIoF + roI3spqORKae(ES5oEprVxulp(b'\x89'), chr(0b1100100) + chr(0b1100101) + chr(8642 - 8543) + chr(0b1101111) + '\144' + chr(4146 - 4045))(chr(117) + chr(0b1110100) + chr(102) + chr(0b100001 + 0o14) + '\x38'))
else:
roI3spqORKae(ZtB7KOLCW2Hk, roI3spqORKae(ES5oEprVxulp(b'\xd3\xa4H\xa1\xb3\x9e\x90\xd7\x87%'), '\x64' + chr(0b1100101) + '\143' + chr(111) + chr(9458 - 9358) + chr(0b1100101))('\x75' + chr(10375 - 10259) + chr(8187 - 8085) + '\055' + chr(56)))(roI3spqORKae(ES5oEprVxulp(b'\xe4\xa4L\x8a\xa2\xd2\xd9\xd8\x81-\xa4'), chr(0b1100100) + '\145' + '\x63' + chr(0b1101111) + '\x64' + chr(0b1100101))(chr(117) + '\164' + chr(0b1100110) + '\x2d' + chr(79 - 23)))
PovpLx9Ei7oG = Z7HGgmIyegqz.subplot(nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(218 - 169), 8), rVXviMgDUC9h, nzTpIcepk0o8(chr(2160 - 2112) + chr(1957 - 1846) + chr(1565 - 1515), 23193 - 23185))
roI3spqORKae(PovpLx9Ei7oG, roI3spqORKae(ES5oEprVxulp(b'\xd0\xadS\x8a'), chr(0b1100100) + '\x65' + chr(6862 - 6763) + chr(111) + '\144' + '\145')(chr(117) + chr(0b1110100) + chr(1291 - 1189) + chr(0b1110 + 0o37) + chr(0b11100 + 0o34)))(mOo9OqMgUnvf, LWpSiDWF2mYx, roI3spqORKae(ES5oEprVxulp(b'\xd2\xb2'), '\144' + '\x65' + chr(99) + chr(111) + '\x64' + chr(2842 - 2741))(chr(6152 - 6035) + chr(116) + '\x66' + chr(0b101101) + '\070'))
roI3spqORKae(PovpLx9Ei7oG, roI3spqORKae(ES5oEprVxulp(b'\xea\x85\x05\xce\xf8\x82\x87\xcc\xa1\x05\xc5b'), chr(100) + '\145' + chr(2284 - 2185) + chr(0b1010 + 0o145) + '\144' + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + '\070'))([u_iGRT9F3yGe, Zv52BPAoqx4D, vrYAlPlCS8EO, Hg_KJkMRv5EQ])
roI3spqORKae(PovpLx9Ei7oG, roI3spqORKae(ES5oEprVxulp(b'\xd3\xa4H\xa1\xb2\x9e\x90\xd7\x87%'), chr(100) + chr(101) + chr(0b111101 + 0o46) + '\157' + chr(7304 - 7204) + '\145')('\x75' + chr(1725 - 1609) + chr(0b11010 + 0o114) + chr(45) + chr(0b100100 + 0o24)))(roI3spqORKae(ES5oEprVxulp(b'\xf0'), chr(7023 - 6923) + '\x65' + chr(0b1100011) + '\157' + '\144' + '\145')('\165' + '\x74' + chr(0b1000111 + 0o37) + chr(0b1110 + 0o37) + chr(679 - 623)))
roI3spqORKae(PovpLx9Ei7oG, roI3spqORKae(ES5oEprVxulp(b'\xd3\xa4H\xa1\xbe\x9b\x85\xd9\x87'), '\144' + '\145' + chr(0b1000 + 0o133) + chr(0b11100 + 0o123) + chr(100) + chr(5454 - 5353))(chr(117) + chr(3094 - 2978) + chr(102) + '\055' + chr(0b111000)))(y87dwGy_Qoj4)
if cuJmomB0XH13:
for fJSwBORhebts in q5eO_jclWFG5:
UH0YjwuI_XzX = jLW6pRf2DSRk(fJSwBORhebts[dFt3oC7UZAaI])
if UH0YjwuI_XzX > Hg_KJkMRv5EQ and UH0YjwuI_XzX < vrYAlPlCS8EO:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\xd0\xadS\x8a'), chr(0b1000 + 0o134) + chr(101) + '\x63' + '\x6f' + chr(0b1100100) + chr(0b1010001 + 0o24))('\x75' + '\x74' + '\x66' + chr(774 - 729) + chr(56)))([nzTpIcepk0o8(chr(1982 - 1934) + chr(0b1100 + 0o143) + chr(0b100100 + 0o14), 8), nzTpIcepk0o8('\060' + chr(0b1100011 + 0o14) + chr(0b101010 + 0o7) + chr(480 - 429) + chr(1783 - 1733), 8)], [UH0YjwuI_XzX, UH0YjwuI_XzX], roI3spqORKae(ES5oEprVxulp(b'\xc2\xec\x11'), chr(7966 - 7866) + chr(101) + chr(0b100010 + 0o101) + '\157' + chr(5401 - 5301) + chr(101))(chr(0b1110101) + chr(0b1110100) + chr(0b110110 + 0o60) + '\055' + '\070'))
roI3spqORKae(a35B9fCTPvBO, roI3spqORKae(ES5oEprVxulp(b'\xe8\x95o\xca\xb2\x95\xb6\xda\x88&\xd8f'), chr(0b1100100) + chr(8296 - 8195) + chr(9524 - 9425) + chr(6531 - 6420) + chr(0b1011000 + 0o14) + '\x65')(chr(5375 - 5258) + chr(116) + chr(0b1100110) + '\x2d' + '\x38'))(PovpLx9Ei7oG)
kLCgYOR0wWvU = Z7HGgmIyegqz.subplot(nzTpIcepk0o8(chr(0b11110 + 0o22) + chr(0b1011 + 0o144) + chr(0b110001 + 0o0), 8), rVXviMgDUC9h, nzTpIcepk0o8(chr(0b10011 + 0o35) + chr(0b101001 + 0o106) + '\x33', 0o10))
roI3spqORKae(a35B9fCTPvBO, roI3spqORKae(ES5oEprVxulp(b'\xe8\x95o\xca\xb2\x95\xb6\xda\x88&\xd8f'), chr(0b11100 + 0o110) + '\145' + chr(0b1100011) + chr(0b100101 + 0o112) + chr(7392 - 7292) + '\x65')(chr(8997 - 8880) + '\x74' + '\146' + '\055' + chr(240 - 184)))(kLCgYOR0wWvU)
roI3spqORKae(kLCgYOR0wWvU, roI3spqORKae(ES5oEprVxulp(b'\xd0\xadS\x8a'), chr(0b110000 + 0o64) + chr(101) + '\x63' + '\x6f' + '\x64' + '\145')(chr(0b100 + 0o161) + chr(11829 - 11713) + '\146' + chr(913 - 868) + chr(687 - 631)))(Q172BoscobXP, LWpSiDWF2mYx, roI3spqORKae(ES5oEprVxulp(b'\xcb\xae'), '\144' + chr(9489 - 9388) + chr(0b1100011) + chr(0b10110 + 0o131) + '\144' + '\145')(chr(0b1110101) + chr(0b1110100) + '\146' + '\055' + '\070'))
roI3spqORKae(kLCgYOR0wWvU, roI3spqORKae(ES5oEprVxulp(b'\xea\x85\x05\xce\xf8\x82\x87\xcc\xa1\x05\xc5b'), chr(6454 - 6354) + chr(0b1100101) + chr(99) + chr(111) + chr(0b1100100) + '\x65')('\165' + chr(0b1110100) + chr(102) + chr(1915 - 1870) + chr(56)))([nzTpIcepk0o8(chr(0b110000) + chr(111) + '\060', 8), nzTpIcepk0o8(chr(0b110000) + chr(0b1001010 + 0o45) + chr(0b110001) + chr(51) + chr(50), 8), vrYAlPlCS8EO, Hg_KJkMRv5EQ])
roI3spqORKae(kLCgYOR0wWvU, roI3spqORKae(ES5oEprVxulp(b'\xd3\xa4H\xa1\xb2\x9e\x90\xd7\x87%'), chr(0b1100100) + chr(0b1010011 + 0o22) + chr(99) + chr(6273 - 6162) + chr(100) + chr(6939 - 6838))('\165' + '\x74' + chr(5741 - 5639) + chr(45) + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b'\xf6\xf2\x1c\xb7\xa4\x91\x9d\xdc\x8c(\xf9:\x06\xe7'), chr(100) + chr(0b1011 + 0o132) + '\x63' + chr(0b1101111) + chr(100) + '\145')(chr(117) + '\x74' + chr(0b1100110) + chr(0b101101) + chr(587 - 531)))
if cuJmomB0XH13:
for fJSwBORhebts in q5eO_jclWFG5:
UH0YjwuI_XzX = jLW6pRf2DSRk(fJSwBORhebts[dFt3oC7UZAaI])
if UH0YjwuI_XzX > Hg_KJkMRv5EQ and UH0YjwuI_XzX < vrYAlPlCS8EO:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\xd0\xadS\x8a'), chr(0b1001 + 0o133) + chr(101) + chr(0b100001 + 0o102) + chr(111) + chr(0b10001 + 0o123) + chr(0b1000111 + 0o36))(chr(117) + '\164' + '\146' + chr(45) + '\x38'))([nzTpIcepk0o8(chr(0b10011 + 0o35) + '\x6f' + chr(0b110000), 8), nzTpIcepk0o8(chr(0b101000 + 0o10) + '\x6f' + '\061' + chr(0b110000 + 0o3) + '\062', 8)], [UH0YjwuI_XzX, UH0YjwuI_XzX], roI3spqORKae(ES5oEprVxulp(b'\xc2\xec\x11'), '\x64' + '\x65' + chr(0b1100011) + '\157' + '\x64' + chr(101))(chr(0b1110101) + '\x74' + '\146' + chr(1687 - 1642) + chr(0b111000)))
lCQkXOPG4qNw = Z7HGgmIyegqz.subplot(nzTpIcepk0o8(chr(0b101010 + 0o6) + '\x6f' + '\061', 8), nDF4gVNx0u9Q.zQBGwUT7UU8L(rVXviMgDUC9h), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\064', 8))
roI3spqORKae(a35B9fCTPvBO, roI3spqORKae(ES5oEprVxulp(b'\xe8\x95o\xca\xb2\x95\xb6\xda\x88&\xd8f'), chr(100) + chr(8235 - 8134) + chr(7832 - 7733) + chr(0b1101111) + '\x64' + '\145')(chr(0b1101011 + 0o12) + chr(7640 - 7524) + '\x66' + chr(0b100011 + 0o12) + '\070'))(lCQkXOPG4qNw)
roI3spqORKae(lCQkXOPG4qNw, roI3spqORKae(ES5oEprVxulp(b'\xd0\xadS\x8a'), chr(100) + chr(5334 - 5233) + chr(2577 - 2478) + '\157' + chr(1506 - 1406) + chr(9359 - 9258))('\165' + '\164' + chr(0b1100110) + '\055' + chr(56)))(yhfncZYmkEhN, LWpSiDWF2mYx, roI3spqORKae(ES5oEprVxulp(b'\xd2\xb2'), '\144' + chr(282 - 181) + chr(2886 - 2787) + chr(111) + chr(0b1100100) + '\145')('\x75' + chr(116) + chr(0b1000 + 0o136) + chr(45) + chr(0b111000)))
roI3spqORKae(lCQkXOPG4qNw, roI3spqORKae(ES5oEprVxulp(b'\xea\x85\x05\xce\xf8\x82\x87\xcc\xa1\x05\xc5b'), chr(0b1100100) + chr(0b1100101) + chr(3725 - 3626) + '\157' + '\144' + chr(101))('\165' + '\x74' + chr(102) + chr(0b101101) + '\070'))([nzTpIcepk0o8(chr(48) + chr(0b10 + 0o155) + chr(0b110000), 8), nzTpIcepk0o8(chr(0b100111 + 0o11) + chr(0b11011 + 0o124) + chr(53) + '\065' + chr(1926 - 1878), 0o10), vrYAlPlCS8EO, Hg_KJkMRv5EQ])
roI3spqORKae(lCQkXOPG4qNw, roI3spqORKae(ES5oEprVxulp(b'\xd3\xa4H\xa1\xb2\x9e\x90\xd7\x87%'), chr(100) + chr(0b1100 + 0o131) + chr(9386 - 9287) + chr(0b1101111) + '\144' + chr(0b1100101))('\165' + chr(0b1110100) + chr(4611 - 4509) + '\x2d' + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b'\xf6\xf0\x1c\xba\xaf\x91\x9d\xdc\x8c(\xf9:\x06\xe7'), chr(0b1100100) + chr(101) + '\x63' + chr(111) + chr(0b1100100) + chr(0b1100101))(chr(117) + chr(0b100100 + 0o120) + chr(0b1100110) + chr(0b101101) + chr(56)))
if cuJmomB0XH13:
for fJSwBORhebts in q5eO_jclWFG5:
UH0YjwuI_XzX = jLW6pRf2DSRk(fJSwBORhebts[dFt3oC7UZAaI])
if UH0YjwuI_XzX >= Hg_KJkMRv5EQ and UH0YjwuI_XzX <= vrYAlPlCS8EO:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\xd0\xadS\x8a'), '\144' + chr(0b1100101) + '\x63' + chr(0b1101100 + 0o3) + chr(7518 - 7418) + '\x65')('\165' + '\164' + chr(0b1100110) + '\x2d' + '\x38'))([nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(48), 8), nzTpIcepk0o8('\x30' + '\x6f' + chr(1103 - 1050) + '\065' + '\x30', 8)], [UH0YjwuI_XzX, UH0YjwuI_XzX], roI3spqORKae(ES5oEprVxulp(b'\xc2\xec\x11'), '\x64' + chr(5261 - 5160) + '\x63' + chr(0b1011010 + 0o25) + chr(9731 - 9631) + chr(0b1000111 + 0o36))(chr(10715 - 10598) + chr(0b1110100) + '\146' + chr(1223 - 1178) + chr(0b111000)))
if rVXviMgDUC9h == nzTpIcepk0o8('\060' + chr(111) + chr(52), 8) and OkDIn6t2Cke6 == nzTpIcepk0o8('\x30' + '\157' + chr(49), 8):
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\xc3\xb1o\x8a\xa1\xc5\x92\xec\xd3\x1d\xc77'), '\144' + chr(0b1100011 + 0o2) + '\x63' + chr(6973 - 6862) + chr(0b1010111 + 0o15) + chr(0b1100101))(chr(117) + '\x74' + '\146' + '\055' + chr(1842 - 1786)))(nzTpIcepk0o8(chr(48) + chr(111) + chr(53) + '\065' + chr(0b0 + 0o60), 8), UH0YjwuI_XzX + BdYTl2caVoTD, fJSwBORhebts[Z0GwVtJhJD5m])
if rVXviMgDUC9h == nzTpIcepk0o8('\x30' + chr(0b1000001 + 0o56) + '\x35', ord("\x08")):
Sxg_NleGnlce = Z7HGgmIyegqz.subplot(nzTpIcepk0o8('\x30' + '\x6f' + chr(49), 8), rVXviMgDUC9h, nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110101), 8))
roI3spqORKae(a35B9fCTPvBO, roI3spqORKae(ES5oEprVxulp(b'\xe8\x95o\xca\xb2\x95\xb6\xda\x88&\xd8f'), chr(494 - 394) + chr(0b1100101) + '\x63' + '\157' + chr(0b1100100) + chr(0b1100101))(chr(0b1100101 + 0o20) + chr(8160 - 8044) + chr(0b1001000 + 0o36) + chr(45) + chr(0b101011 + 0o15)))(Sxg_NleGnlce)
roI3spqORKae(Sxg_NleGnlce, roI3spqORKae(ES5oEprVxulp(b'\xd0\xadS\x8a'), chr(100) + chr(0b1100101) + chr(0b1000 + 0o133) + chr(0b1101010 + 0o5) + chr(0b1100100) + '\145')(chr(0b1000 + 0o155) + chr(116) + chr(102) + '\055' + '\x38'))(asjRqEDl1G8V, QvemRrd_uRY2, roI3spqORKae(ES5oEprVxulp(b'\xc2\xae'), '\144' + chr(0b1100101) + '\143' + chr(111) + chr(0b1100100) + chr(101))(chr(8129 - 8012) + chr(0b1110100) + chr(0b1001101 + 0o31) + '\x2d' + chr(56)))
roI3spqORKae(Sxg_NleGnlce, roI3spqORKae(ES5oEprVxulp(b'\xea\x85\x05\xce\xf8\x82\x87\xcc\xa1\x05\xc5b'), '\x64' + chr(9667 - 9566) + chr(0b110011 + 0o60) + chr(111) + '\144' + '\x65')(chr(117) + '\164' + '\146' + '\055' + '\070'))([TMJnll0gEl9b - nzTpIcepk0o8(chr(1453 - 1405) + chr(0b1101111) + chr(0b110001), 8), 1.1 * cCpCZfVols23, vrYAlPlCS8EO, Hg_KJkMRv5EQ])
roI3spqORKae(Sxg_NleGnlce, roI3spqORKae(ES5oEprVxulp(b'\xd3\xa4H\xa1\xb2\x9e\x90\xd7\x87%'), chr(0b1100100) + chr(7436 - 7335) + chr(99) + '\157' + chr(100) + '\145')(chr(0b1110101) + '\164' + '\146' + chr(0b101101) + chr(2372 - 2316)))(roI3spqORKae(ES5oEprVxulp(b'\xe2\xb4P\x95\xea\xa1\x84\xc6\x81g\xad{\x1c\xda\t\x12'), '\x64' + chr(9015 - 8914) + chr(0b1010000 + 0o23) + chr(111) + '\x64' + chr(1570 - 1469))('\x75' + chr(0b101000 + 0o114) + chr(102) + '\x2d' + '\070'))
if cuJmomB0XH13:
for fJSwBORhebts in q5eO_jclWFG5:
UH0YjwuI_XzX = jLW6pRf2DSRk(fJSwBORhebts[dFt3oC7UZAaI])
if UH0YjwuI_XzX >= Hg_KJkMRv5EQ and UH0YjwuI_XzX <= vrYAlPlCS8EO:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\xd0\xadS\x8a'), '\144' + chr(0b1100101) + chr(0b1100011) + chr(5387 - 5276) + chr(0b1100100) + chr(0b1100101))(chr(0b101100 + 0o111) + '\164' + '\x66' + '\055' + chr(56)))([nzTpIcepk0o8('\060' + '\x6f' + chr(0b110000), 8), cCpCZfVols23], [UH0YjwuI_XzX, UH0YjwuI_XzX], roI3spqORKae(ES5oEprVxulp(b'\xc2\xec\x11'), chr(0b1100100) + chr(0b1100101) + chr(4864 - 4765) + chr(0b1101111) + chr(0b1010010 + 0o22) + '\x65')(chr(0b1110101) + chr(0b1110100) + chr(9896 - 9794) + chr(1816 - 1771) + chr(0b111000)))
if OkDIn6t2Cke6 == nzTpIcepk0o8('\060' + '\x6f' + chr(49), 8):
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\xc3\xb1o\x8a\xa1\xc5\x92\xec\xd3\x1d\xc77'), chr(100) + '\145' + chr(99) + chr(0b100001 + 0o116) + chr(100) + chr(101))('\165' + chr(0b1011000 + 0o34) + chr(102) + '\055' + chr(0b111000)))(1.1 * cCpCZfVols23, UH0YjwuI_XzX + BdYTl2caVoTD, fJSwBORhebts[Z0GwVtJhJD5m])
for bI5jsQ9OkQtj in a35B9fCTPvBO:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xc4\xa4P\x8a\xa3\x91\x9a\xc6'), '\144' + chr(419 - 318) + chr(1062 - 963) + chr(0b1101111) + '\144' + '\145')(chr(117) + '\x74' + chr(1604 - 1502) + '\055' + chr(0b111000)))(bI5jsQ9OkQtj)
ivOHkv0N3Quc = y87dwGy_Qoj4 + roI3spqORKae(ES5oEprVxulp(b'\xff\xa0R\x97\x95\x96\x94\xc5\x96!\xfd?\x06\xfdn'), '\x64' + '\145' + '\143' + chr(0b100 + 0o153) + '\x64' + chr(101))(chr(0b10 + 0o163) + chr(0b1110100) + chr(102) + '\055' + chr(0b111000)) + JummcHpaNLEw
return (CIb4KLJ7bueR, ivOHkv0N3Quc)
else:
return (nzTpIcepk0o8(chr(1155 - 1107) + chr(4715 - 4604) + '\x30', 8), roI3spqORKae(ES5oEprVxulp(b'\xee\xae\x1c\x9a\xab\x86\x90\x95\x96&\xad#\x05\xe64'), chr(100) + '\145' + chr(4263 - 4164) + '\157' + chr(0b1100100) + '\145')(chr(117) + chr(0b1001000 + 0o54) + '\146' + '\055' + '\x38'))
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
ani_depthplot
|
def ani_depthplot(spec_file='specimens.txt', samp_file='samples.txt',
meas_file='measurements.txt', site_file='sites.txt',
age_file="", sum_file="", fmt='svg', dmin=-1, dmax=-1,
depth_scale='core_depth', dir_path='.', contribution=None):
"""
returns matplotlib figure with anisotropy data plotted against depth
available depth scales: 'composite_depth', 'core_depth' or 'age' (you must provide an age file to use this option).
You must provide valid specimens and sites files, and either a samples or an ages file.
You may additionally provide measurements and a summary file (csv).
Parameters
----------
spec_file : str, default "specimens.txt"
samp_file : str, default "samples.txt"
meas_file : str, default "measurements.txt"
site_file : str, default "sites.txt"
age_file : str, default ""
sum_file : str, default ""
fmt : str, default "svg"
format for figures, ["svg", "jpg", "pdf", "png"]
dmin : number, default -1
minimum depth to plot (if -1, default to plotting all)
dmax : number, default -1
maximum depth to plot (if -1, default to plotting all)
depth_scale : str, default "core_depth"
scale to plot, ['composite_depth', 'core_depth', 'age'].
if 'age' is selected, you must provide an ages file.
dir_path : str, default "."
directory for input files
contribution : cb.Contribution, default None
if provided, use Contribution object instead of reading in
data from files
Returns
---------
plot : matplotlib plot, or False if no plot could be created
name : figure name, or error message if no plot could be created
"""
if depth_scale == 'sample_core_depth':
depth_scale = 'core_depth'
if depth_scale == 'sample_composite_depth':
depth_scale = 'composite_depth'
pcol = 4
tint = 9
plots = 0
dmin, dmax = float(dmin), float(dmax)
# if contribution object is not provided, read in data from files
if isinstance(contribution, cb.Contribution):
con = contribution
else:
# format files to use full path
meas_file = pmag.resolve_file_name(meas_file, dir_path)
spec_file = pmag.resolve_file_name(spec_file, dir_path)
samp_file = pmag.resolve_file_name(samp_file, dir_path)
site_file = pmag.resolve_file_name(site_file, dir_path)
if age_file:
age_file = pmag.resolve_file_name(age_file, dir_path)
if not os.path.isfile(age_file):
print(
'Warning: you have provided an invalid age file. Attempting to use sample file instead')
age_file = None
depth_scale = 'core_depth'
else:
samp_file = age_file
depth_scale = 'age'
print(
'Warning: you have provided an ages format file, which will take precedence over samples')
samp_file = pmag.resolve_file_name(samp_file, dir_path)
label = 1
if sum_file:
sum_file = pmag.resolve_file_name(sum_file, dir_path)
core_df=pd.read_csv(sum_file)
depths=core_df['Top depth cored CSF (m)'].values
# contribution
dir_path = os.path.split(spec_file)[0]
tables = ['measurements', 'specimens', 'samples', 'sites']
con = cb.Contribution(dir_path, read_tables=tables,
custom_filenames={'measurements': meas_file, 'specimens': spec_file,
'samples': samp_file, 'sites': site_file})
for ftype in ['specimens', 'samples', 'sites']:
if not con.tables.get(ftype):
if ftype == 'samples':
if con.tables.get('ages'):
depth_scale = 'age'
continue
print("-W- This function requires a {} file to run.".format(ftype))
print(" Make sure you include one in your working directory")
return False, "missing required file type: {}".format(ftype)
# propagate needed values
con.propagate_cols(['core_depth'], 'samples', 'sites')
con.propagate_location_to_specimens()
# get data read in
isbulk = 0 # tests if there are bulk susceptibility measurements
ani_file = spec_file
SampData = con.tables['samples'].df
AniData = con.tables['specimens'].df
# add sample into specimens (AniData)
AniData = pd.merge(
AniData, SampData[['sample', depth_scale]], how='inner', on='sample')
# trim down AniData
cond = AniData[depth_scale].astype(bool)
AniData = AniData[cond]
if dmin != -1:
AniData = AniData[AniData[depth_scale] < dmax]
if dmax != -1:
AniData = AniData[AniData[depth_scale] > dmin]
AniData['core_depth'] = AniData[depth_scale]
if not age_file:
Samps = con.tables['samples'].convert_to_pmag_data_list()
else:
con.add_magic_table(dtype='ages', fname=age_file)
Samps = con.tables['ages'].convert_to_pmag_data_list()
# get age unit
age_unit = con.tables['ages'].df['age_unit'][0]
# propagate ages down to sample level
for s in Samps:
# change to upper case for every sample name
s['sample'] = s['sample'].upper()
if 'measurements' in con.tables:
isbulk = 1
Meas = con.tables['measurements'].df # convert_to_pmag_data_list()
if isbulk:
Meas = Meas[Meas['specimen'].astype('bool')]
Meas = Meas[Meas['susc_chi_volume'].astype(bool)]
# add core_depth into Measurements dataframe
Meas = pd.merge(Meas[['susc_chi_volume', 'specimen']], AniData[[
'specimen', 'core_depth']], how='inner', on='specimen')
Bulks = list(Meas['susc_chi_volume'] * 1e6)
BulkDepths = list(Meas['core_depth'])
else:
Bulks, BulkDepths = [], []
# now turn Data from pandas dataframe to a list of dicts
Data = list(AniData.T.apply(dict))
if len(Bulks) > 0: # set min and max bulk values
bmin = min(Bulks)
bmax = max(Bulks)
xlab = "Depth (m)"
#
if len(Data) > 0:
location = Data[0].get('location', 'unknown')
if cb.is_null(location):
location = 'unknown'
try:
location = con.tables['sites'].df['location'][0]
except KeyError:
pass
else:
return False, 'no data to plot'
# collect the data for plotting tau V3_inc and V1_dec
Depths, Tau1, Tau2, Tau3, V3Incs, P, V1Decs = [], [], [], [], [], [], []
F23s = []
Axs = [] # collect the plot ids
if len(Bulks) > 0:
pcol += 1
Data = pmag.get_dictitem(Data, 'aniso_s', '', 'not_null')
# get all the s1 values from Data as floats
aniso_s = pmag.get_dictkey(Data, 'aniso_s', '')
aniso_s = [a.split(':') for a in aniso_s if a is not None]
#print('aniso_s', aniso_s)
s1 = [float(a[0]) for a in aniso_s]
s2 = [float(a[1]) for a in aniso_s]
s3 = [float(a[2]) for a in aniso_s]
s4 = [float(a[3]) for a in aniso_s]
s5 = [float(a[4]) for a in aniso_s]
s6 = [float(a[5]) for a in aniso_s]
# we are good with s1 - s2
nmeas = pmag.get_dictkey(Data, 'aniso_s_n_measurements', 'int')
sigma = pmag.get_dictkey(Data, 'aniso_s_sigma', 'f')
Depths = pmag.get_dictkey(Data, 'core_depth', 'f')
# Ss=np.array([s1,s4,s5,s4,s2,s6,s5,s6,s3]).transpose() # make an array
Ss = np.array([s1, s2, s3, s4, s5, s6]).transpose() # make an array
# Ts=np.reshape(Ss,(len(Ss),3,-1)) # and re-shape to be n-length array of
# 3x3 sub-arrays
for k in range(len(Depths)):
# tau,Evecs= pmag.tauV(Ts[k]) # get the sorted eigenvalues and eigenvectors
# v3=pmag.cart2dir(Evecs[2])[1] # convert to inclination of the minimum
# eigenvector
fpars = pmag.dohext(nmeas[k] - 6, sigma[k], Ss[k])
V3Incs.append(fpars['v3_inc'])
V1Decs.append(fpars['v1_dec'])
Tau1.append(fpars['t1'])
Tau2.append(fpars['t2'])
Tau3.append(fpars['t3'])
P.append(old_div(Tau1[-1], Tau3[-1]))
F23s.append(fpars['F23'])
if len(Depths) > 0:
if dmax == -1:
dmax = max(Depths)
dmin = min(Depths)
tau_min = 1
for t in Tau3:
if t > 0 and t < tau_min:
tau_min = t
tau_max = max(Tau1)
# tau_min=min(Tau3)
P_max = max(P)
P_min = min(P)
# dmax=dmax+.05*dmax
# dmin=dmin-.05*dmax
main_plot = plt.figure(1, figsize=(11, 7)) # make the figure
# main_plot = plt.figure(1, figsize=(10, 8)) # make the figure
version_num = pmag.get_version()
plt.figtext(.02, .01, version_num) # attach the pmagpy version number
ax = plt.subplot(1, pcol, 1) # make the first column
Axs.append(ax)
ax.plot(Tau1, Depths, 'rs')
ax.plot(Tau2, Depths, 'b^')
ax.plot(Tau3, Depths, 'ko')
if sum_file:
for depth in depths:
if depth >= dmin and depth < dmax:
plt.axhline(depth,color='blue',linestyle='dotted')
if tau_min>.3: tau_min=.3
if tau_max<.36: tau_max=.36
ax.axis([tau_min, tau_max, dmax, dmin])
ax.set_xlabel('Eigenvalues')
if depth_scale == 'core_depth':
ax.set_ylabel('Depth (mbsf)')
elif depth_scale == 'age':
ax.set_ylabel('Age (' + age_unit + ')')
else:
ax.set_ylabel('Depth (mcd)')
ax2 = plt.subplot(1, pcol, 2) # make the second column
ax2.yaxis.set_major_locator(plt.NullLocator())
ax2.plot(P, Depths, 'rs')
ax2.axis([P_min, P_max, dmax, dmin])
ax2.set_xlabel('P')
ax2.set_title(location)
if sum_file:
for depth in depths:
if depth >= dmin and depth < dmax:
plt.axhline(depth,color='blue',linestyle='dotted')
Axs.append(ax2)
ax3 = plt.subplot(1, pcol, 3)
Axs.append(ax3)
ax3.plot(V3Incs, Depths, 'ko')
ax3.axis([0, 90, dmax, dmin])
ax3.set_xlabel('V3 Inclination')
ax3.yaxis.set_major_locator(plt.NullLocator())
if sum_file:
for depth in depths:
if depth >= dmin and depth < dmax:
plt.axhline(depth,color='blue',linestyle='dotted')
ax4 = plt.subplot(1, np.abs(pcol), 4)
Axs.append(ax4)
ax4.plot(V1Decs, Depths, 'rs')
ax4.axis([0, 360, dmax, dmin])
ax4.set_xlabel('V1 Declination')
ax4.yaxis.set_major_locator(plt.NullLocator())
if sum_file:
for depth in depths:
if depth >= dmin and depth < dmax:
plt.axhline(depth,color='blue',linestyle='dotted')
# ax5=plt.subplot(1,np.abs(pcol),5)
# Axs.append(ax5)
# ax5.plot(F23s,Depths,'rs')
# bounds=ax5.axis()
# ax5.axis([bounds[0],bounds[1],dmax,dmin])
# ax5.set_xlabel('F_23')
# ax5.semilogx()
# if sum_file:
# for core in Cores:
# depth=float(core[core_depth_key])
# if depth>=dmin and depth<=dmax:
# plt.plot([bounds[0],bounds[1]],[depth,depth],'b--')
# if pcol==5 and label==1:plt.text(bounds[1],depth+tint,core[core_label_key])
# if pcol==6:
if pcol == 5:
# ax6=plt.subplot(1,pcol,6)
ax6 = plt.subplot(1, pcol, 5)
Axs.append(ax6)
ax6.plot(Bulks, BulkDepths, 'bo')
ax6.axis([bmin - 1, 1.1 * bmax, dmax, dmin])
ax6.set_xlabel('Bulk Susc. (uSI)')
ax6.yaxis.set_major_locator(plt.NullLocator())
if sum_file:
for depth in depths:
if depth >= dmin and depth < dmax:
plt.axhline(depth,color='blue',linestyle='dotted')
for x in Axs:
# this makes the x-tick labels more reasonable - they were
# overcrowded using the defaults
pmagplotlib.delticks(x)
fig_name = location + '_ani_depthplot.' + fmt
return main_plot, [fig_name]
else:
return False, "No data to plot"
|
python
|
def ani_depthplot(spec_file='specimens.txt', samp_file='samples.txt',
meas_file='measurements.txt', site_file='sites.txt',
age_file="", sum_file="", fmt='svg', dmin=-1, dmax=-1,
depth_scale='core_depth', dir_path='.', contribution=None):
"""
returns matplotlib figure with anisotropy data plotted against depth
available depth scales: 'composite_depth', 'core_depth' or 'age' (you must provide an age file to use this option).
You must provide valid specimens and sites files, and either a samples or an ages file.
You may additionally provide measurements and a summary file (csv).
Parameters
----------
spec_file : str, default "specimens.txt"
samp_file : str, default "samples.txt"
meas_file : str, default "measurements.txt"
site_file : str, default "sites.txt"
age_file : str, default ""
sum_file : str, default ""
fmt : str, default "svg"
format for figures, ["svg", "jpg", "pdf", "png"]
dmin : number, default -1
minimum depth to plot (if -1, default to plotting all)
dmax : number, default -1
maximum depth to plot (if -1, default to plotting all)
depth_scale : str, default "core_depth"
scale to plot, ['composite_depth', 'core_depth', 'age'].
if 'age' is selected, you must provide an ages file.
dir_path : str, default "."
directory for input files
contribution : cb.Contribution, default None
if provided, use Contribution object instead of reading in
data from files
Returns
---------
plot : matplotlib plot, or False if no plot could be created
name : figure name, or error message if no plot could be created
"""
if depth_scale == 'sample_core_depth':
depth_scale = 'core_depth'
if depth_scale == 'sample_composite_depth':
depth_scale = 'composite_depth'
pcol = 4
tint = 9
plots = 0
dmin, dmax = float(dmin), float(dmax)
# if contribution object is not provided, read in data from files
if isinstance(contribution, cb.Contribution):
con = contribution
else:
# format files to use full path
meas_file = pmag.resolve_file_name(meas_file, dir_path)
spec_file = pmag.resolve_file_name(spec_file, dir_path)
samp_file = pmag.resolve_file_name(samp_file, dir_path)
site_file = pmag.resolve_file_name(site_file, dir_path)
if age_file:
age_file = pmag.resolve_file_name(age_file, dir_path)
if not os.path.isfile(age_file):
print(
'Warning: you have provided an invalid age file. Attempting to use sample file instead')
age_file = None
depth_scale = 'core_depth'
else:
samp_file = age_file
depth_scale = 'age'
print(
'Warning: you have provided an ages format file, which will take precedence over samples')
samp_file = pmag.resolve_file_name(samp_file, dir_path)
label = 1
if sum_file:
sum_file = pmag.resolve_file_name(sum_file, dir_path)
core_df=pd.read_csv(sum_file)
depths=core_df['Top depth cored CSF (m)'].values
# contribution
dir_path = os.path.split(spec_file)[0]
tables = ['measurements', 'specimens', 'samples', 'sites']
con = cb.Contribution(dir_path, read_tables=tables,
custom_filenames={'measurements': meas_file, 'specimens': spec_file,
'samples': samp_file, 'sites': site_file})
for ftype in ['specimens', 'samples', 'sites']:
if not con.tables.get(ftype):
if ftype == 'samples':
if con.tables.get('ages'):
depth_scale = 'age'
continue
print("-W- This function requires a {} file to run.".format(ftype))
print(" Make sure you include one in your working directory")
return False, "missing required file type: {}".format(ftype)
# propagate needed values
con.propagate_cols(['core_depth'], 'samples', 'sites')
con.propagate_location_to_specimens()
# get data read in
isbulk = 0 # tests if there are bulk susceptibility measurements
ani_file = spec_file
SampData = con.tables['samples'].df
AniData = con.tables['specimens'].df
# add sample into specimens (AniData)
AniData = pd.merge(
AniData, SampData[['sample', depth_scale]], how='inner', on='sample')
# trim down AniData
cond = AniData[depth_scale].astype(bool)
AniData = AniData[cond]
if dmin != -1:
AniData = AniData[AniData[depth_scale] < dmax]
if dmax != -1:
AniData = AniData[AniData[depth_scale] > dmin]
AniData['core_depth'] = AniData[depth_scale]
if not age_file:
Samps = con.tables['samples'].convert_to_pmag_data_list()
else:
con.add_magic_table(dtype='ages', fname=age_file)
Samps = con.tables['ages'].convert_to_pmag_data_list()
# get age unit
age_unit = con.tables['ages'].df['age_unit'][0]
# propagate ages down to sample level
for s in Samps:
# change to upper case for every sample name
s['sample'] = s['sample'].upper()
if 'measurements' in con.tables:
isbulk = 1
Meas = con.tables['measurements'].df # convert_to_pmag_data_list()
if isbulk:
Meas = Meas[Meas['specimen'].astype('bool')]
Meas = Meas[Meas['susc_chi_volume'].astype(bool)]
# add core_depth into Measurements dataframe
Meas = pd.merge(Meas[['susc_chi_volume', 'specimen']], AniData[[
'specimen', 'core_depth']], how='inner', on='specimen')
Bulks = list(Meas['susc_chi_volume'] * 1e6)
BulkDepths = list(Meas['core_depth'])
else:
Bulks, BulkDepths = [], []
# now turn Data from pandas dataframe to a list of dicts
Data = list(AniData.T.apply(dict))
if len(Bulks) > 0: # set min and max bulk values
bmin = min(Bulks)
bmax = max(Bulks)
xlab = "Depth (m)"
#
if len(Data) > 0:
location = Data[0].get('location', 'unknown')
if cb.is_null(location):
location = 'unknown'
try:
location = con.tables['sites'].df['location'][0]
except KeyError:
pass
else:
return False, 'no data to plot'
# collect the data for plotting tau V3_inc and V1_dec
Depths, Tau1, Tau2, Tau3, V3Incs, P, V1Decs = [], [], [], [], [], [], []
F23s = []
Axs = [] # collect the plot ids
if len(Bulks) > 0:
pcol += 1
Data = pmag.get_dictitem(Data, 'aniso_s', '', 'not_null')
# get all the s1 values from Data as floats
aniso_s = pmag.get_dictkey(Data, 'aniso_s', '')
aniso_s = [a.split(':') for a in aniso_s if a is not None]
#print('aniso_s', aniso_s)
s1 = [float(a[0]) for a in aniso_s]
s2 = [float(a[1]) for a in aniso_s]
s3 = [float(a[2]) for a in aniso_s]
s4 = [float(a[3]) for a in aniso_s]
s5 = [float(a[4]) for a in aniso_s]
s6 = [float(a[5]) for a in aniso_s]
# we are good with s1 - s2
nmeas = pmag.get_dictkey(Data, 'aniso_s_n_measurements', 'int')
sigma = pmag.get_dictkey(Data, 'aniso_s_sigma', 'f')
Depths = pmag.get_dictkey(Data, 'core_depth', 'f')
# Ss=np.array([s1,s4,s5,s4,s2,s6,s5,s6,s3]).transpose() # make an array
Ss = np.array([s1, s2, s3, s4, s5, s6]).transpose() # make an array
# Ts=np.reshape(Ss,(len(Ss),3,-1)) # and re-shape to be n-length array of
# 3x3 sub-arrays
for k in range(len(Depths)):
# tau,Evecs= pmag.tauV(Ts[k]) # get the sorted eigenvalues and eigenvectors
# v3=pmag.cart2dir(Evecs[2])[1] # convert to inclination of the minimum
# eigenvector
fpars = pmag.dohext(nmeas[k] - 6, sigma[k], Ss[k])
V3Incs.append(fpars['v3_inc'])
V1Decs.append(fpars['v1_dec'])
Tau1.append(fpars['t1'])
Tau2.append(fpars['t2'])
Tau3.append(fpars['t3'])
P.append(old_div(Tau1[-1], Tau3[-1]))
F23s.append(fpars['F23'])
if len(Depths) > 0:
if dmax == -1:
dmax = max(Depths)
dmin = min(Depths)
tau_min = 1
for t in Tau3:
if t > 0 and t < tau_min:
tau_min = t
tau_max = max(Tau1)
# tau_min=min(Tau3)
P_max = max(P)
P_min = min(P)
# dmax=dmax+.05*dmax
# dmin=dmin-.05*dmax
main_plot = plt.figure(1, figsize=(11, 7)) # make the figure
# main_plot = plt.figure(1, figsize=(10, 8)) # make the figure
version_num = pmag.get_version()
plt.figtext(.02, .01, version_num) # attach the pmagpy version number
ax = plt.subplot(1, pcol, 1) # make the first column
Axs.append(ax)
ax.plot(Tau1, Depths, 'rs')
ax.plot(Tau2, Depths, 'b^')
ax.plot(Tau3, Depths, 'ko')
if sum_file:
for depth in depths:
if depth >= dmin and depth < dmax:
plt.axhline(depth,color='blue',linestyle='dotted')
if tau_min>.3: tau_min=.3
if tau_max<.36: tau_max=.36
ax.axis([tau_min, tau_max, dmax, dmin])
ax.set_xlabel('Eigenvalues')
if depth_scale == 'core_depth':
ax.set_ylabel('Depth (mbsf)')
elif depth_scale == 'age':
ax.set_ylabel('Age (' + age_unit + ')')
else:
ax.set_ylabel('Depth (mcd)')
ax2 = plt.subplot(1, pcol, 2) # make the second column
ax2.yaxis.set_major_locator(plt.NullLocator())
ax2.plot(P, Depths, 'rs')
ax2.axis([P_min, P_max, dmax, dmin])
ax2.set_xlabel('P')
ax2.set_title(location)
if sum_file:
for depth in depths:
if depth >= dmin and depth < dmax:
plt.axhline(depth,color='blue',linestyle='dotted')
Axs.append(ax2)
ax3 = plt.subplot(1, pcol, 3)
Axs.append(ax3)
ax3.plot(V3Incs, Depths, 'ko')
ax3.axis([0, 90, dmax, dmin])
ax3.set_xlabel('V3 Inclination')
ax3.yaxis.set_major_locator(plt.NullLocator())
if sum_file:
for depth in depths:
if depth >= dmin and depth < dmax:
plt.axhline(depth,color='blue',linestyle='dotted')
ax4 = plt.subplot(1, np.abs(pcol), 4)
Axs.append(ax4)
ax4.plot(V1Decs, Depths, 'rs')
ax4.axis([0, 360, dmax, dmin])
ax4.set_xlabel('V1 Declination')
ax4.yaxis.set_major_locator(plt.NullLocator())
if sum_file:
for depth in depths:
if depth >= dmin and depth < dmax:
plt.axhline(depth,color='blue',linestyle='dotted')
# ax5=plt.subplot(1,np.abs(pcol),5)
# Axs.append(ax5)
# ax5.plot(F23s,Depths,'rs')
# bounds=ax5.axis()
# ax5.axis([bounds[0],bounds[1],dmax,dmin])
# ax5.set_xlabel('F_23')
# ax5.semilogx()
# if sum_file:
# for core in Cores:
# depth=float(core[core_depth_key])
# if depth>=dmin and depth<=dmax:
# plt.plot([bounds[0],bounds[1]],[depth,depth],'b--')
# if pcol==5 and label==1:plt.text(bounds[1],depth+tint,core[core_label_key])
# if pcol==6:
if pcol == 5:
# ax6=plt.subplot(1,pcol,6)
ax6 = plt.subplot(1, pcol, 5)
Axs.append(ax6)
ax6.plot(Bulks, BulkDepths, 'bo')
ax6.axis([bmin - 1, 1.1 * bmax, dmax, dmin])
ax6.set_xlabel('Bulk Susc. (uSI)')
ax6.yaxis.set_major_locator(plt.NullLocator())
if sum_file:
for depth in depths:
if depth >= dmin and depth < dmax:
plt.axhline(depth,color='blue',linestyle='dotted')
for x in Axs:
# this makes the x-tick labels more reasonable - they were
# overcrowded using the defaults
pmagplotlib.delticks(x)
fig_name = location + '_ani_depthplot.' + fmt
return main_plot, [fig_name]
else:
return False, "No data to plot"
|
[
"def",
"ani_depthplot",
"(",
"spec_file",
"=",
"'specimens.txt'",
",",
"samp_file",
"=",
"'samples.txt'",
",",
"meas_file",
"=",
"'measurements.txt'",
",",
"site_file",
"=",
"'sites.txt'",
",",
"age_file",
"=",
"\"\"",
",",
"sum_file",
"=",
"\"\"",
",",
"fmt",
"=",
"'svg'",
",",
"dmin",
"=",
"-",
"1",
",",
"dmax",
"=",
"-",
"1",
",",
"depth_scale",
"=",
"'core_depth'",
",",
"dir_path",
"=",
"'.'",
",",
"contribution",
"=",
"None",
")",
":",
"if",
"depth_scale",
"==",
"'sample_core_depth'",
":",
"depth_scale",
"=",
"'core_depth'",
"if",
"depth_scale",
"==",
"'sample_composite_depth'",
":",
"depth_scale",
"=",
"'composite_depth'",
"pcol",
"=",
"4",
"tint",
"=",
"9",
"plots",
"=",
"0",
"dmin",
",",
"dmax",
"=",
"float",
"(",
"dmin",
")",
",",
"float",
"(",
"dmax",
")",
"# if contribution object is not provided, read in data from files",
"if",
"isinstance",
"(",
"contribution",
",",
"cb",
".",
"Contribution",
")",
":",
"con",
"=",
"contribution",
"else",
":",
"# format files to use full path",
"meas_file",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"meas_file",
",",
"dir_path",
")",
"spec_file",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"spec_file",
",",
"dir_path",
")",
"samp_file",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"samp_file",
",",
"dir_path",
")",
"site_file",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"site_file",
",",
"dir_path",
")",
"if",
"age_file",
":",
"age_file",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"age_file",
",",
"dir_path",
")",
"if",
"not",
"os",
".",
"path",
".",
"isfile",
"(",
"age_file",
")",
":",
"print",
"(",
"'Warning: you have provided an invalid age file. Attempting to use sample file instead'",
")",
"age_file",
"=",
"None",
"depth_scale",
"=",
"'core_depth'",
"else",
":",
"samp_file",
"=",
"age_file",
"depth_scale",
"=",
"'age'",
"print",
"(",
"'Warning: you have provided an ages format file, which will take precedence over samples'",
")",
"samp_file",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"samp_file",
",",
"dir_path",
")",
"label",
"=",
"1",
"if",
"sum_file",
":",
"sum_file",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"sum_file",
",",
"dir_path",
")",
"core_df",
"=",
"pd",
".",
"read_csv",
"(",
"sum_file",
")",
"depths",
"=",
"core_df",
"[",
"'Top depth cored CSF (m)'",
"]",
".",
"values",
"# contribution",
"dir_path",
"=",
"os",
".",
"path",
".",
"split",
"(",
"spec_file",
")",
"[",
"0",
"]",
"tables",
"=",
"[",
"'measurements'",
",",
"'specimens'",
",",
"'samples'",
",",
"'sites'",
"]",
"con",
"=",
"cb",
".",
"Contribution",
"(",
"dir_path",
",",
"read_tables",
"=",
"tables",
",",
"custom_filenames",
"=",
"{",
"'measurements'",
":",
"meas_file",
",",
"'specimens'",
":",
"spec_file",
",",
"'samples'",
":",
"samp_file",
",",
"'sites'",
":",
"site_file",
"}",
")",
"for",
"ftype",
"in",
"[",
"'specimens'",
",",
"'samples'",
",",
"'sites'",
"]",
":",
"if",
"not",
"con",
".",
"tables",
".",
"get",
"(",
"ftype",
")",
":",
"if",
"ftype",
"==",
"'samples'",
":",
"if",
"con",
".",
"tables",
".",
"get",
"(",
"'ages'",
")",
":",
"depth_scale",
"=",
"'age'",
"continue",
"print",
"(",
"\"-W- This function requires a {} file to run.\"",
".",
"format",
"(",
"ftype",
")",
")",
"print",
"(",
"\" Make sure you include one in your working directory\"",
")",
"return",
"False",
",",
"\"missing required file type: {}\"",
".",
"format",
"(",
"ftype",
")",
"# propagate needed values",
"con",
".",
"propagate_cols",
"(",
"[",
"'core_depth'",
"]",
",",
"'samples'",
",",
"'sites'",
")",
"con",
".",
"propagate_location_to_specimens",
"(",
")",
"# get data read in",
"isbulk",
"=",
"0",
"# tests if there are bulk susceptibility measurements",
"ani_file",
"=",
"spec_file",
"SampData",
"=",
"con",
".",
"tables",
"[",
"'samples'",
"]",
".",
"df",
"AniData",
"=",
"con",
".",
"tables",
"[",
"'specimens'",
"]",
".",
"df",
"# add sample into specimens (AniData)",
"AniData",
"=",
"pd",
".",
"merge",
"(",
"AniData",
",",
"SampData",
"[",
"[",
"'sample'",
",",
"depth_scale",
"]",
"]",
",",
"how",
"=",
"'inner'",
",",
"on",
"=",
"'sample'",
")",
"# trim down AniData",
"cond",
"=",
"AniData",
"[",
"depth_scale",
"]",
".",
"astype",
"(",
"bool",
")",
"AniData",
"=",
"AniData",
"[",
"cond",
"]",
"if",
"dmin",
"!=",
"-",
"1",
":",
"AniData",
"=",
"AniData",
"[",
"AniData",
"[",
"depth_scale",
"]",
"<",
"dmax",
"]",
"if",
"dmax",
"!=",
"-",
"1",
":",
"AniData",
"=",
"AniData",
"[",
"AniData",
"[",
"depth_scale",
"]",
">",
"dmin",
"]",
"AniData",
"[",
"'core_depth'",
"]",
"=",
"AniData",
"[",
"depth_scale",
"]",
"if",
"not",
"age_file",
":",
"Samps",
"=",
"con",
".",
"tables",
"[",
"'samples'",
"]",
".",
"convert_to_pmag_data_list",
"(",
")",
"else",
":",
"con",
".",
"add_magic_table",
"(",
"dtype",
"=",
"'ages'",
",",
"fname",
"=",
"age_file",
")",
"Samps",
"=",
"con",
".",
"tables",
"[",
"'ages'",
"]",
".",
"convert_to_pmag_data_list",
"(",
")",
"# get age unit",
"age_unit",
"=",
"con",
".",
"tables",
"[",
"'ages'",
"]",
".",
"df",
"[",
"'age_unit'",
"]",
"[",
"0",
"]",
"# propagate ages down to sample level",
"for",
"s",
"in",
"Samps",
":",
"# change to upper case for every sample name",
"s",
"[",
"'sample'",
"]",
"=",
"s",
"[",
"'sample'",
"]",
".",
"upper",
"(",
")",
"if",
"'measurements'",
"in",
"con",
".",
"tables",
":",
"isbulk",
"=",
"1",
"Meas",
"=",
"con",
".",
"tables",
"[",
"'measurements'",
"]",
".",
"df",
"# convert_to_pmag_data_list()",
"if",
"isbulk",
":",
"Meas",
"=",
"Meas",
"[",
"Meas",
"[",
"'specimen'",
"]",
".",
"astype",
"(",
"'bool'",
")",
"]",
"Meas",
"=",
"Meas",
"[",
"Meas",
"[",
"'susc_chi_volume'",
"]",
".",
"astype",
"(",
"bool",
")",
"]",
"# add core_depth into Measurements dataframe",
"Meas",
"=",
"pd",
".",
"merge",
"(",
"Meas",
"[",
"[",
"'susc_chi_volume'",
",",
"'specimen'",
"]",
"]",
",",
"AniData",
"[",
"[",
"'specimen'",
",",
"'core_depth'",
"]",
"]",
",",
"how",
"=",
"'inner'",
",",
"on",
"=",
"'specimen'",
")",
"Bulks",
"=",
"list",
"(",
"Meas",
"[",
"'susc_chi_volume'",
"]",
"*",
"1e6",
")",
"BulkDepths",
"=",
"list",
"(",
"Meas",
"[",
"'core_depth'",
"]",
")",
"else",
":",
"Bulks",
",",
"BulkDepths",
"=",
"[",
"]",
",",
"[",
"]",
"# now turn Data from pandas dataframe to a list of dicts",
"Data",
"=",
"list",
"(",
"AniData",
".",
"T",
".",
"apply",
"(",
"dict",
")",
")",
"if",
"len",
"(",
"Bulks",
")",
">",
"0",
":",
"# set min and max bulk values",
"bmin",
"=",
"min",
"(",
"Bulks",
")",
"bmax",
"=",
"max",
"(",
"Bulks",
")",
"xlab",
"=",
"\"Depth (m)\"",
"#",
"if",
"len",
"(",
"Data",
")",
">",
"0",
":",
"location",
"=",
"Data",
"[",
"0",
"]",
".",
"get",
"(",
"'location'",
",",
"'unknown'",
")",
"if",
"cb",
".",
"is_null",
"(",
"location",
")",
":",
"location",
"=",
"'unknown'",
"try",
":",
"location",
"=",
"con",
".",
"tables",
"[",
"'sites'",
"]",
".",
"df",
"[",
"'location'",
"]",
"[",
"0",
"]",
"except",
"KeyError",
":",
"pass",
"else",
":",
"return",
"False",
",",
"'no data to plot'",
"# collect the data for plotting tau V3_inc and V1_dec",
"Depths",
",",
"Tau1",
",",
"Tau2",
",",
"Tau3",
",",
"V3Incs",
",",
"P",
",",
"V1Decs",
"=",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
"F23s",
"=",
"[",
"]",
"Axs",
"=",
"[",
"]",
"# collect the plot ids",
"if",
"len",
"(",
"Bulks",
")",
">",
"0",
":",
"pcol",
"+=",
"1",
"Data",
"=",
"pmag",
".",
"get_dictitem",
"(",
"Data",
",",
"'aniso_s'",
",",
"''",
",",
"'not_null'",
")",
"# get all the s1 values from Data as floats",
"aniso_s",
"=",
"pmag",
".",
"get_dictkey",
"(",
"Data",
",",
"'aniso_s'",
",",
"''",
")",
"aniso_s",
"=",
"[",
"a",
".",
"split",
"(",
"':'",
")",
"for",
"a",
"in",
"aniso_s",
"if",
"a",
"is",
"not",
"None",
"]",
"#print('aniso_s', aniso_s)",
"s1",
"=",
"[",
"float",
"(",
"a",
"[",
"0",
"]",
")",
"for",
"a",
"in",
"aniso_s",
"]",
"s2",
"=",
"[",
"float",
"(",
"a",
"[",
"1",
"]",
")",
"for",
"a",
"in",
"aniso_s",
"]",
"s3",
"=",
"[",
"float",
"(",
"a",
"[",
"2",
"]",
")",
"for",
"a",
"in",
"aniso_s",
"]",
"s4",
"=",
"[",
"float",
"(",
"a",
"[",
"3",
"]",
")",
"for",
"a",
"in",
"aniso_s",
"]",
"s5",
"=",
"[",
"float",
"(",
"a",
"[",
"4",
"]",
")",
"for",
"a",
"in",
"aniso_s",
"]",
"s6",
"=",
"[",
"float",
"(",
"a",
"[",
"5",
"]",
")",
"for",
"a",
"in",
"aniso_s",
"]",
"# we are good with s1 - s2",
"nmeas",
"=",
"pmag",
".",
"get_dictkey",
"(",
"Data",
",",
"'aniso_s_n_measurements'",
",",
"'int'",
")",
"sigma",
"=",
"pmag",
".",
"get_dictkey",
"(",
"Data",
",",
"'aniso_s_sigma'",
",",
"'f'",
")",
"Depths",
"=",
"pmag",
".",
"get_dictkey",
"(",
"Data",
",",
"'core_depth'",
",",
"'f'",
")",
"# Ss=np.array([s1,s4,s5,s4,s2,s6,s5,s6,s3]).transpose() # make an array",
"Ss",
"=",
"np",
".",
"array",
"(",
"[",
"s1",
",",
"s2",
",",
"s3",
",",
"s4",
",",
"s5",
",",
"s6",
"]",
")",
".",
"transpose",
"(",
")",
"# make an array",
"# Ts=np.reshape(Ss,(len(Ss),3,-1)) # and re-shape to be n-length array of",
"# 3x3 sub-arrays",
"for",
"k",
"in",
"range",
"(",
"len",
"(",
"Depths",
")",
")",
":",
"# tau,Evecs= pmag.tauV(Ts[k]) # get the sorted eigenvalues and eigenvectors",
"# v3=pmag.cart2dir(Evecs[2])[1] # convert to inclination of the minimum",
"# eigenvector",
"fpars",
"=",
"pmag",
".",
"dohext",
"(",
"nmeas",
"[",
"k",
"]",
"-",
"6",
",",
"sigma",
"[",
"k",
"]",
",",
"Ss",
"[",
"k",
"]",
")",
"V3Incs",
".",
"append",
"(",
"fpars",
"[",
"'v3_inc'",
"]",
")",
"V1Decs",
".",
"append",
"(",
"fpars",
"[",
"'v1_dec'",
"]",
")",
"Tau1",
".",
"append",
"(",
"fpars",
"[",
"'t1'",
"]",
")",
"Tau2",
".",
"append",
"(",
"fpars",
"[",
"'t2'",
"]",
")",
"Tau3",
".",
"append",
"(",
"fpars",
"[",
"'t3'",
"]",
")",
"P",
".",
"append",
"(",
"old_div",
"(",
"Tau1",
"[",
"-",
"1",
"]",
",",
"Tau3",
"[",
"-",
"1",
"]",
")",
")",
"F23s",
".",
"append",
"(",
"fpars",
"[",
"'F23'",
"]",
")",
"if",
"len",
"(",
"Depths",
")",
">",
"0",
":",
"if",
"dmax",
"==",
"-",
"1",
":",
"dmax",
"=",
"max",
"(",
"Depths",
")",
"dmin",
"=",
"min",
"(",
"Depths",
")",
"tau_min",
"=",
"1",
"for",
"t",
"in",
"Tau3",
":",
"if",
"t",
">",
"0",
"and",
"t",
"<",
"tau_min",
":",
"tau_min",
"=",
"t",
"tau_max",
"=",
"max",
"(",
"Tau1",
")",
"# tau_min=min(Tau3)",
"P_max",
"=",
"max",
"(",
"P",
")",
"P_min",
"=",
"min",
"(",
"P",
")",
"# dmax=dmax+.05*dmax",
"# dmin=dmin-.05*dmax",
"main_plot",
"=",
"plt",
".",
"figure",
"(",
"1",
",",
"figsize",
"=",
"(",
"11",
",",
"7",
")",
")",
"# make the figure",
"# main_plot = plt.figure(1, figsize=(10, 8)) # make the figure",
"version_num",
"=",
"pmag",
".",
"get_version",
"(",
")",
"plt",
".",
"figtext",
"(",
".02",
",",
".01",
",",
"version_num",
")",
"# attach the pmagpy version number",
"ax",
"=",
"plt",
".",
"subplot",
"(",
"1",
",",
"pcol",
",",
"1",
")",
"# make the first column",
"Axs",
".",
"append",
"(",
"ax",
")",
"ax",
".",
"plot",
"(",
"Tau1",
",",
"Depths",
",",
"'rs'",
")",
"ax",
".",
"plot",
"(",
"Tau2",
",",
"Depths",
",",
"'b^'",
")",
"ax",
".",
"plot",
"(",
"Tau3",
",",
"Depths",
",",
"'ko'",
")",
"if",
"sum_file",
":",
"for",
"depth",
"in",
"depths",
":",
"if",
"depth",
">=",
"dmin",
"and",
"depth",
"<",
"dmax",
":",
"plt",
".",
"axhline",
"(",
"depth",
",",
"color",
"=",
"'blue'",
",",
"linestyle",
"=",
"'dotted'",
")",
"if",
"tau_min",
">",
".3",
":",
"tau_min",
"=",
".3",
"if",
"tau_max",
"<",
".36",
":",
"tau_max",
"=",
".36",
"ax",
".",
"axis",
"(",
"[",
"tau_min",
",",
"tau_max",
",",
"dmax",
",",
"dmin",
"]",
")",
"ax",
".",
"set_xlabel",
"(",
"'Eigenvalues'",
")",
"if",
"depth_scale",
"==",
"'core_depth'",
":",
"ax",
".",
"set_ylabel",
"(",
"'Depth (mbsf)'",
")",
"elif",
"depth_scale",
"==",
"'age'",
":",
"ax",
".",
"set_ylabel",
"(",
"'Age ('",
"+",
"age_unit",
"+",
"')'",
")",
"else",
":",
"ax",
".",
"set_ylabel",
"(",
"'Depth (mcd)'",
")",
"ax2",
"=",
"plt",
".",
"subplot",
"(",
"1",
",",
"pcol",
",",
"2",
")",
"# make the second column",
"ax2",
".",
"yaxis",
".",
"set_major_locator",
"(",
"plt",
".",
"NullLocator",
"(",
")",
")",
"ax2",
".",
"plot",
"(",
"P",
",",
"Depths",
",",
"'rs'",
")",
"ax2",
".",
"axis",
"(",
"[",
"P_min",
",",
"P_max",
",",
"dmax",
",",
"dmin",
"]",
")",
"ax2",
".",
"set_xlabel",
"(",
"'P'",
")",
"ax2",
".",
"set_title",
"(",
"location",
")",
"if",
"sum_file",
":",
"for",
"depth",
"in",
"depths",
":",
"if",
"depth",
">=",
"dmin",
"and",
"depth",
"<",
"dmax",
":",
"plt",
".",
"axhline",
"(",
"depth",
",",
"color",
"=",
"'blue'",
",",
"linestyle",
"=",
"'dotted'",
")",
"Axs",
".",
"append",
"(",
"ax2",
")",
"ax3",
"=",
"plt",
".",
"subplot",
"(",
"1",
",",
"pcol",
",",
"3",
")",
"Axs",
".",
"append",
"(",
"ax3",
")",
"ax3",
".",
"plot",
"(",
"V3Incs",
",",
"Depths",
",",
"'ko'",
")",
"ax3",
".",
"axis",
"(",
"[",
"0",
",",
"90",
",",
"dmax",
",",
"dmin",
"]",
")",
"ax3",
".",
"set_xlabel",
"(",
"'V3 Inclination'",
")",
"ax3",
".",
"yaxis",
".",
"set_major_locator",
"(",
"plt",
".",
"NullLocator",
"(",
")",
")",
"if",
"sum_file",
":",
"for",
"depth",
"in",
"depths",
":",
"if",
"depth",
">=",
"dmin",
"and",
"depth",
"<",
"dmax",
":",
"plt",
".",
"axhline",
"(",
"depth",
",",
"color",
"=",
"'blue'",
",",
"linestyle",
"=",
"'dotted'",
")",
"ax4",
"=",
"plt",
".",
"subplot",
"(",
"1",
",",
"np",
".",
"abs",
"(",
"pcol",
")",
",",
"4",
")",
"Axs",
".",
"append",
"(",
"ax4",
")",
"ax4",
".",
"plot",
"(",
"V1Decs",
",",
"Depths",
",",
"'rs'",
")",
"ax4",
".",
"axis",
"(",
"[",
"0",
",",
"360",
",",
"dmax",
",",
"dmin",
"]",
")",
"ax4",
".",
"set_xlabel",
"(",
"'V1 Declination'",
")",
"ax4",
".",
"yaxis",
".",
"set_major_locator",
"(",
"plt",
".",
"NullLocator",
"(",
")",
")",
"if",
"sum_file",
":",
"for",
"depth",
"in",
"depths",
":",
"if",
"depth",
">=",
"dmin",
"and",
"depth",
"<",
"dmax",
":",
"plt",
".",
"axhline",
"(",
"depth",
",",
"color",
"=",
"'blue'",
",",
"linestyle",
"=",
"'dotted'",
")",
"# ax5=plt.subplot(1,np.abs(pcol),5)",
"# Axs.append(ax5)",
"# ax5.plot(F23s,Depths,'rs')",
"# bounds=ax5.axis()",
"# ax5.axis([bounds[0],bounds[1],dmax,dmin])",
"# ax5.set_xlabel('F_23')",
"# ax5.semilogx()",
"# if sum_file:",
"# for core in Cores:",
"# depth=float(core[core_depth_key])",
"# if depth>=dmin and depth<=dmax:",
"# plt.plot([bounds[0],bounds[1]],[depth,depth],'b--')",
"# if pcol==5 and label==1:plt.text(bounds[1],depth+tint,core[core_label_key])",
"# if pcol==6:",
"if",
"pcol",
"==",
"5",
":",
"# ax6=plt.subplot(1,pcol,6)",
"ax6",
"=",
"plt",
".",
"subplot",
"(",
"1",
",",
"pcol",
",",
"5",
")",
"Axs",
".",
"append",
"(",
"ax6",
")",
"ax6",
".",
"plot",
"(",
"Bulks",
",",
"BulkDepths",
",",
"'bo'",
")",
"ax6",
".",
"axis",
"(",
"[",
"bmin",
"-",
"1",
",",
"1.1",
"*",
"bmax",
",",
"dmax",
",",
"dmin",
"]",
")",
"ax6",
".",
"set_xlabel",
"(",
"'Bulk Susc. (uSI)'",
")",
"ax6",
".",
"yaxis",
".",
"set_major_locator",
"(",
"plt",
".",
"NullLocator",
"(",
")",
")",
"if",
"sum_file",
":",
"for",
"depth",
"in",
"depths",
":",
"if",
"depth",
">=",
"dmin",
"and",
"depth",
"<",
"dmax",
":",
"plt",
".",
"axhline",
"(",
"depth",
",",
"color",
"=",
"'blue'",
",",
"linestyle",
"=",
"'dotted'",
")",
"for",
"x",
"in",
"Axs",
":",
"# this makes the x-tick labels more reasonable - they were",
"# overcrowded using the defaults",
"pmagplotlib",
".",
"delticks",
"(",
"x",
")",
"fig_name",
"=",
"location",
"+",
"'_ani_depthplot.'",
"+",
"fmt",
"return",
"main_plot",
",",
"[",
"fig_name",
"]",
"else",
":",
"return",
"False",
",",
"\"No data to plot\""
] |
returns matplotlib figure with anisotropy data plotted against depth
available depth scales: 'composite_depth', 'core_depth' or 'age' (you must provide an age file to use this option).
You must provide valid specimens and sites files, and either a samples or an ages file.
You may additionally provide measurements and a summary file (csv).
Parameters
----------
spec_file : str, default "specimens.txt"
samp_file : str, default "samples.txt"
meas_file : str, default "measurements.txt"
site_file : str, default "sites.txt"
age_file : str, default ""
sum_file : str, default ""
fmt : str, default "svg"
format for figures, ["svg", "jpg", "pdf", "png"]
dmin : number, default -1
minimum depth to plot (if -1, default to plotting all)
dmax : number, default -1
maximum depth to plot (if -1, default to plotting all)
depth_scale : str, default "core_depth"
scale to plot, ['composite_depth', 'core_depth', 'age'].
if 'age' is selected, you must provide an ages file.
dir_path : str, default "."
directory for input files
contribution : cb.Contribution, default None
if provided, use Contribution object instead of reading in
data from files
Returns
---------
plot : matplotlib plot, or False if no plot could be created
name : figure name, or error message if no plot could be created
|
[
"returns",
"matplotlib",
"figure",
"with",
"anisotropy",
"data",
"plotted",
"against",
"depth",
"available",
"depth",
"scales",
":",
"composite_depth",
"core_depth",
"or",
"age",
"(",
"you",
"must",
"provide",
"an",
"age",
"file",
"to",
"use",
"this",
"option",
")",
".",
"You",
"must",
"provide",
"valid",
"specimens",
"and",
"sites",
"files",
"and",
"either",
"a",
"samples",
"or",
"an",
"ages",
"file",
".",
"You",
"may",
"additionally",
"provide",
"measurements",
"and",
"a",
"summary",
"file",
"(",
"csv",
")",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L2980-L3293
|
train
|
Function to plot an anisotropy data against a single site or specimen.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8('\060' + chr(111) + chr(1748 - 1699) + chr(0b110110) + chr(618 - 566), 0b1000), nzTpIcepk0o8(chr(1007 - 959) + '\x6f' + chr(0b110010) + chr(0b110000) + '\x32', ord("\x08")), nzTpIcepk0o8(chr(0b1010 + 0o46) + chr(0b10010 + 0o135) + '\062' + chr(0b110111) + chr(0b101011 + 0o6), ord("\x08")), nzTpIcepk0o8(chr(0b100111 + 0o11) + chr(8882 - 8771) + chr(51) + '\x36' + '\x32', 0b1000), nzTpIcepk0o8(chr(48) + '\157' + '\x33' + chr(0b110010) + '\060', 0o10), nzTpIcepk0o8(chr(1568 - 1520) + chr(0b101101 + 0o102) + '\x31' + chr(54) + chr(0b110111), 38047 - 38039), nzTpIcepk0o8('\x30' + chr(0b111011 + 0o64) + chr(55) + chr(0b110010), 0o10), nzTpIcepk0o8(chr(424 - 376) + chr(111) + '\x31' + chr(0b110000) + '\067', 53547 - 53539), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b1000 + 0o55) + '\x37', 9958 - 9950), nzTpIcepk0o8('\x30' + chr(0b10110 + 0o131) + chr(0b110001) + '\x31' + '\x37', 0o10), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110001) + chr(0b110110) + chr(0b110001), 0o10), nzTpIcepk0o8(chr(2131 - 2083) + chr(0b1010011 + 0o34) + chr(0b110011) + chr(166 - 118) + '\062', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(49) + '\x33' + chr(0b110000), ord("\x08")), nzTpIcepk0o8('\x30' + '\x6f' + chr(51) + '\x31' + chr(0b110000), 54328 - 54320), nzTpIcepk0o8('\x30' + chr(5472 - 5361) + chr(0b110010) + chr(52), 13528 - 13520), nzTpIcepk0o8('\x30' + '\x6f' + '\062' + chr(0b110111) + '\060', ord("\x08")), nzTpIcepk0o8(chr(2189 - 2141) + '\x6f' + chr(0b110001) + '\066' + chr(51), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(4441 - 4330) + '\x31' + chr(1664 - 1614) + chr(0b1110 + 0o44), 0b1000), nzTpIcepk0o8('\060' + chr(570 - 459) + '\x31' + chr(51) + chr(0b110110), 0b1000), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b100100 + 0o23) + '\062', 8), nzTpIcepk0o8(chr(0b101101 + 0o3) + '\x6f' + chr(1113 - 1063) + chr(53) + '\x30', 0b1000), nzTpIcepk0o8(chr(48) + chr(9211 - 9100) + chr(0b110010) + '\x30' + chr(995 - 947), 0b1000), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x31' + '\063' + '\x31', 65055 - 65047), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(50) + '\067' + '\x33', 0o10), nzTpIcepk0o8('\x30' + chr(11255 - 11144) + chr(429 - 379) + chr(0b110111) + '\x33', 8), nzTpIcepk0o8('\x30' + chr(11050 - 10939) + chr(49) + '\x35' + '\062', 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b110001) + chr(54) + chr(48), 0b1000), nzTpIcepk0o8(chr(0b110000) + '\157' + '\x33' + '\x34' + '\x36', 52615 - 52607), nzTpIcepk0o8(chr(0b110000) + chr(8287 - 8176) + chr(51) + chr(54) + chr(0b110011), 0b1000), nzTpIcepk0o8(chr(0b11111 + 0o21) + chr(0b1101111) + chr(0b110001) + '\x37' + '\065', 0b1000), nzTpIcepk0o8('\x30' + '\157' + chr(0b10100 + 0o36) + chr(1632 - 1580) + chr(0b1000 + 0o56), 28670 - 28662), nzTpIcepk0o8(chr(0b101011 + 0o5) + '\157' + chr(51) + '\x34' + chr(0b110000), 9986 - 9978), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(2532 - 2481) + '\067', 0o10), nzTpIcepk0o8(chr(754 - 706) + '\157' + chr(51) + chr(54), 0b1000), nzTpIcepk0o8(chr(48) + chr(0b1010 + 0o145) + '\064' + chr(0b110010), 0o10), nzTpIcepk0o8(chr(1593 - 1545) + chr(6145 - 6034) + chr(0b1111 + 0o43) + chr(0b110110) + chr(49), 0b1000), nzTpIcepk0o8(chr(2241 - 2193) + '\157' + chr(1900 - 1851) + '\066' + chr(52), 8), nzTpIcepk0o8('\x30' + chr(0b100001 + 0o116) + '\x31' + '\x33' + chr(0b11111 + 0o25), ord("\x08")), nzTpIcepk0o8(chr(0b100101 + 0o13) + chr(0b1101111) + chr(0b11 + 0o64) + chr(0b100000 + 0o27), 0o10), nzTpIcepk0o8(chr(48) + '\157' + chr(1909 - 1858) + chr(1673 - 1621) + chr(0b1000 + 0o51), 30078 - 30070)][ZlbFMSG8gCoF % nzTpIcepk0o8('\x30' + '\157' + '\065' + chr(0b100101 + 0o13), 0b1000)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'Z'), chr(0b1100100) + chr(101) + chr(0b10110 + 0o115) + '\x6f' + '\144' + chr(0b1101 + 0o130))('\165' + chr(116) + chr(102) + chr(399 - 354) + chr(0b111000)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def Qd0R_v2XciqY(QJgeTIOanow9=roI3spqORKae(ES5oEprVxulp(b'\x07\xf2\xdc\x91\xb9\x1a_)\\a\x05\xba,'), chr(0b111100 + 0o50) + '\145' + chr(0b1100011) + chr(0b1101111) + chr(100) + chr(0b1100101))(chr(117) + chr(8269 - 8153) + chr(0b1100011 + 0o3) + '\055' + '\x38'), bqpTUs8apVqb=roI3spqORKae(ES5oEprVxulp(b'\x07\xe3\xd4\x82\xbc\x12Ii[7\x05'), chr(0b1100100) + chr(1199 - 1098) + '\143' + '\x6f' + chr(100) + chr(9644 - 9543))('\x75' + '\164' + '\x66' + chr(0b11 + 0o52) + chr(56)), rHPU8oONrR4n=roI3spqORKae(ES5oEprVxulp(b'\x19\xe7\xd8\x81\xa5\x05_*J!\x05\xb1v\xbcl\xcc'), '\x64' + chr(101) + chr(0b101110 + 0o65) + chr(1369 - 1258) + chr(0b1011000 + 0o14) + chr(311 - 210))('\165' + chr(0b1110100) + '\x66' + '\x2d' + chr(0b111000)), OiNBbL9woeR5=roI3spqORKae(ES5oEprVxulp(b'\x07\xeb\xcd\x97\xa3YN?['), chr(0b1011100 + 0o10) + chr(101) + '\143' + '\x6f' + '\144' + chr(101))(chr(117) + '\164' + chr(0b1011111 + 0o7) + chr(0b101101) + chr(0b111000)), _FpkWd4wvvaT=roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(0b1011110 + 0o7) + '\x63' + chr(111) + '\x64' + chr(0b1100101))(chr(117) + chr(116) + chr(8908 - 8806) + chr(358 - 313) + chr(2162 - 2106)), cuJmomB0XH13=roI3spqORKae(ES5oEprVxulp(b''), chr(2425 - 2325) + chr(0b1100101) + '\143' + chr(0b1101111) + '\144' + '\x65')(chr(117) + chr(2961 - 2845) + '\146' + chr(45) + chr(285 - 229)), JummcHpaNLEw=roI3spqORKae(ES5oEprVxulp(b'\x07\xf4\xde'), '\x64' + '\145' + chr(4861 - 4762) + chr(0b1101111) + chr(100) + '\x65')(chr(0b100000 + 0o125) + '\164' + '\x66' + chr(0b1111 + 0o36) + chr(0b100100 + 0o24)), Hg_KJkMRv5EQ=-nzTpIcepk0o8(chr(0b110000) + '\157' + chr(1090 - 1041), ord("\x08")), vrYAlPlCS8EO=-nzTpIcepk0o8('\x30' + '\x6f' + chr(49), 8), H1WMyWd7nBfT=roI3spqORKae(ES5oEprVxulp(b"\x17\xed\xcb\x97\x8f\x13_7['"), '\144' + chr(0b1100101) + chr(5645 - 5546) + '\157' + '\144' + chr(101))(chr(117) + chr(5010 - 4894) + chr(0b1100110) + chr(326 - 281) + chr(494 - 438)), qjksZ7GK0xkJ=roI3spqORKae(ES5oEprVxulp(b'Z'), chr(501 - 401) + chr(0b1010001 + 0o24) + '\143' + chr(111) + chr(0b1100100) + chr(6157 - 6056))(chr(0b1110101) + chr(0b10101 + 0o137) + chr(6763 - 6661) + chr(0b101101) + '\070'), bSiGoWKHgDdJ=None):
if H1WMyWd7nBfT == roI3spqORKae(ES5oEprVxulp(b'\x07\xe3\xd4\x82\xbc\x12e$@=\x14\x9d<\xadd\xcc\x1b'), chr(100) + chr(101) + chr(0b1100 + 0o127) + chr(111) + '\x64' + chr(0b1000 + 0o135))(chr(4867 - 4750) + chr(0b1110100) + '\x66' + chr(0b1100 + 0o41) + chr(0b111000)):
H1WMyWd7nBfT = roI3spqORKae(ES5oEprVxulp(b"\x17\xed\xcb\x97\x8f\x13_7['"), '\x64' + '\145' + chr(0b1100011) + '\157' + chr(0b11000 + 0o114) + chr(0b1100101))('\165' + '\164' + chr(0b1100110) + '\x2d' + chr(0b111000))
if H1WMyWd7nBfT == roI3spqORKae(ES5oEprVxulp(b'\x07\xe3\xd4\x82\xbc\x12e$@"\x01\xad+\xa1`\xdd,6;J\xdc\xe8'), chr(3243 - 3143) + chr(0b11010 + 0o113) + chr(0b100101 + 0o76) + chr(0b1001100 + 0o43) + chr(0b110010 + 0o62) + chr(101))(chr(117) + chr(116) + '\x66' + chr(1008 - 963) + chr(0b111000)):
H1WMyWd7nBfT = roI3spqORKae(ES5oEprVxulp(b'\x17\xed\xd4\x82\xbf\x04S3J\x10\x15\xa7(\xbc|'), chr(0b1100100) + chr(0b1001011 + 0o32) + chr(99) + chr(2336 - 2225) + chr(0b1000000 + 0o44) + '\145')(chr(0b1100010 + 0o23) + '\x74' + chr(0b1011011 + 0o13) + chr(0b1110 + 0o37) + '\x38')
rVXviMgDUC9h = nzTpIcepk0o8('\x30' + chr(111) + chr(1948 - 1896), 0o10)
BdYTl2caVoTD = nzTpIcepk0o8('\060' + chr(111) + chr(0b100111 + 0o12) + chr(0b1001 + 0o50), 21304 - 21296)
rhJWrcAwWftY = nzTpIcepk0o8(chr(0b110 + 0o52) + '\x6f' + chr(48), 0o10)
(Hg_KJkMRv5EQ, vrYAlPlCS8EO) = (jLW6pRf2DSRk(Hg_KJkMRv5EQ), jLW6pRf2DSRk(vrYAlPlCS8EO))
if suIjIS24Zkqw(bSiGoWKHgDdJ, roI3spqORKae(RYEhqzIVZREo, roI3spqORKae(ES5oEprVxulp(b'7\xed\xd7\x86\xa2\x1eX2[&\x1e\xac'), '\144' + chr(0b1010011 + 0o22) + chr(99) + chr(0b1 + 0o156) + chr(0b10000 + 0o124) + chr(0b101 + 0o140))('\165' + '\164' + chr(0b1100110) + chr(0b101101) + '\070'))):
D3H9MFOOog2W = bSiGoWKHgDdJ
else:
rHPU8oONrR4n = hUcsWwAd0nE_.resolve_file_name(rHPU8oONrR4n, qjksZ7GK0xkJ)
QJgeTIOanow9 = hUcsWwAd0nE_.resolve_file_name(QJgeTIOanow9, qjksZ7GK0xkJ)
bqpTUs8apVqb = hUcsWwAd0nE_.resolve_file_name(bqpTUs8apVqb, qjksZ7GK0xkJ)
OiNBbL9woeR5 = hUcsWwAd0nE_.resolve_file_name(OiNBbL9woeR5, qjksZ7GK0xkJ)
if _FpkWd4wvvaT:
_FpkWd4wvvaT = hUcsWwAd0nE_.resolve_file_name(_FpkWd4wvvaT, qjksZ7GK0xkJ)
if not roI3spqORKae(aHUqKstZLeS6.path, roI3spqORKae(ES5oEprVxulp(b'\x1d\xf1\xdf\x9b\xbc\x12'), '\x64' + '\x65' + chr(7990 - 7891) + chr(0b111011 + 0o64) + '\144' + '\145')(chr(10519 - 10402) + '\x74' + chr(5397 - 5295) + '\x2d' + chr(0b100011 + 0o25)))(_FpkWd4wvvaT):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'#\xe3\xcb\x9c\xb9\x19]}\x0f6\x1e\xb7x\xa0u\xce\x16r.H\xc7\xf60\xdf\xde\x0eP\x87\x9d]\xcf\x8ei\x7fN\xd8\x10|^\x86\x11\xa2\xdf\x9b\xbc\x12\x14g\x0f\x0e\x05\xb6=\xa5d\xcc\x1a<9\x1a\xdc\xefy\xce\xc8\x0fP\x95\x92\x10\xd6\x8cz>D\xd8\x189\x1f\x88\x1a\xf1\xcd\x97\xb1\x13'), '\144' + chr(2801 - 2700) + chr(99) + chr(0b1101111 + 0o0) + '\x64' + '\x65')(chr(7873 - 7756) + chr(2994 - 2878) + chr(0b1100110) + '\055' + '\x38'))
_FpkWd4wvvaT = None
H1WMyWd7nBfT = roI3spqORKae(ES5oEprVxulp(b"\x17\xed\xcb\x97\x8f\x13_7['"), chr(568 - 468) + chr(101) + chr(0b110100 + 0o57) + '\x6f' + chr(0b101100 + 0o70) + '\145')('\x75' + chr(0b1110100) + chr(0b1100110) + '\x2d' + chr(1086 - 1030))
else:
bqpTUs8apVqb = _FpkWd4wvvaT
H1WMyWd7nBfT = roI3spqORKae(ES5oEprVxulp(b'\x15\xe5\xdc'), chr(100) + chr(0b1100101) + chr(0b1100011) + chr(0b10 + 0o155) + chr(3349 - 3249) + chr(0b1100101))('\165' + '\x74' + chr(2185 - 2083) + chr(0b101101) + '\x38')
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b"#\xe3\xcb\x9c\xb9\x19]}\x0f6\x1e\xb7x\xa0u\xce\x16r.H\xc7\xf60\xdf\xde\x0eP\x87\x9d]\xc7\x87zm\x02\xd7\x1b.R\x80\x00\xa2\xdf\x9b\xbc\x12\x16gX'\x18\xa10\xe8c\xd1\x1f>~N\xc9\xeb<\x9b\xcb\x18\x15\x85\x96\x19\xc3\x8e|{\x02\xde\x029M\xc1\x07\xe3\xd4\x82\xbc\x12I"), chr(100) + '\145' + '\143' + '\x6f' + chr(0b101001 + 0o73) + chr(877 - 776))(chr(0b1110101) + '\x74' + chr(4280 - 4178) + chr(0b100001 + 0o14) + chr(1619 - 1563)))
bqpTUs8apVqb = hUcsWwAd0nE_.resolve_file_name(bqpTUs8apVqb, qjksZ7GK0xkJ)
OkDIn6t2Cke6 = nzTpIcepk0o8(chr(0b110000) + chr(11706 - 11595) + chr(315 - 266), 8)
if cuJmomB0XH13:
cuJmomB0XH13 = hUcsWwAd0nE_.resolve_file_name(cuJmomB0XH13, qjksZ7GK0xkJ)
RnzJ0vwg8x6b = HLKt4sa1j9hm.read_csv(cuJmomB0XH13)
UjxwtHwihe1B = RnzJ0vwg8x6b[roI3spqORKae(ES5oEprVxulp(b' \xed\xc9\xd2\xb4\x12J3Go\x12\xad*\xadp\x980\x01\x18\x1a\x80\xedp'), '\x64' + chr(986 - 885) + '\143' + '\157' + chr(0b1100100) + '\145')('\165' + chr(615 - 499) + '\146' + chr(0b111 + 0o46) + chr(2641 - 2585))].CsodZJH6x9Tx
qjksZ7GK0xkJ = aHUqKstZLeS6.path.LfRrQOxuDvnC(QJgeTIOanow9)[nzTpIcepk0o8('\060' + chr(1812 - 1701) + chr(48), 8)]
WgtSJX0sIYpL = [roI3spqORKae(ES5oEprVxulp(b'\x19\xe7\xd8\x81\xa5\x05_*J!\x05\xb1'), chr(100) + '\x65' + chr(0b1100011) + chr(5747 - 5636) + chr(0b1100100) + chr(101))(chr(117) + chr(1220 - 1104) + '\x66' + chr(45) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\x07\xf2\xdc\x91\xb9\x1a_)\\'), '\144' + '\145' + '\143' + chr(0b1101111) + chr(0b1100100) + chr(0b1011100 + 0o11))('\x75' + '\x74' + chr(9454 - 9352) + chr(0b101101) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\x07\xe3\xd4\x82\xbc\x12I'), chr(100) + '\x65' + chr(0b1100011) + '\157' + '\x64' + chr(101))('\x75' + chr(116) + '\x66' + chr(45) + chr(0b10 + 0o66)), roI3spqORKae(ES5oEprVxulp(b'\x07\xeb\xcd\x97\xa3'), chr(100) + '\x65' + chr(0b1100011) + chr(0b10001 + 0o136) + '\x64' + '\145')(chr(7680 - 7563) + chr(0b110110 + 0o76) + chr(0b110011 + 0o63) + chr(0b11001 + 0o24) + chr(1356 - 1300))]
D3H9MFOOog2W = RYEhqzIVZREo.Contribution(qjksZ7GK0xkJ, read_tables=WgtSJX0sIYpL, custom_filenames={roI3spqORKae(ES5oEprVxulp(b'\x19\xe7\xd8\x81\xa5\x05_*J!\x05\xb1'), chr(9622 - 9522) + chr(0b1100101) + chr(0b1100011) + chr(111) + '\x64' + chr(0b1100101))('\165' + chr(0b1110100) + chr(102) + '\055' + '\x38'): rHPU8oONrR4n, roI3spqORKae(ES5oEprVxulp(b'\x07\xf2\xdc\x91\xb9\x1a_)\\'), chr(100) + '\x65' + chr(8958 - 8859) + chr(0b1001000 + 0o47) + '\x64' + chr(101))('\x75' + chr(0b1110010 + 0o2) + '\146' + '\055' + chr(56)): QJgeTIOanow9, roI3spqORKae(ES5oEprVxulp(b'\x07\xe3\xd4\x82\xbc\x12I'), '\x64' + chr(3511 - 3410) + chr(99) + chr(0b1101111) + '\x64' + chr(101))(chr(0b1110101) + chr(0b111001 + 0o73) + '\146' + '\055' + '\070'): bqpTUs8apVqb, roI3spqORKae(ES5oEprVxulp(b'\x07\xeb\xcd\x97\xa3'), chr(9319 - 9219) + chr(6916 - 6815) + chr(6194 - 6095) + chr(0b1101111) + chr(0b1000 + 0o134) + '\x65')('\165' + chr(11970 - 11854) + '\146' + chr(0b101101) + chr(56)): OiNBbL9woeR5})
for E_7xDwk9IR3s in [roI3spqORKae(ES5oEprVxulp(b'\x07\xf2\xdc\x91\xb9\x1a_)\\'), '\x64' + chr(0b1100101) + '\143' + chr(111) + '\144' + '\x65')(chr(0b1110101) + chr(0b1011011 + 0o31) + '\146' + '\055' + '\070'), roI3spqORKae(ES5oEprVxulp(b'\x07\xe3\xd4\x82\xbc\x12I'), chr(100) + '\x65' + '\x63' + '\157' + chr(100) + chr(0b1100101))(chr(7696 - 7579) + '\164' + chr(0b1010011 + 0o23) + '\055' + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\x07\xeb\xcd\x97\xa3'), chr(100) + chr(2129 - 2028) + chr(99) + chr(111) + '\x64' + chr(0b100111 + 0o76))('\x75' + '\164' + '\x66' + chr(45) + chr(56))]:
if not roI3spqORKae(D3H9MFOOog2W.tables, roI3spqORKae(ES5oEprVxulp(b'3\xd7\xf2\x97\xa4\x02\x0e?N\x08\x02\x88'), chr(0b1100100) + chr(101) + chr(0b1100011) + '\x6f' + '\144' + chr(0b1100101))('\x75' + '\x74' + chr(0b1100110) + chr(0b101101) + chr(0b101 + 0o63)))(E_7xDwk9IR3s):
if E_7xDwk9IR3s == roI3spqORKae(ES5oEprVxulp(b'\x07\xe3\xd4\x82\xbc\x12I'), '\144' + chr(8258 - 8157) + chr(1515 - 1416) + chr(5663 - 5552) + '\144' + '\145')(chr(0b1110101) + chr(0b1001000 + 0o54) + chr(102) + chr(1259 - 1214) + '\070'):
if roI3spqORKae(D3H9MFOOog2W.tables, roI3spqORKae(ES5oEprVxulp(b'3\xd7\xf2\x97\xa4\x02\x0e?N\x08\x02\x88'), '\144' + chr(101) + chr(0b1100011) + chr(111) + '\144' + '\x65')(chr(0b1110101) + chr(1564 - 1448) + chr(4053 - 3951) + chr(45) + chr(56)))(roI3spqORKae(ES5oEprVxulp(b'\x15\xe5\xdc\x81'), chr(8197 - 8097) + chr(0b1100101) + '\x63' + chr(0b1001001 + 0o46) + chr(0b1100100) + '\145')(chr(12820 - 12703) + chr(0b101011 + 0o111) + chr(102) + '\x2d' + '\x38')):
H1WMyWd7nBfT = roI3spqORKae(ES5oEprVxulp(b'\x15\xe5\xdc'), chr(3088 - 2988) + chr(0b1100101) + chr(0b1100011) + '\157' + chr(0b110 + 0o136) + chr(0b1100101))('\x75' + chr(0b110110 + 0o76) + chr(0b1100110) + '\x2d' + '\070')
continue
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'Y\xd5\x94\xd2\x84\x1fS4\x0f)\x04\xac;\xbc}\xd7\x1dr,_\xd9\xf50\xc9\xde\x19P\x87\xd3\x06\xdb\xc0ywN\xd4T(P\xc1\x06\xf7\xd7\xdc'), chr(100) + chr(3600 - 3499) + chr(0b1100011) + '\157' + '\x64' + '\145')('\x75' + chr(116) + chr(0b1100110) + chr(0b101101) + chr(0b101010 + 0o16)), roI3spqORKae(ES5oEprVxulp(b'\x05\xb1\x8a\xb9\x97D\\(~\x102\x88'), '\144' + '\x65' + chr(99) + '\x6f' + '\x64' + chr(0b1100101))('\165' + chr(116) + '\146' + '\055' + '\x38'))(E_7xDwk9IR3s))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'T\xa2\x99\xd2\x9d\x16Q"\x0f<\x04\xb0=\xe8m\xd7\x06r7T\xcb\xec,\xdf\xdeJ\x1f\x88\x96]\xcf\x8e?gM\xc4\x06|H\x8e\x06\xe9\xd0\x9c\xb7W^.]*\x12\xb67\xbam'), chr(100) + chr(0b1010101 + 0o20) + '\x63' + chr(0b1110 + 0o141) + chr(0b100101 + 0o77) + chr(0b111101 + 0o50))(chr(117) + chr(456 - 340) + chr(102) + chr(0b10011 + 0o32) + chr(0b1 + 0o67)))
return (nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b110000), 8), roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'\x19\xeb\xca\x81\xb9\x19]g]*\x00\xb71\xbaq\xdcS47V\xcd\xa0-\xc2\xcb\x0fJ\xc6\x88\x00'), '\144' + '\x65' + '\143' + '\157' + '\x64' + chr(0b1100101))(chr(117) + '\164' + chr(102) + chr(0b101101) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\x05\xb1\x8a\xb9\x97D\\(~\x102\x88'), '\144' + chr(0b1100101) + chr(0b100110 + 0o75) + chr(111) + chr(0b1000011 + 0o41) + chr(0b110011 + 0o62))('\165' + chr(0b1110100) + chr(0b1001100 + 0o32) + '\055' + chr(2261 - 2205)))(E_7xDwk9IR3s))
roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'\x04\xf0\xd6\x82\xb1\x10[3J\x10\x12\xad4\xbb'), '\144' + chr(3915 - 3814) + chr(0b110011 + 0o60) + '\157' + chr(0b110000 + 0o64) + chr(4001 - 3900))(chr(0b1110101) + chr(0b1011 + 0o151) + chr(0b1100110) + chr(45) + '\x38'))([roI3spqORKae(ES5oEprVxulp(b"\x17\xed\xcb\x97\x8f\x13_7['"), chr(100) + '\145' + chr(99) + '\157' + '\x64' + chr(0b1100101))(chr(117) + chr(5352 - 5236) + chr(102) + chr(0b100001 + 0o14) + '\070')], roI3spqORKae(ES5oEprVxulp(b'\x07\xe3\xd4\x82\xbc\x12I'), chr(0b1100100) + chr(0b111100 + 0o51) + chr(0b1100011) + chr(1523 - 1412) + chr(0b1011011 + 0o11) + chr(0b1100101))(chr(0b1100101 + 0o20) + '\164' + chr(3266 - 3164) + chr(370 - 325) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\x07\xeb\xcd\x97\xa3'), chr(0b11000 + 0o114) + '\x65' + chr(262 - 163) + '\157' + '\144' + chr(8279 - 8178))(chr(2890 - 2773) + chr(0b1001101 + 0o47) + chr(0b1100110) + chr(1536 - 1491) + chr(56)))
roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'\x04\xf0\xd6\x82\xb1\x10[3J\x10\x1d\xad;\xa9`\xd1\x1c<\x01N\xc7\xdf*\xcb\xde\t\x19\x8b\x96\x13\xd5'), chr(3305 - 3205) + chr(1850 - 1749) + '\x63' + '\x6f' + chr(100) + chr(546 - 445))(chr(1803 - 1686) + '\x74' + '\146' + chr(0b1011 + 0o42) + '\070'))()
rmrOupVsxi7s = nzTpIcepk0o8(chr(0b110000) + '\157' + '\x30', 8)
F6KTmFll1__E = QJgeTIOanow9
YyyT5jjdDOFF = D3H9MFOOog2W.tables[roI3spqORKae(ES5oEprVxulp(b'\x07\xe3\xd4\x82\xbc\x12I'), chr(2591 - 2491) + '\145' + chr(5910 - 5811) + chr(0b1101111) + chr(0b1100100) + chr(6544 - 6443))(chr(1999 - 1882) + chr(0b1000110 + 0o56) + '\146' + '\055' + '\x38')].jpOn8DNZxbbx
dHJeCZaX9ihU = D3H9MFOOog2W.tables[roI3spqORKae(ES5oEprVxulp(b'\x07\xf2\xdc\x91\xb9\x1a_)\\'), '\144' + '\145' + '\143' + chr(2791 - 2680) + '\x64' + chr(101))('\165' + '\x74' + '\x66' + chr(1592 - 1547) + '\x38')].jpOn8DNZxbbx
dHJeCZaX9ihU = HLKt4sa1j9hm.merge(dHJeCZaX9ihU, YyyT5jjdDOFF[[roI3spqORKae(ES5oEprVxulp(b'\x07\xe3\xd4\x82\xbc\x12'), '\144' + '\x65' + chr(99) + '\x6f' + chr(0b1100100) + chr(0b1000000 + 0o45))(chr(3378 - 3261) + chr(4797 - 4681) + chr(7204 - 7102) + chr(0b100000 + 0o15) + chr(0b0 + 0o70)), H1WMyWd7nBfT]], how=roI3spqORKae(ES5oEprVxulp(b'\x1d\xec\xd7\x97\xa2'), chr(0b1100100) + chr(101) + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(0b110010 + 0o63))(chr(0b1110101) + chr(116) + chr(0b1001110 + 0o30) + '\055' + '\x38'), on=roI3spqORKae(ES5oEprVxulp(b'\x07\xe3\xd4\x82\xbc\x12'), chr(0b111111 + 0o45) + chr(0b100100 + 0o101) + chr(0b1000101 + 0o36) + chr(0b1101111) + chr(8206 - 8106) + chr(5280 - 5179))(chr(0b1100 + 0o151) + chr(0b1110100 + 0o0) + '\146' + '\055' + chr(0b111000)))
VBCqc_uABtb3 = dHJeCZaX9ihU[H1WMyWd7nBfT].xqAChpcBkssb(TVUhqOt5_BbS)
dHJeCZaX9ihU = dHJeCZaX9ihU[VBCqc_uABtb3]
if Hg_KJkMRv5EQ != -nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b110001), 8):
dHJeCZaX9ihU = dHJeCZaX9ihU[dHJeCZaX9ihU[H1WMyWd7nBfT] < vrYAlPlCS8EO]
if vrYAlPlCS8EO != -nzTpIcepk0o8(chr(327 - 279) + chr(111) + chr(0b110001), 8):
dHJeCZaX9ihU = dHJeCZaX9ihU[dHJeCZaX9ihU[H1WMyWd7nBfT] > Hg_KJkMRv5EQ]
dHJeCZaX9ihU[roI3spqORKae(ES5oEprVxulp(b"\x17\xed\xcb\x97\x8f\x13_7['"), '\x64' + '\x65' + chr(1804 - 1705) + chr(0b111111 + 0o60) + '\144' + chr(101))(chr(0b101001 + 0o114) + '\164' + chr(0b1010011 + 0o23) + chr(0b1 + 0o54) + chr(0b111 + 0o61))] = dHJeCZaX9ihU[H1WMyWd7nBfT]
if not _FpkWd4wvvaT:
NixjZbnCaKrH = D3H9MFOOog2W.tables[roI3spqORKae(ES5oEprVxulp(b'\x07\xe3\xd4\x82\xbc\x12I'), chr(100) + chr(101) + chr(7165 - 7066) + chr(0b1101111) + '\x64' + '\145')(chr(117) + chr(0b1110100) + chr(0b1100110) + '\055' + chr(802 - 746))].convert_to_pmag_data_list()
else:
roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'\x15\xe6\xdd\xad\xbd\x16].L\x10\x05\xa3:\xa4q'), chr(0b1100100) + chr(6801 - 6700) + chr(0b1100011) + '\157' + chr(0b110110 + 0o56) + chr(101))('\x75' + '\x74' + chr(0b1100110) + chr(0b101101) + chr(2312 - 2256)))(dtype=roI3spqORKae(ES5oEprVxulp(b'\x15\xe5\xdc\x81'), chr(8263 - 8163) + '\145' + chr(7152 - 7053) + chr(0b1101111) + chr(6305 - 6205) + chr(101))(chr(0b1110101) + chr(12907 - 12791) + '\146' + chr(45) + '\070'), fname=_FpkWd4wvvaT)
NixjZbnCaKrH = D3H9MFOOog2W.tables[roI3spqORKae(ES5oEprVxulp(b'\x15\xe5\xdc\x81'), '\x64' + chr(0b101 + 0o140) + '\x63' + chr(111) + '\144' + chr(0b1000000 + 0o45))(chr(117) + chr(11243 - 11127) + '\x66' + chr(45) + '\x38')].convert_to_pmag_data_list()
VhDf1UQHyIoF = D3H9MFOOog2W.tables[roI3spqORKae(ES5oEprVxulp(b'\x15\xe5\xdc\x81'), chr(100) + chr(9556 - 9455) + chr(99) + chr(0b100110 + 0o111) + chr(0b1100100) + chr(0b1000001 + 0o44))(chr(117) + chr(0b1110100) + chr(102) + chr(0b101101) + chr(1993 - 1937))].jpOn8DNZxbbx[roI3spqORKae(ES5oEprVxulp(b'\x15\xe5\xdc\xad\xa5\x19S3'), chr(2982 - 2882) + chr(3351 - 3250) + chr(0b1010011 + 0o20) + chr(6718 - 6607) + chr(100) + '\145')(chr(0b1110101) + chr(0b100100 + 0o120) + chr(0b110101 + 0o61) + chr(808 - 763) + chr(1382 - 1326))][nzTpIcepk0o8(chr(0b110000) + chr(0b101010 + 0o105) + chr(48), 8)]
for PmE5_h409JAA in NixjZbnCaKrH:
PmE5_h409JAA[roI3spqORKae(ES5oEprVxulp(b'\x07\xe3\xd4\x82\xbc\x12'), '\x64' + chr(6841 - 6740) + '\x63' + '\157' + '\x64' + chr(793 - 692))('\x75' + chr(8053 - 7937) + '\146' + chr(0b101101) + chr(0b10001 + 0o47))] = PmE5_h409JAA[roI3spqORKae(ES5oEprVxulp(b'\x07\xe3\xd4\x82\xbc\x12'), chr(0b10011 + 0o121) + chr(0b1100101) + chr(5225 - 5126) + '\157' + chr(0b1100100) + chr(0b1010010 + 0o23))(chr(117) + chr(0b1110100) + chr(0b1100110) + '\x2d' + chr(279 - 223))].iq1mNMefb1Zd()
if roI3spqORKae(ES5oEprVxulp(b'\x19\xe7\xd8\x81\xa5\x05_*J!\x05\xb1'), '\x64' + '\x65' + chr(0b1100011) + chr(1905 - 1794) + '\x64' + chr(0b1100101))(chr(0b1110101) + chr(116) + '\x66' + '\055' + chr(992 - 936)) in roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'#\xe5\xcd\xa1\x9a/\n4f\x16\x01\x8e'), chr(0b1100100) + chr(0b1100010 + 0o3) + '\x63' + '\x6f' + '\x64' + chr(497 - 396))('\x75' + chr(0b1110100) + chr(102) + chr(0b101101) + '\x38')):
rmrOupVsxi7s = nzTpIcepk0o8('\060' + chr(5331 - 5220) + chr(49), 8)
mKnAmMvTYaH1 = D3H9MFOOog2W.tables[roI3spqORKae(ES5oEprVxulp(b'\x19\xe7\xd8\x81\xa5\x05_*J!\x05\xb1'), chr(0b111111 + 0o45) + chr(10030 - 9929) + chr(99) + chr(0b1011001 + 0o26) + chr(0b1100100) + chr(0b100001 + 0o104))(chr(0b110111 + 0o76) + '\164' + chr(102) + chr(762 - 717) + chr(0b111000))].jpOn8DNZxbbx
if rmrOupVsxi7s:
mKnAmMvTYaH1 = mKnAmMvTYaH1[mKnAmMvTYaH1[roI3spqORKae(ES5oEprVxulp(b'\x07\xf2\xdc\x91\xb9\x1a_)'), chr(100) + '\145' + chr(0b1100011) + '\157' + chr(0b1100100) + chr(101))('\165' + chr(116) + '\x66' + '\055' + '\x38')].xqAChpcBkssb(roI3spqORKae(ES5oEprVxulp(b'\x16\xed\xd6\x9e'), chr(100) + chr(0b1100101) + chr(4046 - 3947) + '\157' + chr(0b111000 + 0o54) + chr(0b1100101))(chr(117) + chr(0b11011 + 0o131) + '\146' + '\x2d' + chr(56)))]
mKnAmMvTYaH1 = mKnAmMvTYaH1[mKnAmMvTYaH1[roI3spqORKae(ES5oEprVxulp(b'\x07\xf7\xca\x91\x8f\x14R.p9\x1e\xae-\xa5q'), chr(0b1100100) + chr(0b1100101) + '\x63' + '\x6f' + '\x64' + '\145')(chr(11794 - 11677) + chr(0b1110100) + '\x66' + chr(45) + chr(0b111000))].xqAChpcBkssb(TVUhqOt5_BbS)]
mKnAmMvTYaH1 = HLKt4sa1j9hm.merge(mKnAmMvTYaH1[[roI3spqORKae(ES5oEprVxulp(b'\x07\xf7\xca\x91\x8f\x14R.p9\x1e\xae-\xa5q'), chr(0b1100100) + chr(3409 - 3308) + '\x63' + '\157' + '\144' + chr(0b1100101))(chr(0b1110101) + chr(116) + chr(0b1100110) + chr(1210 - 1165) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\x07\xf2\xdc\x91\xb9\x1a_)'), chr(0b101011 + 0o71) + '\145' + '\x63' + chr(111) + chr(6338 - 6238) + chr(0b1100101))(chr(117) + '\x74' + '\x66' + chr(45) + '\070')]], dHJeCZaX9ihU[[roI3spqORKae(ES5oEprVxulp(b'\x07\xf2\xdc\x91\xb9\x1a_)'), '\x64' + chr(4076 - 3975) + chr(0b11110 + 0o105) + chr(111) + chr(7561 - 7461) + chr(0b1011100 + 0o11))('\165' + chr(2239 - 2123) + '\x66' + chr(0b101101) + chr(0b101 + 0o63)), roI3spqORKae(ES5oEprVxulp(b"\x17\xed\xcb\x97\x8f\x13_7['"), chr(0b1100100) + chr(2491 - 2390) + '\143' + chr(0b1001111 + 0o40) + chr(0b11001 + 0o113) + chr(101))('\x75' + chr(0b1101010 + 0o12) + chr(9041 - 8939) + chr(45) + '\x38')]], how=roI3spqORKae(ES5oEprVxulp(b'\x1d\xec\xd7\x97\xa2'), '\x64' + '\x65' + chr(3015 - 2916) + chr(0b1101111) + chr(0b1100100) + chr(6439 - 6338))(chr(0b1001111 + 0o46) + chr(0b111101 + 0o67) + '\x66' + chr(0b101101) + chr(2598 - 2542)), on=roI3spqORKae(ES5oEprVxulp(b'\x07\xf2\xdc\x91\xb9\x1a_)'), chr(100) + '\145' + chr(0b1100011) + chr(0b1 + 0o156) + '\144' + chr(0b1100101))(chr(0b1110101) + '\x74' + '\x66' + chr(1780 - 1735) + chr(56)))
asjRqEDl1G8V = H4NoA26ON7iG(mKnAmMvTYaH1[roI3spqORKae(ES5oEprVxulp(b'\x07\xf7\xca\x91\x8f\x14R.p9\x1e\xae-\xa5q'), chr(100) + chr(0b1100101) + chr(99) + '\157' + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + '\164' + chr(0b1100110) + chr(174 - 129) + '\x38')] * 1000000.0)
QvemRrd_uRY2 = H4NoA26ON7iG(mKnAmMvTYaH1[roI3spqORKae(ES5oEprVxulp(b"\x17\xed\xcb\x97\x8f\x13_7['"), '\x64' + chr(1827 - 1726) + chr(99) + chr(111) + '\144' + chr(0b1100101))('\165' + chr(4738 - 4622) + '\x66' + '\055' + chr(0b100110 + 0o22))])
else:
(asjRqEDl1G8V, QvemRrd_uRY2) = ([], [])
BkI1oOCrzqWc = H4NoA26ON7iG(dHJeCZaX9ihU.T.apply(znjnJWK64FDT))
if ftfygxgFas5X(asjRqEDl1G8V) > nzTpIcepk0o8(chr(0b100100 + 0o14) + chr(111) + chr(1851 - 1803), 8):
TMJnll0gEl9b = XURpmPuEWCNF(asjRqEDl1G8V)
cCpCZfVols23 = KV9ckIhroIia(asjRqEDl1G8V)
ikxkW8dy4ZA_ = roI3spqORKae(ES5oEprVxulp(b'0\xe7\xc9\x86\xb8W\x12*\x06'), '\x64' + chr(8778 - 8677) + '\143' + '\x6f' + chr(100) + chr(5591 - 5490))(chr(0b101111 + 0o106) + chr(116) + '\146' + chr(0b11000 + 0o25) + chr(0b101010 + 0o16))
if ftfygxgFas5X(BkI1oOCrzqWc) > nzTpIcepk0o8(chr(2198 - 2150) + chr(3118 - 3007) + chr(48), 8):
y87dwGy_Qoj4 = BkI1oOCrzqWc[nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(48), 8)].GUKetu4xaGsJ(roI3spqORKae(ES5oEprVxulp(b'\x18\xed\xda\x93\xa4\x1eU)'), chr(0b101101 + 0o67) + chr(0b110111 + 0o56) + chr(0b1100011) + '\x6f' + '\x64' + '\x65')('\x75' + '\164' + chr(0b1011000 + 0o16) + chr(1667 - 1622) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\x01\xec\xd2\x9c\xbf\x00T'), chr(0b1100011 + 0o1) + '\145' + chr(0b111101 + 0o46) + chr(111) + chr(100) + chr(2051 - 1950))('\165' + chr(0b1100010 + 0o22) + '\146' + '\x2d' + chr(56)))
if roI3spqORKae(RYEhqzIVZREo, roI3spqORKae(ES5oEprVxulp(b'\x1d\xf1\xe6\x9c\xa5\x1bV'), chr(100) + chr(0b10100 + 0o121) + chr(0b10100 + 0o117) + '\x6f' + '\x64' + chr(6564 - 6463))('\x75' + chr(116) + chr(0b11001 + 0o115) + chr(45) + chr(209 - 153)))(y87dwGy_Qoj4):
y87dwGy_Qoj4 = roI3spqORKae(ES5oEprVxulp(b'\x01\xec\xd2\x9c\xbf\x00T'), chr(100) + chr(0b100101 + 0o100) + chr(0b10100 + 0o117) + '\x6f' + chr(0b1011101 + 0o7) + '\x65')(chr(5337 - 5220) + chr(11794 - 11678) + '\146' + '\x2d' + '\x38')
try:
y87dwGy_Qoj4 = D3H9MFOOog2W.tables[roI3spqORKae(ES5oEprVxulp(b'\x07\xeb\xcd\x97\xa3'), chr(0b1100100) + '\145' + '\143' + chr(0b1101111) + chr(100) + '\x65')(chr(117) + chr(0b1110100) + chr(102) + '\055' + '\x38')].jpOn8DNZxbbx[roI3spqORKae(ES5oEprVxulp(b'\x18\xed\xda\x93\xa4\x1eU)'), chr(0b10011 + 0o121) + chr(0b1100101) + chr(9054 - 8955) + chr(9820 - 9709) + chr(0b100011 + 0o101) + chr(6535 - 6434))('\165' + chr(116) + chr(0b1100110) + chr(1394 - 1349) + chr(56))][nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(48), 8)]
except knUxyjfq07F9:
pass
else:
return (nzTpIcepk0o8(chr(2082 - 2034) + chr(1079 - 968) + chr(2148 - 2100), 8), roI3spqORKae(ES5oEprVxulp(b'\x1a\xed\x99\x96\xb1\x03[g[ Q\xb24\xa7`'), chr(100) + chr(0b1001010 + 0o33) + chr(99) + chr(0b1101111) + chr(100) + chr(101))(chr(0b1110101) + chr(0b1110100) + '\146' + chr(0b111 + 0o46) + '\x38'))
(LWpSiDWF2mYx, LilUF_VRtbz6, W_8Lmf0Kmub8, TDEabdhZd_nn, Q172BoscobXP, mOo9OqMgUnvf, yhfncZYmkEhN) = ([], [], [], [], [], [], [])
iGTeJCRaafZZ = []
a35B9fCTPvBO = []
if ftfygxgFas5X(asjRqEDl1G8V) > nzTpIcepk0o8(chr(1659 - 1611) + chr(0b1101111) + '\x30', 8):
rVXviMgDUC9h += nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x31', 8)
BkI1oOCrzqWc = hUcsWwAd0nE_.get_dictitem(BkI1oOCrzqWc, roI3spqORKae(ES5oEprVxulp(b'\x15\xec\xd0\x81\xbf(I'), chr(0b1100100) + chr(0b110101 + 0o60) + chr(99) + chr(111) + chr(100) + chr(101))('\165' + chr(0b1001111 + 0o45) + chr(102) + '\055' + chr(1111 - 1055)), roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(0b110110 + 0o57) + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + chr(0b1000111 + 0o36))(chr(1621 - 1504) + chr(0b1110100) + '\x66' + '\055' + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\x1a\xed\xcd\xad\xbe\x02V+'), chr(1292 - 1192) + chr(101) + chr(3117 - 3018) + '\157' + chr(0b1100100) + chr(0b1011100 + 0o11))('\165' + chr(0b1110100) + chr(4579 - 4477) + chr(45) + chr(0b111000)))
tFOhqVIt92dn = hUcsWwAd0nE_.get_dictkey(BkI1oOCrzqWc, roI3spqORKae(ES5oEprVxulp(b'\x15\xec\xd0\x81\xbf(I'), chr(0b10000 + 0o124) + chr(101) + chr(8860 - 8761) + chr(1284 - 1173) + chr(1425 - 1325) + chr(0b1000111 + 0o36))(chr(117) + '\164' + chr(3371 - 3269) + chr(0b101101) + '\x38'), roI3spqORKae(ES5oEprVxulp(b''), chr(6636 - 6536) + chr(0b110000 + 0o65) + chr(99) + chr(111) + chr(6745 - 6645) + '\145')('\x75' + chr(0b101000 + 0o114) + '\146' + chr(0b1101 + 0o40) + '\x38'))
tFOhqVIt92dn = [AQ9ceR9AaoT1.LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'N'), '\x64' + '\x65' + chr(2942 - 2843) + chr(0b11110 + 0o121) + '\x64' + '\145')(chr(117) + chr(0b1110100) + chr(102) + '\x2d' + '\x38')) for AQ9ceR9AaoT1 in tFOhqVIt92dn if AQ9ceR9AaoT1 is not None]
tZbys_8L0QgH = [jLW6pRf2DSRk(AQ9ceR9AaoT1[nzTpIcepk0o8(chr(1196 - 1148) + chr(0b1101111) + chr(473 - 425), 8)]) for AQ9ceR9AaoT1 in tFOhqVIt92dn]
RWtImVdanJMG = [jLW6pRf2DSRk(AQ9ceR9AaoT1[nzTpIcepk0o8(chr(0b101 + 0o53) + chr(0b1011011 + 0o24) + chr(49), 8)]) for AQ9ceR9AaoT1 in tFOhqVIt92dn]
t1hlNBwNeEI6 = [jLW6pRf2DSRk(AQ9ceR9AaoT1[nzTpIcepk0o8(chr(0b110000) + chr(0b1000000 + 0o57) + '\062', 0b1000)]) for AQ9ceR9AaoT1 in tFOhqVIt92dn]
t1Y8gL9mSKqu = [jLW6pRf2DSRk(AQ9ceR9AaoT1[nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(2092 - 2041), 19774 - 19766)]) for AQ9ceR9AaoT1 in tFOhqVIt92dn]
c9E23QAHeujY = [jLW6pRf2DSRk(AQ9ceR9AaoT1[nzTpIcepk0o8(chr(48) + '\157' + chr(751 - 699), 8)]) for AQ9ceR9AaoT1 in tFOhqVIt92dn]
lVmGlpAh0S0U = [jLW6pRf2DSRk(AQ9ceR9AaoT1[nzTpIcepk0o8(chr(48) + chr(0b1001110 + 0o41) + chr(2183 - 2130), 0b1000)]) for AQ9ceR9AaoT1 in tFOhqVIt92dn]
qUaZvGk7rxFw = hUcsWwAd0nE_.get_dictkey(BkI1oOCrzqWc, roI3spqORKae(ES5oEprVxulp(b'\x15\xec\xd0\x81\xbf(I\x18A\x10\x1c\xa79\xbba\xca\x16?;T\xdc\xf3'), chr(0b1100100) + chr(101) + chr(0b1100011) + '\157' + '\x64' + '\x65')(chr(0b1110101) + chr(13176 - 13060) + chr(0b1000001 + 0o45) + '\055' + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\x1d\xec\xcd'), chr(100) + chr(0b1010100 + 0o21) + chr(0b1 + 0o142) + '\157' + chr(2037 - 1937) + chr(0b1100101))('\x75' + chr(8054 - 7938) + '\146' + chr(45) + chr(0b11111 + 0o31)))
uc4gGmjAvJP3 = hUcsWwAd0nE_.get_dictkey(BkI1oOCrzqWc, roI3spqORKae(ES5oEprVxulp(b'\x15\xec\xd0\x81\xbf(I\x18\\&\x16\xaf9'), '\x64' + chr(101) + '\x63' + '\x6f' + chr(0b111111 + 0o45) + chr(0b1001000 + 0o35))(chr(117) + chr(0b1110100) + chr(0b1100110) + chr(0b10001 + 0o34) + chr(1013 - 957)), roI3spqORKae(ES5oEprVxulp(b'\x12'), chr(100) + '\x65' + chr(0b1100011) + chr(0b1000011 + 0o54) + chr(100) + '\x65')('\x75' + '\x74' + chr(9311 - 9209) + chr(0b100100 + 0o11) + chr(0b111000)))
LWpSiDWF2mYx = hUcsWwAd0nE_.get_dictkey(BkI1oOCrzqWc, roI3spqORKae(ES5oEprVxulp(b"\x17\xed\xcb\x97\x8f\x13_7['"), '\x64' + chr(0b1100011 + 0o2) + chr(0b1000100 + 0o37) + '\x6f' + chr(0b1100100) + chr(101))(chr(117) + chr(0b1001000 + 0o54) + chr(0b1001001 + 0o35) + '\x2d' + '\070'), roI3spqORKae(ES5oEprVxulp(b'\x12'), chr(100) + '\145' + chr(6646 - 6547) + '\x6f' + chr(0b101110 + 0o66) + '\145')('\x75' + chr(0b101101 + 0o107) + '\146' + chr(0b101101) + '\070'))
HgFdy4pMURor = nDF4gVNx0u9Q.array([tZbys_8L0QgH, RWtImVdanJMG, t1hlNBwNeEI6, t1Y8gL9mSKqu, c9E23QAHeujY, lVmGlpAh0S0U]).transpose()
for B6UAF1zReOyJ in bbT2xIe5pzk7(ftfygxgFas5X(LWpSiDWF2mYx)):
G8tc4lB1X1ze = hUcsWwAd0nE_.dohext(qUaZvGk7rxFw[B6UAF1zReOyJ] - nzTpIcepk0o8(chr(1734 - 1686) + '\157' + '\066', 0o10), uc4gGmjAvJP3[B6UAF1zReOyJ], HgFdy4pMURor[B6UAF1zReOyJ])
roI3spqORKae(Q172BoscobXP, roI3spqORKae(ES5oEprVxulp(b'<\xd6\xea\xc6\xa8\x10}(E $\xf7'), chr(0b1100100) + '\x65' + chr(0b111111 + 0o44) + '\157' + '\x64' + '\145')(chr(1513 - 1396) + chr(0b100000 + 0o124) + chr(0b111 + 0o137) + chr(981 - 936) + chr(0b10110 + 0o42)))(G8tc4lB1X1ze[roI3spqORKae(ES5oEprVxulp(b'\x02\xb1\xe6\x9b\xbe\x14'), chr(7764 - 7664) + chr(101) + chr(0b1011 + 0o130) + chr(3928 - 3817) + chr(1456 - 1356) + chr(9461 - 9360))(chr(0b1110101) + chr(0b1110100) + chr(0b101000 + 0o76) + '\x2d' + chr(56))])
roI3spqORKae(yhfncZYmkEhN, roI3spqORKae(ES5oEprVxulp(b'<\xd6\xea\xc6\xa8\x10}(E $\xf7'), '\144' + '\145' + chr(0b100101 + 0o76) + chr(111) + chr(0b111100 + 0o50) + chr(0b1100101))(chr(0b1110101) + chr(0b110011 + 0o101) + chr(102) + chr(0b101101) + chr(538 - 482)))(G8tc4lB1X1ze[roI3spqORKae(ES5oEprVxulp(b'\x02\xb3\xe6\x96\xb5\x14'), chr(5346 - 5246) + '\145' + '\143' + chr(2036 - 1925) + chr(0b101110 + 0o66) + chr(4164 - 4063))(chr(3053 - 2936) + chr(649 - 533) + '\146' + chr(0b101101 + 0o0) + chr(56))])
roI3spqORKae(LilUF_VRtbz6, roI3spqORKae(ES5oEprVxulp(b'<\xd6\xea\xc6\xa8\x10}(E $\xf7'), chr(2352 - 2252) + chr(0b1100101) + '\143' + chr(4240 - 4129) + '\144' + chr(3637 - 3536))('\x75' + chr(0b100110 + 0o116) + chr(9144 - 9042) + chr(45) + chr(56)))(G8tc4lB1X1ze[roI3spqORKae(ES5oEprVxulp(b'\x00\xb3'), chr(0b11010 + 0o112) + chr(0b1100101) + chr(99) + chr(8904 - 8793) + chr(5741 - 5641) + chr(0b1100101))(chr(3536 - 3419) + '\x74' + chr(102) + chr(0b101101) + '\070')])
roI3spqORKae(W_8Lmf0Kmub8, roI3spqORKae(ES5oEprVxulp(b'<\xd6\xea\xc6\xa8\x10}(E $\xf7'), chr(0b1100100) + chr(0b1100101) + chr(4635 - 4536) + '\x6f' + chr(0b1100 + 0o130) + chr(0b1100101))(chr(0b101000 + 0o115) + '\164' + chr(1746 - 1644) + chr(0b101101) + chr(0b101 + 0o63)))(G8tc4lB1X1ze[roI3spqORKae(ES5oEprVxulp(b'\x00\xb0'), chr(100) + chr(101) + chr(0b1100011) + chr(0b1101111) + chr(7389 - 7289) + '\145')(chr(8387 - 8270) + chr(116) + '\146' + '\x2d' + chr(0b111000))])
roI3spqORKae(TDEabdhZd_nn, roI3spqORKae(ES5oEprVxulp(b'<\xd6\xea\xc6\xa8\x10}(E $\xf7'), '\x64' + '\x65' + chr(0b1000000 + 0o43) + '\x6f' + chr(100) + chr(0b1100101))(chr(0b1110101) + chr(3282 - 3166) + '\x66' + chr(45) + chr(0b111000)))(G8tc4lB1X1ze[roI3spqORKae(ES5oEprVxulp(b'\x00\xb1'), '\x64' + chr(101) + '\x63' + '\157' + chr(0b1001 + 0o133) + chr(9387 - 9286))(chr(117) + '\164' + '\146' + '\055' + chr(56))])
roI3spqORKae(mOo9OqMgUnvf, roI3spqORKae(ES5oEprVxulp(b'<\xd6\xea\xc6\xa8\x10}(E $\xf7'), chr(0b1100100) + chr(0b110 + 0o137) + '\x63' + chr(0b1101111) + '\144' + '\x65')(chr(6609 - 6492) + chr(116) + chr(102) + chr(1070 - 1025) + '\x38'))(SVfYwQaP38MC(LilUF_VRtbz6[-nzTpIcepk0o8(chr(48) + '\157' + '\x31', 8)], TDEabdhZd_nn[-nzTpIcepk0o8('\060' + '\x6f' + '\061', 8)]))
roI3spqORKae(iGTeJCRaafZZ, roI3spqORKae(ES5oEprVxulp(b'<\xd6\xea\xc6\xa8\x10}(E $\xf7'), chr(0b1100100) + chr(101) + '\x63' + '\157' + '\x64' + '\145')('\165' + '\164' + '\x66' + '\055' + chr(0b11000 + 0o40)))(G8tc4lB1X1ze[roI3spqORKae(ES5oEprVxulp(b'2\xb0\x8a'), '\144' + chr(0b1100101) + chr(0b101000 + 0o73) + chr(111) + '\144' + chr(101))('\x75' + '\x74' + chr(102) + '\x2d' + chr(1648 - 1592))])
if ftfygxgFas5X(LWpSiDWF2mYx) > nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\x30', 8):
if vrYAlPlCS8EO == -nzTpIcepk0o8(chr(1129 - 1081) + '\157' + '\061', 8):
vrYAlPlCS8EO = KV9ckIhroIia(LWpSiDWF2mYx)
Hg_KJkMRv5EQ = XURpmPuEWCNF(LWpSiDWF2mYx)
q6QUFdjo1gs1 = nzTpIcepk0o8('\060' + chr(0b1001010 + 0o45) + chr(1275 - 1226), 8)
for h3Vc_4wxEbgd in TDEabdhZd_nn:
if h3Vc_4wxEbgd > nzTpIcepk0o8(chr(48) + '\157' + chr(48), 8) and h3Vc_4wxEbgd < q6QUFdjo1gs1:
q6QUFdjo1gs1 = h3Vc_4wxEbgd
W7_Da_XXma_z = KV9ckIhroIia(LilUF_VRtbz6)
Zv52BPAoqx4D = KV9ckIhroIia(mOo9OqMgUnvf)
u_iGRT9F3yGe = XURpmPuEWCNF(mOo9OqMgUnvf)
CIb4KLJ7bueR = Z7HGgmIyegqz.es0Z6dzChSL5(nzTpIcepk0o8(chr(2178 - 2130) + chr(111) + chr(0b100100 + 0o15), 8), figsize=(nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b100011 + 0o16) + '\x33', ord("\x08")), nzTpIcepk0o8('\x30' + chr(4476 - 4365) + chr(0b10001 + 0o46), 0o10)))
uNg9Yeq376oN = hUcsWwAd0nE_.get_version()
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\x12\xeb\xde\x86\xb5\x0fN'), chr(0b101110 + 0o66) + chr(9052 - 8951) + chr(0b110010 + 0o61) + chr(0b1101111) + chr(0b1100100) + chr(0b1100101))(chr(0b100100 + 0o121) + '\x74' + chr(0b100000 + 0o106) + chr(0b101101) + chr(56)))(0.02, 0.01, uNg9Yeq376oN)
ZtB7KOLCW2Hk = Z7HGgmIyegqz.subplot(nzTpIcepk0o8(chr(1266 - 1218) + '\x6f' + chr(0b110 + 0o53), 8), rVXviMgDUC9h, nzTpIcepk0o8(chr(1271 - 1223) + '\157' + chr(506 - 457), 8))
roI3spqORKae(a35B9fCTPvBO, roI3spqORKae(ES5oEprVxulp(b'<\xd6\xea\xc6\xa8\x10}(E $\xf7'), '\144' + chr(101) + chr(0b1100011) + '\157' + chr(100) + chr(9385 - 9284))('\x75' + chr(0b1110100) + chr(7988 - 7886) + chr(45) + '\x38'))(ZtB7KOLCW2Hk)
roI3spqORKae(ZtB7KOLCW2Hk, roI3spqORKae(ES5oEprVxulp(b'\x04\xee\xd6\x86'), chr(100) + chr(0b100100 + 0o101) + chr(99) + chr(0b1101111) + chr(0b11 + 0o141) + chr(0b11100 + 0o111))(chr(8900 - 8783) + chr(116) + '\x66' + chr(0b100011 + 0o12) + chr(56)))(LilUF_VRtbz6, LWpSiDWF2mYx, roI3spqORKae(ES5oEprVxulp(b'\x06\xf1'), chr(100) + chr(0b11101 + 0o110) + chr(1648 - 1549) + chr(0b1101111) + chr(0b1100100) + '\x65')('\x75' + '\x74' + chr(0b100 + 0o142) + chr(45) + chr(0b111000)))
roI3spqORKae(ZtB7KOLCW2Hk, roI3spqORKae(ES5oEprVxulp(b'\x04\xee\xd6\x86'), '\x64' + chr(101) + '\x63' + chr(0b100110 + 0o111) + chr(100) + chr(101))('\165' + '\x74' + '\x66' + chr(45) + '\x38'))(W_8Lmf0Kmub8, LWpSiDWF2mYx, roI3spqORKae(ES5oEprVxulp(b'\x16\xdc'), '\x64' + '\145' + chr(0b100001 + 0o102) + chr(0b1101111) + chr(0b1100100 + 0o0) + chr(101))('\x75' + '\x74' + '\x66' + chr(45) + chr(0b111000)))
roI3spqORKae(ZtB7KOLCW2Hk, roI3spqORKae(ES5oEprVxulp(b'\x04\xee\xd6\x86'), '\x64' + chr(101) + chr(2692 - 2593) + chr(0b1101111) + '\144' + '\145')('\x75' + '\x74' + chr(102) + chr(912 - 867) + '\x38'))(TDEabdhZd_nn, LWpSiDWF2mYx, roI3spqORKae(ES5oEprVxulp(b'\x1f\xed'), chr(0b1011010 + 0o12) + '\145' + chr(99) + chr(0b100 + 0o153) + chr(5366 - 5266) + chr(0b100 + 0o141))(chr(7416 - 7299) + chr(9593 - 9477) + chr(102) + chr(0b10001 + 0o34) + chr(56)))
if cuJmomB0XH13:
for UH0YjwuI_XzX in UjxwtHwihe1B:
if UH0YjwuI_XzX >= Hg_KJkMRv5EQ and UH0YjwuI_XzX < vrYAlPlCS8EO:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\x15\xfa\xd1\x9e\xb9\x19_'), '\144' + '\145' + chr(0b111001 + 0o52) + chr(5845 - 5734) + '\144' + '\145')('\x75' + '\x74' + chr(3331 - 3229) + '\055' + chr(353 - 297)))(UH0YjwuI_XzX, color=roI3spqORKae(ES5oEprVxulp(b'\x16\xee\xcc\x97'), chr(8165 - 8065) + '\x65' + '\143' + '\x6f' + chr(0b1100100) + '\x65')(chr(13346 - 13229) + chr(0b1100000 + 0o24) + chr(0b1111 + 0o127) + chr(45) + chr(2174 - 2118)), linestyle=roI3spqORKae(ES5oEprVxulp(b'\x10\xed\xcd\x86\xb5\x13'), chr(6018 - 5918) + '\x65' + '\143' + '\157' + '\x64' + chr(0b11 + 0o142))('\165' + '\164' + '\x66' + chr(45) + chr(1463 - 1407)))
if q6QUFdjo1gs1 > 0.3:
q6QUFdjo1gs1 = 0.3
if W7_Da_XXma_z < 0.36:
W7_Da_XXma_z = 0.36
roI3spqORKae(ZtB7KOLCW2Hk, roI3spqORKae(ES5oEprVxulp(b'>\xc6\x80\xc2\xe2\x07L>l\x039\xf3'), chr(3428 - 3328) + chr(0b1100101) + chr(0b10100 + 0o117) + chr(0b101100 + 0o103) + '\x64' + chr(7612 - 7511))(chr(0b1110101) + chr(5200 - 5084) + chr(0b1100110) + chr(45) + chr(2177 - 2121)))([q6QUFdjo1gs1, W7_Da_XXma_z, vrYAlPlCS8EO, Hg_KJkMRv5EQ])
roI3spqORKae(ZtB7KOLCW2Hk, roI3spqORKae(ES5oEprVxulp(b'\x07\xe7\xcd\xad\xa8\x1b[%J#'), chr(0b1100100) + chr(0b1100101) + chr(99) + chr(0b110000 + 0o77) + chr(0b1010100 + 0o20) + '\x65')(chr(0b1110101) + chr(0b1110100) + '\146' + chr(1078 - 1033) + chr(56)))(roI3spqORKae(ES5oEprVxulp(b'1\xeb\xde\x97\xbe\x01[+Z*\x02'), chr(0b1100011 + 0o1) + chr(8956 - 8855) + chr(99) + chr(0b111 + 0o150) + chr(100) + chr(101))(chr(0b1110101) + chr(4861 - 4745) + '\x66' + chr(533 - 488) + '\x38'))
if H1WMyWd7nBfT == roI3spqORKae(ES5oEprVxulp(b"\x17\xed\xcb\x97\x8f\x13_7['"), chr(0b111011 + 0o51) + chr(101) + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(3047 - 2946))(chr(10686 - 10569) + '\164' + '\x66' + '\055' + chr(56)):
roI3spqORKae(ZtB7KOLCW2Hk, roI3spqORKae(ES5oEprVxulp(b'\x07\xe7\xcd\xad\xa9\x1b[%J#'), chr(0b1100100) + chr(6162 - 6061) + chr(0b1100011) + '\x6f' + chr(885 - 785) + chr(101))(chr(0b1110101) + '\x74' + chr(0b11100 + 0o112) + '\x2d' + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b'0\xe7\xc9\x86\xb8W\x12*M<\x17\xeb'), chr(100) + chr(101) + chr(0b110010 + 0o61) + chr(0b1101111) + '\x64' + '\x65')('\x75' + '\x74' + '\146' + '\x2d' + '\x38'))
elif H1WMyWd7nBfT == roI3spqORKae(ES5oEprVxulp(b'\x15\xe5\xdc'), chr(100) + chr(9034 - 8933) + chr(3997 - 3898) + '\157' + chr(100) + chr(101))('\x75' + '\164' + chr(0b100111 + 0o77) + '\x2d' + '\x38'):
roI3spqORKae(ZtB7KOLCW2Hk, roI3spqORKae(ES5oEprVxulp(b'\x07\xe7\xcd\xad\xa9\x1b[%J#'), '\x64' + chr(101) + chr(99) + chr(0b1010000 + 0o37) + chr(0b1111 + 0o125) + chr(0b110 + 0o137))(chr(117) + chr(0b1110100) + chr(2700 - 2598) + chr(0b101101) + '\070'))(roI3spqORKae(ES5oEprVxulp(b'5\xe5\xdc\xd2\xf8'), chr(100) + chr(0b1010101 + 0o20) + '\143' + chr(0b11101 + 0o122) + '\x64' + chr(101))(chr(4153 - 4036) + chr(0b1110100) + chr(7681 - 7579) + chr(0b101101) + '\070') + VhDf1UQHyIoF + roI3spqORKae(ES5oEprVxulp(b']'), chr(882 - 782) + chr(101) + '\x63' + '\157' + '\x64' + chr(0b1001101 + 0o30))(chr(0b1000011 + 0o62) + chr(0b1110100) + chr(0b1100011 + 0o3) + '\x2d' + chr(0b100011 + 0o25)))
else:
roI3spqORKae(ZtB7KOLCW2Hk, roI3spqORKae(ES5oEprVxulp(b'\x07\xe7\xcd\xad\xa9\x1b[%J#'), chr(0b1100100) + '\x65' + '\x63' + chr(0b101 + 0o152) + '\x64' + chr(923 - 822))(chr(0b110010 + 0o103) + chr(5433 - 5317) + chr(3450 - 3348) + chr(0b101011 + 0o2) + '\x38'))(roI3spqORKae(ES5oEprVxulp(b'0\xe7\xc9\x86\xb8W\x12*L+X'), chr(100) + chr(0b101 + 0o140) + '\143' + chr(0b1101111) + '\x64' + chr(0b100100 + 0o101))('\x75' + '\164' + chr(0b1100110) + chr(45) + chr(640 - 584)))
PovpLx9Ei7oG = Z7HGgmIyegqz.subplot(nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(969 - 920), 8), rVXviMgDUC9h, nzTpIcepk0o8('\060' + chr(111) + chr(0b110010), 8))
roI3spqORKae(PovpLx9Ei7oG.yaxis, roI3spqORKae(ES5oEprVxulp(b'\x07\xe7\xcd\xad\xbd\x16P(]\x10\x1d\xad;\xa9`\xd7\x01'), chr(100) + chr(0b1000110 + 0o37) + chr(99) + chr(4817 - 4706) + chr(998 - 898) + chr(101))('\x75' + chr(0b1110100) + '\146' + chr(0b101000 + 0o5) + chr(1629 - 1573)))(roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b':\xf7\xd5\x9e\x9c\x18Y&[ \x03'), chr(5755 - 5655) + '\145' + chr(0b1100011) + '\x6f' + '\144' + '\145')(chr(6942 - 6825) + chr(2534 - 2418) + chr(102) + '\x2d' + chr(0b111000)))())
roI3spqORKae(PovpLx9Ei7oG, roI3spqORKae(ES5oEprVxulp(b'\x04\xee\xd6\x86'), '\x64' + chr(101) + chr(0b11011 + 0o110) + chr(4112 - 4001) + chr(0b101101 + 0o67) + '\145')('\165' + chr(6450 - 6334) + chr(102) + chr(45) + '\x38'))(mOo9OqMgUnvf, LWpSiDWF2mYx, roI3spqORKae(ES5oEprVxulp(b'\x06\xf1'), chr(0b1011100 + 0o10) + chr(0b1100101) + chr(99) + chr(0b10110 + 0o131) + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + '\x66' + chr(1953 - 1908) + '\x38'))
roI3spqORKae(PovpLx9Ei7oG, roI3spqORKae(ES5oEprVxulp(b'>\xc6\x80\xc2\xe2\x07L>l\x039\xf3'), '\x64' + '\145' + '\143' + chr(0b1001 + 0o146) + chr(100) + chr(101))(chr(0b1010110 + 0o37) + '\164' + chr(0b1100110) + '\x2d' + chr(0b10000 + 0o50)))([u_iGRT9F3yGe, Zv52BPAoqx4D, vrYAlPlCS8EO, Hg_KJkMRv5EQ])
roI3spqORKae(PovpLx9Ei7oG, roI3spqORKae(ES5oEprVxulp(b'\x07\xe7\xcd\xad\xa8\x1b[%J#'), '\144' + '\x65' + '\143' + '\157' + chr(0b1100100) + chr(9574 - 9473))(chr(0b1101101 + 0o10) + chr(116) + '\146' + '\055' + chr(1955 - 1899)))(roI3spqORKae(ES5oEprVxulp(b'$'), chr(100) + chr(101) + chr(0b10001 + 0o122) + '\x6f' + chr(0b11110 + 0o106) + chr(0b1100101))(chr(4596 - 4479) + chr(10433 - 10317) + chr(0b1100110) + '\055' + '\070'))
roI3spqORKae(PovpLx9Ei7oG, roI3spqORKae(ES5oEprVxulp(b'\x07\xe7\xcd\xad\xa4\x1eN+J'), '\x64' + '\145' + chr(3468 - 3369) + '\x6f' + '\144' + '\145')('\165' + '\x74' + '\146' + chr(0b100000 + 0o15) + chr(0b111000)))(y87dwGy_Qoj4)
if cuJmomB0XH13:
for UH0YjwuI_XzX in UjxwtHwihe1B:
if UH0YjwuI_XzX >= Hg_KJkMRv5EQ and UH0YjwuI_XzX < vrYAlPlCS8EO:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\x15\xfa\xd1\x9e\xb9\x19_'), chr(4113 - 4013) + chr(0b1001001 + 0o34) + chr(0b1000111 + 0o34) + '\157' + '\144' + chr(0b11011 + 0o112))(chr(0b1 + 0o164) + chr(116) + '\146' + chr(45) + chr(0b10101 + 0o43)))(UH0YjwuI_XzX, color=roI3spqORKae(ES5oEprVxulp(b'\x16\xee\xcc\x97'), '\144' + chr(0b1100101) + chr(7961 - 7862) + '\157' + chr(0b1001000 + 0o34) + '\x65')(chr(10431 - 10314) + chr(0b1110100) + '\146' + chr(0b101101) + chr(0b1111 + 0o51)), linestyle=roI3spqORKae(ES5oEprVxulp(b'\x10\xed\xcd\x86\xb5\x13'), chr(0b1100100) + chr(9676 - 9575) + chr(99) + chr(0b1101111) + '\x64' + chr(101))('\x75' + chr(0b1110100) + chr(0b1100000 + 0o6) + chr(45) + chr(0b111000)))
roI3spqORKae(a35B9fCTPvBO, roI3spqORKae(ES5oEprVxulp(b'<\xd6\xea\xc6\xa8\x10}(E $\xf7'), '\144' + chr(3396 - 3295) + chr(99) + chr(111) + chr(0b11100 + 0o110) + chr(8301 - 8200))(chr(0b101 + 0o160) + chr(0b1010110 + 0o36) + '\x66' + chr(826 - 781) + chr(806 - 750)))(PovpLx9Ei7oG)
kLCgYOR0wWvU = Z7HGgmIyegqz.subplot(nzTpIcepk0o8(chr(431 - 383) + '\x6f' + chr(0b110001), 8), rVXviMgDUC9h, nzTpIcepk0o8(chr(1966 - 1918) + chr(111) + chr(0b110011), 8))
roI3spqORKae(a35B9fCTPvBO, roI3spqORKae(ES5oEprVxulp(b'<\xd6\xea\xc6\xa8\x10}(E $\xf7'), chr(0b1100100) + chr(101) + chr(1206 - 1107) + chr(111) + '\x64' + '\x65')(chr(2278 - 2161) + chr(7083 - 6967) + chr(8703 - 8601) + '\x2d' + chr(56)))(kLCgYOR0wWvU)
roI3spqORKae(kLCgYOR0wWvU, roI3spqORKae(ES5oEprVxulp(b'\x04\xee\xd6\x86'), chr(0b1100100) + '\145' + chr(99) + chr(7829 - 7718) + '\144' + chr(2590 - 2489))(chr(117) + '\164' + chr(1410 - 1308) + chr(45) + '\x38'))(Q172BoscobXP, LWpSiDWF2mYx, roI3spqORKae(ES5oEprVxulp(b'\x1f\xed'), chr(100) + chr(101) + '\143' + chr(0b1101111) + chr(0b101100 + 0o70) + '\x65')('\x75' + chr(0b1110100) + chr(5309 - 5207) + chr(45) + chr(56)))
roI3spqORKae(kLCgYOR0wWvU, roI3spqORKae(ES5oEprVxulp(b'>\xc6\x80\xc2\xe2\x07L>l\x039\xf3'), chr(881 - 781) + chr(0b1100101) + chr(99) + '\x6f' + chr(100) + chr(0b1001000 + 0o35))('\x75' + chr(0b1110100) + '\146' + '\055' + chr(2338 - 2282)))([nzTpIcepk0o8('\060' + chr(8807 - 8696) + '\060', 8), nzTpIcepk0o8(chr(48) + chr(111) + chr(100 - 51) + chr(0b1001 + 0o52) + '\062', ord("\x08")), vrYAlPlCS8EO, Hg_KJkMRv5EQ])
roI3spqORKae(kLCgYOR0wWvU, roI3spqORKae(ES5oEprVxulp(b'\x07\xe7\xcd\xad\xa8\x1b[%J#'), chr(100) + chr(101) + chr(6024 - 5925) + '\157' + '\x64' + '\145')(chr(117) + chr(4970 - 4854) + '\146' + chr(0b101101) + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b'"\xb1\x99\xbb\xbe\x14V.A.\x05\xab7\xa6'), '\x64' + chr(4680 - 4579) + '\x63' + chr(7512 - 7401) + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + chr(11155 - 11039) + '\146' + chr(0b101101) + '\070'))
roI3spqORKae(kLCgYOR0wWvU.yaxis, roI3spqORKae(ES5oEprVxulp(b'\x07\xe7\xcd\xad\xbd\x16P(]\x10\x1d\xad;\xa9`\xd7\x01'), chr(100) + chr(0b1100101) + chr(99) + '\157' + chr(0b1100100) + chr(101))(chr(0b1011100 + 0o31) + '\164' + chr(10199 - 10097) + chr(0b1 + 0o54) + chr(0b100101 + 0o23)))(roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b':\xf7\xd5\x9e\x9c\x18Y&[ \x03'), chr(0b1100 + 0o130) + chr(241 - 140) + '\143' + chr(4685 - 4574) + '\144' + chr(0b111 + 0o136))(chr(0b1110001 + 0o4) + chr(116) + chr(0b1010110 + 0o20) + chr(45) + '\x38'))())
if cuJmomB0XH13:
for UH0YjwuI_XzX in UjxwtHwihe1B:
if UH0YjwuI_XzX >= Hg_KJkMRv5EQ and UH0YjwuI_XzX < vrYAlPlCS8EO:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\x15\xfa\xd1\x9e\xb9\x19_'), chr(0b1000010 + 0o42) + chr(101) + chr(0b11010 + 0o111) + chr(0b111011 + 0o64) + chr(0b1100100) + chr(101))(chr(0b1 + 0o164) + chr(0b1110100) + chr(102) + chr(0b1001 + 0o44) + '\x38'))(UH0YjwuI_XzX, color=roI3spqORKae(ES5oEprVxulp(b'\x16\xee\xcc\x97'), chr(0b1100100) + '\x65' + '\143' + chr(0b1101111) + chr(0b1111 + 0o125) + chr(0b1100101 + 0o0))(chr(9453 - 9336) + '\164' + '\146' + chr(0b101101) + chr(0b101010 + 0o16)), linestyle=roI3spqORKae(ES5oEprVxulp(b'\x10\xed\xcd\x86\xb5\x13'), '\144' + chr(0b1010011 + 0o22) + chr(1777 - 1678) + chr(7960 - 7849) + chr(100) + chr(0b10 + 0o143))(chr(117) + '\164' + '\146' + chr(45) + chr(0b11001 + 0o37)))
lCQkXOPG4qNw = Z7HGgmIyegqz.subplot(nzTpIcepk0o8(chr(130 - 82) + chr(0b1101111) + chr(0b11100 + 0o25), 8), nDF4gVNx0u9Q.zQBGwUT7UU8L(rVXviMgDUC9h), nzTpIcepk0o8('\x30' + chr(8548 - 8437) + '\x34', 8))
roI3spqORKae(a35B9fCTPvBO, roI3spqORKae(ES5oEprVxulp(b'<\xd6\xea\xc6\xa8\x10}(E $\xf7'), '\x64' + '\x65' + chr(0b1000110 + 0o35) + chr(0b1010000 + 0o37) + chr(0b100010 + 0o102) + chr(3306 - 3205))(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(0b10011 + 0o45)))(lCQkXOPG4qNw)
roI3spqORKae(lCQkXOPG4qNw, roI3spqORKae(ES5oEprVxulp(b'\x04\xee\xd6\x86'), '\x64' + '\145' + '\x63' + '\157' + '\x64' + '\145')('\165' + chr(6053 - 5937) + '\146' + chr(45) + chr(949 - 893)))(yhfncZYmkEhN, LWpSiDWF2mYx, roI3spqORKae(ES5oEprVxulp(b'\x06\xf1'), '\x64' + chr(4512 - 4411) + chr(99) + chr(0b1101111) + chr(0b1100100) + chr(101))(chr(117) + '\x74' + '\146' + chr(1765 - 1720) + '\070'))
roI3spqORKae(lCQkXOPG4qNw, roI3spqORKae(ES5oEprVxulp(b'>\xc6\x80\xc2\xe2\x07L>l\x039\xf3'), chr(100) + '\145' + '\143' + '\x6f' + chr(0b1100100) + chr(101))(chr(117) + chr(0b1101101 + 0o7) + chr(0b1100110) + chr(45) + '\070'))([nzTpIcepk0o8(chr(0b1010 + 0o46) + chr(8766 - 8655) + chr(545 - 497), 8), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b11001 + 0o34) + chr(53) + chr(539 - 491), 0o10), vrYAlPlCS8EO, Hg_KJkMRv5EQ])
roI3spqORKae(lCQkXOPG4qNw, roI3spqORKae(ES5oEprVxulp(b'\x07\xe7\xcd\xad\xa8\x1b[%J#'), chr(0b10000 + 0o124) + chr(101) + '\x63' + chr(0b1010100 + 0o33) + chr(100) + '\145')(chr(0b100110 + 0o117) + '\x74' + chr(0b1100110) + '\x2d' + chr(1184 - 1128)))(roI3spqORKae(ES5oEprVxulp(b'"\xb3\x99\xb6\xb5\x14V.A.\x05\xab7\xa6'), '\x64' + chr(1638 - 1537) + chr(0b111000 + 0o53) + chr(0b1010010 + 0o35) + '\x64' + chr(0b1011110 + 0o7))('\165' + '\x74' + chr(0b1100110) + chr(1551 - 1506) + '\x38'))
roI3spqORKae(lCQkXOPG4qNw.yaxis, roI3spqORKae(ES5oEprVxulp(b'\x07\xe7\xcd\xad\xbd\x16P(]\x10\x1d\xad;\xa9`\xd7\x01'), chr(100) + '\145' + chr(99) + chr(111) + '\x64' + chr(0b1100101))(chr(2450 - 2333) + chr(116) + '\146' + '\x2d' + chr(1908 - 1852)))(roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b':\xf7\xd5\x9e\x9c\x18Y&[ \x03'), chr(0b1001100 + 0o30) + '\145' + chr(842 - 743) + '\x6f' + chr(2227 - 2127) + '\145')(chr(2584 - 2467) + chr(0b1011111 + 0o25) + '\x66' + '\055' + '\070'))())
if cuJmomB0XH13:
for UH0YjwuI_XzX in UjxwtHwihe1B:
if UH0YjwuI_XzX >= Hg_KJkMRv5EQ and UH0YjwuI_XzX < vrYAlPlCS8EO:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\x15\xfa\xd1\x9e\xb9\x19_'), chr(0b1100100) + '\145' + chr(9489 - 9390) + chr(0b1001000 + 0o47) + '\x64' + chr(0b11111 + 0o106))(chr(0b1110101) + chr(116) + '\x66' + '\055' + chr(0b100111 + 0o21)))(UH0YjwuI_XzX, color=roI3spqORKae(ES5oEprVxulp(b'\x16\xee\xcc\x97'), chr(100) + chr(101) + '\x63' + '\157' + chr(0b1100100) + chr(0b1100101))('\x75' + chr(116) + chr(9041 - 8939) + chr(0b1000 + 0o45) + chr(740 - 684)), linestyle=roI3spqORKae(ES5oEprVxulp(b'\x10\xed\xcd\x86\xb5\x13'), '\144' + '\x65' + '\x63' + chr(5316 - 5205) + '\144' + chr(1447 - 1346))(chr(13487 - 13370) + chr(116) + chr(8304 - 8202) + '\x2d' + chr(668 - 612)))
if rVXviMgDUC9h == nzTpIcepk0o8(chr(1642 - 1594) + chr(0b1101111) + '\065', 8):
Sxg_NleGnlce = Z7HGgmIyegqz.subplot(nzTpIcepk0o8(chr(1101 - 1053) + '\157' + '\x31', 8), rVXviMgDUC9h, nzTpIcepk0o8('\060' + chr(0b1101100 + 0o3) + chr(1370 - 1317), 8))
roI3spqORKae(a35B9fCTPvBO, roI3spqORKae(ES5oEprVxulp(b'<\xd6\xea\xc6\xa8\x10}(E $\xf7'), '\x64' + chr(0b1100101) + chr(0b1100011) + chr(5883 - 5772) + chr(0b1011110 + 0o6) + chr(0b1000 + 0o135))(chr(0b100010 + 0o123) + chr(0b1110100) + chr(6699 - 6597) + chr(0b100110 + 0o7) + chr(1889 - 1833)))(Sxg_NleGnlce)
roI3spqORKae(Sxg_NleGnlce, roI3spqORKae(ES5oEprVxulp(b'\x04\xee\xd6\x86'), '\144' + chr(8645 - 8544) + chr(99) + chr(3089 - 2978) + chr(0b1011 + 0o131) + '\x65')(chr(0b1001001 + 0o54) + chr(0b1110100) + chr(0b1100110) + '\x2d' + '\070'))(asjRqEDl1G8V, QvemRrd_uRY2, roI3spqORKae(ES5oEprVxulp(b'\x16\xed'), chr(0b1100100) + chr(7222 - 7121) + chr(99) + chr(0b101110 + 0o101) + chr(100) + '\x65')('\x75' + '\x74' + chr(9070 - 8968) + '\055' + '\x38'))
roI3spqORKae(Sxg_NleGnlce, roI3spqORKae(ES5oEprVxulp(b'>\xc6\x80\xc2\xe2\x07L>l\x039\xf3'), chr(100) + chr(2325 - 2224) + chr(99) + '\157' + chr(100) + '\x65')(chr(117) + '\x74' + chr(0b10101 + 0o121) + chr(331 - 286) + chr(0b111000)))([TMJnll0gEl9b - nzTpIcepk0o8(chr(0b1 + 0o57) + chr(0b1010011 + 0o34) + chr(0b110001), 8), 1.1 * cCpCZfVols23, vrYAlPlCS8EO, Hg_KJkMRv5EQ])
roI3spqORKae(Sxg_NleGnlce, roI3spqORKae(ES5oEprVxulp(b'\x07\xe7\xcd\xad\xa8\x1b[%J#'), '\x64' + chr(101) + '\143' + chr(10676 - 10565) + chr(0b1001010 + 0o32) + chr(0b1100101))(chr(1124 - 1007) + '\164' + '\146' + chr(0b0 + 0o55) + chr(0b101000 + 0o20)))(roI3spqORKae(ES5oEprVxulp(b'6\xf7\xd5\x99\xf0$O4LaQ\xea-\x9b]\x91'), '\144' + '\x65' + chr(6325 - 6226) + chr(0b1101111) + chr(100) + chr(101))('\x75' + chr(3405 - 3289) + chr(0b1100110) + chr(0b101000 + 0o5) + chr(56)))
roI3spqORKae(Sxg_NleGnlce.yaxis, roI3spqORKae(ES5oEprVxulp(b'\x07\xe7\xcd\xad\xbd\x16P(]\x10\x1d\xad;\xa9`\xd7\x01'), '\144' + chr(0b11000 + 0o115) + chr(99) + chr(111) + chr(0b100000 + 0o104) + chr(101))('\165' + '\164' + chr(102) + chr(45) + '\x38'))(roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b':\xf7\xd5\x9e\x9c\x18Y&[ \x03'), chr(0b1100100) + chr(0b1000011 + 0o42) + chr(5741 - 5642) + chr(111) + chr(0b111000 + 0o54) + '\x65')(chr(0b1001111 + 0o46) + chr(4477 - 4361) + chr(0b110000 + 0o66) + chr(45) + chr(0b1111 + 0o51)))())
if cuJmomB0XH13:
for UH0YjwuI_XzX in UjxwtHwihe1B:
if UH0YjwuI_XzX >= Hg_KJkMRv5EQ and UH0YjwuI_XzX < vrYAlPlCS8EO:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\x15\xfa\xd1\x9e\xb9\x19_'), chr(100) + chr(101) + chr(0b111110 + 0o45) + '\x6f' + chr(0b1100100) + chr(0b1100101))(chr(0b110101 + 0o100) + chr(116) + '\x66' + chr(45) + '\x38'))(UH0YjwuI_XzX, color=roI3spqORKae(ES5oEprVxulp(b'\x16\xee\xcc\x97'), chr(100) + '\x65' + '\x63' + '\x6f' + '\x64' + chr(8589 - 8488))('\x75' + chr(11800 - 11684) + chr(0b1100110) + chr(1706 - 1661) + chr(0b10010 + 0o46)), linestyle=roI3spqORKae(ES5oEprVxulp(b'\x10\xed\xcd\x86\xb5\x13'), chr(100) + chr(101) + chr(0b110010 + 0o61) + '\157' + chr(100) + chr(0b1100101))(chr(1152 - 1035) + chr(116) + chr(0b1101 + 0o131) + chr(0b101101 + 0o0) + chr(0b110001 + 0o7)))
for bI5jsQ9OkQtj in a35B9fCTPvBO:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\x10\xe7\xd5\x86\xb9\x14Q4'), chr(0b100011 + 0o101) + '\145' + '\x63' + chr(4737 - 4626) + '\144' + '\x65')(chr(117) + chr(9551 - 9435) + chr(0b1110 + 0o130) + '\055' + chr(0b111000)))(bI5jsQ9OkQtj)
ivOHkv0N3Quc = y87dwGy_Qoj4 + roI3spqORKae(ES5oEprVxulp(b"+\xe3\xd7\x9b\x8f\x13_7['\x01\xae7\xbc:"), '\x64' + '\x65' + chr(0b1100011) + '\x6f' + chr(9587 - 9487) + '\x65')('\x75' + '\164' + '\x66' + chr(45) + chr(0b11010 + 0o36)) + JummcHpaNLEw
return (CIb4KLJ7bueR, [ivOHkv0N3Quc])
else:
return (nzTpIcepk0o8(chr(48) + '\x6f' + chr(48), 8), roI3spqORKae(ES5oEprVxulp(b':\xed\x99\x96\xb1\x03[g[ Q\xb24\xa7`'), chr(2597 - 2497) + chr(7460 - 7359) + chr(6384 - 6285) + chr(111) + chr(0b11011 + 0o111) + '\x65')(chr(0b1110101) + '\164' + '\146' + '\x2d' + chr(0b111000)))
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
core_depthplot
|
def core_depthplot(input_dir_path='.', meas_file='measurements.txt', spc_file='',
samp_file='samples.txt', age_file='', sum_file='', wt_file='',
depth_scale='core_depth', dmin=-1, dmax=-1, sym='bo',
size=5, spc_sym='ro', spc_size=5, meth='', step=0, fmt='svg',
pltDec=True, pltInc=True, pltMag=True, pltLine=True, pltSus=True,
logit=False, pltTime=False, timescale=None, amin=-1, amax=-1,
norm=False, data_model_num=3,location=""):
"""
depth scale can be 'core_depth' or 'composite_depth' (for data model=3)
if age file is provided, depth_scale will be set to 'age' by default.
You must provide at least a measurements,specimens and sample file to plot.
Parameters
----------
input_dir_path : str, default "."
file input directory
meas_file : str, default "measurements.txt"
input measurements file
spc_file : str, default ""
input specimens file
samp_file : str, default ""
input samples file
age_file : str, default ""
input ages file
sum_file : str, default ""
input csv summary file
wt_file : str, default ""
input file with weights
depth_scale : str, default "core_depth"
['core_depth', 'composite_depth']
dmin : number, default -1
minimum depth to plot (if -1, default to plotting all)
dmax : number, default -1
maximum depth to plot (if -1, default to plotting all)
sym : str, default "bo"
symbol color and shape, default blue circles
(see matplotlib documentaiton for more options)
size : int, defualt 5
symbol size
spc_sym : str, default 'ro'
specimen symbol color and shape, default red circles
(see matplotlib documentation for more options)
meth : str, default ""
method codes, ["LT-NO", "AF", "T", "ARM", "IRM", "X"]
step : int, default 0
treatment step for plotting:
for AF, in mT, for T, in C
fmt : str, default "svg"
format for figures, [svg,jpg,png,pdf]
pltDec : bool, default True
plot declination
pltInc : bool, default True
plot inclination
pltMag : bool, default True
plot magnetization
pltLine : bool, default True
connect dots with a line
pltSus : bool, default True
plot blanket treatment
logit : bool, default False
plot magnetization on a log scale
amin : int, default -1
minimum time to plot (if -1, default to plotting all)
amax : int, default -1
maximum time to plot (if -1, default to plotting all)
norm : bool, default False
normalize by weight
data_model_num : int, default 3
MagIC data model (please, use data model 3)
"""
data_model_num = int(data_model_num)
# replace MagIC 3 defaults with MagIC 2.5 defaults if needed
if data_model_num == 2 and meas_file == 'measurements.txt':
meas_file = 'magic_measurements.txt'
if data_model_num == 2 and samp_file == 'samples.txt':
samp_file = 'er_samples.txt'
if data_model_num == 2 and age_file == 'ages.txt':
age_file = 'er_ages.txt'
if data_model_num == 2 and depth_scale == "core_depth":
depth_scale = "sample_core_depth"
# initialize MagIC 3.0 vs 2.5 column names
loc_col_name = "location" if data_model_num == 3 else "er_location_name"
site_col_name = "site" if data_model_num == 3 else "er_site_name"
samp_col_name = "sample" if data_model_num == 3 else "er_sample_name"
spec_col_name = "specimen" if data_model_num == 3 else "er_specimen_name"
meth_col_name = "method_codes" if data_model_num == 3 else "magic_method_codes"
spec_dec_col_name = "dir_dec" if data_model_num == 3 else "specimen_dec"
spec_inc_col_name = "dir_inc" if data_model_num == 3 else "specimen_inc"
avg_weight_col_name = "weight" if data_model_num == 3 else "average_weight"
spec_weight_col_name = "weight" if data_model_num == 3 else "specimen_weight"
age_col_name = "age" if data_model_num == 3 else "average_age"
height_col_name = "height" if data_model_num == 3 else "average_height"
average_dec_col_name = "dir_dec" if data_model_num == 3 else "average_dec"
average_inc_col_name = "dir_inc" if data_model_num == 3 else "average_inc"
# initialize other variables
width = 10
Ssym, Ssize = 'cs', 5
pcol = 3
pel = 3
maxInt = -1000
minInt = 1e10
maxSuc = -1000
minSuc = 10000
main_plot = None
if size:
size = int(size)
if spc_size:
spc_size = int(spc_size)
title = ""
if location:title=location
# file formats not supported for the moment
ngr_file = "" # nothing needed, not implemented fully in original script
suc_file = "" # nothing else needed, also was not implemented in original script
res_file = "" # need also res_sym, res_size
wig_file = "" # if wig_file: pcol+=1; width+=2
# which plots to make
if not pltDec:
pcol -= 1
pel -= 1
width -= 2
if not pltInc:
pcol -= 1
pel -= 1
width -= 2
if not pltMag:
pcol -= 1
pel -= 1
width -= 2
# method and step
if not step or meth == 'LT-NO':
step = 0
method = 'LT-NO'
elif meth == "AF":
step = round(float(step) * 1e-3, 6)
method = 'LT-AF-Z'
elif meth == 'T':
step = round(float(step) + 273, 6)
method = 'LT-T-Z'
elif meth == 'ARM':
method = 'LT-AF-I'
step = round(float(step) * 1e-3, 6)
elif meth == 'IRM':
method = 'LT-IRM'
step = round(float(step) * 1e-3, 6)
# not supporting susceptibility at the moment LJ
elif meth == 'X':
method = 'LP-X'
pcol += 1
ind = sys.argv.index('-LP')
if sys.argv[ind+2] == 'mass':
if data_model_num != 3:
suc_key = 'measurement_chi_mass'
else:
suc_key = 'susc_chi_mass'
elif sys.argv[ind+2] == 'vol':
if data_model_num != 3:
suc_key = 'measurement_chi_volume'
else:
suc_key = 'susc_chi_volume'
else:
print('error in susceptibility units')
return False, 'error in susceptibility units'
else:
print('method: {} not supported'.format(meth))
return False, 'method: "{}" not supported'.format(meth)
if wt_file:
norm = True
if dmin and dmax:
dmin, dmax = float(dmin), float(dmax)
else:
dmin, dmax = -1, -1
if pltTime:
amin = float(amin)
amax = float(amax)
pcol += 1
width += 2
if not (amax and timescale):
return False, "To plot time, you must provide amin, amax, and timescale"
#
#
# read in 3.0 data and translate to 2.5
if meas_file:
meas_file = pmag.resolve_file_name(meas_file, input_dir_path)
if spc_file:
spc_file = pmag.resolve_file_name(spc_file, input_dir_path)
if samp_file:
samp_file = pmag.resolve_file_name(samp_file, input_dir_path)
if age_file:
age_file = pmag.resolve_file_name(age_file, input_dir_path)
if data_model_num == 3:
fnames = {'specimens': spc_file, 'samples': samp_file,
'ages': age_file, 'measurements': meas_file}
fnames = {k: v for (k, v) in fnames.items() if v}
con = cb.Contribution(input_dir_path, custom_filenames=fnames)
for dtype in ['measurements', 'specimens']:
if dtype not in con.tables:
print(
'-E- You must have a {} file in your input directory ({}) to run core_depthplot'.format(dtype, input_dir_path))
print(' If needed, you can specify your input directory on the command line with "core_depthplot.py -ID dirname ... "')
print(' Or with ipmag.core_depthplot(input_dir_path=dirname, ...)')
# return False, '-E- You must have a {} file in your input directory ({}) to run core_depthplot'.format(dtype, input_dir_path)
# propagate data to measurements
con.propagate_name_down('sample', 'measurements')
con.propagate_name_down('site', 'measurements')
# propagate depth info from sites --> samples
con.propagate_cols(
['core_depth', 'composite_depth'], 'samples', 'sites')
if age_file == "":
# get sample data straight from the contribution
Samps = []
if 'samples' in con.tables:
Samps = con.tables['samples'].convert_to_pmag_data_list()
else:
depth_scale = 'age'
Samps = []
# get age data from contribution
if 'ages' in con.tables:
# we need to get sample in here
# this doesn't do the trick by itself
con.propagate_ages()
con.propagate_cols(['age', 'age_unit'], 'samples', 'sites')
Samps = con.tables['samples'].convert_to_pmag_data_list()
age_unit = ""
if spc_file:
Specs3 = []
# get specimen data from contribution
Specs = []
if 'specimens' in con.tables:
Specs = con.tables['specimens'].convert_to_pmag_data_list()
if res_file:
warn = '-W- result file option is not currently available for MagIC data model 3'
print(warn)
return False, warn
#Results, file_type = pmag.magic_read(res_file)
if norm:
#warn = '-W- norm option is not currently available for MagIC data model 3'
# print(warn)
# return False, warn
Specs3, file_type = pmag.magic_read(wt_file)
# translate specimen records to 2.5
ErSpecs = []
# for spec in Specs3:
# ErSpecs.append(map_magic.mapping(spec, spec_magic3_2_magic2_map))
ErSpecs = Specs3
print(len(ErSpecs), ' specimens read in from ', wt_file)
if not os.path.isfile(spc_file):
if not os.path.isfile(meas_file):
return False, "You must provide either a magic_measurements file or a pmag_specimens file"
if not age_file and not samp_file:
print('-W- You must provide either an age file or a sample file')
return False, '-W- You must provide either an age file or a sample file'
# read in 2.5 data
elif data_model_num == 2:
if age_file == "":
if samp_file:
samp_file = os.path.join(input_dir_path, samp_file)
Samps, file_type = pmag.magic_read(samp_file)
else:
depth_scale = 'age'
if age_file:
age_file = os.path.join(input_dir_path, age_file)
Samps, file_type = pmag.magic_read(age_file)
age_unit = ""
if spc_file:
Specs, file_type = pmag.magic_read(spc_file)
if res_file:
Results, file_type = pmag.magic_read(res_file)
if norm:
ErSpecs, file_type = pmag.magic_read(wt_file)
print(len(ErSpecs), ' specimens read in from ', wt_file)
if not os.path.isfile(spc_file):
if not os.path.isfile(meas_file):
return False, "You must provide either a magic_measurements file or a pmag_specimens file"
else:
return False, "Invalid data model number: {}".format(str(data_model_num))
Cores = []
core_depth_key = "Top depth cored CSF (m)"
if sum_file:
# os.path.join(input_dir_path, sum_file)
sum_file = pmag.resolve_file_name(sum_file, input_dir_path)
with open(sum_file, 'r') as fin:
indat = fin.readlines()
if "Core Summary" in indat[0]:
headline = 1
else:
headline = 0
keys = indat[headline].replace('\n', '').split(',')
if "Core Top (m)" in keys:
core_depth_key = "Core Top (m)"
if "Top depth cored CSF (m)" in keys:
core_dpeth_key = "Top depth cored CSF (m)"
if "Core Label" in keys:
core_label_key = "Core Label"
if "Core label" in keys:
core_label_key = "Core label"
for line in indat[2:]:
if 'TOTALS' not in line:
CoreRec = {}
for k in range(len(keys)):
CoreRec[keys[k]] = line.split(',')[k]
Cores.append(CoreRec)
if len(Cores) == 0:
print('no Core depth information available: import core summary file')
sum_file = ""
Data = []
if 'core_depth' in depth_scale or depth_scale == 'mbsf':
ylab = "Depth (mbsf)"
depth_scale = 'core_depth'
elif depth_scale == 'age':
ylab = "Age"
elif 'composite_depth' in depth_scale or depth_scale == 'mcd':
ylab = "Depth (mcd)"
depth_scale = 'composite_depth'
else:
print('Warning: You have provided unsupported depth scale: {}.\nUsing default (mbsf) instead.'.format(
depth_scale))
depth_scale = 'core_depth'
ylab = "Depth (mbsf)"
# fix depth scale for data model 2 if needed
if data_model_num == 2 and not depth_scale.startswith('sample_'):
if depth_scale != "age":
depth_scale = "sample_" + depth_scale
# collect the data for plotting declination
Depths, Decs, Incs, Ints = [], [], [], []
SDepths, SDecs, SIncs, SInts = [], [], [], []
SSucs = []
samples = []
methods, steps, m2 = [], [], []
if os.path.isfile(meas_file): # plot the bulk measurement data
if data_model_num == 3:
Meas = []
if 'measurements' in con.tables:
Meas = con.tables['measurements'].convert_to_pmag_data_list()
# has measurement_magn_mass ....
dec_key, inc_key = 'dir_dec', 'dir_inc'
meth_key, temp_key, ac_key, dc_key = 'method_codes', 'treat_temp', 'treat_ac_field', 'treat_dc_field'
intlist = ['magnitude', 'magn_moment',
'magn_volume', 'magn_mass']
meas_key = "magn_moment"
elif data_model_num == 2:
intlist = ['measurement_magnitude', 'measurement_magn_moment',
'measurement_magn_volume', 'measurement_magn_mass']
temp_key, ac_key, dc_key = 'treatment_temp', 'treatment_ac_field', 'treatment_dc_field'
dec_key, inc_key = 'measurement_dec', 'measurement_inc'
Meas, file_type = pmag.magic_read(meas_file)
meas_key = 'measurement_magn_moment'
#
print(len(Meas), ' measurements read in from ', meas_file)
#
for m in intlist: # find the intensity key with data
# get all non-blank data for this specimen
meas_data = pmag.get_dictitem(Meas, m, '', 'F')
if len(meas_data) > 0:
print('using intensity key:', m)
meas_key = m
break
# fish out the desired method code
m1 = pmag.get_dictitem(Meas, meth_col_name, method, 'has')
if method == 'LT-T-Z':
m2 = pmag.get_dictitem(m1, temp_key, str(
step), 'eval') # fish out the desired step
elif 'LT-AF' in method:
m2 = pmag.get_dictitem(m1, ac_key, str(step), 'eval')
elif 'LT-IRM' in method:
m2 = pmag.get_dictitem(m1, dc_key, str(step), 'eval')
elif 'LP-X' in method:
m2 = pmag.get_dictitem(m1, suc_key, '', 'F')
if len(m2) > 0:
for rec in m2: # fish out depths and weights
D = pmag.get_dictitem(
Samps, samp_col_name, rec[samp_col_name], 'T')
if not D: # if using an age_file, you may need to sort by site
D = pmag.get_dictitem(
Samps, site_col_name, rec[site_col_name], 'T')
depth = pmag.get_dictitem(D, depth_scale, '', 'F')
if len(depth) > 0:
if ylab == 'Age':
# get units of ages - assume they are all the same!
ylab = ylab + ' (' + depth[0]['age_unit'] + ')'
rec[depth_scale] = float(depth[0][depth_scale])
rec[meth_col_name] = rec[meth_col_name] + \
':' + depth[0][meth_col_name]
if norm:
specrecs = pmag.get_dictitem(
ErSpecs, spec_col_name, rec[spec_col_name], 'T')
specwts = pmag.get_dictitem(
specrecs, spec_weight_col_name, "", 'F')
if len(specwts) > 0:
rec[weight_col_name] = specwts[0][spec_weight_col_name]
# fish out data with core_depth and (if needed)
# weights
Data.append(rec)
else:
# fish out data with core_depth and (if needed) weights
Data.append(rec)
if title == "":
pieces = rec[samp_col_name].split('-')
location = rec.get(loc_col_name, '')
title = location
SData = pmag.sort_diclist(Data, depth_scale)
for rec in SData: # fish out bulk measurement data from desired depths
if dmax == -1 or float(rec[depth_scale]) < dmax and float(rec[depth_scale]) > dmin:
Depths.append((rec[depth_scale]))
if method == "LP-X":
SSucs.append(float(rec[suc_key]))
else:
if pltDec:
Decs.append(float(rec[dec_key]))
if pltInc:
Incs.append(float(rec[inc_key]))
if not norm and pltMag:
Ints.append(float(rec[meas_key]))
if norm and pltMag:
Ints.append(
float(rec[meas_key]) / float(rec[spec_weight_col_name]))
if len(SSucs) > 0:
maxSuc = max(SSucs)
minSuc = min(SSucs)
if len(Ints) > 1:
maxInt = max(Ints)
minInt = min(Ints)
if len(Depths) == 0:
print('no bulk measurement data matched your request')
else:
print(len(Depths), "depths found")
SpecDepths, SpecDecs, SpecIncs = [], [], []
FDepths, FDecs, FIncs = [], [], []
if spc_file: # add depths to spec data
# get all the discrete data with best fit lines
BFLs = pmag.get_dictitem(Specs, meth_col_name, 'DE-BFL', 'has')
for spec in BFLs:
if location == "":
location = spec.get(loc_col_name, "")
samp = pmag.get_dictitem(
Samps, samp_col_name, spec[samp_col_name], 'T')
if len(samp) > 0 and depth_scale in list(samp[0].keys()) and samp[0][depth_scale] != "":
if ylab == 'Age':
# get units of ages - assume they are all the same!
ylab = ylab + ' (' + samp[0]['age_unit'] + ')'
# filter for depth
if dmax == -1 or float(samp[0][depth_scale]) < dmax and float(samp[0][depth_scale]) > dmin:
# fish out data with core_depth
SpecDepths.append(float(samp[0][depth_scale]))
# fish out data with core_depth
SpecDecs.append(float(spec[spec_dec_col_name]))
# fish out data with core_depth
SpecIncs.append(float(spec[spec_inc_col_name]))
else:
print('no core_depth found for: ', spec[spec_col_name])
# get all the discrete data with best fit lines
FMs = pmag.get_dictitem(Specs, meth_col_name, 'DE-FM', 'has')
for spec in FMs:
if location == "":
location = spec.get(loc_col_name, "")
samp = pmag.get_dictitem(
Samps, samp_col_name, spec[samp_col_name], 'T')
if len(samp) > 0 and depth_scale in list(samp[0].keys()) and samp[0][depth_scale] != "":
if ylab == 'Age':
# get units of ages - assume they are all the same!
ylab = ylab + ' (' + samp[0]['age_unit'] + ')'
# filter for depth
if dmax == -1 or float(samp[0][depth_scale]) < dmax and float(samp[0][depth_scale]) > dmin:
# fish out data with core_depth
FDepths.append(float(samp[0][depth_scale]))
# fish out data with core_depth
FDecs.append(float(spec[spec_dec_col]))
# fish out data with core_depth
FIncs.append(float(spec[spec_inc_col]))
else:
print('no core_depth found for: ', spec[spec_col_name])
ResDepths, ResDecs, ResIncs = [], [], []
if 'age' in depth_scale: # set y-key
res_scale = age_col_name
else:
res_scale = height_col_name
if res_file: # creates lists of Result Data
for res in Results:
meths = res[meth_col_name].split(":")
if 'DE-FM' in meths:
# filter for depth
if dmax == -1 or float(res[res_scale]) < dmax and float(res[res_scale]) > dmin:
# fish out data with core_depth
ResDepths.append(float(res[res_scale]))
# fish out data with core_depth
ResDecs.append(float(res['average_dec']))
# fish out data with core_depth
ResIncs.append(float(res['average_inc']))
Susc, Sus_depths = [], []
if dmin == -1:
if len(Depths) > 0:
dmin, dmax = Depths[0], Depths[-1]
if len(FDepths) > 0:
dmin, dmax = FDepths[0], FDepths[-1]
if pltSus and len(SDepths) > 0:
if SDepths[0] < dmin:
dmin = SDepths[0]
if SDepths[-1] > dmax:
dmax = SDepths[-1]
if len(SpecDepths) > 0:
if min(SpecDepths) < dmin:
dmin = min(SpecDepths)
if max(SpecDepths) > dmax:
dmax = max(SpecDepths)
if len(ResDepths) > 0:
if min(ResDepths) < dmin:
dmin = min(ResDepths)
if max(ResDepths) > dmax:
dmax = max(ResDepths)
# wig_file and suc_file not currently supported options
# if suc_file:
# with open(suc_file, 'r') as s_file:
# sucdat = s_file.readlines()
# keys = sucdat[0].replace('\n', '').split(',') # splits on underscores
# for line in sucdat[1:]:
# SucRec = {}
# for k in range(len(keys)):
# SucRec[keys[k]] = line.split(',')[k]
# if float(SucRec['Top Depth (m)']) < dmax and float(SucRec['Top Depth (m)']) > dmin and SucRec['Magnetic Susceptibility (80 mm)'] != "":
# Susc.append(float(SucRec['Magnetic Susceptibility (80 mm)']))
# if Susc[-1] > maxSuc:
# maxSuc = Susc[-1]
# if Susc[-1] < minSuc:
# minSuc = Susc[-1]
# Sus_depths.append(float(SucRec['Top Depth (m)']))
#WIG, WIG_depths = [], []
# if wig_file:
# wigdat, file_type = pmag.magic_read(wig_file)
# swigdat = pmag.sort_diclist(wigdat, depth_scale)
# keys = list(wigdat[0].keys())
# for key in keys:
# if key != depth_scale:
# plt_key = key
# break
# for wig in swigdat:
# if float(wig[depth_scale]) < dmax and float(wig[depth_scale]) > dmin:
# WIG.append(float(wig[plt_key]))
# WIG_depths.append(float(wig[depth_scale]))
tint = 4.5
plot = 1
#print('Decs', len(Decs))
#print('Depths', len(Depths), 'SpecDecs', len(SpecDecs))
#print('SpecDepths', len(SpecDepths), 'ResDecs', len(ResDecs))
#print('ResDepths', len(ResDepths), 'SDecs', len(SDecs))
#print('SDepths', len(SDepths), 'SIincs', len(SIncs))
#print('Incs', len(Incs))
if (Decs and Depths) or (SpecDecs and SpecDepths) or (ResDecs and ResDepths) or (SDecs and SDepths) or (SInts and SDepths) or (SIncs and SDepths) or (Incs and Depths):
main_plot = plt.figure(1, figsize=(width, 8)) # this works
# pylab.figure(1,figsize=(width,8))
version_num = pmag.get_version()
plt.figtext(.02, .01, version_num)
if pltDec:
ax = plt.subplot(1, pcol, plot)
if pltLine:
plt.plot(Decs, Depths, 'k')
if len(Decs) > 0:
plt.plot(Decs, Depths, sym, markersize=size)
if len(Decs) == 0 and pltLine and len(SDecs) > 0:
plt.plot(SDecs, SDepths, 'k')
if len(SDecs) > 0:
plt.plot(SDecs, SDepths, Ssym, markersize=Ssize)
if spc_file:
plt.plot(SpecDecs, SpecDepths, spc_sym, markersize=spc_size)
if spc_file and len(FDepths) > 0:
plt.scatter(
FDecs, FDepths, marker=spc_sym[-1], edgecolor=spc_sym[0], facecolor='white', s=spc_size**2)
if res_file:
plt.plot(ResDecs, ResDepths, res_sym, markersize=res_size)
if sum_file:
for core in Cores:
depth = float(core[core_depth_key])
if depth > dmin and depth < dmax:
plt.plot([0, 360.], [depth, depth], 'b--')
if pel == plt:
plt.text(360, depth + tint, core[core_label_key])
if pel == plot:
plt.axis([0, 400, dmax, dmin])
else:
plt.axis([0, 360., dmax, dmin])
plt.xlabel('Declination')
plt.ylabel(ylab)
plot += 1
pmagplotlib.delticks(ax) # dec xticks are too crowded otherwise
else:
print('no data!')
return False, 'No data found to plot\nTry again with different parameters'
if pltInc:
plt.subplot(1, pcol, plot)
if pltLine:
plt.plot(Incs, Depths, 'k')
if len(Incs) > 0:
plt.plot(Incs, Depths, sym, markersize=size)
if len(Incs) == 0 and pltLine and len(SIncs) > 0:
plt.plot(SIncs, SDepths, 'k')
if len(SIncs) > 0:
plt.plot(SIncs, SDepths, Ssym, markersize=Ssize)
if spc_file and len(SpecDepths) > 0:
plt.plot(SpecIncs, SpecDepths, spc_sym, markersize=spc_size)
if spc_file and len(FDepths) > 0:
plt.scatter(
FIncs, FDepths, marker=spc_sym[-1], edgecolor=spc_sym[0], facecolor='white', s=spc_size**2)
if res_file:
plt.plot(ResIncs, ResDepths, res_sym, markersize=res_size)
if sum_file:
for core in Cores:
depth = float(core[core_depth_key])
if depth > dmin and depth < dmax:
if pel == plot:
plt.text(90, depth + tint, core[core_label_key])
plt.plot([-90, 90], [depth, depth], 'b--')
plt.plot([0, 0], [dmax, dmin], 'k-')
if pel == plot:
plt.axis([-90, 110, dmax, dmin])
else:
plt.axis([-90, 90, dmax, dmin])
plt.xlabel('Inclination')
plt.ylabel('')
plot += 1
if pltMag and len(Ints) > 0 or len(SInts) > 0:
plt.subplot(1, pcol, plot)
for pow in range(-10, 10):
if maxInt * 10**pow > 1:
break
if not logit:
for k in range(len(Ints)):
Ints[k] = Ints[k] * 10**pow
for k in range(len(SInts)):
SInts[k] = SInts[k] * 10**pow
if pltLine and len(Ints) > 0:
plt.plot(Ints, Depths, 'k')
if len(Ints) > 0:
plt.plot(Ints, Depths, sym, markersize=size)
if len(Ints) == 0 and pltLine and len(SInts) > 0:
plt.plot(SInts, SDepths, 'k-')
if len(SInts) > 0:
plt.plot(SInts, SDepths, Ssym, markersize=Ssize)
if sum_file:
for core in Cores:
depth = float(core[core_depth_key])
plt.plot([0, maxInt * 10**pow + .1], [depth, depth], 'b--')
if depth > dmin and depth < dmax:
plt.text(maxInt * 10**pow - .2 * maxInt * 10 **
pow, depth + tint, core[core_label_key])
plt.axis([0, maxInt * 10**pow + .1, dmax, dmin])
if not norm:
plt.xlabel('%s %i %s' % ('Intensity (10^-', pow, ' Am^2)'))
else:
plt.xlabel('%s %i %s' % ('Intensity (10^-', pow, ' Am^2/kg)'))
else:
if pltLine:
plt.semilogx(Ints, Depths, 'k')
if len(Ints) > 0:
plt.semilogx(Ints, Depths, sym, markersize=size)
if len(Ints) == 0 and pltLine and len(SInts) > 0:
plt.semilogx(SInts, SDepths, 'k')
if len(Ints) == 0 and pltLine == 1 and len(SInts) > 0:
plt.semilogx(SInts, SDepths, 'k')
if len(SInts) > 0:
plt.semilogx(SInts, SDepths, Ssym, markersize=Ssize)
if sum_file:
for core in Cores:
depth = float(core[core_depth_key])
plt.semilogx([minInt, maxInt], [depth, depth], 'b--')
if depth > dmin and depth < dmax:
plt.text(maxInt - .2 * maxInt, depth +
tint, core[core_label_key])
minInt = plt.axis()[0]
plt.axis([minInt, maxInt, dmax, dmin])
if not norm:
plt.xlabel('Intensity (Am^2)')
else:
plt.xlabel('Intensity (Am^2/kg)')
plot += 1
if suc_file or len(SSucs) > 0:
plt.subplot(1, pcol, plot)
if len(Susc) > 0:
if pltLine:
plt.plot(Susc, Sus_depths, 'k')
if not logit:
plt.plot(Susc, Sus_depths, sym, markersize=size)
if logit:
plt.semilogx(Susc, Sus_depths, sym, markersize=size)
if len(SSucs) > 0:
if not logit:
plt.plot(SSucs, SDepths, sym, markersize=size)
if logit:
plt.semilogx(SSucs, SDepths, sym, markersize=size)
if sum_file:
for core in Cores:
depth = float(core[core_depth_key])
if not logit:
plt.plot([minSuc, maxSuc], [depth, depth], 'b--')
if logit:
plt.semilogx([minSuc, maxSuc], [depth, depth], 'b--')
plt.axis([minSuc, maxSuc, dmax, dmin])
plt.xlabel('Susceptibility')
plot += 1
# if wig_file:
# plt.subplot(1, pcol, plot)
# plt.plot(WIG, WIG_depths, 'k')
# if sum_file:
# for core in Cores:
# depth = float(core[core_depth_key])
# plt.plot([WIG[0], WIG[-1]], [depth, depth], 'b--')
# plt.axis([min(WIG), max(WIG), dmax, dmin])
# plt.xlabel(plt_key)
# plot += 1
if pltTime:
ax1 = plt.subplot(1, pcol, plot)
ax1.axis([-.25, 1.5, amax, amin])
plot += 1
TS, Chrons = pmag.get_ts(timescale)
X, Y, Y2 = [0, 1], [], []
cnt = 0
if amin < TS[1]: # in the Brunhes
Y = [amin, amin] # minimum age
Y1 = [TS[1], TS[1]] # age of the B/M boundary
# color in Brunhes, black
ax1.fill_between(X, Y, Y1, facecolor='black')
for d in TS[1:]:
pol = cnt % 2
cnt += 1
if d <= amax and d >= amin:
ind = TS.index(d)
Y = [TS[ind], TS[ind]]
Y1 = [TS[ind + 1], TS[ind + 1]]
if pol:
# fill in every other time
ax1.fill_between(X, Y, Y1, facecolor='black')
ax1.plot([0, 1, 1, 0, 0], [amin, amin, amax, amax, amin], 'k-')
ax2 = ax1.twinx()
plt.ylabel("Age (Ma): " + timescale)
for k in range(len(Chrons) - 1):
c = Chrons[k]
cnext = Chrons[k + 1]
d = cnext[1] - old_div((cnext[1] - c[1]), 3.)
if d >= amin and d < amax:
# make the Chron boundary tick
ax2.plot([1, 1.5], [c[1], c[1]], 'k-')
ax2.text(1.05, d, c[0])
ax2.axis([-.25, 1.5, amax, amin])
figname = location + '_m:_' + method + '_core-depthplot.' + fmt
plt.title(location)
return main_plot, figname
|
python
|
def core_depthplot(input_dir_path='.', meas_file='measurements.txt', spc_file='',
samp_file='samples.txt', age_file='', sum_file='', wt_file='',
depth_scale='core_depth', dmin=-1, dmax=-1, sym='bo',
size=5, spc_sym='ro', spc_size=5, meth='', step=0, fmt='svg',
pltDec=True, pltInc=True, pltMag=True, pltLine=True, pltSus=True,
logit=False, pltTime=False, timescale=None, amin=-1, amax=-1,
norm=False, data_model_num=3,location=""):
"""
depth scale can be 'core_depth' or 'composite_depth' (for data model=3)
if age file is provided, depth_scale will be set to 'age' by default.
You must provide at least a measurements,specimens and sample file to plot.
Parameters
----------
input_dir_path : str, default "."
file input directory
meas_file : str, default "measurements.txt"
input measurements file
spc_file : str, default ""
input specimens file
samp_file : str, default ""
input samples file
age_file : str, default ""
input ages file
sum_file : str, default ""
input csv summary file
wt_file : str, default ""
input file with weights
depth_scale : str, default "core_depth"
['core_depth', 'composite_depth']
dmin : number, default -1
minimum depth to plot (if -1, default to plotting all)
dmax : number, default -1
maximum depth to plot (if -1, default to plotting all)
sym : str, default "bo"
symbol color and shape, default blue circles
(see matplotlib documentaiton for more options)
size : int, defualt 5
symbol size
spc_sym : str, default 'ro'
specimen symbol color and shape, default red circles
(see matplotlib documentation for more options)
meth : str, default ""
method codes, ["LT-NO", "AF", "T", "ARM", "IRM", "X"]
step : int, default 0
treatment step for plotting:
for AF, in mT, for T, in C
fmt : str, default "svg"
format for figures, [svg,jpg,png,pdf]
pltDec : bool, default True
plot declination
pltInc : bool, default True
plot inclination
pltMag : bool, default True
plot magnetization
pltLine : bool, default True
connect dots with a line
pltSus : bool, default True
plot blanket treatment
logit : bool, default False
plot magnetization on a log scale
amin : int, default -1
minimum time to plot (if -1, default to plotting all)
amax : int, default -1
maximum time to plot (if -1, default to plotting all)
norm : bool, default False
normalize by weight
data_model_num : int, default 3
MagIC data model (please, use data model 3)
"""
data_model_num = int(data_model_num)
# replace MagIC 3 defaults with MagIC 2.5 defaults if needed
if data_model_num == 2 and meas_file == 'measurements.txt':
meas_file = 'magic_measurements.txt'
if data_model_num == 2 and samp_file == 'samples.txt':
samp_file = 'er_samples.txt'
if data_model_num == 2 and age_file == 'ages.txt':
age_file = 'er_ages.txt'
if data_model_num == 2 and depth_scale == "core_depth":
depth_scale = "sample_core_depth"
# initialize MagIC 3.0 vs 2.5 column names
loc_col_name = "location" if data_model_num == 3 else "er_location_name"
site_col_name = "site" if data_model_num == 3 else "er_site_name"
samp_col_name = "sample" if data_model_num == 3 else "er_sample_name"
spec_col_name = "specimen" if data_model_num == 3 else "er_specimen_name"
meth_col_name = "method_codes" if data_model_num == 3 else "magic_method_codes"
spec_dec_col_name = "dir_dec" if data_model_num == 3 else "specimen_dec"
spec_inc_col_name = "dir_inc" if data_model_num == 3 else "specimen_inc"
avg_weight_col_name = "weight" if data_model_num == 3 else "average_weight"
spec_weight_col_name = "weight" if data_model_num == 3 else "specimen_weight"
age_col_name = "age" if data_model_num == 3 else "average_age"
height_col_name = "height" if data_model_num == 3 else "average_height"
average_dec_col_name = "dir_dec" if data_model_num == 3 else "average_dec"
average_inc_col_name = "dir_inc" if data_model_num == 3 else "average_inc"
# initialize other variables
width = 10
Ssym, Ssize = 'cs', 5
pcol = 3
pel = 3
maxInt = -1000
minInt = 1e10
maxSuc = -1000
minSuc = 10000
main_plot = None
if size:
size = int(size)
if spc_size:
spc_size = int(spc_size)
title = ""
if location:title=location
# file formats not supported for the moment
ngr_file = "" # nothing needed, not implemented fully in original script
suc_file = "" # nothing else needed, also was not implemented in original script
res_file = "" # need also res_sym, res_size
wig_file = "" # if wig_file: pcol+=1; width+=2
# which plots to make
if not pltDec:
pcol -= 1
pel -= 1
width -= 2
if not pltInc:
pcol -= 1
pel -= 1
width -= 2
if not pltMag:
pcol -= 1
pel -= 1
width -= 2
# method and step
if not step or meth == 'LT-NO':
step = 0
method = 'LT-NO'
elif meth == "AF":
step = round(float(step) * 1e-3, 6)
method = 'LT-AF-Z'
elif meth == 'T':
step = round(float(step) + 273, 6)
method = 'LT-T-Z'
elif meth == 'ARM':
method = 'LT-AF-I'
step = round(float(step) * 1e-3, 6)
elif meth == 'IRM':
method = 'LT-IRM'
step = round(float(step) * 1e-3, 6)
# not supporting susceptibility at the moment LJ
elif meth == 'X':
method = 'LP-X'
pcol += 1
ind = sys.argv.index('-LP')
if sys.argv[ind+2] == 'mass':
if data_model_num != 3:
suc_key = 'measurement_chi_mass'
else:
suc_key = 'susc_chi_mass'
elif sys.argv[ind+2] == 'vol':
if data_model_num != 3:
suc_key = 'measurement_chi_volume'
else:
suc_key = 'susc_chi_volume'
else:
print('error in susceptibility units')
return False, 'error in susceptibility units'
else:
print('method: {} not supported'.format(meth))
return False, 'method: "{}" not supported'.format(meth)
if wt_file:
norm = True
if dmin and dmax:
dmin, dmax = float(dmin), float(dmax)
else:
dmin, dmax = -1, -1
if pltTime:
amin = float(amin)
amax = float(amax)
pcol += 1
width += 2
if not (amax and timescale):
return False, "To plot time, you must provide amin, amax, and timescale"
#
#
# read in 3.0 data and translate to 2.5
if meas_file:
meas_file = pmag.resolve_file_name(meas_file, input_dir_path)
if spc_file:
spc_file = pmag.resolve_file_name(spc_file, input_dir_path)
if samp_file:
samp_file = pmag.resolve_file_name(samp_file, input_dir_path)
if age_file:
age_file = pmag.resolve_file_name(age_file, input_dir_path)
if data_model_num == 3:
fnames = {'specimens': spc_file, 'samples': samp_file,
'ages': age_file, 'measurements': meas_file}
fnames = {k: v for (k, v) in fnames.items() if v}
con = cb.Contribution(input_dir_path, custom_filenames=fnames)
for dtype in ['measurements', 'specimens']:
if dtype not in con.tables:
print(
'-E- You must have a {} file in your input directory ({}) to run core_depthplot'.format(dtype, input_dir_path))
print(' If needed, you can specify your input directory on the command line with "core_depthplot.py -ID dirname ... "')
print(' Or with ipmag.core_depthplot(input_dir_path=dirname, ...)')
# return False, '-E- You must have a {} file in your input directory ({}) to run core_depthplot'.format(dtype, input_dir_path)
# propagate data to measurements
con.propagate_name_down('sample', 'measurements')
con.propagate_name_down('site', 'measurements')
# propagate depth info from sites --> samples
con.propagate_cols(
['core_depth', 'composite_depth'], 'samples', 'sites')
if age_file == "":
# get sample data straight from the contribution
Samps = []
if 'samples' in con.tables:
Samps = con.tables['samples'].convert_to_pmag_data_list()
else:
depth_scale = 'age'
Samps = []
# get age data from contribution
if 'ages' in con.tables:
# we need to get sample in here
# this doesn't do the trick by itself
con.propagate_ages()
con.propagate_cols(['age', 'age_unit'], 'samples', 'sites')
Samps = con.tables['samples'].convert_to_pmag_data_list()
age_unit = ""
if spc_file:
Specs3 = []
# get specimen data from contribution
Specs = []
if 'specimens' in con.tables:
Specs = con.tables['specimens'].convert_to_pmag_data_list()
if res_file:
warn = '-W- result file option is not currently available for MagIC data model 3'
print(warn)
return False, warn
#Results, file_type = pmag.magic_read(res_file)
if norm:
#warn = '-W- norm option is not currently available for MagIC data model 3'
# print(warn)
# return False, warn
Specs3, file_type = pmag.magic_read(wt_file)
# translate specimen records to 2.5
ErSpecs = []
# for spec in Specs3:
# ErSpecs.append(map_magic.mapping(spec, spec_magic3_2_magic2_map))
ErSpecs = Specs3
print(len(ErSpecs), ' specimens read in from ', wt_file)
if not os.path.isfile(spc_file):
if not os.path.isfile(meas_file):
return False, "You must provide either a magic_measurements file or a pmag_specimens file"
if not age_file and not samp_file:
print('-W- You must provide either an age file or a sample file')
return False, '-W- You must provide either an age file or a sample file'
# read in 2.5 data
elif data_model_num == 2:
if age_file == "":
if samp_file:
samp_file = os.path.join(input_dir_path, samp_file)
Samps, file_type = pmag.magic_read(samp_file)
else:
depth_scale = 'age'
if age_file:
age_file = os.path.join(input_dir_path, age_file)
Samps, file_type = pmag.magic_read(age_file)
age_unit = ""
if spc_file:
Specs, file_type = pmag.magic_read(spc_file)
if res_file:
Results, file_type = pmag.magic_read(res_file)
if norm:
ErSpecs, file_type = pmag.magic_read(wt_file)
print(len(ErSpecs), ' specimens read in from ', wt_file)
if not os.path.isfile(spc_file):
if not os.path.isfile(meas_file):
return False, "You must provide either a magic_measurements file or a pmag_specimens file"
else:
return False, "Invalid data model number: {}".format(str(data_model_num))
Cores = []
core_depth_key = "Top depth cored CSF (m)"
if sum_file:
# os.path.join(input_dir_path, sum_file)
sum_file = pmag.resolve_file_name(sum_file, input_dir_path)
with open(sum_file, 'r') as fin:
indat = fin.readlines()
if "Core Summary" in indat[0]:
headline = 1
else:
headline = 0
keys = indat[headline].replace('\n', '').split(',')
if "Core Top (m)" in keys:
core_depth_key = "Core Top (m)"
if "Top depth cored CSF (m)" in keys:
core_dpeth_key = "Top depth cored CSF (m)"
if "Core Label" in keys:
core_label_key = "Core Label"
if "Core label" in keys:
core_label_key = "Core label"
for line in indat[2:]:
if 'TOTALS' not in line:
CoreRec = {}
for k in range(len(keys)):
CoreRec[keys[k]] = line.split(',')[k]
Cores.append(CoreRec)
if len(Cores) == 0:
print('no Core depth information available: import core summary file')
sum_file = ""
Data = []
if 'core_depth' in depth_scale or depth_scale == 'mbsf':
ylab = "Depth (mbsf)"
depth_scale = 'core_depth'
elif depth_scale == 'age':
ylab = "Age"
elif 'composite_depth' in depth_scale or depth_scale == 'mcd':
ylab = "Depth (mcd)"
depth_scale = 'composite_depth'
else:
print('Warning: You have provided unsupported depth scale: {}.\nUsing default (mbsf) instead.'.format(
depth_scale))
depth_scale = 'core_depth'
ylab = "Depth (mbsf)"
# fix depth scale for data model 2 if needed
if data_model_num == 2 and not depth_scale.startswith('sample_'):
if depth_scale != "age":
depth_scale = "sample_" + depth_scale
# collect the data for plotting declination
Depths, Decs, Incs, Ints = [], [], [], []
SDepths, SDecs, SIncs, SInts = [], [], [], []
SSucs = []
samples = []
methods, steps, m2 = [], [], []
if os.path.isfile(meas_file): # plot the bulk measurement data
if data_model_num == 3:
Meas = []
if 'measurements' in con.tables:
Meas = con.tables['measurements'].convert_to_pmag_data_list()
# has measurement_magn_mass ....
dec_key, inc_key = 'dir_dec', 'dir_inc'
meth_key, temp_key, ac_key, dc_key = 'method_codes', 'treat_temp', 'treat_ac_field', 'treat_dc_field'
intlist = ['magnitude', 'magn_moment',
'magn_volume', 'magn_mass']
meas_key = "magn_moment"
elif data_model_num == 2:
intlist = ['measurement_magnitude', 'measurement_magn_moment',
'measurement_magn_volume', 'measurement_magn_mass']
temp_key, ac_key, dc_key = 'treatment_temp', 'treatment_ac_field', 'treatment_dc_field'
dec_key, inc_key = 'measurement_dec', 'measurement_inc'
Meas, file_type = pmag.magic_read(meas_file)
meas_key = 'measurement_magn_moment'
#
print(len(Meas), ' measurements read in from ', meas_file)
#
for m in intlist: # find the intensity key with data
# get all non-blank data for this specimen
meas_data = pmag.get_dictitem(Meas, m, '', 'F')
if len(meas_data) > 0:
print('using intensity key:', m)
meas_key = m
break
# fish out the desired method code
m1 = pmag.get_dictitem(Meas, meth_col_name, method, 'has')
if method == 'LT-T-Z':
m2 = pmag.get_dictitem(m1, temp_key, str(
step), 'eval') # fish out the desired step
elif 'LT-AF' in method:
m2 = pmag.get_dictitem(m1, ac_key, str(step), 'eval')
elif 'LT-IRM' in method:
m2 = pmag.get_dictitem(m1, dc_key, str(step), 'eval')
elif 'LP-X' in method:
m2 = pmag.get_dictitem(m1, suc_key, '', 'F')
if len(m2) > 0:
for rec in m2: # fish out depths and weights
D = pmag.get_dictitem(
Samps, samp_col_name, rec[samp_col_name], 'T')
if not D: # if using an age_file, you may need to sort by site
D = pmag.get_dictitem(
Samps, site_col_name, rec[site_col_name], 'T')
depth = pmag.get_dictitem(D, depth_scale, '', 'F')
if len(depth) > 0:
if ylab == 'Age':
# get units of ages - assume they are all the same!
ylab = ylab + ' (' + depth[0]['age_unit'] + ')'
rec[depth_scale] = float(depth[0][depth_scale])
rec[meth_col_name] = rec[meth_col_name] + \
':' + depth[0][meth_col_name]
if norm:
specrecs = pmag.get_dictitem(
ErSpecs, spec_col_name, rec[spec_col_name], 'T')
specwts = pmag.get_dictitem(
specrecs, spec_weight_col_name, "", 'F')
if len(specwts) > 0:
rec[weight_col_name] = specwts[0][spec_weight_col_name]
# fish out data with core_depth and (if needed)
# weights
Data.append(rec)
else:
# fish out data with core_depth and (if needed) weights
Data.append(rec)
if title == "":
pieces = rec[samp_col_name].split('-')
location = rec.get(loc_col_name, '')
title = location
SData = pmag.sort_diclist(Data, depth_scale)
for rec in SData: # fish out bulk measurement data from desired depths
if dmax == -1 or float(rec[depth_scale]) < dmax and float(rec[depth_scale]) > dmin:
Depths.append((rec[depth_scale]))
if method == "LP-X":
SSucs.append(float(rec[suc_key]))
else:
if pltDec:
Decs.append(float(rec[dec_key]))
if pltInc:
Incs.append(float(rec[inc_key]))
if not norm and pltMag:
Ints.append(float(rec[meas_key]))
if norm and pltMag:
Ints.append(
float(rec[meas_key]) / float(rec[spec_weight_col_name]))
if len(SSucs) > 0:
maxSuc = max(SSucs)
minSuc = min(SSucs)
if len(Ints) > 1:
maxInt = max(Ints)
minInt = min(Ints)
if len(Depths) == 0:
print('no bulk measurement data matched your request')
else:
print(len(Depths), "depths found")
SpecDepths, SpecDecs, SpecIncs = [], [], []
FDepths, FDecs, FIncs = [], [], []
if spc_file: # add depths to spec data
# get all the discrete data with best fit lines
BFLs = pmag.get_dictitem(Specs, meth_col_name, 'DE-BFL', 'has')
for spec in BFLs:
if location == "":
location = spec.get(loc_col_name, "")
samp = pmag.get_dictitem(
Samps, samp_col_name, spec[samp_col_name], 'T')
if len(samp) > 0 and depth_scale in list(samp[0].keys()) and samp[0][depth_scale] != "":
if ylab == 'Age':
# get units of ages - assume they are all the same!
ylab = ylab + ' (' + samp[0]['age_unit'] + ')'
# filter for depth
if dmax == -1 or float(samp[0][depth_scale]) < dmax and float(samp[0][depth_scale]) > dmin:
# fish out data with core_depth
SpecDepths.append(float(samp[0][depth_scale]))
# fish out data with core_depth
SpecDecs.append(float(spec[spec_dec_col_name]))
# fish out data with core_depth
SpecIncs.append(float(spec[spec_inc_col_name]))
else:
print('no core_depth found for: ', spec[spec_col_name])
# get all the discrete data with best fit lines
FMs = pmag.get_dictitem(Specs, meth_col_name, 'DE-FM', 'has')
for spec in FMs:
if location == "":
location = spec.get(loc_col_name, "")
samp = pmag.get_dictitem(
Samps, samp_col_name, spec[samp_col_name], 'T')
if len(samp) > 0 and depth_scale in list(samp[0].keys()) and samp[0][depth_scale] != "":
if ylab == 'Age':
# get units of ages - assume they are all the same!
ylab = ylab + ' (' + samp[0]['age_unit'] + ')'
# filter for depth
if dmax == -1 or float(samp[0][depth_scale]) < dmax and float(samp[0][depth_scale]) > dmin:
# fish out data with core_depth
FDepths.append(float(samp[0][depth_scale]))
# fish out data with core_depth
FDecs.append(float(spec[spec_dec_col]))
# fish out data with core_depth
FIncs.append(float(spec[spec_inc_col]))
else:
print('no core_depth found for: ', spec[spec_col_name])
ResDepths, ResDecs, ResIncs = [], [], []
if 'age' in depth_scale: # set y-key
res_scale = age_col_name
else:
res_scale = height_col_name
if res_file: # creates lists of Result Data
for res in Results:
meths = res[meth_col_name].split(":")
if 'DE-FM' in meths:
# filter for depth
if dmax == -1 or float(res[res_scale]) < dmax and float(res[res_scale]) > dmin:
# fish out data with core_depth
ResDepths.append(float(res[res_scale]))
# fish out data with core_depth
ResDecs.append(float(res['average_dec']))
# fish out data with core_depth
ResIncs.append(float(res['average_inc']))
Susc, Sus_depths = [], []
if dmin == -1:
if len(Depths) > 0:
dmin, dmax = Depths[0], Depths[-1]
if len(FDepths) > 0:
dmin, dmax = FDepths[0], FDepths[-1]
if pltSus and len(SDepths) > 0:
if SDepths[0] < dmin:
dmin = SDepths[0]
if SDepths[-1] > dmax:
dmax = SDepths[-1]
if len(SpecDepths) > 0:
if min(SpecDepths) < dmin:
dmin = min(SpecDepths)
if max(SpecDepths) > dmax:
dmax = max(SpecDepths)
if len(ResDepths) > 0:
if min(ResDepths) < dmin:
dmin = min(ResDepths)
if max(ResDepths) > dmax:
dmax = max(ResDepths)
# wig_file and suc_file not currently supported options
# if suc_file:
# with open(suc_file, 'r') as s_file:
# sucdat = s_file.readlines()
# keys = sucdat[0].replace('\n', '').split(',') # splits on underscores
# for line in sucdat[1:]:
# SucRec = {}
# for k in range(len(keys)):
# SucRec[keys[k]] = line.split(',')[k]
# if float(SucRec['Top Depth (m)']) < dmax and float(SucRec['Top Depth (m)']) > dmin and SucRec['Magnetic Susceptibility (80 mm)'] != "":
# Susc.append(float(SucRec['Magnetic Susceptibility (80 mm)']))
# if Susc[-1] > maxSuc:
# maxSuc = Susc[-1]
# if Susc[-1] < minSuc:
# minSuc = Susc[-1]
# Sus_depths.append(float(SucRec['Top Depth (m)']))
#WIG, WIG_depths = [], []
# if wig_file:
# wigdat, file_type = pmag.magic_read(wig_file)
# swigdat = pmag.sort_diclist(wigdat, depth_scale)
# keys = list(wigdat[0].keys())
# for key in keys:
# if key != depth_scale:
# plt_key = key
# break
# for wig in swigdat:
# if float(wig[depth_scale]) < dmax and float(wig[depth_scale]) > dmin:
# WIG.append(float(wig[plt_key]))
# WIG_depths.append(float(wig[depth_scale]))
tint = 4.5
plot = 1
#print('Decs', len(Decs))
#print('Depths', len(Depths), 'SpecDecs', len(SpecDecs))
#print('SpecDepths', len(SpecDepths), 'ResDecs', len(ResDecs))
#print('ResDepths', len(ResDepths), 'SDecs', len(SDecs))
#print('SDepths', len(SDepths), 'SIincs', len(SIncs))
#print('Incs', len(Incs))
if (Decs and Depths) or (SpecDecs and SpecDepths) or (ResDecs and ResDepths) or (SDecs and SDepths) or (SInts and SDepths) or (SIncs and SDepths) or (Incs and Depths):
main_plot = plt.figure(1, figsize=(width, 8)) # this works
# pylab.figure(1,figsize=(width,8))
version_num = pmag.get_version()
plt.figtext(.02, .01, version_num)
if pltDec:
ax = plt.subplot(1, pcol, plot)
if pltLine:
plt.plot(Decs, Depths, 'k')
if len(Decs) > 0:
plt.plot(Decs, Depths, sym, markersize=size)
if len(Decs) == 0 and pltLine and len(SDecs) > 0:
plt.plot(SDecs, SDepths, 'k')
if len(SDecs) > 0:
plt.plot(SDecs, SDepths, Ssym, markersize=Ssize)
if spc_file:
plt.plot(SpecDecs, SpecDepths, spc_sym, markersize=spc_size)
if spc_file and len(FDepths) > 0:
plt.scatter(
FDecs, FDepths, marker=spc_sym[-1], edgecolor=spc_sym[0], facecolor='white', s=spc_size**2)
if res_file:
plt.plot(ResDecs, ResDepths, res_sym, markersize=res_size)
if sum_file:
for core in Cores:
depth = float(core[core_depth_key])
if depth > dmin and depth < dmax:
plt.plot([0, 360.], [depth, depth], 'b--')
if pel == plt:
plt.text(360, depth + tint, core[core_label_key])
if pel == plot:
plt.axis([0, 400, dmax, dmin])
else:
plt.axis([0, 360., dmax, dmin])
plt.xlabel('Declination')
plt.ylabel(ylab)
plot += 1
pmagplotlib.delticks(ax) # dec xticks are too crowded otherwise
else:
print('no data!')
return False, 'No data found to plot\nTry again with different parameters'
if pltInc:
plt.subplot(1, pcol, plot)
if pltLine:
plt.plot(Incs, Depths, 'k')
if len(Incs) > 0:
plt.plot(Incs, Depths, sym, markersize=size)
if len(Incs) == 0 and pltLine and len(SIncs) > 0:
plt.plot(SIncs, SDepths, 'k')
if len(SIncs) > 0:
plt.plot(SIncs, SDepths, Ssym, markersize=Ssize)
if spc_file and len(SpecDepths) > 0:
plt.plot(SpecIncs, SpecDepths, spc_sym, markersize=spc_size)
if spc_file and len(FDepths) > 0:
plt.scatter(
FIncs, FDepths, marker=spc_sym[-1], edgecolor=spc_sym[0], facecolor='white', s=spc_size**2)
if res_file:
plt.plot(ResIncs, ResDepths, res_sym, markersize=res_size)
if sum_file:
for core in Cores:
depth = float(core[core_depth_key])
if depth > dmin and depth < dmax:
if pel == plot:
plt.text(90, depth + tint, core[core_label_key])
plt.plot([-90, 90], [depth, depth], 'b--')
plt.plot([0, 0], [dmax, dmin], 'k-')
if pel == plot:
plt.axis([-90, 110, dmax, dmin])
else:
plt.axis([-90, 90, dmax, dmin])
plt.xlabel('Inclination')
plt.ylabel('')
plot += 1
if pltMag and len(Ints) > 0 or len(SInts) > 0:
plt.subplot(1, pcol, plot)
for pow in range(-10, 10):
if maxInt * 10**pow > 1:
break
if not logit:
for k in range(len(Ints)):
Ints[k] = Ints[k] * 10**pow
for k in range(len(SInts)):
SInts[k] = SInts[k] * 10**pow
if pltLine and len(Ints) > 0:
plt.plot(Ints, Depths, 'k')
if len(Ints) > 0:
plt.plot(Ints, Depths, sym, markersize=size)
if len(Ints) == 0 and pltLine and len(SInts) > 0:
plt.plot(SInts, SDepths, 'k-')
if len(SInts) > 0:
plt.plot(SInts, SDepths, Ssym, markersize=Ssize)
if sum_file:
for core in Cores:
depth = float(core[core_depth_key])
plt.plot([0, maxInt * 10**pow + .1], [depth, depth], 'b--')
if depth > dmin and depth < dmax:
plt.text(maxInt * 10**pow - .2 * maxInt * 10 **
pow, depth + tint, core[core_label_key])
plt.axis([0, maxInt * 10**pow + .1, dmax, dmin])
if not norm:
plt.xlabel('%s %i %s' % ('Intensity (10^-', pow, ' Am^2)'))
else:
plt.xlabel('%s %i %s' % ('Intensity (10^-', pow, ' Am^2/kg)'))
else:
if pltLine:
plt.semilogx(Ints, Depths, 'k')
if len(Ints) > 0:
plt.semilogx(Ints, Depths, sym, markersize=size)
if len(Ints) == 0 and pltLine and len(SInts) > 0:
plt.semilogx(SInts, SDepths, 'k')
if len(Ints) == 0 and pltLine == 1 and len(SInts) > 0:
plt.semilogx(SInts, SDepths, 'k')
if len(SInts) > 0:
plt.semilogx(SInts, SDepths, Ssym, markersize=Ssize)
if sum_file:
for core in Cores:
depth = float(core[core_depth_key])
plt.semilogx([minInt, maxInt], [depth, depth], 'b--')
if depth > dmin and depth < dmax:
plt.text(maxInt - .2 * maxInt, depth +
tint, core[core_label_key])
minInt = plt.axis()[0]
plt.axis([minInt, maxInt, dmax, dmin])
if not norm:
plt.xlabel('Intensity (Am^2)')
else:
plt.xlabel('Intensity (Am^2/kg)')
plot += 1
if suc_file or len(SSucs) > 0:
plt.subplot(1, pcol, plot)
if len(Susc) > 0:
if pltLine:
plt.plot(Susc, Sus_depths, 'k')
if not logit:
plt.plot(Susc, Sus_depths, sym, markersize=size)
if logit:
plt.semilogx(Susc, Sus_depths, sym, markersize=size)
if len(SSucs) > 0:
if not logit:
plt.plot(SSucs, SDepths, sym, markersize=size)
if logit:
plt.semilogx(SSucs, SDepths, sym, markersize=size)
if sum_file:
for core in Cores:
depth = float(core[core_depth_key])
if not logit:
plt.plot([minSuc, maxSuc], [depth, depth], 'b--')
if logit:
plt.semilogx([minSuc, maxSuc], [depth, depth], 'b--')
plt.axis([minSuc, maxSuc, dmax, dmin])
plt.xlabel('Susceptibility')
plot += 1
# if wig_file:
# plt.subplot(1, pcol, plot)
# plt.plot(WIG, WIG_depths, 'k')
# if sum_file:
# for core in Cores:
# depth = float(core[core_depth_key])
# plt.plot([WIG[0], WIG[-1]], [depth, depth], 'b--')
# plt.axis([min(WIG), max(WIG), dmax, dmin])
# plt.xlabel(plt_key)
# plot += 1
if pltTime:
ax1 = plt.subplot(1, pcol, plot)
ax1.axis([-.25, 1.5, amax, amin])
plot += 1
TS, Chrons = pmag.get_ts(timescale)
X, Y, Y2 = [0, 1], [], []
cnt = 0
if amin < TS[1]: # in the Brunhes
Y = [amin, amin] # minimum age
Y1 = [TS[1], TS[1]] # age of the B/M boundary
# color in Brunhes, black
ax1.fill_between(X, Y, Y1, facecolor='black')
for d in TS[1:]:
pol = cnt % 2
cnt += 1
if d <= amax and d >= amin:
ind = TS.index(d)
Y = [TS[ind], TS[ind]]
Y1 = [TS[ind + 1], TS[ind + 1]]
if pol:
# fill in every other time
ax1.fill_between(X, Y, Y1, facecolor='black')
ax1.plot([0, 1, 1, 0, 0], [amin, amin, amax, amax, amin], 'k-')
ax2 = ax1.twinx()
plt.ylabel("Age (Ma): " + timescale)
for k in range(len(Chrons) - 1):
c = Chrons[k]
cnext = Chrons[k + 1]
d = cnext[1] - old_div((cnext[1] - c[1]), 3.)
if d >= amin and d < amax:
# make the Chron boundary tick
ax2.plot([1, 1.5], [c[1], c[1]], 'k-')
ax2.text(1.05, d, c[0])
ax2.axis([-.25, 1.5, amax, amin])
figname = location + '_m:_' + method + '_core-depthplot.' + fmt
plt.title(location)
return main_plot, figname
|
[
"def",
"core_depthplot",
"(",
"input_dir_path",
"=",
"'.'",
",",
"meas_file",
"=",
"'measurements.txt'",
",",
"spc_file",
"=",
"''",
",",
"samp_file",
"=",
"'samples.txt'",
",",
"age_file",
"=",
"''",
",",
"sum_file",
"=",
"''",
",",
"wt_file",
"=",
"''",
",",
"depth_scale",
"=",
"'core_depth'",
",",
"dmin",
"=",
"-",
"1",
",",
"dmax",
"=",
"-",
"1",
",",
"sym",
"=",
"'bo'",
",",
"size",
"=",
"5",
",",
"spc_sym",
"=",
"'ro'",
",",
"spc_size",
"=",
"5",
",",
"meth",
"=",
"''",
",",
"step",
"=",
"0",
",",
"fmt",
"=",
"'svg'",
",",
"pltDec",
"=",
"True",
",",
"pltInc",
"=",
"True",
",",
"pltMag",
"=",
"True",
",",
"pltLine",
"=",
"True",
",",
"pltSus",
"=",
"True",
",",
"logit",
"=",
"False",
",",
"pltTime",
"=",
"False",
",",
"timescale",
"=",
"None",
",",
"amin",
"=",
"-",
"1",
",",
"amax",
"=",
"-",
"1",
",",
"norm",
"=",
"False",
",",
"data_model_num",
"=",
"3",
",",
"location",
"=",
"\"\"",
")",
":",
"data_model_num",
"=",
"int",
"(",
"data_model_num",
")",
"# replace MagIC 3 defaults with MagIC 2.5 defaults if needed",
"if",
"data_model_num",
"==",
"2",
"and",
"meas_file",
"==",
"'measurements.txt'",
":",
"meas_file",
"=",
"'magic_measurements.txt'",
"if",
"data_model_num",
"==",
"2",
"and",
"samp_file",
"==",
"'samples.txt'",
":",
"samp_file",
"=",
"'er_samples.txt'",
"if",
"data_model_num",
"==",
"2",
"and",
"age_file",
"==",
"'ages.txt'",
":",
"age_file",
"=",
"'er_ages.txt'",
"if",
"data_model_num",
"==",
"2",
"and",
"depth_scale",
"==",
"\"core_depth\"",
":",
"depth_scale",
"=",
"\"sample_core_depth\"",
"# initialize MagIC 3.0 vs 2.5 column names",
"loc_col_name",
"=",
"\"location\"",
"if",
"data_model_num",
"==",
"3",
"else",
"\"er_location_name\"",
"site_col_name",
"=",
"\"site\"",
"if",
"data_model_num",
"==",
"3",
"else",
"\"er_site_name\"",
"samp_col_name",
"=",
"\"sample\"",
"if",
"data_model_num",
"==",
"3",
"else",
"\"er_sample_name\"",
"spec_col_name",
"=",
"\"specimen\"",
"if",
"data_model_num",
"==",
"3",
"else",
"\"er_specimen_name\"",
"meth_col_name",
"=",
"\"method_codes\"",
"if",
"data_model_num",
"==",
"3",
"else",
"\"magic_method_codes\"",
"spec_dec_col_name",
"=",
"\"dir_dec\"",
"if",
"data_model_num",
"==",
"3",
"else",
"\"specimen_dec\"",
"spec_inc_col_name",
"=",
"\"dir_inc\"",
"if",
"data_model_num",
"==",
"3",
"else",
"\"specimen_inc\"",
"avg_weight_col_name",
"=",
"\"weight\"",
"if",
"data_model_num",
"==",
"3",
"else",
"\"average_weight\"",
"spec_weight_col_name",
"=",
"\"weight\"",
"if",
"data_model_num",
"==",
"3",
"else",
"\"specimen_weight\"",
"age_col_name",
"=",
"\"age\"",
"if",
"data_model_num",
"==",
"3",
"else",
"\"average_age\"",
"height_col_name",
"=",
"\"height\"",
"if",
"data_model_num",
"==",
"3",
"else",
"\"average_height\"",
"average_dec_col_name",
"=",
"\"dir_dec\"",
"if",
"data_model_num",
"==",
"3",
"else",
"\"average_dec\"",
"average_inc_col_name",
"=",
"\"dir_inc\"",
"if",
"data_model_num",
"==",
"3",
"else",
"\"average_inc\"",
"# initialize other variables",
"width",
"=",
"10",
"Ssym",
",",
"Ssize",
"=",
"'cs'",
",",
"5",
"pcol",
"=",
"3",
"pel",
"=",
"3",
"maxInt",
"=",
"-",
"1000",
"minInt",
"=",
"1e10",
"maxSuc",
"=",
"-",
"1000",
"minSuc",
"=",
"10000",
"main_plot",
"=",
"None",
"if",
"size",
":",
"size",
"=",
"int",
"(",
"size",
")",
"if",
"spc_size",
":",
"spc_size",
"=",
"int",
"(",
"spc_size",
")",
"title",
"=",
"\"\"",
"if",
"location",
":",
"title",
"=",
"location",
"# file formats not supported for the moment",
"ngr_file",
"=",
"\"\"",
"# nothing needed, not implemented fully in original script",
"suc_file",
"=",
"\"\"",
"# nothing else needed, also was not implemented in original script",
"res_file",
"=",
"\"\"",
"# need also res_sym, res_size",
"wig_file",
"=",
"\"\"",
"# if wig_file: pcol+=1; width+=2",
"# which plots to make",
"if",
"not",
"pltDec",
":",
"pcol",
"-=",
"1",
"pel",
"-=",
"1",
"width",
"-=",
"2",
"if",
"not",
"pltInc",
":",
"pcol",
"-=",
"1",
"pel",
"-=",
"1",
"width",
"-=",
"2",
"if",
"not",
"pltMag",
":",
"pcol",
"-=",
"1",
"pel",
"-=",
"1",
"width",
"-=",
"2",
"# method and step",
"if",
"not",
"step",
"or",
"meth",
"==",
"'LT-NO'",
":",
"step",
"=",
"0",
"method",
"=",
"'LT-NO'",
"elif",
"meth",
"==",
"\"AF\"",
":",
"step",
"=",
"round",
"(",
"float",
"(",
"step",
")",
"*",
"1e-3",
",",
"6",
")",
"method",
"=",
"'LT-AF-Z'",
"elif",
"meth",
"==",
"'T'",
":",
"step",
"=",
"round",
"(",
"float",
"(",
"step",
")",
"+",
"273",
",",
"6",
")",
"method",
"=",
"'LT-T-Z'",
"elif",
"meth",
"==",
"'ARM'",
":",
"method",
"=",
"'LT-AF-I'",
"step",
"=",
"round",
"(",
"float",
"(",
"step",
")",
"*",
"1e-3",
",",
"6",
")",
"elif",
"meth",
"==",
"'IRM'",
":",
"method",
"=",
"'LT-IRM'",
"step",
"=",
"round",
"(",
"float",
"(",
"step",
")",
"*",
"1e-3",
",",
"6",
")",
"# not supporting susceptibility at the moment LJ",
"elif",
"meth",
"==",
"'X'",
":",
"method",
"=",
"'LP-X'",
"pcol",
"+=",
"1",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"'-LP'",
")",
"if",
"sys",
".",
"argv",
"[",
"ind",
"+",
"2",
"]",
"==",
"'mass'",
":",
"if",
"data_model_num",
"!=",
"3",
":",
"suc_key",
"=",
"'measurement_chi_mass'",
"else",
":",
"suc_key",
"=",
"'susc_chi_mass'",
"elif",
"sys",
".",
"argv",
"[",
"ind",
"+",
"2",
"]",
"==",
"'vol'",
":",
"if",
"data_model_num",
"!=",
"3",
":",
"suc_key",
"=",
"'measurement_chi_volume'",
"else",
":",
"suc_key",
"=",
"'susc_chi_volume'",
"else",
":",
"print",
"(",
"'error in susceptibility units'",
")",
"return",
"False",
",",
"'error in susceptibility units'",
"else",
":",
"print",
"(",
"'method: {} not supported'",
".",
"format",
"(",
"meth",
")",
")",
"return",
"False",
",",
"'method: \"{}\" not supported'",
".",
"format",
"(",
"meth",
")",
"if",
"wt_file",
":",
"norm",
"=",
"True",
"if",
"dmin",
"and",
"dmax",
":",
"dmin",
",",
"dmax",
"=",
"float",
"(",
"dmin",
")",
",",
"float",
"(",
"dmax",
")",
"else",
":",
"dmin",
",",
"dmax",
"=",
"-",
"1",
",",
"-",
"1",
"if",
"pltTime",
":",
"amin",
"=",
"float",
"(",
"amin",
")",
"amax",
"=",
"float",
"(",
"amax",
")",
"pcol",
"+=",
"1",
"width",
"+=",
"2",
"if",
"not",
"(",
"amax",
"and",
"timescale",
")",
":",
"return",
"False",
",",
"\"To plot time, you must provide amin, amax, and timescale\"",
"#",
"#",
"# read in 3.0 data and translate to 2.5",
"if",
"meas_file",
":",
"meas_file",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"meas_file",
",",
"input_dir_path",
")",
"if",
"spc_file",
":",
"spc_file",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"spc_file",
",",
"input_dir_path",
")",
"if",
"samp_file",
":",
"samp_file",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"samp_file",
",",
"input_dir_path",
")",
"if",
"age_file",
":",
"age_file",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"age_file",
",",
"input_dir_path",
")",
"if",
"data_model_num",
"==",
"3",
":",
"fnames",
"=",
"{",
"'specimens'",
":",
"spc_file",
",",
"'samples'",
":",
"samp_file",
",",
"'ages'",
":",
"age_file",
",",
"'measurements'",
":",
"meas_file",
"}",
"fnames",
"=",
"{",
"k",
":",
"v",
"for",
"(",
"k",
",",
"v",
")",
"in",
"fnames",
".",
"items",
"(",
")",
"if",
"v",
"}",
"con",
"=",
"cb",
".",
"Contribution",
"(",
"input_dir_path",
",",
"custom_filenames",
"=",
"fnames",
")",
"for",
"dtype",
"in",
"[",
"'measurements'",
",",
"'specimens'",
"]",
":",
"if",
"dtype",
"not",
"in",
"con",
".",
"tables",
":",
"print",
"(",
"'-E- You must have a {} file in your input directory ({}) to run core_depthplot'",
".",
"format",
"(",
"dtype",
",",
"input_dir_path",
")",
")",
"print",
"(",
"' If needed, you can specify your input directory on the command line with \"core_depthplot.py -ID dirname ... \"'",
")",
"print",
"(",
"' Or with ipmag.core_depthplot(input_dir_path=dirname, ...)'",
")",
"# return False, '-E- You must have a {} file in your input directory ({}) to run core_depthplot'.format(dtype, input_dir_path)",
"# propagate data to measurements",
"con",
".",
"propagate_name_down",
"(",
"'sample'",
",",
"'measurements'",
")",
"con",
".",
"propagate_name_down",
"(",
"'site'",
",",
"'measurements'",
")",
"# propagate depth info from sites --> samples",
"con",
".",
"propagate_cols",
"(",
"[",
"'core_depth'",
",",
"'composite_depth'",
"]",
",",
"'samples'",
",",
"'sites'",
")",
"if",
"age_file",
"==",
"\"\"",
":",
"# get sample data straight from the contribution",
"Samps",
"=",
"[",
"]",
"if",
"'samples'",
"in",
"con",
".",
"tables",
":",
"Samps",
"=",
"con",
".",
"tables",
"[",
"'samples'",
"]",
".",
"convert_to_pmag_data_list",
"(",
")",
"else",
":",
"depth_scale",
"=",
"'age'",
"Samps",
"=",
"[",
"]",
"# get age data from contribution",
"if",
"'ages'",
"in",
"con",
".",
"tables",
":",
"# we need to get sample in here",
"# this doesn't do the trick by itself",
"con",
".",
"propagate_ages",
"(",
")",
"con",
".",
"propagate_cols",
"(",
"[",
"'age'",
",",
"'age_unit'",
"]",
",",
"'samples'",
",",
"'sites'",
")",
"Samps",
"=",
"con",
".",
"tables",
"[",
"'samples'",
"]",
".",
"convert_to_pmag_data_list",
"(",
")",
"age_unit",
"=",
"\"\"",
"if",
"spc_file",
":",
"Specs3",
"=",
"[",
"]",
"# get specimen data from contribution",
"Specs",
"=",
"[",
"]",
"if",
"'specimens'",
"in",
"con",
".",
"tables",
":",
"Specs",
"=",
"con",
".",
"tables",
"[",
"'specimens'",
"]",
".",
"convert_to_pmag_data_list",
"(",
")",
"if",
"res_file",
":",
"warn",
"=",
"'-W- result file option is not currently available for MagIC data model 3'",
"print",
"(",
"warn",
")",
"return",
"False",
",",
"warn",
"#Results, file_type = pmag.magic_read(res_file)",
"if",
"norm",
":",
"#warn = '-W- norm option is not currently available for MagIC data model 3'",
"# print(warn)",
"# return False, warn",
"Specs3",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"wt_file",
")",
"# translate specimen records to 2.5",
"ErSpecs",
"=",
"[",
"]",
"# for spec in Specs3:",
"# ErSpecs.append(map_magic.mapping(spec, spec_magic3_2_magic2_map))",
"ErSpecs",
"=",
"Specs3",
"print",
"(",
"len",
"(",
"ErSpecs",
")",
",",
"' specimens read in from '",
",",
"wt_file",
")",
"if",
"not",
"os",
".",
"path",
".",
"isfile",
"(",
"spc_file",
")",
":",
"if",
"not",
"os",
".",
"path",
".",
"isfile",
"(",
"meas_file",
")",
":",
"return",
"False",
",",
"\"You must provide either a magic_measurements file or a pmag_specimens file\"",
"if",
"not",
"age_file",
"and",
"not",
"samp_file",
":",
"print",
"(",
"'-W- You must provide either an age file or a sample file'",
")",
"return",
"False",
",",
"'-W- You must provide either an age file or a sample file'",
"# read in 2.5 data",
"elif",
"data_model_num",
"==",
"2",
":",
"if",
"age_file",
"==",
"\"\"",
":",
"if",
"samp_file",
":",
"samp_file",
"=",
"os",
".",
"path",
".",
"join",
"(",
"input_dir_path",
",",
"samp_file",
")",
"Samps",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"samp_file",
")",
"else",
":",
"depth_scale",
"=",
"'age'",
"if",
"age_file",
":",
"age_file",
"=",
"os",
".",
"path",
".",
"join",
"(",
"input_dir_path",
",",
"age_file",
")",
"Samps",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"age_file",
")",
"age_unit",
"=",
"\"\"",
"if",
"spc_file",
":",
"Specs",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"spc_file",
")",
"if",
"res_file",
":",
"Results",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"res_file",
")",
"if",
"norm",
":",
"ErSpecs",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"wt_file",
")",
"print",
"(",
"len",
"(",
"ErSpecs",
")",
",",
"' specimens read in from '",
",",
"wt_file",
")",
"if",
"not",
"os",
".",
"path",
".",
"isfile",
"(",
"spc_file",
")",
":",
"if",
"not",
"os",
".",
"path",
".",
"isfile",
"(",
"meas_file",
")",
":",
"return",
"False",
",",
"\"You must provide either a magic_measurements file or a pmag_specimens file\"",
"else",
":",
"return",
"False",
",",
"\"Invalid data model number: {}\"",
".",
"format",
"(",
"str",
"(",
"data_model_num",
")",
")",
"Cores",
"=",
"[",
"]",
"core_depth_key",
"=",
"\"Top depth cored CSF (m)\"",
"if",
"sum_file",
":",
"# os.path.join(input_dir_path, sum_file)",
"sum_file",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"sum_file",
",",
"input_dir_path",
")",
"with",
"open",
"(",
"sum_file",
",",
"'r'",
")",
"as",
"fin",
":",
"indat",
"=",
"fin",
".",
"readlines",
"(",
")",
"if",
"\"Core Summary\"",
"in",
"indat",
"[",
"0",
"]",
":",
"headline",
"=",
"1",
"else",
":",
"headline",
"=",
"0",
"keys",
"=",
"indat",
"[",
"headline",
"]",
".",
"replace",
"(",
"'\\n'",
",",
"''",
")",
".",
"split",
"(",
"','",
")",
"if",
"\"Core Top (m)\"",
"in",
"keys",
":",
"core_depth_key",
"=",
"\"Core Top (m)\"",
"if",
"\"Top depth cored CSF (m)\"",
"in",
"keys",
":",
"core_dpeth_key",
"=",
"\"Top depth cored CSF (m)\"",
"if",
"\"Core Label\"",
"in",
"keys",
":",
"core_label_key",
"=",
"\"Core Label\"",
"if",
"\"Core label\"",
"in",
"keys",
":",
"core_label_key",
"=",
"\"Core label\"",
"for",
"line",
"in",
"indat",
"[",
"2",
":",
"]",
":",
"if",
"'TOTALS'",
"not",
"in",
"line",
":",
"CoreRec",
"=",
"{",
"}",
"for",
"k",
"in",
"range",
"(",
"len",
"(",
"keys",
")",
")",
":",
"CoreRec",
"[",
"keys",
"[",
"k",
"]",
"]",
"=",
"line",
".",
"split",
"(",
"','",
")",
"[",
"k",
"]",
"Cores",
".",
"append",
"(",
"CoreRec",
")",
"if",
"len",
"(",
"Cores",
")",
"==",
"0",
":",
"print",
"(",
"'no Core depth information available: import core summary file'",
")",
"sum_file",
"=",
"\"\"",
"Data",
"=",
"[",
"]",
"if",
"'core_depth'",
"in",
"depth_scale",
"or",
"depth_scale",
"==",
"'mbsf'",
":",
"ylab",
"=",
"\"Depth (mbsf)\"",
"depth_scale",
"=",
"'core_depth'",
"elif",
"depth_scale",
"==",
"'age'",
":",
"ylab",
"=",
"\"Age\"",
"elif",
"'composite_depth'",
"in",
"depth_scale",
"or",
"depth_scale",
"==",
"'mcd'",
":",
"ylab",
"=",
"\"Depth (mcd)\"",
"depth_scale",
"=",
"'composite_depth'",
"else",
":",
"print",
"(",
"'Warning: You have provided unsupported depth scale: {}.\\nUsing default (mbsf) instead.'",
".",
"format",
"(",
"depth_scale",
")",
")",
"depth_scale",
"=",
"'core_depth'",
"ylab",
"=",
"\"Depth (mbsf)\"",
"# fix depth scale for data model 2 if needed",
"if",
"data_model_num",
"==",
"2",
"and",
"not",
"depth_scale",
".",
"startswith",
"(",
"'sample_'",
")",
":",
"if",
"depth_scale",
"!=",
"\"age\"",
":",
"depth_scale",
"=",
"\"sample_\"",
"+",
"depth_scale",
"# collect the data for plotting declination",
"Depths",
",",
"Decs",
",",
"Incs",
",",
"Ints",
"=",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
"SDepths",
",",
"SDecs",
",",
"SIncs",
",",
"SInts",
"=",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
"SSucs",
"=",
"[",
"]",
"samples",
"=",
"[",
"]",
"methods",
",",
"steps",
",",
"m2",
"=",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
"if",
"os",
".",
"path",
".",
"isfile",
"(",
"meas_file",
")",
":",
"# plot the bulk measurement data",
"if",
"data_model_num",
"==",
"3",
":",
"Meas",
"=",
"[",
"]",
"if",
"'measurements'",
"in",
"con",
".",
"tables",
":",
"Meas",
"=",
"con",
".",
"tables",
"[",
"'measurements'",
"]",
".",
"convert_to_pmag_data_list",
"(",
")",
"# has measurement_magn_mass ....",
"dec_key",
",",
"inc_key",
"=",
"'dir_dec'",
",",
"'dir_inc'",
"meth_key",
",",
"temp_key",
",",
"ac_key",
",",
"dc_key",
"=",
"'method_codes'",
",",
"'treat_temp'",
",",
"'treat_ac_field'",
",",
"'treat_dc_field'",
"intlist",
"=",
"[",
"'magnitude'",
",",
"'magn_moment'",
",",
"'magn_volume'",
",",
"'magn_mass'",
"]",
"meas_key",
"=",
"\"magn_moment\"",
"elif",
"data_model_num",
"==",
"2",
":",
"intlist",
"=",
"[",
"'measurement_magnitude'",
",",
"'measurement_magn_moment'",
",",
"'measurement_magn_volume'",
",",
"'measurement_magn_mass'",
"]",
"temp_key",
",",
"ac_key",
",",
"dc_key",
"=",
"'treatment_temp'",
",",
"'treatment_ac_field'",
",",
"'treatment_dc_field'",
"dec_key",
",",
"inc_key",
"=",
"'measurement_dec'",
",",
"'measurement_inc'",
"Meas",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"meas_file",
")",
"meas_key",
"=",
"'measurement_magn_moment'",
"#",
"print",
"(",
"len",
"(",
"Meas",
")",
",",
"' measurements read in from '",
",",
"meas_file",
")",
"#",
"for",
"m",
"in",
"intlist",
":",
"# find the intensity key with data",
"# get all non-blank data for this specimen",
"meas_data",
"=",
"pmag",
".",
"get_dictitem",
"(",
"Meas",
",",
"m",
",",
"''",
",",
"'F'",
")",
"if",
"len",
"(",
"meas_data",
")",
">",
"0",
":",
"print",
"(",
"'using intensity key:'",
",",
"m",
")",
"meas_key",
"=",
"m",
"break",
"# fish out the desired method code",
"m1",
"=",
"pmag",
".",
"get_dictitem",
"(",
"Meas",
",",
"meth_col_name",
",",
"method",
",",
"'has'",
")",
"if",
"method",
"==",
"'LT-T-Z'",
":",
"m2",
"=",
"pmag",
".",
"get_dictitem",
"(",
"m1",
",",
"temp_key",
",",
"str",
"(",
"step",
")",
",",
"'eval'",
")",
"# fish out the desired step",
"elif",
"'LT-AF'",
"in",
"method",
":",
"m2",
"=",
"pmag",
".",
"get_dictitem",
"(",
"m1",
",",
"ac_key",
",",
"str",
"(",
"step",
")",
",",
"'eval'",
")",
"elif",
"'LT-IRM'",
"in",
"method",
":",
"m2",
"=",
"pmag",
".",
"get_dictitem",
"(",
"m1",
",",
"dc_key",
",",
"str",
"(",
"step",
")",
",",
"'eval'",
")",
"elif",
"'LP-X'",
"in",
"method",
":",
"m2",
"=",
"pmag",
".",
"get_dictitem",
"(",
"m1",
",",
"suc_key",
",",
"''",
",",
"'F'",
")",
"if",
"len",
"(",
"m2",
")",
">",
"0",
":",
"for",
"rec",
"in",
"m2",
":",
"# fish out depths and weights",
"D",
"=",
"pmag",
".",
"get_dictitem",
"(",
"Samps",
",",
"samp_col_name",
",",
"rec",
"[",
"samp_col_name",
"]",
",",
"'T'",
")",
"if",
"not",
"D",
":",
"# if using an age_file, you may need to sort by site",
"D",
"=",
"pmag",
".",
"get_dictitem",
"(",
"Samps",
",",
"site_col_name",
",",
"rec",
"[",
"site_col_name",
"]",
",",
"'T'",
")",
"depth",
"=",
"pmag",
".",
"get_dictitem",
"(",
"D",
",",
"depth_scale",
",",
"''",
",",
"'F'",
")",
"if",
"len",
"(",
"depth",
")",
">",
"0",
":",
"if",
"ylab",
"==",
"'Age'",
":",
"# get units of ages - assume they are all the same!",
"ylab",
"=",
"ylab",
"+",
"' ('",
"+",
"depth",
"[",
"0",
"]",
"[",
"'age_unit'",
"]",
"+",
"')'",
"rec",
"[",
"depth_scale",
"]",
"=",
"float",
"(",
"depth",
"[",
"0",
"]",
"[",
"depth_scale",
"]",
")",
"rec",
"[",
"meth_col_name",
"]",
"=",
"rec",
"[",
"meth_col_name",
"]",
"+",
"':'",
"+",
"depth",
"[",
"0",
"]",
"[",
"meth_col_name",
"]",
"if",
"norm",
":",
"specrecs",
"=",
"pmag",
".",
"get_dictitem",
"(",
"ErSpecs",
",",
"spec_col_name",
",",
"rec",
"[",
"spec_col_name",
"]",
",",
"'T'",
")",
"specwts",
"=",
"pmag",
".",
"get_dictitem",
"(",
"specrecs",
",",
"spec_weight_col_name",
",",
"\"\"",
",",
"'F'",
")",
"if",
"len",
"(",
"specwts",
")",
">",
"0",
":",
"rec",
"[",
"weight_col_name",
"]",
"=",
"specwts",
"[",
"0",
"]",
"[",
"spec_weight_col_name",
"]",
"# fish out data with core_depth and (if needed)",
"# weights",
"Data",
".",
"append",
"(",
"rec",
")",
"else",
":",
"# fish out data with core_depth and (if needed) weights",
"Data",
".",
"append",
"(",
"rec",
")",
"if",
"title",
"==",
"\"\"",
":",
"pieces",
"=",
"rec",
"[",
"samp_col_name",
"]",
".",
"split",
"(",
"'-'",
")",
"location",
"=",
"rec",
".",
"get",
"(",
"loc_col_name",
",",
"''",
")",
"title",
"=",
"location",
"SData",
"=",
"pmag",
".",
"sort_diclist",
"(",
"Data",
",",
"depth_scale",
")",
"for",
"rec",
"in",
"SData",
":",
"# fish out bulk measurement data from desired depths",
"if",
"dmax",
"==",
"-",
"1",
"or",
"float",
"(",
"rec",
"[",
"depth_scale",
"]",
")",
"<",
"dmax",
"and",
"float",
"(",
"rec",
"[",
"depth_scale",
"]",
")",
">",
"dmin",
":",
"Depths",
".",
"append",
"(",
"(",
"rec",
"[",
"depth_scale",
"]",
")",
")",
"if",
"method",
"==",
"\"LP-X\"",
":",
"SSucs",
".",
"append",
"(",
"float",
"(",
"rec",
"[",
"suc_key",
"]",
")",
")",
"else",
":",
"if",
"pltDec",
":",
"Decs",
".",
"append",
"(",
"float",
"(",
"rec",
"[",
"dec_key",
"]",
")",
")",
"if",
"pltInc",
":",
"Incs",
".",
"append",
"(",
"float",
"(",
"rec",
"[",
"inc_key",
"]",
")",
")",
"if",
"not",
"norm",
"and",
"pltMag",
":",
"Ints",
".",
"append",
"(",
"float",
"(",
"rec",
"[",
"meas_key",
"]",
")",
")",
"if",
"norm",
"and",
"pltMag",
":",
"Ints",
".",
"append",
"(",
"float",
"(",
"rec",
"[",
"meas_key",
"]",
")",
"/",
"float",
"(",
"rec",
"[",
"spec_weight_col_name",
"]",
")",
")",
"if",
"len",
"(",
"SSucs",
")",
">",
"0",
":",
"maxSuc",
"=",
"max",
"(",
"SSucs",
")",
"minSuc",
"=",
"min",
"(",
"SSucs",
")",
"if",
"len",
"(",
"Ints",
")",
">",
"1",
":",
"maxInt",
"=",
"max",
"(",
"Ints",
")",
"minInt",
"=",
"min",
"(",
"Ints",
")",
"if",
"len",
"(",
"Depths",
")",
"==",
"0",
":",
"print",
"(",
"'no bulk measurement data matched your request'",
")",
"else",
":",
"print",
"(",
"len",
"(",
"Depths",
")",
",",
"\"depths found\"",
")",
"SpecDepths",
",",
"SpecDecs",
",",
"SpecIncs",
"=",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
"FDepths",
",",
"FDecs",
",",
"FIncs",
"=",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
"if",
"spc_file",
":",
"# add depths to spec data",
"# get all the discrete data with best fit lines",
"BFLs",
"=",
"pmag",
".",
"get_dictitem",
"(",
"Specs",
",",
"meth_col_name",
",",
"'DE-BFL'",
",",
"'has'",
")",
"for",
"spec",
"in",
"BFLs",
":",
"if",
"location",
"==",
"\"\"",
":",
"location",
"=",
"spec",
".",
"get",
"(",
"loc_col_name",
",",
"\"\"",
")",
"samp",
"=",
"pmag",
".",
"get_dictitem",
"(",
"Samps",
",",
"samp_col_name",
",",
"spec",
"[",
"samp_col_name",
"]",
",",
"'T'",
")",
"if",
"len",
"(",
"samp",
")",
">",
"0",
"and",
"depth_scale",
"in",
"list",
"(",
"samp",
"[",
"0",
"]",
".",
"keys",
"(",
")",
")",
"and",
"samp",
"[",
"0",
"]",
"[",
"depth_scale",
"]",
"!=",
"\"\"",
":",
"if",
"ylab",
"==",
"'Age'",
":",
"# get units of ages - assume they are all the same!",
"ylab",
"=",
"ylab",
"+",
"' ('",
"+",
"samp",
"[",
"0",
"]",
"[",
"'age_unit'",
"]",
"+",
"')'",
"# filter for depth",
"if",
"dmax",
"==",
"-",
"1",
"or",
"float",
"(",
"samp",
"[",
"0",
"]",
"[",
"depth_scale",
"]",
")",
"<",
"dmax",
"and",
"float",
"(",
"samp",
"[",
"0",
"]",
"[",
"depth_scale",
"]",
")",
">",
"dmin",
":",
"# fish out data with core_depth",
"SpecDepths",
".",
"append",
"(",
"float",
"(",
"samp",
"[",
"0",
"]",
"[",
"depth_scale",
"]",
")",
")",
"# fish out data with core_depth",
"SpecDecs",
".",
"append",
"(",
"float",
"(",
"spec",
"[",
"spec_dec_col_name",
"]",
")",
")",
"# fish out data with core_depth",
"SpecIncs",
".",
"append",
"(",
"float",
"(",
"spec",
"[",
"spec_inc_col_name",
"]",
")",
")",
"else",
":",
"print",
"(",
"'no core_depth found for: '",
",",
"spec",
"[",
"spec_col_name",
"]",
")",
"# get all the discrete data with best fit lines",
"FMs",
"=",
"pmag",
".",
"get_dictitem",
"(",
"Specs",
",",
"meth_col_name",
",",
"'DE-FM'",
",",
"'has'",
")",
"for",
"spec",
"in",
"FMs",
":",
"if",
"location",
"==",
"\"\"",
":",
"location",
"=",
"spec",
".",
"get",
"(",
"loc_col_name",
",",
"\"\"",
")",
"samp",
"=",
"pmag",
".",
"get_dictitem",
"(",
"Samps",
",",
"samp_col_name",
",",
"spec",
"[",
"samp_col_name",
"]",
",",
"'T'",
")",
"if",
"len",
"(",
"samp",
")",
">",
"0",
"and",
"depth_scale",
"in",
"list",
"(",
"samp",
"[",
"0",
"]",
".",
"keys",
"(",
")",
")",
"and",
"samp",
"[",
"0",
"]",
"[",
"depth_scale",
"]",
"!=",
"\"\"",
":",
"if",
"ylab",
"==",
"'Age'",
":",
"# get units of ages - assume they are all the same!",
"ylab",
"=",
"ylab",
"+",
"' ('",
"+",
"samp",
"[",
"0",
"]",
"[",
"'age_unit'",
"]",
"+",
"')'",
"# filter for depth",
"if",
"dmax",
"==",
"-",
"1",
"or",
"float",
"(",
"samp",
"[",
"0",
"]",
"[",
"depth_scale",
"]",
")",
"<",
"dmax",
"and",
"float",
"(",
"samp",
"[",
"0",
"]",
"[",
"depth_scale",
"]",
")",
">",
"dmin",
":",
"# fish out data with core_depth",
"FDepths",
".",
"append",
"(",
"float",
"(",
"samp",
"[",
"0",
"]",
"[",
"depth_scale",
"]",
")",
")",
"# fish out data with core_depth",
"FDecs",
".",
"append",
"(",
"float",
"(",
"spec",
"[",
"spec_dec_col",
"]",
")",
")",
"# fish out data with core_depth",
"FIncs",
".",
"append",
"(",
"float",
"(",
"spec",
"[",
"spec_inc_col",
"]",
")",
")",
"else",
":",
"print",
"(",
"'no core_depth found for: '",
",",
"spec",
"[",
"spec_col_name",
"]",
")",
"ResDepths",
",",
"ResDecs",
",",
"ResIncs",
"=",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
"if",
"'age'",
"in",
"depth_scale",
":",
"# set y-key",
"res_scale",
"=",
"age_col_name",
"else",
":",
"res_scale",
"=",
"height_col_name",
"if",
"res_file",
":",
"# creates lists of Result Data",
"for",
"res",
"in",
"Results",
":",
"meths",
"=",
"res",
"[",
"meth_col_name",
"]",
".",
"split",
"(",
"\":\"",
")",
"if",
"'DE-FM'",
"in",
"meths",
":",
"# filter for depth",
"if",
"dmax",
"==",
"-",
"1",
"or",
"float",
"(",
"res",
"[",
"res_scale",
"]",
")",
"<",
"dmax",
"and",
"float",
"(",
"res",
"[",
"res_scale",
"]",
")",
">",
"dmin",
":",
"# fish out data with core_depth",
"ResDepths",
".",
"append",
"(",
"float",
"(",
"res",
"[",
"res_scale",
"]",
")",
")",
"# fish out data with core_depth",
"ResDecs",
".",
"append",
"(",
"float",
"(",
"res",
"[",
"'average_dec'",
"]",
")",
")",
"# fish out data with core_depth",
"ResIncs",
".",
"append",
"(",
"float",
"(",
"res",
"[",
"'average_inc'",
"]",
")",
")",
"Susc",
",",
"Sus_depths",
"=",
"[",
"]",
",",
"[",
"]",
"if",
"dmin",
"==",
"-",
"1",
":",
"if",
"len",
"(",
"Depths",
")",
">",
"0",
":",
"dmin",
",",
"dmax",
"=",
"Depths",
"[",
"0",
"]",
",",
"Depths",
"[",
"-",
"1",
"]",
"if",
"len",
"(",
"FDepths",
")",
">",
"0",
":",
"dmin",
",",
"dmax",
"=",
"FDepths",
"[",
"0",
"]",
",",
"FDepths",
"[",
"-",
"1",
"]",
"if",
"pltSus",
"and",
"len",
"(",
"SDepths",
")",
">",
"0",
":",
"if",
"SDepths",
"[",
"0",
"]",
"<",
"dmin",
":",
"dmin",
"=",
"SDepths",
"[",
"0",
"]",
"if",
"SDepths",
"[",
"-",
"1",
"]",
">",
"dmax",
":",
"dmax",
"=",
"SDepths",
"[",
"-",
"1",
"]",
"if",
"len",
"(",
"SpecDepths",
")",
">",
"0",
":",
"if",
"min",
"(",
"SpecDepths",
")",
"<",
"dmin",
":",
"dmin",
"=",
"min",
"(",
"SpecDepths",
")",
"if",
"max",
"(",
"SpecDepths",
")",
">",
"dmax",
":",
"dmax",
"=",
"max",
"(",
"SpecDepths",
")",
"if",
"len",
"(",
"ResDepths",
")",
">",
"0",
":",
"if",
"min",
"(",
"ResDepths",
")",
"<",
"dmin",
":",
"dmin",
"=",
"min",
"(",
"ResDepths",
")",
"if",
"max",
"(",
"ResDepths",
")",
">",
"dmax",
":",
"dmax",
"=",
"max",
"(",
"ResDepths",
")",
"# wig_file and suc_file not currently supported options",
"# if suc_file:",
"# with open(suc_file, 'r') as s_file:",
"# sucdat = s_file.readlines()",
"# keys = sucdat[0].replace('\\n', '').split(',') # splits on underscores",
"# for line in sucdat[1:]:",
"# SucRec = {}",
"# for k in range(len(keys)):",
"# SucRec[keys[k]] = line.split(',')[k]",
"# if float(SucRec['Top Depth (m)']) < dmax and float(SucRec['Top Depth (m)']) > dmin and SucRec['Magnetic Susceptibility (80 mm)'] != \"\":",
"# Susc.append(float(SucRec['Magnetic Susceptibility (80 mm)']))",
"# if Susc[-1] > maxSuc:",
"# maxSuc = Susc[-1]",
"# if Susc[-1] < minSuc:",
"# minSuc = Susc[-1]",
"# Sus_depths.append(float(SucRec['Top Depth (m)']))",
"#WIG, WIG_depths = [], []",
"# if wig_file:",
"# wigdat, file_type = pmag.magic_read(wig_file)",
"# swigdat = pmag.sort_diclist(wigdat, depth_scale)",
"# keys = list(wigdat[0].keys())",
"# for key in keys:",
"# if key != depth_scale:",
"# plt_key = key",
"# break",
"# for wig in swigdat:",
"# if float(wig[depth_scale]) < dmax and float(wig[depth_scale]) > dmin:",
"# WIG.append(float(wig[plt_key]))",
"# WIG_depths.append(float(wig[depth_scale]))",
"tint",
"=",
"4.5",
"plot",
"=",
"1",
"#print('Decs', len(Decs))",
"#print('Depths', len(Depths), 'SpecDecs', len(SpecDecs))",
"#print('SpecDepths', len(SpecDepths), 'ResDecs', len(ResDecs))",
"#print('ResDepths', len(ResDepths), 'SDecs', len(SDecs))",
"#print('SDepths', len(SDepths), 'SIincs', len(SIncs))",
"#print('Incs', len(Incs))",
"if",
"(",
"Decs",
"and",
"Depths",
")",
"or",
"(",
"SpecDecs",
"and",
"SpecDepths",
")",
"or",
"(",
"ResDecs",
"and",
"ResDepths",
")",
"or",
"(",
"SDecs",
"and",
"SDepths",
")",
"or",
"(",
"SInts",
"and",
"SDepths",
")",
"or",
"(",
"SIncs",
"and",
"SDepths",
")",
"or",
"(",
"Incs",
"and",
"Depths",
")",
":",
"main_plot",
"=",
"plt",
".",
"figure",
"(",
"1",
",",
"figsize",
"=",
"(",
"width",
",",
"8",
")",
")",
"# this works",
"# pylab.figure(1,figsize=(width,8))",
"version_num",
"=",
"pmag",
".",
"get_version",
"(",
")",
"plt",
".",
"figtext",
"(",
".02",
",",
".01",
",",
"version_num",
")",
"if",
"pltDec",
":",
"ax",
"=",
"plt",
".",
"subplot",
"(",
"1",
",",
"pcol",
",",
"plot",
")",
"if",
"pltLine",
":",
"plt",
".",
"plot",
"(",
"Decs",
",",
"Depths",
",",
"'k'",
")",
"if",
"len",
"(",
"Decs",
")",
">",
"0",
":",
"plt",
".",
"plot",
"(",
"Decs",
",",
"Depths",
",",
"sym",
",",
"markersize",
"=",
"size",
")",
"if",
"len",
"(",
"Decs",
")",
"==",
"0",
"and",
"pltLine",
"and",
"len",
"(",
"SDecs",
")",
">",
"0",
":",
"plt",
".",
"plot",
"(",
"SDecs",
",",
"SDepths",
",",
"'k'",
")",
"if",
"len",
"(",
"SDecs",
")",
">",
"0",
":",
"plt",
".",
"plot",
"(",
"SDecs",
",",
"SDepths",
",",
"Ssym",
",",
"markersize",
"=",
"Ssize",
")",
"if",
"spc_file",
":",
"plt",
".",
"plot",
"(",
"SpecDecs",
",",
"SpecDepths",
",",
"spc_sym",
",",
"markersize",
"=",
"spc_size",
")",
"if",
"spc_file",
"and",
"len",
"(",
"FDepths",
")",
">",
"0",
":",
"plt",
".",
"scatter",
"(",
"FDecs",
",",
"FDepths",
",",
"marker",
"=",
"spc_sym",
"[",
"-",
"1",
"]",
",",
"edgecolor",
"=",
"spc_sym",
"[",
"0",
"]",
",",
"facecolor",
"=",
"'white'",
",",
"s",
"=",
"spc_size",
"**",
"2",
")",
"if",
"res_file",
":",
"plt",
".",
"plot",
"(",
"ResDecs",
",",
"ResDepths",
",",
"res_sym",
",",
"markersize",
"=",
"res_size",
")",
"if",
"sum_file",
":",
"for",
"core",
"in",
"Cores",
":",
"depth",
"=",
"float",
"(",
"core",
"[",
"core_depth_key",
"]",
")",
"if",
"depth",
">",
"dmin",
"and",
"depth",
"<",
"dmax",
":",
"plt",
".",
"plot",
"(",
"[",
"0",
",",
"360.",
"]",
",",
"[",
"depth",
",",
"depth",
"]",
",",
"'b--'",
")",
"if",
"pel",
"==",
"plt",
":",
"plt",
".",
"text",
"(",
"360",
",",
"depth",
"+",
"tint",
",",
"core",
"[",
"core_label_key",
"]",
")",
"if",
"pel",
"==",
"plot",
":",
"plt",
".",
"axis",
"(",
"[",
"0",
",",
"400",
",",
"dmax",
",",
"dmin",
"]",
")",
"else",
":",
"plt",
".",
"axis",
"(",
"[",
"0",
",",
"360.",
",",
"dmax",
",",
"dmin",
"]",
")",
"plt",
".",
"xlabel",
"(",
"'Declination'",
")",
"plt",
".",
"ylabel",
"(",
"ylab",
")",
"plot",
"+=",
"1",
"pmagplotlib",
".",
"delticks",
"(",
"ax",
")",
"# dec xticks are too crowded otherwise",
"else",
":",
"print",
"(",
"'no data!'",
")",
"return",
"False",
",",
"'No data found to plot\\nTry again with different parameters'",
"if",
"pltInc",
":",
"plt",
".",
"subplot",
"(",
"1",
",",
"pcol",
",",
"plot",
")",
"if",
"pltLine",
":",
"plt",
".",
"plot",
"(",
"Incs",
",",
"Depths",
",",
"'k'",
")",
"if",
"len",
"(",
"Incs",
")",
">",
"0",
":",
"plt",
".",
"plot",
"(",
"Incs",
",",
"Depths",
",",
"sym",
",",
"markersize",
"=",
"size",
")",
"if",
"len",
"(",
"Incs",
")",
"==",
"0",
"and",
"pltLine",
"and",
"len",
"(",
"SIncs",
")",
">",
"0",
":",
"plt",
".",
"plot",
"(",
"SIncs",
",",
"SDepths",
",",
"'k'",
")",
"if",
"len",
"(",
"SIncs",
")",
">",
"0",
":",
"plt",
".",
"plot",
"(",
"SIncs",
",",
"SDepths",
",",
"Ssym",
",",
"markersize",
"=",
"Ssize",
")",
"if",
"spc_file",
"and",
"len",
"(",
"SpecDepths",
")",
">",
"0",
":",
"plt",
".",
"plot",
"(",
"SpecIncs",
",",
"SpecDepths",
",",
"spc_sym",
",",
"markersize",
"=",
"spc_size",
")",
"if",
"spc_file",
"and",
"len",
"(",
"FDepths",
")",
">",
"0",
":",
"plt",
".",
"scatter",
"(",
"FIncs",
",",
"FDepths",
",",
"marker",
"=",
"spc_sym",
"[",
"-",
"1",
"]",
",",
"edgecolor",
"=",
"spc_sym",
"[",
"0",
"]",
",",
"facecolor",
"=",
"'white'",
",",
"s",
"=",
"spc_size",
"**",
"2",
")",
"if",
"res_file",
":",
"plt",
".",
"plot",
"(",
"ResIncs",
",",
"ResDepths",
",",
"res_sym",
",",
"markersize",
"=",
"res_size",
")",
"if",
"sum_file",
":",
"for",
"core",
"in",
"Cores",
":",
"depth",
"=",
"float",
"(",
"core",
"[",
"core_depth_key",
"]",
")",
"if",
"depth",
">",
"dmin",
"and",
"depth",
"<",
"dmax",
":",
"if",
"pel",
"==",
"plot",
":",
"plt",
".",
"text",
"(",
"90",
",",
"depth",
"+",
"tint",
",",
"core",
"[",
"core_label_key",
"]",
")",
"plt",
".",
"plot",
"(",
"[",
"-",
"90",
",",
"90",
"]",
",",
"[",
"depth",
",",
"depth",
"]",
",",
"'b--'",
")",
"plt",
".",
"plot",
"(",
"[",
"0",
",",
"0",
"]",
",",
"[",
"dmax",
",",
"dmin",
"]",
",",
"'k-'",
")",
"if",
"pel",
"==",
"plot",
":",
"plt",
".",
"axis",
"(",
"[",
"-",
"90",
",",
"110",
",",
"dmax",
",",
"dmin",
"]",
")",
"else",
":",
"plt",
".",
"axis",
"(",
"[",
"-",
"90",
",",
"90",
",",
"dmax",
",",
"dmin",
"]",
")",
"plt",
".",
"xlabel",
"(",
"'Inclination'",
")",
"plt",
".",
"ylabel",
"(",
"''",
")",
"plot",
"+=",
"1",
"if",
"pltMag",
"and",
"len",
"(",
"Ints",
")",
">",
"0",
"or",
"len",
"(",
"SInts",
")",
">",
"0",
":",
"plt",
".",
"subplot",
"(",
"1",
",",
"pcol",
",",
"plot",
")",
"for",
"pow",
"in",
"range",
"(",
"-",
"10",
",",
"10",
")",
":",
"if",
"maxInt",
"*",
"10",
"**",
"pow",
">",
"1",
":",
"break",
"if",
"not",
"logit",
":",
"for",
"k",
"in",
"range",
"(",
"len",
"(",
"Ints",
")",
")",
":",
"Ints",
"[",
"k",
"]",
"=",
"Ints",
"[",
"k",
"]",
"*",
"10",
"**",
"pow",
"for",
"k",
"in",
"range",
"(",
"len",
"(",
"SInts",
")",
")",
":",
"SInts",
"[",
"k",
"]",
"=",
"SInts",
"[",
"k",
"]",
"*",
"10",
"**",
"pow",
"if",
"pltLine",
"and",
"len",
"(",
"Ints",
")",
">",
"0",
":",
"plt",
".",
"plot",
"(",
"Ints",
",",
"Depths",
",",
"'k'",
")",
"if",
"len",
"(",
"Ints",
")",
">",
"0",
":",
"plt",
".",
"plot",
"(",
"Ints",
",",
"Depths",
",",
"sym",
",",
"markersize",
"=",
"size",
")",
"if",
"len",
"(",
"Ints",
")",
"==",
"0",
"and",
"pltLine",
"and",
"len",
"(",
"SInts",
")",
">",
"0",
":",
"plt",
".",
"plot",
"(",
"SInts",
",",
"SDepths",
",",
"'k-'",
")",
"if",
"len",
"(",
"SInts",
")",
">",
"0",
":",
"plt",
".",
"plot",
"(",
"SInts",
",",
"SDepths",
",",
"Ssym",
",",
"markersize",
"=",
"Ssize",
")",
"if",
"sum_file",
":",
"for",
"core",
"in",
"Cores",
":",
"depth",
"=",
"float",
"(",
"core",
"[",
"core_depth_key",
"]",
")",
"plt",
".",
"plot",
"(",
"[",
"0",
",",
"maxInt",
"*",
"10",
"**",
"pow",
"+",
".1",
"]",
",",
"[",
"depth",
",",
"depth",
"]",
",",
"'b--'",
")",
"if",
"depth",
">",
"dmin",
"and",
"depth",
"<",
"dmax",
":",
"plt",
".",
"text",
"(",
"maxInt",
"*",
"10",
"**",
"pow",
"-",
".2",
"*",
"maxInt",
"*",
"10",
"**",
"pow",
",",
"depth",
"+",
"tint",
",",
"core",
"[",
"core_label_key",
"]",
")",
"plt",
".",
"axis",
"(",
"[",
"0",
",",
"maxInt",
"*",
"10",
"**",
"pow",
"+",
".1",
",",
"dmax",
",",
"dmin",
"]",
")",
"if",
"not",
"norm",
":",
"plt",
".",
"xlabel",
"(",
"'%s %i %s'",
"%",
"(",
"'Intensity (10^-'",
",",
"pow",
",",
"' Am^2)'",
")",
")",
"else",
":",
"plt",
".",
"xlabel",
"(",
"'%s %i %s'",
"%",
"(",
"'Intensity (10^-'",
",",
"pow",
",",
"' Am^2/kg)'",
")",
")",
"else",
":",
"if",
"pltLine",
":",
"plt",
".",
"semilogx",
"(",
"Ints",
",",
"Depths",
",",
"'k'",
")",
"if",
"len",
"(",
"Ints",
")",
">",
"0",
":",
"plt",
".",
"semilogx",
"(",
"Ints",
",",
"Depths",
",",
"sym",
",",
"markersize",
"=",
"size",
")",
"if",
"len",
"(",
"Ints",
")",
"==",
"0",
"and",
"pltLine",
"and",
"len",
"(",
"SInts",
")",
">",
"0",
":",
"plt",
".",
"semilogx",
"(",
"SInts",
",",
"SDepths",
",",
"'k'",
")",
"if",
"len",
"(",
"Ints",
")",
"==",
"0",
"and",
"pltLine",
"==",
"1",
"and",
"len",
"(",
"SInts",
")",
">",
"0",
":",
"plt",
".",
"semilogx",
"(",
"SInts",
",",
"SDepths",
",",
"'k'",
")",
"if",
"len",
"(",
"SInts",
")",
">",
"0",
":",
"plt",
".",
"semilogx",
"(",
"SInts",
",",
"SDepths",
",",
"Ssym",
",",
"markersize",
"=",
"Ssize",
")",
"if",
"sum_file",
":",
"for",
"core",
"in",
"Cores",
":",
"depth",
"=",
"float",
"(",
"core",
"[",
"core_depth_key",
"]",
")",
"plt",
".",
"semilogx",
"(",
"[",
"minInt",
",",
"maxInt",
"]",
",",
"[",
"depth",
",",
"depth",
"]",
",",
"'b--'",
")",
"if",
"depth",
">",
"dmin",
"and",
"depth",
"<",
"dmax",
":",
"plt",
".",
"text",
"(",
"maxInt",
"-",
".2",
"*",
"maxInt",
",",
"depth",
"+",
"tint",
",",
"core",
"[",
"core_label_key",
"]",
")",
"minInt",
"=",
"plt",
".",
"axis",
"(",
")",
"[",
"0",
"]",
"plt",
".",
"axis",
"(",
"[",
"minInt",
",",
"maxInt",
",",
"dmax",
",",
"dmin",
"]",
")",
"if",
"not",
"norm",
":",
"plt",
".",
"xlabel",
"(",
"'Intensity (Am^2)'",
")",
"else",
":",
"plt",
".",
"xlabel",
"(",
"'Intensity (Am^2/kg)'",
")",
"plot",
"+=",
"1",
"if",
"suc_file",
"or",
"len",
"(",
"SSucs",
")",
">",
"0",
":",
"plt",
".",
"subplot",
"(",
"1",
",",
"pcol",
",",
"plot",
")",
"if",
"len",
"(",
"Susc",
")",
">",
"0",
":",
"if",
"pltLine",
":",
"plt",
".",
"plot",
"(",
"Susc",
",",
"Sus_depths",
",",
"'k'",
")",
"if",
"not",
"logit",
":",
"plt",
".",
"plot",
"(",
"Susc",
",",
"Sus_depths",
",",
"sym",
",",
"markersize",
"=",
"size",
")",
"if",
"logit",
":",
"plt",
".",
"semilogx",
"(",
"Susc",
",",
"Sus_depths",
",",
"sym",
",",
"markersize",
"=",
"size",
")",
"if",
"len",
"(",
"SSucs",
")",
">",
"0",
":",
"if",
"not",
"logit",
":",
"plt",
".",
"plot",
"(",
"SSucs",
",",
"SDepths",
",",
"sym",
",",
"markersize",
"=",
"size",
")",
"if",
"logit",
":",
"plt",
".",
"semilogx",
"(",
"SSucs",
",",
"SDepths",
",",
"sym",
",",
"markersize",
"=",
"size",
")",
"if",
"sum_file",
":",
"for",
"core",
"in",
"Cores",
":",
"depth",
"=",
"float",
"(",
"core",
"[",
"core_depth_key",
"]",
")",
"if",
"not",
"logit",
":",
"plt",
".",
"plot",
"(",
"[",
"minSuc",
",",
"maxSuc",
"]",
",",
"[",
"depth",
",",
"depth",
"]",
",",
"'b--'",
")",
"if",
"logit",
":",
"plt",
".",
"semilogx",
"(",
"[",
"minSuc",
",",
"maxSuc",
"]",
",",
"[",
"depth",
",",
"depth",
"]",
",",
"'b--'",
")",
"plt",
".",
"axis",
"(",
"[",
"minSuc",
",",
"maxSuc",
",",
"dmax",
",",
"dmin",
"]",
")",
"plt",
".",
"xlabel",
"(",
"'Susceptibility'",
")",
"plot",
"+=",
"1",
"# if wig_file:",
"# plt.subplot(1, pcol, plot)",
"# plt.plot(WIG, WIG_depths, 'k')",
"# if sum_file:",
"# for core in Cores:",
"# depth = float(core[core_depth_key])",
"# plt.plot([WIG[0], WIG[-1]], [depth, depth], 'b--')",
"# plt.axis([min(WIG), max(WIG), dmax, dmin])",
"# plt.xlabel(plt_key)",
"# plot += 1",
"if",
"pltTime",
":",
"ax1",
"=",
"plt",
".",
"subplot",
"(",
"1",
",",
"pcol",
",",
"plot",
")",
"ax1",
".",
"axis",
"(",
"[",
"-",
".25",
",",
"1.5",
",",
"amax",
",",
"amin",
"]",
")",
"plot",
"+=",
"1",
"TS",
",",
"Chrons",
"=",
"pmag",
".",
"get_ts",
"(",
"timescale",
")",
"X",
",",
"Y",
",",
"Y2",
"=",
"[",
"0",
",",
"1",
"]",
",",
"[",
"]",
",",
"[",
"]",
"cnt",
"=",
"0",
"if",
"amin",
"<",
"TS",
"[",
"1",
"]",
":",
"# in the Brunhes",
"Y",
"=",
"[",
"amin",
",",
"amin",
"]",
"# minimum age",
"Y1",
"=",
"[",
"TS",
"[",
"1",
"]",
",",
"TS",
"[",
"1",
"]",
"]",
"# age of the B/M boundary",
"# color in Brunhes, black",
"ax1",
".",
"fill_between",
"(",
"X",
",",
"Y",
",",
"Y1",
",",
"facecolor",
"=",
"'black'",
")",
"for",
"d",
"in",
"TS",
"[",
"1",
":",
"]",
":",
"pol",
"=",
"cnt",
"%",
"2",
"cnt",
"+=",
"1",
"if",
"d",
"<=",
"amax",
"and",
"d",
">=",
"amin",
":",
"ind",
"=",
"TS",
".",
"index",
"(",
"d",
")",
"Y",
"=",
"[",
"TS",
"[",
"ind",
"]",
",",
"TS",
"[",
"ind",
"]",
"]",
"Y1",
"=",
"[",
"TS",
"[",
"ind",
"+",
"1",
"]",
",",
"TS",
"[",
"ind",
"+",
"1",
"]",
"]",
"if",
"pol",
":",
"# fill in every other time",
"ax1",
".",
"fill_between",
"(",
"X",
",",
"Y",
",",
"Y1",
",",
"facecolor",
"=",
"'black'",
")",
"ax1",
".",
"plot",
"(",
"[",
"0",
",",
"1",
",",
"1",
",",
"0",
",",
"0",
"]",
",",
"[",
"amin",
",",
"amin",
",",
"amax",
",",
"amax",
",",
"amin",
"]",
",",
"'k-'",
")",
"ax2",
"=",
"ax1",
".",
"twinx",
"(",
")",
"plt",
".",
"ylabel",
"(",
"\"Age (Ma): \"",
"+",
"timescale",
")",
"for",
"k",
"in",
"range",
"(",
"len",
"(",
"Chrons",
")",
"-",
"1",
")",
":",
"c",
"=",
"Chrons",
"[",
"k",
"]",
"cnext",
"=",
"Chrons",
"[",
"k",
"+",
"1",
"]",
"d",
"=",
"cnext",
"[",
"1",
"]",
"-",
"old_div",
"(",
"(",
"cnext",
"[",
"1",
"]",
"-",
"c",
"[",
"1",
"]",
")",
",",
"3.",
")",
"if",
"d",
">=",
"amin",
"and",
"d",
"<",
"amax",
":",
"# make the Chron boundary tick",
"ax2",
".",
"plot",
"(",
"[",
"1",
",",
"1.5",
"]",
",",
"[",
"c",
"[",
"1",
"]",
",",
"c",
"[",
"1",
"]",
"]",
",",
"'k-'",
")",
"ax2",
".",
"text",
"(",
"1.05",
",",
"d",
",",
"c",
"[",
"0",
"]",
")",
"ax2",
".",
"axis",
"(",
"[",
"-",
".25",
",",
"1.5",
",",
"amax",
",",
"amin",
"]",
")",
"figname",
"=",
"location",
"+",
"'_m:_'",
"+",
"method",
"+",
"'_core-depthplot.'",
"+",
"fmt",
"plt",
".",
"title",
"(",
"location",
")",
"return",
"main_plot",
",",
"figname"
] |
depth scale can be 'core_depth' or 'composite_depth' (for data model=3)
if age file is provided, depth_scale will be set to 'age' by default.
You must provide at least a measurements,specimens and sample file to plot.
Parameters
----------
input_dir_path : str, default "."
file input directory
meas_file : str, default "measurements.txt"
input measurements file
spc_file : str, default ""
input specimens file
samp_file : str, default ""
input samples file
age_file : str, default ""
input ages file
sum_file : str, default ""
input csv summary file
wt_file : str, default ""
input file with weights
depth_scale : str, default "core_depth"
['core_depth', 'composite_depth']
dmin : number, default -1
minimum depth to plot (if -1, default to plotting all)
dmax : number, default -1
maximum depth to plot (if -1, default to plotting all)
sym : str, default "bo"
symbol color and shape, default blue circles
(see matplotlib documentaiton for more options)
size : int, defualt 5
symbol size
spc_sym : str, default 'ro'
specimen symbol color and shape, default red circles
(see matplotlib documentation for more options)
meth : str, default ""
method codes, ["LT-NO", "AF", "T", "ARM", "IRM", "X"]
step : int, default 0
treatment step for plotting:
for AF, in mT, for T, in C
fmt : str, default "svg"
format for figures, [svg,jpg,png,pdf]
pltDec : bool, default True
plot declination
pltInc : bool, default True
plot inclination
pltMag : bool, default True
plot magnetization
pltLine : bool, default True
connect dots with a line
pltSus : bool, default True
plot blanket treatment
logit : bool, default False
plot magnetization on a log scale
amin : int, default -1
minimum time to plot (if -1, default to plotting all)
amax : int, default -1
maximum time to plot (if -1, default to plotting all)
norm : bool, default False
normalize by weight
data_model_num : int, default 3
MagIC data model (please, use data model 3)
|
[
"depth",
"scale",
"can",
"be",
"core_depth",
"or",
"composite_depth",
"(",
"for",
"data",
"model",
"=",
"3",
")",
"if",
"age",
"file",
"is",
"provided",
"depth_scale",
"will",
"be",
"set",
"to",
"age",
"by",
"default",
".",
"You",
"must",
"provide",
"at",
"least",
"a",
"measurements",
"specimens",
"and",
"sample",
"file",
"to",
"plot",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L3295-L4056
|
train
|
Function to plot a core depth of a single species and sample file.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(48) + chr(0b10000 + 0o137) + chr(136 - 81) + '\x37', 0o10), nzTpIcepk0o8(chr(48) + chr(10883 - 10772) + chr(0b110011) + '\x37' + chr(0b110000), 45375 - 45367), nzTpIcepk0o8('\060' + chr(0b1010110 + 0o31) + '\x32' + '\065', 0b1000), nzTpIcepk0o8(chr(2183 - 2135) + '\x6f' + '\062' + chr(67 - 19) + chr(0b1 + 0o61), 0o10), nzTpIcepk0o8(chr(0b100000 + 0o20) + chr(111) + '\x35' + '\x36', 0o10), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x33' + chr(568 - 520) + chr(0b1011 + 0o54), 0b1000), nzTpIcepk0o8(chr(1234 - 1186) + chr(111) + chr(2079 - 2028) + chr(367 - 317) + '\062', 0b1000), nzTpIcepk0o8('\x30' + chr(111) + chr(0b110001) + chr(0b11 + 0o62), 46000 - 45992), nzTpIcepk0o8('\060' + chr(7265 - 7154) + chr(0b110011) + '\067' + chr(0b110011), 0o10), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b101100 + 0o5) + '\x35' + '\060', 0b1000), nzTpIcepk0o8('\060' + chr(0b1101111) + '\064' + chr(0b101011 + 0o6), ord("\x08")), nzTpIcepk0o8(chr(81 - 33) + '\x6f' + chr(2599 - 2548) + '\x37' + chr(0b101110 + 0o7), ord("\x08")), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b11110 + 0o25) + chr(1718 - 1663) + chr(48), 8), nzTpIcepk0o8('\x30' + '\x6f' + chr(1116 - 1065) + chr(0b101001 + 0o11) + chr(0b110110), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(7938 - 7827) + '\x33' + '\061' + chr(0b110111), 0o10), nzTpIcepk0o8(chr(48) + chr(3525 - 3414) + chr(513 - 462) + chr(0b101101 + 0o7) + '\065', 3904 - 3896), nzTpIcepk0o8('\060' + chr(111) + chr(1503 - 1452) + chr(0b100110 + 0o16) + chr(51), 60022 - 60014), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\x32' + '\x36' + '\063', 0b1000), nzTpIcepk0o8('\060' + chr(0b101010 + 0o105) + chr(51) + '\065' + chr(2032 - 1984), 0b1000), nzTpIcepk0o8(chr(48) + '\x6f' + chr(53), 0o10), nzTpIcepk0o8(chr(1757 - 1709) + '\x6f' + chr(0b110100) + chr(49), 8), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(50) + chr(0b10011 + 0o37) + chr(0b1001 + 0o56), 22666 - 22658), nzTpIcepk0o8('\x30' + chr(0b1011010 + 0o25) + '\x32' + chr(50), 0o10), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(50) + chr(0b110101) + chr(49), 0b1000), nzTpIcepk0o8(chr(154 - 106) + '\x6f' + chr(0b110010) + chr(2396 - 2346) + chr(821 - 773), 0b1000), nzTpIcepk0o8('\x30' + '\157' + chr(50), 29220 - 29212), nzTpIcepk0o8('\060' + chr(0b1101111) + '\064' + chr(0b110010), 0o10), nzTpIcepk0o8('\060' + chr(2460 - 2349) + chr(319 - 268) + '\060' + '\x33', ord("\x08")), nzTpIcepk0o8(chr(1538 - 1490) + chr(0b1101111) + chr(1366 - 1316) + chr(1497 - 1448) + '\x35', 0o10), nzTpIcepk0o8('\060' + '\x6f' + chr(0b11111 + 0o24) + chr(0b101011 + 0o12) + '\x30', 8), nzTpIcepk0o8(chr(48) + '\157' + chr(50) + chr(1993 - 1941) + '\x30', 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\x31' + '\065' + chr(50), 42404 - 42396), nzTpIcepk0o8(chr(48) + chr(8000 - 7889) + chr(403 - 354) + '\x35' + '\x34', 0o10), nzTpIcepk0o8('\x30' + '\x6f' + '\x31' + '\063' + chr(0b110100), 15032 - 15024), nzTpIcepk0o8(chr(0b1 + 0o57) + '\157' + '\062' + '\x33' + chr(2372 - 2321), ord("\x08")), nzTpIcepk0o8(chr(0b100001 + 0o17) + '\x6f' + chr(0b1110 + 0o43) + '\x30' + '\x36', 0b1000), nzTpIcepk0o8(chr(48) + chr(111) + chr(0b100111 + 0o16) + chr(65 - 17), ord("\x08")), nzTpIcepk0o8(chr(2198 - 2150) + chr(111) + chr(0b110001) + '\061' + '\064', ord("\x08")), nzTpIcepk0o8(chr(0b100010 + 0o16) + chr(1598 - 1487) + '\x32' + '\065' + chr(653 - 600), 53476 - 53468), nzTpIcepk0o8('\060' + chr(4367 - 4256) + '\x32' + '\x35' + chr(0b101110 + 0o3), 8)][ZlbFMSG8gCoF % nzTpIcepk0o8('\x30' + chr(3374 - 3263) + chr(53) + '\060', 8)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\x11'), chr(4604 - 4504) + '\145' + '\x63' + chr(111) + chr(0b100001 + 0o103) + '\x65')(chr(117) + chr(1821 - 1705) + chr(0b10011 + 0o123) + chr(437 - 392) + '\070') + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def gzTjvO3xofNZ(KADebXAR9grB=roI3spqORKae(ES5oEprVxulp(b'\x11'), chr(0b1010011 + 0o21) + '\x65' + chr(99) + chr(5739 - 5628) + '\144' + '\x65')(chr(2650 - 2533) + '\x74' + chr(8253 - 8151) + chr(0b101101) + '\070'), rHPU8oONrR4n=roI3spqORKae(ES5oEprVxulp(b'R\x9dt\xf1[\xb5\xb7`\x9e\x06U\x8e\xd6\xa2\xb7\x91'), chr(1984 - 1884) + chr(101) + '\143' + chr(0b1011010 + 0o25) + '\x64' + chr(101))(chr(0b100110 + 0o117) + chr(0b1110100) + '\146' + '\055' + chr(1163 - 1107)), SFcPYUNw10Xj=roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + '\x65' + chr(4087 - 3988) + chr(0b1101111) + chr(100) + '\145')('\165' + chr(0b1110100) + chr(9157 - 9055) + '\055' + '\070'), bqpTUs8apVqb=roI3spqORKae(ES5oEprVxulp(b'L\x99x\xf2B\xa2\xa1#\x8f\x10U'), chr(0b1100100) + chr(0b1010011 + 0o22) + chr(0b1001010 + 0o31) + '\x6f' + '\144' + chr(101))('\165' + '\x74' + '\146' + chr(0b1111 + 0o36) + chr(0b100000 + 0o30)), _FpkWd4wvvaT=roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + '\145' + '\143' + chr(0b11011 + 0o124) + '\144' + '\145')('\x75' + chr(0b1110100) + chr(102) + chr(45) + chr(0b111000)), cuJmomB0XH13=roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(0b110110 + 0o57) + chr(0b1100 + 0o127) + chr(111) + chr(6130 - 6030) + chr(0b1100101))('\165' + chr(2335 - 2219) + '\x66' + chr(0b11011 + 0o22) + '\x38'), P07ZtlLUg0mf=roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + '\145' + chr(99) + '\157' + chr(100) + '\x65')('\165' + chr(2410 - 2294) + chr(0b1100110) + chr(0b11000 + 0o25) + chr(0b111000 + 0o0)), H1WMyWd7nBfT=roI3spqORKae(ES5oEprVxulp(b'\\\x97g\xe7q\xa3\xb7}\x8f\x00'), '\144' + chr(0b1100101) + '\143' + chr(111) + '\144' + chr(0b1100101))(chr(3194 - 3077) + chr(11123 - 11007) + chr(0b11001 + 0o115) + '\055' + '\070'), Hg_KJkMRv5EQ=-nzTpIcepk0o8(chr(1446 - 1398) + '\x6f' + chr(0b110 + 0o53), 15184 - 15176), vrYAlPlCS8EO=-nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b110001), 8), ap75Y_eaMZLk=roI3spqORKae(ES5oEprVxulp(b']\x97'), chr(0b1101 + 0o127) + chr(101) + '\143' + chr(0b10001 + 0o136) + '\x64' + '\x65')(chr(117) + '\x74' + '\x66' + chr(0b11011 + 0o22) + '\x38'), e1HrJaQHACnl=nzTpIcepk0o8(chr(0b110000) + chr(608 - 497) + '\065', 8), DDJVJVVZlVIN=roI3spqORKae(ES5oEprVxulp(b'M\x97'), chr(100) + chr(0b1100101) + chr(0b1001000 + 0o33) + '\x6f' + chr(100) + '\145')(chr(0b1110101) + chr(0b1110100) + chr(0b1010111 + 0o17) + '\055' + chr(1762 - 1706)), CUMaBVz2a0jz=nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b110101), 8), am4di6GtLqyR=roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(0b1100101) + chr(99) + '\x6f' + chr(0b1100100) + chr(9760 - 9659))(chr(3187 - 3070) + chr(5170 - 5054) + chr(102) + chr(0b101101) + chr(2088 - 2032)), ZiKB99Xs91Lo=nzTpIcepk0o8('\x30' + chr(111) + chr(1463 - 1415), 0o10), JummcHpaNLEw=roI3spqORKae(ES5oEprVxulp(b'L\x8er'), chr(100) + chr(0b1000000 + 0o45) + '\143' + '\157' + '\x64' + '\x65')('\165' + chr(116) + chr(102) + chr(45) + chr(56)), pMZEnc91gpWS=nzTpIcepk0o8(chr(0b100000 + 0o20) + chr(3963 - 3852) + chr(49), 8), sc4pJ_rhAw00=nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b101010 + 0o7), 8), S8gUNkFK3Z7g=nzTpIcepk0o8(chr(0b10000 + 0o40) + chr(0b10111 + 0o130) + chr(1814 - 1765), 8), dVGywM8ePC9u=nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\061', 8), oWqYLjPR3K_A=nzTpIcepk0o8(chr(921 - 873) + '\157' + chr(0b110001), 8), ZqCHlSR6dDCx=nzTpIcepk0o8('\060' + '\x6f' + '\x30', 8), qya8ioruVZil=nzTpIcepk0o8('\x30' + chr(0b11000 + 0o127) + chr(48), 8), TLcnrOQdCE7h=None, RYdkBUje3R81=-nzTpIcepk0o8(chr(0b110000) + chr(0b11001 + 0o126) + chr(854 - 805), 8), o3SuW33uOWrs=-nzTpIcepk0o8(chr(501 - 453) + chr(0b1001110 + 0o41) + '\x31', 8), xBFFJFaziFDU=nzTpIcepk0o8(chr(0b110000) + '\157' + chr(878 - 830), 8), Z5dKAC9uv0qA=nzTpIcepk0o8(chr(0b11110 + 0o22) + chr(0b111 + 0o150) + '\x33', 8279 - 8271), y87dwGy_Qoj4=roI3spqORKae(ES5oEprVxulp(b''), chr(100) + '\145' + '\x63' + '\157' + chr(0b1100100) + chr(0b1100101))(chr(4299 - 4182) + chr(8926 - 8810) + chr(102) + '\x2d' + chr(1222 - 1166))):
Z5dKAC9uv0qA = nzTpIcepk0o8(Z5dKAC9uv0qA)
if Z5dKAC9uv0qA == nzTpIcepk0o8(chr(48) + chr(111) + chr(0b110010), 8) and rHPU8oONrR4n == roI3spqORKae(ES5oEprVxulp(b'R\x9dt\xf1[\xb5\xb7`\x9e\x06U\x8e\xd6\xa2\xb7\x91'), chr(100) + chr(0b1100101) + chr(0b1000011 + 0o40) + chr(0b111010 + 0o65) + '\144' + chr(0b1100001 + 0o4))(chr(117) + '\x74' + chr(0b1100110) + chr(0b11100 + 0o21) + chr(0b1101 + 0o53)):
rHPU8oONrR4n = roI3spqORKae(ES5oEprVxulp(b'R\x99r\xebM\x98\xbfh\x9a\x1bT\x8f\x9d\xbb\xaa\x8b\x97\xc0\xc6qY\xe3'), chr(9639 - 9539) + chr(0b1100101) + chr(99) + chr(6087 - 5976) + chr(0b1100100) + chr(101))(chr(0b1000100 + 0o61) + chr(0b101001 + 0o113) + chr(0b101111 + 0o67) + chr(0b1110 + 0o37) + chr(1478 - 1422))
if Z5dKAC9uv0qA == nzTpIcepk0o8('\x30' + '\157' + chr(0b100000 + 0o22), 8) and bqpTUs8apVqb == roI3spqORKae(ES5oEprVxulp(b'L\x99x\xf2B\xa2\xa1#\x8f\x10U'), '\x64' + '\x65' + '\143' + chr(0b1101111) + chr(0b10110 + 0o116) + chr(0b1010100 + 0o21))(chr(0b1110101) + '\164' + chr(0b1100110) + chr(1293 - 1248) + chr(56)):
bqpTUs8apVqb = roI3spqORKae(ES5oEprVxulp(b'Z\x8aJ\xf1O\xaa\xa2a\x9e\x1b\x0f\x89\x80\xa2'), '\x64' + '\x65' + '\x63' + chr(5357 - 5246) + chr(100) + chr(0b1100101))('\165' + '\x74' + chr(102) + chr(45) + chr(1668 - 1612))
if Z5dKAC9uv0qA == nzTpIcepk0o8(chr(48) + chr(0b1011010 + 0o25) + chr(0b10010 + 0o40), 8) and _FpkWd4wvvaT == roI3spqORKae(ES5oEprVxulp(b'^\x9fp\xf1\x00\xb3\xaay'), chr(6070 - 5970) + chr(0b1100101) + chr(0b1100011) + chr(111) + chr(100) + chr(101))(chr(0b1110101) + chr(116) + chr(0b1100110) + '\x2d' + chr(0b111000)):
_FpkWd4wvvaT = roI3spqORKae(ES5oEprVxulp(b'Z\x8aJ\xe3I\xa2\xa1#\x8f\x10U'), '\144' + '\145' + '\143' + chr(0b1101111) + chr(0b1100100) + chr(9094 - 8993))('\x75' + '\164' + '\146' + chr(0b100110 + 0o7) + chr(0b111000))
if Z5dKAC9uv0qA == nzTpIcepk0o8('\060' + chr(10348 - 10237) + chr(578 - 528), 8) and H1WMyWd7nBfT == roI3spqORKae(ES5oEprVxulp(b'\\\x97g\xe7q\xa3\xb7}\x8f\x00'), chr(100) + chr(0b1100101) + '\x63' + '\157' + chr(0b1100100) + '\x65')(chr(0b1100110 + 0o17) + '\x74' + chr(102) + '\x2d' + '\070'):
H1WMyWd7nBfT = roI3spqORKae(ES5oEprVxulp(b'L\x99x\xf2B\xa2\x8dn\x94\x1aD\xa2\x9c\xb3\xbf\x91\x8b'), '\x64' + '\x65' + chr(0b1100011) + chr(0b110101 + 0o72) + chr(0b1001100 + 0o30) + chr(9022 - 8921))('\x75' + chr(6895 - 6779) + '\146' + '\x2d' + '\x38')
v0kRHNoXtB1X = roI3spqORKae(ES5oEprVxulp(b'S\x97v\xe3Z\xae\xbdc'), '\144' + chr(0b1100101) + '\x63' + chr(0b1101111) + chr(0b11000 + 0o114) + chr(8954 - 8853))(chr(0b1000011 + 0o62) + chr(3313 - 3197) + chr(0b1100110) + '\x2d' + chr(215 - 159)) if Z5dKAC9uv0qA == nzTpIcepk0o8(chr(48) + '\157' + chr(0b110011 + 0o0), 8) else roI3spqORKae(ES5oEprVxulp(b'Z\x8aJ\xeeA\xa4\xb3y\x92\x07O\xa2\x96\xb7\xa2\x80'), chr(4152 - 4052) + chr(101) + chr(99) + '\x6f' + chr(1327 - 1227) + chr(101))(chr(0b1001 + 0o154) + '\x74' + chr(102) + chr(45) + chr(0b111000))
tXQNYbi7bRwC = roI3spqORKae(ES5oEprVxulp(b'L\x91a\xe7'), '\x64' + '\145' + chr(0b1010001 + 0o22) + chr(0b1100 + 0o143) + chr(9925 - 9825) + chr(3374 - 3273))('\x75' + chr(0b1110100) + '\x66' + '\055' + '\x38') if Z5dKAC9uv0qA == nzTpIcepk0o8(chr(0b1101 + 0o43) + '\157' + '\063', 8) else roI3spqORKae(ES5oEprVxulp(b'Z\x8aJ\xf1G\xb3\xb7R\x95\tL\x98'), chr(0b1100100) + chr(2053 - 1952) + '\143' + '\x6f' + '\144' + '\x65')('\x75' + '\x74' + chr(0b1000101 + 0o41) + '\x2d' + '\x38')
Lwy6Xc1kSp_0 = roI3spqORKae(ES5oEprVxulp(b'L\x99x\xf2B\xa2'), chr(100) + chr(3229 - 3128) + '\143' + chr(5440 - 5329) + '\x64' + chr(7671 - 7570))(chr(0b1001010 + 0o53) + chr(0b1110100) + '\146' + chr(328 - 283) + chr(0b111000)) if Z5dKAC9uv0qA == nzTpIcepk0o8(chr(0b101110 + 0o2) + chr(0b100010 + 0o115) + '\063', 8) else roI3spqORKae(ES5oEprVxulp(b'Z\x8aJ\xf1O\xaa\xa2a\x9e7O\x9c\x95\xb3'), chr(0b1100100) + chr(5337 - 5236) + chr(2341 - 2242) + chr(6386 - 6275) + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + chr(116) + '\146' + chr(0b101101) + chr(0b111000))
pUZfuJTk8fsT = roI3spqORKae(ES5oEprVxulp(b'L\x88p\xe1G\xaa\xb7c'), '\144' + chr(2482 - 2381) + chr(0b1100011) + chr(111) + '\x64' + chr(0b100001 + 0o104))('\165' + '\x74' + '\x66' + chr(0b101101) + '\070') if Z5dKAC9uv0qA == nzTpIcepk0o8(chr(1825 - 1777) + chr(2866 - 2755) + chr(0b1010 + 0o51), 8) else roI3spqORKae(ES5oEprVxulp(b'Z\x8aJ\xf1^\xa2\xb1d\x96\rO\xa2\x96\xb7\xa2\x80'), '\x64' + chr(0b1100101) + '\143' + '\157' + '\x64' + chr(0b1100101))(chr(0b1110101) + chr(12848 - 12732) + '\146' + chr(0b101101) + chr(0b110000 + 0o10))
skA84svjH3ZI = roI3spqORKae(ES5oEprVxulp(b'R\x9da\xeaA\xa3\x8dn\x94\x0cD\x8e'), chr(100) + chr(0b1100101) + '\x63' + chr(111) + chr(100) + chr(1977 - 1876))(chr(0b1110101) + chr(116) + chr(762 - 660) + chr(1710 - 1665) + chr(0b10101 + 0o43)) if Z5dKAC9uv0qA == nzTpIcepk0o8(chr(0b11101 + 0o23) + chr(0b111011 + 0o64) + chr(1193 - 1142), 8) else roI3spqORKae(ES5oEprVxulp(b'R\x99r\xebM\x98\xbfh\x8f\x00N\x99\xa7\xb5\xa0\x81\x86\xc0'), chr(0b100110 + 0o76) + '\x65' + chr(0b1001000 + 0o33) + chr(0b1101111) + '\x64' + '\145')(chr(13341 - 13224) + '\164' + chr(0b1100110) + '\055' + chr(0b0 + 0o70))
bQ4d5Wq6KFJz = roI3spqORKae(ES5oEprVxulp(b'[\x91g\xddJ\xa2\xb1'), chr(100) + chr(7356 - 7255) + chr(0b1010011 + 0o20) + chr(0b1101111) + '\x64' + '\145')(chr(117) + '\164' + chr(10078 - 9976) + chr(45) + '\070') if Z5dKAC9uv0qA == nzTpIcepk0o8('\x30' + '\157' + chr(0b110010 + 0o1), 8) else roI3spqORKae(ES5oEprVxulp(b'L\x88p\xe1G\xaa\xb7c\xa4\x0cD\x9e'), chr(1621 - 1521) + chr(0b1100001 + 0o4) + chr(99) + '\x6f' + '\144' + chr(8062 - 7961))(chr(117) + chr(0b1110100) + chr(8095 - 7993) + '\055' + chr(0b10 + 0o66))
vuXm20ZcIlYO = roI3spqORKae(ES5oEprVxulp(b'[\x91g\xddG\xa9\xb1'), chr(100) + '\145' + '\143' + '\x6f' + '\144' + chr(101))(chr(117) + chr(116) + '\146' + chr(0b10100 + 0o31) + '\x38') if Z5dKAC9uv0qA == nzTpIcepk0o8('\x30' + chr(111) + chr(52 - 1), 8) else roI3spqORKae(ES5oEprVxulp(b'L\x88p\xe1G\xaa\xb7c\xa4\x01O\x9e'), '\144' + chr(101) + chr(99) + '\x6f' + '\x64' + chr(250 - 149))(chr(117) + '\x74' + '\x66' + chr(0b1110 + 0o37) + chr(539 - 483))
mfHU_UWyDloY = roI3spqORKae(ES5oEprVxulp(b'H\x9d|\xe5F\xb3'), '\x64' + chr(101) + chr(0b1100011) + chr(111) + chr(0b1110 + 0o126) + chr(0b1100101))('\165' + chr(0b10110 + 0o136) + '\146' + '\x2d' + chr(0b1011 + 0o55)) if Z5dKAC9uv0qA == nzTpIcepk0o8('\060' + '\157' + chr(0b100010 + 0o21), 8) else roI3spqORKae(ES5oEprVxulp(b'^\x8ep\xf0O\xa0\xb7R\x8c\rH\x9a\x90\xa2'), '\x64' + chr(101) + chr(0b1000010 + 0o41) + chr(0b1101111) + '\x64' + chr(0b11011 + 0o112))(chr(9303 - 9186) + '\164' + chr(0b1100101 + 0o1) + '\055' + chr(0b110 + 0o62))
MAPRMmTGNxmE = roI3spqORKae(ES5oEprVxulp(b'H\x9d|\xe5F\xb3'), '\x64' + chr(101) + '\143' + chr(3892 - 3781) + chr(100) + chr(0b1100101))(chr(3274 - 3157) + chr(4997 - 4881) + chr(1913 - 1811) + '\x2d' + chr(0b111000)) if Z5dKAC9uv0qA == nzTpIcepk0o8('\060' + chr(0b1101111) + chr(910 - 859), 8) else roI3spqORKae(ES5oEprVxulp(b'L\x88p\xe1G\xaa\xb7c\xa4\x1fD\x94\x9f\xbe\xbb'), '\144' + chr(101) + chr(0b11110 + 0o105) + chr(111) + chr(9410 - 9310) + chr(101))(chr(117) + chr(116) + chr(102) + chr(0b101101) + '\070')
NB2x2WbUyxSb = roI3spqORKae(ES5oEprVxulp(b'^\x9fp'), chr(0b1000101 + 0o37) + chr(101) + '\x63' + chr(11184 - 11073) + chr(0b1000111 + 0o35) + '\145')('\165' + chr(0b101111 + 0o105) + chr(0b1100110) + '\x2d' + chr(1479 - 1423)) if Z5dKAC9uv0qA == nzTpIcepk0o8(chr(48) + chr(9575 - 9464) + '\x33', 8) else roI3spqORKae(ES5oEprVxulp(b'^\x8ep\xf0O\xa0\xb7R\x9a\x0fD'), chr(100) + chr(101) + chr(0b1001000 + 0o33) + chr(1562 - 1451) + '\x64' + chr(0b1100101))(chr(0b1011100 + 0o31) + chr(0b1011000 + 0o34) + chr(0b1100110) + chr(0b101101) + '\070')
uiLqJ2TISxoq = roI3spqORKae(ES5oEprVxulp(b'W\x9d|\xe5F\xb3'), '\144' + chr(6969 - 6868) + '\x63' + chr(0b1111 + 0o140) + '\144' + '\145')(chr(0b1010011 + 0o42) + chr(0b1101001 + 0o13) + chr(102) + chr(0b10111 + 0o26) + chr(1366 - 1310)) if Z5dKAC9uv0qA == nzTpIcepk0o8(chr(317 - 269) + chr(111) + '\063', 8) else roI3spqORKae(ES5oEprVxulp(b'^\x8ep\xf0O\xa0\xb7R\x93\rH\x9a\x90\xa2'), chr(0b1001010 + 0o32) + chr(3772 - 3671) + chr(0b1100011) + chr(8632 - 8521) + chr(1107 - 1007) + '\x65')(chr(1175 - 1058) + chr(116) + chr(102) + '\x2d' + chr(56))
weQqUbJsj329 = roI3spqORKae(ES5oEprVxulp(b'[\x91g\xddJ\xa2\xb1'), chr(100) + '\145' + '\143' + chr(5069 - 4958) + chr(0b1100100) + chr(0b1100101))('\x75' + '\x74' + chr(102) + chr(0b101101) + chr(1786 - 1730)) if Z5dKAC9uv0qA == nzTpIcepk0o8('\060' + chr(111) + chr(51), 8) else roI3spqORKae(ES5oEprVxulp(b'^\x8ep\xf0O\xa0\xb7R\x9f\rB'), chr(0b1100100) + chr(101) + chr(7046 - 6947) + chr(111) + chr(0b111110 + 0o46) + chr(0b1100010 + 0o3))(chr(0b1110101) + chr(116) + chr(0b1001100 + 0o32) + chr(0b101101) + '\x38')
BDfFQcPrAEKq = roI3spqORKae(ES5oEprVxulp(b'[\x91g\xddG\xa9\xb1'), chr(0b110000 + 0o64) + chr(0b1100101) + '\143' + '\157' + chr(0b100000 + 0o104) + chr(0b1100101))(chr(0b111001 + 0o74) + chr(0b1110100) + chr(5451 - 5349) + '\055' + chr(0b11001 + 0o37)) if Z5dKAC9uv0qA == nzTpIcepk0o8(chr(1496 - 1448) + chr(6339 - 6228) + chr(2092 - 2041), 8) else roI3spqORKae(ES5oEprVxulp(b'^\x8ep\xf0O\xa0\xb7R\x92\x06B'), chr(1954 - 1854) + chr(0b1100101) + chr(0b10000 + 0o123) + chr(0b1101111) + chr(0b1100100) + chr(4771 - 4670))(chr(0b1001001 + 0o54) + chr(116) + '\x66' + '\055' + chr(0b100100 + 0o24))
dH3vcKdvgBu0 = nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b110001) + '\062', 0b1000)
(Xovs8umTsn_q, a8cMir1IiIZl) = (roI3spqORKae(ES5oEprVxulp(b'\\\x8b'), chr(0b10001 + 0o123) + chr(2941 - 2840) + chr(1926 - 1827) + '\x6f' + chr(3172 - 3072) + chr(9848 - 9747))(chr(4984 - 4867) + chr(0b1110100) + '\x66' + chr(652 - 607) + chr(56)), nzTpIcepk0o8('\x30' + '\x6f' + '\x35', 8))
rVXviMgDUC9h = nzTpIcepk0o8(chr(48) + chr(0b111000 + 0o67) + '\063', 8)
fsgEg0eRSoKL = nzTpIcepk0o8('\x30' + chr(111) + '\x33', 8)
e_fiCLewJxZV = -nzTpIcepk0o8('\060' + chr(111) + '\x31' + chr(0b110001 + 0o6) + chr(0b101011 + 0o12) + '\x30', ord("\x08"))
uQjvFF8imj59 = 10000000000.0
t4jgF36O_9j0 = -nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(635 - 586) + '\x37' + chr(1680 - 1627) + chr(0b10110 + 0o32), 8)
rhZGhvB5ISmw = nzTpIcepk0o8(chr(48) + '\x6f' + chr(1233 - 1183) + chr(0b101000 + 0o13) + chr(1127 - 1075) + chr(50) + chr(0b10000 + 0o40), 0b1000)
CIb4KLJ7bueR = None
if e1HrJaQHACnl:
e1HrJaQHACnl = nzTpIcepk0o8(e1HrJaQHACnl)
if CUMaBVz2a0jz:
CUMaBVz2a0jz = nzTpIcepk0o8(CUMaBVz2a0jz)
OO0tRW9aj_xh = roI3spqORKae(ES5oEprVxulp(b''), '\x64' + '\145' + chr(3568 - 3469) + chr(111) + chr(1435 - 1335) + chr(0b1100101))(chr(117) + chr(0b100001 + 0o123) + chr(0b1100110) + chr(45) + chr(1312 - 1256))
if y87dwGy_Qoj4:
OO0tRW9aj_xh = y87dwGy_Qoj4
tJOZ0nNFlPe7 = roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(101) + '\x63' + '\x6f' + chr(0b1011101 + 0o7) + chr(200 - 99))('\165' + chr(116) + chr(102) + chr(0b11110 + 0o17) + chr(0b10000 + 0o50))
EVjMMn_NFxL2 = roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(0b1100101) + chr(4982 - 4883) + chr(0b1100010 + 0o15) + '\144' + chr(101))(chr(0b10111 + 0o136) + chr(3084 - 2968) + chr(0b1100110) + '\055' + '\x38')
s282iMtmXh3x = roI3spqORKae(ES5oEprVxulp(b''), chr(6639 - 6539) + chr(4098 - 3997) + chr(0b1100011) + chr(111) + chr(5194 - 5094) + chr(0b1100101))('\165' + chr(0b1100100 + 0o20) + '\146' + chr(1327 - 1282) + chr(842 - 786))
IDVOrqhsE_q8 = roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(0b1100101) + chr(3010 - 2911) + chr(1985 - 1874) + '\144' + '\x65')(chr(5870 - 5753) + '\164' + chr(10258 - 10156) + chr(111 - 66) + chr(897 - 841))
if not pMZEnc91gpWS:
rVXviMgDUC9h -= nzTpIcepk0o8(chr(0b110000) + chr(111) + '\x31', 8)
fsgEg0eRSoKL -= nzTpIcepk0o8('\x30' + chr(0b111001 + 0o66) + chr(1667 - 1618), 8)
dH3vcKdvgBu0 -= nzTpIcepk0o8(chr(48) + chr(0b1110 + 0o141) + chr(0b110010), 8)
if not sc4pJ_rhAw00:
rVXviMgDUC9h -= nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b1111 + 0o42), 8)
fsgEg0eRSoKL -= nzTpIcepk0o8(chr(448 - 400) + '\157' + '\x31', 8)
dH3vcKdvgBu0 -= nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110010), 8)
if not S8gUNkFK3Z7g:
rVXviMgDUC9h -= nzTpIcepk0o8('\060' + chr(1102 - 991) + '\061', 8)
fsgEg0eRSoKL -= nzTpIcepk0o8(chr(0b1101 + 0o43) + '\157' + '\x31', 8)
dH3vcKdvgBu0 -= nzTpIcepk0o8(chr(0b110000) + chr(0b101000 + 0o107) + '\x32', 8)
if not ZiKB99Xs91Lo or am4di6GtLqyR == roI3spqORKae(ES5oEprVxulp(b's\xac8\xcca'), chr(100) + chr(101) + chr(8117 - 8018) + chr(12241 - 12130) + chr(100) + chr(101))(chr(117) + chr(0b1110100) + '\x66' + '\x2d' + chr(2220 - 2164)):
ZiKB99Xs91Lo = nzTpIcepk0o8('\060' + '\157' + chr(0b10110 + 0o32), 8)
e5rcHW8hR5dL = roI3spqORKae(ES5oEprVxulp(b's\xac8\xcca'), chr(100) + '\145' + '\x63' + chr(8496 - 8385) + chr(100) + chr(1571 - 1470))('\x75' + '\x74' + '\146' + chr(0b101101) + chr(0b1100 + 0o54))
elif am4di6GtLqyR == roI3spqORKae(ES5oEprVxulp(b'~\xbe'), chr(0b11001 + 0o113) + '\145' + chr(0b1100011) + chr(111) + chr(100) + chr(0b111110 + 0o47))(chr(0b1110101) + chr(0b1110100) + chr(102) + chr(0b100110 + 0o7) + '\070'):
ZiKB99Xs91Lo = sOS7b2Ofrbne(jLW6pRf2DSRk(ZiKB99Xs91Lo) * 0.001, nzTpIcepk0o8(chr(48) + chr(0b1000100 + 0o53) + chr(0b110110), 0b1000))
e5rcHW8hR5dL = roI3spqORKae(ES5oEprVxulp(b's\xac8\xc3h\xea\x88'), chr(0b1010011 + 0o21) + chr(101) + chr(0b1010100 + 0o17) + chr(4645 - 4534) + chr(0b1100100) + chr(101))(chr(117) + chr(0b0 + 0o164) + '\x66' + chr(45) + chr(0b111000))
elif am4di6GtLqyR == roI3spqORKae(ES5oEprVxulp(b'k'), chr(926 - 826) + chr(101) + '\143' + chr(0b101101 + 0o102) + chr(0b110100 + 0o60) + chr(6959 - 6858))('\165' + chr(0b111110 + 0o66) + '\146' + '\055' + '\070'):
ZiKB99Xs91Lo = sOS7b2Ofrbne(jLW6pRf2DSRk(ZiKB99Xs91Lo) + nzTpIcepk0o8(chr(0b111 + 0o51) + '\x6f' + chr(0b110100) + chr(0b110010) + '\x31', 9070 - 9062), nzTpIcepk0o8(chr(1536 - 1488) + '\157' + chr(54), 8))
e5rcHW8hR5dL = roI3spqORKae(ES5oEprVxulp(b's\xac8\xd6\x03\x9d'), chr(0b1100100) + '\145' + '\x63' + '\157' + '\x64' + chr(0b1100101))(chr(8045 - 7928) + chr(116) + chr(102) + '\055' + chr(0b111000))
elif am4di6GtLqyR == roI3spqORKae(ES5oEprVxulp(b'~\xaaX'), '\144' + '\x65' + chr(0b1000000 + 0o43) + chr(0b1101111) + '\144' + chr(0b1100101))(chr(10663 - 10546) + '\x74' + '\146' + chr(45) + '\070'):
e5rcHW8hR5dL = roI3spqORKae(ES5oEprVxulp(b's\xac8\xc3h\xea\x9b'), '\x64' + chr(0b101110 + 0o67) + chr(973 - 874) + '\x6f' + chr(0b1000101 + 0o37) + chr(0b10010 + 0o123))('\165' + '\x74' + '\146' + '\055' + chr(56))
ZiKB99Xs91Lo = sOS7b2Ofrbne(jLW6pRf2DSRk(ZiKB99Xs91Lo) * 0.001, nzTpIcepk0o8(chr(2013 - 1965) + chr(0b1101111) + chr(0b100000 + 0o26), 8))
elif am4di6GtLqyR == roI3spqORKae(ES5oEprVxulp(b'v\xaaX'), '\x64' + chr(0b1100101) + '\x63' + '\157' + '\144' + '\x65')(chr(0b1110101) + chr(0b1101001 + 0o13) + chr(0b1100110) + '\x2d' + chr(2602 - 2546)):
e5rcHW8hR5dL = roI3spqORKae(ES5oEprVxulp(b's\xac8\xcb|\x8a'), chr(0b1100100) + '\145' + chr(99) + chr(0b1101111) + chr(8763 - 8663) + chr(835 - 734))(chr(0b1110101) + chr(0b1000100 + 0o60) + chr(0b1100100 + 0o2) + chr(0b101101) + chr(933 - 877))
ZiKB99Xs91Lo = sOS7b2Ofrbne(jLW6pRf2DSRk(ZiKB99Xs91Lo) * 0.001, nzTpIcepk0o8(chr(0b110 + 0o52) + chr(111) + '\066', 8))
elif am4di6GtLqyR == roI3spqORKae(ES5oEprVxulp(b'g'), '\x64' + chr(101) + chr(0b1100011) + '\x6f' + chr(100) + chr(2654 - 2553))('\165' + '\164' + '\146' + '\x2d' + chr(0b101010 + 0o16)):
e5rcHW8hR5dL = roI3spqORKae(ES5oEprVxulp(b's\xa88\xda'), chr(100) + '\145' + chr(0b1100011) + chr(0b1101111) + chr(0b1000110 + 0o36) + '\x65')('\165' + chr(0b100011 + 0o121) + chr(102) + chr(1619 - 1574) + chr(0b101101 + 0o13))
rVXviMgDUC9h += nzTpIcepk0o8(chr(1809 - 1761) + chr(0b1101111) + chr(567 - 518), 8)
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\x12\xb4E'), chr(7599 - 7499) + chr(0b1100101) + chr(0b110010 + 0o61) + '\x6f' + chr(0b1100100) + '\x65')(chr(0b1110101) + chr(2763 - 2647) + chr(0b1100110) + '\055' + '\x38'))
if roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'^\x92\\\xc6y\xbe\x8a@\xb9\t\x12\x9f'), chr(0b1100100) + chr(2146 - 2045) + chr(0b1100011) + '\x6f' + chr(0b1100100) + chr(0b1100101))(chr(4736 - 4619) + chr(0b1110100) + '\x66' + '\x2d' + chr(583 - 527)))[w5vcgUzFN3bF + nzTpIcepk0o8(chr(0b110000) + '\157' + chr(2169 - 2119), 8)] == roI3spqORKae(ES5oEprVxulp(b'R\x99f\xf1'), chr(0b1100100) + chr(0b11000 + 0o115) + chr(99) + chr(111) + chr(100) + chr(0b100111 + 0o76))(chr(0b1110101) + '\x74' + '\x66' + chr(45) + chr(0b1100 + 0o54)):
if Z5dKAC9uv0qA != nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b110011), 8):
tARlVcUV7soY = roI3spqORKae(ES5oEprVxulp(b'R\x9dt\xf1[\xb5\xb7`\x9e\x06U\xa2\x9b\xbe\xa6\xba\x8e\xd2\x9bv'), '\x64' + '\x65' + '\143' + chr(9117 - 9006) + '\x64' + chr(0b1001010 + 0o33))(chr(117) + '\164' + chr(6507 - 6405) + chr(45) + '\070')
else:
tARlVcUV7soY = roI3spqORKae(ES5oEprVxulp(b'L\x8df\xe1q\xa4\xbad\xa4\x05@\x8e\x8b'), '\144' + chr(101) + chr(6884 - 6785) + chr(0b1101111) + chr(0b1001 + 0o133) + '\145')(chr(0b1110101) + chr(12935 - 12819) + chr(5967 - 5865) + '\x2d' + chr(0b110000 + 0o10))
elif roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'^\x92\\\xc6y\xbe\x8a@\xb9\t\x12\x9f'), '\144' + '\145' + chr(0b1001010 + 0o31) + chr(111) + chr(0b10001 + 0o123) + chr(0b110101 + 0o60))(chr(0b1110101) + '\x74' + chr(0b1000101 + 0o41) + chr(1712 - 1667) + chr(0b111000)))[w5vcgUzFN3bF + nzTpIcepk0o8(chr(0b100010 + 0o16) + chr(0b110111 + 0o70) + chr(2226 - 2176), 8)] == roI3spqORKae(ES5oEprVxulp(b'I\x97y'), chr(0b1011101 + 0o7) + chr(101) + '\x63' + '\x6f' + chr(0b1011111 + 0o5) + chr(0b1100101))(chr(0b1110101) + chr(116) + chr(5849 - 5747) + chr(0b101101) + chr(2406 - 2350)):
if Z5dKAC9uv0qA != nzTpIcepk0o8('\x30' + '\157' + '\063', 8):
tARlVcUV7soY = roI3spqORKae(ES5oEprVxulp(b'R\x9dt\xf1[\xb5\xb7`\x9e\x06U\xa2\x9b\xbe\xa6\xba\x95\xdc\x84pL\xf2'), chr(0b10001 + 0o123) + '\x65' + chr(0b1100011) + '\157' + chr(0b1100100) + chr(101))(chr(117) + chr(5894 - 5778) + chr(6148 - 6046) + chr(0b11 + 0o52) + chr(0b111000))
else:
tARlVcUV7soY = roI3spqORKae(ES5oEprVxulp(b'L\x8df\xe1q\xa4\xbad\xa4\x1eN\x91\x8d\xbb\xaa'), chr(0b1100100) + chr(967 - 866) + chr(0b1100011) + '\157' + chr(4386 - 4286) + chr(0b1100101))(chr(8086 - 7969) + chr(0b1110100) + chr(0b1001110 + 0o30) + '\055' + chr(0b111000))
else:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'Z\x8ag\xed\\\xe7\xbbc\xdb\x1bT\x8e\x9b\xb3\xbf\x91\x8a\xd1\x81iH\xe3k\x89\xe5lK\xb7\xfe'), chr(0b101011 + 0o71) + chr(8774 - 8673) + chr(6250 - 6151) + chr(111) + chr(0b1100001 + 0o3) + chr(0b111100 + 0o51))(chr(0b1110101) + chr(116) + chr(0b1100110) + chr(0b101101) + '\x38'))
return (nzTpIcepk0o8(chr(48) + chr(111) + '\x30', 8), roI3spqORKae(ES5oEprVxulp(b'Z\x8ag\xed\\\xe7\xbbc\xdb\x1bT\x8e\x9b\xb3\xbf\x91\x8a\xd1\x81iH\xe3k\x89\xe5lK\xb7\xfe'), chr(100) + '\x65' + chr(99) + chr(0b1001101 + 0o42) + '\x64' + chr(3745 - 3644))(chr(6975 - 6858) + chr(0b1101110 + 0o6) + '\146' + '\055' + chr(56)))
else:
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'R\x9da\xeaA\xa3\xe8-\x80\x15\x01\x93\x97\xa2\xef\x96\x96\xc3\x98jS\xe3w\xcd'), chr(0b1100100) + chr(0b1100100 + 0o1) + chr(0b11101 + 0o106) + chr(0b101110 + 0o101) + '\144' + '\145')('\x75' + '\164' + chr(0b1100110) + chr(184 - 139) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'N\xcb&\xc9i\xf4\xb4b\xaa7b\xb7'), '\x64' + chr(0b1110 + 0o127) + chr(0b1001101 + 0o26) + chr(581 - 470) + '\144' + chr(2846 - 2745))('\x75' + '\164' + chr(0b1100110) + chr(45) + chr(0b111000)))(am4di6GtLqyR))
return (nzTpIcepk0o8('\060' + chr(111) + '\x30', 8), roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'R\x9da\xeaA\xa3\xe8-\xd9\x13\\\xdf\xd8\xb8\xa0\x91\xc3\xc0\x9duQ\xf8`\xdd\xf5f'), chr(0b11010 + 0o112) + '\145' + chr(99) + '\157' + '\144' + chr(0b1011011 + 0o12))('\165' + chr(0b111010 + 0o72) + chr(102) + '\x2d' + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'N\xcb&\xc9i\xf4\xb4b\xaa7b\xb7'), chr(0b1100100) + chr(6087 - 5986) + '\143' + '\x6f' + chr(3730 - 3630) + chr(101))('\x75' + chr(0b1110100) + '\x66' + '\055' + chr(56)))(am4di6GtLqyR))
if P07ZtlLUg0mf:
xBFFJFaziFDU = nzTpIcepk0o8('\x30' + chr(10448 - 10337) + '\061', 8)
if Hg_KJkMRv5EQ and vrYAlPlCS8EO:
(Hg_KJkMRv5EQ, vrYAlPlCS8EO) = (jLW6pRf2DSRk(Hg_KJkMRv5EQ), jLW6pRf2DSRk(vrYAlPlCS8EO))
else:
(Hg_KJkMRv5EQ, vrYAlPlCS8EO) = (-nzTpIcepk0o8(chr(48) + '\157' + '\x31', 8), -nzTpIcepk0o8('\060' + chr(0b10 + 0o155) + chr(0b110001), 8))
if qya8ioruVZil:
RYdkBUje3R81 = jLW6pRf2DSRk(RYdkBUje3R81)
o3SuW33uOWrs = jLW6pRf2DSRk(o3SuW33uOWrs)
rVXviMgDUC9h += nzTpIcepk0o8('\060' + chr(2542 - 2431) + '\x31', 8)
dH3vcKdvgBu0 += nzTpIcepk0o8(chr(0b110000) + chr(111) + '\x32', 8)
if not (o3SuW33uOWrs and TLcnrOQdCE7h):
return (nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(1326 - 1278), 8), roI3spqORKae(ES5oEprVxulp(b'k\x975\xf2B\xa8\xa6-\x8f\x01L\x98\xd4\xf6\xb6\x8a\x96\x93\x85pR\xe32\xd9\xe2mT\xaa\xe9\x8d\x80\x0b\x015\xf5j\x08-\xc0\xc8G\xd45\xe3@\xa3\xf2y\x92\x05D\x8e\x9b\xb7\xa3\x80'), '\x64' + '\145' + '\143' + chr(111) + '\x64' + chr(101))('\165' + chr(116) + chr(891 - 789) + chr(0b100100 + 0o11) + chr(56)))
if rHPU8oONrR4n:
rHPU8oONrR4n = hUcsWwAd0nE_.resolve_file_name(rHPU8oONrR4n, KADebXAR9grB)
if SFcPYUNw10Xj:
SFcPYUNw10Xj = hUcsWwAd0nE_.resolve_file_name(SFcPYUNw10Xj, KADebXAR9grB)
if bqpTUs8apVqb:
bqpTUs8apVqb = hUcsWwAd0nE_.resolve_file_name(bqpTUs8apVqb, KADebXAR9grB)
if _FpkWd4wvvaT:
_FpkWd4wvvaT = hUcsWwAd0nE_.resolve_file_name(_FpkWd4wvvaT, KADebXAR9grB)
if Z5dKAC9uv0qA == nzTpIcepk0o8(chr(1529 - 1481) + '\x6f' + '\063', 8):
HfaqVUK36EUj = {roI3spqORKae(ES5oEprVxulp(b'L\x88p\xe1G\xaa\xb7c\x88'), chr(0b1100100) + chr(101) + chr(4749 - 4650) + chr(0b111010 + 0o65) + chr(100) + chr(0b1100010 + 0o3))(chr(117) + chr(116) + '\x66' + chr(0b101101) + chr(0b111000)): SFcPYUNw10Xj, roI3spqORKae(ES5oEprVxulp(b'L\x99x\xf2B\xa2\xa1'), '\144' + '\145' + '\x63' + chr(305 - 194) + '\144' + chr(0b1100101))('\165' + '\x74' + chr(102) + chr(0b101101) + chr(0b111000)): bqpTUs8apVqb, roI3spqORKae(ES5oEprVxulp(b'^\x9fp\xf1'), '\144' + '\x65' + chr(0b1100011) + chr(8606 - 8495) + chr(0b111 + 0o135) + chr(101))(chr(0b1110101) + chr(116) + '\x66' + chr(268 - 223) + '\x38'): _FpkWd4wvvaT, roI3spqORKae(ES5oEprVxulp(b'R\x9dt\xf1[\xb5\xb7`\x9e\x06U\x8e'), chr(0b1100100) + chr(0b11111 + 0o106) + chr(99) + chr(111) + chr(100) + '\x65')(chr(0b1110101) + '\164' + '\x66' + '\x2d' + chr(56)): rHPU8oONrR4n}
HfaqVUK36EUj = {B6UAF1zReOyJ: r7AA1pbLjb44 for (B6UAF1zReOyJ, r7AA1pbLjb44) in HfaqVUK36EUj.Y_nNEzH43vXi() if r7AA1pbLjb44}
D3H9MFOOog2W = RYEhqzIVZREo.Contribution(KADebXAR9grB, custom_filenames=HfaqVUK36EUj)
for RcX9bbuOzh5L in [roI3spqORKae(ES5oEprVxulp(b'R\x9dt\xf1[\xb5\xb7`\x9e\x06U\x8e'), chr(0b1010011 + 0o21) + '\x65' + '\143' + chr(111) + chr(0b111 + 0o135) + chr(0b1100101))('\165' + chr(0b1110100) + chr(102) + chr(0b101101) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'L\x88p\xe1G\xaa\xb7c\x88'), chr(3566 - 3466) + '\x65' + '\143' + '\x6f' + chr(7639 - 7539) + '\x65')(chr(6379 - 6262) + '\164' + chr(102) + chr(175 - 130) + chr(0b1 + 0o67))]:
if RcX9bbuOzh5L not in roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'h\x9fa\xd1d\x9f\xe2~\xb21Q\xb1'), '\144' + '\x65' + '\143' + '\x6f' + chr(6806 - 6706) + chr(8737 - 8636))(chr(0b10011 + 0o142) + chr(4463 - 4347) + chr(5397 - 5295) + chr(45) + chr(56))):
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'\x12\xbd8\xa2w\xa8\xa7-\x96\x1dR\x89\xd8\xbe\xae\x93\x86\x93\x89%Z\xea2\xcf\xf9nG\xe3\xe4\x86\x80\x13\x03)\xe9fA"\xdd\xdcK\xd8q\xeb\\\xa2\xb1y\x94\x1aX\xdd\xd0\xad\xb2\xcc\xc3\xc7\x87%S\xe2|\x89\xf3mP\xa6\xd2\x8c\xc5\x1a\x184\xeb*G8'), chr(0b1100100) + chr(0b100000 + 0o105) + '\x63' + chr(111) + chr(0b1100100) + chr(0b111111 + 0o46))(chr(117) + chr(116) + chr(102) + '\055' + chr(1448 - 1392)), roI3spqORKae(ES5oEprVxulp(b'N\xcb&\xc9i\xf4\xb4b\xaa7b\xb7'), chr(2986 - 2886) + '\x65' + chr(7855 - 7756) + chr(0b110000 + 0o77) + '\144' + '\145')(chr(11953 - 11836) + '\x74' + '\146' + chr(45) + chr(1105 - 1049)))(RcX9bbuOzh5L, KADebXAR9grB))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x1f\xd85\xa2g\xa1\xf2c\x9e\rE\x98\x9c\xfa\xef\x9c\x8c\xc6\xc8f@\xf92\xda\xe0gA\xaa\xeb\x91\x80\x13\x03)\xe9fA"\xdd\xdcK\xd8q\xeb\\\xa2\xb1y\x94\x1aX\xdd\x97\xb8\xef\x91\x8b\xd6\xc8fN\xfa\x7f\xc8\xfef\x02\xaf\xe4\x86\xc5J\x1b5\xef.\x08n\xce\xc6M\x9dJ\xe6K\xb7\xa6e\x8b\x04N\x89\xd6\xa6\xb6\xc5\xce\xfa\xac%E\xfe`\xc7\xf1oG\xe3\xa3\xc6\x8eJN'), chr(0b101110 + 0o66) + chr(0b1100101) + chr(0b10010 + 0o121) + '\157' + chr(0b1011010 + 0o12) + chr(8850 - 8749))(chr(0b1001 + 0o154) + '\164' + chr(7958 - 7856) + chr(0b1 + 0o54) + chr(0b111000)))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x1f\xd85\xa2a\xb5\xf2z\x92\x1cI\xdd\x91\xa6\xa2\x84\x84\x9d\x8bjS\xf2M\xcd\xf5rV\xab\xfd\x84\xcf\x1eD5\xf56]8\xf2\xcdV\x8aJ\xf2O\xb3\xba0\x9f\x01S\x93\x99\xbb\xaa\xc9\xc3\x9d\xc6+\x08'), chr(100) + chr(4663 - 4562) + chr(0b1010 + 0o131) + chr(111) + '\x64' + chr(0b111000 + 0o55))(chr(117) + chr(3727 - 3611) + chr(0b1100110) + chr(0b11 + 0o52) + chr(0b111000)))
roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'O\x8az\xf2O\xa0\xb3y\x9e7O\x9c\x95\xb3\x90\x81\x8c\xc4\x86'), chr(0b1001010 + 0o32) + chr(9818 - 9717) + chr(0b1100011) + chr(0b1101111) + chr(8335 - 8235) + chr(0b111101 + 0o50))(chr(0b1110101) + chr(6882 - 6766) + chr(1277 - 1175) + chr(45) + chr(1017 - 961)))(roI3spqORKae(ES5oEprVxulp(b'L\x99x\xf2B\xa2'), '\x64' + chr(2222 - 2121) + '\143' + chr(0b10000 + 0o137) + chr(0b1010 + 0o132) + '\145')(chr(565 - 448) + '\x74' + '\x66' + chr(45) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'R\x9dt\xf1[\xb5\xb7`\x9e\x06U\x8e'), chr(0b1100100) + '\x65' + chr(7335 - 7236) + '\x6f' + chr(9840 - 9740) + chr(0b100000 + 0o105))('\165' + chr(10051 - 9935) + '\146' + '\x2d' + chr(56)))
roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'O\x8az\xf2O\xa0\xb3y\x9e7O\x9c\x95\xb3\x90\x81\x8c\xc4\x86'), chr(5119 - 5019) + '\145' + chr(2534 - 2435) + chr(0b1001010 + 0o45) + chr(404 - 304) + '\145')(chr(0b1000011 + 0o62) + chr(0b1110100) + chr(0b1100110) + chr(45) + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b'L\x91a\xe7'), chr(100) + chr(10190 - 10089) + '\x63' + chr(111) + chr(5666 - 5566) + chr(0b1100101))(chr(117) + chr(0b1011110 + 0o26) + '\146' + chr(45) + '\070'), roI3spqORKae(ES5oEprVxulp(b'R\x9dt\xf1[\xb5\xb7`\x9e\x06U\x8e'), '\144' + chr(101) + chr(0b1100 + 0o127) + '\x6f' + '\x64' + chr(101))('\x75' + chr(0b1110100) + chr(267 - 165) + chr(0b101101) + chr(260 - 204)))
roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'O\x8az\xf2O\xa0\xb3y\x9e7B\x92\x94\xa5'), chr(100) + chr(0b1100101) + chr(99) + chr(0b1011011 + 0o24) + chr(0b1100100) + '\x65')('\165' + chr(0b1010001 + 0o43) + chr(0b1100110) + '\x2d' + '\070'))([roI3spqORKae(ES5oEprVxulp(b'\\\x97g\xe7q\xa3\xb7}\x8f\x00'), '\x64' + '\x65' + chr(778 - 679) + '\x6f' + chr(0b1011010 + 0o12) + chr(0b1100101))(chr(8115 - 7998) + '\x74' + '\146' + '\055' + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\\\x97x\xf2A\xb4\xbby\x9e7E\x98\x88\xa2\xa7'), '\144' + chr(0b1100101) + chr(0b1011000 + 0o13) + '\x6f' + chr(100) + chr(0b1011011 + 0o12))(chr(0b1101101 + 0o10) + chr(0b101100 + 0o110) + chr(2413 - 2311) + chr(130 - 85) + '\070')], roI3spqORKae(ES5oEprVxulp(b'L\x99x\xf2B\xa2\xa1'), '\x64' + '\x65' + '\143' + chr(0b1101111) + chr(9838 - 9738) + chr(5552 - 5451))(chr(117) + chr(0b1110100) + chr(0b1001001 + 0o35) + chr(45) + '\070'), roI3spqORKae(ES5oEprVxulp(b'L\x91a\xe7]'), '\144' + '\x65' + chr(7506 - 7407) + chr(0b1101111) + '\x64' + chr(1621 - 1520))('\x75' + '\164' + '\146' + chr(0b110 + 0o47) + chr(56)))
if _FpkWd4wvvaT == roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(0b1100101) + chr(0b101000 + 0o73) + chr(2711 - 2600) + chr(100) + '\145')('\165' + '\x74' + '\146' + chr(0b100100 + 0o11) + chr(0b110100 + 0o4)):
NixjZbnCaKrH = []
if roI3spqORKae(ES5oEprVxulp(b'L\x99x\xf2B\xa2\xa1'), chr(0b1101 + 0o127) + '\145' + chr(99) + chr(111) + chr(9618 - 9518) + chr(8590 - 8489))('\x75' + chr(0b1110100) + chr(0b1100110) + chr(45) + chr(1487 - 1431)) in roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'h\x9fa\xd1d\x9f\xe2~\xb21Q\xb1'), chr(2543 - 2443) + chr(0b1100101) + chr(99) + chr(0b1000 + 0o147) + chr(2118 - 2018) + chr(0b100011 + 0o102))(chr(0b1 + 0o164) + '\x74' + chr(0b1001111 + 0o27) + '\x2d' + '\070')):
NixjZbnCaKrH = D3H9MFOOog2W.tables[roI3spqORKae(ES5oEprVxulp(b'L\x99x\xf2B\xa2\xa1'), chr(0b1100100) + chr(0b1100101) + chr(0b101011 + 0o70) + chr(111) + chr(100) + '\145')(chr(0b1100 + 0o151) + '\164' + chr(0b1011110 + 0o10) + chr(0b10100 + 0o31) + '\x38')].convert_to_pmag_data_list()
else:
H1WMyWd7nBfT = roI3spqORKae(ES5oEprVxulp(b'^\x9fp'), chr(0b111100 + 0o50) + chr(0b1100101) + '\143' + '\x6f' + '\x64' + '\145')(chr(117) + chr(116) + chr(0b1110 + 0o130) + chr(0b11011 + 0o22) + chr(0b101110 + 0o12))
NixjZbnCaKrH = []
if roI3spqORKae(ES5oEprVxulp(b'^\x9fp\xf1'), chr(100) + '\145' + '\143' + '\157' + chr(1832 - 1732) + '\145')('\165' + '\x74' + chr(10386 - 10284) + '\x2d' + chr(0b11011 + 0o35)) in roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'h\x9fa\xd1d\x9f\xe2~\xb21Q\xb1'), '\144' + '\145' + chr(4866 - 4767) + '\x6f' + chr(0b1000000 + 0o44) + '\x65')(chr(0b1110101) + chr(116) + chr(102) + '\055' + '\x38')):
roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'O\x8az\xf2O\xa0\xb3y\x9e7@\x9a\x9d\xa5'), '\x64' + chr(0b1100011 + 0o2) + chr(0b101 + 0o136) + '\x6f' + '\x64' + chr(0b1010110 + 0o17))(chr(0b1110101) + '\164' + chr(7062 - 6960) + chr(1387 - 1342) + chr(56)))()
roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'O\x8az\xf2O\xa0\xb3y\x9e7B\x92\x94\xa5'), chr(0b1100100) + chr(0b1010110 + 0o17) + '\143' + '\157' + '\144' + '\x65')(chr(8210 - 8093) + '\x74' + chr(9562 - 9460) + chr(45) + chr(56)))([roI3spqORKae(ES5oEprVxulp(b'^\x9fp'), chr(0b1011100 + 0o10) + chr(0b10 + 0o143) + chr(9095 - 8996) + chr(111) + chr(0b1100011 + 0o1) + chr(9329 - 9228))(chr(0b111011 + 0o72) + '\164' + '\146' + chr(45) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'^\x9fp\xdd[\xa9\xbby'), chr(0b1100100) + chr(0b1001101 + 0o30) + '\x63' + chr(111) + '\x64' + chr(101))(chr(117) + chr(5997 - 5881) + chr(102) + chr(767 - 722) + '\x38')], roI3spqORKae(ES5oEprVxulp(b'L\x99x\xf2B\xa2\xa1'), chr(100) + '\145' + chr(0b1100011) + chr(0b11 + 0o154) + '\144' + '\145')('\x75' + chr(116) + chr(102) + chr(45) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'L\x91a\xe7]'), chr(0b1100100) + chr(0b1100101) + '\x63' + chr(1968 - 1857) + chr(572 - 472) + '\145')('\165' + chr(0b1100110 + 0o16) + chr(5552 - 5450) + chr(91 - 46) + chr(0b111000)))
NixjZbnCaKrH = D3H9MFOOog2W.tables[roI3spqORKae(ES5oEprVxulp(b'L\x99x\xf2B\xa2\xa1'), chr(0b100 + 0o140) + '\x65' + chr(9440 - 9341) + '\x6f' + '\x64' + chr(9041 - 8940))(chr(8722 - 8605) + chr(116) + chr(0b1100110) + chr(1916 - 1871) + chr(0b1 + 0o67))].convert_to_pmag_data_list()
VhDf1UQHyIoF = roI3spqORKae(ES5oEprVxulp(b''), chr(2390 - 2290) + chr(101) + chr(2546 - 2447) + chr(0b1001011 + 0o44) + '\x64' + chr(5095 - 4994))(chr(117) + chr(6101 - 5985) + chr(102) + chr(0b100101 + 0o10) + '\x38')
if SFcPYUNw10Xj:
fl6kskVrY91H = []
JlNPC9Ow4uxx = []
if roI3spqORKae(ES5oEprVxulp(b'L\x88p\xe1G\xaa\xb7c\x88'), chr(9160 - 9060) + chr(0b1100101) + '\x63' + '\157' + chr(3908 - 3808) + '\x65')('\165' + chr(116) + '\x66' + '\055' + chr(0b111000)) in roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'h\x9fa\xd1d\x9f\xe2~\xb21Q\xb1'), chr(8224 - 8124) + chr(101) + chr(0b1100011) + chr(0b1101101 + 0o2) + chr(100) + chr(3146 - 3045))(chr(117) + '\x74' + chr(5209 - 5107) + chr(0b101101) + chr(56))):
JlNPC9Ow4uxx = D3H9MFOOog2W.tables[roI3spqORKae(ES5oEprVxulp(b'L\x88p\xe1G\xaa\xb7c\x88'), '\x64' + chr(0b1100101) + chr(0b1100011) + chr(111) + chr(100) + '\x65')(chr(0b1110101) + '\x74' + chr(0b1100110) + chr(0b10010 + 0o33) + chr(0b10101 + 0o43))].convert_to_pmag_data_list()
if s282iMtmXh3x:
sJQV_HqS9fgz = roI3spqORKae(ES5oEprVxulp(b'\x12\xaf8\xa2\\\xa2\xa1x\x97\x1c\x01\x9b\x91\xba\xaa\xc5\x8c\xc3\x9clN\xf92\xc0\xe3"L\xac\xf9\xc8\xc3\x1f\x1e.\xfe(\\ \xd4\x89^\x8et\xebB\xa6\xb0a\x9eHG\x92\x8a\xf6\x82\x84\x84\xfa\xab%E\xf6f\xc8\xb0oM\xa7\xe8\x84\x80Y'), chr(100) + '\145' + chr(2600 - 2501) + '\x6f' + '\144' + '\145')(chr(4513 - 4396) + chr(116) + chr(0b1100110) + '\x2d' + chr(0b111000))
v8jsMqaYV6U2(sJQV_HqS9fgz)
return (nzTpIcepk0o8('\060' + chr(7841 - 7730) + '\x30', 8), sJQV_HqS9fgz)
if xBFFJFaziFDU:
(fl6kskVrY91H, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(P07ZtlLUg0mf)
IPWYJkPchH9g = []
IPWYJkPchH9g = fl6kskVrY91H
v8jsMqaYV6U2(ftfygxgFas5X(IPWYJkPchH9g), roI3spqORKae(ES5oEprVxulp(b'\x1f\x8be\xe7M\xae\xbfh\x95\x1b\x01\x8f\x9d\xb7\xab\xc5\x8a\xdd\xc8cS\xf8\x7f\x89'), chr(100) + '\x65' + chr(3767 - 3668) + chr(111) + chr(5013 - 4913) + chr(0b1000 + 0o135))('\x75' + '\164' + chr(102) + '\055' + '\070'), P07ZtlLUg0mf)
if not roI3spqORKae(aHUqKstZLeS6.path, roI3spqORKae(ES5oEprVxulp(b'V\x8bs\xebB\xa2'), '\144' + chr(0b1010010 + 0o23) + '\143' + chr(0b1101111) + chr(0b1100100) + chr(0b110011 + 0o62))(chr(1903 - 1786) + '\164' + '\x66' + '\x2d' + '\070'))(SFcPYUNw10Xj):
if not roI3spqORKae(aHUqKstZLeS6.path, roI3spqORKae(ES5oEprVxulp(b'V\x8bs\xebB\xa2'), chr(100) + chr(0b1100101) + chr(99) + '\157' + chr(1976 - 1876) + '\x65')('\165' + chr(13399 - 13283) + chr(0b1100110) + chr(45) + chr(0b111000)))(rHPU8oONrR4n):
return (nzTpIcepk0o8(chr(691 - 643) + '\157' + '\x30', 8), roI3spqORKae(ES5oEprVxulp(b'f\x97`\xa2C\xb2\xa1y\xdb\x18S\x92\x8e\xbf\xab\x80\xc3\xd6\x81qI\xf2`\x89\xf1"O\xa2\xea\x81\xc35\x019\xfa5]>\xc8\xc4Z\x96a\xf1\x0e\xa1\xbba\x9eHN\x8f\xd8\xb7\xef\x95\x8e\xd2\x8fZR\xe7w\xca\xf9oG\xad\xfe\xc8\xc6\x03\x009'), '\144' + chr(4797 - 4696) + chr(0b1100011) + '\x6f' + '\144' + '\x65')(chr(0b10010 + 0o143) + chr(0b110110 + 0o76) + chr(0b11100 + 0o112) + chr(45) + chr(0b110111 + 0o1)))
if not _FpkWd4wvvaT and (not bqpTUs8apVqb):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x12\xaf8\xa2w\xa8\xa7-\x96\x1dR\x89\xd8\xa6\xbd\x8a\x95\xda\x8c`\x01\xf2{\xdd\xf8gP\xe3\xec\x86\x80\x0b\x0b9\xbb A \xc8\x89P\x8a5\xe3\x0e\xb4\xb3`\x8b\x04D\xdd\x9e\xbf\xa3\x80'), '\x64' + '\145' + '\143' + chr(0b1101111) + chr(0b1011101 + 0o7) + chr(101))(chr(9588 - 9471) + '\x74' + chr(0b100 + 0o142) + chr(2009 - 1964) + chr(0b100100 + 0o24)))
return (nzTpIcepk0o8(chr(0b110000) + chr(8976 - 8865) + chr(0b1000 + 0o50), 8), roI3spqORKae(ES5oEprVxulp(b'\x12\xaf8\xa2w\xa8\xa7-\x96\x1dR\x89\xd8\xa6\xbd\x8a\x95\xda\x8c`\x01\xf2{\xdd\xf8gP\xe3\xec\x86\x80\x0b\x0b9\xbb A \xc8\x89P\x8a5\xe3\x0e\xb4\xb3`\x8b\x04D\xdd\x9e\xbf\xa3\x80'), chr(0b111110 + 0o46) + chr(101) + '\143' + chr(5850 - 5739) + chr(7770 - 7670) + chr(0b1100101))(chr(8728 - 8611) + chr(0b10010 + 0o142) + chr(0b1100110) + '\x2d' + chr(0b111000)))
elif Z5dKAC9uv0qA == nzTpIcepk0o8(chr(48) + chr(0b1010 + 0o145) + '\062', 8):
if _FpkWd4wvvaT == roI3spqORKae(ES5oEprVxulp(b''), chr(0b1000110 + 0o36) + chr(0b1100101) + '\143' + chr(111) + chr(100) + '\145')(chr(117) + '\164' + '\146' + chr(0b11000 + 0o25) + '\070'):
if bqpTUs8apVqb:
bqpTUs8apVqb = aHUqKstZLeS6.path.Y4yM9BcfTCNq(KADebXAR9grB, bqpTUs8apVqb)
(NixjZbnCaKrH, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(bqpTUs8apVqb)
else:
H1WMyWd7nBfT = roI3spqORKae(ES5oEprVxulp(b'^\x9fp'), '\144' + '\x65' + '\143' + chr(111) + chr(0b1000101 + 0o37) + chr(101))('\165' + '\x74' + chr(102) + '\055' + chr(0b11101 + 0o33))
if _FpkWd4wvvaT:
_FpkWd4wvvaT = aHUqKstZLeS6.path.Y4yM9BcfTCNq(KADebXAR9grB, _FpkWd4wvvaT)
(NixjZbnCaKrH, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(_FpkWd4wvvaT)
VhDf1UQHyIoF = roI3spqORKae(ES5oEprVxulp(b''), chr(9650 - 9550) + chr(2899 - 2798) + '\143' + '\157' + chr(3506 - 3406) + '\x65')(chr(0b1110101) + '\x74' + chr(0b110110 + 0o60) + chr(45) + '\x38')
if SFcPYUNw10Xj:
(JlNPC9Ow4uxx, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(SFcPYUNw10Xj)
if s282iMtmXh3x:
(DcqRVwpmRC8n, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(s282iMtmXh3x)
if xBFFJFaziFDU:
(IPWYJkPchH9g, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(P07ZtlLUg0mf)
v8jsMqaYV6U2(ftfygxgFas5X(IPWYJkPchH9g), roI3spqORKae(ES5oEprVxulp(b'\x1f\x8be\xe7M\xae\xbfh\x95\x1b\x01\x8f\x9d\xb7\xab\xc5\x8a\xdd\xc8cS\xf8\x7f\x89'), '\x64' + '\145' + chr(0b1100011) + '\157' + '\x64' + '\x65')(chr(117) + chr(6856 - 6740) + chr(3057 - 2955) + chr(45) + chr(56)), P07ZtlLUg0mf)
if not roI3spqORKae(aHUqKstZLeS6.path, roI3spqORKae(ES5oEprVxulp(b'V\x8bs\xebB\xa2'), chr(0b1001101 + 0o27) + chr(0b1100101) + '\x63' + chr(111) + '\x64' + chr(0b1100101))(chr(0b1110101) + chr(2406 - 2290) + chr(102) + chr(0b101101) + chr(0b111000)))(SFcPYUNw10Xj):
if not roI3spqORKae(aHUqKstZLeS6.path, roI3spqORKae(ES5oEprVxulp(b'V\x8bs\xebB\xa2'), chr(100) + '\x65' + chr(0b1000111 + 0o34) + '\x6f' + '\x64' + chr(101))(chr(117) + '\x74' + chr(8337 - 8235) + '\x2d' + '\070'))(rHPU8oONrR4n):
return (nzTpIcepk0o8(chr(0b110000) + chr(111) + '\060', 8), roI3spqORKae(ES5oEprVxulp(b'f\x97`\xa2C\xb2\xa1y\xdb\x18S\x92\x8e\xbf\xab\x80\xc3\xd6\x81qI\xf2`\x89\xf1"O\xa2\xea\x81\xc35\x019\xfa5]>\xc8\xc4Z\x96a\xf1\x0e\xa1\xbba\x9eHN\x8f\xd8\xb7\xef\x95\x8e\xd2\x8fZR\xe7w\xca\xf9oG\xad\xfe\xc8\xc6\x03\x009'), chr(0b1100100) + chr(0b1100101) + chr(99) + '\157' + chr(0b1100100) + chr(1938 - 1837))('\x75' + chr(116) + chr(0b11101 + 0o111) + '\x2d' + chr(2547 - 2491)))
else:
return (nzTpIcepk0o8(chr(0b101 + 0o53) + '\157' + chr(975 - 927), 8), roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'v\x96c\xe3B\xae\xb6-\x9f\tU\x9c\xd8\xbb\xa0\x81\x86\xdf\xc8kT\xfap\xcc\xe28\x02\xb8\xf0'), '\x64' + '\x65' + chr(0b1010111 + 0o14) + '\157' + '\x64' + '\145')('\x75' + '\164' + chr(0b11011 + 0o113) + chr(0b101011 + 0o2) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'N\xcb&\xc9i\xf4\xb4b\xaa7b\xb7'), '\144' + chr(0b101001 + 0o74) + chr(6469 - 6370) + '\x6f' + chr(2080 - 1980) + chr(0b1000011 + 0o42))('\165' + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(2305 - 2249)))(N9zlRy29S1SS(Z5dKAC9uv0qA)))
q5eO_jclWFG5 = []
dFt3oC7UZAaI = roI3spqORKae(ES5oEprVxulp(b'k\x97e\xa2J\xa2\xa2y\x93HB\x92\x8a\xb3\xab\xc5\xa0\xe0\xae%\t\xfa;'), chr(100) + chr(0b1100001 + 0o4) + chr(99) + chr(111) + chr(3586 - 3486) + chr(0b1 + 0o144))(chr(0b1110101) + chr(0b1110100) + chr(0b11000 + 0o116) + chr(127 - 82) + chr(56))
if cuJmomB0XH13:
cuJmomB0XH13 = hUcsWwAd0nE_.resolve_file_name(cuJmomB0XH13, KADebXAR9grB)
with DnU3Rq9N5ala(cuJmomB0XH13, roI3spqORKae(ES5oEprVxulp(b'M'), '\144' + chr(101) + chr(5463 - 5364) + '\x6f' + chr(100) + chr(0b1100101))(chr(0b1101011 + 0o12) + chr(4899 - 4783) + '\x66' + chr(0b101101) + chr(0b111000))) as E8Pmqk8kxnzp:
rXsJmwMxL39x = E8Pmqk8kxnzp.TKmlmUjNQ4dY()
if roI3spqORKae(ES5oEprVxulp(b'|\x97g\xe7\x0e\x94\xa7`\x96\tS\x84'), chr(0b1010000 + 0o24) + chr(101) + chr(0b101101 + 0o66) + '\157' + chr(0b1000101 + 0o37) + chr(0b10011 + 0o122))(chr(0b11000 + 0o135) + '\x74' + '\146' + '\x2d' + chr(3010 - 2954)) in rXsJmwMxL39x[nzTpIcepk0o8(chr(48) + chr(111) + chr(48), 8)]:
A_r5myOJVB03 = nzTpIcepk0o8(chr(48) + '\157' + '\061', 8)
else:
A_r5myOJVB03 = nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b1 + 0o57), 8)
HOp0ZjSPeQln = rXsJmwMxL39x[A_r5myOJVB03].replace(roI3spqORKae(ES5oEprVxulp(b'5'), '\x64' + chr(0b1000001 + 0o44) + chr(0b1100011) + chr(0b1101111) + chr(100) + chr(101))('\165' + chr(0b1110100) + '\x66' + '\x2d' + '\070'), roI3spqORKae(ES5oEprVxulp(b''), chr(8233 - 8133) + '\x65' + chr(0b1100011) + '\x6f' + chr(0b1100100 + 0o0) + '\x65')('\165' + chr(0b1110100) + chr(4814 - 4712) + chr(0b1101 + 0o40) + chr(3095 - 3039))).LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\x13'), chr(9862 - 9762) + '\145' + '\x63' + '\157' + chr(0b1100100) + chr(101))('\x75' + '\164' + '\x66' + '\x2d' + chr(0b110001 + 0o7)))
if roI3spqORKae(ES5oEprVxulp(b'|\x97g\xe7\x0e\x93\xbd}\xdb@L\xd4'), '\x64' + chr(101) + '\143' + '\x6f' + chr(0b1001000 + 0o34) + chr(0b110111 + 0o56))(chr(0b1110101) + '\164' + '\146' + '\055' + '\070') in HOp0ZjSPeQln:
dFt3oC7UZAaI = roI3spqORKae(ES5oEprVxulp(b'|\x97g\xe7\x0e\x93\xbd}\xdb@L\xd4'), '\x64' + chr(0b1000101 + 0o40) + chr(671 - 572) + '\157' + chr(0b1011000 + 0o14) + '\x65')(chr(8008 - 7891) + chr(0b1110100) + '\x66' + chr(0b101101) + chr(2359 - 2303))
if roI3spqORKae(ES5oEprVxulp(b'k\x97e\xa2J\xa2\xa2y\x93HB\x92\x8a\xb3\xab\xc5\xa0\xe0\xae%\t\xfa;'), chr(0b1100100) + chr(5234 - 5133) + chr(99) + chr(0b1101111 + 0o0) + chr(5139 - 5039) + chr(101))('\x75' + chr(116) + '\x66' + '\x2d' + chr(56)) in HOp0ZjSPeQln:
f39RbQgqLPZ2 = roI3spqORKae(ES5oEprVxulp(b'k\x97e\xa2J\xa2\xa2y\x93HB\x92\x8a\xb3\xab\xc5\xa0\xe0\xae%\t\xfa;'), chr(0b1100100) + chr(0b10010 + 0o123) + chr(99) + '\x6f' + chr(2732 - 2632) + chr(0b1100101))(chr(117) + '\x74' + chr(0b1100110) + chr(0b1000 + 0o45) + chr(56))
if roI3spqORKae(ES5oEprVxulp(b'|\x97g\xe7\x0e\x8b\xb3o\x9e\x04'), chr(3767 - 3667) + chr(5623 - 5522) + chr(0b1100011) + chr(0b1101111) + chr(0b1011011 + 0o11) + '\x65')(chr(0b1110101) + chr(9673 - 9557) + '\x66' + chr(280 - 235) + chr(2941 - 2885)) in HOp0ZjSPeQln:
Z0GwVtJhJD5m = roI3spqORKae(ES5oEprVxulp(b'|\x97g\xe7\x0e\x8b\xb3o\x9e\x04'), '\x64' + '\x65' + chr(413 - 314) + chr(111) + chr(5149 - 5049) + chr(0b101010 + 0o73))(chr(117) + chr(0b1110100) + chr(0b111010 + 0o54) + '\x2d' + '\070')
if roI3spqORKae(ES5oEprVxulp(b'|\x97g\xe7\x0e\xab\xb3o\x9e\x04'), '\144' + '\145' + chr(0b101100 + 0o67) + '\157' + chr(7295 - 7195) + chr(3623 - 3522))(chr(0b1110101) + '\164' + chr(0b111 + 0o137) + chr(1714 - 1669) + '\x38') in HOp0ZjSPeQln:
Z0GwVtJhJD5m = roI3spqORKae(ES5oEprVxulp(b'|\x97g\xe7\x0e\xab\xb3o\x9e\x04'), '\144' + chr(0b1100101) + '\143' + chr(7294 - 7183) + chr(8391 - 8291) + '\x65')('\x75' + '\x74' + chr(3166 - 3064) + '\x2d' + chr(0b111000))
for ffiOpFBWGmZU in rXsJmwMxL39x[nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(1988 - 1938), 8):]:
if roI3spqORKae(ES5oEprVxulp(b'k\xb7A\xc3b\x94'), chr(0b1100100) + chr(101) + chr(0b1100011) + chr(0b1101111) + '\144' + '\145')(chr(11470 - 11353) + chr(6593 - 6477) + chr(6134 - 6032) + chr(0b101101) + chr(56)) not in ffiOpFBWGmZU:
sA7OkYolGKHM = {}
for B6UAF1zReOyJ in bbT2xIe5pzk7(ftfygxgFas5X(HOp0ZjSPeQln)):
sA7OkYolGKHM[HOp0ZjSPeQln[B6UAF1zReOyJ]] = ffiOpFBWGmZU.LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\x13'), chr(100) + '\x65' + '\x63' + chr(111) + chr(100) + '\145')(chr(0b1001110 + 0o47) + '\x74' + '\x66' + '\055' + '\x38'))[B6UAF1zReOyJ]
roI3spqORKae(q5eO_jclWFG5, roI3spqORKae(ES5oEprVxulp(b'w\xacF\xb6V\xa0\x95b\x91\x07t\xc8'), chr(1758 - 1658) + '\x65' + '\x63' + chr(0b100100 + 0o113) + chr(0b100111 + 0o75) + '\145')(chr(13325 - 13208) + chr(4119 - 4003) + '\146' + '\055' + '\070'))(sA7OkYolGKHM)
if ftfygxgFas5X(q5eO_jclWFG5) == nzTpIcepk0o8('\060' + chr(0b100010 + 0o115) + chr(2228 - 2180), 8):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'Q\x975\xc1A\xb5\xb7-\x9f\rQ\x89\x90\xf6\xa6\x8b\x85\xdc\x9ah@\xe3{\xc6\xfe"C\xb5\xec\x81\xcc\x0b\x0e0\xfe|\x08%\xc0\xd9P\x8aa\xa2M\xa8\xa0h\xdb\x1bT\x90\x95\xb7\xbd\x9c\xc3\xd5\x81iD'), chr(0b1000111 + 0o35) + chr(0b10110 + 0o117) + chr(0b1010011 + 0o20) + chr(4011 - 3900) + '\144' + '\x65')(chr(117) + chr(0b1110100) + chr(0b1100110) + chr(0b10010 + 0o33) + chr(2404 - 2348)))
cuJmomB0XH13 = roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(0b11011 + 0o112) + chr(0b1011100 + 0o7) + '\157' + chr(0b10011 + 0o121) + '\x65')('\x75' + chr(7984 - 7868) + chr(102) + chr(45) + '\x38')
BkI1oOCrzqWc = []
if roI3spqORKae(ES5oEprVxulp(b'\\\x97g\xe7q\xa3\xb7}\x8f\x00'), chr(0b1100100) + '\x65' + '\143' + chr(0b1101111) + chr(0b1000000 + 0o44) + chr(101))(chr(117) + chr(116) + '\x66' + '\x2d' + chr(0b111000)) in H1WMyWd7nBfT or H1WMyWd7nBfT == roI3spqORKae(ES5oEprVxulp(b'R\x9af\xe4'), chr(0b100011 + 0o101) + '\145' + chr(99) + chr(0b11110 + 0o121) + '\144' + chr(4473 - 4372))(chr(2184 - 2067) + '\164' + chr(102) + chr(45) + chr(0b111000)):
v5E0eutotooZ = roI3spqORKae(ES5oEprVxulp(b'{\x9de\xf6F\xe7\xfa`\x99\x1bG\xd4'), '\x64' + chr(0b1001110 + 0o27) + '\143' + chr(111) + '\x64' + '\145')('\165' + '\164' + '\146' + '\x2d' + chr(56))
H1WMyWd7nBfT = roI3spqORKae(ES5oEprVxulp(b'\\\x97g\xe7q\xa3\xb7}\x8f\x00'), '\144' + chr(101) + '\143' + chr(111) + chr(100) + chr(4372 - 4271))('\165' + chr(531 - 415) + chr(102) + '\055' + chr(56))
elif H1WMyWd7nBfT == roI3spqORKae(ES5oEprVxulp(b'^\x9fp'), chr(0b11010 + 0o112) + chr(0b1100101) + '\x63' + '\x6f' + '\144' + chr(0b1100101))(chr(1871 - 1754) + chr(0b1110100 + 0o0) + '\x66' + chr(0b101101) + '\070'):
v5E0eutotooZ = roI3spqORKae(ES5oEprVxulp(b'~\x9fp'), '\144' + '\145' + chr(99) + chr(0b1011101 + 0o22) + '\144' + chr(0b1100101))(chr(117) + chr(6534 - 6418) + '\x66' + chr(45) + chr(0b11011 + 0o35))
elif roI3spqORKae(ES5oEprVxulp(b'\\\x97x\xf2A\xb4\xbby\x9e7E\x98\x88\xa2\xa7'), chr(0b1100100) + chr(0b100011 + 0o102) + '\x63' + chr(0b100 + 0o153) + '\x64' + chr(5933 - 5832))(chr(0b1110101) + chr(116) + chr(0b1100110) + '\055' + chr(2667 - 2611)) in H1WMyWd7nBfT or H1WMyWd7nBfT == roI3spqORKae(ES5oEprVxulp(b'R\x9bq'), chr(0b1010110 + 0o16) + '\145' + chr(4384 - 4285) + chr(111) + chr(8901 - 8801) + chr(1359 - 1258))(chr(0b1110010 + 0o3) + chr(116) + chr(402 - 300) + '\055' + chr(0b100001 + 0o27)):
v5E0eutotooZ = roI3spqORKae(ES5oEprVxulp(b'{\x9de\xf6F\xe7\xfa`\x98\x0c\x08'), chr(0b111100 + 0o50) + '\145' + '\x63' + chr(0b1101111) + chr(100) + chr(2615 - 2514))('\x75' + chr(0b1110100) + '\x66' + chr(45) + chr(1695 - 1639))
H1WMyWd7nBfT = roI3spqORKae(ES5oEprVxulp(b'\\\x97x\xf2A\xb4\xbby\x9e7E\x98\x88\xa2\xa7'), chr(100) + '\145' + '\143' + chr(0b1101111) + '\x64' + '\x65')(chr(117) + '\x74' + chr(0b1100110) + chr(0b11000 + 0o25) + chr(0b111000))
else:
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'h\x99g\xecG\xa9\xb57\xdb1N\x88\xd8\xbe\xae\x93\x86\x93\x98wN\xe1{\xcd\xf5f\x02\xb6\xe3\x9b\xd5\x1a\x1c3\xe92M(\x8d\xcdZ\x88a\xea\x0e\xb4\xb1l\x97\r\x1b\xdd\x83\xab\xe1\xef\xb6\xc0\x81kF\xb7v\xcc\xf6cW\xaf\xf9\xc8\x88\x07\x0e/\xfdo\x08%\xc3\xdaK\x9dt\xe6\x00'), chr(0b1100100) + chr(0b101000 + 0o75) + chr(0b1001101 + 0o26) + chr(111) + '\144' + '\145')('\x75' + '\164' + chr(102) + chr(0b101101) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'N\xcb&\xc9i\xf4\xb4b\xaa7b\xb7'), chr(100) + chr(101) + '\x63' + chr(1471 - 1360) + chr(100) + chr(545 - 444))(chr(0b1110101) + chr(0b1110100) + '\146' + chr(0b101101) + chr(56)))(H1WMyWd7nBfT))
H1WMyWd7nBfT = roI3spqORKae(ES5oEprVxulp(b'\\\x97g\xe7q\xa3\xb7}\x8f\x00'), '\144' + chr(0b1100101) + chr(0b101001 + 0o72) + '\x6f' + '\144' + chr(101))('\x75' + chr(116) + '\x66' + chr(0b101101) + '\x38')
v5E0eutotooZ = roI3spqORKae(ES5oEprVxulp(b'{\x9de\xf6F\xe7\xfa`\x99\x1bG\xd4'), chr(100) + chr(0b1100101) + chr(99) + chr(0b110001 + 0o76) + chr(0b10110 + 0o116) + chr(5719 - 5618))(chr(0b111111 + 0o66) + '\x74' + chr(5402 - 5300) + '\055' + chr(56))
if Z5dKAC9uv0qA == nzTpIcepk0o8(chr(0b100010 + 0o16) + chr(0b1101111) + '\062', 8) and (not roI3spqORKae(H1WMyWd7nBfT, roI3spqORKae(ES5oEprVxulp(b'L\x8ct\xf0Z\xb4\xa5d\x8f\x00'), chr(1342 - 1242) + chr(7268 - 7167) + '\143' + '\157' + chr(0b1011110 + 0o6) + chr(101))('\x75' + chr(116) + chr(0b1001111 + 0o27) + '\x2d' + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b'L\x99x\xf2B\xa2\x8d'), chr(0b1100100) + chr(0b1100101) + chr(99) + chr(1939 - 1828) + chr(0b1100100) + chr(2563 - 2462))(chr(0b1100110 + 0o17) + chr(0b1110100) + chr(0b10101 + 0o121) + chr(45) + '\x38'))):
if H1WMyWd7nBfT != roI3spqORKae(ES5oEprVxulp(b'^\x9fp'), chr(100) + chr(0b1100101) + chr(99) + chr(111) + '\x64' + '\x65')(chr(11113 - 10996) + '\x74' + '\x66' + chr(1879 - 1834) + chr(0b111000)):
H1WMyWd7nBfT = roI3spqORKae(ES5oEprVxulp(b'L\x99x\xf2B\xa2\x8d'), '\x64' + '\x65' + '\143' + chr(111) + chr(0b1100100) + '\145')(chr(0b1100111 + 0o16) + chr(0b100101 + 0o117) + chr(0b110011 + 0o63) + chr(0b101101) + chr(1688 - 1632)) + H1WMyWd7nBfT
(LWpSiDWF2mYx, AvcXHZlY2ddr, C2qYlmcjtu8l, onUEhWOmC3SX) = ([], [], [], [])
(geZmB39dc54C, Mrk2CjP5A0fF, F_Bu9fjcb4yR, Op86MuK47jEk) = ([], [], [], [])
hhqB94gOYowN = []
BSbljhMZAGaC = []
(lcKucyHTTXwM, wDOFglvkLFk0, c1Utdk71G3kH) = ([], [], [])
if roI3spqORKae(aHUqKstZLeS6.path, roI3spqORKae(ES5oEprVxulp(b'V\x8bs\xebB\xa2'), chr(100) + chr(0b1100101) + chr(4864 - 4765) + chr(0b1101111) + '\x64' + chr(0b1100101))(chr(0b1101010 + 0o13) + chr(0b1110100) + chr(4386 - 4284) + '\x2d' + '\070'))(rHPU8oONrR4n):
if Z5dKAC9uv0qA == nzTpIcepk0o8('\060' + '\157' + '\063', 8):
mKnAmMvTYaH1 = []
if roI3spqORKae(ES5oEprVxulp(b'R\x9dt\xf1[\xb5\xb7`\x9e\x06U\x8e'), chr(100) + chr(0b100 + 0o141) + chr(223 - 124) + chr(0b1101111) + chr(0b1100100) + chr(5316 - 5215))('\x75' + chr(116) + '\146' + '\055' + '\x38') in roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'h\x9fa\xd1d\x9f\xe2~\xb21Q\xb1'), chr(0b1100100) + chr(101) + '\143' + chr(0b1101111) + chr(100) + '\145')(chr(0b1110101) + chr(0b110010 + 0o102) + chr(2828 - 2726) + '\x2d' + '\070')):
mKnAmMvTYaH1 = D3H9MFOOog2W.tables[roI3spqORKae(ES5oEprVxulp(b'R\x9dt\xf1[\xb5\xb7`\x9e\x06U\x8e'), chr(0b1100100) + chr(3447 - 3346) + chr(5036 - 4937) + chr(0b1101111) + chr(0b1100100) + chr(5099 - 4998))(chr(117) + chr(9850 - 9734) + chr(0b1100110) + '\055' + '\070')].convert_to_pmag_data_list()
(tK4pYJbGWL1m, ETmJ7QZlCfmw) = (roI3spqORKae(ES5oEprVxulp(b'[\x91g\xddJ\xa2\xb1'), chr(7016 - 6916) + '\x65' + chr(0b101110 + 0o65) + '\x6f' + chr(0b10111 + 0o115) + chr(0b1000110 + 0o37))('\165' + chr(116) + chr(102) + chr(1771 - 1726) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'[\x91g\xddG\xa9\xb1'), '\x64' + '\145' + chr(0b1100011) + '\x6f' + '\x64' + '\x65')(chr(117) + '\164' + chr(102) + '\055' + chr(56)))
(XYKyZ6luruG0, HUh2NBFzx2I1, Hb0uJIS9Cbad, N76V4wKm68e1) = (roI3spqORKae(ES5oEprVxulp(b'R\x9da\xeaA\xa3\x8dn\x94\x0cD\x8e'), '\144' + '\x65' + chr(99) + '\x6f' + '\x64' + '\x65')(chr(0b1110101) + chr(0b1010101 + 0o37) + chr(102) + chr(0b101101) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'K\x8ap\xe3Z\x98\xa6h\x96\x18'), chr(1252 - 1152) + chr(9581 - 9480) + '\x63' + chr(12194 - 12083) + chr(100) + '\145')(chr(0b1110101) + chr(0b1001001 + 0o53) + '\x66' + chr(45) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'K\x8ap\xe3Z\x98\xb3n\xa4\x0eH\x98\x94\xb2'), '\x64' + '\x65' + '\143' + chr(111) + chr(0b111111 + 0o45) + chr(0b1100101))(chr(0b1110101) + '\164' + '\146' + '\x2d' + chr(2944 - 2888)), roI3spqORKae(ES5oEprVxulp(b'K\x8ap\xe3Z\x98\xb6n\xa4\x0eH\x98\x94\xb2'), chr(0b1100100) + '\145' + chr(4442 - 4343) + chr(111) + chr(564 - 464) + chr(0b1100101))(chr(117) + chr(0b1000011 + 0o61) + chr(9260 - 9158) + chr(45) + chr(0b111000)))
CtVbSzlHGZGP = [roI3spqORKae(ES5oEprVxulp(b'R\x99r\xecG\xb3\xa7i\x9e'), '\144' + '\x65' + '\x63' + chr(111) + chr(100) + chr(101))('\x75' + chr(6429 - 6313) + '\146' + chr(1222 - 1177) + '\070'), roI3spqORKae(ES5oEprVxulp(b'R\x99r\xecq\xaa\xbd`\x9e\x06U'), '\x64' + chr(7463 - 7362) + chr(0b11000 + 0o113) + chr(0b1101111) + '\x64' + chr(0b1100101))(chr(0b1110101) + '\x74' + chr(102) + '\055' + chr(2844 - 2788)), roI3spqORKae(ES5oEprVxulp(b'R\x99r\xecq\xb1\xbda\x8e\x05D'), chr(0b110101 + 0o57) + '\x65' + '\143' + chr(9587 - 9476) + '\144' + '\x65')(chr(8339 - 8222) + chr(116) + chr(2434 - 2332) + '\x2d' + '\x38'), roI3spqORKae(ES5oEprVxulp(b'R\x99r\xecq\xaa\xb3~\x88'), chr(0b111000 + 0o54) + chr(0b10101 + 0o120) + '\x63' + chr(0b1 + 0o156) + chr(0b10011 + 0o121) + chr(5425 - 5324))(chr(0b1110101) + chr(0b101100 + 0o110) + chr(102) + chr(0b101101) + '\x38')]
TpgrI9saQeJA = roI3spqORKae(ES5oEprVxulp(b'R\x99r\xecq\xaa\xbd`\x9e\x06U'), chr(0b11011 + 0o111) + chr(0b1100101) + '\x63' + '\157' + chr(100) + chr(0b11000 + 0o115))(chr(0b1110101) + chr(0b1100101 + 0o17) + '\x66' + chr(0b1100 + 0o41) + chr(56))
elif Z5dKAC9uv0qA == nzTpIcepk0o8('\x30' + '\157' + chr(0b110010), 8):
CtVbSzlHGZGP = [roI3spqORKae(ES5oEprVxulp(b'R\x9dt\xf1[\xb5\xb7`\x9e\x06U\xa2\x95\xb7\xa8\x8b\x8a\xc7\x9daD'), chr(0b1011100 + 0o10) + chr(0b1100101) + '\x63' + '\x6f' + '\144' + chr(5254 - 5153))('\165' + '\x74' + chr(0b11010 + 0o114) + chr(179 - 134) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'R\x9dt\xf1[\xb5\xb7`\x9e\x06U\xa2\x95\xb7\xa8\x8b\xbc\xde\x87hD\xf9f'), chr(0b1001 + 0o133) + '\145' + chr(9617 - 9518) + '\x6f' + chr(0b1100100) + chr(1751 - 1650))(chr(0b1110101) + '\164' + chr(0b111100 + 0o52) + '\055' + '\x38'), roI3spqORKae(ES5oEprVxulp(b'R\x9dt\xf1[\xb5\xb7`\x9e\x06U\xa2\x95\xb7\xa8\x8b\xbc\xc5\x87iT\xfaw'), '\x64' + chr(101) + '\x63' + chr(0b1101111) + chr(0b1000011 + 0o41) + chr(0b10 + 0o143))(chr(0b0 + 0o165) + '\x74' + chr(0b1100110) + chr(0b101101) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'R\x9dt\xf1[\xb5\xb7`\x9e\x06U\xa2\x95\xb7\xa8\x8b\xbc\xde\x89vR'), chr(0b1100100) + chr(0b10 + 0o143) + chr(0b1000001 + 0o42) + chr(111) + '\x64' + chr(7216 - 7115))(chr(117) + '\x74' + '\x66' + chr(45) + '\070')]
(HUh2NBFzx2I1, Hb0uJIS9Cbad, N76V4wKm68e1) = (roI3spqORKae(ES5oEprVxulp(b'K\x8ap\xe3Z\xaa\xb7c\x8f7U\x98\x95\xa6'), '\x64' + chr(101) + '\x63' + chr(0b1101111) + chr(2998 - 2898) + '\x65')(chr(0b1110101) + chr(0b1010111 + 0o35) + chr(0b1100110) + chr(0b101101 + 0o0) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'K\x8ap\xe3Z\xaa\xb7c\x8f7@\x9e\xa7\xb0\xa6\x80\x8f\xd7'), chr(0b1100100) + '\x65' + chr(1419 - 1320) + chr(574 - 463) + '\144' + '\x65')('\165' + '\164' + chr(102) + chr(899 - 854) + chr(2006 - 1950)), roI3spqORKae(ES5oEprVxulp(b'K\x8ap\xe3Z\xaa\xb7c\x8f7E\x9e\xa7\xb0\xa6\x80\x8f\xd7'), chr(2484 - 2384) + chr(2863 - 2762) + chr(0b1100011) + chr(111) + chr(5768 - 5668) + chr(7914 - 7813))('\x75' + chr(1518 - 1402) + chr(0b1100110) + chr(0b101101) + chr(2311 - 2255)))
(tK4pYJbGWL1m, ETmJ7QZlCfmw) = (roI3spqORKae(ES5oEprVxulp(b'R\x9dt\xf1[\xb5\xb7`\x9e\x06U\xa2\x9c\xb3\xac'), '\144' + '\x65' + '\x63' + chr(0b1101111) + '\x64' + '\x65')('\x75' + chr(116) + '\146' + chr(0b101101) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'R\x9dt\xf1[\xb5\xb7`\x9e\x06U\xa2\x91\xb8\xac'), chr(100) + chr(0b1100101) + chr(99) + '\157' + '\144' + chr(0b1100101))(chr(0b1110101) + chr(116) + chr(0b110 + 0o140) + chr(45) + chr(0b111000)))
(mKnAmMvTYaH1, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(rHPU8oONrR4n)
TpgrI9saQeJA = roI3spqORKae(ES5oEprVxulp(b'R\x9dt\xf1[\xb5\xb7`\x9e\x06U\xa2\x95\xb7\xa8\x8b\xbc\xde\x87hD\xf9f'), chr(0b11010 + 0o112) + '\145' + '\x63' + chr(0b1101111) + chr(0b1011100 + 0o10) + chr(0b111110 + 0o47))(chr(0b1110101) + chr(0b1110100) + chr(102) + chr(1028 - 983) + chr(56))
v8jsMqaYV6U2(ftfygxgFas5X(mKnAmMvTYaH1), roI3spqORKae(ES5oEprVxulp(b'\x1f\x95p\xe3]\xb2\xa0h\x96\rO\x89\x8b\xf6\xbd\x80\x82\xd7\xc8lO\xb7t\xdb\xffo\x02'), '\x64' + '\x65' + chr(0b1100011) + chr(111) + chr(0b1011 + 0o131) + chr(2580 - 2479))('\x75' + chr(2025 - 1909) + chr(0b1100110) + chr(0b110 + 0o47) + chr(0b110001 + 0o7)), rHPU8oONrR4n)
for tF75nqoNENFL in CtVbSzlHGZGP:
wx5Y9SFJEaEM = hUcsWwAd0nE_.get_dictitem(mKnAmMvTYaH1, tF75nqoNENFL, roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(101) + chr(8983 - 8884) + chr(0b1001001 + 0o46) + chr(0b11001 + 0o113) + chr(7965 - 7864))(chr(117) + chr(0b1110100) + chr(0b10011 + 0o123) + chr(45) + '\070'), roI3spqORKae(ES5oEprVxulp(b'y'), '\x64' + chr(0b1100101) + chr(7326 - 7227) + chr(111) + chr(0b111 + 0o135) + chr(101))('\x75' + chr(0b1110100) + chr(102) + chr(45) + chr(837 - 781)))
if ftfygxgFas5X(wx5Y9SFJEaEM) > nzTpIcepk0o8(chr(0b100011 + 0o15) + '\157' + chr(994 - 946), 8):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'J\x8b|\xecI\xe7\xbbc\x8f\rO\x8e\x91\xa2\xb6\xc5\x88\xd6\x91?'), chr(100) + '\145' + chr(0b1100000 + 0o3) + chr(11911 - 11800) + '\144' + chr(10057 - 9956))(chr(0b1001000 + 0o55) + chr(0b1110100) + chr(102) + '\x2d' + '\070'), tF75nqoNENFL)
TpgrI9saQeJA = tF75nqoNENFL
break
qFGz0vJ42d7Z = hUcsWwAd0nE_.get_dictitem(mKnAmMvTYaH1, skA84svjH3ZI, e5rcHW8hR5dL, roI3spqORKae(ES5oEprVxulp(b'W\x99f'), chr(969 - 869) + chr(101) + chr(0b1100011) + chr(0b1100 + 0o143) + chr(0b1100100) + chr(3416 - 3315))('\165' + chr(0b1010111 + 0o35) + '\146' + chr(0b10001 + 0o34) + chr(1681 - 1625)))
if e5rcHW8hR5dL == roI3spqORKae(ES5oEprVxulp(b's\xac8\xd6\x03\x9d'), '\x64' + chr(0b1010110 + 0o17) + chr(0b110101 + 0o56) + '\157' + '\x64' + '\x65')(chr(0b100011 + 0o122) + chr(116) + '\x66' + '\055' + chr(0b111000)):
c1Utdk71G3kH = hUcsWwAd0nE_.get_dictitem(qFGz0vJ42d7Z, HUh2NBFzx2I1, N9zlRy29S1SS(ZiKB99Xs91Lo), roI3spqORKae(ES5oEprVxulp(b'Z\x8et\xee'), chr(100) + '\145' + '\x63' + chr(0b1101111) + '\144' + '\x65')(chr(0b1010000 + 0o45) + chr(0b1110100) + chr(102) + chr(0b101101) + '\070'))
elif roI3spqORKae(ES5oEprVxulp(b's\xac8\xc3h'), chr(6454 - 6354) + chr(5371 - 5270) + chr(0b1100 + 0o127) + '\x6f' + '\144' + chr(4774 - 4673))(chr(0b1010000 + 0o45) + chr(6380 - 6264) + '\146' + '\055' + '\070') in e5rcHW8hR5dL:
c1Utdk71G3kH = hUcsWwAd0nE_.get_dictitem(qFGz0vJ42d7Z, Hb0uJIS9Cbad, N9zlRy29S1SS(ZiKB99Xs91Lo), roI3spqORKae(ES5oEprVxulp(b'Z\x8et\xee'), chr(4951 - 4851) + chr(0b1100101) + '\143' + chr(0b111101 + 0o62) + chr(0b100000 + 0o104) + chr(0b1111 + 0o126))(chr(0b1101011 + 0o12) + chr(6337 - 6221) + chr(0b1100110) + chr(1579 - 1534) + chr(56)))
elif roI3spqORKae(ES5oEprVxulp(b's\xac8\xcb|\x8a'), chr(5138 - 5038) + chr(101) + chr(0b1100011) + chr(0b1100010 + 0o15) + '\x64' + chr(0b1 + 0o144))(chr(117) + '\164' + chr(102) + chr(0b101101) + chr(0b111000)) in e5rcHW8hR5dL:
c1Utdk71G3kH = hUcsWwAd0nE_.get_dictitem(qFGz0vJ42d7Z, N76V4wKm68e1, N9zlRy29S1SS(ZiKB99Xs91Lo), roI3spqORKae(ES5oEprVxulp(b'Z\x8et\xee'), chr(100) + '\x65' + chr(0b1001110 + 0o25) + '\157' + chr(0b1100100) + '\145')(chr(0b10000 + 0o145) + chr(8296 - 8180) + chr(0b101001 + 0o75) + '\055' + chr(0b111000)))
elif roI3spqORKae(ES5oEprVxulp(b's\xa88\xda'), '\144' + chr(101) + chr(99) + chr(0b110 + 0o151) + chr(7418 - 7318) + '\x65')(chr(0b10111 + 0o136) + '\x74' + chr(102) + chr(45) + chr(56)) in e5rcHW8hR5dL:
c1Utdk71G3kH = hUcsWwAd0nE_.get_dictitem(qFGz0vJ42d7Z, tARlVcUV7soY, roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(0b1111 + 0o126) + '\x63' + chr(0b1101111) + chr(0b101 + 0o137) + chr(0b1100101))('\x75' + '\164' + chr(102) + chr(0b101101) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'y'), '\144' + chr(0b1100101) + chr(0b1100011) + chr(0b1101111) + chr(0b111111 + 0o45) + '\145')(chr(0b1110100 + 0o1) + '\164' + '\x66' + '\055' + chr(56)))
if ftfygxgFas5X(c1Utdk71G3kH) > nzTpIcepk0o8(chr(597 - 549) + chr(0b1000011 + 0o54) + '\060', 8):
for FKO_XxLfWbYt in c1Utdk71G3kH:
hOjrMKpaybfC = hUcsWwAd0nE_.get_dictitem(NixjZbnCaKrH, Lwy6Xc1kSp_0, FKO_XxLfWbYt[Lwy6Xc1kSp_0], roI3spqORKae(ES5oEprVxulp(b'k'), '\x64' + '\145' + chr(5480 - 5381) + chr(9444 - 9333) + chr(2126 - 2026) + chr(101))('\x75' + '\x74' + chr(0b1100110) + '\x2d' + '\070'))
if not hOjrMKpaybfC:
hOjrMKpaybfC = hUcsWwAd0nE_.get_dictitem(NixjZbnCaKrH, tXQNYbi7bRwC, FKO_XxLfWbYt[tXQNYbi7bRwC], roI3spqORKae(ES5oEprVxulp(b'k'), '\x64' + chr(0b1100101) + chr(99) + '\157' + '\x64' + chr(0b1100101))(chr(3187 - 3070) + '\164' + '\146' + chr(0b1010 + 0o43) + chr(2308 - 2252)))
UH0YjwuI_XzX = hUcsWwAd0nE_.get_dictitem(hOjrMKpaybfC, H1WMyWd7nBfT, roI3spqORKae(ES5oEprVxulp(b''), chr(0b1000110 + 0o36) + '\145' + chr(0b1011010 + 0o11) + chr(111) + '\x64' + '\x65')(chr(11403 - 11286) + chr(0b101010 + 0o112) + '\146' + chr(1991 - 1946) + chr(0b10 + 0o66)), roI3spqORKae(ES5oEprVxulp(b'y'), chr(0b1100100) + '\145' + chr(99) + chr(0b1010000 + 0o37) + chr(100) + chr(0b1010110 + 0o17))('\x75' + chr(116) + '\146' + '\x2d' + chr(56)))
if ftfygxgFas5X(UH0YjwuI_XzX) > nzTpIcepk0o8(chr(586 - 538) + chr(0b1101111) + chr(48), 8):
if v5E0eutotooZ == roI3spqORKae(ES5oEprVxulp(b'~\x9fp'), chr(0b1100100) + '\145' + chr(6088 - 5989) + chr(0b1101111) + chr(0b1100100) + '\145')(chr(0b1110101) + chr(0b110101 + 0o77) + chr(102) + chr(0b11011 + 0o22) + '\070'):
v5E0eutotooZ = v5E0eutotooZ + roI3spqORKae(ES5oEprVxulp(b'\x1f\xd0'), chr(4687 - 4587) + chr(0b1100101) + chr(8315 - 8216) + chr(874 - 763) + '\x64' + '\145')(chr(0b1110101) + chr(116) + '\146' + chr(0b11110 + 0o17) + chr(0b11011 + 0o35)) + UH0YjwuI_XzX[nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b1100 + 0o44), 8)][roI3spqORKae(ES5oEprVxulp(b'^\x9fp\xdd[\xa9\xbby'), chr(2081 - 1981) + '\145' + chr(99) + chr(111) + '\x64' + chr(5781 - 5680))('\165' + '\164' + '\146' + chr(0b100110 + 0o7) + chr(0b1 + 0o67))] + roI3spqORKae(ES5oEprVxulp(b'\x16'), chr(0b1100100) + chr(0b1100101) + chr(0b1100011) + chr(111) + chr(0b1100100) + '\145')(chr(0b1010010 + 0o43) + chr(8946 - 8830) + '\x66' + '\x2d' + chr(0b111000))
FKO_XxLfWbYt[H1WMyWd7nBfT] = jLW6pRf2DSRk(UH0YjwuI_XzX[nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110000), 8)][H1WMyWd7nBfT])
FKO_XxLfWbYt[skA84svjH3ZI] = FKO_XxLfWbYt[skA84svjH3ZI] + roI3spqORKae(ES5oEprVxulp(b'\x05'), chr(0b1001000 + 0o34) + chr(0b1100101) + chr(99) + chr(7708 - 7597) + chr(0b1100100) + '\145')(chr(117) + chr(11349 - 11233) + chr(0b1100101 + 0o1) + chr(0b0 + 0o55) + chr(56)) + UH0YjwuI_XzX[nzTpIcepk0o8(chr(0b101000 + 0o10) + chr(0b1101111) + chr(0b11001 + 0o27), 8)][skA84svjH3ZI]
if xBFFJFaziFDU:
WR9zlASZK0lc = hUcsWwAd0nE_.get_dictitem(IPWYJkPchH9g, pUZfuJTk8fsT, FKO_XxLfWbYt[pUZfuJTk8fsT], roI3spqORKae(ES5oEprVxulp(b'k'), chr(0b1100100) + chr(2902 - 2801) + chr(5431 - 5332) + chr(7571 - 7460) + chr(784 - 684) + chr(0b1011010 + 0o13))('\165' + '\x74' + chr(0b100100 + 0o102) + chr(0b101101) + chr(0b111000)))
JEERpxZPd_Q1 = hUcsWwAd0nE_.get_dictitem(WR9zlASZK0lc, MAPRMmTGNxmE, roI3spqORKae(ES5oEprVxulp(b''), chr(100) + '\x65' + '\143' + '\157' + '\144' + '\145')('\x75' + chr(0b1110100) + chr(8624 - 8522) + chr(0b0 + 0o55) + '\070'), roI3spqORKae(ES5oEprVxulp(b'y'), chr(0b111 + 0o135) + chr(3172 - 3071) + chr(99) + '\x6f' + chr(100) + chr(101))(chr(5812 - 5695) + chr(0b1001010 + 0o52) + chr(0b1100110) + chr(283 - 238) + '\x38'))
if ftfygxgFas5X(JEERpxZPd_Q1) > nzTpIcepk0o8(chr(48) + chr(111) + '\x30', 8):
FKO_XxLfWbYt[sAZHvDENFD6S] = JEERpxZPd_Q1[nzTpIcepk0o8('\060' + chr(12272 - 12161) + chr(0b10001 + 0o37), 8)][MAPRMmTGNxmE]
roI3spqORKae(BkI1oOCrzqWc, roI3spqORKae(ES5oEprVxulp(b'w\xacF\xb6V\xa0\x95b\x91\x07t\xc8'), chr(6375 - 6275) + '\x65' + chr(0b1100011) + '\157' + chr(100) + chr(3880 - 3779))('\165' + chr(0b111100 + 0o70) + chr(102) + chr(0b1110 + 0o37) + chr(0b110110 + 0o2)))(FKO_XxLfWbYt)
else:
roI3spqORKae(BkI1oOCrzqWc, roI3spqORKae(ES5oEprVxulp(b'w\xacF\xb6V\xa0\x95b\x91\x07t\xc8'), chr(0b10 + 0o142) + chr(0b1100101) + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + chr(101))(chr(0b1110101) + chr(0b1110100) + '\146' + chr(0b101101) + '\x38'))(FKO_XxLfWbYt)
if OO0tRW9aj_xh == roI3spqORKae(ES5oEprVxulp(b''), chr(0b0 + 0o144) + chr(8106 - 8005) + chr(0b110011 + 0o60) + chr(0b10010 + 0o135) + chr(6066 - 5966) + chr(0b10000 + 0o125))(chr(12279 - 12162) + chr(0b1110100) + chr(7121 - 7019) + '\055' + '\x38'):
LryWPJVi_Nyj = FKO_XxLfWbYt[Lwy6Xc1kSp_0].LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\x12'), chr(0b1100100) + chr(4653 - 4552) + chr(0b1100011) + '\157' + chr(100) + chr(6960 - 6859))(chr(0b1110101) + chr(3685 - 3569) + '\146' + chr(0b101101) + chr(0b1010 + 0o56)))
y87dwGy_Qoj4 = FKO_XxLfWbYt.GUKetu4xaGsJ(v0kRHNoXtB1X, roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(101) + '\x63' + chr(111) + chr(0b111001 + 0o53) + '\145')('\165' + chr(0b1110100) + '\146' + chr(0b101100 + 0o1) + '\x38'))
OO0tRW9aj_xh = y87dwGy_Qoj4
TstkLQ8nxSA4 = hUcsWwAd0nE_.sort_diclist(BkI1oOCrzqWc, H1WMyWd7nBfT)
for FKO_XxLfWbYt in TstkLQ8nxSA4:
if vrYAlPlCS8EO == -nzTpIcepk0o8(chr(48) + chr(11598 - 11487) + '\x31', 8) or (jLW6pRf2DSRk(FKO_XxLfWbYt[H1WMyWd7nBfT]) < vrYAlPlCS8EO and jLW6pRf2DSRk(FKO_XxLfWbYt[H1WMyWd7nBfT]) > Hg_KJkMRv5EQ):
roI3spqORKae(LWpSiDWF2mYx, roI3spqORKae(ES5oEprVxulp(b'w\xacF\xb6V\xa0\x95b\x91\x07t\xc8'), chr(100) + '\145' + chr(0b1100011) + '\x6f' + chr(100) + chr(2723 - 2622))(chr(117) + chr(116) + chr(9895 - 9793) + chr(195 - 150) + chr(0b11100 + 0o34)))(FKO_XxLfWbYt[H1WMyWd7nBfT])
if e5rcHW8hR5dL == roI3spqORKae(ES5oEprVxulp(b's\xa88\xda'), chr(4254 - 4154) + chr(0b1100101) + chr(0b1100011) + chr(0b1101100 + 0o3) + chr(100) + '\x65')(chr(0b100101 + 0o120) + chr(0b1110010 + 0o2) + '\146' + '\055' + chr(0b101001 + 0o17)):
roI3spqORKae(hhqB94gOYowN, roI3spqORKae(ES5oEprVxulp(b'w\xacF\xb6V\xa0\x95b\x91\x07t\xc8'), chr(0b1100100) + chr(0b1100101) + '\x63' + chr(111) + chr(100) + chr(101))('\165' + chr(116) + chr(102) + chr(45) + chr(56)))(jLW6pRf2DSRk(FKO_XxLfWbYt[tARlVcUV7soY]))
else:
if pMZEnc91gpWS:
roI3spqORKae(AvcXHZlY2ddr, roI3spqORKae(ES5oEprVxulp(b'w\xacF\xb6V\xa0\x95b\x91\x07t\xc8'), chr(7614 - 7514) + chr(101) + chr(4667 - 4568) + chr(111) + '\144' + chr(6788 - 6687))(chr(10662 - 10545) + chr(0b1110100) + chr(8161 - 8059) + chr(45) + '\070'))(jLW6pRf2DSRk(FKO_XxLfWbYt[tK4pYJbGWL1m]))
if sc4pJ_rhAw00:
roI3spqORKae(C2qYlmcjtu8l, roI3spqORKae(ES5oEprVxulp(b'w\xacF\xb6V\xa0\x95b\x91\x07t\xc8'), chr(0b10110 + 0o116) + chr(3384 - 3283) + chr(7747 - 7648) + '\x6f' + chr(0b1100100) + chr(0b1100101))(chr(117) + chr(0b1110100) + chr(0b1100110) + chr(826 - 781) + '\070'))(jLW6pRf2DSRk(FKO_XxLfWbYt[ETmJ7QZlCfmw]))
if not xBFFJFaziFDU and S8gUNkFK3Z7g:
roI3spqORKae(onUEhWOmC3SX, roI3spqORKae(ES5oEprVxulp(b'w\xacF\xb6V\xa0\x95b\x91\x07t\xc8'), '\144' + chr(101) + '\143' + '\x6f' + '\x64' + chr(0b1100101))(chr(117) + chr(0b1000101 + 0o57) + chr(9162 - 9060) + chr(0b101010 + 0o3) + chr(0b10000 + 0o50)))(jLW6pRf2DSRk(FKO_XxLfWbYt[TpgrI9saQeJA]))
if xBFFJFaziFDU and S8gUNkFK3Z7g:
roI3spqORKae(onUEhWOmC3SX, roI3spqORKae(ES5oEprVxulp(b'w\xacF\xb6V\xa0\x95b\x91\x07t\xc8'), '\144' + chr(0b111010 + 0o53) + chr(0b10101 + 0o116) + '\x6f' + chr(0b1100100) + chr(101))('\x75' + '\164' + '\146' + chr(1394 - 1349) + chr(56)))(jLW6pRf2DSRk(FKO_XxLfWbYt[TpgrI9saQeJA]) / jLW6pRf2DSRk(FKO_XxLfWbYt[MAPRMmTGNxmE]))
if ftfygxgFas5X(hhqB94gOYowN) > nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b11110 + 0o22), 8):
t4jgF36O_9j0 = KV9ckIhroIia(hhqB94gOYowN)
rhZGhvB5ISmw = XURpmPuEWCNF(hhqB94gOYowN)
if ftfygxgFas5X(onUEhWOmC3SX) > nzTpIcepk0o8('\x30' + chr(6882 - 6771) + chr(49), 8):
e_fiCLewJxZV = KV9ckIhroIia(onUEhWOmC3SX)
uQjvFF8imj59 = XURpmPuEWCNF(onUEhWOmC3SX)
if ftfygxgFas5X(LWpSiDWF2mYx) == nzTpIcepk0o8(chr(464 - 416) + '\x6f' + chr(48), 8):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'Q\x975\xe0[\xab\xb9-\x96\r@\x8e\x8d\xa4\xaa\x88\x86\xdd\x9c%E\xf6f\xc8\xb0oC\xb7\xee\x80\xc5\x0eL%\xf43Zl\xdf\xccN\x8dp\xf1Z'), '\x64' + chr(0b110110 + 0o57) + '\x63' + '\157' + chr(2948 - 2848) + '\x65')(chr(0b1000 + 0o155) + chr(11245 - 11129) + chr(7573 - 7471) + chr(0b101101) + '\x38'))
else:
v8jsMqaYV6U2(ftfygxgFas5X(LWpSiDWF2mYx), roI3spqORKae(ES5oEprVxulp(b'[\x9de\xf6F\xb4\xf2k\x94\x1dO\x99'), chr(0b100001 + 0o103) + chr(101) + chr(99) + chr(1929 - 1818) + chr(0b100 + 0o140) + '\145')(chr(117) + '\164' + '\x66' + '\x2d' + chr(0b111000)))
(d8CoXKMqv8IY, HuavCGRnwyla, bKCXW95t8Nr8) = ([], [], [])
(e19A94C3oUSt, AOVIpudFIaMf, wKUPeTKlAzSu) = ([], [], [])
if SFcPYUNw10Xj:
Ge0TN9brROj0 = hUcsWwAd0nE_.get_dictitem(JlNPC9Ow4uxx, skA84svjH3ZI, roI3spqORKae(ES5oEprVxulp(b'{\xbd8\xc0h\x8b'), chr(773 - 673) + '\x65' + chr(99) + '\x6f' + chr(9044 - 8944) + '\x65')(chr(9390 - 9273) + '\x74' + '\x66' + chr(0b101101) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'W\x99f'), chr(100) + chr(0b1011001 + 0o14) + chr(99) + chr(0b1101111) + chr(0b111110 + 0o46) + chr(101))(chr(0b1011011 + 0o32) + chr(4456 - 4340) + '\146' + chr(1524 - 1479) + chr(1189 - 1133)))
for L66BkZPPV93j in Ge0TN9brROj0:
if y87dwGy_Qoj4 == roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(101) + chr(0b1100011) + chr(0b1101111) + '\x64' + '\x65')('\x75' + chr(0b1110100) + chr(102) + '\055' + chr(0b101000 + 0o20)):
y87dwGy_Qoj4 = L66BkZPPV93j.GUKetu4xaGsJ(v0kRHNoXtB1X, roI3spqORKae(ES5oEprVxulp(b''), '\x64' + '\145' + chr(437 - 338) + chr(10952 - 10841) + chr(0b10101 + 0o117) + chr(101))(chr(0b1110101) + chr(116) + '\x66' + '\x2d' + chr(2953 - 2897)))
NrOoJ8NdaX1V = hUcsWwAd0nE_.get_dictitem(NixjZbnCaKrH, Lwy6Xc1kSp_0, L66BkZPPV93j[Lwy6Xc1kSp_0], roI3spqORKae(ES5oEprVxulp(b'k'), chr(0b1011100 + 0o10) + '\x65' + chr(0b1100011) + '\x6f' + chr(8265 - 8165) + chr(356 - 255))('\165' + chr(0b1001111 + 0o45) + '\x66' + '\x2d' + '\070'))
if ftfygxgFas5X(NrOoJ8NdaX1V) > nzTpIcepk0o8(chr(48) + chr(0b111001 + 0o66) + chr(0b10010 + 0o36), 8) and H1WMyWd7nBfT in H4NoA26ON7iG(roI3spqORKae(NrOoJ8NdaX1V[nzTpIcepk0o8('\060' + '\157' + chr(0b110000), 8)], roI3spqORKae(ES5oEprVxulp(b'T\x9dl\xf1'), chr(100) + '\145' + chr(0b111011 + 0o50) + chr(0b1101111) + chr(0b1000111 + 0o35) + chr(8140 - 8039))(chr(13558 - 13441) + chr(116) + '\146' + chr(2010 - 1965) + '\070'))()) and (NrOoJ8NdaX1V[nzTpIcepk0o8(chr(0b110000) + chr(111) + '\060', 8)][H1WMyWd7nBfT] != roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(0b1100101) + '\x63' + chr(0b101100 + 0o103) + chr(0b1001001 + 0o33) + '\145')(chr(10014 - 9897) + '\x74' + '\x66' + chr(45) + chr(56))):
if v5E0eutotooZ == roI3spqORKae(ES5oEprVxulp(b'~\x9fp'), chr(6065 - 5965) + chr(0b1011001 + 0o14) + chr(8329 - 8230) + '\x6f' + chr(3524 - 3424) + chr(0b1100101))(chr(0b1101011 + 0o12) + '\164' + '\x66' + chr(0b101101) + chr(3069 - 3013)):
v5E0eutotooZ = v5E0eutotooZ + roI3spqORKae(ES5oEprVxulp(b'\x1f\xd0'), '\144' + chr(101) + chr(0b1100011) + chr(111) + chr(0b1100100) + chr(0b0 + 0o145))(chr(0b101111 + 0o106) + chr(3103 - 2987) + chr(0b1100110) + chr(479 - 434) + '\070') + NrOoJ8NdaX1V[nzTpIcepk0o8(chr(1387 - 1339) + chr(0b1101111) + chr(0b110000), 8)][roI3spqORKae(ES5oEprVxulp(b'^\x9fp\xdd[\xa9\xbby'), chr(0b111 + 0o135) + chr(1262 - 1161) + chr(99) + chr(0b1101111) + chr(100) + chr(101))(chr(0b1110101) + chr(116) + chr(639 - 537) + '\x2d' + chr(0b10101 + 0o43))] + roI3spqORKae(ES5oEprVxulp(b'\x16'), chr(2826 - 2726) + chr(0b1100101) + chr(0b1001110 + 0o25) + chr(8099 - 7988) + chr(100) + chr(101))('\x75' + chr(0b1110100) + chr(5468 - 5366) + chr(45) + chr(56))
if vrYAlPlCS8EO == -nzTpIcepk0o8(chr(0b10100 + 0o34) + '\x6f' + '\061', 8) or (jLW6pRf2DSRk(NrOoJ8NdaX1V[nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(48), 8)][H1WMyWd7nBfT]) < vrYAlPlCS8EO and jLW6pRf2DSRk(NrOoJ8NdaX1V[nzTpIcepk0o8(chr(48) + chr(0b11110 + 0o121) + chr(0b110000), 8)][H1WMyWd7nBfT]) > Hg_KJkMRv5EQ):
roI3spqORKae(d8CoXKMqv8IY, roI3spqORKae(ES5oEprVxulp(b'w\xacF\xb6V\xa0\x95b\x91\x07t\xc8'), chr(0b1100100) + '\x65' + chr(0b1100011) + chr(332 - 221) + chr(0b11010 + 0o112) + '\x65')(chr(0b1001111 + 0o46) + '\x74' + '\146' + chr(0b101101) + chr(664 - 608)))(jLW6pRf2DSRk(NrOoJ8NdaX1V[nzTpIcepk0o8(chr(1123 - 1075) + chr(0b1101111) + chr(0b10001 + 0o37), 8)][H1WMyWd7nBfT]))
roI3spqORKae(HuavCGRnwyla, roI3spqORKae(ES5oEprVxulp(b'w\xacF\xb6V\xa0\x95b\x91\x07t\xc8'), chr(6827 - 6727) + chr(0b1110 + 0o127) + chr(99) + chr(111) + '\144' + '\145')(chr(12619 - 12502) + '\164' + chr(0b1100110) + chr(0b101010 + 0o3) + chr(0b111000)))(jLW6pRf2DSRk(L66BkZPPV93j[bQ4d5Wq6KFJz]))
roI3spqORKae(bKCXW95t8Nr8, roI3spqORKae(ES5oEprVxulp(b'w\xacF\xb6V\xa0\x95b\x91\x07t\xc8'), chr(100) + '\x65' + chr(99) + chr(0b1010000 + 0o37) + chr(0b1100100) + chr(101))('\165' + chr(116) + '\x66' + chr(0b1011 + 0o42) + chr(492 - 436)))(jLW6pRf2DSRk(L66BkZPPV93j[vuXm20ZcIlYO]))
else:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'Q\x975\xe1A\xb5\xb7R\x9f\rQ\x89\x90\xf6\xa9\x8a\x96\xdd\x8c%G\xf8`\x93\xb0'), chr(100) + '\145' + '\143' + chr(0b1101111) + '\144' + chr(0b1100101))(chr(0b1110101) + chr(0b1000111 + 0o55) + '\x66' + '\x2d' + chr(56)), L66BkZPPV93j[pUZfuJTk8fsT])
yre3C6d1ai3c = hUcsWwAd0nE_.get_dictitem(JlNPC9Ow4uxx, skA84svjH3ZI, roI3spqORKae(ES5oEprVxulp(b'{\xbd8\xc4c'), chr(0b1100100) + chr(0b1100101) + chr(0b101000 + 0o73) + '\x6f' + chr(3086 - 2986) + chr(0b1100101))(chr(0b1110101) + '\x74' + chr(0b1100 + 0o132) + chr(0b1010 + 0o43) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'W\x99f'), chr(100) + '\x65' + chr(1801 - 1702) + chr(3356 - 3245) + chr(100) + '\x65')(chr(0b1110101) + chr(0b1110100) + chr(4733 - 4631) + chr(0b101101) + chr(0b10010 + 0o46)))
for L66BkZPPV93j in yre3C6d1ai3c:
if y87dwGy_Qoj4 == roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(9523 - 9422) + chr(99) + '\157' + chr(0b1100100) + chr(3966 - 3865))('\165' + chr(116) + chr(102) + chr(0b10101 + 0o30) + chr(1281 - 1225)):
y87dwGy_Qoj4 = L66BkZPPV93j.GUKetu4xaGsJ(v0kRHNoXtB1X, roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(101) + chr(99) + '\157' + chr(4686 - 4586) + '\145')(chr(0b1110101) + chr(12409 - 12293) + chr(102) + '\x2d' + chr(2114 - 2058)))
NrOoJ8NdaX1V = hUcsWwAd0nE_.get_dictitem(NixjZbnCaKrH, Lwy6Xc1kSp_0, L66BkZPPV93j[Lwy6Xc1kSp_0], roI3spqORKae(ES5oEprVxulp(b'k'), chr(100) + chr(8344 - 8243) + '\143' + chr(1334 - 1223) + chr(0b1100100) + '\x65')(chr(117) + '\x74' + chr(102) + chr(979 - 934) + '\070'))
if ftfygxgFas5X(NrOoJ8NdaX1V) > nzTpIcepk0o8('\060' + chr(6849 - 6738) + chr(0b11111 + 0o21), 8) and H1WMyWd7nBfT in H4NoA26ON7iG(roI3spqORKae(NrOoJ8NdaX1V[nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\060', 8)], roI3spqORKae(ES5oEprVxulp(b'T\x9dl\xf1'), '\x64' + chr(0b1111 + 0o126) + chr(99) + chr(10227 - 10116) + chr(9058 - 8958) + chr(5524 - 5423))('\165' + chr(0b1110100) + chr(102) + chr(45) + '\x38'))()) and (NrOoJ8NdaX1V[nzTpIcepk0o8(chr(0b1101 + 0o43) + '\157' + chr(0b110000), 8)][H1WMyWd7nBfT] != roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(0b1011110 + 0o7) + chr(99) + chr(0b1101111) + '\144' + '\145')(chr(5956 - 5839) + chr(116) + '\x66' + '\055' + '\070')):
if v5E0eutotooZ == roI3spqORKae(ES5oEprVxulp(b'~\x9fp'), chr(8676 - 8576) + chr(101) + chr(0b1100010 + 0o1) + chr(0b110110 + 0o71) + chr(999 - 899) + '\145')(chr(0b1110101) + chr(116) + chr(0b1100110) + '\055' + chr(0b111000)):
v5E0eutotooZ = v5E0eutotooZ + roI3spqORKae(ES5oEprVxulp(b'\x1f\xd0'), chr(0b1100100) + '\145' + '\x63' + chr(111) + chr(6309 - 6209) + chr(3315 - 3214))(chr(5027 - 4910) + chr(5825 - 5709) + '\146' + chr(1023 - 978) + chr(198 - 142)) + NrOoJ8NdaX1V[nzTpIcepk0o8(chr(391 - 343) + '\157' + chr(0b100001 + 0o17), 8)][roI3spqORKae(ES5oEprVxulp(b'^\x9fp\xdd[\xa9\xbby'), chr(0b1100100) + chr(0b1100101) + chr(99) + chr(0b100011 + 0o114) + chr(4976 - 4876) + chr(8951 - 8850))('\x75' + '\164' + chr(0b1011111 + 0o7) + chr(0b101101) + chr(2359 - 2303))] + roI3spqORKae(ES5oEprVxulp(b'\x16'), chr(0b1100100) + chr(101) + chr(99) + chr(111) + chr(0b1100100) + chr(101))(chr(0b1101100 + 0o11) + chr(0b1110100) + '\146' + '\055' + chr(0b111000))
if vrYAlPlCS8EO == -nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b110001), 8) or (jLW6pRf2DSRk(NrOoJ8NdaX1V[nzTpIcepk0o8(chr(0b1010 + 0o46) + chr(0b1010011 + 0o34) + chr(0b1 + 0o57), 8)][H1WMyWd7nBfT]) < vrYAlPlCS8EO and jLW6pRf2DSRk(NrOoJ8NdaX1V[nzTpIcepk0o8('\x30' + '\157' + '\x30', 8)][H1WMyWd7nBfT]) > Hg_KJkMRv5EQ):
roI3spqORKae(e19A94C3oUSt, roI3spqORKae(ES5oEprVxulp(b'w\xacF\xb6V\xa0\x95b\x91\x07t\xc8'), chr(100) + chr(101) + chr(7867 - 7768) + chr(111) + chr(0b1100100) + chr(101))(chr(0b1110101) + '\164' + '\x66' + chr(0b11010 + 0o23) + '\070'))(jLW6pRf2DSRk(NrOoJ8NdaX1V[nzTpIcepk0o8('\x30' + '\157' + chr(48), 8)][H1WMyWd7nBfT]))
roI3spqORKae(AOVIpudFIaMf, roI3spqORKae(ES5oEprVxulp(b'w\xacF\xb6V\xa0\x95b\x91\x07t\xc8'), chr(0b1100100) + '\145' + chr(4842 - 4743) + chr(0b1101111) + chr(100) + chr(3157 - 3056))(chr(0b100000 + 0o125) + chr(9875 - 9759) + chr(0b100010 + 0o104) + '\x2d' + chr(56)))(jLW6pRf2DSRk(L66BkZPPV93j[Wdspqs1S5SST]))
roI3spqORKae(wKUPeTKlAzSu, roI3spqORKae(ES5oEprVxulp(b'w\xacF\xb6V\xa0\x95b\x91\x07t\xc8'), chr(100) + chr(101) + '\x63' + '\x6f' + chr(7580 - 7480) + '\145')(chr(0b1110101) + chr(12268 - 12152) + chr(102) + chr(226 - 181) + chr(0b1010 + 0o56)))(jLW6pRf2DSRk(L66BkZPPV93j[HmxUaddZJMlW]))
else:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'Q\x975\xe1A\xb5\xb7R\x9f\rQ\x89\x90\xf6\xa9\x8a\x96\xdd\x8c%G\xf8`\x93\xb0'), '\x64' + chr(101) + chr(0b1100011) + chr(111) + chr(4152 - 4052) + '\145')(chr(0b1110101) + chr(0b110000 + 0o104) + '\x66' + '\x2d' + '\x38'), L66BkZPPV93j[pUZfuJTk8fsT])
(TmNqnREzeIwh, dHYNJwmVCnKA, B21n3j4Y3QBL) = ([], [], [])
if roI3spqORKae(ES5oEprVxulp(b'^\x9fp'), '\x64' + chr(9548 - 9447) + chr(0b1000000 + 0o43) + chr(0b1101111) + chr(100) + '\x65')(chr(0b111111 + 0o66) + chr(0b1110100) + '\x66' + '\055' + chr(0b111000)) in H1WMyWd7nBfT:
Cot68bUM7sXd = NB2x2WbUyxSb
else:
Cot68bUM7sXd = uiLqJ2TISxoq
if s282iMtmXh3x:
for _XdQFJpnzJor in DcqRVwpmRC8n:
I810oeGL0u1g = _XdQFJpnzJor[skA84svjH3ZI].LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\x05'), chr(100) + '\145' + chr(3201 - 3102) + '\157' + '\x64' + chr(0b1100 + 0o131))('\165' + chr(116) + chr(0b110001 + 0o65) + chr(45) + chr(0b10100 + 0o44)))
if roI3spqORKae(ES5oEprVxulp(b'{\xbd8\xc4c'), chr(100) + chr(0b1100101) + chr(99) + '\x6f' + chr(0b1011100 + 0o10) + chr(0b1 + 0o144))(chr(117) + '\x74' + chr(10051 - 9949) + chr(45) + chr(549 - 493)) in I810oeGL0u1g:
if vrYAlPlCS8EO == -nzTpIcepk0o8('\060' + chr(0b1100011 + 0o14) + chr(0b100000 + 0o21), 8) or (jLW6pRf2DSRk(_XdQFJpnzJor[Cot68bUM7sXd]) < vrYAlPlCS8EO and jLW6pRf2DSRk(_XdQFJpnzJor[Cot68bUM7sXd]) > Hg_KJkMRv5EQ):
roI3spqORKae(TmNqnREzeIwh, roI3spqORKae(ES5oEprVxulp(b'w\xacF\xb6V\xa0\x95b\x91\x07t\xc8'), '\x64' + chr(0b100001 + 0o104) + chr(0b1000010 + 0o41) + chr(111) + chr(100) + '\145')('\165' + '\x74' + chr(0b1100110) + '\055' + chr(56)))(jLW6pRf2DSRk(_XdQFJpnzJor[Cot68bUM7sXd]))
roI3spqORKae(dHYNJwmVCnKA, roI3spqORKae(ES5oEprVxulp(b'w\xacF\xb6V\xa0\x95b\x91\x07t\xc8'), chr(100) + chr(0b1000010 + 0o43) + '\x63' + '\x6f' + chr(0b1100100) + chr(0b111100 + 0o51))(chr(0b110000 + 0o105) + chr(738 - 622) + '\x66' + chr(45) + chr(0b111000)))(jLW6pRf2DSRk(_XdQFJpnzJor[roI3spqORKae(ES5oEprVxulp(b'^\x8ep\xf0O\xa0\xb7R\x9f\rB'), '\x64' + chr(101) + chr(99) + '\x6f' + '\x64' + chr(0b1100101))(chr(8413 - 8296) + chr(0b1110100) + chr(5313 - 5211) + chr(0b101101) + chr(56))]))
roI3spqORKae(B21n3j4Y3QBL, roI3spqORKae(ES5oEprVxulp(b'w\xacF\xb6V\xa0\x95b\x91\x07t\xc8'), chr(0b1100100) + '\x65' + chr(6071 - 5972) + '\x6f' + chr(3364 - 3264) + '\145')('\165' + chr(116) + chr(102) + chr(0b10111 + 0o26) + chr(901 - 845)))(jLW6pRf2DSRk(_XdQFJpnzJor[roI3spqORKae(ES5oEprVxulp(b'^\x8ep\xf0O\xa0\xb7R\x92\x06B'), '\144' + chr(0b1100101) + '\143' + chr(111) + chr(100) + chr(0b1100101))('\165' + '\164' + chr(0b1100110) + chr(45) + '\070')]))
(b19sTTZk9KjI, riQTpuD0nCEe) = ([], [])
if Hg_KJkMRv5EQ == -nzTpIcepk0o8('\060' + chr(0b101001 + 0o106) + chr(0b10100 + 0o35), 8):
if ftfygxgFas5X(LWpSiDWF2mYx) > nzTpIcepk0o8(chr(0b100 + 0o54) + '\157' + '\060', 8):
(Hg_KJkMRv5EQ, vrYAlPlCS8EO) = (LWpSiDWF2mYx[nzTpIcepk0o8(chr(1270 - 1222) + '\157' + '\x30', 8)], LWpSiDWF2mYx[-nzTpIcepk0o8('\x30' + chr(111) + chr(49), 8)])
if ftfygxgFas5X(e19A94C3oUSt) > nzTpIcepk0o8(chr(48) + '\x6f' + chr(48), 8):
(Hg_KJkMRv5EQ, vrYAlPlCS8EO) = (e19A94C3oUSt[nzTpIcepk0o8(chr(0b110000) + chr(0b111111 + 0o60) + chr(0b1100 + 0o44), 8)], e19A94C3oUSt[-nzTpIcepk0o8('\060' + chr(111) + '\061', 8)])
if oWqYLjPR3K_A and ftfygxgFas5X(geZmB39dc54C) > nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110000), 8):
if geZmB39dc54C[nzTpIcepk0o8(chr(0b111 + 0o51) + chr(0b1101111) + chr(0b101111 + 0o1), 8)] < Hg_KJkMRv5EQ:
Hg_KJkMRv5EQ = geZmB39dc54C[nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b110000), 8)]
if geZmB39dc54C[-nzTpIcepk0o8(chr(990 - 942) + chr(0b1000000 + 0o57) + chr(0b11100 + 0o25), 8)] > vrYAlPlCS8EO:
vrYAlPlCS8EO = geZmB39dc54C[-nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b110001), 8)]
if ftfygxgFas5X(d8CoXKMqv8IY) > nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b100110 + 0o12), 8):
if XURpmPuEWCNF(d8CoXKMqv8IY) < Hg_KJkMRv5EQ:
Hg_KJkMRv5EQ = XURpmPuEWCNF(d8CoXKMqv8IY)
if KV9ckIhroIia(d8CoXKMqv8IY) > vrYAlPlCS8EO:
vrYAlPlCS8EO = KV9ckIhroIia(d8CoXKMqv8IY)
if ftfygxgFas5X(TmNqnREzeIwh) > nzTpIcepk0o8(chr(0b110000) + chr(0b1011101 + 0o22) + '\x30', 8):
if XURpmPuEWCNF(TmNqnREzeIwh) < Hg_KJkMRv5EQ:
Hg_KJkMRv5EQ = XURpmPuEWCNF(TmNqnREzeIwh)
if KV9ckIhroIia(TmNqnREzeIwh) > vrYAlPlCS8EO:
vrYAlPlCS8EO = KV9ckIhroIia(TmNqnREzeIwh)
BdYTl2caVoTD = 4.5
mocO8sWgkzH7 = nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\061', 8)
if AvcXHZlY2ddr and LWpSiDWF2mYx or (HuavCGRnwyla and d8CoXKMqv8IY) or (dHYNJwmVCnKA and TmNqnREzeIwh) or (Mrk2CjP5A0fF and geZmB39dc54C) or (Op86MuK47jEk and geZmB39dc54C) or (F_Bu9fjcb4yR and geZmB39dc54C) or (C2qYlmcjtu8l and LWpSiDWF2mYx):
CIb4KLJ7bueR = Z7HGgmIyegqz.es0Z6dzChSL5(nzTpIcepk0o8(chr(48) + chr(111) + '\061', 8), figsize=(dH3vcKdvgBu0, nzTpIcepk0o8(chr(48) + chr(0b1010000 + 0o37) + '\061' + chr(0b110000), 24856 - 24848)))
uNg9Yeq376oN = hUcsWwAd0nE_.get_version()
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'Y\x91r\xf6K\xbf\xa6'), '\x64' + chr(101) + chr(0b1100011) + chr(111) + chr(0b1100100) + chr(0b1010 + 0o133))('\x75' + chr(116) + '\146' + chr(0b11101 + 0o20) + chr(2086 - 2030)))(0.02, 0.01, uNg9Yeq376oN)
if pMZEnc91gpWS:
ZtB7KOLCW2Hk = Z7HGgmIyegqz.subplot(nzTpIcepk0o8(chr(0b10011 + 0o35) + chr(111) + '\x31', 8), rVXviMgDUC9h, mocO8sWgkzH7)
if dVGywM8ePC9u:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'O\x94z\xf6'), '\144' + chr(9007 - 8906) + '\x63' + chr(0b101101 + 0o102) + chr(0b1100100) + chr(101))('\165' + chr(11968 - 11852) + '\x66' + chr(45) + chr(0b111000)))(AvcXHZlY2ddr, LWpSiDWF2mYx, roI3spqORKae(ES5oEprVxulp(b'T'), chr(100) + chr(1748 - 1647) + chr(4258 - 4159) + chr(933 - 822) + chr(9283 - 9183) + '\145')(chr(8832 - 8715) + '\x74' + '\146' + chr(0b101101) + '\070'))
if ftfygxgFas5X(AvcXHZlY2ddr) > nzTpIcepk0o8('\060' + '\x6f' + chr(0b110000), 8):
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'O\x94z\xf6'), chr(100) + '\145' + chr(0b1100011) + chr(111) + chr(0b111101 + 0o47) + '\x65')(chr(117) + chr(116) + chr(0b1100110) + chr(45) + chr(56)))(AvcXHZlY2ddr, LWpSiDWF2mYx, ap75Y_eaMZLk, markersize=e1HrJaQHACnl)
if ftfygxgFas5X(AvcXHZlY2ddr) == nzTpIcepk0o8('\060' + '\157' + chr(1960 - 1912), 8) and dVGywM8ePC9u and (ftfygxgFas5X(Mrk2CjP5A0fF) > nzTpIcepk0o8(chr(0b10 + 0o56) + chr(0b1101100 + 0o3) + chr(48), 8)):
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'O\x94z\xf6'), chr(0b101010 + 0o72) + chr(2949 - 2848) + chr(0b1100011) + chr(0b1101111) + chr(100) + chr(0b1100101))(chr(12243 - 12126) + chr(11068 - 10952) + '\x66' + chr(1640 - 1595) + '\070'))(Mrk2CjP5A0fF, geZmB39dc54C, roI3spqORKae(ES5oEprVxulp(b'T'), chr(0b1100100) + '\x65' + chr(1530 - 1431) + chr(111) + '\x64' + '\x65')('\165' + '\164' + '\x66' + chr(45) + chr(1863 - 1807)))
if ftfygxgFas5X(Mrk2CjP5A0fF) > nzTpIcepk0o8('\x30' + chr(11172 - 11061) + chr(1548 - 1500), 8):
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'O\x94z\xf6'), '\144' + chr(0b1000111 + 0o36) + chr(0b1011100 + 0o7) + '\157' + chr(0b1011001 + 0o13) + '\x65')(chr(0b1110101) + chr(116) + chr(1964 - 1862) + '\055' + chr(3120 - 3064)))(Mrk2CjP5A0fF, geZmB39dc54C, Xovs8umTsn_q, markersize=a8cMir1IiIZl)
if SFcPYUNw10Xj:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'O\x94z\xf6'), chr(0b1100100) + chr(101) + chr(0b1010011 + 0o20) + chr(6299 - 6188) + chr(5727 - 5627) + '\145')(chr(0b1110101) + chr(0b11 + 0o161) + chr(0b1001001 + 0o35) + '\055' + '\x38'))(HuavCGRnwyla, d8CoXKMqv8IY, DDJVJVVZlVIN, markersize=CUMaBVz2a0jz)
if SFcPYUNw10Xj and ftfygxgFas5X(e19A94C3oUSt) > nzTpIcepk0o8('\x30' + '\x6f' + chr(2128 - 2080), 8):
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'e\xb0%\xebV\xf5\xb4`\xaf\x1fI\x9c'), '\x64' + '\x65' + chr(0b1100011) + chr(0b1101111) + chr(4949 - 4849) + '\145')(chr(0b1110101) + chr(116) + chr(0b1100110) + chr(45) + chr(67 - 11)))(AOVIpudFIaMf, e19A94C3oUSt, marker=DDJVJVVZlVIN[-nzTpIcepk0o8(chr(48) + chr(0b1000 + 0o147) + '\x31', 8)], edgecolor=DDJVJVVZlVIN[nzTpIcepk0o8('\x30' + '\157' + chr(2087 - 2039), 8)], facecolor=roI3spqORKae(ES5oEprVxulp(b'H\x90|\xf6K'), chr(100) + chr(101) + chr(0b1100011) + chr(0b1001010 + 0o45) + chr(0b1011001 + 0o13) + chr(0b1100101))(chr(0b11110 + 0o127) + chr(116) + chr(0b1010100 + 0o22) + chr(1335 - 1290) + '\x38'), s=CUMaBVz2a0jz ** nzTpIcepk0o8(chr(0b110000) + chr(0b110110 + 0o71) + '\x32', 8))
if s282iMtmXh3x:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'O\x94z\xf6'), '\x64' + chr(101) + '\143' + '\157' + '\x64' + '\x65')('\x75' + '\164' + chr(102) + chr(1761 - 1716) + chr(0b111000)))(dHYNJwmVCnKA, TmNqnREzeIwh, ootHOGyer9mi, markersize=tTyyZAxnpufx)
if cuJmomB0XH13:
for fJSwBORhebts in q5eO_jclWFG5:
UH0YjwuI_XzX = jLW6pRf2DSRk(fJSwBORhebts[dFt3oC7UZAaI])
if UH0YjwuI_XzX > Hg_KJkMRv5EQ and UH0YjwuI_XzX < vrYAlPlCS8EO:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'O\x94z\xf6'), chr(0b1100100) + chr(3027 - 2926) + '\x63' + chr(0b1101111) + chr(7235 - 7135) + chr(0b11000 + 0o115))('\x75' + '\x74' + chr(102) + chr(0b11101 + 0o20) + chr(0b11 + 0o65)))([nzTpIcepk0o8(chr(2120 - 2072) + chr(111) + chr(48), 8), 360.0], [UH0YjwuI_XzX, UH0YjwuI_XzX], roI3spqORKae(ES5oEprVxulp(b']\xd58'), chr(0b101001 + 0o73) + chr(0b101000 + 0o75) + chr(5603 - 5504) + chr(111) + chr(0b1100100) + chr(7928 - 7827))(chr(117) + chr(0b1110100) + '\x66' + chr(0b101101) + '\070'))
if fsgEg0eRSoKL == Z7HGgmIyegqz:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\\\x88F\xf6E\xf0\xb1T\xca<k\x99'), '\x64' + chr(101) + chr(0b101011 + 0o70) + '\x6f' + chr(0b1011110 + 0o6) + chr(0b1100101))(chr(117) + '\164' + '\146' + chr(45) + '\x38'))(nzTpIcepk0o8('\060' + chr(4049 - 3938) + '\x35' + chr(707 - 654) + '\x30', ord("\x08")), UH0YjwuI_XzX + BdYTl2caVoTD, fJSwBORhebts[Z0GwVtJhJD5m])
if fsgEg0eRSoKL == mocO8sWgkzH7:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'u\xbc,\xb2\x1c\xb7\xa4t\xb8$i\xcc'), '\x64' + chr(0b1011101 + 0o10) + '\x63' + '\x6f' + chr(9566 - 9466) + chr(9608 - 9507))(chr(0b1110101) + chr(0b1110100) + '\x66' + '\x2d' + '\x38'))([nzTpIcepk0o8(chr(48) + '\157' + chr(48), 8), nzTpIcepk0o8(chr(341 - 293) + '\157' + chr(0b110110) + chr(2159 - 2109) + '\x30', 0b1000), vrYAlPlCS8EO, Hg_KJkMRv5EQ])
else:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'u\xbc,\xb2\x1c\xb7\xa4t\xb8$i\xcc'), '\x64' + '\x65' + chr(99) + chr(0b1000 + 0o147) + chr(100) + '\145')('\x75' + chr(0b1110100) + chr(102) + chr(628 - 583) + chr(0b1101 + 0o53)))([nzTpIcepk0o8('\060' + chr(111) + '\060', 8), 360.0, vrYAlPlCS8EO, Hg_KJkMRv5EQ])
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'G\x94t\xe0K\xab'), chr(0b1100100) + chr(2586 - 2485) + chr(6240 - 6141) + chr(111) + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + '\164' + '\146' + '\x2d' + '\x38'))(roI3spqORKae(ES5oEprVxulp(b'{\x9dv\xeeG\xa9\xb3y\x92\x07O'), '\x64' + chr(101) + '\x63' + chr(8116 - 8005) + chr(0b1100100) + chr(7402 - 7301))('\165' + chr(116) + chr(0b10110 + 0o120) + chr(1103 - 1058) + chr(0b1010 + 0o56)))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'F\x94t\xe0K\xab'), '\x64' + chr(0b101110 + 0o67) + chr(0b1100011) + chr(0b1101111) + chr(0b1011000 + 0o14) + chr(0b10010 + 0o123))(chr(0b1100110 + 0o17) + chr(0b1110100) + '\146' + '\x2d' + '\070'))(v5E0eutotooZ)
mocO8sWgkzH7 += nzTpIcepk0o8(chr(0b111 + 0o51) + chr(111) + chr(0b1101 + 0o44), 8)
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'[\x9dy\xf6G\xa4\xb9~'), chr(0b111111 + 0o45) + chr(7273 - 7172) + chr(8468 - 8369) + chr(111) + chr(100) + chr(101))(chr(0b1110101) + '\x74' + '\146' + chr(0b101101) + chr(0b110011 + 0o5)))(ZtB7KOLCW2Hk)
else:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'Q\x975\xe6O\xb3\xb3,'), '\144' + '\x65' + chr(0b1100011) + chr(0b1101111) + '\144' + chr(9328 - 9227))(chr(0b1001110 + 0o47) + '\x74' + chr(102) + chr(45) + chr(56)))
return (nzTpIcepk0o8(chr(0b101011 + 0o5) + chr(0b1101111) + '\060', 8), roI3spqORKae(ES5oEprVxulp(b'q\x975\xe6O\xb3\xb3-\x9d\x07T\x93\x9c\xf6\xbb\x8a\xc3\xc3\x84jU\x9dF\xdb\xe9"C\xa4\xec\x81\xceJ\x1b5\xef.\x08(\xc4\xcfY\x9dg\xe7@\xb3\xf2}\x9a\x1a@\x90\x9d\xa2\xaa\x97\x90'), chr(0b1100100) + chr(0b1100101) + '\143' + chr(0b1011110 + 0o21) + chr(0b110001 + 0o63) + '\145')('\165' + '\x74' + '\x66' + chr(0b10101 + 0o30) + '\070'))
if sc4pJ_rhAw00:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'L\x8dw\xf2B\xa8\xa6'), '\144' + chr(0b1100101) + chr(99) + '\x6f' + '\x64' + chr(0b1100101))(chr(0b1110101) + '\x74' + '\146' + chr(0b11011 + 0o22) + '\070'))(nzTpIcepk0o8('\060' + chr(111) + chr(0b110001), 8), rVXviMgDUC9h, mocO8sWgkzH7)
if dVGywM8ePC9u:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'O\x94z\xf6'), chr(0b1100100) + chr(7838 - 7737) + chr(99) + chr(111) + chr(0b1100100) + '\x65')(chr(0b1000000 + 0o65) + '\x74' + chr(0b10011 + 0o123) + '\x2d' + chr(1209 - 1153)))(C2qYlmcjtu8l, LWpSiDWF2mYx, roI3spqORKae(ES5oEprVxulp(b'T'), chr(7366 - 7266) + chr(101) + '\x63' + '\157' + chr(100) + '\x65')(chr(0b111000 + 0o75) + '\x74' + chr(0b1000000 + 0o46) + chr(0b101101) + chr(0b111000)))
if ftfygxgFas5X(C2qYlmcjtu8l) > nzTpIcepk0o8('\x30' + '\x6f' + '\060', 8):
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'O\x94z\xf6'), chr(5792 - 5692) + chr(0b1001001 + 0o34) + chr(0b110000 + 0o63) + chr(6439 - 6328) + chr(0b100 + 0o140) + '\145')(chr(0b11100 + 0o131) + chr(11195 - 11079) + chr(7415 - 7313) + '\x2d' + chr(56)))(C2qYlmcjtu8l, LWpSiDWF2mYx, ap75Y_eaMZLk, markersize=e1HrJaQHACnl)
if ftfygxgFas5X(C2qYlmcjtu8l) == nzTpIcepk0o8(chr(0b110000) + '\157' + '\x30', 8) and dVGywM8ePC9u and (ftfygxgFas5X(F_Bu9fjcb4yR) > nzTpIcepk0o8(chr(48) + chr(3938 - 3827) + chr(0b1001 + 0o47), 8)):
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'O\x94z\xf6'), '\x64' + '\x65' + chr(99) + chr(0b100100 + 0o113) + '\144' + chr(101))(chr(117) + chr(116) + chr(885 - 783) + chr(0b100 + 0o51) + '\x38'))(F_Bu9fjcb4yR, geZmB39dc54C, roI3spqORKae(ES5oEprVxulp(b'T'), '\x64' + '\145' + chr(9235 - 9136) + '\157' + '\144' + chr(101))(chr(0b11001 + 0o134) + chr(0b1110100) + chr(9241 - 9139) + '\055' + chr(0b110001 + 0o7)))
if ftfygxgFas5X(F_Bu9fjcb4yR) > nzTpIcepk0o8('\x30' + '\157' + chr(0b10110 + 0o32), 8):
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'O\x94z\xf6'), chr(9049 - 8949) + '\145' + '\143' + chr(4433 - 4322) + chr(0b1100100) + chr(0b1100101))(chr(13349 - 13232) + chr(0b1110100) + chr(0b11101 + 0o111) + chr(1710 - 1665) + chr(56)))(F_Bu9fjcb4yR, geZmB39dc54C, Xovs8umTsn_q, markersize=a8cMir1IiIZl)
if SFcPYUNw10Xj and ftfygxgFas5X(d8CoXKMqv8IY) > nzTpIcepk0o8('\060' + chr(111) + chr(1598 - 1550), 8):
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'O\x94z\xf6'), '\x64' + '\x65' + '\143' + '\157' + chr(0b1100100) + chr(7776 - 7675))(chr(117) + chr(0b1110100) + chr(2979 - 2877) + '\x2d' + chr(715 - 659)))(bKCXW95t8Nr8, d8CoXKMqv8IY, DDJVJVVZlVIN, markersize=CUMaBVz2a0jz)
if SFcPYUNw10Xj and ftfygxgFas5X(e19A94C3oUSt) > nzTpIcepk0o8('\060' + '\x6f' + chr(506 - 458), 8):
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'e\xb0%\xebV\xf5\xb4`\xaf\x1fI\x9c'), '\144' + chr(0b1100101) + '\143' + '\157' + chr(0b10010 + 0o122) + chr(0b1100101))('\x75' + '\164' + '\x66' + chr(0b101101) + '\070'))(wKUPeTKlAzSu, e19A94C3oUSt, marker=DDJVJVVZlVIN[-nzTpIcepk0o8(chr(48) + chr(0b1010011 + 0o34) + '\061', 8)], edgecolor=DDJVJVVZlVIN[nzTpIcepk0o8(chr(48) + chr(0b1011001 + 0o26) + '\060', 8)], facecolor=roI3spqORKae(ES5oEprVxulp(b'H\x90|\xf6K'), '\144' + '\x65' + '\x63' + '\157' + '\144' + chr(0b1100101))(chr(0b1110101) + '\x74' + chr(102) + chr(477 - 432) + chr(0b0 + 0o70)), s=CUMaBVz2a0jz ** nzTpIcepk0o8(chr(48) + chr(111) + chr(355 - 305), 8))
if s282iMtmXh3x:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'O\x94z\xf6'), '\144' + '\x65' + chr(9469 - 9370) + '\157' + chr(8990 - 8890) + chr(101))(chr(117) + chr(0b1110100) + chr(102) + '\055' + '\070'))(B21n3j4Y3QBL, TmNqnREzeIwh, ootHOGyer9mi, markersize=tTyyZAxnpufx)
if cuJmomB0XH13:
for fJSwBORhebts in q5eO_jclWFG5:
UH0YjwuI_XzX = jLW6pRf2DSRk(fJSwBORhebts[dFt3oC7UZAaI])
if UH0YjwuI_XzX > Hg_KJkMRv5EQ and UH0YjwuI_XzX < vrYAlPlCS8EO:
if fsgEg0eRSoKL == mocO8sWgkzH7:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\\\x88F\xf6E\xf0\xb1T\xca<k\x99'), chr(0b110001 + 0o63) + chr(0b1100101) + chr(0b1000011 + 0o40) + '\157' + '\144' + '\145')(chr(6971 - 6854) + '\x74' + '\146' + '\x2d' + chr(0b111000)))(nzTpIcepk0o8(chr(143 - 95) + '\157' + chr(0b110001) + chr(0b11010 + 0o31) + '\062', 0b1000), UH0YjwuI_XzX + BdYTl2caVoTD, fJSwBORhebts[Z0GwVtJhJD5m])
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'O\x94z\xf6'), '\x64' + chr(0b11 + 0o142) + '\143' + '\x6f' + '\x64' + chr(4891 - 4790))('\x75' + '\164' + chr(0b1100110) + chr(0b101101) + chr(0b111000)))([-nzTpIcepk0o8('\x30' + chr(111) + chr(0b110001) + '\063' + chr(50), 8), nzTpIcepk0o8(chr(48) + chr(4140 - 4029) + chr(0b110001) + chr(0b110011) + chr(0b110010), 8)], [UH0YjwuI_XzX, UH0YjwuI_XzX], roI3spqORKae(ES5oEprVxulp(b']\xd58'), '\144' + chr(4893 - 4792) + '\x63' + chr(0b1101111) + '\144' + '\145')(chr(0b1110011 + 0o2) + chr(0b100101 + 0o117) + chr(0b1100110) + '\055' + chr(2538 - 2482)))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'O\x94z\xf6'), chr(0b1100100) + chr(0b1101 + 0o130) + chr(99) + chr(0b1101111) + chr(100) + chr(0b1001100 + 0o31))(chr(117) + '\164' + '\x66' + '\055' + chr(0b111000)))([nzTpIcepk0o8('\060' + chr(7039 - 6928) + chr(0b100111 + 0o11), 8), nzTpIcepk0o8('\x30' + chr(111) + chr(48), 8)], [vrYAlPlCS8EO, Hg_KJkMRv5EQ], roI3spqORKae(ES5oEprVxulp(b'T\xd5'), '\x64' + '\145' + chr(9503 - 9404) + chr(0b110000 + 0o77) + chr(0b1100100) + chr(101))(chr(117) + chr(0b1110100) + chr(0b111100 + 0o52) + '\x2d' + chr(1113 - 1057)))
if fsgEg0eRSoKL == mocO8sWgkzH7:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'u\xbc,\xb2\x1c\xb7\xa4t\xb8$i\xcc'), '\144' + chr(101) + chr(0b101100 + 0o67) + chr(0b100111 + 0o110) + chr(100) + chr(101))(chr(4827 - 4710) + chr(11164 - 11048) + chr(5395 - 5293) + chr(856 - 811) + '\070'))([-nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b110001) + chr(0b11110 + 0o25) + chr(0b110010), 8), nzTpIcepk0o8(chr(1481 - 1433) + '\x6f' + chr(0b110001) + chr(0b110101) + chr(103 - 49), ord("\x08")), vrYAlPlCS8EO, Hg_KJkMRv5EQ])
else:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'u\xbc,\xb2\x1c\xb7\xa4t\xb8$i\xcc'), chr(0b1100100) + '\145' + chr(0b10 + 0o141) + chr(0b1010101 + 0o32) + chr(0b1100100) + chr(101))('\165' + chr(116) + chr(0b100011 + 0o103) + '\055' + chr(0b111000)))([-nzTpIcepk0o8(chr(0b100100 + 0o14) + '\x6f' + chr(0b110001) + chr(51) + chr(0b110010), 8), nzTpIcepk0o8(chr(0b110 + 0o52) + chr(0b10010 + 0o135) + '\061' + chr(51) + '\x32', 8), vrYAlPlCS8EO, Hg_KJkMRv5EQ])
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'G\x94t\xe0K\xab'), '\x64' + '\x65' + chr(390 - 291) + '\157' + chr(0b1100100) + '\x65')('\x75' + '\164' + chr(5611 - 5509) + chr(45) + '\x38'))(roI3spqORKae(ES5oEprVxulp(b'v\x96v\xeeG\xa9\xb3y\x92\x07O'), '\x64' + '\x65' + chr(7047 - 6948) + chr(0b111001 + 0o66) + '\x64' + chr(101))('\165' + chr(3225 - 3109) + '\146' + chr(0b101101) + chr(0b110 + 0o62)))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'F\x94t\xe0K\xab'), '\144' + '\145' + '\x63' + '\x6f' + chr(0b100111 + 0o75) + '\145')(chr(117) + chr(116) + chr(102) + chr(1894 - 1849) + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(0b1100101) + chr(2327 - 2228) + chr(0b1101110 + 0o1) + chr(0b1100100) + '\x65')(chr(11549 - 11432) + chr(116) + '\146' + '\055' + '\x38'))
mocO8sWgkzH7 += nzTpIcepk0o8('\x30' + chr(111) + chr(1112 - 1063), 8)
if S8gUNkFK3Z7g and ftfygxgFas5X(onUEhWOmC3SX) > nzTpIcepk0o8(chr(0b11000 + 0o30) + chr(111) + chr(0b110000), 8) or ftfygxgFas5X(Op86MuK47jEk) > nzTpIcepk0o8(chr(0b11001 + 0o27) + '\x6f' + chr(48), 8):
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'L\x8dw\xf2B\xa8\xa6'), '\x64' + chr(0b1110 + 0o127) + chr(99) + chr(1249 - 1138) + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + '\x74' + chr(0b1010111 + 0o17) + '\x2d' + chr(56)))(nzTpIcepk0o8('\060' + chr(111) + chr(49), 8), rVXviMgDUC9h, mocO8sWgkzH7)
for JEroPXRTriYU in bbT2xIe5pzk7(-nzTpIcepk0o8('\060' + '\x6f' + chr(1232 - 1183) + chr(0b110010), 8), nzTpIcepk0o8('\060' + chr(0b110101 + 0o72) + chr(0b110001) + chr(0b10 + 0o60), 8)):
if e_fiCLewJxZV * nzTpIcepk0o8(chr(2288 - 2240) + '\157' + chr(0b1001 + 0o50) + '\062', 8) ** JEroPXRTriYU > nzTpIcepk0o8(chr(678 - 630) + chr(0b101101 + 0o102) + '\061', 8):
break
if not ZqCHlSR6dDCx:
for B6UAF1zReOyJ in bbT2xIe5pzk7(ftfygxgFas5X(onUEhWOmC3SX)):
onUEhWOmC3SX[B6UAF1zReOyJ] = onUEhWOmC3SX[B6UAF1zReOyJ] * nzTpIcepk0o8('\060' + '\x6f' + chr(49) + chr(0b110 + 0o54), 8) ** JEroPXRTriYU
for B6UAF1zReOyJ in bbT2xIe5pzk7(ftfygxgFas5X(Op86MuK47jEk)):
Op86MuK47jEk[B6UAF1zReOyJ] = Op86MuK47jEk[B6UAF1zReOyJ] * nzTpIcepk0o8(chr(1654 - 1606) + chr(0b1101111) + chr(0b110001) + '\x32', 8) ** JEroPXRTriYU
if dVGywM8ePC9u and ftfygxgFas5X(onUEhWOmC3SX) > nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(48), 8):
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'O\x94z\xf6'), chr(3952 - 3852) + '\x65' + chr(0b1100011) + chr(111) + chr(1452 - 1352) + '\145')(chr(117) + chr(0b101110 + 0o106) + chr(0b1100110) + '\x2d' + '\070'))(onUEhWOmC3SX, LWpSiDWF2mYx, roI3spqORKae(ES5oEprVxulp(b'T'), chr(4131 - 4031) + chr(0b1001101 + 0o30) + chr(3323 - 3224) + chr(0b1101111) + chr(100) + '\145')(chr(0b1110101) + chr(116) + chr(102) + chr(45) + chr(0b101001 + 0o17)))
if ftfygxgFas5X(onUEhWOmC3SX) > nzTpIcepk0o8(chr(0b10101 + 0o33) + chr(111) + chr(0b11000 + 0o30), 8):
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'O\x94z\xf6'), '\144' + chr(0b1100101) + chr(8550 - 8451) + '\157' + chr(4973 - 4873) + chr(0b1000100 + 0o41))(chr(0b1110101) + chr(0b1010001 + 0o43) + '\x66' + chr(0b11010 + 0o23) + chr(0b101011 + 0o15)))(onUEhWOmC3SX, LWpSiDWF2mYx, ap75Y_eaMZLk, markersize=e1HrJaQHACnl)
if ftfygxgFas5X(onUEhWOmC3SX) == nzTpIcepk0o8(chr(1314 - 1266) + chr(0b1101001 + 0o6) + '\x30', 8) and dVGywM8ePC9u and (ftfygxgFas5X(Op86MuK47jEk) > nzTpIcepk0o8('\x30' + chr(0b10000 + 0o137) + chr(48), 8)):
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'O\x94z\xf6'), '\x64' + chr(0b1011000 + 0o15) + '\143' + chr(111) + chr(0b11001 + 0o113) + chr(0b1100 + 0o131))(chr(0b1110101) + '\x74' + chr(2427 - 2325) + chr(0b10 + 0o53) + chr(0b110100 + 0o4)))(Op86MuK47jEk, geZmB39dc54C, roI3spqORKae(ES5oEprVxulp(b'T\xd5'), chr(0b1100100) + '\x65' + '\x63' + '\x6f' + '\x64' + chr(0b110111 + 0o56))(chr(0b1110101) + chr(116) + chr(9111 - 9009) + chr(1286 - 1241) + chr(56)))
if ftfygxgFas5X(Op86MuK47jEk) > nzTpIcepk0o8('\x30' + '\157' + '\x30', 8):
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'O\x94z\xf6'), '\144' + '\x65' + chr(8161 - 8062) + '\157' + '\144' + '\x65')(chr(0b1110101) + chr(5952 - 5836) + chr(102) + chr(1329 - 1284) + '\x38'))(Op86MuK47jEk, geZmB39dc54C, Xovs8umTsn_q, markersize=a8cMir1IiIZl)
if cuJmomB0XH13:
for fJSwBORhebts in q5eO_jclWFG5:
UH0YjwuI_XzX = jLW6pRf2DSRk(fJSwBORhebts[dFt3oC7UZAaI])
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'O\x94z\xf6'), '\144' + chr(0b1100101) + '\x63' + '\157' + chr(100) + chr(0b110101 + 0o60))(chr(117) + chr(0b1010000 + 0o44) + chr(0b110101 + 0o61) + chr(45) + chr(211 - 155)))([nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b110000), 8), e_fiCLewJxZV * nzTpIcepk0o8(chr(48) + '\157' + chr(0b100001 + 0o20) + chr(1284 - 1234), 8) ** JEroPXRTriYU + 0.1], [UH0YjwuI_XzX, UH0YjwuI_XzX], roI3spqORKae(ES5oEprVxulp(b']\xd58'), chr(0b101 + 0o137) + chr(0b101111 + 0o66) + '\x63' + '\157' + '\x64' + chr(0b1100101))(chr(117) + chr(0b1110100) + chr(8926 - 8824) + '\x2d' + chr(0b111000)))
if UH0YjwuI_XzX > Hg_KJkMRv5EQ and UH0YjwuI_XzX < vrYAlPlCS8EO:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\\\x88F\xf6E\xf0\xb1T\xca<k\x99'), chr(0b100100 + 0o100) + '\145' + '\143' + chr(111) + '\144' + chr(0b1100101))('\165' + '\x74' + chr(102) + chr(0b101100 + 0o1) + '\x38'))(e_fiCLewJxZV * nzTpIcepk0o8('\060' + '\x6f' + '\x31' + chr(0b10101 + 0o35), 8) ** JEroPXRTriYU - 0.2 * e_fiCLewJxZV * nzTpIcepk0o8('\x30' + '\x6f' + chr(49) + '\062', 8) ** JEroPXRTriYU, UH0YjwuI_XzX + BdYTl2caVoTD, fJSwBORhebts[Z0GwVtJhJD5m])
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'u\xbc,\xb2\x1c\xb7\xa4t\xb8$i\xcc'), '\x64' + '\145' + chr(0b11 + 0o140) + chr(0b1101111) + chr(7780 - 7680) + chr(0b110101 + 0o60))(chr(0b1110 + 0o147) + chr(0b111001 + 0o73) + chr(102) + '\x2d' + '\x38'))([nzTpIcepk0o8(chr(0b101010 + 0o6) + chr(11024 - 10913) + '\060', 8), e_fiCLewJxZV * nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\061' + '\x32', 8) ** JEroPXRTriYU + 0.1, vrYAlPlCS8EO, Hg_KJkMRv5EQ])
if not xBFFJFaziFDU:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'G\x94t\xe0K\xab'), chr(0b1011010 + 0o12) + chr(6112 - 6011) + '\x63' + '\157' + chr(0b1100100) + chr(0b1000 + 0o135))(chr(0b1110101) + '\x74' + chr(0b1100110) + '\055' + chr(0b10000 + 0o50)))(roI3spqORKae(ES5oEprVxulp(b'\x1a\x8b5\xa7G\xe7\xf7~'), '\144' + chr(101) + chr(0b11100 + 0o107) + chr(0b1101111) + chr(100) + chr(101))(chr(0b11100 + 0o131) + chr(0b1110100) + chr(0b1000 + 0o136) + chr(899 - 854) + '\070') % (roI3spqORKae(ES5oEprVxulp(b'v\x96a\xe7@\xb4\xbby\x82H\t\xcc\xc8\x88\xe2'), '\x64' + '\x65' + chr(592 - 493) + '\157' + '\144' + chr(0b1100 + 0o131))(chr(4079 - 3962) + chr(0b1110100) + chr(102) + chr(0b101101) + chr(2573 - 2517)), JEroPXRTriYU, roI3spqORKae(ES5oEprVxulp(b'\x1f\xb9x\xdc\x1c\xee'), '\144' + chr(0b101111 + 0o66) + '\143' + chr(111) + chr(2937 - 2837) + chr(0b101001 + 0o74))('\x75' + chr(178 - 62) + chr(102) + chr(0b101101) + '\x38')))
else:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'G\x94t\xe0K\xab'), chr(0b1001000 + 0o34) + chr(0b1100101) + '\x63' + chr(0b1101111) + chr(100) + '\x65')('\x75' + chr(0b1100010 + 0o22) + '\146' + chr(653 - 608) + chr(531 - 475)))(roI3spqORKae(ES5oEprVxulp(b'\x1a\x8b5\xa7G\xe7\xf7~'), chr(0b10001 + 0o123) + chr(5434 - 5333) + chr(0b11110 + 0o105) + chr(111) + chr(100) + chr(0b1100101))('\x75' + '\164' + chr(0b111101 + 0o51) + chr(0b101101) + chr(1042 - 986)) % (roI3spqORKae(ES5oEprVxulp(b'v\x96a\xe7@\xb4\xbby\x82H\t\xcc\xc8\x88\xe2'), chr(6167 - 6067) + chr(4453 - 4352) + chr(0b1010101 + 0o16) + '\x6f' + chr(5767 - 5667) + chr(0b11010 + 0o113))(chr(117) + chr(0b10100 + 0o140) + '\146' + chr(1723 - 1678) + '\070'), JEroPXRTriYU, roI3spqORKae(ES5oEprVxulp(b'\x1f\xb9x\xdc\x1c\xe8\xb9j\xd2'), '\x64' + chr(3881 - 3780) + chr(3857 - 3758) + '\x6f' + '\144' + chr(0b1100101))(chr(117) + chr(12957 - 12841) + chr(0b110001 + 0o65) + chr(0b1010 + 0o43) + chr(0b1111 + 0o51))))
else:
if dVGywM8ePC9u:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'L\x9dx\xebB\xa8\xb5u'), chr(100) + chr(101) + '\x63' + '\x6f' + chr(0b1100100) + chr(7296 - 7195))(chr(0b110011 + 0o102) + chr(0b1110100) + chr(0b1100110) + chr(0b101011 + 0o2) + chr(0b101010 + 0o16)))(onUEhWOmC3SX, LWpSiDWF2mYx, roI3spqORKae(ES5oEprVxulp(b'T'), chr(100) + '\145' + chr(0b1000110 + 0o35) + chr(4761 - 4650) + chr(100) + chr(0b1100101))(chr(0b100101 + 0o120) + chr(0b1110100) + chr(0b1100110) + '\055' + chr(0b111000)))
if ftfygxgFas5X(onUEhWOmC3SX) > nzTpIcepk0o8(chr(0b100011 + 0o15) + chr(5087 - 4976) + chr(0b110000), 8):
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'L\x9dx\xebB\xa8\xb5u'), chr(100) + '\145' + chr(7161 - 7062) + chr(111) + chr(6444 - 6344) + '\145')(chr(0b1110101) + chr(116) + chr(0b1100110) + chr(0b101101) + '\x38'))(onUEhWOmC3SX, LWpSiDWF2mYx, ap75Y_eaMZLk, markersize=e1HrJaQHACnl)
if ftfygxgFas5X(onUEhWOmC3SX) == nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b110000 + 0o0), 8) and dVGywM8ePC9u and (ftfygxgFas5X(Op86MuK47jEk) > nzTpIcepk0o8(chr(0b0 + 0o60) + chr(0b1101111) + '\x30', 8)):
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'L\x9dx\xebB\xa8\xb5u'), chr(100) + '\x65' + chr(4884 - 4785) + '\157' + chr(100) + chr(0b101100 + 0o71))('\x75' + chr(6224 - 6108) + chr(0b1100110) + '\x2d' + '\x38'))(Op86MuK47jEk, geZmB39dc54C, roI3spqORKae(ES5oEprVxulp(b'T'), chr(0b1110 + 0o126) + chr(101) + chr(6381 - 6282) + chr(0b101000 + 0o107) + '\x64' + chr(9331 - 9230))('\x75' + chr(0b1110001 + 0o3) + chr(102) + chr(45) + '\070'))
if ftfygxgFas5X(onUEhWOmC3SX) == nzTpIcepk0o8('\x30' + chr(0b1100100 + 0o13) + chr(1637 - 1589), 8) and dVGywM8ePC9u == nzTpIcepk0o8(chr(1446 - 1398) + chr(9734 - 9623) + '\061', 8) and (ftfygxgFas5X(Op86MuK47jEk) > nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110000), 8)):
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'L\x9dx\xebB\xa8\xb5u'), chr(0b1011000 + 0o14) + '\x65' + chr(99) + '\157' + chr(100) + '\145')(chr(117) + '\164' + '\x66' + chr(0b11101 + 0o20) + '\070'))(Op86MuK47jEk, geZmB39dc54C, roI3spqORKae(ES5oEprVxulp(b'T'), chr(0b100011 + 0o101) + '\145' + chr(0b1100011) + '\157' + chr(100) + chr(0b1100101))(chr(0b1110101) + chr(116) + chr(3205 - 3103) + chr(0b101101) + chr(0b100111 + 0o21)))
if ftfygxgFas5X(Op86MuK47jEk) > nzTpIcepk0o8(chr(0b10010 + 0o36) + '\157' + '\060', 8):
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'L\x9dx\xebB\xa8\xb5u'), chr(0b101 + 0o137) + '\145' + chr(0b110110 + 0o55) + chr(11591 - 11480) + chr(4733 - 4633) + chr(0b1100101))(chr(0b100100 + 0o121) + chr(116) + chr(0b1010100 + 0o22) + chr(0b101101) + chr(1374 - 1318)))(Op86MuK47jEk, geZmB39dc54C, Xovs8umTsn_q, markersize=a8cMir1IiIZl)
if cuJmomB0XH13:
for fJSwBORhebts in q5eO_jclWFG5:
UH0YjwuI_XzX = jLW6pRf2DSRk(fJSwBORhebts[dFt3oC7UZAaI])
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'L\x9dx\xebB\xa8\xb5u'), chr(0b100010 + 0o102) + chr(7521 - 7420) + '\x63' + chr(111) + chr(0b1100100) + '\145')('\165' + '\164' + chr(8575 - 8473) + chr(614 - 569) + '\070'))([uQjvFF8imj59, e_fiCLewJxZV], [UH0YjwuI_XzX, UH0YjwuI_XzX], roI3spqORKae(ES5oEprVxulp(b']\xd58'), '\144' + '\x65' + chr(0b1000101 + 0o36) + chr(0b1101111) + '\x64' + chr(0b1010010 + 0o23))('\165' + '\164' + chr(102) + chr(737 - 692) + '\x38'))
if UH0YjwuI_XzX > Hg_KJkMRv5EQ and UH0YjwuI_XzX < vrYAlPlCS8EO:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\\\x88F\xf6E\xf0\xb1T\xca<k\x99'), chr(100) + chr(0b1100101) + chr(0b1100011) + chr(0b1101111) + chr(2349 - 2249) + chr(101))(chr(0b111000 + 0o75) + chr(9411 - 9295) + chr(0b101 + 0o141) + '\x2d' + '\x38'))(e_fiCLewJxZV - 0.2 * e_fiCLewJxZV, UH0YjwuI_XzX + BdYTl2caVoTD, fJSwBORhebts[Z0GwVtJhJD5m])
uQjvFF8imj59 = Z7HGgmIyegqz.JD902pvyCLH1()[nzTpIcepk0o8('\060' + chr(0b1000101 + 0o52) + chr(48), 8)]
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'u\xbc,\xb2\x1c\xb7\xa4t\xb8$i\xcc'), chr(1383 - 1283) + '\x65' + chr(0b1100011) + chr(111) + chr(5022 - 4922) + chr(0b1100101))(chr(0b1110101) + chr(116) + chr(102) + chr(0b100000 + 0o15) + chr(181 - 125)))([uQjvFF8imj59, e_fiCLewJxZV, vrYAlPlCS8EO, Hg_KJkMRv5EQ])
if not xBFFJFaziFDU:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'G\x94t\xe0K\xab'), '\144' + chr(101) + chr(0b1111 + 0o124) + chr(111) + chr(100) + chr(3432 - 3331))(chr(10583 - 10466) + chr(116) + chr(8863 - 8761) + chr(0b101101) + chr(1578 - 1522)))(roI3spqORKae(ES5oEprVxulp(b'v\x96a\xe7@\xb4\xbby\x82H\t\xbc\x95\x88\xfd\xcc'), chr(9889 - 9789) + chr(105 - 4) + chr(0b1100011) + chr(0b1101111) + chr(0b1010101 + 0o17) + chr(4706 - 4605))(chr(0b1110101) + '\164' + chr(0b1100110) + '\055' + '\x38'))
else:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'G\x94t\xe0K\xab'), chr(0b1100100) + chr(101) + '\x63' + chr(111) + '\144' + chr(0b1100101))(chr(117) + chr(1844 - 1728) + chr(0b110011 + 0o63) + chr(0b101101) + '\x38'))(roI3spqORKae(ES5oEprVxulp(b'v\x96a\xe7@\xb4\xbby\x82H\t\xbc\x95\x88\xfd\xca\x88\xd4\xc1'), chr(0b100111 + 0o75) + '\145' + chr(8779 - 8680) + chr(0b101 + 0o152) + '\x64' + chr(1167 - 1066))(chr(0b1110101) + chr(0b1110100) + '\x66' + chr(0b101101) + chr(361 - 305)))
mocO8sWgkzH7 += nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(907 - 858), 8)
if EVjMMn_NFxL2 or ftfygxgFas5X(hhqB94gOYowN) > nzTpIcepk0o8(chr(568 - 520) + chr(0b1001001 + 0o46) + '\x30', 8):
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'L\x8dw\xf2B\xa8\xa6'), chr(0b1100100) + '\x65' + chr(621 - 522) + '\157' + '\144' + chr(8993 - 8892))('\165' + '\164' + '\146' + '\x2d' + chr(56)))(nzTpIcepk0o8(chr(0b11111 + 0o21) + '\157' + '\061', 8), rVXviMgDUC9h, mocO8sWgkzH7)
if ftfygxgFas5X(b19sTTZk9KjI) > nzTpIcepk0o8(chr(0b1 + 0o57) + chr(111) + chr(0b110000), 8):
if dVGywM8ePC9u:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'O\x94z\xf6'), '\144' + '\x65' + chr(0b1100000 + 0o3) + '\157' + chr(0b1100100) + '\x65')('\x75' + chr(0b1110100) + chr(0b1001001 + 0o35) + chr(0b1 + 0o54) + '\x38'))(b19sTTZk9KjI, riQTpuD0nCEe, roI3spqORKae(ES5oEprVxulp(b'T'), chr(8384 - 8284) + chr(0b1100101) + chr(0b10101 + 0o116) + chr(1631 - 1520) + chr(0b1011000 + 0o14) + chr(101))('\165' + '\x74' + chr(9218 - 9116) + '\x2d' + chr(56)))
if not ZqCHlSR6dDCx:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'O\x94z\xf6'), chr(100) + chr(0b1100101) + '\143' + chr(111) + chr(100) + chr(0b1001101 + 0o30))(chr(0b1110101) + '\164' + chr(0b1100110) + chr(0b101101) + chr(0b11011 + 0o35)))(b19sTTZk9KjI, riQTpuD0nCEe, ap75Y_eaMZLk, markersize=e1HrJaQHACnl)
if ZqCHlSR6dDCx:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'L\x9dx\xebB\xa8\xb5u'), chr(0b1011000 + 0o14) + chr(4953 - 4852) + '\143' + chr(4979 - 4868) + chr(0b110100 + 0o60) + chr(0b1100101))('\165' + '\164' + chr(0b1110 + 0o130) + chr(0b101101) + chr(0b111000)))(b19sTTZk9KjI, riQTpuD0nCEe, ap75Y_eaMZLk, markersize=e1HrJaQHACnl)
if ftfygxgFas5X(hhqB94gOYowN) > nzTpIcepk0o8('\x30' + chr(111) + chr(0b110000), 8):
if not ZqCHlSR6dDCx:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'O\x94z\xf6'), chr(0b1100100) + chr(0b1100101) + '\x63' + '\x6f' + chr(0b1100100) + '\145')(chr(5294 - 5177) + '\164' + chr(3947 - 3845) + '\055' + '\x38'))(hhqB94gOYowN, geZmB39dc54C, ap75Y_eaMZLk, markersize=e1HrJaQHACnl)
if ZqCHlSR6dDCx:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'L\x9dx\xebB\xa8\xb5u'), chr(0b1100100) + chr(0b1000110 + 0o37) + chr(3115 - 3016) + '\157' + chr(9973 - 9873) + chr(101))('\165' + chr(0b100010 + 0o122) + '\x66' + '\x2d' + chr(0b110010 + 0o6)))(hhqB94gOYowN, geZmB39dc54C, ap75Y_eaMZLk, markersize=e1HrJaQHACnl)
if cuJmomB0XH13:
for fJSwBORhebts in q5eO_jclWFG5:
UH0YjwuI_XzX = jLW6pRf2DSRk(fJSwBORhebts[dFt3oC7UZAaI])
if not ZqCHlSR6dDCx:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'O\x94z\xf6'), chr(6643 - 6543) + chr(0b101100 + 0o71) + chr(1074 - 975) + chr(758 - 647) + '\144' + chr(101))(chr(117) + chr(0b1101010 + 0o12) + chr(102) + chr(1141 - 1096) + '\070'))([rhZGhvB5ISmw, t4jgF36O_9j0], [UH0YjwuI_XzX, UH0YjwuI_XzX], roI3spqORKae(ES5oEprVxulp(b']\xd58'), '\144' + chr(0b1100101) + chr(0b1000011 + 0o40) + '\x6f' + chr(3686 - 3586) + chr(0b110001 + 0o64))('\165' + chr(116) + '\x66' + chr(0b101101) + '\x38'))
if ZqCHlSR6dDCx:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'L\x9dx\xebB\xa8\xb5u'), '\x64' + chr(0b1100101) + chr(99) + '\x6f' + '\144' + chr(0b101010 + 0o73))(chr(6596 - 6479) + chr(7675 - 7559) + chr(0b1000011 + 0o43) + chr(0b101101) + '\070'))([rhZGhvB5ISmw, t4jgF36O_9j0], [UH0YjwuI_XzX, UH0YjwuI_XzX], roI3spqORKae(ES5oEprVxulp(b']\xd58'), '\144' + chr(0b1100101) + chr(0b1100011) + chr(111) + chr(5523 - 5423) + chr(5541 - 5440))(chr(117) + '\164' + '\x66' + '\x2d' + '\070'))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'u\xbc,\xb2\x1c\xb7\xa4t\xb8$i\xcc'), chr(100) + '\x65' + chr(99) + '\157' + chr(100) + chr(0b110011 + 0o62))(chr(0b1101100 + 0o11) + chr(0b1101011 + 0o11) + chr(102) + '\055' + chr(0b111000)))([rhZGhvB5ISmw, t4jgF36O_9j0, vrYAlPlCS8EO, Hg_KJkMRv5EQ])
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'G\x94t\xe0K\xab'), chr(100) + '\145' + chr(0b1010010 + 0o21) + '\157' + chr(4702 - 4602) + '\145')(chr(0b110001 + 0o104) + '\164' + chr(0b1100110) + '\055' + '\x38'))(roI3spqORKae(ES5oEprVxulp(b'l\x8df\xe1K\xb7\xa6d\x99\x01M\x94\x8c\xaf'), chr(2240 - 2140) + chr(0b1010101 + 0o20) + chr(0b1100011) + '\x6f' + chr(0b1100100) + chr(101))(chr(0b1110101) + chr(3891 - 3775) + chr(102) + '\055' + '\070'))
mocO8sWgkzH7 += nzTpIcepk0o8(chr(2143 - 2095) + '\157' + chr(49), 8)
if qya8ioruVZil:
zKeNdjqvSKqz = Z7HGgmIyegqz.subplot(nzTpIcepk0o8(chr(458 - 410) + '\x6f' + chr(0b110001), 8), rVXviMgDUC9h, mocO8sWgkzH7)
roI3spqORKae(zKeNdjqvSKqz, roI3spqORKae(ES5oEprVxulp(b'u\xbc,\xb2\x1c\xb7\xa4t\xb8$i\xcc'), chr(0b1100100) + chr(0b1100101) + chr(0b110010 + 0o61) + '\157' + chr(0b1001011 + 0o31) + chr(0b1100101))('\x75' + '\x74' + chr(0b1100110) + chr(45) + '\x38'))([-0.25, 1.5, o3SuW33uOWrs, RYdkBUje3R81])
mocO8sWgkzH7 += nzTpIcepk0o8('\060' + '\x6f' + '\061', 8)
(ycGSYVCRfwkl, A8LL0bmD6sPU) = hUcsWwAd0nE_.get_ts(TLcnrOQdCE7h)
(mxhyDqTAMpMC, zWIjrOExuyqC, hgmR24VSmAeQ) = ([nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\060', 8), nzTpIcepk0o8('\060' + '\x6f' + '\x31', 8)], [], [])
xwRuRFbC5fsf = nzTpIcepk0o8('\x30' + '\x6f' + '\x30', 8)
if RYdkBUje3R81 < ycGSYVCRfwkl[nzTpIcepk0o8('\x30' + chr(111) + chr(2318 - 2269), 8)]:
zWIjrOExuyqC = [RYdkBUje3R81, RYdkBUje3R81]
L5vI6HvmaMxj = [ycGSYVCRfwkl[nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\x31', 8)], ycGSYVCRfwkl[nzTpIcepk0o8(chr(0b1100 + 0o44) + chr(0b100100 + 0o113) + chr(0b110001), 8)]]
roI3spqORKae(zKeNdjqvSKqz, roI3spqORKae(ES5oEprVxulp(b'Y\x91y\xeeq\xa5\xb7y\x8c\rD\x93'), chr(0b1100100) + chr(5223 - 5122) + chr(0b1100011) + '\x6f' + chr(5171 - 5071) + chr(5538 - 5437))(chr(117) + chr(0b10 + 0o162) + chr(6883 - 6781) + '\x2d' + '\x38'))(mxhyDqTAMpMC, zWIjrOExuyqC, L5vI6HvmaMxj, facecolor=roI3spqORKae(ES5oEprVxulp(b']\x94t\xe1E'), '\144' + chr(101) + chr(0b111001 + 0o52) + chr(8140 - 8029) + '\x64' + '\x65')(chr(117) + chr(3611 - 3495) + chr(0b1100011 + 0o3) + chr(1781 - 1736) + chr(56)))
for vPPlOXQgR3SM in ycGSYVCRfwkl[nzTpIcepk0o8('\x30' + chr(0b1101111) + '\x31', 8):]:
Wqr6N7tN35Ed = xwRuRFbC5fsf % nzTpIcepk0o8(chr(0b110000) + chr(0b101001 + 0o106) + chr(1229 - 1179), 8)
xwRuRFbC5fsf += nzTpIcepk0o8(chr(0b10 + 0o56) + chr(5985 - 5874) + '\061', 8)
if vPPlOXQgR3SM <= o3SuW33uOWrs and vPPlOXQgR3SM >= RYdkBUje3R81:
w5vcgUzFN3bF = ycGSYVCRfwkl.ZpfN5tSLaZze(vPPlOXQgR3SM)
zWIjrOExuyqC = [ycGSYVCRfwkl[w5vcgUzFN3bF], ycGSYVCRfwkl[w5vcgUzFN3bF]]
L5vI6HvmaMxj = [ycGSYVCRfwkl[w5vcgUzFN3bF + nzTpIcepk0o8(chr(753 - 705) + chr(111) + chr(49), 8)], ycGSYVCRfwkl[w5vcgUzFN3bF + nzTpIcepk0o8('\x30' + chr(4922 - 4811) + chr(49), 8)]]
if Wqr6N7tN35Ed:
roI3spqORKae(zKeNdjqvSKqz, roI3spqORKae(ES5oEprVxulp(b'Y\x91y\xeeq\xa5\xb7y\x8c\rD\x93'), '\144' + '\x65' + chr(99) + chr(2138 - 2027) + '\144' + chr(0b10101 + 0o120))(chr(117) + '\164' + '\x66' + chr(45) + chr(0b0 + 0o70)))(mxhyDqTAMpMC, zWIjrOExuyqC, L5vI6HvmaMxj, facecolor=roI3spqORKae(ES5oEprVxulp(b']\x94t\xe1E'), chr(0b11010 + 0o112) + '\x65' + '\143' + chr(111) + '\144' + chr(9446 - 9345))(chr(0b1110101) + chr(9699 - 9583) + chr(0b1011011 + 0o13) + chr(0b101101) + '\070'))
roI3spqORKae(zKeNdjqvSKqz, roI3spqORKae(ES5oEprVxulp(b'O\x94z\xf6'), chr(6412 - 6312) + chr(0b1100101) + chr(8295 - 8196) + chr(8047 - 7936) + '\x64' + '\x65')(chr(12919 - 12802) + '\x74' + chr(0b1100110) + '\055' + chr(0b111000)))([nzTpIcepk0o8(chr(0b10111 + 0o31) + chr(5491 - 5380) + chr(0b110000), 8), nzTpIcepk0o8(chr(0b1111 + 0o41) + chr(0b1101111) + chr(49), 8), nzTpIcepk0o8(chr(0b101001 + 0o7) + chr(0b1101111) + chr(0b110001), 8), nzTpIcepk0o8('\x30' + chr(0b1101111) + '\060', 8), nzTpIcepk0o8(chr(0b110000 + 0o0) + chr(111) + '\060', 8)], [RYdkBUje3R81, RYdkBUje3R81, o3SuW33uOWrs, o3SuW33uOWrs, RYdkBUje3R81], roI3spqORKae(ES5oEprVxulp(b'T\xd5'), chr(4692 - 4592) + '\x65' + chr(0b1100011) + chr(7374 - 7263) + chr(0b1100100) + '\145')(chr(0b1110101) + chr(0b1110100) + '\x66' + chr(1916 - 1871) + chr(0b11011 + 0o35)))
PovpLx9Ei7oG = zKeNdjqvSKqz.twinx()
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'F\x94t\xe0K\xab'), chr(0b1100100) + chr(6472 - 6371) + '\143' + chr(2652 - 2541) + chr(100) + chr(101))('\x75' + '\164' + chr(7293 - 7191) + chr(733 - 688) + '\070'))(roI3spqORKae(ES5oEprVxulp(b'~\x9fp\xa2\x06\x8a\xb3$\xc1H'), chr(0b1100100) + '\145' + chr(0b1001100 + 0o27) + chr(111) + chr(100) + chr(0b1100 + 0o131))(chr(11058 - 10941) + '\x74' + '\146' + '\055' + '\070') + TLcnrOQdCE7h)
for B6UAF1zReOyJ in bbT2xIe5pzk7(ftfygxgFas5X(A8LL0bmD6sPU) - nzTpIcepk0o8('\x30' + '\x6f' + chr(49), 8)):
teUmM7cKWZUa = A8LL0bmD6sPU[B6UAF1zReOyJ]
M1dCZq3nHIsq = A8LL0bmD6sPU[B6UAF1zReOyJ + nzTpIcepk0o8('\060' + chr(0b1101111) + '\x31', 8)]
vPPlOXQgR3SM = M1dCZq3nHIsq[nzTpIcepk0o8(chr(48) + '\157' + '\061', 8)] - SVfYwQaP38MC(M1dCZq3nHIsq[nzTpIcepk0o8('\060' + '\157' + chr(49), 8)] - teUmM7cKWZUa[nzTpIcepk0o8('\060' + chr(4566 - 4455) + chr(0b110001), 8)], 3.0)
if vPPlOXQgR3SM >= RYdkBUje3R81 and vPPlOXQgR3SM < o3SuW33uOWrs:
roI3spqORKae(PovpLx9Ei7oG, roI3spqORKae(ES5oEprVxulp(b'O\x94z\xf6'), chr(0b1100100) + chr(0b1010001 + 0o24) + '\x63' + chr(0b1101111) + '\x64' + '\145')(chr(117) + '\x74' + chr(0b1100000 + 0o6) + chr(0b101101) + chr(0b11110 + 0o32)))([nzTpIcepk0o8(chr(1592 - 1544) + chr(111) + chr(49), 8), 1.5], [teUmM7cKWZUa[nzTpIcepk0o8('\060' + '\x6f' + chr(0b10000 + 0o41), 8)], teUmM7cKWZUa[nzTpIcepk0o8(chr(0b100111 + 0o11) + '\157' + '\061', 8)]], roI3spqORKae(ES5oEprVxulp(b'T\xd5'), chr(100) + chr(101) + '\x63' + '\x6f' + chr(100) + chr(0b1010000 + 0o25))(chr(0b1110101) + chr(116) + '\146' + chr(0b10000 + 0o35) + chr(0b100 + 0o64)))
roI3spqORKae(PovpLx9Ei7oG, roI3spqORKae(ES5oEprVxulp(b'\\\x88F\xf6E\xf0\xb1T\xca<k\x99'), chr(100) + '\145' + '\143' + chr(2598 - 2487) + chr(0b0 + 0o144) + chr(3663 - 3562))(chr(3038 - 2921) + '\x74' + chr(7743 - 7641) + chr(0b101101) + chr(1622 - 1566)))(1.05, vPPlOXQgR3SM, teUmM7cKWZUa[nzTpIcepk0o8(chr(661 - 613) + chr(910 - 799) + chr(0b110000), 8)])
roI3spqORKae(PovpLx9Ei7oG, roI3spqORKae(ES5oEprVxulp(b'u\xbc,\xb2\x1c\xb7\xa4t\xb8$i\xcc'), '\144' + chr(0b1100101) + chr(0b111101 + 0o46) + chr(111) + '\144' + chr(4922 - 4821))(chr(997 - 880) + chr(0b101101 + 0o107) + '\x66' + '\055' + chr(0b111000)))([-0.25, 1.5, o3SuW33uOWrs, RYdkBUje3R81])
xJavm5QUxHPO = y87dwGy_Qoj4 + roI3spqORKae(ES5oEprVxulp(b'`\x95/\xdd'), chr(3386 - 3286) + chr(10180 - 10079) + '\143' + chr(0b1101111) + chr(3129 - 3029) + chr(0b1100101))(chr(0b1110101) + chr(3872 - 3756) + chr(102) + '\x2d' + chr(0b1101 + 0o53)) + e5rcHW8hR5dL + roI3spqORKae(ES5oEprVxulp(b'`\x9bz\xf0K\xea\xb6h\x8b\x1cI\x8d\x94\xb9\xbb\xcb'), '\144' + chr(0b10111 + 0o116) + '\x63' + chr(9169 - 9058) + '\x64' + chr(3568 - 3467))(chr(117) + chr(0b101100 + 0o110) + '\x66' + chr(0b101101) + chr(781 - 725)) + JummcHpaNLEw
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'p\xb7%\xf6|\x90\xebl\x917Y\x95'), chr(1654 - 1554) + '\145' + '\x63' + chr(111) + chr(0b1100100) + chr(0b101001 + 0o74))(chr(117) + chr(116) + chr(9411 - 9309) + '\055' + chr(0b111000)))(y87dwGy_Qoj4)
return (CIb4KLJ7bueR, xJavm5QUxHPO)
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
download_magic
|
def download_magic(infile, dir_path='.', input_dir_path='',
overwrite=False, print_progress=True,
data_model=3., separate_locs=False):
"""
takes the name of a text file downloaded from the MagIC database and
unpacks it into magic-formatted files. by default, download_magic assumes
that you are doing everything in your current directory. if not, you may
provide optional arguments dir_path (where you want the results to go) and
input_dir_path (where the downloaded file is IF that location is different from
dir_path).
Parameters
----------
infile : str
MagIC-format file to unpack
dir_path : str
output directory (default ".")
input_dir_path : str, default ""
path for intput file if different from output_dir_path (default is same)
overwrite: bool
overwrite current directory (default False)
print_progress: bool
verbose output (default True)
data_model : float
MagIC data model 2.5 or 3 (default 3)
separate_locs : bool
create a separate directory for each location (Location_*)
(default False)
"""
if data_model == 2.5:
method_col = "magic_method_codes"
else:
method_col = "method_codes"
input_dir_path, dir_path = pmag.fix_directories(input_dir_path, dir_path)
infile = pmag.resolve_file_name(infile, input_dir_path)
# try to deal reasonably with unicode errors
try:
f = codecs.open(infile, 'r', "utf-8")
infile = f.readlines()
except UnicodeDecodeError:
f = codecs.open(infile, 'r', "Latin-1")
infile = f.readlines()
f.close()
File = [] # will contain all non-blank lines from downloaded file
for line in infile:
line = line.replace('\n', '')
if line[0:4] == '>>>>' or len(line.strip()) > 0: # skip blank lines
File.append(line)
LN = 0 # tracks our progress iterating through File
type_list = []
filenum = 0
while LN < len(File) - 1:
line = File[LN]
if ">>>>" in line:
LN += 1
continue
file_type = line.split('\t')[1]
file_type = file_type.lower()
if file_type[-1] == "\n":
file_type = file_type[:-1]
if print_progress == True:
print('working on: ', repr(file_type))
if file_type not in type_list:
type_list.append(file_type)
else:
filenum += 1
LN += 1
line = File[LN]
# skip empty tables
if line == ">>>>>>>>>>":
LN += 1
continue
keys = line.replace('\n', '').split('\t')
if keys[0][0] == '.':
keys = line.replace('\n', '').replace('.', '').split('\t')
keys.append('RecNo') # cludge for new MagIC download format
LN += 1
Recs = []
while LN < len(File):
line = File[LN]
# finish up one file type and then break
if ">>>>" in line and len(Recs) > 0:
if filenum == 0:
outfile = os.path.join(dir_path, file_type.strip() + '.txt')
else:
outfile = os.path.join(dir_path, file_type.strip() + '_' + str(filenum) + '.txt')
NewRecs = []
for rec in Recs:
if method_col in list(rec.keys()):
meths = rec[method_col].split(":")
if len(meths) > 0:
methods = ""
for meth in meths:
methods = methods + meth.strip() + ":" # get rid of nasty spaces!!!!!!
rec[method_col] = methods[:-1]
NewRecs.append(rec)
pmag.magic_write(outfile, Recs, file_type)
if print_progress == True:
print(file_type, " data put in ", outfile)
Recs = []
LN += 1
break
# keep adding records of the same file type
else:
rec = line.split('\t')
Rec = {}
if len(rec) == len(keys):
for k in range(len(rec)):
Rec[keys[k]] = rec[k]
Recs.append(Rec)
# in case of magic_search_results.txt, which has an extra
# column:
elif len(rec) - len(keys) == 1:
for k in range(len(rec))[:-1]:
Rec[keys[k]] = rec[k]
Recs.append(Rec)
elif len(rec) < len(keys):
for k in range(len(rec)):
Rec[keys[k]] = rec[k]
for k in range(len(rec), len(keys)):
Rec[keys[k]] = ""
Recs.append(Rec)
else:
print('WARNING: problem in file with line: ')
print(line)
print('skipping....')
LN += 1
if len(Recs) > 0:
if filenum == 0:
outfile = os.path.join(dir_path, file_type.strip() + '.txt')
else:
outfile = os.path.join(dir_path, file_type.strip() + '_' + str(filenum) + '.txt')
NewRecs = []
for rec in Recs:
if method_col in list(rec.keys()):
meths = rec[method_col].split(":")
if len(meths) > 0:
methods = ""
for meth in meths:
methods = methods + meth.strip() + ":" # get rid of nasty spaces!!!!!!
rec[method_col] = methods[:-1]
NewRecs.append(rec)
pmag.magic_write(outfile, Recs, file_type)
if print_progress == True:
print(file_type, " data put in ", outfile)
# look through locations table and create separate directories for each
# location
if separate_locs:
con = cb.Contribution(dir_path)
con.propagate_location_to_measurements()
con.propagate_name_down('location', 'samples')
for dtype in con.tables:
con.write_table_to_file(dtype)
locs, locnum = [], 1
if 'locations' in type_list:
locs, file_type = pmag.magic_read(
os.path.join(dir_path, 'locations.txt'))
if len(locs) > 0: # at least one location
# go through unique location names
for loc_name in set([loc.get('location') for loc in locs]):
if print_progress == True:
print('location_' + str(locnum) + ": ", loc_name)
lpath = os.path.join(dir_path, 'Location_' + str(locnum))
locnum += 1
try:
os.mkdir(lpath)
except:
print('directory ', lpath,
' already exists - overwriting everything: {}'.format(overwrite))
if not overwrite:
print("-W- download_magic encountered a duplicate subdirectory ({}) and could not finish.\nRerun with overwrite=True, or unpack this file in a different directory.".format(lpath))
return False
for f in type_list:
fname = os.path.join(dir_path, f + '.txt')
if print_progress == True:
print('unpacking: ', fname)
recs, file_type = pmag.magic_read(fname)
if print_progress == True:
print(len(recs), ' read in')
lrecs = pmag.get_dictitem(recs, 'location', loc_name, 'T')
if len(lrecs) > 0:
outfile_name = os.path.join(lpath, f + ".txt")
pmag.magic_write(outfile_name, lrecs, file_type)
if print_progress == True:
print(len(lrecs), ' stored in ', outfile_name)
return True
|
python
|
def download_magic(infile, dir_path='.', input_dir_path='',
overwrite=False, print_progress=True,
data_model=3., separate_locs=False):
"""
takes the name of a text file downloaded from the MagIC database and
unpacks it into magic-formatted files. by default, download_magic assumes
that you are doing everything in your current directory. if not, you may
provide optional arguments dir_path (where you want the results to go) and
input_dir_path (where the downloaded file is IF that location is different from
dir_path).
Parameters
----------
infile : str
MagIC-format file to unpack
dir_path : str
output directory (default ".")
input_dir_path : str, default ""
path for intput file if different from output_dir_path (default is same)
overwrite: bool
overwrite current directory (default False)
print_progress: bool
verbose output (default True)
data_model : float
MagIC data model 2.5 or 3 (default 3)
separate_locs : bool
create a separate directory for each location (Location_*)
(default False)
"""
if data_model == 2.5:
method_col = "magic_method_codes"
else:
method_col = "method_codes"
input_dir_path, dir_path = pmag.fix_directories(input_dir_path, dir_path)
infile = pmag.resolve_file_name(infile, input_dir_path)
# try to deal reasonably with unicode errors
try:
f = codecs.open(infile, 'r', "utf-8")
infile = f.readlines()
except UnicodeDecodeError:
f = codecs.open(infile, 'r', "Latin-1")
infile = f.readlines()
f.close()
File = [] # will contain all non-blank lines from downloaded file
for line in infile:
line = line.replace('\n', '')
if line[0:4] == '>>>>' or len(line.strip()) > 0: # skip blank lines
File.append(line)
LN = 0 # tracks our progress iterating through File
type_list = []
filenum = 0
while LN < len(File) - 1:
line = File[LN]
if ">>>>" in line:
LN += 1
continue
file_type = line.split('\t')[1]
file_type = file_type.lower()
if file_type[-1] == "\n":
file_type = file_type[:-1]
if print_progress == True:
print('working on: ', repr(file_type))
if file_type not in type_list:
type_list.append(file_type)
else:
filenum += 1
LN += 1
line = File[LN]
# skip empty tables
if line == ">>>>>>>>>>":
LN += 1
continue
keys = line.replace('\n', '').split('\t')
if keys[0][0] == '.':
keys = line.replace('\n', '').replace('.', '').split('\t')
keys.append('RecNo') # cludge for new MagIC download format
LN += 1
Recs = []
while LN < len(File):
line = File[LN]
# finish up one file type and then break
if ">>>>" in line and len(Recs) > 0:
if filenum == 0:
outfile = os.path.join(dir_path, file_type.strip() + '.txt')
else:
outfile = os.path.join(dir_path, file_type.strip() + '_' + str(filenum) + '.txt')
NewRecs = []
for rec in Recs:
if method_col in list(rec.keys()):
meths = rec[method_col].split(":")
if len(meths) > 0:
methods = ""
for meth in meths:
methods = methods + meth.strip() + ":" # get rid of nasty spaces!!!!!!
rec[method_col] = methods[:-1]
NewRecs.append(rec)
pmag.magic_write(outfile, Recs, file_type)
if print_progress == True:
print(file_type, " data put in ", outfile)
Recs = []
LN += 1
break
# keep adding records of the same file type
else:
rec = line.split('\t')
Rec = {}
if len(rec) == len(keys):
for k in range(len(rec)):
Rec[keys[k]] = rec[k]
Recs.append(Rec)
# in case of magic_search_results.txt, which has an extra
# column:
elif len(rec) - len(keys) == 1:
for k in range(len(rec))[:-1]:
Rec[keys[k]] = rec[k]
Recs.append(Rec)
elif len(rec) < len(keys):
for k in range(len(rec)):
Rec[keys[k]] = rec[k]
for k in range(len(rec), len(keys)):
Rec[keys[k]] = ""
Recs.append(Rec)
else:
print('WARNING: problem in file with line: ')
print(line)
print('skipping....')
LN += 1
if len(Recs) > 0:
if filenum == 0:
outfile = os.path.join(dir_path, file_type.strip() + '.txt')
else:
outfile = os.path.join(dir_path, file_type.strip() + '_' + str(filenum) + '.txt')
NewRecs = []
for rec in Recs:
if method_col in list(rec.keys()):
meths = rec[method_col].split(":")
if len(meths) > 0:
methods = ""
for meth in meths:
methods = methods + meth.strip() + ":" # get rid of nasty spaces!!!!!!
rec[method_col] = methods[:-1]
NewRecs.append(rec)
pmag.magic_write(outfile, Recs, file_type)
if print_progress == True:
print(file_type, " data put in ", outfile)
# look through locations table and create separate directories for each
# location
if separate_locs:
con = cb.Contribution(dir_path)
con.propagate_location_to_measurements()
con.propagate_name_down('location', 'samples')
for dtype in con.tables:
con.write_table_to_file(dtype)
locs, locnum = [], 1
if 'locations' in type_list:
locs, file_type = pmag.magic_read(
os.path.join(dir_path, 'locations.txt'))
if len(locs) > 0: # at least one location
# go through unique location names
for loc_name in set([loc.get('location') for loc in locs]):
if print_progress == True:
print('location_' + str(locnum) + ": ", loc_name)
lpath = os.path.join(dir_path, 'Location_' + str(locnum))
locnum += 1
try:
os.mkdir(lpath)
except:
print('directory ', lpath,
' already exists - overwriting everything: {}'.format(overwrite))
if not overwrite:
print("-W- download_magic encountered a duplicate subdirectory ({}) and could not finish.\nRerun with overwrite=True, or unpack this file in a different directory.".format(lpath))
return False
for f in type_list:
fname = os.path.join(dir_path, f + '.txt')
if print_progress == True:
print('unpacking: ', fname)
recs, file_type = pmag.magic_read(fname)
if print_progress == True:
print(len(recs), ' read in')
lrecs = pmag.get_dictitem(recs, 'location', loc_name, 'T')
if len(lrecs) > 0:
outfile_name = os.path.join(lpath, f + ".txt")
pmag.magic_write(outfile_name, lrecs, file_type)
if print_progress == True:
print(len(lrecs), ' stored in ', outfile_name)
return True
|
[
"def",
"download_magic",
"(",
"infile",
",",
"dir_path",
"=",
"'.'",
",",
"input_dir_path",
"=",
"''",
",",
"overwrite",
"=",
"False",
",",
"print_progress",
"=",
"True",
",",
"data_model",
"=",
"3.",
",",
"separate_locs",
"=",
"False",
")",
":",
"if",
"data_model",
"==",
"2.5",
":",
"method_col",
"=",
"\"magic_method_codes\"",
"else",
":",
"method_col",
"=",
"\"method_codes\"",
"input_dir_path",
",",
"dir_path",
"=",
"pmag",
".",
"fix_directories",
"(",
"input_dir_path",
",",
"dir_path",
")",
"infile",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"infile",
",",
"input_dir_path",
")",
"# try to deal reasonably with unicode errors",
"try",
":",
"f",
"=",
"codecs",
".",
"open",
"(",
"infile",
",",
"'r'",
",",
"\"utf-8\"",
")",
"infile",
"=",
"f",
".",
"readlines",
"(",
")",
"except",
"UnicodeDecodeError",
":",
"f",
"=",
"codecs",
".",
"open",
"(",
"infile",
",",
"'r'",
",",
"\"Latin-1\"",
")",
"infile",
"=",
"f",
".",
"readlines",
"(",
")",
"f",
".",
"close",
"(",
")",
"File",
"=",
"[",
"]",
"# will contain all non-blank lines from downloaded file",
"for",
"line",
"in",
"infile",
":",
"line",
"=",
"line",
".",
"replace",
"(",
"'\\n'",
",",
"''",
")",
"if",
"line",
"[",
"0",
":",
"4",
"]",
"==",
"'>>>>'",
"or",
"len",
"(",
"line",
".",
"strip",
"(",
")",
")",
">",
"0",
":",
"# skip blank lines",
"File",
".",
"append",
"(",
"line",
")",
"LN",
"=",
"0",
"# tracks our progress iterating through File",
"type_list",
"=",
"[",
"]",
"filenum",
"=",
"0",
"while",
"LN",
"<",
"len",
"(",
"File",
")",
"-",
"1",
":",
"line",
"=",
"File",
"[",
"LN",
"]",
"if",
"\">>>>\"",
"in",
"line",
":",
"LN",
"+=",
"1",
"continue",
"file_type",
"=",
"line",
".",
"split",
"(",
"'\\t'",
")",
"[",
"1",
"]",
"file_type",
"=",
"file_type",
".",
"lower",
"(",
")",
"if",
"file_type",
"[",
"-",
"1",
"]",
"==",
"\"\\n\"",
":",
"file_type",
"=",
"file_type",
"[",
":",
"-",
"1",
"]",
"if",
"print_progress",
"==",
"True",
":",
"print",
"(",
"'working on: '",
",",
"repr",
"(",
"file_type",
")",
")",
"if",
"file_type",
"not",
"in",
"type_list",
":",
"type_list",
".",
"append",
"(",
"file_type",
")",
"else",
":",
"filenum",
"+=",
"1",
"LN",
"+=",
"1",
"line",
"=",
"File",
"[",
"LN",
"]",
"# skip empty tables",
"if",
"line",
"==",
"\">>>>>>>>>>\"",
":",
"LN",
"+=",
"1",
"continue",
"keys",
"=",
"line",
".",
"replace",
"(",
"'\\n'",
",",
"''",
")",
".",
"split",
"(",
"'\\t'",
")",
"if",
"keys",
"[",
"0",
"]",
"[",
"0",
"]",
"==",
"'.'",
":",
"keys",
"=",
"line",
".",
"replace",
"(",
"'\\n'",
",",
"''",
")",
".",
"replace",
"(",
"'.'",
",",
"''",
")",
".",
"split",
"(",
"'\\t'",
")",
"keys",
".",
"append",
"(",
"'RecNo'",
")",
"# cludge for new MagIC download format",
"LN",
"+=",
"1",
"Recs",
"=",
"[",
"]",
"while",
"LN",
"<",
"len",
"(",
"File",
")",
":",
"line",
"=",
"File",
"[",
"LN",
"]",
"# finish up one file type and then break",
"if",
"\">>>>\"",
"in",
"line",
"and",
"len",
"(",
"Recs",
")",
">",
"0",
":",
"if",
"filenum",
"==",
"0",
":",
"outfile",
"=",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"file_type",
".",
"strip",
"(",
")",
"+",
"'.txt'",
")",
"else",
":",
"outfile",
"=",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"file_type",
".",
"strip",
"(",
")",
"+",
"'_'",
"+",
"str",
"(",
"filenum",
")",
"+",
"'.txt'",
")",
"NewRecs",
"=",
"[",
"]",
"for",
"rec",
"in",
"Recs",
":",
"if",
"method_col",
"in",
"list",
"(",
"rec",
".",
"keys",
"(",
")",
")",
":",
"meths",
"=",
"rec",
"[",
"method_col",
"]",
".",
"split",
"(",
"\":\"",
")",
"if",
"len",
"(",
"meths",
")",
">",
"0",
":",
"methods",
"=",
"\"\"",
"for",
"meth",
"in",
"meths",
":",
"methods",
"=",
"methods",
"+",
"meth",
".",
"strip",
"(",
")",
"+",
"\":\"",
"# get rid of nasty spaces!!!!!!",
"rec",
"[",
"method_col",
"]",
"=",
"methods",
"[",
":",
"-",
"1",
"]",
"NewRecs",
".",
"append",
"(",
"rec",
")",
"pmag",
".",
"magic_write",
"(",
"outfile",
",",
"Recs",
",",
"file_type",
")",
"if",
"print_progress",
"==",
"True",
":",
"print",
"(",
"file_type",
",",
"\" data put in \"",
",",
"outfile",
")",
"Recs",
"=",
"[",
"]",
"LN",
"+=",
"1",
"break",
"# keep adding records of the same file type",
"else",
":",
"rec",
"=",
"line",
".",
"split",
"(",
"'\\t'",
")",
"Rec",
"=",
"{",
"}",
"if",
"len",
"(",
"rec",
")",
"==",
"len",
"(",
"keys",
")",
":",
"for",
"k",
"in",
"range",
"(",
"len",
"(",
"rec",
")",
")",
":",
"Rec",
"[",
"keys",
"[",
"k",
"]",
"]",
"=",
"rec",
"[",
"k",
"]",
"Recs",
".",
"append",
"(",
"Rec",
")",
"# in case of magic_search_results.txt, which has an extra",
"# column:",
"elif",
"len",
"(",
"rec",
")",
"-",
"len",
"(",
"keys",
")",
"==",
"1",
":",
"for",
"k",
"in",
"range",
"(",
"len",
"(",
"rec",
")",
")",
"[",
":",
"-",
"1",
"]",
":",
"Rec",
"[",
"keys",
"[",
"k",
"]",
"]",
"=",
"rec",
"[",
"k",
"]",
"Recs",
".",
"append",
"(",
"Rec",
")",
"elif",
"len",
"(",
"rec",
")",
"<",
"len",
"(",
"keys",
")",
":",
"for",
"k",
"in",
"range",
"(",
"len",
"(",
"rec",
")",
")",
":",
"Rec",
"[",
"keys",
"[",
"k",
"]",
"]",
"=",
"rec",
"[",
"k",
"]",
"for",
"k",
"in",
"range",
"(",
"len",
"(",
"rec",
")",
",",
"len",
"(",
"keys",
")",
")",
":",
"Rec",
"[",
"keys",
"[",
"k",
"]",
"]",
"=",
"\"\"",
"Recs",
".",
"append",
"(",
"Rec",
")",
"else",
":",
"print",
"(",
"'WARNING: problem in file with line: '",
")",
"print",
"(",
"line",
")",
"print",
"(",
"'skipping....'",
")",
"LN",
"+=",
"1",
"if",
"len",
"(",
"Recs",
")",
">",
"0",
":",
"if",
"filenum",
"==",
"0",
":",
"outfile",
"=",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"file_type",
".",
"strip",
"(",
")",
"+",
"'.txt'",
")",
"else",
":",
"outfile",
"=",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"file_type",
".",
"strip",
"(",
")",
"+",
"'_'",
"+",
"str",
"(",
"filenum",
")",
"+",
"'.txt'",
")",
"NewRecs",
"=",
"[",
"]",
"for",
"rec",
"in",
"Recs",
":",
"if",
"method_col",
"in",
"list",
"(",
"rec",
".",
"keys",
"(",
")",
")",
":",
"meths",
"=",
"rec",
"[",
"method_col",
"]",
".",
"split",
"(",
"\":\"",
")",
"if",
"len",
"(",
"meths",
")",
">",
"0",
":",
"methods",
"=",
"\"\"",
"for",
"meth",
"in",
"meths",
":",
"methods",
"=",
"methods",
"+",
"meth",
".",
"strip",
"(",
")",
"+",
"\":\"",
"# get rid of nasty spaces!!!!!!",
"rec",
"[",
"method_col",
"]",
"=",
"methods",
"[",
":",
"-",
"1",
"]",
"NewRecs",
".",
"append",
"(",
"rec",
")",
"pmag",
".",
"magic_write",
"(",
"outfile",
",",
"Recs",
",",
"file_type",
")",
"if",
"print_progress",
"==",
"True",
":",
"print",
"(",
"file_type",
",",
"\" data put in \"",
",",
"outfile",
")",
"# look through locations table and create separate directories for each",
"# location",
"if",
"separate_locs",
":",
"con",
"=",
"cb",
".",
"Contribution",
"(",
"dir_path",
")",
"con",
".",
"propagate_location_to_measurements",
"(",
")",
"con",
".",
"propagate_name_down",
"(",
"'location'",
",",
"'samples'",
")",
"for",
"dtype",
"in",
"con",
".",
"tables",
":",
"con",
".",
"write_table_to_file",
"(",
"dtype",
")",
"locs",
",",
"locnum",
"=",
"[",
"]",
",",
"1",
"if",
"'locations'",
"in",
"type_list",
":",
"locs",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"'locations.txt'",
")",
")",
"if",
"len",
"(",
"locs",
")",
">",
"0",
":",
"# at least one location",
"# go through unique location names",
"for",
"loc_name",
"in",
"set",
"(",
"[",
"loc",
".",
"get",
"(",
"'location'",
")",
"for",
"loc",
"in",
"locs",
"]",
")",
":",
"if",
"print_progress",
"==",
"True",
":",
"print",
"(",
"'location_'",
"+",
"str",
"(",
"locnum",
")",
"+",
"\": \"",
",",
"loc_name",
")",
"lpath",
"=",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"'Location_'",
"+",
"str",
"(",
"locnum",
")",
")",
"locnum",
"+=",
"1",
"try",
":",
"os",
".",
"mkdir",
"(",
"lpath",
")",
"except",
":",
"print",
"(",
"'directory '",
",",
"lpath",
",",
"' already exists - overwriting everything: {}'",
".",
"format",
"(",
"overwrite",
")",
")",
"if",
"not",
"overwrite",
":",
"print",
"(",
"\"-W- download_magic encountered a duplicate subdirectory ({}) and could not finish.\\nRerun with overwrite=True, or unpack this file in a different directory.\"",
".",
"format",
"(",
"lpath",
")",
")",
"return",
"False",
"for",
"f",
"in",
"type_list",
":",
"fname",
"=",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"f",
"+",
"'.txt'",
")",
"if",
"print_progress",
"==",
"True",
":",
"print",
"(",
"'unpacking: '",
",",
"fname",
")",
"recs",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"fname",
")",
"if",
"print_progress",
"==",
"True",
":",
"print",
"(",
"len",
"(",
"recs",
")",
",",
"' read in'",
")",
"lrecs",
"=",
"pmag",
".",
"get_dictitem",
"(",
"recs",
",",
"'location'",
",",
"loc_name",
",",
"'T'",
")",
"if",
"len",
"(",
"lrecs",
")",
">",
"0",
":",
"outfile_name",
"=",
"os",
".",
"path",
".",
"join",
"(",
"lpath",
",",
"f",
"+",
"\".txt\"",
")",
"pmag",
".",
"magic_write",
"(",
"outfile_name",
",",
"lrecs",
",",
"file_type",
")",
"if",
"print_progress",
"==",
"True",
":",
"print",
"(",
"len",
"(",
"lrecs",
")",
",",
"' stored in '",
",",
"outfile_name",
")",
"return",
"True"
] |
takes the name of a text file downloaded from the MagIC database and
unpacks it into magic-formatted files. by default, download_magic assumes
that you are doing everything in your current directory. if not, you may
provide optional arguments dir_path (where you want the results to go) and
input_dir_path (where the downloaded file is IF that location is different from
dir_path).
Parameters
----------
infile : str
MagIC-format file to unpack
dir_path : str
output directory (default ".")
input_dir_path : str, default ""
path for intput file if different from output_dir_path (default is same)
overwrite: bool
overwrite current directory (default False)
print_progress: bool
verbose output (default True)
data_model : float
MagIC data model 2.5 or 3 (default 3)
separate_locs : bool
create a separate directory for each location (Location_*)
(default False)
|
[
"takes",
"the",
"name",
"of",
"a",
"text",
"file",
"downloaded",
"from",
"the",
"MagIC",
"database",
"and",
"unpacks",
"it",
"into",
"magic",
"-",
"formatted",
"files",
".",
"by",
"default",
"download_magic",
"assumes",
"that",
"you",
"are",
"doing",
"everything",
"in",
"your",
"current",
"directory",
".",
"if",
"not",
"you",
"may",
"provide",
"optional",
"arguments",
"dir_path",
"(",
"where",
"you",
"want",
"the",
"results",
"to",
"go",
")",
"and",
"input_dir_path",
"(",
"where",
"the",
"downloaded",
"file",
"is",
"IF",
"that",
"location",
"is",
"different",
"from",
"dir_path",
")",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L4059-L4245
|
train
|
Download a magic file into a new directory.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(1499 - 1451) + chr(10137 - 10026) + chr(787 - 736) + '\063' + '\061', ord("\x08")), nzTpIcepk0o8('\060' + chr(7673 - 7562) + '\062' + chr(0b100111 + 0o20) + '\x35', 0b1000), nzTpIcepk0o8(chr(48) + chr(6261 - 6150) + chr(50) + chr(50) + '\067', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b101010 + 0o11) + '\060', 64293 - 64285), nzTpIcepk0o8(chr(48) + chr(111) + chr(50) + '\x36' + chr(51), 0b1000), nzTpIcepk0o8(chr(0b100011 + 0o15) + chr(9434 - 9323) + '\061' + chr(0b101100 + 0o12), 0o10), nzTpIcepk0o8('\x30' + '\x6f' + chr(50) + '\x33' + chr(0b1011 + 0o52), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b100000 + 0o22) + chr(54), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1011001 + 0o26) + '\063' + chr(873 - 824) + '\067', 0b1000), nzTpIcepk0o8(chr(131 - 83) + chr(0b1101111) + chr(0b1110 + 0o44) + chr(0b110010) + '\x34', 0b1000), nzTpIcepk0o8('\x30' + '\157' + chr(2895 - 2840) + '\x32', 0o10), nzTpIcepk0o8(chr(1107 - 1059) + chr(0b1001001 + 0o46) + '\x32' + chr(0b11 + 0o61) + '\x35', 0b1000), nzTpIcepk0o8(chr(1583 - 1535) + '\x6f' + chr(51) + chr(0b110000 + 0o2) + '\x32', 13297 - 13289), nzTpIcepk0o8(chr(0b110000) + chr(0b10111 + 0o130) + '\067' + chr(2183 - 2134), ord("\x08")), nzTpIcepk0o8(chr(0b100011 + 0o15) + '\157' + '\061' + chr(51), 15394 - 15386), nzTpIcepk0o8('\x30' + '\x6f' + '\x33' + '\063' + chr(49), 8), nzTpIcepk0o8(chr(0b100000 + 0o20) + '\157' + chr(1564 - 1514) + chr(50) + chr(0b110111), 8), nzTpIcepk0o8(chr(48) + '\157' + '\062' + chr(938 - 889) + '\x37', ord("\x08")), nzTpIcepk0o8('\x30' + chr(1497 - 1386) + chr(830 - 779) + chr(113 - 60) + chr(51), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1000 + 0o147) + chr(50) + '\060' + chr(0b110101), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(53) + '\x35', 8111 - 8103), nzTpIcepk0o8(chr(2062 - 2014) + '\x6f' + chr(50) + chr(52), ord("\x08")), nzTpIcepk0o8(chr(48) + '\157' + '\063' + '\x36' + chr(0b110101), 0o10), nzTpIcepk0o8(chr(48) + '\157' + chr(0b110001) + chr(638 - 584) + chr(0b100110 + 0o15), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1100101 + 0o12) + '\065' + chr(0b101001 + 0o15), 28565 - 28557), nzTpIcepk0o8('\x30' + chr(0b1000110 + 0o51) + chr(73 - 23) + chr(0b110101) + chr(738 - 689), ord("\x08")), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(600 - 546) + '\x31', 46431 - 46423), nzTpIcepk0o8(chr(48) + chr(111) + chr(49) + chr(48) + '\067', 0b1000), nzTpIcepk0o8(chr(48) + '\157' + chr(1625 - 1576) + chr(51) + chr(0b1 + 0o65), 0o10), nzTpIcepk0o8(chr(48) + chr(7483 - 7372) + '\061' + chr(0b1001 + 0o51) + chr(0b110011), ord("\x08")), nzTpIcepk0o8('\x30' + chr(111) + chr(1258 - 1208) + chr(2409 - 2355) + chr(0b110001), ord("\x08")), nzTpIcepk0o8(chr(145 - 97) + chr(111) + '\061' + '\x31' + chr(0b1101 + 0o47), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b100011 + 0o114) + chr(50) + chr(0b110101) + chr(0b110001), 8), nzTpIcepk0o8(chr(0b110000) + chr(0b1100 + 0o143) + '\062' + chr(54) + '\x36', 0o10), nzTpIcepk0o8(chr(127 - 79) + chr(0b1000010 + 0o55) + chr(49) + chr(2366 - 2316) + '\x33', 8), nzTpIcepk0o8(chr(0b110000 + 0o0) + chr(0b1101111) + chr(0b10011 + 0o36) + '\x34' + '\065', 0o10), nzTpIcepk0o8(chr(0b110000 + 0o0) + '\157' + chr(51) + chr(0b110011), 6577 - 6569), nzTpIcepk0o8(chr(479 - 431) + chr(111) + chr(0b110011) + '\x36' + chr(0b10110 + 0o33), ord("\x08")), nzTpIcepk0o8(chr(48) + '\x6f' + chr(1517 - 1468) + '\066', 8), nzTpIcepk0o8('\060' + chr(11882 - 11771) + chr(1997 - 1947) + chr(583 - 532) + '\065', 8)][ZlbFMSG8gCoF % nzTpIcepk0o8('\060' + chr(111) + '\065' + chr(0b10011 + 0o35), ord("\x08"))] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xf7'), chr(100) + chr(101) + chr(0b1001100 + 0o27) + '\157' + chr(4856 - 4756) + chr(101))('\x75' + chr(4830 - 4714) + '\146' + '\055' + chr(56)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def MNfpffTUQSd5(XvbvbiHwSGUb, qjksZ7GK0xkJ=roI3spqORKae(ES5oEprVxulp(b'\xf7'), chr(0b10001 + 0o123) + '\145' + chr(0b101111 + 0o64) + '\x6f' + '\x64' + '\145')(chr(13395 - 13278) + '\x74' + '\x66' + chr(1533 - 1488) + '\070'), KADebXAR9grB=roI3spqORKae(ES5oEprVxulp(b''), '\144' + '\x65' + chr(0b1100011) + '\157' + chr(100) + '\145')(chr(0b111000 + 0o75) + chr(0b111010 + 0o72) + '\146' + '\055' + '\070'), JewFVgkSGnBd=nzTpIcepk0o8(chr(1898 - 1850) + chr(0b1001100 + 0o43) + '\060', ord("\x08")), ZzNkkrM3Te_Y=nzTpIcepk0o8(chr(0b101111 + 0o1) + chr(111) + '\061', 0b1000), ucvilvMnwW1d=3.0, tvxwHAec4US_=nzTpIcepk0o8('\060' + '\157' + '\060', 8)):
if ucvilvMnwW1d == 2.5:
QsNUlhBJ6Ac_ = roI3spqORKae(ES5oEprVxulp(b'\xb4\xdc\xf0q\xd0Q\xf0s\xbb\xfcU\xc1\x8dZd\xbd\xf2\xfc'), chr(0b1100100) + chr(5903 - 5802) + '\x63' + chr(10558 - 10447) + chr(446 - 346) + chr(101))(chr(117) + chr(116) + '\x66' + chr(0b101101) + chr(3007 - 2951))
else:
QsNUlhBJ6Ac_ = roI3spqORKae(ES5oEprVxulp(b'\xb4\xd8\xe3p\xdcj\xc2u\xa0\xf0_\xd6'), chr(0b1100100) + chr(101) + '\143' + '\157' + '\x64' + chr(101))(chr(9096 - 8979) + chr(0b10001 + 0o143) + '\x66' + chr(45) + chr(0b10101 + 0o43))
(KADebXAR9grB, qjksZ7GK0xkJ) = hUcsWwAd0nE_.fix_directories(KADebXAR9grB, qjksZ7GK0xkJ)
XvbvbiHwSGUb = hUcsWwAd0nE_.resolve_file_name(XvbvbiHwSGUb, KADebXAR9grB)
try:
_R8IKF5IwAfX = Hj8X5RtMNBIn.DnU3Rq9N5ala(XvbvbiHwSGUb, roI3spqORKae(ES5oEprVxulp(b'\xab'), chr(7778 - 7678) + chr(0b1100101) + '\x63' + '\x6f' + '\x64' + chr(0b100000 + 0o105))(chr(974 - 857) + chr(1731 - 1615) + chr(0b1100110) + '\x2d' + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xac\xc9\xf15\x8b'), chr(0b1100100) + chr(0b1100101) + chr(99) + '\157' + chr(100) + chr(0b1100101))(chr(4315 - 4198) + chr(116) + chr(0b1100110) + chr(45) + '\x38'))
XvbvbiHwSGUb = _R8IKF5IwAfX.TKmlmUjNQ4dY()
except pZy5DBJ8WJod:
_R8IKF5IwAfX = Hj8X5RtMNBIn.DnU3Rq9N5ala(XvbvbiHwSGUb, roI3spqORKae(ES5oEprVxulp(b'\xab'), chr(5002 - 4902) + chr(0b1100101) + chr(99) + chr(0b1101111) + chr(2066 - 1966) + chr(0b1100101))(chr(0b1110101) + chr(8070 - 7954) + chr(7875 - 7773) + '\055' + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\x95\xdc\xe3q\xdd#\xac'), chr(0b1100100) + chr(0b1100101) + chr(0b1100011) + chr(0b1101111) + '\x64' + '\x65')(chr(0b110010 + 0o103) + '\164' + chr(102) + chr(0b100001 + 0o14) + '\070'))
XvbvbiHwSGUb = _R8IKF5IwAfX.TKmlmUjNQ4dY()
roI3spqORKae(_R8IKF5IwAfX, roI3spqORKae(ES5oEprVxulp(b'\x83\xd8\xe6/\xf0m\xfb/\x9a\xf0\x02\xcf'), chr(0b1100100) + '\x65' + chr(0b100011 + 0o100) + chr(1230 - 1119) + chr(2121 - 2021) + chr(2984 - 2883))(chr(0b1110101) + chr(116) + '\x66' + chr(0b101101) + '\070'))()
Y_vfANEB6QPx = []
for ffiOpFBWGmZU in XvbvbiHwSGUb:
ffiOpFBWGmZU = ffiOpFBWGmZU.E91dbqOZXBpJ(roI3spqORKae(ES5oEprVxulp(b'\xd3'), chr(0b1100100) + chr(0b1100101) + chr(99) + chr(0b1101111) + chr(100) + chr(101))('\x75' + '\x74' + '\146' + '\055' + chr(56)), roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(101) + '\143' + chr(111) + '\x64' + chr(1134 - 1033))(chr(0b1110101) + '\x74' + '\x66' + chr(45) + chr(3013 - 2957)))
if ffiOpFBWGmZU[nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110000), 8):nzTpIcepk0o8(chr(0b11101 + 0o23) + chr(111) + chr(52), 0b1000)] == roI3spqORKae(ES5oEprVxulp(b'\xe7\x83\xa9&'), chr(0b1100100) + chr(101) + chr(99) + chr(2005 - 1894) + chr(100) + chr(101))(chr(10097 - 9980) + '\164' + '\146' + '\055' + '\x38') or ftfygxgFas5X(roI3spqORKae(ffiOpFBWGmZU, roI3spqORKae(ES5oEprVxulp(b'\xb2\xd9\xde\\\xc1m\xeaL\x9b\xd7I\x90'), chr(0b11010 + 0o112) + chr(0b1001 + 0o134) + chr(5510 - 5411) + chr(1198 - 1087) + chr(8575 - 8475) + chr(1555 - 1454))('\165' + chr(116) + chr(0b10000 + 0o126) + chr(0b11111 + 0o16) + chr(56)))()) > nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(48), 8):
roI3spqORKae(Y_vfANEB6QPx, roI3spqORKae(ES5oEprVxulp(b'\x91\xe9\xc4,\xcbi\xday\xa5\xfbo\x90'), '\x64' + chr(0b1 + 0o144) + '\x63' + chr(0b1010110 + 0o31) + '\144' + '\145')(chr(0b1110101) + chr(0b1011101 + 0o27) + chr(0b101111 + 0o67) + chr(1607 - 1562) + '\x38'))(ffiOpFBWGmZU)
ACeiNjCbdM03 = nzTpIcepk0o8(chr(0b101111 + 0o1) + '\157' + chr(325 - 277), 8)
qKs_zvgWzBvq = []
CqklTmuPJ9LW = nzTpIcepk0o8(chr(0b10 + 0o56) + chr(0b1010000 + 0o37) + chr(1640 - 1592), 8)
while ACeiNjCbdM03 < ftfygxgFas5X(Y_vfANEB6QPx) - nzTpIcepk0o8(chr(0b1110 + 0o42) + chr(0b1101111) + chr(49), 8):
ffiOpFBWGmZU = Y_vfANEB6QPx[ACeiNjCbdM03]
if roI3spqORKae(ES5oEprVxulp(b'\xe7\x83\xa9&'), chr(0b1100100) + chr(0b1010100 + 0o21) + chr(9792 - 9693) + '\x6f' + '\144' + '\145')(chr(117) + chr(0b1110100) + chr(2409 - 2307) + chr(0b11011 + 0o22) + chr(667 - 611)) in ffiOpFBWGmZU:
ACeiNjCbdM03 += nzTpIcepk0o8(chr(914 - 866) + '\157' + chr(0b110001), 8)
continue
mWsDpG3yRGLz = ffiOpFBWGmZU.LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\xd0'), chr(0b1100100) + '\x65' + chr(426 - 327) + '\x6f' + chr(0b1100100) + chr(101))(chr(2161 - 2044) + chr(0b111000 + 0o74) + chr(0b1100110) + chr(0b101101) + chr(2561 - 2505)))[nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(49), 8)]
mWsDpG3yRGLz = mWsDpG3yRGLz.Xn8ENWMZdIRt()
if mWsDpG3yRGLz[-nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(1729 - 1680), 8)] == roI3spqORKae(ES5oEprVxulp(b'\xd3'), chr(0b100001 + 0o103) + '\x65' + '\x63' + chr(111) + '\x64' + '\x65')('\165' + '\164' + '\146' + chr(45) + chr(56)):
mWsDpG3yRGLz = mWsDpG3yRGLz[:-nzTpIcepk0o8(chr(0b110000) + chr(7393 - 7282) + chr(0b110001), 8)]
if ZzNkkrM3Te_Y:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xae\xd2\xe5s\xda`\xfa6\xa0\xfa\x00\x85'), chr(0b110110 + 0o56) + '\x65' + '\x63' + chr(111) + '\144' + '\x65')(chr(117) + chr(0b1110100) + chr(102) + '\x2d' + chr(682 - 626)), VWshwTzZfwvC(mWsDpG3yRGLz))
if mWsDpG3yRGLz not in qKs_zvgWzBvq:
roI3spqORKae(qKs_zvgWzBvq, roI3spqORKae(ES5oEprVxulp(b'\x91\xe9\xc4,\xcbi\xday\xa5\xfbo\x90'), chr(100) + chr(0b1100101) + chr(99) + '\157' + chr(0b1100100) + chr(0b1100101))(chr(7897 - 7780) + chr(0b110 + 0o156) + '\x66' + '\x2d' + chr(0b111000)))(mWsDpG3yRGLz)
else:
CqklTmuPJ9LW += nzTpIcepk0o8('\x30' + chr(0b10100 + 0o133) + chr(0b110001), 8)
ACeiNjCbdM03 += nzTpIcepk0o8(chr(0b110000) + chr(0b10010 + 0o135) + chr(0b110001), 8)
ffiOpFBWGmZU = Y_vfANEB6QPx[ACeiNjCbdM03]
if ffiOpFBWGmZU == roI3spqORKae(ES5oEprVxulp(b'\xe7\x83\xa9&\x8d0\xa3(\xf1\xaa'), chr(1378 - 1278) + chr(4118 - 4017) + chr(99) + chr(111) + chr(0b1100100) + '\145')('\165' + chr(0b101101 + 0o107) + chr(102) + chr(0b101101) + chr(0b111000)):
ACeiNjCbdM03 += nzTpIcepk0o8(chr(48) + chr(111) + '\x31', 8)
continue
HOp0ZjSPeQln = ffiOpFBWGmZU.replace(roI3spqORKae(ES5oEprVxulp(b'\xd3'), chr(100) + chr(101) + chr(0b101000 + 0o73) + chr(111) + '\x64' + '\145')('\165' + '\x74' + chr(102) + chr(0b11100 + 0o21) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b''), chr(0b11111 + 0o105) + chr(0b1001100 + 0o31) + '\143' + chr(111) + '\144' + chr(0b1100101))(chr(117) + '\x74' + chr(102) + chr(0b1 + 0o54) + '\x38')).LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\xd0'), '\144' + chr(3728 - 3627) + chr(99) + chr(1987 - 1876) + chr(0b10011 + 0o121) + chr(0b1010100 + 0o21))(chr(0b1101101 + 0o10) + '\x74' + '\x66' + '\055' + chr(0b111000)))
if HOp0ZjSPeQln[nzTpIcepk0o8(chr(48) + chr(9879 - 9768) + chr(48), 8)][nzTpIcepk0o8(chr(0b1011 + 0o45) + chr(111) + chr(2282 - 2234), 8)] == roI3spqORKae(ES5oEprVxulp(b'\xf7'), chr(1510 - 1410) + '\145' + chr(0b1100011) + chr(111) + chr(0b10000 + 0o124) + '\145')('\x75' + '\x74' + chr(0b1011 + 0o133) + chr(45) + chr(0b111000)):
HOp0ZjSPeQln = ffiOpFBWGmZU.replace(roI3spqORKae(ES5oEprVxulp(b'\xd3'), '\144' + chr(0b111000 + 0o55) + chr(1557 - 1458) + '\157' + '\144' + chr(101))('\165' + chr(116) + chr(0b1100110) + '\055' + chr(56)), roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + '\145' + '\143' + chr(0b1101111) + chr(0b1100100) + '\x65')(chr(0b1110101) + chr(0b1110100) + chr(0b11 + 0o143) + chr(45) + chr(0b111000))).replace(roI3spqORKae(ES5oEprVxulp(b'\xf7'), chr(4053 - 3953) + chr(0b1100010 + 0o3) + chr(0b101111 + 0o64) + chr(0b110111 + 0o70) + chr(100) + '\145')('\x75' + chr(116) + '\x66' + chr(45) + chr(56)), roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(8832 - 8731) + '\x63' + '\x6f' + chr(0b1001010 + 0o32) + chr(0b1010001 + 0o24))(chr(117) + chr(0b1110100) + '\146' + chr(0b101101) + chr(0b111000))).LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\xd0'), chr(0b1100100) + chr(101) + chr(3933 - 3834) + '\x6f' + chr(675 - 575) + chr(4142 - 4041))('\165' + chr(3862 - 3746) + chr(0b100101 + 0o101) + '\055' + chr(56)))
roI3spqORKae(HOp0ZjSPeQln, roI3spqORKae(ES5oEprVxulp(b'\x91\xe9\xc4,\xcbi\xday\xa5\xfbo\x90'), chr(100) + '\145' + chr(244 - 145) + '\157' + chr(5586 - 5486) + chr(0b1100101 + 0o0))(chr(0b1110101) + chr(0b1000001 + 0o63) + '\x66' + chr(45) + chr(0b100110 + 0o22)))(roI3spqORKae(ES5oEprVxulp(b'\x8b\xd8\xf4V\xdc'), chr(0b110000 + 0o64) + chr(101) + chr(0b1001 + 0o132) + chr(10531 - 10420) + chr(0b1100011 + 0o1) + '\x65')('\165' + '\164' + chr(0b1000011 + 0o43) + '\055' + '\x38'))
ACeiNjCbdM03 += nzTpIcepk0o8(chr(48) + chr(10089 - 9978) + chr(49), 8)
e4DS9LRExnFr = []
while ACeiNjCbdM03 < ftfygxgFas5X(Y_vfANEB6QPx):
ffiOpFBWGmZU = Y_vfANEB6QPx[ACeiNjCbdM03]
if roI3spqORKae(ES5oEprVxulp(b'\xe7\x83\xa9&'), chr(0b1100001 + 0o3) + chr(101) + '\x63' + '\157' + chr(3824 - 3724) + '\x65')('\x75' + chr(116) + chr(102) + chr(45) + '\x38') in ffiOpFBWGmZU and ftfygxgFas5X(e4DS9LRExnFr) > nzTpIcepk0o8(chr(48) + chr(7468 - 7357) + chr(48), 8):
if CqklTmuPJ9LW == nzTpIcepk0o8(chr(0b100010 + 0o16) + chr(4820 - 4709) + '\060', 8):
neY2HPRd1pS4 = aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, mWsDpG3yRGLz.kdIDrcwZTCs5() + roI3spqORKae(ES5oEprVxulp(b'\xf7\xc9\xefl'), '\x64' + chr(101) + chr(99) + '\x6f' + chr(0b1100100) + chr(0b1100101))(chr(117) + chr(0b1110100) + chr(0b1100110) + chr(45) + '\x38'))
else:
neY2HPRd1pS4 = aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, mWsDpG3yRGLz.kdIDrcwZTCs5() + roI3spqORKae(ES5oEprVxulp(b'\x86'), chr(100) + '\x65' + chr(0b1100011) + chr(111) + chr(100) + chr(0b1100101))(chr(117) + '\x74' + chr(0b101000 + 0o76) + chr(0b101101) + '\x38') + N9zlRy29S1SS(CqklTmuPJ9LW) + roI3spqORKae(ES5oEprVxulp(b'\xf7\xc9\xefl'), '\144' + chr(101) + chr(0b1100011) + chr(8082 - 7971) + chr(0b1000101 + 0o37) + '\x65')(chr(117) + chr(0b1110100) + chr(0b1100110) + '\x2d' + chr(0b111000)))
AeMiiDg6yI5y = []
for FKO_XxLfWbYt in e4DS9LRExnFr:
if QsNUlhBJ6Ac_ in H4NoA26ON7iG(roI3spqORKae(FKO_XxLfWbYt, roI3spqORKae(ES5oEprVxulp(b'\xb2\xd8\xeek'), chr(226 - 126) + chr(0b1100101) + '\143' + chr(111) + chr(100) + '\x65')(chr(0b100101 + 0o120) + chr(0b1110100) + chr(0b1100110) + '\055' + '\x38'))()):
I810oeGL0u1g = FKO_XxLfWbYt[QsNUlhBJ6Ac_].LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\xe3'), '\144' + chr(0b1010111 + 0o16) + chr(2112 - 2013) + '\157' + chr(0b1011000 + 0o14) + chr(0b1100101))(chr(117) + chr(116) + chr(9625 - 9523) + chr(45) + '\x38'))
if ftfygxgFas5X(I810oeGL0u1g) > nzTpIcepk0o8(chr(48) + chr(1849 - 1738) + '\x30', 8):
lcKucyHTTXwM = roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(9946 - 9845) + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + '\145')('\165' + chr(0b1110001 + 0o3) + chr(0b10111 + 0o117) + '\x2d' + chr(0b11000 + 0o40))
for am4di6GtLqyR in I810oeGL0u1g:
lcKucyHTTXwM = lcKucyHTTXwM + am4di6GtLqyR.kdIDrcwZTCs5() + roI3spqORKae(ES5oEprVxulp(b'\xe3'), chr(100) + '\x65' + chr(0b1100011) + chr(111) + '\144' + chr(101))(chr(117) + '\164' + '\x66' + '\x2d' + chr(0b11001 + 0o37))
FKO_XxLfWbYt[QsNUlhBJ6Ac_] = lcKucyHTTXwM[:-nzTpIcepk0o8('\x30' + chr(0b111010 + 0o65) + chr(0b110001), 8)]
roI3spqORKae(AeMiiDg6yI5y, roI3spqORKae(ES5oEprVxulp(b'\x91\xe9\xc4,\xcbi\xday\xa5\xfbo\x90'), '\144' + chr(0b10101 + 0o120) + '\x63' + chr(0b1101111) + chr(0b1001000 + 0o34) + chr(101))(chr(0b1110101) + chr(1077 - 961) + chr(102) + chr(0b101101) + '\070'))(FKO_XxLfWbYt)
roI3spqORKae(hUcsWwAd0nE_, roI3spqORKae(ES5oEprVxulp(b'\xb4\xdc\xf0q\xd0Q\xead\xa6\xe0_'), '\144' + chr(846 - 745) + chr(0b1100011) + chr(4060 - 3949) + chr(0b1100100) + chr(0b1100101))(chr(117) + '\x74' + '\146' + chr(0b101101 + 0o0) + chr(56)))(neY2HPRd1pS4, e4DS9LRExnFr, mWsDpG3yRGLz)
if ZzNkkrM3Te_Y:
v8jsMqaYV6U2(mWsDpG3yRGLz, roI3spqORKae(ES5oEprVxulp(b'\xf9\xd9\xf6l\xd2.\xedc\xbb\xb4S\xcb\xf2'), '\144' + chr(101) + '\143' + '\x6f' + '\144' + '\145')(chr(956 - 839) + chr(116) + chr(102) + '\055' + chr(56)), neY2HPRd1pS4)
e4DS9LRExnFr = []
ACeiNjCbdM03 += nzTpIcepk0o8(chr(2273 - 2225) + '\x6f' + chr(49), 8)
break
else:
FKO_XxLfWbYt = ffiOpFBWGmZU.LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\xd0'), chr(0b1100100) + chr(0b100101 + 0o100) + chr(99) + chr(0b110011 + 0o74) + chr(0b100000 + 0o104) + '\145')('\165' + chr(1506 - 1390) + chr(102) + chr(0b11101 + 0o20) + chr(0b111000)))
YnqOZJROlr7W = {}
if ftfygxgFas5X(FKO_XxLfWbYt) == ftfygxgFas5X(HOp0ZjSPeQln):
for B6UAF1zReOyJ in bbT2xIe5pzk7(ftfygxgFas5X(FKO_XxLfWbYt)):
YnqOZJROlr7W[HOp0ZjSPeQln[B6UAF1zReOyJ]] = FKO_XxLfWbYt[B6UAF1zReOyJ]
roI3spqORKae(e4DS9LRExnFr, roI3spqORKae(ES5oEprVxulp(b'\x91\xe9\xc4,\xcbi\xday\xa5\xfbo\x90'), chr(100) + chr(101) + chr(0b1011001 + 0o12) + chr(0b1010010 + 0o35) + chr(0b110100 + 0o60) + chr(101))(chr(0b1110101) + chr(204 - 88) + '\x66' + chr(45) + chr(2265 - 2209)))(YnqOZJROlr7W)
elif ftfygxgFas5X(FKO_XxLfWbYt) - ftfygxgFas5X(HOp0ZjSPeQln) == nzTpIcepk0o8(chr(74 - 26) + chr(2505 - 2394) + chr(725 - 676), 8):
for B6UAF1zReOyJ in bbT2xIe5pzk7(ftfygxgFas5X(FKO_XxLfWbYt))[:-nzTpIcepk0o8(chr(0b1100 + 0o44) + '\157' + '\061', 8)]:
YnqOZJROlr7W[HOp0ZjSPeQln[B6UAF1zReOyJ]] = FKO_XxLfWbYt[B6UAF1zReOyJ]
roI3spqORKae(e4DS9LRExnFr, roI3spqORKae(ES5oEprVxulp(b'\x91\xe9\xc4,\xcbi\xday\xa5\xfbo\x90'), chr(100) + '\x65' + '\x63' + chr(111) + chr(100) + chr(7912 - 7811))('\165' + chr(116) + chr(102) + chr(0b1111 + 0o36) + '\x38'))(YnqOZJROlr7W)
elif ftfygxgFas5X(FKO_XxLfWbYt) < ftfygxgFas5X(HOp0ZjSPeQln):
for B6UAF1zReOyJ in bbT2xIe5pzk7(ftfygxgFas5X(FKO_XxLfWbYt)):
YnqOZJROlr7W[HOp0ZjSPeQln[B6UAF1zReOyJ]] = FKO_XxLfWbYt[B6UAF1zReOyJ]
for B6UAF1zReOyJ in bbT2xIe5pzk7(ftfygxgFas5X(FKO_XxLfWbYt), ftfygxgFas5X(HOp0ZjSPeQln)):
YnqOZJROlr7W[HOp0ZjSPeQln[B6UAF1zReOyJ]] = roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + '\x65' + '\143' + chr(111) + chr(207 - 107) + '\145')('\165' + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(0b100 + 0o64))
roI3spqORKae(e4DS9LRExnFr, roI3spqORKae(ES5oEprVxulp(b'\x91\xe9\xc4,\xcbi\xday\xa5\xfbo\x90'), '\x64' + chr(0b1010001 + 0o24) + chr(0b1100011) + chr(0b1101001 + 0o6) + chr(9631 - 9531) + '\145')(chr(117) + '\164' + '\146' + chr(598 - 553) + chr(1705 - 1649)))(YnqOZJROlr7W)
else:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x8e\xfc\xc5V\xfa@\xda,\xef\xb4J\xd7\xbd[g\xbc\xfa\xaf\x82\xeb\rr\x9c\x1fK\x89F.*;\x91 \xc0\xd86_;'), chr(100) + '\145' + chr(0b1100011) + chr(0b1011 + 0o144) + chr(3060 - 2960) + chr(101))(chr(0b1100111 + 0o16) + chr(0b1110100) + '\146' + chr(0b101101) + '\x38'))
v8jsMqaYV6U2(ffiOpFBWGmZU)
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xaa\xd6\xfeh\xc3g\xf3q\xe1\xba\x14\x8b'), chr(100) + '\145' + chr(0b1010001 + 0o22) + '\x6f' + chr(0b1100100) + chr(10017 - 9916))(chr(0b100110 + 0o117) + chr(0b10100 + 0o140) + chr(102) + '\055' + '\070'))
ACeiNjCbdM03 += nzTpIcepk0o8(chr(48) + chr(111) + chr(49), 8)
if ftfygxgFas5X(e4DS9LRExnFr) > nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b101010 + 0o6), 8):
if CqklTmuPJ9LW == nzTpIcepk0o8('\x30' + chr(0b1101110 + 0o1) + '\060', 8):
neY2HPRd1pS4 = aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, mWsDpG3yRGLz.kdIDrcwZTCs5() + roI3spqORKae(ES5oEprVxulp(b'\xf7\xc9\xefl'), '\x64' + chr(4564 - 4463) + chr(6777 - 6678) + chr(3386 - 3275) + chr(0b1011101 + 0o7) + chr(0b1100101))('\x75' + '\164' + chr(102) + '\x2d' + chr(0b111000)))
else:
neY2HPRd1pS4 = aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, mWsDpG3yRGLz.kdIDrcwZTCs5() + roI3spqORKae(ES5oEprVxulp(b'\x86'), '\x64' + chr(9375 - 9274) + '\143' + chr(0b1101111) + chr(5721 - 5621) + chr(101))('\165' + chr(9199 - 9083) + chr(102) + chr(45) + chr(56)) + N9zlRy29S1SS(CqklTmuPJ9LW) + roI3spqORKae(ES5oEprVxulp(b'\xf7\xc9\xefl'), chr(100) + chr(101) + '\143' + '\x6f' + '\144' + '\145')(chr(117) + '\164' + '\x66' + chr(0b110 + 0o47) + chr(0b111000)))
AeMiiDg6yI5y = []
for FKO_XxLfWbYt in e4DS9LRExnFr:
if QsNUlhBJ6Ac_ in H4NoA26ON7iG(roI3spqORKae(FKO_XxLfWbYt, roI3spqORKae(ES5oEprVxulp(b'\xb2\xd8\xeek'), chr(9206 - 9106) + chr(0b1100101) + chr(99) + chr(111) + chr(100) + chr(9794 - 9693))(chr(12979 - 12862) + chr(0b1110100) + chr(2419 - 2317) + '\055' + chr(56)))()):
I810oeGL0u1g = FKO_XxLfWbYt[QsNUlhBJ6Ac_].LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\xe3'), '\144' + chr(101) + chr(5573 - 5474) + chr(6591 - 6480) + chr(0b1100100) + chr(4469 - 4368))('\165' + chr(11101 - 10985) + '\x66' + chr(45) + '\x38'))
if ftfygxgFas5X(I810oeGL0u1g) > nzTpIcepk0o8(chr(944 - 896) + chr(10687 - 10576) + chr(48), 8):
lcKucyHTTXwM = roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(0b110001 + 0o64) + chr(0b1100011) + '\157' + chr(2159 - 2059) + chr(0b1100101))('\x75' + '\164' + chr(309 - 207) + chr(45) + chr(0b111000))
for am4di6GtLqyR in I810oeGL0u1g:
lcKucyHTTXwM = lcKucyHTTXwM + am4di6GtLqyR.kdIDrcwZTCs5() + roI3spqORKae(ES5oEprVxulp(b'\xe3'), '\x64' + chr(0b1100101) + chr(99) + chr(111) + chr(0b1100100) + chr(0b110011 + 0o62))(chr(0b10101 + 0o140) + chr(0b1001011 + 0o51) + chr(102) + chr(45) + '\x38')
FKO_XxLfWbYt[QsNUlhBJ6Ac_] = lcKucyHTTXwM[:-nzTpIcepk0o8(chr(0b10100 + 0o34) + chr(111) + chr(2141 - 2092), 8)]
roI3spqORKae(AeMiiDg6yI5y, roI3spqORKae(ES5oEprVxulp(b'\x91\xe9\xc4,\xcbi\xday\xa5\xfbo\x90'), chr(0b1010111 + 0o15) + '\145' + '\x63' + chr(0b1101111) + '\x64' + chr(0b1100101))(chr(117) + chr(116) + chr(102) + chr(1246 - 1201) + chr(2807 - 2751)))(FKO_XxLfWbYt)
roI3spqORKae(hUcsWwAd0nE_, roI3spqORKae(ES5oEprVxulp(b'\xb4\xdc\xf0q\xd0Q\xead\xa6\xe0_'), '\x64' + chr(101) + chr(6372 - 6273) + chr(0b1100101 + 0o12) + '\144' + chr(101))('\x75' + chr(12081 - 11965) + chr(5532 - 5430) + chr(0b100100 + 0o11) + chr(1829 - 1773)))(neY2HPRd1pS4, e4DS9LRExnFr, mWsDpG3yRGLz)
if ZzNkkrM3Te_Y:
v8jsMqaYV6U2(mWsDpG3yRGLz, roI3spqORKae(ES5oEprVxulp(b'\xf9\xd9\xf6l\xd2.\xedc\xbb\xb4S\xcb\xf2'), chr(1439 - 1339) + '\145' + '\x63' + chr(0b101000 + 0o107) + chr(100) + '\x65')('\165' + chr(116) + '\146' + chr(0b101101) + chr(56)), neY2HPRd1pS4)
if tvxwHAec4US_:
D3H9MFOOog2W = RYEhqzIVZREo.Contribution(qjksZ7GK0xkJ)
roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'\xa9\xcf\xf8h\xd2i\xfcb\xaa\xcbV\xca\xb1X\x7f\xb0\xf8\xe1\xb4\xf1BK\x98\x16O\xdaD5;>\xd4"\xdd\xc5'), '\x64' + chr(5614 - 5513) + chr(0b1100011) + '\157' + '\144' + '\145')('\x75' + chr(0b1010011 + 0o41) + '\x66' + '\x2d' + chr(0b111000)))()
roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'\xa9\xcf\xf8h\xd2i\xfcb\xaa\xcbT\xc4\xbf\\T\xbd\xf8\xf8\x85'), '\x64' + '\145' + chr(99) + chr(0b1100 + 0o143) + chr(0b1100100) + chr(4955 - 4854))(chr(11735 - 11618) + chr(4388 - 4272) + chr(0b1001101 + 0o31) + chr(0b101101) + '\070'))(roI3spqORKae(ES5oEprVxulp(b'\xb5\xd2\xf4y\xc7g\xf2x'), chr(0b11010 + 0o112) + '\x65' + chr(0b100111 + 0o74) + '\x6f' + chr(100) + '\145')('\165' + chr(116) + '\146' + '\055' + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xaa\xdc\xfah\xdfk\xee'), chr(4117 - 4017) + chr(0b1100101) + '\143' + '\x6f' + chr(0b1101 + 0o127) + chr(0b101001 + 0o74))('\165' + chr(0b1110100) + '\146' + chr(0b101101) + '\x38'))
for RcX9bbuOzh5L in roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'\x8e\xda\xe3K\xf9V\xade\x86\xcdJ\xe9'), chr(9452 - 9352) + chr(1611 - 1510) + '\x63' + chr(11502 - 11391) + chr(0b111010 + 0o52) + chr(732 - 631))('\165' + chr(11988 - 11872) + '\146' + chr(45) + '\x38')):
roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'\xae\xcf\xfel\xd6Q\xe9w\xad\xf8_\xfa\xa6VT\xbf\xfe\xe3\x8e'), chr(3055 - 2955) + '\x65' + '\143' + chr(0b111 + 0o150) + chr(100) + '\145')(chr(0b1110101) + '\x74' + '\146' + '\055' + chr(0b111000)))(RcX9bbuOzh5L)
(c7RydVE5Qw9u, eCmakOwmRyAc) = ([], nzTpIcepk0o8('\060' + chr(0b1101111) + chr(49), 8))
if roI3spqORKae(ES5oEprVxulp(b'\xb5\xd2\xf4y\xc7g\xf2x\xbc'), chr(4413 - 4313) + chr(0b1110 + 0o127) + chr(0b1100011) + chr(0b1101111) + chr(0b1010 + 0o132) + chr(0b110011 + 0o62))(chr(117) + chr(5313 - 5197) + '\146' + '\x2d' + '\070') in qKs_zvgWzBvq:
(c7RydVE5Qw9u, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, roI3spqORKae(ES5oEprVxulp(b'\xb5\xd2\xf4y\xc7g\xf2x\xbc\xbaN\xdd\xa6'), chr(100) + chr(101) + chr(99) + chr(111) + chr(5285 - 5185) + '\x65')(chr(117) + '\164' + chr(5102 - 5000) + '\x2d' + chr(0b110111 + 0o1))))
if ftfygxgFas5X(c7RydVE5Qw9u) > nzTpIcepk0o8('\x30' + chr(0b1101110 + 0o1) + chr(0b101011 + 0o5), 8):
for HnTwM7a6IpYj in Bvi71nNyvlqO([roI3spqORKae(UQ8hRiBoHcn5, roI3spqORKae(ES5oEprVxulp(b'\x9e\xe8\xdc}\xc7{\xa9n\xae\xd3I\xef'), chr(100) + chr(0b1100101) + '\143' + '\157' + chr(0b1100100) + chr(0b1100101 + 0o0))(chr(117) + chr(8101 - 7985) + chr(0b1100110) + chr(57 - 12) + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b'\xb5\xd2\xf4y\xc7g\xf2x'), '\144' + '\145' + chr(8977 - 8878) + chr(0b1010011 + 0o34) + chr(0b1100100) + chr(0b1011101 + 0o10))(chr(117) + chr(116) + '\146' + '\055' + chr(56))) for UQ8hRiBoHcn5 in c7RydVE5Qw9u]):
if ZzNkkrM3Te_Y:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xb5\xd2\xf4y\xc7g\xf2x\x90'), '\144' + '\x65' + chr(8997 - 8898) + chr(10713 - 10602) + '\x64' + chr(101))('\x75' + chr(116) + '\146' + chr(1768 - 1723) + chr(228 - 172)) + N9zlRy29S1SS(eCmakOwmRyAc) + roI3spqORKae(ES5oEprVxulp(b'\xe3\x9d'), chr(0b1100100) + chr(101) + chr(99) + chr(5508 - 5397) + chr(3118 - 3018) + chr(0b1100101))(chr(117) + chr(0b111011 + 0o71) + '\x66' + '\x2d' + chr(56)), HnTwM7a6IpYj)
Uf6qsBhjB9Vb = aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, roI3spqORKae(ES5oEprVxulp(b'\x95\xd2\xf4y\xc7g\xf2x\x90'), chr(100) + '\x65' + chr(0b1100011) + '\x6f' + chr(100) + chr(0b110100 + 0o61))(chr(0b1110101) + chr(116) + '\x66' + chr(45) + '\x38') + N9zlRy29S1SS(eCmakOwmRyAc))
eCmakOwmRyAc += nzTpIcepk0o8(chr(0b11100 + 0o24) + chr(111) + '\061', 8)
try:
roI3spqORKae(aHUqKstZLeS6, roI3spqORKae(ES5oEprVxulp(b'\xb4\xd6\xf3q\xc1'), chr(100) + '\x65' + chr(2636 - 2537) + '\157' + '\x64' + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + chr(102) + chr(45) + chr(0b1 + 0o67)))(Uf6qsBhjB9Vb)
except UtiWT6f6p9yZ:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xbd\xd4\xe5}\xd0z\xf2d\xb6\xb4'), chr(2764 - 2664) + chr(2810 - 2709) + chr(0b10100 + 0o117) + '\157' + '\x64' + '\145')(chr(10185 - 10068) + '\164' + '\146' + chr(45) + chr(0b111000)), Uf6qsBhjB9Vb, roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'\xf9\xdc\xfbj\xd6o\xf9o\xef\xf1B\xcc\xa1Mx\xf9\xba\xaf\x84\xf3Hf\x82\x01G\xddX)9s\xd4:\xcc\xc4*\x11s\x98`\xfa\xe3\x9d\xece'), chr(0b11111 + 0o105) + '\145' + chr(0b1100011) + '\157' + chr(9035 - 8935) + '\x65')(chr(8572 - 8455) + chr(0b1101101 + 0o7) + '\x66' + chr(0b100011 + 0o12) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xa8\x8e\xa4S\xf4=\xfby\x9e\xcby\xef'), chr(0b101001 + 0o73) + chr(0b1100101) + '\143' + '\x6f' + chr(100) + chr(0b1100101))(chr(11060 - 10943) + chr(0b1110100) + chr(0b10100 + 0o122) + chr(446 - 401) + '\x38'))(JewFVgkSGnBd))
if not JewFVgkSGnBd:
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'\xf4\xea\xba8\xd7a\xeax\xa3\xfb[\xc1\x8dTj\xbe\xfe\xec\xcb\xe0Cw\x9a\x06@\xddT5;7\x91-\x89\xd2&\x15w\x98m\xfc\xad\xd8\xb7k\xc6l\xf9\x7f\xbd\xf1Y\xd1\xbdKr\xf9\xbf\xf4\x96\xac\ru\x9b\x17\x0e\xca^227\x91"\xc6\xc2s\x03r\x9fg\xee\xb1\x93\x9dJ\xd6|\xe8x\xef\xe3S\xd1\xba\x19d\xaf\xf2\xfd\x9c\xf7D`\x90Nz\xdbD"rs\xde>\x89\xc3=\x15z\x92e\xbd\xad\xd5\xfek\x93h\xf4z\xaa\xb4S\xcb\xf2X+\xbd\xfe\xe9\x8d\xe0_q\x9b\x07\x0e\xcdX5;0\xc5#\xdb\xcf}'), '\144' + '\x65' + '\143' + '\157' + '\x64' + chr(0b11000 + 0o115))(chr(0b1110101) + '\164' + chr(0b110000 + 0o66) + chr(0b100110 + 0o7) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xa8\x8e\xa4S\xf4=\xfby\x9e\xcby\xef'), '\x64' + '\145' + chr(0b1100011) + '\x6f' + '\x64' + chr(2610 - 2509))(chr(0b1110101) + chr(116) + '\146' + chr(0b101101) + chr(0b1001 + 0o57)))(Uf6qsBhjB9Vb))
return nzTpIcepk0o8(chr(0b1010 + 0o46) + chr(111) + chr(1474 - 1426), 8)
for _R8IKF5IwAfX in qKs_zvgWzBvq:
jXqxEQuu_5DD = aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, _R8IKF5IwAfX + roI3spqORKae(ES5oEprVxulp(b'\xf7\xc9\xefl'), '\x64' + chr(0b100000 + 0o105) + chr(0b1000011 + 0o40) + chr(0b1101111) + chr(5185 - 5085) + '\145')(chr(0b100001 + 0o124) + chr(7072 - 6956) + '\x66' + chr(0b100 + 0o51) + chr(0b111000)))
if ZzNkkrM3Te_Y:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xac\xd3\xe7y\xd0e\xf4x\xa8\xae\x1a'), '\144' + chr(101) + '\x63' + chr(11286 - 11175) + chr(0b1100100) + chr(0b1100101))(chr(11122 - 11005) + chr(116) + '\x66' + '\x2d' + chr(1626 - 1570)), jXqxEQuu_5DD)
(Qzu6FOshC900, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(jXqxEQuu_5DD)
if ZzNkkrM3Te_Y:
v8jsMqaYV6U2(ftfygxgFas5X(Qzu6FOshC900), roI3spqORKae(ES5oEprVxulp(b'\xf9\xcf\xf2y\xd7.\xf4x'), '\x64' + chr(3826 - 3725) + chr(0b1000110 + 0o35) + chr(111) + chr(100) + chr(101))(chr(0b1110101) + chr(116) + chr(0b1100110) + chr(0b101101) + chr(0b111000)))
pDMFTVhfVxKC = hUcsWwAd0nE_.get_dictitem(Qzu6FOshC900, roI3spqORKae(ES5oEprVxulp(b'\xb5\xd2\xf4y\xc7g\xf2x'), '\x64' + chr(101) + chr(5709 - 5610) + chr(0b1001010 + 0o45) + chr(2582 - 2482) + chr(101))(chr(9895 - 9778) + chr(0b111 + 0o155) + '\x66' + chr(613 - 568) + chr(0b111000)), HnTwM7a6IpYj, roI3spqORKae(ES5oEprVxulp(b'\x8d'), chr(0b1100100) + chr(101) + '\x63' + chr(111) + '\x64' + chr(0b1100101))(chr(2169 - 2052) + chr(10942 - 10826) + chr(0b101 + 0o141) + chr(0b100001 + 0o14) + chr(0b111000)))
if ftfygxgFas5X(pDMFTVhfVxKC) > nzTpIcepk0o8(chr(767 - 719) + chr(0b1101111) + chr(0b11100 + 0o24), 8):
qV95DvNh9j82 = aHUqKstZLeS6.path.Y4yM9BcfTCNq(Uf6qsBhjB9Vb, _R8IKF5IwAfX + roI3spqORKae(ES5oEprVxulp(b'\xf7\xc9\xefl'), chr(100) + chr(0b10 + 0o143) + chr(99) + chr(4316 - 4205) + chr(0b1100100) + '\x65')(chr(0b1000100 + 0o61) + chr(0b1110100) + chr(5947 - 5845) + '\055' + chr(56)))
roI3spqORKae(hUcsWwAd0nE_, roI3spqORKae(ES5oEprVxulp(b'\xb4\xdc\xf0q\xd0Q\xead\xa6\xe0_'), chr(100) + '\145' + chr(0b1100011) + chr(111) + chr(0b100001 + 0o103) + chr(0b1100101))(chr(8104 - 7987) + chr(4157 - 4041) + chr(102) + '\x2d' + '\070'))(qV95DvNh9j82, pDMFTVhfVxKC, mWsDpG3yRGLz)
if ZzNkkrM3Te_Y:
v8jsMqaYV6U2(ftfygxgFas5X(pDMFTVhfVxKC), roI3spqORKae(ES5oEprVxulp(b'\xf9\xce\xe3w\xc1k\xf96\xa6\xfa\x1a'), chr(8265 - 8165) + chr(0b1010100 + 0o21) + '\143' + chr(0b1101111) + chr(0b1010100 + 0o20) + chr(101))('\165' + '\x74' + '\x66' + '\055' + chr(0b110101 + 0o3)), qV95DvNh9j82)
return nzTpIcepk0o8(chr(48) + chr(111) + '\x31', 8)
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
upload_magic
|
def upload_magic(concat=False, dir_path='.', dmodel=None, vocab="", contribution=None,
input_dir_path=""):
"""
Finds all magic files in a given directory, and compiles them into an
upload.txt file which can be uploaded into the MagIC database.
Parameters
----------
concat : boolean where True means do concatenate to upload.txt file in dir_path,
False means write a new file (default is False)
dir_path : string for input/output directory (default ".")
dmodel : pmagpy data_model.DataModel object,
if not provided will be created (default None)
vocab : pmagpy controlled_vocabularies3.Vocabulary object,
if not provided will be created (default None)
contribution : pmagpy contribution_builder.Contribution object, if not provided will be created
in directory (default None)
input_dir_path : str, default ""
path for intput files if different from output dir_path (default is same)
Returns
----------
tuple of either: (False, error_message, errors, all_failing_items)
if there was a problem creating/validating the upload file
or: (filename, '', None, None) if the file creation was fully successful.
"""
input_dir_path, dir_path = pmag.fix_directories(input_dir_path, dir_path)
locations = []
concat = int(concat)
dtypes = ["locations", "samples", "specimens", "sites", "ages", "measurements",
"criteria", "contribution", "images"]
fnames = [os.path.join(input_dir_path, dtype + ".txt") for dtype in dtypes]
file_names = [fname for fname in fnames if os.path.exists(fname)]
error_fnames = [dtype + "_errors.txt" for dtype in dtypes]
error_full_fnames = [os.path.join(
dir_path, fname) for fname in error_fnames if os.path.exists(os.path.join(dir_path, fname))]
print('-I- Removing old error files from {}: {}'.format(dir_path,
", ".join(error_fnames)))
for error in error_full_fnames:
os.remove(error)
if isinstance(contribution, cb.Contribution):
# if contribution object provided, use it
con = contribution
for table_name in con.tables:
con.tables[table_name].write_magic_file()
elif file_names:
# otherwise create a new Contribution in dir_path
con = Contribution(input_dir_path, vocabulary=vocab)
else:
# if no contribution is provided and no contribution could be created,
# you are out of luck
print("-W- No 3.0 files found in your directory: {}, upload file not created".format(input_dir_path))
return False, "no 3.0 files found, upload file not created", None, None
# if the contribution has no tables, you can't make an upload file
if not con.tables.keys():
print("-W- No tables found in your contribution in directory {}, file not created".format(input_dir_path))
return False, "-W- No tables found in your contribution, file not created", None, None
con.propagate_cols(['core_depth', 'composite_depth'],
'sites', 'samples', down=False)
# take out any extra added columns
# con.remove_non_magic_cols()
# begin the upload process
up = os.path.join(dir_path, "upload.txt")
if os.path.exists(up):
os.remove(up)
RmKeys = ('citation_label', 'compilation', 'calculation_type', 'average_n_lines', 'average_n_planes',
'specimen_grade', 'site_vgp_lat', 'site_vgp_lon', 'direction_type', 'specimen_Z',
'magic_instrument_codes', 'cooling_rate_corr', 'cooling_rate_mcd', 'anisotropy_atrm_alt',
'anisotropy_apar_perc', 'anisotropy_F', 'anisotropy_F_crit', 'specimen_scat',
'specimen_gmax', 'specimen_frac', 'site_vadm', 'site_lon', 'site_vdm', 'site_lat',
'measurement_chi', 'specimen_k_prime', 'specimen_k_prime_sse', 'external_database_names',
'external_database_ids', 'Further Notes', 'Typology', 'Notes (Year/Area/Locus/Level)',
'Site', 'Object Number', 'version', 'site_definition')
#print("-I- Removing: ", RmKeys)
extra_RmKeys = {'measurements': ['sample', 'site', 'location'],
'specimens': ['site', 'location', 'age', 'age_unit', 'age_high',
'age_low', 'age_sigma', 'specimen_core_depth'],
'samples': ['location', 'age', 'age_unit', 'age_high', 'age_low',
'age_sigma', 'core_depth', 'composite_depth'],
'sites': ['texture', 'azimuth', 'azimuth_dec_correction', 'dip',
'orientation_quality', 'sample_alternatives', 'timestamp'],
'ages': ['level']}
failing = []
all_failing_items = {}
if not dmodel:
dmodel = data_model.DataModel()
last_file_type = sorted(con.tables.keys())[-1]
for file_type in sorted(con.tables.keys()):
container = con.tables[file_type]
# format all float values to have correct number of decimals
container.all_to_str()
# make sure all nans and Nones are changed to ''
container.df.fillna('')
df = container.df
if len(df):
print("-I- {} file successfully read in".format(file_type))
# make some adjustments to clean up data
# drop non MagIC keys
DropKeys = list(RmKeys) + extra_RmKeys.get(file_type, [])
DropKeys = set(DropKeys).intersection(df.columns)
if DropKeys:
print(
'-I- dropping these columns: {} from the {} table'.format(', '.join(DropKeys), file_type))
df.drop(DropKeys, axis=1, inplace=True)
container.df = df
unrecognized_cols = container.get_non_magic_cols()
if unrecognized_cols:
print('-W- {} table still has some unrecognized columns: {}'.format(file_type.title(),
", ".join(unrecognized_cols)))
# make sure int_b_beta is positive
if 'int_b_beta' in df.columns:
# get rid of empty strings
df = df.replace(r'\s+( +\.)|#', np.nan,
regex=True).replace('', np.nan)
try:
df['int_b_beta'] = df['int_b_beta'].astype(
float).apply(abs)
except ValueError:
"-W- Non numeric values found in int_b_beta column.\n Could not apply absolute value."
# make all declinations/azimuths/longitudes in range 0=>360.
relevant_cols = val_up3.get_degree_cols(df)
for col in relevant_cols:
df[col] = df[col].apply(pmag.adjust_val_to_360)
# get list of location names
if file_type == 'locations':
locations = sorted(df['location'].unique())
# LJ: need to deal with this
# use only highest priority orientation -- not sure how this works
elif file_type == 'samples':
# orient,az_type=pmag.get_orient(Data,rec['sample'])
pass
# include only specimen records with samples
elif file_type == 'specimens':
df = df[df['sample'].notnull()]
if 'samples' in con.tables:
samp_df = con.tables['samples'].df
df = df[df['sample'].isin(samp_df.index.unique())]
# include only measurements with specmiens
elif file_type == 'measurements':
df = df[df['specimen'].notnull()]
if 'specimens' in con.tables:
spec_df = con.tables['specimens'].df
df = df[df['specimen'].isin(spec_df.index.unique())]
# run validations
res = val_up3.validate_table(
con, file_type, output_dir=dir_path) # , verbose=True)
if res:
dtype, bad_rows, bad_cols, missing_cols, missing_groups, failing_items = res
if dtype not in all_failing_items:
all_failing_items[dtype] = {}
all_failing_items[dtype]["rows"] = failing_items
all_failing_items[dtype]["missing_columns"] = missing_cols
all_failing_items[dtype]["missing_groups"] = missing_groups
failing.append(dtype)
# write out the data
if len(df):
container.write_magic_file(up, append=True, multi_type=True)
# write out the file separator
if last_file_type != file_type:
f = open(up, 'a')
f.write('>>>>>>>>>>\n')
f.close()
print("-I-", file_type, 'written to ', up)
else: # last file, no newline at end of file
#f = open(up, 'a')
# f.write('>>>>>>>>>>')
# f.close()
print("-I-", file_type, 'written to ', up)
# if there was no understandable data
else:
print(file_type, 'is bad or non-existent - skipping ')
# add to existing file
if concat:
f = open(up, 'a')
f.write('>>>>>>>>>>\n')
f.close()
if not os.path.isfile(up):
print("no data found, upload file not created")
return False, "no data found, upload file not created", None, None
# rename upload.txt according to location + timestamp
format_string = "%d.%b.%Y"
if locations:
locs = set(locations)
locs = sorted(locs)[:3]
#location = locations[0].replace(' ', '_')
try:
locs = [loc.replace(' ', '-') for loc in locs]
except AttributeError:
locs = ["unknown_location"]
location = "_".join(locs)
new_up = location + '_' + time.strftime(format_string) + '.txt'
else:
new_up = 'unknown_location_' + time.strftime(format_string) + '.txt'
new_up = os.path.join(dir_path, new_up)
if os.path.isfile(new_up):
fname, extension = os.path.splitext(new_up)
for i in range(1, 100):
if os.path.isfile(fname + "_" + str(i) + extension):
continue
else:
new_up = fname + "_" + str(i) + extension
break
if not up:
print("-W- Could not create an upload file")
return False, "Could not create an upload file", None, None
os.rename(up, new_up)
print("Finished preparing upload file: {} ".format(new_up))
if failing:
print("-W- These tables have errors: {}".format(", ".join(failing)))
print("-W- validation of upload file has failed.\nYou can still upload {} to MagIC,\nbut you will need to fix the above errors before your contribution can be activated.".format(new_up))
return False, "Validation of your upload file has failed.\nYou can still upload {} to MagIC,\nbut you will need to fix the above errors before your contribution can be activated.".format(new_up), failing, all_failing_items
else:
print("-I- Your file has passed validation. You should be able to upload it to the MagIC database without trouble!")
return new_up, '', None, None
|
python
|
def upload_magic(concat=False, dir_path='.', dmodel=None, vocab="", contribution=None,
input_dir_path=""):
"""
Finds all magic files in a given directory, and compiles them into an
upload.txt file which can be uploaded into the MagIC database.
Parameters
----------
concat : boolean where True means do concatenate to upload.txt file in dir_path,
False means write a new file (default is False)
dir_path : string for input/output directory (default ".")
dmodel : pmagpy data_model.DataModel object,
if not provided will be created (default None)
vocab : pmagpy controlled_vocabularies3.Vocabulary object,
if not provided will be created (default None)
contribution : pmagpy contribution_builder.Contribution object, if not provided will be created
in directory (default None)
input_dir_path : str, default ""
path for intput files if different from output dir_path (default is same)
Returns
----------
tuple of either: (False, error_message, errors, all_failing_items)
if there was a problem creating/validating the upload file
or: (filename, '', None, None) if the file creation was fully successful.
"""
input_dir_path, dir_path = pmag.fix_directories(input_dir_path, dir_path)
locations = []
concat = int(concat)
dtypes = ["locations", "samples", "specimens", "sites", "ages", "measurements",
"criteria", "contribution", "images"]
fnames = [os.path.join(input_dir_path, dtype + ".txt") for dtype in dtypes]
file_names = [fname for fname in fnames if os.path.exists(fname)]
error_fnames = [dtype + "_errors.txt" for dtype in dtypes]
error_full_fnames = [os.path.join(
dir_path, fname) for fname in error_fnames if os.path.exists(os.path.join(dir_path, fname))]
print('-I- Removing old error files from {}: {}'.format(dir_path,
", ".join(error_fnames)))
for error in error_full_fnames:
os.remove(error)
if isinstance(contribution, cb.Contribution):
# if contribution object provided, use it
con = contribution
for table_name in con.tables:
con.tables[table_name].write_magic_file()
elif file_names:
# otherwise create a new Contribution in dir_path
con = Contribution(input_dir_path, vocabulary=vocab)
else:
# if no contribution is provided and no contribution could be created,
# you are out of luck
print("-W- No 3.0 files found in your directory: {}, upload file not created".format(input_dir_path))
return False, "no 3.0 files found, upload file not created", None, None
# if the contribution has no tables, you can't make an upload file
if not con.tables.keys():
print("-W- No tables found in your contribution in directory {}, file not created".format(input_dir_path))
return False, "-W- No tables found in your contribution, file not created", None, None
con.propagate_cols(['core_depth', 'composite_depth'],
'sites', 'samples', down=False)
# take out any extra added columns
# con.remove_non_magic_cols()
# begin the upload process
up = os.path.join(dir_path, "upload.txt")
if os.path.exists(up):
os.remove(up)
RmKeys = ('citation_label', 'compilation', 'calculation_type', 'average_n_lines', 'average_n_planes',
'specimen_grade', 'site_vgp_lat', 'site_vgp_lon', 'direction_type', 'specimen_Z',
'magic_instrument_codes', 'cooling_rate_corr', 'cooling_rate_mcd', 'anisotropy_atrm_alt',
'anisotropy_apar_perc', 'anisotropy_F', 'anisotropy_F_crit', 'specimen_scat',
'specimen_gmax', 'specimen_frac', 'site_vadm', 'site_lon', 'site_vdm', 'site_lat',
'measurement_chi', 'specimen_k_prime', 'specimen_k_prime_sse', 'external_database_names',
'external_database_ids', 'Further Notes', 'Typology', 'Notes (Year/Area/Locus/Level)',
'Site', 'Object Number', 'version', 'site_definition')
#print("-I- Removing: ", RmKeys)
extra_RmKeys = {'measurements': ['sample', 'site', 'location'],
'specimens': ['site', 'location', 'age', 'age_unit', 'age_high',
'age_low', 'age_sigma', 'specimen_core_depth'],
'samples': ['location', 'age', 'age_unit', 'age_high', 'age_low',
'age_sigma', 'core_depth', 'composite_depth'],
'sites': ['texture', 'azimuth', 'azimuth_dec_correction', 'dip',
'orientation_quality', 'sample_alternatives', 'timestamp'],
'ages': ['level']}
failing = []
all_failing_items = {}
if not dmodel:
dmodel = data_model.DataModel()
last_file_type = sorted(con.tables.keys())[-1]
for file_type in sorted(con.tables.keys()):
container = con.tables[file_type]
# format all float values to have correct number of decimals
container.all_to_str()
# make sure all nans and Nones are changed to ''
container.df.fillna('')
df = container.df
if len(df):
print("-I- {} file successfully read in".format(file_type))
# make some adjustments to clean up data
# drop non MagIC keys
DropKeys = list(RmKeys) + extra_RmKeys.get(file_type, [])
DropKeys = set(DropKeys).intersection(df.columns)
if DropKeys:
print(
'-I- dropping these columns: {} from the {} table'.format(', '.join(DropKeys), file_type))
df.drop(DropKeys, axis=1, inplace=True)
container.df = df
unrecognized_cols = container.get_non_magic_cols()
if unrecognized_cols:
print('-W- {} table still has some unrecognized columns: {}'.format(file_type.title(),
", ".join(unrecognized_cols)))
# make sure int_b_beta is positive
if 'int_b_beta' in df.columns:
# get rid of empty strings
df = df.replace(r'\s+( +\.)|#', np.nan,
regex=True).replace('', np.nan)
try:
df['int_b_beta'] = df['int_b_beta'].astype(
float).apply(abs)
except ValueError:
"-W- Non numeric values found in int_b_beta column.\n Could not apply absolute value."
# make all declinations/azimuths/longitudes in range 0=>360.
relevant_cols = val_up3.get_degree_cols(df)
for col in relevant_cols:
df[col] = df[col].apply(pmag.adjust_val_to_360)
# get list of location names
if file_type == 'locations':
locations = sorted(df['location'].unique())
# LJ: need to deal with this
# use only highest priority orientation -- not sure how this works
elif file_type == 'samples':
# orient,az_type=pmag.get_orient(Data,rec['sample'])
pass
# include only specimen records with samples
elif file_type == 'specimens':
df = df[df['sample'].notnull()]
if 'samples' in con.tables:
samp_df = con.tables['samples'].df
df = df[df['sample'].isin(samp_df.index.unique())]
# include only measurements with specmiens
elif file_type == 'measurements':
df = df[df['specimen'].notnull()]
if 'specimens' in con.tables:
spec_df = con.tables['specimens'].df
df = df[df['specimen'].isin(spec_df.index.unique())]
# run validations
res = val_up3.validate_table(
con, file_type, output_dir=dir_path) # , verbose=True)
if res:
dtype, bad_rows, bad_cols, missing_cols, missing_groups, failing_items = res
if dtype not in all_failing_items:
all_failing_items[dtype] = {}
all_failing_items[dtype]["rows"] = failing_items
all_failing_items[dtype]["missing_columns"] = missing_cols
all_failing_items[dtype]["missing_groups"] = missing_groups
failing.append(dtype)
# write out the data
if len(df):
container.write_magic_file(up, append=True, multi_type=True)
# write out the file separator
if last_file_type != file_type:
f = open(up, 'a')
f.write('>>>>>>>>>>\n')
f.close()
print("-I-", file_type, 'written to ', up)
else: # last file, no newline at end of file
#f = open(up, 'a')
# f.write('>>>>>>>>>>')
# f.close()
print("-I-", file_type, 'written to ', up)
# if there was no understandable data
else:
print(file_type, 'is bad or non-existent - skipping ')
# add to existing file
if concat:
f = open(up, 'a')
f.write('>>>>>>>>>>\n')
f.close()
if not os.path.isfile(up):
print("no data found, upload file not created")
return False, "no data found, upload file not created", None, None
# rename upload.txt according to location + timestamp
format_string = "%d.%b.%Y"
if locations:
locs = set(locations)
locs = sorted(locs)[:3]
#location = locations[0].replace(' ', '_')
try:
locs = [loc.replace(' ', '-') for loc in locs]
except AttributeError:
locs = ["unknown_location"]
location = "_".join(locs)
new_up = location + '_' + time.strftime(format_string) + '.txt'
else:
new_up = 'unknown_location_' + time.strftime(format_string) + '.txt'
new_up = os.path.join(dir_path, new_up)
if os.path.isfile(new_up):
fname, extension = os.path.splitext(new_up)
for i in range(1, 100):
if os.path.isfile(fname + "_" + str(i) + extension):
continue
else:
new_up = fname + "_" + str(i) + extension
break
if not up:
print("-W- Could not create an upload file")
return False, "Could not create an upload file", None, None
os.rename(up, new_up)
print("Finished preparing upload file: {} ".format(new_up))
if failing:
print("-W- These tables have errors: {}".format(", ".join(failing)))
print("-W- validation of upload file has failed.\nYou can still upload {} to MagIC,\nbut you will need to fix the above errors before your contribution can be activated.".format(new_up))
return False, "Validation of your upload file has failed.\nYou can still upload {} to MagIC,\nbut you will need to fix the above errors before your contribution can be activated.".format(new_up), failing, all_failing_items
else:
print("-I- Your file has passed validation. You should be able to upload it to the MagIC database without trouble!")
return new_up, '', None, None
|
[
"def",
"upload_magic",
"(",
"concat",
"=",
"False",
",",
"dir_path",
"=",
"'.'",
",",
"dmodel",
"=",
"None",
",",
"vocab",
"=",
"\"\"",
",",
"contribution",
"=",
"None",
",",
"input_dir_path",
"=",
"\"\"",
")",
":",
"input_dir_path",
",",
"dir_path",
"=",
"pmag",
".",
"fix_directories",
"(",
"input_dir_path",
",",
"dir_path",
")",
"locations",
"=",
"[",
"]",
"concat",
"=",
"int",
"(",
"concat",
")",
"dtypes",
"=",
"[",
"\"locations\"",
",",
"\"samples\"",
",",
"\"specimens\"",
",",
"\"sites\"",
",",
"\"ages\"",
",",
"\"measurements\"",
",",
"\"criteria\"",
",",
"\"contribution\"",
",",
"\"images\"",
"]",
"fnames",
"=",
"[",
"os",
".",
"path",
".",
"join",
"(",
"input_dir_path",
",",
"dtype",
"+",
"\".txt\"",
")",
"for",
"dtype",
"in",
"dtypes",
"]",
"file_names",
"=",
"[",
"fname",
"for",
"fname",
"in",
"fnames",
"if",
"os",
".",
"path",
".",
"exists",
"(",
"fname",
")",
"]",
"error_fnames",
"=",
"[",
"dtype",
"+",
"\"_errors.txt\"",
"for",
"dtype",
"in",
"dtypes",
"]",
"error_full_fnames",
"=",
"[",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"fname",
")",
"for",
"fname",
"in",
"error_fnames",
"if",
"os",
".",
"path",
".",
"exists",
"(",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"fname",
")",
")",
"]",
"print",
"(",
"'-I- Removing old error files from {}: {}'",
".",
"format",
"(",
"dir_path",
",",
"\", \"",
".",
"join",
"(",
"error_fnames",
")",
")",
")",
"for",
"error",
"in",
"error_full_fnames",
":",
"os",
".",
"remove",
"(",
"error",
")",
"if",
"isinstance",
"(",
"contribution",
",",
"cb",
".",
"Contribution",
")",
":",
"# if contribution object provided, use it",
"con",
"=",
"contribution",
"for",
"table_name",
"in",
"con",
".",
"tables",
":",
"con",
".",
"tables",
"[",
"table_name",
"]",
".",
"write_magic_file",
"(",
")",
"elif",
"file_names",
":",
"# otherwise create a new Contribution in dir_path",
"con",
"=",
"Contribution",
"(",
"input_dir_path",
",",
"vocabulary",
"=",
"vocab",
")",
"else",
":",
"# if no contribution is provided and no contribution could be created,",
"# you are out of luck",
"print",
"(",
"\"-W- No 3.0 files found in your directory: {}, upload file not created\"",
".",
"format",
"(",
"input_dir_path",
")",
")",
"return",
"False",
",",
"\"no 3.0 files found, upload file not created\"",
",",
"None",
",",
"None",
"# if the contribution has no tables, you can't make an upload file",
"if",
"not",
"con",
".",
"tables",
".",
"keys",
"(",
")",
":",
"print",
"(",
"\"-W- No tables found in your contribution in directory {}, file not created\"",
".",
"format",
"(",
"input_dir_path",
")",
")",
"return",
"False",
",",
"\"-W- No tables found in your contribution, file not created\"",
",",
"None",
",",
"None",
"con",
".",
"propagate_cols",
"(",
"[",
"'core_depth'",
",",
"'composite_depth'",
"]",
",",
"'sites'",
",",
"'samples'",
",",
"down",
"=",
"False",
")",
"# take out any extra added columns",
"# con.remove_non_magic_cols()",
"# begin the upload process",
"up",
"=",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"\"upload.txt\"",
")",
"if",
"os",
".",
"path",
".",
"exists",
"(",
"up",
")",
":",
"os",
".",
"remove",
"(",
"up",
")",
"RmKeys",
"=",
"(",
"'citation_label'",
",",
"'compilation'",
",",
"'calculation_type'",
",",
"'average_n_lines'",
",",
"'average_n_planes'",
",",
"'specimen_grade'",
",",
"'site_vgp_lat'",
",",
"'site_vgp_lon'",
",",
"'direction_type'",
",",
"'specimen_Z'",
",",
"'magic_instrument_codes'",
",",
"'cooling_rate_corr'",
",",
"'cooling_rate_mcd'",
",",
"'anisotropy_atrm_alt'",
",",
"'anisotropy_apar_perc'",
",",
"'anisotropy_F'",
",",
"'anisotropy_F_crit'",
",",
"'specimen_scat'",
",",
"'specimen_gmax'",
",",
"'specimen_frac'",
",",
"'site_vadm'",
",",
"'site_lon'",
",",
"'site_vdm'",
",",
"'site_lat'",
",",
"'measurement_chi'",
",",
"'specimen_k_prime'",
",",
"'specimen_k_prime_sse'",
",",
"'external_database_names'",
",",
"'external_database_ids'",
",",
"'Further Notes'",
",",
"'Typology'",
",",
"'Notes (Year/Area/Locus/Level)'",
",",
"'Site'",
",",
"'Object Number'",
",",
"'version'",
",",
"'site_definition'",
")",
"#print(\"-I- Removing: \", RmKeys)",
"extra_RmKeys",
"=",
"{",
"'measurements'",
":",
"[",
"'sample'",
",",
"'site'",
",",
"'location'",
"]",
",",
"'specimens'",
":",
"[",
"'site'",
",",
"'location'",
",",
"'age'",
",",
"'age_unit'",
",",
"'age_high'",
",",
"'age_low'",
",",
"'age_sigma'",
",",
"'specimen_core_depth'",
"]",
",",
"'samples'",
":",
"[",
"'location'",
",",
"'age'",
",",
"'age_unit'",
",",
"'age_high'",
",",
"'age_low'",
",",
"'age_sigma'",
",",
"'core_depth'",
",",
"'composite_depth'",
"]",
",",
"'sites'",
":",
"[",
"'texture'",
",",
"'azimuth'",
",",
"'azimuth_dec_correction'",
",",
"'dip'",
",",
"'orientation_quality'",
",",
"'sample_alternatives'",
",",
"'timestamp'",
"]",
",",
"'ages'",
":",
"[",
"'level'",
"]",
"}",
"failing",
"=",
"[",
"]",
"all_failing_items",
"=",
"{",
"}",
"if",
"not",
"dmodel",
":",
"dmodel",
"=",
"data_model",
".",
"DataModel",
"(",
")",
"last_file_type",
"=",
"sorted",
"(",
"con",
".",
"tables",
".",
"keys",
"(",
")",
")",
"[",
"-",
"1",
"]",
"for",
"file_type",
"in",
"sorted",
"(",
"con",
".",
"tables",
".",
"keys",
"(",
")",
")",
":",
"container",
"=",
"con",
".",
"tables",
"[",
"file_type",
"]",
"# format all float values to have correct number of decimals",
"container",
".",
"all_to_str",
"(",
")",
"# make sure all nans and Nones are changed to ''",
"container",
".",
"df",
".",
"fillna",
"(",
"''",
")",
"df",
"=",
"container",
".",
"df",
"if",
"len",
"(",
"df",
")",
":",
"print",
"(",
"\"-I- {} file successfully read in\"",
".",
"format",
"(",
"file_type",
")",
")",
"# make some adjustments to clean up data",
"# drop non MagIC keys",
"DropKeys",
"=",
"list",
"(",
"RmKeys",
")",
"+",
"extra_RmKeys",
".",
"get",
"(",
"file_type",
",",
"[",
"]",
")",
"DropKeys",
"=",
"set",
"(",
"DropKeys",
")",
".",
"intersection",
"(",
"df",
".",
"columns",
")",
"if",
"DropKeys",
":",
"print",
"(",
"'-I- dropping these columns: {} from the {} table'",
".",
"format",
"(",
"', '",
".",
"join",
"(",
"DropKeys",
")",
",",
"file_type",
")",
")",
"df",
".",
"drop",
"(",
"DropKeys",
",",
"axis",
"=",
"1",
",",
"inplace",
"=",
"True",
")",
"container",
".",
"df",
"=",
"df",
"unrecognized_cols",
"=",
"container",
".",
"get_non_magic_cols",
"(",
")",
"if",
"unrecognized_cols",
":",
"print",
"(",
"'-W- {} table still has some unrecognized columns: {}'",
".",
"format",
"(",
"file_type",
".",
"title",
"(",
")",
",",
"\", \"",
".",
"join",
"(",
"unrecognized_cols",
")",
")",
")",
"# make sure int_b_beta is positive",
"if",
"'int_b_beta'",
"in",
"df",
".",
"columns",
":",
"# get rid of empty strings",
"df",
"=",
"df",
".",
"replace",
"(",
"r'\\s+( +\\.)|#'",
",",
"np",
".",
"nan",
",",
"regex",
"=",
"True",
")",
".",
"replace",
"(",
"''",
",",
"np",
".",
"nan",
")",
"try",
":",
"df",
"[",
"'int_b_beta'",
"]",
"=",
"df",
"[",
"'int_b_beta'",
"]",
".",
"astype",
"(",
"float",
")",
".",
"apply",
"(",
"abs",
")",
"except",
"ValueError",
":",
"\"-W- Non numeric values found in int_b_beta column.\\n Could not apply absolute value.\"",
"# make all declinations/azimuths/longitudes in range 0=>360.",
"relevant_cols",
"=",
"val_up3",
".",
"get_degree_cols",
"(",
"df",
")",
"for",
"col",
"in",
"relevant_cols",
":",
"df",
"[",
"col",
"]",
"=",
"df",
"[",
"col",
"]",
".",
"apply",
"(",
"pmag",
".",
"adjust_val_to_360",
")",
"# get list of location names",
"if",
"file_type",
"==",
"'locations'",
":",
"locations",
"=",
"sorted",
"(",
"df",
"[",
"'location'",
"]",
".",
"unique",
"(",
")",
")",
"# LJ: need to deal with this",
"# use only highest priority orientation -- not sure how this works",
"elif",
"file_type",
"==",
"'samples'",
":",
"# orient,az_type=pmag.get_orient(Data,rec['sample'])",
"pass",
"# include only specimen records with samples",
"elif",
"file_type",
"==",
"'specimens'",
":",
"df",
"=",
"df",
"[",
"df",
"[",
"'sample'",
"]",
".",
"notnull",
"(",
")",
"]",
"if",
"'samples'",
"in",
"con",
".",
"tables",
":",
"samp_df",
"=",
"con",
".",
"tables",
"[",
"'samples'",
"]",
".",
"df",
"df",
"=",
"df",
"[",
"df",
"[",
"'sample'",
"]",
".",
"isin",
"(",
"samp_df",
".",
"index",
".",
"unique",
"(",
")",
")",
"]",
"# include only measurements with specmiens",
"elif",
"file_type",
"==",
"'measurements'",
":",
"df",
"=",
"df",
"[",
"df",
"[",
"'specimen'",
"]",
".",
"notnull",
"(",
")",
"]",
"if",
"'specimens'",
"in",
"con",
".",
"tables",
":",
"spec_df",
"=",
"con",
".",
"tables",
"[",
"'specimens'",
"]",
".",
"df",
"df",
"=",
"df",
"[",
"df",
"[",
"'specimen'",
"]",
".",
"isin",
"(",
"spec_df",
".",
"index",
".",
"unique",
"(",
")",
")",
"]",
"# run validations",
"res",
"=",
"val_up3",
".",
"validate_table",
"(",
"con",
",",
"file_type",
",",
"output_dir",
"=",
"dir_path",
")",
"# , verbose=True)",
"if",
"res",
":",
"dtype",
",",
"bad_rows",
",",
"bad_cols",
",",
"missing_cols",
",",
"missing_groups",
",",
"failing_items",
"=",
"res",
"if",
"dtype",
"not",
"in",
"all_failing_items",
":",
"all_failing_items",
"[",
"dtype",
"]",
"=",
"{",
"}",
"all_failing_items",
"[",
"dtype",
"]",
"[",
"\"rows\"",
"]",
"=",
"failing_items",
"all_failing_items",
"[",
"dtype",
"]",
"[",
"\"missing_columns\"",
"]",
"=",
"missing_cols",
"all_failing_items",
"[",
"dtype",
"]",
"[",
"\"missing_groups\"",
"]",
"=",
"missing_groups",
"failing",
".",
"append",
"(",
"dtype",
")",
"# write out the data",
"if",
"len",
"(",
"df",
")",
":",
"container",
".",
"write_magic_file",
"(",
"up",
",",
"append",
"=",
"True",
",",
"multi_type",
"=",
"True",
")",
"# write out the file separator",
"if",
"last_file_type",
"!=",
"file_type",
":",
"f",
"=",
"open",
"(",
"up",
",",
"'a'",
")",
"f",
".",
"write",
"(",
"'>>>>>>>>>>\\n'",
")",
"f",
".",
"close",
"(",
")",
"print",
"(",
"\"-I-\"",
",",
"file_type",
",",
"'written to '",
",",
"up",
")",
"else",
":",
"# last file, no newline at end of file",
"#f = open(up, 'a')",
"# f.write('>>>>>>>>>>')",
"# f.close()",
"print",
"(",
"\"-I-\"",
",",
"file_type",
",",
"'written to '",
",",
"up",
")",
"# if there was no understandable data",
"else",
":",
"print",
"(",
"file_type",
",",
"'is bad or non-existent - skipping '",
")",
"# add to existing file",
"if",
"concat",
":",
"f",
"=",
"open",
"(",
"up",
",",
"'a'",
")",
"f",
".",
"write",
"(",
"'>>>>>>>>>>\\n'",
")",
"f",
".",
"close",
"(",
")",
"if",
"not",
"os",
".",
"path",
".",
"isfile",
"(",
"up",
")",
":",
"print",
"(",
"\"no data found, upload file not created\"",
")",
"return",
"False",
",",
"\"no data found, upload file not created\"",
",",
"None",
",",
"None",
"# rename upload.txt according to location + timestamp",
"format_string",
"=",
"\"%d.%b.%Y\"",
"if",
"locations",
":",
"locs",
"=",
"set",
"(",
"locations",
")",
"locs",
"=",
"sorted",
"(",
"locs",
")",
"[",
":",
"3",
"]",
"#location = locations[0].replace(' ', '_')",
"try",
":",
"locs",
"=",
"[",
"loc",
".",
"replace",
"(",
"' '",
",",
"'-'",
")",
"for",
"loc",
"in",
"locs",
"]",
"except",
"AttributeError",
":",
"locs",
"=",
"[",
"\"unknown_location\"",
"]",
"location",
"=",
"\"_\"",
".",
"join",
"(",
"locs",
")",
"new_up",
"=",
"location",
"+",
"'_'",
"+",
"time",
".",
"strftime",
"(",
"format_string",
")",
"+",
"'.txt'",
"else",
":",
"new_up",
"=",
"'unknown_location_'",
"+",
"time",
".",
"strftime",
"(",
"format_string",
")",
"+",
"'.txt'",
"new_up",
"=",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"new_up",
")",
"if",
"os",
".",
"path",
".",
"isfile",
"(",
"new_up",
")",
":",
"fname",
",",
"extension",
"=",
"os",
".",
"path",
".",
"splitext",
"(",
"new_up",
")",
"for",
"i",
"in",
"range",
"(",
"1",
",",
"100",
")",
":",
"if",
"os",
".",
"path",
".",
"isfile",
"(",
"fname",
"+",
"\"_\"",
"+",
"str",
"(",
"i",
")",
"+",
"extension",
")",
":",
"continue",
"else",
":",
"new_up",
"=",
"fname",
"+",
"\"_\"",
"+",
"str",
"(",
"i",
")",
"+",
"extension",
"break",
"if",
"not",
"up",
":",
"print",
"(",
"\"-W- Could not create an upload file\"",
")",
"return",
"False",
",",
"\"Could not create an upload file\"",
",",
"None",
",",
"None",
"os",
".",
"rename",
"(",
"up",
",",
"new_up",
")",
"print",
"(",
"\"Finished preparing upload file: {} \"",
".",
"format",
"(",
"new_up",
")",
")",
"if",
"failing",
":",
"print",
"(",
"\"-W- These tables have errors: {}\"",
".",
"format",
"(",
"\", \"",
".",
"join",
"(",
"failing",
")",
")",
")",
"print",
"(",
"\"-W- validation of upload file has failed.\\nYou can still upload {} to MagIC,\\nbut you will need to fix the above errors before your contribution can be activated.\"",
".",
"format",
"(",
"new_up",
")",
")",
"return",
"False",
",",
"\"Validation of your upload file has failed.\\nYou can still upload {} to MagIC,\\nbut you will need to fix the above errors before your contribution can be activated.\"",
".",
"format",
"(",
"new_up",
")",
",",
"failing",
",",
"all_failing_items",
"else",
":",
"print",
"(",
"\"-I- Your file has passed validation. You should be able to upload it to the MagIC database without trouble!\"",
")",
"return",
"new_up",
",",
"''",
",",
"None",
",",
"None"
] |
Finds all magic files in a given directory, and compiles them into an
upload.txt file which can be uploaded into the MagIC database.
Parameters
----------
concat : boolean where True means do concatenate to upload.txt file in dir_path,
False means write a new file (default is False)
dir_path : string for input/output directory (default ".")
dmodel : pmagpy data_model.DataModel object,
if not provided will be created (default None)
vocab : pmagpy controlled_vocabularies3.Vocabulary object,
if not provided will be created (default None)
contribution : pmagpy contribution_builder.Contribution object, if not provided will be created
in directory (default None)
input_dir_path : str, default ""
path for intput files if different from output dir_path (default is same)
Returns
----------
tuple of either: (False, error_message, errors, all_failing_items)
if there was a problem creating/validating the upload file
or: (filename, '', None, None) if the file creation was fully successful.
|
[
"Finds",
"all",
"magic",
"files",
"in",
"a",
"given",
"directory",
"and",
"compiles",
"them",
"into",
"an",
"upload",
".",
"txt",
"file",
"which",
"can",
"be",
"uploaded",
"into",
"the",
"MagIC",
"database",
".",
"Parameters",
"----------",
"concat",
":",
"boolean",
"where",
"True",
"means",
"do",
"concatenate",
"to",
"upload",
".",
"txt",
"file",
"in",
"dir_path",
"False",
"means",
"write",
"a",
"new",
"file",
"(",
"default",
"is",
"False",
")",
"dir_path",
":",
"string",
"for",
"input",
"/",
"output",
"directory",
"(",
"default",
".",
")",
"dmodel",
":",
"pmagpy",
"data_model",
".",
"DataModel",
"object",
"if",
"not",
"provided",
"will",
"be",
"created",
"(",
"default",
"None",
")",
"vocab",
":",
"pmagpy",
"controlled_vocabularies3",
".",
"Vocabulary",
"object",
"if",
"not",
"provided",
"will",
"be",
"created",
"(",
"default",
"None",
")",
"contribution",
":",
"pmagpy",
"contribution_builder",
".",
"Contribution",
"object",
"if",
"not",
"provided",
"will",
"be",
"created",
"in",
"directory",
"(",
"default",
"None",
")",
"input_dir_path",
":",
"str",
"default",
"path",
"for",
"intput",
"files",
"if",
"different",
"from",
"output",
"dir_path",
"(",
"default",
"is",
"same",
")"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L4453-L4673
|
train
|
Uploads all files in a given directory and returns a tuple of True and error message and errors for the upload. txt file.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(0b110000) + chr(8932 - 8821) + '\063' + '\060', 0o10), nzTpIcepk0o8(chr(48) + chr(111) + chr(1274 - 1223) + chr(0b110011) + chr(0b110101), 0o10), nzTpIcepk0o8('\060' + chr(2108 - 1997) + chr(50) + chr(2120 - 2068) + '\x32', 0o10), nzTpIcepk0o8(chr(48) + chr(111) + chr(49) + chr(179 - 129) + '\061', ord("\x08")), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b100100 + 0o15) + chr(689 - 639) + '\067', 29631 - 29623), nzTpIcepk0o8('\060' + chr(111) + chr(0b110001) + '\065' + chr(2589 - 2534), 6133 - 6125), nzTpIcepk0o8(chr(0b110000) + chr(11010 - 10899) + '\063' + '\x36' + chr(0b1010 + 0o52), ord("\x08")), nzTpIcepk0o8('\x30' + chr(111) + '\x31' + '\x30' + '\x30', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b11 + 0o56) + chr(49), ord("\x08")), nzTpIcepk0o8(chr(51 - 3) + chr(0b100 + 0o153) + '\063' + chr(0b110011) + '\067', 60931 - 60923), nzTpIcepk0o8('\x30' + chr(8710 - 8599) + '\x32' + chr(0b110101) + '\061', 0b1000), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b10010 + 0o45) + chr(490 - 440), 0b1000), nzTpIcepk0o8(chr(0b100100 + 0o14) + chr(10276 - 10165) + chr(1191 - 1142) + '\x35' + '\x37', 8), nzTpIcepk0o8(chr(0b101010 + 0o6) + chr(0b1101000 + 0o7) + chr(54) + chr(54), 0b1000), nzTpIcepk0o8(chr(0b10001 + 0o37) + chr(0b1110 + 0o141) + chr(0b110100) + '\x33', 0o10), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\x31' + '\x30', 0o10), nzTpIcepk0o8('\060' + '\x6f' + '\x33' + chr(702 - 649) + '\061', 0b1000), nzTpIcepk0o8(chr(185 - 137) + chr(0b1000101 + 0o52) + chr(49) + chr(0b10 + 0o61) + chr(0b110 + 0o61), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(49) + '\x32' + chr(0b110111), 8), nzTpIcepk0o8(chr(48) + chr(0b101111 + 0o100) + chr(199 - 148) + chr(48) + '\x30', 6988 - 6980), nzTpIcepk0o8('\x30' + chr(2768 - 2657) + chr(0b11011 + 0o26) + chr(134 - 86) + chr(831 - 780), 0o10), nzTpIcepk0o8(chr(48) + '\x6f' + '\x33', 37229 - 37221), nzTpIcepk0o8(chr(1181 - 1133) + '\x6f' + '\x31' + chr(0b110100) + '\x34', 0o10), nzTpIcepk0o8(chr(1830 - 1782) + '\157' + chr(51) + '\x30' + chr(51), ord("\x08")), nzTpIcepk0o8(chr(0b11001 + 0o27) + chr(0b10 + 0o155) + '\x32' + chr(2650 - 2596) + chr(1037 - 989), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b101000 + 0o107) + '\063' + chr(50) + chr(125 - 74), 0b1000), nzTpIcepk0o8(chr(1325 - 1277) + '\157' + '\061' + chr(0b100 + 0o61) + '\064', ord("\x08")), nzTpIcepk0o8(chr(48) + chr(111) + '\x34', ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(49) + chr(1015 - 967) + chr(0b110010), ord("\x08")), nzTpIcepk0o8(chr(0b1 + 0o57) + '\157' + chr(49) + chr(2672 - 2618) + chr(50), ord("\x08")), nzTpIcepk0o8(chr(2060 - 2012) + chr(5243 - 5132) + '\063' + chr(0b1000 + 0o54) + chr(0b1001 + 0o54), 0b1000), nzTpIcepk0o8(chr(0b10111 + 0o31) + '\x6f' + '\x31' + chr(1747 - 1696) + '\x30', 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(51) + chr(0b110110) + chr(0b110001), 4410 - 4402), nzTpIcepk0o8(chr(1945 - 1897) + chr(9797 - 9686) + '\x31' + chr(2094 - 2043) + chr(1792 - 1743), 35006 - 34998), nzTpIcepk0o8(chr(0b11100 + 0o24) + chr(0b1101111) + chr(0b110111) + chr(1843 - 1794), 0b1000), nzTpIcepk0o8(chr(0b111 + 0o51) + chr(0b1100 + 0o143) + chr(0b110001) + chr(53), 63664 - 63656), nzTpIcepk0o8('\x30' + chr(9189 - 9078) + chr(1930 - 1880) + chr(51), 0b1000), nzTpIcepk0o8('\x30' + '\x6f' + '\062' + chr(0b110111) + '\063', 2493 - 2485), nzTpIcepk0o8(chr(0b110000) + chr(5095 - 4984) + chr(51) + chr(2134 - 2085) + chr(693 - 638), 58123 - 58115), nzTpIcepk0o8('\x30' + chr(0b1000111 + 0o50) + chr(50) + chr(2004 - 1953) + '\x33', 0b1000)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(1614 - 1566) + chr(2142 - 2031) + chr(53) + chr(48), ord("\x08"))] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'6'), '\x64' + chr(0b1011010 + 0o13) + '\143' + chr(0b1 + 0o156) + '\x64' + '\145')(chr(117) + '\164' + chr(0b1100110) + chr(45) + '\070') + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def tIxT17cGLiin(NaJxTGTED2vO=nzTpIcepk0o8(chr(80 - 32) + chr(0b100101 + 0o112) + chr(0b100 + 0o54), 57935 - 57927), qjksZ7GK0xkJ=roI3spqORKae(ES5oEprVxulp(b'6'), chr(100) + chr(6498 - 6397) + '\x63' + '\x6f' + chr(0b1000001 + 0o43) + chr(101))(chr(10628 - 10511) + chr(0b1011011 + 0o31) + '\146' + chr(0b101101) + '\070'), nW1eiNbQ6wqr=None, Gco8Sd5Rk1TP=roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(0b1100101) + chr(0b11100 + 0o107) + chr(8615 - 8504) + '\144' + chr(0b1001110 + 0o27))(chr(117) + '\164' + '\x66' + chr(45) + '\070'), bSiGoWKHgDdJ=None, KADebXAR9grB=roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(0b1010101 + 0o20) + chr(0b100111 + 0o74) + chr(2859 - 2748) + chr(100) + '\x65')(chr(117) + chr(0b1011100 + 0o30) + chr(4823 - 4721) + '\x2d' + '\070')):
(KADebXAR9grB, qjksZ7GK0xkJ) = hUcsWwAd0nE_.fix_directories(KADebXAR9grB, qjksZ7GK0xkJ)
c7FJzf0TKi1V = []
NaJxTGTED2vO = nzTpIcepk0o8(NaJxTGTED2vO)
ZFaMqmhpIHvV = [roI3spqORKae(ES5oEprVxulp(b't\xb2\xc10#\x06\x9b.z'), chr(0b1100100) + '\145' + chr(9196 - 9097) + chr(0b0 + 0o157) + chr(0b1100100) + '\145')(chr(0b1110101) + '\164' + chr(2714 - 2612) + chr(1230 - 1185) + '\070'), roI3spqORKae(ES5oEprVxulp(b'k\xbc\xcf!;\n\x87'), '\x64' + '\145' + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + chr(101))(chr(0b1110101) + chr(116) + chr(6380 - 6278) + chr(0b100 + 0o51) + '\070'), roI3spqORKae(ES5oEprVxulp(b'k\xad\xc72>\x02\x91.z'), chr(0b111001 + 0o53) + chr(101) + chr(723 - 624) + chr(111) + chr(9412 - 9312) + chr(101))(chr(117) + '\x74' + chr(0b100110 + 0o100) + chr(0b101011 + 0o2) + chr(66 - 10)), roI3spqORKae(ES5oEprVxulp(b'k\xb4\xd64$'), chr(100) + chr(101) + '\143' + '\x6f' + chr(0b1001000 + 0o34) + chr(101))('\x75' + chr(0b1100110 + 0o16) + chr(4013 - 3911) + chr(0b101101) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'y\xba\xc7"'), '\144' + '\x65' + '\x63' + '\x6f' + '\x64' + '\145')('\165' + '\164' + '\146' + chr(0b11000 + 0o25) + chr(0b100111 + 0o21)), roI3spqORKae(ES5oEprVxulp(b'u\xb8\xc3""\x1d\x91-l\xb1\xddI'), '\x64' + chr(2239 - 2138) + '\x63' + chr(0b101011 + 0o104) + chr(0b1100100) + '\x65')('\x75' + chr(6215 - 6099) + chr(102) + chr(0b100100 + 0o11) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'{\xaf\xcb%2\x1d\x9d!'), '\144' + '\x65' + chr(6100 - 6001) + '\x6f' + '\144' + chr(101))('\165' + '\x74' + chr(0b1100110) + chr(0b101101) + '\070'), roI3spqORKae(ES5oEprVxulp(b'{\xb2\xcc%%\x06\x965}\xb6\xc6T'), '\x64' + '\x65' + chr(0b1001001 + 0o32) + chr(0b1101111) + '\144' + '\x65')('\x75' + chr(0b1110100) + chr(0b1100110) + '\055' + chr(0b1010 + 0o56)), roI3spqORKae(ES5oEprVxulp(b'q\xb0\xc362\x1c'), chr(100) + chr(0b1100101) + chr(2988 - 2889) + chr(0b100011 + 0o114) + '\x64' + chr(101))(chr(12963 - 12846) + chr(0b1110100) + chr(0b1101 + 0o131) + '\055' + '\x38')]
HfaqVUK36EUj = [aHUqKstZLeS6.path.Y4yM9BcfTCNq(KADebXAR9grB, RcX9bbuOzh5L + roI3spqORKae(ES5oEprVxulp(b'6\xa9\xda%'), chr(3616 - 3516) + '\x65' + chr(99) + '\157' + chr(100) + chr(9229 - 9128))(chr(0b11111 + 0o126) + '\x74' + '\146' + chr(0b1000 + 0o45) + '\070')) for RcX9bbuOzh5L in ZFaMqmhpIHvV]
hfRctc8UbKRt = [jXqxEQuu_5DD for jXqxEQuu_5DD in HfaqVUK36EUj if aHUqKstZLeS6.path.zSIynPuEvlQ4(jXqxEQuu_5DD)]
Hrjbh2XOWdkr = [RcX9bbuOzh5L + roI3spqORKae(ES5oEprVxulp(b'G\xb8\xd0#8\x1d\x87n}\xa7\xdd'), '\144' + chr(0b1100101) + chr(99) + chr(0b1101111) + chr(0b1100100) + chr(0b1100101))('\x75' + chr(116) + '\146' + chr(0b10011 + 0o32) + '\x38') for RcX9bbuOzh5L in ZFaMqmhpIHvV]
_bmfGWsJ1678 = [aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, jXqxEQuu_5DD) for jXqxEQuu_5DD in Hrjbh2XOWdkr if aHUqKstZLeS6.path.zSIynPuEvlQ4(aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, jXqxEQuu_5DD))]
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'5\x94\x8fq\x05\n\x99/\x7f\xb6\xc7]OYOl\xc9:%\xb2,qD\xa5\xd9\xbf\twb\x14\x977\x9cyBp)\x9b\xb4\xe6'), '\x64' + chr(0b1011 + 0o132) + chr(99) + '\157' + chr(2981 - 2881) + '\145')('\x75' + chr(2388 - 2272) + chr(5000 - 4898) + '\x2d' + chr(2563 - 2507)), roI3spqORKae(ES5oEprVxulp(b'i\xee\x91\x1a\x10\\\x92/X\x80\xeap'), chr(0b1100100) + '\145' + chr(2011 - 1912) + chr(0b100110 + 0o111) + '\x64' + '\145')('\x75' + chr(0b1110100) + chr(102) + chr(97 - 52) + chr(0b10100 + 0o44)))(qjksZ7GK0xkJ, roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'4\xfd'), '\144' + '\x65' + '\143' + '\157' + chr(9724 - 9624) + '\x65')(chr(1282 - 1165) + '\x74' + chr(0b110001 + 0o65) + '\x2d' + chr(959 - 903)), roI3spqORKae(ES5oEprVxulp(b'A\xe9\xdb\x1cn-\x97&]\x9c\xe7K'), '\x64' + '\145' + '\x63' + chr(0b1100011 + 0o14) + chr(100) + '\x65')(chr(0b1110101) + chr(0b1101010 + 0o12) + chr(7465 - 7363) + '\x2d' + chr(1436 - 1380)))(Hrjbh2XOWdkr)))
for qi1wipPVvEKd in _bmfGWsJ1678:
roI3spqORKae(aHUqKstZLeS6, roI3spqORKae(ES5oEprVxulp(b'h\x90\xce\x04?\x0b\xc6\nd\x94\xe8\x7f'), chr(100) + chr(0b1100101) + chr(99) + chr(0b101100 + 0o103) + chr(100) + '\145')(chr(117) + chr(3471 - 3355) + chr(102) + chr(0b100100 + 0o11) + chr(0b101101 + 0o13)))(qi1wipPVvEKd)
if suIjIS24Zkqw(bSiGoWKHgDdJ, roI3spqORKae(RYEhqzIVZREo, roI3spqORKae(ES5oEprVxulp(b'[\xb2\xcc%%\x06\x965}\xb6\xc6T'), chr(100) + chr(101) + chr(0b1100011) + chr(0b1101101 + 0o2) + '\144' + '\x65')(chr(0b1110101) + chr(116) + chr(102) + chr(45) + '\x38'))):
D3H9MFOOog2W = bSiGoWKHgDdJ
for kR9bIddrApHD in roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'O\xba\xd6\x02\x1d7\xc43@\x86\xd9v'), chr(0b1100100) + '\x65' + '\x63' + chr(111) + chr(100) + chr(0b1100101))(chr(117) + '\164' + '\x66' + '\x2d' + '\070')):
roI3spqORKae(D3H9MFOOog2W.tables[kR9bIddrApHD], roI3spqORKae(ES5oEprVxulp(b'o\xaf\xcb%20\x99!n\xb6\xcae\t_Om'), chr(5926 - 5826) + chr(0b110000 + 0o65) + chr(0b1010010 + 0o21) + chr(0b1101111 + 0o0) + '\144' + chr(8507 - 8406))(chr(12414 - 12297) + chr(0b1110100) + chr(7555 - 7453) + '\x2d' + chr(1870 - 1814)))()
elif hfRctc8UbKRt:
D3H9MFOOog2W = TB0DbVB7zsJj(KADebXAR9grB, vocabulary=Gco8Sd5Rk1TP)
else:
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'5\x8a\x8fq\x19\x00\xd4s\'\xef\x89\\\x06ZF{\xc998\xb5-gD\xaa\xde\xf3\x15k7\x00\xc5<\x98+\\ng\xd4\xbd\xe2"\xfd\xd9,{O\x810e\xb0\xc8^OPJd\x8c\x7f9\xaf7#\x07\xb1\xd5\xb2\x18a&'), chr(0b111101 + 0o47) + chr(0b1100101) + '\x63' + '\x6f' + chr(0b1100100) + chr(2935 - 2834))(chr(0b1101010 + 0o13) + '\x74' + '\146' + chr(45) + '\070'), roI3spqORKae(ES5oEprVxulp(b'i\xee\x91\x1a\x10\\\x92/X\x80\xeap'), chr(0b100000 + 0o104) + chr(101) + chr(4891 - 4792) + chr(0b1101111) + '\x64' + chr(0b1001101 + 0o30))('\x75' + chr(116) + chr(102) + '\x2d' + chr(56)))(KADebXAR9grB))
return (nzTpIcepk0o8(chr(1503 - 1455) + chr(0b1011 + 0o144) + chr(0b110000), 8), roI3spqORKae(ES5oEprVxulp(b'v\xb2\x82by_\xd4&`\xb3\xccIOPL}\x87;{\xe06s\x08\xac\xd1\xb7Lb+\x1e\x80x\x9f6M-p\xc9\xaa\xfal\xb8\xc6'), chr(100) + chr(0b1100101) + chr(0b110010 + 0o61) + chr(0b11001 + 0o126) + chr(0b111001 + 0o53) + chr(2950 - 2849))('\x75' + chr(0b1110100) + chr(0b1000101 + 0o41) + chr(0b11000 + 0o25) + chr(1082 - 1026)), None, None)
if not roI3spqORKae(D3H9MFOOog2W.tables, roI3spqORKae(ES5oEprVxulp(b's\xb8\xdb"'), '\x64' + chr(0b1100101) + chr(0b100010 + 0o101) + chr(0b1101111) + chr(100) + chr(164 - 63))(chr(4520 - 4403) + chr(2582 - 2466) + '\x66' + chr(0b11101 + 0o20) + chr(0b100000 + 0o30)))():
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'5\x8a\x8fq\x19\x00\xd44h\xbd\xc5_\x1c\x16Eg\x9c13\xe0*mD\xba\xdf\xa6\x1e$!\x1d\x8b,\x830[xg\xd2\xa0\xf58\xb4\xccq3\x06\x86%j\xab\xc6H\x16\x16Xu\xc5\x7f1\xa9/fD\xad\xdf\xa7Lg0\x17\x84,\x94='), chr(0b1100100) + chr(6104 - 6003) + chr(0b100111 + 0o74) + '\157' + chr(0b111001 + 0o53) + '\145')(chr(117) + chr(10520 - 10404) + chr(0b1001010 + 0o34) + chr(1075 - 1030) + chr(0b101001 + 0o17)), roI3spqORKae(ES5oEprVxulp(b'i\xee\x91\x1a\x10\\\x92/X\x80\xeap'), chr(0b1100100) + chr(0b1100101) + '\143' + chr(0b1101111) + chr(0b1000101 + 0o37) + '\x65')(chr(0b110011 + 0o102) + chr(0b1110100) + '\146' + chr(88 - 43) + '\070'))(KADebXAR9grB))
return (nzTpIcepk0o8(chr(0b110000) + chr(0b100010 + 0o115) + chr(0b101001 + 0o7), 8), roI3spqORKae(ES5oEprVxulp(b'5\x8a\x8fq\x19\x00\xd44h\xbd\xc5_\x1c\x16Eg\x9c13\xe0*mD\xba\xdf\xa6\x1e$!\x1d\x8b,\x830[xg\xd2\xa0\xf54\xfd\xc48;\n\xd4.f\xab\x89Y\x1dSB|\x8c;'), '\144' + '\x65' + chr(1559 - 1460) + '\x6f' + '\x64' + chr(0b1100101))(chr(1922 - 1805) + chr(0b110001 + 0o103) + '\x66' + chr(0b11100 + 0o21) + chr(0b111000)), None, None)
roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'h\xaf\xcd!6\x08\x954l\x80\xcaU\x03E'), chr(100) + chr(101) + '\143' + chr(111) + '\x64' + '\x65')('\165' + chr(0b1011010 + 0o32) + '\146' + chr(0b101101) + chr(0b111000)))([roI3spqORKae(ES5oEprVxulp(b'{\xb2\xd04\x08\x0b\x910}\xb7'), '\x64' + chr(101) + chr(0b1100011) + '\x6f' + chr(0b1100100) + chr(101))(chr(0b1010100 + 0o41) + '\x74' + chr(102) + '\x2d' + '\x38'), roI3spqORKae(ES5oEprVxulp(b'{\xb2\xcf!8\x1c\x9d4l\x80\xcd_\x1fBK'), '\144' + chr(0b1100101) + '\143' + chr(0b100011 + 0o114) + '\x64' + chr(2811 - 2710))('\x75' + chr(0b111111 + 0o65) + chr(0b110101 + 0o61) + chr(0b101101) + chr(0b111000))], roI3spqORKae(ES5oEprVxulp(b'k\xb4\xd64$'), '\144' + chr(0b1100101 + 0o0) + chr(9652 - 9553) + '\157' + '\144' + chr(0b11001 + 0o114))(chr(0b1110101) + chr(116) + chr(0b1100110) + chr(45) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'k\xbc\xcf!;\n\x87'), '\x64' + '\145' + chr(99) + '\157' + '\144' + '\x65')(chr(117) + chr(0b1110100) + chr(0b1010110 + 0o20) + '\055' + chr(56)), down=nzTpIcepk0o8(chr(478 - 430) + '\x6f' + '\060', 8))
NSH2ByM93RoN = aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, roI3spqORKae(ES5oEprVxulp(b'm\xad\xce>6\x0b\xda4q\xab'), chr(0b100011 + 0o101) + '\x65' + '\x63' + chr(0b111110 + 0o61) + chr(0b1100100) + chr(101))('\165' + '\x74' + chr(1106 - 1004) + '\055' + '\070'))
if roI3spqORKae(aHUqKstZLeS6.path, roI3spqORKae(ES5oEprVxulp(b'b\x8e\xeb(9?\x81\x05\x7f\xb3\xf8\x0e'), '\x64' + chr(101) + chr(0b101100 + 0o67) + chr(111) + chr(100) + chr(8145 - 8044))(chr(0b100 + 0o161) + chr(0b1000000 + 0o64) + chr(102) + chr(0b101101) + chr(56)))(NSH2ByM93RoN):
roI3spqORKae(aHUqKstZLeS6, roI3spqORKae(ES5oEprVxulp(b'h\x90\xce\x04?\x0b\xc6\nd\x94\xe8\x7f'), chr(100) + '\145' + '\143' + chr(0b100001 + 0o116) + chr(0b1000111 + 0o35) + chr(2380 - 2279))(chr(1285 - 1168) + chr(116) + chr(8375 - 8273) + chr(45) + '\x38'))(NSH2ByM93RoN)
i3T36abxXSjB = (roI3spqORKae(ES5oEprVxulp(b'{\xb4\xd60#\x06\x9b.V\xb3\xc8X\nZ'), '\x64' + chr(101) + chr(8156 - 8057) + '\157' + chr(0b1000010 + 0o42) + chr(9972 - 9871))('\x75' + chr(0b1101011 + 0o11) + chr(0b1010000 + 0o26) + chr(326 - 281) + chr(252 - 196)), roI3spqORKae(ES5oEprVxulp(b'{\xb2\xcf!>\x03\x954`\xb0\xc7'), '\144' + chr(0b1001111 + 0o26) + chr(0b100 + 0o137) + '\157' + chr(0b1010111 + 0o15) + chr(0b1001000 + 0o35))('\165' + chr(0b10110 + 0o136) + chr(949 - 847) + chr(0b100101 + 0o10) + chr(1859 - 1803)), roI3spqORKae(ES5oEprVxulp(b'{\xbc\xce2"\x03\x954`\xb0\xc7e\x1bOSm'), chr(0b101001 + 0o73) + chr(101) + chr(3081 - 2982) + '\157' + '\x64' + '\x65')('\x75' + chr(0b100001 + 0o123) + '\x66' + chr(0b101101) + chr(1878 - 1822)), roI3spqORKae(ES5oEprVxulp(b'y\xab\xc7#6\x08\x91\x1fg\x80\xc5S\x01SP'), chr(0b1100100) + '\145' + chr(0b111001 + 0o52) + '\x6f' + chr(0b1100100) + '\x65')(chr(117) + chr(7817 - 7701) + '\x66' + chr(1767 - 1722) + '\070'), roI3spqORKae(ES5oEprVxulp(b'y\xab\xc7#6\x08\x91\x1fg\x80\xd9V\x0eXF{'), '\x64' + '\145' + chr(0b1100011) + chr(2813 - 2702) + chr(100) + chr(5011 - 4910))('\x75' + '\164' + '\x66' + chr(193 - 148) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'k\xad\xc72>\x02\x91.V\xb8\xdb[\x0bS'), chr(0b100001 + 0o103) + '\x65' + chr(6268 - 6169) + '\x6f' + '\x64' + chr(0b1001011 + 0o32))(chr(117) + chr(116) + chr(0b1100110) + chr(0b11100 + 0o21) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'k\xb4\xd64\x08\x19\x930V\xb3\xc8N'), chr(0b110101 + 0o57) + chr(0b1100101) + chr(0b1100011) + chr(0b1101111) + chr(100) + chr(5497 - 5396))(chr(280 - 163) + chr(0b1110100) + chr(9561 - 9459) + chr(45) + chr(736 - 680)), roI3spqORKae(ES5oEprVxulp(b'k\xb4\xd64\x08\x19\x930V\xb3\xc6T'), '\x64' + chr(7459 - 7358) + chr(99) + chr(0b11110 + 0o121) + chr(0b1100100) + '\x65')(chr(0b1110101) + '\164' + '\x66' + '\x2d' + chr(0b110100 + 0o4)), roI3spqORKae(ES5oEprVxulp(b'|\xb4\xd044\x1b\x9d/g\x80\xddC\x1fS'), chr(0b1100 + 0o130) + chr(7700 - 7599) + '\143' + chr(111) + chr(2498 - 2398) + chr(0b110010 + 0o63))('\165' + '\164' + chr(0b1000100 + 0o42) + chr(45) + '\070'), roI3spqORKae(ES5oEprVxulp(b'k\xad\xc72>\x02\x91.V\x85'), chr(3827 - 3727) + chr(0b101011 + 0o72) + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(0b1100101))('\x75' + '\x74' + '\x66' + chr(0b101010 + 0o3) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'u\xbc\xc5840\x9d.z\xab\xdbO\x02SM|\xb6<8\xa4&p'), chr(0b111110 + 0o46) + chr(101) + chr(0b10110 + 0o115) + chr(111) + chr(100) + chr(5198 - 5097))('\x75' + '\164' + chr(0b101011 + 0o73) + chr(45) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'{\xb2\xcd=>\x01\x93\x1f{\xbe\xdd_0ULz\x9b'), '\144' + chr(3922 - 3821) + chr(0b1100011 + 0o0) + '\x6f' + chr(100) + '\x65')(chr(117) + chr(0b1011110 + 0o26) + chr(1304 - 1202) + chr(0b101101) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'{\xb2\xcd=>\x01\x93\x1f{\xbe\xdd_0[@l'), chr(100) + '\145' + chr(99) + '\157' + '\x64' + '\x65')(chr(0b1110101) + '\164' + '\x66' + chr(45) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'y\xb3\xcb"8\x1b\x86/y\xa6\xf6[\x1bDNW\x883#'), '\x64' + chr(0b1000000 + 0o45) + '\143' + chr(6332 - 6221) + chr(6455 - 6355) + chr(0b1000000 + 0o45))(chr(0b111101 + 0o70) + chr(116) + '\x66' + chr(0b0 + 0o55) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'y\xb3\xcb"8\x1b\x86/y\xa6\xf6[\x1fWQW\x99:%\xa3'), '\x64' + chr(0b111110 + 0o47) + chr(0b100000 + 0o103) + '\x6f' + '\x64' + chr(101))('\x75' + chr(0b1001 + 0o153) + chr(102) + chr(0b11101 + 0o20) + chr(2214 - 2158)), roI3spqORKae(ES5oEprVxulp(b'y\xb3\xcb"8\x1b\x86/y\xa6\xf6|'), '\x64' + '\145' + chr(99) + '\x6f' + chr(100) + chr(101))(chr(0b1110101) + chr(0b101001 + 0o113) + '\146' + chr(0b10010 + 0o33) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'y\xb3\xcb"8\x1b\x86/y\xa6\xf6|0UQa\x9d'), '\144' + chr(101) + chr(0b1100011) + chr(0b1010001 + 0o36) + '\144' + chr(3607 - 3506))(chr(0b1001001 + 0o54) + chr(12705 - 12589) + chr(1532 - 1430) + chr(427 - 382) + '\070'), roI3spqORKae(ES5oEprVxulp(b'k\xad\xc72>\x02\x91.V\xac\xca[\x1b'), chr(8042 - 7942) + '\x65' + chr(3502 - 3403) + chr(0b1101100 + 0o3) + chr(100) + '\x65')(chr(2583 - 2466) + chr(3524 - 3408) + '\x66' + '\x2d' + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'k\xad\xc72>\x02\x91.V\xb8\xc4[\x17'), chr(0b1100100) + chr(0b1100101) + chr(0b1001101 + 0o26) + chr(0b1101111) + chr(100) + chr(0b1100101))('\165' + chr(116) + chr(0b10101 + 0o121) + chr(45) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'k\xad\xc72>\x02\x91.V\xb9\xdb[\x0c'), '\144' + '\145' + chr(0b1001101 + 0o26) + '\157' + '\x64' + chr(0b1100101))(chr(0b1110101) + chr(116) + '\146' + chr(45) + '\070'), roI3spqORKae(ES5oEprVxulp(b'k\xb4\xd64\x08\x19\x95$d'), chr(0b1 + 0o143) + chr(101) + '\x63' + chr(0b110111 + 0o70) + chr(0b1100100) + '\145')(chr(0b1110101) + chr(116) + chr(0b1100110) + chr(45) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'k\xb4\xd64\x08\x03\x9b.'), chr(0b1001010 + 0o32) + '\x65' + chr(99) + chr(4447 - 4336) + '\144' + chr(0b1100101))(chr(7670 - 7553) + chr(116) + '\x66' + chr(45) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'k\xb4\xd64\x08\x19\x90-'), '\144' + '\145' + chr(99) + chr(6308 - 6197) + '\144' + chr(101))(chr(0b1011101 + 0o30) + chr(0b110001 + 0o103) + chr(102) + chr(0b111 + 0o46) + chr(1733 - 1677)), roI3spqORKae(ES5oEprVxulp(b'k\xb4\xd64\x08\x03\x954'), chr(3312 - 3212) + chr(0b1100101) + chr(6659 - 6560) + chr(111) + chr(0b10111 + 0o115) + '\145')(chr(5310 - 5193) + '\164' + '\146' + chr(45) + chr(0b1000 + 0o60)), roI3spqORKae(ES5oEprVxulp(b'u\xb8\xc3""\x1d\x91-l\xb1\xdde\x0c^J'), chr(100) + chr(0b1100101) + chr(99) + '\157' + '\x64' + chr(0b101011 + 0o72))(chr(0b1110101) + chr(0b1110100) + chr(9638 - 9536) + chr(0b101011 + 0o2) + chr(0b1001 + 0o57)), roI3spqORKae(ES5oEprVxulp(b'k\xad\xc72>\x02\x91.V\xb4\xf6J\x1d_Nm'), chr(100) + '\145' + chr(3079 - 2980) + chr(0b100101 + 0o112) + chr(100) + chr(0b1011000 + 0o15))('\x75' + '\164' + '\146' + chr(0b101101) + '\070'), roI3spqORKae(ES5oEprVxulp(b'k\xad\xc72>\x02\x91.V\xb4\xf6J\x1d_Nm\xb6,$\xa5'), chr(100) + '\145' + '\143' + chr(0b1101111) + '\x64' + '\x65')('\165' + chr(116) + '\146' + chr(0b110 + 0o47) + '\070'), roI3spqORKae(ES5oEprVxulp(b'}\xa5\xd64%\x01\x95,V\xbb\xc8N\x0eTB{\x8c\x009\xa1.f\x17'), '\144' + '\x65' + chr(6067 - 5968) + chr(0b101100 + 0o103) + '\144' + chr(101))('\165' + '\164' + '\146' + '\x2d' + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'}\xa5\xd64%\x01\x95,V\xbb\xc8N\x0eTB{\x8c\x00>\xa40'), chr(7687 - 7587) + chr(101) + chr(99) + '\x6f' + chr(0b1100100) + '\x65')('\165' + chr(0b1110100) + chr(102) + chr(568 - 523) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'^\xa8\xd0%?\n\x86`G\xb0\xdd_\x1c'), chr(0b11000 + 0o114) + '\145' + chr(99) + '\x6f' + chr(100) + chr(101))(chr(9420 - 9303) + chr(116) + chr(0b1100110) + '\055' + chr(56)), roI3spqORKae(ES5oEprVxulp(b'L\xa4\xd2>;\x00\x939'), chr(100) + chr(0b1100101) + '\143' + '\157' + chr(0b101111 + 0o65) + '\x65')(chr(117) + chr(116) + chr(4929 - 4827) + chr(0b101101) + chr(0b101111 + 0o11)), roI3spqORKae(ES5oEprVxulp(b'V\xb2\xd64$O\xdc\x19l\xbe\xdb\x15.DFi\xc6\x138\xa36pK\x8f\xd5\xa5\thk'), chr(0b1100100) + chr(2779 - 2678) + chr(0b1100001 + 0o2) + chr(0b1101111) + chr(100) + chr(0b1100101))('\x75' + chr(0b1110100) + chr(0b1100110) + chr(743 - 698) + chr(674 - 618)), roI3spqORKae(ES5oEprVxulp(b'K\xb4\xd64'), chr(0b110 + 0o136) + '\145' + chr(0b1010010 + 0o21) + chr(111) + chr(100) + chr(0b1001111 + 0o26))(chr(10616 - 10499) + chr(0b110001 + 0o103) + chr(0b1100110) + chr(1058 - 1013) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'W\xbf\xc844\x1b\xd4\x0e|\xb2\xcb_\x1d'), chr(4037 - 3937) + chr(0b10111 + 0o116) + '\143' + chr(0b1100101 + 0o12) + chr(5392 - 5292) + '\x65')(chr(0b1110101) + '\164' + chr(0b1011001 + 0o15) + chr(45) + '\070'), roI3spqORKae(ES5oEprVxulp(b'n\xb8\xd0">\x00\x9a'), '\144' + '\x65' + chr(0b111100 + 0o47) + chr(0b1101111) + chr(2605 - 2505) + chr(0b1100101))(chr(11045 - 10928) + chr(0b1110100) + '\x66' + '\055' + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'k\xb4\xd64\x08\x0b\x91&`\xb1\xc0N\x06YM'), chr(4042 - 3942) + '\x65' + chr(8999 - 8900) + '\157' + chr(4368 - 4268) + chr(5155 - 5054))(chr(4361 - 4244) + '\x74' + chr(4254 - 4152) + '\x2d' + '\x38'))
LLy61rW7TAPT = {roI3spqORKae(ES5oEprVxulp(b'u\xb8\xc3""\x1d\x91-l\xb1\xddI'), '\144' + chr(101) + chr(4524 - 4425) + chr(111) + chr(7591 - 7491) + chr(0b0 + 0o145))(chr(0b1110101) + chr(5323 - 5207) + chr(0b1011011 + 0o13) + chr(0b0 + 0o55) + chr(0b111000)): [roI3spqORKae(ES5oEprVxulp(b'k\xbc\xcf!;\n'), '\x64' + '\145' + '\143' + chr(0b1011011 + 0o24) + chr(0b1100100) + chr(101))(chr(117) + chr(0b1110001 + 0o3) + '\x66' + chr(1622 - 1577) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'k\xb4\xd64'), chr(100) + chr(7184 - 7083) + '\x63' + chr(0b1101111) + chr(0b1100100) + '\x65')('\x75' + chr(0b1001110 + 0o46) + chr(460 - 358) + chr(0b11011 + 0o22) + chr(0b10010 + 0o46)), roI3spqORKae(ES5oEprVxulp(b't\xb2\xc10#\x06\x9b.'), '\x64' + chr(101) + chr(2385 - 2286) + chr(3524 - 3413) + chr(2953 - 2853) + chr(7788 - 7687))(chr(117) + chr(0b10101 + 0o137) + '\x66' + chr(0b1011 + 0o42) + '\070')], roI3spqORKae(ES5oEprVxulp(b'k\xad\xc72>\x02\x91.z'), chr(7701 - 7601) + chr(0b1100101) + chr(99) + chr(0b1101111) + chr(0b10011 + 0o121) + chr(0b1100101))(chr(0b1101101 + 0o10) + chr(116) + '\146' + chr(1811 - 1766) + '\x38'): [roI3spqORKae(ES5oEprVxulp(b'k\xb4\xd64'), chr(0b1001101 + 0o27) + chr(808 - 707) + chr(99) + chr(0b1101111) + '\x64' + '\x65')(chr(0b1110101) + chr(8931 - 8815) + '\x66' + chr(1513 - 1468) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b't\xb2\xc10#\x06\x9b.'), chr(6353 - 6253) + chr(101) + chr(0b110111 + 0o54) + chr(2988 - 2877) + chr(7132 - 7032) + chr(101))(chr(9986 - 9869) + '\164' + chr(6592 - 6490) + chr(1848 - 1803) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'y\xba\xc7'), chr(0b1011010 + 0o12) + chr(0b1001 + 0o134) + '\143' + chr(0b1101111) + '\x64' + chr(101))('\165' + '\164' + chr(0b11110 + 0o110) + chr(0b101101) + chr(0b1001 + 0o57)), roI3spqORKae(ES5oEprVxulp(b'y\xba\xc7\x0e"\x01\x9d4'), chr(0b10011 + 0o121) + chr(101) + chr(1556 - 1457) + '\x6f' + '\144' + chr(0b1010010 + 0o23))('\x75' + chr(0b1 + 0o163) + '\146' + '\055' + '\x38'), roI3spqORKae(ES5oEprVxulp(b'y\xba\xc7\x0e?\x06\x93('), chr(100) + chr(2257 - 2156) + '\x63' + chr(0b1101111) + chr(100) + chr(0b101110 + 0o67))('\x75' + '\164' + chr(102) + chr(763 - 718) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'y\xba\xc7\x0e;\x00\x83'), '\144' + chr(0b1100101) + chr(0b1100011) + chr(7511 - 7400) + chr(100) + chr(0b1100101))(chr(0b1110101) + chr(0b111011 + 0o71) + chr(3840 - 3738) + chr(0b101101) + chr(2158 - 2102)), roI3spqORKae(ES5oEprVxulp(b'y\xba\xc7\x0e$\x06\x93-h'), '\x64' + chr(101) + '\143' + chr(111) + '\144' + '\x65')('\x75' + '\164' + chr(3101 - 2999) + chr(45) + chr(1298 - 1242)), roI3spqORKae(ES5oEprVxulp(b'k\xad\xc72>\x02\x91.V\xbc\xc6H\niGm\x99+?'), '\144' + chr(0b1100101 + 0o0) + chr(0b1001111 + 0o24) + chr(0b1101111) + '\x64' + chr(0b1011 + 0o132))('\x75' + '\x74' + chr(0b101010 + 0o74) + chr(45) + chr(56))], roI3spqORKae(ES5oEprVxulp(b'k\xbc\xcf!;\n\x87'), chr(7251 - 7151) + chr(101) + chr(99) + chr(0b111000 + 0o67) + '\144' + chr(0b111 + 0o136))('\165' + chr(10515 - 10399) + '\146' + chr(45) + '\070'): [roI3spqORKae(ES5oEprVxulp(b't\xb2\xc10#\x06\x9b.'), '\144' + chr(0b1100101) + '\143' + chr(0b11 + 0o154) + chr(0b1100100) + chr(0b1100101))(chr(0b1001 + 0o154) + '\164' + chr(3812 - 3710) + chr(0b101101) + '\070'), roI3spqORKae(ES5oEprVxulp(b'y\xba\xc7'), chr(100) + chr(305 - 204) + chr(0b110000 + 0o63) + chr(0b100110 + 0o111) + chr(0b11010 + 0o112) + chr(1306 - 1205))('\165' + '\164' + chr(102) + chr(189 - 144) + chr(978 - 922)), roI3spqORKae(ES5oEprVxulp(b'y\xba\xc7\x0e"\x01\x9d4'), chr(100) + '\x65' + chr(4518 - 4419) + '\x6f' + '\x64' + chr(0b0 + 0o145))('\165' + chr(5259 - 5143) + chr(0b1100110) + chr(45) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'y\xba\xc7\x0e?\x06\x93('), '\x64' + '\145' + chr(0b1100011) + chr(0b1011 + 0o144) + chr(0b1100100) + chr(4466 - 4365))(chr(117) + chr(4405 - 4289) + '\x66' + '\x2d' + chr(0b101110 + 0o12)), roI3spqORKae(ES5oEprVxulp(b'y\xba\xc7\x0e;\x00\x83'), '\x64' + chr(0b1100101) + chr(0b1100011) + chr(111) + '\x64' + chr(0b1100101))('\x75' + chr(0b1110100) + chr(102) + '\055' + chr(0b101101 + 0o13)), roI3spqORKae(ES5oEprVxulp(b'y\xba\xc7\x0e$\x06\x93-h'), chr(100) + '\145' + '\143' + '\x6f' + chr(4164 - 4064) + '\x65')('\165' + chr(4093 - 3977) + chr(0b111011 + 0o53) + '\055' + chr(0b100 + 0o64)), roI3spqORKae(ES5oEprVxulp(b'{\xb2\xd04\x08\x0b\x910}\xb7'), chr(0b1100100) + chr(0b101100 + 0o71) + chr(0b1100011) + chr(111) + chr(100) + '\x65')(chr(10425 - 10308) + chr(6046 - 5930) + chr(102) + chr(45) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'{\xb2\xcf!8\x1c\x9d4l\x80\xcd_\x1fBK'), chr(100) + chr(0b110110 + 0o57) + '\143' + chr(0b1001111 + 0o40) + chr(3803 - 3703) + chr(101))('\x75' + '\164' + '\x66' + chr(441 - 396) + chr(56))], roI3spqORKae(ES5oEprVxulp(b'k\xb4\xd64$'), chr(100) + '\145' + chr(99) + chr(3238 - 3127) + chr(4342 - 4242) + '\145')('\x75' + chr(0b1110100) + chr(6080 - 5978) + chr(0b101101) + chr(56)): [roI3spqORKae(ES5oEprVxulp(b'l\xb8\xda%"\x1d\x91'), chr(8878 - 8778) + chr(0b1010110 + 0o17) + chr(102 - 3) + '\x6f' + chr(0b1100100) + chr(8408 - 8307))(chr(0b11000 + 0o135) + chr(0b1000100 + 0o60) + chr(0b1100110) + chr(0b101101) + chr(0b101110 + 0o12)), roI3spqORKae(ES5oEprVxulp(b'y\xa7\xcb<"\x1b\x9c'), chr(0b1100100) + '\145' + chr(0b1010010 + 0o21) + chr(0b1101111) + chr(0b101010 + 0o72) + chr(0b1100101))(chr(117) + '\164' + '\146' + chr(0b10111 + 0o26) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'y\xa7\xcb<"\x1b\x9c\x1fm\xba\xcae\x0cYQz\x8c<#\xa9,m'), chr(3342 - 3242) + chr(0b1100101) + chr(0b1100011) + chr(111) + chr(0b1100100) + chr(0b10000 + 0o125))('\x75' + chr(1699 - 1583) + chr(0b11001 + 0o115) + '\055' + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'|\xb4\xd2'), chr(0b1100100) + chr(2423 - 2322) + '\x63' + chr(111) + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + chr(116) + chr(8559 - 8457) + chr(0b101101) + '\070'), roI3spqORKae(ES5oEprVxulp(b'w\xaf\xcb49\x1b\x954`\xb0\xc7e\x1eCBd\x80+.'), '\x64' + chr(0b1100101) + chr(2009 - 1910) + '\157' + chr(0b1100100) + chr(0b1010000 + 0o25))('\x75' + '\164' + chr(102) + chr(354 - 309) + '\070'), roI3spqORKae(ES5oEprVxulp(b'k\xbc\xcf!;\n\xab!e\xab\xccH\x01WWa\x9f:$'), chr(0b1010 + 0o132) + chr(8719 - 8618) + chr(99) + '\x6f' + chr(6387 - 6287) + '\x65')('\165' + chr(0b1110100) + chr(102) + chr(0b101010 + 0o3) + chr(0b10111 + 0o41)), roI3spqORKae(ES5oEprVxulp(b'l\xb4\xcf4$\x1b\x95-y'), chr(0b1100100) + chr(101) + chr(0b1111 + 0o124) + '\x6f' + chr(100) + '\145')(chr(0b11110 + 0o127) + chr(0b1000001 + 0o63) + chr(0b1100110) + '\055' + chr(2028 - 1972))], roI3spqORKae(ES5oEprVxulp(b'y\xba\xc7"'), '\x64' + chr(101) + chr(0b1100011) + '\x6f' + chr(100) + '\x65')(chr(0b1110101) + chr(0b10101 + 0o137) + chr(0b1100110) + chr(1041 - 996) + chr(56)): [roI3spqORKae(ES5oEprVxulp(b't\xb8\xd44;'), chr(0b0 + 0o144) + '\x65' + chr(5255 - 5156) + chr(9588 - 9477) + '\144' + '\145')('\x75' + chr(116) + chr(0b1100110) + '\055' + chr(0b1000 + 0o60))]}
SPfgQU9iixZz = []
Zj7fQyMirGCk = {}
if not nW1eiNbQ6wqr:
nW1eiNbQ6wqr = ucvilvMnwW1d.DataModel()
mM025QYxWSiT = V3OlOVg98A85(D3H9MFOOog2W.tables.keys())[-nzTpIcepk0o8('\060' + chr(0b1101111) + '\061', ord("\x08"))]
for mWsDpG3yRGLz in V3OlOVg98A85(roI3spqORKae(D3H9MFOOog2W.tables, roI3spqORKae(ES5oEprVxulp(b's\xb8\xdb"'), '\x64' + chr(9547 - 9446) + chr(0b1100011) + chr(0b1101111) + '\144' + chr(0b1100101))(chr(1344 - 1227) + chr(4586 - 4470) + chr(102) + '\055' + chr(56)))()):
LjETPHM4c_0l = D3H9MFOOog2W.WgtSJX0sIYpL[mWsDpG3yRGLz]
roI3spqORKae(LjETPHM4c_0l, roI3spqORKae(ES5oEprVxulp(b'y\xb1\xce\x0e#\x00\xab3}\xad'), '\x64' + chr(101) + '\x63' + chr(7450 - 7339) + chr(0b1011111 + 0o5) + '\145')(chr(117) + '\164' + '\x66' + '\x2d' + '\x38'))()
roI3spqORKae(LjETPHM4c_0l.df, roI3spqORKae(ES5oEprVxulp(b'~\xb4\xce=9\x0e'), chr(0b1100100) + '\145' + chr(0b1100011) + chr(111) + chr(4940 - 4840) + chr(0b1100101))('\x75' + '\x74' + chr(0b1010100 + 0o22) + chr(45) + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(0b1001011 + 0o32) + chr(5944 - 5845) + chr(371 - 260) + '\144' + chr(101))(chr(117) + chr(10936 - 10820) + chr(0b1010010 + 0o24) + '\055' + chr(3129 - 3073)))
jpOn8DNZxbbx = LjETPHM4c_0l.jpOn8DNZxbbx
if ftfygxgFas5X(jpOn8DNZxbbx):
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'5\x94\x8fq,\x12\xd4&`\xb3\xcc\x1a\x1cC@k\x8c,$\xa66o\x08\xba\x90\xa1\te&R\x8c6'), '\144' + '\145' + chr(7649 - 7550) + chr(111) + chr(3863 - 3763) + '\x65')(chr(0b1110101) + chr(0b11000 + 0o134) + chr(102) + '\x2d' + chr(2458 - 2402)), roI3spqORKae(ES5oEprVxulp(b'i\xee\x91\x1a\x10\\\x92/X\x80\xeap'), chr(100) + '\x65' + chr(5328 - 5229) + chr(7590 - 7479) + '\x64' + chr(10186 - 10085))(chr(0b1110010 + 0o3) + chr(2152 - 2036) + chr(0b100100 + 0o102) + chr(0b10011 + 0o32) + '\x38'))(mWsDpG3yRGLz))
afZtL9Vo3ZAv = H4NoA26ON7iG(i3T36abxXSjB) + LLy61rW7TAPT.GUKetu4xaGsJ(mWsDpG3yRGLz, [])
afZtL9Vo3ZAv = Bvi71nNyvlqO(afZtL9Vo3ZAv).intersection(jpOn8DNZxbbx.U39jSiI54Mlp)
if afZtL9Vo3ZAv:
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'5\x94\x8fq3\x1d\x9b0y\xb6\xc7]OBKm\x9a:w\xa3,o\x11\xae\xde\xa0V$9\x0f\xc5>\x836T-g\xd3\xaa\xbbc\xa0\x82%6\r\x98%'), '\x64' + '\145' + '\x63' + chr(0b101110 + 0o101) + chr(100) + chr(101))('\165' + chr(5433 - 5317) + chr(0b1111 + 0o127) + '\055' + chr(56)), roI3spqORKae(ES5oEprVxulp(b'i\xee\x91\x1a\x10\\\x92/X\x80\xeap'), '\144' + chr(101) + '\143' + '\157' + '\x64' + chr(101))(chr(0b1110101) + '\x74' + chr(5150 - 5048) + chr(0b101101) + '\x38'))(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'4\xfd'), chr(100) + chr(0b1011000 + 0o15) + chr(0b1100011) + chr(0b1101111) + chr(100) + chr(8799 - 8698))('\165' + chr(0b1110100) + chr(6022 - 5920) + chr(0b101101) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'A\xe9\xdb\x1cn-\x97&]\x9c\xe7K'), chr(0b1100100) + chr(0b1001010 + 0o33) + chr(0b110101 + 0o56) + chr(6802 - 6691) + chr(100) + '\145')(chr(117) + chr(0b1110100) + '\x66' + chr(45) + '\x38'))(afZtL9Vo3ZAv), mWsDpG3yRGLz))
roI3spqORKae(jpOn8DNZxbbx, roI3spqORKae(ES5oEprVxulp(b'|\xaf\xcd!'), chr(0b1001011 + 0o31) + chr(101) + chr(99) + '\157' + chr(100) + '\x65')(chr(0b1110101) + '\164' + chr(102) + chr(45) + chr(364 - 308)))(afZtL9Vo3ZAv, axis=nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110001), 8), inplace=nzTpIcepk0o8('\x30' + chr(4354 - 4243) + '\x31', 8))
LjETPHM4c_0l.jpOn8DNZxbbx = jpOn8DNZxbbx
MsjU8qLQdRnu = LjETPHM4c_0l.get_non_magic_cols()
if MsjU8qLQdRnu:
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'5\x8a\x8fq,\x12\xd44h\xbd\xc5_OEWa\x853w\xa8"pD\xb0\xdf\xbe\t$7\x1c\x97=\x926^cz\xc1\xaa\xff8\xbe\xcd="\x02\x9a33\xff\xd2G'), '\144' + chr(0b1100101) + chr(99) + chr(0b101 + 0o152) + '\144' + chr(0b1000011 + 0o42))(chr(0b1010101 + 0o40) + chr(12045 - 11929) + chr(0b1100110) + chr(0b101101) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'i\xee\x91\x1a\x10\\\x92/X\x80\xeap'), chr(0b1100100) + chr(9712 - 9611) + chr(0b1100011) + chr(0b1101111) + chr(0b1011100 + 0o10) + '\145')(chr(0b1110101) + '\x74' + '\x66' + '\x2d' + chr(0b111000)))(roI3spqORKae(mWsDpG3yRGLz, roI3spqORKae(ES5oEprVxulp(b'W\x92\x92%\x058\xcd!c\x80\xd1R'), '\144' + '\x65' + '\143' + chr(0b1101111) + chr(0b1001100 + 0o30) + '\x65')(chr(117) + chr(0b1110100) + chr(0b1100110) + chr(45) + '\x38'))(), roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'4\xfd'), '\144' + chr(101) + chr(99) + chr(0b1101111) + chr(0b1000101 + 0o37) + chr(101))('\165' + '\x74' + '\x66' + chr(1216 - 1171) + chr(2126 - 2070)), roI3spqORKae(ES5oEprVxulp(b'A\xe9\xdb\x1cn-\x97&]\x9c\xe7K'), chr(0b1010111 + 0o15) + '\145' + chr(0b1100011) + chr(0b1101111) + chr(7032 - 6932) + '\145')(chr(117) + chr(0b1110100) + '\146' + chr(0b10 + 0o53) + '\070'))(MsjU8qLQdRnu)))
if roI3spqORKae(ES5oEprVxulp(b'q\xb3\xd6\x0e50\x96%}\xbe'), chr(4153 - 4053) + '\x65' + chr(99) + '\157' + chr(0b110001 + 0o63) + chr(0b1100101))(chr(10107 - 9990) + chr(10214 - 10098) + '\146' + chr(1976 - 1931) + chr(0b11 + 0o65)) in roI3spqORKae(jpOn8DNZxbbx, roI3spqORKae(ES5oEprVxulp(b'M\xee\x9b;\x04\x06\xbdu=\x92\xc5J'), chr(4437 - 4337) + chr(0b1100101) + '\143' + chr(111) + chr(2255 - 2155) + chr(0b1100101))(chr(117) + chr(116) + '\146' + chr(0b10 + 0o53) + '\x38')):
jpOn8DNZxbbx = jpOn8DNZxbbx.replace(roI3spqORKae(ES5oEprVxulp(b'D\xae\x89ywD\xa8n \xa3\x8a'), chr(5200 - 5100) + chr(0b110001 + 0o64) + chr(0b1100011) + '\x6f' + chr(2707 - 2607) + chr(101))('\x75' + '\x74' + chr(5308 - 5206) + chr(575 - 530) + chr(0b100010 + 0o26)), nDF4gVNx0u9Q.nan, regex=nzTpIcepk0o8(chr(48) + '\157' + chr(0b110001), 8)).E91dbqOZXBpJ(roI3spqORKae(ES5oEprVxulp(b''), chr(100) + '\145' + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(0b1100101))(chr(117) + '\x74' + chr(5185 - 5083) + chr(0b11100 + 0o21) + '\x38'), nDF4gVNx0u9Q.nan)
try:
jpOn8DNZxbbx[roI3spqORKae(ES5oEprVxulp(b'q\xb3\xd6\x0e50\x96%}\xbe'), chr(100) + '\x65' + '\x63' + chr(0b1001 + 0o146) + chr(2015 - 1915) + chr(0b1100101))(chr(0b1 + 0o164) + '\164' + '\146' + '\055' + chr(0b110111 + 0o1))] = jpOn8DNZxbbx[roI3spqORKae(ES5oEprVxulp(b'q\xb3\xd6\x0e50\x96%}\xbe'), chr(100) + '\x65' + chr(0b1100011) + chr(111) + '\144' + chr(0b11 + 0o142))(chr(0b10110 + 0o137) + chr(0b1110010 + 0o2) + chr(102) + chr(45) + chr(2482 - 2426))].astype(jLW6pRf2DSRk).apply(zQBGwUT7UU8L)
except WbNHlDKpyPtQ:
roI3spqORKae(ES5oEprVxulp(b'5\x8a\x8fq\x19\x00\x9a`g\xaa\xc4_\x1d_@(\x9f>;\xb5&pD\xa5\xdf\xa6\x02`b\x1b\x8bx\x987MRq\xe4\xad\xfel\xbc\x8228\x03\x81-g\xf1\xa3\x1aO\x16`g\x9c33\xe0-l\x10\xe3\xd1\xa3\x1ch;R\x84:\x826Uxg\xde\xef\xedy\xb1\xd74y'), chr(0b1100100) + chr(0b1010010 + 0o23) + chr(0b1011111 + 0o4) + chr(4846 - 4735) + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + chr(2475 - 2359) + chr(6342 - 6240) + chr(0b11100 + 0o21) + chr(0b100 + 0o64))
GnLjulSwQse8 = VEZ9_n6_6L81.get_degree_cols(jpOn8DNZxbbx)
for hRTUxJgvuslu in GnLjulSwQse8:
jpOn8DNZxbbx[hRTUxJgvuslu] = jpOn8DNZxbbx[hRTUxJgvuslu].apply(hUcsWwAd0nE_.adjust_val_to_360)
if mWsDpG3yRGLz == roI3spqORKae(ES5oEprVxulp(b't\xb2\xc10#\x06\x9b.z'), '\x64' + chr(8989 - 8888) + chr(0b111110 + 0o45) + chr(7396 - 7285) + chr(7670 - 7570) + '\x65')(chr(0b110 + 0o157) + '\x74' + '\146' + chr(0b101101) + chr(0b100111 + 0o21)):
c7FJzf0TKi1V = V3OlOVg98A85(jpOn8DNZxbbx[roI3spqORKae(ES5oEprVxulp(b't\xb2\xc10#\x06\x9b.'), '\x64' + chr(101) + chr(0b1011 + 0o130) + chr(2670 - 2559) + chr(0b10100 + 0o120) + chr(0b1100101))(chr(0b1000001 + 0o64) + chr(116) + '\x66' + chr(0b10101 + 0o30) + chr(56))].G3de2eWQaS0D())
elif mWsDpG3yRGLz == roI3spqORKae(ES5oEprVxulp(b'k\xbc\xcf!;\n\x87'), '\x64' + chr(0b1100101) + '\143' + '\x6f' + chr(6033 - 5933) + chr(101))(chr(0b1110101) + chr(0b10001 + 0o143) + chr(4172 - 4070) + chr(0b1111 + 0o36) + chr(853 - 797)):
pass
elif mWsDpG3yRGLz == roI3spqORKae(ES5oEprVxulp(b'k\xad\xc72>\x02\x91.z'), chr(0b1011110 + 0o6) + '\x65' + chr(0b1011111 + 0o4) + chr(9521 - 9410) + chr(100) + chr(0b1001101 + 0o30))(chr(0b1110101) + chr(0b111110 + 0o66) + chr(102) + chr(0b101101) + '\x38'):
jpOn8DNZxbbx = jpOn8DNZxbbx[jpOn8DNZxbbx[roI3spqORKae(ES5oEprVxulp(b'k\xbc\xcf!;\n'), chr(100) + chr(0b1001100 + 0o31) + '\x63' + chr(111) + chr(8067 - 7967) + '\145')(chr(5522 - 5405) + chr(9124 - 9008) + '\146' + chr(0b101011 + 0o2) + '\x38')].notnull()]
if roI3spqORKae(ES5oEprVxulp(b'k\xbc\xcf!;\n\x87'), chr(4546 - 4446) + '\145' + chr(0b1100011) + '\x6f' + chr(0b1100100) + chr(0b1100101))(chr(5818 - 5701) + '\x74' + chr(0b1000 + 0o136) + chr(65 - 20) + '\x38') in roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'O\xba\xd6\x02\x1d7\xc43@\x86\xd9v'), '\144' + chr(9632 - 9531) + chr(0b1110 + 0o125) + '\157' + chr(0b1000110 + 0o36) + chr(0b1100101))(chr(11104 - 10987) + '\164' + chr(0b110110 + 0o60) + chr(0b1101 + 0o40) + chr(0b100101 + 0o23))):
bJGAeUfn2P2N = D3H9MFOOog2W.tables[roI3spqORKae(ES5oEprVxulp(b'k\xbc\xcf!;\n\x87'), chr(100) + chr(0b1100101) + chr(2169 - 2070) + chr(1078 - 967) + chr(1153 - 1053) + chr(101))(chr(8703 - 8586) + '\164' + chr(0b1001101 + 0o31) + '\x2d' + chr(0b1011 + 0o55))].jpOn8DNZxbbx
jpOn8DNZxbbx = jpOn8DNZxbbx[jpOn8DNZxbbx[roI3spqORKae(ES5oEprVxulp(b'k\xbc\xcf!;\n'), '\x64' + chr(101) + chr(9252 - 9153) + '\x6f' + '\144' + chr(101))(chr(10764 - 10647) + chr(3104 - 2988) + '\146' + '\x2d' + chr(0b11011 + 0o35))].isin(bJGAeUfn2P2N.index.G3de2eWQaS0D())]
elif mWsDpG3yRGLz == roI3spqORKae(ES5oEprVxulp(b'u\xb8\xc3""\x1d\x91-l\xb1\xddI'), chr(100) + chr(3330 - 3229) + '\x63' + chr(0b1101111) + chr(0b1100100) + chr(0b111111 + 0o46))(chr(0b1000111 + 0o56) + chr(116) + chr(102) + chr(0b100001 + 0o14) + chr(0b111000)):
jpOn8DNZxbbx = jpOn8DNZxbbx[jpOn8DNZxbbx[roI3spqORKae(ES5oEprVxulp(b'k\xad\xc72>\x02\x91.'), '\x64' + '\145' + chr(2458 - 2359) + '\x6f' + chr(100) + chr(101))(chr(6738 - 6621) + chr(0b100 + 0o160) + '\146' + chr(1515 - 1470) + '\x38')].notnull()]
if roI3spqORKae(ES5oEprVxulp(b'k\xad\xc72>\x02\x91.z'), '\x64' + chr(0b1011001 + 0o14) + chr(99) + '\157' + chr(0b1100100) + chr(0b100 + 0o141))(chr(0b111101 + 0o70) + chr(116) + chr(0b1011110 + 0o10) + chr(928 - 883) + chr(0b1 + 0o67)) in roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'O\xba\xd6\x02\x1d7\xc43@\x86\xd9v'), chr(0b10111 + 0o115) + chr(101) + chr(8254 - 8155) + chr(3125 - 3014) + chr(100) + chr(6640 - 6539))(chr(117) + '\x74' + '\146' + chr(45) + '\x38')):
YtA_2u8ugCIV = D3H9MFOOog2W.tables[roI3spqORKae(ES5oEprVxulp(b'k\xad\xc72>\x02\x91.z'), chr(6459 - 6359) + chr(651 - 550) + '\143' + '\157' + '\144' + '\145')(chr(5299 - 5182) + chr(116) + chr(10058 - 9956) + chr(0b101101) + '\x38')].jpOn8DNZxbbx
jpOn8DNZxbbx = jpOn8DNZxbbx[jpOn8DNZxbbx[roI3spqORKae(ES5oEprVxulp(b'k\xad\xc72>\x02\x91.'), chr(2160 - 2060) + '\145' + chr(99) + '\157' + chr(2991 - 2891) + chr(0b1011 + 0o132))('\x75' + '\164' + chr(0b1100110) + '\055' + chr(162 - 106))].isin(YtA_2u8ugCIV.index.G3de2eWQaS0D())]
_XdQFJpnzJor = VEZ9_n6_6L81.validate_table(D3H9MFOOog2W, mWsDpG3yRGLz, output_dir=qjksZ7GK0xkJ)
if _XdQFJpnzJor:
(RcX9bbuOzh5L, x3xitM7D85Zo, aFFkjquUStC4, vSQTqbHgXPSm, IfMT1ERVP5HO, NjwWpmQazbRM) = _XdQFJpnzJor
if RcX9bbuOzh5L not in Zj7fQyMirGCk:
Zj7fQyMirGCk[RcX9bbuOzh5L] = {}
Zj7fQyMirGCk[RcX9bbuOzh5L][roI3spqORKae(ES5oEprVxulp(b'j\xb2\xd5"'), chr(100) + '\145' + chr(99) + chr(4110 - 3999) + chr(8390 - 8290) + chr(9524 - 9423))(chr(117) + chr(116) + '\146' + '\x2d' + chr(0b111000))] = NjwWpmQazbRM
Zj7fQyMirGCk[RcX9bbuOzh5L][roI3spqORKae(ES5oEprVxulp(b'u\xb4\xd1">\x01\x93\x1fj\xb0\xc5O\x02XP'), chr(100) + chr(101) + '\x63' + chr(0b1101111) + '\144' + chr(4622 - 4521))('\x75' + chr(0b1110100) + chr(0b1100110) + '\x2d' + '\070')] = vSQTqbHgXPSm
Zj7fQyMirGCk[RcX9bbuOzh5L][roI3spqORKae(ES5oEprVxulp(b'u\xb4\xd1">\x01\x93\x1fn\xad\xc6O\x1fE'), '\144' + '\x65' + chr(0b1100011) + chr(5273 - 5162) + chr(100) + chr(101))(chr(9040 - 8923) + chr(0b1110100) + chr(0b1100110) + chr(0b1010 + 0o43) + '\070')] = IfMT1ERVP5HO
roI3spqORKae(SPfgQU9iixZz, roI3spqORKae(ES5oEprVxulp(b'P\x89\xf1e/\x08\xb3/c\xb0\xfc\x0f'), chr(100) + chr(1533 - 1432) + chr(0b0 + 0o143) + chr(4029 - 3918) + chr(0b1100100) + chr(0b1100101))('\165' + chr(0b1110100) + chr(9873 - 9771) + chr(0b101101) + chr(0b111000)))(RcX9bbuOzh5L)
if ftfygxgFas5X(jpOn8DNZxbbx):
roI3spqORKae(LjETPHM4c_0l, roI3spqORKae(ES5oEprVxulp(b'o\xaf\xcb%20\x99!n\xb6\xcae\t_Om'), chr(0b1100100) + chr(0b1100101) + chr(0b1100010 + 0o1) + '\x6f' + chr(0b1010001 + 0o23) + '\145')(chr(0b1110101) + chr(0b1110100) + '\146' + chr(0b101101) + chr(0b111000)))(NSH2ByM93RoN, append=nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b110001), 8), multi_type=nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x31', 8))
if mM025QYxWSiT != mWsDpG3yRGLz:
_R8IKF5IwAfX = DnU3Rq9N5ala(NSH2ByM93RoN, roI3spqORKae(ES5oEprVxulp(b'y'), chr(0b101110 + 0o66) + chr(9462 - 9361) + chr(99) + chr(0b1101100 + 0o3) + chr(100) + chr(0b1100101))('\x75' + chr(116) + '\146' + chr(0b101101) + chr(56)))
roI3spqORKae(_R8IKF5IwAfX, roI3spqORKae(ES5oEprVxulp(b'u\xb1\x929?\x1f\x82qE\xaf\xd8\x08'), chr(0b1100100) + chr(7369 - 7268) + chr(988 - 889) + '\x6f' + chr(100) + chr(101))('\x75' + chr(116) + '\146' + chr(0b10100 + 0o31) + chr(56)))(roI3spqORKae(ES5oEprVxulp(b'&\xe3\x9coiQ\xca~7\xe1\xa3'), chr(100) + '\x65' + '\143' + chr(11489 - 11378) + '\144' + '\x65')(chr(3249 - 3132) + chr(0b1110100) + '\x66' + '\055' + '\x38'))
roI3spqORKae(_R8IKF5IwAfX, roI3spqORKae(ES5oEprVxulp(b'B\xb8\xd3f\x14\x0c\x92y\\\xbb\x91P'), chr(0b1011101 + 0o7) + chr(101) + chr(0b1100011) + chr(111) + chr(700 - 600) + chr(0b1000101 + 0o40))(chr(714 - 597) + chr(0b1110100) + chr(0b1100110) + '\x2d' + chr(2981 - 2925)))()
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'5\x94\x8f'), '\144' + '\145' + '\143' + chr(111) + chr(0b1000000 + 0o44) + chr(0b100100 + 0o101))(chr(0b111011 + 0o72) + chr(1145 - 1029) + chr(0b1100 + 0o132) + '\x2d' + chr(603 - 547)), mWsDpG3yRGLz, roI3spqORKae(ES5oEprVxulp(b'o\xaf\xcb%#\n\x9a`}\xb0\x89'), chr(0b1100100) + chr(101) + '\143' + chr(2094 - 1983) + '\x64' + chr(1838 - 1737))('\165' + chr(0b1110100) + '\146' + chr(45) + chr(2947 - 2891)), NSH2ByM93RoN)
else:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'5\x94\x8f'), chr(100) + chr(0b100010 + 0o103) + '\x63' + chr(0b11100 + 0o123) + chr(0b1110 + 0o126) + chr(0b111111 + 0o46))(chr(117) + chr(5878 - 5762) + chr(0b1011000 + 0o16) + chr(0b101101) + chr(0b111000)), mWsDpG3yRGLz, roI3spqORKae(ES5oEprVxulp(b'o\xaf\xcb%#\n\x9a`}\xb0\x89'), '\144' + chr(0b1100101) + chr(8874 - 8775) + chr(7245 - 7134) + chr(0b1000000 + 0o44) + chr(9565 - 9464))(chr(156 - 39) + chr(116) + chr(0b1100110) + chr(45) + '\070'), NSH2ByM93RoN)
else:
v8jsMqaYV6U2(mWsDpG3yRGLz, roI3spqORKae(ES5oEprVxulp(b'q\xae\x8236\x0b\xd4/{\xff\xc7U\x01\x1bFp\x80,#\xa5-wD\xee\x90\xa0\x07m2\x02\x8c6\x96y'), chr(0b1100011 + 0o1) + '\x65' + '\x63' + '\x6f' + chr(0b111001 + 0o53) + chr(101))('\165' + '\x74' + '\x66' + chr(45) + chr(0b1101 + 0o53)))
if NaJxTGTED2vO:
_R8IKF5IwAfX = DnU3Rq9N5ala(NSH2ByM93RoN, roI3spqORKae(ES5oEprVxulp(b'y'), chr(656 - 556) + '\x65' + chr(0b0 + 0o143) + chr(0b1000010 + 0o55) + chr(8263 - 8163) + chr(0b11011 + 0o112))(chr(117) + chr(0b1100 + 0o150) + chr(0b1100110) + chr(0b100111 + 0o6) + '\x38'))
roI3spqORKae(_R8IKF5IwAfX, roI3spqORKae(ES5oEprVxulp(b'u\xb1\x929?\x1f\x82qE\xaf\xd8\x08'), chr(2594 - 2494) + '\145' + '\x63' + '\x6f' + chr(105 - 5) + chr(101))(chr(0b1110101) + '\164' + '\146' + chr(918 - 873) + chr(710 - 654)))(roI3spqORKae(ES5oEprVxulp(b'&\xe3\x9coiQ\xca~7\xe1\xa3'), chr(0b100100 + 0o100) + chr(0b1100101) + chr(0b10 + 0o141) + chr(0b1010100 + 0o33) + chr(100) + '\145')(chr(117) + chr(0b1001001 + 0o53) + '\146' + chr(0b101101) + chr(0b111000)))
roI3spqORKae(_R8IKF5IwAfX, roI3spqORKae(ES5oEprVxulp(b'B\xb8\xd3f\x14\x0c\x92y\\\xbb\x91P'), '\x64' + chr(0b1011100 + 0o11) + chr(0b101110 + 0o65) + '\157' + '\144' + chr(0b1000110 + 0o37))(chr(0b1110101) + '\x74' + chr(9391 - 9289) + '\055' + '\x38'))()
if not roI3spqORKae(aHUqKstZLeS6.path, roI3spqORKae(ES5oEprVxulp(b'q\xae\xc48;\n'), chr(0b1100100) + chr(0b1100101) + '\x63' + chr(0b1001100 + 0o43) + chr(0b1100100) + chr(0b1100101))('\165' + chr(10228 - 10112) + '\x66' + '\x2d' + chr(0b11 + 0o65)))(NSH2ByM93RoN):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b"v\xb2\x8256\x1b\x95`o\xb0\xdcT\x0b\x1a\x03}\x9938\xa1'#\x02\xaa\xdc\xb6Lj-\x06\xc5;\x83<Xyv\xdf"), chr(7394 - 7294) + chr(7224 - 7123) + chr(0b1100011) + chr(0b1101111) + chr(0b111010 + 0o52) + '\145')(chr(13014 - 12897) + chr(0b1110100) + chr(0b1100110) + chr(238 - 193) + '\070'))
return (nzTpIcepk0o8(chr(0b1000 + 0o50) + '\x6f' + chr(48), 8), roI3spqORKae(ES5oEprVxulp(b"v\xb2\x8256\x1b\x95`o\xb0\xdcT\x0b\x1a\x03}\x9938\xa1'#\x02\xaa\xdc\xb6Lj-\x06\xc5;\x83<Xyv\xdf"), '\144' + chr(0b1100010 + 0o3) + chr(0b1100011) + chr(0b10010 + 0o135) + '\x64' + '\x65')(chr(117) + chr(0b1110100) + chr(3442 - 3340) + '\055' + chr(0b11001 + 0o37)), None, None)
BE3NiaWjZKGq = roI3spqORKae(ES5oEprVxulp(b'=\xb9\x8ct5A\xd1\x19'), chr(100) + chr(0b110010 + 0o63) + chr(99) + '\x6f' + chr(100) + chr(0b1100101))(chr(0b1110101) + chr(11931 - 11815) + chr(3872 - 3770) + chr(0b101101) + chr(56))
if c7FJzf0TKi1V:
c7RydVE5Qw9u = Bvi71nNyvlqO(c7FJzf0TKi1V)
c7RydVE5Qw9u = V3OlOVg98A85(c7RydVE5Qw9u)[:nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b11101 + 0o26), 8)]
try:
c7RydVE5Qw9u = [UQ8hRiBoHcn5.E91dbqOZXBpJ(roI3spqORKae(ES5oEprVxulp(b'8'), '\x64' + chr(0b1011010 + 0o13) + '\143' + '\x6f' + chr(3828 - 3728) + chr(101))(chr(0b1110101) + '\164' + '\146' + chr(0b101101) + chr(3125 - 3069)), roI3spqORKae(ES5oEprVxulp(b'5'), chr(9195 - 9095) + chr(0b1100101) + '\x63' + '\157' + '\x64' + '\145')(chr(10401 - 10284) + '\164' + chr(8151 - 8049) + chr(0b1 + 0o54) + chr(56))) for UQ8hRiBoHcn5 in c7RydVE5Qw9u]
except bIsJhlpYrrU2:
c7RydVE5Qw9u = [roI3spqORKae(ES5oEprVxulp(b'm\xb3\xc9?8\x18\x9a\x1fe\xb0\xca[\x1b_Lf'), '\144' + chr(0b11100 + 0o111) + chr(0b1100011) + chr(0b1101010 + 0o5) + '\144' + chr(101))(chr(13425 - 13308) + chr(0b1110100) + chr(102) + chr(244 - 199) + '\070')]
y87dwGy_Qoj4 = roI3spqORKae(ES5oEprVxulp(b'G'), chr(9843 - 9743) + '\145' + chr(0b11 + 0o140) + '\x6f' + chr(0b1100100) + chr(0b1100101))(chr(0b100010 + 0o123) + '\164' + chr(102) + chr(1794 - 1749) + chr(56)).Y4yM9BcfTCNq(c7RydVE5Qw9u)
GBqgPYiCv5Al = y87dwGy_Qoj4 + roI3spqORKae(ES5oEprVxulp(b'G'), chr(0b110101 + 0o57) + chr(101) + '\x63' + '\x6f' + chr(0b1100100) + chr(3301 - 3200))(chr(0b1110101) + chr(116) + chr(102) + chr(0b101101) + '\x38') + oprIvDIRQyCb.strftime(BE3NiaWjZKGq) + roI3spqORKae(ES5oEprVxulp(b'6\xa9\xda%'), '\144' + chr(0b1000010 + 0o43) + chr(0b1100011) + chr(0b0 + 0o157) + chr(0b100100 + 0o100) + chr(0b101110 + 0o67))(chr(0b101110 + 0o107) + chr(116) + chr(0b1100110) + chr(45) + chr(56))
else:
GBqgPYiCv5Al = roI3spqORKae(ES5oEprVxulp(b'm\xb3\xc9?8\x18\x9a\x1fe\xb0\xca[\x1b_Lf\xb6'), '\x64' + chr(917 - 816) + '\143' + chr(0b1000000 + 0o57) + chr(0b1100000 + 0o4) + chr(101))(chr(117) + '\164' + chr(102) + '\x2d' + chr(56)) + oprIvDIRQyCb.strftime(BE3NiaWjZKGq) + roI3spqORKae(ES5oEprVxulp(b'6\xa9\xda%'), chr(0b1000001 + 0o43) + chr(0b1001101 + 0o30) + chr(2686 - 2587) + chr(111) + chr(9150 - 9050) + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + chr(2564 - 2462) + chr(0b10111 + 0o26) + '\x38')
GBqgPYiCv5Al = aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, GBqgPYiCv5Al)
if roI3spqORKae(aHUqKstZLeS6.path, roI3spqORKae(ES5oEprVxulp(b'q\xae\xc48;\n'), chr(5615 - 5515) + chr(101) + chr(0b1100011) + chr(111) + chr(0b1100100) + '\x65')('\x75' + '\x74' + chr(8231 - 8129) + chr(0b101101) + chr(56)))(GBqgPYiCv5Al):
(jXqxEQuu_5DD, hGd82gLxMaz9) = aHUqKstZLeS6.path.nKnjsA3UsXpY(GBqgPYiCv5Al)
for ZlbFMSG8gCoF in bbT2xIe5pzk7(nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\061', 8), nzTpIcepk0o8(chr(1044 - 996) + '\157' + '\061' + chr(2563 - 2511) + chr(0b110100), 8)):
if roI3spqORKae(aHUqKstZLeS6.path, roI3spqORKae(ES5oEprVxulp(b'q\xae\xc48;\n'), chr(100) + chr(0b100010 + 0o103) + '\x63' + '\157' + chr(0b1100100) + chr(0b1100101))('\165' + '\x74' + chr(0b101100 + 0o72) + chr(899 - 854) + chr(56)))(jXqxEQuu_5DD + roI3spqORKae(ES5oEprVxulp(b'G'), '\144' + chr(0b100111 + 0o76) + chr(2402 - 2303) + chr(3522 - 3411) + chr(100) + chr(0b1100101))('\x75' + chr(0b1110100) + chr(0b1100110) + chr(45) + chr(56)) + N9zlRy29S1SS(ZlbFMSG8gCoF) + hGd82gLxMaz9):
continue
else:
GBqgPYiCv5Al = jXqxEQuu_5DD + roI3spqORKae(ES5oEprVxulp(b'G'), '\144' + chr(6685 - 6584) + '\x63' + '\x6f' + chr(100) + chr(0b1100101))('\x75' + chr(0b1110100) + chr(0b1100110) + chr(45) + chr(0b1 + 0o67)) + N9zlRy29S1SS(ZlbFMSG8gCoF) + hGd82gLxMaz9
break
if not NSH2ByM93RoN:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'5\x8a\x8fq\x14\x00\x81,m\xff\xc7U\x1b\x16@z\x8c>#\xa5cb\n\xe3\xc5\xa3\x00k#\x16\xc5>\x985\\'), '\144' + '\x65' + chr(0b10111 + 0o114) + chr(0b10011 + 0o134) + '\144' + chr(8289 - 8188))(chr(0b1110101) + chr(9501 - 9385) + chr(6993 - 6891) + '\055' + '\070'))
return (nzTpIcepk0o8(chr(0b10000 + 0o40) + chr(0b1101111) + chr(0b110000), 8), roI3spqORKae(ES5oEprVxulp(b'[\xb2\xd7=3O\x9a/}\xff\xcaH\nWWm\xc9>9\xe06s\x08\xac\xd1\xb7Lb+\x1e\x80'), chr(0b1100100) + chr(101) + chr(0b1100011) + chr(1583 - 1472) + chr(9897 - 9797) + chr(0b1100101))(chr(12881 - 12764) + chr(0b1110100) + chr(10040 - 9938) + chr(0b101101) + chr(2890 - 2834)), None, None)
roI3spqORKae(aHUqKstZLeS6, roI3spqORKae(ES5oEprVxulp(b'j\xb8\xcc0:\n'), '\x64' + chr(7704 - 7603) + '\143' + '\x6f' + chr(4902 - 4802) + '\x65')(chr(8999 - 8882) + chr(11795 - 11679) + chr(102) + chr(45) + chr(56)))(NSH2ByM93RoN, GBqgPYiCv5Al)
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'^\xb4\xcc8$\x07\x91$)\xaf\xdb_\x1fWQa\x878w\xb53o\x0b\xa2\xd4\xf3\nm.\x17\xdfx\x8a$\x19'), chr(0b1000101 + 0o37) + chr(0b110011 + 0o62) + '\x63' + chr(0b1011000 + 0o27) + chr(0b1011011 + 0o11) + chr(0b100010 + 0o103))('\x75' + '\x74' + chr(102) + '\x2d' + '\070'), roI3spqORKae(ES5oEprVxulp(b'i\xee\x91\x1a\x10\\\x92/X\x80\xeap'), '\x64' + chr(0b1100101) + '\x63' + '\x6f' + chr(0b1000101 + 0o37) + chr(2923 - 2822))(chr(117) + chr(116) + chr(102) + chr(0b101101) + chr(0b111000)))(GBqgPYiCv5Al))
if SPfgQU9iixZz:
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'5\x8a\x8fq\x03\x07\x913l\xff\xdd[\rZF{\xc976\xb6&#\x01\xb1\xc2\xbc\x1ewxR\x9e%'), chr(2347 - 2247) + '\x65' + '\143' + chr(0b1101111) + chr(0b111100 + 0o50) + chr(0b1001001 + 0o34))(chr(9225 - 9108) + chr(3990 - 3874) + chr(0b10001 + 0o125) + '\x2d' + chr(0b100110 + 0o22)), roI3spqORKae(ES5oEprVxulp(b'i\xee\x91\x1a\x10\\\x92/X\x80\xeap'), chr(0b1100100) + chr(981 - 880) + '\x63' + chr(0b1010010 + 0o35) + chr(100) + chr(1473 - 1372))('\165' + '\x74' + chr(602 - 500) + '\x2d' + chr(0b111000)))(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'4\xfd'), chr(8492 - 8392) + chr(0b1011011 + 0o12) + chr(99) + chr(0b1101111) + chr(0b100100 + 0o100) + chr(0b101001 + 0o74))(chr(117) + chr(116) + chr(0b1011110 + 0o10) + '\055' + '\070'), roI3spqORKae(ES5oEprVxulp(b'A\xe9\xdb\x1cn-\x97&]\x9c\xe7K'), chr(0b1100010 + 0o2) + '\145' + chr(0b1100011) + '\x6f' + '\144' + chr(101))(chr(0b1110101) + chr(116) + chr(0b111000 + 0o56) + chr(45) + chr(0b1101 + 0o53)))(SPfgQU9iixZz)))
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'5\x8a\x8fq!\x0e\x98)m\xbe\xddS\x00X\x03g\x8f\x7f"\xb0/l\x05\xa7\x90\xb5\x05h\'R\x8d9\x82y_lz\xd7\xaa\xff6\xd7\xfb>"O\x97!g\xff\xdaN\x06ZO(\x9c/;\xaf"gD\xb8\xcd\xf3\x18kb?\x84?\xb8\x1a\x15\x07q\xce\xbb\xbba\xb2\xd7q \x06\x98,)\xb1\xcc_\x0b\x16Wg\xc99>\xb8cw\x0c\xa6\x90\xb2\x0ek4\x17\xc5=\x83+V\x7f`\x9b\xad\xfe~\xb2\xd04w\x16\x9b5{\xff\xcaU\x01BQa\x8b*#\xa9,mD\xa0\xd1\xbdLf\'R\x84;\x850Olg\xde\xab\xb5'), chr(0b100100 + 0o100) + chr(164 - 63) + chr(5959 - 5860) + '\157' + chr(0b1001111 + 0o25) + '\x65')(chr(0b111010 + 0o73) + chr(116) + chr(102) + chr(1375 - 1330) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'i\xee\x91\x1a\x10\\\x92/X\x80\xeap'), chr(139 - 39) + chr(101) + chr(99) + chr(5964 - 5853) + chr(0b111011 + 0o51) + chr(0b1011 + 0o132))(chr(8799 - 8682) + chr(0b1110100) + '\x66' + chr(1342 - 1297) + chr(3106 - 3050)))(GBqgPYiCv5Al))
return (nzTpIcepk0o8(chr(1391 - 1343) + chr(0b1101111) + '\060', 8), roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'N\xbc\xce83\x0e\x80)f\xb1\x89U\t\x16Zg\x9c-w\xb53o\x0b\xa2\xd4\xf3\nm.\x17\xc50\x90*\x19kr\xd2\xa3\xfe|\xf3\xa8\x088\x1a\xd4#h\xb1\x89I\x1b_Od\xc9*\'\xac,b\x00\xe3\xcb\xaeLp-R\xa89\x96\x10z!\x19\xd9\xba\xef8\xa4\xcd$w\x18\x9d,e\xff\xc7_\nR\x03|\x86\x7f1\xa9;#\x10\xab\xd5\xf3\rf-\x04\x80x\x94+Kba\xc8\xef\xf9}\xbb\xcd#2O\x8d/|\xad\x89Y\x00XWz\x80="\xb4*l\n\xe3\xd3\xb2\x02$ \x17\xc59\x92-P{r\xcf\xaa\xff6'), '\x64' + chr(0b1001110 + 0o27) + chr(99) + chr(0b1101111) + '\x64' + chr(0b1100101))(chr(0b1001110 + 0o47) + chr(0b1110100) + '\x66' + chr(45) + '\070'), roI3spqORKae(ES5oEprVxulp(b'i\xee\x91\x1a\x10\\\x92/X\x80\xeap'), chr(5693 - 5593) + '\145' + chr(0b1100011) + '\x6f' + chr(0b1100100) + '\145')('\165' + chr(0b1110011 + 0o1) + chr(0b1100110) + chr(0b10110 + 0o27) + chr(0b110101 + 0o3)))(GBqgPYiCv5Al), SPfgQU9iixZz, Zj7fQyMirGCk)
else:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'5\x94\x8fq\x0e\x00\x812)\xb9\xc0V\n\x16Ki\x9a\x7f\'\xa10p\x01\xa7\x90\xa5\rh+\x16\x84,\x986W#3\x9b\x96\xf4m\xfd\xd198\x1a\x98$)\xbd\xcc\x1a\x0eTOm\xc9+8\xe06s\x08\xac\xd1\xb7Lm6R\x917\xd1-Qh3\xf6\xae\xfcQ\x9e\x8256\x1b\x95"h\xac\xcc\x1a\x18_W`\x86*#\xe07q\x0b\xb6\xd2\xbf\t%'), chr(2155 - 2055) + chr(101) + '\143' + chr(0b111000 + 0o67) + '\x64' + '\145')(chr(0b111100 + 0o71) + chr(116) + chr(0b1100110) + '\x2d' + chr(0b111000)))
return (GBqgPYiCv5Al, roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(101) + '\x63' + chr(0b1101111) + '\x64' + chr(101))(chr(117) + '\x74' + chr(0b1100110) + chr(1369 - 1324) + chr(0b111000)), None, None)
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
specimens_results_magic
|
def specimens_results_magic(infile='pmag_specimens.txt', measfile='magic_measurements.txt', sampfile='er_samples.txt', sitefile='er_sites.txt', agefile='er_ages.txt', specout='er_specimens.txt', sampout='pmag_samples.txt', siteout='pmag_sites.txt', resout='pmag_results.txt', critout='pmag_criteria.txt', instout='magic_instruments.txt', plotsites=False, fmt='svg', dir_path='.', cors=[], priorities=['DA-AC-ARM', 'DA-AC-TRM'], coord='g', user='', vgps_level='site', do_site_intensity=True, DefaultAge=["none"], avg_directions_by_sample=False, avg_intensities_by_sample=False, avg_all_components=False, avg_by_polarity=False, skip_directions=False, skip_intensities=False, use_sample_latitude=False, use_paleolatitude=False, use_criteria='default'):
"""
Writes magic_instruments, er_specimens, pmag_samples, pmag_sites, pmag_criteria, and pmag_results. The data used to write this is obtained by reading a pmag_speciemns, a magic_measurements, a er_samples, a er_sites, a er_ages.
@param -> infile: path from the WD to the pmag speciemns table
@param -> measfile: path from the WD to the magic measurement file
@param -> sampfile: path from the WD to the er sample file
@param -> sitefile: path from the WD to the er sites data file
@param -> agefile: path from the WD to the er ages data file
@param -> specout: path from the WD to the place to write the er specimens data file
@param -> sampout: path from the WD to the place to write the pmag samples data file
@param -> siteout: path from the WD to the place to write the pmag sites data file
@param -> resout: path from the WD to the place to write the pmag results data file
@param -> critout: path from the WD to the place to write the pmag criteria file
@param -> instout: path from th WD to the place to write the magic instruments file
@param -> documentation incomplete if you know more about the purpose of the parameters in this function and it's side effects please extend and complete this string
"""
# initialize some variables
plotsites = False # cannot use draw_figs from within ipmag
Comps = [] # list of components
version_num = pmag.get_version()
args = sys.argv
model_lat_file = ""
Dcrit, Icrit, nocrit = 0, 0, 0
corrections = []
nocorrection = ['DA-NL', 'DA-AC', 'DA-CR']
# do some data adjustments
for cor in cors:
nocorrection.remove('DA-' + cor)
corrections.append('DA-' + cor)
for p in priorities:
if not p.startswith('DA-AC-'):
p = 'DA-AC-' + p
# translate coord into coords
if coord == 's':
coords = ['-1']
if coord == 'g':
coords = ['0']
if coord == 't':
coords = ['100']
if coord == 'b':
coords = ['0', '100']
if vgps_level == 'sample':
vgps = 1 # save sample level VGPS/VADMs
else:
vgps = 0 # site level
if do_site_intensity:
nositeints = 0
else:
nositeints = 1
# chagne these all to True/False instead of 1/0
if not skip_intensities:
# set model lat and
if use_sample_latitude and use_paleolatitude:
print("you should set a paleolatitude file OR use present day lat - not both")
return False
elif use_sample_latitude:
get_model_lat = 1
elif use_paleolatitude:
get_model_lat = 2
try:
model_lat_file = dir_path + '/' + args[ind + 1]
get_model_lat = 2
mlat = open(model_lat_file, 'r')
ModelLats = []
for line in mlat.readlines():
ModelLat = {}
tmp = line.split()
ModelLat["er_site_name"] = tmp[0]
ModelLat["site_model_lat"] = tmp[1]
ModelLat["er_sample_name"] = tmp[0]
ModelLat["sample_lat"] = tmp[1]
ModelLats.append(ModelLat)
mlat.clos()
except:
print("use_paleolatitude option requires a valid paleolatitude file")
else:
get_model_lat = 0 # skips VADM calculation entirely
if plotsites and not skip_directions: # plot by site - set up plot window
EQ = {}
EQ['eqarea'] = 1
# define figure 1 as equal area projection
pmagplotlib.plot_init(EQ['eqarea'], 5, 5)
# I don't know why this has to be here, but otherwise the first plot
# never plots...
pmagplotlib.plot_net(EQ['eqarea'])
pmagplotlib.draw_figs(EQ)
infile = os.path.join(dir_path, infile)
measfile = os.path.join(dir_path, measfile)
instout = os.path.join(dir_path, instout)
sampfile = os.path.join(dir_path, sampfile)
sitefile = os.path.join(dir_path, sitefile)
agefile = os.path.join(dir_path, agefile)
specout = os.path.join(dir_path, specout)
sampout = os.path.join(dir_path, sampout)
siteout = os.path.join(dir_path, siteout)
resout = os.path.join(dir_path, resout)
critout = os.path.join(dir_path, critout)
if use_criteria == 'none':
Dcrit, Icrit, nocrit = 1, 1, 1 # no selection criteria
crit_data = pmag.default_criteria(nocrit)
elif use_criteria == 'default':
crit_data = pmag.default_criteria(nocrit) # use default criteria
elif use_criteria == 'existing':
crit_data, file_type = pmag.magic_read(
critout) # use pmag_criteria file
print("Acceptance criteria read in from ", critout)
accept = {}
for critrec in crit_data:
for key in list(critrec.keys()):
# need to migrate specimen_dang to specimen_int_dang for intensity
# data using old format
if 'IE-SPEC' in list(critrec.keys()) and 'specimen_dang' in list(critrec.keys()) and 'specimen_int_dang' not in list(critrec.keys()):
critrec['specimen_int_dang'] = critrec['specimen_dang']
del critrec['specimen_dang']
# need to get rid of ron shaars sample_int_sigma_uT
if 'sample_int_sigma_uT' in list(critrec.keys()):
critrec['sample_int_sigma'] = '%10.3e' % (
eval(critrec['sample_int_sigma_uT']) * 1e-6)
if key not in list(accept.keys()) and critrec[key] != '':
accept[key] = critrec[key]
if use_criteria == 'default':
pmag.magic_write(critout, [accept], 'pmag_criteria')
print("\n Pmag Criteria stored in ", critout, '\n')
# now we're done slow dancing
# read in site data - has the lats and lons
SiteNFO, file_type = pmag.magic_read(sitefile)
# read in site data - has the lats and lons
SampNFO, file_type = pmag.magic_read(sampfile)
# find all the sites with height info.
height_nfo = pmag.get_dictitem(SiteNFO, 'site_height', '', 'F')
if agefile:
AgeNFO, file_type = pmag.magic_read(
agefile) # read in the age information
# read in specimen interpretations
Data, file_type = pmag.magic_read(infile)
# retrieve specimens with intensity data
IntData = pmag.get_dictitem(Data, 'specimen_int', '', 'F')
comment, orient = "", []
samples, sites = [], []
for rec in Data: # run through the data filling in missing keys and finding all components, coordinates available
# fill in missing fields, collect unique sample and site names
if 'er_sample_name' not in list(rec.keys()):
rec['er_sample_name'] = ""
elif rec['er_sample_name'] not in samples:
samples.append(rec['er_sample_name'])
if 'er_site_name' not in list(rec.keys()):
rec['er_site_name'] = ""
elif rec['er_site_name'] not in sites:
sites.append(rec['er_site_name'])
if 'specimen_int' not in list(rec.keys()):
rec['specimen_int'] = ''
if 'specimen_comp_name' not in list(rec.keys()) or rec['specimen_comp_name'] == "":
rec['specimen_comp_name'] = 'A'
if rec['specimen_comp_name'] not in Comps:
Comps.append(rec['specimen_comp_name'])
rec['specimen_tilt_correction'] = rec['specimen_tilt_correction'].strip(
'\n')
if "specimen_tilt_correction" not in list(rec.keys()):
rec["specimen_tilt_correction"] = "-1" # assume sample coordinates
if rec["specimen_tilt_correction"] not in orient:
# collect available coordinate systems
orient.append(rec["specimen_tilt_correction"])
if "specimen_direction_type" not in list(rec.keys()):
# assume direction is line - not plane
rec["specimen_direction_type"] = 'l'
if "specimen_dec" not in list(rec.keys()):
# if no declination, set direction type to blank
rec["specimen_direction_type"] = ''
if "specimen_n" not in list(rec.keys()):
rec["specimen_n"] = '' # put in n
if "specimen_alpha95" not in list(rec.keys()):
rec["specimen_alpha95"] = '' # put in alpha95
if "magic_method_codes" not in list(rec.keys()):
rec["magic_method_codes"] = ''
# start parsing data into SpecDirs, SpecPlanes, SpecInts
SpecInts, SpecDirs, SpecPlanes = [], [], []
samples.sort() # get sorted list of samples and sites
sites.sort()
if not skip_intensities: # don't skip intensities
# retrieve specimens with intensity data
IntData = pmag.get_dictitem(Data, 'specimen_int', '', 'F')
if nocrit == 0: # use selection criteria
for rec in IntData: # do selection criteria
kill = pmag.grade(rec, accept, 'specimen_int')
if len(kill) == 0:
# intensity record to be included in sample, site
# calculations
SpecInts.append(rec)
else:
SpecInts = IntData[:] # take everything - no selection criteria
# check for required data adjustments
if len(corrections) > 0 and len(SpecInts) > 0:
for cor in corrections:
# only take specimens with the required corrections
SpecInts = pmag.get_dictitem(
SpecInts, 'magic_method_codes', cor, 'has')
if len(nocorrection) > 0 and len(SpecInts) > 0:
for cor in nocorrection:
# exclude the corrections not specified for inclusion
SpecInts = pmag.get_dictitem(
SpecInts, 'magic_method_codes', cor, 'not')
# take top priority specimen of its name in remaining specimens (only one
# per customer)
PrioritySpecInts = []
specimens = pmag.get_specs(SpecInts) # get list of uniq specimen names
for spec in specimens:
# all the records for this specimen
ThisSpecRecs = pmag.get_dictitem(
SpecInts, 'er_specimen_name', spec, 'T')
if len(ThisSpecRecs) == 1:
PrioritySpecInts.append(ThisSpecRecs[0])
elif len(ThisSpecRecs) > 1: # more than one
prec = []
for p in priorities:
# all the records for this specimen
ThisSpecRecs = pmag.get_dictitem(
SpecInts, 'magic_method_codes', p, 'has')
if len(ThisSpecRecs) > 0:
prec.append(ThisSpecRecs[0])
PrioritySpecInts.append(prec[0]) # take the best one
SpecInts = PrioritySpecInts # this has the first specimen record
if not skip_directions: # don't skip directions
# retrieve specimens with directed lines and planes
AllDirs = pmag.get_dictitem(Data, 'specimen_direction_type', '', 'F')
# get all specimens with specimen_n information
Ns = pmag.get_dictitem(AllDirs, 'specimen_n', '', 'F')
if nocrit != 1: # use selection criteria
for rec in Ns: # look through everything with specimen_n for "good" data
kill = pmag.grade(rec, accept, 'specimen_dir')
if len(kill) == 0: # nothing killed it
SpecDirs.append(rec)
else: # no criteria
SpecDirs = AllDirs[:] # take them all
# SpecDirs is now the list of all specimen directions (lines and planes)
# that pass muster
# list of all sample data and list of those that pass the DE-SAMP criteria
PmagSamps, SampDirs = [], []
PmagSites, PmagResults = [], [] # list of all site data and selected results
SampInts = []
for samp in samples: # run through the sample names
if avg_directions_by_sample: # average by sample if desired
# get all the directional data for this sample
SampDir = pmag.get_dictitem(SpecDirs, 'er_sample_name', samp, 'T')
if len(SampDir) > 0: # there are some directions
for coord in coords: # step through desired coordinate systems
# get all the directions for this sample
CoordDir = pmag.get_dictitem(
SampDir, 'specimen_tilt_correction', coord, 'T')
if len(CoordDir) > 0: # there are some with this coordinate system
if not avg_all_components: # look component by component
for comp in Comps:
# get all directions from this component
CompDir = pmag.get_dictitem(
CoordDir, 'specimen_comp_name', comp, 'T')
if len(CompDir) > 0: # there are some
# get a sample average from all specimens
PmagSampRec = pmag.lnpbykey(
CompDir, 'sample', 'specimen')
# decorate the sample record
PmagSampRec["er_location_name"] = CompDir[0]['er_location_name']
PmagSampRec["er_site_name"] = CompDir[0]['er_site_name']
PmagSampRec["er_sample_name"] = samp
PmagSampRec["er_citation_names"] = "This study"
PmagSampRec["er_analyst_mail_names"] = user
PmagSampRec['magic_software_packages'] = version_num
if CompDir[0]['specimen_flag'] == 'g':
PmagSampRec['sample_flag'] = 'g'
else:
PmagSampRec['sample_flag'] = 'b'
if nocrit != 1:
PmagSampRec['pmag_criteria_codes'] = "ACCEPT"
if agefile != "":
PmagSampRec = pmag.get_age(
PmagSampRec, "er_site_name", "sample_inferred_", AgeNFO, DefaultAge)
site_height = pmag.get_dictitem(
height_nfo, 'er_site_name', PmagSampRec['er_site_name'], 'T')
if len(site_height) > 0:
# add in height if available
PmagSampRec["sample_height"] = site_height[0]['site_height']
PmagSampRec['sample_comp_name'] = comp
PmagSampRec['sample_tilt_correction'] = coord
PmagSampRec['er_specimen_names'] = pmag.get_list(
CompDir, 'er_specimen_name') # get a list of the specimen names used
PmagSampRec['magic_method_codes'] = pmag.get_list(
CompDir, 'magic_method_codes') # get a list of the methods used
if nocrit != 1: # apply selection criteria
kill = pmag.grade(
PmagSampRec, accept, 'sample_dir')
else:
kill = []
if len(kill) == 0:
SampDirs.append(PmagSampRec)
if vgps == 1: # if sample level VGP info desired, do that now
PmagResRec = pmag.getsampVGP(
PmagSampRec, SiteNFO)
if PmagResRec != "":
PmagResults.append(PmagResRec)
# print(PmagSampRec)
PmagSamps.append(PmagSampRec)
if avg_all_components: # average all components together basically same as above
PmagSampRec = pmag.lnpbykey(
CoordDir, 'sample', 'specimen')
PmagSampRec["er_location_name"] = CoordDir[0]['er_location_name']
PmagSampRec["er_site_name"] = CoordDir[0]['er_site_name']
PmagSampRec["er_sample_name"] = samp
PmagSampRec["er_citation_names"] = "This study"
PmagSampRec["er_analyst_mail_names"] = user
PmagSampRec['magic_software_packages'] = version_num
if all(i['specimen_flag'] == 'g' for i in CoordDir):
PmagSampRec['sample_flag'] = 'g'
else:
PmagSampRec['sample_flag'] = 'b'
if nocrit != 1:
PmagSampRec['pmag_criteria_codes'] = ""
if agefile != "":
PmagSampRec = pmag.get_age(
PmagSampRec, "er_site_name", "sample_inferred_", AgeNFO, DefaultAge)
site_height = pmag.get_dictitem(
height_nfo, 'er_site_name', site, 'T')
if len(site_height) > 0:
# add in height if available
PmagSampRec["sample_height"] = site_height[0]['site_height']
PmagSampRec['sample_tilt_correction'] = coord
PmagSampRec['sample_comp_name'] = pmag.get_list(
CoordDir, 'specimen_comp_name') # get components used
PmagSampRec['er_specimen_names'] = pmag.get_list(
CoordDir, 'er_specimen_name') # get specimne names averaged
PmagSampRec['magic_method_codes'] = pmag.get_list(
CoordDir, 'magic_method_codes') # assemble method codes
if nocrit != 1: # apply selection criteria
kill = pmag.grade(
PmagSampRec, accept, 'sample_dir')
if len(kill) == 0: # passes the mustard
SampDirs.append(PmagSampRec)
if vgps == 1:
PmagResRec = pmag.getsampVGP(
PmagSampRec, SiteNFO)
if PmagResRec != "":
PmagResults.append(PmagResRec)
else: # take everything
SampDirs.append(PmagSampRec)
if vgps == 1:
PmagResRec = pmag.getsampVGP(
PmagSampRec, SiteNFO)
if PmagResRec != "":
PmagResults.append(PmagResRec)
PmagSamps.append(PmagSampRec)
if avg_intensities_by_sample: # average by sample if desired
# get all the intensity data for this sample
SampI = pmag.get_dictitem(SpecInts, 'er_sample_name', samp, 'T')
if len(SampI) > 0: # there are some
# get average intensity stuff
PmagSampRec = pmag.average_int(SampI, 'specimen', 'sample')
# decorate sample record
PmagSampRec["sample_description"] = "sample intensity"
PmagSampRec["sample_direction_type"] = ""
PmagSampRec['er_site_name'] = SampI[0]["er_site_name"]
PmagSampRec['er_sample_name'] = samp
PmagSampRec['er_location_name'] = SampI[0]["er_location_name"]
PmagSampRec["er_citation_names"] = "This study"
PmagSampRec["er_analyst_mail_names"] = user
if agefile != "":
PmagSampRec = pmag.get_age(
PmagSampRec, "er_site_name", "sample_inferred_", AgeNFO, DefaultAge)
site_height = pmag.get_dictitem(
height_nfo, 'er_site_name', PmagSampRec['er_site_name'], 'T')
if len(site_height) > 0:
# add in height if available
PmagSampRec["sample_height"] = site_height[0]['site_height']
PmagSampRec['er_specimen_names'] = pmag.get_list(
SampI, 'er_specimen_name')
PmagSampRec['magic_method_codes'] = pmag.get_list(
SampI, 'magic_method_codes')
if nocrit != 1: # apply criteria!
kill = pmag.grade(PmagSampRec, accept, 'sample_int')
if len(kill) == 0:
PmagSampRec['pmag_criteria_codes'] = "ACCEPT"
SampInts.append(PmagSampRec)
PmagSamps.append(PmagSampRec)
else:
PmagSampRec = {} # sample rejected
else: # no criteria
SampInts.append(PmagSampRec)
PmagSamps.append(PmagSampRec)
PmagSampRec['pmag_criteria_codes'] = ""
if vgps == 1 and get_model_lat != 0 and PmagSampRec != {}:
if get_model_lat == 1: # use sample latitude
PmagResRec = pmag.getsampVDM(PmagSampRec, SampNFO)
# get rid of the model lat key
del(PmagResRec['model_lat'])
elif get_model_lat == 2: # use model latitude
PmagResRec = pmag.getsampVDM(PmagSampRec, ModelLats)
if PmagResRec != {}:
PmagResRec['magic_method_codes'] = PmagResRec['magic_method_codes'] + ":IE-MLAT"
if PmagResRec != {}:
PmagResRec['er_specimen_names'] = PmagSampRec['er_specimen_names']
PmagResRec['er_sample_names'] = PmagSampRec['er_sample_name']
PmagResRec['pmag_criteria_codes'] = 'ACCEPT'
PmagResRec['average_int_sigma_perc'] = PmagSampRec['sample_int_sigma_perc']
PmagResRec['average_int_sigma'] = PmagSampRec['sample_int_sigma']
PmagResRec['average_int_n'] = PmagSampRec['sample_int_n']
PmagResRec['vadm_n'] = PmagSampRec['sample_int_n']
PmagResRec['data_type'] = 'i'
PmagResults.append(PmagResRec)
if len(PmagSamps) > 0:
# fill in missing keys from different types of records
TmpSamps, keylist = pmag.fillkeys(PmagSamps)
# save in sample output file
pmag.magic_write(sampout, TmpSamps, 'pmag_samples')
print(' sample averages written to ', sampout)
#
# create site averages from specimens or samples as specified
#
for site in sites:
for coord in coords:
if not avg_directions_by_sample:
key, dirlist = 'specimen', SpecDirs # if specimen averages at site level desired
if avg_directions_by_sample:
key, dirlist = 'sample', SampDirs # if sample averages at site level desired
# get all the sites with directions
tmp = pmag.get_dictitem(dirlist, 'er_site_name', site, 'T')
# use only the last coordinate if avg_all_components==False
tmp1 = pmag.get_dictitem(tmp, key + '_tilt_correction', coord, 'T')
# fish out site information (lat/lon, etc.)
sd = pmag.get_dictitem(SiteNFO, 'er_site_name', site, 'T')
if len(sd) > 0:
sitedat = sd[0]
if not avg_all_components: # do component wise averaging
for comp in Comps:
# get all components comp
siteD = pmag.get_dictitem(
tmp1, key + '_comp_name', comp, 'T')
# remove bad data from means
quality_siteD = []
# remove any records for which specimen_flag or sample_flag are 'b'
# assume 'g' if flag is not provided
for rec in siteD:
spec_quality = rec.get('specimen_flag', 'g')
samp_quality = rec.get('sample_flag', 'g')
if (spec_quality == 'g') and (samp_quality == 'g'):
quality_siteD.append(rec)
siteD = quality_siteD
if len(siteD) > 0: # there are some for this site and component name
# get an average for this site
PmagSiteRec = pmag.lnpbykey(siteD, 'site', key)
# decorate the site record
PmagSiteRec['site_comp_name'] = comp
PmagSiteRec["er_location_name"] = siteD[0]['er_location_name']
PmagSiteRec["er_site_name"] = siteD[0]['er_site_name']
PmagSiteRec['site_tilt_correction'] = coord
PmagSiteRec['site_comp_name'] = pmag.get_list(
siteD, key + '_comp_name')
if avg_directions_by_sample:
PmagSiteRec['er_sample_names'] = pmag.get_list(
siteD, 'er_sample_name')
else:
PmagSiteRec['er_specimen_names'] = pmag.get_list(
siteD, 'er_specimen_name')
# determine the demagnetization code (DC3,4 or 5) for this site
AFnum = len(pmag.get_dictitem(
siteD, 'magic_method_codes', 'LP-DIR-AF', 'has'))
Tnum = len(pmag.get_dictitem(
siteD, 'magic_method_codes', 'LP-DIR-T', 'has'))
DC = 3
if AFnum > 0:
DC += 1
if Tnum > 0:
DC += 1
PmagSiteRec['magic_method_codes'] = pmag.get_list(
siteD, 'magic_method_codes') + ':' + 'LP-DC' + str(DC)
PmagSiteRec['magic_method_codes'].strip(":")
if plotsites:
print(PmagSiteRec['er_site_name'])
# plot and list the data
pmagplotlib.plot_site(
EQ['eqarea'], PmagSiteRec, siteD, key)
pmagplotlib.draw_figs(EQ)
PmagSites.append(PmagSiteRec)
else: # last component only
# get the last orientation system specified
siteD = tmp1[:]
if len(siteD) > 0: # there are some
# get the average for this site
PmagSiteRec = pmag.lnpbykey(siteD, 'site', key)
# decorate the record
PmagSiteRec["er_location_name"] = siteD[0]['er_location_name']
PmagSiteRec["er_site_name"] = siteD[0]['er_site_name']
PmagSiteRec['site_comp_name'] = comp
PmagSiteRec['site_tilt_correction'] = coord
PmagSiteRec['site_comp_name'] = pmag.get_list(
siteD, key + '_comp_name')
PmagSiteRec['er_specimen_names'] = pmag.get_list(
siteD, 'er_specimen_name')
PmagSiteRec['er_sample_names'] = pmag.get_list(
siteD, 'er_sample_name')
AFnum = len(pmag.get_dictitem(
siteD, 'magic_method_codes', 'LP-DIR-AF', 'has'))
Tnum = len(pmag.get_dictitem(
siteD, 'magic_method_codes', 'LP-DIR-T', 'has'))
DC = 3
if AFnum > 0:
DC += 1
if Tnum > 0:
DC += 1
PmagSiteRec['magic_method_codes'] = pmag.get_list(
siteD, 'magic_method_codes') + ':' + 'LP-DC' + str(DC)
PmagSiteRec['magic_method_codes'].strip(":")
if not avg_directions_by_sample:
PmagSiteRec['site_comp_name'] = pmag.get_list(
siteD, key + '_comp_name')
if plotsites:
pmagplotlib.plot_site(
EQ['eqarea'], PmagSiteRec, siteD, key)
pmagplotlib.draw_figs(EQ)
PmagSites.append(PmagSiteRec)
else:
print('site information not found in er_sites for site, ',
site, ' site will be skipped')
for PmagSiteRec in PmagSites: # now decorate each dictionary some more, and calculate VGPs etc. for results table
PmagSiteRec["er_citation_names"] = "This study"
PmagSiteRec["er_analyst_mail_names"] = user
PmagSiteRec['magic_software_packages'] = version_num
if agefile != "":
PmagSiteRec = pmag.get_age(
PmagSiteRec, "er_site_name", "site_inferred_", AgeNFO, DefaultAge)
PmagSiteRec['pmag_criteria_codes'] = 'ACCEPT'
if 'site_n_lines' in list(PmagSiteRec.keys()) and 'site_n_planes' in list(PmagSiteRec.keys()) and PmagSiteRec['site_n_lines'] != "" and PmagSiteRec['site_n_planes'] != "":
if int(PmagSiteRec["site_n_planes"]) > 0:
PmagSiteRec["magic_method_codes"] = PmagSiteRec['magic_method_codes'] + ":DE-FM-LP"
elif int(PmagSiteRec["site_n_lines"]) > 2:
PmagSiteRec["magic_method_codes"] = PmagSiteRec['magic_method_codes'] + ":DE-FM"
kill = pmag.grade(PmagSiteRec, accept, 'site_dir')
if len(kill) == 0:
PmagResRec = {} # set up dictionary for the pmag_results table entry
PmagResRec['data_type'] = 'i' # decorate it a bit
PmagResRec['magic_software_packages'] = version_num
PmagSiteRec['site_description'] = 'Site direction included in results table'
PmagResRec['pmag_criteria_codes'] = 'ACCEPT'
dec = float(PmagSiteRec["site_dec"])
inc = float(PmagSiteRec["site_inc"])
if 'site_alpha95' in list(PmagSiteRec.keys()) and PmagSiteRec['site_alpha95'] != "":
a95 = float(PmagSiteRec["site_alpha95"])
else:
a95 = 180.
sitedat = pmag.get_dictitem(SiteNFO, 'er_site_name', PmagSiteRec['er_site_name'], 'T')[
0] # fish out site information (lat/lon, etc.)
lat = float(sitedat['site_lat'])
lon = float(sitedat['site_lon'])
plon, plat, dp, dm = pmag.dia_vgp(
dec, inc, a95, lat, lon) # get the VGP for this site
if PmagSiteRec['site_tilt_correction'] == '-1':
C = ' (spec coord) '
if PmagSiteRec['site_tilt_correction'] == '0':
C = ' (geog. coord) '
if PmagSiteRec['site_tilt_correction'] == '100':
C = ' (strat. coord) '
PmagResRec["pmag_result_name"] = "VGP Site: " + \
PmagSiteRec["er_site_name"] # decorate some more
PmagResRec["result_description"] = "Site VGP, coord system = " + \
str(coord) + ' component: ' + comp
PmagResRec['er_site_names'] = PmagSiteRec['er_site_name']
PmagResRec['pmag_criteria_codes'] = 'ACCEPT'
PmagResRec['er_citation_names'] = 'This study'
PmagResRec['er_analyst_mail_names'] = user
PmagResRec["er_location_names"] = PmagSiteRec["er_location_name"]
if avg_directions_by_sample:
PmagResRec["er_sample_names"] = PmagSiteRec["er_sample_names"]
else:
PmagResRec["er_specimen_names"] = PmagSiteRec["er_specimen_names"]
PmagResRec["tilt_correction"] = PmagSiteRec['site_tilt_correction']
PmagResRec["pole_comp_name"] = PmagSiteRec['site_comp_name']
PmagResRec["average_dec"] = PmagSiteRec["site_dec"]
PmagResRec["average_inc"] = PmagSiteRec["site_inc"]
PmagResRec["average_alpha95"] = PmagSiteRec["site_alpha95"]
PmagResRec["average_n"] = PmagSiteRec["site_n"]
PmagResRec["average_n_lines"] = PmagSiteRec["site_n_lines"]
PmagResRec["average_n_planes"] = PmagSiteRec["site_n_planes"]
PmagResRec["vgp_n"] = PmagSiteRec["site_n"]
PmagResRec["average_k"] = PmagSiteRec["site_k"]
PmagResRec["average_r"] = PmagSiteRec["site_r"]
PmagResRec["average_lat"] = '%10.4f ' % (lat)
PmagResRec["average_lon"] = '%10.4f ' % (lon)
if agefile != "":
PmagResRec = pmag.get_age(
PmagResRec, "er_site_names", "average_", AgeNFO, DefaultAge)
site_height = pmag.get_dictitem(
height_nfo, 'er_site_name', site, 'T')
if len(site_height) > 0:
PmagResRec["average_height"] = site_height[0]['site_height']
PmagResRec["vgp_lat"] = '%7.1f ' % (plat)
PmagResRec["vgp_lon"] = '%7.1f ' % (plon)
PmagResRec["vgp_dp"] = '%7.1f ' % (dp)
PmagResRec["vgp_dm"] = '%7.1f ' % (dm)
PmagResRec["magic_method_codes"] = PmagSiteRec["magic_method_codes"]
if '0' in PmagSiteRec['site_tilt_correction'] and "DA-DIR-GEO" not in PmagSiteRec['magic_method_codes']:
PmagSiteRec['magic_method_codes'] = PmagSiteRec['magic_method_codes'] + ":DA-DIR-GEO"
if '100' in PmagSiteRec['site_tilt_correction'] and "DA-DIR-TILT" not in PmagSiteRec['magic_method_codes']:
PmagSiteRec['magic_method_codes'] = PmagSiteRec['magic_method_codes'] + ":DA-DIR-TILT"
PmagSiteRec['site_polarity'] = ""
if avg_by_polarity: # assign polarity based on angle of pole lat to spin axis - may want to re-think this sometime
angle = pmag.angle([0, 0], [0, (90 - plat)])
if angle <= 55.:
PmagSiteRec["site_polarity"] = 'n'
if angle > 55. and angle < 125.:
PmagSiteRec["site_polarity"] = 't'
if angle >= 125.:
PmagSiteRec["site_polarity"] = 'r'
PmagResults.append(PmagResRec)
if avg_by_polarity:
# find the tilt corrected data
crecs = pmag.get_dictitem(
PmagSites, 'site_tilt_correction', '100', 'T')
if len(crecs) < 2:
# if there aren't any, find the geographic corrected data
crecs = pmag.get_dictitem(
PmagSites, 'site_tilt_correction', '0', 'T')
if len(crecs) > 2: # if there are some,
comp = pmag.get_list(crecs, 'site_comp_name').split(':')[
0] # find the first component
# fish out all of the first component
crecs = pmag.get_dictitem(crecs, 'site_comp_name', comp, 'T')
precs = []
for rec in crecs:
precs.append({'dec': rec['site_dec'], 'inc': rec['site_inc'],
'name': rec['er_site_name'], 'loc': rec['er_location_name']})
# calculate average by polarity
polpars = pmag.fisher_by_pol(precs)
# hunt through all the modes (normal=A, reverse=B, all=ALL)
for mode in list(polpars.keys()):
PolRes = {}
PolRes['er_citation_names'] = 'This study'
PolRes["pmag_result_name"] = "Polarity Average: Polarity " + mode
PolRes["data_type"] = "a"
PolRes["average_dec"] = '%7.1f' % (polpars[mode]['dec'])
PolRes["average_inc"] = '%7.1f' % (polpars[mode]['inc'])
PolRes["average_n"] = '%i' % (polpars[mode]['n'])
PolRes["average_r"] = '%5.4f' % (polpars[mode]['r'])
PolRes["average_k"] = '%6.0f' % (polpars[mode]['k'])
PolRes["average_alpha95"] = '%7.1f' % (
polpars[mode]['alpha95'])
PolRes['er_site_names'] = polpars[mode]['sites']
PolRes['er_location_names'] = polpars[mode]['locs']
PolRes['magic_software_packages'] = version_num
PmagResults.append(PolRes)
if not skip_intensities and nositeints != 1:
for site in sites: # now do intensities for each site
if plotsites:
print(site)
if not avg_intensities_by_sample:
key, intlist = 'specimen', SpecInts # if using specimen level data
if avg_intensities_by_sample:
key, intlist = 'sample', PmagSamps # if using sample level data
# get all the intensities for this site
Ints = pmag.get_dictitem(intlist, 'er_site_name', site, 'T')
if len(Ints) > 0: # there are some
# get average intensity stuff for site table
PmagSiteRec = pmag.average_int(Ints, key, 'site')
# get average intensity stuff for results table
PmagResRec = pmag.average_int(Ints, key, 'average')
if plotsites: # if site by site examination requested - print this site out to the screen
for rec in Ints:
print(rec['er_' + key + '_name'], ' %7.1f' %
(1e6 * float(rec[key + '_int'])))
if len(Ints) > 1:
print('Average: ', '%7.1f' % (
1e6 * float(PmagResRec['average_int'])), 'N: ', len(Ints))
print('Sigma: ', '%7.1f' % (
1e6 * float(PmagResRec['average_int_sigma'])), 'Sigma %: ', PmagResRec['average_int_sigma_perc'])
input('Press any key to continue\n')
er_location_name = Ints[0]["er_location_name"]
# decorate the records
PmagSiteRec["er_location_name"] = er_location_name
PmagSiteRec["er_citation_names"] = "This study"
PmagResRec["er_location_names"] = er_location_name
PmagResRec["er_citation_names"] = "This study"
PmagSiteRec["er_analyst_mail_names"] = user
PmagResRec["er_analyst_mail_names"] = user
PmagResRec["data_type"] = 'i'
if not avg_intensities_by_sample:
PmagSiteRec['er_specimen_names'] = pmag.get_list(
Ints, 'er_specimen_name') # list of all specimens used
PmagResRec['er_specimen_names'] = pmag.get_list(
Ints, 'er_specimen_name')
PmagSiteRec['er_sample_names'] = pmag.get_list(
Ints, 'er_sample_name') # list of all samples used
PmagResRec['er_sample_names'] = pmag.get_list(
Ints, 'er_sample_name')
PmagSiteRec['er_site_name'] = site
PmagResRec['er_site_names'] = site
PmagSiteRec['magic_method_codes'] = pmag.get_list(
Ints, 'magic_method_codes')
PmagResRec['magic_method_codes'] = pmag.get_list(
Ints, 'magic_method_codes')
kill = pmag.grade(PmagSiteRec, accept, 'site_int')
if nocrit == 1 or len(kill) == 0:
b, sig = float(PmagResRec['average_int']), ""
if(PmagResRec['average_int_sigma']) != "":
sig = float(PmagResRec['average_int_sigma'])
# fish out site direction
sdir = pmag.get_dictitem(
PmagResults, 'er_site_names', site, 'T')
# get the VDM for this record using last average
# inclination (hope it is the right one!)
if len(sdir) > 0 and sdir[-1]['average_inc'] != "":
inc = float(sdir[0]['average_inc'])
# get magnetic latitude using dipole formula
mlat = pmag.magnetic_lat(inc)
# get VDM with magnetic latitude
PmagResRec["vdm"] = '%8.3e ' % (pmag.b_vdm(b, mlat))
PmagResRec["vdm_n"] = PmagResRec['average_int_n']
if 'average_int_sigma' in list(PmagResRec.keys()) and PmagResRec['average_int_sigma'] != "":
vdm_sig = pmag.b_vdm(
float(PmagResRec['average_int_sigma']), mlat)
PmagResRec["vdm_sigma"] = '%8.3e ' % (vdm_sig)
else:
PmagResRec["vdm_sigma"] = ""
mlat = "" # define a model latitude
if get_model_lat == 1: # use present site latitude
mlats = pmag.get_dictitem(
SiteNFO, 'er_site_name', site, 'T')
if len(mlats) > 0:
mlat = mlats[0]['site_lat']
# use a model latitude from some plate reconstruction model
# (or something)
elif get_model_lat == 2:
mlats = pmag.get_dictitem(
ModelLats, 'er_site_name', site, 'T')
if len(mlats) > 0:
PmagResRec['model_lat'] = mlats[0]['site_model_lat']
mlat = PmagResRec['model_lat']
if mlat != "":
# get the VADM using the desired latitude
PmagResRec["vadm"] = '%8.3e ' % (
pmag.b_vdm(b, float(mlat)))
if sig != "":
vdm_sig = pmag.b_vdm(
float(PmagResRec['average_int_sigma']), float(mlat))
PmagResRec["vadm_sigma"] = '%8.3e ' % (vdm_sig)
PmagResRec["vadm_n"] = PmagResRec['average_int_n']
else:
PmagResRec["vadm_sigma"] = ""
# fish out site information (lat/lon, etc.)
sitedat = pmag.get_dictitem(
SiteNFO, 'er_site_name', PmagSiteRec['er_site_name'], 'T')
if len(sitedat) > 0:
sitedat = sitedat[0]
PmagResRec['average_lat'] = sitedat['site_lat']
PmagResRec['average_lon'] = sitedat['site_lon']
else:
PmagResRec['average_lon'] = 'UNKNOWN'
PmagResRec['average_lon'] = 'UNKNOWN'
PmagResRec['magic_software_packages'] = version_num
PmagResRec["pmag_result_name"] = "V[A]DM: Site " + site
PmagResRec["result_description"] = "V[A]DM of site"
PmagResRec["pmag_criteria_codes"] = "ACCEPT"
if agefile != "":
PmagResRec = pmag.get_age(
PmagResRec, "er_site_names", "average_", AgeNFO, DefaultAge)
site_height = pmag.get_dictitem(
height_nfo, 'er_site_name', site, 'T')
if len(site_height) > 0:
PmagResRec["average_height"] = site_height[0]['site_height']
PmagSites.append(PmagSiteRec)
PmagResults.append(PmagResRec)
if len(PmagSites) > 0:
Tmp, keylist = pmag.fillkeys(PmagSites)
pmag.magic_write(siteout, Tmp, 'pmag_sites')
print(' sites written to ', siteout)
else:
print("No Site level table")
if len(PmagResults) > 0:
TmpRes, keylist = pmag.fillkeys(PmagResults)
pmag.magic_write(resout, TmpRes, 'pmag_results')
print(' results written to ', resout)
else:
print("No Results level table")
|
python
|
def specimens_results_magic(infile='pmag_specimens.txt', measfile='magic_measurements.txt', sampfile='er_samples.txt', sitefile='er_sites.txt', agefile='er_ages.txt', specout='er_specimens.txt', sampout='pmag_samples.txt', siteout='pmag_sites.txt', resout='pmag_results.txt', critout='pmag_criteria.txt', instout='magic_instruments.txt', plotsites=False, fmt='svg', dir_path='.', cors=[], priorities=['DA-AC-ARM', 'DA-AC-TRM'], coord='g', user='', vgps_level='site', do_site_intensity=True, DefaultAge=["none"], avg_directions_by_sample=False, avg_intensities_by_sample=False, avg_all_components=False, avg_by_polarity=False, skip_directions=False, skip_intensities=False, use_sample_latitude=False, use_paleolatitude=False, use_criteria='default'):
"""
Writes magic_instruments, er_specimens, pmag_samples, pmag_sites, pmag_criteria, and pmag_results. The data used to write this is obtained by reading a pmag_speciemns, a magic_measurements, a er_samples, a er_sites, a er_ages.
@param -> infile: path from the WD to the pmag speciemns table
@param -> measfile: path from the WD to the magic measurement file
@param -> sampfile: path from the WD to the er sample file
@param -> sitefile: path from the WD to the er sites data file
@param -> agefile: path from the WD to the er ages data file
@param -> specout: path from the WD to the place to write the er specimens data file
@param -> sampout: path from the WD to the place to write the pmag samples data file
@param -> siteout: path from the WD to the place to write the pmag sites data file
@param -> resout: path from the WD to the place to write the pmag results data file
@param -> critout: path from the WD to the place to write the pmag criteria file
@param -> instout: path from th WD to the place to write the magic instruments file
@param -> documentation incomplete if you know more about the purpose of the parameters in this function and it's side effects please extend and complete this string
"""
# initialize some variables
plotsites = False # cannot use draw_figs from within ipmag
Comps = [] # list of components
version_num = pmag.get_version()
args = sys.argv
model_lat_file = ""
Dcrit, Icrit, nocrit = 0, 0, 0
corrections = []
nocorrection = ['DA-NL', 'DA-AC', 'DA-CR']
# do some data adjustments
for cor in cors:
nocorrection.remove('DA-' + cor)
corrections.append('DA-' + cor)
for p in priorities:
if not p.startswith('DA-AC-'):
p = 'DA-AC-' + p
# translate coord into coords
if coord == 's':
coords = ['-1']
if coord == 'g':
coords = ['0']
if coord == 't':
coords = ['100']
if coord == 'b':
coords = ['0', '100']
if vgps_level == 'sample':
vgps = 1 # save sample level VGPS/VADMs
else:
vgps = 0 # site level
if do_site_intensity:
nositeints = 0
else:
nositeints = 1
# chagne these all to True/False instead of 1/0
if not skip_intensities:
# set model lat and
if use_sample_latitude and use_paleolatitude:
print("you should set a paleolatitude file OR use present day lat - not both")
return False
elif use_sample_latitude:
get_model_lat = 1
elif use_paleolatitude:
get_model_lat = 2
try:
model_lat_file = dir_path + '/' + args[ind + 1]
get_model_lat = 2
mlat = open(model_lat_file, 'r')
ModelLats = []
for line in mlat.readlines():
ModelLat = {}
tmp = line.split()
ModelLat["er_site_name"] = tmp[0]
ModelLat["site_model_lat"] = tmp[1]
ModelLat["er_sample_name"] = tmp[0]
ModelLat["sample_lat"] = tmp[1]
ModelLats.append(ModelLat)
mlat.clos()
except:
print("use_paleolatitude option requires a valid paleolatitude file")
else:
get_model_lat = 0 # skips VADM calculation entirely
if plotsites and not skip_directions: # plot by site - set up plot window
EQ = {}
EQ['eqarea'] = 1
# define figure 1 as equal area projection
pmagplotlib.plot_init(EQ['eqarea'], 5, 5)
# I don't know why this has to be here, but otherwise the first plot
# never plots...
pmagplotlib.plot_net(EQ['eqarea'])
pmagplotlib.draw_figs(EQ)
infile = os.path.join(dir_path, infile)
measfile = os.path.join(dir_path, measfile)
instout = os.path.join(dir_path, instout)
sampfile = os.path.join(dir_path, sampfile)
sitefile = os.path.join(dir_path, sitefile)
agefile = os.path.join(dir_path, agefile)
specout = os.path.join(dir_path, specout)
sampout = os.path.join(dir_path, sampout)
siteout = os.path.join(dir_path, siteout)
resout = os.path.join(dir_path, resout)
critout = os.path.join(dir_path, critout)
if use_criteria == 'none':
Dcrit, Icrit, nocrit = 1, 1, 1 # no selection criteria
crit_data = pmag.default_criteria(nocrit)
elif use_criteria == 'default':
crit_data = pmag.default_criteria(nocrit) # use default criteria
elif use_criteria == 'existing':
crit_data, file_type = pmag.magic_read(
critout) # use pmag_criteria file
print("Acceptance criteria read in from ", critout)
accept = {}
for critrec in crit_data:
for key in list(critrec.keys()):
# need to migrate specimen_dang to specimen_int_dang for intensity
# data using old format
if 'IE-SPEC' in list(critrec.keys()) and 'specimen_dang' in list(critrec.keys()) and 'specimen_int_dang' not in list(critrec.keys()):
critrec['specimen_int_dang'] = critrec['specimen_dang']
del critrec['specimen_dang']
# need to get rid of ron shaars sample_int_sigma_uT
if 'sample_int_sigma_uT' in list(critrec.keys()):
critrec['sample_int_sigma'] = '%10.3e' % (
eval(critrec['sample_int_sigma_uT']) * 1e-6)
if key not in list(accept.keys()) and critrec[key] != '':
accept[key] = critrec[key]
if use_criteria == 'default':
pmag.magic_write(critout, [accept], 'pmag_criteria')
print("\n Pmag Criteria stored in ", critout, '\n')
# now we're done slow dancing
# read in site data - has the lats and lons
SiteNFO, file_type = pmag.magic_read(sitefile)
# read in site data - has the lats and lons
SampNFO, file_type = pmag.magic_read(sampfile)
# find all the sites with height info.
height_nfo = pmag.get_dictitem(SiteNFO, 'site_height', '', 'F')
if agefile:
AgeNFO, file_type = pmag.magic_read(
agefile) # read in the age information
# read in specimen interpretations
Data, file_type = pmag.magic_read(infile)
# retrieve specimens with intensity data
IntData = pmag.get_dictitem(Data, 'specimen_int', '', 'F')
comment, orient = "", []
samples, sites = [], []
for rec in Data: # run through the data filling in missing keys and finding all components, coordinates available
# fill in missing fields, collect unique sample and site names
if 'er_sample_name' not in list(rec.keys()):
rec['er_sample_name'] = ""
elif rec['er_sample_name'] not in samples:
samples.append(rec['er_sample_name'])
if 'er_site_name' not in list(rec.keys()):
rec['er_site_name'] = ""
elif rec['er_site_name'] not in sites:
sites.append(rec['er_site_name'])
if 'specimen_int' not in list(rec.keys()):
rec['specimen_int'] = ''
if 'specimen_comp_name' not in list(rec.keys()) or rec['specimen_comp_name'] == "":
rec['specimen_comp_name'] = 'A'
if rec['specimen_comp_name'] not in Comps:
Comps.append(rec['specimen_comp_name'])
rec['specimen_tilt_correction'] = rec['specimen_tilt_correction'].strip(
'\n')
if "specimen_tilt_correction" not in list(rec.keys()):
rec["specimen_tilt_correction"] = "-1" # assume sample coordinates
if rec["specimen_tilt_correction"] not in orient:
# collect available coordinate systems
orient.append(rec["specimen_tilt_correction"])
if "specimen_direction_type" not in list(rec.keys()):
# assume direction is line - not plane
rec["specimen_direction_type"] = 'l'
if "specimen_dec" not in list(rec.keys()):
# if no declination, set direction type to blank
rec["specimen_direction_type"] = ''
if "specimen_n" not in list(rec.keys()):
rec["specimen_n"] = '' # put in n
if "specimen_alpha95" not in list(rec.keys()):
rec["specimen_alpha95"] = '' # put in alpha95
if "magic_method_codes" not in list(rec.keys()):
rec["magic_method_codes"] = ''
# start parsing data into SpecDirs, SpecPlanes, SpecInts
SpecInts, SpecDirs, SpecPlanes = [], [], []
samples.sort() # get sorted list of samples and sites
sites.sort()
if not skip_intensities: # don't skip intensities
# retrieve specimens with intensity data
IntData = pmag.get_dictitem(Data, 'specimen_int', '', 'F')
if nocrit == 0: # use selection criteria
for rec in IntData: # do selection criteria
kill = pmag.grade(rec, accept, 'specimen_int')
if len(kill) == 0:
# intensity record to be included in sample, site
# calculations
SpecInts.append(rec)
else:
SpecInts = IntData[:] # take everything - no selection criteria
# check for required data adjustments
if len(corrections) > 0 and len(SpecInts) > 0:
for cor in corrections:
# only take specimens with the required corrections
SpecInts = pmag.get_dictitem(
SpecInts, 'magic_method_codes', cor, 'has')
if len(nocorrection) > 0 and len(SpecInts) > 0:
for cor in nocorrection:
# exclude the corrections not specified for inclusion
SpecInts = pmag.get_dictitem(
SpecInts, 'magic_method_codes', cor, 'not')
# take top priority specimen of its name in remaining specimens (only one
# per customer)
PrioritySpecInts = []
specimens = pmag.get_specs(SpecInts) # get list of uniq specimen names
for spec in specimens:
# all the records for this specimen
ThisSpecRecs = pmag.get_dictitem(
SpecInts, 'er_specimen_name', spec, 'T')
if len(ThisSpecRecs) == 1:
PrioritySpecInts.append(ThisSpecRecs[0])
elif len(ThisSpecRecs) > 1: # more than one
prec = []
for p in priorities:
# all the records for this specimen
ThisSpecRecs = pmag.get_dictitem(
SpecInts, 'magic_method_codes', p, 'has')
if len(ThisSpecRecs) > 0:
prec.append(ThisSpecRecs[0])
PrioritySpecInts.append(prec[0]) # take the best one
SpecInts = PrioritySpecInts # this has the first specimen record
if not skip_directions: # don't skip directions
# retrieve specimens with directed lines and planes
AllDirs = pmag.get_dictitem(Data, 'specimen_direction_type', '', 'F')
# get all specimens with specimen_n information
Ns = pmag.get_dictitem(AllDirs, 'specimen_n', '', 'F')
if nocrit != 1: # use selection criteria
for rec in Ns: # look through everything with specimen_n for "good" data
kill = pmag.grade(rec, accept, 'specimen_dir')
if len(kill) == 0: # nothing killed it
SpecDirs.append(rec)
else: # no criteria
SpecDirs = AllDirs[:] # take them all
# SpecDirs is now the list of all specimen directions (lines and planes)
# that pass muster
# list of all sample data and list of those that pass the DE-SAMP criteria
PmagSamps, SampDirs = [], []
PmagSites, PmagResults = [], [] # list of all site data and selected results
SampInts = []
for samp in samples: # run through the sample names
if avg_directions_by_sample: # average by sample if desired
# get all the directional data for this sample
SampDir = pmag.get_dictitem(SpecDirs, 'er_sample_name', samp, 'T')
if len(SampDir) > 0: # there are some directions
for coord in coords: # step through desired coordinate systems
# get all the directions for this sample
CoordDir = pmag.get_dictitem(
SampDir, 'specimen_tilt_correction', coord, 'T')
if len(CoordDir) > 0: # there are some with this coordinate system
if not avg_all_components: # look component by component
for comp in Comps:
# get all directions from this component
CompDir = pmag.get_dictitem(
CoordDir, 'specimen_comp_name', comp, 'T')
if len(CompDir) > 0: # there are some
# get a sample average from all specimens
PmagSampRec = pmag.lnpbykey(
CompDir, 'sample', 'specimen')
# decorate the sample record
PmagSampRec["er_location_name"] = CompDir[0]['er_location_name']
PmagSampRec["er_site_name"] = CompDir[0]['er_site_name']
PmagSampRec["er_sample_name"] = samp
PmagSampRec["er_citation_names"] = "This study"
PmagSampRec["er_analyst_mail_names"] = user
PmagSampRec['magic_software_packages'] = version_num
if CompDir[0]['specimen_flag'] == 'g':
PmagSampRec['sample_flag'] = 'g'
else:
PmagSampRec['sample_flag'] = 'b'
if nocrit != 1:
PmagSampRec['pmag_criteria_codes'] = "ACCEPT"
if agefile != "":
PmagSampRec = pmag.get_age(
PmagSampRec, "er_site_name", "sample_inferred_", AgeNFO, DefaultAge)
site_height = pmag.get_dictitem(
height_nfo, 'er_site_name', PmagSampRec['er_site_name'], 'T')
if len(site_height) > 0:
# add in height if available
PmagSampRec["sample_height"] = site_height[0]['site_height']
PmagSampRec['sample_comp_name'] = comp
PmagSampRec['sample_tilt_correction'] = coord
PmagSampRec['er_specimen_names'] = pmag.get_list(
CompDir, 'er_specimen_name') # get a list of the specimen names used
PmagSampRec['magic_method_codes'] = pmag.get_list(
CompDir, 'magic_method_codes') # get a list of the methods used
if nocrit != 1: # apply selection criteria
kill = pmag.grade(
PmagSampRec, accept, 'sample_dir')
else:
kill = []
if len(kill) == 0:
SampDirs.append(PmagSampRec)
if vgps == 1: # if sample level VGP info desired, do that now
PmagResRec = pmag.getsampVGP(
PmagSampRec, SiteNFO)
if PmagResRec != "":
PmagResults.append(PmagResRec)
# print(PmagSampRec)
PmagSamps.append(PmagSampRec)
if avg_all_components: # average all components together basically same as above
PmagSampRec = pmag.lnpbykey(
CoordDir, 'sample', 'specimen')
PmagSampRec["er_location_name"] = CoordDir[0]['er_location_name']
PmagSampRec["er_site_name"] = CoordDir[0]['er_site_name']
PmagSampRec["er_sample_name"] = samp
PmagSampRec["er_citation_names"] = "This study"
PmagSampRec["er_analyst_mail_names"] = user
PmagSampRec['magic_software_packages'] = version_num
if all(i['specimen_flag'] == 'g' for i in CoordDir):
PmagSampRec['sample_flag'] = 'g'
else:
PmagSampRec['sample_flag'] = 'b'
if nocrit != 1:
PmagSampRec['pmag_criteria_codes'] = ""
if agefile != "":
PmagSampRec = pmag.get_age(
PmagSampRec, "er_site_name", "sample_inferred_", AgeNFO, DefaultAge)
site_height = pmag.get_dictitem(
height_nfo, 'er_site_name', site, 'T')
if len(site_height) > 0:
# add in height if available
PmagSampRec["sample_height"] = site_height[0]['site_height']
PmagSampRec['sample_tilt_correction'] = coord
PmagSampRec['sample_comp_name'] = pmag.get_list(
CoordDir, 'specimen_comp_name') # get components used
PmagSampRec['er_specimen_names'] = pmag.get_list(
CoordDir, 'er_specimen_name') # get specimne names averaged
PmagSampRec['magic_method_codes'] = pmag.get_list(
CoordDir, 'magic_method_codes') # assemble method codes
if nocrit != 1: # apply selection criteria
kill = pmag.grade(
PmagSampRec, accept, 'sample_dir')
if len(kill) == 0: # passes the mustard
SampDirs.append(PmagSampRec)
if vgps == 1:
PmagResRec = pmag.getsampVGP(
PmagSampRec, SiteNFO)
if PmagResRec != "":
PmagResults.append(PmagResRec)
else: # take everything
SampDirs.append(PmagSampRec)
if vgps == 1:
PmagResRec = pmag.getsampVGP(
PmagSampRec, SiteNFO)
if PmagResRec != "":
PmagResults.append(PmagResRec)
PmagSamps.append(PmagSampRec)
if avg_intensities_by_sample: # average by sample if desired
# get all the intensity data for this sample
SampI = pmag.get_dictitem(SpecInts, 'er_sample_name', samp, 'T')
if len(SampI) > 0: # there are some
# get average intensity stuff
PmagSampRec = pmag.average_int(SampI, 'specimen', 'sample')
# decorate sample record
PmagSampRec["sample_description"] = "sample intensity"
PmagSampRec["sample_direction_type"] = ""
PmagSampRec['er_site_name'] = SampI[0]["er_site_name"]
PmagSampRec['er_sample_name'] = samp
PmagSampRec['er_location_name'] = SampI[0]["er_location_name"]
PmagSampRec["er_citation_names"] = "This study"
PmagSampRec["er_analyst_mail_names"] = user
if agefile != "":
PmagSampRec = pmag.get_age(
PmagSampRec, "er_site_name", "sample_inferred_", AgeNFO, DefaultAge)
site_height = pmag.get_dictitem(
height_nfo, 'er_site_name', PmagSampRec['er_site_name'], 'T')
if len(site_height) > 0:
# add in height if available
PmagSampRec["sample_height"] = site_height[0]['site_height']
PmagSampRec['er_specimen_names'] = pmag.get_list(
SampI, 'er_specimen_name')
PmagSampRec['magic_method_codes'] = pmag.get_list(
SampI, 'magic_method_codes')
if nocrit != 1: # apply criteria!
kill = pmag.grade(PmagSampRec, accept, 'sample_int')
if len(kill) == 0:
PmagSampRec['pmag_criteria_codes'] = "ACCEPT"
SampInts.append(PmagSampRec)
PmagSamps.append(PmagSampRec)
else:
PmagSampRec = {} # sample rejected
else: # no criteria
SampInts.append(PmagSampRec)
PmagSamps.append(PmagSampRec)
PmagSampRec['pmag_criteria_codes'] = ""
if vgps == 1 and get_model_lat != 0 and PmagSampRec != {}:
if get_model_lat == 1: # use sample latitude
PmagResRec = pmag.getsampVDM(PmagSampRec, SampNFO)
# get rid of the model lat key
del(PmagResRec['model_lat'])
elif get_model_lat == 2: # use model latitude
PmagResRec = pmag.getsampVDM(PmagSampRec, ModelLats)
if PmagResRec != {}:
PmagResRec['magic_method_codes'] = PmagResRec['magic_method_codes'] + ":IE-MLAT"
if PmagResRec != {}:
PmagResRec['er_specimen_names'] = PmagSampRec['er_specimen_names']
PmagResRec['er_sample_names'] = PmagSampRec['er_sample_name']
PmagResRec['pmag_criteria_codes'] = 'ACCEPT'
PmagResRec['average_int_sigma_perc'] = PmagSampRec['sample_int_sigma_perc']
PmagResRec['average_int_sigma'] = PmagSampRec['sample_int_sigma']
PmagResRec['average_int_n'] = PmagSampRec['sample_int_n']
PmagResRec['vadm_n'] = PmagSampRec['sample_int_n']
PmagResRec['data_type'] = 'i'
PmagResults.append(PmagResRec)
if len(PmagSamps) > 0:
# fill in missing keys from different types of records
TmpSamps, keylist = pmag.fillkeys(PmagSamps)
# save in sample output file
pmag.magic_write(sampout, TmpSamps, 'pmag_samples')
print(' sample averages written to ', sampout)
#
# create site averages from specimens or samples as specified
#
for site in sites:
for coord in coords:
if not avg_directions_by_sample:
key, dirlist = 'specimen', SpecDirs # if specimen averages at site level desired
if avg_directions_by_sample:
key, dirlist = 'sample', SampDirs # if sample averages at site level desired
# get all the sites with directions
tmp = pmag.get_dictitem(dirlist, 'er_site_name', site, 'T')
# use only the last coordinate if avg_all_components==False
tmp1 = pmag.get_dictitem(tmp, key + '_tilt_correction', coord, 'T')
# fish out site information (lat/lon, etc.)
sd = pmag.get_dictitem(SiteNFO, 'er_site_name', site, 'T')
if len(sd) > 0:
sitedat = sd[0]
if not avg_all_components: # do component wise averaging
for comp in Comps:
# get all components comp
siteD = pmag.get_dictitem(
tmp1, key + '_comp_name', comp, 'T')
# remove bad data from means
quality_siteD = []
# remove any records for which specimen_flag or sample_flag are 'b'
# assume 'g' if flag is not provided
for rec in siteD:
spec_quality = rec.get('specimen_flag', 'g')
samp_quality = rec.get('sample_flag', 'g')
if (spec_quality == 'g') and (samp_quality == 'g'):
quality_siteD.append(rec)
siteD = quality_siteD
if len(siteD) > 0: # there are some for this site and component name
# get an average for this site
PmagSiteRec = pmag.lnpbykey(siteD, 'site', key)
# decorate the site record
PmagSiteRec['site_comp_name'] = comp
PmagSiteRec["er_location_name"] = siteD[0]['er_location_name']
PmagSiteRec["er_site_name"] = siteD[0]['er_site_name']
PmagSiteRec['site_tilt_correction'] = coord
PmagSiteRec['site_comp_name'] = pmag.get_list(
siteD, key + '_comp_name')
if avg_directions_by_sample:
PmagSiteRec['er_sample_names'] = pmag.get_list(
siteD, 'er_sample_name')
else:
PmagSiteRec['er_specimen_names'] = pmag.get_list(
siteD, 'er_specimen_name')
# determine the demagnetization code (DC3,4 or 5) for this site
AFnum = len(pmag.get_dictitem(
siteD, 'magic_method_codes', 'LP-DIR-AF', 'has'))
Tnum = len(pmag.get_dictitem(
siteD, 'magic_method_codes', 'LP-DIR-T', 'has'))
DC = 3
if AFnum > 0:
DC += 1
if Tnum > 0:
DC += 1
PmagSiteRec['magic_method_codes'] = pmag.get_list(
siteD, 'magic_method_codes') + ':' + 'LP-DC' + str(DC)
PmagSiteRec['magic_method_codes'].strip(":")
if plotsites:
print(PmagSiteRec['er_site_name'])
# plot and list the data
pmagplotlib.plot_site(
EQ['eqarea'], PmagSiteRec, siteD, key)
pmagplotlib.draw_figs(EQ)
PmagSites.append(PmagSiteRec)
else: # last component only
# get the last orientation system specified
siteD = tmp1[:]
if len(siteD) > 0: # there are some
# get the average for this site
PmagSiteRec = pmag.lnpbykey(siteD, 'site', key)
# decorate the record
PmagSiteRec["er_location_name"] = siteD[0]['er_location_name']
PmagSiteRec["er_site_name"] = siteD[0]['er_site_name']
PmagSiteRec['site_comp_name'] = comp
PmagSiteRec['site_tilt_correction'] = coord
PmagSiteRec['site_comp_name'] = pmag.get_list(
siteD, key + '_comp_name')
PmagSiteRec['er_specimen_names'] = pmag.get_list(
siteD, 'er_specimen_name')
PmagSiteRec['er_sample_names'] = pmag.get_list(
siteD, 'er_sample_name')
AFnum = len(pmag.get_dictitem(
siteD, 'magic_method_codes', 'LP-DIR-AF', 'has'))
Tnum = len(pmag.get_dictitem(
siteD, 'magic_method_codes', 'LP-DIR-T', 'has'))
DC = 3
if AFnum > 0:
DC += 1
if Tnum > 0:
DC += 1
PmagSiteRec['magic_method_codes'] = pmag.get_list(
siteD, 'magic_method_codes') + ':' + 'LP-DC' + str(DC)
PmagSiteRec['magic_method_codes'].strip(":")
if not avg_directions_by_sample:
PmagSiteRec['site_comp_name'] = pmag.get_list(
siteD, key + '_comp_name')
if plotsites:
pmagplotlib.plot_site(
EQ['eqarea'], PmagSiteRec, siteD, key)
pmagplotlib.draw_figs(EQ)
PmagSites.append(PmagSiteRec)
else:
print('site information not found in er_sites for site, ',
site, ' site will be skipped')
for PmagSiteRec in PmagSites: # now decorate each dictionary some more, and calculate VGPs etc. for results table
PmagSiteRec["er_citation_names"] = "This study"
PmagSiteRec["er_analyst_mail_names"] = user
PmagSiteRec['magic_software_packages'] = version_num
if agefile != "":
PmagSiteRec = pmag.get_age(
PmagSiteRec, "er_site_name", "site_inferred_", AgeNFO, DefaultAge)
PmagSiteRec['pmag_criteria_codes'] = 'ACCEPT'
if 'site_n_lines' in list(PmagSiteRec.keys()) and 'site_n_planes' in list(PmagSiteRec.keys()) and PmagSiteRec['site_n_lines'] != "" and PmagSiteRec['site_n_planes'] != "":
if int(PmagSiteRec["site_n_planes"]) > 0:
PmagSiteRec["magic_method_codes"] = PmagSiteRec['magic_method_codes'] + ":DE-FM-LP"
elif int(PmagSiteRec["site_n_lines"]) > 2:
PmagSiteRec["magic_method_codes"] = PmagSiteRec['magic_method_codes'] + ":DE-FM"
kill = pmag.grade(PmagSiteRec, accept, 'site_dir')
if len(kill) == 0:
PmagResRec = {} # set up dictionary for the pmag_results table entry
PmagResRec['data_type'] = 'i' # decorate it a bit
PmagResRec['magic_software_packages'] = version_num
PmagSiteRec['site_description'] = 'Site direction included in results table'
PmagResRec['pmag_criteria_codes'] = 'ACCEPT'
dec = float(PmagSiteRec["site_dec"])
inc = float(PmagSiteRec["site_inc"])
if 'site_alpha95' in list(PmagSiteRec.keys()) and PmagSiteRec['site_alpha95'] != "":
a95 = float(PmagSiteRec["site_alpha95"])
else:
a95 = 180.
sitedat = pmag.get_dictitem(SiteNFO, 'er_site_name', PmagSiteRec['er_site_name'], 'T')[
0] # fish out site information (lat/lon, etc.)
lat = float(sitedat['site_lat'])
lon = float(sitedat['site_lon'])
plon, plat, dp, dm = pmag.dia_vgp(
dec, inc, a95, lat, lon) # get the VGP for this site
if PmagSiteRec['site_tilt_correction'] == '-1':
C = ' (spec coord) '
if PmagSiteRec['site_tilt_correction'] == '0':
C = ' (geog. coord) '
if PmagSiteRec['site_tilt_correction'] == '100':
C = ' (strat. coord) '
PmagResRec["pmag_result_name"] = "VGP Site: " + \
PmagSiteRec["er_site_name"] # decorate some more
PmagResRec["result_description"] = "Site VGP, coord system = " + \
str(coord) + ' component: ' + comp
PmagResRec['er_site_names'] = PmagSiteRec['er_site_name']
PmagResRec['pmag_criteria_codes'] = 'ACCEPT'
PmagResRec['er_citation_names'] = 'This study'
PmagResRec['er_analyst_mail_names'] = user
PmagResRec["er_location_names"] = PmagSiteRec["er_location_name"]
if avg_directions_by_sample:
PmagResRec["er_sample_names"] = PmagSiteRec["er_sample_names"]
else:
PmagResRec["er_specimen_names"] = PmagSiteRec["er_specimen_names"]
PmagResRec["tilt_correction"] = PmagSiteRec['site_tilt_correction']
PmagResRec["pole_comp_name"] = PmagSiteRec['site_comp_name']
PmagResRec["average_dec"] = PmagSiteRec["site_dec"]
PmagResRec["average_inc"] = PmagSiteRec["site_inc"]
PmagResRec["average_alpha95"] = PmagSiteRec["site_alpha95"]
PmagResRec["average_n"] = PmagSiteRec["site_n"]
PmagResRec["average_n_lines"] = PmagSiteRec["site_n_lines"]
PmagResRec["average_n_planes"] = PmagSiteRec["site_n_planes"]
PmagResRec["vgp_n"] = PmagSiteRec["site_n"]
PmagResRec["average_k"] = PmagSiteRec["site_k"]
PmagResRec["average_r"] = PmagSiteRec["site_r"]
PmagResRec["average_lat"] = '%10.4f ' % (lat)
PmagResRec["average_lon"] = '%10.4f ' % (lon)
if agefile != "":
PmagResRec = pmag.get_age(
PmagResRec, "er_site_names", "average_", AgeNFO, DefaultAge)
site_height = pmag.get_dictitem(
height_nfo, 'er_site_name', site, 'T')
if len(site_height) > 0:
PmagResRec["average_height"] = site_height[0]['site_height']
PmagResRec["vgp_lat"] = '%7.1f ' % (plat)
PmagResRec["vgp_lon"] = '%7.1f ' % (plon)
PmagResRec["vgp_dp"] = '%7.1f ' % (dp)
PmagResRec["vgp_dm"] = '%7.1f ' % (dm)
PmagResRec["magic_method_codes"] = PmagSiteRec["magic_method_codes"]
if '0' in PmagSiteRec['site_tilt_correction'] and "DA-DIR-GEO" not in PmagSiteRec['magic_method_codes']:
PmagSiteRec['magic_method_codes'] = PmagSiteRec['magic_method_codes'] + ":DA-DIR-GEO"
if '100' in PmagSiteRec['site_tilt_correction'] and "DA-DIR-TILT" not in PmagSiteRec['magic_method_codes']:
PmagSiteRec['magic_method_codes'] = PmagSiteRec['magic_method_codes'] + ":DA-DIR-TILT"
PmagSiteRec['site_polarity'] = ""
if avg_by_polarity: # assign polarity based on angle of pole lat to spin axis - may want to re-think this sometime
angle = pmag.angle([0, 0], [0, (90 - plat)])
if angle <= 55.:
PmagSiteRec["site_polarity"] = 'n'
if angle > 55. and angle < 125.:
PmagSiteRec["site_polarity"] = 't'
if angle >= 125.:
PmagSiteRec["site_polarity"] = 'r'
PmagResults.append(PmagResRec)
if avg_by_polarity:
# find the tilt corrected data
crecs = pmag.get_dictitem(
PmagSites, 'site_tilt_correction', '100', 'T')
if len(crecs) < 2:
# if there aren't any, find the geographic corrected data
crecs = pmag.get_dictitem(
PmagSites, 'site_tilt_correction', '0', 'T')
if len(crecs) > 2: # if there are some,
comp = pmag.get_list(crecs, 'site_comp_name').split(':')[
0] # find the first component
# fish out all of the first component
crecs = pmag.get_dictitem(crecs, 'site_comp_name', comp, 'T')
precs = []
for rec in crecs:
precs.append({'dec': rec['site_dec'], 'inc': rec['site_inc'],
'name': rec['er_site_name'], 'loc': rec['er_location_name']})
# calculate average by polarity
polpars = pmag.fisher_by_pol(precs)
# hunt through all the modes (normal=A, reverse=B, all=ALL)
for mode in list(polpars.keys()):
PolRes = {}
PolRes['er_citation_names'] = 'This study'
PolRes["pmag_result_name"] = "Polarity Average: Polarity " + mode
PolRes["data_type"] = "a"
PolRes["average_dec"] = '%7.1f' % (polpars[mode]['dec'])
PolRes["average_inc"] = '%7.1f' % (polpars[mode]['inc'])
PolRes["average_n"] = '%i' % (polpars[mode]['n'])
PolRes["average_r"] = '%5.4f' % (polpars[mode]['r'])
PolRes["average_k"] = '%6.0f' % (polpars[mode]['k'])
PolRes["average_alpha95"] = '%7.1f' % (
polpars[mode]['alpha95'])
PolRes['er_site_names'] = polpars[mode]['sites']
PolRes['er_location_names'] = polpars[mode]['locs']
PolRes['magic_software_packages'] = version_num
PmagResults.append(PolRes)
if not skip_intensities and nositeints != 1:
for site in sites: # now do intensities for each site
if plotsites:
print(site)
if not avg_intensities_by_sample:
key, intlist = 'specimen', SpecInts # if using specimen level data
if avg_intensities_by_sample:
key, intlist = 'sample', PmagSamps # if using sample level data
# get all the intensities for this site
Ints = pmag.get_dictitem(intlist, 'er_site_name', site, 'T')
if len(Ints) > 0: # there are some
# get average intensity stuff for site table
PmagSiteRec = pmag.average_int(Ints, key, 'site')
# get average intensity stuff for results table
PmagResRec = pmag.average_int(Ints, key, 'average')
if plotsites: # if site by site examination requested - print this site out to the screen
for rec in Ints:
print(rec['er_' + key + '_name'], ' %7.1f' %
(1e6 * float(rec[key + '_int'])))
if len(Ints) > 1:
print('Average: ', '%7.1f' % (
1e6 * float(PmagResRec['average_int'])), 'N: ', len(Ints))
print('Sigma: ', '%7.1f' % (
1e6 * float(PmagResRec['average_int_sigma'])), 'Sigma %: ', PmagResRec['average_int_sigma_perc'])
input('Press any key to continue\n')
er_location_name = Ints[0]["er_location_name"]
# decorate the records
PmagSiteRec["er_location_name"] = er_location_name
PmagSiteRec["er_citation_names"] = "This study"
PmagResRec["er_location_names"] = er_location_name
PmagResRec["er_citation_names"] = "This study"
PmagSiteRec["er_analyst_mail_names"] = user
PmagResRec["er_analyst_mail_names"] = user
PmagResRec["data_type"] = 'i'
if not avg_intensities_by_sample:
PmagSiteRec['er_specimen_names'] = pmag.get_list(
Ints, 'er_specimen_name') # list of all specimens used
PmagResRec['er_specimen_names'] = pmag.get_list(
Ints, 'er_specimen_name')
PmagSiteRec['er_sample_names'] = pmag.get_list(
Ints, 'er_sample_name') # list of all samples used
PmagResRec['er_sample_names'] = pmag.get_list(
Ints, 'er_sample_name')
PmagSiteRec['er_site_name'] = site
PmagResRec['er_site_names'] = site
PmagSiteRec['magic_method_codes'] = pmag.get_list(
Ints, 'magic_method_codes')
PmagResRec['magic_method_codes'] = pmag.get_list(
Ints, 'magic_method_codes')
kill = pmag.grade(PmagSiteRec, accept, 'site_int')
if nocrit == 1 or len(kill) == 0:
b, sig = float(PmagResRec['average_int']), ""
if(PmagResRec['average_int_sigma']) != "":
sig = float(PmagResRec['average_int_sigma'])
# fish out site direction
sdir = pmag.get_dictitem(
PmagResults, 'er_site_names', site, 'T')
# get the VDM for this record using last average
# inclination (hope it is the right one!)
if len(sdir) > 0 and sdir[-1]['average_inc'] != "":
inc = float(sdir[0]['average_inc'])
# get magnetic latitude using dipole formula
mlat = pmag.magnetic_lat(inc)
# get VDM with magnetic latitude
PmagResRec["vdm"] = '%8.3e ' % (pmag.b_vdm(b, mlat))
PmagResRec["vdm_n"] = PmagResRec['average_int_n']
if 'average_int_sigma' in list(PmagResRec.keys()) and PmagResRec['average_int_sigma'] != "":
vdm_sig = pmag.b_vdm(
float(PmagResRec['average_int_sigma']), mlat)
PmagResRec["vdm_sigma"] = '%8.3e ' % (vdm_sig)
else:
PmagResRec["vdm_sigma"] = ""
mlat = "" # define a model latitude
if get_model_lat == 1: # use present site latitude
mlats = pmag.get_dictitem(
SiteNFO, 'er_site_name', site, 'T')
if len(mlats) > 0:
mlat = mlats[0]['site_lat']
# use a model latitude from some plate reconstruction model
# (or something)
elif get_model_lat == 2:
mlats = pmag.get_dictitem(
ModelLats, 'er_site_name', site, 'T')
if len(mlats) > 0:
PmagResRec['model_lat'] = mlats[0]['site_model_lat']
mlat = PmagResRec['model_lat']
if mlat != "":
# get the VADM using the desired latitude
PmagResRec["vadm"] = '%8.3e ' % (
pmag.b_vdm(b, float(mlat)))
if sig != "":
vdm_sig = pmag.b_vdm(
float(PmagResRec['average_int_sigma']), float(mlat))
PmagResRec["vadm_sigma"] = '%8.3e ' % (vdm_sig)
PmagResRec["vadm_n"] = PmagResRec['average_int_n']
else:
PmagResRec["vadm_sigma"] = ""
# fish out site information (lat/lon, etc.)
sitedat = pmag.get_dictitem(
SiteNFO, 'er_site_name', PmagSiteRec['er_site_name'], 'T')
if len(sitedat) > 0:
sitedat = sitedat[0]
PmagResRec['average_lat'] = sitedat['site_lat']
PmagResRec['average_lon'] = sitedat['site_lon']
else:
PmagResRec['average_lon'] = 'UNKNOWN'
PmagResRec['average_lon'] = 'UNKNOWN'
PmagResRec['magic_software_packages'] = version_num
PmagResRec["pmag_result_name"] = "V[A]DM: Site " + site
PmagResRec["result_description"] = "V[A]DM of site"
PmagResRec["pmag_criteria_codes"] = "ACCEPT"
if agefile != "":
PmagResRec = pmag.get_age(
PmagResRec, "er_site_names", "average_", AgeNFO, DefaultAge)
site_height = pmag.get_dictitem(
height_nfo, 'er_site_name', site, 'T')
if len(site_height) > 0:
PmagResRec["average_height"] = site_height[0]['site_height']
PmagSites.append(PmagSiteRec)
PmagResults.append(PmagResRec)
if len(PmagSites) > 0:
Tmp, keylist = pmag.fillkeys(PmagSites)
pmag.magic_write(siteout, Tmp, 'pmag_sites')
print(' sites written to ', siteout)
else:
print("No Site level table")
if len(PmagResults) > 0:
TmpRes, keylist = pmag.fillkeys(PmagResults)
pmag.magic_write(resout, TmpRes, 'pmag_results')
print(' results written to ', resout)
else:
print("No Results level table")
|
[
"def",
"specimens_results_magic",
"(",
"infile",
"=",
"'pmag_specimens.txt'",
",",
"measfile",
"=",
"'magic_measurements.txt'",
",",
"sampfile",
"=",
"'er_samples.txt'",
",",
"sitefile",
"=",
"'er_sites.txt'",
",",
"agefile",
"=",
"'er_ages.txt'",
",",
"specout",
"=",
"'er_specimens.txt'",
",",
"sampout",
"=",
"'pmag_samples.txt'",
",",
"siteout",
"=",
"'pmag_sites.txt'",
",",
"resout",
"=",
"'pmag_results.txt'",
",",
"critout",
"=",
"'pmag_criteria.txt'",
",",
"instout",
"=",
"'magic_instruments.txt'",
",",
"plotsites",
"=",
"False",
",",
"fmt",
"=",
"'svg'",
",",
"dir_path",
"=",
"'.'",
",",
"cors",
"=",
"[",
"]",
",",
"priorities",
"=",
"[",
"'DA-AC-ARM'",
",",
"'DA-AC-TRM'",
"]",
",",
"coord",
"=",
"'g'",
",",
"user",
"=",
"''",
",",
"vgps_level",
"=",
"'site'",
",",
"do_site_intensity",
"=",
"True",
",",
"DefaultAge",
"=",
"[",
"\"none\"",
"]",
",",
"avg_directions_by_sample",
"=",
"False",
",",
"avg_intensities_by_sample",
"=",
"False",
",",
"avg_all_components",
"=",
"False",
",",
"avg_by_polarity",
"=",
"False",
",",
"skip_directions",
"=",
"False",
",",
"skip_intensities",
"=",
"False",
",",
"use_sample_latitude",
"=",
"False",
",",
"use_paleolatitude",
"=",
"False",
",",
"use_criteria",
"=",
"'default'",
")",
":",
"# initialize some variables",
"plotsites",
"=",
"False",
"# cannot use draw_figs from within ipmag",
"Comps",
"=",
"[",
"]",
"# list of components",
"version_num",
"=",
"pmag",
".",
"get_version",
"(",
")",
"args",
"=",
"sys",
".",
"argv",
"model_lat_file",
"=",
"\"\"",
"Dcrit",
",",
"Icrit",
",",
"nocrit",
"=",
"0",
",",
"0",
",",
"0",
"corrections",
"=",
"[",
"]",
"nocorrection",
"=",
"[",
"'DA-NL'",
",",
"'DA-AC'",
",",
"'DA-CR'",
"]",
"# do some data adjustments",
"for",
"cor",
"in",
"cors",
":",
"nocorrection",
".",
"remove",
"(",
"'DA-'",
"+",
"cor",
")",
"corrections",
".",
"append",
"(",
"'DA-'",
"+",
"cor",
")",
"for",
"p",
"in",
"priorities",
":",
"if",
"not",
"p",
".",
"startswith",
"(",
"'DA-AC-'",
")",
":",
"p",
"=",
"'DA-AC-'",
"+",
"p",
"# translate coord into coords",
"if",
"coord",
"==",
"'s'",
":",
"coords",
"=",
"[",
"'-1'",
"]",
"if",
"coord",
"==",
"'g'",
":",
"coords",
"=",
"[",
"'0'",
"]",
"if",
"coord",
"==",
"'t'",
":",
"coords",
"=",
"[",
"'100'",
"]",
"if",
"coord",
"==",
"'b'",
":",
"coords",
"=",
"[",
"'0'",
",",
"'100'",
"]",
"if",
"vgps_level",
"==",
"'sample'",
":",
"vgps",
"=",
"1",
"# save sample level VGPS/VADMs",
"else",
":",
"vgps",
"=",
"0",
"# site level",
"if",
"do_site_intensity",
":",
"nositeints",
"=",
"0",
"else",
":",
"nositeints",
"=",
"1",
"# chagne these all to True/False instead of 1/0",
"if",
"not",
"skip_intensities",
":",
"# set model lat and",
"if",
"use_sample_latitude",
"and",
"use_paleolatitude",
":",
"print",
"(",
"\"you should set a paleolatitude file OR use present day lat - not both\"",
")",
"return",
"False",
"elif",
"use_sample_latitude",
":",
"get_model_lat",
"=",
"1",
"elif",
"use_paleolatitude",
":",
"get_model_lat",
"=",
"2",
"try",
":",
"model_lat_file",
"=",
"dir_path",
"+",
"'/'",
"+",
"args",
"[",
"ind",
"+",
"1",
"]",
"get_model_lat",
"=",
"2",
"mlat",
"=",
"open",
"(",
"model_lat_file",
",",
"'r'",
")",
"ModelLats",
"=",
"[",
"]",
"for",
"line",
"in",
"mlat",
".",
"readlines",
"(",
")",
":",
"ModelLat",
"=",
"{",
"}",
"tmp",
"=",
"line",
".",
"split",
"(",
")",
"ModelLat",
"[",
"\"er_site_name\"",
"]",
"=",
"tmp",
"[",
"0",
"]",
"ModelLat",
"[",
"\"site_model_lat\"",
"]",
"=",
"tmp",
"[",
"1",
"]",
"ModelLat",
"[",
"\"er_sample_name\"",
"]",
"=",
"tmp",
"[",
"0",
"]",
"ModelLat",
"[",
"\"sample_lat\"",
"]",
"=",
"tmp",
"[",
"1",
"]",
"ModelLats",
".",
"append",
"(",
"ModelLat",
")",
"mlat",
".",
"clos",
"(",
")",
"except",
":",
"print",
"(",
"\"use_paleolatitude option requires a valid paleolatitude file\"",
")",
"else",
":",
"get_model_lat",
"=",
"0",
"# skips VADM calculation entirely",
"if",
"plotsites",
"and",
"not",
"skip_directions",
":",
"# plot by site - set up plot window",
"EQ",
"=",
"{",
"}",
"EQ",
"[",
"'eqarea'",
"]",
"=",
"1",
"# define figure 1 as equal area projection",
"pmagplotlib",
".",
"plot_init",
"(",
"EQ",
"[",
"'eqarea'",
"]",
",",
"5",
",",
"5",
")",
"# I don't know why this has to be here, but otherwise the first plot",
"# never plots...",
"pmagplotlib",
".",
"plot_net",
"(",
"EQ",
"[",
"'eqarea'",
"]",
")",
"pmagplotlib",
".",
"draw_figs",
"(",
"EQ",
")",
"infile",
"=",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"infile",
")",
"measfile",
"=",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"measfile",
")",
"instout",
"=",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"instout",
")",
"sampfile",
"=",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"sampfile",
")",
"sitefile",
"=",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"sitefile",
")",
"agefile",
"=",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"agefile",
")",
"specout",
"=",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"specout",
")",
"sampout",
"=",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"sampout",
")",
"siteout",
"=",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"siteout",
")",
"resout",
"=",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"resout",
")",
"critout",
"=",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"critout",
")",
"if",
"use_criteria",
"==",
"'none'",
":",
"Dcrit",
",",
"Icrit",
",",
"nocrit",
"=",
"1",
",",
"1",
",",
"1",
"# no selection criteria",
"crit_data",
"=",
"pmag",
".",
"default_criteria",
"(",
"nocrit",
")",
"elif",
"use_criteria",
"==",
"'default'",
":",
"crit_data",
"=",
"pmag",
".",
"default_criteria",
"(",
"nocrit",
")",
"# use default criteria",
"elif",
"use_criteria",
"==",
"'existing'",
":",
"crit_data",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"critout",
")",
"# use pmag_criteria file",
"print",
"(",
"\"Acceptance criteria read in from \"",
",",
"critout",
")",
"accept",
"=",
"{",
"}",
"for",
"critrec",
"in",
"crit_data",
":",
"for",
"key",
"in",
"list",
"(",
"critrec",
".",
"keys",
"(",
")",
")",
":",
"# need to migrate specimen_dang to specimen_int_dang for intensity",
"# data using old format",
"if",
"'IE-SPEC'",
"in",
"list",
"(",
"critrec",
".",
"keys",
"(",
")",
")",
"and",
"'specimen_dang'",
"in",
"list",
"(",
"critrec",
".",
"keys",
"(",
")",
")",
"and",
"'specimen_int_dang'",
"not",
"in",
"list",
"(",
"critrec",
".",
"keys",
"(",
")",
")",
":",
"critrec",
"[",
"'specimen_int_dang'",
"]",
"=",
"critrec",
"[",
"'specimen_dang'",
"]",
"del",
"critrec",
"[",
"'specimen_dang'",
"]",
"# need to get rid of ron shaars sample_int_sigma_uT",
"if",
"'sample_int_sigma_uT'",
"in",
"list",
"(",
"critrec",
".",
"keys",
"(",
")",
")",
":",
"critrec",
"[",
"'sample_int_sigma'",
"]",
"=",
"'%10.3e'",
"%",
"(",
"eval",
"(",
"critrec",
"[",
"'sample_int_sigma_uT'",
"]",
")",
"*",
"1e-6",
")",
"if",
"key",
"not",
"in",
"list",
"(",
"accept",
".",
"keys",
"(",
")",
")",
"and",
"critrec",
"[",
"key",
"]",
"!=",
"''",
":",
"accept",
"[",
"key",
"]",
"=",
"critrec",
"[",
"key",
"]",
"if",
"use_criteria",
"==",
"'default'",
":",
"pmag",
".",
"magic_write",
"(",
"critout",
",",
"[",
"accept",
"]",
",",
"'pmag_criteria'",
")",
"print",
"(",
"\"\\n Pmag Criteria stored in \"",
",",
"critout",
",",
"'\\n'",
")",
"# now we're done slow dancing",
"# read in site data - has the lats and lons",
"SiteNFO",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"sitefile",
")",
"# read in site data - has the lats and lons",
"SampNFO",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"sampfile",
")",
"# find all the sites with height info.",
"height_nfo",
"=",
"pmag",
".",
"get_dictitem",
"(",
"SiteNFO",
",",
"'site_height'",
",",
"''",
",",
"'F'",
")",
"if",
"agefile",
":",
"AgeNFO",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"agefile",
")",
"# read in the age information",
"# read in specimen interpretations",
"Data",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"infile",
")",
"# retrieve specimens with intensity data",
"IntData",
"=",
"pmag",
".",
"get_dictitem",
"(",
"Data",
",",
"'specimen_int'",
",",
"''",
",",
"'F'",
")",
"comment",
",",
"orient",
"=",
"\"\"",
",",
"[",
"]",
"samples",
",",
"sites",
"=",
"[",
"]",
",",
"[",
"]",
"for",
"rec",
"in",
"Data",
":",
"# run through the data filling in missing keys and finding all components, coordinates available",
"# fill in missing fields, collect unique sample and site names",
"if",
"'er_sample_name'",
"not",
"in",
"list",
"(",
"rec",
".",
"keys",
"(",
")",
")",
":",
"rec",
"[",
"'er_sample_name'",
"]",
"=",
"\"\"",
"elif",
"rec",
"[",
"'er_sample_name'",
"]",
"not",
"in",
"samples",
":",
"samples",
".",
"append",
"(",
"rec",
"[",
"'er_sample_name'",
"]",
")",
"if",
"'er_site_name'",
"not",
"in",
"list",
"(",
"rec",
".",
"keys",
"(",
")",
")",
":",
"rec",
"[",
"'er_site_name'",
"]",
"=",
"\"\"",
"elif",
"rec",
"[",
"'er_site_name'",
"]",
"not",
"in",
"sites",
":",
"sites",
".",
"append",
"(",
"rec",
"[",
"'er_site_name'",
"]",
")",
"if",
"'specimen_int'",
"not",
"in",
"list",
"(",
"rec",
".",
"keys",
"(",
")",
")",
":",
"rec",
"[",
"'specimen_int'",
"]",
"=",
"''",
"if",
"'specimen_comp_name'",
"not",
"in",
"list",
"(",
"rec",
".",
"keys",
"(",
")",
")",
"or",
"rec",
"[",
"'specimen_comp_name'",
"]",
"==",
"\"\"",
":",
"rec",
"[",
"'specimen_comp_name'",
"]",
"=",
"'A'",
"if",
"rec",
"[",
"'specimen_comp_name'",
"]",
"not",
"in",
"Comps",
":",
"Comps",
".",
"append",
"(",
"rec",
"[",
"'specimen_comp_name'",
"]",
")",
"rec",
"[",
"'specimen_tilt_correction'",
"]",
"=",
"rec",
"[",
"'specimen_tilt_correction'",
"]",
".",
"strip",
"(",
"'\\n'",
")",
"if",
"\"specimen_tilt_correction\"",
"not",
"in",
"list",
"(",
"rec",
".",
"keys",
"(",
")",
")",
":",
"rec",
"[",
"\"specimen_tilt_correction\"",
"]",
"=",
"\"-1\"",
"# assume sample coordinates",
"if",
"rec",
"[",
"\"specimen_tilt_correction\"",
"]",
"not",
"in",
"orient",
":",
"# collect available coordinate systems",
"orient",
".",
"append",
"(",
"rec",
"[",
"\"specimen_tilt_correction\"",
"]",
")",
"if",
"\"specimen_direction_type\"",
"not",
"in",
"list",
"(",
"rec",
".",
"keys",
"(",
")",
")",
":",
"# assume direction is line - not plane",
"rec",
"[",
"\"specimen_direction_type\"",
"]",
"=",
"'l'",
"if",
"\"specimen_dec\"",
"not",
"in",
"list",
"(",
"rec",
".",
"keys",
"(",
")",
")",
":",
"# if no declination, set direction type to blank",
"rec",
"[",
"\"specimen_direction_type\"",
"]",
"=",
"''",
"if",
"\"specimen_n\"",
"not",
"in",
"list",
"(",
"rec",
".",
"keys",
"(",
")",
")",
":",
"rec",
"[",
"\"specimen_n\"",
"]",
"=",
"''",
"# put in n",
"if",
"\"specimen_alpha95\"",
"not",
"in",
"list",
"(",
"rec",
".",
"keys",
"(",
")",
")",
":",
"rec",
"[",
"\"specimen_alpha95\"",
"]",
"=",
"''",
"# put in alpha95",
"if",
"\"magic_method_codes\"",
"not",
"in",
"list",
"(",
"rec",
".",
"keys",
"(",
")",
")",
":",
"rec",
"[",
"\"magic_method_codes\"",
"]",
"=",
"''",
"# start parsing data into SpecDirs, SpecPlanes, SpecInts",
"SpecInts",
",",
"SpecDirs",
",",
"SpecPlanes",
"=",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
"samples",
".",
"sort",
"(",
")",
"# get sorted list of samples and sites",
"sites",
".",
"sort",
"(",
")",
"if",
"not",
"skip_intensities",
":",
"# don't skip intensities",
"# retrieve specimens with intensity data",
"IntData",
"=",
"pmag",
".",
"get_dictitem",
"(",
"Data",
",",
"'specimen_int'",
",",
"''",
",",
"'F'",
")",
"if",
"nocrit",
"==",
"0",
":",
"# use selection criteria",
"for",
"rec",
"in",
"IntData",
":",
"# do selection criteria",
"kill",
"=",
"pmag",
".",
"grade",
"(",
"rec",
",",
"accept",
",",
"'specimen_int'",
")",
"if",
"len",
"(",
"kill",
")",
"==",
"0",
":",
"# intensity record to be included in sample, site",
"# calculations",
"SpecInts",
".",
"append",
"(",
"rec",
")",
"else",
":",
"SpecInts",
"=",
"IntData",
"[",
":",
"]",
"# take everything - no selection criteria",
"# check for required data adjustments",
"if",
"len",
"(",
"corrections",
")",
">",
"0",
"and",
"len",
"(",
"SpecInts",
")",
">",
"0",
":",
"for",
"cor",
"in",
"corrections",
":",
"# only take specimens with the required corrections",
"SpecInts",
"=",
"pmag",
".",
"get_dictitem",
"(",
"SpecInts",
",",
"'magic_method_codes'",
",",
"cor",
",",
"'has'",
")",
"if",
"len",
"(",
"nocorrection",
")",
">",
"0",
"and",
"len",
"(",
"SpecInts",
")",
">",
"0",
":",
"for",
"cor",
"in",
"nocorrection",
":",
"# exclude the corrections not specified for inclusion",
"SpecInts",
"=",
"pmag",
".",
"get_dictitem",
"(",
"SpecInts",
",",
"'magic_method_codes'",
",",
"cor",
",",
"'not'",
")",
"# take top priority specimen of its name in remaining specimens (only one",
"# per customer)",
"PrioritySpecInts",
"=",
"[",
"]",
"specimens",
"=",
"pmag",
".",
"get_specs",
"(",
"SpecInts",
")",
"# get list of uniq specimen names",
"for",
"spec",
"in",
"specimens",
":",
"# all the records for this specimen",
"ThisSpecRecs",
"=",
"pmag",
".",
"get_dictitem",
"(",
"SpecInts",
",",
"'er_specimen_name'",
",",
"spec",
",",
"'T'",
")",
"if",
"len",
"(",
"ThisSpecRecs",
")",
"==",
"1",
":",
"PrioritySpecInts",
".",
"append",
"(",
"ThisSpecRecs",
"[",
"0",
"]",
")",
"elif",
"len",
"(",
"ThisSpecRecs",
")",
">",
"1",
":",
"# more than one",
"prec",
"=",
"[",
"]",
"for",
"p",
"in",
"priorities",
":",
"# all the records for this specimen",
"ThisSpecRecs",
"=",
"pmag",
".",
"get_dictitem",
"(",
"SpecInts",
",",
"'magic_method_codes'",
",",
"p",
",",
"'has'",
")",
"if",
"len",
"(",
"ThisSpecRecs",
")",
">",
"0",
":",
"prec",
".",
"append",
"(",
"ThisSpecRecs",
"[",
"0",
"]",
")",
"PrioritySpecInts",
".",
"append",
"(",
"prec",
"[",
"0",
"]",
")",
"# take the best one",
"SpecInts",
"=",
"PrioritySpecInts",
"# this has the first specimen record",
"if",
"not",
"skip_directions",
":",
"# don't skip directions",
"# retrieve specimens with directed lines and planes",
"AllDirs",
"=",
"pmag",
".",
"get_dictitem",
"(",
"Data",
",",
"'specimen_direction_type'",
",",
"''",
",",
"'F'",
")",
"# get all specimens with specimen_n information",
"Ns",
"=",
"pmag",
".",
"get_dictitem",
"(",
"AllDirs",
",",
"'specimen_n'",
",",
"''",
",",
"'F'",
")",
"if",
"nocrit",
"!=",
"1",
":",
"# use selection criteria",
"for",
"rec",
"in",
"Ns",
":",
"# look through everything with specimen_n for \"good\" data",
"kill",
"=",
"pmag",
".",
"grade",
"(",
"rec",
",",
"accept",
",",
"'specimen_dir'",
")",
"if",
"len",
"(",
"kill",
")",
"==",
"0",
":",
"# nothing killed it",
"SpecDirs",
".",
"append",
"(",
"rec",
")",
"else",
":",
"# no criteria",
"SpecDirs",
"=",
"AllDirs",
"[",
":",
"]",
"# take them all",
"# SpecDirs is now the list of all specimen directions (lines and planes)",
"# that pass muster",
"# list of all sample data and list of those that pass the DE-SAMP criteria",
"PmagSamps",
",",
"SampDirs",
"=",
"[",
"]",
",",
"[",
"]",
"PmagSites",
",",
"PmagResults",
"=",
"[",
"]",
",",
"[",
"]",
"# list of all site data and selected results",
"SampInts",
"=",
"[",
"]",
"for",
"samp",
"in",
"samples",
":",
"# run through the sample names",
"if",
"avg_directions_by_sample",
":",
"# average by sample if desired",
"# get all the directional data for this sample",
"SampDir",
"=",
"pmag",
".",
"get_dictitem",
"(",
"SpecDirs",
",",
"'er_sample_name'",
",",
"samp",
",",
"'T'",
")",
"if",
"len",
"(",
"SampDir",
")",
">",
"0",
":",
"# there are some directions",
"for",
"coord",
"in",
"coords",
":",
"# step through desired coordinate systems",
"# get all the directions for this sample",
"CoordDir",
"=",
"pmag",
".",
"get_dictitem",
"(",
"SampDir",
",",
"'specimen_tilt_correction'",
",",
"coord",
",",
"'T'",
")",
"if",
"len",
"(",
"CoordDir",
")",
">",
"0",
":",
"# there are some with this coordinate system",
"if",
"not",
"avg_all_components",
":",
"# look component by component",
"for",
"comp",
"in",
"Comps",
":",
"# get all directions from this component",
"CompDir",
"=",
"pmag",
".",
"get_dictitem",
"(",
"CoordDir",
",",
"'specimen_comp_name'",
",",
"comp",
",",
"'T'",
")",
"if",
"len",
"(",
"CompDir",
")",
">",
"0",
":",
"# there are some",
"# get a sample average from all specimens",
"PmagSampRec",
"=",
"pmag",
".",
"lnpbykey",
"(",
"CompDir",
",",
"'sample'",
",",
"'specimen'",
")",
"# decorate the sample record",
"PmagSampRec",
"[",
"\"er_location_name\"",
"]",
"=",
"CompDir",
"[",
"0",
"]",
"[",
"'er_location_name'",
"]",
"PmagSampRec",
"[",
"\"er_site_name\"",
"]",
"=",
"CompDir",
"[",
"0",
"]",
"[",
"'er_site_name'",
"]",
"PmagSampRec",
"[",
"\"er_sample_name\"",
"]",
"=",
"samp",
"PmagSampRec",
"[",
"\"er_citation_names\"",
"]",
"=",
"\"This study\"",
"PmagSampRec",
"[",
"\"er_analyst_mail_names\"",
"]",
"=",
"user",
"PmagSampRec",
"[",
"'magic_software_packages'",
"]",
"=",
"version_num",
"if",
"CompDir",
"[",
"0",
"]",
"[",
"'specimen_flag'",
"]",
"==",
"'g'",
":",
"PmagSampRec",
"[",
"'sample_flag'",
"]",
"=",
"'g'",
"else",
":",
"PmagSampRec",
"[",
"'sample_flag'",
"]",
"=",
"'b'",
"if",
"nocrit",
"!=",
"1",
":",
"PmagSampRec",
"[",
"'pmag_criteria_codes'",
"]",
"=",
"\"ACCEPT\"",
"if",
"agefile",
"!=",
"\"\"",
":",
"PmagSampRec",
"=",
"pmag",
".",
"get_age",
"(",
"PmagSampRec",
",",
"\"er_site_name\"",
",",
"\"sample_inferred_\"",
",",
"AgeNFO",
",",
"DefaultAge",
")",
"site_height",
"=",
"pmag",
".",
"get_dictitem",
"(",
"height_nfo",
",",
"'er_site_name'",
",",
"PmagSampRec",
"[",
"'er_site_name'",
"]",
",",
"'T'",
")",
"if",
"len",
"(",
"site_height",
")",
">",
"0",
":",
"# add in height if available",
"PmagSampRec",
"[",
"\"sample_height\"",
"]",
"=",
"site_height",
"[",
"0",
"]",
"[",
"'site_height'",
"]",
"PmagSampRec",
"[",
"'sample_comp_name'",
"]",
"=",
"comp",
"PmagSampRec",
"[",
"'sample_tilt_correction'",
"]",
"=",
"coord",
"PmagSampRec",
"[",
"'er_specimen_names'",
"]",
"=",
"pmag",
".",
"get_list",
"(",
"CompDir",
",",
"'er_specimen_name'",
")",
"# get a list of the specimen names used",
"PmagSampRec",
"[",
"'magic_method_codes'",
"]",
"=",
"pmag",
".",
"get_list",
"(",
"CompDir",
",",
"'magic_method_codes'",
")",
"# get a list of the methods used",
"if",
"nocrit",
"!=",
"1",
":",
"# apply selection criteria",
"kill",
"=",
"pmag",
".",
"grade",
"(",
"PmagSampRec",
",",
"accept",
",",
"'sample_dir'",
")",
"else",
":",
"kill",
"=",
"[",
"]",
"if",
"len",
"(",
"kill",
")",
"==",
"0",
":",
"SampDirs",
".",
"append",
"(",
"PmagSampRec",
")",
"if",
"vgps",
"==",
"1",
":",
"# if sample level VGP info desired, do that now",
"PmagResRec",
"=",
"pmag",
".",
"getsampVGP",
"(",
"PmagSampRec",
",",
"SiteNFO",
")",
"if",
"PmagResRec",
"!=",
"\"\"",
":",
"PmagResults",
".",
"append",
"(",
"PmagResRec",
")",
"# print(PmagSampRec)",
"PmagSamps",
".",
"append",
"(",
"PmagSampRec",
")",
"if",
"avg_all_components",
":",
"# average all components together basically same as above",
"PmagSampRec",
"=",
"pmag",
".",
"lnpbykey",
"(",
"CoordDir",
",",
"'sample'",
",",
"'specimen'",
")",
"PmagSampRec",
"[",
"\"er_location_name\"",
"]",
"=",
"CoordDir",
"[",
"0",
"]",
"[",
"'er_location_name'",
"]",
"PmagSampRec",
"[",
"\"er_site_name\"",
"]",
"=",
"CoordDir",
"[",
"0",
"]",
"[",
"'er_site_name'",
"]",
"PmagSampRec",
"[",
"\"er_sample_name\"",
"]",
"=",
"samp",
"PmagSampRec",
"[",
"\"er_citation_names\"",
"]",
"=",
"\"This study\"",
"PmagSampRec",
"[",
"\"er_analyst_mail_names\"",
"]",
"=",
"user",
"PmagSampRec",
"[",
"'magic_software_packages'",
"]",
"=",
"version_num",
"if",
"all",
"(",
"i",
"[",
"'specimen_flag'",
"]",
"==",
"'g'",
"for",
"i",
"in",
"CoordDir",
")",
":",
"PmagSampRec",
"[",
"'sample_flag'",
"]",
"=",
"'g'",
"else",
":",
"PmagSampRec",
"[",
"'sample_flag'",
"]",
"=",
"'b'",
"if",
"nocrit",
"!=",
"1",
":",
"PmagSampRec",
"[",
"'pmag_criteria_codes'",
"]",
"=",
"\"\"",
"if",
"agefile",
"!=",
"\"\"",
":",
"PmagSampRec",
"=",
"pmag",
".",
"get_age",
"(",
"PmagSampRec",
",",
"\"er_site_name\"",
",",
"\"sample_inferred_\"",
",",
"AgeNFO",
",",
"DefaultAge",
")",
"site_height",
"=",
"pmag",
".",
"get_dictitem",
"(",
"height_nfo",
",",
"'er_site_name'",
",",
"site",
",",
"'T'",
")",
"if",
"len",
"(",
"site_height",
")",
">",
"0",
":",
"# add in height if available",
"PmagSampRec",
"[",
"\"sample_height\"",
"]",
"=",
"site_height",
"[",
"0",
"]",
"[",
"'site_height'",
"]",
"PmagSampRec",
"[",
"'sample_tilt_correction'",
"]",
"=",
"coord",
"PmagSampRec",
"[",
"'sample_comp_name'",
"]",
"=",
"pmag",
".",
"get_list",
"(",
"CoordDir",
",",
"'specimen_comp_name'",
")",
"# get components used",
"PmagSampRec",
"[",
"'er_specimen_names'",
"]",
"=",
"pmag",
".",
"get_list",
"(",
"CoordDir",
",",
"'er_specimen_name'",
")",
"# get specimne names averaged",
"PmagSampRec",
"[",
"'magic_method_codes'",
"]",
"=",
"pmag",
".",
"get_list",
"(",
"CoordDir",
",",
"'magic_method_codes'",
")",
"# assemble method codes",
"if",
"nocrit",
"!=",
"1",
":",
"# apply selection criteria",
"kill",
"=",
"pmag",
".",
"grade",
"(",
"PmagSampRec",
",",
"accept",
",",
"'sample_dir'",
")",
"if",
"len",
"(",
"kill",
")",
"==",
"0",
":",
"# passes the mustard",
"SampDirs",
".",
"append",
"(",
"PmagSampRec",
")",
"if",
"vgps",
"==",
"1",
":",
"PmagResRec",
"=",
"pmag",
".",
"getsampVGP",
"(",
"PmagSampRec",
",",
"SiteNFO",
")",
"if",
"PmagResRec",
"!=",
"\"\"",
":",
"PmagResults",
".",
"append",
"(",
"PmagResRec",
")",
"else",
":",
"# take everything",
"SampDirs",
".",
"append",
"(",
"PmagSampRec",
")",
"if",
"vgps",
"==",
"1",
":",
"PmagResRec",
"=",
"pmag",
".",
"getsampVGP",
"(",
"PmagSampRec",
",",
"SiteNFO",
")",
"if",
"PmagResRec",
"!=",
"\"\"",
":",
"PmagResults",
".",
"append",
"(",
"PmagResRec",
")",
"PmagSamps",
".",
"append",
"(",
"PmagSampRec",
")",
"if",
"avg_intensities_by_sample",
":",
"# average by sample if desired",
"# get all the intensity data for this sample",
"SampI",
"=",
"pmag",
".",
"get_dictitem",
"(",
"SpecInts",
",",
"'er_sample_name'",
",",
"samp",
",",
"'T'",
")",
"if",
"len",
"(",
"SampI",
")",
">",
"0",
":",
"# there are some",
"# get average intensity stuff",
"PmagSampRec",
"=",
"pmag",
".",
"average_int",
"(",
"SampI",
",",
"'specimen'",
",",
"'sample'",
")",
"# decorate sample record",
"PmagSampRec",
"[",
"\"sample_description\"",
"]",
"=",
"\"sample intensity\"",
"PmagSampRec",
"[",
"\"sample_direction_type\"",
"]",
"=",
"\"\"",
"PmagSampRec",
"[",
"'er_site_name'",
"]",
"=",
"SampI",
"[",
"0",
"]",
"[",
"\"er_site_name\"",
"]",
"PmagSampRec",
"[",
"'er_sample_name'",
"]",
"=",
"samp",
"PmagSampRec",
"[",
"'er_location_name'",
"]",
"=",
"SampI",
"[",
"0",
"]",
"[",
"\"er_location_name\"",
"]",
"PmagSampRec",
"[",
"\"er_citation_names\"",
"]",
"=",
"\"This study\"",
"PmagSampRec",
"[",
"\"er_analyst_mail_names\"",
"]",
"=",
"user",
"if",
"agefile",
"!=",
"\"\"",
":",
"PmagSampRec",
"=",
"pmag",
".",
"get_age",
"(",
"PmagSampRec",
",",
"\"er_site_name\"",
",",
"\"sample_inferred_\"",
",",
"AgeNFO",
",",
"DefaultAge",
")",
"site_height",
"=",
"pmag",
".",
"get_dictitem",
"(",
"height_nfo",
",",
"'er_site_name'",
",",
"PmagSampRec",
"[",
"'er_site_name'",
"]",
",",
"'T'",
")",
"if",
"len",
"(",
"site_height",
")",
">",
"0",
":",
"# add in height if available",
"PmagSampRec",
"[",
"\"sample_height\"",
"]",
"=",
"site_height",
"[",
"0",
"]",
"[",
"'site_height'",
"]",
"PmagSampRec",
"[",
"'er_specimen_names'",
"]",
"=",
"pmag",
".",
"get_list",
"(",
"SampI",
",",
"'er_specimen_name'",
")",
"PmagSampRec",
"[",
"'magic_method_codes'",
"]",
"=",
"pmag",
".",
"get_list",
"(",
"SampI",
",",
"'magic_method_codes'",
")",
"if",
"nocrit",
"!=",
"1",
":",
"# apply criteria!",
"kill",
"=",
"pmag",
".",
"grade",
"(",
"PmagSampRec",
",",
"accept",
",",
"'sample_int'",
")",
"if",
"len",
"(",
"kill",
")",
"==",
"0",
":",
"PmagSampRec",
"[",
"'pmag_criteria_codes'",
"]",
"=",
"\"ACCEPT\"",
"SampInts",
".",
"append",
"(",
"PmagSampRec",
")",
"PmagSamps",
".",
"append",
"(",
"PmagSampRec",
")",
"else",
":",
"PmagSampRec",
"=",
"{",
"}",
"# sample rejected",
"else",
":",
"# no criteria",
"SampInts",
".",
"append",
"(",
"PmagSampRec",
")",
"PmagSamps",
".",
"append",
"(",
"PmagSampRec",
")",
"PmagSampRec",
"[",
"'pmag_criteria_codes'",
"]",
"=",
"\"\"",
"if",
"vgps",
"==",
"1",
"and",
"get_model_lat",
"!=",
"0",
"and",
"PmagSampRec",
"!=",
"{",
"}",
":",
"if",
"get_model_lat",
"==",
"1",
":",
"# use sample latitude",
"PmagResRec",
"=",
"pmag",
".",
"getsampVDM",
"(",
"PmagSampRec",
",",
"SampNFO",
")",
"# get rid of the model lat key",
"del",
"(",
"PmagResRec",
"[",
"'model_lat'",
"]",
")",
"elif",
"get_model_lat",
"==",
"2",
":",
"# use model latitude",
"PmagResRec",
"=",
"pmag",
".",
"getsampVDM",
"(",
"PmagSampRec",
",",
"ModelLats",
")",
"if",
"PmagResRec",
"!=",
"{",
"}",
":",
"PmagResRec",
"[",
"'magic_method_codes'",
"]",
"=",
"PmagResRec",
"[",
"'magic_method_codes'",
"]",
"+",
"\":IE-MLAT\"",
"if",
"PmagResRec",
"!=",
"{",
"}",
":",
"PmagResRec",
"[",
"'er_specimen_names'",
"]",
"=",
"PmagSampRec",
"[",
"'er_specimen_names'",
"]",
"PmagResRec",
"[",
"'er_sample_names'",
"]",
"=",
"PmagSampRec",
"[",
"'er_sample_name'",
"]",
"PmagResRec",
"[",
"'pmag_criteria_codes'",
"]",
"=",
"'ACCEPT'",
"PmagResRec",
"[",
"'average_int_sigma_perc'",
"]",
"=",
"PmagSampRec",
"[",
"'sample_int_sigma_perc'",
"]",
"PmagResRec",
"[",
"'average_int_sigma'",
"]",
"=",
"PmagSampRec",
"[",
"'sample_int_sigma'",
"]",
"PmagResRec",
"[",
"'average_int_n'",
"]",
"=",
"PmagSampRec",
"[",
"'sample_int_n'",
"]",
"PmagResRec",
"[",
"'vadm_n'",
"]",
"=",
"PmagSampRec",
"[",
"'sample_int_n'",
"]",
"PmagResRec",
"[",
"'data_type'",
"]",
"=",
"'i'",
"PmagResults",
".",
"append",
"(",
"PmagResRec",
")",
"if",
"len",
"(",
"PmagSamps",
")",
">",
"0",
":",
"# fill in missing keys from different types of records",
"TmpSamps",
",",
"keylist",
"=",
"pmag",
".",
"fillkeys",
"(",
"PmagSamps",
")",
"# save in sample output file",
"pmag",
".",
"magic_write",
"(",
"sampout",
",",
"TmpSamps",
",",
"'pmag_samples'",
")",
"print",
"(",
"' sample averages written to '",
",",
"sampout",
")",
"#",
"# create site averages from specimens or samples as specified",
"#",
"for",
"site",
"in",
"sites",
":",
"for",
"coord",
"in",
"coords",
":",
"if",
"not",
"avg_directions_by_sample",
":",
"key",
",",
"dirlist",
"=",
"'specimen'",
",",
"SpecDirs",
"# if specimen averages at site level desired",
"if",
"avg_directions_by_sample",
":",
"key",
",",
"dirlist",
"=",
"'sample'",
",",
"SampDirs",
"# if sample averages at site level desired",
"# get all the sites with directions",
"tmp",
"=",
"pmag",
".",
"get_dictitem",
"(",
"dirlist",
",",
"'er_site_name'",
",",
"site",
",",
"'T'",
")",
"# use only the last coordinate if avg_all_components==False",
"tmp1",
"=",
"pmag",
".",
"get_dictitem",
"(",
"tmp",
",",
"key",
"+",
"'_tilt_correction'",
",",
"coord",
",",
"'T'",
")",
"# fish out site information (lat/lon, etc.)",
"sd",
"=",
"pmag",
".",
"get_dictitem",
"(",
"SiteNFO",
",",
"'er_site_name'",
",",
"site",
",",
"'T'",
")",
"if",
"len",
"(",
"sd",
")",
">",
"0",
":",
"sitedat",
"=",
"sd",
"[",
"0",
"]",
"if",
"not",
"avg_all_components",
":",
"# do component wise averaging",
"for",
"comp",
"in",
"Comps",
":",
"# get all components comp",
"siteD",
"=",
"pmag",
".",
"get_dictitem",
"(",
"tmp1",
",",
"key",
"+",
"'_comp_name'",
",",
"comp",
",",
"'T'",
")",
"# remove bad data from means",
"quality_siteD",
"=",
"[",
"]",
"# remove any records for which specimen_flag or sample_flag are 'b'",
"# assume 'g' if flag is not provided",
"for",
"rec",
"in",
"siteD",
":",
"spec_quality",
"=",
"rec",
".",
"get",
"(",
"'specimen_flag'",
",",
"'g'",
")",
"samp_quality",
"=",
"rec",
".",
"get",
"(",
"'sample_flag'",
",",
"'g'",
")",
"if",
"(",
"spec_quality",
"==",
"'g'",
")",
"and",
"(",
"samp_quality",
"==",
"'g'",
")",
":",
"quality_siteD",
".",
"append",
"(",
"rec",
")",
"siteD",
"=",
"quality_siteD",
"if",
"len",
"(",
"siteD",
")",
">",
"0",
":",
"# there are some for this site and component name",
"# get an average for this site",
"PmagSiteRec",
"=",
"pmag",
".",
"lnpbykey",
"(",
"siteD",
",",
"'site'",
",",
"key",
")",
"# decorate the site record",
"PmagSiteRec",
"[",
"'site_comp_name'",
"]",
"=",
"comp",
"PmagSiteRec",
"[",
"\"er_location_name\"",
"]",
"=",
"siteD",
"[",
"0",
"]",
"[",
"'er_location_name'",
"]",
"PmagSiteRec",
"[",
"\"er_site_name\"",
"]",
"=",
"siteD",
"[",
"0",
"]",
"[",
"'er_site_name'",
"]",
"PmagSiteRec",
"[",
"'site_tilt_correction'",
"]",
"=",
"coord",
"PmagSiteRec",
"[",
"'site_comp_name'",
"]",
"=",
"pmag",
".",
"get_list",
"(",
"siteD",
",",
"key",
"+",
"'_comp_name'",
")",
"if",
"avg_directions_by_sample",
":",
"PmagSiteRec",
"[",
"'er_sample_names'",
"]",
"=",
"pmag",
".",
"get_list",
"(",
"siteD",
",",
"'er_sample_name'",
")",
"else",
":",
"PmagSiteRec",
"[",
"'er_specimen_names'",
"]",
"=",
"pmag",
".",
"get_list",
"(",
"siteD",
",",
"'er_specimen_name'",
")",
"# determine the demagnetization code (DC3,4 or 5) for this site",
"AFnum",
"=",
"len",
"(",
"pmag",
".",
"get_dictitem",
"(",
"siteD",
",",
"'magic_method_codes'",
",",
"'LP-DIR-AF'",
",",
"'has'",
")",
")",
"Tnum",
"=",
"len",
"(",
"pmag",
".",
"get_dictitem",
"(",
"siteD",
",",
"'magic_method_codes'",
",",
"'LP-DIR-T'",
",",
"'has'",
")",
")",
"DC",
"=",
"3",
"if",
"AFnum",
">",
"0",
":",
"DC",
"+=",
"1",
"if",
"Tnum",
">",
"0",
":",
"DC",
"+=",
"1",
"PmagSiteRec",
"[",
"'magic_method_codes'",
"]",
"=",
"pmag",
".",
"get_list",
"(",
"siteD",
",",
"'magic_method_codes'",
")",
"+",
"':'",
"+",
"'LP-DC'",
"+",
"str",
"(",
"DC",
")",
"PmagSiteRec",
"[",
"'magic_method_codes'",
"]",
".",
"strip",
"(",
"\":\"",
")",
"if",
"plotsites",
":",
"print",
"(",
"PmagSiteRec",
"[",
"'er_site_name'",
"]",
")",
"# plot and list the data",
"pmagplotlib",
".",
"plot_site",
"(",
"EQ",
"[",
"'eqarea'",
"]",
",",
"PmagSiteRec",
",",
"siteD",
",",
"key",
")",
"pmagplotlib",
".",
"draw_figs",
"(",
"EQ",
")",
"PmagSites",
".",
"append",
"(",
"PmagSiteRec",
")",
"else",
":",
"# last component only",
"# get the last orientation system specified",
"siteD",
"=",
"tmp1",
"[",
":",
"]",
"if",
"len",
"(",
"siteD",
")",
">",
"0",
":",
"# there are some",
"# get the average for this site",
"PmagSiteRec",
"=",
"pmag",
".",
"lnpbykey",
"(",
"siteD",
",",
"'site'",
",",
"key",
")",
"# decorate the record",
"PmagSiteRec",
"[",
"\"er_location_name\"",
"]",
"=",
"siteD",
"[",
"0",
"]",
"[",
"'er_location_name'",
"]",
"PmagSiteRec",
"[",
"\"er_site_name\"",
"]",
"=",
"siteD",
"[",
"0",
"]",
"[",
"'er_site_name'",
"]",
"PmagSiteRec",
"[",
"'site_comp_name'",
"]",
"=",
"comp",
"PmagSiteRec",
"[",
"'site_tilt_correction'",
"]",
"=",
"coord",
"PmagSiteRec",
"[",
"'site_comp_name'",
"]",
"=",
"pmag",
".",
"get_list",
"(",
"siteD",
",",
"key",
"+",
"'_comp_name'",
")",
"PmagSiteRec",
"[",
"'er_specimen_names'",
"]",
"=",
"pmag",
".",
"get_list",
"(",
"siteD",
",",
"'er_specimen_name'",
")",
"PmagSiteRec",
"[",
"'er_sample_names'",
"]",
"=",
"pmag",
".",
"get_list",
"(",
"siteD",
",",
"'er_sample_name'",
")",
"AFnum",
"=",
"len",
"(",
"pmag",
".",
"get_dictitem",
"(",
"siteD",
",",
"'magic_method_codes'",
",",
"'LP-DIR-AF'",
",",
"'has'",
")",
")",
"Tnum",
"=",
"len",
"(",
"pmag",
".",
"get_dictitem",
"(",
"siteD",
",",
"'magic_method_codes'",
",",
"'LP-DIR-T'",
",",
"'has'",
")",
")",
"DC",
"=",
"3",
"if",
"AFnum",
">",
"0",
":",
"DC",
"+=",
"1",
"if",
"Tnum",
">",
"0",
":",
"DC",
"+=",
"1",
"PmagSiteRec",
"[",
"'magic_method_codes'",
"]",
"=",
"pmag",
".",
"get_list",
"(",
"siteD",
",",
"'magic_method_codes'",
")",
"+",
"':'",
"+",
"'LP-DC'",
"+",
"str",
"(",
"DC",
")",
"PmagSiteRec",
"[",
"'magic_method_codes'",
"]",
".",
"strip",
"(",
"\":\"",
")",
"if",
"not",
"avg_directions_by_sample",
":",
"PmagSiteRec",
"[",
"'site_comp_name'",
"]",
"=",
"pmag",
".",
"get_list",
"(",
"siteD",
",",
"key",
"+",
"'_comp_name'",
")",
"if",
"plotsites",
":",
"pmagplotlib",
".",
"plot_site",
"(",
"EQ",
"[",
"'eqarea'",
"]",
",",
"PmagSiteRec",
",",
"siteD",
",",
"key",
")",
"pmagplotlib",
".",
"draw_figs",
"(",
"EQ",
")",
"PmagSites",
".",
"append",
"(",
"PmagSiteRec",
")",
"else",
":",
"print",
"(",
"'site information not found in er_sites for site, '",
",",
"site",
",",
"' site will be skipped'",
")",
"for",
"PmagSiteRec",
"in",
"PmagSites",
":",
"# now decorate each dictionary some more, and calculate VGPs etc. for results table",
"PmagSiteRec",
"[",
"\"er_citation_names\"",
"]",
"=",
"\"This study\"",
"PmagSiteRec",
"[",
"\"er_analyst_mail_names\"",
"]",
"=",
"user",
"PmagSiteRec",
"[",
"'magic_software_packages'",
"]",
"=",
"version_num",
"if",
"agefile",
"!=",
"\"\"",
":",
"PmagSiteRec",
"=",
"pmag",
".",
"get_age",
"(",
"PmagSiteRec",
",",
"\"er_site_name\"",
",",
"\"site_inferred_\"",
",",
"AgeNFO",
",",
"DefaultAge",
")",
"PmagSiteRec",
"[",
"'pmag_criteria_codes'",
"]",
"=",
"'ACCEPT'",
"if",
"'site_n_lines'",
"in",
"list",
"(",
"PmagSiteRec",
".",
"keys",
"(",
")",
")",
"and",
"'site_n_planes'",
"in",
"list",
"(",
"PmagSiteRec",
".",
"keys",
"(",
")",
")",
"and",
"PmagSiteRec",
"[",
"'site_n_lines'",
"]",
"!=",
"\"\"",
"and",
"PmagSiteRec",
"[",
"'site_n_planes'",
"]",
"!=",
"\"\"",
":",
"if",
"int",
"(",
"PmagSiteRec",
"[",
"\"site_n_planes\"",
"]",
")",
">",
"0",
":",
"PmagSiteRec",
"[",
"\"magic_method_codes\"",
"]",
"=",
"PmagSiteRec",
"[",
"'magic_method_codes'",
"]",
"+",
"\":DE-FM-LP\"",
"elif",
"int",
"(",
"PmagSiteRec",
"[",
"\"site_n_lines\"",
"]",
")",
">",
"2",
":",
"PmagSiteRec",
"[",
"\"magic_method_codes\"",
"]",
"=",
"PmagSiteRec",
"[",
"'magic_method_codes'",
"]",
"+",
"\":DE-FM\"",
"kill",
"=",
"pmag",
".",
"grade",
"(",
"PmagSiteRec",
",",
"accept",
",",
"'site_dir'",
")",
"if",
"len",
"(",
"kill",
")",
"==",
"0",
":",
"PmagResRec",
"=",
"{",
"}",
"# set up dictionary for the pmag_results table entry",
"PmagResRec",
"[",
"'data_type'",
"]",
"=",
"'i'",
"# decorate it a bit",
"PmagResRec",
"[",
"'magic_software_packages'",
"]",
"=",
"version_num",
"PmagSiteRec",
"[",
"'site_description'",
"]",
"=",
"'Site direction included in results table'",
"PmagResRec",
"[",
"'pmag_criteria_codes'",
"]",
"=",
"'ACCEPT'",
"dec",
"=",
"float",
"(",
"PmagSiteRec",
"[",
"\"site_dec\"",
"]",
")",
"inc",
"=",
"float",
"(",
"PmagSiteRec",
"[",
"\"site_inc\"",
"]",
")",
"if",
"'site_alpha95'",
"in",
"list",
"(",
"PmagSiteRec",
".",
"keys",
"(",
")",
")",
"and",
"PmagSiteRec",
"[",
"'site_alpha95'",
"]",
"!=",
"\"\"",
":",
"a95",
"=",
"float",
"(",
"PmagSiteRec",
"[",
"\"site_alpha95\"",
"]",
")",
"else",
":",
"a95",
"=",
"180.",
"sitedat",
"=",
"pmag",
".",
"get_dictitem",
"(",
"SiteNFO",
",",
"'er_site_name'",
",",
"PmagSiteRec",
"[",
"'er_site_name'",
"]",
",",
"'T'",
")",
"[",
"0",
"]",
"# fish out site information (lat/lon, etc.)",
"lat",
"=",
"float",
"(",
"sitedat",
"[",
"'site_lat'",
"]",
")",
"lon",
"=",
"float",
"(",
"sitedat",
"[",
"'site_lon'",
"]",
")",
"plon",
",",
"plat",
",",
"dp",
",",
"dm",
"=",
"pmag",
".",
"dia_vgp",
"(",
"dec",
",",
"inc",
",",
"a95",
",",
"lat",
",",
"lon",
")",
"# get the VGP for this site",
"if",
"PmagSiteRec",
"[",
"'site_tilt_correction'",
"]",
"==",
"'-1'",
":",
"C",
"=",
"' (spec coord) '",
"if",
"PmagSiteRec",
"[",
"'site_tilt_correction'",
"]",
"==",
"'0'",
":",
"C",
"=",
"' (geog. coord) '",
"if",
"PmagSiteRec",
"[",
"'site_tilt_correction'",
"]",
"==",
"'100'",
":",
"C",
"=",
"' (strat. coord) '",
"PmagResRec",
"[",
"\"pmag_result_name\"",
"]",
"=",
"\"VGP Site: \"",
"+",
"PmagSiteRec",
"[",
"\"er_site_name\"",
"]",
"# decorate some more",
"PmagResRec",
"[",
"\"result_description\"",
"]",
"=",
"\"Site VGP, coord system = \"",
"+",
"str",
"(",
"coord",
")",
"+",
"' component: '",
"+",
"comp",
"PmagResRec",
"[",
"'er_site_names'",
"]",
"=",
"PmagSiteRec",
"[",
"'er_site_name'",
"]",
"PmagResRec",
"[",
"'pmag_criteria_codes'",
"]",
"=",
"'ACCEPT'",
"PmagResRec",
"[",
"'er_citation_names'",
"]",
"=",
"'This study'",
"PmagResRec",
"[",
"'er_analyst_mail_names'",
"]",
"=",
"user",
"PmagResRec",
"[",
"\"er_location_names\"",
"]",
"=",
"PmagSiteRec",
"[",
"\"er_location_name\"",
"]",
"if",
"avg_directions_by_sample",
":",
"PmagResRec",
"[",
"\"er_sample_names\"",
"]",
"=",
"PmagSiteRec",
"[",
"\"er_sample_names\"",
"]",
"else",
":",
"PmagResRec",
"[",
"\"er_specimen_names\"",
"]",
"=",
"PmagSiteRec",
"[",
"\"er_specimen_names\"",
"]",
"PmagResRec",
"[",
"\"tilt_correction\"",
"]",
"=",
"PmagSiteRec",
"[",
"'site_tilt_correction'",
"]",
"PmagResRec",
"[",
"\"pole_comp_name\"",
"]",
"=",
"PmagSiteRec",
"[",
"'site_comp_name'",
"]",
"PmagResRec",
"[",
"\"average_dec\"",
"]",
"=",
"PmagSiteRec",
"[",
"\"site_dec\"",
"]",
"PmagResRec",
"[",
"\"average_inc\"",
"]",
"=",
"PmagSiteRec",
"[",
"\"site_inc\"",
"]",
"PmagResRec",
"[",
"\"average_alpha95\"",
"]",
"=",
"PmagSiteRec",
"[",
"\"site_alpha95\"",
"]",
"PmagResRec",
"[",
"\"average_n\"",
"]",
"=",
"PmagSiteRec",
"[",
"\"site_n\"",
"]",
"PmagResRec",
"[",
"\"average_n_lines\"",
"]",
"=",
"PmagSiteRec",
"[",
"\"site_n_lines\"",
"]",
"PmagResRec",
"[",
"\"average_n_planes\"",
"]",
"=",
"PmagSiteRec",
"[",
"\"site_n_planes\"",
"]",
"PmagResRec",
"[",
"\"vgp_n\"",
"]",
"=",
"PmagSiteRec",
"[",
"\"site_n\"",
"]",
"PmagResRec",
"[",
"\"average_k\"",
"]",
"=",
"PmagSiteRec",
"[",
"\"site_k\"",
"]",
"PmagResRec",
"[",
"\"average_r\"",
"]",
"=",
"PmagSiteRec",
"[",
"\"site_r\"",
"]",
"PmagResRec",
"[",
"\"average_lat\"",
"]",
"=",
"'%10.4f '",
"%",
"(",
"lat",
")",
"PmagResRec",
"[",
"\"average_lon\"",
"]",
"=",
"'%10.4f '",
"%",
"(",
"lon",
")",
"if",
"agefile",
"!=",
"\"\"",
":",
"PmagResRec",
"=",
"pmag",
".",
"get_age",
"(",
"PmagResRec",
",",
"\"er_site_names\"",
",",
"\"average_\"",
",",
"AgeNFO",
",",
"DefaultAge",
")",
"site_height",
"=",
"pmag",
".",
"get_dictitem",
"(",
"height_nfo",
",",
"'er_site_name'",
",",
"site",
",",
"'T'",
")",
"if",
"len",
"(",
"site_height",
")",
">",
"0",
":",
"PmagResRec",
"[",
"\"average_height\"",
"]",
"=",
"site_height",
"[",
"0",
"]",
"[",
"'site_height'",
"]",
"PmagResRec",
"[",
"\"vgp_lat\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"plat",
")",
"PmagResRec",
"[",
"\"vgp_lon\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"plon",
")",
"PmagResRec",
"[",
"\"vgp_dp\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"dp",
")",
"PmagResRec",
"[",
"\"vgp_dm\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"dm",
")",
"PmagResRec",
"[",
"\"magic_method_codes\"",
"]",
"=",
"PmagSiteRec",
"[",
"\"magic_method_codes\"",
"]",
"if",
"'0'",
"in",
"PmagSiteRec",
"[",
"'site_tilt_correction'",
"]",
"and",
"\"DA-DIR-GEO\"",
"not",
"in",
"PmagSiteRec",
"[",
"'magic_method_codes'",
"]",
":",
"PmagSiteRec",
"[",
"'magic_method_codes'",
"]",
"=",
"PmagSiteRec",
"[",
"'magic_method_codes'",
"]",
"+",
"\":DA-DIR-GEO\"",
"if",
"'100'",
"in",
"PmagSiteRec",
"[",
"'site_tilt_correction'",
"]",
"and",
"\"DA-DIR-TILT\"",
"not",
"in",
"PmagSiteRec",
"[",
"'magic_method_codes'",
"]",
":",
"PmagSiteRec",
"[",
"'magic_method_codes'",
"]",
"=",
"PmagSiteRec",
"[",
"'magic_method_codes'",
"]",
"+",
"\":DA-DIR-TILT\"",
"PmagSiteRec",
"[",
"'site_polarity'",
"]",
"=",
"\"\"",
"if",
"avg_by_polarity",
":",
"# assign polarity based on angle of pole lat to spin axis - may want to re-think this sometime",
"angle",
"=",
"pmag",
".",
"angle",
"(",
"[",
"0",
",",
"0",
"]",
",",
"[",
"0",
",",
"(",
"90",
"-",
"plat",
")",
"]",
")",
"if",
"angle",
"<=",
"55.",
":",
"PmagSiteRec",
"[",
"\"site_polarity\"",
"]",
"=",
"'n'",
"if",
"angle",
">",
"55.",
"and",
"angle",
"<",
"125.",
":",
"PmagSiteRec",
"[",
"\"site_polarity\"",
"]",
"=",
"'t'",
"if",
"angle",
">=",
"125.",
":",
"PmagSiteRec",
"[",
"\"site_polarity\"",
"]",
"=",
"'r'",
"PmagResults",
".",
"append",
"(",
"PmagResRec",
")",
"if",
"avg_by_polarity",
":",
"# find the tilt corrected data",
"crecs",
"=",
"pmag",
".",
"get_dictitem",
"(",
"PmagSites",
",",
"'site_tilt_correction'",
",",
"'100'",
",",
"'T'",
")",
"if",
"len",
"(",
"crecs",
")",
"<",
"2",
":",
"# if there aren't any, find the geographic corrected data",
"crecs",
"=",
"pmag",
".",
"get_dictitem",
"(",
"PmagSites",
",",
"'site_tilt_correction'",
",",
"'0'",
",",
"'T'",
")",
"if",
"len",
"(",
"crecs",
")",
">",
"2",
":",
"# if there are some,",
"comp",
"=",
"pmag",
".",
"get_list",
"(",
"crecs",
",",
"'site_comp_name'",
")",
".",
"split",
"(",
"':'",
")",
"[",
"0",
"]",
"# find the first component",
"# fish out all of the first component",
"crecs",
"=",
"pmag",
".",
"get_dictitem",
"(",
"crecs",
",",
"'site_comp_name'",
",",
"comp",
",",
"'T'",
")",
"precs",
"=",
"[",
"]",
"for",
"rec",
"in",
"crecs",
":",
"precs",
".",
"append",
"(",
"{",
"'dec'",
":",
"rec",
"[",
"'site_dec'",
"]",
",",
"'inc'",
":",
"rec",
"[",
"'site_inc'",
"]",
",",
"'name'",
":",
"rec",
"[",
"'er_site_name'",
"]",
",",
"'loc'",
":",
"rec",
"[",
"'er_location_name'",
"]",
"}",
")",
"# calculate average by polarity",
"polpars",
"=",
"pmag",
".",
"fisher_by_pol",
"(",
"precs",
")",
"# hunt through all the modes (normal=A, reverse=B, all=ALL)",
"for",
"mode",
"in",
"list",
"(",
"polpars",
".",
"keys",
"(",
")",
")",
":",
"PolRes",
"=",
"{",
"}",
"PolRes",
"[",
"'er_citation_names'",
"]",
"=",
"'This study'",
"PolRes",
"[",
"\"pmag_result_name\"",
"]",
"=",
"\"Polarity Average: Polarity \"",
"+",
"mode",
"PolRes",
"[",
"\"data_type\"",
"]",
"=",
"\"a\"",
"PolRes",
"[",
"\"average_dec\"",
"]",
"=",
"'%7.1f'",
"%",
"(",
"polpars",
"[",
"mode",
"]",
"[",
"'dec'",
"]",
")",
"PolRes",
"[",
"\"average_inc\"",
"]",
"=",
"'%7.1f'",
"%",
"(",
"polpars",
"[",
"mode",
"]",
"[",
"'inc'",
"]",
")",
"PolRes",
"[",
"\"average_n\"",
"]",
"=",
"'%i'",
"%",
"(",
"polpars",
"[",
"mode",
"]",
"[",
"'n'",
"]",
")",
"PolRes",
"[",
"\"average_r\"",
"]",
"=",
"'%5.4f'",
"%",
"(",
"polpars",
"[",
"mode",
"]",
"[",
"'r'",
"]",
")",
"PolRes",
"[",
"\"average_k\"",
"]",
"=",
"'%6.0f'",
"%",
"(",
"polpars",
"[",
"mode",
"]",
"[",
"'k'",
"]",
")",
"PolRes",
"[",
"\"average_alpha95\"",
"]",
"=",
"'%7.1f'",
"%",
"(",
"polpars",
"[",
"mode",
"]",
"[",
"'alpha95'",
"]",
")",
"PolRes",
"[",
"'er_site_names'",
"]",
"=",
"polpars",
"[",
"mode",
"]",
"[",
"'sites'",
"]",
"PolRes",
"[",
"'er_location_names'",
"]",
"=",
"polpars",
"[",
"mode",
"]",
"[",
"'locs'",
"]",
"PolRes",
"[",
"'magic_software_packages'",
"]",
"=",
"version_num",
"PmagResults",
".",
"append",
"(",
"PolRes",
")",
"if",
"not",
"skip_intensities",
"and",
"nositeints",
"!=",
"1",
":",
"for",
"site",
"in",
"sites",
":",
"# now do intensities for each site",
"if",
"plotsites",
":",
"print",
"(",
"site",
")",
"if",
"not",
"avg_intensities_by_sample",
":",
"key",
",",
"intlist",
"=",
"'specimen'",
",",
"SpecInts",
"# if using specimen level data",
"if",
"avg_intensities_by_sample",
":",
"key",
",",
"intlist",
"=",
"'sample'",
",",
"PmagSamps",
"# if using sample level data",
"# get all the intensities for this site",
"Ints",
"=",
"pmag",
".",
"get_dictitem",
"(",
"intlist",
",",
"'er_site_name'",
",",
"site",
",",
"'T'",
")",
"if",
"len",
"(",
"Ints",
")",
">",
"0",
":",
"# there are some",
"# get average intensity stuff for site table",
"PmagSiteRec",
"=",
"pmag",
".",
"average_int",
"(",
"Ints",
",",
"key",
",",
"'site'",
")",
"# get average intensity stuff for results table",
"PmagResRec",
"=",
"pmag",
".",
"average_int",
"(",
"Ints",
",",
"key",
",",
"'average'",
")",
"if",
"plotsites",
":",
"# if site by site examination requested - print this site out to the screen",
"for",
"rec",
"in",
"Ints",
":",
"print",
"(",
"rec",
"[",
"'er_'",
"+",
"key",
"+",
"'_name'",
"]",
",",
"' %7.1f'",
"%",
"(",
"1e6",
"*",
"float",
"(",
"rec",
"[",
"key",
"+",
"'_int'",
"]",
")",
")",
")",
"if",
"len",
"(",
"Ints",
")",
">",
"1",
":",
"print",
"(",
"'Average: '",
",",
"'%7.1f'",
"%",
"(",
"1e6",
"*",
"float",
"(",
"PmagResRec",
"[",
"'average_int'",
"]",
")",
")",
",",
"'N: '",
",",
"len",
"(",
"Ints",
")",
")",
"print",
"(",
"'Sigma: '",
",",
"'%7.1f'",
"%",
"(",
"1e6",
"*",
"float",
"(",
"PmagResRec",
"[",
"'average_int_sigma'",
"]",
")",
")",
",",
"'Sigma %: '",
",",
"PmagResRec",
"[",
"'average_int_sigma_perc'",
"]",
")",
"input",
"(",
"'Press any key to continue\\n'",
")",
"er_location_name",
"=",
"Ints",
"[",
"0",
"]",
"[",
"\"er_location_name\"",
"]",
"# decorate the records",
"PmagSiteRec",
"[",
"\"er_location_name\"",
"]",
"=",
"er_location_name",
"PmagSiteRec",
"[",
"\"er_citation_names\"",
"]",
"=",
"\"This study\"",
"PmagResRec",
"[",
"\"er_location_names\"",
"]",
"=",
"er_location_name",
"PmagResRec",
"[",
"\"er_citation_names\"",
"]",
"=",
"\"This study\"",
"PmagSiteRec",
"[",
"\"er_analyst_mail_names\"",
"]",
"=",
"user",
"PmagResRec",
"[",
"\"er_analyst_mail_names\"",
"]",
"=",
"user",
"PmagResRec",
"[",
"\"data_type\"",
"]",
"=",
"'i'",
"if",
"not",
"avg_intensities_by_sample",
":",
"PmagSiteRec",
"[",
"'er_specimen_names'",
"]",
"=",
"pmag",
".",
"get_list",
"(",
"Ints",
",",
"'er_specimen_name'",
")",
"# list of all specimens used",
"PmagResRec",
"[",
"'er_specimen_names'",
"]",
"=",
"pmag",
".",
"get_list",
"(",
"Ints",
",",
"'er_specimen_name'",
")",
"PmagSiteRec",
"[",
"'er_sample_names'",
"]",
"=",
"pmag",
".",
"get_list",
"(",
"Ints",
",",
"'er_sample_name'",
")",
"# list of all samples used",
"PmagResRec",
"[",
"'er_sample_names'",
"]",
"=",
"pmag",
".",
"get_list",
"(",
"Ints",
",",
"'er_sample_name'",
")",
"PmagSiteRec",
"[",
"'er_site_name'",
"]",
"=",
"site",
"PmagResRec",
"[",
"'er_site_names'",
"]",
"=",
"site",
"PmagSiteRec",
"[",
"'magic_method_codes'",
"]",
"=",
"pmag",
".",
"get_list",
"(",
"Ints",
",",
"'magic_method_codes'",
")",
"PmagResRec",
"[",
"'magic_method_codes'",
"]",
"=",
"pmag",
".",
"get_list",
"(",
"Ints",
",",
"'magic_method_codes'",
")",
"kill",
"=",
"pmag",
".",
"grade",
"(",
"PmagSiteRec",
",",
"accept",
",",
"'site_int'",
")",
"if",
"nocrit",
"==",
"1",
"or",
"len",
"(",
"kill",
")",
"==",
"0",
":",
"b",
",",
"sig",
"=",
"float",
"(",
"PmagResRec",
"[",
"'average_int'",
"]",
")",
",",
"\"\"",
"if",
"(",
"PmagResRec",
"[",
"'average_int_sigma'",
"]",
")",
"!=",
"\"\"",
":",
"sig",
"=",
"float",
"(",
"PmagResRec",
"[",
"'average_int_sigma'",
"]",
")",
"# fish out site direction",
"sdir",
"=",
"pmag",
".",
"get_dictitem",
"(",
"PmagResults",
",",
"'er_site_names'",
",",
"site",
",",
"'T'",
")",
"# get the VDM for this record using last average",
"# inclination (hope it is the right one!)",
"if",
"len",
"(",
"sdir",
")",
">",
"0",
"and",
"sdir",
"[",
"-",
"1",
"]",
"[",
"'average_inc'",
"]",
"!=",
"\"\"",
":",
"inc",
"=",
"float",
"(",
"sdir",
"[",
"0",
"]",
"[",
"'average_inc'",
"]",
")",
"# get magnetic latitude using dipole formula",
"mlat",
"=",
"pmag",
".",
"magnetic_lat",
"(",
"inc",
")",
"# get VDM with magnetic latitude",
"PmagResRec",
"[",
"\"vdm\"",
"]",
"=",
"'%8.3e '",
"%",
"(",
"pmag",
".",
"b_vdm",
"(",
"b",
",",
"mlat",
")",
")",
"PmagResRec",
"[",
"\"vdm_n\"",
"]",
"=",
"PmagResRec",
"[",
"'average_int_n'",
"]",
"if",
"'average_int_sigma'",
"in",
"list",
"(",
"PmagResRec",
".",
"keys",
"(",
")",
")",
"and",
"PmagResRec",
"[",
"'average_int_sigma'",
"]",
"!=",
"\"\"",
":",
"vdm_sig",
"=",
"pmag",
".",
"b_vdm",
"(",
"float",
"(",
"PmagResRec",
"[",
"'average_int_sigma'",
"]",
")",
",",
"mlat",
")",
"PmagResRec",
"[",
"\"vdm_sigma\"",
"]",
"=",
"'%8.3e '",
"%",
"(",
"vdm_sig",
")",
"else",
":",
"PmagResRec",
"[",
"\"vdm_sigma\"",
"]",
"=",
"\"\"",
"mlat",
"=",
"\"\"",
"# define a model latitude",
"if",
"get_model_lat",
"==",
"1",
":",
"# use present site latitude",
"mlats",
"=",
"pmag",
".",
"get_dictitem",
"(",
"SiteNFO",
",",
"'er_site_name'",
",",
"site",
",",
"'T'",
")",
"if",
"len",
"(",
"mlats",
")",
">",
"0",
":",
"mlat",
"=",
"mlats",
"[",
"0",
"]",
"[",
"'site_lat'",
"]",
"# use a model latitude from some plate reconstruction model",
"# (or something)",
"elif",
"get_model_lat",
"==",
"2",
":",
"mlats",
"=",
"pmag",
".",
"get_dictitem",
"(",
"ModelLats",
",",
"'er_site_name'",
",",
"site",
",",
"'T'",
")",
"if",
"len",
"(",
"mlats",
")",
">",
"0",
":",
"PmagResRec",
"[",
"'model_lat'",
"]",
"=",
"mlats",
"[",
"0",
"]",
"[",
"'site_model_lat'",
"]",
"mlat",
"=",
"PmagResRec",
"[",
"'model_lat'",
"]",
"if",
"mlat",
"!=",
"\"\"",
":",
"# get the VADM using the desired latitude",
"PmagResRec",
"[",
"\"vadm\"",
"]",
"=",
"'%8.3e '",
"%",
"(",
"pmag",
".",
"b_vdm",
"(",
"b",
",",
"float",
"(",
"mlat",
")",
")",
")",
"if",
"sig",
"!=",
"\"\"",
":",
"vdm_sig",
"=",
"pmag",
".",
"b_vdm",
"(",
"float",
"(",
"PmagResRec",
"[",
"'average_int_sigma'",
"]",
")",
",",
"float",
"(",
"mlat",
")",
")",
"PmagResRec",
"[",
"\"vadm_sigma\"",
"]",
"=",
"'%8.3e '",
"%",
"(",
"vdm_sig",
")",
"PmagResRec",
"[",
"\"vadm_n\"",
"]",
"=",
"PmagResRec",
"[",
"'average_int_n'",
"]",
"else",
":",
"PmagResRec",
"[",
"\"vadm_sigma\"",
"]",
"=",
"\"\"",
"# fish out site information (lat/lon, etc.)",
"sitedat",
"=",
"pmag",
".",
"get_dictitem",
"(",
"SiteNFO",
",",
"'er_site_name'",
",",
"PmagSiteRec",
"[",
"'er_site_name'",
"]",
",",
"'T'",
")",
"if",
"len",
"(",
"sitedat",
")",
">",
"0",
":",
"sitedat",
"=",
"sitedat",
"[",
"0",
"]",
"PmagResRec",
"[",
"'average_lat'",
"]",
"=",
"sitedat",
"[",
"'site_lat'",
"]",
"PmagResRec",
"[",
"'average_lon'",
"]",
"=",
"sitedat",
"[",
"'site_lon'",
"]",
"else",
":",
"PmagResRec",
"[",
"'average_lon'",
"]",
"=",
"'UNKNOWN'",
"PmagResRec",
"[",
"'average_lon'",
"]",
"=",
"'UNKNOWN'",
"PmagResRec",
"[",
"'magic_software_packages'",
"]",
"=",
"version_num",
"PmagResRec",
"[",
"\"pmag_result_name\"",
"]",
"=",
"\"V[A]DM: Site \"",
"+",
"site",
"PmagResRec",
"[",
"\"result_description\"",
"]",
"=",
"\"V[A]DM of site\"",
"PmagResRec",
"[",
"\"pmag_criteria_codes\"",
"]",
"=",
"\"ACCEPT\"",
"if",
"agefile",
"!=",
"\"\"",
":",
"PmagResRec",
"=",
"pmag",
".",
"get_age",
"(",
"PmagResRec",
",",
"\"er_site_names\"",
",",
"\"average_\"",
",",
"AgeNFO",
",",
"DefaultAge",
")",
"site_height",
"=",
"pmag",
".",
"get_dictitem",
"(",
"height_nfo",
",",
"'er_site_name'",
",",
"site",
",",
"'T'",
")",
"if",
"len",
"(",
"site_height",
")",
">",
"0",
":",
"PmagResRec",
"[",
"\"average_height\"",
"]",
"=",
"site_height",
"[",
"0",
"]",
"[",
"'site_height'",
"]",
"PmagSites",
".",
"append",
"(",
"PmagSiteRec",
")",
"PmagResults",
".",
"append",
"(",
"PmagResRec",
")",
"if",
"len",
"(",
"PmagSites",
")",
">",
"0",
":",
"Tmp",
",",
"keylist",
"=",
"pmag",
".",
"fillkeys",
"(",
"PmagSites",
")",
"pmag",
".",
"magic_write",
"(",
"siteout",
",",
"Tmp",
",",
"'pmag_sites'",
")",
"print",
"(",
"' sites written to '",
",",
"siteout",
")",
"else",
":",
"print",
"(",
"\"No Site level table\"",
")",
"if",
"len",
"(",
"PmagResults",
")",
">",
"0",
":",
"TmpRes",
",",
"keylist",
"=",
"pmag",
".",
"fillkeys",
"(",
"PmagResults",
")",
"pmag",
".",
"magic_write",
"(",
"resout",
",",
"TmpRes",
",",
"'pmag_results'",
")",
"print",
"(",
"' results written to '",
",",
"resout",
")",
"else",
":",
"print",
"(",
"\"No Results level table\"",
")"
] |
Writes magic_instruments, er_specimens, pmag_samples, pmag_sites, pmag_criteria, and pmag_results. The data used to write this is obtained by reading a pmag_speciemns, a magic_measurements, a er_samples, a er_sites, a er_ages.
@param -> infile: path from the WD to the pmag speciemns table
@param -> measfile: path from the WD to the magic measurement file
@param -> sampfile: path from the WD to the er sample file
@param -> sitefile: path from the WD to the er sites data file
@param -> agefile: path from the WD to the er ages data file
@param -> specout: path from the WD to the place to write the er specimens data file
@param -> sampout: path from the WD to the place to write the pmag samples data file
@param -> siteout: path from the WD to the place to write the pmag sites data file
@param -> resout: path from the WD to the place to write the pmag results data file
@param -> critout: path from the WD to the place to write the pmag criteria file
@param -> instout: path from th WD to the place to write the magic instruments file
@param -> documentation incomplete if you know more about the purpose of the parameters in this function and it's side effects please extend and complete this string
|
[
"Writes",
"magic_instruments",
"er_specimens",
"pmag_samples",
"pmag_sites",
"pmag_criteria",
"and",
"pmag_results",
".",
"The",
"data",
"used",
"to",
"write",
"this",
"is",
"obtained",
"by",
"reading",
"a",
"pmag_speciemns",
"a",
"magic_measurements",
"a",
"er_samples",
"a",
"er_sites",
"a",
"er_ages",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L4676-L5466
|
train
|
Writes the data from the pmag_specimens. txt file to the pmag_samples. txt and pmag_sites. txt file to the pmag_results. txt file.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b100101 + 0o21) + '\x33', ord("\x08")), nzTpIcepk0o8('\060' + chr(111) + chr(979 - 928) + '\065' + chr(48), 44931 - 44923), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b101101 + 0o6) + chr(0b100 + 0o54) + chr(52), 0b1000), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110001) + '\060' + '\067', 0o10), nzTpIcepk0o8('\x30' + '\157' + chr(0b110011) + chr(0b101100 + 0o11) + '\x32', 41196 - 41188), nzTpIcepk0o8(chr(0b110000) + chr(7761 - 7650) + '\061' + chr(0b110111) + '\x35', 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b10000 + 0o137) + '\x33' + chr(455 - 401) + chr(51), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b110010) + chr(1228 - 1178) + '\x37', 46851 - 46843), nzTpIcepk0o8(chr(0b100001 + 0o17) + chr(11856 - 11745) + chr(2315 - 2263) + chr(54), 0b1000), nzTpIcepk0o8(chr(0b10100 + 0o34) + chr(0b1101111) + chr(0b110010) + chr(1619 - 1567), ord("\x08")), nzTpIcepk0o8('\x30' + chr(6190 - 6079) + chr(50) + '\061' + chr(55), 0b1000), nzTpIcepk0o8(chr(48) + chr(2644 - 2533) + chr(0b101010 + 0o10) + '\063' + chr(49), 52622 - 52614), nzTpIcepk0o8(chr(0b1000 + 0o50) + chr(0b1011100 + 0o23) + chr(0b10100 + 0o35) + '\x36' + chr(0b110010), 0b1000), nzTpIcepk0o8(chr(505 - 457) + chr(111) + chr(0b110101) + '\x30', 0o10), nzTpIcepk0o8(chr(0b1010 + 0o46) + '\157' + chr(0b110010) + '\067', 0b1000), nzTpIcepk0o8('\x30' + '\157' + '\066' + '\x30', 38886 - 38878), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(1531 - 1482) + chr(54), 33762 - 33754), nzTpIcepk0o8(chr(1291 - 1243) + chr(7815 - 7704) + chr(0b110001) + '\066' + '\061', 0o10), nzTpIcepk0o8(chr(1381 - 1333) + '\x6f' + chr(0b110010) + chr(738 - 683) + chr(0b1110 + 0o46), 0o10), nzTpIcepk0o8(chr(0b101001 + 0o7) + chr(2239 - 2128) + '\x37' + chr(0b110100), 283 - 275), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b1101 + 0o44) + '\067' + chr(0b1001 + 0o52), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b11011 + 0o124) + '\x33' + chr(2792 - 2737) + chr(0b1100 + 0o52), 15565 - 15557), nzTpIcepk0o8('\060' + chr(0b110001 + 0o76) + chr(0b110010) + '\067' + chr(1406 - 1357), 0o10), nzTpIcepk0o8(chr(48) + chr(9818 - 9707) + chr(0b100010 + 0o21) + chr(54) + chr(0b110101), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\157' + '\x31' + chr(0b110101) + chr(914 - 866), 64166 - 64158), nzTpIcepk0o8(chr(0b100111 + 0o11) + '\157' + '\x33' + chr(2461 - 2406) + chr(1768 - 1714), 8), nzTpIcepk0o8(chr(0b100001 + 0o17) + chr(1413 - 1302) + chr(1630 - 1581) + chr(1554 - 1500) + '\x37', 0b1000), nzTpIcepk0o8(chr(0b101110 + 0o2) + chr(3456 - 3345) + chr(0b110101), 0b1000), nzTpIcepk0o8(chr(843 - 795) + chr(12219 - 12108) + chr(50) + chr(132 - 78) + chr(0b110111), 0b1000), nzTpIcepk0o8(chr(0b11100 + 0o24) + chr(111) + chr(51) + chr(1962 - 1909) + chr(0b1110 + 0o47), 53803 - 53795), nzTpIcepk0o8(chr(274 - 226) + '\157' + chr(0b111 + 0o54) + '\066' + chr(0b101011 + 0o7), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(218 - 167) + chr(0b110001), 0o10), nzTpIcepk0o8('\060' + '\157' + '\x33' + chr(0b110111) + chr(0b11110 + 0o23), 0b1000), nzTpIcepk0o8(chr(2147 - 2099) + chr(0b1011110 + 0o21) + chr(0b10 + 0o61) + '\x31' + chr(617 - 566), 0o10), nzTpIcepk0o8(chr(49 - 1) + chr(0b11001 + 0o126) + '\063' + '\063' + chr(55), 57285 - 57277), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(51) + '\x33', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(8680 - 8569) + '\x31' + '\x32' + '\064', 21091 - 21083), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b100100 + 0o15) + '\x32' + '\x30', 36638 - 36630), nzTpIcepk0o8(chr(0b1 + 0o57) + chr(111) + '\065' + chr(1870 - 1822), 8), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b101000 + 0o13) + chr(0b110011) + chr(51), 38840 - 38832)][ZlbFMSG8gCoF % nzTpIcepk0o8('\060' + chr(111) + '\065' + chr(0b10100 + 0o34), 8)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\x1d'), chr(0b1100000 + 0o4) + chr(0b100100 + 0o101) + '\x63' + chr(111) + chr(0b1010111 + 0o15) + chr(0b1011110 + 0o7))('\x75' + chr(4005 - 3889) + chr(0b1100110) + '\055' + chr(0b111000)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def i2DPUVF1o7RV(XvbvbiHwSGUb=roI3spqORKae(ES5oEprVxulp(b'C\x85\xa5 \xb5\x0e\x83\xf2E}\xe2\xfc\x1c[9Dv\x05'), chr(0b1100100) + chr(101) + '\143' + '\x6f' + chr(100) + '\145')(chr(0b1110101) + '\x74' + chr(0b1100110) + chr(180 - 135) + '\x38'), A2Ff6DSRgBqA=roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2Gg\xfa\xeb\x17Er^z\x02\x92H\x03\x8a'), chr(0b1100100) + '\x65' + chr(0b101111 + 0o64) + chr(4124 - 4013) + chr(0b1100100) + '\x65')(chr(0b1110001 + 0o4) + chr(0b100001 + 0o123) + chr(0b1000110 + 0o40) + chr(45) + chr(0b111000 + 0o0)), d5btEfZv4_dM=roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x8b\x10\x83\xfbCg\xa1\xed\n\\'), chr(7481 - 7381) + chr(0b1100101) + chr(2979 - 2880) + '\157' + '\x64' + '\x65')('\165' + chr(0b101100 + 0o110) + '\x66' + '\x2d' + '\x38'), EP1zz3qI8_8S=roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xe4\x08`\xf7\xed'), chr(0b1100100) + '\145' + '\143' + chr(0b1101111) + chr(0b1100100) + '\x65')(chr(9099 - 8982) + chr(9485 - 9369) + chr(0b1010110 + 0o20) + '\x2d' + chr(1433 - 1377)), NkaGetDD5YnR=roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b&\x8d\x18\x80\xb9Rl\xfb'), chr(0b1011101 + 0o7) + chr(8972 - 8871) + chr(99) + '\157' + '\x64' + chr(0b1001010 + 0o33))(chr(0b1110011 + 0o2) + chr(0b1110100) + chr(1528 - 1426) + '\055' + chr(0b10 + 0o66)), ENTX1LWuhxuJ=roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x9a\x18\x90\xfeKq\xe1\xea\\\\oD'), chr(0b1100100) + chr(1559 - 1458) + '\143' + chr(0b1101010 + 0o5) + chr(0b1010010 + 0o22) + '\x65')(chr(0b1110101) + chr(0b1101000 + 0o14) + '\x66' + '\x2d' + chr(2634 - 2578)), W8yj2bGTXUAS=roI3spqORKae(ES5oEprVxulp(b'C\x85\xa5 \xb5\x0e\x92\xfaVx\xea\xea\\\\oD'), '\144' + chr(0b1100101) + '\143' + '\x6f' + chr(0b10010 + 0o122) + '\145')('\x75' + '\x74' + '\146' + chr(0b101101) + '\x38'), iHNVvOZW2qwc=roI3spqORKae(ES5oEprVxulp(b'C\x85\xa5 \xb5\x0e\x9a\xe3Cg\xa1\xed\n\\'), '\x64' + chr(0b1010100 + 0o21) + chr(464 - 365) + '\x6f' + chr(100) + chr(2819 - 2718))(chr(0b1 + 0o164) + '\164' + '\146' + '\x2d' + chr(0b101011 + 0o15)), gwjvfAb3kLp1=roI3spqORKae(ES5oEprVxulp(b'C\x85\xa5 \xb5\x0f\x96\xe4Sx\xfb\xea\\\\oD'), chr(7077 - 6977) + chr(904 - 803) + chr(0b1100011) + '\x6f' + chr(100) + '\145')(chr(0b1001111 + 0o46) + '\x74' + '\x66' + chr(0b101101) + '\070'), lo18c6XVjV9f=roI3spqORKae(ES5oEprVxulp(b'C\x85\xa5 \xb5\x1e\x81\xfeRq\xfd\xf0\x13\x06cHz'), '\x64' + chr(0b1100101 + 0o0) + '\x63' + '\x6f' + chr(8430 - 8330) + chr(0b1011010 + 0o13))(chr(117) + chr(9890 - 9774) + chr(5578 - 5476) + chr(846 - 801) + '\x38'), KFcpynCzQNzt=roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9a\xf9U`\xfd\xec\x1fMyD}_\xc8D\x0f'), '\144' + chr(0b1100101) + chr(0b1000 + 0o133) + chr(111) + chr(100) + '\145')(chr(8276 - 8159) + chr(0b1100100 + 0o20) + chr(0b11111 + 0o107) + '\x2d' + chr(0b100101 + 0o23)), knIDsKRerFdz=nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(2213 - 2165), 0o10), JummcHpaNLEw=roI3spqORKae(ES5oEprVxulp(b'@\x9e\xa3'), '\144' + chr(101) + '\x63' + chr(0b1001101 + 0o42) + chr(2808 - 2708) + chr(101))('\x75' + chr(5369 - 5253) + chr(102) + '\055' + chr(0b100100 + 0o24)), qjksZ7GK0xkJ=roI3spqORKae(ES5oEprVxulp(b'\x1d'), chr(0b1100100) + '\x65' + chr(9122 - 9023) + chr(0b1101111) + chr(100) + chr(0b1100101))(chr(117) + '\164' + '\x66' + chr(45) + '\070'), SoE2NgEu38YK=[], W0uDj__ajycG=[roI3spqORKae(ES5oEprVxulp(b'w\xa9\xe9\x06\xa9P\xb2\xc5k'), chr(0b1011011 + 0o11) + chr(0b1100101) + '\x63' + chr(0b10010 + 0o135) + chr(6115 - 6015) + chr(0b1100101))('\x75' + '\x74' + chr(0b1100110) + chr(0b100110 + 0o7) + chr(1064 - 1008)), roI3spqORKae(ES5oEprVxulp(b'w\xa9\xe9\x06\xa9P\xa7\xc5k'), '\144' + chr(101) + chr(1055 - 956) + '\157' + chr(3984 - 3884) + '\x65')('\x75' + '\164' + chr(0b1100110) + chr(0b100111 + 0o6) + chr(0b111000))], nKUAs3HG0RP8=roI3spqORKae(ES5oEprVxulp(b'T'), chr(9680 - 9580) + '\145' + chr(0b101000 + 0o73) + '\x6f' + chr(100) + '\145')(chr(117) + '\x74' + chr(0b111111 + 0o47) + chr(0b10000 + 0o35) + chr(56)), E63X9RhwfuOn=roI3spqORKae(ES5oEprVxulp(b''), chr(0b1011000 + 0o14) + '\x65' + '\143' + '\x6f' + '\144' + '\145')(chr(117) + chr(3392 - 3276) + chr(1656 - 1554) + '\055' + chr(1402 - 1346)), xTlWVEf64z7P=roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"'), chr(0b100110 + 0o76) + chr(0b11110 + 0o107) + chr(2849 - 2750) + chr(0b1101111) + '\x64' + '\145')(chr(117) + chr(3336 - 3220) + chr(102) + '\x2d' + chr(0b111000)), vSfC_b7sOaUT=nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(49), 21071 - 21063), EXonMtj3JhTF=[roI3spqORKae(ES5oEprVxulp(b']\x87\xaa"'), chr(0b1000 + 0o134) + '\x65' + chr(818 - 719) + '\157' + chr(0b1100100) + '\145')('\165' + chr(116) + chr(0b100011 + 0o103) + chr(45) + '\x38')], mWPO4uLs4XrZ=nzTpIcepk0o8(chr(0b101110 + 0o2) + chr(8419 - 8308) + '\060', 8), yukBe87Vp4cn=nzTpIcepk0o8(chr(0b1010 + 0o46) + chr(111) + chr(0b110000), 8), TC327BFQOp96=nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\060', 8), IMwskhRHKp2b=nzTpIcepk0o8(chr(0b110000) + chr(111) + '\060', 8), avoKQKQ_SOYE=nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b110000), 8), Hm2XVyXJQEvm=nzTpIcepk0o8(chr(0b100110 + 0o12) + '\x6f' + chr(48), 8), axlyLZRoXPy3=nzTpIcepk0o8(chr(0b101 + 0o53) + '\157' + chr(1852 - 1804), 8), SHttm80uWiR7=nzTpIcepk0o8('\060' + '\157' + '\060', 8), H3e6fcPLrJx2=roI3spqORKae(ES5oEprVxulp(b'W\x8d\xa2&\x9f\x11\x87'), chr(0b1100100) + chr(2517 - 2416) + '\x63' + chr(0b1000011 + 0o54) + chr(5394 - 5294) + '\x65')('\x75' + '\164' + chr(0b1100110) + chr(0b10111 + 0o26) + chr(56))):
knIDsKRerFdz = nzTpIcepk0o8('\x30' + '\x6f' + chr(892 - 844), 8)
zbycKiPOL7gu = []
uNg9Yeq376oN = hUcsWwAd0nE_.get_version()
eemPYp2vtTSr = bpyfpu4kTbwL.ajIDWyXMBa3b
kIVGjQ8mAlJs = roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(101) + chr(0b101001 + 0o72) + chr(0b1101111) + chr(0b1100100) + chr(642 - 541))('\x75' + chr(0b1111 + 0o145) + chr(102) + chr(0b101101) + chr(0b100011 + 0o25))
(Q0qvTq3rwHlH, M_cN9LZ915Mh, QDMG_vONB9j2) = (nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\x30', 8), nzTpIcepk0o8(chr(920 - 872) + chr(0b1000100 + 0o53) + chr(48), 8), nzTpIcepk0o8(chr(48) + '\157' + chr(80 - 32), 8))
hGJMcqJvesue = []
kbyrRlzgimdv = [roI3spqORKae(ES5oEprVxulp(b'w\xa9\xe9\t\xa6'), chr(0b111 + 0o135) + '\x65' + '\x63' + chr(0b1010 + 0o145) + chr(0b1100100) + chr(101))('\x75' + chr(116) + '\x66' + chr(0b101101) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'w\xa9\xe9\x06\xa9'), chr(0b1100100) + '\145' + '\143' + chr(0b1101111) + chr(5153 - 5053) + '\x65')(chr(8385 - 8268) + chr(0b111111 + 0o65) + chr(0b111000 + 0o56) + chr(297 - 252) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'w\xa9\xe9\x04\xb8'), '\x64' + chr(0b1100101) + chr(2981 - 2882) + '\x6f' + chr(0b11001 + 0o113) + chr(0b10100 + 0o121))(chr(0b1110101) + chr(116) + chr(102) + chr(0b101101) + '\x38')]
for cK0spuY7c9sR in SoE2NgEu38YK:
roI3spqORKae(kbyrRlzgimdv, roI3spqORKae(ES5oEprVxulp(b'C\xa5\xa8\x12\x82\x19\xc1\xddK_\xce\xdc'), '\x64' + '\x65' + chr(0b1000111 + 0o34) + '\157' + chr(0b1100011 + 0o1) + chr(101))(chr(0b1110101) + '\164' + '\x66' + chr(0b101101) + '\x38'))(roI3spqORKae(ES5oEprVxulp(b'w\xa9\xe9'), '\x64' + '\145' + chr(0b1001000 + 0o33) + '\x6f' + chr(2344 - 2244) + '\145')(chr(0b11010 + 0o133) + '\x74' + '\x66' + '\055' + chr(0b111000)) + cK0spuY7c9sR)
roI3spqORKae(hGJMcqJvesue, roI3spqORKae(ES5oEprVxulp(b'{\xbc\x97s\x92\x1a\xb4\xf8L{\xda\xac'), chr(100) + '\x65' + '\x63' + chr(111) + chr(0b1010001 + 0o23) + chr(4594 - 4493))(chr(4791 - 4674) + '\x74' + '\x66' + chr(399 - 354) + chr(2135 - 2079)))(roI3spqORKae(ES5oEprVxulp(b'w\xa9\xe9'), chr(7463 - 7363) + chr(101) + chr(99) + chr(0b110 + 0o151) + '\144' + chr(0b100110 + 0o77))('\x75' + chr(116) + '\146' + '\x2d' + chr(2270 - 2214)) + cK0spuY7c9sR)
for fSdw5wwLo9MO in W0uDj__ajycG:
if not roI3spqORKae(fSdw5wwLo9MO, roI3spqORKae(ES5oEprVxulp(b'@\x9c\xa55\x9e\x0e\x84\xfeR|'), chr(858 - 758) + chr(0b1001101 + 0o30) + '\143' + chr(0b1100001 + 0o16) + '\x64' + chr(0b1100101))('\165' + '\164' + '\146' + chr(0b100010 + 0o13) + chr(56)))(roI3spqORKae(ES5oEprVxulp(b'w\xa9\xe9\x06\xa9P'), chr(0b1100100) + '\x65' + '\143' + chr(0b10101 + 0o132) + '\144' + chr(101))(chr(3519 - 3402) + chr(0b101101 + 0o107) + chr(102) + chr(45) + chr(0b10100 + 0o44))):
fSdw5wwLo9MO = roI3spqORKae(ES5oEprVxulp(b'w\xa9\xe9\x06\xa9P'), chr(100) + chr(10150 - 10049) + chr(99) + chr(0b101100 + 0o103) + chr(0b100001 + 0o103) + '\x65')('\x75' + '\164' + chr(0b1100110) + chr(45) + '\070') + fSdw5wwLo9MO
if nKUAs3HG0RP8 == roI3spqORKae(ES5oEprVxulp(b'@'), '\144' + chr(101) + chr(0b10 + 0o141) + chr(3408 - 3297) + '\x64' + chr(0b100 + 0o141))(chr(8537 - 8420) + chr(0b1101010 + 0o12) + chr(102) + chr(45) + chr(56)):
mpRHCKgMnohP = [roI3spqORKae(ES5oEprVxulp(b'\x1e\xd9'), chr(0b101111 + 0o65) + chr(0b1010101 + 0o20) + chr(7554 - 7455) + chr(0b101100 + 0o103) + chr(2241 - 2141) + '\145')(chr(13237 - 13120) + chr(116) + chr(0b1100110) + chr(0b101101) + '\x38')]
if nKUAs3HG0RP8 == roI3spqORKae(ES5oEprVxulp(b'T'), '\144' + chr(0b1100101) + chr(0b1100011) + '\x6f' + '\x64' + chr(0b1100101))(chr(5919 - 5802) + chr(0b1110100) + '\146' + chr(0b1011 + 0o42) + '\070'):
mpRHCKgMnohP = [roI3spqORKae(ES5oEprVxulp(b'\x03'), chr(100) + '\145' + chr(0b1100011) + chr(0b1011010 + 0o25) + chr(100) + chr(0b1100001 + 0o4))('\165' + chr(12953 - 12837) + '\146' + chr(0b101101) + chr(56))]
if nKUAs3HG0RP8 == roI3spqORKae(ES5oEprVxulp(b'G'), chr(0b1010100 + 0o20) + '\x65' + chr(99) + chr(10901 - 10790) + '\x64' + chr(0b1100101))(chr(0b1110101) + chr(0b1100 + 0o150) + chr(3796 - 3694) + chr(0b101101) + chr(56)):
mpRHCKgMnohP = [roI3spqORKae(ES5oEprVxulp(b'\x02\xd8\xf4'), chr(0b1100100) + chr(0b1001000 + 0o35) + chr(0b110100 + 0o57) + chr(0b11100 + 0o123) + '\144' + chr(2077 - 1976))(chr(3903 - 3786) + '\164' + '\x66' + chr(0b1011 + 0o42) + chr(56))]
if nKUAs3HG0RP8 == roI3spqORKae(ES5oEprVxulp(b'Q'), chr(0b1100100) + chr(0b1100101) + chr(99) + '\x6f' + chr(0b1100100) + chr(7269 - 7168))('\x75' + chr(9519 - 9403) + chr(9432 - 9330) + '\x2d' + '\x38'):
mpRHCKgMnohP = [roI3spqORKae(ES5oEprVxulp(b'\x03'), chr(0b1100100) + chr(0b1010010 + 0o23) + '\143' + '\x6f' + '\x64' + chr(0b1100101))('\165' + '\x74' + '\x66' + chr(45) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\x02\xd8\xf4'), chr(0b1010010 + 0o22) + chr(101) + chr(0b110111 + 0o54) + '\157' + '\144' + chr(10049 - 9948))(chr(0b1101 + 0o150) + '\x74' + chr(0b1100110) + chr(1437 - 1392) + '\x38')]
if xTlWVEf64z7P == roI3spqORKae(ES5oEprVxulp(b'@\x89\xa97\x86\x18'), '\144' + chr(101) + chr(2553 - 2454) + chr(111) + chr(100) + chr(0b1100101))(chr(0b1100001 + 0o24) + chr(116) + chr(0b1100110) + '\055' + chr(0b100011 + 0o25)):
c7ochxxytF5t = nzTpIcepk0o8(chr(48) + chr(0b101 + 0o152) + '\061', 8)
else:
c7ochxxytF5t = nzTpIcepk0o8(chr(1449 - 1401) + '\x6f' + '\060', 8)
if vSfC_b7sOaUT:
EDO63r3948SF = nzTpIcepk0o8(chr(48) + chr(9759 - 9648) + chr(48), 8)
else:
EDO63r3948SF = nzTpIcepk0o8(chr(0b101100 + 0o4) + chr(111) + chr(0b11010 + 0o27), 8)
if not Hm2XVyXJQEvm:
if axlyLZRoXPy3 and SHttm80uWiR7:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'J\x87\xb1g\x99\x15\x9c\xe2Jp\xaf\xea\x17\\7Q.\x01\xddP\x1e\x91\xd5\x94\x1c\x97\x03p\xd3\x88\xd2\x7f\x90\xa7\xba;\x1b\x02\x08\xae@\x8d\xe47\x98\x18\x80\xf2H`\xaf\xfd\x13Q7\\o\x05\x9c\x11[\x90\xd6\x81H\x9c\x18q\xdf'), chr(0b1100100) + '\145' + '\x63' + chr(0b10011 + 0o134) + chr(0b1100100) + '\x65')(chr(117) + chr(0b1110100) + chr(0b1100110) + chr(0b10111 + 0o26) + chr(2512 - 2456)))
return nzTpIcepk0o8(chr(2212 - 2164) + '\157' + chr(0b10011 + 0o35), 8)
elif axlyLZRoXPy3:
s3zmYg73PwF1 = nzTpIcepk0o8(chr(0b110000) + '\157' + chr(49), 8)
elif SHttm80uWiR7:
s3zmYg73PwF1 = nzTpIcepk0o8('\x30' + chr(111) + chr(50), 19519 - 19511)
try:
kIVGjQ8mAlJs = qjksZ7GK0xkJ + roI3spqORKae(ES5oEprVxulp(b'\x1c'), chr(0b111100 + 0o50) + chr(101) + chr(99) + chr(111) + chr(0b111101 + 0o47) + chr(0b11100 + 0o111))('\165' + chr(0b1110100) + chr(102) + chr(1374 - 1329) + chr(0b110011 + 0o5)) + eemPYp2vtTSr[w5vcgUzFN3bF + nzTpIcepk0o8(chr(48) + chr(3618 - 3507) + chr(0b110001), 8)]
s3zmYg73PwF1 = nzTpIcepk0o8(chr(0b110000) + '\157' + chr(50), 8)
sqju_8GIfs5K = DnU3Rq9N5ala(kIVGjQ8mAlJs, roI3spqORKae(ES5oEprVxulp(b'A'), '\x64' + chr(8706 - 8605) + chr(99) + '\157' + '\144' + '\145')(chr(117) + chr(0b111 + 0o155) + '\x66' + chr(0b11010 + 0o23) + chr(56)))
DOOiAmY_Ikyt = []
for ffiOpFBWGmZU in roI3spqORKae(sqju_8GIfs5K, roI3spqORKae(ES5oEprVxulp(b'g\xa3\xa9+\x87(\x99\xd9w \xeb\xc0'), chr(0b1100100) + '\145' + chr(0b1001010 + 0o31) + chr(111) + chr(9362 - 9262) + '\x65')('\165' + '\x74' + '\x66' + chr(1369 - 1324) + '\070'))():
kcwEHxDkQ9g1 = {}
PT32xG247TS3 = ffiOpFBWGmZU.LfRrQOxuDvnC()
kcwEHxDkQ9g1[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), chr(0b101010 + 0o72) + '\x65' + chr(99) + chr(0b1101111) + '\x64' + '\x65')('\165' + '\164' + chr(102) + '\x2d' + chr(56))] = PT32xG247TS3[nzTpIcepk0o8('\060' + '\157' + chr(0b110000), 8)]
kcwEHxDkQ9g1[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x10\x9c\xf3Cx\xd0\xf5\x13\\'), '\x64' + chr(101) + chr(0b1100011) + chr(0b1010110 + 0o31) + '\144' + chr(6014 - 5913))('\165' + '\x74' + '\146' + '\x2d' + '\x38')] = PT32xG247TS3[nzTpIcepk0o8(chr(48) + chr(0b101001 + 0o106) + '\061', 8)]
kcwEHxDkQ9g1[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x8b\x10\x83\xfbCK\xe1\xf8\x1fM'), chr(1657 - 1557) + chr(1574 - 1473) + chr(99) + chr(0b1101111) + chr(0b11100 + 0o110) + chr(4990 - 4889))('\x75' + chr(0b101111 + 0o105) + '\146' + '\055' + '\x38')] = PT32xG247TS3[nzTpIcepk0o8(chr(0b101 + 0o53) + chr(111) + chr(0b110000), 8)]
kcwEHxDkQ9g1[roI3spqORKae(ES5oEprVxulp(b'@\x89\xa97\x86\x18\xac\xfbG`'), chr(0b110 + 0o136) + '\145' + '\x63' + '\157' + chr(100) + '\145')(chr(0b1110101) + chr(0b1110100) + chr(0b111000 + 0o56) + chr(151 - 106) + chr(0b100000 + 0o30))] = PT32xG247TS3[nzTpIcepk0o8(chr(48) + chr(111) + '\061', 8)]
roI3spqORKae(DOOiAmY_Ikyt, roI3spqORKae(ES5oEprVxulp(b'{\xbc\x97s\x92\x1a\xb4\xf8L{\xda\xac'), chr(100) + chr(101) + '\143' + chr(6382 - 6271) + chr(0b101001 + 0o73) + chr(7142 - 7041))(chr(0b1110101) + '\x74' + '\x66' + chr(0b100111 + 0o6) + chr(1600 - 1544)))(kcwEHxDkQ9g1)
roI3spqORKae(sqju_8GIfs5K, roI3spqORKae(ES5oEprVxulp(b'P\x84\xab4'), chr(0b1100100) + chr(0b1100101) + chr(0b1100011) + '\x6f' + chr(0b1100100) + '\x65')('\x75' + chr(0b100011 + 0o121) + chr(4438 - 4336) + '\x2d' + chr(2334 - 2278)))()
except UtiWT6f6p9yZ:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'F\x9b\xa1\x18\x9a\x1c\x9f\xf2Ix\xee\xed\x1b\\bTkQ\xd3L\x0f\x97\xd6\x9bH\x8c\x12t\xc2\x84\x80|\x8a\xeb\xbe;"1D\xb2W\xc8\xb4&\x86\x18\x9c\xfbG`\xe6\xed\x07Lr\x10h\x18\xd0Y'), '\x64' + chr(2261 - 2160) + chr(612 - 513) + '\157' + '\x64' + chr(1688 - 1587))('\x75' + chr(116) + chr(3921 - 3819) + chr(0b10111 + 0o26) + '\x38'))
else:
s3zmYg73PwF1 = nzTpIcepk0o8('\060' + chr(0b1011000 + 0o27) + '\x30', 8)
if knIDsKRerFdz and (not avoKQKQ_SOYE):
QInPetUHLF4P = {}
QInPetUHLF4P[roI3spqORKae(ES5oEprVxulp(b'V\x99\xa55\x8f\x1c'), chr(0b111111 + 0o45) + chr(3703 - 3602) + chr(0b1100011) + '\157' + chr(0b111110 + 0o46) + chr(0b1100101))(chr(0b1110101) + '\x74' + chr(102) + '\055' + chr(1279 - 1223))] = nzTpIcepk0o8('\060' + chr(0b1101111) + '\061', 8)
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'C\x84\xab3\xb5\x14\x9d\xfeR'), chr(0b1100100) + chr(0b1100101) + chr(9103 - 9004) + '\x6f' + chr(0b1100011 + 0o1) + chr(0b110100 + 0o61))(chr(0b1110101) + '\164' + '\x66' + chr(848 - 803) + chr(0b111000)))(QInPetUHLF4P[roI3spqORKae(ES5oEprVxulp(b'V\x99\xa55\x8f\x1c'), chr(0b1100100) + chr(0b10110 + 0o117) + chr(5228 - 5129) + chr(0b1011100 + 0o23) + chr(0b1100100) + chr(0b100011 + 0o102))(chr(4331 - 4214) + chr(0b1111 + 0o145) + chr(8631 - 8529) + chr(0b101101) + '\070')], nzTpIcepk0o8(chr(0b1110 + 0o42) + '\x6f' + chr(1026 - 973), 8), nzTpIcepk0o8(chr(0b11111 + 0o21) + '\157' + '\x35', 8))
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'C\x84\xab3\xb5\x13\x96\xe3'), chr(6955 - 6855) + chr(0b0 + 0o145) + chr(1471 - 1372) + chr(0b11111 + 0o120) + chr(100) + '\145')(chr(0b1010100 + 0o41) + chr(116) + chr(4041 - 3939) + chr(1382 - 1337) + chr(1936 - 1880)))(QInPetUHLF4P[roI3spqORKae(ES5oEprVxulp(b'V\x99\xa55\x8f\x1c'), chr(5000 - 4900) + chr(101) + chr(99) + '\x6f' + chr(0b1100011 + 0o1) + '\145')(chr(0b11 + 0o162) + chr(116) + '\x66' + '\x2d' + chr(56))])
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'W\x9a\xa50\xb5\x1b\x9a\xf0U'), chr(0b1100100) + '\145' + '\x63' + chr(111) + '\x64' + '\145')('\165' + chr(0b1110100) + chr(0b1010010 + 0o24) + chr(0b101101) + chr(56)))(QInPetUHLF4P)
XvbvbiHwSGUb = aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, XvbvbiHwSGUb)
A2Ff6DSRgBqA = aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, A2Ff6DSRgBqA)
KFcpynCzQNzt = aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, KFcpynCzQNzt)
d5btEfZv4_dM = aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, d5btEfZv4_dM)
EP1zz3qI8_8S = aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, EP1zz3qI8_8S)
NkaGetDD5YnR = aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, NkaGetDD5YnR)
ENTX1LWuhxuJ = aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, ENTX1LWuhxuJ)
W8yj2bGTXUAS = aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, W8yj2bGTXUAS)
iHNVvOZW2qwc = aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, iHNVvOZW2qwc)
gwjvfAb3kLp1 = aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, gwjvfAb3kLp1)
lo18c6XVjV9f = aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, lo18c6XVjV9f)
if H3e6fcPLrJx2 == roI3spqORKae(ES5oEprVxulp(b']\x87\xaa"'), chr(0b1100100) + chr(101) + '\x63' + chr(0b1100101 + 0o12) + '\x64' + '\145')(chr(0b1110101) + '\164' + '\146' + chr(45) + '\070'):
(Q0qvTq3rwHlH, M_cN9LZ915Mh, QDMG_vONB9j2) = (nzTpIcepk0o8(chr(0b11011 + 0o25) + '\157' + chr(0b101000 + 0o11), 8), nzTpIcepk0o8('\x30' + chr(0b1011111 + 0o20) + '\061', 8), nzTpIcepk0o8(chr(0b11 + 0o55) + chr(2636 - 2525) + '\x31', 8))
zjHsxINLONBF = hUcsWwAd0nE_.default_criteria(QDMG_vONB9j2)
elif H3e6fcPLrJx2 == roI3spqORKae(ES5oEprVxulp(b'W\x8d\xa2&\x9f\x11\x87'), '\144' + chr(101) + chr(0b1100011) + chr(4220 - 4109) + chr(0b101010 + 0o72) + chr(101))('\165' + '\x74' + '\x66' + chr(0b10011 + 0o32) + chr(56)):
zjHsxINLONBF = hUcsWwAd0nE_.default_criteria(QDMG_vONB9j2)
elif H3e6fcPLrJx2 == roI3spqORKae(ES5oEprVxulp(b'V\x90\xad4\x9e\x14\x9d\xf0'), '\144' + '\145' + chr(99) + chr(0b1101111) + chr(0b1100100) + chr(101))(chr(571 - 454) + '\164' + chr(0b100 + 0o142) + chr(45) + '\070'):
(zjHsxINLONBF, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(lo18c6XVjV9f)
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'r\x8b\xa7"\x9a\t\x92\xf9Eq\xaf\xfa\x00AcU|\x18\xdd\x1c\t\x9b\xd8\x91H\x97\x19%\xd1\x9f\x9dt\xd9'), chr(0b1100100) + '\145' + chr(0b1100011) + chr(111) + chr(100) + chr(8857 - 8756))(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + chr(0b100110 + 0o7) + chr(0b111000)), lo18c6XVjV9f)
XhU32ebQD6zL = {}
for ICyvQLkPkE0k in zjHsxINLONBF:
for QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(ICyvQLkPkE0k, roI3spqORKae(ES5oEprVxulp(b'X\x8d\xbd4'), '\144' + '\x65' + '\143' + chr(8148 - 8037) + '\x64' + chr(8746 - 8645))('\x75' + '\x74' + '\146' + chr(1060 - 1015) + chr(1602 - 1546)))()):
if roI3spqORKae(ES5oEprVxulp(b'z\xad\xe9\x14\xba8\xb0'), chr(1037 - 937) + '\x65' + chr(0b110110 + 0o55) + chr(666 - 555) + '\144' + '\145')(chr(4689 - 4572) + '\x74' + chr(0b1010010 + 0o24) + chr(1011 - 966) + '\070') in H4NoA26ON7iG(roI3spqORKae(ICyvQLkPkE0k, roI3spqORKae(ES5oEprVxulp(b'X\x8d\xbd4'), chr(0b1100100) + chr(0b11001 + 0o114) + chr(99) + '\157' + chr(0b1001100 + 0o30) + '\145')(chr(117) + chr(0b1110100) + '\146' + chr(45) + chr(0b110111 + 0o1)))()) and roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9yp\xee\xf7\x15'), chr(0b101011 + 0o71) + chr(0b1100101) + chr(0b1100011) + '\x6f' + chr(100) + chr(7243 - 7142))(chr(117) + chr(0b1110100) + '\146' + chr(0b101101) + '\x38') in H4NoA26ON7iG(roI3spqORKae(ICyvQLkPkE0k, roI3spqORKae(ES5oEprVxulp(b'X\x8d\xbd4'), chr(0b100011 + 0o101) + '\145' + chr(0b111011 + 0o50) + chr(8249 - 8138) + chr(4192 - 4092) + chr(0b101101 + 0o70))('\165' + '\x74' + chr(102) + '\x2d' + chr(0b111000)))()) and (roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9y}\xe1\xed-Lv^i'), chr(0b10001 + 0o123) + chr(0b1100101) + '\x63' + chr(111) + chr(0b1100100) + chr(0b1100101))(chr(0b101111 + 0o106) + chr(0b1101100 + 0o10) + chr(102) + '\055' + '\070') not in H4NoA26ON7iG(roI3spqORKae(ICyvQLkPkE0k, roI3spqORKae(ES5oEprVxulp(b'X\x8d\xbd4'), chr(0b1100100) + chr(0b1100101) + chr(6212 - 6113) + chr(0b1101111) + chr(8624 - 8524) + chr(0b11110 + 0o107))(chr(4529 - 4412) + chr(13227 - 13111) + chr(0b10110 + 0o120) + '\055' + chr(0b111000)))())):
ICyvQLkPkE0k[roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9y}\xe1\xed-Lv^i'), '\144' + '\145' + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + '\145')(chr(2995 - 2878) + chr(11686 - 11570) + chr(0b1100110) + chr(1836 - 1791) + '\x38')] = ICyvQLkPkE0k[roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9yp\xee\xf7\x15'), '\x64' + '\x65' + chr(6122 - 6023) + chr(5960 - 5849) + '\144' + chr(0b11110 + 0o107))('\165' + chr(5543 - 5427) + chr(102) + chr(631 - 586) + chr(0b111000 + 0o0))]
del ICyvQLkPkE0k[roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9yp\xee\xf7\x15'), chr(0b1100100) + chr(0b11 + 0o142) + '\x63' + chr(0b1011000 + 0o27) + chr(0b1001001 + 0o33) + chr(0b100000 + 0o105))('\x75' + chr(2385 - 2269) + '\146' + chr(45) + chr(56))]
if roI3spqORKae(ES5oEprVxulp(b'@\x89\xa97\x86\x18\xac\xfeH`\xd0\xea\x1bOzQQ\x04\xe8'), '\144' + '\145' + chr(0b1000101 + 0o36) + chr(111) + chr(100) + '\145')('\165' + chr(0b1110100) + '\x66' + chr(45) + chr(0b1111 + 0o51)) in H4NoA26ON7iG(roI3spqORKae(ICyvQLkPkE0k, roI3spqORKae(ES5oEprVxulp(b'X\x8d\xbd4'), chr(0b1100100) + chr(3985 - 3884) + '\143' + chr(111) + chr(100) + chr(0b1000 + 0o135))(chr(0b1110101) + chr(0b10101 + 0o137) + '\x66' + '\x2d' + chr(0b111000)))()):
ICyvQLkPkE0k[roI3spqORKae(ES5oEprVxulp(b'@\x89\xa97\x86\x18\xac\xfeH`\xd0\xea\x1bOzQ'), '\144' + chr(101) + chr(2233 - 2134) + '\157' + '\144' + chr(101))('\165' + '\164' + '\146' + chr(818 - 773) + chr(2276 - 2220))] = roI3spqORKae(ES5oEprVxulp(b'\x16\xd9\xf4i\xd9\x18'), '\144' + '\x65' + chr(0b1100011) + chr(801 - 690) + '\x64' + chr(101))('\165' + chr(6525 - 6409) + chr(9591 - 9489) + chr(0b101101) + '\x38') % (Z5xOfqIptFuc(ICyvQLkPkE0k[roI3spqORKae(ES5oEprVxulp(b'@\x89\xa97\x86\x18\xac\xfeH`\xd0\xea\x1bOzQQ\x04\xe8'), '\x64' + chr(2151 - 2050) + '\143' + chr(111) + '\x64' + '\x65')('\165' + chr(116) + chr(4145 - 4043) + '\055' + chr(0b0 + 0o70))]) * 1e-06)
if QYodcsDtoGq7 not in H4NoA26ON7iG(roI3spqORKae(XhU32ebQD6zL, roI3spqORKae(ES5oEprVxulp(b'X\x8d\xbd4'), chr(100) + chr(0b11100 + 0o111) + '\143' + chr(0b1101111) + '\x64' + chr(0b1100101))(chr(0b1110101) + '\164' + chr(2180 - 2078) + chr(45) + chr(56)))()) and ICyvQLkPkE0k[QYodcsDtoGq7] != roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(101) + '\143' + chr(0b11100 + 0o123) + '\144' + chr(0b11111 + 0o106))(chr(0b100001 + 0o124) + '\x74' + '\x66' + chr(1847 - 1802) + chr(3079 - 3023)):
XhU32ebQD6zL[QYodcsDtoGq7] = ICyvQLkPkE0k[QYodcsDtoGq7]
if H3e6fcPLrJx2 == roI3spqORKae(ES5oEprVxulp(b'W\x8d\xa2&\x9f\x11\x87'), chr(0b1011010 + 0o12) + chr(0b1100101) + '\x63' + chr(0b11111 + 0o120) + '\x64' + chr(0b110001 + 0o64))('\165' + chr(116) + chr(0b1100110) + '\x2d' + chr(0b111000)):
roI3spqORKae(hUcsWwAd0nE_, roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x84\xe5O`\xea'), chr(7280 - 7180) + chr(101) + chr(0b1100011) + chr(111) + chr(2373 - 2273) + chr(9734 - 9633))('\165' + chr(0b1110100) + '\146' + chr(45) + chr(0b101111 + 0o11)))(lo18c6XVjV9f, [XhU32ebQD6zL], roI3spqORKae(ES5oEprVxulp(b'C\x85\xa5 \xb5\x1e\x81\xfeRq\xfd\xf0\x13'), '\x64' + '\x65' + chr(99) + chr(111) + chr(0b1001000 + 0o34) + '\145')(chr(0b100111 + 0o116) + chr(0b1110100) + chr(102) + chr(648 - 603) + chr(2962 - 2906)))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'9\xc8\x94*\x8b\x1a\xd3\xd4T}\xfb\xfc\x00Av\x10}\x05\xd3N\x1e\x9a\x99\x9c\x06\xde'), chr(0b1100100) + chr(7798 - 7697) + chr(99) + chr(0b1101111) + chr(0b1100100) + chr(4543 - 4442))(chr(0b1101101 + 0o10) + chr(11250 - 11134) + '\146' + chr(0b11101 + 0o20) + '\070'), lo18c6XVjV9f, roI3spqORKae(ES5oEprVxulp(b'9'), '\144' + '\145' + '\x63' + chr(0b1101111) + chr(0b110011 + 0o61) + chr(101))(chr(3641 - 3524) + chr(0b1000 + 0o154) + chr(102) + chr(1150 - 1105) + chr(0b111000)))
(CIBmZTR74rg5, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(EP1zz3qI8_8S)
(wscoTjuaAQZh, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(d5btEfZv4_dM)
Ip8r_qFlFOiJ = hUcsWwAd0nE_.get_dictitem(CIBmZTR74rg5, roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x15\x96\xfeA|\xfb'), '\144' + chr(101) + '\x63' + chr(2275 - 2164) + '\x64' + chr(0b1100101))(chr(0b1011010 + 0o33) + chr(9318 - 9202) + '\146' + '\055' + '\070'), roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(0b1010 + 0o133) + '\x63' + '\157' + '\x64' + chr(0b1100101))(chr(7565 - 7448) + '\164' + chr(1883 - 1781) + chr(0b11110 + 0o17) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'u'), '\x64' + chr(101) + chr(99) + chr(0b1101111) + chr(8634 - 8534) + chr(4665 - 4564))(chr(117) + '\x74' + '\146' + '\055' + '\x38'))
if NkaGetDD5YnR:
(LwTI1rQOCPQ5, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(NkaGetDD5YnR)
(BkI1oOCrzqWc, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(XvbvbiHwSGUb)
yVcEr9RLUVq_ = hUcsWwAd0nE_.get_dictitem(BkI1oOCrzqWc, roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9y}\xe1\xed'), chr(9465 - 9365) + '\x65' + chr(5649 - 5550) + '\x6f' + chr(100) + chr(0b1010010 + 0o23))('\165' + chr(7284 - 7168) + '\x66' + chr(45) + '\070'), roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(0b1010011 + 0o22) + '\143' + chr(9025 - 8914) + '\144' + '\145')('\x75' + '\x74' + '\x66' + '\055' + '\070'), roI3spqORKae(ES5oEprVxulp(b'u'), '\x64' + '\x65' + chr(0b1001000 + 0o33) + chr(111) + '\x64' + chr(101))(chr(0b1101010 + 0o13) + chr(0b1110100) + chr(102) + chr(45) + chr(2051 - 1995)))
(pDgH24rPPCxe, uUzugdmHdWoG) = (roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(101) + chr(3519 - 3420) + '\157' + chr(0b11100 + 0o110) + '\x65')(chr(0b100000 + 0o125) + chr(0b1110100) + chr(0b1100110) + chr(1964 - 1919) + chr(2849 - 2793)), [])
(BSbljhMZAGaC, SDKwNkUm3Omo) = ([], [])
for FKO_XxLfWbYt in BkI1oOCrzqWc:
if roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x8b\x10\x83\xfbCK\xe1\xf8\x1fM'), chr(100) + chr(0b1100101) + chr(0b1100011) + '\x6f' + chr(0b110001 + 0o63) + chr(0b111001 + 0o54))(chr(0b1101110 + 0o7) + chr(4043 - 3927) + '\146' + '\055' + chr(0b100010 + 0o26)) not in H4NoA26ON7iG(roI3spqORKae(FKO_XxLfWbYt, roI3spqORKae(ES5oEprVxulp(b'X\x8d\xbd4'), chr(0b1001001 + 0o33) + '\x65' + chr(7629 - 7530) + chr(111) + '\144' + chr(101))(chr(0b1001001 + 0o54) + chr(0b1000011 + 0o61) + chr(0b1100110) + chr(1166 - 1121) + '\x38'))()):
FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x8b\x10\x83\xfbCK\xe1\xf8\x1fM'), chr(100) + chr(0b1100101) + '\x63' + chr(111) + chr(4161 - 4061) + chr(0b1000000 + 0o45))(chr(9871 - 9754) + '\x74' + chr(0b100011 + 0o103) + '\055' + chr(741 - 685))] = roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(0b1100101) + chr(0b1010111 + 0o14) + chr(0b1101111) + chr(6666 - 6566) + '\x65')(chr(9459 - 9342) + chr(8319 - 8203) + '\x66' + chr(1045 - 1000) + chr(0b111000))
elif FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x8b\x10\x83\xfbCK\xe1\xf8\x1fM'), chr(0b1100100 + 0o0) + chr(3692 - 3591) + chr(99) + chr(111) + chr(0b10001 + 0o123) + '\x65')(chr(117) + '\x74' + chr(102) + chr(0b101101) + chr(2556 - 2500))] not in BSbljhMZAGaC:
roI3spqORKae(BSbljhMZAGaC, roI3spqORKae(ES5oEprVxulp(b'{\xbc\x97s\x92\x1a\xb4\xf8L{\xda\xac'), chr(6016 - 5916) + chr(0b1100101) + chr(4115 - 4016) + chr(2118 - 2007) + chr(0b1100100) + chr(0b111100 + 0o51))(chr(0b1110101) + chr(0b100 + 0o160) + chr(5402 - 5300) + chr(45) + chr(0b111 + 0o61)))(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x8b\x10\x83\xfbCK\xe1\xf8\x1fM'), chr(0b1100100) + chr(101) + '\143' + chr(0b110 + 0o151) + '\144' + chr(1910 - 1809))(chr(9799 - 9682) + '\x74' + chr(0b10001 + 0o125) + '\055' + chr(56))])
if roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), '\x64' + chr(970 - 869) + '\x63' + chr(111) + chr(0b1100100) + chr(0b1111 + 0o126))('\165' + chr(116) + chr(102) + chr(45) + '\x38') not in H4NoA26ON7iG(roI3spqORKae(FKO_XxLfWbYt, roI3spqORKae(ES5oEprVxulp(b'X\x8d\xbd4'), chr(0b11001 + 0o113) + chr(0b111000 + 0o55) + '\143' + chr(0b1101111) + '\x64' + chr(101))(chr(12643 - 12526) + chr(7732 - 7616) + chr(102) + chr(45) + chr(0b111000)))()):
FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), chr(9136 - 9036) + chr(501 - 400) + '\x63' + chr(0b1010100 + 0o33) + chr(100) + chr(101))(chr(0b1101000 + 0o15) + '\x74' + '\146' + chr(45) + chr(56))] = roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(101) + chr(0b1100011) + chr(0b1101111) + chr(0b1001 + 0o133) + chr(101))(chr(12583 - 12466) + chr(6989 - 6873) + chr(0b101001 + 0o75) + chr(45) + '\070')
elif FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), '\144' + '\145' + '\143' + '\x6f' + chr(0b1001000 + 0o34) + chr(9442 - 9341))(chr(11867 - 11750) + chr(116) + '\x66' + chr(1601 - 1556) + chr(0b111000))] not in SDKwNkUm3Omo:
roI3spqORKae(SDKwNkUm3Omo, roI3spqORKae(ES5oEprVxulp(b'{\xbc\x97s\x92\x1a\xb4\xf8L{\xda\xac'), chr(100) + chr(0b1100101) + chr(0b1110 + 0o125) + '\x6f' + '\144' + '\x65')('\165' + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(0b101000 + 0o20)))(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), chr(2356 - 2256) + chr(5381 - 5280) + chr(0b101001 + 0o72) + chr(0b1100100 + 0o13) + '\144' + chr(0b1100101))('\165' + chr(3630 - 3514) + '\x66' + '\x2d' + '\070')])
if roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9y}\xe1\xed'), chr(9785 - 9685) + '\145' + chr(0b1100011) + chr(10995 - 10884) + chr(100) + '\145')(chr(3661 - 3544) + chr(5949 - 5833) + '\x66' + chr(45) + chr(1485 - 1429)) not in H4NoA26ON7iG(roI3spqORKae(FKO_XxLfWbYt, roI3spqORKae(ES5oEprVxulp(b'X\x8d\xbd4'), '\144' + chr(101) + '\143' + chr(111) + chr(1141 - 1041) + chr(0b1100101))(chr(3717 - 3600) + '\164' + chr(102) + '\x2d' + '\070'))()):
FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9y}\xe1\xed'), chr(0b101011 + 0o71) + '\145' + '\143' + '\x6f' + '\x64' + chr(0b1100101))('\165' + chr(116) + chr(0b1100110) + chr(45) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(0b1100101) + chr(6593 - 6494) + '\157' + chr(4601 - 4501) + chr(101))(chr(6856 - 6739) + chr(0b1001000 + 0o54) + chr(0b1100110) + chr(0b101101) + chr(0b111000))
if roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9yw\xe0\xf4\x02wyQc\x14'), chr(0b1100100) + chr(0b1100101) + chr(99) + '\157' + chr(9062 - 8962) + '\x65')(chr(0b100010 + 0o123) + '\164' + chr(0b110101 + 0o61) + '\x2d' + '\x38') not in H4NoA26ON7iG(roI3spqORKae(FKO_XxLfWbYt, roI3spqORKae(ES5oEprVxulp(b'X\x8d\xbd4'), chr(0b1100100) + chr(101) + '\x63' + chr(10526 - 10415) + chr(310 - 210) + chr(101))(chr(0b1110101) + '\164' + chr(6312 - 6210) + '\055' + '\070'))()) or FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9yw\xe0\xf4\x02wyQc\x14'), chr(100) + '\x65' + '\x63' + '\157' + chr(0b1100100) + chr(0b1100101))('\165' + '\x74' + chr(2070 - 1968) + '\055' + '\x38')] == roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(101) + '\143' + '\x6f' + chr(0b1100100) + chr(0b1100101))('\165' + chr(3794 - 3678) + chr(6711 - 6609) + chr(133 - 88) + chr(1210 - 1154)):
FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9yw\xe0\xf4\x02wyQc\x14'), chr(100) + '\145' + chr(0b110111 + 0o54) + chr(11559 - 11448) + chr(0b101101 + 0o67) + '\145')('\165' + chr(0b11111 + 0o125) + chr(102) + chr(45) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'r'), chr(9345 - 9245) + chr(0b1100101) + chr(9066 - 8967) + chr(7581 - 7470) + chr(0b1001100 + 0o30) + chr(9705 - 9604))(chr(0b1011101 + 0o30) + chr(7147 - 7031) + '\146' + chr(1445 - 1400) + chr(56))
if FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9yw\xe0\xf4\x02wyQc\x14'), chr(100) + chr(0b101110 + 0o67) + chr(0b1100011) + chr(0b0 + 0o157) + chr(0b1100100) + chr(7276 - 7175))(chr(0b1110101) + '\164' + chr(0b101110 + 0o70) + '\055' + chr(0b101000 + 0o20))] not in zbycKiPOL7gu:
roI3spqORKae(zbycKiPOL7gu, roI3spqORKae(ES5oEprVxulp(b'{\xbc\x97s\x92\x1a\xb4\xf8L{\xda\xac'), chr(0b1100100) + chr(0b1100101) + chr(6772 - 6673) + '\x6f' + '\144' + chr(101))('\x75' + chr(12319 - 12203) + chr(0b100110 + 0o100) + chr(0b101101) + chr(56)))(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9yw\xe0\xf4\x02wyQc\x14'), chr(100) + '\x65' + chr(99) + chr(0b1101010 + 0o5) + '\x64' + chr(0b1100101))('\165' + chr(0b1101111 + 0o5) + chr(9801 - 9699) + '\x2d' + '\x38')])
FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9y`\xe6\xf5\x06wt_|\x03\xd9_\x0f\x97\xd6\x9b'), chr(473 - 373) + '\x65' + '\143' + chr(0b1101111) + chr(0b11010 + 0o112) + '\145')('\165' + chr(0b101000 + 0o114) + chr(0b110111 + 0o57) + chr(1039 - 994) + '\x38')] = FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9y`\xe6\xf5\x06wt_|\x03\xd9_\x0f\x97\xd6\x9b'), '\144' + chr(0b1100001 + 0o4) + chr(0b1100011) + chr(111) + '\x64' + chr(0b1100101))(chr(0b100110 + 0o117) + chr(0b1001011 + 0o51) + chr(0b1100110) + chr(1141 - 1096) + chr(0b111000))].kdIDrcwZTCs5(roI3spqORKae(ES5oEprVxulp(b'9'), '\144' + chr(8658 - 8557) + chr(0b1100011) + chr(0b1000 + 0o147) + chr(0b100100 + 0o100) + chr(0b1100101))(chr(0b1011011 + 0o32) + chr(0b1100000 + 0o24) + chr(0b10100 + 0o122) + chr(0b10000 + 0o35) + chr(2936 - 2880)))
if roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9y`\xe6\xf5\x06wt_|\x03\xd9_\x0f\x97\xd6\x9b'), chr(9178 - 9078) + chr(9223 - 9122) + chr(99) + chr(0b1101111) + chr(0b100001 + 0o103) + chr(0b1100101))(chr(117) + chr(0b1110100) + chr(102) + chr(0b101100 + 0o1) + chr(56)) not in H4NoA26ON7iG(roI3spqORKae(FKO_XxLfWbYt, roI3spqORKae(ES5oEprVxulp(b'X\x8d\xbd4'), chr(0b1100100) + chr(0b1100101) + chr(6146 - 6047) + chr(111) + chr(0b1100100) + '\x65')(chr(0b1110101) + chr(116) + chr(0b1000001 + 0o45) + '\x2d' + chr(0b110110 + 0o2)))()):
FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9y`\xe6\xf5\x06wt_|\x03\xd9_\x0f\x97\xd6\x9b'), chr(100) + chr(0b1100101) + chr(0b1100011) + '\x6f' + chr(100) + '\145')(chr(117) + '\164' + chr(2136 - 2034) + '\055' + chr(281 - 225))] = roI3spqORKae(ES5oEprVxulp(b'\x1e\xd9'), '\x64' + chr(101) + '\x63' + chr(111) + chr(100) + chr(0b1101 + 0o130))(chr(117) + chr(0b1110100) + chr(2442 - 2340) + '\055' + '\x38')
if FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9y`\xe6\xf5\x06wt_|\x03\xd9_\x0f\x97\xd6\x9b'), chr(100) + '\145' + chr(0b111011 + 0o50) + chr(0b1101111) + chr(0b1100100) + chr(101))(chr(0b1100101 + 0o20) + '\x74' + chr(0b1011011 + 0o13) + chr(45) + chr(0b110101 + 0o3))] not in uUzugdmHdWoG:
roI3spqORKae(uUzugdmHdWoG, roI3spqORKae(ES5oEprVxulp(b'{\xbc\x97s\x92\x1a\xb4\xf8L{\xda\xac'), chr(0b1100100) + '\145' + chr(0b1100011 + 0o0) + chr(0b1010011 + 0o34) + chr(3453 - 3353) + chr(0b110111 + 0o56))(chr(0b1110101) + chr(116) + chr(0b1100110) + '\x2d' + '\x38'))(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9y`\xe6\xf5\x06wt_|\x03\xd9_\x0f\x97\xd6\x9b'), chr(100) + chr(101) + '\x63' + '\157' + chr(549 - 449) + '\x65')('\165' + '\x74' + chr(102) + chr(45) + chr(0b111000))])
if roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9yp\xe6\xeb\x17KcYa\x1f\xe3H\x02\x8e\xdc'), chr(0b1010100 + 0o20) + chr(101) + chr(0b1100011) + chr(111) + chr(0b111101 + 0o47) + chr(8685 - 8584))(chr(0b1110101) + chr(0b1000 + 0o154) + chr(102) + '\055' + '\x38') not in H4NoA26ON7iG(roI3spqORKae(FKO_XxLfWbYt, roI3spqORKae(ES5oEprVxulp(b'X\x8d\xbd4'), chr(0b10 + 0o142) + chr(0b1100101) + chr(0b1100011) + '\x6f' + chr(100) + chr(0b1100101))('\x75' + chr(0b10001 + 0o143) + chr(102) + chr(1113 - 1068) + '\x38'))()):
FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9yp\xe6\xeb\x17KcYa\x1f\xe3H\x02\x8e\xdc'), '\x64' + chr(0b1100101) + chr(1255 - 1156) + '\x6f' + '\144' + '\145')(chr(117) + '\164' + chr(7313 - 7211) + '\x2d' + chr(2663 - 2607))] = roI3spqORKae(ES5oEprVxulp(b'_'), '\x64' + chr(101) + chr(0b111111 + 0o44) + chr(111) + chr(0b1000101 + 0o37) + '\x65')(chr(0b1110101) + chr(0b1110100) + '\x66' + chr(0b101101) + chr(56))
if roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9yp\xea\xfa'), chr(7530 - 7430) + chr(1172 - 1071) + '\143' + chr(0b1101111) + '\144' + '\x65')('\165' + chr(0b1001110 + 0o46) + chr(0b1100110) + chr(0b100100 + 0o11) + '\070') not in H4NoA26ON7iG(roI3spqORKae(FKO_XxLfWbYt, roI3spqORKae(ES5oEprVxulp(b'X\x8d\xbd4'), chr(0b11000 + 0o114) + chr(2607 - 2506) + '\x63' + '\x6f' + '\144' + '\145')(chr(117) + chr(116) + chr(0b1100110) + chr(581 - 536) + chr(0b111000)))()):
FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9yp\xe6\xeb\x17KcYa\x1f\xe3H\x02\x8e\xdc'), '\x64' + '\145' + chr(2958 - 2859) + '\157' + '\x64' + '\x65')(chr(117) + chr(0b1110100) + chr(1383 - 1281) + '\x2d' + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b''), '\x64' + '\145' + '\143' + chr(395 - 284) + chr(0b110111 + 0o55) + chr(101))(chr(13361 - 13244) + '\164' + '\146' + chr(572 - 527) + chr(0b111000))
if roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9yz'), chr(9813 - 9713) + '\x65' + chr(0b101010 + 0o71) + '\157' + chr(9639 - 9539) + chr(101))(chr(0b111001 + 0o74) + chr(1460 - 1344) + chr(0b1100 + 0o132) + chr(0b101101) + chr(1083 - 1027)) not in H4NoA26ON7iG(roI3spqORKae(FKO_XxLfWbYt, roI3spqORKae(ES5oEprVxulp(b'X\x8d\xbd4'), chr(0b1100100) + chr(5225 - 5124) + '\x63' + chr(111) + chr(0b10001 + 0o123) + '\x65')(chr(0b10 + 0o163) + chr(13277 - 13161) + chr(582 - 480) + chr(45) + '\070'))()):
FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9yz'), chr(100) + '\145' + chr(1972 - 1873) + '\x6f' + '\144' + chr(0b1100101))('\165' + chr(0b1000000 + 0o64) + '\x66' + chr(45) + chr(220 - 164))] = roI3spqORKae(ES5oEprVxulp(b''), chr(0b110010 + 0o62) + '\x65' + '\x63' + '\x6f' + chr(0b1100100) + '\145')(chr(0b1110101) + chr(116) + chr(0b1100110) + chr(45) + '\070')
if roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9yu\xe3\xe9\x1aI.\x05'), chr(100) + chr(0b1010001 + 0o24) + chr(99) + chr(0b1101111) + chr(0b1100100) + chr(0b1100101))('\165' + chr(116) + chr(0b1100110) + chr(45) + chr(0b111000)) not in H4NoA26ON7iG(roI3spqORKae(FKO_XxLfWbYt, roI3spqORKae(ES5oEprVxulp(b'X\x8d\xbd4'), '\144' + chr(101) + chr(0b1100011) + chr(0b101 + 0o152) + '\144' + chr(164 - 63))(chr(0b1110101) + chr(0b101 + 0o157) + '\146' + '\x2d' + '\x38'))()):
FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9yu\xe3\xe9\x1aI.\x05'), '\144' + '\145' + chr(0b1100011) + chr(0b1101111) + chr(100) + '\145')('\x75' + chr(0b1101 + 0o147) + chr(9892 - 9790) + chr(0b101101) + chr(56))] = roI3spqORKae(ES5oEprVxulp(b''), '\144' + '\x65' + chr(99) + '\x6f' + chr(7786 - 7686) + chr(8707 - 8606))(chr(117) + chr(5991 - 5875) + chr(6708 - 6606) + chr(91 - 46) + chr(56))
if roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), chr(9368 - 9268) + chr(101) + chr(4441 - 4342) + chr(0b1101111) + '\x64' + chr(0b1000 + 0o135))(chr(0b1110101) + '\x74' + '\x66' + chr(1906 - 1861) + '\070') not in H4NoA26ON7iG(roI3spqORKae(FKO_XxLfWbYt, roI3spqORKae(ES5oEprVxulp(b'X\x8d\xbd4'), chr(0b1110 + 0o126) + chr(0b1001011 + 0o32) + chr(99) + chr(3446 - 3335) + chr(100) + chr(101))(chr(0b101000 + 0o115) + '\x74' + chr(0b11111 + 0o107) + '\055' + chr(0b11110 + 0o32)))()):
FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), chr(100) + chr(101) + chr(0b1000111 + 0o34) + chr(0b1101111) + chr(100) + chr(0b1011101 + 0o10))(chr(7154 - 7037) + '\x74' + '\146' + chr(0b11 + 0o52) + chr(657 - 601))] = roI3spqORKae(ES5oEprVxulp(b''), chr(100) + '\145' + chr(9787 - 9688) + chr(12053 - 11942) + chr(6336 - 6236) + chr(0b1100101))(chr(6870 - 6753) + '\x74' + chr(0b1100110) + '\x2d' + '\x38')
(DUKw8HUh8qRY, NxVPbnYVtufH, EpPTGROrKrft) = ([], [], [])
roI3spqORKae(BSbljhMZAGaC, roI3spqORKae(ES5oEprVxulp(b'@\x87\xb63'), chr(1773 - 1673) + '\x65' + chr(0b10 + 0o141) + chr(111) + chr(100) + '\x65')(chr(0b1110101) + chr(116) + chr(0b11010 + 0o114) + '\055' + '\x38'))()
roI3spqORKae(SDKwNkUm3Omo, roI3spqORKae(ES5oEprVxulp(b'@\x87\xb63'), chr(0b100101 + 0o77) + chr(101) + '\x63' + chr(0b1101110 + 0o1) + '\144' + chr(0b100000 + 0o105))(chr(117) + '\164' + '\x66' + chr(1000 - 955) + chr(0b1011 + 0o55)))()
if not Hm2XVyXJQEvm:
yVcEr9RLUVq_ = hUcsWwAd0nE_.get_dictitem(BkI1oOCrzqWc, roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9y}\xe1\xed'), chr(0b110100 + 0o60) + '\x65' + '\143' + chr(0b1000010 + 0o55) + chr(0b10001 + 0o123) + chr(0b101101 + 0o70))(chr(117) + chr(8212 - 8096) + '\x66' + chr(0b1011 + 0o42) + '\x38'), roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + '\x65' + '\x63' + '\x6f' + chr(100) + '\145')('\x75' + '\164' + chr(0b1100010 + 0o4) + chr(1245 - 1200) + chr(0b10110 + 0o42)), roI3spqORKae(ES5oEprVxulp(b'u'), chr(0b1100100) + '\145' + chr(2684 - 2585) + chr(0b1101111) + chr(100) + chr(0b100001 + 0o104))(chr(3313 - 3196) + chr(116) + chr(0b1100110) + chr(45) + '\070'))
if QDMG_vONB9j2 == nzTpIcepk0o8(chr(0b110000) + chr(0b1000100 + 0o53) + chr(0b101010 + 0o6), 8):
for FKO_XxLfWbYt in yVcEr9RLUVq_:
Wi7TqqdOPL4K = hUcsWwAd0nE_.grade(FKO_XxLfWbYt, XhU32ebQD6zL, roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9y}\xe1\xed'), '\144' + chr(0b1100101) + chr(0b1100011) + '\157' + chr(0b1100100) + '\145')('\165' + chr(0b1110100) + '\x66' + chr(45) + chr(0b111000)))
if ftfygxgFas5X(Wi7TqqdOPL4K) == nzTpIcepk0o8('\060' + chr(111) + '\060', 8):
roI3spqORKae(DUKw8HUh8qRY, roI3spqORKae(ES5oEprVxulp(b'{\xbc\x97s\x92\x1a\xb4\xf8L{\xda\xac'), chr(100) + '\145' + chr(99) + '\157' + '\x64' + '\x65')(chr(0b1110101) + chr(116) + chr(0b111000 + 0o56) + chr(0b101101) + chr(1562 - 1506)))(FKO_XxLfWbYt)
else:
DUKw8HUh8qRY = yVcEr9RLUVq_[:]
if ftfygxgFas5X(hGJMcqJvesue) > nzTpIcepk0o8(chr(1793 - 1745) + chr(111) + '\060', 8) and ftfygxgFas5X(DUKw8HUh8qRY) > nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b100101 + 0o13), 8):
for cK0spuY7c9sR in hGJMcqJvesue:
DUKw8HUh8qRY = hUcsWwAd0nE_.get_dictitem(DUKw8HUh8qRY, roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), '\x64' + chr(101) + '\143' + chr(8398 - 8287) + chr(0b1000001 + 0o43) + '\x65')(chr(5993 - 5876) + '\164' + chr(0b1100110) + '\055' + '\x38'), cK0spuY7c9sR, roI3spqORKae(ES5oEprVxulp(b'[\x89\xb7'), chr(0b10100 + 0o120) + chr(0b1100101) + '\143' + '\157' + '\x64' + chr(0b10000 + 0o125))('\165' + chr(10932 - 10816) + '\146' + chr(0b101101) + chr(0b111000)))
if ftfygxgFas5X(kbyrRlzgimdv) > nzTpIcepk0o8(chr(0b10 + 0o56) + chr(9224 - 9113) + chr(1405 - 1357), 8) and ftfygxgFas5X(DUKw8HUh8qRY) > nzTpIcepk0o8(chr(0b110000) + chr(11882 - 11771) + chr(0b1 + 0o57), 8):
for cK0spuY7c9sR in kbyrRlzgimdv:
DUKw8HUh8qRY = hUcsWwAd0nE_.get_dictitem(DUKw8HUh8qRY, roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), '\144' + '\145' + chr(99) + '\x6f' + chr(0b1100100) + chr(0b1011100 + 0o11))('\165' + '\164' + chr(0b1000010 + 0o44) + '\055' + chr(0b1111 + 0o51)), cK0spuY7c9sR, roI3spqORKae(ES5oEprVxulp(b']\x87\xb0'), chr(0b111101 + 0o47) + '\x65' + chr(0b100001 + 0o102) + '\x6f' + chr(0b1110 + 0o126) + '\145')(chr(0b111110 + 0o67) + '\164' + chr(1000 - 898) + chr(0b11111 + 0o16) + chr(0b111000)))
a1Lso8Ti64pY = []
lkkkypP_QyDJ = hUcsWwAd0nE_.get_specs(DUKw8HUh8qRY)
for L66BkZPPV93j in lkkkypP_QyDJ:
bR2hV9Rj1_JV = hUcsWwAd0nE_.get_dictitem(DUKw8HUh8qRY, roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x9a\x18\x90\xfeKq\xe1\xc6\x1cIzU'), '\x64' + chr(0b1100101) + '\x63' + chr(8227 - 8116) + '\144' + chr(0b1100101))('\x75' + '\x74' + chr(0b1010 + 0o134) + '\x2d' + '\x38'), L66BkZPPV93j, roI3spqORKae(ES5oEprVxulp(b'g'), chr(100) + chr(0b11111 + 0o106) + chr(8865 - 8766) + chr(111) + chr(100) + '\x65')(chr(0b1110101) + '\x74' + chr(0b1100110) + chr(45) + chr(0b100111 + 0o21)))
if ftfygxgFas5X(bR2hV9Rj1_JV) == nzTpIcepk0o8(chr(0b110000) + chr(0b1101000 + 0o7) + '\x31', 8):
roI3spqORKae(a1Lso8Ti64pY, roI3spqORKae(ES5oEprVxulp(b'{\xbc\x97s\x92\x1a\xb4\xf8L{\xda\xac'), chr(100) + chr(0b1100101) + '\143' + '\157' + chr(100) + chr(101))(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + chr(0b1011 + 0o42) + chr(0b101111 + 0o11)))(bR2hV9Rj1_JV[nzTpIcepk0o8(chr(0b110000) + '\157' + '\060', 8)])
elif ftfygxgFas5X(bR2hV9Rj1_JV) > nzTpIcepk0o8(chr(0b100011 + 0o15) + '\x6f' + '\061', 8):
yLw4Cplx5eew = []
for fSdw5wwLo9MO in W0uDj__ajycG:
bR2hV9Rj1_JV = hUcsWwAd0nE_.get_dictitem(DUKw8HUh8qRY, roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), chr(1223 - 1123) + chr(0b101110 + 0o67) + '\x63' + '\157' + '\x64' + chr(101))('\x75' + '\164' + chr(3278 - 3176) + chr(45) + chr(0b100100 + 0o24)), fSdw5wwLo9MO, roI3spqORKae(ES5oEprVxulp(b'[\x89\xb7'), '\x64' + '\145' + '\143' + chr(111) + chr(8762 - 8662) + chr(0b1100101))(chr(5293 - 5176) + '\164' + chr(6468 - 6366) + '\x2d' + chr(0b111000)))
if ftfygxgFas5X(bR2hV9Rj1_JV) > nzTpIcepk0o8(chr(942 - 894) + '\x6f' + chr(48), 8):
roI3spqORKae(yLw4Cplx5eew, roI3spqORKae(ES5oEprVxulp(b'{\xbc\x97s\x92\x1a\xb4\xf8L{\xda\xac'), chr(100) + chr(0b1100101) + chr(0b1100011) + '\x6f' + chr(8641 - 8541) + '\x65')(chr(117) + chr(0b1000100 + 0o60) + chr(0b1100110) + '\055' + chr(0b101110 + 0o12)))(bR2hV9Rj1_JV[nzTpIcepk0o8('\060' + chr(8096 - 7985) + '\060', 8)])
roI3spqORKae(a1Lso8Ti64pY, roI3spqORKae(ES5oEprVxulp(b'{\xbc\x97s\x92\x1a\xb4\xf8L{\xda\xac'), '\x64' + chr(0b1100101) + chr(0b10101 + 0o116) + chr(4401 - 4290) + chr(0b1001000 + 0o34) + '\x65')(chr(0b1110101) + '\x74' + '\146' + '\x2d' + '\070'))(yLw4Cplx5eew[nzTpIcepk0o8('\060' + '\x6f' + '\x30', 8)])
DUKw8HUh8qRY = a1Lso8Ti64pY
if not avoKQKQ_SOYE:
cbSxF9z73xps = hUcsWwAd0nE_.get_dictitem(BkI1oOCrzqWc, roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9yp\xe6\xeb\x17KcYa\x1f\xe3H\x02\x8e\xdc'), '\x64' + chr(0b1001011 + 0o32) + '\x63' + chr(0b1101111) + '\x64' + '\x65')(chr(0b11100 + 0o131) + chr(0b11001 + 0o133) + chr(0b1011010 + 0o14) + '\055' + chr(56)), roI3spqORKae(ES5oEprVxulp(b''), chr(2321 - 2221) + '\x65' + chr(0b1100011) + '\157' + '\144' + chr(6373 - 6272))('\x75' + chr(5916 - 5800) + chr(102) + '\055' + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'u'), chr(0b1101 + 0o127) + chr(0b110011 + 0o62) + chr(5391 - 5292) + chr(0b1101111) + chr(8706 - 8606) + chr(3108 - 3007))(chr(117) + '\164' + chr(7596 - 7494) + chr(1177 - 1132) + chr(0b111000)))
WOr8SzNADYUP = hUcsWwAd0nE_.get_dictitem(cbSxF9z73xps, roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9yz'), chr(100) + chr(0b10111 + 0o116) + '\x63' + chr(0b1001110 + 0o41) + chr(0b1100100) + '\x65')(chr(6607 - 6490) + chr(0b1110100) + chr(4937 - 4835) + chr(0b100110 + 0o7) + chr(56)), roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(0b1100101) + chr(0b1100011) + chr(1897 - 1786) + chr(1858 - 1758) + chr(0b1100101))(chr(0b1110101) + chr(116) + '\146' + chr(0b101101) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'u'), '\x64' + chr(101) + chr(6506 - 6407) + '\x6f' + chr(100) + '\x65')(chr(0b110010 + 0o103) + '\x74' + '\x66' + '\x2d' + chr(0b10111 + 0o41)))
if QDMG_vONB9j2 != nzTpIcepk0o8(chr(0b110000) + '\157' + '\x31', 8):
for FKO_XxLfWbYt in WOr8SzNADYUP:
Wi7TqqdOPL4K = hUcsWwAd0nE_.grade(FKO_XxLfWbYt, XhU32ebQD6zL, roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9yp\xe6\xeb'), '\144' + '\x65' + chr(8547 - 8448) + chr(0b1101111) + '\x64' + chr(0b1001010 + 0o33))('\165' + chr(0b1110100) + chr(102) + chr(45) + chr(56)))
if ftfygxgFas5X(Wi7TqqdOPL4K) == nzTpIcepk0o8(chr(48) + chr(9897 - 9786) + chr(48), 8):
roI3spqORKae(NxVPbnYVtufH, roI3spqORKae(ES5oEprVxulp(b'{\xbc\x97s\x92\x1a\xb4\xf8L{\xda\xac'), '\144' + chr(101) + chr(0b100 + 0o137) + chr(6163 - 6052) + chr(0b1100100) + chr(0b1100101))('\165' + chr(0b1001011 + 0o51) + chr(0b1101 + 0o131) + chr(0b101101) + chr(0b1010 + 0o56)))(FKO_XxLfWbYt)
else:
NxVPbnYVtufH = cbSxF9z73xps[:]
(B_c91SsQYEwZ, TlWybVbQe5TR) = ([], [])
(ygBgX1u1bUkq, KqguM7qb1SZj) = ([], [])
LRuu8o6GxczN = []
for NrOoJ8NdaX1V in BSbljhMZAGaC:
if mWPO4uLs4XrZ:
MmAdkQx_e4zR = hUcsWwAd0nE_.get_dictitem(NxVPbnYVtufH, roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x8b\x10\x83\xfbCK\xe1\xf8\x1fM'), '\x64' + chr(0b1100001 + 0o4) + chr(99) + '\x6f' + chr(6089 - 5989) + chr(0b1011 + 0o132))('\165' + '\164' + chr(7806 - 7704) + '\x2d' + '\070'), NrOoJ8NdaX1V, roI3spqORKae(ES5oEprVxulp(b'g'), chr(0b1100100) + chr(101) + '\x63' + chr(0b1011 + 0o144) + '\144' + chr(0b1011 + 0o132))('\165' + chr(116) + '\146' + chr(0b101101) + chr(56)))
if ftfygxgFas5X(MmAdkQx_e4zR) > nzTpIcepk0o8(chr(0b110000) + chr(4786 - 4675) + chr(0b110000 + 0o0), 8):
for nKUAs3HG0RP8 in mpRHCKgMnohP:
UV5JpgukrA8V = hUcsWwAd0nE_.get_dictitem(MmAdkQx_e4zR, roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9y`\xe6\xf5\x06wt_|\x03\xd9_\x0f\x97\xd6\x9b'), chr(100) + chr(6342 - 6241) + '\143' + chr(0b1101111) + chr(0b111101 + 0o47) + '\x65')('\x75' + '\164' + chr(9160 - 9058) + chr(1324 - 1279) + chr(1757 - 1701)), nKUAs3HG0RP8, roI3spqORKae(ES5oEprVxulp(b'g'), chr(8572 - 8472) + '\x65' + '\143' + chr(0b1101111) + '\x64' + '\145')(chr(0b1110101) + chr(0b1000001 + 0o63) + chr(2359 - 2257) + chr(0b101101) + '\x38'))
if ftfygxgFas5X(UV5JpgukrA8V) > nzTpIcepk0o8('\x30' + chr(0b1001110 + 0o41) + chr(0b100111 + 0o11), 8):
if not TC327BFQOp96:
for B881keGOXOsp in zbycKiPOL7gu:
hk57_I6fDFaO = hUcsWwAd0nE_.get_dictitem(UV5JpgukrA8V, roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9yw\xe0\xf4\x02wyQc\x14'), chr(0b1001011 + 0o31) + chr(0b1100100 + 0o1) + '\143' + chr(111) + chr(9901 - 9801) + chr(101))(chr(0b1010100 + 0o41) + '\164' + chr(1521 - 1419) + chr(45) + '\x38'), B881keGOXOsp, roI3spqORKae(ES5oEprVxulp(b'g'), chr(100) + chr(0b1011101 + 0o10) + chr(8073 - 7974) + '\x6f' + '\144' + chr(6649 - 6548))('\x75' + chr(6391 - 6275) + chr(0b1000 + 0o136) + '\055' + chr(0b111000)))
if ftfygxgFas5X(hk57_I6fDFaO) > nzTpIcepk0o8(chr(0b1001 + 0o47) + chr(111) + chr(0b110000), 8):
cfKaCavMUyxj = hUcsWwAd0nE_.lnpbykey(hk57_I6fDFaO, roI3spqORKae(ES5oEprVxulp(b'@\x89\xa97\x86\x18'), chr(0b1100100) + chr(1155 - 1054) + chr(99) + chr(8653 - 8542) + '\144' + '\145')('\x75' + chr(116) + chr(102) + chr(0b1001 + 0o44) + '\070'), roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9'), '\x64' + chr(101) + '\x63' + '\x6f' + '\144' + chr(0b1100101))(chr(0b1110101) + chr(0b1010011 + 0o41) + chr(0b1100110) + '\x2d' + chr(56)))
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b+\x85\x1e\x92\xe3O{\xe1\xc6\x1cIzU'), '\144' + chr(0b1100001 + 0o4) + chr(0b1010100 + 0o17) + chr(0b1101111) + chr(0b1100100) + chr(2112 - 2011))(chr(0b1000 + 0o155) + chr(0b1110100) + '\146' + '\x2d' + chr(0b111000))] = hk57_I6fDFaO[nzTpIcepk0o8('\x30' + chr(0b1101111) + '\x30', 8)][roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b+\x85\x1e\x92\xe3O{\xe1\xc6\x1cIzU'), '\x64' + '\x65' + chr(0b110001 + 0o62) + chr(111) + '\144' + chr(101))(chr(10171 - 10054) + chr(0b1110100) + chr(3933 - 3831) + chr(692 - 647) + chr(56))]
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), '\144' + chr(7603 - 7502) + chr(99) + chr(0b100110 + 0o111) + chr(100) + chr(0b1010101 + 0o20))(chr(0b111100 + 0o71) + '\164' + '\146' + chr(0b1111 + 0o36) + chr(0b1 + 0o67))] = hk57_I6fDFaO[nzTpIcepk0o8(chr(1506 - 1458) + chr(111) + chr(48), 8)][roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), '\x64' + '\x65' + chr(0b1100011) + '\x6f' + '\144' + chr(1796 - 1695))(chr(0b1110101) + '\x74' + chr(0b1100110) + chr(943 - 898) + chr(56))]
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x8b\x10\x83\xfbCK\xe1\xf8\x1fM'), chr(100) + chr(101) + chr(3811 - 3712) + chr(111) + chr(8401 - 8301) + chr(0b110000 + 0o65))(chr(0b1110101) + chr(116) + chr(0b1100110) + chr(45) + chr(56))] = NrOoJ8NdaX1V
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b$\x83\t\x92\xe3O{\xe1\xc6\x1cIzU}'), chr(2279 - 2179) + chr(0b1100001 + 0o4) + chr(4754 - 4655) + chr(1034 - 923) + chr(0b1100100) + chr(101))(chr(0b1001100 + 0o51) + chr(8669 - 8553) + chr(7061 - 6959) + chr(0b101101) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'g\x80\xad4\xca\x0e\x87\xe2Bm'), '\x64' + chr(0b1100101) + chr(0b1100011) + '\x6f' + chr(100) + chr(101))(chr(0b1110101) + chr(116) + chr(102) + chr(45) + chr(56))
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b&\x84\x1c\x9f\xeeU`\xd0\xf4\x13A{o`\x10\xd1Y\x08'), '\144' + chr(0b1100101) + '\143' + chr(0b1101111) + chr(0b101001 + 0o73) + chr(8597 - 8496))('\165' + chr(899 - 783) + chr(102) + chr(45) + chr(56))] = E63X9RhwfuOn
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x80\xf8@`\xf8\xf8\x00MH@o\x12\xd7]\x1c\x9b\xca'), chr(6426 - 6326) + chr(8859 - 8758) + chr(0b1100011) + chr(111) + chr(100) + '\145')(chr(6387 - 6270) + chr(116) + '\146' + '\055' + '\x38')] = uNg9Yeq376oN
if hk57_I6fDFaO[nzTpIcepk0o8('\060' + chr(0b1101111) + '\060', 8)][roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9yr\xe3\xf8\x15'), '\144' + chr(0b1100101 + 0o0) + chr(7980 - 7881) + '\157' + '\144' + chr(0b111011 + 0o52))(chr(0b101010 + 0o113) + chr(11720 - 11604) + '\146' + chr(0b1100 + 0o41) + chr(56))] == roI3spqORKae(ES5oEprVxulp(b'T'), chr(0b1100100) + chr(9022 - 8921) + '\143' + chr(0b1011001 + 0o26) + chr(0b11111 + 0o105) + chr(101))('\x75' + chr(116) + '\x66' + chr(1162 - 1117) + chr(369 - 313)):
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'@\x89\xa97\x86\x18\xac\xf1Ju\xe8'), '\144' + chr(0b1100101) + chr(99) + '\x6f' + chr(100) + chr(0b100101 + 0o100))(chr(0b111101 + 0o70) + chr(0b111100 + 0o70) + chr(10117 - 10015) + '\055' + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'T'), '\144' + chr(101) + '\x63' + chr(0b11100 + 0o123) + chr(0b111111 + 0o45) + chr(0b10011 + 0o122))(chr(0b1110101) + chr(0b1110100) + chr(5896 - 5794) + chr(0b101101) + chr(1859 - 1803))
else:
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'@\x89\xa97\x86\x18\xac\xf1Ju\xe8'), chr(0b10100 + 0o120) + '\145' + chr(0b110 + 0o135) + chr(0b111110 + 0o61) + chr(8940 - 8840) + chr(2458 - 2357))('\x75' + chr(7220 - 7104) + chr(0b1000110 + 0o40) + chr(0b101101) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'Q'), chr(0b1100100) + chr(101) + chr(5328 - 5229) + '\x6f' + chr(0b1100100) + chr(3307 - 3206))(chr(117) + chr(3283 - 3167) + chr(0b1100110) + '\x2d' + '\x38')
if QDMG_vONB9j2 != nzTpIcepk0o8(chr(1346 - 1298) + chr(0b11101 + 0o122) + chr(49), 8):
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'C\x85\xa5 \xb5\x1e\x81\xfeRq\xfd\xf0\x13wt_j\x14\xcf'), '\144' + chr(0b1100101) + chr(0b1100011) + '\157' + '\x64' + chr(101))(chr(117) + '\x74' + chr(510 - 408) + '\x2d' + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'r\xab\x87\x02\xba)'), chr(0b111000 + 0o54) + chr(101) + '\143' + '\157' + '\144' + chr(0b1100101))(chr(0b1110101) + chr(116) + '\x66' + '\x2d' + chr(0b111000))
if NkaGetDD5YnR != roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(1260 - 1159) + chr(6033 - 5934) + chr(111) + chr(100) + chr(0b1100101))(chr(0b111001 + 0o74) + '\x74' + chr(0b1100110) + chr(0b101011 + 0o2) + '\x38'):
cfKaCavMUyxj = hUcsWwAd0nE_.get_age(cfKaCavMUyxj, roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), '\144' + chr(0b110101 + 0o60) + chr(0b101011 + 0o70) + chr(0b1101111) + '\144' + '\x65')(chr(117) + '\x74' + '\x66' + chr(0b100011 + 0o12) + chr(2202 - 2146)), roI3spqORKae(ES5oEprVxulp(b'@\x89\xa97\x86\x18\xac\xfeHr\xea\xeb\x00Mso'), '\x64' + chr(0b1100101) + chr(2674 - 2575) + chr(0b1101 + 0o142) + chr(2352 - 2252) + chr(101))(chr(117) + '\x74' + chr(3630 - 3528) + chr(0b101101) + '\070'), LwTI1rQOCPQ5, EXonMtj3JhTF)
tNhDgXcHTdNF = hUcsWwAd0nE_.get_dictitem(Ip8r_qFlFOiJ, roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), chr(6554 - 6454) + chr(0b110111 + 0o56) + '\x63' + chr(111) + chr(0b1011001 + 0o13) + '\145')(chr(12556 - 12439) + '\x74' + chr(10373 - 10271) + '\x2d' + chr(0b11111 + 0o31)), cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), chr(5797 - 5697) + chr(0b1100101) + chr(99) + chr(2702 - 2591) + chr(100) + '\x65')('\165' + chr(0b1101001 + 0o13) + chr(3202 - 3100) + chr(45) + chr(56))], roI3spqORKae(ES5oEprVxulp(b'g'), '\x64' + chr(7711 - 7610) + chr(0b1100011) + chr(111) + chr(100) + chr(0b1100101))(chr(9839 - 9722) + chr(0b1110100) + chr(0b1100110) + chr(0b11101 + 0o20) + chr(0b111000)))
if ftfygxgFas5X(tNhDgXcHTdNF) > nzTpIcepk0o8('\060' + chr(9738 - 9627) + '\x30', 8):
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'@\x89\xa97\x86\x18\xac\xffC}\xe8\xf1\x06'), chr(0b1100100) + chr(0b1100101) + chr(6253 - 6154) + chr(111) + '\144' + chr(0b1010111 + 0o16))(chr(0b1001110 + 0o47) + chr(0b1101011 + 0o11) + '\x66' + '\x2d' + '\x38')] = tNhDgXcHTdNF[nzTpIcepk0o8('\060' + chr(5287 - 5176) + chr(0b10001 + 0o37), 8)][roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x15\x96\xfeA|\xfb'), chr(100) + '\145' + chr(0b1100011) + '\157' + '\x64' + '\145')(chr(0b1110101) + '\x74' + chr(0b1100110) + chr(0b101101) + '\x38')]
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'@\x89\xa97\x86\x18\xac\xf4Iy\xff\xc6\x1cIzU'), chr(100) + '\145' + '\143' + chr(2113 - 2002) + chr(3790 - 3690) + '\x65')(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + '\x2d' + '\x38')] = B881keGOXOsp
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'@\x89\xa97\x86\x18\xac\xe3Ox\xfb\xc6\x11GeBk\x12\xc8U\x14\x90'), chr(7579 - 7479) + '\x65' + chr(661 - 562) + chr(111) + chr(0b1100100) + '\145')(chr(117) + chr(0b101100 + 0o110) + '\146' + chr(69 - 24) + '\x38')] = nKUAs3HG0RP8
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x9a\x18\x90\xfeKq\xe1\xc6\x1cIzU}'), chr(0b1100100) + '\145' + chr(0b1100011) + '\157' + '\144' + chr(2300 - 2199))(chr(117) + chr(0b1110100) + chr(0b111111 + 0o47) + '\055' + chr(2537 - 2481))] = hUcsWwAd0nE_.get_list(hk57_I6fDFaO, roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x9a\x18\x90\xfeKq\xe1\xc6\x1cIzU'), chr(2933 - 2833) + '\145' + chr(99) + '\x6f' + '\144' + chr(0b1001111 + 0o26))('\x75' + '\x74' + chr(0b1100110) + chr(45) + '\070'))
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), '\144' + '\145' + '\x63' + chr(0b110 + 0o151) + chr(0b1100100) + chr(0b1100101))('\165' + chr(0b1110100) + chr(0b10010 + 0o124) + '\x2d' + chr(0b111000))] = hUcsWwAd0nE_.get_list(hk57_I6fDFaO, roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), '\x64' + chr(0b1100101) + chr(2417 - 2318) + chr(1315 - 1204) + chr(100) + '\x65')(chr(117) + chr(0b1110100) + chr(102) + chr(1423 - 1378) + '\070'))
if QDMG_vONB9j2 != nzTpIcepk0o8(chr(48) + '\157' + chr(0b110001), 8):
Wi7TqqdOPL4K = hUcsWwAd0nE_.grade(cfKaCavMUyxj, XhU32ebQD6zL, roI3spqORKae(ES5oEprVxulp(b'@\x89\xa97\x86\x18\xac\xf3Of'), chr(100) + chr(101) + chr(1450 - 1351) + chr(0b1101111) + '\144' + chr(101))('\165' + chr(0b100110 + 0o116) + '\146' + chr(0b11011 + 0o22) + '\x38'))
else:
Wi7TqqdOPL4K = []
if ftfygxgFas5X(Wi7TqqdOPL4K) == nzTpIcepk0o8(chr(0b1001 + 0o47) + '\x6f' + chr(48), 8):
roI3spqORKae(TlWybVbQe5TR, roI3spqORKae(ES5oEprVxulp(b'{\xbc\x97s\x92\x1a\xb4\xf8L{\xda\xac'), '\144' + '\x65' + '\x63' + chr(0b10111 + 0o130) + chr(100) + chr(0b10110 + 0o117))('\x75' + chr(1231 - 1115) + chr(0b10000 + 0o126) + chr(403 - 358) + chr(56)))(cfKaCavMUyxj)
if c7ochxxytF5t == nzTpIcepk0o8(chr(605 - 557) + '\157' + chr(0b1111 + 0o42), 8):
brC_KUrC8IRK = hUcsWwAd0nE_.getsampVGP(cfKaCavMUyxj, CIBmZTR74rg5)
if brC_KUrC8IRK != roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(0b101111 + 0o66) + chr(99) + chr(0b1100000 + 0o17) + chr(100) + '\145')('\165' + '\x74' + '\146' + chr(0b1011 + 0o42) + chr(0b10001 + 0o47)):
roI3spqORKae(KqguM7qb1SZj, roI3spqORKae(ES5oEprVxulp(b'{\xbc\x97s\x92\x1a\xb4\xf8L{\xda\xac'), chr(0b1000000 + 0o44) + chr(9411 - 9310) + chr(0b1100010 + 0o1) + '\157' + '\144' + chr(101))(chr(0b1110101) + '\164' + chr(0b1100110) + chr(1224 - 1179) + chr(56)))(brC_KUrC8IRK)
roI3spqORKae(B_c91SsQYEwZ, roI3spqORKae(ES5oEprVxulp(b'{\xbc\x97s\x92\x1a\xb4\xf8L{\xda\xac'), '\144' + chr(101) + chr(2903 - 2804) + chr(1384 - 1273) + '\144' + chr(0b1100101))(chr(0b1110101) + '\x74' + chr(0b1100110) + chr(45) + '\x38'))(cfKaCavMUyxj)
if TC327BFQOp96:
cfKaCavMUyxj = hUcsWwAd0nE_.lnpbykey(UV5JpgukrA8V, roI3spqORKae(ES5oEprVxulp(b'@\x89\xa97\x86\x18'), chr(0b111001 + 0o53) + chr(101) + chr(0b111110 + 0o45) + chr(111) + chr(0b1100100) + chr(0b111100 + 0o51))('\165' + chr(116) + '\146' + chr(45) + chr(58 - 2)), roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9'), chr(0b101110 + 0o66) + chr(101) + chr(1985 - 1886) + chr(0b1101111) + chr(0b1000000 + 0o44) + '\145')(chr(0b110110 + 0o77) + chr(0b1101100 + 0o10) + chr(6992 - 6890) + '\055' + chr(0b11011 + 0o35)))
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b+\x85\x1e\x92\xe3O{\xe1\xc6\x1cIzU'), '\x64' + chr(7597 - 7496) + chr(1526 - 1427) + chr(0b1101111) + chr(0b1011101 + 0o7) + chr(0b1100011 + 0o2))(chr(117) + chr(5541 - 5425) + '\146' + '\055' + chr(56))] = UV5JpgukrA8V[nzTpIcepk0o8(chr(48) + chr(0b1101011 + 0o4) + chr(0b1101 + 0o43), 8)][roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b+\x85\x1e\x92\xe3O{\xe1\xc6\x1cIzU'), chr(0b1001000 + 0o34) + chr(101) + '\x63' + '\157' + '\x64' + chr(0b11001 + 0o114))(chr(117) + '\164' + '\146' + '\055' + '\070')]
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), chr(6693 - 6593) + chr(0b1100101) + chr(99) + chr(11999 - 11888) + chr(0b11000 + 0o114) + '\x65')(chr(4035 - 3918) + chr(5566 - 5450) + chr(0b100101 + 0o101) + '\055' + '\x38')] = UV5JpgukrA8V[nzTpIcepk0o8('\060' + chr(0b1101111) + chr(865 - 817), 8)][roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), chr(100) + '\x65' + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(101))(chr(0b1110101) + chr(116) + '\x66' + chr(45) + chr(0b101000 + 0o20))]
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x8b\x10\x83\xfbCK\xe1\xf8\x1fM'), '\144' + chr(0b110110 + 0o57) + chr(0b1100011) + chr(11425 - 11314) + '\x64' + '\x65')(chr(6933 - 6816) + '\x74' + chr(0b1100110) + '\055' + chr(2137 - 2081))] = NrOoJ8NdaX1V
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b$\x83\t\x92\xe3O{\xe1\xc6\x1cIzU}'), chr(0b1100010 + 0o2) + chr(3753 - 3652) + chr(0b101 + 0o136) + chr(0b1011 + 0o144) + chr(0b111100 + 0o50) + chr(0b1100101))(chr(0b1110101) + chr(7273 - 7157) + '\146' + chr(0b101101) + chr(2139 - 2083))] = roI3spqORKae(ES5oEprVxulp(b'g\x80\xad4\xca\x0e\x87\xe2Bm'), chr(3109 - 3009) + '\145' + chr(2178 - 2079) + chr(111) + chr(0b111011 + 0o51) + '\145')(chr(0b1110101) + chr(0b1110100) + chr(0b1010110 + 0o20) + chr(45) + chr(1180 - 1124))
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b&\x84\x1c\x9f\xeeU`\xd0\xf4\x13A{o`\x10\xd1Y\x08'), '\x64' + '\145' + chr(995 - 896) + chr(0b111000 + 0o67) + '\x64' + chr(0b1001011 + 0o32))(chr(0b1110101) + chr(0b1110100) + '\146' + chr(0b11 + 0o52) + chr(0b101001 + 0o17))] = E63X9RhwfuOn
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x80\xf8@`\xf8\xf8\x00MH@o\x12\xd7]\x1c\x9b\xca'), chr(0b11111 + 0o105) + chr(4157 - 4056) + '\143' + '\x6f' + '\144' + '\x65')('\165' + '\x74' + '\146' + chr(0b101100 + 0o1) + chr(0b10100 + 0o44))] = uNg9Yeq376oN
if qX60lO1lgHA5((ZlbFMSG8gCoF[roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9yr\xe3\xf8\x15'), chr(100) + chr(6477 - 6376) + '\143' + chr(0b1011111 + 0o20) + '\144' + chr(1599 - 1498))(chr(4680 - 4563) + '\x74' + chr(102) + chr(45) + chr(56))] == roI3spqORKae(ES5oEprVxulp(b'T'), chr(8605 - 8505) + chr(4481 - 4380) + chr(3837 - 3738) + chr(0b1101111) + '\144' + chr(2361 - 2260))('\165' + chr(116) + chr(7828 - 7726) + chr(0b10111 + 0o26) + '\070') for ZlbFMSG8gCoF in UV5JpgukrA8V)):
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'@\x89\xa97\x86\x18\xac\xf1Ju\xe8'), chr(100) + '\x65' + chr(99) + '\x6f' + chr(7422 - 7322) + chr(6777 - 6676))('\165' + '\x74' + chr(0b1100110) + chr(0b1101 + 0o40) + '\070')] = roI3spqORKae(ES5oEprVxulp(b'T'), '\x64' + chr(465 - 364) + '\x63' + chr(0b1101111) + chr(100) + '\145')(chr(117) + '\x74' + chr(0b11110 + 0o110) + chr(45) + '\x38')
else:
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'@\x89\xa97\x86\x18\xac\xf1Ju\xe8'), '\144' + chr(0b1100101) + chr(9028 - 8929) + '\x6f' + chr(0b1100100) + '\x65')('\x75' + '\x74' + chr(0b101000 + 0o76) + chr(1838 - 1793) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'Q'), chr(0b110010 + 0o62) + chr(101) + chr(99) + chr(0b110001 + 0o76) + '\144' + chr(5683 - 5582))(chr(0b1110101) + '\164' + chr(0b101111 + 0o67) + chr(1801 - 1756) + chr(2747 - 2691))
if QDMG_vONB9j2 != nzTpIcepk0o8('\060' + chr(0b1101111) + chr(49), 8):
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'C\x85\xa5 \xb5\x1e\x81\xfeRq\xfd\xf0\x13wt_j\x14\xcf'), chr(100) + '\x65' + chr(0b1100011) + chr(5490 - 5379) + '\x64' + '\x65')(chr(0b1110101) + chr(116) + chr(102) + chr(0b11 + 0o52) + chr(2755 - 2699))] = roI3spqORKae(ES5oEprVxulp(b''), chr(5893 - 5793) + chr(0b101110 + 0o67) + chr(0b10011 + 0o120) + chr(5449 - 5338) + chr(0b1100100) + chr(4202 - 4101))('\165' + '\x74' + '\146' + chr(45) + chr(56))
if NkaGetDD5YnR != roI3spqORKae(ES5oEprVxulp(b''), chr(0b1010100 + 0o20) + chr(0b1010101 + 0o20) + '\x63' + chr(111) + '\144' + '\x65')(chr(0b1110101) + '\164' + '\x66' + chr(0b100000 + 0o15) + '\x38'):
cfKaCavMUyxj = hUcsWwAd0nE_.get_age(cfKaCavMUyxj, roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), '\x64' + chr(101) + '\143' + chr(111) + chr(0b110000 + 0o64) + chr(0b1100101))(chr(117) + '\164' + '\146' + chr(0b101101) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'@\x89\xa97\x86\x18\xac\xfeHr\xea\xeb\x00Mso'), chr(0b111000 + 0o54) + chr(6359 - 6258) + chr(99) + chr(12263 - 12152) + chr(0b1100100) + chr(101))(chr(1716 - 1599) + '\x74' + '\x66' + '\055' + '\070'), LwTI1rQOCPQ5, EXonMtj3JhTF)
tNhDgXcHTdNF = hUcsWwAd0nE_.get_dictitem(Ip8r_qFlFOiJ, roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), '\x64' + '\x65' + '\x63' + '\157' + chr(0b100 + 0o140) + chr(3595 - 3494))('\x75' + chr(0b1001000 + 0o54) + chr(0b111011 + 0o53) + chr(772 - 727) + '\070'), f9ijNiPCpOFu, roI3spqORKae(ES5oEprVxulp(b'g'), chr(100) + '\145' + chr(99) + chr(111) + chr(100) + chr(0b11111 + 0o106))('\x75' + chr(287 - 171) + '\x66' + chr(1220 - 1175) + chr(56)))
if ftfygxgFas5X(tNhDgXcHTdNF) > nzTpIcepk0o8(chr(0b100011 + 0o15) + chr(0b11 + 0o154) + chr(0b100101 + 0o13), 8):
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'@\x89\xa97\x86\x18\xac\xffC}\xe8\xf1\x06'), '\x64' + chr(0b1100101) + chr(6975 - 6876) + '\x6f' + '\144' + chr(4423 - 4322))('\165' + '\164' + chr(0b1100110) + chr(45) + chr(762 - 706))] = tNhDgXcHTdNF[nzTpIcepk0o8(chr(712 - 664) + chr(0b110110 + 0o71) + chr(0b10001 + 0o37), 8)][roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x15\x96\xfeA|\xfb'), '\x64' + chr(101) + chr(650 - 551) + chr(0b10001 + 0o136) + chr(100) + chr(101))('\165' + chr(116) + '\x66' + chr(0b101101) + chr(116 - 60))]
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'@\x89\xa97\x86\x18\xac\xe3Ox\xfb\xc6\x11GeBk\x12\xc8U\x14\x90'), chr(0b1100100) + chr(0b1001000 + 0o35) + chr(0b1100011) + chr(11976 - 11865) + chr(100) + '\145')('\165' + '\x74' + '\x66' + chr(45) + chr(0b100101 + 0o23))] = nKUAs3HG0RP8
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'@\x89\xa97\x86\x18\xac\xf4Iy\xff\xc6\x1cIzU'), chr(0b1100100) + chr(101) + chr(99) + '\157' + '\144' + chr(101))(chr(5722 - 5605) + '\x74' + chr(0b1100110) + chr(0b101101) + chr(0b11000 + 0o40))] = hUcsWwAd0nE_.get_list(UV5JpgukrA8V, roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9yw\xe0\xf4\x02wyQc\x14'), chr(100) + chr(101) + chr(0b1100011) + chr(111) + chr(0b111 + 0o135) + chr(0b1100101))('\x75' + chr(6739 - 6623) + chr(4971 - 4869) + '\x2d' + chr(0b111000)))
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x9a\x18\x90\xfeKq\xe1\xc6\x1cIzU}'), chr(100) + chr(101) + chr(9016 - 8917) + chr(111) + chr(0b1000101 + 0o37) + chr(0b1100101))(chr(0b1110001 + 0o4) + chr(116) + chr(0b1100110) + chr(0b101101) + chr(0b110001 + 0o7))] = hUcsWwAd0nE_.get_list(UV5JpgukrA8V, roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x9a\x18\x90\xfeKq\xe1\xc6\x1cIzU'), chr(9455 - 9355) + '\x65' + chr(4301 - 4202) + chr(4972 - 4861) + chr(100) + chr(0b1001011 + 0o32))(chr(9611 - 9494) + chr(0b10101 + 0o137) + '\x66' + chr(474 - 429) + chr(817 - 761)))
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), '\144' + chr(0b110101 + 0o60) + chr(5688 - 5589) + '\x6f' + chr(890 - 790) + '\x65')('\x75' + chr(0b1001101 + 0o47) + chr(0b110000 + 0o66) + chr(45) + chr(56))] = hUcsWwAd0nE_.get_list(UV5JpgukrA8V, roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), chr(100) + chr(101) + '\143' + chr(111) + chr(0b10101 + 0o117) + chr(0b100111 + 0o76))(chr(0b1001100 + 0o51) + chr(9208 - 9092) + chr(0b101001 + 0o75) + chr(0b101101) + chr(0b100 + 0o64)))
if QDMG_vONB9j2 != nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(412 - 363), 8):
Wi7TqqdOPL4K = hUcsWwAd0nE_.grade(cfKaCavMUyxj, XhU32ebQD6zL, roI3spqORKae(ES5oEprVxulp(b'@\x89\xa97\x86\x18\xac\xf3Of'), '\x64' + '\145' + '\x63' + chr(0b1101111) + chr(0b1100000 + 0o4) + chr(0b1100101))('\x75' + chr(116) + chr(9634 - 9532) + '\055' + '\x38'))
if ftfygxgFas5X(Wi7TqqdOPL4K) == nzTpIcepk0o8(chr(0b110000) + '\157' + chr(48), 8):
roI3spqORKae(TlWybVbQe5TR, roI3spqORKae(ES5oEprVxulp(b'{\xbc\x97s\x92\x1a\xb4\xf8L{\xda\xac'), chr(6496 - 6396) + chr(0b111100 + 0o51) + chr(99) + chr(12150 - 12039) + chr(0b1100100) + chr(9435 - 9334))(chr(0b1100 + 0o151) + '\164' + chr(0b111100 + 0o52) + chr(45) + chr(0b1000 + 0o60)))(cfKaCavMUyxj)
if c7ochxxytF5t == nzTpIcepk0o8('\060' + chr(0b1101111) + chr(49), 8):
brC_KUrC8IRK = hUcsWwAd0nE_.getsampVGP(cfKaCavMUyxj, CIBmZTR74rg5)
if brC_KUrC8IRK != roI3spqORKae(ES5oEprVxulp(b''), '\x64' + '\145' + chr(0b1111 + 0o124) + '\157' + chr(100) + chr(1938 - 1837))('\165' + chr(0b1110100) + chr(0b1011101 + 0o11) + chr(1987 - 1942) + chr(0b1011 + 0o55)):
roI3spqORKae(KqguM7qb1SZj, roI3spqORKae(ES5oEprVxulp(b'{\xbc\x97s\x92\x1a\xb4\xf8L{\xda\xac'), chr(0b1100100) + chr(8591 - 8490) + chr(0b1100011) + chr(9655 - 9544) + chr(0b10011 + 0o121) + chr(0b1100101))(chr(117) + chr(0b100001 + 0o123) + chr(0b1100110) + chr(0b101101) + chr(1025 - 969)))(brC_KUrC8IRK)
else:
roI3spqORKae(TlWybVbQe5TR, roI3spqORKae(ES5oEprVxulp(b'{\xbc\x97s\x92\x1a\xb4\xf8L{\xda\xac'), chr(100) + chr(101) + '\x63' + '\x6f' + chr(1021 - 921) + '\145')('\x75' + chr(0b1110100) + chr(2638 - 2536) + chr(873 - 828) + '\x38'))(cfKaCavMUyxj)
if c7ochxxytF5t == nzTpIcepk0o8('\060' + '\157' + chr(49), 8):
brC_KUrC8IRK = hUcsWwAd0nE_.getsampVGP(cfKaCavMUyxj, CIBmZTR74rg5)
if brC_KUrC8IRK != roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(0b1100101) + '\143' + chr(111) + chr(0b1011000 + 0o14) + chr(3825 - 3724))(chr(11836 - 11719) + '\x74' + chr(0b1001100 + 0o32) + chr(45) + chr(0b111000)):
roI3spqORKae(KqguM7qb1SZj, roI3spqORKae(ES5oEprVxulp(b'{\xbc\x97s\x92\x1a\xb4\xf8L{\xda\xac'), chr(0b1100100) + chr(4580 - 4479) + chr(99) + chr(111) + chr(0b1100100) + chr(0b111111 + 0o46))('\x75' + chr(116) + chr(102) + '\x2d' + '\070'))(brC_KUrC8IRK)
roI3spqORKae(B_c91SsQYEwZ, roI3spqORKae(ES5oEprVxulp(b'{\xbc\x97s\x92\x1a\xb4\xf8L{\xda\xac'), chr(100) + '\145' + chr(6152 - 6053) + chr(0b1100 + 0o143) + '\x64' + chr(0b1100101))(chr(12579 - 12462) + chr(0b10110 + 0o136) + chr(102) + chr(1623 - 1578) + chr(56)))(cfKaCavMUyxj)
if yukBe87Vp4cn:
xYXdgp4McW6w = hUcsWwAd0nE_.get_dictitem(DUKw8HUh8qRY, roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x8b\x10\x83\xfbCK\xe1\xf8\x1fM'), '\x64' + chr(101) + chr(0b1100011) + '\157' + '\144' + chr(0b1101 + 0o130))(chr(0b1000010 + 0o63) + chr(0b1110100) + '\x66' + chr(0b1 + 0o54) + chr(0b11111 + 0o31)), NrOoJ8NdaX1V, roI3spqORKae(ES5oEprVxulp(b'g'), chr(100) + chr(101) + chr(0b111001 + 0o52) + '\x6f' + chr(0b1100100) + '\145')('\165' + '\164' + chr(102) + '\055' + chr(978 - 922)))
if ftfygxgFas5X(xYXdgp4McW6w) > nzTpIcepk0o8('\x30' + chr(573 - 462) + chr(48), 8):
cfKaCavMUyxj = hUcsWwAd0nE_.average_int(xYXdgp4McW6w, roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9'), chr(3072 - 2972) + chr(0b1100101) + chr(3372 - 3273) + chr(5161 - 5050) + chr(3685 - 3585) + chr(0b1010011 + 0o22))(chr(0b1100011 + 0o22) + chr(12133 - 12017) + chr(3443 - 3341) + '\055' + '\x38'), roI3spqORKae(ES5oEprVxulp(b'@\x89\xa97\x86\x18'), chr(2048 - 1948) + '\x65' + '\143' + chr(111) + chr(4302 - 4202) + chr(0b1100101))('\x75' + chr(0b1110100) + chr(7091 - 6989) + '\x2d' + chr(0b111000)))
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'@\x89\xa97\x86\x18\xac\xf3Cg\xec\xeb\x1bXcYa\x1f'), chr(100) + chr(0b1011011 + 0o12) + chr(99) + '\157' + chr(100) + chr(101))(chr(0b101110 + 0o107) + chr(0b1110100) + chr(102) + chr(0b101101 + 0o0) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'@\x89\xa97\x86\x18\xd3\xfeH`\xea\xf7\x01AcI'), chr(100) + '\145' + chr(9133 - 9034) + '\x6f' + chr(0b1100100) + chr(101))(chr(117) + chr(116) + chr(8802 - 8700) + chr(0b101000 + 0o5) + '\070')
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'@\x89\xa97\x86\x18\xac\xf3Of\xea\xfa\x06Ax^Q\x05\xc5L\x1e'), chr(0b1100100) + '\145' + chr(99) + chr(4163 - 4052) + chr(0b1100100) + chr(0b1100010 + 0o3))('\165' + '\x74' + chr(0b1100110) + chr(0b1100 + 0o41) + chr(56))] = roI3spqORKae(ES5oEprVxulp(b''), '\144' + '\x65' + chr(0b1100011) + chr(7784 - 7673) + chr(100) + chr(0b1100101))(chr(0b1110101) + '\164' + chr(0b101101 + 0o71) + '\x2d' + '\070')
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), chr(9871 - 9771) + '\145' + chr(6352 - 6253) + '\157' + chr(0b1010110 + 0o16) + '\145')('\165' + '\x74' + chr(0b1100011 + 0o3) + '\055' + chr(0b111000))] = xYXdgp4McW6w[nzTpIcepk0o8('\x30' + chr(0b1001011 + 0o44) + chr(48), 8)][roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), '\x64' + chr(0b101110 + 0o67) + chr(99) + chr(0b1101 + 0o142) + chr(100) + '\145')(chr(0b1110101) + '\x74' + chr(0b110001 + 0o65) + '\x2d' + '\x38')]
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x8b\x10\x83\xfbCK\xe1\xf8\x1fM'), '\144' + chr(101) + chr(0b1001100 + 0o27) + chr(0b1101111) + '\x64' + '\x65')('\x75' + '\164' + chr(7753 - 7651) + '\055' + chr(0b1010 + 0o56))] = NrOoJ8NdaX1V
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b+\x85\x1e\x92\xe3O{\xe1\xc6\x1cIzU'), '\x64' + chr(101) + chr(0b1010 + 0o131) + chr(111) + '\144' + '\145')('\165' + chr(116) + '\146' + chr(45) + '\070')] = xYXdgp4McW6w[nzTpIcepk0o8(chr(0b110000) + chr(11701 - 11590) + chr(48), 8)][roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b+\x85\x1e\x92\xe3O{\xe1\xc6\x1cIzU'), chr(100) + chr(101) + chr(0b1001010 + 0o31) + chr(11451 - 11340) + chr(0b1100100) + chr(0b111111 + 0o46))(chr(0b1110101) + '\x74' + chr(0b1100110) + chr(0b101101) + chr(0b111000))]
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b$\x83\t\x92\xe3O{\xe1\xc6\x1cIzU}'), '\x64' + chr(0b101101 + 0o70) + chr(99) + chr(0b10000 + 0o137) + '\x64' + chr(813 - 712))(chr(6591 - 6474) + chr(116) + chr(102) + chr(0b110 + 0o47) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'g\x80\xad4\xca\x0e\x87\xe2Bm'), chr(0b1100100) + chr(0b1110 + 0o127) + '\143' + chr(9002 - 8891) + chr(364 - 264) + chr(0b1100101))('\x75' + chr(10237 - 10121) + chr(102) + '\055' + chr(56))
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b&\x84\x1c\x9f\xeeU`\xd0\xf4\x13A{o`\x10\xd1Y\x08'), chr(100) + chr(0b1100101) + chr(0b1100011) + chr(0b1011010 + 0o25) + '\144' + chr(0b1100101))('\x75' + chr(0b1110100) + '\x66' + '\x2d' + chr(0b110100 + 0o4))] = E63X9RhwfuOn
if NkaGetDD5YnR != roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(0b1100101) + chr(0b1100011) + chr(111) + chr(100) + chr(6924 - 6823))(chr(0b1110000 + 0o5) + chr(0b10101 + 0o137) + chr(0b1001011 + 0o33) + '\055' + chr(0b100101 + 0o23)):
cfKaCavMUyxj = hUcsWwAd0nE_.get_age(cfKaCavMUyxj, roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), chr(0b1100011 + 0o1) + chr(0b110000 + 0o65) + chr(0b1100011) + chr(111) + chr(0b1 + 0o143) + '\x65')(chr(117) + chr(116) + chr(0b1100110) + '\x2d' + '\x38'), roI3spqORKae(ES5oEprVxulp(b'@\x89\xa97\x86\x18\xac\xfeHr\xea\xeb\x00Mso'), '\x64' + chr(101) + chr(2720 - 2621) + chr(0b1101111) + '\x64' + chr(0b1100101))(chr(0b110111 + 0o76) + chr(0b11010 + 0o132) + chr(0b101001 + 0o75) + '\055' + '\x38'), LwTI1rQOCPQ5, EXonMtj3JhTF)
tNhDgXcHTdNF = hUcsWwAd0nE_.get_dictitem(Ip8r_qFlFOiJ, roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), '\x64' + chr(4310 - 4209) + '\143' + chr(0b1100111 + 0o10) + chr(0b110 + 0o136) + '\145')(chr(0b1110101) + '\x74' + chr(5601 - 5499) + '\x2d' + chr(0b10011 + 0o45)), cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), chr(100) + '\145' + chr(993 - 894) + chr(111) + '\x64' + chr(101))('\165' + chr(116) + chr(0b1001000 + 0o36) + chr(45) + chr(0b111000))], roI3spqORKae(ES5oEprVxulp(b'g'), '\144' + '\x65' + '\x63' + chr(0b1101111) + chr(3910 - 3810) + chr(7687 - 7586))(chr(0b1000001 + 0o64) + chr(0b1110001 + 0o3) + '\146' + chr(0b100000 + 0o15) + chr(56)))
if ftfygxgFas5X(tNhDgXcHTdNF) > nzTpIcepk0o8(chr(48) + '\x6f' + '\x30', 8):
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'@\x89\xa97\x86\x18\xac\xffC}\xe8\xf1\x06'), '\x64' + '\x65' + chr(3147 - 3048) + '\157' + chr(0b111110 + 0o46) + chr(101))('\165' + chr(0b1001110 + 0o46) + chr(0b100101 + 0o101) + '\x2d' + chr(0b111000))] = tNhDgXcHTdNF[nzTpIcepk0o8('\060' + '\157' + chr(48), 8)][roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x15\x96\xfeA|\xfb'), chr(0b1100100) + chr(101) + chr(99) + chr(10783 - 10672) + chr(8386 - 8286) + chr(101))('\x75' + chr(0b1110100) + '\146' + chr(812 - 767) + chr(0b111000))]
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x9a\x18\x90\xfeKq\xe1\xc6\x1cIzU}'), chr(0b11111 + 0o105) + '\145' + chr(2566 - 2467) + chr(4800 - 4689) + '\144' + chr(101))(chr(0b1110101) + '\164' + chr(0b1000000 + 0o46) + '\x2d' + '\070')] = hUcsWwAd0nE_.get_list(xYXdgp4McW6w, roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x9a\x18\x90\xfeKq\xe1\xc6\x1cIzU'), chr(0b1100100) + chr(0b1100101) + chr(0b1100011) + '\x6f' + chr(9184 - 9084) + '\x65')(chr(13118 - 13001) + chr(0b1110100) + chr(8559 - 8457) + chr(0b1001 + 0o44) + chr(56)))
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), chr(100) + chr(8154 - 8053) + chr(303 - 204) + '\x6f' + '\x64' + '\x65')(chr(0b1110101) + '\164' + '\x66' + '\055' + chr(0b110110 + 0o2))] = hUcsWwAd0nE_.get_list(xYXdgp4McW6w, roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), '\x64' + chr(101) + chr(0b1100011) + '\x6f' + '\144' + chr(0b1010111 + 0o16))('\x75' + chr(0b1110100) + chr(102) + '\055' + chr(0b111000)))
if QDMG_vONB9j2 != nzTpIcepk0o8('\060' + '\157' + chr(1247 - 1198), 8):
Wi7TqqdOPL4K = hUcsWwAd0nE_.grade(cfKaCavMUyxj, XhU32ebQD6zL, roI3spqORKae(ES5oEprVxulp(b'@\x89\xa97\x86\x18\xac\xfeH`'), chr(0b1100100) + '\x65' + '\143' + chr(111) + chr(0b1100100) + chr(397 - 296))('\165' + '\164' + '\x66' + '\055' + chr(0b111000)))
if ftfygxgFas5X(Wi7TqqdOPL4K) == nzTpIcepk0o8('\x30' + chr(111) + '\060', 8):
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'C\x85\xa5 \xb5\x1e\x81\xfeRq\xfd\xf0\x13wt_j\x14\xcf'), chr(0b1100100) + '\145' + '\x63' + chr(6826 - 6715) + chr(617 - 517) + chr(0b1100101))('\x75' + '\164' + chr(0b1100110) + chr(1368 - 1323) + chr(1477 - 1421))] = roI3spqORKae(ES5oEprVxulp(b'r\xab\x87\x02\xba)'), chr(100) + chr(0b1011000 + 0o15) + chr(0b1100011) + chr(0b11 + 0o154) + '\144' + '\145')('\x75' + chr(116) + '\146' + chr(1361 - 1316) + chr(1913 - 1857))
roI3spqORKae(LRuu8o6GxczN, roI3spqORKae(ES5oEprVxulp(b'{\xbc\x97s\x92\x1a\xb4\xf8L{\xda\xac'), '\x64' + '\x65' + chr(394 - 295) + '\157' + '\144' + chr(0b1100101))(chr(0b1110101) + chr(0b1010001 + 0o43) + '\146' + '\055' + '\070'))(cfKaCavMUyxj)
roI3spqORKae(B_c91SsQYEwZ, roI3spqORKae(ES5oEprVxulp(b'{\xbc\x97s\x92\x1a\xb4\xf8L{\xda\xac'), chr(0b1100100) + '\145' + '\143' + chr(4368 - 4257) + '\144' + '\x65')(chr(0b1101001 + 0o14) + chr(4682 - 4566) + chr(0b1100110) + chr(0b1110 + 0o37) + '\070'))(cfKaCavMUyxj)
else:
cfKaCavMUyxj = {}
else:
roI3spqORKae(LRuu8o6GxczN, roI3spqORKae(ES5oEprVxulp(b'{\xbc\x97s\x92\x1a\xb4\xf8L{\xda\xac'), chr(100) + chr(0b1100101) + chr(0b1011110 + 0o5) + '\157' + '\x64' + chr(101))(chr(0b1110101) + chr(4238 - 4122) + chr(0b1100110) + chr(0b10101 + 0o30) + chr(0b1000 + 0o60)))(cfKaCavMUyxj)
roI3spqORKae(B_c91SsQYEwZ, roI3spqORKae(ES5oEprVxulp(b'{\xbc\x97s\x92\x1a\xb4\xf8L{\xda\xac'), chr(772 - 672) + chr(0b1100101) + chr(0b1100010 + 0o1) + chr(0b1101111) + '\144' + chr(0b100001 + 0o104))(chr(117) + '\x74' + chr(0b1100110) + chr(0b101101) + '\070'))(cfKaCavMUyxj)
cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'C\x85\xa5 \xb5\x1e\x81\xfeRq\xfd\xf0\x13wt_j\x14\xcf'), chr(9465 - 9365) + chr(0b1100101) + chr(99) + chr(0b10000 + 0o137) + chr(3016 - 2916) + chr(101))(chr(117) + '\164' + chr(0b100100 + 0o102) + chr(45) + chr(0b101110 + 0o12))] = roI3spqORKae(ES5oEprVxulp(b''), chr(0b101110 + 0o66) + chr(0b10111 + 0o116) + '\x63' + chr(4117 - 4006) + chr(0b1100010 + 0o2) + chr(0b1100101))(chr(0b110100 + 0o101) + '\164' + chr(102) + '\x2d' + '\070')
if c7ochxxytF5t == nzTpIcepk0o8('\060' + chr(111) + chr(0b110001), 8) and s3zmYg73PwF1 != nzTpIcepk0o8('\060' + '\x6f' + chr(2289 - 2241), 8) and (cfKaCavMUyxj != {}):
if s3zmYg73PwF1 == nzTpIcepk0o8(chr(0b110000) + chr(5759 - 5648) + chr(0b110001), 8):
brC_KUrC8IRK = hUcsWwAd0nE_.getsampVDM(cfKaCavMUyxj, wscoTjuaAQZh)
del brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'^\x87\xa0"\x86"\x9f\xf6R'), chr(0b1011011 + 0o11) + chr(0b1100101) + chr(0b100001 + 0o102) + chr(901 - 790) + '\x64' + '\x65')(chr(117) + chr(0b1110100) + '\x66' + chr(0b100001 + 0o14) + chr(0b111000))]
elif s3zmYg73PwF1 == nzTpIcepk0o8(chr(0b110000) + chr(0b100 + 0o153) + chr(50), 8):
brC_KUrC8IRK = hUcsWwAd0nE_.getsampVDM(cfKaCavMUyxj, DOOiAmY_Ikyt)
if brC_KUrC8IRK != {}:
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), chr(0b1100100) + chr(2060 - 1959) + chr(0b1100011) + '\x6f' + chr(0b1010110 + 0o16) + chr(733 - 632))(chr(8788 - 8671) + chr(0b1110100) + chr(3594 - 3492) + chr(0b11011 + 0o22) + '\070')] = brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), chr(100) + chr(101) + chr(0b1100011) + '\x6f' + chr(100) + chr(101))(chr(0b1110101) + chr(116) + chr(102) + '\x2d' + '\x38')] + roI3spqORKae(ES5oEprVxulp(b'\t\xa1\x81j\xa71\xb2\xc3'), chr(100) + chr(0b11011 + 0o112) + chr(99) + chr(111) + chr(0b1100100) + chr(101))(chr(10451 - 10334) + chr(0b1110100) + chr(0b1100110) + chr(0b1111 + 0o36) + chr(0b110100 + 0o4))
if brC_KUrC8IRK != {}:
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x9a\x18\x90\xfeKq\xe1\xc6\x1cIzU}'), chr(0b1100100) + chr(0b101000 + 0o75) + '\x63' + '\x6f' + chr(100) + chr(0b1001 + 0o134))(chr(0b110011 + 0o102) + '\164' + '\x66' + chr(0b11010 + 0o23) + '\070')] = cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x9a\x18\x90\xfeKq\xe1\xc6\x1cIzU}'), '\x64' + '\x65' + chr(99) + chr(0b1101111) + chr(100) + chr(101))(chr(644 - 527) + '\164' + chr(102) + chr(45) + chr(0b10 + 0o66))]
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x8b\x10\x83\xfbCK\xe1\xf8\x1fMd'), '\x64' + '\x65' + chr(0b1100011) + '\157' + chr(0b1100100) + chr(0b10111 + 0o116))(chr(0b11001 + 0o134) + '\164' + chr(0b110111 + 0o57) + chr(45) + chr(0b111000))] = cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x8b\x10\x83\xfbCK\xe1\xf8\x1fM'), chr(0b110101 + 0o57) + '\x65' + chr(0b1100011) + chr(0b100011 + 0o114) + chr(0b1110 + 0o126) + '\145')(chr(0b1110101) + chr(0b110010 + 0o102) + chr(102) + '\055' + '\x38')]
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'C\x85\xa5 \xb5\x1e\x81\xfeRq\xfd\xf0\x13wt_j\x14\xcf'), chr(0b11101 + 0o107) + chr(4519 - 4418) + '\143' + chr(4675 - 4564) + chr(0b1100001 + 0o3) + chr(0b1011111 + 0o6))(chr(12912 - 12795) + '\x74' + chr(0b1100110) + chr(0b101101) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'r\xab\x87\x02\xba)'), '\x64' + chr(0b100101 + 0o100) + '\x63' + '\157' + chr(100) + chr(9140 - 9039))('\165' + chr(0b1011000 + 0o34) + '\x66' + chr(0b101101) + '\x38')
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8Oz\xfb\xc6\x01Ap]o.\xccY\t\x9d'), '\x64' + chr(7805 - 7704) + '\143' + chr(0b1101111) + chr(100) + '\x65')(chr(0b1110101) + chr(0b1110100) + chr(102) + chr(45) + chr(1259 - 1203))] = cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'@\x89\xa97\x86\x18\xac\xfeH`\xd0\xea\x1bOzQQ\x01\xd9N\x18'), chr(6082 - 5982) + '\x65' + chr(7006 - 6907) + '\157' + chr(100) + '\145')(chr(117) + chr(116) + chr(9936 - 9834) + chr(0b101000 + 0o5) + chr(0b111000))]
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8Oz\xfb\xc6\x01Ap]o'), chr(0b1010 + 0o132) + chr(881 - 780) + chr(0b1010000 + 0o23) + chr(111) + chr(0b1100100) + chr(4540 - 4439))(chr(117) + chr(1803 - 1687) + chr(0b1100110) + '\055' + '\x38')] = cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'@\x89\xa97\x86\x18\xac\xfeH`\xd0\xea\x1bOzQ'), chr(100) + '\145' + chr(0b1011001 + 0o12) + chr(5126 - 5015) + chr(0b1100100) + '\145')(chr(117) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + '\x38')]
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8Oz\xfb\xc6\x1c'), chr(4607 - 4507) + chr(0b1100101) + chr(0b1001101 + 0o26) + chr(11061 - 10950) + '\144' + '\x65')('\165' + chr(0b1110100) + '\x66' + chr(45) + '\x38')] = cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'@\x89\xa97\x86\x18\xac\xfeH`\xd0\xf7'), '\144' + chr(1325 - 1224) + chr(0b1100011) + chr(0b1101111) + chr(2618 - 2518) + chr(101))('\x75' + chr(0b1110100) + '\x66' + chr(1764 - 1719) + '\x38')]
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'E\x89\xa0*\xb5\x13'), '\x64' + chr(0b1100101) + '\x63' + '\x6f' + chr(0b100001 + 0o103) + chr(8973 - 8872))(chr(117) + chr(0b1110100) + chr(102) + chr(0b11 + 0o52) + chr(1187 - 1131))] = cfKaCavMUyxj[roI3spqORKae(ES5oEprVxulp(b'@\x89\xa97\x86\x18\xac\xfeH`\xd0\xf7'), chr(9160 - 9060) + chr(101) + chr(99) + '\157' + chr(0b1000110 + 0o36) + chr(0b1100101))(chr(117) + '\164' + chr(102) + '\055' + chr(0b110101 + 0o3))]
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'W\x89\xb0&\xb5\t\x8a\xe7C'), chr(1667 - 1567) + '\x65' + chr(0b1100011) + chr(5155 - 5044) + chr(100) + chr(0b1100101))(chr(0b1001110 + 0o47) + '\164' + chr(0b1100110) + '\x2d' + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'Z'), chr(100) + chr(6231 - 6130) + '\143' + chr(111) + '\144' + chr(101))(chr(0b100110 + 0o117) + chr(0b1110100) + chr(102) + chr(776 - 731) + chr(1255 - 1199))
roI3spqORKae(KqguM7qb1SZj, roI3spqORKae(ES5oEprVxulp(b'{\xbc\x97s\x92\x1a\xb4\xf8L{\xda\xac'), '\144' + chr(101) + '\143' + '\157' + chr(0b1100100) + chr(0b101011 + 0o72))(chr(0b1101101 + 0o10) + chr(0b1110100) + chr(0b11 + 0o143) + chr(0b11010 + 0o23) + '\070'))(brC_KUrC8IRK)
if ftfygxgFas5X(B_c91SsQYEwZ) > nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\x30', 8):
(aw3RZicBgd3_, mbelZOwlDmNy) = hUcsWwAd0nE_.fillkeys(B_c91SsQYEwZ)
roI3spqORKae(hUcsWwAd0nE_, roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x84\xe5O`\xea'), chr(8652 - 8552) + chr(1907 - 1806) + chr(0b1100011) + chr(3527 - 3416) + chr(0b1100100) + '\145')(chr(0b1110101) + '\x74' + '\146' + '\055' + chr(0b1 + 0o67)))(W8yj2bGTXUAS, aw3RZicBgd3_, roI3spqORKae(ES5oEprVxulp(b'C\x85\xa5 \xb5\x0e\x92\xfaVx\xea\xea'), '\x64' + chr(101) + chr(0b1100011) + chr(0b1101111) + chr(0b1010110 + 0o16) + '\x65')(chr(1169 - 1052) + chr(0b1110100) + chr(0b1100110) + chr(45) + '\070'))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x13\x9b\xa5*\x9a\x11\x96\xb7Gb\xea\xeb\x13OrC.\x06\xceU\x0f\x8a\xdc\x9bH\x8a\x18%'), '\x64' + chr(0b1010011 + 0o22) + '\143' + chr(111) + chr(8288 - 8188) + chr(6557 - 6456))(chr(7751 - 7634) + '\x74' + chr(7206 - 7104) + '\055' + chr(2270 - 2214)), W8yj2bGTXUAS)
for f9ijNiPCpOFu in SDKwNkUm3Omo:
for nKUAs3HG0RP8 in mpRHCKgMnohP:
if not mWPO4uLs4XrZ:
(QYodcsDtoGq7, GFdIygZk4ekf) = (roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9'), chr(0b1100100) + chr(0b1011011 + 0o12) + chr(99) + chr(111) + chr(1793 - 1693) + '\x65')(chr(0b100011 + 0o122) + chr(0b11 + 0o161) + chr(7758 - 7656) + chr(0b101010 + 0o3) + '\070'), NxVPbnYVtufH)
if mWPO4uLs4XrZ:
(QYodcsDtoGq7, GFdIygZk4ekf) = (roI3spqORKae(ES5oEprVxulp(b'@\x89\xa97\x86\x18'), '\x64' + '\x65' + '\143' + chr(4902 - 4791) + '\x64' + '\x65')('\x75' + chr(0b10100 + 0o140) + chr(0b1100110) + chr(1957 - 1912) + '\x38'), TlWybVbQe5TR)
PT32xG247TS3 = hUcsWwAd0nE_.get_dictitem(GFdIygZk4ekf, roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), chr(100) + chr(0b1100101) + chr(7628 - 7529) + '\157' + '\144' + '\145')('\x75' + chr(116) + '\146' + '\055' + '\x38'), f9ijNiPCpOFu, roI3spqORKae(ES5oEprVxulp(b'g'), chr(2165 - 2065) + chr(0b1011000 + 0o15) + '\x63' + chr(6021 - 5910) + chr(100) + chr(101))(chr(1020 - 903) + chr(0b110 + 0o156) + '\x66' + chr(45) + chr(0b10110 + 0o42)))
Qf1BCJ6qi3JV = hUcsWwAd0nE_.get_dictitem(PT32xG247TS3, QYodcsDtoGq7 + roI3spqORKae(ES5oEprVxulp(b'l\x9c\xad+\x9e"\x90\xf8Tf\xea\xfa\x06Ax^'), '\144' + chr(101) + chr(0b1100011) + '\x6f' + chr(100) + chr(0b1001011 + 0o32))(chr(401 - 284) + chr(116) + chr(0b111001 + 0o55) + chr(0b101101) + chr(0b100011 + 0o25)), nKUAs3HG0RP8, roI3spqORKae(ES5oEprVxulp(b'g'), chr(100) + chr(101) + chr(0b11 + 0o140) + chr(111) + '\x64' + '\x65')(chr(13449 - 13332) + '\x74' + chr(0b1100110) + chr(0b110 + 0o47) + '\x38'))
Aag3otPg0doQ = hUcsWwAd0nE_.get_dictitem(CIBmZTR74rg5, roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), chr(3087 - 2987) + chr(0b1100101) + chr(99) + '\157' + chr(0b1100100) + chr(0b1100101))(chr(117) + chr(116) + chr(0b11001 + 0o115) + chr(45) + chr(0b10001 + 0o47)), f9ijNiPCpOFu, roI3spqORKae(ES5oEprVxulp(b'g'), chr(0b1100100) + chr(0b1100101) + chr(5255 - 5156) + '\157' + '\x64' + chr(6380 - 6279))(chr(9376 - 9259) + chr(13454 - 13338) + '\146' + chr(0b100110 + 0o7) + chr(0b101100 + 0o14)))
if ftfygxgFas5X(Aag3otPg0doQ) > nzTpIcepk0o8('\x30' + chr(111) + '\x30', 8):
UOmfQN56orrV = Aag3otPg0doQ[nzTpIcepk0o8(chr(2139 - 2091) + chr(111) + chr(0b110000), 8)]
if not TC327BFQOp96:
for B881keGOXOsp in zbycKiPOL7gu:
V8mBd4YV4XoY = hUcsWwAd0nE_.get_dictitem(Qf1BCJ6qi3JV, QYodcsDtoGq7 + roI3spqORKae(ES5oEprVxulp(b'l\x8b\xab*\x9a"\x9d\xf6Kq'), '\144' + chr(101) + chr(99) + chr(0b1101011 + 0o4) + '\144' + '\x65')('\165' + '\164' + '\146' + chr(45) + chr(0b111000)), B881keGOXOsp, roI3spqORKae(ES5oEprVxulp(b'g'), chr(0b1100100) + chr(6944 - 6843) + chr(0b1100011) + chr(111) + chr(8128 - 8028) + chr(0b1100101))(chr(2920 - 2803) + '\x74' + '\146' + chr(1275 - 1230) + '\070'))
mGN_iorXSdyZ = []
for FKO_XxLfWbYt in V8mBd4YV4XoY:
NEgzXI_JNk4R = FKO_XxLfWbYt.GUKetu4xaGsJ(roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9yr\xe3\xf8\x15'), '\x64' + '\x65' + '\x63' + '\x6f' + '\144' + chr(2040 - 1939))(chr(0b1110101) + chr(116) + chr(0b1100110) + '\055' + chr(1553 - 1497)), roI3spqORKae(ES5oEprVxulp(b'T'), chr(100) + chr(0b100010 + 0o103) + chr(99) + chr(0b1000100 + 0o53) + '\x64' + '\145')('\x75' + chr(116) + '\x66' + chr(660 - 615) + '\070'))
lucJ1omAIDdC = FKO_XxLfWbYt.GUKetu4xaGsJ(roI3spqORKae(ES5oEprVxulp(b'@\x89\xa97\x86\x18\xac\xf1Ju\xe8'), chr(0b11000 + 0o114) + '\145' + chr(2433 - 2334) + chr(0b1101111) + chr(0b1100100) + '\145')(chr(117) + chr(0b1100100 + 0o20) + '\x66' + chr(0b101101) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'T'), chr(0b1100100) + chr(101) + chr(2345 - 2246) + chr(0b1011111 + 0o20) + chr(100) + chr(0b1100101))(chr(0b1001111 + 0o46) + chr(0b1011000 + 0o34) + '\x66' + chr(0b1011 + 0o42) + chr(56)))
if NEgzXI_JNk4R == roI3spqORKae(ES5oEprVxulp(b'T'), '\144' + chr(101) + '\x63' + '\x6f' + '\144' + chr(9993 - 9892))('\x75' + chr(0b1010011 + 0o41) + '\146' + chr(0b11101 + 0o20) + chr(0b111000 + 0o0)) and lucJ1omAIDdC == roI3spqORKae(ES5oEprVxulp(b'T'), chr(5484 - 5384) + '\x65' + chr(0b1110 + 0o125) + chr(0b101101 + 0o102) + '\144' + '\145')(chr(10290 - 10173) + chr(3112 - 2996) + '\146' + '\x2d' + chr(56)):
roI3spqORKae(mGN_iorXSdyZ, roI3spqORKae(ES5oEprVxulp(b'{\xbc\x97s\x92\x1a\xb4\xf8L{\xda\xac'), '\x64' + chr(1248 - 1147) + chr(99) + chr(2306 - 2195) + chr(0b1011110 + 0o6) + chr(101))(chr(0b0 + 0o165) + chr(0b1110100) + chr(102) + chr(592 - 547) + chr(56)))(FKO_XxLfWbYt)
V8mBd4YV4XoY = mGN_iorXSdyZ
if ftfygxgFas5X(V8mBd4YV4XoY) > nzTpIcepk0o8(chr(0b10 + 0o56) + chr(0b1101111 + 0o0) + chr(0b110000), 8):
dUJE4T1NkSrH = hUcsWwAd0nE_.lnpbykey(V8mBd4YV4XoY, roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"'), chr(0b0 + 0o144) + chr(0b1100101) + chr(99) + '\x6f' + chr(0b1100100) + chr(9432 - 9331))(chr(9571 - 9454) + chr(10029 - 9913) + chr(8575 - 8473) + chr(0b100000 + 0o15) + chr(56)), QYodcsDtoGq7)
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x1e\x9c\xfaVK\xe1\xf8\x1fM'), chr(8037 - 7937) + chr(0b1100101) + '\143' + chr(111) + '\x64' + chr(0b1100101))(chr(0b111101 + 0o70) + chr(0b1100100 + 0o20) + chr(102) + '\x2d' + chr(0b11011 + 0o35))] = B881keGOXOsp
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b+\x85\x1e\x92\xe3O{\xe1\xc6\x1cIzU'), chr(0b1100100) + chr(7916 - 7815) + chr(99) + chr(0b1101111) + '\144' + '\x65')(chr(117) + chr(6383 - 6267) + chr(0b1100110) + chr(45) + chr(344 - 288))] = V8mBd4YV4XoY[nzTpIcepk0o8('\x30' + chr(0b1000110 + 0o51) + chr(0b110000), 8)][roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b+\x85\x1e\x92\xe3O{\xe1\xc6\x1cIzU'), chr(100) + '\x65' + chr(3353 - 3254) + chr(2024 - 1913) + chr(8051 - 7951) + '\145')(chr(0b1110101) + chr(0b1000100 + 0o60) + chr(0b1010001 + 0o25) + '\x2d' + chr(0b10 + 0o66))]
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), chr(0b1100100) + chr(6821 - 6720) + chr(1663 - 1564) + chr(111) + chr(0b101011 + 0o71) + '\x65')(chr(117) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(0b1010 + 0o56))] = V8mBd4YV4XoY[nzTpIcepk0o8(chr(1172 - 1124) + chr(1280 - 1169) + '\x30', 8)][roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), chr(0b1000100 + 0o40) + '\145' + chr(4364 - 4265) + chr(0b1101111) + chr(0b1100100) + chr(0b1100101 + 0o0))(chr(0b1110001 + 0o4) + chr(116) + '\146' + chr(0b100 + 0o51) + chr(56))]
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\t\x9a\xfbRK\xec\xf6\x00ZrSz\x18\xd3R'), chr(0b1100100) + '\145' + chr(99) + '\x6f' + chr(2232 - 2132) + '\x65')(chr(0b11010 + 0o133) + chr(637 - 521) + '\146' + chr(0b10001 + 0o34) + chr(56))] = nKUAs3HG0RP8
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x1e\x9c\xfaVK\xe1\xf8\x1fM'), chr(100) + chr(3345 - 3244) + chr(0b1100011) + '\157' + chr(0b10 + 0o142) + chr(101))(chr(117) + '\164' + chr(102) + '\x2d' + chr(0b111000))] = hUcsWwAd0nE_.get_list(V8mBd4YV4XoY, QYodcsDtoGq7 + roI3spqORKae(ES5oEprVxulp(b'l\x8b\xab*\x9a"\x9d\xf6Kq'), chr(0b111101 + 0o47) + chr(0b101 + 0o140) + chr(2011 - 1912) + chr(111) + chr(0b1100011 + 0o1) + chr(0b1011011 + 0o12))(chr(117) + '\164' + '\x66' + chr(103 - 58) + '\x38'))
if mWPO4uLs4XrZ:
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x8b\x10\x83\xfbCK\xe1\xf8\x1fMd'), '\x64' + chr(0b11011 + 0o112) + chr(0b1100011) + chr(3412 - 3301) + chr(100) + '\x65')(chr(0b1110101) + '\x74' + chr(0b1000010 + 0o44) + '\x2d' + chr(0b11011 + 0o35))] = hUcsWwAd0nE_.get_list(V8mBd4YV4XoY, roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x8b\x10\x83\xfbCK\xe1\xf8\x1fM'), chr(7651 - 7551) + chr(0b11011 + 0o112) + chr(3601 - 3502) + chr(0b1010 + 0o145) + chr(0b1010000 + 0o24) + chr(0b1000111 + 0o36))('\x75' + chr(116) + '\x66' + chr(45) + '\070'))
else:
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x9a\x18\x90\xfeKq\xe1\xc6\x1cIzU}'), '\144' + chr(101) + chr(0b1100011) + chr(0b101111 + 0o100) + '\x64' + '\145')(chr(0b1011011 + 0o32) + chr(0b1110100) + '\146' + chr(0b101010 + 0o3) + chr(0b110001 + 0o7))] = hUcsWwAd0nE_.get_list(V8mBd4YV4XoY, roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x9a\x18\x90\xfeKq\xe1\xc6\x1cIzU'), '\x64' + chr(0b1100101) + chr(0b1000010 + 0o41) + '\x6f' + chr(6066 - 5966) + chr(0b1100101))(chr(4183 - 4066) + chr(116) + chr(102) + chr(779 - 734) + chr(0b100111 + 0o21)))
gasy6zdv5sjQ = ftfygxgFas5X(hUcsWwAd0nE_.get_dictitem(V8mBd4YV4XoY, roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), chr(0b1100100) + '\145' + '\143' + chr(0b1101111) + chr(0b1001000 + 0o34) + chr(3482 - 3381))('\165' + chr(10490 - 10374) + chr(102) + chr(0b10100 + 0o31) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\x7f\xb8\xe9\x03\xa3/\xde\xd6`'), chr(3763 - 3663) + chr(0b1100101) + '\x63' + chr(0b1100110 + 0o11) + chr(7308 - 7208) + '\x65')('\x75' + '\x74' + chr(6161 - 6059) + chr(0b101101) + chr(2458 - 2402)), roI3spqORKae(ES5oEprVxulp(b'[\x89\xb7'), chr(9196 - 9096) + '\x65' + chr(5117 - 5018) + chr(0b1101111) + chr(0b1100100) + chr(8178 - 8077))(chr(117) + '\x74' + '\146' + '\055' + chr(0b111000))))
p0Kqic9BHzvp = ftfygxgFas5X(hUcsWwAd0nE_.get_dictitem(V8mBd4YV4XoY, roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), '\144' + '\145' + chr(0b1100011) + chr(0b10000 + 0o137) + '\144' + chr(0b1100001 + 0o4))('\165' + '\164' + chr(0b1100110) + chr(45) + chr(1713 - 1657)), roI3spqORKae(ES5oEprVxulp(b'\x7f\xb8\xe9\x03\xa3/\xde\xc3'), chr(0b1100100) + '\145' + chr(7189 - 7090) + chr(5547 - 5436) + chr(0b110000 + 0o64) + '\x65')(chr(117) + chr(116) + chr(7453 - 7351) + '\055' + chr(245 - 189)), roI3spqORKae(ES5oEprVxulp(b'[\x89\xb7'), chr(100) + '\x65' + '\143' + '\157' + chr(0b110100 + 0o60) + '\x65')(chr(0b100010 + 0o123) + chr(0b1110100) + chr(422 - 320) + chr(0b101101) + chr(56))))
YFoCkAZxlsXH = nzTpIcepk0o8(chr(48) + chr(8834 - 8723) + chr(165 - 114), 0b1000)
if gasy6zdv5sjQ > nzTpIcepk0o8(chr(48) + '\x6f' + '\060', 8):
YFoCkAZxlsXH += nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(49), 8)
if p0Kqic9BHzvp > nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(2216 - 2168), 8):
YFoCkAZxlsXH += nzTpIcepk0o8('\060' + chr(0b111011 + 0o64) + chr(1514 - 1465), 8)
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), chr(9975 - 9875) + '\145' + chr(2914 - 2815) + chr(0b1101111) + '\144' + chr(101))(chr(0b1110101) + chr(0b1110100) + '\146' + chr(0b101101) + chr(0b111000))] = hUcsWwAd0nE_.get_list(V8mBd4YV4XoY, roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), chr(100) + chr(9622 - 9521) + chr(7515 - 7416) + '\157' + '\x64' + '\x65')(chr(117) + '\x74' + chr(0b1100110) + chr(0b101101) + chr(1493 - 1437))) + roI3spqORKae(ES5oEprVxulp(b'\t'), chr(100) + chr(6086 - 5985) + chr(99) + chr(0b1011110 + 0o21) + '\x64' + chr(9075 - 8974))(chr(0b1110101) + chr(116) + '\x66' + chr(0b101101) + chr(56)) + roI3spqORKae(ES5oEprVxulp(b'\x7f\xb8\xe9\x03\xa9'), chr(0b1101 + 0o127) + chr(7094 - 6993) + chr(0b1100011) + chr(0b110011 + 0o74) + '\x64' + chr(0b110010 + 0o63))(chr(0b1110101) + chr(0b1101001 + 0o13) + chr(0b1100110) + '\x2d' + chr(1390 - 1334)) + N9zlRy29S1SS(YFoCkAZxlsXH)
roI3spqORKae(dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), '\x64' + '\145' + chr(4781 - 4682) + chr(0b1001101 + 0o42) + chr(0b11111 + 0o105) + chr(0b10010 + 0o123))(chr(117) + chr(0b1010111 + 0o35) + '\x66' + '\x2d' + chr(0b111000))], roI3spqORKae(ES5oEprVxulp(b'X\x8c\x8d\x03\x98\x1e\x84\xcdrW\xfc\xac'), chr(2552 - 2452) + '\x65' + chr(7120 - 7021) + '\157' + '\x64' + '\145')(chr(4067 - 3950) + chr(0b1011000 + 0o34) + chr(102) + chr(45) + chr(56)))(roI3spqORKae(ES5oEprVxulp(b'\t'), chr(0b1100100) + chr(785 - 684) + '\x63' + '\x6f' + '\144' + chr(3854 - 3753))('\x75' + chr(0b1110100) + chr(9533 - 9431) + chr(1932 - 1887) + '\x38'))
if knIDsKRerFdz:
v8jsMqaYV6U2(dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), chr(0b11000 + 0o114) + '\145' + chr(0b111100 + 0o47) + chr(0b1101111) + '\144' + chr(5670 - 5569))('\x75' + chr(116) + '\146' + chr(0b101101) + chr(0b101001 + 0o17))])
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'C\x84\xab3\xb5\x0e\x9a\xe3C'), chr(0b101010 + 0o72) + chr(0b1100101) + chr(346 - 247) + '\x6f' + chr(2522 - 2422) + chr(0b1100101))(chr(0b1110101) + chr(8458 - 8342) + chr(0b1100110) + chr(0b0 + 0o55) + '\070'))(QInPetUHLF4P[roI3spqORKae(ES5oEprVxulp(b'V\x99\xa55\x8f\x1c'), '\144' + '\x65' + chr(4138 - 4039) + '\157' + chr(2477 - 2377) + chr(0b100110 + 0o77))('\x75' + chr(6824 - 6708) + chr(102) + '\055' + chr(0b111000))], dUJE4T1NkSrH, V8mBd4YV4XoY, QYodcsDtoGq7)
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'W\x9a\xa50\xb5\x1b\x9a\xf0U'), '\144' + '\x65' + chr(0b1100011) + chr(6808 - 6697) + chr(3934 - 3834) + chr(0b101101 + 0o70))('\165' + chr(116) + '\146' + chr(0b11001 + 0o24) + '\070'))(QInPetUHLF4P)
roI3spqORKae(ygBgX1u1bUkq, roI3spqORKae(ES5oEprVxulp(b'{\xbc\x97s\x92\x1a\xb4\xf8L{\xda\xac'), chr(7652 - 7552) + '\145' + '\143' + '\x6f' + '\144' + chr(1268 - 1167))(chr(1996 - 1879) + chr(0b1110100) + '\x66' + '\055' + chr(0b111000)))(dUJE4T1NkSrH)
else:
V8mBd4YV4XoY = Qf1BCJ6qi3JV[:]
if ftfygxgFas5X(V8mBd4YV4XoY) > nzTpIcepk0o8(chr(1211 - 1163) + chr(111) + '\x30', 8):
dUJE4T1NkSrH = hUcsWwAd0nE_.lnpbykey(V8mBd4YV4XoY, roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"'), chr(5228 - 5128) + chr(101) + chr(0b100 + 0o137) + chr(0b1101 + 0o142) + '\144' + chr(0b11101 + 0o110))('\x75' + '\164' + '\x66' + '\x2d' + chr(56)), QYodcsDtoGq7)
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b+\x85\x1e\x92\xe3O{\xe1\xc6\x1cIzU'), chr(100) + chr(1331 - 1230) + chr(0b1010000 + 0o23) + '\x6f' + '\x64' + chr(0b1100101))(chr(117) + chr(10820 - 10704) + '\146' + chr(0b101101) + '\x38')] = V8mBd4YV4XoY[nzTpIcepk0o8('\x30' + chr(111) + chr(48), 8)][roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b+\x85\x1e\x92\xe3O{\xe1\xc6\x1cIzU'), chr(4382 - 4282) + chr(0b1100101) + chr(0b11111 + 0o104) + chr(0b1101101 + 0o2) + chr(0b1100100) + '\145')(chr(117) + chr(0b110000 + 0o104) + '\146' + chr(0b101011 + 0o2) + '\x38')]
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), chr(0b10110 + 0o116) + '\145' + chr(1691 - 1592) + chr(2007 - 1896) + '\144' + chr(0b1100101))(chr(2056 - 1939) + chr(116) + '\146' + chr(0b1000 + 0o45) + '\070')] = V8mBd4YV4XoY[nzTpIcepk0o8(chr(802 - 754) + chr(111) + chr(797 - 749), 8)][roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), chr(5382 - 5282) + chr(6190 - 6089) + chr(0b10001 + 0o122) + chr(5067 - 4956) + chr(100) + '\x65')(chr(1476 - 1359) + '\164' + chr(0b1100110) + chr(0b1111 + 0o36) + '\x38')]
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x1e\x9c\xfaVK\xe1\xf8\x1fM'), '\x64' + '\x65' + chr(0b1100011) + chr(0b10100 + 0o133) + '\144' + chr(0b1010010 + 0o23))('\165' + chr(3111 - 2995) + chr(102) + chr(951 - 906) + '\070')] = B881keGOXOsp
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\t\x9a\xfbRK\xec\xf6\x00ZrSz\x18\xd3R'), chr(0b1100100) + chr(0b11010 + 0o113) + '\x63' + chr(10770 - 10659) + chr(100) + '\145')(chr(0b1110101) + chr(0b100011 + 0o121) + chr(102) + chr(164 - 119) + '\070')] = nKUAs3HG0RP8
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x1e\x9c\xfaVK\xe1\xf8\x1fM'), '\x64' + chr(101) + chr(0b1100011) + '\157' + chr(0b1100100) + chr(0b1001111 + 0o26))('\165' + chr(5529 - 5413) + '\x66' + chr(0b101101) + '\x38')] = hUcsWwAd0nE_.get_list(V8mBd4YV4XoY, QYodcsDtoGq7 + roI3spqORKae(ES5oEprVxulp(b'l\x8b\xab*\x9a"\x9d\xf6Kq'), chr(0b1100100) + '\145' + chr(9172 - 9073) + chr(3063 - 2952) + chr(1844 - 1744) + chr(0b101011 + 0o72))('\165' + '\x74' + chr(0b100000 + 0o106) + chr(0b101101) + '\x38'))
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x9a\x18\x90\xfeKq\xe1\xc6\x1cIzU}'), '\144' + chr(101) + '\143' + chr(0b1101100 + 0o3) + chr(0b1011011 + 0o11) + '\145')('\x75' + chr(0b1001101 + 0o47) + chr(102) + chr(0b1110 + 0o37) + chr(0b111000))] = hUcsWwAd0nE_.get_list(V8mBd4YV4XoY, roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x9a\x18\x90\xfeKq\xe1\xc6\x1cIzU'), '\x64' + '\145' + '\x63' + chr(0b110000 + 0o77) + '\x64' + '\x65')(chr(0b111000 + 0o75) + chr(12602 - 12486) + chr(102) + '\055' + '\070'))
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x8b\x10\x83\xfbCK\xe1\xf8\x1fMd'), chr(100) + chr(101) + chr(99) + chr(0b1101111) + '\x64' + '\145')(chr(0b1110101) + chr(0b1100011 + 0o21) + chr(102) + '\055' + chr(0b101100 + 0o14))] = hUcsWwAd0nE_.get_list(V8mBd4YV4XoY, roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x8b\x10\x83\xfbCK\xe1\xf8\x1fM'), chr(0b1100100) + chr(9080 - 8979) + chr(99) + chr(111) + chr(100) + chr(0b1101 + 0o130))('\x75' + '\164' + chr(0b1100110) + chr(0b101101) + '\x38'))
gasy6zdv5sjQ = ftfygxgFas5X(hUcsWwAd0nE_.get_dictitem(V8mBd4YV4XoY, roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), '\x64' + chr(101) + chr(0b1100011) + '\x6f' + chr(0b1011110 + 0o6) + chr(0b1001000 + 0o35))(chr(4127 - 4010) + chr(0b1010000 + 0o44) + chr(0b1100110) + '\x2d' + '\070'), roI3spqORKae(ES5oEprVxulp(b'\x7f\xb8\xe9\x03\xa3/\xde\xd6`'), chr(100) + '\145' + '\x63' + '\157' + chr(0b1010100 + 0o20) + chr(0b1100101))(chr(0b1110100 + 0o1) + chr(0b1001111 + 0o45) + chr(2079 - 1977) + chr(0b100001 + 0o14) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'[\x89\xb7'), chr(4058 - 3958) + '\145' + '\x63' + '\x6f' + chr(378 - 278) + chr(7615 - 7514))('\165' + chr(116) + '\146' + '\x2d' + '\x38')))
p0Kqic9BHzvp = ftfygxgFas5X(hUcsWwAd0nE_.get_dictitem(V8mBd4YV4XoY, roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), '\x64' + chr(1571 - 1470) + '\x63' + chr(3574 - 3463) + chr(8609 - 8509) + chr(0b1100101))(chr(3738 - 3621) + '\x74' + chr(102) + chr(0b101101) + chr(0b101 + 0o63)), roI3spqORKae(ES5oEprVxulp(b'\x7f\xb8\xe9\x03\xa3/\xde\xc3'), '\x64' + '\x65' + '\143' + '\157' + chr(100) + chr(0b1100101))(chr(12043 - 11926) + '\164' + chr(0b10101 + 0o121) + chr(1889 - 1844) + '\070'), roI3spqORKae(ES5oEprVxulp(b'[\x89\xb7'), '\x64' + chr(0b1100101) + chr(2097 - 1998) + chr(0b1101111) + '\144' + '\145')('\165' + chr(0b100000 + 0o124) + chr(102) + '\055' + '\070')))
YFoCkAZxlsXH = nzTpIcepk0o8(chr(48) + '\157' + chr(0b110011), 8)
if gasy6zdv5sjQ > nzTpIcepk0o8('\060' + chr(0b1101111) + chr(48), 8):
YFoCkAZxlsXH += nzTpIcepk0o8(chr(1981 - 1933) + chr(111) + chr(0b10110 + 0o33), 8)
if p0Kqic9BHzvp > nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\x30', 8):
YFoCkAZxlsXH += nzTpIcepk0o8(chr(0b1010 + 0o46) + '\x6f' + chr(0b110001), 8)
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), chr(0b11010 + 0o112) + chr(0b111 + 0o136) + '\143' + '\x6f' + chr(4795 - 4695) + chr(2432 - 2331))(chr(0b1111 + 0o146) + chr(8189 - 8073) + '\146' + chr(1917 - 1872) + chr(56))] = hUcsWwAd0nE_.get_list(V8mBd4YV4XoY, roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), chr(100) + chr(0b1100101) + '\x63' + chr(5528 - 5417) + '\144' + chr(9460 - 9359))(chr(117) + '\164' + chr(10361 - 10259) + '\055' + '\070')) + roI3spqORKae(ES5oEprVxulp(b'\t'), '\144' + chr(0b1100101) + chr(99) + chr(0b1101111) + '\x64' + chr(0b1100101))(chr(0b100111 + 0o116) + chr(3175 - 3059) + chr(0b1100110) + chr(45) + chr(2487 - 2431)) + roI3spqORKae(ES5oEprVxulp(b'\x7f\xb8\xe9\x03\xa9'), chr(0b1100100) + chr(101) + '\x63' + chr(444 - 333) + '\144' + chr(0b1000100 + 0o41))(chr(0b1011111 + 0o26) + chr(116) + chr(0b1100110) + chr(45) + chr(2992 - 2936)) + N9zlRy29S1SS(YFoCkAZxlsXH)
roI3spqORKae(dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), chr(0b1100100) + chr(0b11100 + 0o111) + chr(0b1000010 + 0o41) + chr(0b1101111) + chr(0b1100100) + chr(0b1010000 + 0o25))(chr(13087 - 12970) + chr(7660 - 7544) + chr(102) + chr(1088 - 1043) + chr(56))], roI3spqORKae(ES5oEprVxulp(b'X\x8c\x8d\x03\x98\x1e\x84\xcdrW\xfc\xac'), chr(0b1100100) + '\x65' + chr(0b1011111 + 0o4) + '\157' + '\144' + chr(101))('\x75' + chr(0b1110100) + chr(0b1100110) + chr(313 - 268) + chr(56)))(roI3spqORKae(ES5oEprVxulp(b'\t'), chr(0b110000 + 0o64) + chr(3701 - 3600) + '\143' + chr(111) + '\x64' + chr(4477 - 4376))('\165' + chr(0b1110100) + chr(0b11100 + 0o112) + '\x2d' + chr(56)))
if not mWPO4uLs4XrZ:
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x1e\x9c\xfaVK\xe1\xf8\x1fM'), chr(0b1100100) + chr(0b1100101) + '\x63' + chr(12177 - 12066) + '\x64' + '\145')(chr(117) + '\164' + '\146' + chr(670 - 625) + '\x38')] = hUcsWwAd0nE_.get_list(V8mBd4YV4XoY, QYodcsDtoGq7 + roI3spqORKae(ES5oEprVxulp(b'l\x8b\xab*\x9a"\x9d\xf6Kq'), chr(0b1100100) + chr(0b1000000 + 0o45) + '\x63' + '\157' + '\144' + chr(0b1100101))('\165' + '\164' + chr(3472 - 3370) + chr(0b101101) + chr(0b110000 + 0o10)))
if knIDsKRerFdz:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'C\x84\xab3\xb5\x0e\x9a\xe3C'), chr(0b1100100) + '\145' + chr(3847 - 3748) + chr(0b1101111 + 0o0) + chr(0b110011 + 0o61) + chr(0b11000 + 0o115))('\165' + chr(0b1110100) + chr(0b1100110) + chr(0b111 + 0o46) + chr(0b111000)))(QInPetUHLF4P[roI3spqORKae(ES5oEprVxulp(b'V\x99\xa55\x8f\x1c'), chr(0b1100100) + '\x65' + chr(0b1100011) + chr(0b1101111) + chr(6640 - 6540) + '\145')('\x75' + chr(770 - 654) + chr(2621 - 2519) + '\055' + chr(2709 - 2653))], dUJE4T1NkSrH, V8mBd4YV4XoY, QYodcsDtoGq7)
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'W\x9a\xa50\xb5\x1b\x9a\xf0U'), chr(100) + '\x65' + chr(6618 - 6519) + '\x6f' + '\x64' + chr(101))(chr(0b1000001 + 0o64) + '\x74' + chr(0b11010 + 0o114) + chr(858 - 813) + '\x38'))(QInPetUHLF4P)
roI3spqORKae(ygBgX1u1bUkq, roI3spqORKae(ES5oEprVxulp(b'{\xbc\x97s\x92\x1a\xb4\xf8L{\xda\xac'), chr(6481 - 6381) + chr(101) + '\x63' + chr(0b1101111) + chr(100) + chr(101))(chr(0b1101100 + 0o11) + '\164' + chr(102) + '\055' + chr(2926 - 2870)))(dUJE4T1NkSrH)
else:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xca\x14\x9d\xf1If\xe2\xf8\x06Ax^.\x1f\xd3H[\x98\xd6\x80\x06\x9aWl\xd9\xcd\x97k\xa6\xb8\xb6o1#\x08\xbd\\\x9a\xe44\x83\t\x96\xbb\x06'), '\144' + '\x65' + chr(3588 - 3489) + chr(0b1101111) + '\144' + '\x65')(chr(0b1110101) + chr(0b1001011 + 0o51) + '\146' + chr(962 - 917) + chr(0b111000)), f9ijNiPCpOFu, roI3spqORKae(ES5oEprVxulp(b'\x13\x9b\xad3\x8f]\x84\xfeJx\xaf\xfb\x17\x08d[g\x01\xccY\x1f'), chr(0b1100100) + chr(101) + chr(99) + chr(111) + '\x64' + chr(4129 - 4028))(chr(117) + '\x74' + '\146' + chr(45) + chr(731 - 675)))
for dUJE4T1NkSrH in ygBgX1u1bUkq:
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b$\x83\t\x92\xe3O{\xe1\xc6\x1cIzU}'), chr(2226 - 2126) + '\145' + '\x63' + '\x6f' + '\144' + chr(5882 - 5781))(chr(0b1101011 + 0o12) + chr(0b1110100) + chr(0b1010011 + 0o23) + chr(45) + chr(1913 - 1857))] = roI3spqORKae(ES5oEprVxulp(b'g\x80\xad4\xca\x0e\x87\xe2Bm'), chr(7810 - 7710) + '\145' + chr(8661 - 8562) + chr(7335 - 7224) + chr(0b1100011 + 0o1) + chr(7219 - 7118))('\x75' + '\x74' + chr(0b11 + 0o143) + '\055' + '\070')
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b&\x84\x1c\x9f\xeeU`\xd0\xf4\x13A{o`\x10\xd1Y\x08'), '\144' + '\145' + chr(99) + chr(1320 - 1209) + '\144' + chr(0b1000101 + 0o40))('\x75' + chr(0b10100 + 0o140) + chr(10056 - 9954) + chr(514 - 469) + '\x38')] = E63X9RhwfuOn
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x80\xf8@`\xf8\xf8\x00MH@o\x12\xd7]\x1c\x9b\xca'), chr(1977 - 1877) + chr(0b1100101) + '\x63' + '\157' + chr(0b1001010 + 0o32) + '\145')('\x75' + chr(0b10101 + 0o137) + chr(9643 - 9541) + chr(291 - 246) + chr(2061 - 2005))] = uNg9Yeq376oN
if NkaGetDD5YnR != roI3spqORKae(ES5oEprVxulp(b''), chr(100) + '\145' + chr(0b1100010 + 0o1) + '\x6f' + chr(0b1000101 + 0o37) + chr(8164 - 8063))(chr(117) + chr(6504 - 6388) + chr(0b1011011 + 0o13) + '\055' + chr(1073 - 1017)):
dUJE4T1NkSrH = hUcsWwAd0nE_.get_age(dUJE4T1NkSrH, roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), chr(5210 - 5110) + chr(634 - 533) + chr(4926 - 4827) + chr(0b1101111) + '\x64' + chr(9817 - 9716))('\x75' + chr(0b1110100) + '\x66' + chr(0b11011 + 0o22) + '\070'), roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x14\x9d\xf1Cf\xfd\xfc\x16w'), chr(100) + chr(8243 - 8142) + chr(99) + chr(0b100011 + 0o114) + chr(100) + '\x65')(chr(0b1010011 + 0o42) + chr(13067 - 12951) + chr(0b111110 + 0o50) + chr(0b11010 + 0o23) + chr(56)), LwTI1rQOCPQ5, EXonMtj3JhTF)
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'C\x85\xa5 \xb5\x1e\x81\xfeRq\xfd\xf0\x13wt_j\x14\xcf'), chr(0b100 + 0o140) + chr(0b1100101) + chr(0b1100011) + '\157' + chr(4613 - 4513) + '\145')(chr(0b1 + 0o164) + '\164' + '\146' + chr(1721 - 1676) + chr(0b110010 + 0o6))] = roI3spqORKae(ES5oEprVxulp(b'r\xab\x87\x02\xba)'), chr(100) + '\x65' + chr(7795 - 7696) + '\157' + chr(0b101001 + 0o73) + chr(9602 - 9501))(chr(0b1110101) + chr(0b1110100) + '\146' + chr(0b101101) + chr(0b1 + 0o67))
if roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x13\xac\xfbOz\xea\xea'), chr(0b1100100) + '\145' + chr(0b10101 + 0o116) + chr(111) + chr(0b1010010 + 0o22) + chr(2856 - 2755))(chr(0b111 + 0o156) + chr(4259 - 4143) + chr(8648 - 8546) + chr(0b100111 + 0o6) + '\x38') in H4NoA26ON7iG(roI3spqORKae(dUJE4T1NkSrH, roI3spqORKae(ES5oEprVxulp(b'X\x8d\xbd4'), chr(0b1100100) + '\x65' + '\143' + chr(111) + '\x64' + chr(0b1100101))('\x75' + '\x74' + chr(0b1100110) + chr(45) + chr(56)))()) and roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x13\xac\xe7Ju\xe1\xfc\x01'), '\144' + chr(101) + '\x63' + chr(0b11010 + 0o125) + chr(2490 - 2390) + chr(101))('\165' + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(0b101101 + 0o13)) in H4NoA26ON7iG(roI3spqORKae(dUJE4T1NkSrH, roI3spqORKae(ES5oEprVxulp(b'X\x8d\xbd4'), chr(7512 - 7412) + '\145' + chr(99) + '\157' + chr(0b1100100) + chr(0b101101 + 0o70))(chr(0b1110101) + chr(0b1100001 + 0o23) + chr(6391 - 6289) + '\055' + chr(0b111000)))()) and (dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x13\xac\xfbOz\xea\xea'), chr(9146 - 9046) + chr(8562 - 8461) + '\x63' + '\157' + chr(1848 - 1748) + chr(0b1100101))('\x75' + chr(8952 - 8836) + chr(608 - 506) + chr(45) + chr(0b111000))] != roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(2619 - 2518) + '\143' + chr(10971 - 10860) + chr(0b1000000 + 0o44) + chr(0b1100101))(chr(117) + chr(0b1110010 + 0o2) + '\x66' + chr(45) + chr(762 - 706))) and (dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x13\xac\xe7Ju\xe1\xfc\x01'), chr(5027 - 4927) + '\145' + chr(0b1001000 + 0o33) + '\157' + chr(0b1000000 + 0o44) + '\145')(chr(0b101110 + 0o107) + chr(1549 - 1433) + chr(102) + chr(0b1010 + 0o43) + chr(56))] != roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(0b1100101) + chr(99) + '\x6f' + chr(0b1100100) + '\145')(chr(117) + chr(0b1110100) + chr(0b1100110) + chr(0b101 + 0o50) + chr(0b111000))):
if nzTpIcepk0o8(dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x13\xac\xe7Ju\xe1\xfc\x01'), chr(225 - 125) + chr(101) + chr(6802 - 6703) + '\157' + chr(7941 - 7841) + '\145')(chr(0b1010110 + 0o37) + '\x74' + '\x66' + '\x2d' + chr(0b111 + 0o61))]) > nzTpIcepk0o8('\060' + '\x6f' + chr(0b110000), 8):
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), '\x64' + chr(0b111100 + 0o51) + chr(0b1100011) + '\157' + '\x64' + chr(7289 - 7188))('\x75' + chr(0b10000 + 0o144) + '\x66' + chr(655 - 610) + chr(0b11011 + 0o35))] = dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), chr(100) + chr(2900 - 2799) + chr(0b1100011) + chr(0b1101111) + '\144' + chr(101))(chr(117) + chr(0b1110100) + chr(102) + chr(45) + chr(0b111000))] + roI3spqORKae(ES5oEprVxulp(b'\t\xac\x81j\xac0\xde\xdbv'), chr(0b101010 + 0o72) + chr(0b1000000 + 0o45) + chr(99) + '\157' + chr(100) + chr(101))(chr(117) + chr(0b1110100) + chr(10093 - 9991) + chr(0b101101) + chr(0b101001 + 0o17))
elif nzTpIcepk0o8(dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x13\xac\xfbOz\xea\xea'), '\144' + chr(0b101001 + 0o74) + chr(99) + '\x6f' + chr(100) + '\145')(chr(6849 - 6732) + chr(116) + chr(102) + chr(45) + chr(0b111000))]) > nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\x32', 8):
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), chr(100) + chr(8971 - 8870) + chr(99) + chr(0b101111 + 0o100) + chr(3738 - 3638) + '\x65')(chr(117) + chr(4915 - 4799) + chr(0b1011101 + 0o11) + chr(0b100000 + 0o15) + chr(647 - 591))] = dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), chr(0b1100100) + chr(0b1010110 + 0o17) + '\x63' + '\157' + '\x64' + '\x65')(chr(0b1110010 + 0o3) + chr(3771 - 3655) + chr(102) + chr(1343 - 1298) + chr(0b111000))] + roI3spqORKae(ES5oEprVxulp(b'\t\xac\x81j\xac0'), '\144' + '\x65' + chr(0b1100011) + chr(9880 - 9769) + '\144' + chr(0b1100101))(chr(117) + chr(0b1001000 + 0o54) + chr(0b1100110) + chr(0b101101) + chr(0b111000))
Wi7TqqdOPL4K = hUcsWwAd0nE_.grade(dUJE4T1NkSrH, XhU32ebQD6zL, roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x19\x9a\xe5'), '\x64' + chr(101) + chr(3654 - 3555) + chr(2368 - 2257) + '\144' + chr(101))(chr(0b101011 + 0o112) + chr(612 - 496) + chr(4037 - 3935) + '\055' + chr(2374 - 2318)))
if ftfygxgFas5X(Wi7TqqdOPL4K) == nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110000), 8):
brC_KUrC8IRK = {}
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'W\x89\xb0&\xb5\t\x8a\xe7C'), chr(0b100111 + 0o75) + '\x65' + chr(0b1100011) + chr(6968 - 6857) + chr(0b1000 + 0o134) + '\145')('\165' + chr(116) + chr(0b1100110) + '\x2d' + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'Z'), '\144' + chr(0b111010 + 0o53) + chr(0b1100000 + 0o3) + '\157' + '\144' + chr(0b1100101))(chr(1447 - 1330) + chr(0b1110100) + chr(0b1100110) + chr(285 - 240) + '\x38')
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x80\xf8@`\xf8\xf8\x00MH@o\x12\xd7]\x1c\x9b\xca'), '\x64' + chr(0b1100101) + '\143' + '\x6f' + chr(0b1100100) + '\x65')('\x75' + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(0b111000))] = uNg9Yeq376oN
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x19\x96\xe4Ef\xe6\xe9\x06Ax^'), chr(0b1011010 + 0o12) + chr(0b1100001 + 0o4) + chr(0b1111 + 0o124) + chr(0b1101111) + '\x64' + '\145')(chr(117) + chr(8958 - 8842) + chr(102) + chr(0b1100 + 0o41) + '\070')] = roI3spqORKae(ES5oEprVxulp(b'`\x81\xb0"\xca\x19\x9a\xe5Cw\xfb\xf0\x1dF7Y`\x12\xd0I\x1f\x9b\xdd\xd5\x01\x90Ww\xd2\x9e\x87u\x8d\xb8\xffo52D\xbe'), chr(0b111111 + 0o45) + '\145' + chr(0b1100011) + chr(111) + chr(0b1000001 + 0o43) + '\x65')(chr(0b11110 + 0o127) + chr(116) + chr(0b1100110) + chr(131 - 86) + chr(56))
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'C\x85\xa5 \xb5\x1e\x81\xfeRq\xfd\xf0\x13wt_j\x14\xcf'), '\x64' + chr(0b1100101) + chr(7074 - 6975) + chr(9134 - 9023) + '\x64' + '\x65')('\165' + chr(0b1110100) + chr(0b100010 + 0o104) + chr(0b101101) + chr(0b11 + 0o65))] = roI3spqORKae(ES5oEprVxulp(b'r\xab\x87\x02\xba)'), chr(5488 - 5388) + chr(0b11110 + 0o107) + chr(99) + '\157' + chr(7275 - 7175) + chr(101))(chr(117) + chr(13363 - 13247) + chr(0b11101 + 0o111) + '\055' + chr(56))
oD8LLo_zqNZe = jLW6pRf2DSRk(dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x19\x96\xf4'), chr(4182 - 4082) + chr(101) + chr(1447 - 1348) + chr(111) + chr(100) + chr(0b1100101))(chr(607 - 490) + '\x74' + chr(0b1010011 + 0o23) + chr(45) + '\070')])
ReAwxaIgTMy5 = jLW6pRf2DSRk(dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x14\x9d\xf4'), chr(0b111010 + 0o52) + '\145' + '\x63' + '\x6f' + chr(0b10010 + 0o122) + '\x65')(chr(0b1010101 + 0o40) + chr(116) + '\x66' + chr(220 - 175) + chr(56))])
if roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x1c\x9f\xe7Nu\xb6\xac'), chr(100) + chr(2460 - 2359) + chr(99) + '\x6f' + chr(6422 - 6322) + '\x65')('\x75' + chr(0b100100 + 0o120) + chr(0b1100110) + '\x2d' + chr(0b110100 + 0o4)) in H4NoA26ON7iG(roI3spqORKae(dUJE4T1NkSrH, roI3spqORKae(ES5oEprVxulp(b'X\x8d\xbd4'), chr(0b1100100) + '\145' + chr(9781 - 9682) + chr(9706 - 9595) + chr(0b1100100) + chr(0b101000 + 0o75))(chr(0b1110101) + chr(0b1000100 + 0o60) + chr(0b1100110) + chr(0b101101) + chr(1502 - 1446)))()) and dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x1c\x9f\xe7Nu\xb6\xac'), chr(5953 - 5853) + '\x65' + chr(99) + '\157' + chr(0b1100100) + chr(0b1100101))(chr(117) + '\164' + chr(102) + '\x2d' + '\x38')] != roI3spqORKae(ES5oEprVxulp(b''), chr(0b11101 + 0o107) + chr(0b1001111 + 0o26) + chr(454 - 355) + '\157' + chr(100) + chr(101))(chr(3429 - 3312) + '\x74' + '\x66' + chr(45) + chr(0b111000)):
Ix8Y40EarIbj = jLW6pRf2DSRk(dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x1c\x9f\xe7Nu\xb6\xac'), chr(542 - 442) + chr(0b1100101) + chr(99) + chr(0b1101111) + chr(100) + chr(0b1100101))(chr(0b1010011 + 0o42) + '\164' + chr(9836 - 9734) + chr(0b101101) + '\070')])
else:
Ix8Y40EarIbj = 180.0
UOmfQN56orrV = hUcsWwAd0nE_.get_dictitem(CIBmZTR74rg5, roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), chr(3021 - 2921) + chr(1885 - 1784) + chr(0b1100011) + chr(111) + chr(100) + '\x65')(chr(117) + chr(2944 - 2828) + chr(6208 - 6106) + chr(0b101011 + 0o2) + '\070'), dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), chr(1365 - 1265) + chr(0b11111 + 0o106) + '\x63' + '\157' + '\x64' + chr(0b1100101))(chr(0b1110010 + 0o3) + chr(0b10111 + 0o135) + '\146' + chr(0b11010 + 0o23) + '\x38')], roI3spqORKae(ES5oEprVxulp(b'g'), chr(0b11110 + 0o106) + '\x65' + chr(2514 - 2415) + chr(0b1101111) + chr(0b1100100) + chr(101))(chr(117) + chr(0b1110100) + '\x66' + chr(0b101101) + chr(56)))[nzTpIcepk0o8('\x30' + chr(111) + chr(0b110000), 8)]
Wp2Umairw0XS = jLW6pRf2DSRk(UOmfQN56orrV[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x11\x92\xe3'), chr(0b100100 + 0o100) + '\145' + chr(3250 - 3151) + chr(111) + '\144' + '\x65')('\x75' + chr(116) + '\146' + chr(0b10101 + 0o30) + chr(0b0 + 0o70))])
OSV4Uwkhpwk6 = jLW6pRf2DSRk(UOmfQN56orrV[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x11\x9c\xf9'), chr(0b1100100) + chr(6674 - 6573) + chr(0b1100011) + chr(6271 - 6160) + '\144' + chr(0b1010010 + 0o23))('\x75' + chr(0b111110 + 0o66) + chr(0b10100 + 0o122) + chr(257 - 212) + chr(0b110001 + 0o7))])
(j1qi1l65tYxo, yOX81cxVSDwr, El4w8QMGwyUW, _zcxIoncSRlL) = hUcsWwAd0nE_.dia_vgp(oD8LLo_zqNZe, ReAwxaIgTMy5, Ix8Y40EarIbj, Wp2Umairw0XS, OSV4Uwkhpwk6)
if dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\t\x9a\xfbRK\xec\xf6\x00ZrSz\x18\xd3R'), chr(0b10101 + 0o117) + '\x65' + chr(0b1100011) + chr(0b10011 + 0o134) + chr(1841 - 1741) + '\145')(chr(0b1110101) + chr(0b1110100) + '\x66' + '\055' + '\x38')] == roI3spqORKae(ES5oEprVxulp(b'\x1e\xd9'), chr(0b1100100) + chr(6677 - 6576) + chr(99) + chr(0b1101111) + chr(3813 - 3713) + '\145')(chr(0b1101000 + 0o15) + chr(0b1110100) + chr(0b1100110) + chr(0b10100 + 0o31) + chr(0b11110 + 0o32)):
eb_JimPifyhR = roI3spqORKae(ES5oEprVxulp(b'\x13\xc0\xb77\x8f\x1e\xd3\xf4I{\xfd\xfd[\x08'), chr(1420 - 1320) + chr(0b1100101) + chr(0b1100011) + chr(2618 - 2507) + chr(0b1010111 + 0o15) + chr(0b1011100 + 0o11))('\165' + '\164' + chr(8902 - 8800) + '\055' + '\x38')
if dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\t\x9a\xfbRK\xec\xf6\x00ZrSz\x18\xd3R'), chr(0b1100100) + chr(0b1100101) + chr(9262 - 9163) + chr(111) + chr(100) + chr(101))('\165' + '\164' + '\146' + chr(0b11010 + 0o23) + '\070')] == roI3spqORKae(ES5oEprVxulp(b'\x03'), chr(0b1100 + 0o130) + chr(101) + '\143' + chr(4254 - 4143) + '\x64' + chr(0b1100101))(chr(7082 - 6965) + chr(10586 - 10470) + chr(102) + chr(79 - 34) + chr(2357 - 2301)):
eb_JimPifyhR = roI3spqORKae(ES5oEprVxulp(b'\x13\xc0\xa3"\x85\x1a\xdd\xb7E{\xe0\xeb\x16\x017'), chr(9956 - 9856) + chr(101) + chr(0b1100011) + chr(0b110010 + 0o75) + chr(0b1100100) + chr(6456 - 6355))('\x75' + chr(0b1110100) + '\x66' + '\x2d' + '\x38')
if dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\t\x9a\xfbRK\xec\xf6\x00ZrSz\x18\xd3R'), '\144' + chr(0b1100101) + chr(99) + chr(0b100010 + 0o115) + chr(0b1100100) + chr(101))(chr(0b1110101) + chr(10413 - 10297) + '\x66' + '\055' + chr(56))] == roI3spqORKae(ES5oEprVxulp(b'\x02\xd8\xf4'), '\x64' + chr(101) + '\x63' + chr(0b1001010 + 0o45) + chr(0b1100100) + chr(101))('\165' + chr(116) + chr(0b100000 + 0o106) + '\055' + '\x38'):
eb_JimPifyhR = roI3spqORKae(ES5oEprVxulp(b'\x13\xc0\xb73\x98\x1c\x87\xb9\x06w\xe0\xf6\x00L>\x10'), '\x64' + chr(101) + chr(99) + chr(8827 - 8716) + '\144' + chr(2360 - 2259))(chr(0b1100111 + 0o16) + chr(7508 - 7392) + chr(5634 - 5532) + chr(45) + '\x38')
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'C\x85\xa5 \xb5\x0f\x96\xe4Sx\xfb\xc6\x1cIzU'), chr(0b1100100) + chr(0b1100101) + '\x63' + chr(111) + chr(100) + '\145')('\x75' + chr(116) + chr(0b1100110) + '\x2d' + chr(56))] = roI3spqORKae(ES5oEprVxulp(b'e\xaf\x94g\xb9\x14\x87\xf2\x1c4'), chr(6920 - 6820) + chr(5160 - 5059) + '\143' + '\157' + '\144' + chr(0b1000100 + 0o41))('\165' + chr(0b1001010 + 0o52) + chr(5060 - 4958) + chr(45) + chr(0b111000)) + dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), chr(5475 - 5375) + '\145' + chr(4176 - 4077) + '\157' + chr(0b1100100) + chr(101))(chr(0b1110101) + chr(116) + chr(4010 - 3908) + '\055' + chr(0b111000))]
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'A\x8d\xb72\x86\t\xac\xf3Cg\xec\xeb\x1bXcYa\x1f'), chr(100) + '\x65' + chr(0b1100011) + chr(0b1000 + 0o147) + chr(0b1100100) + chr(101))(chr(11248 - 11131) + chr(4529 - 4413) + '\146' + chr(0b10111 + 0o26) + chr(1370 - 1314))] = roI3spqORKae(ES5oEprVxulp(b'`\x81\xb0"\xca+\xb4\xc7\n4\xec\xf6\x1dZs\x10}\x08\xcfH\x1e\x93\x99\xc8H'), chr(0b1100100) + chr(0b1100101) + chr(0b10010 + 0o121) + chr(0b1101111) + '\x64' + '\145')(chr(0b1110010 + 0o3) + chr(0b1110100) + '\146' + '\055' + chr(56)) + N9zlRy29S1SS(nKUAs3HG0RP8) + roI3spqORKae(ES5oEprVxulp(b'\x13\x8b\xab*\x9a\x12\x9d\xf2H`\xb5\xb9'), '\144' + '\x65' + '\143' + chr(111) + chr(6882 - 6782) + '\145')(chr(0b1110101) + chr(0b1001000 + 0o54) + '\146' + chr(0b100010 + 0o13) + chr(56)) + B881keGOXOsp
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc\x01'), '\144' + '\145' + '\143' + chr(111) + chr(0b1011001 + 0o13) + chr(101))(chr(0b1010010 + 0o43) + '\164' + '\x66' + chr(0b10101 + 0o30) + '\070')] = dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), chr(3679 - 3579) + chr(101) + chr(0b1011010 + 0o11) + '\x6f' + chr(7879 - 7779) + chr(0b1100101))(chr(6396 - 6279) + chr(0b1110100) + chr(0b11000 + 0o116) + chr(0b11101 + 0o20) + '\070')]
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'C\x85\xa5 \xb5\x1e\x81\xfeRq\xfd\xf0\x13wt_j\x14\xcf'), '\x64' + chr(101) + chr(7517 - 7418) + chr(111) + chr(0b1100100) + '\x65')(chr(10786 - 10669) + chr(116) + chr(102) + chr(0b101101) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'r\xab\x87\x02\xba)'), chr(0b1010011 + 0o21) + chr(101) + chr(99) + '\x6f' + chr(7913 - 7813) + '\x65')('\x75' + chr(0b1110100) + '\146' + chr(45) + chr(1636 - 1580))
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b$\x83\t\x92\xe3O{\xe1\xc6\x1cIzU}'), chr(0b110100 + 0o60) + chr(0b1100101) + chr(7187 - 7088) + chr(0b1101111) + chr(0b1100100) + chr(794 - 693))(chr(3843 - 3726) + chr(0b1000100 + 0o60) + chr(0b1100110) + chr(0b101101) + chr(0b11100 + 0o34))] = roI3spqORKae(ES5oEprVxulp(b'g\x80\xad4\xca\x0e\x87\xe2Bm'), '\x64' + chr(2462 - 2361) + chr(99) + chr(111) + chr(0b101001 + 0o73) + chr(101))('\165' + '\164' + chr(2212 - 2110) + '\055' + chr(1245 - 1189))
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b&\x84\x1c\x9f\xeeU`\xd0\xf4\x13A{o`\x10\xd1Y\x08'), '\x64' + chr(2542 - 2441) + '\143' + chr(8050 - 7939) + chr(100) + chr(5667 - 5566))(chr(2564 - 2447) + chr(0b11000 + 0o134) + chr(3164 - 3062) + '\055' + chr(56))] = E63X9RhwfuOn
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b+\x85\x1e\x92\xe3O{\xe1\xc6\x1cIzU}'), chr(576 - 476) + chr(0b1100101) + '\x63' + '\157' + chr(9583 - 9483) + chr(0b1100101))(chr(0b111001 + 0o74) + chr(0b1110100) + chr(7155 - 7053) + '\055' + chr(0b101010 + 0o16))] = dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b+\x85\x1e\x92\xe3O{\xe1\xc6\x1cIzU'), chr(0b101001 + 0o73) + '\145' + '\x63' + '\157' + chr(0b1100100) + '\145')(chr(117) + chr(0b1001010 + 0o52) + chr(102) + chr(0b101101) + chr(545 - 489))]
if mWPO4uLs4XrZ:
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x8b\x10\x83\xfbCK\xe1\xf8\x1fMd'), chr(4300 - 4200) + chr(0b1011001 + 0o14) + '\x63' + '\x6f' + '\144' + chr(0b1100101))(chr(0b1110101) + '\x74' + '\x66' + '\055' + chr(56))] = dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x8b\x10\x83\xfbCK\xe1\xf8\x1fMd'), chr(9004 - 8904) + chr(0b100111 + 0o76) + chr(5489 - 5390) + '\157' + chr(0b1100100) + chr(101))(chr(0b110100 + 0o101) + chr(116) + '\x66' + chr(45) + '\x38')]
else:
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x9a\x18\x90\xfeKq\xe1\xc6\x1cIzU}'), '\144' + '\145' + chr(0b1100011) + '\x6f' + chr(100) + '\145')(chr(117) + chr(0b1110100) + chr(4371 - 4269) + '\x2d' + chr(586 - 530))] = dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x9a\x18\x90\xfeKq\xe1\xc6\x1cIzU}'), chr(100) + '\145' + chr(8455 - 8356) + chr(0b1101111) + chr(0b1000110 + 0o36) + chr(101))(chr(0b11011 + 0o132) + '\x74' + chr(0b1011110 + 0o10) + '\055' + chr(56))]
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'G\x81\xa83\xb5\x1e\x9c\xe5Tq\xec\xed\x1bGy'), chr(0b11110 + 0o106) + '\145' + '\x63' + chr(0b1101111) + '\x64' + '\145')('\x75' + chr(0b1110100) + '\x66' + chr(0b101101) + chr(0b111000))] = dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\t\x9a\xfbRK\xec\xf6\x00ZrSz\x18\xd3R'), chr(9438 - 9338) + chr(0b1100101) + chr(0b1010111 + 0o14) + '\x6f' + '\x64' + '\x65')(chr(0b1110101) + chr(116) + chr(102) + chr(0b101101) + '\x38')]
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'C\x87\xa8"\xb5\x1e\x9c\xfaVK\xe1\xf8\x1fM'), chr(0b1100100) + chr(101) + '\x63' + chr(0b1011101 + 0o22) + '\x64' + chr(101))('\165' + chr(116) + '\146' + chr(0b100100 + 0o11) + '\070')] = dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x1e\x9c\xfaVK\xe1\xf8\x1fM'), chr(9999 - 9899) + chr(0b1100101) + chr(0b1100011) + chr(6739 - 6628) + chr(0b1011011 + 0o11) + '\145')('\x75' + chr(0b110110 + 0o76) + chr(9070 - 8968) + '\055' + '\x38')]
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8Bq\xec'), chr(9447 - 9347) + '\145' + chr(982 - 883) + chr(11436 - 11325) + chr(100) + chr(0b1100101))('\x75' + chr(116) + chr(0b1100110) + chr(0b11101 + 0o20) + chr(1273 - 1217))] = dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x19\x96\xf4'), chr(0b1100010 + 0o2) + chr(0b1101 + 0o130) + chr(0b1100011) + chr(111) + chr(100) + '\x65')(chr(0b1110101) + chr(116) + chr(0b101 + 0o141) + '\x2d' + chr(0b111000))]
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8Oz\xec'), chr(100) + '\x65' + '\143' + chr(0b10110 + 0o131) + chr(0b1100010 + 0o2) + '\x65')(chr(0b1110101) + '\164' + chr(0b1000111 + 0o37) + chr(0b1011 + 0o42) + '\070')] = dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x14\x9d\xf4'), chr(0b101000 + 0o74) + '\x65' + chr(2501 - 2402) + '\x6f' + '\x64' + chr(3811 - 3710))(chr(117) + '\164' + chr(0b1100110) + chr(45) + '\070')]
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8Gx\xff\xf1\x13\x11"'), chr(100) + chr(0b1100101) + chr(99) + chr(142 - 31) + chr(0b1100100) + chr(101))(chr(0b1110010 + 0o3) + chr(0b1110100) + chr(102) + chr(0b101101) + chr(0b11001 + 0o37))] = dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x1c\x9f\xe7Nu\xb6\xac'), chr(2874 - 2774) + chr(0b1011101 + 0o10) + chr(0b1001001 + 0o32) + '\x6f' + '\x64' + '\145')(chr(0b110100 + 0o101) + '\164' + chr(7852 - 7750) + '\055' + chr(56))]
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8H'), '\144' + chr(0b1000100 + 0o41) + '\143' + chr(111) + '\x64' + '\145')('\x75' + chr(0b10100 + 0o140) + chr(102) + chr(0b101101) + chr(2527 - 2471))] = dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x13'), '\x64' + chr(0b1100101) + chr(0b1100011) + '\x6f' + '\x64' + chr(0b1011111 + 0o6))(chr(0b1011000 + 0o35) + '\164' + chr(102) + '\055' + '\070')]
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8HK\xe3\xf0\x1cMd'), chr(0b1100100) + chr(0b100 + 0o141) + chr(99) + chr(0b1101111) + chr(0b1100100) + chr(0b101101 + 0o70))('\165' + '\164' + chr(0b1100000 + 0o6) + chr(0b1001 + 0o44) + chr(0b111000))] = dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x13\xac\xfbOz\xea\xea'), chr(100) + chr(101) + chr(0b1100011) + chr(0b11100 + 0o123) + '\144' + '\x65')('\165' + '\164' + '\x66' + chr(0b11101 + 0o20) + chr(0b110001 + 0o7))]
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8HK\xff\xf5\x13FrC'), chr(100) + chr(0b1100101) + '\143' + '\157' + chr(0b1000111 + 0o35) + chr(101))(chr(0b110110 + 0o77) + '\164' + chr(7640 - 7538) + '\055' + chr(0b111000))] = dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x13\xac\xe7Ju\xe1\xfc\x01'), chr(0b100 + 0o140) + chr(101) + chr(0b11000 + 0o113) + chr(0b10000 + 0o137) + '\x64' + chr(101))('\165' + '\x74' + chr(0b100101 + 0o101) + chr(0b101101) + '\x38')]
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'E\x8f\xb4\x18\x84'), chr(100) + chr(0b1001011 + 0o32) + chr(99) + chr(0b1010001 + 0o36) + chr(8324 - 8224) + '\x65')(chr(0b1110101) + chr(116) + chr(0b1100110) + chr(0b101101) + '\x38')] = dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x13'), chr(0b110 + 0o136) + chr(0b1100101) + '\143' + chr(0b1000000 + 0o57) + '\x64' + chr(0b1100101))(chr(117) + '\164' + chr(0b1100110) + chr(1390 - 1345) + '\x38')]
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8M'), chr(0b1100100) + chr(0b1100101) + chr(5319 - 5220) + '\x6f' + chr(0b1100100) + chr(0b1010010 + 0o23))(chr(0b1101011 + 0o12) + chr(12786 - 12670) + '\146' + chr(1338 - 1293) + '\x38')] = dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x16'), chr(0b1001011 + 0o31) + '\x65' + chr(7492 - 7393) + chr(0b1101111) + chr(0b1100100) + '\145')('\x75' + chr(116) + '\146' + chr(0b101101) + '\070')]
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8T'), chr(0b1100100) + chr(3826 - 3725) + chr(5435 - 5336) + '\157' + '\144' + chr(0b1100101))('\165' + chr(6602 - 6486) + chr(0b111101 + 0o51) + '\x2d' + chr(56))] = dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x0f'), '\144' + chr(0b1100101) + '\x63' + chr(0b1101111) + chr(8304 - 8204) + chr(6119 - 6018))(chr(117) + chr(116) + '\146' + chr(0b1000 + 0o45) + chr(0b111000))]
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8Ju\xfb'), chr(0b1000 + 0o134) + chr(0b100001 + 0o104) + '\x63' + chr(0b111011 + 0o64) + chr(0b1100100) + chr(101))(chr(117) + chr(116) + chr(0b100010 + 0o104) + '\x2d' + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\x16\xd9\xf4i\xde\x1b\xd3'), chr(0b1100100) + chr(101) + chr(3454 - 3355) + '\157' + chr(0b1100100) + '\x65')('\x75' + '\164' + '\x66' + chr(0b101101) + '\x38') % Wp2Umairw0XS
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8J{\xe1'), chr(8438 - 8338) + '\145' + chr(291 - 192) + chr(5072 - 4961) + chr(0b100011 + 0o101) + chr(0b1 + 0o144))(chr(117) + chr(116) + chr(0b1100110) + '\x2d' + chr(56))] = roI3spqORKae(ES5oEprVxulp(b'\x16\xd9\xf4i\xde\x1b\xd3'), chr(100) + '\145' + chr(5427 - 5328) + chr(0b11111 + 0o120) + '\x64' + chr(0b1100101))(chr(1533 - 1416) + chr(0b10111 + 0o135) + chr(102) + chr(0b10010 + 0o33) + chr(56)) % OSV4Uwkhpwk6
if NkaGetDD5YnR != roI3spqORKae(ES5oEprVxulp(b''), chr(8241 - 8141) + chr(101) + '\143' + chr(0b1101111) + chr(0b111101 + 0o47) + chr(0b1100101))(chr(0b1010111 + 0o36) + chr(3149 - 3033) + chr(0b1100110) + chr(0b10101 + 0o30) + chr(176 - 120)):
brC_KUrC8IRK = hUcsWwAd0nE_.get_age(brC_KUrC8IRK, roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc\x01'), '\x64' + chr(5480 - 5379) + chr(0b111110 + 0o45) + chr(0b100 + 0o153) + chr(100) + '\145')(chr(0b1110101) + '\x74' + chr(0b1100110) + chr(1949 - 1904) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8'), '\144' + chr(0b1100101) + '\x63' + chr(0b111000 + 0o67) + chr(3486 - 3386) + '\145')(chr(7239 - 7122) + '\x74' + '\146' + chr(0b101101) + chr(0b1100 + 0o54)), LwTI1rQOCPQ5, EXonMtj3JhTF)
tNhDgXcHTdNF = hUcsWwAd0nE_.get_dictitem(Ip8r_qFlFOiJ, roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), '\x64' + chr(0b1100101) + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(2345 - 2244))('\165' + chr(0b1110100) + '\x66' + '\x2d' + '\070'), f9ijNiPCpOFu, roI3spqORKae(ES5oEprVxulp(b'g'), chr(0b111 + 0o135) + chr(101) + chr(99) + chr(0b1101111) + chr(0b1100100) + chr(101))('\x75' + chr(116) + chr(7395 - 7293) + '\055' + chr(0b111000)))
if ftfygxgFas5X(tNhDgXcHTdNF) > nzTpIcepk0o8(chr(583 - 535) + chr(0b1101111) + chr(48), 8):
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8Nq\xe6\xfe\x1a\\'), '\x64' + '\x65' + '\x63' + '\x6f' + chr(0b1100100) + chr(0b111101 + 0o50))('\x75' + '\x74' + chr(102) + chr(0b10001 + 0o34) + chr(0b0 + 0o70))] = tNhDgXcHTdNF[nzTpIcepk0o8(chr(1201 - 1153) + chr(0b1010111 + 0o30) + '\060', 8)][roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x15\x96\xfeA|\xfb'), chr(0b110 + 0o136) + '\145' + '\x63' + '\157' + chr(0b1100 + 0o130) + chr(5491 - 5390))(chr(9658 - 9541) + '\164' + chr(8567 - 8465) + chr(0b1000 + 0o45) + '\x38')]
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'E\x8f\xb4\x18\x86\x1c\x87'), chr(0b1100001 + 0o3) + '\145' + chr(0b1100011) + '\157' + chr(0b111001 + 0o53) + chr(101))(chr(0b100000 + 0o125) + chr(2721 - 2605) + chr(0b1100110) + chr(45) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\x16\xdf\xeav\x8c]'), chr(100) + chr(0b1100101) + '\x63' + '\x6f' + chr(0b100100 + 0o100) + '\x65')(chr(117) + '\164' + '\x66' + '\055' + chr(2593 - 2537)) % yOX81cxVSDwr
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'E\x8f\xb4\x18\x86\x12\x9d'), chr(100) + chr(101) + chr(0b1100011) + chr(0b1011 + 0o144) + '\x64' + chr(0b1100011 + 0o2))('\165' + chr(0b1110100) + chr(9782 - 9680) + chr(1125 - 1080) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\x16\xdf\xeav\x8c]'), '\x64' + chr(0b1100101) + chr(7429 - 7330) + chr(0b1101101 + 0o2) + '\x64' + '\x65')(chr(117) + chr(116) + '\146' + '\055' + chr(0b100000 + 0o30)) % j1qi1l65tYxo
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'E\x8f\xb4\x18\x8e\r'), chr(0b111 + 0o135) + chr(0b1100101) + '\143' + '\x6f' + chr(5532 - 5432) + '\x65')('\165' + chr(0b1110100) + chr(102) + chr(1506 - 1461) + '\070')] = roI3spqORKae(ES5oEprVxulp(b'\x16\xdf\xeav\x8c]'), '\x64' + '\x65' + chr(99) + chr(7922 - 7811) + chr(6142 - 6042) + chr(0b1100101))('\165' + chr(5550 - 5434) + '\146' + chr(1669 - 1624) + chr(2094 - 2038)) % El4w8QMGwyUW
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'E\x8f\xb4\x18\x8e\x10'), '\x64' + '\x65' + chr(0b1010100 + 0o17) + chr(0b1100101 + 0o12) + '\144' + chr(0b1100101))(chr(0b1100 + 0o151) + chr(4226 - 4110) + chr(0b1100110) + '\x2d' + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\x16\xdf\xeav\x8c]'), '\144' + '\145' + chr(0b1100011) + '\157' + chr(888 - 788) + chr(0b1100101))(chr(0b101000 + 0o115) + chr(0b1110100) + '\146' + chr(1156 - 1111) + chr(56)) % _zcxIoncSRlL
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), chr(0b1100100) + chr(101) + chr(8756 - 8657) + '\x6f' + chr(0b11001 + 0o113) + chr(4810 - 4709))('\165' + chr(116) + chr(0b1001100 + 0o32) + chr(45) + '\070')] = dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), chr(0b1011 + 0o131) + chr(0b1100101) + chr(99) + '\x6f' + chr(0b1100100) + '\x65')(chr(0b1110101) + '\x74' + '\x66' + '\055' + '\070')]
if roI3spqORKae(ES5oEprVxulp(b'\x03'), '\144' + '\x65' + chr(99) + chr(0b10001 + 0o136) + chr(100) + chr(3475 - 3374))('\165' + '\x74' + chr(102) + '\x2d' + chr(2817 - 2761)) in dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\t\x9a\xfbRK\xec\xf6\x00ZrSz\x18\xd3R'), chr(100) + chr(101) + chr(99) + chr(10540 - 10429) + '\x64' + chr(0b111001 + 0o54))('\165' + chr(8745 - 8629) + '\146' + '\x2d' + chr(1861 - 1805))] and roI3spqORKae(ES5oEprVxulp(b'w\xa9\xe9\x03\xa3/\xde\xd0c['), chr(0b101000 + 0o74) + chr(0b110001 + 0o64) + '\143' + chr(0b1101111) + chr(0b1000111 + 0o35) + chr(0b1011111 + 0o6))(chr(8542 - 8425) + '\x74' + chr(0b111011 + 0o53) + chr(1798 - 1753) + '\070') not in dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), '\144' + chr(0b1100101) + '\x63' + chr(0b1101111) + chr(100) + '\145')(chr(13323 - 13206) + '\164' + chr(0b1100110) + chr(0b10011 + 0o32) + chr(0b0 + 0o70))]:
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), chr(0b1100100) + chr(101) + chr(99) + chr(0b111010 + 0o65) + chr(0b111011 + 0o51) + '\x65')(chr(0b1000100 + 0o61) + chr(0b1110100) + chr(0b1100110) + chr(45) + chr(0b10111 + 0o41))] = dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), chr(100) + chr(101) + '\x63' + chr(111) + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + '\164' + chr(0b1100110) + chr(45) + '\070')] + roI3spqORKae(ES5oEprVxulp(b'\t\xac\x85j\xae4\xa1\xbaaQ\xc0'), chr(0b1100100) + chr(7587 - 7486) + chr(99) + chr(0b10 + 0o155) + '\144' + chr(0b1100101))(chr(0b1001101 + 0o50) + chr(0b1110 + 0o146) + chr(0b1100110) + '\x2d' + '\070')
if roI3spqORKae(ES5oEprVxulp(b'\x02\xd8\xf4'), chr(6974 - 6874) + chr(0b1100101) + '\143' + chr(0b1100101 + 0o12) + '\144' + chr(0b1000 + 0o135))(chr(0b1100101 + 0o20) + chr(0b10001 + 0o143) + chr(102) + chr(0b10000 + 0o35) + chr(931 - 875)) in dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\t\x9a\xfbRK\xec\xf6\x00ZrSz\x18\xd3R'), chr(5632 - 5532) + chr(2910 - 2809) + '\143' + chr(111) + chr(0b11001 + 0o113) + chr(101))('\165' + chr(116) + '\146' + chr(0b101101) + chr(56))] and roI3spqORKae(ES5oEprVxulp(b'w\xa9\xe9\x03\xa3/\xde\xc3oX\xdb'), chr(0b1100100) + chr(2106 - 2005) + chr(99) + '\157' + '\x64' + '\x65')(chr(0b1110101) + '\x74' + chr(0b110011 + 0o63) + '\055' + chr(2816 - 2760)) not in dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), chr(0b1100100) + chr(101) + chr(0b11010 + 0o111) + chr(0b1101111) + chr(100) + chr(0b1100101))(chr(0b1100100 + 0o21) + chr(0b1110100) + chr(0b111010 + 0o54) + '\055' + '\070')]:
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), chr(100) + chr(0b1100101) + '\x63' + chr(0b1101111) + chr(0b100110 + 0o76) + chr(0b11010 + 0o113))(chr(8815 - 8698) + chr(0b1100110 + 0o16) + '\146' + chr(45) + chr(0b111000))] = dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), chr(0b1100100) + '\x65' + '\143' + chr(2512 - 2401) + '\x64' + '\x65')(chr(117) + chr(0b1000001 + 0o63) + chr(3907 - 3805) + '\055' + chr(0b111000))] + roI3spqORKae(ES5oEprVxulp(b'\t\xac\x85j\xae4\xa1\xbar]\xc3\xcd'), chr(0b100111 + 0o75) + chr(101) + chr(99) + '\x6f' + chr(0b1100100) + '\x65')(chr(117) + chr(0b1110100) + chr(2248 - 2146) + '\055' + chr(0b111000))
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\r\x9c\xfbGf\xe6\xed\x0b'), chr(0b110100 + 0o60) + '\145' + chr(0b1001100 + 0o27) + chr(111) + '\144' + chr(0b1100101))(chr(0b1110101) + chr(0b10100 + 0o140) + chr(10213 - 10111) + chr(233 - 188) + chr(56))] = roI3spqORKae(ES5oEprVxulp(b''), chr(0b110011 + 0o61) + chr(0b1100101) + chr(99) + chr(0b1101111) + '\x64' + chr(0b1111 + 0o126))('\x75' + '\164' + '\146' + chr(45) + chr(2969 - 2913))
if IMwskhRHKp2b:
aO7VavFy3Xvk = hUcsWwAd0nE_.aO7VavFy3Xvk([nzTpIcepk0o8(chr(0b110000 + 0o0) + '\x6f' + chr(48), 8), nzTpIcepk0o8(chr(48) + chr(111) + chr(2202 - 2154), 8)], [nzTpIcepk0o8(chr(0b110000) + chr(0b1010111 + 0o30) + chr(789 - 741), 8), nzTpIcepk0o8(chr(0b100101 + 0o13) + chr(111) + chr(1846 - 1797) + chr(786 - 735) + chr(0b110010), ord("\x08")) - yOX81cxVSDwr])
if aO7VavFy3Xvk <= 55.0:
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\r\x9c\xfbGf\xe6\xed\x0b'), '\144' + chr(4272 - 4171) + chr(9703 - 9604) + chr(0b101101 + 0o102) + chr(0b1100100) + '\x65')(chr(0b1101010 + 0o13) + chr(8470 - 8354) + '\146' + '\x2d' + chr(0b10000 + 0o50))] = roI3spqORKae(ES5oEprVxulp(b']'), chr(0b1100100) + chr(0b1100101) + chr(4344 - 4245) + '\157' + chr(0b1100100) + chr(502 - 401))(chr(117) + '\x74' + '\x66' + '\x2d' + chr(3112 - 3056))
if aO7VavFy3Xvk > 55.0 and aO7VavFy3Xvk < 125.0:
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\r\x9c\xfbGf\xe6\xed\x0b'), chr(0b1100100) + '\145' + chr(9600 - 9501) + chr(6725 - 6614) + '\x64' + chr(101))('\x75' + chr(11355 - 11239) + '\146' + '\055' + '\070')] = roI3spqORKae(ES5oEprVxulp(b'G'), chr(100) + '\145' + chr(1853 - 1754) + chr(0b1101111) + chr(8427 - 8327) + chr(4766 - 4665))('\x75' + chr(0b1110100) + '\x66' + '\x2d' + chr(0b101111 + 0o11))
if aO7VavFy3Xvk >= 125.0:
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\r\x9c\xfbGf\xe6\xed\x0b'), '\x64' + '\x65' + chr(5174 - 5075) + chr(0b1101111) + chr(8280 - 8180) + chr(0b1001111 + 0o26))(chr(117) + '\x74' + chr(6790 - 6688) + chr(0b101101) + chr(3120 - 3064))] = roI3spqORKae(ES5oEprVxulp(b'A'), chr(100) + chr(0b1100101) + chr(0b1100011) + chr(0b1101111) + '\144' + chr(0b110100 + 0o61))(chr(117) + chr(11499 - 11383) + chr(0b1100110) + chr(45) + chr(0b10110 + 0o42))
roI3spqORKae(KqguM7qb1SZj, roI3spqORKae(ES5oEprVxulp(b'{\xbc\x97s\x92\x1a\xb4\xf8L{\xda\xac'), chr(0b10001 + 0o123) + '\145' + chr(2830 - 2731) + chr(111) + chr(100) + '\x65')('\165' + '\x74' + chr(102) + chr(0b100010 + 0o13) + chr(56)))(brC_KUrC8IRK)
if IMwskhRHKp2b:
GKJBijOkEurp = hUcsWwAd0nE_.get_dictitem(ygBgX1u1bUkq, roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\t\x9a\xfbRK\xec\xf6\x00ZrSz\x18\xd3R'), chr(4503 - 4403) + chr(7425 - 7324) + chr(0b1100011) + chr(6811 - 6700) + '\144' + '\145')('\165' + chr(116) + chr(378 - 276) + chr(0b101101) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\x02\xd8\xf4'), chr(0b1010111 + 0o15) + chr(0b100100 + 0o101) + chr(99) + '\x6f' + chr(233 - 133) + '\145')(chr(0b1000 + 0o155) + chr(0b1110100) + chr(102) + chr(45) + chr(0b100101 + 0o23)), roI3spqORKae(ES5oEprVxulp(b'g'), chr(1684 - 1584) + chr(0b1100101) + chr(99) + chr(3944 - 3833) + chr(7869 - 7769) + chr(1646 - 1545))('\x75' + chr(0b1110100) + chr(0b100 + 0o142) + '\x2d' + chr(1459 - 1403)))
if ftfygxgFas5X(GKJBijOkEurp) < nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b100110 + 0o14), 8):
GKJBijOkEurp = hUcsWwAd0nE_.get_dictitem(ygBgX1u1bUkq, roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\t\x9a\xfbRK\xec\xf6\x00ZrSz\x18\xd3R'), '\x64' + chr(9363 - 9262) + chr(0b1100011) + chr(0b1101111) + '\144' + chr(101))(chr(0b1110101) + chr(2449 - 2333) + chr(0b1100110) + chr(1171 - 1126) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\x03'), chr(0b1001001 + 0o33) + chr(4085 - 3984) + chr(99) + chr(0b101 + 0o152) + chr(6218 - 6118) + chr(8286 - 8185))('\x75' + '\164' + chr(0b1100110) + '\x2d' + chr(0b100110 + 0o22)), roI3spqORKae(ES5oEprVxulp(b'g'), chr(0b1100100) + chr(0b1001100 + 0o31) + chr(0b1010011 + 0o20) + chr(594 - 483) + '\x64' + chr(0b1100101 + 0o0))(chr(117) + chr(0b1100110 + 0o16) + chr(102) + '\055' + '\x38'))
if ftfygxgFas5X(GKJBijOkEurp) > nzTpIcepk0o8(chr(48) + chr(10127 - 10016) + chr(0b110010), 8):
B881keGOXOsp = hUcsWwAd0nE_.get_list(GKJBijOkEurp, roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x1e\x9c\xfaVK\xe1\xf8\x1fM'), '\x64' + '\x65' + chr(0b1100011) + '\157' + chr(0b1011010 + 0o12) + chr(1395 - 1294))('\x75' + chr(0b1110100) + '\x66' + chr(0b101101) + chr(56))).LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\t'), chr(0b101101 + 0o67) + '\145' + '\x63' + chr(111) + '\x64' + chr(0b1100101))('\165' + chr(116) + '\146' + '\x2d' + chr(0b111000)))[nzTpIcepk0o8('\060' + chr(1453 - 1342) + chr(795 - 747), 8)]
GKJBijOkEurp = hUcsWwAd0nE_.get_dictitem(GKJBijOkEurp, roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x1e\x9c\xfaVK\xe1\xf8\x1fM'), chr(0b1 + 0o143) + chr(101) + chr(99) + '\x6f' + '\144' + chr(0b101001 + 0o74))(chr(117) + chr(4974 - 4858) + chr(7351 - 7249) + chr(187 - 142) + '\070'), B881keGOXOsp, roI3spqORKae(ES5oEprVxulp(b'g'), '\x64' + chr(101) + chr(99) + chr(0b110011 + 0o74) + chr(9428 - 9328) + '\145')(chr(10771 - 10654) + chr(116) + '\146' + '\055' + chr(0b111000)))
mrZTpmA6lfT8 = []
for FKO_XxLfWbYt in GKJBijOkEurp:
roI3spqORKae(mrZTpmA6lfT8, roI3spqORKae(ES5oEprVxulp(b'{\xbc\x97s\x92\x1a\xb4\xf8L{\xda\xac'), chr(8712 - 8612) + '\x65' + '\143' + chr(0b1101111) + chr(0b100100 + 0o100) + chr(9669 - 9568))(chr(11492 - 11375) + chr(0b100 + 0o160) + chr(0b1100110) + '\055' + chr(0b10110 + 0o42)))({roI3spqORKae(ES5oEprVxulp(b'W\x8d\xa7'), '\x64' + '\x65' + chr(99) + chr(5925 - 5814) + '\x64' + chr(0b1100101))(chr(0b1110101) + chr(0b1011100 + 0o30) + '\146' + chr(182 - 137) + chr(56)): FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x19\x96\xf4'), chr(0b1100100) + chr(0b1011011 + 0o12) + chr(0b1100011) + '\x6f' + chr(100) + chr(0b111111 + 0o46))(chr(117) + chr(0b1100011 + 0o21) + '\146' + chr(0b101101) + chr(146 - 90))], roI3spqORKae(ES5oEprVxulp(b'Z\x86\xa7'), chr(0b10010 + 0o122) + chr(0b1100101) + chr(2251 - 2152) + chr(160 - 49) + chr(100) + '\x65')(chr(0b1110101) + chr(116) + '\146' + '\x2d' + chr(0b1100 + 0o54)): FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x14\x9d\xf4'), chr(100) + chr(3588 - 3487) + chr(0b1100011) + '\x6f' + chr(100) + chr(5027 - 4926))('\x75' + chr(0b1110100) + chr(0b1100110) + '\055' + chr(0b101 + 0o63))], roI3spqORKae(ES5oEprVxulp(b']\x89\xa9"'), chr(0b1100100) + '\145' + chr(0b1100 + 0o127) + chr(0b1000000 + 0o57) + chr(100) + chr(3206 - 3105))(chr(0b1001110 + 0o47) + '\164' + '\146' + '\055' + '\x38'): FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), chr(100) + '\145' + chr(0b1100011) + chr(0b1101111) + chr(0b111000 + 0o54) + '\145')('\x75' + chr(116) + chr(102) + '\055' + chr(56))], roI3spqORKae(ES5oEprVxulp(b'_\x87\xa7'), chr(100) + '\x65' + '\143' + '\x6f' + chr(0b1100100) + '\145')(chr(0b1101010 + 0o13) + chr(116) + '\x66' + chr(1926 - 1881) + '\x38'): FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b+\x85\x1e\x92\xe3O{\xe1\xc6\x1cIzU'), '\x64' + chr(3792 - 3691) + '\x63' + chr(0b100000 + 0o117) + '\144' + '\145')(chr(0b1101110 + 0o7) + chr(6196 - 6080) + chr(7091 - 6989) + chr(0b101101) + chr(0b10 + 0o66))]})
UnPoZFygSPX9 = hUcsWwAd0nE_.fisher_by_pol(mrZTpmA6lfT8)
for bmJ7SvuZE3jD in H4NoA26ON7iG(roI3spqORKae(UnPoZFygSPX9, roI3spqORKae(ES5oEprVxulp(b'X\x8d\xbd4'), chr(0b1100100) + '\x65' + chr(533 - 434) + chr(0b110000 + 0o77) + '\x64' + '\x65')('\x75' + chr(525 - 409) + '\146' + chr(1580 - 1535) + '\x38'))()):
epeFhfTAVdMA = {}
epeFhfTAVdMA[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b$\x83\t\x92\xe3O{\xe1\xc6\x1cIzU}'), '\x64' + '\x65' + chr(99) + chr(111) + chr(0b1100100 + 0o0) + chr(0b1010001 + 0o24))(chr(117) + chr(0b1110100) + chr(261 - 159) + chr(45) + chr(0b100110 + 0o22))] = roI3spqORKae(ES5oEprVxulp(b'g\x80\xad4\xca\x0e\x87\xe2Bm'), chr(8957 - 8857) + chr(0b1100100 + 0o1) + chr(0b1100011) + chr(111) + chr(0b1011101 + 0o7) + chr(101))(chr(0b1110101) + chr(116) + '\x66' + '\x2d' + chr(2073 - 2017))
epeFhfTAVdMA[roI3spqORKae(ES5oEprVxulp(b'C\x85\xa5 \xb5\x0f\x96\xe4Sx\xfb\xc6\x1cIzU'), chr(2931 - 2831) + chr(4627 - 4526) + chr(0b110010 + 0o61) + '\x6f' + '\x64' + chr(101))(chr(0b1110101) + '\x74' + '\146' + '\055' + chr(56))] = roI3spqORKae(ES5oEprVxulp(b'c\x87\xa8&\x98\x14\x87\xee\x06U\xf9\xfc\x00IpU4Q\xecS\x17\x9f\xcb\x9c\x1c\x87W'), chr(0b1100100) + chr(101) + '\x63' + chr(0b1101111) + chr(100) + '\145')(chr(0b1110101) + chr(0b1110100) + chr(2187 - 2085) + '\x2d' + '\x38') + bmJ7SvuZE3jD
epeFhfTAVdMA[roI3spqORKae(ES5oEprVxulp(b'W\x89\xb0&\xb5\t\x8a\xe7C'), '\x64' + chr(0b1100101) + chr(6668 - 6569) + chr(0b1101111) + chr(712 - 612) + '\x65')(chr(117) + chr(0b1100 + 0o150) + chr(0b1010001 + 0o25) + chr(1462 - 1417) + chr(56))] = roI3spqORKae(ES5oEprVxulp(b'R'), '\x64' + '\145' + chr(0b110110 + 0o55) + chr(0b1101111) + '\144' + chr(6029 - 5928))('\x75' + chr(0b1101011 + 0o11) + chr(1678 - 1576) + chr(45) + chr(56))
epeFhfTAVdMA[roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8Bq\xec'), '\x64' + '\x65' + chr(0b1100011) + chr(111) + chr(100) + chr(0b1000111 + 0o36))(chr(0b1010001 + 0o44) + chr(0b1000001 + 0o63) + chr(102) + chr(0b11110 + 0o17) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\x16\xdf\xeav\x8c'), '\144' + '\x65' + chr(99) + chr(671 - 560) + chr(0b10001 + 0o123) + '\x65')(chr(11840 - 11723) + chr(0b1110100) + chr(0b1001000 + 0o36) + '\055' + chr(0b111000)) % UnPoZFygSPX9[bmJ7SvuZE3jD][roI3spqORKae(ES5oEprVxulp(b'W\x8d\xa7'), chr(0b10 + 0o142) + chr(7284 - 7183) + '\143' + chr(0b1101111) + '\144' + '\145')('\165' + chr(0b100110 + 0o116) + '\146' + chr(0b10100 + 0o31) + chr(56))]
epeFhfTAVdMA[roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8Oz\xec'), chr(100) + '\x65' + '\143' + chr(0b101101 + 0o102) + chr(0b1100100) + chr(0b1100101))(chr(0b101010 + 0o113) + chr(116) + chr(0b1101 + 0o131) + chr(45) + '\070')] = roI3spqORKae(ES5oEprVxulp(b'\x16\xdf\xeav\x8c'), chr(0b1100100) + '\x65' + chr(0b1000000 + 0o43) + '\x6f' + chr(0b1100100) + chr(9044 - 8943))('\x75' + '\164' + '\x66' + chr(1296 - 1251) + chr(1072 - 1016)) % UnPoZFygSPX9[bmJ7SvuZE3jD][roI3spqORKae(ES5oEprVxulp(b'Z\x86\xa7'), chr(0b100101 + 0o77) + '\145' + chr(181 - 82) + '\157' + chr(0b111110 + 0o46) + chr(0b101110 + 0o67))(chr(0b1010011 + 0o42) + chr(8652 - 8536) + '\146' + chr(45) + chr(56))]
epeFhfTAVdMA[roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8H'), chr(5487 - 5387) + '\x65' + '\143' + chr(111) + chr(100) + '\145')('\x75' + chr(0b1110100) + chr(8164 - 8062) + chr(45) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\x16\x81'), '\144' + '\145' + chr(6594 - 6495) + chr(3844 - 3733) + '\x64' + '\x65')(chr(0b1110101) + '\x74' + chr(102) + chr(0b0 + 0o55) + chr(56)) % UnPoZFygSPX9[bmJ7SvuZE3jD][roI3spqORKae(ES5oEprVxulp(b']'), '\x64' + '\x65' + chr(0b1100011) + chr(6438 - 6327) + chr(0b1100100) + chr(0b1100100 + 0o1))(chr(9838 - 9721) + chr(0b1011101 + 0o27) + chr(102) + '\055' + chr(0b111000))]
epeFhfTAVdMA[roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8T'), '\144' + chr(101) + '\x63' + '\157' + chr(2768 - 2668) + chr(101))(chr(0b110100 + 0o101) + '\164' + chr(7260 - 7158) + chr(0b100010 + 0o13) + chr(955 - 899))] = roI3spqORKae(ES5oEprVxulp(b'\x16\xdd\xeas\x8c'), chr(0b111 + 0o135) + '\145' + chr(0b1000100 + 0o37) + '\x6f' + '\144' + chr(0b110001 + 0o64))(chr(6814 - 6697) + chr(0b1110100) + '\146' + '\055' + chr(0b111 + 0o61)) % UnPoZFygSPX9[bmJ7SvuZE3jD][roI3spqORKae(ES5oEprVxulp(b'A'), chr(100) + '\145' + '\143' + chr(7348 - 7237) + chr(0b101101 + 0o67) + chr(0b1100101))('\165' + chr(0b111 + 0o155) + chr(102) + chr(0b101101) + chr(3113 - 3057))]
epeFhfTAVdMA[roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8M'), chr(0b1100100) + chr(101) + chr(0b1100011) + chr(0b1 + 0o156) + chr(0b101000 + 0o74) + chr(0b101000 + 0o75))(chr(0b1110101) + chr(0b111011 + 0o71) + chr(0b1100110) + '\055' + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\x16\xde\xeaw\x8c'), chr(100) + chr(0b1100 + 0o131) + chr(0b100101 + 0o76) + chr(0b110011 + 0o74) + '\144' + chr(101))('\165' + chr(10031 - 9915) + '\146' + chr(0b101101) + '\070') % UnPoZFygSPX9[bmJ7SvuZE3jD][roI3spqORKae(ES5oEprVxulp(b'X'), '\x64' + chr(0b1001010 + 0o33) + '\x63' + chr(0b100011 + 0o114) + '\x64' + '\145')('\165' + '\164' + chr(102) + chr(45) + chr(0b111000))]
epeFhfTAVdMA[roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8Gx\xff\xf1\x13\x11"'), chr(0b1010111 + 0o15) + chr(0b1100101) + chr(0b1100011) + chr(0b10110 + 0o131) + chr(0b1010100 + 0o20) + '\x65')(chr(117) + '\164' + chr(102) + '\x2d' + chr(0b110101 + 0o3))] = roI3spqORKae(ES5oEprVxulp(b'\x16\xdf\xeav\x8c'), chr(0b1100100) + chr(101) + chr(99) + chr(111) + chr(9731 - 9631) + '\x65')('\165' + '\164' + chr(0b1100110) + '\x2d' + '\070') % UnPoZFygSPX9[bmJ7SvuZE3jD][roI3spqORKae(ES5oEprVxulp(b'R\x84\xb4/\x8bD\xc6'), '\144' + '\145' + chr(832 - 733) + chr(111) + chr(0b1100100) + chr(6705 - 6604))('\x75' + chr(0b1110100) + chr(4210 - 4108) + chr(0b11111 + 0o16) + chr(0b111000))]
epeFhfTAVdMA[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc\x01'), '\x64' + chr(0b1100101) + chr(0b11 + 0o140) + chr(3014 - 2903) + chr(0b1100100) + chr(745 - 644))(chr(117) + chr(116) + chr(102) + chr(0b101001 + 0o4) + '\070')] = UnPoZFygSPX9[bmJ7SvuZE3jD][roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\x99'), '\144' + chr(0b10001 + 0o124) + chr(0b1100011) + '\x6f' + chr(0b100100 + 0o100) + chr(8850 - 8749))(chr(117) + chr(700 - 584) + chr(970 - 868) + '\x2d' + chr(2319 - 2263))]
epeFhfTAVdMA[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b+\x85\x1e\x92\xe3O{\xe1\xc6\x1cIzU}'), '\x64' + chr(4360 - 4259) + '\x63' + chr(0b1011 + 0o144) + '\144' + chr(0b1100101))('\x75' + chr(0b1110010 + 0o2) + '\x66' + chr(0b10011 + 0o32) + chr(56))] = UnPoZFygSPX9[bmJ7SvuZE3jD][roI3spqORKae(ES5oEprVxulp(b'_\x87\xa74'), chr(0b1100100) + chr(0b1100101) + chr(6222 - 6123) + chr(2727 - 2616) + '\144' + chr(0b1100101))('\165' + chr(0b1110100) + chr(0b1000011 + 0o43) + '\055' + chr(0b111000))]
epeFhfTAVdMA[roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x80\xf8@`\xf8\xf8\x00MH@o\x12\xd7]\x1c\x9b\xca'), chr(0b1100100) + chr(101) + chr(0b1100011) + chr(111) + chr(0b111110 + 0o46) + chr(7131 - 7030))(chr(421 - 304) + chr(116) + '\x66' + '\x2d' + chr(0b100011 + 0o25))] = uNg9Yeq376oN
roI3spqORKae(KqguM7qb1SZj, roI3spqORKae(ES5oEprVxulp(b'{\xbc\x97s\x92\x1a\xb4\xf8L{\xda\xac'), chr(1289 - 1189) + chr(0b1100101) + chr(99) + chr(0b100110 + 0o111) + '\144' + chr(4264 - 4163))(chr(0b101010 + 0o113) + chr(3999 - 3883) + chr(102) + chr(45) + chr(2058 - 2002)))(epeFhfTAVdMA)
if not Hm2XVyXJQEvm and EDO63r3948SF != nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(49), 8):
for f9ijNiPCpOFu in SDKwNkUm3Omo:
if knIDsKRerFdz:
v8jsMqaYV6U2(f9ijNiPCpOFu)
if not yukBe87Vp4cn:
(QYodcsDtoGq7, CtVbSzlHGZGP) = (roI3spqORKae(ES5oEprVxulp(b'@\x98\xa1$\x83\x10\x96\xf9'), chr(100) + chr(3853 - 3752) + '\x63' + '\x6f' + chr(100) + chr(0b1100101))(chr(5169 - 5052) + chr(2372 - 2256) + chr(102) + chr(1880 - 1835) + chr(56)), DUKw8HUh8qRY)
if yukBe87Vp4cn:
(QYodcsDtoGq7, CtVbSzlHGZGP) = (roI3spqORKae(ES5oEprVxulp(b'@\x89\xa97\x86\x18'), chr(100) + chr(0b1100101) + '\143' + chr(7985 - 7874) + chr(2466 - 2366) + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + '\146' + chr(45) + '\070'), B_c91SsQYEwZ)
onUEhWOmC3SX = hUcsWwAd0nE_.get_dictitem(CtVbSzlHGZGP, roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), chr(0b10101 + 0o117) + '\x65' + chr(99) + chr(111) + chr(100) + '\x65')(chr(6577 - 6460) + chr(116) + '\x66' + '\x2d' + chr(56)), f9ijNiPCpOFu, roI3spqORKae(ES5oEprVxulp(b'g'), chr(0b11110 + 0o106) + chr(0b111110 + 0o47) + '\143' + chr(0b10010 + 0o135) + chr(0b1100100) + '\x65')(chr(117) + chr(0b1001010 + 0o52) + chr(0b1100011 + 0o3) + chr(0b101101) + '\x38'))
if ftfygxgFas5X(onUEhWOmC3SX) > nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(48), 8):
dUJE4T1NkSrH = hUcsWwAd0nE_.average_int(onUEhWOmC3SX, QYodcsDtoGq7, roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"'), '\x64' + chr(7024 - 6923) + chr(0b1100011) + '\157' + chr(100) + chr(0b11010 + 0o113))(chr(3292 - 3175) + chr(116) + chr(0b1100110) + chr(857 - 812) + chr(2906 - 2850)))
brC_KUrC8IRK = hUcsWwAd0nE_.average_int(onUEhWOmC3SX, QYodcsDtoGq7, roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96'), '\x64' + '\x65' + chr(99) + chr(2270 - 2159) + chr(5257 - 5157) + '\x65')(chr(117) + chr(116) + chr(880 - 778) + '\x2d' + chr(56)))
if knIDsKRerFdz:
for FKO_XxLfWbYt in onUEhWOmC3SX:
v8jsMqaYV6U2(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b'), '\x64' + chr(0b1001010 + 0o33) + chr(0b1100011) + chr(0b1011 + 0o144) + chr(2187 - 2087) + '\145')(chr(8277 - 8160) + '\x74' + '\146' + chr(0b100 + 0o51) + chr(2381 - 2325)) + QYodcsDtoGq7 + roI3spqORKae(ES5oEprVxulp(b'l\x86\xa5*\x8f'), chr(100) + chr(2217 - 2116) + '\143' + '\157' + chr(0b1100010 + 0o2) + chr(0b1100101))('\x75' + '\164' + chr(1678 - 1576) + chr(556 - 511) + chr(56))], roI3spqORKae(ES5oEprVxulp(b'\x13\xcd\xf3i\xdb\x1b'), chr(0b1100100) + chr(0b1100000 + 0o5) + '\x63' + '\x6f' + chr(0b1100100) + chr(0b1100101))('\x75' + chr(1575 - 1459) + chr(0b11000 + 0o116) + '\x2d' + chr(0b111000)) % (1000000.0 * jLW6pRf2DSRk(FKO_XxLfWbYt[QYodcsDtoGq7 + roI3spqORKae(ES5oEprVxulp(b'l\x81\xaa3'), '\144' + '\145' + chr(0b1100011) + chr(6858 - 6747) + '\x64' + '\x65')(chr(117) + chr(0b1110011 + 0o1) + chr(102) + chr(45) + '\070')])))
if ftfygxgFas5X(onUEhWOmC3SX) > nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110001), 8):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'r\x9e\xa15\x8b\x1a\x96\xad\x06'), chr(0b1011001 + 0o13) + chr(0b1100101) + chr(7453 - 7354) + chr(7658 - 7547) + '\x64' + chr(101))('\165' + '\164' + '\146' + chr(0b11010 + 0o23) + chr(0b110010 + 0o6)), roI3spqORKae(ES5oEprVxulp(b'\x16\xdf\xeav\x8c'), '\x64' + '\145' + chr(0b11011 + 0o110) + '\157' + chr(4600 - 4500) + chr(7191 - 7090))(chr(0b1110101) + '\x74' + '\x66' + chr(0b100010 + 0o13) + chr(56)) % (1000000.0 * jLW6pRf2DSRk(brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8Oz\xfb'), '\144' + '\145' + chr(4567 - 4468) + chr(0b1101111) + chr(0b1100100) + '\x65')('\165' + chr(116) + chr(3238 - 3136) + chr(1752 - 1707) + chr(56))])), roI3spqORKae(ES5oEprVxulp(b'}\xd2\xe4'), '\144' + chr(0b1100101) + '\x63' + chr(0b100000 + 0o117) + chr(0b101001 + 0o73) + chr(7488 - 7387))(chr(0b1011 + 0o152) + chr(116) + chr(0b1100110) + chr(511 - 466) + chr(0b1011 + 0o55)), ftfygxgFas5X(onUEhWOmC3SX))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'`\x81\xa3*\x8bG\xd3'), '\144' + '\x65' + chr(0b111110 + 0o45) + chr(0b1111 + 0o140) + chr(0b1100100) + chr(0b1100101))(chr(6624 - 6507) + chr(11848 - 11732) + chr(102) + '\x2d' + chr(0b100001 + 0o27)), roI3spqORKae(ES5oEprVxulp(b'\x16\xdf\xeav\x8c'), chr(0b1100100) + chr(0b100001 + 0o104) + chr(99) + chr(0b1101111) + chr(0b1100100) + '\145')('\x75' + chr(0b100110 + 0o116) + chr(0b1001111 + 0o27) + '\x2d' + chr(56)) % (1000000.0 * jLW6pRf2DSRk(brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8Oz\xfb\xc6\x01Ap]o'), '\144' + chr(0b1000011 + 0o42) + '\x63' + '\157' + chr(0b1010001 + 0o23) + '\x65')(chr(6334 - 6217) + chr(0b1010100 + 0o40) + chr(102) + chr(0b100001 + 0o14) + '\070')])), roI3spqORKae(ES5oEprVxulp(b'`\x81\xa3*\x8b]\xd6\xad\x06'), '\144' + chr(101) + chr(0b1100000 + 0o3) + chr(10221 - 10110) + chr(0b1010110 + 0o16) + chr(101))('\165' + '\x74' + chr(102) + chr(0b101101) + chr(56)), brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8Oz\xfb\xc6\x01Ap]o.\xccY\t\x9d'), '\144' + chr(1121 - 1020) + '\143' + chr(111) + chr(0b1100100) + '\x65')(chr(117) + chr(415 - 299) + chr(0b1100110) + chr(0b101101) + chr(56))])
QnTXOd5N96r1(roI3spqORKae(ES5oEprVxulp(b'c\x9a\xa14\x99]\x92\xf9_4\xe4\xfc\x0b\x08c_.\x12\xd3R\x0f\x97\xd7\x80\r\xf4'), '\x64' + chr(0b1100101) + '\143' + chr(111) + '\x64' + chr(0b1000010 + 0o43))(chr(117) + chr(0b1110100) + '\x66' + '\x2d' + chr(0b111000)))
h5ftM9zvebEG = onUEhWOmC3SX[nzTpIcepk0o8(chr(64 - 16) + '\x6f' + '\060', 8)][roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b+\x85\x1e\x92\xe3O{\xe1\xc6\x1cIzU'), chr(0b1000001 + 0o43) + chr(101) + '\143' + '\x6f' + chr(0b10011 + 0o121) + '\x65')(chr(8754 - 8637) + '\164' + chr(102) + '\055' + chr(0b111000))]
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b+\x85\x1e\x92\xe3O{\xe1\xc6\x1cIzU'), chr(100) + '\x65' + chr(0b1100011) + chr(0b1101011 + 0o4) + chr(9937 - 9837) + chr(4934 - 4833))(chr(2118 - 2001) + '\x74' + '\146' + '\x2d' + chr(0b111000))] = h5ftM9zvebEG
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b$\x83\t\x92\xe3O{\xe1\xc6\x1cIzU}'), '\144' + chr(101) + chr(99) + chr(7449 - 7338) + chr(0b1100100) + chr(0b1000100 + 0o41))(chr(117) + chr(12544 - 12428) + chr(5529 - 5427) + '\x2d' + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'g\x80\xad4\xca\x0e\x87\xe2Bm'), chr(7327 - 7227) + '\x65' + '\x63' + '\157' + chr(0b1100100) + chr(0b1010100 + 0o21))(chr(559 - 442) + '\164' + '\x66' + chr(45) + chr(0b1010 + 0o56))
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b+\x85\x1e\x92\xe3O{\xe1\xc6\x1cIzU}'), '\x64' + '\x65' + '\143' + chr(111) + chr(0b1100100) + chr(1498 - 1397))('\165' + '\x74' + '\146' + chr(0b101101) + chr(1699 - 1643))] = h5ftM9zvebEG
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b$\x83\t\x92\xe3O{\xe1\xc6\x1cIzU}'), chr(100) + chr(101) + chr(99) + chr(0b1101111) + '\144' + chr(0b1100101))(chr(0b100101 + 0o120) + '\x74' + chr(102) + chr(0b101101) + '\070')] = roI3spqORKae(ES5oEprVxulp(b'g\x80\xad4\xca\x0e\x87\xe2Bm'), chr(0b110 + 0o136) + '\145' + chr(0b100100 + 0o77) + chr(0b1101111) + chr(0b1100100) + chr(0b1100101))('\165' + '\x74' + chr(3519 - 3417) + '\x2d' + '\070')
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b&\x84\x1c\x9f\xeeU`\xd0\xf4\x13A{o`\x10\xd1Y\x08'), chr(0b1100010 + 0o2) + chr(0b1100101) + '\x63' + '\157' + '\144' + '\x65')(chr(117) + chr(0b1010101 + 0o37) + '\146' + chr(45) + chr(0b111000))] = E63X9RhwfuOn
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b&\x84\x1c\x9f\xeeU`\xd0\xf4\x13A{o`\x10\xd1Y\x08'), '\x64' + '\145' + chr(99) + chr(0b110000 + 0o77) + chr(100) + chr(0b1100101))(chr(117) + chr(10666 - 10550) + '\146' + chr(349 - 304) + '\070')] = E63X9RhwfuOn
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'W\x89\xb0&\xb5\t\x8a\xe7C'), chr(0b1100100) + chr(7215 - 7114) + chr(99) + '\157' + '\144' + chr(101))(chr(0b1110101) + chr(2359 - 2243) + chr(5804 - 5702) + chr(0b101101) + chr(1316 - 1260))] = roI3spqORKae(ES5oEprVxulp(b'Z'), '\x64' + chr(2130 - 2029) + chr(0b1100011) + '\x6f' + '\144' + chr(0b1011001 + 0o14))('\x75' + '\164' + chr(0b1100110) + chr(1264 - 1219) + '\x38')
if not yukBe87Vp4cn:
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x9a\x18\x90\xfeKq\xe1\xc6\x1cIzU}'), '\144' + chr(0b1100101) + chr(0b1100011) + chr(0b100111 + 0o110) + chr(0b1100100) + chr(0b1100101))(chr(0b1101000 + 0o15) + chr(116) + chr(102) + '\x2d' + '\x38')] = hUcsWwAd0nE_.get_list(onUEhWOmC3SX, roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x9a\x18\x90\xfeKq\xe1\xc6\x1cIzU'), '\144' + chr(9283 - 9182) + '\143' + chr(111) + chr(0b1100100) + '\x65')('\165' + chr(0b1110100) + chr(102) + chr(318 - 273) + chr(0b111000)))
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x9a\x18\x90\xfeKq\xe1\xc6\x1cIzU}'), '\144' + chr(0b1010 + 0o133) + chr(0b1100011 + 0o0) + chr(0b111101 + 0o62) + chr(0b1010000 + 0o24) + '\x65')(chr(0b1 + 0o164) + chr(116) + chr(0b10011 + 0o123) + '\x2d' + chr(1507 - 1451))] = hUcsWwAd0nE_.get_list(onUEhWOmC3SX, roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x9a\x18\x90\xfeKq\xe1\xc6\x1cIzU'), chr(0b1011111 + 0o5) + chr(9650 - 9549) + chr(0b1100011) + chr(8388 - 8277) + chr(2411 - 2311) + chr(101))(chr(117) + '\x74' + '\146' + '\055' + chr(638 - 582)))
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x8b\x10\x83\xfbCK\xe1\xf8\x1fMd'), '\x64' + '\145' + chr(99) + chr(111) + chr(0b1100100) + '\x65')(chr(6976 - 6859) + '\x74' + chr(6968 - 6866) + '\055' + chr(0b110001 + 0o7))] = hUcsWwAd0nE_.get_list(onUEhWOmC3SX, roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x8b\x10\x83\xfbCK\xe1\xf8\x1fM'), chr(0b1100100) + chr(101) + '\x63' + chr(10436 - 10325) + chr(9320 - 9220) + chr(0b1010101 + 0o20))('\x75' + '\164' + chr(0b10100 + 0o122) + chr(45) + '\070'))
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x8b\x10\x83\xfbCK\xe1\xf8\x1fMd'), chr(6037 - 5937) + chr(5025 - 4924) + chr(99) + '\x6f' + chr(0b110110 + 0o56) + chr(0b1100101 + 0o0))(chr(11960 - 11843) + chr(0b110000 + 0o104) + chr(10293 - 10191) + '\x2d' + chr(914 - 858))] = hUcsWwAd0nE_.get_list(onUEhWOmC3SX, roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x8b\x10\x83\xfbCK\xe1\xf8\x1fM'), chr(100) + chr(0b1100101) + '\143' + chr(0b1000110 + 0o51) + chr(100) + chr(936 - 835))(chr(0b1001010 + 0o53) + chr(0b1110100) + chr(102) + chr(0b1000 + 0o45) + chr(0b111000)))
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), '\144' + chr(2855 - 2754) + '\x63' + '\157' + '\x64' + chr(5198 - 5097))(chr(0b1110101) + chr(0b1000000 + 0o64) + chr(0b1010010 + 0o24) + chr(0b101101) + chr(56))] = f9ijNiPCpOFu
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc\x01'), '\144' + '\x65' + '\143' + chr(0b101101 + 0o102) + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + '\164' + '\146' + chr(0b101101) + '\x38')] = f9ijNiPCpOFu
dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), '\144' + chr(101) + chr(0b1100011) + '\157' + chr(0b1100100 + 0o0) + '\x65')(chr(0b1000000 + 0o65) + '\164' + chr(0b101011 + 0o73) + '\x2d' + chr(312 - 256))] = hUcsWwAd0nE_.get_list(onUEhWOmC3SX, roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), chr(100) + chr(101) + chr(0b101010 + 0o71) + chr(11914 - 11803) + '\x64' + chr(0b1100101))(chr(117) + '\164' + '\x66' + chr(0b100001 + 0o14) + chr(56)))
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), chr(0b110011 + 0o61) + '\145' + chr(0b1100011) + '\x6f' + '\144' + chr(0b1100101))(chr(0b10000 + 0o145) + chr(0b11 + 0o161) + chr(0b1100110) + chr(0b101011 + 0o2) + '\x38')] = hUcsWwAd0nE_.get_list(onUEhWOmC3SX, roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x9e\xf2R|\xe0\xfd-KxTk\x02'), chr(100) + '\145' + chr(0b101111 + 0o64) + chr(111) + '\144' + chr(0b1100101))(chr(117) + chr(0b1110100) + '\146' + '\055' + chr(0b10000 + 0o50)))
Wi7TqqdOPL4K = hUcsWwAd0nE_.grade(dUJE4T1NkSrH, XhU32ebQD6zL, roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x14\x9d\xe3'), '\x64' + '\x65' + chr(0b1100011) + chr(0b1101111) + chr(0b1011001 + 0o13) + chr(101))('\165' + '\x74' + chr(0b111 + 0o137) + '\055' + chr(0b110001 + 0o7)))
if QDMG_vONB9j2 == nzTpIcepk0o8(chr(1006 - 958) + chr(4346 - 4235) + '\061', 8) or ftfygxgFas5X(Wi7TqqdOPL4K) == nzTpIcepk0o8(chr(0b11001 + 0o27) + chr(0b1101111) + chr(74 - 26), 8):
(xFDEVQn5qSdh, TR_IwUloMMVU) = (jLW6pRf2DSRk(brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8Oz\xfb'), chr(5740 - 5640) + chr(2600 - 2499) + '\143' + chr(0b1101111) + '\x64' + chr(0b1010011 + 0o22))('\165' + chr(0b1110100) + chr(102) + chr(45) + chr(56))]), roI3spqORKae(ES5oEprVxulp(b''), chr(0b1001010 + 0o32) + '\x65' + chr(5557 - 5458) + chr(111) + chr(8947 - 8847) + chr(0b11101 + 0o110))(chr(0b1011101 + 0o30) + chr(116) + chr(904 - 802) + chr(182 - 137) + chr(0b10010 + 0o46)))
if brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8Oz\xfb\xc6\x01Ap]o'), '\x64' + chr(101) + chr(99) + chr(0b1101111) + chr(0b110010 + 0o62) + chr(0b1011011 + 0o12))(chr(117) + chr(9799 - 9683) + '\x66' + '\x2d' + chr(0b111000))] != roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(0b1100101) + chr(0b100111 + 0o74) + chr(0b1101111) + chr(0b100000 + 0o104) + chr(7500 - 7399))(chr(0b1110101) + chr(9933 - 9817) + '\x66' + '\055' + chr(0b110101 + 0o3)):
TR_IwUloMMVU = jLW6pRf2DSRk(brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8Oz\xfb\xc6\x01Ap]o'), chr(5508 - 5408) + chr(0b100110 + 0o77) + chr(5553 - 5454) + '\x6f' + chr(100) + chr(0b100010 + 0o103))(chr(117) + chr(2261 - 2145) + chr(102) + chr(0b1101 + 0o40) + chr(56))])
bZpMR4WgIDJi = hUcsWwAd0nE_.get_dictitem(KqguM7qb1SZj, roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc\x01'), '\144' + '\145' + '\x63' + chr(2352 - 2241) + '\x64' + '\145')(chr(117) + chr(0b110111 + 0o75) + '\x66' + chr(0b101101) + chr(0b11011 + 0o35)), f9ijNiPCpOFu, roI3spqORKae(ES5oEprVxulp(b'g'), chr(100) + chr(0b1100 + 0o131) + chr(0b1100011) + chr(0b101110 + 0o101) + chr(100) + '\145')(chr(0b101010 + 0o113) + chr(1047 - 931) + '\146' + chr(0b101101) + chr(2400 - 2344)))
if ftfygxgFas5X(bZpMR4WgIDJi) > nzTpIcepk0o8('\x30' + chr(5284 - 5173) + chr(383 - 335), 8) and bZpMR4WgIDJi[-nzTpIcepk0o8(chr(0b11111 + 0o21) + chr(8333 - 8222) + chr(2185 - 2136), 8)][roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8Oz\xec'), chr(3688 - 3588) + '\x65' + '\x63' + '\157' + '\144' + chr(0b1100101))(chr(117) + chr(0b1110100) + '\x66' + chr(0b11001 + 0o24) + '\x38')] != roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(0b10 + 0o143) + chr(99) + chr(111) + chr(0b1100100) + chr(0b1100101))(chr(0b10011 + 0o142) + chr(116) + chr(8740 - 8638) + chr(0b101101) + chr(0b110 + 0o62)):
ReAwxaIgTMy5 = jLW6pRf2DSRk(bZpMR4WgIDJi[nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110 + 0o52), 8)][roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8Oz\xec'), chr(100) + chr(0b111010 + 0o53) + chr(5899 - 5800) + chr(0b10010 + 0o135) + chr(100) + chr(101))(chr(0b110110 + 0o77) + chr(116) + '\x66' + '\x2d' + chr(56))])
sqju_8GIfs5K = hUcsWwAd0nE_.magnetic_lat(ReAwxaIgTMy5)
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'E\x8c\xa9'), '\x64' + chr(5759 - 5658) + '\143' + '\157' + '\144' + chr(3162 - 3061))(chr(117) + '\x74' + chr(0b0 + 0o146) + chr(0b101101) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\x16\xd0\xeat\x8f]'), chr(100) + chr(9070 - 8969) + chr(99) + chr(0b10001 + 0o136) + '\x64' + '\x65')('\165' + '\164' + chr(0b100001 + 0o105) + chr(0b101101) + chr(0b111000)) % hUcsWwAd0nE_.b_vdm(xFDEVQn5qSdh, sqju_8GIfs5K)
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'E\x8c\xa9\x18\x84'), chr(3084 - 2984) + '\x65' + '\143' + chr(9588 - 9477) + chr(0b1100100 + 0o0) + chr(101))(chr(0b1110101) + chr(2449 - 2333) + chr(0b111 + 0o137) + chr(0b100110 + 0o7) + '\x38')] = brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8Oz\xfb\xc6\x1c'), chr(0b1100100) + chr(5615 - 5514) + chr(0b1011 + 0o130) + '\x6f' + chr(100) + '\x65')('\165' + chr(0b1110100) + '\146' + '\055' + '\070')]
if roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8Oz\xfb\xc6\x01Ap]o'), '\144' + '\x65' + chr(1813 - 1714) + chr(4579 - 4468) + '\144' + chr(5425 - 5324))(chr(0b1101100 + 0o11) + '\x74' + '\x66' + chr(1290 - 1245) + '\x38') in H4NoA26ON7iG(roI3spqORKae(brC_KUrC8IRK, roI3spqORKae(ES5oEprVxulp(b'X\x8d\xbd4'), '\x64' + chr(101) + chr(0b1100011) + '\157' + '\144' + chr(0b1100101))('\165' + chr(0b1110100) + '\x66' + chr(0b100100 + 0o11) + chr(0b11010 + 0o36)))()) and brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8Oz\xfb\xc6\x01Ap]o'), chr(0b111110 + 0o46) + chr(0b1000011 + 0o42) + chr(0b110000 + 0o63) + chr(111) + chr(0b1010000 + 0o24) + chr(9705 - 9604))(chr(0b1110101) + chr(0b1001110 + 0o46) + chr(0b10110 + 0o120) + chr(0b10111 + 0o26) + chr(56))] != roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(0b1100101) + chr(0b1000100 + 0o37) + '\157' + chr(100) + '\x65')(chr(357 - 240) + '\x74' + chr(577 - 475) + '\x2d' + chr(0b111000)):
tzzUXqsSmVGX = hUcsWwAd0nE_.b_vdm(jLW6pRf2DSRk(brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8Oz\xfb\xc6\x01Ap]o'), chr(8740 - 8640) + chr(0b11111 + 0o106) + chr(3006 - 2907) + chr(0b1101101 + 0o2) + chr(4257 - 4157) + chr(101))(chr(0b110110 + 0o77) + chr(116) + '\146' + chr(45) + chr(56))]), sqju_8GIfs5K)
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'E\x8c\xa9\x18\x99\x14\x94\xfaG'), chr(0b1100100) + chr(0b1100101) + '\143' + chr(111) + chr(100) + chr(101))(chr(0b1110101) + '\164' + chr(0b100000 + 0o106) + chr(1255 - 1210) + chr(0b110000 + 0o10))] = roI3spqORKae(ES5oEprVxulp(b'\x16\xd0\xeat\x8f]'), chr(5571 - 5471) + chr(4664 - 4563) + '\x63' + chr(111) + chr(0b1100100) + chr(101))(chr(0b1110101) + chr(116) + chr(5202 - 5100) + '\x2d' + chr(839 - 783)) % tzzUXqsSmVGX
else:
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'E\x8c\xa9\x18\x99\x14\x94\xfaG'), chr(0b110000 + 0o64) + chr(0b1100101) + chr(99) + '\x6f' + '\x64' + '\145')(chr(117) + '\164' + chr(5374 - 5272) + chr(0b101101) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b''), '\x64' + '\x65' + '\143' + '\x6f' + '\x64' + chr(0b11101 + 0o110))(chr(0b1100 + 0o151) + chr(0b101011 + 0o111) + chr(0b1100110) + chr(45) + '\x38')
sqju_8GIfs5K = roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(0b10000 + 0o125) + '\x63' + '\157' + chr(100) + chr(101))(chr(4732 - 4615) + chr(116) + '\x66' + chr(45) + chr(56))
if s3zmYg73PwF1 == nzTpIcepk0o8('\x30' + chr(7238 - 7127) + '\x31', 8):
xQefAmeV4LhC = hUcsWwAd0nE_.get_dictitem(CIBmZTR74rg5, roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), chr(1754 - 1654) + chr(101) + chr(99) + '\x6f' + '\144' + '\145')(chr(117) + chr(2098 - 1982) + chr(6857 - 6755) + chr(0b101101) + chr(56)), f9ijNiPCpOFu, roI3spqORKae(ES5oEprVxulp(b'g'), chr(0b1100100) + '\x65' + chr(2891 - 2792) + chr(10741 - 10630) + chr(7533 - 7433) + '\145')(chr(5662 - 5545) + chr(116) + chr(6408 - 6306) + '\055' + chr(2432 - 2376)))
if ftfygxgFas5X(xQefAmeV4LhC) > nzTpIcepk0o8(chr(0b100011 + 0o15) + '\x6f' + chr(0b101110 + 0o2), 8):
sqju_8GIfs5K = xQefAmeV4LhC[nzTpIcepk0o8(chr(107 - 59) + chr(0b110101 + 0o72) + chr(0b10101 + 0o33), 8)][roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x11\x92\xe3'), chr(0b1100100) + '\145' + '\143' + chr(0b1100101 + 0o12) + chr(0b111000 + 0o54) + chr(0b1100101))(chr(0b1110101) + '\x74' + '\146' + chr(511 - 466) + '\070')]
elif s3zmYg73PwF1 == nzTpIcepk0o8('\060' + '\157' + '\062', 8):
xQefAmeV4LhC = hUcsWwAd0nE_.get_dictitem(DOOiAmY_Ikyt, roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), '\x64' + chr(0b1100101) + chr(0b1100011) + chr(0b100101 + 0o112) + chr(100) + chr(0b1100101))(chr(0b1110101) + chr(5818 - 5702) + chr(102) + chr(45) + chr(0b111000)), f9ijNiPCpOFu, roI3spqORKae(ES5oEprVxulp(b'g'), '\144' + chr(4618 - 4517) + '\x63' + chr(7744 - 7633) + chr(1598 - 1498) + chr(0b1100101))(chr(0b111111 + 0o66) + '\164' + '\146' + chr(0b101101) + chr(1986 - 1930)))
if ftfygxgFas5X(xQefAmeV4LhC) > nzTpIcepk0o8(chr(0b110000) + chr(11262 - 11151) + '\x30', 8):
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'^\x87\xa0"\x86"\x9f\xf6R'), chr(4685 - 4585) + chr(848 - 747) + chr(8845 - 8746) + chr(0b11010 + 0o125) + '\144' + chr(7488 - 7387))(chr(3985 - 3868) + '\164' + chr(0b1100110) + chr(0b101101) + chr(56))] = xQefAmeV4LhC[nzTpIcepk0o8(chr(0b11111 + 0o21) + chr(1628 - 1517) + chr(0b110000), 8)][roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x10\x9c\xf3Cx\xd0\xf5\x13\\'), chr(0b1100100) + '\x65' + chr(8238 - 8139) + chr(0b1101111) + '\x64' + '\145')('\x75' + chr(116) + chr(0b111001 + 0o55) + '\x2d' + chr(0b110101 + 0o3))]
sqju_8GIfs5K = brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'^\x87\xa0"\x86"\x9f\xf6R'), '\x64' + '\145' + '\x63' + chr(7420 - 7309) + '\144' + chr(0b10011 + 0o122))('\x75' + chr(116) + chr(0b1100110) + chr(0b101100 + 0o1) + '\x38')]
if sqju_8GIfs5K != roI3spqORKae(ES5oEprVxulp(b''), chr(7190 - 7090) + chr(6182 - 6081) + '\x63' + chr(0b110 + 0o151) + '\x64' + chr(0b1111 + 0o126))('\165' + chr(0b101 + 0o157) + '\146' + '\x2d' + chr(0b0 + 0o70)):
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'E\x89\xa0*'), chr(4587 - 4487) + chr(0b1100101) + '\143' + chr(0b100010 + 0o115) + chr(0b1100100) + chr(0b101110 + 0o67))(chr(0b1110101) + '\164' + '\146' + chr(696 - 651) + chr(0b110011 + 0o5))] = roI3spqORKae(ES5oEprVxulp(b'\x16\xd0\xeat\x8f]'), chr(0b111110 + 0o46) + chr(101) + '\x63' + chr(3987 - 3876) + '\x64' + chr(101))('\165' + '\164' + chr(0b1010110 + 0o20) + chr(1578 - 1533) + chr(0b111000)) % hUcsWwAd0nE_.b_vdm(xFDEVQn5qSdh, jLW6pRf2DSRk(sqju_8GIfs5K))
if TR_IwUloMMVU != roI3spqORKae(ES5oEprVxulp(b''), chr(0b1110 + 0o126) + '\145' + chr(0b1100011) + chr(0b1101111) + '\144' + chr(101))(chr(0b1110101) + chr(0b1100001 + 0o23) + chr(605 - 503) + chr(0b101101) + chr(56)):
tzzUXqsSmVGX = hUcsWwAd0nE_.b_vdm(jLW6pRf2DSRk(brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8Oz\xfb\xc6\x01Ap]o'), '\x64' + chr(3478 - 3377) + chr(0b1100011) + chr(0b110011 + 0o74) + '\144' + chr(0b1100101))(chr(0b1110101) + chr(116) + chr(102) + chr(0b100010 + 0o13) + '\x38')]), jLW6pRf2DSRk(sqju_8GIfs5K))
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'E\x89\xa0*\xb5\x0e\x9a\xf0Ku'), '\144' + chr(101) + chr(6377 - 6278) + chr(0b1010011 + 0o34) + chr(0b1100100) + chr(101))(chr(0b11100 + 0o131) + '\x74' + chr(6796 - 6694) + chr(1128 - 1083) + chr(0b11011 + 0o35))] = roI3spqORKae(ES5oEprVxulp(b'\x16\xd0\xeat\x8f]'), chr(100) + chr(101) + '\143' + '\157' + chr(5752 - 5652) + chr(0b10010 + 0o123))('\x75' + chr(0b1110100) + '\x66' + chr(1989 - 1944) + chr(0b111000)) % tzzUXqsSmVGX
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'E\x89\xa0*\xb5\x13'), '\144' + chr(101) + '\143' + chr(0b1101111) + chr(0b1100100 + 0o0) + chr(0b1011000 + 0o15))(chr(117) + '\164' + chr(2379 - 2277) + '\x2d' + '\x38')] = brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8Oz\xfb\xc6\x1c'), chr(0b1100100) + chr(5325 - 5224) + '\143' + chr(11119 - 11008) + chr(100) + chr(101))(chr(0b1110101) + '\164' + chr(102) + '\x2d' + '\070')]
else:
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'E\x89\xa0*\xb5\x0e\x9a\xf0Ku'), chr(100) + chr(0b1100101) + '\x63' + chr(0b1101111) + chr(100) + '\145')(chr(0b1110101) + '\x74' + chr(0b1010110 + 0o20) + '\055' + chr(56))] = roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(101) + chr(0b1011001 + 0o12) + '\x6f' + '\x64' + chr(0b1001100 + 0o31))(chr(117) + chr(0b1110100) + '\x66' + chr(0b101101) + '\x38')
UOmfQN56orrV = hUcsWwAd0nE_.get_dictitem(CIBmZTR74rg5, roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), chr(0b1001100 + 0o30) + chr(0b1100101) + chr(2165 - 2066) + chr(0b1100100 + 0o13) + chr(0b1010001 + 0o23) + '\145')(chr(0b1110101) + chr(0b1110100) + chr(0b110110 + 0o60) + '\055' + chr(1819 - 1763)), dUJE4T1NkSrH[roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), chr(100) + '\x65' + chr(0b10101 + 0o116) + chr(11617 - 11506) + '\x64' + chr(101))(chr(0b1000111 + 0o56) + chr(0b1001101 + 0o47) + '\146' + chr(0b0 + 0o55) + '\070')], roI3spqORKae(ES5oEprVxulp(b'g'), '\x64' + chr(0b101110 + 0o67) + chr(99) + chr(0b1101111) + '\x64' + chr(0b111111 + 0o46))('\165' + chr(8506 - 8390) + chr(0b1010100 + 0o22) + chr(1663 - 1618) + chr(0b110 + 0o62)))
if ftfygxgFas5X(UOmfQN56orrV) > nzTpIcepk0o8(chr(0b100 + 0o54) + chr(0b1100110 + 0o11) + '\060', 8):
UOmfQN56orrV = UOmfQN56orrV[nzTpIcepk0o8(chr(0b11010 + 0o26) + '\x6f' + chr(0b110000), 8)]
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8Ju\xfb'), chr(100) + chr(3393 - 3292) + '\143' + chr(0b1001101 + 0o42) + chr(848 - 748) + '\145')(chr(117) + chr(8513 - 8397) + '\x66' + '\x2d' + chr(1995 - 1939))] = UOmfQN56orrV[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x11\x92\xe3'), chr(0b1100100 + 0o0) + chr(9170 - 9069) + chr(99) + chr(6439 - 6328) + chr(100) + chr(6806 - 6705))(chr(117) + chr(0b1110100) + '\x66' + chr(45) + '\x38')]
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8J{\xe1'), '\144' + '\145' + chr(0b1110 + 0o125) + chr(11864 - 11753) + chr(4203 - 4103) + chr(8737 - 8636))(chr(117) + '\164' + chr(102) + chr(0b101101) + chr(0b111000))] = UOmfQN56orrV[roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x11\x9c\xf9'), chr(0b1100100) + chr(2078 - 1977) + chr(6507 - 6408) + chr(0b1110 + 0o141) + chr(100) + chr(0b1100101))(chr(117) + chr(116) + chr(825 - 723) + chr(0b100011 + 0o12) + chr(56))]
else:
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8J{\xe1'), chr(0b111010 + 0o52) + chr(8763 - 8662) + '\x63' + '\x6f' + chr(0b110000 + 0o64) + chr(0b1010111 + 0o16))('\x75' + chr(0b1100000 + 0o24) + '\146' + chr(0b11 + 0o52) + chr(0b100100 + 0o24))] = roI3spqORKae(ES5oEprVxulp(b'f\xa6\x8f\t\xa5*\xbd'), chr(4531 - 4431) + '\145' + '\143' + chr(347 - 236) + '\144' + chr(6136 - 6035))(chr(117) + chr(0b1110100) + chr(102) + chr(281 - 236) + chr(56))
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8J{\xe1'), '\x64' + chr(0b11101 + 0o110) + '\143' + chr(111) + '\144' + chr(101))('\165' + chr(2876 - 2760) + chr(7247 - 7145) + '\055' + chr(56))] = roI3spqORKae(ES5oEprVxulp(b'f\xa6\x8f\t\xa5*\xbd'), chr(0b1011 + 0o131) + chr(0b101010 + 0o73) + chr(0b1011100 + 0o7) + chr(0b111 + 0o150) + chr(100) + '\145')(chr(10223 - 10106) + chr(0b1110100) + '\x66' + chr(1675 - 1630) + '\070')
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x80\xf8@`\xf8\xf8\x00MH@o\x12\xd7]\x1c\x9b\xca'), chr(0b1100100) + chr(101) + chr(0b1100011) + chr(0b1101001 + 0o6) + '\x64' + '\x65')('\165' + '\164' + '\146' + chr(0b100011 + 0o12) + chr(0b101010 + 0o16))] = uNg9Yeq376oN
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'C\x85\xa5 \xb5\x0f\x96\xe4Sx\xfb\xc6\x1cIzU'), chr(100) + chr(0b111001 + 0o54) + chr(0b1000010 + 0o41) + chr(10443 - 10332) + chr(0b1100100) + chr(101))(chr(0b1110101) + chr(1701 - 1585) + chr(6489 - 6387) + chr(72 - 27) + chr(511 - 455))] = roI3spqORKae(ES5oEprVxulp(b'e\xb3\x85\x1a\xae0\xc9\xb7u}\xfb\xfcR'), chr(1722 - 1622) + '\145' + chr(99) + '\157' + chr(100) + chr(0b1010 + 0o133))(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + '\x2d' + '\070') + f9ijNiPCpOFu
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'A\x8d\xb72\x86\t\xac\xf3Cg\xec\xeb\x1bXcYa\x1f'), chr(100) + chr(0b1100101) + chr(0b1100011) + chr(11749 - 11638) + chr(100) + chr(0b1000110 + 0o37))(chr(1661 - 1544) + '\x74' + chr(0b1100110) + '\055' + chr(0b101101 + 0o13))] = roI3spqORKae(ES5oEprVxulp(b'e\xb3\x85\x1a\xae0\xd3\xf8@4\xfc\xf0\x06M'), '\x64' + chr(0b1100101) + '\143' + chr(0b1101111) + chr(100) + '\145')(chr(117) + chr(116) + chr(0b1100110) + chr(45) + chr(0b100110 + 0o22))
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'C\x85\xa5 \xb5\x1e\x81\xfeRq\xfd\xf0\x13wt_j\x14\xcf'), chr(0b1 + 0o143) + chr(0b1100101) + chr(0b1100011) + chr(0b101000 + 0o107) + '\144' + chr(101))(chr(6912 - 6795) + chr(0b1110100) + chr(102) + '\x2d' + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'r\xab\x87\x02\xba)'), chr(0b1100100) + chr(7157 - 7056) + chr(3920 - 3821) + '\157' + chr(0b10 + 0o142) + '\145')(chr(0b1 + 0o164) + chr(5808 - 5692) + chr(0b1000001 + 0o45) + chr(0b1101 + 0o40) + chr(0b11010 + 0o36))
if NkaGetDD5YnR != roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(6783 - 6682) + '\x63' + chr(0b110101 + 0o72) + chr(0b1100100) + chr(101))(chr(0b1000101 + 0o60) + chr(0b1110100) + '\146' + '\x2d' + '\070'):
brC_KUrC8IRK = hUcsWwAd0nE_.get_age(brC_KUrC8IRK, roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc\x01'), '\x64' + chr(4375 - 4274) + chr(880 - 781) + chr(0b1101111) + chr(0b1100100) + '\x65')('\165' + chr(116) + '\146' + chr(445 - 400) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8'), chr(6803 - 6703) + chr(0b1010000 + 0o25) + chr(4948 - 4849) + '\157' + chr(100) + chr(0b1100101))(chr(1361 - 1244) + '\164' + '\146' + chr(45) + '\070'), LwTI1rQOCPQ5, EXonMtj3JhTF)
tNhDgXcHTdNF = hUcsWwAd0nE_.get_dictitem(Ip8r_qFlFOiJ, roI3spqORKae(ES5oEprVxulp(b'V\x9a\x9b4\x83\t\x96\xc8Hu\xe2\xfc'), chr(100) + chr(0b10011 + 0o122) + '\x63' + chr(3066 - 2955) + '\144' + '\x65')(chr(2233 - 2116) + '\x74' + chr(102) + chr(0b101101) + '\070'), f9ijNiPCpOFu, roI3spqORKae(ES5oEprVxulp(b'g'), '\x64' + chr(101) + chr(99) + '\x6f' + chr(7396 - 7296) + chr(0b1100101))('\165' + chr(1452 - 1336) + '\x66' + chr(45) + chr(1321 - 1265)))
if ftfygxgFas5X(tNhDgXcHTdNF) > nzTpIcepk0o8(chr(48) + chr(8745 - 8634) + chr(0b110000), 8):
brC_KUrC8IRK[roI3spqORKae(ES5oEprVxulp(b'R\x9e\xa15\x8b\x1a\x96\xc8Nq\xe6\xfe\x1a\\'), chr(100) + '\145' + chr(99) + chr(111) + '\144' + chr(101))(chr(0b11111 + 0o126) + chr(255 - 139) + chr(0b1100000 + 0o6) + chr(45) + chr(0b111000))] = tNhDgXcHTdNF[nzTpIcepk0o8(chr(0b111 + 0o51) + chr(0b1101111) + chr(0b110000), 8)][roI3spqORKae(ES5oEprVxulp(b'@\x81\xb0"\xb5\x15\x96\xfeA|\xfb'), chr(0b1100100) + '\x65' + chr(99) + chr(0b1101111) + chr(100) + '\145')('\165' + chr(116) + chr(0b10 + 0o144) + '\x2d' + chr(202 - 146))]
roI3spqORKae(ygBgX1u1bUkq, roI3spqORKae(ES5oEprVxulp(b'{\xbc\x97s\x92\x1a\xb4\xf8L{\xda\xac'), '\x64' + chr(0b1001011 + 0o32) + '\143' + '\157' + chr(0b1100100) + chr(6277 - 6176))(chr(0b1110101) + chr(4465 - 4349) + chr(6075 - 5973) + '\x2d' + chr(0b111000)))(dUJE4T1NkSrH)
roI3spqORKae(KqguM7qb1SZj, roI3spqORKae(ES5oEprVxulp(b'{\xbc\x97s\x92\x1a\xb4\xf8L{\xda\xac'), chr(0b0 + 0o144) + chr(0b1100101) + chr(0b1100011) + '\x6f' + chr(0b1100100) + chr(0b1100101))('\165' + chr(0b1110100) + '\x66' + chr(0b10100 + 0o31) + chr(56)))(brC_KUrC8IRK)
if ftfygxgFas5X(ygBgX1u1bUkq) > nzTpIcepk0o8('\060' + '\x6f' + '\x30', 8):
(e3sHPWQaL7kl, mbelZOwlDmNy) = hUcsWwAd0nE_.fillkeys(ygBgX1u1bUkq)
roI3spqORKae(hUcsWwAd0nE_, roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x84\xe5O`\xea'), '\x64' + chr(0b1100101) + chr(99) + chr(9013 - 8902) + chr(0b1010 + 0o132) + chr(0b1100101))(chr(0b1010110 + 0o37) + '\164' + chr(102) + chr(45) + chr(0b111000)))(iHNVvOZW2qwc, e3sHPWQaL7kl, roI3spqORKae(ES5oEprVxulp(b'C\x85\xa5 \xb5\x0e\x9a\xe3Cg'), '\144' + chr(0b110 + 0o137) + chr(0b1100011) + '\157' + '\144' + chr(101))(chr(0b1001100 + 0o51) + chr(0b1110100) + chr(3565 - 3463) + '\x2d' + chr(56)))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x13\x9b\xad3\x8f\x0e\xd3\xe0T}\xfb\xed\x17F7DaQ'), chr(100) + '\145' + chr(0b1100011) + '\x6f' + '\144' + '\145')(chr(0b1000100 + 0o61) + chr(0b1110100) + '\x66' + chr(1359 - 1314) + '\x38'), iHNVvOZW2qwc)
else:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'}\x87\xe4\x14\x83\t\x96\xb7Jq\xf9\xfc\x1e\x08cQl\x1d\xd9'), chr(0b1011100 + 0o10) + chr(953 - 852) + chr(99) + chr(111) + '\x64' + chr(101))('\x75' + chr(0b100100 + 0o120) + chr(102) + chr(45) + '\x38'))
if ftfygxgFas5X(KqguM7qb1SZj) > nzTpIcepk0o8('\x30' + '\x6f' + chr(0b10101 + 0o33), 8):
(ZNOqHAIzj0zX, mbelZOwlDmNy) = hUcsWwAd0nE_.fillkeys(KqguM7qb1SZj)
roI3spqORKae(hUcsWwAd0nE_, roI3spqORKae(ES5oEprVxulp(b'^\x89\xa3.\x89"\x84\xe5O`\xea'), chr(7298 - 7198) + '\x65' + chr(6640 - 6541) + chr(111) + chr(8177 - 8077) + chr(0b1100101))(chr(7816 - 7699) + chr(116) + chr(0b100001 + 0o105) + '\055' + chr(943 - 887)))(gwjvfAb3kLp1, ZNOqHAIzj0zX, roI3spqORKae(ES5oEprVxulp(b'C\x85\xa5 \xb5\x0f\x96\xe4Sx\xfb\xea'), chr(100) + chr(0b1100101) + chr(930 - 831) + chr(0b1001010 + 0o45) + chr(100) + '\x65')(chr(9743 - 9626) + '\164' + '\146' + chr(0b101101) + chr(0b110011 + 0o5)))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x13\x9a\xa14\x9f\x11\x87\xe4\x06c\xfd\xf0\x06\\r^.\x05\xd3\x1c'), chr(0b1100100) + chr(7182 - 7081) + '\143' + '\x6f' + chr(2589 - 2489) + chr(1043 - 942))(chr(117) + chr(6773 - 6657) + chr(8395 - 8293) + chr(45) + chr(2603 - 2547)), gwjvfAb3kLp1)
else:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'}\x87\xe4\x15\x8f\x0e\x86\xfbRg\xaf\xf5\x17^r\\.\x05\xdd^\x17\x9b'), '\x64' + chr(0b101000 + 0o75) + chr(0b1100011) + '\157' + chr(266 - 166) + chr(0b1100101))('\x75' + '\164' + chr(0b1001100 + 0o32) + '\x2d' + '\x38'))
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
orientation_magic
|
def orientation_magic(or_con=1, dec_correction_con=1, dec_correction=0, bed_correction=True,
samp_con='1', hours_from_gmt=0, method_codes='', average_bedding=False,
orient_file='orient.txt', samp_file='samples.txt', site_file='sites.txt',
output_dir_path='.', input_dir_path='', append=False, data_model=3):
"""
use this function to convert tab delimited field notebook information to MagIC formatted tables (er_samples and er_sites)
INPUT FORMAT
Input files must be tab delimited and have in the first line:
tab location_name
Note: The "location_name" will facilitate searching in the MagIC database. Data from different
"locations" should be put in separate files. The definition of a "location" is rather loose.
Also this is the word 'tab' not a tab, which will be indicated by '\t'.
The second line has the names of the columns (tab delimited), e.g.:
site_name sample_name mag_azimuth field_dip date lat long sample_lithology sample_type sample_class shadow_angle hhmm stratigraphic_height bedding_dip_direction bedding_dip GPS_baseline image_name image_look image_photographer participants method_codes site_description sample_description GPS_Az, sample_igsn, sample_texture, sample_cooling_rate, cooling_rate_corr, cooling_rate_mcd
Notes:
1) column order doesn't matter but the NAMES do.
2) sample_name, sample_lithology, sample_type, sample_class, lat and long are required. all others are optional.
3) If subsequent data are the same (e.g., date, bedding orientation, participants, stratigraphic_height),
you can leave the field blank and the program will fill in the last recorded information. BUT if you really want a blank stratigraphic_height, enter a '-1'. These will not be inherited and must be specified for each entry: image_name, look, photographer or method_codes
4) hhmm must be in the format: hh:mm and the hh must be in 24 hour time.
date must be mm/dd/yy (years < 50 will be converted to 20yy and >50 will be assumed 19yy). hours_from_gmt is the number of hours to SUBTRACT from hh to get to GMT.
5) image_name, image_look and image_photographer are colon delimited lists of file name (e.g., IMG_001.jpg) image look direction and the name of the photographer respectively. If all images had same look and photographer, just enter info once. The images will be assigned to the site for which they were taken - not at the sample level.
6) participants: Names of who helped take the samples. These must be a colon delimited list.
7) method_codes: Special method codes on a sample level, e.g., SO-GT5 which means the orientation is has an uncertainty of >5 degrees
for example if it broke off before orienting....
8) GPS_Az is the place to put directly determined GPS Azimuths, using, e.g., points along the drill direction.
9) sample_cooling_rate is the cooling rate in K per Ma
10) int_corr_cooling_rate
11) cooling_rate_mcd: data adjustment method code for cooling rate correction; DA-CR-EG is educated guess; DA-CR-PS is percent estimated from pilot samples; DA-CR-TRM is comparison between 2 TRMs acquired with slow and rapid cooling rates.
is the percent cooling rate factor to apply to specimens from this sample, DA-CR-XX is the method code
defaults:
orientation_magic(or_con=1, dec_correction_con=1, dec_correction=0, bed_correction=True, samp_con='1', hours_from_gmt=0, method_codes='', average_bedding=False, orient_file='orient.txt', samp_file='er_samples.txt', site_file='er_sites.txt', output_dir_path='.', input_dir_path='', append=False):
orientation conventions:
[1] Standard Pomeroy convention of azimuth and hade (degrees from vertical down)
of the drill direction (field arrow). lab arrow azimuth= sample_azimuth = mag_azimuth;
lab arrow dip = sample_dip =-field_dip. i.e. the lab arrow dip is minus the hade.
[2] Field arrow is the strike of the plane orthogonal to the drill direction,
Field dip is the hade of the drill direction. Lab arrow azimuth = mag_azimuth-90
Lab arrow dip = -field_dip
[3] Lab arrow is the same as the drill direction;
hade was measured in the field.
Lab arrow azimuth = mag_azimuth; Lab arrow dip = 90-field_dip
[4] lab azimuth and dip are same as mag_azimuth, field_dip : use this for unoriented samples too
[5] Same as AZDIP convention explained below -
azimuth and inclination of the drill direction are mag_azimuth and field_dip;
lab arrow is as in [1] above.
lab azimuth is same as mag_azimuth,lab arrow dip=field_dip-90
[6] Lab arrow azimuth = mag_azimuth-90; Lab arrow dip = 90-field_dip
[7] see http://earthref.org/PmagPy/cookbook/#field_info for more information. You can customize other format yourself, or email ltauxe@ucsd.edu for help.
Magnetic declination convention:
[1] Use the IGRF value at the lat/long and date supplied [default]
[2] Will supply declination correction
[3] mag_az is already corrected in file
[4] Correct mag_az but not bedding_dip_dir
Sample naming convention:
[1] XXXXY: where XXXX is an arbitrary length site designation and Y
is the single character sample designation. e.g., TG001a is the
first sample from site TG001. [default]
[2] XXXX-YY: YY sample from site XXXX (XXX, YY of arbitary length)
[3] XXXX.YY: YY sample from site XXXX (XXX, YY of arbitary length)
[4-Z] XXXX[YYY]: YYY is sample designation with Z characters from site XXX
[5] site name = sample name
[6] site name entered in site_name column in the orient.txt format input file -- NOT CURRENTLY SUPPORTED
[7-Z] [XXX]YYY: XXX is site designation with Z characters from samples XXXYYY
NB: all others you will have to either customize your
self or e-mail ltauxe@ucsd.edu for help.
"""
# initialize some variables
# bed_correction used to be BedCorr
# dec_correction_con used to be corr
# dec_correction used to be DecCorr
# meths is now method_codes
# delta_u is now hours_from_gmt
input_dir_path, output_dir_path = pmag.fix_directories(input_dir_path, output_dir_path)
or_con, dec_correction_con, dec_correction = int(
or_con), int(dec_correction_con), float(dec_correction)
hours_from_gmt = float(hours_from_gmt)
stratpos = ""
# date of sampling, latitude (pos North), longitude (pos East)
date, lat, lon = "", "", ""
bed_dip, bed_dip_dir = "", ""
Lats, Lons = [], [] # list of latitudes and longitudes
# lists of Sample records and Site records
SampOuts, SiteOuts, ImageOuts = [], [], []
samplelist, sitelist, imagelist = [], [], []
Z = 1
newbaseline, newbeddir, newbeddip = "", "", ""
fpars = []
sclass, lithology, sample_type = "", "", ""
newclass, newlith, newtype = '', '', ''
BPs = [] # bedding pole declinations, bedding pole inclinations
image_file = "er_images.txt"
#
# use 3.0. default filenames when in 3.0.
# but, still allow for custom names
data_model = int(data_model)
if data_model == 3:
if samp_file == "er_samples.txt":
samp_file = "samples.txt"
if site_file == "er_sites.txt":
site_file = "sites.txt"
image_file = "images.txt"
orient_file = pmag.resolve_file_name(orient_file, input_dir_path)
if not os.path.exists(orient_file):
return False, "No such file: {}. If the orientation file is not in your current working directory, make sure you have specified the correct input directory.".format(orient_file)
samp_file = os.path.join(output_dir_path, samp_file)
site_file = os.path.join(output_dir_path, site_file)
image_file = os.path.join(output_dir_path, image_file)
# validate input
if '4' in samp_con[0]:
pattern = re.compile('[4][-]\d')
result = pattern.match(samp_con)
if not result:
raise Exception(
"If using sample naming convention 4, you must provide the number of characters with which to distinguish sample from site. [4-Z] XXXX[YYY]: YYY is sample designation with Z characters from site XXX)")
if '7' in samp_con[0]:
pattern = re.compile('[7][-]\d')
result = pattern.match(samp_con)
if not result:
raise Exception(
"If using sample naming convention 7, you must provide the number of characters with which to distinguish sample from site. [7-Z] [XXX]YYY: XXX is site designation with Z characters from samples XXXYYY")
if dec_correction_con == 2 and not dec_correction:
raise Exception(
"If using magnetic declination convention 2, you must also provide a declincation correction in degrees")
SampRecs, SiteRecs, ImageRecs = [], [], []
SampRecs_sorted, SiteRecs_sorted = {}, {}
if append:
try:
SampRecs, file_type = pmag.magic_read(samp_file)
# convert 3.0. sample file to 2.5 format
if data_model == 3:
SampRecs3 = SampRecs
SampRecs = []
for samp_rec in SampRecs3:
rec = map_magic.mapping(
samp_rec, map_magic.samp_magic3_2_magic2_map)
SampRecs.append(rec)
# magic_data dictionary sorted by sample_name
SampRecs_sorted = pmag.sort_magic_data(SampRecs, 'er_sample_name')
print('sample data to be appended to: ', samp_file)
except Exception as ex:
print(ex)
print('problem with existing file: ',
samp_file, ' will create new.')
try:
SiteRecs, file_type = pmag.magic_read(site_file)
# convert 3.0. site file to 2.5 format
if data_model == 3:
SiteRecs3 = SiteRecs
SiteRecs = []
for site_rec in SiteRecs3:
SiteRecs.append(map_magic.mapping(
site_rec, map_magic.site_magic3_2_magic2_map))
# magic_data dictionary sorted by site_name
SiteRecs_sorted = pmag.sort_magic_data(SiteRecs, 'er_site_name')
print('site data to be appended to: ', site_file)
except Exception as ex:
print(ex)
print('problem with existing file: ',
site_file, ' will create new.')
try:
ImageRecs, file_type = pmag.magic_read(image_file)
# convert from 3.0. --> 2.5
if data_model == 3:
ImageRecs3 = ImageRecs
ImageRecs = []
for image_rec in ImageRecs3:
ImageRecs.append(map_magic.mapping(
image_rec, map_magic.image_magic3_2_magic2_map))
print('image data to be appended to: ', image_file)
except:
print('problem with existing file: ',
image_file, ' will create new.')
#
# read in file to convert
#
OrData, location_name = pmag.magic_read(orient_file)
if location_name == "demag_orient":
location_name = ""
#
# step through the data sample by sample
#
# use map_magic in here...
for OrRec in OrData:
if 'mag_azimuth' not in list(OrRec.keys()):
OrRec['mag_azimuth'] = ""
if 'field_dip' not in list(OrRec.keys()):
OrRec['field_dip'] = ""
if OrRec['mag_azimuth'] == " ":
OrRec["mag_azimuth"] = ""
if OrRec['field_dip'] == " ":
OrRec["field_dip"] = ""
if 'sample_description' in list(OrRec.keys()):
sample_description = OrRec['sample_description']
else:
sample_description = ""
if 'cooling_rate_corr' in list(OrRec.keys()):
if 'cooling_rate_mcd' not in list(OrRec.keys()):
OrRec['cooling_rate_mcd'] = 'DA-CR'
sample_orientation_flag = 'g'
if 'sample_orientation_flag' in list(OrRec.keys()):
if OrRec['sample_orientation_flag'] == 'b' or OrRec["mag_azimuth"] == "":
sample_orientation_flag = 'b'
methcodes = method_codes # initialize method codes
if methcodes:
if 'method_codes' in list(OrRec.keys()) and OrRec['method_codes'].strip() != "":
methcodes = methcodes + ":" + \
OrRec['method_codes'] # add notes
else:
if 'method_codes' in list(OrRec.keys()) and OrRec['method_codes'].strip() != "":
methcodes = OrRec['method_codes'] # add notes
codes = methcodes.replace(" ", "").split(":")
sample_name = OrRec["sample_name"]
# patch added by rshaar 7/2016
# if sample_name already exists in er_samples.txt:
# merge the new data colmuns calculated by orientation_magic with the existing data colmuns
# this is done to make sure no previous data in er_samples.txt and
# er_sites.txt is lost.
if sample_name in list(SampRecs_sorted.keys()):
Prev_MagRec = SampRecs_sorted[sample_name][-1]
MagRec = Prev_MagRec
else:
Prev_MagRec = {}
MagRec = {}
MagRec["er_citation_names"] = "This study"
# the following keys were calculated or defined in the code above:
for key in ['sample_igsn', 'sample_texture', 'sample_cooling_rate',
'cooling_rate_corr', 'cooling_rate_mcd']:
val = OrRec.get(key, '')
if val:
MagRec[key] = val
elif key in list(Prev_MagRec.keys()):
MagRec[key] = Prev_MagRec[key]
else:
MagRec[key] = ""
if location_name != "":
MagRec["er_location_name"] = location_name
elif "er_location_name" in list(Prev_MagRec.keys()):
MagRec["er_location_name"] = Prev_MagRec["er_location_name"]
else:
MagRec["er_location_name"] = ""
# the following keys are taken directly from OrRec dictionary:
for key in ["sample_height", "er_sample_alternatives", "sample_orientation_flag"]:
if key in list(OrRec.keys()) and OrRec[key] != "":
MagRec[key] = OrRec[key]
elif key in list(Prev_MagRec.keys()):
MagRec[key] = Prev_MagRec[key]
else:
MagRec[key] = ""
# the following keys, if blank, used to be defined here as "Not Specified" :
for key in ["sample_class", "sample_lithology", "sample_type"]:
if key in list(OrRec.keys()) and OrRec[key] != "" and OrRec[key] != "Not Specified":
MagRec[key] = OrRec[key]
elif key in list(Prev_MagRec.keys()) and Prev_MagRec[key] != "" and Prev_MagRec[key] != "Not Specified":
MagRec[key] = Prev_MagRec[key]
else:
MagRec[key] = "" # "Not Specified"
# (rshaar) From here parse new information and replace previous, if exists:
#
# parse information common to all orientation methods
#
MagRec["er_sample_name"] = OrRec["sample_name"]
if "IGSN" in list(OrRec.keys()):
MagRec["sample_igsn"] = OrRec["IGSN"]
else:
MagRec["sample_igsn"] = ""
# MagRec["sample_height"],MagRec["sample_bed_dip_direction"],MagRec["sample_bed_dip"]="","",""
MagRec["sample_bed_dip_direction"], MagRec["sample_bed_dip"] = "", ""
# if "er_sample_alternatives" in OrRec.keys():
# MagRec["er_sample_alternatives"]=OrRec["sample_alternatives"]
sample = OrRec["sample_name"]
if OrRec['mag_azimuth'] == "" and OrRec['field_dip'] != "":
OrRec['mag_azimuth'] = '999'
if OrRec["mag_azimuth"] != "":
labaz, labdip = pmag.orient(
float(OrRec["mag_azimuth"]), float(OrRec["field_dip"]), or_con)
if labaz < 0:
labaz += 360.
else:
labaz, labdip = "", ""
if OrRec['mag_azimuth'] == '999':
labaz = ""
if "GPS_baseline" in list(OrRec.keys()) and OrRec['GPS_baseline'] != "":
newbaseline = OrRec["GPS_baseline"]
if newbaseline != "":
baseline = float(newbaseline)
MagRec['er_scientist_mail_names'] = OrRec.get('participants', '')
newlat = OrRec["lat"]
if newlat != "":
lat = float(newlat)
if lat == "":
print("No latitude specified for ! ", sample,
". Latitude is required for all samples.")
return False, "No latitude specified for ! " + sample + ". Latitude is required for all samples."
MagRec["sample_lat"] = '%11.5f' % (lat)
newlon = OrRec["long"]
if newlon != "":
lon = float(newlon)
if lon == "":
print("No longitude specified for ! ", sample,
". Longitude is required for all samples.")
return False, str("No longitude specified for ! " + sample + ". Longitude is required for all samples.")
MagRec["sample_lon"] = '%11.5f' % (lon)
if 'bedding_dip_direction' in list(OrRec.keys()):
newbeddir = OrRec["bedding_dip_direction"]
if newbeddir != "":
bed_dip_dir = OrRec['bedding_dip_direction']
if 'bedding_dip' in list(OrRec.keys()):
newbeddip = OrRec["bedding_dip"]
if newbeddip != "":
bed_dip = OrRec['bedding_dip']
MagRec["sample_bed_dip"] = bed_dip
MagRec["sample_bed_dip_direction"] = bed_dip_dir
# MagRec["sample_type"]=sample_type
if labdip != "":
MagRec["sample_dip"] = '%7.1f' % labdip
else:
MagRec["sample_dip"] = ""
if "date" in list(OrRec.keys()) and OrRec["date"] != "":
newdate = OrRec["date"]
if newdate != "":
date = newdate
mmddyy = date.split('/')
yy = int(mmddyy[2])
if yy > 50:
yy = 1900 + yy
else:
yy = 2000 + yy
decimal_year = yy + old_div(float(mmddyy[0]), 12)
sample_date = '%i:%s:%s' % (yy, mmddyy[0], mmddyy[1])
time = OrRec['hhmm']
if time:
sample_date += (':' + time)
MagRec["sample_date"] = sample_date.strip(':')
if labaz != "":
MagRec["sample_azimuth"] = '%7.1f' % (labaz)
else:
MagRec["sample_azimuth"] = ""
if "stratigraphic_height" in list(OrRec.keys()):
if OrRec["stratigraphic_height"] != "":
MagRec["sample_height"] = OrRec["stratigraphic_height"]
stratpos = OrRec["stratigraphic_height"]
elif OrRec["stratigraphic_height"] == '-1':
MagRec["sample_height"] = "" # make empty
elif stratpos != "":
# keep last record if blank
MagRec["sample_height"] = stratpos
#
# get magnetic declination (corrected with igrf value)
if dec_correction_con == 1 and MagRec['sample_azimuth'] != "":
x, y, z, f = pmag.doigrf(lon, lat, 0, decimal_year)
Dir = pmag.cart2dir((x, y, z))
dec_correction = Dir[0]
if "bedding_dip" in list(OrRec.keys()):
if OrRec["bedding_dip"] != "":
MagRec["sample_bed_dip"] = OrRec["bedding_dip"]
bed_dip = OrRec["bedding_dip"]
else:
MagRec["sample_bed_dip"] = bed_dip
else:
MagRec["sample_bed_dip"] = '0'
if "bedding_dip_direction" in list(OrRec.keys()):
if OrRec["bedding_dip_direction"] != "" and bed_correction == 1:
dd = float(OrRec["bedding_dip_direction"]) + dec_correction
if dd > 360.:
dd = dd - 360.
MagRec["sample_bed_dip_direction"] = '%7.1f' % (dd)
dip_dir = MagRec["sample_bed_dip_direction"]
else:
MagRec["sample_bed_dip_direction"] = OrRec['bedding_dip_direction']
else:
MagRec["sample_bed_dip_direction"] = '0'
if average_bedding:
if str(MagRec["sample_bed_dip_direction"]) and str(MagRec["sample_bed_dip"]):
BPs.append([float(MagRec["sample_bed_dip_direction"]),
float(MagRec["sample_bed_dip"]) - 90., 1.])
if MagRec['sample_azimuth'] == "" and MagRec['sample_dip'] == "":
MagRec["sample_declination_correction"] = ''
methcodes = methcodes + ':SO-NO'
MagRec["magic_method_codes"] = methcodes
MagRec['sample_description'] = sample_description
#
# work on the site stuff too
if 'site_name' in list(OrRec.keys()) and OrRec['site_name'] != "":
site = OrRec['site_name']
elif 'site_name' in list(Prev_MagRec.keys()) and Prev_MagRec['site_name'] != "":
site = Prev_MagRec['site_name']
else:
# parse out the site name
site = pmag.parse_site(OrRec["sample_name"], samp_con, Z)
MagRec["er_site_name"] = site
site_description = "" # overwrite any prior description
if 'site_description' in list(OrRec.keys()) and OrRec['site_description'] != "":
site_description = OrRec['site_description'].replace(",", ";")
if "image_name" in list(OrRec.keys()):
images = OrRec["image_name"].split(":")
if "image_look" in list(OrRec.keys()):
looks = OrRec['image_look'].split(":")
else:
looks = []
if "image_photographer" in list(OrRec.keys()):
photographers = OrRec['image_photographer'].split(":")
else:
photographers = []
for image in images:
if image != "" and image not in imagelist:
imagelist.append(image)
ImageRec = {}
ImageRec['er_image_name'] = image
ImageRec['image_type'] = "outcrop"
ImageRec['image_date'] = sample_date
ImageRec['er_citation_names'] = "This study"
ImageRec['er_location_name'] = location_name
ImageRec['er_site_name'] = MagRec['er_site_name']
k = images.index(image)
if len(looks) > k:
ImageRec['er_image_description'] = "Look direction: " + looks[k]
elif len(looks) >= 1:
ImageRec['er_image_description'] = "Look direction: " + looks[-1]
else:
ImageRec['er_image_description'] = "Look direction: unknown"
if len(photographers) > k:
ImageRec['er_photographer_mail_names'] = photographers[k]
elif len(photographers) >= 1:
ImageRec['er_photographer_mail_names'] = photographers[-1]
else:
ImageRec['er_photographer_mail_names'] = "unknown"
ImageOuts.append(ImageRec)
if site not in sitelist:
sitelist.append(site) # collect unique site names
# patch added by rshaar 7/2016
# if sample_name already exists in er_samples.txt:
# merge the new data colmuns calculated by orientation_magic with the existing data colmuns
# this is done to make sure no previous data in er_samples.txt and
# er_sites.txt is lost.
if site in list(SiteRecs_sorted.keys()):
Prev_MagRec = SiteRecs_sorted[site][-1]
SiteRec = Prev_MagRec
else:
Prev_MagRec = {}
SiteRec = {}
SiteRec["er_citation_names"] = "This study"
SiteRec["er_site_name"] = site
SiteRec["site_definition"] = "s"
if "er_location_name" in SiteRec and SiteRec.get("er_location_name"):
pass
elif key in list(Prev_MagRec.keys()) and Prev_MagRec[key] != "":
SiteRec[key] = Prev_MagRec[key]
else:
print('setting location name to ""')
SiteRec[key] = ""
for key in ["lat", "lon", "height"]:
if "site_" + key in list(Prev_MagRec.keys()) and Prev_MagRec["site_" + key] != "":
SiteRec["site_" + key] = Prev_MagRec["site_" + key]
else:
SiteRec["site_" + key] = MagRec["sample_" + key]
# SiteRec["site_lat"]=MagRec["sample_lat"]
# SiteRec["site_lon"]=MagRec["sample_lon"]
# SiteRec["site_height"]=MagRec["sample_height"]
for key in ["class", "lithology", "type"]:
if "site_" + key in list(Prev_MagRec.keys()) and Prev_MagRec["site_" + key] != "Not Specified":
SiteRec["site_" + key] = Prev_MagRec["site_" + key]
else:
SiteRec["site_" + key] = MagRec["sample_" + key]
# SiteRec["site_class"]=MagRec["sample_class"]
# SiteRec["site_lithology"]=MagRec["sample_lithology"]
# SiteRec["site_type"]=MagRec["sample_type"]
if site_description != "": # overwrite only if site_description has something
SiteRec["site_description"] = site_description
SiteOuts.append(SiteRec)
if sample not in samplelist:
samplelist.append(sample)
if MagRec['sample_azimuth'] != "": # assume magnetic compass only
MagRec['magic_method_codes'] = MagRec['magic_method_codes'] + ':SO-MAG'
MagRec['magic_method_codes'] = MagRec['magic_method_codes'].strip(
":")
SampOuts.append(MagRec)
if MagRec['sample_azimuth'] != "" and dec_correction_con != 3:
az = labaz + dec_correction
if az > 360.:
az = az - 360.
CMDRec = {}
for key in list(MagRec.keys()):
CMDRec[key] = MagRec[key] # make a copy of MagRec
CMDRec["sample_azimuth"] = '%7.1f' % (az)
CMDRec["magic_method_codes"] = methcodes + ':SO-CMD-NORTH'
CMDRec["magic_method_codes"] = CMDRec['magic_method_codes'].strip(
':')
CMDRec["sample_declination_correction"] = '%7.1f' % (
dec_correction)
if dec_correction_con == 1:
CMDRec['sample_description'] = sample_description + \
':Declination correction calculated from IGRF'
else:
CMDRec['sample_description'] = sample_description + \
':Declination correction supplied by user'
CMDRec["sample_description"] = CMDRec['sample_description'].strip(
':')
SampOuts.append(CMDRec)
if "mag_az_bs" in list(OrRec.keys()) and OrRec["mag_az_bs"] != "" and OrRec["mag_az_bs"] != " ":
SRec = {}
for key in list(MagRec.keys()):
SRec[key] = MagRec[key] # make a copy of MagRec
labaz = float(OrRec["mag_az_bs"])
az = labaz + dec_correction
if az > 360.:
az = az - 360.
SRec["sample_azimuth"] = '%7.1f' % (az)
SRec["sample_declination_correction"] = '%7.1f' % (
dec_correction)
SRec["magic_method_codes"] = methcodes + \
':SO-SIGHT-BACK:SO-CMD-NORTH'
SampOuts.append(SRec)
#
# check for suncompass data
#
# there are sun compass data
if "shadow_angle" in list(OrRec.keys()) and OrRec["shadow_angle"] != "":
if hours_from_gmt == "":
#hours_from_gmt=raw_input("Enter hours to subtract from time for GMT: [0] ")
hours_from_gmt = 0
SunRec, sundata = {}, {}
shad_az = float(OrRec["shadow_angle"])
if not OrRec["hhmm"]:
print('If using the column shadow_angle for sun compass data, you must also provide the time for each sample. Sample ',
sample, ' has shadow_angle but is missing the "hh:mm" column.')
else: # calculate sun declination
sundata["date"] = '%i:%s:%s:%s' % (
yy, mmddyy[0], mmddyy[1], OrRec["hhmm"])
sundata["delta_u"] = hours_from_gmt
sundata["lon"] = lon # do not truncate!
sundata["lat"] = lat # do not truncate!
sundata["shadow_angle"] = OrRec["shadow_angle"]
# now you can truncate
sundec = '%7.1f' % (pmag.dosundec(sundata))
for key in list(MagRec.keys()):
SunRec[key] = MagRec[key] # make a copy of MagRec
SunRec["sample_azimuth"] = sundec # do not truncate!
SunRec["sample_declination_correction"] = ''
SunRec["magic_method_codes"] = methcodes + ':SO-SUN'
SunRec["magic_method_codes"] = SunRec['magic_method_codes'].strip(
':')
SampOuts.append(SunRec)
#
# check for differential GPS data
#
# there are diff GPS data
if "prism_angle" in list(OrRec.keys()) and OrRec["prism_angle"] != "":
GPSRec = {}
for key in list(MagRec.keys()):
GPSRec[key] = MagRec[key] # make a copy of MagRec
prism_angle = float(OrRec["prism_angle"])
sundata["shadow_angle"] = OrRec["shadow_angle"]
sundec = pmag.dosundec(sundata)
for key in list(MagRec.keys()):
SunRec[key] = MagRec[key] # make a copy of MagRec
SunRec["sample_azimuth"] = '%7.1f' % (sundec)
SunRec["sample_declination_correction"] = ''
SunRec["magic_method_codes"] = methcodes + ':SO-SUN'
SunRec["magic_method_codes"] = SunRec['magic_method_codes'].strip(
':')
SampOuts.append(SunRec)
#
# check for differential GPS data
#
# there are diff GPS data
if "prism_angle" in list(OrRec.keys()) and OrRec["prism_angle"] != "":
GPSRec = {}
for key in list(MagRec.keys()):
GPSRec[key] = MagRec[key] # make a copy of MagRec
prism_angle = float(OrRec["prism_angle"])
laser_angle = float(OrRec["laser_angle"])
if OrRec["GPS_baseline"] != "":
baseline = float(OrRec["GPS_baseline"]) # new baseline
gps_dec = baseline + laser_angle + prism_angle - 90.
while gps_dec > 360.:
gps_dec = gps_dec - 360.
while gps_dec < 0:
gps_dec = gps_dec + 360.
for key in list(MagRec.keys()):
GPSRec[key] = MagRec[key] # make a copy of MagRec
GPSRec["sample_azimuth"] = '%7.1f' % (gps_dec)
GPSRec["sample_declination_correction"] = ''
GPSRec["magic_method_codes"] = methcodes + ':SO-GPS-DIFF'
SampOuts.append(GPSRec)
# there are differential GPS Azimuth data
if "GPS_Az" in list(OrRec.keys()) and OrRec["GPS_Az"] != "":
GPSRec = {}
for key in list(MagRec.keys()):
GPSRec[key] = MagRec[key] # make a copy of MagRec
GPSRec["sample_azimuth"] = '%7.1f' % (float(OrRec["GPS_Az"]))
GPSRec["sample_declination_correction"] = ''
GPSRec["magic_method_codes"] = methcodes + ':SO-GPS-DIFF'
SampOuts.append(GPSRec)
if average_bedding != "0" and fpars:
fpars = pmag.fisher_mean(BPs)
print('over-writing all bedding with average ')
Samps = []
for rec in SampOuts:
if average_bedding != "0" and fpars:
rec['sample_bed_dip_direction'] = '%7.1f' % (fpars['dec'])
rec['sample_bed_dip'] = '%7.1f' % (fpars['inc'] + 90.)
Samps.append(rec)
else:
Samps.append(rec)
for rec in SampRecs:
if rec['er_sample_name'] not in samplelist: # overwrite prior for this sample
Samps.append(rec)
for rec in SiteRecs:
if rec['er_site_name'] not in sitelist: # overwrite prior for this sample
SiteOuts.append(rec)
for rec in ImageRecs:
if rec['er_image_name'] not in imagelist: # overwrite prior for this sample
ImageOuts.append(rec)
print('saving data...')
SampsOut, keys = pmag.fillkeys(Samps)
Sites, keys = pmag.fillkeys(SiteOuts)
if data_model == 3:
SampsOut3 = []
Sites3 = []
for samp_rec in SampsOut:
new_rec = map_magic.mapping(
samp_rec, map_magic.samp_magic2_2_magic3_map)
SampsOut3.append(new_rec)
for site_rec in Sites:
new_rec = map_magic.mapping(
site_rec, map_magic.site_magic2_2_magic3_map)
Sites3.append(new_rec)
wrote_samps = pmag.magic_write(samp_file, SampsOut3, "samples")
wrote_sites = pmag.magic_write(site_file, Sites3, "sites")
else:
wrote_samps = pmag.magic_write(samp_file, SampsOut, "er_samples")
wrote_sites = pmag.magic_write(site_file, Sites, "er_sites")
if wrote_samps:
print("Data saved in ", samp_file, ' and ', site_file)
else:
print("No data found")
if len(ImageOuts) > 0:
# need to do conversion here 3.0. --> 2.5
Images, keys = pmag.fillkeys(ImageOuts)
image_type = "er_images"
if data_model == 3:
# convert 2.5 --> 3.0.
image_type = "images"
Images2 = Images
Images = []
for image_rec in Images2:
Images.append(map_magic.mapping(
image_rec, map_magic.image_magic2_2_magic3_map))
pmag.magic_write(image_file, Images, image_type)
print("Image info saved in ", image_file)
return True, None
|
python
|
def orientation_magic(or_con=1, dec_correction_con=1, dec_correction=0, bed_correction=True,
samp_con='1', hours_from_gmt=0, method_codes='', average_bedding=False,
orient_file='orient.txt', samp_file='samples.txt', site_file='sites.txt',
output_dir_path='.', input_dir_path='', append=False, data_model=3):
"""
use this function to convert tab delimited field notebook information to MagIC formatted tables (er_samples and er_sites)
INPUT FORMAT
Input files must be tab delimited and have in the first line:
tab location_name
Note: The "location_name" will facilitate searching in the MagIC database. Data from different
"locations" should be put in separate files. The definition of a "location" is rather loose.
Also this is the word 'tab' not a tab, which will be indicated by '\t'.
The second line has the names of the columns (tab delimited), e.g.:
site_name sample_name mag_azimuth field_dip date lat long sample_lithology sample_type sample_class shadow_angle hhmm stratigraphic_height bedding_dip_direction bedding_dip GPS_baseline image_name image_look image_photographer participants method_codes site_description sample_description GPS_Az, sample_igsn, sample_texture, sample_cooling_rate, cooling_rate_corr, cooling_rate_mcd
Notes:
1) column order doesn't matter but the NAMES do.
2) sample_name, sample_lithology, sample_type, sample_class, lat and long are required. all others are optional.
3) If subsequent data are the same (e.g., date, bedding orientation, participants, stratigraphic_height),
you can leave the field blank and the program will fill in the last recorded information. BUT if you really want a blank stratigraphic_height, enter a '-1'. These will not be inherited and must be specified for each entry: image_name, look, photographer or method_codes
4) hhmm must be in the format: hh:mm and the hh must be in 24 hour time.
date must be mm/dd/yy (years < 50 will be converted to 20yy and >50 will be assumed 19yy). hours_from_gmt is the number of hours to SUBTRACT from hh to get to GMT.
5) image_name, image_look and image_photographer are colon delimited lists of file name (e.g., IMG_001.jpg) image look direction and the name of the photographer respectively. If all images had same look and photographer, just enter info once. The images will be assigned to the site for which they were taken - not at the sample level.
6) participants: Names of who helped take the samples. These must be a colon delimited list.
7) method_codes: Special method codes on a sample level, e.g., SO-GT5 which means the orientation is has an uncertainty of >5 degrees
for example if it broke off before orienting....
8) GPS_Az is the place to put directly determined GPS Azimuths, using, e.g., points along the drill direction.
9) sample_cooling_rate is the cooling rate in K per Ma
10) int_corr_cooling_rate
11) cooling_rate_mcd: data adjustment method code for cooling rate correction; DA-CR-EG is educated guess; DA-CR-PS is percent estimated from pilot samples; DA-CR-TRM is comparison between 2 TRMs acquired with slow and rapid cooling rates.
is the percent cooling rate factor to apply to specimens from this sample, DA-CR-XX is the method code
defaults:
orientation_magic(or_con=1, dec_correction_con=1, dec_correction=0, bed_correction=True, samp_con='1', hours_from_gmt=0, method_codes='', average_bedding=False, orient_file='orient.txt', samp_file='er_samples.txt', site_file='er_sites.txt', output_dir_path='.', input_dir_path='', append=False):
orientation conventions:
[1] Standard Pomeroy convention of azimuth and hade (degrees from vertical down)
of the drill direction (field arrow). lab arrow azimuth= sample_azimuth = mag_azimuth;
lab arrow dip = sample_dip =-field_dip. i.e. the lab arrow dip is minus the hade.
[2] Field arrow is the strike of the plane orthogonal to the drill direction,
Field dip is the hade of the drill direction. Lab arrow azimuth = mag_azimuth-90
Lab arrow dip = -field_dip
[3] Lab arrow is the same as the drill direction;
hade was measured in the field.
Lab arrow azimuth = mag_azimuth; Lab arrow dip = 90-field_dip
[4] lab azimuth and dip are same as mag_azimuth, field_dip : use this for unoriented samples too
[5] Same as AZDIP convention explained below -
azimuth and inclination of the drill direction are mag_azimuth and field_dip;
lab arrow is as in [1] above.
lab azimuth is same as mag_azimuth,lab arrow dip=field_dip-90
[6] Lab arrow azimuth = mag_azimuth-90; Lab arrow dip = 90-field_dip
[7] see http://earthref.org/PmagPy/cookbook/#field_info for more information. You can customize other format yourself, or email ltauxe@ucsd.edu for help.
Magnetic declination convention:
[1] Use the IGRF value at the lat/long and date supplied [default]
[2] Will supply declination correction
[3] mag_az is already corrected in file
[4] Correct mag_az but not bedding_dip_dir
Sample naming convention:
[1] XXXXY: where XXXX is an arbitrary length site designation and Y
is the single character sample designation. e.g., TG001a is the
first sample from site TG001. [default]
[2] XXXX-YY: YY sample from site XXXX (XXX, YY of arbitary length)
[3] XXXX.YY: YY sample from site XXXX (XXX, YY of arbitary length)
[4-Z] XXXX[YYY]: YYY is sample designation with Z characters from site XXX
[5] site name = sample name
[6] site name entered in site_name column in the orient.txt format input file -- NOT CURRENTLY SUPPORTED
[7-Z] [XXX]YYY: XXX is site designation with Z characters from samples XXXYYY
NB: all others you will have to either customize your
self or e-mail ltauxe@ucsd.edu for help.
"""
# initialize some variables
# bed_correction used to be BedCorr
# dec_correction_con used to be corr
# dec_correction used to be DecCorr
# meths is now method_codes
# delta_u is now hours_from_gmt
input_dir_path, output_dir_path = pmag.fix_directories(input_dir_path, output_dir_path)
or_con, dec_correction_con, dec_correction = int(
or_con), int(dec_correction_con), float(dec_correction)
hours_from_gmt = float(hours_from_gmt)
stratpos = ""
# date of sampling, latitude (pos North), longitude (pos East)
date, lat, lon = "", "", ""
bed_dip, bed_dip_dir = "", ""
Lats, Lons = [], [] # list of latitudes and longitudes
# lists of Sample records and Site records
SampOuts, SiteOuts, ImageOuts = [], [], []
samplelist, sitelist, imagelist = [], [], []
Z = 1
newbaseline, newbeddir, newbeddip = "", "", ""
fpars = []
sclass, lithology, sample_type = "", "", ""
newclass, newlith, newtype = '', '', ''
BPs = [] # bedding pole declinations, bedding pole inclinations
image_file = "er_images.txt"
#
# use 3.0. default filenames when in 3.0.
# but, still allow for custom names
data_model = int(data_model)
if data_model == 3:
if samp_file == "er_samples.txt":
samp_file = "samples.txt"
if site_file == "er_sites.txt":
site_file = "sites.txt"
image_file = "images.txt"
orient_file = pmag.resolve_file_name(orient_file, input_dir_path)
if not os.path.exists(orient_file):
return False, "No such file: {}. If the orientation file is not in your current working directory, make sure you have specified the correct input directory.".format(orient_file)
samp_file = os.path.join(output_dir_path, samp_file)
site_file = os.path.join(output_dir_path, site_file)
image_file = os.path.join(output_dir_path, image_file)
# validate input
if '4' in samp_con[0]:
pattern = re.compile('[4][-]\d')
result = pattern.match(samp_con)
if not result:
raise Exception(
"If using sample naming convention 4, you must provide the number of characters with which to distinguish sample from site. [4-Z] XXXX[YYY]: YYY is sample designation with Z characters from site XXX)")
if '7' in samp_con[0]:
pattern = re.compile('[7][-]\d')
result = pattern.match(samp_con)
if not result:
raise Exception(
"If using sample naming convention 7, you must provide the number of characters with which to distinguish sample from site. [7-Z] [XXX]YYY: XXX is site designation with Z characters from samples XXXYYY")
if dec_correction_con == 2 and not dec_correction:
raise Exception(
"If using magnetic declination convention 2, you must also provide a declincation correction in degrees")
SampRecs, SiteRecs, ImageRecs = [], [], []
SampRecs_sorted, SiteRecs_sorted = {}, {}
if append:
try:
SampRecs, file_type = pmag.magic_read(samp_file)
# convert 3.0. sample file to 2.5 format
if data_model == 3:
SampRecs3 = SampRecs
SampRecs = []
for samp_rec in SampRecs3:
rec = map_magic.mapping(
samp_rec, map_magic.samp_magic3_2_magic2_map)
SampRecs.append(rec)
# magic_data dictionary sorted by sample_name
SampRecs_sorted = pmag.sort_magic_data(SampRecs, 'er_sample_name')
print('sample data to be appended to: ', samp_file)
except Exception as ex:
print(ex)
print('problem with existing file: ',
samp_file, ' will create new.')
try:
SiteRecs, file_type = pmag.magic_read(site_file)
# convert 3.0. site file to 2.5 format
if data_model == 3:
SiteRecs3 = SiteRecs
SiteRecs = []
for site_rec in SiteRecs3:
SiteRecs.append(map_magic.mapping(
site_rec, map_magic.site_magic3_2_magic2_map))
# magic_data dictionary sorted by site_name
SiteRecs_sorted = pmag.sort_magic_data(SiteRecs, 'er_site_name')
print('site data to be appended to: ', site_file)
except Exception as ex:
print(ex)
print('problem with existing file: ',
site_file, ' will create new.')
try:
ImageRecs, file_type = pmag.magic_read(image_file)
# convert from 3.0. --> 2.5
if data_model == 3:
ImageRecs3 = ImageRecs
ImageRecs = []
for image_rec in ImageRecs3:
ImageRecs.append(map_magic.mapping(
image_rec, map_magic.image_magic3_2_magic2_map))
print('image data to be appended to: ', image_file)
except:
print('problem with existing file: ',
image_file, ' will create new.')
#
# read in file to convert
#
OrData, location_name = pmag.magic_read(orient_file)
if location_name == "demag_orient":
location_name = ""
#
# step through the data sample by sample
#
# use map_magic in here...
for OrRec in OrData:
if 'mag_azimuth' not in list(OrRec.keys()):
OrRec['mag_azimuth'] = ""
if 'field_dip' not in list(OrRec.keys()):
OrRec['field_dip'] = ""
if OrRec['mag_azimuth'] == " ":
OrRec["mag_azimuth"] = ""
if OrRec['field_dip'] == " ":
OrRec["field_dip"] = ""
if 'sample_description' in list(OrRec.keys()):
sample_description = OrRec['sample_description']
else:
sample_description = ""
if 'cooling_rate_corr' in list(OrRec.keys()):
if 'cooling_rate_mcd' not in list(OrRec.keys()):
OrRec['cooling_rate_mcd'] = 'DA-CR'
sample_orientation_flag = 'g'
if 'sample_orientation_flag' in list(OrRec.keys()):
if OrRec['sample_orientation_flag'] == 'b' or OrRec["mag_azimuth"] == "":
sample_orientation_flag = 'b'
methcodes = method_codes # initialize method codes
if methcodes:
if 'method_codes' in list(OrRec.keys()) and OrRec['method_codes'].strip() != "":
methcodes = methcodes + ":" + \
OrRec['method_codes'] # add notes
else:
if 'method_codes' in list(OrRec.keys()) and OrRec['method_codes'].strip() != "":
methcodes = OrRec['method_codes'] # add notes
codes = methcodes.replace(" ", "").split(":")
sample_name = OrRec["sample_name"]
# patch added by rshaar 7/2016
# if sample_name already exists in er_samples.txt:
# merge the new data colmuns calculated by orientation_magic with the existing data colmuns
# this is done to make sure no previous data in er_samples.txt and
# er_sites.txt is lost.
if sample_name in list(SampRecs_sorted.keys()):
Prev_MagRec = SampRecs_sorted[sample_name][-1]
MagRec = Prev_MagRec
else:
Prev_MagRec = {}
MagRec = {}
MagRec["er_citation_names"] = "This study"
# the following keys were calculated or defined in the code above:
for key in ['sample_igsn', 'sample_texture', 'sample_cooling_rate',
'cooling_rate_corr', 'cooling_rate_mcd']:
val = OrRec.get(key, '')
if val:
MagRec[key] = val
elif key in list(Prev_MagRec.keys()):
MagRec[key] = Prev_MagRec[key]
else:
MagRec[key] = ""
if location_name != "":
MagRec["er_location_name"] = location_name
elif "er_location_name" in list(Prev_MagRec.keys()):
MagRec["er_location_name"] = Prev_MagRec["er_location_name"]
else:
MagRec["er_location_name"] = ""
# the following keys are taken directly from OrRec dictionary:
for key in ["sample_height", "er_sample_alternatives", "sample_orientation_flag"]:
if key in list(OrRec.keys()) and OrRec[key] != "":
MagRec[key] = OrRec[key]
elif key in list(Prev_MagRec.keys()):
MagRec[key] = Prev_MagRec[key]
else:
MagRec[key] = ""
# the following keys, if blank, used to be defined here as "Not Specified" :
for key in ["sample_class", "sample_lithology", "sample_type"]:
if key in list(OrRec.keys()) and OrRec[key] != "" and OrRec[key] != "Not Specified":
MagRec[key] = OrRec[key]
elif key in list(Prev_MagRec.keys()) and Prev_MagRec[key] != "" and Prev_MagRec[key] != "Not Specified":
MagRec[key] = Prev_MagRec[key]
else:
MagRec[key] = "" # "Not Specified"
# (rshaar) From here parse new information and replace previous, if exists:
#
# parse information common to all orientation methods
#
MagRec["er_sample_name"] = OrRec["sample_name"]
if "IGSN" in list(OrRec.keys()):
MagRec["sample_igsn"] = OrRec["IGSN"]
else:
MagRec["sample_igsn"] = ""
# MagRec["sample_height"],MagRec["sample_bed_dip_direction"],MagRec["sample_bed_dip"]="","",""
MagRec["sample_bed_dip_direction"], MagRec["sample_bed_dip"] = "", ""
# if "er_sample_alternatives" in OrRec.keys():
# MagRec["er_sample_alternatives"]=OrRec["sample_alternatives"]
sample = OrRec["sample_name"]
if OrRec['mag_azimuth'] == "" and OrRec['field_dip'] != "":
OrRec['mag_azimuth'] = '999'
if OrRec["mag_azimuth"] != "":
labaz, labdip = pmag.orient(
float(OrRec["mag_azimuth"]), float(OrRec["field_dip"]), or_con)
if labaz < 0:
labaz += 360.
else:
labaz, labdip = "", ""
if OrRec['mag_azimuth'] == '999':
labaz = ""
if "GPS_baseline" in list(OrRec.keys()) and OrRec['GPS_baseline'] != "":
newbaseline = OrRec["GPS_baseline"]
if newbaseline != "":
baseline = float(newbaseline)
MagRec['er_scientist_mail_names'] = OrRec.get('participants', '')
newlat = OrRec["lat"]
if newlat != "":
lat = float(newlat)
if lat == "":
print("No latitude specified for ! ", sample,
". Latitude is required for all samples.")
return False, "No latitude specified for ! " + sample + ". Latitude is required for all samples."
MagRec["sample_lat"] = '%11.5f' % (lat)
newlon = OrRec["long"]
if newlon != "":
lon = float(newlon)
if lon == "":
print("No longitude specified for ! ", sample,
". Longitude is required for all samples.")
return False, str("No longitude specified for ! " + sample + ". Longitude is required for all samples.")
MagRec["sample_lon"] = '%11.5f' % (lon)
if 'bedding_dip_direction' in list(OrRec.keys()):
newbeddir = OrRec["bedding_dip_direction"]
if newbeddir != "":
bed_dip_dir = OrRec['bedding_dip_direction']
if 'bedding_dip' in list(OrRec.keys()):
newbeddip = OrRec["bedding_dip"]
if newbeddip != "":
bed_dip = OrRec['bedding_dip']
MagRec["sample_bed_dip"] = bed_dip
MagRec["sample_bed_dip_direction"] = bed_dip_dir
# MagRec["sample_type"]=sample_type
if labdip != "":
MagRec["sample_dip"] = '%7.1f' % labdip
else:
MagRec["sample_dip"] = ""
if "date" in list(OrRec.keys()) and OrRec["date"] != "":
newdate = OrRec["date"]
if newdate != "":
date = newdate
mmddyy = date.split('/')
yy = int(mmddyy[2])
if yy > 50:
yy = 1900 + yy
else:
yy = 2000 + yy
decimal_year = yy + old_div(float(mmddyy[0]), 12)
sample_date = '%i:%s:%s' % (yy, mmddyy[0], mmddyy[1])
time = OrRec['hhmm']
if time:
sample_date += (':' + time)
MagRec["sample_date"] = sample_date.strip(':')
if labaz != "":
MagRec["sample_azimuth"] = '%7.1f' % (labaz)
else:
MagRec["sample_azimuth"] = ""
if "stratigraphic_height" in list(OrRec.keys()):
if OrRec["stratigraphic_height"] != "":
MagRec["sample_height"] = OrRec["stratigraphic_height"]
stratpos = OrRec["stratigraphic_height"]
elif OrRec["stratigraphic_height"] == '-1':
MagRec["sample_height"] = "" # make empty
elif stratpos != "":
# keep last record if blank
MagRec["sample_height"] = stratpos
#
# get magnetic declination (corrected with igrf value)
if dec_correction_con == 1 and MagRec['sample_azimuth'] != "":
x, y, z, f = pmag.doigrf(lon, lat, 0, decimal_year)
Dir = pmag.cart2dir((x, y, z))
dec_correction = Dir[0]
if "bedding_dip" in list(OrRec.keys()):
if OrRec["bedding_dip"] != "":
MagRec["sample_bed_dip"] = OrRec["bedding_dip"]
bed_dip = OrRec["bedding_dip"]
else:
MagRec["sample_bed_dip"] = bed_dip
else:
MagRec["sample_bed_dip"] = '0'
if "bedding_dip_direction" in list(OrRec.keys()):
if OrRec["bedding_dip_direction"] != "" and bed_correction == 1:
dd = float(OrRec["bedding_dip_direction"]) + dec_correction
if dd > 360.:
dd = dd - 360.
MagRec["sample_bed_dip_direction"] = '%7.1f' % (dd)
dip_dir = MagRec["sample_bed_dip_direction"]
else:
MagRec["sample_bed_dip_direction"] = OrRec['bedding_dip_direction']
else:
MagRec["sample_bed_dip_direction"] = '0'
if average_bedding:
if str(MagRec["sample_bed_dip_direction"]) and str(MagRec["sample_bed_dip"]):
BPs.append([float(MagRec["sample_bed_dip_direction"]),
float(MagRec["sample_bed_dip"]) - 90., 1.])
if MagRec['sample_azimuth'] == "" and MagRec['sample_dip'] == "":
MagRec["sample_declination_correction"] = ''
methcodes = methcodes + ':SO-NO'
MagRec["magic_method_codes"] = methcodes
MagRec['sample_description'] = sample_description
#
# work on the site stuff too
if 'site_name' in list(OrRec.keys()) and OrRec['site_name'] != "":
site = OrRec['site_name']
elif 'site_name' in list(Prev_MagRec.keys()) and Prev_MagRec['site_name'] != "":
site = Prev_MagRec['site_name']
else:
# parse out the site name
site = pmag.parse_site(OrRec["sample_name"], samp_con, Z)
MagRec["er_site_name"] = site
site_description = "" # overwrite any prior description
if 'site_description' in list(OrRec.keys()) and OrRec['site_description'] != "":
site_description = OrRec['site_description'].replace(",", ";")
if "image_name" in list(OrRec.keys()):
images = OrRec["image_name"].split(":")
if "image_look" in list(OrRec.keys()):
looks = OrRec['image_look'].split(":")
else:
looks = []
if "image_photographer" in list(OrRec.keys()):
photographers = OrRec['image_photographer'].split(":")
else:
photographers = []
for image in images:
if image != "" and image not in imagelist:
imagelist.append(image)
ImageRec = {}
ImageRec['er_image_name'] = image
ImageRec['image_type'] = "outcrop"
ImageRec['image_date'] = sample_date
ImageRec['er_citation_names'] = "This study"
ImageRec['er_location_name'] = location_name
ImageRec['er_site_name'] = MagRec['er_site_name']
k = images.index(image)
if len(looks) > k:
ImageRec['er_image_description'] = "Look direction: " + looks[k]
elif len(looks) >= 1:
ImageRec['er_image_description'] = "Look direction: " + looks[-1]
else:
ImageRec['er_image_description'] = "Look direction: unknown"
if len(photographers) > k:
ImageRec['er_photographer_mail_names'] = photographers[k]
elif len(photographers) >= 1:
ImageRec['er_photographer_mail_names'] = photographers[-1]
else:
ImageRec['er_photographer_mail_names'] = "unknown"
ImageOuts.append(ImageRec)
if site not in sitelist:
sitelist.append(site) # collect unique site names
# patch added by rshaar 7/2016
# if sample_name already exists in er_samples.txt:
# merge the new data colmuns calculated by orientation_magic with the existing data colmuns
# this is done to make sure no previous data in er_samples.txt and
# er_sites.txt is lost.
if site in list(SiteRecs_sorted.keys()):
Prev_MagRec = SiteRecs_sorted[site][-1]
SiteRec = Prev_MagRec
else:
Prev_MagRec = {}
SiteRec = {}
SiteRec["er_citation_names"] = "This study"
SiteRec["er_site_name"] = site
SiteRec["site_definition"] = "s"
if "er_location_name" in SiteRec and SiteRec.get("er_location_name"):
pass
elif key in list(Prev_MagRec.keys()) and Prev_MagRec[key] != "":
SiteRec[key] = Prev_MagRec[key]
else:
print('setting location name to ""')
SiteRec[key] = ""
for key in ["lat", "lon", "height"]:
if "site_" + key in list(Prev_MagRec.keys()) and Prev_MagRec["site_" + key] != "":
SiteRec["site_" + key] = Prev_MagRec["site_" + key]
else:
SiteRec["site_" + key] = MagRec["sample_" + key]
# SiteRec["site_lat"]=MagRec["sample_lat"]
# SiteRec["site_lon"]=MagRec["sample_lon"]
# SiteRec["site_height"]=MagRec["sample_height"]
for key in ["class", "lithology", "type"]:
if "site_" + key in list(Prev_MagRec.keys()) and Prev_MagRec["site_" + key] != "Not Specified":
SiteRec["site_" + key] = Prev_MagRec["site_" + key]
else:
SiteRec["site_" + key] = MagRec["sample_" + key]
# SiteRec["site_class"]=MagRec["sample_class"]
# SiteRec["site_lithology"]=MagRec["sample_lithology"]
# SiteRec["site_type"]=MagRec["sample_type"]
if site_description != "": # overwrite only if site_description has something
SiteRec["site_description"] = site_description
SiteOuts.append(SiteRec)
if sample not in samplelist:
samplelist.append(sample)
if MagRec['sample_azimuth'] != "": # assume magnetic compass only
MagRec['magic_method_codes'] = MagRec['magic_method_codes'] + ':SO-MAG'
MagRec['magic_method_codes'] = MagRec['magic_method_codes'].strip(
":")
SampOuts.append(MagRec)
if MagRec['sample_azimuth'] != "" and dec_correction_con != 3:
az = labaz + dec_correction
if az > 360.:
az = az - 360.
CMDRec = {}
for key in list(MagRec.keys()):
CMDRec[key] = MagRec[key] # make a copy of MagRec
CMDRec["sample_azimuth"] = '%7.1f' % (az)
CMDRec["magic_method_codes"] = methcodes + ':SO-CMD-NORTH'
CMDRec["magic_method_codes"] = CMDRec['magic_method_codes'].strip(
':')
CMDRec["sample_declination_correction"] = '%7.1f' % (
dec_correction)
if dec_correction_con == 1:
CMDRec['sample_description'] = sample_description + \
':Declination correction calculated from IGRF'
else:
CMDRec['sample_description'] = sample_description + \
':Declination correction supplied by user'
CMDRec["sample_description"] = CMDRec['sample_description'].strip(
':')
SampOuts.append(CMDRec)
if "mag_az_bs" in list(OrRec.keys()) and OrRec["mag_az_bs"] != "" and OrRec["mag_az_bs"] != " ":
SRec = {}
for key in list(MagRec.keys()):
SRec[key] = MagRec[key] # make a copy of MagRec
labaz = float(OrRec["mag_az_bs"])
az = labaz + dec_correction
if az > 360.:
az = az - 360.
SRec["sample_azimuth"] = '%7.1f' % (az)
SRec["sample_declination_correction"] = '%7.1f' % (
dec_correction)
SRec["magic_method_codes"] = methcodes + \
':SO-SIGHT-BACK:SO-CMD-NORTH'
SampOuts.append(SRec)
#
# check for suncompass data
#
# there are sun compass data
if "shadow_angle" in list(OrRec.keys()) and OrRec["shadow_angle"] != "":
if hours_from_gmt == "":
#hours_from_gmt=raw_input("Enter hours to subtract from time for GMT: [0] ")
hours_from_gmt = 0
SunRec, sundata = {}, {}
shad_az = float(OrRec["shadow_angle"])
if not OrRec["hhmm"]:
print('If using the column shadow_angle for sun compass data, you must also provide the time for each sample. Sample ',
sample, ' has shadow_angle but is missing the "hh:mm" column.')
else: # calculate sun declination
sundata["date"] = '%i:%s:%s:%s' % (
yy, mmddyy[0], mmddyy[1], OrRec["hhmm"])
sundata["delta_u"] = hours_from_gmt
sundata["lon"] = lon # do not truncate!
sundata["lat"] = lat # do not truncate!
sundata["shadow_angle"] = OrRec["shadow_angle"]
# now you can truncate
sundec = '%7.1f' % (pmag.dosundec(sundata))
for key in list(MagRec.keys()):
SunRec[key] = MagRec[key] # make a copy of MagRec
SunRec["sample_azimuth"] = sundec # do not truncate!
SunRec["sample_declination_correction"] = ''
SunRec["magic_method_codes"] = methcodes + ':SO-SUN'
SunRec["magic_method_codes"] = SunRec['magic_method_codes'].strip(
':')
SampOuts.append(SunRec)
#
# check for differential GPS data
#
# there are diff GPS data
if "prism_angle" in list(OrRec.keys()) and OrRec["prism_angle"] != "":
GPSRec = {}
for key in list(MagRec.keys()):
GPSRec[key] = MagRec[key] # make a copy of MagRec
prism_angle = float(OrRec["prism_angle"])
sundata["shadow_angle"] = OrRec["shadow_angle"]
sundec = pmag.dosundec(sundata)
for key in list(MagRec.keys()):
SunRec[key] = MagRec[key] # make a copy of MagRec
SunRec["sample_azimuth"] = '%7.1f' % (sundec)
SunRec["sample_declination_correction"] = ''
SunRec["magic_method_codes"] = methcodes + ':SO-SUN'
SunRec["magic_method_codes"] = SunRec['magic_method_codes'].strip(
':')
SampOuts.append(SunRec)
#
# check for differential GPS data
#
# there are diff GPS data
if "prism_angle" in list(OrRec.keys()) and OrRec["prism_angle"] != "":
GPSRec = {}
for key in list(MagRec.keys()):
GPSRec[key] = MagRec[key] # make a copy of MagRec
prism_angle = float(OrRec["prism_angle"])
laser_angle = float(OrRec["laser_angle"])
if OrRec["GPS_baseline"] != "":
baseline = float(OrRec["GPS_baseline"]) # new baseline
gps_dec = baseline + laser_angle + prism_angle - 90.
while gps_dec > 360.:
gps_dec = gps_dec - 360.
while gps_dec < 0:
gps_dec = gps_dec + 360.
for key in list(MagRec.keys()):
GPSRec[key] = MagRec[key] # make a copy of MagRec
GPSRec["sample_azimuth"] = '%7.1f' % (gps_dec)
GPSRec["sample_declination_correction"] = ''
GPSRec["magic_method_codes"] = methcodes + ':SO-GPS-DIFF'
SampOuts.append(GPSRec)
# there are differential GPS Azimuth data
if "GPS_Az" in list(OrRec.keys()) and OrRec["GPS_Az"] != "":
GPSRec = {}
for key in list(MagRec.keys()):
GPSRec[key] = MagRec[key] # make a copy of MagRec
GPSRec["sample_azimuth"] = '%7.1f' % (float(OrRec["GPS_Az"]))
GPSRec["sample_declination_correction"] = ''
GPSRec["magic_method_codes"] = methcodes + ':SO-GPS-DIFF'
SampOuts.append(GPSRec)
if average_bedding != "0" and fpars:
fpars = pmag.fisher_mean(BPs)
print('over-writing all bedding with average ')
Samps = []
for rec in SampOuts:
if average_bedding != "0" and fpars:
rec['sample_bed_dip_direction'] = '%7.1f' % (fpars['dec'])
rec['sample_bed_dip'] = '%7.1f' % (fpars['inc'] + 90.)
Samps.append(rec)
else:
Samps.append(rec)
for rec in SampRecs:
if rec['er_sample_name'] not in samplelist: # overwrite prior for this sample
Samps.append(rec)
for rec in SiteRecs:
if rec['er_site_name'] not in sitelist: # overwrite prior for this sample
SiteOuts.append(rec)
for rec in ImageRecs:
if rec['er_image_name'] not in imagelist: # overwrite prior for this sample
ImageOuts.append(rec)
print('saving data...')
SampsOut, keys = pmag.fillkeys(Samps)
Sites, keys = pmag.fillkeys(SiteOuts)
if data_model == 3:
SampsOut3 = []
Sites3 = []
for samp_rec in SampsOut:
new_rec = map_magic.mapping(
samp_rec, map_magic.samp_magic2_2_magic3_map)
SampsOut3.append(new_rec)
for site_rec in Sites:
new_rec = map_magic.mapping(
site_rec, map_magic.site_magic2_2_magic3_map)
Sites3.append(new_rec)
wrote_samps = pmag.magic_write(samp_file, SampsOut3, "samples")
wrote_sites = pmag.magic_write(site_file, Sites3, "sites")
else:
wrote_samps = pmag.magic_write(samp_file, SampsOut, "er_samples")
wrote_sites = pmag.magic_write(site_file, Sites, "er_sites")
if wrote_samps:
print("Data saved in ", samp_file, ' and ', site_file)
else:
print("No data found")
if len(ImageOuts) > 0:
# need to do conversion here 3.0. --> 2.5
Images, keys = pmag.fillkeys(ImageOuts)
image_type = "er_images"
if data_model == 3:
# convert 2.5 --> 3.0.
image_type = "images"
Images2 = Images
Images = []
for image_rec in Images2:
Images.append(map_magic.mapping(
image_rec, map_magic.image_magic2_2_magic3_map))
pmag.magic_write(image_file, Images, image_type)
print("Image info saved in ", image_file)
return True, None
|
[
"def",
"orientation_magic",
"(",
"or_con",
"=",
"1",
",",
"dec_correction_con",
"=",
"1",
",",
"dec_correction",
"=",
"0",
",",
"bed_correction",
"=",
"True",
",",
"samp_con",
"=",
"'1'",
",",
"hours_from_gmt",
"=",
"0",
",",
"method_codes",
"=",
"''",
",",
"average_bedding",
"=",
"False",
",",
"orient_file",
"=",
"'orient.txt'",
",",
"samp_file",
"=",
"'samples.txt'",
",",
"site_file",
"=",
"'sites.txt'",
",",
"output_dir_path",
"=",
"'.'",
",",
"input_dir_path",
"=",
"''",
",",
"append",
"=",
"False",
",",
"data_model",
"=",
"3",
")",
":",
"# initialize some variables",
"# bed_correction used to be BedCorr",
"# dec_correction_con used to be corr",
"# dec_correction used to be DecCorr",
"# meths is now method_codes",
"# delta_u is now hours_from_gmt",
"input_dir_path",
",",
"output_dir_path",
"=",
"pmag",
".",
"fix_directories",
"(",
"input_dir_path",
",",
"output_dir_path",
")",
"or_con",
",",
"dec_correction_con",
",",
"dec_correction",
"=",
"int",
"(",
"or_con",
")",
",",
"int",
"(",
"dec_correction_con",
")",
",",
"float",
"(",
"dec_correction",
")",
"hours_from_gmt",
"=",
"float",
"(",
"hours_from_gmt",
")",
"stratpos",
"=",
"\"\"",
"# date of sampling, latitude (pos North), longitude (pos East)",
"date",
",",
"lat",
",",
"lon",
"=",
"\"\"",
",",
"\"\"",
",",
"\"\"",
"bed_dip",
",",
"bed_dip_dir",
"=",
"\"\"",
",",
"\"\"",
"Lats",
",",
"Lons",
"=",
"[",
"]",
",",
"[",
"]",
"# list of latitudes and longitudes",
"# lists of Sample records and Site records",
"SampOuts",
",",
"SiteOuts",
",",
"ImageOuts",
"=",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
"samplelist",
",",
"sitelist",
",",
"imagelist",
"=",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
"Z",
"=",
"1",
"newbaseline",
",",
"newbeddir",
",",
"newbeddip",
"=",
"\"\"",
",",
"\"\"",
",",
"\"\"",
"fpars",
"=",
"[",
"]",
"sclass",
",",
"lithology",
",",
"sample_type",
"=",
"\"\"",
",",
"\"\"",
",",
"\"\"",
"newclass",
",",
"newlith",
",",
"newtype",
"=",
"''",
",",
"''",
",",
"''",
"BPs",
"=",
"[",
"]",
"# bedding pole declinations, bedding pole inclinations",
"image_file",
"=",
"\"er_images.txt\"",
"#",
"# use 3.0. default filenames when in 3.0.",
"# but, still allow for custom names",
"data_model",
"=",
"int",
"(",
"data_model",
")",
"if",
"data_model",
"==",
"3",
":",
"if",
"samp_file",
"==",
"\"er_samples.txt\"",
":",
"samp_file",
"=",
"\"samples.txt\"",
"if",
"site_file",
"==",
"\"er_sites.txt\"",
":",
"site_file",
"=",
"\"sites.txt\"",
"image_file",
"=",
"\"images.txt\"",
"orient_file",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"orient_file",
",",
"input_dir_path",
")",
"if",
"not",
"os",
".",
"path",
".",
"exists",
"(",
"orient_file",
")",
":",
"return",
"False",
",",
"\"No such file: {}. If the orientation file is not in your current working directory, make sure you have specified the correct input directory.\"",
".",
"format",
"(",
"orient_file",
")",
"samp_file",
"=",
"os",
".",
"path",
".",
"join",
"(",
"output_dir_path",
",",
"samp_file",
")",
"site_file",
"=",
"os",
".",
"path",
".",
"join",
"(",
"output_dir_path",
",",
"site_file",
")",
"image_file",
"=",
"os",
".",
"path",
".",
"join",
"(",
"output_dir_path",
",",
"image_file",
")",
"# validate input",
"if",
"'4'",
"in",
"samp_con",
"[",
"0",
"]",
":",
"pattern",
"=",
"re",
".",
"compile",
"(",
"'[4][-]\\d'",
")",
"result",
"=",
"pattern",
".",
"match",
"(",
"samp_con",
")",
"if",
"not",
"result",
":",
"raise",
"Exception",
"(",
"\"If using sample naming convention 4, you must provide the number of characters with which to distinguish sample from site. [4-Z] XXXX[YYY]: YYY is sample designation with Z characters from site XXX)\"",
")",
"if",
"'7'",
"in",
"samp_con",
"[",
"0",
"]",
":",
"pattern",
"=",
"re",
".",
"compile",
"(",
"'[7][-]\\d'",
")",
"result",
"=",
"pattern",
".",
"match",
"(",
"samp_con",
")",
"if",
"not",
"result",
":",
"raise",
"Exception",
"(",
"\"If using sample naming convention 7, you must provide the number of characters with which to distinguish sample from site. [7-Z] [XXX]YYY: XXX is site designation with Z characters from samples XXXYYY\"",
")",
"if",
"dec_correction_con",
"==",
"2",
"and",
"not",
"dec_correction",
":",
"raise",
"Exception",
"(",
"\"If using magnetic declination convention 2, you must also provide a declincation correction in degrees\"",
")",
"SampRecs",
",",
"SiteRecs",
",",
"ImageRecs",
"=",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
"SampRecs_sorted",
",",
"SiteRecs_sorted",
"=",
"{",
"}",
",",
"{",
"}",
"if",
"append",
":",
"try",
":",
"SampRecs",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"samp_file",
")",
"# convert 3.0. sample file to 2.5 format",
"if",
"data_model",
"==",
"3",
":",
"SampRecs3",
"=",
"SampRecs",
"SampRecs",
"=",
"[",
"]",
"for",
"samp_rec",
"in",
"SampRecs3",
":",
"rec",
"=",
"map_magic",
".",
"mapping",
"(",
"samp_rec",
",",
"map_magic",
".",
"samp_magic3_2_magic2_map",
")",
"SampRecs",
".",
"append",
"(",
"rec",
")",
"# magic_data dictionary sorted by sample_name",
"SampRecs_sorted",
"=",
"pmag",
".",
"sort_magic_data",
"(",
"SampRecs",
",",
"'er_sample_name'",
")",
"print",
"(",
"'sample data to be appended to: '",
",",
"samp_file",
")",
"except",
"Exception",
"as",
"ex",
":",
"print",
"(",
"ex",
")",
"print",
"(",
"'problem with existing file: '",
",",
"samp_file",
",",
"' will create new.'",
")",
"try",
":",
"SiteRecs",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"site_file",
")",
"# convert 3.0. site file to 2.5 format",
"if",
"data_model",
"==",
"3",
":",
"SiteRecs3",
"=",
"SiteRecs",
"SiteRecs",
"=",
"[",
"]",
"for",
"site_rec",
"in",
"SiteRecs3",
":",
"SiteRecs",
".",
"append",
"(",
"map_magic",
".",
"mapping",
"(",
"site_rec",
",",
"map_magic",
".",
"site_magic3_2_magic2_map",
")",
")",
"# magic_data dictionary sorted by site_name",
"SiteRecs_sorted",
"=",
"pmag",
".",
"sort_magic_data",
"(",
"SiteRecs",
",",
"'er_site_name'",
")",
"print",
"(",
"'site data to be appended to: '",
",",
"site_file",
")",
"except",
"Exception",
"as",
"ex",
":",
"print",
"(",
"ex",
")",
"print",
"(",
"'problem with existing file: '",
",",
"site_file",
",",
"' will create new.'",
")",
"try",
":",
"ImageRecs",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"image_file",
")",
"# convert from 3.0. --> 2.5",
"if",
"data_model",
"==",
"3",
":",
"ImageRecs3",
"=",
"ImageRecs",
"ImageRecs",
"=",
"[",
"]",
"for",
"image_rec",
"in",
"ImageRecs3",
":",
"ImageRecs",
".",
"append",
"(",
"map_magic",
".",
"mapping",
"(",
"image_rec",
",",
"map_magic",
".",
"image_magic3_2_magic2_map",
")",
")",
"print",
"(",
"'image data to be appended to: '",
",",
"image_file",
")",
"except",
":",
"print",
"(",
"'problem with existing file: '",
",",
"image_file",
",",
"' will create new.'",
")",
"#",
"# read in file to convert",
"#",
"OrData",
",",
"location_name",
"=",
"pmag",
".",
"magic_read",
"(",
"orient_file",
")",
"if",
"location_name",
"==",
"\"demag_orient\"",
":",
"location_name",
"=",
"\"\"",
"#",
"# step through the data sample by sample",
"#",
"# use map_magic in here...",
"for",
"OrRec",
"in",
"OrData",
":",
"if",
"'mag_azimuth'",
"not",
"in",
"list",
"(",
"OrRec",
".",
"keys",
"(",
")",
")",
":",
"OrRec",
"[",
"'mag_azimuth'",
"]",
"=",
"\"\"",
"if",
"'field_dip'",
"not",
"in",
"list",
"(",
"OrRec",
".",
"keys",
"(",
")",
")",
":",
"OrRec",
"[",
"'field_dip'",
"]",
"=",
"\"\"",
"if",
"OrRec",
"[",
"'mag_azimuth'",
"]",
"==",
"\" \"",
":",
"OrRec",
"[",
"\"mag_azimuth\"",
"]",
"=",
"\"\"",
"if",
"OrRec",
"[",
"'field_dip'",
"]",
"==",
"\" \"",
":",
"OrRec",
"[",
"\"field_dip\"",
"]",
"=",
"\"\"",
"if",
"'sample_description'",
"in",
"list",
"(",
"OrRec",
".",
"keys",
"(",
")",
")",
":",
"sample_description",
"=",
"OrRec",
"[",
"'sample_description'",
"]",
"else",
":",
"sample_description",
"=",
"\"\"",
"if",
"'cooling_rate_corr'",
"in",
"list",
"(",
"OrRec",
".",
"keys",
"(",
")",
")",
":",
"if",
"'cooling_rate_mcd'",
"not",
"in",
"list",
"(",
"OrRec",
".",
"keys",
"(",
")",
")",
":",
"OrRec",
"[",
"'cooling_rate_mcd'",
"]",
"=",
"'DA-CR'",
"sample_orientation_flag",
"=",
"'g'",
"if",
"'sample_orientation_flag'",
"in",
"list",
"(",
"OrRec",
".",
"keys",
"(",
")",
")",
":",
"if",
"OrRec",
"[",
"'sample_orientation_flag'",
"]",
"==",
"'b'",
"or",
"OrRec",
"[",
"\"mag_azimuth\"",
"]",
"==",
"\"\"",
":",
"sample_orientation_flag",
"=",
"'b'",
"methcodes",
"=",
"method_codes",
"# initialize method codes",
"if",
"methcodes",
":",
"if",
"'method_codes'",
"in",
"list",
"(",
"OrRec",
".",
"keys",
"(",
")",
")",
"and",
"OrRec",
"[",
"'method_codes'",
"]",
".",
"strip",
"(",
")",
"!=",
"\"\"",
":",
"methcodes",
"=",
"methcodes",
"+",
"\":\"",
"+",
"OrRec",
"[",
"'method_codes'",
"]",
"# add notes",
"else",
":",
"if",
"'method_codes'",
"in",
"list",
"(",
"OrRec",
".",
"keys",
"(",
")",
")",
"and",
"OrRec",
"[",
"'method_codes'",
"]",
".",
"strip",
"(",
")",
"!=",
"\"\"",
":",
"methcodes",
"=",
"OrRec",
"[",
"'method_codes'",
"]",
"# add notes",
"codes",
"=",
"methcodes",
".",
"replace",
"(",
"\" \"",
",",
"\"\"",
")",
".",
"split",
"(",
"\":\"",
")",
"sample_name",
"=",
"OrRec",
"[",
"\"sample_name\"",
"]",
"# patch added by rshaar 7/2016",
"# if sample_name already exists in er_samples.txt:",
"# merge the new data colmuns calculated by orientation_magic with the existing data colmuns",
"# this is done to make sure no previous data in er_samples.txt and",
"# er_sites.txt is lost.",
"if",
"sample_name",
"in",
"list",
"(",
"SampRecs_sorted",
".",
"keys",
"(",
")",
")",
":",
"Prev_MagRec",
"=",
"SampRecs_sorted",
"[",
"sample_name",
"]",
"[",
"-",
"1",
"]",
"MagRec",
"=",
"Prev_MagRec",
"else",
":",
"Prev_MagRec",
"=",
"{",
"}",
"MagRec",
"=",
"{",
"}",
"MagRec",
"[",
"\"er_citation_names\"",
"]",
"=",
"\"This study\"",
"# the following keys were calculated or defined in the code above:",
"for",
"key",
"in",
"[",
"'sample_igsn'",
",",
"'sample_texture'",
",",
"'sample_cooling_rate'",
",",
"'cooling_rate_corr'",
",",
"'cooling_rate_mcd'",
"]",
":",
"val",
"=",
"OrRec",
".",
"get",
"(",
"key",
",",
"''",
")",
"if",
"val",
":",
"MagRec",
"[",
"key",
"]",
"=",
"val",
"elif",
"key",
"in",
"list",
"(",
"Prev_MagRec",
".",
"keys",
"(",
")",
")",
":",
"MagRec",
"[",
"key",
"]",
"=",
"Prev_MagRec",
"[",
"key",
"]",
"else",
":",
"MagRec",
"[",
"key",
"]",
"=",
"\"\"",
"if",
"location_name",
"!=",
"\"\"",
":",
"MagRec",
"[",
"\"er_location_name\"",
"]",
"=",
"location_name",
"elif",
"\"er_location_name\"",
"in",
"list",
"(",
"Prev_MagRec",
".",
"keys",
"(",
")",
")",
":",
"MagRec",
"[",
"\"er_location_name\"",
"]",
"=",
"Prev_MagRec",
"[",
"\"er_location_name\"",
"]",
"else",
":",
"MagRec",
"[",
"\"er_location_name\"",
"]",
"=",
"\"\"",
"# the following keys are taken directly from OrRec dictionary:",
"for",
"key",
"in",
"[",
"\"sample_height\"",
",",
"\"er_sample_alternatives\"",
",",
"\"sample_orientation_flag\"",
"]",
":",
"if",
"key",
"in",
"list",
"(",
"OrRec",
".",
"keys",
"(",
")",
")",
"and",
"OrRec",
"[",
"key",
"]",
"!=",
"\"\"",
":",
"MagRec",
"[",
"key",
"]",
"=",
"OrRec",
"[",
"key",
"]",
"elif",
"key",
"in",
"list",
"(",
"Prev_MagRec",
".",
"keys",
"(",
")",
")",
":",
"MagRec",
"[",
"key",
"]",
"=",
"Prev_MagRec",
"[",
"key",
"]",
"else",
":",
"MagRec",
"[",
"key",
"]",
"=",
"\"\"",
"# the following keys, if blank, used to be defined here as \"Not Specified\" :",
"for",
"key",
"in",
"[",
"\"sample_class\"",
",",
"\"sample_lithology\"",
",",
"\"sample_type\"",
"]",
":",
"if",
"key",
"in",
"list",
"(",
"OrRec",
".",
"keys",
"(",
")",
")",
"and",
"OrRec",
"[",
"key",
"]",
"!=",
"\"\"",
"and",
"OrRec",
"[",
"key",
"]",
"!=",
"\"Not Specified\"",
":",
"MagRec",
"[",
"key",
"]",
"=",
"OrRec",
"[",
"key",
"]",
"elif",
"key",
"in",
"list",
"(",
"Prev_MagRec",
".",
"keys",
"(",
")",
")",
"and",
"Prev_MagRec",
"[",
"key",
"]",
"!=",
"\"\"",
"and",
"Prev_MagRec",
"[",
"key",
"]",
"!=",
"\"Not Specified\"",
":",
"MagRec",
"[",
"key",
"]",
"=",
"Prev_MagRec",
"[",
"key",
"]",
"else",
":",
"MagRec",
"[",
"key",
"]",
"=",
"\"\"",
"# \"Not Specified\"",
"# (rshaar) From here parse new information and replace previous, if exists:",
"#",
"# parse information common to all orientation methods",
"#",
"MagRec",
"[",
"\"er_sample_name\"",
"]",
"=",
"OrRec",
"[",
"\"sample_name\"",
"]",
"if",
"\"IGSN\"",
"in",
"list",
"(",
"OrRec",
".",
"keys",
"(",
")",
")",
":",
"MagRec",
"[",
"\"sample_igsn\"",
"]",
"=",
"OrRec",
"[",
"\"IGSN\"",
"]",
"else",
":",
"MagRec",
"[",
"\"sample_igsn\"",
"]",
"=",
"\"\"",
"# MagRec[\"sample_height\"],MagRec[\"sample_bed_dip_direction\"],MagRec[\"sample_bed_dip\"]=\"\",\"\",\"\"",
"MagRec",
"[",
"\"sample_bed_dip_direction\"",
"]",
",",
"MagRec",
"[",
"\"sample_bed_dip\"",
"]",
"=",
"\"\"",
",",
"\"\"",
"# if \"er_sample_alternatives\" in OrRec.keys():",
"# MagRec[\"er_sample_alternatives\"]=OrRec[\"sample_alternatives\"]",
"sample",
"=",
"OrRec",
"[",
"\"sample_name\"",
"]",
"if",
"OrRec",
"[",
"'mag_azimuth'",
"]",
"==",
"\"\"",
"and",
"OrRec",
"[",
"'field_dip'",
"]",
"!=",
"\"\"",
":",
"OrRec",
"[",
"'mag_azimuth'",
"]",
"=",
"'999'",
"if",
"OrRec",
"[",
"\"mag_azimuth\"",
"]",
"!=",
"\"\"",
":",
"labaz",
",",
"labdip",
"=",
"pmag",
".",
"orient",
"(",
"float",
"(",
"OrRec",
"[",
"\"mag_azimuth\"",
"]",
")",
",",
"float",
"(",
"OrRec",
"[",
"\"field_dip\"",
"]",
")",
",",
"or_con",
")",
"if",
"labaz",
"<",
"0",
":",
"labaz",
"+=",
"360.",
"else",
":",
"labaz",
",",
"labdip",
"=",
"\"\"",
",",
"\"\"",
"if",
"OrRec",
"[",
"'mag_azimuth'",
"]",
"==",
"'999'",
":",
"labaz",
"=",
"\"\"",
"if",
"\"GPS_baseline\"",
"in",
"list",
"(",
"OrRec",
".",
"keys",
"(",
")",
")",
"and",
"OrRec",
"[",
"'GPS_baseline'",
"]",
"!=",
"\"\"",
":",
"newbaseline",
"=",
"OrRec",
"[",
"\"GPS_baseline\"",
"]",
"if",
"newbaseline",
"!=",
"\"\"",
":",
"baseline",
"=",
"float",
"(",
"newbaseline",
")",
"MagRec",
"[",
"'er_scientist_mail_names'",
"]",
"=",
"OrRec",
".",
"get",
"(",
"'participants'",
",",
"''",
")",
"newlat",
"=",
"OrRec",
"[",
"\"lat\"",
"]",
"if",
"newlat",
"!=",
"\"\"",
":",
"lat",
"=",
"float",
"(",
"newlat",
")",
"if",
"lat",
"==",
"\"\"",
":",
"print",
"(",
"\"No latitude specified for ! \"",
",",
"sample",
",",
"\". Latitude is required for all samples.\"",
")",
"return",
"False",
",",
"\"No latitude specified for ! \"",
"+",
"sample",
"+",
"\". Latitude is required for all samples.\"",
"MagRec",
"[",
"\"sample_lat\"",
"]",
"=",
"'%11.5f'",
"%",
"(",
"lat",
")",
"newlon",
"=",
"OrRec",
"[",
"\"long\"",
"]",
"if",
"newlon",
"!=",
"\"\"",
":",
"lon",
"=",
"float",
"(",
"newlon",
")",
"if",
"lon",
"==",
"\"\"",
":",
"print",
"(",
"\"No longitude specified for ! \"",
",",
"sample",
",",
"\". Longitude is required for all samples.\"",
")",
"return",
"False",
",",
"str",
"(",
"\"No longitude specified for ! \"",
"+",
"sample",
"+",
"\". Longitude is required for all samples.\"",
")",
"MagRec",
"[",
"\"sample_lon\"",
"]",
"=",
"'%11.5f'",
"%",
"(",
"lon",
")",
"if",
"'bedding_dip_direction'",
"in",
"list",
"(",
"OrRec",
".",
"keys",
"(",
")",
")",
":",
"newbeddir",
"=",
"OrRec",
"[",
"\"bedding_dip_direction\"",
"]",
"if",
"newbeddir",
"!=",
"\"\"",
":",
"bed_dip_dir",
"=",
"OrRec",
"[",
"'bedding_dip_direction'",
"]",
"if",
"'bedding_dip'",
"in",
"list",
"(",
"OrRec",
".",
"keys",
"(",
")",
")",
":",
"newbeddip",
"=",
"OrRec",
"[",
"\"bedding_dip\"",
"]",
"if",
"newbeddip",
"!=",
"\"\"",
":",
"bed_dip",
"=",
"OrRec",
"[",
"'bedding_dip'",
"]",
"MagRec",
"[",
"\"sample_bed_dip\"",
"]",
"=",
"bed_dip",
"MagRec",
"[",
"\"sample_bed_dip_direction\"",
"]",
"=",
"bed_dip_dir",
"# MagRec[\"sample_type\"]=sample_type",
"if",
"labdip",
"!=",
"\"\"",
":",
"MagRec",
"[",
"\"sample_dip\"",
"]",
"=",
"'%7.1f'",
"%",
"labdip",
"else",
":",
"MagRec",
"[",
"\"sample_dip\"",
"]",
"=",
"\"\"",
"if",
"\"date\"",
"in",
"list",
"(",
"OrRec",
".",
"keys",
"(",
")",
")",
"and",
"OrRec",
"[",
"\"date\"",
"]",
"!=",
"\"\"",
":",
"newdate",
"=",
"OrRec",
"[",
"\"date\"",
"]",
"if",
"newdate",
"!=",
"\"\"",
":",
"date",
"=",
"newdate",
"mmddyy",
"=",
"date",
".",
"split",
"(",
"'/'",
")",
"yy",
"=",
"int",
"(",
"mmddyy",
"[",
"2",
"]",
")",
"if",
"yy",
">",
"50",
":",
"yy",
"=",
"1900",
"+",
"yy",
"else",
":",
"yy",
"=",
"2000",
"+",
"yy",
"decimal_year",
"=",
"yy",
"+",
"old_div",
"(",
"float",
"(",
"mmddyy",
"[",
"0",
"]",
")",
",",
"12",
")",
"sample_date",
"=",
"'%i:%s:%s'",
"%",
"(",
"yy",
",",
"mmddyy",
"[",
"0",
"]",
",",
"mmddyy",
"[",
"1",
"]",
")",
"time",
"=",
"OrRec",
"[",
"'hhmm'",
"]",
"if",
"time",
":",
"sample_date",
"+=",
"(",
"':'",
"+",
"time",
")",
"MagRec",
"[",
"\"sample_date\"",
"]",
"=",
"sample_date",
".",
"strip",
"(",
"':'",
")",
"if",
"labaz",
"!=",
"\"\"",
":",
"MagRec",
"[",
"\"sample_azimuth\"",
"]",
"=",
"'%7.1f'",
"%",
"(",
"labaz",
")",
"else",
":",
"MagRec",
"[",
"\"sample_azimuth\"",
"]",
"=",
"\"\"",
"if",
"\"stratigraphic_height\"",
"in",
"list",
"(",
"OrRec",
".",
"keys",
"(",
")",
")",
":",
"if",
"OrRec",
"[",
"\"stratigraphic_height\"",
"]",
"!=",
"\"\"",
":",
"MagRec",
"[",
"\"sample_height\"",
"]",
"=",
"OrRec",
"[",
"\"stratigraphic_height\"",
"]",
"stratpos",
"=",
"OrRec",
"[",
"\"stratigraphic_height\"",
"]",
"elif",
"OrRec",
"[",
"\"stratigraphic_height\"",
"]",
"==",
"'-1'",
":",
"MagRec",
"[",
"\"sample_height\"",
"]",
"=",
"\"\"",
"# make empty",
"elif",
"stratpos",
"!=",
"\"\"",
":",
"# keep last record if blank",
"MagRec",
"[",
"\"sample_height\"",
"]",
"=",
"stratpos",
"#",
"# get magnetic declination (corrected with igrf value)",
"if",
"dec_correction_con",
"==",
"1",
"and",
"MagRec",
"[",
"'sample_azimuth'",
"]",
"!=",
"\"\"",
":",
"x",
",",
"y",
",",
"z",
",",
"f",
"=",
"pmag",
".",
"doigrf",
"(",
"lon",
",",
"lat",
",",
"0",
",",
"decimal_year",
")",
"Dir",
"=",
"pmag",
".",
"cart2dir",
"(",
"(",
"x",
",",
"y",
",",
"z",
")",
")",
"dec_correction",
"=",
"Dir",
"[",
"0",
"]",
"if",
"\"bedding_dip\"",
"in",
"list",
"(",
"OrRec",
".",
"keys",
"(",
")",
")",
":",
"if",
"OrRec",
"[",
"\"bedding_dip\"",
"]",
"!=",
"\"\"",
":",
"MagRec",
"[",
"\"sample_bed_dip\"",
"]",
"=",
"OrRec",
"[",
"\"bedding_dip\"",
"]",
"bed_dip",
"=",
"OrRec",
"[",
"\"bedding_dip\"",
"]",
"else",
":",
"MagRec",
"[",
"\"sample_bed_dip\"",
"]",
"=",
"bed_dip",
"else",
":",
"MagRec",
"[",
"\"sample_bed_dip\"",
"]",
"=",
"'0'",
"if",
"\"bedding_dip_direction\"",
"in",
"list",
"(",
"OrRec",
".",
"keys",
"(",
")",
")",
":",
"if",
"OrRec",
"[",
"\"bedding_dip_direction\"",
"]",
"!=",
"\"\"",
"and",
"bed_correction",
"==",
"1",
":",
"dd",
"=",
"float",
"(",
"OrRec",
"[",
"\"bedding_dip_direction\"",
"]",
")",
"+",
"dec_correction",
"if",
"dd",
">",
"360.",
":",
"dd",
"=",
"dd",
"-",
"360.",
"MagRec",
"[",
"\"sample_bed_dip_direction\"",
"]",
"=",
"'%7.1f'",
"%",
"(",
"dd",
")",
"dip_dir",
"=",
"MagRec",
"[",
"\"sample_bed_dip_direction\"",
"]",
"else",
":",
"MagRec",
"[",
"\"sample_bed_dip_direction\"",
"]",
"=",
"OrRec",
"[",
"'bedding_dip_direction'",
"]",
"else",
":",
"MagRec",
"[",
"\"sample_bed_dip_direction\"",
"]",
"=",
"'0'",
"if",
"average_bedding",
":",
"if",
"str",
"(",
"MagRec",
"[",
"\"sample_bed_dip_direction\"",
"]",
")",
"and",
"str",
"(",
"MagRec",
"[",
"\"sample_bed_dip\"",
"]",
")",
":",
"BPs",
".",
"append",
"(",
"[",
"float",
"(",
"MagRec",
"[",
"\"sample_bed_dip_direction\"",
"]",
")",
",",
"float",
"(",
"MagRec",
"[",
"\"sample_bed_dip\"",
"]",
")",
"-",
"90.",
",",
"1.",
"]",
")",
"if",
"MagRec",
"[",
"'sample_azimuth'",
"]",
"==",
"\"\"",
"and",
"MagRec",
"[",
"'sample_dip'",
"]",
"==",
"\"\"",
":",
"MagRec",
"[",
"\"sample_declination_correction\"",
"]",
"=",
"''",
"methcodes",
"=",
"methcodes",
"+",
"':SO-NO'",
"MagRec",
"[",
"\"magic_method_codes\"",
"]",
"=",
"methcodes",
"MagRec",
"[",
"'sample_description'",
"]",
"=",
"sample_description",
"#",
"# work on the site stuff too",
"if",
"'site_name'",
"in",
"list",
"(",
"OrRec",
".",
"keys",
"(",
")",
")",
"and",
"OrRec",
"[",
"'site_name'",
"]",
"!=",
"\"\"",
":",
"site",
"=",
"OrRec",
"[",
"'site_name'",
"]",
"elif",
"'site_name'",
"in",
"list",
"(",
"Prev_MagRec",
".",
"keys",
"(",
")",
")",
"and",
"Prev_MagRec",
"[",
"'site_name'",
"]",
"!=",
"\"\"",
":",
"site",
"=",
"Prev_MagRec",
"[",
"'site_name'",
"]",
"else",
":",
"# parse out the site name",
"site",
"=",
"pmag",
".",
"parse_site",
"(",
"OrRec",
"[",
"\"sample_name\"",
"]",
",",
"samp_con",
",",
"Z",
")",
"MagRec",
"[",
"\"er_site_name\"",
"]",
"=",
"site",
"site_description",
"=",
"\"\"",
"# overwrite any prior description",
"if",
"'site_description'",
"in",
"list",
"(",
"OrRec",
".",
"keys",
"(",
")",
")",
"and",
"OrRec",
"[",
"'site_description'",
"]",
"!=",
"\"\"",
":",
"site_description",
"=",
"OrRec",
"[",
"'site_description'",
"]",
".",
"replace",
"(",
"\",\"",
",",
"\";\"",
")",
"if",
"\"image_name\"",
"in",
"list",
"(",
"OrRec",
".",
"keys",
"(",
")",
")",
":",
"images",
"=",
"OrRec",
"[",
"\"image_name\"",
"]",
".",
"split",
"(",
"\":\"",
")",
"if",
"\"image_look\"",
"in",
"list",
"(",
"OrRec",
".",
"keys",
"(",
")",
")",
":",
"looks",
"=",
"OrRec",
"[",
"'image_look'",
"]",
".",
"split",
"(",
"\":\"",
")",
"else",
":",
"looks",
"=",
"[",
"]",
"if",
"\"image_photographer\"",
"in",
"list",
"(",
"OrRec",
".",
"keys",
"(",
")",
")",
":",
"photographers",
"=",
"OrRec",
"[",
"'image_photographer'",
"]",
".",
"split",
"(",
"\":\"",
")",
"else",
":",
"photographers",
"=",
"[",
"]",
"for",
"image",
"in",
"images",
":",
"if",
"image",
"!=",
"\"\"",
"and",
"image",
"not",
"in",
"imagelist",
":",
"imagelist",
".",
"append",
"(",
"image",
")",
"ImageRec",
"=",
"{",
"}",
"ImageRec",
"[",
"'er_image_name'",
"]",
"=",
"image",
"ImageRec",
"[",
"'image_type'",
"]",
"=",
"\"outcrop\"",
"ImageRec",
"[",
"'image_date'",
"]",
"=",
"sample_date",
"ImageRec",
"[",
"'er_citation_names'",
"]",
"=",
"\"This study\"",
"ImageRec",
"[",
"'er_location_name'",
"]",
"=",
"location_name",
"ImageRec",
"[",
"'er_site_name'",
"]",
"=",
"MagRec",
"[",
"'er_site_name'",
"]",
"k",
"=",
"images",
".",
"index",
"(",
"image",
")",
"if",
"len",
"(",
"looks",
")",
">",
"k",
":",
"ImageRec",
"[",
"'er_image_description'",
"]",
"=",
"\"Look direction: \"",
"+",
"looks",
"[",
"k",
"]",
"elif",
"len",
"(",
"looks",
")",
">=",
"1",
":",
"ImageRec",
"[",
"'er_image_description'",
"]",
"=",
"\"Look direction: \"",
"+",
"looks",
"[",
"-",
"1",
"]",
"else",
":",
"ImageRec",
"[",
"'er_image_description'",
"]",
"=",
"\"Look direction: unknown\"",
"if",
"len",
"(",
"photographers",
")",
">",
"k",
":",
"ImageRec",
"[",
"'er_photographer_mail_names'",
"]",
"=",
"photographers",
"[",
"k",
"]",
"elif",
"len",
"(",
"photographers",
")",
">=",
"1",
":",
"ImageRec",
"[",
"'er_photographer_mail_names'",
"]",
"=",
"photographers",
"[",
"-",
"1",
"]",
"else",
":",
"ImageRec",
"[",
"'er_photographer_mail_names'",
"]",
"=",
"\"unknown\"",
"ImageOuts",
".",
"append",
"(",
"ImageRec",
")",
"if",
"site",
"not",
"in",
"sitelist",
":",
"sitelist",
".",
"append",
"(",
"site",
")",
"# collect unique site names",
"# patch added by rshaar 7/2016",
"# if sample_name already exists in er_samples.txt:",
"# merge the new data colmuns calculated by orientation_magic with the existing data colmuns",
"# this is done to make sure no previous data in er_samples.txt and",
"# er_sites.txt is lost.",
"if",
"site",
"in",
"list",
"(",
"SiteRecs_sorted",
".",
"keys",
"(",
")",
")",
":",
"Prev_MagRec",
"=",
"SiteRecs_sorted",
"[",
"site",
"]",
"[",
"-",
"1",
"]",
"SiteRec",
"=",
"Prev_MagRec",
"else",
":",
"Prev_MagRec",
"=",
"{",
"}",
"SiteRec",
"=",
"{",
"}",
"SiteRec",
"[",
"\"er_citation_names\"",
"]",
"=",
"\"This study\"",
"SiteRec",
"[",
"\"er_site_name\"",
"]",
"=",
"site",
"SiteRec",
"[",
"\"site_definition\"",
"]",
"=",
"\"s\"",
"if",
"\"er_location_name\"",
"in",
"SiteRec",
"and",
"SiteRec",
".",
"get",
"(",
"\"er_location_name\"",
")",
":",
"pass",
"elif",
"key",
"in",
"list",
"(",
"Prev_MagRec",
".",
"keys",
"(",
")",
")",
"and",
"Prev_MagRec",
"[",
"key",
"]",
"!=",
"\"\"",
":",
"SiteRec",
"[",
"key",
"]",
"=",
"Prev_MagRec",
"[",
"key",
"]",
"else",
":",
"print",
"(",
"'setting location name to \"\"'",
")",
"SiteRec",
"[",
"key",
"]",
"=",
"\"\"",
"for",
"key",
"in",
"[",
"\"lat\"",
",",
"\"lon\"",
",",
"\"height\"",
"]",
":",
"if",
"\"site_\"",
"+",
"key",
"in",
"list",
"(",
"Prev_MagRec",
".",
"keys",
"(",
")",
")",
"and",
"Prev_MagRec",
"[",
"\"site_\"",
"+",
"key",
"]",
"!=",
"\"\"",
":",
"SiteRec",
"[",
"\"site_\"",
"+",
"key",
"]",
"=",
"Prev_MagRec",
"[",
"\"site_\"",
"+",
"key",
"]",
"else",
":",
"SiteRec",
"[",
"\"site_\"",
"+",
"key",
"]",
"=",
"MagRec",
"[",
"\"sample_\"",
"+",
"key",
"]",
"# SiteRec[\"site_lat\"]=MagRec[\"sample_lat\"]",
"# SiteRec[\"site_lon\"]=MagRec[\"sample_lon\"]",
"# SiteRec[\"site_height\"]=MagRec[\"sample_height\"]",
"for",
"key",
"in",
"[",
"\"class\"",
",",
"\"lithology\"",
",",
"\"type\"",
"]",
":",
"if",
"\"site_\"",
"+",
"key",
"in",
"list",
"(",
"Prev_MagRec",
".",
"keys",
"(",
")",
")",
"and",
"Prev_MagRec",
"[",
"\"site_\"",
"+",
"key",
"]",
"!=",
"\"Not Specified\"",
":",
"SiteRec",
"[",
"\"site_\"",
"+",
"key",
"]",
"=",
"Prev_MagRec",
"[",
"\"site_\"",
"+",
"key",
"]",
"else",
":",
"SiteRec",
"[",
"\"site_\"",
"+",
"key",
"]",
"=",
"MagRec",
"[",
"\"sample_\"",
"+",
"key",
"]",
"# SiteRec[\"site_class\"]=MagRec[\"sample_class\"]",
"# SiteRec[\"site_lithology\"]=MagRec[\"sample_lithology\"]",
"# SiteRec[\"site_type\"]=MagRec[\"sample_type\"]",
"if",
"site_description",
"!=",
"\"\"",
":",
"# overwrite only if site_description has something",
"SiteRec",
"[",
"\"site_description\"",
"]",
"=",
"site_description",
"SiteOuts",
".",
"append",
"(",
"SiteRec",
")",
"if",
"sample",
"not",
"in",
"samplelist",
":",
"samplelist",
".",
"append",
"(",
"sample",
")",
"if",
"MagRec",
"[",
"'sample_azimuth'",
"]",
"!=",
"\"\"",
":",
"# assume magnetic compass only",
"MagRec",
"[",
"'magic_method_codes'",
"]",
"=",
"MagRec",
"[",
"'magic_method_codes'",
"]",
"+",
"':SO-MAG'",
"MagRec",
"[",
"'magic_method_codes'",
"]",
"=",
"MagRec",
"[",
"'magic_method_codes'",
"]",
".",
"strip",
"(",
"\":\"",
")",
"SampOuts",
".",
"append",
"(",
"MagRec",
")",
"if",
"MagRec",
"[",
"'sample_azimuth'",
"]",
"!=",
"\"\"",
"and",
"dec_correction_con",
"!=",
"3",
":",
"az",
"=",
"labaz",
"+",
"dec_correction",
"if",
"az",
">",
"360.",
":",
"az",
"=",
"az",
"-",
"360.",
"CMDRec",
"=",
"{",
"}",
"for",
"key",
"in",
"list",
"(",
"MagRec",
".",
"keys",
"(",
")",
")",
":",
"CMDRec",
"[",
"key",
"]",
"=",
"MagRec",
"[",
"key",
"]",
"# make a copy of MagRec",
"CMDRec",
"[",
"\"sample_azimuth\"",
"]",
"=",
"'%7.1f'",
"%",
"(",
"az",
")",
"CMDRec",
"[",
"\"magic_method_codes\"",
"]",
"=",
"methcodes",
"+",
"':SO-CMD-NORTH'",
"CMDRec",
"[",
"\"magic_method_codes\"",
"]",
"=",
"CMDRec",
"[",
"'magic_method_codes'",
"]",
".",
"strip",
"(",
"':'",
")",
"CMDRec",
"[",
"\"sample_declination_correction\"",
"]",
"=",
"'%7.1f'",
"%",
"(",
"dec_correction",
")",
"if",
"dec_correction_con",
"==",
"1",
":",
"CMDRec",
"[",
"'sample_description'",
"]",
"=",
"sample_description",
"+",
"':Declination correction calculated from IGRF'",
"else",
":",
"CMDRec",
"[",
"'sample_description'",
"]",
"=",
"sample_description",
"+",
"':Declination correction supplied by user'",
"CMDRec",
"[",
"\"sample_description\"",
"]",
"=",
"CMDRec",
"[",
"'sample_description'",
"]",
".",
"strip",
"(",
"':'",
")",
"SampOuts",
".",
"append",
"(",
"CMDRec",
")",
"if",
"\"mag_az_bs\"",
"in",
"list",
"(",
"OrRec",
".",
"keys",
"(",
")",
")",
"and",
"OrRec",
"[",
"\"mag_az_bs\"",
"]",
"!=",
"\"\"",
"and",
"OrRec",
"[",
"\"mag_az_bs\"",
"]",
"!=",
"\" \"",
":",
"SRec",
"=",
"{",
"}",
"for",
"key",
"in",
"list",
"(",
"MagRec",
".",
"keys",
"(",
")",
")",
":",
"SRec",
"[",
"key",
"]",
"=",
"MagRec",
"[",
"key",
"]",
"# make a copy of MagRec",
"labaz",
"=",
"float",
"(",
"OrRec",
"[",
"\"mag_az_bs\"",
"]",
")",
"az",
"=",
"labaz",
"+",
"dec_correction",
"if",
"az",
">",
"360.",
":",
"az",
"=",
"az",
"-",
"360.",
"SRec",
"[",
"\"sample_azimuth\"",
"]",
"=",
"'%7.1f'",
"%",
"(",
"az",
")",
"SRec",
"[",
"\"sample_declination_correction\"",
"]",
"=",
"'%7.1f'",
"%",
"(",
"dec_correction",
")",
"SRec",
"[",
"\"magic_method_codes\"",
"]",
"=",
"methcodes",
"+",
"':SO-SIGHT-BACK:SO-CMD-NORTH'",
"SampOuts",
".",
"append",
"(",
"SRec",
")",
"#",
"# check for suncompass data",
"#",
"# there are sun compass data",
"if",
"\"shadow_angle\"",
"in",
"list",
"(",
"OrRec",
".",
"keys",
"(",
")",
")",
"and",
"OrRec",
"[",
"\"shadow_angle\"",
"]",
"!=",
"\"\"",
":",
"if",
"hours_from_gmt",
"==",
"\"\"",
":",
"#hours_from_gmt=raw_input(\"Enter hours to subtract from time for GMT: [0] \")",
"hours_from_gmt",
"=",
"0",
"SunRec",
",",
"sundata",
"=",
"{",
"}",
",",
"{",
"}",
"shad_az",
"=",
"float",
"(",
"OrRec",
"[",
"\"shadow_angle\"",
"]",
")",
"if",
"not",
"OrRec",
"[",
"\"hhmm\"",
"]",
":",
"print",
"(",
"'If using the column shadow_angle for sun compass data, you must also provide the time for each sample. Sample '",
",",
"sample",
",",
"' has shadow_angle but is missing the \"hh:mm\" column.'",
")",
"else",
":",
"# calculate sun declination",
"sundata",
"[",
"\"date\"",
"]",
"=",
"'%i:%s:%s:%s'",
"%",
"(",
"yy",
",",
"mmddyy",
"[",
"0",
"]",
",",
"mmddyy",
"[",
"1",
"]",
",",
"OrRec",
"[",
"\"hhmm\"",
"]",
")",
"sundata",
"[",
"\"delta_u\"",
"]",
"=",
"hours_from_gmt",
"sundata",
"[",
"\"lon\"",
"]",
"=",
"lon",
"# do not truncate!",
"sundata",
"[",
"\"lat\"",
"]",
"=",
"lat",
"# do not truncate!",
"sundata",
"[",
"\"shadow_angle\"",
"]",
"=",
"OrRec",
"[",
"\"shadow_angle\"",
"]",
"# now you can truncate",
"sundec",
"=",
"'%7.1f'",
"%",
"(",
"pmag",
".",
"dosundec",
"(",
"sundata",
")",
")",
"for",
"key",
"in",
"list",
"(",
"MagRec",
".",
"keys",
"(",
")",
")",
":",
"SunRec",
"[",
"key",
"]",
"=",
"MagRec",
"[",
"key",
"]",
"# make a copy of MagRec",
"SunRec",
"[",
"\"sample_azimuth\"",
"]",
"=",
"sundec",
"# do not truncate!",
"SunRec",
"[",
"\"sample_declination_correction\"",
"]",
"=",
"''",
"SunRec",
"[",
"\"magic_method_codes\"",
"]",
"=",
"methcodes",
"+",
"':SO-SUN'",
"SunRec",
"[",
"\"magic_method_codes\"",
"]",
"=",
"SunRec",
"[",
"'magic_method_codes'",
"]",
".",
"strip",
"(",
"':'",
")",
"SampOuts",
".",
"append",
"(",
"SunRec",
")",
"#",
"# check for differential GPS data",
"#",
"# there are diff GPS data",
"if",
"\"prism_angle\"",
"in",
"list",
"(",
"OrRec",
".",
"keys",
"(",
")",
")",
"and",
"OrRec",
"[",
"\"prism_angle\"",
"]",
"!=",
"\"\"",
":",
"GPSRec",
"=",
"{",
"}",
"for",
"key",
"in",
"list",
"(",
"MagRec",
".",
"keys",
"(",
")",
")",
":",
"GPSRec",
"[",
"key",
"]",
"=",
"MagRec",
"[",
"key",
"]",
"# make a copy of MagRec",
"prism_angle",
"=",
"float",
"(",
"OrRec",
"[",
"\"prism_angle\"",
"]",
")",
"sundata",
"[",
"\"shadow_angle\"",
"]",
"=",
"OrRec",
"[",
"\"shadow_angle\"",
"]",
"sundec",
"=",
"pmag",
".",
"dosundec",
"(",
"sundata",
")",
"for",
"key",
"in",
"list",
"(",
"MagRec",
".",
"keys",
"(",
")",
")",
":",
"SunRec",
"[",
"key",
"]",
"=",
"MagRec",
"[",
"key",
"]",
"# make a copy of MagRec",
"SunRec",
"[",
"\"sample_azimuth\"",
"]",
"=",
"'%7.1f'",
"%",
"(",
"sundec",
")",
"SunRec",
"[",
"\"sample_declination_correction\"",
"]",
"=",
"''",
"SunRec",
"[",
"\"magic_method_codes\"",
"]",
"=",
"methcodes",
"+",
"':SO-SUN'",
"SunRec",
"[",
"\"magic_method_codes\"",
"]",
"=",
"SunRec",
"[",
"'magic_method_codes'",
"]",
".",
"strip",
"(",
"':'",
")",
"SampOuts",
".",
"append",
"(",
"SunRec",
")",
"#",
"# check for differential GPS data",
"#",
"# there are diff GPS data",
"if",
"\"prism_angle\"",
"in",
"list",
"(",
"OrRec",
".",
"keys",
"(",
")",
")",
"and",
"OrRec",
"[",
"\"prism_angle\"",
"]",
"!=",
"\"\"",
":",
"GPSRec",
"=",
"{",
"}",
"for",
"key",
"in",
"list",
"(",
"MagRec",
".",
"keys",
"(",
")",
")",
":",
"GPSRec",
"[",
"key",
"]",
"=",
"MagRec",
"[",
"key",
"]",
"# make a copy of MagRec",
"prism_angle",
"=",
"float",
"(",
"OrRec",
"[",
"\"prism_angle\"",
"]",
")",
"laser_angle",
"=",
"float",
"(",
"OrRec",
"[",
"\"laser_angle\"",
"]",
")",
"if",
"OrRec",
"[",
"\"GPS_baseline\"",
"]",
"!=",
"\"\"",
":",
"baseline",
"=",
"float",
"(",
"OrRec",
"[",
"\"GPS_baseline\"",
"]",
")",
"# new baseline",
"gps_dec",
"=",
"baseline",
"+",
"laser_angle",
"+",
"prism_angle",
"-",
"90.",
"while",
"gps_dec",
">",
"360.",
":",
"gps_dec",
"=",
"gps_dec",
"-",
"360.",
"while",
"gps_dec",
"<",
"0",
":",
"gps_dec",
"=",
"gps_dec",
"+",
"360.",
"for",
"key",
"in",
"list",
"(",
"MagRec",
".",
"keys",
"(",
")",
")",
":",
"GPSRec",
"[",
"key",
"]",
"=",
"MagRec",
"[",
"key",
"]",
"# make a copy of MagRec",
"GPSRec",
"[",
"\"sample_azimuth\"",
"]",
"=",
"'%7.1f'",
"%",
"(",
"gps_dec",
")",
"GPSRec",
"[",
"\"sample_declination_correction\"",
"]",
"=",
"''",
"GPSRec",
"[",
"\"magic_method_codes\"",
"]",
"=",
"methcodes",
"+",
"':SO-GPS-DIFF'",
"SampOuts",
".",
"append",
"(",
"GPSRec",
")",
"# there are differential GPS Azimuth data",
"if",
"\"GPS_Az\"",
"in",
"list",
"(",
"OrRec",
".",
"keys",
"(",
")",
")",
"and",
"OrRec",
"[",
"\"GPS_Az\"",
"]",
"!=",
"\"\"",
":",
"GPSRec",
"=",
"{",
"}",
"for",
"key",
"in",
"list",
"(",
"MagRec",
".",
"keys",
"(",
")",
")",
":",
"GPSRec",
"[",
"key",
"]",
"=",
"MagRec",
"[",
"key",
"]",
"# make a copy of MagRec",
"GPSRec",
"[",
"\"sample_azimuth\"",
"]",
"=",
"'%7.1f'",
"%",
"(",
"float",
"(",
"OrRec",
"[",
"\"GPS_Az\"",
"]",
")",
")",
"GPSRec",
"[",
"\"sample_declination_correction\"",
"]",
"=",
"''",
"GPSRec",
"[",
"\"magic_method_codes\"",
"]",
"=",
"methcodes",
"+",
"':SO-GPS-DIFF'",
"SampOuts",
".",
"append",
"(",
"GPSRec",
")",
"if",
"average_bedding",
"!=",
"\"0\"",
"and",
"fpars",
":",
"fpars",
"=",
"pmag",
".",
"fisher_mean",
"(",
"BPs",
")",
"print",
"(",
"'over-writing all bedding with average '",
")",
"Samps",
"=",
"[",
"]",
"for",
"rec",
"in",
"SampOuts",
":",
"if",
"average_bedding",
"!=",
"\"0\"",
"and",
"fpars",
":",
"rec",
"[",
"'sample_bed_dip_direction'",
"]",
"=",
"'%7.1f'",
"%",
"(",
"fpars",
"[",
"'dec'",
"]",
")",
"rec",
"[",
"'sample_bed_dip'",
"]",
"=",
"'%7.1f'",
"%",
"(",
"fpars",
"[",
"'inc'",
"]",
"+",
"90.",
")",
"Samps",
".",
"append",
"(",
"rec",
")",
"else",
":",
"Samps",
".",
"append",
"(",
"rec",
")",
"for",
"rec",
"in",
"SampRecs",
":",
"if",
"rec",
"[",
"'er_sample_name'",
"]",
"not",
"in",
"samplelist",
":",
"# overwrite prior for this sample",
"Samps",
".",
"append",
"(",
"rec",
")",
"for",
"rec",
"in",
"SiteRecs",
":",
"if",
"rec",
"[",
"'er_site_name'",
"]",
"not",
"in",
"sitelist",
":",
"# overwrite prior for this sample",
"SiteOuts",
".",
"append",
"(",
"rec",
")",
"for",
"rec",
"in",
"ImageRecs",
":",
"if",
"rec",
"[",
"'er_image_name'",
"]",
"not",
"in",
"imagelist",
":",
"# overwrite prior for this sample",
"ImageOuts",
".",
"append",
"(",
"rec",
")",
"print",
"(",
"'saving data...'",
")",
"SampsOut",
",",
"keys",
"=",
"pmag",
".",
"fillkeys",
"(",
"Samps",
")",
"Sites",
",",
"keys",
"=",
"pmag",
".",
"fillkeys",
"(",
"SiteOuts",
")",
"if",
"data_model",
"==",
"3",
":",
"SampsOut3",
"=",
"[",
"]",
"Sites3",
"=",
"[",
"]",
"for",
"samp_rec",
"in",
"SampsOut",
":",
"new_rec",
"=",
"map_magic",
".",
"mapping",
"(",
"samp_rec",
",",
"map_magic",
".",
"samp_magic2_2_magic3_map",
")",
"SampsOut3",
".",
"append",
"(",
"new_rec",
")",
"for",
"site_rec",
"in",
"Sites",
":",
"new_rec",
"=",
"map_magic",
".",
"mapping",
"(",
"site_rec",
",",
"map_magic",
".",
"site_magic2_2_magic3_map",
")",
"Sites3",
".",
"append",
"(",
"new_rec",
")",
"wrote_samps",
"=",
"pmag",
".",
"magic_write",
"(",
"samp_file",
",",
"SampsOut3",
",",
"\"samples\"",
")",
"wrote_sites",
"=",
"pmag",
".",
"magic_write",
"(",
"site_file",
",",
"Sites3",
",",
"\"sites\"",
")",
"else",
":",
"wrote_samps",
"=",
"pmag",
".",
"magic_write",
"(",
"samp_file",
",",
"SampsOut",
",",
"\"er_samples\"",
")",
"wrote_sites",
"=",
"pmag",
".",
"magic_write",
"(",
"site_file",
",",
"Sites",
",",
"\"er_sites\"",
")",
"if",
"wrote_samps",
":",
"print",
"(",
"\"Data saved in \"",
",",
"samp_file",
",",
"' and '",
",",
"site_file",
")",
"else",
":",
"print",
"(",
"\"No data found\"",
")",
"if",
"len",
"(",
"ImageOuts",
")",
">",
"0",
":",
"# need to do conversion here 3.0. --> 2.5",
"Images",
",",
"keys",
"=",
"pmag",
".",
"fillkeys",
"(",
"ImageOuts",
")",
"image_type",
"=",
"\"er_images\"",
"if",
"data_model",
"==",
"3",
":",
"# convert 2.5 --> 3.0.",
"image_type",
"=",
"\"images\"",
"Images2",
"=",
"Images",
"Images",
"=",
"[",
"]",
"for",
"image_rec",
"in",
"Images2",
":",
"Images",
".",
"append",
"(",
"map_magic",
".",
"mapping",
"(",
"image_rec",
",",
"map_magic",
".",
"image_magic2_2_magic3_map",
")",
")",
"pmag",
".",
"magic_write",
"(",
"image_file",
",",
"Images",
",",
"image_type",
")",
"print",
"(",
"\"Image info saved in \"",
",",
"image_file",
")",
"return",
"True",
",",
"None"
] |
use this function to convert tab delimited field notebook information to MagIC formatted tables (er_samples and er_sites)
INPUT FORMAT
Input files must be tab delimited and have in the first line:
tab location_name
Note: The "location_name" will facilitate searching in the MagIC database. Data from different
"locations" should be put in separate files. The definition of a "location" is rather loose.
Also this is the word 'tab' not a tab, which will be indicated by '\t'.
The second line has the names of the columns (tab delimited), e.g.:
site_name sample_name mag_azimuth field_dip date lat long sample_lithology sample_type sample_class shadow_angle hhmm stratigraphic_height bedding_dip_direction bedding_dip GPS_baseline image_name image_look image_photographer participants method_codes site_description sample_description GPS_Az, sample_igsn, sample_texture, sample_cooling_rate, cooling_rate_corr, cooling_rate_mcd
Notes:
1) column order doesn't matter but the NAMES do.
2) sample_name, sample_lithology, sample_type, sample_class, lat and long are required. all others are optional.
3) If subsequent data are the same (e.g., date, bedding orientation, participants, stratigraphic_height),
you can leave the field blank and the program will fill in the last recorded information. BUT if you really want a blank stratigraphic_height, enter a '-1'. These will not be inherited and must be specified for each entry: image_name, look, photographer or method_codes
4) hhmm must be in the format: hh:mm and the hh must be in 24 hour time.
date must be mm/dd/yy (years < 50 will be converted to 20yy and >50 will be assumed 19yy). hours_from_gmt is the number of hours to SUBTRACT from hh to get to GMT.
5) image_name, image_look and image_photographer are colon delimited lists of file name (e.g., IMG_001.jpg) image look direction and the name of the photographer respectively. If all images had same look and photographer, just enter info once. The images will be assigned to the site for which they were taken - not at the sample level.
6) participants: Names of who helped take the samples. These must be a colon delimited list.
7) method_codes: Special method codes on a sample level, e.g., SO-GT5 which means the orientation is has an uncertainty of >5 degrees
for example if it broke off before orienting....
8) GPS_Az is the place to put directly determined GPS Azimuths, using, e.g., points along the drill direction.
9) sample_cooling_rate is the cooling rate in K per Ma
10) int_corr_cooling_rate
11) cooling_rate_mcd: data adjustment method code for cooling rate correction; DA-CR-EG is educated guess; DA-CR-PS is percent estimated from pilot samples; DA-CR-TRM is comparison between 2 TRMs acquired with slow and rapid cooling rates.
is the percent cooling rate factor to apply to specimens from this sample, DA-CR-XX is the method code
defaults:
orientation_magic(or_con=1, dec_correction_con=1, dec_correction=0, bed_correction=True, samp_con='1', hours_from_gmt=0, method_codes='', average_bedding=False, orient_file='orient.txt', samp_file='er_samples.txt', site_file='er_sites.txt', output_dir_path='.', input_dir_path='', append=False):
orientation conventions:
[1] Standard Pomeroy convention of azimuth and hade (degrees from vertical down)
of the drill direction (field arrow). lab arrow azimuth= sample_azimuth = mag_azimuth;
lab arrow dip = sample_dip =-field_dip. i.e. the lab arrow dip is minus the hade.
[2] Field arrow is the strike of the plane orthogonal to the drill direction,
Field dip is the hade of the drill direction. Lab arrow azimuth = mag_azimuth-90
Lab arrow dip = -field_dip
[3] Lab arrow is the same as the drill direction;
hade was measured in the field.
Lab arrow azimuth = mag_azimuth; Lab arrow dip = 90-field_dip
[4] lab azimuth and dip are same as mag_azimuth, field_dip : use this for unoriented samples too
[5] Same as AZDIP convention explained below -
azimuth and inclination of the drill direction are mag_azimuth and field_dip;
lab arrow is as in [1] above.
lab azimuth is same as mag_azimuth,lab arrow dip=field_dip-90
[6] Lab arrow azimuth = mag_azimuth-90; Lab arrow dip = 90-field_dip
[7] see http://earthref.org/PmagPy/cookbook/#field_info for more information. You can customize other format yourself, or email ltauxe@ucsd.edu for help.
Magnetic declination convention:
[1] Use the IGRF value at the lat/long and date supplied [default]
[2] Will supply declination correction
[3] mag_az is already corrected in file
[4] Correct mag_az but not bedding_dip_dir
Sample naming convention:
[1] XXXXY: where XXXX is an arbitrary length site designation and Y
is the single character sample designation. e.g., TG001a is the
first sample from site TG001. [default]
[2] XXXX-YY: YY sample from site XXXX (XXX, YY of arbitary length)
[3] XXXX.YY: YY sample from site XXXX (XXX, YY of arbitary length)
[4-Z] XXXX[YYY]: YYY is sample designation with Z characters from site XXX
[5] site name = sample name
[6] site name entered in site_name column in the orient.txt format input file -- NOT CURRENTLY SUPPORTED
[7-Z] [XXX]YYY: XXX is site designation with Z characters from samples XXXYYY
NB: all others you will have to either customize your
self or e-mail ltauxe@ucsd.edu for help.
|
[
"use",
"this",
"function",
"to",
"convert",
"tab",
"delimited",
"field",
"notebook",
"information",
"to",
"MagIC",
"formatted",
"tables",
"(",
"er_samples",
"and",
"er_sites",
")"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L5469-L6152
|
train
|
This function converts the orientation of a notebook to MagIC formatted tables.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(1867 - 1819) + '\x6f' + chr(0b11010 + 0o30) + '\062' + '\x36', ord("\x08")), nzTpIcepk0o8(chr(0b100 + 0o54) + '\x6f' + chr(1382 - 1327) + '\062', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\157' + '\066' + '\060', 28473 - 28465), nzTpIcepk0o8(chr(48) + '\157' + '\x32' + chr(0b1010 + 0o50) + '\x34', 0o10), nzTpIcepk0o8('\060' + '\157' + chr(0b101111 + 0o2) + chr(0b110110 + 0o1), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b11000 + 0o127) + '\x31' + chr(0b10000 + 0o46) + chr(54), 0b1000), nzTpIcepk0o8(chr(48) + chr(9597 - 9486) + '\063' + chr(1473 - 1425) + '\x33', 0b1000), nzTpIcepk0o8('\060' + chr(11260 - 11149) + '\061' + '\066' + '\x35', 0o10), nzTpIcepk0o8(chr(0b110000) + chr(12001 - 11890) + chr(1210 - 1161) + chr(0b110111) + chr(0b100001 + 0o21), ord("\x08")), nzTpIcepk0o8(chr(48) + '\x6f' + '\x32' + chr(0b11001 + 0o35) + '\066', 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\062' + '\x33', 0o10), nzTpIcepk0o8('\060' + chr(111) + chr(2453 - 2400) + chr(0b110011), 0b1000), nzTpIcepk0o8('\x30' + '\x6f' + '\063' + chr(0b1000 + 0o55) + chr(53), ord("\x08")), nzTpIcepk0o8(chr(0b10101 + 0o33) + '\157' + chr(0b11010 + 0o32) + chr(2716 - 2662), 0o10), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b110011) + chr(52) + chr(49), ord("\x08")), nzTpIcepk0o8(chr(1485 - 1437) + chr(0b1011011 + 0o24) + chr(50) + chr(2278 - 2225) + chr(53), 26964 - 26956), nzTpIcepk0o8('\060' + chr(111) + chr(51) + '\x31' + chr(51), 0o10), nzTpIcepk0o8(chr(1451 - 1403) + chr(0b1101111) + chr(0b110111) + '\x30', 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(55), 0b1000), nzTpIcepk0o8(chr(2215 - 2167) + chr(12225 - 12114) + '\063' + chr(353 - 303) + '\x30', 0b1000), nzTpIcepk0o8('\x30' + '\157' + chr(50) + '\x36' + '\x37', 0b1000), nzTpIcepk0o8(chr(0b101000 + 0o10) + chr(0b1101111) + chr(0b110100) + chr(55), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(2870 - 2759) + chr(1456 - 1406) + '\x33' + chr(0b11001 + 0o35), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111 + 0o0) + '\061' + chr(0b101011 + 0o10) + '\062', 0b1000), nzTpIcepk0o8(chr(0b11111 + 0o21) + chr(2064 - 1953) + '\063' + '\x37' + '\x31', 0b1000), nzTpIcepk0o8(chr(1370 - 1322) + chr(9242 - 9131) + '\064' + chr(51), 22363 - 22355), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b110010) + chr(0b110000) + chr(51), 0o10), nzTpIcepk0o8(chr(0b1111 + 0o41) + '\x6f' + '\063' + chr(0b110000), ord("\x08")), nzTpIcepk0o8('\x30' + chr(8612 - 8501) + '\063' + chr(0b1000 + 0o55) + '\x31', ord("\x08")), nzTpIcepk0o8(chr(0b1011 + 0o45) + chr(2585 - 2474) + '\x33' + '\063' + chr(55), 0o10), nzTpIcepk0o8('\x30' + '\157' + chr(51) + '\061' + chr(50), 0b1000), nzTpIcepk0o8('\x30' + '\157' + '\x31' + chr(50) + chr(49), 0o10), nzTpIcepk0o8(chr(0b11110 + 0o22) + chr(0b111001 + 0o66) + '\061' + '\065' + chr(50), 19085 - 19077), nzTpIcepk0o8('\060' + '\157' + '\x31' + chr(54) + chr(55), 16336 - 16328), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b1001 + 0o51) + chr(49) + '\x37', ord("\x08")), nzTpIcepk0o8(chr(48) + chr(6330 - 6219) + '\x31' + chr(0b11011 + 0o31), 0b1000), nzTpIcepk0o8(chr(48) + '\x6f' + chr(51) + '\x31' + chr(0b101111 + 0o4), 8), nzTpIcepk0o8(chr(0b11 + 0o55) + chr(0b1101111) + chr(49) + chr(0b1010 + 0o50) + chr(0b110111), 0o10), nzTpIcepk0o8(chr(0b10010 + 0o36) + chr(4096 - 3985) + '\063' + '\063' + chr(0b110011), ord("\x08")), nzTpIcepk0o8('\x30' + chr(111) + '\x33' + chr(51) + '\x35', ord("\x08"))][ZlbFMSG8gCoF % nzTpIcepk0o8('\060' + chr(111) + '\065' + '\060', 0o10)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xb8'), '\x64' + chr(101) + chr(99) + '\157' + chr(415 - 315) + '\145')('\x75' + '\x74' + chr(0b1011111 + 0o7) + chr(0b100000 + 0o15) + chr(0b101010 + 0o16)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def mEvfO3Nv5YqY(NNwYJkefQ0vs=nzTpIcepk0o8(chr(1809 - 1761) + '\x6f' + chr(49), ord("\x08")), xv74aTuw_kGm=nzTpIcepk0o8(chr(1269 - 1221) + chr(0b1101111) + chr(2212 - 2163), 8), mcXmRLTajNIx=nzTpIcepk0o8('\060' + chr(0b1001 + 0o146) + chr(575 - 527), 0o10), m7UHKcj7ypUZ=nzTpIcepk0o8('\x30' + '\x6f' + chr(49), 8), hLIySoEW0NmV=roI3spqORKae(ES5oEprVxulp(b'\xa7'), chr(0b1100100) + chr(101) + chr(0b1100011) + '\157' + '\144' + chr(0b1100101))('\x75' + chr(0b1110100) + '\x66' + '\055' + chr(56)), PVKdNVVMEDEB=nzTpIcepk0o8('\x30' + '\157' + chr(0b110000), 8), GAGkgZwp3WGn=roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(5369 - 5268) + chr(0b101101 + 0o66) + '\157' + chr(100) + chr(101))(chr(117) + chr(0b1110100) + chr(102) + chr(0b101101) + chr(0b111000)), YMLGlnDiwHhh=nzTpIcepk0o8(chr(48) + chr(111) + chr(0b110000), 8), fWPG5Yy75rA0=roI3spqORKae(ES5oEprVxulp(b'\xf9HY\xf1a\x02\xed\x01\x02\xc2'), chr(0b1100100) + '\x65' + chr(99) + chr(0b1101111) + '\144' + '\145')('\165' + chr(0b1110100) + '\146' + chr(1835 - 1790) + chr(0b110110 + 0o2)), bqpTUs8apVqb=roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\xb0[\x0e\xceg'), chr(0b1100100) + chr(8494 - 8393) + '\143' + '\157' + chr(0b110000 + 0o64) + '\x65')(chr(2515 - 2398) + chr(0b1110100) + chr(0b100100 + 0o102) + chr(631 - 586) + chr(0b110001 + 0o7)), OiNBbL9woeR5=roI3spqORKae(ES5oEprVxulp(b'\xe5SD\xf1|X\xb7\r\x0e'), '\144' + '\x65' + chr(0b10101 + 0o116) + chr(11491 - 11380) + chr(4214 - 4114) + chr(0b10011 + 0o122))(chr(117) + chr(2186 - 2070) + '\146' + '\055' + chr(1953 - 1897)), YtDhZvF7VzwC=roI3spqORKae(ES5oEprVxulp(b'\xb8'), chr(100) + chr(3516 - 3415) + '\x63' + chr(0b10001 + 0o136) + chr(0b11010 + 0o112) + chr(9654 - 9553))(chr(117) + chr(116) + chr(102) + chr(0b1010 + 0o43) + chr(0b11011 + 0o35)), KADebXAR9grB=roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(0b1001000 + 0o35) + '\x63' + chr(0b1101111) + '\x64' + chr(0b1100101))('\165' + chr(0b10101 + 0o137) + chr(0b1100110) + chr(0b101101) + '\x38'), HTS4xgGojoU5=nzTpIcepk0o8(chr(0b111 + 0o51) + '\x6f' + chr(0b110000), 8), ucvilvMnwW1d=nzTpIcepk0o8(chr(0b101110 + 0o2) + '\x6f' + '\x33', 0b1000)):
(KADebXAR9grB, YtDhZvF7VzwC) = hUcsWwAd0nE_.fix_directories(KADebXAR9grB, YtDhZvF7VzwC)
(NNwYJkefQ0vs, xv74aTuw_kGm, mcXmRLTajNIx) = (nzTpIcepk0o8(NNwYJkefQ0vs), nzTpIcepk0o8(xv74aTuw_kGm), jLW6pRf2DSRk(mcXmRLTajNIx))
PVKdNVVMEDEB = jLW6pRf2DSRk(PVKdNVVMEDEB)
oFlZhqN6BvzT = roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(0b101011 + 0o72) + chr(0b1100011) + '\157' + chr(0b1100100) + '\x65')('\165' + chr(116) + '\146' + '\055' + '\x38')
(Q4ZiDCds3gUR, Wp2Umairw0XS, OSV4Uwkhpwk6) = (roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(0b1100101) + chr(99) + '\x6f' + chr(0b0 + 0o144) + chr(101))(chr(0b100101 + 0o120) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(56)), roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(0b1100101) + chr(99) + chr(0b1010100 + 0o33) + chr(0b100011 + 0o101) + chr(0b110101 + 0o60))(chr(0b1001100 + 0o51) + chr(8029 - 7913) + chr(0b100 + 0o142) + '\x2d' + '\x38'), roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + '\145' + '\x63' + '\157' + chr(2074 - 1974) + chr(0b111001 + 0o54))(chr(0b1110101) + '\164' + chr(5198 - 5096) + chr(0b101101) + chr(0b111000)))
(jZ0612Zni4wb, fg9AQp1Lx92T) = (roI3spqORKae(ES5oEprVxulp(b''), chr(0b0 + 0o144) + '\145' + chr(7796 - 7697) + chr(4182 - 4071) + chr(7868 - 7768) + chr(0b111111 + 0o46))(chr(0b1110101) + chr(0b1000 + 0o154) + '\146' + chr(479 - 434) + '\x38'), roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(101) + '\x63' + chr(9998 - 9887) + chr(4240 - 4140) + '\x65')(chr(0b1101000 + 0o15) + '\x74' + chr(0b1001000 + 0o36) + chr(1801 - 1756) + '\070'))
(fgznbtl5yjUN, nLP6wFcmuZ8n) = ([], [])
(ebFcGnGDUEiL, ZLlPaQHDyhND, BWZEg2kHBGE_) = ([], [], [])
(k612E2LRMvoI, zDhC7OEYbWah, EKtewbpAe2NK) = ([], [], [])
sEVgLUlRGUb0 = nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x31', 8)
(oy1pnc8Ob7r3, TbPQJo7BGCb_, yeQRuApQF8ds) = (roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(0b1100101) + '\143' + '\157' + chr(100) + chr(0b1100101))(chr(117) + '\164' + '\146' + chr(0b101101) + chr(56)), roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(0b1100101) + chr(9597 - 9498) + '\157' + chr(100) + chr(101))(chr(117) + chr(116) + chr(102) + chr(0b10000 + 0o35) + '\x38'), roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(0b1100101) + chr(0b1100011) + chr(11383 - 11272) + chr(443 - 343) + chr(1903 - 1802))(chr(10066 - 9949) + '\x74' + chr(0b1000000 + 0o46) + chr(1902 - 1857) + chr(0b100 + 0o64)))
G8tc4lB1X1ze = []
(RSL5ULz4yo1F, l5MdbjIXKd7O, TfRWyawW1DRu) = (roI3spqORKae(ES5oEprVxulp(b''), chr(8456 - 8356) + '\145' + '\143' + chr(1871 - 1760) + chr(0b1100100) + chr(4806 - 4705))('\x75' + '\164' + chr(0b1100110) + chr(0b101101) + '\070'), roI3spqORKae(ES5oEprVxulp(b''), chr(0b1011 + 0o131) + '\x65' + '\x63' + chr(0b1101111) + '\144' + chr(5117 - 5016))('\165' + chr(0b10 + 0o162) + chr(0b1100110) + '\x2d' + chr(0b101 + 0o63)), roI3spqORKae(ES5oEprVxulp(b''), chr(637 - 537) + '\x65' + chr(0b1100011) + chr(0b1101111) + '\x64' + '\145')(chr(0b1001010 + 0o53) + '\x74' + '\146' + chr(45) + chr(1222 - 1166)))
(MIaLdeqLRr8x, kRHRMdqk7ClD, ngQC2k_RgiwY) = (roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(0b110101 + 0o60) + chr(9678 - 9579) + chr(0b1100100 + 0o13) + chr(100) + chr(0b1100101))('\x75' + '\164' + chr(0b1000110 + 0o40) + '\x2d' + chr(0b100001 + 0o27)), roI3spqORKae(ES5oEprVxulp(b''), '\144' + '\x65' + '\x63' + '\x6f' + chr(0b1010000 + 0o24) + '\x65')('\x75' + '\x74' + chr(0b1010100 + 0o22) + '\x2d' + '\070'), roI3spqORKae(ES5oEprVxulp(b''), chr(2701 - 2601) + '\145' + '\x63' + chr(10648 - 10537) + chr(100) + '\145')(chr(0b1011 + 0o152) + chr(0b1110100) + chr(1152 - 1050) + chr(0b101101) + '\x38'))
SrIxpTpfkxAk = []
_1grP0PfR4J7 = roI3spqORKae(ES5oEprVxulp(b'\xf3Ho\xfdb\x17\xa4\x10\t\x98gS\x99'), chr(0b1100100) + chr(7940 - 7839) + chr(0b1010000 + 0o23) + chr(111) + chr(0b1110 + 0o126) + '\x65')(chr(11770 - 11653) + '\164' + chr(0b100 + 0o142) + chr(45) + chr(1038 - 982))
ucvilvMnwW1d = nzTpIcepk0o8(ucvilvMnwW1d)
if ucvilvMnwW1d == nzTpIcepk0o8(chr(48) + chr(3560 - 3449) + '\063', 8):
if bqpTUs8apVqb == roI3spqORKae(ES5oEprVxulp(b'\xf3Ho\xe7n\x1b\xb3\x19\x1f\xc5=_\x95R'), chr(100) + chr(0b1011110 + 0o7) + chr(0b0 + 0o143) + '\x6f' + chr(0b101111 + 0o65) + '\145')(chr(117) + chr(0b1100111 + 0o15) + '\146' + chr(1560 - 1515) + chr(56)):
bqpTUs8apVqb = roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\xb0[\x0e\xceg'), chr(0b100010 + 0o102) + chr(0b1011010 + 0o13) + chr(0b1100011) + '\157' + '\x64' + '\145')(chr(10389 - 10272) + chr(0b1101001 + 0o13) + chr(8245 - 8143) + '\055' + '\x38')
if OiNBbL9woeR5 == roI3spqORKae(ES5oEprVxulp(b'\xf3Ho\xe7f\x02\xa6\x06T\xc2k_'), '\x64' + chr(101) + '\x63' + '\x6f' + chr(0b11010 + 0o112) + chr(101))(chr(117) + chr(3854 - 3738) + chr(6204 - 6102) + chr(0b1011 + 0o42) + chr(56)):
OiNBbL9woeR5 = roI3spqORKae(ES5oEprVxulp(b'\xe5SD\xf1|X\xb7\r\x0e'), chr(9070 - 8970) + chr(9172 - 9071) + chr(942 - 843) + chr(1965 - 1854) + '\x64' + '\145')(chr(0b1110101) + chr(116) + chr(0b1100110) + '\055' + chr(0b111000))
_1grP0PfR4J7 = roI3spqORKae(ES5oEprVxulp(b'\xffWQ\xf3j\x05\xed\x01\x02\xc2'), chr(100) + chr(0b1100101) + chr(1236 - 1137) + chr(111) + chr(0b1000001 + 0o43) + chr(101))(chr(0b11010 + 0o133) + '\164' + chr(0b1100110) + chr(45) + chr(0b111000))
fWPG5Yy75rA0 = hUcsWwAd0nE_.resolve_file_name(fWPG5Yy75rA0, KADebXAR9grB)
if not roI3spqORKae(aHUqKstZLeS6.path, roI3spqORKae(ES5oEprVxulp(b'\xeciy\xeda&\xb60\x0c\xdaB\x1f'), chr(0b1001000 + 0o34) + '\x65' + '\x63' + chr(0b1101111) + '\144' + chr(101))(chr(12472 - 12355) + '\164' + chr(102) + chr(0b101101) + '\x38'))(fWPG5Yy75rA0):
return (nzTpIcepk0o8('\060' + '\157' + chr(48), 8), roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b"\xd8U\x10\xe7z\x15\xabU\x1c\xdf\x7fN\xd7\x06\x9a\xd0\xe5\x18'\x99\xd1\x07\xea2\x9c\x03\xecj\x80\xba\xa4%\x0b\x03\xe6c\xa5w\xbd\xb4\xfa_\x10\xfd|V\xad\x1a\x0e\x96zE\xcd_\x8e\xd8\xb9\x18d\xa5\xc5U\xfb4\x8d\x03\xf4w\x9b\xb4\xa3?\rW\xebe\xb92\xb8\xa9\xf9HI\xb8/\x1b\xa2\x1e\x1f\x96`^\x9fC\xc1\xd4\xa4M'\xb8\xd6Q\xfbz\x8aS\xe6{\x80\xb9\xa34\x0eW\xfbd\xaew\xb8\xb2\xe4HU\xf7{V\xaa\x1b\n\xc3g\x0b\x89O\x93\xc8\xa8Lh\xa2\xce\t"), chr(5602 - 5502) + chr(0b1100101) + '\143' + chr(0b1101111 + 0o0) + chr(6076 - 5976) + chr(101))('\165' + chr(0b1110100) + '\x66' + chr(0b10111 + 0o26) + chr(2831 - 2775)), roI3spqORKae(ES5oEprVxulp(b'\xe7\t\x03\xdfHE\xa5\x1a+\xe9Pa'), chr(0b1100100) + '\x65' + '\143' + '\x6f' + '\144' + '\145')(chr(0b110111 + 0o76) + chr(0b1011010 + 0o32) + '\x66' + chr(696 - 651) + chr(0b111000)))(fWPG5Yy75rA0))
bqpTUs8apVqb = aHUqKstZLeS6.path.Y4yM9BcfTCNq(YtDhZvF7VzwC, bqpTUs8apVqb)
OiNBbL9woeR5 = aHUqKstZLeS6.path.Y4yM9BcfTCNq(YtDhZvF7VzwC, OiNBbL9woeR5)
_1grP0PfR4J7 = aHUqKstZLeS6.path.Y4yM9BcfTCNq(YtDhZvF7VzwC, _1grP0PfR4J7)
if roI3spqORKae(ES5oEprVxulp(b'\xa2'), '\144' + '\x65' + chr(99) + '\x6f' + '\x64' + chr(0b1011010 + 0o13))('\165' + '\x74' + '\146' + '\x2d' + chr(56)) in hLIySoEW0NmV[nzTpIcepk0o8(chr(48) + chr(111) + chr(0b101101 + 0o3), 8)]:
UYtHA0XyNB9C = aoTc4YA2bs2R.compile(roI3spqORKae(ES5oEprVxulp(b'\xcd\x0em\xcf"+\x9f\x11'), chr(8894 - 8794) + chr(7138 - 7037) + chr(1404 - 1305) + chr(203 - 92) + chr(0b110011 + 0o61) + '\145')(chr(0b1000110 + 0o57) + chr(116) + '\146' + chr(0b100000 + 0o15) + chr(56)))
POx95m7SPOVy = UYtHA0XyNB9C.hk9OijmiC_zA(hLIySoEW0NmV)
if not POx95m7SPOVy:
raise zfo2Sgkz3IVJ(roI3spqORKae(ES5oEprVxulp(b'\xdf\\\x10\xe1|\x1f\xad\x12Z\xc5rF\x9dJ\x84\x8d\xa5Yj\xb9\xd9@\xbe9\x96M\xf5}\x87\xab\xa3>\x04W\xbb \xeb.\xb4\xa8\xb6WE\xe7{V\xb3\x07\x15\xc0zO\x88\x06\x95\xc5\xae\x18i\xa5\xdaE\xfb(\xd9L\xe58\x8a\xb7\xab#\x0b\x14\xfbi\xb9$\xfb\xaa\xffNX\xb4x\x1e\xaa\x16\x12\x96gD\xcdB\x88\xde\xbfQi\xb7\xc2N\xed2\xd9P\xe2u\x99\xb3\xafq\x0c\x05\xe0a\xeb$\xb2\xa9\xf3\x14\x10\xcf;[\x99(Z\xeeKs\xb5}\xb8\xf4\x92e=\xf0\x97~\xc7\x03\xd9J\xf08\x9a\xbe\xa7!\x06\x12\xafh\xae$\xb2\xba\xf8[D\xfd`\x18\xe3\x02\x13\xc2{\x0b\xb7\x06\x82\xc5\xaaJf\xb3\xc3B\xec)\xd9E\xf1w\x84\xff\xb98\x1e\x12\xafT\x93\x0f\xf2'), '\x64' + '\x65' + chr(0b1100011) + chr(1623 - 1512) + chr(208 - 108) + chr(5601 - 5500))(chr(117) + chr(1360 - 1244) + chr(0b111 + 0o137) + '\055' + chr(0b110111 + 0o1)))
if roI3spqORKae(ES5oEprVxulp(b'\xa1'), chr(0b1011101 + 0o7) + chr(0b1100101) + '\x63' + '\157' + chr(0b1100100) + chr(0b1100101))(chr(13436 - 13319) + '\164' + '\x66' + chr(333 - 288) + chr(0b111000)) in hLIySoEW0NmV[nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b11000 + 0o30), 8)]:
UYtHA0XyNB9C = aoTc4YA2bs2R.compile(roI3spqORKae(ES5oEprVxulp(b'\xcd\rm\xcf"+\x9f\x11'), chr(5086 - 4986) + '\x65' + chr(0b111010 + 0o51) + chr(111) + chr(0b1100 + 0o130) + chr(7553 - 7452))('\x75' + chr(0b1110100) + chr(102) + chr(0b101101) + chr(56)))
POx95m7SPOVy = UYtHA0XyNB9C.hk9OijmiC_zA(hLIySoEW0NmV)
if not POx95m7SPOVy:
raise zfo2Sgkz3IVJ(roI3spqORKae(ES5oEprVxulp(b"\xdf\\\x10\xe1|\x1f\xad\x12Z\xc5rF\x9dJ\x84\x8d\xa5Yj\xb9\xd9@\xbe9\x96M\xf5}\x87\xab\xa3>\x04W\xb8 \xeb.\xb4\xa8\xb6WE\xe7{V\xb3\x07\x15\xc0zO\x88\x06\x95\xc5\xae\x18i\xa5\xdaE\xfb(\xd9L\xe58\x8a\xb7\xab#\x0b\x14\xfbi\xb9$\xfb\xaa\xffNX\xb4x\x1e\xaa\x16\x12\x96gD\xcdB\x88\xde\xbfQi\xb7\xc2N\xed2\xd9P\xe2u\x99\xb3\xafq\x0c\x05\xe0a\xeb$\xb2\xa9\xf3\x14\x10\xb4TA\xee/'\x96Hs\xb5~\xbc\xf4\x92a=\xf0\x97\x7f\xc6\x02\xd9J\xf08\x9a\xb6\xbe4J\x13\xea\x7f\xa20\xb5\xbc\xe2S_\xfa/\x01\xaa\x01\x12\x96I\x0b\x8eN\x80\xdf\xaa[s\xb5\xc5T\xbe<\x8bL\xee8\x9a\xbe\xa7!\x06\x12\xfc,\xeb\x0f\x83\x85\xcfci"), chr(0b1100100) + chr(0b100101 + 0o100) + chr(0b1001101 + 0o26) + chr(0b1101111) + chr(240 - 140) + '\x65')('\165' + '\164' + chr(0b1100110) + chr(0b1111 + 0o36) + chr(0b111000)))
if xv74aTuw_kGm == nzTpIcepk0o8(chr(408 - 360) + chr(0b1101111) + chr(50), ord("\x08")) and (not mcXmRLTajNIx):
raise zfo2Sgkz3IVJ(roI3spqORKae(ES5oEprVxulp(b'\xdf\\\x10\xe1|\x1f\xad\x12Z\xdbrL\x83C\x95\xc4\xa8\x18c\xb5\xd4K\xf74\x98W\xeaw\x87\xff\xa9>\x04\x01\xeab\xbf>\xb4\xb3\xb6\x08\x1c\xb4v\x19\xb6U\x17\xc3`_\xcdG\x8d\xde\xa4\x18w\xa2\xd8Q\xf7>\x9c\x03\xe28\x8d\xba\xa9=\x03\x19\xecm\xbf>\xb4\xb3\xb6Y_\xe6}\x13\xa0\x01\x13\xd9}\x0b\x84H\xc1\xc9\xae_u\xb5\xd2T'), '\x64' + chr(101) + chr(8468 - 8369) + '\157' + '\144' + chr(101))('\x75' + chr(0b1000000 + 0o64) + chr(0b10011 + 0o123) + '\x2d' + '\x38'))
(Z4JD24rWWYSJ, PoBPnG61TZvj, WLZ8acTi1Mnq) = ([], [], [])
(xIoiGbhaDLaE, NWTaKnlaLYlJ) = ({}, {})
if HTS4xgGojoU5:
try:
(Z4JD24rWWYSJ, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(bqpTUs8apVqb)
if ucvilvMnwW1d == nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b111 + 0o54), 8):
VtxIY8jzN5ww = Z4JD24rWWYSJ
Z4JD24rWWYSJ = []
for WxO2eZEHn_1V in VtxIY8jzN5ww:
FKO_XxLfWbYt = ntOEbtdxWLl2.lq9M6RYMdyT1(WxO2eZEHn_1V, ntOEbtdxWLl2.samp_magic3_2_magic2_map)
roI3spqORKae(Z4JD24rWWYSJ, roI3spqORKae(ES5oEprVxulp(b'\xdenc\xa0w\x11\x84\x1a\x10\xd9F\x1e'), '\144' + '\x65' + chr(0b1100011) + chr(111) + '\144' + chr(101))(chr(6858 - 6741) + chr(8270 - 8154) + chr(0b1100001 + 0o5) + '\x2d' + chr(0b111000)))(FKO_XxLfWbYt)
xIoiGbhaDLaE = hUcsWwAd0nE_.sort_magic_data(Z4JD24rWWYSJ, roI3spqORKae(ES5oEprVxulp(b'\xf3Ho\xe7n\x1b\xb3\x19\x1f\xe9}J\x80C'), chr(100) + chr(0b1100 + 0o131) + chr(0b100100 + 0o77) + chr(111) + chr(0b1010001 + 0o23) + chr(0b1011111 + 0o6))('\165' + chr(116) + chr(0b1100110) + '\x2d' + '\070'))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\xe3\x11\x1b\xc2r\x0b\x99I\xc1\xcf\xae\x18f\xa0\xc7B\xf0>\x9cG\xa3l\x86\xe5\xea'), chr(0b1100100) + chr(0b1100101) + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + chr(5783 - 5682))(chr(2114 - 1997) + chr(116) + '\x66' + '\x2d' + '\x38'), bqpTUs8apVqb)
except zfo2Sgkz3IVJ as dclkBu6Bdnnh:
v8jsMqaYV6U2(dclkBu6Bdnnh)
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xe6H_\xf6c\x13\xaeU\r\xdfgC\xcdC\x99\xc4\xb8Ln\xbe\xd0\x07\xf83\x95F\xb98'), '\144' + '\145' + chr(0b1100011) + '\157' + chr(100) + chr(3337 - 3236))('\165' + '\164' + chr(0b100101 + 0o101) + chr(0b10110 + 0o27) + chr(0b110110 + 0o2)), bqpTUs8apVqb, roI3spqORKae(ES5oEprVxulp(b'\xb6MY\xf8cV\xa0\x07\x1f\xd7gN\xcdH\x84\xda\xe5'), chr(100) + '\x65' + chr(0b111110 + 0o45) + chr(0b1101111) + '\x64' + chr(0b1010100 + 0o21))('\165' + chr(7088 - 6972) + chr(1950 - 1848) + '\055' + chr(0b111000)))
try:
(PoBPnG61TZvj, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(OiNBbL9woeR5)
if ucvilvMnwW1d == nzTpIcepk0o8('\x30' + chr(8279 - 8168) + '\x33', 8):
zqK8Hx5hcFP7 = PoBPnG61TZvj
PoBPnG61TZvj = []
for QAWwkSJjs81Z in zqK8Hx5hcFP7:
roI3spqORKae(PoBPnG61TZvj, roI3spqORKae(ES5oEprVxulp(b'\xdenc\xa0w\x11\x84\x1a\x10\xd9F\x1e'), chr(0b1000101 + 0o37) + chr(986 - 885) + chr(0b1100011) + chr(0b1011000 + 0o27) + '\x64' + chr(0b1100101))('\165' + chr(9495 - 9379) + chr(0b1100101 + 0o1) + '\x2d' + chr(0b10111 + 0o41)))(roI3spqORKae(ntOEbtdxWLl2, roI3spqORKae(ES5oEprVxulp(b'\xfaK\t\xd99$\x9a8\x1e\xcfG\x1a'), chr(0b11 + 0o141) + chr(101) + chr(0b101000 + 0o73) + chr(111) + chr(0b1100100) + chr(101))(chr(117) + chr(4412 - 4296) + chr(102) + chr(1322 - 1277) + chr(1878 - 1822)))(QAWwkSJjs81Z, roI3spqORKae(ntOEbtdxWLl2, roI3spqORKae(ES5oEprVxulp(b'\xe5SD\xf1P\x1b\xa2\x12\x13\xd5 t\xdfy\x8c\xcc\xacQd\xe2\xe8J\xff*'), chr(0b1100100) + chr(1732 - 1631) + chr(99) + chr(111) + '\x64' + '\145')(chr(117) + chr(116) + chr(0b11010 + 0o114) + chr(0b101101) + chr(0b110 + 0o62)))))
NWTaKnlaLYlJ = hUcsWwAd0nE_.sort_magic_data(PoBPnG61TZvj, roI3spqORKae(ES5oEprVxulp(b'\xf3Ho\xe7f\x02\xa6*\x14\xd7~N'), chr(0b1010010 + 0o22) + '\x65' + chr(0b1000111 + 0o34) + chr(0b1011100 + 0o23) + chr(100) + chr(101))(chr(117) + chr(116) + chr(0b1100110) + chr(353 - 308) + chr(56)))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xe5SD\xf1/\x12\xa2\x01\x1b\x96gD\xcdD\x84\x8d\xaaHw\xb5\xd9C\xfb>\xd9W\xec"\xc9'), chr(100) + chr(5973 - 5872) + chr(0b1001000 + 0o33) + chr(111) + chr(0b100 + 0o140) + '\145')('\x75' + chr(10986 - 10870) + chr(0b1100110) + chr(1544 - 1499) + chr(0b101111 + 0o11)), OiNBbL9woeR5)
except zfo2Sgkz3IVJ as dclkBu6Bdnnh:
v8jsMqaYV6U2(dclkBu6Bdnnh)
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xe6H_\xf6c\x13\xaeU\r\xdfgC\xcdC\x99\xc4\xb8Ln\xbe\xd0\x07\xf83\x95F\xb98'), chr(100) + chr(101) + '\143' + chr(2370 - 2259) + chr(3902 - 3802) + chr(0b111010 + 0o53))('\165' + '\164' + chr(0b1000100 + 0o42) + chr(45) + chr(56)), OiNBbL9woeR5, roI3spqORKae(ES5oEprVxulp(b'\xb6MY\xf8cV\xa0\x07\x1f\xd7gN\xcdH\x84\xda\xe5'), '\144' + chr(101) + '\143' + chr(8409 - 8298) + '\x64' + chr(0b1011010 + 0o13))(chr(11372 - 11255) + chr(9993 - 9877) + chr(0b10001 + 0o125) + chr(1643 - 1598) + chr(56)))
try:
(WLZ8acTi1Mnq, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(_1grP0PfR4J7)
if ucvilvMnwW1d == nzTpIcepk0o8(chr(0b11111 + 0o21) + '\157' + '\x33', 8):
QNBAnUQmcfRs = WLZ8acTi1Mnq
WLZ8acTi1Mnq = []
for DuLrJBweA0t7 in QNBAnUQmcfRs:
roI3spqORKae(WLZ8acTi1Mnq, roI3spqORKae(ES5oEprVxulp(b'\xdenc\xa0w\x11\x84\x1a\x10\xd9F\x1e'), chr(0b11000 + 0o114) + '\145' + chr(0b1110 + 0o125) + '\157' + chr(0b1100100) + '\x65')(chr(0b1110101) + '\x74' + '\146' + '\x2d' + chr(1667 - 1611)))(roI3spqORKae(ntOEbtdxWLl2, roI3spqORKae(ES5oEprVxulp(b'\xfaK\t\xd99$\x9a8\x1e\xcfG\x1a'), chr(7941 - 7841) + chr(7094 - 6993) + chr(99) + chr(111) + chr(0b1100100) + chr(0b10111 + 0o116))(chr(3520 - 3403) + chr(0b1110100) + chr(102) + chr(0b11110 + 0o17) + chr(0b111000)))(DuLrJBweA0t7, roI3spqORKae(ntOEbtdxWLl2, roI3spqORKae(ES5oEprVxulp(b'\xffWQ\xf3j)\xae\x14\x1d\xdfp\x18\xb2\x14\xbe\xc0\xaa_n\xb3\x85x\xf3;\x89'), '\144' + chr(6465 - 6364) + chr(0b1100011) + chr(238 - 127) + chr(0b1100100) + chr(0b1100101))('\165' + chr(0b1110100) + '\x66' + chr(0b101101) + chr(56)))))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xffWQ\xf3jV\xa7\x14\x0e\xd73_\x82\x06\x83\xc8\xebYw\xa0\xd2I\xfa?\x9d\x03\xf7w\xd3\xff'), chr(0b1100100) + '\145' + '\143' + '\x6f' + '\144' + chr(101))(chr(6242 - 6125) + chr(3735 - 3619) + '\146' + '\x2d' + '\x38'), _1grP0PfR4J7)
except UtiWT6f6p9yZ:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xe6H_\xf6c\x13\xaeU\r\xdfgC\xcdC\x99\xc4\xb8Ln\xbe\xd0\x07\xf83\x95F\xb98'), chr(0b1010111 + 0o15) + chr(101) + chr(755 - 656) + chr(0b1101111) + '\x64' + chr(1270 - 1169))(chr(669 - 552) + '\164' + chr(0b1100110) + chr(0b101101) + chr(56)), _1grP0PfR4J7, roI3spqORKae(ES5oEprVxulp(b'\xb6MY\xf8cV\xa0\x07\x1f\xd7gN\xcdH\x84\xda\xe5'), chr(0b1001 + 0o133) + chr(101) + chr(0b1100011) + '\x6f' + '\x64' + chr(356 - 255))(chr(2338 - 2221) + '\x74' + chr(0b1100110) + chr(0b101101) + chr(0b111000)))
(B1K7VMvKMOKq, fvpyocDTQ9QD) = hUcsWwAd0nE_.magic_read(fWPG5Yy75rA0)
if fvpyocDTQ9QD == roI3spqORKae(ES5oEprVxulp(b'\xf2_]\xf5h)\xac\x07\x13\xd3}_'), '\144' + chr(0b1100101) + '\x63' + chr(9142 - 9031) + '\144' + chr(8962 - 8861))('\165' + '\x74' + chr(1239 - 1137) + '\x2d' + chr(0b1101 + 0o53)):
fvpyocDTQ9QD = roI3spqORKae(ES5oEprVxulp(b''), chr(100) + '\x65' + chr(8115 - 8016) + chr(913 - 802) + chr(0b1011 + 0o131) + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + '\x66' + chr(45) + chr(56))
for UyhVHm6iL58s in B1K7VMvKMOKq:
if roI3spqORKae(ES5oEprVxulp(b'\xfb[W\xcbn\x0c\xaa\x18\x0f\xc2{'), '\144' + chr(0b1100101) + chr(99) + '\x6f' + chr(100) + chr(101))(chr(0b1110101) + chr(116) + chr(0b1100110) + chr(1647 - 1602) + chr(0b111000)) not in H4NoA26ON7iG(roI3spqORKae(UyhVHm6iL58s, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), chr(0b110011 + 0o61) + chr(0b1100101) + chr(99) + chr(0b1101111) + chr(100) + chr(462 - 361))(chr(117) + chr(0b1110100) + '\146' + '\x2d' + chr(56)))()):
UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xfb[W\xcbn\x0c\xaa\x18\x0f\xc2{'), '\x64' + chr(101) + chr(0b1100011) + chr(0b1101111) + chr(6330 - 6230) + chr(0b1100101))(chr(0b1100111 + 0o16) + chr(116) + chr(102) + chr(0b1110 + 0o37) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(0b11010 + 0o113) + '\143' + chr(0b100000 + 0o117) + chr(0b1100100) + '\145')(chr(0b1110101) + chr(116) + chr(102) + chr(45) + chr(0b111000))
if roI3spqORKae(ES5oEprVxulp(b'\xf0SU\xf8k)\xa7\x1c\n'), chr(0b1100 + 0o130) + chr(4487 - 4386) + '\x63' + '\x6f' + chr(2237 - 2137) + chr(0b1100101))(chr(0b1110101) + '\164' + '\146' + '\x2d' + chr(0b111000)) not in H4NoA26ON7iG(roI3spqORKae(UyhVHm6iL58s, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), '\x64' + chr(101) + chr(0b1100001 + 0o2) + chr(9682 - 9571) + '\144' + '\145')('\165' + chr(116) + chr(102) + chr(0b100110 + 0o7) + '\070'))()):
UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xf0SU\xf8k)\xa7\x1c\n'), chr(100) + '\x65' + chr(99) + '\x6f' + chr(0b10010 + 0o122) + '\x65')(chr(0b1110101) + chr(0b100010 + 0o122) + chr(0b1000011 + 0o43) + '\x2d' + chr(56))] = roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(9299 - 9198) + chr(0b111001 + 0o52) + chr(7693 - 7582) + chr(100) + chr(101))(chr(117) + chr(0b1110100) + chr(0b1100110) + chr(1108 - 1063) + chr(1241 - 1185))
if UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xfb[W\xcbn\x0c\xaa\x18\x0f\xc2{'), chr(100) + '\x65' + chr(0b1100011) + chr(2988 - 2877) + chr(0b1100000 + 0o4) + chr(0b1100101))('\x75' + chr(0b1110100) + chr(102) + '\055' + chr(0b111000))] == roI3spqORKae(ES5oEprVxulp(b'\xb6'), chr(0b1100100) + chr(101) + '\143' + chr(0b1101111) + chr(100) + chr(0b1100101))(chr(117) + chr(116) + chr(0b1100100 + 0o2) + '\x2d' + '\070'):
UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xfb[W\xcbn\x0c\xaa\x18\x0f\xc2{'), chr(0b1010010 + 0o22) + chr(0b10101 + 0o120) + chr(99) + chr(0b1101111) + '\144' + '\x65')(chr(117) + '\164' + chr(0b1100110) + chr(1693 - 1648) + chr(56))] = roI3spqORKae(ES5oEprVxulp(b''), '\144' + '\145' + chr(0b1010010 + 0o21) + chr(3450 - 3339) + chr(0b101 + 0o137) + chr(0b1011011 + 0o12))('\165' + chr(116) + chr(2863 - 2761) + chr(1201 - 1156) + chr(2826 - 2770))
if UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xf0SU\xf8k)\xa7\x1c\n'), chr(0b1000000 + 0o44) + chr(0b1100101) + '\x63' + chr(0b1010000 + 0o37) + chr(100) + chr(0b101110 + 0o67))(chr(9288 - 9171) + chr(0b1110100) + '\x66' + chr(45) + '\070')] == roI3spqORKae(ES5oEprVxulp(b'\xb6'), chr(5813 - 5713) + chr(1561 - 1460) + '\143' + chr(8844 - 8733) + chr(0b10000 + 0o124) + chr(0b101100 + 0o71))(chr(0b1001011 + 0o52) + '\x74' + '\x66' + '\x2d' + chr(0b1110 + 0o52)):
UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xf0SU\xf8k)\xa7\x1c\n'), chr(100) + '\145' + '\143' + chr(111) + chr(0b1001 + 0o133) + chr(0b1100101))(chr(2746 - 2629) + chr(6942 - 6826) + chr(0b1100110) + chr(0b101101 + 0o0) + '\070')] = roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(9376 - 9275) + chr(0b1100011) + '\157' + chr(100) + chr(0b1100101))(chr(0b1110101) + chr(1659 - 1543) + chr(0b1100110) + chr(0b101001 + 0o4) + chr(56))
if roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x11\x1f\xc5pY\x84V\x95\xc4\xa4V'), chr(0b1100100) + chr(0b111100 + 0o51) + '\143' + chr(111) + chr(0b101101 + 0o67) + chr(1661 - 1560))(chr(0b1110101) + '\x74' + chr(0b101101 + 0o71) + chr(1308 - 1263) + chr(56)) in H4NoA26ON7iG(roI3spqORKae(UyhVHm6iL58s, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), chr(0b1100100) + chr(0b1100101) + chr(0b1011101 + 0o6) + '\157' + '\144' + '\x65')('\165' + chr(6166 - 6050) + chr(0b1010100 + 0o22) + '\055' + chr(1295 - 1239)))()):
aeNluPWlqwT4 = UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x11\x1f\xc5pY\x84V\x95\xc4\xa4V'), chr(2527 - 2427) + chr(9696 - 9595) + chr(0b1100011) + '\157' + '\144' + chr(0b1100101))(chr(0b1110101) + chr(0b11110 + 0o126) + chr(0b1100110) + '\x2d' + '\x38')]
else:
aeNluPWlqwT4 = roI3spqORKae(ES5oEprVxulp(b''), chr(0b110000 + 0o64) + chr(101) + chr(0b11111 + 0o104) + chr(0b1101111) + '\x64' + '\x65')(chr(117) + chr(116) + chr(0b100111 + 0o77) + chr(0b101001 + 0o4) + chr(0b1 + 0o67))
if roI3spqORKae(ES5oEprVxulp(b'\xf5U_\xf8f\x18\xa4*\x08\xd7gN\xb2E\x8e\xdf\xb9'), chr(0b1100100) + chr(2707 - 2606) + chr(3451 - 3352) + chr(8042 - 7931) + '\x64' + '\x65')('\x75' + chr(4553 - 4437) + chr(102) + chr(0b1111 + 0o36) + chr(1250 - 1194)) in H4NoA26ON7iG(roI3spqORKae(UyhVHm6iL58s, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), chr(0b100 + 0o140) + chr(3649 - 3548) + chr(5523 - 5424) + chr(0b111111 + 0o60) + chr(0b1100100) + chr(0b1000110 + 0o37))(chr(3940 - 3823) + '\x74' + chr(0b1100110) + chr(45) + chr(1027 - 971)))()):
if roI3spqORKae(ES5oEprVxulp(b'\xf5U_\xf8f\x18\xa4*\x08\xd7gN\xb2K\x82\xc9'), '\x64' + chr(0b1100101) + chr(99) + chr(0b1010000 + 0o37) + chr(0b1100100) + chr(2018 - 1917))(chr(11553 - 11436) + chr(0b1110100) + chr(0b1100110) + chr(1547 - 1502) + '\x38') not in H4NoA26ON7iG(roI3spqORKae(UyhVHm6iL58s, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), '\x64' + chr(0b111111 + 0o46) + chr(1094 - 995) + '\x6f' + chr(3364 - 3264) + chr(101))(chr(0b10000 + 0o145) + '\164' + chr(6700 - 6598) + '\x2d' + chr(0b1010 + 0o56)))()):
UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xf5U_\xf8f\x18\xa4*\x08\xd7gN\xb2K\x82\xc9'), chr(5153 - 5053) + chr(0b101101 + 0o70) + chr(0b1100011) + chr(0b1101111) + '\144' + chr(4935 - 4834))('\165' + '\164' + chr(0b110100 + 0o62) + chr(0b101101) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\xd2{\x1d\xd7]'), '\144' + '\x65' + chr(0b1100001 + 0o2) + chr(111) + '\x64' + '\x65')('\165' + '\164' + chr(0b1100110) + '\055' + '\070')
BJHTQz9J5KMr = roI3spqORKae(ES5oEprVxulp(b'\xf1'), '\x64' + '\145' + chr(99) + chr(111) + '\x64' + '\145')(chr(0b1110101) + chr(10966 - 10850) + chr(0b1100110) + chr(0b10100 + 0o31) + chr(0b111000))
if roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x1a\x08\xdfvE\x99G\x95\xc4\xa4VX\xb6\xdbF\xf9'), '\144' + '\x65' + chr(99) + '\157' + chr(100) + chr(101))('\165' + '\164' + chr(9844 - 9742) + chr(1782 - 1737) + chr(0b1 + 0o67)) in H4NoA26ON7iG(roI3spqORKae(UyhVHm6iL58s, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), chr(0b11000 + 0o114) + chr(0b1100101) + chr(0b1010110 + 0o15) + chr(0b1101111) + chr(1113 - 1013) + chr(2764 - 2663))('\x75' + chr(116) + '\146' + chr(45) + chr(0b10100 + 0o44)))()):
if UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x1a\x08\xdfvE\x99G\x95\xc4\xa4VX\xb6\xdbF\xf9'), '\x64' + chr(101) + chr(8413 - 8314) + '\x6f' + chr(0b1010110 + 0o16) + chr(101))(chr(11251 - 11134) + chr(6108 - 5992) + chr(991 - 889) + chr(0b101101) + '\x38')] == roI3spqORKae(ES5oEprVxulp(b'\xf4'), chr(0b1011000 + 0o14) + chr(0b11100 + 0o111) + chr(3628 - 3529) + chr(0b1101111) + chr(100) + chr(5185 - 5084))(chr(9220 - 9103) + chr(116) + '\x66' + chr(45) + '\070') or UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xfb[W\xcbn\x0c\xaa\x18\x0f\xc2{'), chr(7975 - 7875) + chr(101) + '\x63' + chr(0b1101111) + chr(2349 - 2249) + '\x65')(chr(117) + chr(116) + chr(102) + chr(0b100111 + 0o6) + chr(0b111000))] == roI3spqORKae(ES5oEprVxulp(b''), chr(100) + '\145' + chr(99) + chr(1408 - 1297) + '\x64' + '\145')(chr(117) + chr(12780 - 12664) + chr(9249 - 9147) + chr(0b101101) + '\x38'):
BJHTQz9J5KMr = roI3spqORKae(ES5oEprVxulp(b'\xf4'), '\x64' + chr(7527 - 7426) + '\x63' + chr(0b111101 + 0o62) + chr(664 - 564) + chr(845 - 744))('\x75' + chr(0b10101 + 0o137) + '\x66' + '\055' + chr(0b1110 + 0o52))
ayTBaXkHW6dY = GAGkgZwp3WGn
if ayTBaXkHW6dY:
if roI3spqORKae(ES5oEprVxulp(b'\xfb_D\xfc`\x12\x9c\x16\x15\xd2vX'), chr(100) + chr(101) + '\143' + chr(0b1101111) + chr(0b1100100) + '\145')(chr(117) + chr(9435 - 9319) + chr(0b1100011 + 0o3) + '\055' + chr(0b11011 + 0o35)) in H4NoA26ON7iG(roI3spqORKae(UyhVHm6iL58s, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), '\x64' + chr(0b1011111 + 0o6) + chr(0b1100011) + chr(0b1101111) + chr(8437 - 8337) + '\x65')('\x75' + chr(116) + '\x66' + chr(0b101101) + chr(56)))()) and roI3spqORKae(UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xfb_D\xfc`\x12\x9c\x16\x15\xd2vX'), '\144' + chr(4494 - 4393) + chr(0b1100011) + chr(5518 - 5407) + '\x64' + chr(0b1100101))(chr(0b1110101) + chr(9863 - 9747) + chr(0b1100110) + chr(0b101101) + chr(56))], roI3spqORKae(ES5oEprVxulp(b'\xfd^y\xd0}\x15\xb4/.\xf5`\x1e'), chr(0b1100100) + chr(4480 - 4379) + '\x63' + chr(0b1101111) + chr(100) + chr(101))(chr(0b1100010 + 0o23) + chr(0b1000010 + 0o62) + '\146' + '\x2d' + chr(56)))() != roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(0b111011 + 0o52) + '\143' + '\x6f' + chr(0b1100100) + chr(101))(chr(9565 - 9448) + chr(116) + '\146' + '\055' + chr(0b1000 + 0o60)):
ayTBaXkHW6dY = ayTBaXkHW6dY + roI3spqORKae(ES5oEprVxulp(b'\xac'), chr(100) + chr(0b11001 + 0o114) + '\143' + chr(3109 - 2998) + chr(0b1001101 + 0o27) + '\x65')(chr(0b111000 + 0o75) + chr(116) + chr(8411 - 8309) + chr(45) + chr(0b110010 + 0o6)) + UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xfb_D\xfc`\x12\x9c\x16\x15\xd2vX'), '\144' + chr(0b1100101) + '\x63' + '\157' + chr(0b1100100) + chr(0b1100101))(chr(2367 - 2250) + chr(10150 - 10034) + chr(2100 - 1998) + chr(0b101101 + 0o0) + chr(0b11110 + 0o32))]
elif roI3spqORKae(ES5oEprVxulp(b'\xfb_D\xfc`\x12\x9c\x16\x15\xd2vX'), '\144' + '\145' + '\x63' + '\157' + chr(0b1100100) + chr(8035 - 7934))(chr(0b1110101) + '\x74' + chr(102) + '\055' + chr(176 - 120)) in H4NoA26ON7iG(roI3spqORKae(UyhVHm6iL58s, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), '\x64' + '\x65' + '\x63' + chr(6118 - 6007) + chr(0b1100100) + chr(0b1001100 + 0o31))(chr(0b1010111 + 0o36) + chr(0b1010001 + 0o43) + '\x66' + chr(0b101101) + chr(56)))()) and roI3spqORKae(UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xfb_D\xfc`\x12\x9c\x16\x15\xd2vX'), chr(8899 - 8799) + '\x65' + chr(0b100 + 0o137) + chr(111) + chr(2574 - 2474) + chr(0b1100101))(chr(0b1000001 + 0o64) + '\x74' + '\x66' + '\x2d' + chr(0b111000))], roI3spqORKae(ES5oEprVxulp(b'\xfd^y\xd0}\x15\xb4/.\xf5`\x1e'), chr(0b10110 + 0o116) + chr(2027 - 1926) + '\143' + chr(0b100100 + 0o113) + '\x64' + '\x65')(chr(117) + '\x74' + '\146' + '\x2d' + '\070'))() != roI3spqORKae(ES5oEprVxulp(b''), '\144' + '\145' + chr(99) + chr(0b1101111) + chr(100) + chr(101))('\x75' + '\164' + chr(0b1100110) + chr(0b10110 + 0o27) + chr(56)):
ayTBaXkHW6dY = UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xfb_D\xfc`\x12\x9c\x16\x15\xd2vX'), chr(0b1101 + 0o127) + chr(0b110111 + 0o56) + '\143' + chr(111) + chr(0b1100100) + chr(0b1001011 + 0o32))('\165' + chr(5887 - 5771) + '\146' + chr(45) + chr(56))]
wXNZi6rDt0jg = ayTBaXkHW6dY.replace(roI3spqORKae(ES5oEprVxulp(b'\xb6'), chr(0b100101 + 0o77) + chr(101) + chr(0b1000011 + 0o40) + '\x6f' + chr(0b1100100) + chr(4426 - 4325))(chr(0b110010 + 0o103) + chr(116) + chr(102) + chr(0b101101) + '\x38'), roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(0b1 + 0o144) + '\143' + chr(111) + chr(0b1100100) + chr(0b110101 + 0o60))(chr(0b1000011 + 0o62) + '\x74' + chr(7396 - 7294) + '\x2d' + chr(0b111000))).LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\xac'), '\x64' + chr(405 - 304) + '\x63' + chr(111) + chr(0b1100100) + chr(0b1010111 + 0o16))('\x75' + chr(0b1110100) + '\x66' + chr(45) + chr(0b10000 + 0o50)))
OLUXKZpnHNQT = UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x1b\x1b\xdbv'), chr(0b1100100) + chr(0b1100101) + chr(99) + '\x6f' + chr(9417 - 9317) + chr(0b11110 + 0o107))('\x75' + chr(0b1110100) + chr(0b100 + 0o142) + '\055' + chr(1161 - 1105))]
if OLUXKZpnHNQT in H4NoA26ON7iG(roI3spqORKae(xIoiGbhaDLaE, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), '\144' + '\145' + '\x63' + chr(0b1101111) + chr(100) + chr(0b1010111 + 0o16))('\165' + chr(0b1000101 + 0o57) + '\146' + '\x2d' + '\070'))()):
vjSf3KcmHqk7 = xIoiGbhaDLaE[OLUXKZpnHNQT][-nzTpIcepk0o8(chr(1792 - 1744) + chr(111) + '\061', 8)]
fGxDbmBdBlCw = vjSf3KcmHqk7
else:
vjSf3KcmHqk7 = {}
fGxDbmBdBlCw = {}
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xf3Ho\xf7f\x02\xa2\x01\x13\xd9}t\x83G\x8c\xc8\xb8'), chr(0b1100100) + chr(101) + chr(0b100100 + 0o77) + '\157' + '\x64' + chr(0b10100 + 0o121))(chr(0b1000101 + 0o60) + '\164' + chr(0b10111 + 0o117) + chr(0b101101) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\xc2RY\xe7/\x05\xb7\x00\x1e\xcf'), chr(0b1010000 + 0o24) + chr(9294 - 9193) + '\143' + '\x6f' + chr(0b10100 + 0o120) + '\145')('\165' + chr(116) + '\146' + chr(45) + chr(0b101110 + 0o12))
for QYodcsDtoGq7 in [roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x1c\x1d\xc5}'), chr(100) + '\x65' + chr(696 - 597) + chr(111) + '\x64' + chr(0b110000 + 0o65))(chr(438 - 321) + chr(8422 - 8306) + chr(8097 - 7995) + chr(0b101101) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x01\x1f\xceg^\x9fC'), chr(100) + '\145' + chr(4547 - 4448) + chr(623 - 512) + '\144' + chr(101))('\x75' + chr(0b101100 + 0o110) + chr(0b10001 + 0o125) + '\055' + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x16\x15\xd9\x7fB\x83A\xbe\xdf\xaaLb'), '\x64' + chr(349 - 248) + chr(1624 - 1525) + chr(0b1101111) + chr(8596 - 8496) + chr(7265 - 7164))(chr(117) + chr(13007 - 12891) + '\146' + chr(45) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xf5U_\xf8f\x18\xa4*\x08\xd7gN\xb2E\x8e\xdf\xb9'), chr(100) + chr(5098 - 4997) + chr(0b10010 + 0o121) + chr(0b1101111) + chr(7328 - 7228) + chr(101))(chr(12221 - 12104) + chr(7373 - 7257) + '\146' + chr(562 - 517) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xf5U_\xf8f\x18\xa4*\x08\xd7gN\xb2K\x82\xc9'), chr(0b1100100) + '\x65' + chr(0b1011110 + 0o5) + '\x6f' + chr(382 - 282) + chr(1199 - 1098))('\165' + chr(7182 - 7066) + chr(102) + '\x2d' + chr(0b10001 + 0o47))]:
pXwvT17vr09s = UyhVHm6iL58s.GUKetu4xaGsJ(QYodcsDtoGq7, roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(0b1100101) + chr(0b1100011) + '\157' + chr(100) + chr(0b1100101))(chr(0b100111 + 0o116) + '\164' + chr(0b1100110) + chr(1811 - 1766) + '\x38'))
if pXwvT17vr09s:
fGxDbmBdBlCw[QYodcsDtoGq7] = pXwvT17vr09s
elif QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(vjSf3KcmHqk7, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), chr(100) + chr(9737 - 9636) + '\x63' + chr(5979 - 5868) + '\x64' + chr(101))(chr(117) + '\164' + chr(102) + chr(1466 - 1421) + chr(0b10001 + 0o47)))()):
fGxDbmBdBlCw[QYodcsDtoGq7] = vjSf3KcmHqk7[QYodcsDtoGq7]
else:
fGxDbmBdBlCw[QYodcsDtoGq7] = roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(101) + '\x63' + '\x6f' + chr(0b1100100) + chr(101))('\x75' + '\164' + chr(102) + chr(0b101101) + '\070')
if fvpyocDTQ9QD != roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(0b1100101) + '\143' + '\x6f' + '\144' + '\x65')(chr(0b101110 + 0o107) + chr(5290 - 5174) + '\x66' + chr(1393 - 1348) + chr(56)):
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xf3Ho\xf8`\x15\xa2\x01\x13\xd9}t\x83G\x8c\xc8'), '\144' + chr(0b1100101) + chr(0b1100011) + '\x6f' + chr(0b100111 + 0o75) + '\145')(chr(6937 - 6820) + '\164' + '\x66' + chr(0b101101) + '\070')] = fvpyocDTQ9QD
elif roI3spqORKae(ES5oEprVxulp(b'\xf3Ho\xf8`\x15\xa2\x01\x13\xd9}t\x83G\x8c\xc8'), chr(0b1101 + 0o127) + chr(101) + chr(0b1101 + 0o126) + chr(0b11010 + 0o125) + chr(0b110010 + 0o62) + '\x65')(chr(0b1101010 + 0o13) + '\164' + '\x66' + chr(0b101101) + chr(56)) in H4NoA26ON7iG(roI3spqORKae(vjSf3KcmHqk7, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), chr(5838 - 5738) + chr(0b1101 + 0o130) + chr(0b1100011) + chr(111) + chr(0b110000 + 0o64) + chr(0b1001 + 0o134))('\x75' + '\164' + chr(0b1100110) + '\055' + chr(0b101111 + 0o11)))()):
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xf3Ho\xf8`\x15\xa2\x01\x13\xd9}t\x83G\x8c\xc8'), chr(0b1010011 + 0o21) + chr(101) + chr(0b1100011) + chr(111) + chr(0b1100100) + '\x65')(chr(117) + '\164' + '\x66' + chr(0b101101) + chr(0b111000))] = vjSf3KcmHqk7[roI3spqORKae(ES5oEprVxulp(b'\xf3Ho\xf8`\x15\xa2\x01\x13\xd9}t\x83G\x8c\xc8'), chr(100) + '\145' + chr(99) + chr(111) + '\x64' + chr(0b1100101))(chr(117) + chr(116) + chr(4599 - 4497) + '\x2d' + '\070')]
else:
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xf3Ho\xf8`\x15\xa2\x01\x13\xd9}t\x83G\x8c\xc8'), chr(0b101100 + 0o70) + chr(0b1100101) + chr(99) + chr(7693 - 7582) + chr(0b10100 + 0o120) + chr(0b110100 + 0o61))('\x75' + '\x74' + '\x66' + chr(0b101101) + chr(2503 - 2447))] = roI3spqORKae(ES5oEprVxulp(b''), chr(0b101010 + 0o72) + '\x65' + '\143' + '\x6f' + '\x64' + chr(6020 - 5919))(chr(0b111010 + 0o73) + chr(0b1110100) + chr(9302 - 9200) + chr(0b101101) + chr(0b10110 + 0o42))
for QYodcsDtoGq7 in [roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x1d\x1f\xdftC\x99'), '\144' + chr(8806 - 8705) + '\x63' + chr(9733 - 9622) + '\x64' + chr(5651 - 5550))(chr(0b1110101) + chr(0b1110100) + chr(0b101011 + 0o73) + chr(0b100011 + 0o12) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xf3Ho\xe7n\x1b\xb3\x19\x1f\xe9rG\x99C\x93\xc3\xaaLn\xa6\xd2T'), chr(100) + chr(101) + chr(99) + '\157' + chr(100) + '\x65')(chr(117) + '\x74' + chr(3706 - 3604) + chr(45) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x1a\x08\xdfvE\x99G\x95\xc4\xa4VX\xb6\xdbF\xf9'), chr(0b1100100) + chr(7728 - 7627) + chr(3304 - 3205) + chr(2568 - 2457) + chr(0b1100100) + chr(101))(chr(0b1001100 + 0o51) + chr(116) + chr(102) + '\x2d' + chr(866 - 810))]:
if QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(UyhVHm6iL58s, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), '\144' + chr(101) + chr(0b1011011 + 0o10) + chr(0b110100 + 0o73) + chr(5681 - 5581) + '\145')('\165' + chr(0b111000 + 0o74) + chr(0b100100 + 0o102) + chr(0b1010 + 0o43) + chr(0b11011 + 0o35)))()) and UyhVHm6iL58s[QYodcsDtoGq7] != roI3spqORKae(ES5oEprVxulp(b''), chr(8984 - 8884) + chr(5006 - 4905) + chr(0b1100011) + '\x6f' + chr(0b1100100) + chr(101))('\x75' + chr(0b111010 + 0o72) + '\146' + chr(45) + chr(0b11010 + 0o36)):
fGxDbmBdBlCw[QYodcsDtoGq7] = UyhVHm6iL58s[QYodcsDtoGq7]
elif QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(vjSf3KcmHqk7, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), chr(0b1010010 + 0o22) + chr(101) + chr(0b1100011) + '\157' + chr(2991 - 2891) + chr(0b110001 + 0o64))('\x75' + '\164' + chr(102) + chr(0b101101) + '\070'))()):
fGxDbmBdBlCw[QYodcsDtoGq7] = vjSf3KcmHqk7[QYodcsDtoGq7]
else:
fGxDbmBdBlCw[QYodcsDtoGq7] = roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(0b1 + 0o144) + chr(2760 - 2661) + '\157' + '\x64' + '\x65')('\x75' + chr(0b111 + 0o155) + chr(102) + chr(0b101101) + '\070')
for QYodcsDtoGq7 in [roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x16\x16\xd7`X'), chr(100) + chr(101) + chr(0b1100011) + '\157' + chr(100) + '\x65')('\165' + '\164' + '\x66' + '\055' + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x19\x13\xc2{D\x81I\x86\xd4'), chr(0b1100100) + '\x65' + chr(99) + chr(8397 - 8286) + chr(0b1011000 + 0o14) + chr(7051 - 6950))(chr(0b1110101) + chr(0b1011110 + 0o26) + chr(6158 - 6056) + chr(0b101101) + chr(1137 - 1081)), roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x01\x03\xc6v'), '\x64' + chr(7059 - 6958) + chr(8535 - 8436) + chr(5013 - 4902) + chr(0b100100 + 0o100) + chr(101))(chr(12335 - 12218) + chr(0b1010011 + 0o41) + '\x66' + '\x2d' + chr(0b111000))]:
if QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(UyhVHm6iL58s, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), chr(0b1100100) + '\145' + '\x63' + chr(0b1101111) + '\144' + '\145')('\165' + chr(9725 - 9609) + chr(2370 - 2268) + chr(0b101101) + '\x38'))()) and UyhVHm6iL58s[QYodcsDtoGq7] != roI3spqORKae(ES5oEprVxulp(b''), chr(6667 - 6567) + chr(0b1100101) + chr(99) + '\x6f' + '\144' + chr(0b1100101))(chr(0b1110101) + chr(0b1000011 + 0o61) + chr(2363 - 2261) + '\x2d' + chr(56)) and (UyhVHm6iL58s[QYodcsDtoGq7] != roI3spqORKae(ES5oEprVxulp(b'\xd8UD\xb4\\\x06\xa6\x16\x13\xd0zN\x89'), chr(9091 - 8991) + '\145' + '\143' + '\157' + chr(0b1100100) + '\x65')('\x75' + '\164' + chr(102) + chr(0b1001 + 0o44) + chr(225 - 169))):
fGxDbmBdBlCw[QYodcsDtoGq7] = UyhVHm6iL58s[QYodcsDtoGq7]
elif QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(vjSf3KcmHqk7, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), chr(100) + chr(0b101100 + 0o71) + '\x63' + chr(0b10000 + 0o137) + chr(0b1100100) + chr(0b10101 + 0o120))('\x75' + chr(0b1110100) + '\x66' + chr(45) + chr(56)))()) and vjSf3KcmHqk7[QYodcsDtoGq7] != roI3spqORKae(ES5oEprVxulp(b''), chr(1620 - 1520) + '\x65' + chr(0b1100011) + chr(0b110101 + 0o72) + chr(0b1011100 + 0o10) + chr(0b111000 + 0o55))(chr(117) + chr(2710 - 2594) + chr(1059 - 957) + '\x2d' + '\x38') and (vjSf3KcmHqk7[QYodcsDtoGq7] != roI3spqORKae(ES5oEprVxulp(b'\xd8UD\xb4\\\x06\xa6\x16\x13\xd0zN\x89'), '\144' + chr(6947 - 6846) + chr(0b1010011 + 0o20) + chr(0b1101111) + chr(0b1100100) + chr(101))(chr(0b1100111 + 0o16) + '\x74' + chr(102) + chr(45) + chr(0b100000 + 0o30))):
fGxDbmBdBlCw[QYodcsDtoGq7] = vjSf3KcmHqk7[QYodcsDtoGq7]
else:
fGxDbmBdBlCw[QYodcsDtoGq7] = roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(5366 - 5265) + chr(0b1100011) + '\x6f' + chr(100) + '\145')('\165' + chr(0b1010101 + 0o37) + chr(102) + '\055' + '\x38')
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xf3Ho\xe7n\x1b\xb3\x19\x1f\xe9}J\x80C'), '\144' + chr(7925 - 7824) + '\x63' + chr(0b1101111) + chr(100) + chr(0b101001 + 0o74))(chr(117) + '\164' + chr(0b1001110 + 0o30) + chr(45) + chr(0b111000))] = UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x1b\x1b\xdbv'), chr(0b101 + 0o137) + chr(0b1100 + 0o131) + chr(99) + chr(0b1101111) + chr(0b1100011 + 0o1) + '\x65')(chr(0b100110 + 0o117) + chr(0b1110100) + chr(5700 - 5598) + chr(0b101101) + chr(2222 - 2166))]
if roI3spqORKae(ES5oEprVxulp(b'\xdf}c\xda'), chr(741 - 641) + chr(0b100001 + 0o104) + chr(7846 - 7747) + chr(111) + chr(100) + '\145')(chr(0b1001101 + 0o50) + chr(0b1110100) + chr(0b1100110) + chr(140 - 95) + chr(0b111000)) in H4NoA26ON7iG(roI3spqORKae(UyhVHm6iL58s, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), chr(100) + chr(0b1100101) + chr(99) + chr(0b1101111) + chr(100) + chr(0b110011 + 0o62))('\x75' + chr(0b110010 + 0o102) + chr(102) + '\x2d' + '\070'))()):
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x1c\x1d\xc5}'), chr(0b1011111 + 0o5) + '\145' + chr(0b1100011) + chr(111) + '\x64' + chr(4254 - 4153))(chr(0b1110101) + '\x74' + chr(0b1100110) + chr(45) + '\x38')] = UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xdf}c\xda'), chr(602 - 502) + chr(0b100111 + 0o76) + chr(0b1100011) + chr(0b1101111) + chr(4292 - 4192) + chr(101))('\165' + '\x74' + chr(102) + '\055' + '\x38')]
else:
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x1c\x1d\xc5}'), chr(0b1110 + 0o126) + '\x65' + '\143' + '\157' + '\x64' + chr(0b101101 + 0o70))(chr(117) + chr(116) + chr(0b1100110) + chr(0b11011 + 0o22) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(101) + chr(0b1100011) + chr(111) + chr(1419 - 1319) + chr(0b1001110 + 0o27))(chr(8390 - 8273) + '\164' + chr(0b1100101 + 0o1) + '\x2d' + '\070')
(fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x17\x1f\xd2LO\x84V\xbe\xc9\xa2Jb\xb3\xc3N\xf14'), '\x64' + '\145' + chr(0b1100011) + chr(111) + chr(7633 - 7533) + chr(2615 - 2514))('\165' + '\x74' + chr(0b1100110) + '\055' + chr(0b100110 + 0o22))], fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x17\x1f\xd2LO\x84V'), chr(6943 - 6843) + chr(101) + chr(9479 - 9380) + '\157' + chr(8581 - 8481) + '\145')('\165' + '\x74' + '\146' + chr(973 - 928) + chr(705 - 649))]) = (roI3spqORKae(ES5oEprVxulp(b''), '\144' + '\x65' + chr(4370 - 4271) + chr(0b101010 + 0o105) + chr(8651 - 8551) + '\x65')(chr(0b1111 + 0o146) + chr(0b1110100) + chr(3674 - 3572) + chr(0b101010 + 0o3) + chr(0b111 + 0o61)), roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(4131 - 4030) + chr(6465 - 6366) + chr(111) + chr(100) + chr(0b111000 + 0o55))(chr(12069 - 11952) + chr(6175 - 6059) + chr(102) + chr(45) + chr(0b11000 + 0o40)))
wQI2PxGBYMEh = UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x1b\x1b\xdbv'), '\144' + chr(420 - 319) + chr(0b1100011) + '\157' + chr(0b110010 + 0o62) + chr(0b1011101 + 0o10))('\165' + chr(0b1010100 + 0o40) + '\x66' + chr(45) + chr(0b111000))]
if UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xfb[W\xcbn\x0c\xaa\x18\x0f\xc2{'), chr(319 - 219) + '\145' + chr(0b1100011) + chr(0b1000000 + 0o57) + '\144' + chr(101))(chr(6428 - 6311) + chr(116) + '\x66' + chr(0b100000 + 0o15) + chr(0b11 + 0o65))] == roI3spqORKae(ES5oEprVxulp(b''), '\x64' + '\145' + chr(8891 - 8792) + chr(8070 - 7959) + chr(9774 - 9674) + '\x65')('\x75' + '\164' + chr(0b1100110) + chr(45) + '\070') and UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xf0SU\xf8k)\xa7\x1c\n'), '\144' + chr(101) + chr(9036 - 8937) + chr(0b1000 + 0o147) + chr(0b1100100) + '\x65')('\x75' + '\164' + '\x66' + chr(1713 - 1668) + chr(0b111000))] != roI3spqORKae(ES5oEprVxulp(b''), '\144' + '\145' + chr(0b1011110 + 0o5) + chr(0b1101111) + chr(5146 - 5046) + chr(101))('\165' + chr(0b1111 + 0o145) + '\x66' + chr(45) + chr(2020 - 1964)):
UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xfb[W\xcbn\x0c\xaa\x18\x0f\xc2{'), '\x64' + '\145' + chr(0b1100011) + '\157' + '\144' + chr(101))(chr(0b1110101) + chr(0b111100 + 0o70) + chr(102) + '\055' + chr(0b10010 + 0o46))] = roI3spqORKae(ES5oEprVxulp(b'\xaf\x03\t'), chr(100) + chr(1291 - 1190) + chr(2459 - 2360) + chr(3750 - 3639) + chr(100) + '\x65')(chr(117) + chr(9244 - 9128) + chr(6917 - 6815) + chr(0b111 + 0o46) + '\070')
if UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xfb[W\xcbn\x0c\xaa\x18\x0f\xc2{'), chr(0b1000 + 0o134) + chr(0b100 + 0o141) + '\x63' + '\x6f' + chr(8737 - 8637) + chr(4974 - 4873))(chr(117) + '\x74' + chr(0b1100110) + chr(0b100111 + 0o6) + chr(56))] != roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(101) + '\x63' + chr(0b1101111) + '\144' + chr(101))(chr(0b1110101) + '\x74' + chr(0b10101 + 0o121) + chr(0b101101) + '\070'):
(AYp3Wcm9ZPZb, FBMbdpra8r3H) = hUcsWwAd0nE_.orient(jLW6pRf2DSRk(UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xfb[W\xcbn\x0c\xaa\x18\x0f\xc2{'), chr(0b100111 + 0o75) + chr(101) + chr(0b1100011) + '\157' + '\144' + chr(101))('\165' + '\164' + '\x66' + chr(738 - 693) + chr(0b10011 + 0o45))]), jLW6pRf2DSRk(UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xf0SU\xf8k)\xa7\x1c\n'), chr(194 - 94) + chr(101) + '\x63' + chr(0b1101111) + chr(100) + chr(0b1000 + 0o135))(chr(1545 - 1428) + chr(0b1100110 + 0o16) + '\146' + chr(308 - 263) + chr(0b111000))]), NNwYJkefQ0vs)
if AYp3Wcm9ZPZb < nzTpIcepk0o8(chr(2063 - 2015) + chr(111) + '\060', 8):
AYp3Wcm9ZPZb += 360.0
else:
(AYp3Wcm9ZPZb, FBMbdpra8r3H) = (roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(0b1000011 + 0o42) + chr(9519 - 9420) + chr(7330 - 7219) + '\x64' + '\145')(chr(0b1110101) + chr(116) + '\146' + chr(0b101101) + chr(2928 - 2872)), roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(9403 - 9302) + '\x63' + chr(0b1101101 + 0o2) + '\144' + chr(101))('\x75' + chr(10701 - 10585) + chr(0b1001000 + 0o36) + chr(0b100011 + 0o12) + '\x38'))
if UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xfb[W\xcbn\x0c\xaa\x18\x0f\xc2{'), chr(0b1010110 + 0o16) + chr(0b1100101) + chr(0b110100 + 0o57) + chr(111) + chr(0b1001100 + 0o30) + chr(101))(chr(117) + '\x74' + chr(102) + chr(886 - 841) + chr(2455 - 2399))] == roI3spqORKae(ES5oEprVxulp(b'\xaf\x03\t'), chr(0b1100100) + '\145' + chr(9749 - 9650) + chr(111) + chr(0b1100100) + chr(101))(chr(0b1110101) + '\x74' + chr(102) + chr(0b101101) + chr(2732 - 2676)):
AYp3Wcm9ZPZb = roI3spqORKae(ES5oEprVxulp(b''), '\x64' + '\145' + chr(99) + chr(0b1101111) + chr(0b1100100) + '\x65')(chr(6195 - 6078) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(56))
if roI3spqORKae(ES5oEprVxulp(b'\xd1jc\xcbm\x17\xb0\x10\x16\xdf}N'), chr(0b1100100) + chr(0b100111 + 0o76) + '\143' + chr(0b1101111) + '\x64' + chr(0b1100101))(chr(5684 - 5567) + chr(0b1110100) + chr(0b1100110) + chr(0b11011 + 0o22) + chr(2138 - 2082)) in H4NoA26ON7iG(roI3spqORKae(UyhVHm6iL58s, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), '\144' + chr(101) + chr(99) + chr(0b100110 + 0o111) + chr(0b1100100) + '\145')(chr(1636 - 1519) + chr(0b111 + 0o155) + '\146' + chr(0b101101) + chr(0b111000)))()) and UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xd1jc\xcbm\x17\xb0\x10\x16\xdf}N'), chr(0b1100100) + chr(101) + '\143' + chr(0b1101111) + chr(100) + '\x65')(chr(3536 - 3419) + chr(0b1011010 + 0o32) + chr(102) + chr(0b101101) + chr(0b101110 + 0o12))] != roI3spqORKae(ES5oEprVxulp(b''), chr(7316 - 7216) + chr(0b111011 + 0o52) + chr(0b0 + 0o143) + chr(3199 - 3088) + chr(0b0 + 0o144) + chr(0b101110 + 0o67))(chr(117) + chr(0b1100111 + 0o15) + chr(898 - 796) + '\x2d' + chr(56)):
oy1pnc8Ob7r3 = UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xd1jc\xcbm\x17\xb0\x10\x16\xdf}N'), chr(0b110101 + 0o57) + '\x65' + chr(0b1010111 + 0o14) + chr(0b111111 + 0o60) + '\x64' + chr(0b10111 + 0o116))(chr(0b1110101) + chr(0b1110100) + '\x66' + chr(0b101101) + chr(56))]
if oy1pnc8Ob7r3 != roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(101) + chr(9782 - 9683) + '\157' + '\144' + '\145')('\x75' + '\x74' + chr(9302 - 9200) + chr(991 - 946) + chr(2769 - 2713)):
MTyn84g1yeEK = jLW6pRf2DSRk(oy1pnc8Ob7r3)
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xf3Ho\xe7l\x1f\xa6\x1b\x0e\xdf`_\xb2K\x80\xc4\xa7gi\xb1\xdaB\xed'), chr(100) + chr(0b1100101) + '\143' + chr(0b111 + 0o150) + '\144' + chr(0b1100101))(chr(0b1110101) + '\164' + chr(102) + '\055' + '\x38')] = UyhVHm6iL58s.GUKetu4xaGsJ(roI3spqORKae(ES5oEprVxulp(b'\xe6[B\xe0f\x15\xaa\x05\x1b\xd8gX'), '\144' + chr(0b1100101) + chr(3041 - 2942) + '\x6f' + chr(0b1100100 + 0o0) + chr(2571 - 2470))(chr(0b1110101) + chr(0b101 + 0o157) + '\146' + chr(1023 - 978) + '\070'), roI3spqORKae(ES5oEprVxulp(b''), chr(9052 - 8952) + '\145' + chr(0b1100011) + chr(0b1101111) + '\144' + '\145')('\x75' + '\164' + chr(102) + '\x2d' + chr(337 - 281)))
DjGBJVOtzCfP = UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xfa[D'), chr(100) + '\x65' + chr(0b1100011) + chr(7805 - 7694) + chr(100) + chr(0b1100101))(chr(3531 - 3414) + '\164' + '\x66' + chr(45) + chr(0b111000))]
if DjGBJVOtzCfP != roI3spqORKae(ES5oEprVxulp(b''), chr(0b1011 + 0o131) + '\x65' + '\x63' + chr(111) + chr(0b1011110 + 0o6) + chr(0b111001 + 0o54))('\165' + chr(0b1110100) + '\x66' + chr(0b100100 + 0o11) + chr(0b10110 + 0o42)):
Wp2Umairw0XS = jLW6pRf2DSRk(DjGBJVOtzCfP)
if Wp2Umairw0XS == roI3spqORKae(ES5oEprVxulp(b''), '\x64' + '\145' + chr(99) + chr(6333 - 6222) + chr(0b1100100) + chr(101))('\x75' + chr(0b1110100) + '\146' + chr(0b101101) + chr(56)):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xd8U\x10\xf8n\x02\xaa\x01\x0f\xd2v\x0b\x9eV\x84\xce\xa2^n\xb5\xd3\x07\xf85\x8b\x03\xa28'), '\144' + chr(0b1100101) + chr(0b1100011) + '\157' + chr(100) + chr(101))(chr(11894 - 11777) + '\x74' + chr(0b100111 + 0o77) + '\055' + chr(0b110 + 0o62)), wQI2PxGBYMEh, roI3spqORKae(ES5oEprVxulp(b'\xb8\x1a|\xf5{\x1f\xb7\x00\x1e\xd33B\x9e\x06\x93\xc8\xbaMn\xa2\xd2C\xbe<\x96Q\xa3y\x85\xb3\xea"\x0b\x1a\xff`\xae$\xf5'), chr(7698 - 7598) + chr(2695 - 2594) + '\143' + '\x6f' + '\x64' + '\145')(chr(13379 - 13262) + '\x74' + '\146' + chr(81 - 36) + chr(1582 - 1526)))
return (nzTpIcepk0o8(chr(0b100 + 0o54) + '\157' + chr(0b110000), 8), roI3spqORKae(ES5oEprVxulp(b'\xd8U\x10\xf8n\x02\xaa\x01\x0f\xd2v\x0b\x9eV\x84\xce\xa2^n\xb5\xd3\x07\xf85\x8b\x03\xa28'), chr(8265 - 8165) + chr(0b1010110 + 0o17) + chr(99) + chr(0b10011 + 0o134) + '\144' + chr(101))('\165' + chr(0b1110010 + 0o2) + '\x66' + chr(45) + chr(464 - 408)) + wQI2PxGBYMEh + roI3spqORKae(ES5oEprVxulp(b'\xb8\x1a|\xf5{\x1f\xb7\x00\x1e\xd33B\x9e\x06\x93\xc8\xbaMn\xa2\xd2C\xbe<\x96Q\xa3y\x85\xb3\xea"\x0b\x1a\xff`\xae$\xf5'), chr(0b1100100) + chr(101) + '\143' + chr(111) + chr(100) + chr(101))(chr(0b1110101) + '\164' + chr(5415 - 5313) + '\055' + chr(56)))
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x19\x1b\xc2'), '\144' + chr(4110 - 4009) + chr(3312 - 3213) + chr(111) + chr(0b1100100) + chr(0b100101 + 0o100))(chr(0b1011100 + 0o31) + chr(5403 - 5287) + chr(0b100 + 0o142) + chr(0b1010 + 0o43) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\xb3\x0b\x01\xba:\x10'), chr(100) + chr(0b1011 + 0o132) + '\x63' + chr(0b1011111 + 0o20) + '\144' + '\x65')(chr(117) + chr(116) + '\146' + '\055' + chr(0b110 + 0o62)) % Wp2Umairw0XS
BzinHyZs12vy = UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xfaU^\xf3'), chr(100) + chr(101) + chr(0b1100011) + chr(0b1101111) + chr(100) + chr(101))(chr(11705 - 11588) + '\164' + '\x66' + '\055' + chr(443 - 387))]
if BzinHyZs12vy != roI3spqORKae(ES5oEprVxulp(b''), chr(4247 - 4147) + chr(0b1100101) + chr(99) + chr(6724 - 6613) + '\144' + chr(2286 - 2185))(chr(0b1110101) + '\x74' + '\x66' + chr(45) + chr(56)):
OSV4Uwkhpwk6 = jLW6pRf2DSRk(BzinHyZs12vy)
if OSV4Uwkhpwk6 == roI3spqORKae(ES5oEprVxulp(b''), chr(2115 - 2015) + chr(0b110100 + 0o61) + chr(0b110000 + 0o63) + chr(111) + chr(9183 - 9083) + '\x65')('\165' + chr(0b100100 + 0o120) + '\146' + chr(0b101101) + '\070'):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xd8U\x10\xf8`\x18\xa4\x1c\x0e\xc3wN\xcdU\x91\xc8\xa8Qa\xb9\xd2C\xbe<\x96Q\xa39\xc9'), '\x64' + chr(0b1100101) + chr(0b100001 + 0o102) + chr(1366 - 1255) + chr(1063 - 963) + chr(0b1100101))('\x75' + '\164' + chr(0b101110 + 0o70) + '\055' + chr(0b111000)), wQI2PxGBYMEh, roI3spqORKae(ES5oEprVxulp(b'\xb8\x1a|\xfba\x11\xaa\x01\x0f\xd2v\x0b\x84U\xc1\xdf\xaeIr\xb9\xc5B\xfaz\x9fL\xf18\x88\xb3\xa6q\x19\x16\xe2|\xa72\xa8\xf3'), '\144' + chr(0b1100101) + chr(2892 - 2793) + chr(0b1101111) + chr(0b1100100) + '\145')(chr(0b101000 + 0o115) + '\164' + '\x66' + '\055' + chr(0b111000)))
return (nzTpIcepk0o8('\x30' + chr(0b1101111) + '\060', 8), N9zlRy29S1SS(roI3spqORKae(ES5oEprVxulp(b'\xd8U\x10\xf8`\x18\xa4\x1c\x0e\xc3wN\xcdU\x91\xc8\xa8Qa\xb9\xd2C\xbe<\x96Q\xa39\xc9'), chr(100) + '\x65' + '\143' + chr(9753 - 9642) + '\144' + chr(101))('\165' + '\164' + '\x66' + chr(0b101101) + chr(56)) + wQI2PxGBYMEh + roI3spqORKae(ES5oEprVxulp(b'\xb8\x1a|\xfba\x11\xaa\x01\x0f\xd2v\x0b\x84U\xc1\xdf\xaeIr\xb9\xc5B\xfaz\x9fL\xf18\x88\xb3\xa6q\x19\x16\xe2|\xa72\xa8\xf3'), '\144' + chr(622 - 521) + chr(99) + '\157' + '\144' + '\145')(chr(117) + chr(4231 - 4115) + chr(0b10011 + 0o123) + '\x2d' + chr(0b111000))))
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x19\x15\xd8'), chr(0b1100100) + '\x65' + chr(5025 - 4926) + '\157' + chr(7422 - 7322) + chr(4744 - 4643))(chr(6434 - 6317) + chr(0b11111 + 0o125) + chr(0b1100110) + chr(0b100100 + 0o11) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\xb3\x0b\x01\xba:\x10'), '\144' + '\145' + '\x63' + chr(0b1010000 + 0o37) + chr(6397 - 6297) + '\145')(chr(0b1110101) + chr(3997 - 3881) + '\146' + chr(1925 - 1880) + chr(56)) % OSV4Uwkhpwk6
if roI3spqORKae(ES5oEprVxulp(b'\xf4_T\xf0f\x18\xa4*\x1e\xdfct\x89O\x93\xc8\xa8Ln\xbf\xd9'), '\x64' + '\145' + chr(0b1100011) + chr(0b10000 + 0o137) + '\x64' + chr(0b1100101))('\165' + '\164' + '\146' + chr(0b100110 + 0o7) + '\x38') in H4NoA26ON7iG(roI3spqORKae(UyhVHm6iL58s, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), chr(100) + chr(0b1100101) + chr(0b111011 + 0o50) + chr(111) + '\x64' + chr(101))(chr(117) + chr(0b1110100) + chr(9673 - 9571) + '\x2d' + chr(56)))()):
TbPQJo7BGCb_ = UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xf4_T\xf0f\x18\xa4*\x1e\xdfct\x89O\x93\xc8\xa8Ln\xbf\xd9'), chr(0b1100100) + '\145' + chr(99) + chr(8711 - 8600) + '\x64' + chr(0b11110 + 0o107))(chr(8794 - 8677) + chr(116) + '\146' + chr(0b101101) + '\x38')]
if TbPQJo7BGCb_ != roI3spqORKae(ES5oEprVxulp(b''), chr(9311 - 9211) + chr(0b1100101) + chr(99) + '\157' + '\x64' + '\145')(chr(0b1000100 + 0o61) + chr(0b1100001 + 0o23) + chr(0b1100110) + '\x2d' + chr(3032 - 2976)):
fg9AQp1Lx92T = UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xf4_T\xf0f\x18\xa4*\x1e\xdfct\x89O\x93\xc8\xa8Ln\xbf\xd9'), chr(0b1100100) + chr(0b101100 + 0o71) + chr(5408 - 5309) + chr(111) + '\144' + chr(0b1100101))(chr(0b1000001 + 0o64) + '\x74' + chr(8032 - 7930) + chr(377 - 332) + chr(0b101000 + 0o20))]
if roI3spqORKae(ES5oEprVxulp(b'\xf4_T\xf0f\x18\xa4*\x1e\xdfc'), chr(100) + chr(7372 - 7271) + chr(2268 - 2169) + chr(7567 - 7456) + chr(100) + chr(0b100010 + 0o103))(chr(8128 - 8011) + '\x74' + chr(7584 - 7482) + chr(0b101101) + '\070') in H4NoA26ON7iG(roI3spqORKae(UyhVHm6iL58s, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), chr(100) + '\x65' + chr(5282 - 5183) + chr(0b11110 + 0o121) + '\x64' + '\145')(chr(0b1110101) + '\164' + chr(0b1100110) + '\055' + chr(0b111000)))()):
yeQRuApQF8ds = UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xf4_T\xf0f\x18\xa4*\x1e\xdfc'), '\x64' + chr(0b1100101) + '\x63' + chr(0b1101111) + chr(100) + chr(101))('\x75' + chr(116) + chr(0b11100 + 0o112) + '\x2d' + '\x38')]
if yeQRuApQF8ds != roI3spqORKae(ES5oEprVxulp(b''), chr(841 - 741) + chr(7176 - 7075) + chr(7613 - 7514) + chr(8020 - 7909) + chr(100) + chr(0b1100101))('\165' + chr(8593 - 8477) + chr(102) + chr(702 - 657) + '\x38'):
jZ0612Zni4wb = UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xf4_T\xf0f\x18\xa4*\x1e\xdfc'), chr(100) + chr(101) + chr(9295 - 9196) + chr(0b1011011 + 0o24) + chr(0b1100100) + '\145')(chr(491 - 374) + '\164' + chr(7716 - 7614) + chr(0b11010 + 0o23) + '\070')]
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x17\x1f\xd2LO\x84V'), chr(0b1100100) + chr(649 - 548) + chr(2971 - 2872) + chr(0b1000000 + 0o57) + chr(0b1110 + 0o126) + chr(0b1011110 + 0o7))('\x75' + chr(0b1110100) + chr(0b11101 + 0o111) + '\055' + chr(56))] = jZ0612Zni4wb
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x17\x1f\xd2LO\x84V\xbe\xc9\xa2Jb\xb3\xc3N\xf14'), '\144' + chr(101) + chr(2446 - 2347) + '\x6f' + chr(100) + chr(101))(chr(117) + chr(0b1110100) + chr(0b1100110) + chr(45) + '\x38')] = fg9AQp1Lx92T
if FBMbdpra8r3H != roI3spqORKae(ES5oEprVxulp(b''), chr(4318 - 4218) + '\x65' + chr(7075 - 6976) + chr(111) + chr(100) + chr(0b1100101))('\x75' + chr(0b1110100) + chr(2196 - 2094) + chr(0b101101) + chr(0b111000)):
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x11\x13\xc6'), chr(0b100110 + 0o76) + chr(0b1100101) + chr(99) + chr(0b1101111) + chr(100) + chr(101))(chr(0b1110000 + 0o5) + '\x74' + '\146' + chr(334 - 289) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\xb3\r\x1e\xa5i'), chr(8436 - 8336) + chr(2302 - 2201) + chr(0b1100011) + chr(0b1101111) + chr(100) + chr(3190 - 3089))('\x75' + '\164' + chr(0b1100110) + '\055' + chr(650 - 594)) % FBMbdpra8r3H
else:
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x11\x13\xc6'), chr(100) + chr(0b1100101) + chr(0b1100011) + chr(111) + chr(100) + chr(101))(chr(117) + chr(0b111001 + 0o73) + '\146' + chr(78 - 33) + chr(0b100011 + 0o25))] = roI3spqORKae(ES5oEprVxulp(b''), chr(0b1000 + 0o134) + '\x65' + chr(0b1100011) + '\x6f' + chr(100) + chr(0b1100101))(chr(0b1110101) + chr(0b100010 + 0o122) + '\x66' + chr(0b100 + 0o51) + chr(0b111000))
if roI3spqORKae(ES5oEprVxulp(b'\xf2[D\xf1'), chr(0b1100100) + chr(0b110011 + 0o62) + chr(0b1010111 + 0o14) + '\x6f' + chr(100) + '\145')(chr(117) + '\x74' + chr(102) + '\x2d' + chr(940 - 884)) in H4NoA26ON7iG(roI3spqORKae(UyhVHm6iL58s, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), '\x64' + chr(0b101 + 0o140) + chr(5970 - 5871) + chr(594 - 483) + chr(100) + '\x65')('\165' + chr(2730 - 2614) + chr(9539 - 9437) + chr(1910 - 1865) + '\070'))()) and UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xf2[D\xf1'), chr(0b1100100) + chr(0b1100101) + '\143' + chr(0b1101111) + chr(6728 - 6628) + chr(101))(chr(0b1110101) + '\164' + chr(102) + '\x2d' + '\x38')] != roI3spqORKae(ES5oEprVxulp(b''), chr(0b1011101 + 0o7) + chr(0b100110 + 0o77) + '\x63' + chr(0b100101 + 0o112) + chr(0b1000011 + 0o41) + '\145')(chr(2699 - 2582) + chr(1326 - 1210) + '\146' + chr(0b101010 + 0o3) + '\x38'):
DCn6GHQZCRQ5 = UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xf2[D\xf1'), '\144' + chr(607 - 506) + '\143' + chr(10258 - 10147) + chr(6418 - 6318) + '\145')(chr(117) + chr(0b101000 + 0o114) + '\x66' + chr(0b100001 + 0o14) + '\070')]
if DCn6GHQZCRQ5 != roI3spqORKae(ES5oEprVxulp(b''), chr(5659 - 5559) + chr(101) + '\143' + '\x6f' + chr(0b1001110 + 0o26) + chr(101))(chr(0b1101110 + 0o7) + chr(0b10010 + 0o142) + chr(0b1001110 + 0o30) + chr(437 - 392) + '\070'):
Q4ZiDCds3gUR = DCn6GHQZCRQ5
MdcP3wX3arVj = Q4ZiDCds3gUR.LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\xb9'), chr(0b1100100) + chr(101) + '\x63' + '\x6f' + chr(8343 - 8243) + '\x65')(chr(0b1111 + 0o146) + chr(0b1110100) + chr(102) + chr(1654 - 1609) + '\x38'))
gmETemTYwe0s = nzTpIcepk0o8(MdcP3wX3arVj[nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b110010), 8)])
if gmETemTYwe0s > nzTpIcepk0o8(chr(2228 - 2180) + chr(0b1101111) + '\x36' + chr(1634 - 1584), 0b1000):
gmETemTYwe0s = nzTpIcepk0o8(chr(0b100011 + 0o15) + chr(10738 - 10627) + chr(2044 - 1993) + chr(0b110101) + chr(1676 - 1623) + chr(0b11101 + 0o27), 0b1000) + gmETemTYwe0s
else:
gmETemTYwe0s = nzTpIcepk0o8(chr(0b101111 + 0o1) + chr(3111 - 3000) + '\063' + chr(0b110100 + 0o3) + '\x32' + chr(0b110000), 0b1000) + gmETemTYwe0s
TTpgTDS5C4av = gmETemTYwe0s + SVfYwQaP38MC(jLW6pRf2DSRk(MdcP3wX3arVj[nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(48), 8)]), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(49) + '\064', 8))
RVb0UTiaf8sJ = roI3spqORKae(ES5oEprVxulp(b'\xb3S\n\xb1|L\xe6\x06'), chr(100) + chr(6431 - 6330) + '\x63' + '\x6f' + '\x64' + chr(101))(chr(0b110001 + 0o104) + chr(116) + chr(0b1100110) + chr(0b100000 + 0o15) + chr(0b110011 + 0o5)) % (gmETemTYwe0s, MdcP3wX3arVj[nzTpIcepk0o8('\060' + '\157' + '\x30', 8)], MdcP3wX3arVj[nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(1496 - 1447), 8)])
oprIvDIRQyCb = UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xfeR]\xf9'), chr(100) + chr(0b1010110 + 0o17) + chr(0b1010111 + 0o14) + chr(0b1101111) + chr(1098 - 998) + chr(101))('\165' + chr(0b1110100) + '\146' + chr(628 - 583) + '\x38')]
if oprIvDIRQyCb:
RVb0UTiaf8sJ += roI3spqORKae(ES5oEprVxulp(b'\xac'), '\144' + '\145' + chr(99) + chr(0b1101111) + chr(100) + '\x65')('\165' + chr(116) + '\146' + chr(0b101000 + 0o5) + chr(3085 - 3029)) + oprIvDIRQyCb
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x11\x1b\xc2v'), chr(100) + chr(0b1101 + 0o130) + chr(0b1010 + 0o131) + chr(0b100000 + 0o117) + chr(100) + chr(10058 - 9957))('\165' + chr(116) + chr(0b1011100 + 0o12) + chr(0b101101) + chr(0b101001 + 0o17))] = RVb0UTiaf8sJ.kdIDrcwZTCs5(roI3spqORKae(ES5oEprVxulp(b'\xac'), '\144' + chr(0b11011 + 0o112) + '\x63' + chr(0b1101111) + chr(9218 - 9118) + chr(0b101110 + 0o67))(chr(0b1110101) + chr(0b100100 + 0o120) + '\x66' + chr(1889 - 1844) + '\x38'))
if AYp3Wcm9ZPZb != roI3spqORKae(ES5oEprVxulp(b''), chr(100) + '\145' + chr(0b1100011) + chr(4981 - 4870) + chr(0b1000011 + 0o41) + chr(0b1010001 + 0o24))('\165' + chr(116) + '\146' + chr(0b101011 + 0o2) + chr(0b110110 + 0o2)):
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x14\x00\xdf~^\x99N'), chr(0b1100100) + '\x65' + chr(0b1100011) + chr(0b1101000 + 0o7) + chr(3792 - 3692) + '\x65')('\165' + chr(0b1110100) + chr(0b1100110) + '\x2d' + chr(56))] = roI3spqORKae(ES5oEprVxulp(b'\xb3\r\x1e\xa5i'), '\x64' + chr(0b110010 + 0o63) + '\x63' + '\x6f' + chr(0b1010111 + 0o15) + chr(0b1100101))(chr(10487 - 10370) + chr(0b1110100) + '\x66' + chr(0b101101) + chr(0b111000)) % AYp3Wcm9ZPZb
else:
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x14\x00\xdf~^\x99N'), '\x64' + '\145' + chr(0b101001 + 0o72) + chr(111) + chr(0b1100100) + '\145')('\x75' + chr(4628 - 4512) + chr(0b1100110) + '\055' + '\x38')] = roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(0b1100101) + '\143' + chr(0b1101111) + chr(100) + chr(101))(chr(7866 - 7749) + '\164' + chr(0b1100110) + chr(0b101101) + chr(0b11011 + 0o35))
if roI3spqORKae(ES5oEprVxulp(b'\xe5NB\xf5{\x1f\xa4\x07\x1b\xc6{B\x8ey\x89\xc8\xa2_o\xa4'), '\144' + '\145' + '\x63' + '\157' + chr(0b1100100) + chr(0b1100101))(chr(4703 - 4586) + '\x74' + '\x66' + '\055' + chr(56)) in H4NoA26ON7iG(roI3spqORKae(UyhVHm6iL58s, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), chr(0b1100100) + '\x65' + '\x63' + chr(111) + '\x64' + '\145')('\x75' + '\164' + '\146' + '\x2d' + chr(1503 - 1447)))()):
if UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xe5NB\xf5{\x1f\xa4\x07\x1b\xc6{B\x8ey\x89\xc8\xa2_o\xa4'), chr(100) + '\145' + chr(6850 - 6751) + chr(111) + '\144' + '\145')(chr(117) + '\x74' + '\x66' + '\x2d' + '\070')] != roI3spqORKae(ES5oEprVxulp(b''), '\x64' + '\x65' + chr(99) + chr(111) + chr(426 - 326) + '\145')('\165' + chr(0b1110100) + chr(0b1010110 + 0o20) + '\x2d' + '\x38'):
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x1d\x1f\xdftC\x99'), chr(100) + '\145' + chr(3891 - 3792) + '\x6f' + chr(0b1100100) + chr(0b1100101))(chr(117) + chr(116) + chr(0b1000 + 0o136) + chr(0b101101) + chr(0b111000))] = UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xe5NB\xf5{\x1f\xa4\x07\x1b\xc6{B\x8ey\x89\xc8\xa2_o\xa4'), chr(0b1100100) + chr(101) + chr(0b1100011) + '\x6f' + chr(8456 - 8356) + chr(101))('\x75' + chr(5767 - 5651) + chr(8828 - 8726) + chr(45) + chr(56))]
oFlZhqN6BvzT = UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xe5NB\xf5{\x1f\xa4\x07\x1b\xc6{B\x8ey\x89\xc8\xa2_o\xa4'), '\144' + chr(1343 - 1242) + '\x63' + chr(0b1101111) + chr(0b1100100) + '\145')(chr(7615 - 7498) + '\164' + '\146' + '\x2d' + '\x38')]
elif UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xe5NB\xf5{\x1f\xa4\x07\x1b\xc6{B\x8ey\x89\xc8\xa2_o\xa4'), chr(0b10101 + 0o117) + chr(101) + '\143' + '\157' + '\144' + chr(10026 - 9925))(chr(0b1110101) + chr(116) + chr(9304 - 9202) + '\055' + '\070')] == roI3spqORKae(ES5oEprVxulp(b'\xbb\x0b'), chr(5704 - 5604) + '\x65' + chr(0b100 + 0o137) + chr(5180 - 5069) + chr(3526 - 3426) + chr(0b1000110 + 0o37))(chr(0b111110 + 0o67) + chr(0b1001001 + 0o53) + chr(0b111101 + 0o51) + chr(0b101101) + chr(729 - 673)):
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x1d\x1f\xdftC\x99'), chr(9532 - 9432) + chr(0b1100101) + '\x63' + chr(0b111001 + 0o66) + chr(0b110110 + 0o56) + '\145')(chr(267 - 150) + '\164' + chr(102) + chr(0b11011 + 0o22) + '\070')] = roI3spqORKae(ES5oEprVxulp(b''), chr(4639 - 4539) + chr(0b1010011 + 0o22) + chr(0b1011101 + 0o6) + chr(0b1001001 + 0o46) + chr(0b1100100) + chr(0b1011100 + 0o11))('\165' + chr(116) + chr(6146 - 6044) + chr(1482 - 1437) + chr(56))
elif oFlZhqN6BvzT != roI3spqORKae(ES5oEprVxulp(b''), chr(9585 - 9485) + chr(0b1100101) + chr(99) + '\157' + '\144' + chr(7032 - 6931))(chr(0b1100001 + 0o24) + chr(204 - 88) + chr(0b1100110) + chr(0b101101) + chr(56)):
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x1d\x1f\xdftC\x99'), chr(4856 - 4756) + chr(5278 - 5177) + chr(0b1010000 + 0o23) + '\x6f' + chr(100) + chr(0b1100101))(chr(6290 - 6173) + chr(116) + chr(0b1001111 + 0o27) + chr(0b10111 + 0o26) + '\x38')] = oFlZhqN6BvzT
if xv74aTuw_kGm == nzTpIcepk0o8(chr(653 - 605) + '\157' + chr(854 - 805), 8) and fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x14\x00\xdf~^\x99N'), chr(0b1100100) + chr(3575 - 3474) + chr(0b10100 + 0o117) + chr(2207 - 2096) + '\x64' + chr(0b1100101))(chr(4542 - 4425) + chr(10576 - 10460) + chr(0b1100110) + '\055' + chr(0b111000))] != roI3spqORKae(ES5oEprVxulp(b''), chr(0b11000 + 0o114) + chr(0b1100101) + chr(940 - 841) + chr(111) + chr(0b11101 + 0o107) + '\x65')(chr(0b10010 + 0o143) + chr(0b1110100) + chr(0b110101 + 0o61) + chr(0b100101 + 0o10) + chr(0b110111 + 0o1)):
(bI5jsQ9OkQtj, Fi3yzxctM1zW, ZkpORfAzQ9Hw, _R8IKF5IwAfX) = hUcsWwAd0nE_.doigrf(OSV4Uwkhpwk6, Wp2Umairw0XS, nzTpIcepk0o8('\060' + chr(0b11100 + 0o123) + chr(48), 8), TTpgTDS5C4av)
Ipbck45zA0PF = hUcsWwAd0nE_.cart2dir((bI5jsQ9OkQtj, Fi3yzxctM1zW, ZkpORfAzQ9Hw))
mcXmRLTajNIx = Ipbck45zA0PF[nzTpIcepk0o8('\060' + '\157' + chr(48), 8)]
if roI3spqORKae(ES5oEprVxulp(b'\xf4_T\xf0f\x18\xa4*\x1e\xdfc'), chr(7251 - 7151) + chr(0b1100101) + chr(0b1001100 + 0o27) + chr(11904 - 11793) + '\x64' + '\145')(chr(117) + '\x74' + chr(102) + chr(1919 - 1874) + chr(0b0 + 0o70)) in H4NoA26ON7iG(roI3spqORKae(UyhVHm6iL58s, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), chr(100) + chr(101) + chr(9200 - 9101) + chr(0b110001 + 0o76) + chr(0b1100100) + chr(1693 - 1592))(chr(117) + chr(4076 - 3960) + '\x66' + '\x2d' + chr(1927 - 1871)))()):
if UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xf4_T\xf0f\x18\xa4*\x1e\xdfc'), '\x64' + chr(4544 - 4443) + '\x63' + chr(0b1000011 + 0o54) + chr(0b10100 + 0o120) + chr(5599 - 5498))('\x75' + chr(1001 - 885) + chr(10303 - 10201) + chr(45) + chr(0b111000))] != roI3spqORKae(ES5oEprVxulp(b''), '\x64' + '\x65' + chr(99) + '\x6f' + chr(0b1010001 + 0o23) + chr(0b110 + 0o137))('\x75' + chr(0b1101001 + 0o13) + chr(102) + chr(0b10101 + 0o30) + chr(56)):
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x17\x1f\xd2LO\x84V'), '\144' + chr(101) + chr(559 - 460) + chr(0b10100 + 0o133) + '\144' + chr(0b1100101))(chr(0b101110 + 0o107) + '\164' + chr(102) + chr(0b101001 + 0o4) + '\x38')] = UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xf4_T\xf0f\x18\xa4*\x1e\xdfc'), '\x64' + chr(5045 - 4944) + '\143' + chr(111) + '\144' + '\145')('\165' + chr(0b110111 + 0o75) + '\x66' + chr(0b11011 + 0o22) + chr(56))]
jZ0612Zni4wb = UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xf4_T\xf0f\x18\xa4*\x1e\xdfc'), chr(0b1100100) + chr(0b1100101) + chr(5163 - 5064) + '\x6f' + '\144' + chr(101))(chr(0b1000110 + 0o57) + chr(116) + chr(7183 - 7081) + '\x2d' + '\070')]
else:
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x17\x1f\xd2LO\x84V'), '\x64' + chr(3088 - 2987) + chr(99) + '\157' + '\x64' + chr(0b1100101))(chr(10155 - 10038) + '\x74' + '\x66' + chr(1458 - 1413) + '\070')] = jZ0612Zni4wb
else:
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x17\x1f\xd2LO\x84V'), '\144' + chr(6482 - 6381) + '\143' + '\157' + chr(0b101111 + 0o65) + chr(6105 - 6004))(chr(117) + chr(10554 - 10438) + chr(0b1 + 0o145) + '\x2d' + chr(56))] = roI3spqORKae(ES5oEprVxulp(b'\xa6'), chr(5711 - 5611) + chr(0b1100101) + '\x63' + '\157' + '\144' + chr(0b1100101))('\x75' + '\x74' + chr(0b100100 + 0o102) + chr(1076 - 1031) + chr(2720 - 2664))
if roI3spqORKae(ES5oEprVxulp(b'\xf4_T\xf0f\x18\xa4*\x1e\xdfct\x89O\x93\xc8\xa8Ln\xbf\xd9'), chr(4471 - 4371) + chr(101) + '\x63' + chr(111) + chr(3646 - 3546) + chr(0b1100101))(chr(0b1110101) + '\x74' + '\146' + chr(45) + chr(2315 - 2259)) in H4NoA26ON7iG(roI3spqORKae(UyhVHm6iL58s, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), chr(2919 - 2819) + '\145' + chr(0b1100011) + chr(9859 - 9748) + '\144' + chr(0b100101 + 0o100))(chr(117) + '\164' + chr(0b10 + 0o144) + chr(45) + '\070'))()):
if UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xf4_T\xf0f\x18\xa4*\x1e\xdfct\x89O\x93\xc8\xa8Ln\xbf\xd9'), chr(100) + chr(9794 - 9693) + chr(0b1010101 + 0o16) + '\157' + chr(6207 - 6107) + chr(3941 - 3840))(chr(11556 - 11439) + '\164' + chr(7787 - 7685) + '\x2d' + '\x38')] != roI3spqORKae(ES5oEprVxulp(b''), chr(3022 - 2922) + chr(0b1100101) + chr(2951 - 2852) + chr(0b101001 + 0o106) + chr(900 - 800) + chr(0b1100101))(chr(8023 - 7906) + '\164' + chr(383 - 281) + chr(0b101101) + chr(0b10000 + 0o50)) and m7UHKcj7ypUZ == nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b110001), 8):
tIs1AyIkUN4z = jLW6pRf2DSRk(UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xf4_T\xf0f\x18\xa4*\x1e\xdfct\x89O\x93\xc8\xa8Ln\xbf\xd9'), '\144' + chr(0b1100101) + '\x63' + chr(9569 - 9458) + chr(0b1100100) + chr(101))(chr(0b1010010 + 0o43) + chr(116) + chr(0b11101 + 0o111) + '\055' + '\070')]) + mcXmRLTajNIx
if tIs1AyIkUN4z > 360.0:
tIs1AyIkUN4z = tIs1AyIkUN4z - 360.0
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x17\x1f\xd2LO\x84V\xbe\xc9\xa2Jb\xb3\xc3N\xf14'), chr(0b1100100) + chr(4237 - 4136) + chr(0b1010111 + 0o14) + chr(8829 - 8718) + chr(0b1011110 + 0o6) + '\x65')(chr(0b1110101) + '\x74' + chr(0b10100 + 0o122) + chr(0b10001 + 0o34) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\xb3\r\x1e\xa5i'), chr(100) + chr(0b1100101) + '\143' + chr(8364 - 8253) + '\144' + chr(0b1100101))(chr(117) + '\x74' + chr(0b10111 + 0o117) + chr(0b101101) + '\x38') % tIs1AyIkUN4z
h5ty82ptGe_t = fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x17\x1f\xd2LO\x84V\xbe\xc9\xa2Jb\xb3\xc3N\xf14'), '\x64' + '\145' + chr(7734 - 7635) + chr(0b1001111 + 0o40) + chr(0b1100100) + chr(0b1100101 + 0o0))(chr(0b1110101) + chr(0b101 + 0o157) + chr(7288 - 7186) + chr(0b10100 + 0o31) + chr(0b111000))]
else:
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x17\x1f\xd2LO\x84V\xbe\xc9\xa2Jb\xb3\xc3N\xf14'), chr(100) + chr(8870 - 8769) + chr(4974 - 4875) + chr(0b1101111) + '\144' + chr(8656 - 8555))(chr(117) + chr(116) + chr(102) + '\055' + chr(0b101000 + 0o20))] = UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xf4_T\xf0f\x18\xa4*\x1e\xdfct\x89O\x93\xc8\xa8Ln\xbf\xd9'), chr(2628 - 2528) + chr(0b1001110 + 0o27) + '\x63' + chr(0b1101111) + '\144' + '\x65')(chr(117) + chr(6817 - 6701) + '\x66' + '\x2d' + chr(0b111000))]
else:
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x17\x1f\xd2LO\x84V\xbe\xc9\xa2Jb\xb3\xc3N\xf14'), chr(100) + '\x65' + chr(0b111011 + 0o50) + chr(0b1101111) + chr(0b1100100) + chr(101))(chr(10067 - 9950) + chr(0b1111 + 0o145) + chr(0b10111 + 0o117) + chr(1112 - 1067) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\xa6'), chr(7741 - 7641) + '\x65' + chr(0b1100011) + '\157' + chr(7625 - 7525) + chr(0b1100101))(chr(0b1111 + 0o146) + chr(0b110101 + 0o77) + chr(102) + chr(0b1100 + 0o41) + '\x38')
if YMLGlnDiwHhh:
if N9zlRy29S1SS(fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x17\x1f\xd2LO\x84V\xbe\xc9\xa2Jb\xb3\xc3N\xf14'), chr(100) + '\x65' + '\143' + chr(11094 - 10983) + chr(6604 - 6504) + '\145')(chr(10267 - 10150) + '\x74' + '\146' + chr(0b101001 + 0o4) + chr(56))]) and N9zlRy29S1SS(fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x17\x1f\xd2LO\x84V'), chr(0b1100100) + '\x65' + chr(99) + chr(2068 - 1957) + chr(0b1100100) + '\145')(chr(0b110100 + 0o101) + '\164' + chr(0b1001001 + 0o35) + chr(45) + '\070')]):
roI3spqORKae(SrIxpTpfkxAk, roI3spqORKae(ES5oEprVxulp(b'\xdenc\xa0w\x11\x84\x1a\x10\xd9F\x1e'), '\x64' + chr(101) + '\143' + '\x6f' + chr(0b1111 + 0o125) + chr(8437 - 8336))(chr(301 - 184) + '\164' + chr(102) + chr(45) + chr(1702 - 1646)))([jLW6pRf2DSRk(fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x17\x1f\xd2LO\x84V\xbe\xc9\xa2Jb\xb3\xc3N\xf14'), '\144' + '\145' + chr(0b1100011) + chr(0b1101111 + 0o0) + chr(0b111010 + 0o52) + chr(0b1100101))('\165' + chr(0b1000101 + 0o57) + chr(4576 - 4474) + '\055' + chr(0b111000))]), jLW6pRf2DSRk(fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x17\x1f\xd2LO\x84V'), chr(0b1100100) + chr(0b110011 + 0o62) + chr(99) + chr(0b1101111) + '\x64' + '\x65')(chr(0b1110101) + chr(0b1110100) + chr(102) + '\x2d' + chr(56))]) - 90.0, 1.0])
if fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x14\x00\xdf~^\x99N'), chr(0b1100100) + chr(9552 - 9451) + '\143' + chr(0b11110 + 0o121) + '\x64' + chr(4187 - 4086))(chr(0b1110101) + chr(0b1110100) + chr(0b11110 + 0o110) + '\055' + '\070')] == roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(101) + '\x63' + chr(111) + '\x64' + chr(101))(chr(7490 - 7373) + chr(0b111 + 0o155) + chr(102) + chr(45) + chr(0b110101 + 0o3)) and fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x11\x13\xc6'), chr(0b1100100) + '\x65' + chr(3504 - 3405) + chr(111) + chr(8306 - 8206) + '\x65')('\x75' + chr(0b1011 + 0o151) + chr(102) + chr(0b101101) + chr(2384 - 2328))] == roI3spqORKae(ES5oEprVxulp(b''), chr(1633 - 1533) + '\x65' + chr(0b111101 + 0o46) + '\157' + chr(0b1100100) + '\x65')(chr(117) + '\164' + chr(102) + chr(0b101100 + 0o1) + chr(0b111000)):
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x11\x1f\xd5\x7fB\x83G\x95\xc4\xa4VX\xb3\xd8U\xec?\x9aW\xeaw\x87'), chr(0b1010111 + 0o15) + chr(2786 - 2685) + chr(0b1001 + 0o132) + chr(0b1101111) + chr(7451 - 7351) + chr(101))(chr(117) + chr(0b1010101 + 0o37) + chr(102) + '\055' + chr(1021 - 965))] = roI3spqORKae(ES5oEprVxulp(b''), chr(0b100001 + 0o103) + '\145' + '\x63' + chr(0b10110 + 0o131) + '\144' + chr(7482 - 7381))('\165' + chr(116) + '\146' + chr(45) + '\070')
ayTBaXkHW6dY = ayTBaXkHW6dY + roI3spqORKae(ES5oEprVxulp(b'\xaci\x7f\xb9A9'), chr(4003 - 3903) + chr(1184 - 1083) + chr(3562 - 3463) + '\x6f' + '\144' + '\x65')(chr(7176 - 7059) + chr(13048 - 12932) + '\x66' + chr(1318 - 1273) + chr(56))
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xfb[W\xfdl)\xae\x10\x0e\xde|O\xb2E\x8e\xc9\xaeK'), chr(7556 - 7456) + chr(0b1001111 + 0o26) + chr(0b1100011) + '\x6f' + '\144' + '\145')(chr(7372 - 7255) + '\164' + chr(7033 - 6931) + '\x2d' + chr(56))] = ayTBaXkHW6dY
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x11\x1f\xc5pY\x84V\x95\xc4\xa4V'), chr(0b111000 + 0o54) + chr(101) + '\x63' + chr(0b1010 + 0o145) + chr(100) + chr(1271 - 1170))(chr(0b1110101) + '\x74' + '\146' + '\x2d' + chr(56))] = aeNluPWlqwT4
if roI3spqORKae(ES5oEprVxulp(b'\xe5SD\xf1P\x18\xa2\x18\x1f'), '\x64' + '\145' + chr(99) + chr(1247 - 1136) + '\x64' + chr(101))(chr(0b1100011 + 0o22) + chr(0b1110100) + chr(6743 - 6641) + '\055' + '\x38') in H4NoA26ON7iG(roI3spqORKae(UyhVHm6iL58s, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), chr(100) + '\145' + chr(0b11010 + 0o111) + chr(4806 - 4695) + '\144' + '\145')('\165' + chr(0b101011 + 0o111) + '\x66' + chr(0b101101) + chr(0b110001 + 0o7)))()) and UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xe5SD\xf1P\x18\xa2\x18\x1f'), chr(100) + chr(4818 - 4717) + chr(99) + '\157' + chr(8291 - 8191) + '\x65')('\x75' + chr(0b0 + 0o164) + '\x66' + '\x2d' + '\070')] != roI3spqORKae(ES5oEprVxulp(b''), '\x64' + '\145' + chr(0b1100011) + chr(11675 - 11564) + chr(5631 - 5531) + chr(8183 - 8082))(chr(0b1110101 + 0o0) + chr(116) + chr(0b1100110) + '\055' + chr(0b100110 + 0o22)):
f9ijNiPCpOFu = UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xe5SD\xf1P\x18\xa2\x18\x1f'), chr(0b1100100) + '\x65' + '\x63' + chr(0b1101111) + chr(9399 - 9299) + chr(5428 - 5327))(chr(0b1000011 + 0o62) + chr(4569 - 4453) + '\x66' + '\x2d' + chr(0b100100 + 0o24))]
elif roI3spqORKae(ES5oEprVxulp(b'\xe5SD\xf1P\x18\xa2\x18\x1f'), chr(0b10011 + 0o121) + '\x65' + chr(0b110011 + 0o60) + '\157' + '\144' + '\x65')('\165' + '\x74' + '\x66' + chr(0b101101) + chr(0b10110 + 0o42)) in H4NoA26ON7iG(roI3spqORKae(vjSf3KcmHqk7, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), '\x64' + chr(5922 - 5821) + chr(0b100101 + 0o76) + '\157' + '\x64' + chr(101))(chr(0b1110101) + '\x74' + '\146' + chr(45) + chr(3016 - 2960)))()) and vjSf3KcmHqk7[roI3spqORKae(ES5oEprVxulp(b'\xe5SD\xf1P\x18\xa2\x18\x1f'), chr(100) + chr(0b11011 + 0o112) + chr(2547 - 2448) + chr(0b1101110 + 0o1) + chr(0b1100100) + chr(4100 - 3999))(chr(117) + chr(0b1110100) + chr(0b1100110) + chr(827 - 782) + '\x38')] != roI3spqORKae(ES5oEprVxulp(b''), chr(0b100110 + 0o76) + chr(226 - 125) + '\x63' + chr(0b110001 + 0o76) + chr(0b1100100) + chr(0b100100 + 0o101))(chr(6936 - 6819) + chr(0b1110100) + chr(0b1100110) + chr(758 - 713) + '\070'):
f9ijNiPCpOFu = vjSf3KcmHqk7[roI3spqORKae(ES5oEprVxulp(b'\xe5SD\xf1P\x18\xa2\x18\x1f'), chr(7242 - 7142) + '\x65' + chr(1739 - 1640) + '\x6f' + '\x64' + '\x65')('\165' + chr(8197 - 8081) + '\146' + chr(1603 - 1558) + '\070')]
else:
f9ijNiPCpOFu = hUcsWwAd0nE_.parse_site(UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x1b\x1b\xdbv'), chr(7858 - 7758) + chr(6829 - 6728) + chr(0b1011011 + 0o10) + '\157' + '\144' + chr(0b1100101))('\165' + '\x74' + chr(102) + chr(0b101101) + '\070')], hLIySoEW0NmV, sEVgLUlRGUb0)
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xf3Ho\xe7f\x02\xa6*\x14\xd7~N'), chr(0b1100100) + chr(0b1100101) + chr(0b11110 + 0o105) + chr(111) + chr(0b11000 + 0o114) + '\145')('\x75' + chr(116) + chr(0b1010000 + 0o26) + '\055' + chr(0b111000))] = f9ijNiPCpOFu
tl93d6bW7KNa = roI3spqORKae(ES5oEprVxulp(b''), chr(0b1010000 + 0o24) + chr(101) + chr(0b1100011) + '\x6f' + chr(100) + '\x65')(chr(0b110111 + 0o76) + chr(2751 - 2635) + chr(0b1101 + 0o131) + chr(0b10011 + 0o32) + '\x38')
if roI3spqORKae(ES5oEprVxulp(b'\xe5SD\xf1P\x12\xa6\x06\x19\xc4z[\x99O\x8e\xc3'), chr(0b100100 + 0o100) + chr(0b1011111 + 0o6) + chr(0b1100011) + '\x6f' + chr(4583 - 4483) + chr(0b1100101))(chr(0b1110101) + chr(116) + chr(0b1100110) + '\055' + chr(0b11000 + 0o40)) in H4NoA26ON7iG(roI3spqORKae(UyhVHm6iL58s, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), chr(0b1100100) + '\145' + chr(860 - 761) + chr(9902 - 9791) + chr(0b11111 + 0o105) + chr(0b101110 + 0o67))(chr(3664 - 3547) + chr(9418 - 9302) + chr(3956 - 3854) + '\055' + '\x38'))()) and UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xe5SD\xf1P\x12\xa6\x06\x19\xc4z[\x99O\x8e\xc3'), chr(0b10100 + 0o120) + chr(5528 - 5427) + '\143' + chr(0b1100111 + 0o10) + chr(100) + chr(0b1100101))(chr(0b1110101) + '\x74' + '\146' + chr(637 - 592) + '\x38')] != roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(0b110110 + 0o57) + chr(0b1100011) + '\x6f' + chr(0b100010 + 0o102) + chr(101))(chr(8065 - 7948) + chr(2580 - 2464) + '\146' + '\x2d' + chr(0b10111 + 0o41)):
tl93d6bW7KNa = UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xe5SD\xf1P\x12\xa6\x06\x19\xc4z[\x99O\x8e\xc3'), chr(0b11001 + 0o113) + chr(677 - 576) + chr(0b1100011) + chr(111) + chr(0b1100100) + chr(0b1100101))(chr(8642 - 8525) + chr(2230 - 2114) + '\x66' + '\055' + chr(1289 - 1233))].E91dbqOZXBpJ(roI3spqORKae(ES5oEprVxulp(b'\xba'), chr(8670 - 8570) + chr(101) + '\x63' + '\x6f' + '\144' + '\x65')(chr(0b1110101) + chr(0b1011000 + 0o34) + chr(0b1100110) + chr(45) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xad'), chr(9567 - 9467) + '\145' + '\x63' + chr(0b1101111) + chr(6186 - 6086) + '\145')(chr(4480 - 4363) + '\x74' + chr(9459 - 9357) + chr(0b10100 + 0o31) + chr(56)))
if roI3spqORKae(ES5oEprVxulp(b'\xffWQ\xf3j)\xad\x14\x17\xd3'), chr(100) + chr(0b1100101) + chr(0b1000000 + 0o43) + '\x6f' + chr(100) + chr(152 - 51))(chr(0b100 + 0o161) + chr(116) + chr(0b1100110) + '\055' + chr(56)) in H4NoA26ON7iG(roI3spqORKae(UyhVHm6iL58s, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), chr(2354 - 2254) + '\x65' + '\x63' + chr(3760 - 3649) + chr(0b1100100) + chr(0b1100101))(chr(117) + chr(1803 - 1687) + chr(102) + chr(0b10000 + 0o35) + '\x38'))()):
e3y2UaQM9LGW = UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xffWQ\xf3j)\xad\x14\x17\xd3'), chr(9071 - 8971) + '\145' + chr(0b1101 + 0o126) + '\x6f' + chr(4708 - 4608) + chr(4129 - 4028))(chr(0b11000 + 0o135) + chr(0b1110100) + chr(102) + '\055' + '\070')].LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\xac'), chr(7189 - 7089) + chr(101) + chr(0b1100011) + chr(0b1101111) + chr(100) + chr(0b1100101))('\x75' + chr(0b1011000 + 0o34) + chr(0b1100110) + chr(0b101101) + chr(56)))
if roI3spqORKae(ES5oEprVxulp(b'\xffWQ\xf3j)\xaf\x1a\x15\xdd'), chr(0b1100100) + chr(3879 - 3778) + chr(2100 - 2001) + chr(111) + chr(0b101101 + 0o67) + chr(0b1100101))(chr(0b1110101) + chr(3599 - 3483) + '\146' + chr(45) + chr(56)) in H4NoA26ON7iG(roI3spqORKae(UyhVHm6iL58s, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), '\144' + '\x65' + chr(3197 - 3098) + chr(111) + chr(7542 - 7442) + '\145')(chr(117) + chr(4859 - 4743) + chr(0b1010001 + 0o25) + chr(223 - 178) + '\x38'))()):
vEMMXroaBiRO = UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xffWQ\xf3j)\xaf\x1a\x15\xdd'), chr(100) + chr(0b1100101) + '\x63' + chr(0b100010 + 0o115) + chr(0b101010 + 0o72) + '\x65')(chr(0b1100101 + 0o20) + chr(0b1110100) + chr(1882 - 1780) + chr(1532 - 1487) + '\x38')].LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\xac'), chr(0b111 + 0o135) + chr(101) + '\x63' + chr(111) + '\144' + chr(0b1100101))(chr(0b1101000 + 0o15) + chr(0b1110100) + chr(0b1100110) + chr(45) + '\x38'))
else:
vEMMXroaBiRO = []
if roI3spqORKae(ES5oEprVxulp(b'\xffWQ\xf3j)\xb3\x1d\x15\xc2|L\x9fG\x91\xc5\xaeJ'), chr(7205 - 7105) + chr(0b1100101) + '\143' + chr(0b1101111) + chr(0b1100100) + chr(101))(chr(117) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(0b10101 + 0o43)) in H4NoA26ON7iG(roI3spqORKae(UyhVHm6iL58s, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), chr(2256 - 2156) + chr(101) + '\x63' + chr(2913 - 2802) + chr(100) + '\x65')(chr(0b1110101) + chr(0b10010 + 0o142) + '\x66' + '\x2d' + chr(0b111000)))()):
GqJdkUWsmmXT = UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xffWQ\xf3j)\xb3\x1d\x15\xc2|L\x9fG\x91\xc5\xaeJ'), chr(0b1100100) + chr(101) + '\143' + chr(0b1101111) + chr(100) + chr(0b111010 + 0o53))(chr(117) + '\164' + '\146' + chr(0b101101) + chr(508 - 452))].LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\xac'), chr(100) + chr(2153 - 2052) + '\143' + '\x6f' + '\x64' + chr(3342 - 3241))('\165' + chr(0b1110100) + chr(0b1000010 + 0o44) + '\x2d' + chr(1226 - 1170)))
else:
GqJdkUWsmmXT = []
for qqETtneJqWI2 in e3y2UaQM9LGW:
if qqETtneJqWI2 != roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(0b1000101 + 0o40) + chr(0b1100011) + chr(8063 - 7952) + chr(100) + chr(0b1010001 + 0o24))(chr(0b1110101) + '\164' + '\146' + '\x2d' + chr(56)) and qqETtneJqWI2 not in EKtewbpAe2NK:
roI3spqORKae(EKtewbpAe2NK, roI3spqORKae(ES5oEprVxulp(b'\xdenc\xa0w\x11\x84\x1a\x10\xd9F\x1e'), chr(100) + '\145' + chr(1476 - 1377) + '\157' + chr(7683 - 7583) + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + '\x66' + chr(289 - 244) + '\x38'))(qqETtneJqWI2)
b5yllACWh1mj = {}
b5yllACWh1mj[roI3spqORKae(ES5oEprVxulp(b'\xf3Ho\xfdb\x17\xa4\x10%\xd8rF\x88'), chr(0b1100100) + chr(0b1100101) + chr(5287 - 5188) + '\x6f' + chr(320 - 220) + chr(0b1100101))(chr(11171 - 11054) + chr(0b1110100) + chr(0b110000 + 0o66) + '\x2d' + chr(0b110111 + 0o1))] = qqETtneJqWI2
b5yllACWh1mj[roI3spqORKae(ES5oEprVxulp(b'\xffWQ\xf3j)\xb7\x0c\n\xd3'), chr(7185 - 7085) + chr(0b1100101) + chr(0b1100011) + chr(111) + chr(0b1100011 + 0o1) + chr(0b1100101))(chr(0b1110101) + '\x74' + chr(102) + chr(0b101101) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\xf9OD\xf7}\x19\xb3'), '\x64' + '\145' + chr(99) + chr(0b110100 + 0o73) + '\144' + chr(0b1100101))(chr(0b1010110 + 0o37) + '\x74' + '\146' + chr(0b101101) + chr(929 - 873))
b5yllACWh1mj[roI3spqORKae(ES5oEprVxulp(b'\xffWQ\xf3j)\xa7\x14\x0e\xd3'), chr(100) + chr(101) + chr(99) + chr(0b1101111) + '\x64' + '\145')('\165' + chr(0b1110100) + chr(0b1100110) + chr(45) + '\070')] = RVb0UTiaf8sJ
b5yllACWh1mj[roI3spqORKae(ES5oEprVxulp(b'\xf3Ho\xf7f\x02\xa2\x01\x13\xd9}t\x83G\x8c\xc8\xb8'), '\x64' + chr(0b10000 + 0o125) + '\143' + '\157' + chr(0b1100100) + chr(8686 - 8585))(chr(117) + '\x74' + '\146' + chr(0b101101) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\xc2RY\xe7/\x05\xb7\x00\x1e\xcf'), chr(750 - 650) + chr(0b1100101) + chr(99) + chr(678 - 567) + chr(2870 - 2770) + chr(9310 - 9209))(chr(0b1000101 + 0o60) + chr(116) + chr(102) + '\x2d' + chr(0b111000))
b5yllACWh1mj[roI3spqORKae(ES5oEprVxulp(b'\xf3Ho\xf8`\x15\xa2\x01\x13\xd9}t\x83G\x8c\xc8'), '\144' + chr(0b1100101) + '\x63' + '\x6f' + '\144' + chr(1136 - 1035))('\165' + '\164' + '\x66' + chr(1651 - 1606) + chr(0b111000))] = fvpyocDTQ9QD
b5yllACWh1mj[roI3spqORKae(ES5oEprVxulp(b'\xf3Ho\xe7f\x02\xa6*\x14\xd7~N'), '\144' + '\x65' + '\x63' + chr(0b1101111) + chr(0b100100 + 0o100) + chr(0b1100101))(chr(0b1110101) + chr(116) + chr(0b10110 + 0o120) + chr(45) + chr(0b111000))] = fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xf3Ho\xe7f\x02\xa6*\x14\xd7~N'), chr(0b10 + 0o142) + chr(0b1100101) + chr(3578 - 3479) + '\157' + chr(100) + chr(0b1100101))(chr(11482 - 11365) + chr(116) + chr(0b1100110) + chr(45) + '\070')]
B6UAF1zReOyJ = e3y2UaQM9LGW.ZpfN5tSLaZze(qqETtneJqWI2)
if ftfygxgFas5X(vEMMXroaBiRO) > B6UAF1zReOyJ:
b5yllACWh1mj[roI3spqORKae(ES5oEprVxulp(b'\xf3Ho\xfdb\x17\xa4\x10%\xd2vX\x8eT\x88\xdd\xbfQh\xbe'), chr(7712 - 7612) + '\145' + '\x63' + chr(0b1101111) + chr(0b111011 + 0o51) + '\x65')(chr(9945 - 9828) + chr(0b1110100) + '\x66' + '\x2d' + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\xdaU_\xff/\x12\xaa\x07\x1f\xd5gB\x82H\xdb\x8d'), chr(4879 - 4779) + '\145' + chr(0b1100011) + chr(0b1001010 + 0o45) + chr(0b1100100) + chr(0b111101 + 0o50))('\x75' + '\x74' + chr(102) + chr(0b10010 + 0o33) + chr(0b101011 + 0o15)) + vEMMXroaBiRO[B6UAF1zReOyJ]
elif ftfygxgFas5X(vEMMXroaBiRO) >= nzTpIcepk0o8(chr(0b110000) + '\157' + '\061', 8):
b5yllACWh1mj[roI3spqORKae(ES5oEprVxulp(b'\xf3Ho\xfdb\x17\xa4\x10%\xd2vX\x8eT\x88\xdd\xbfQh\xbe'), chr(3447 - 3347) + chr(6011 - 5910) + chr(99) + '\x6f' + chr(0b110111 + 0o55) + '\x65')(chr(0b1101111 + 0o6) + '\164' + chr(8919 - 8817) + chr(1977 - 1932) + chr(1499 - 1443))] = roI3spqORKae(ES5oEprVxulp(b'\xdaU_\xff/\x12\xaa\x07\x1f\xd5gB\x82H\xdb\x8d'), chr(0b1001011 + 0o31) + '\145' + chr(99) + chr(0b1101111) + '\x64' + chr(101))(chr(117) + chr(116) + chr(0b101111 + 0o67) + chr(0b101101) + chr(0b111000)) + vEMMXroaBiRO[-nzTpIcepk0o8(chr(48) + chr(111) + '\061', 8)]
else:
b5yllACWh1mj[roI3spqORKae(ES5oEprVxulp(b'\xf3Ho\xfdb\x17\xa4\x10%\xd2vX\x8eT\x88\xdd\xbfQh\xbe'), chr(2707 - 2607) + '\x65' + chr(0b1100011) + chr(0b10111 + 0o130) + chr(0b1100001 + 0o3) + chr(7780 - 7679))(chr(0b1110101) + '\x74' + '\146' + '\x2d' + chr(0b10001 + 0o47))] = roI3spqORKae(ES5oEprVxulp(b'\xdaU_\xff/\x12\xaa\x07\x1f\xd5gB\x82H\xdb\x8d\xbeVl\xbe\xd8P\xf0'), chr(4692 - 4592) + chr(0b1000011 + 0o42) + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + '\145')('\x75' + '\164' + chr(0b1011000 + 0o16) + '\055' + '\070')
if ftfygxgFas5X(GqJdkUWsmmXT) > B6UAF1zReOyJ:
b5yllACWh1mj[roI3spqORKae(ES5oEprVxulp(b'\xf3Ho\xe4g\x19\xb7\x1a\x1d\xc4r[\x85C\x93\xf2\xa6Yn\xbc\xe8I\xff7\x9cP'), chr(0b1100100) + chr(0b1100101) + '\143' + chr(0b1101111) + chr(9070 - 8970) + '\145')(chr(0b1 + 0o164) + chr(907 - 791) + '\146' + '\x2d' + chr(56))] = GqJdkUWsmmXT[B6UAF1zReOyJ]
elif ftfygxgFas5X(GqJdkUWsmmXT) >= nzTpIcepk0o8(chr(0b110000) + chr(2008 - 1897) + '\061', 8):
b5yllACWh1mj[roI3spqORKae(ES5oEprVxulp(b'\xf3Ho\xe4g\x19\xb7\x1a\x1d\xc4r[\x85C\x93\xf2\xa6Yn\xbc\xe8I\xff7\x9cP'), chr(0b10011 + 0o121) + chr(101) + '\x63' + chr(1572 - 1461) + chr(0b1100100) + chr(0b1100001 + 0o4))('\165' + '\164' + chr(3514 - 3412) + chr(0b101101) + '\x38')] = GqJdkUWsmmXT[-nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b101101 + 0o4), 8)]
else:
b5yllACWh1mj[roI3spqORKae(ES5oEprVxulp(b'\xf3Ho\xe4g\x19\xb7\x1a\x1d\xc4r[\x85C\x93\xf2\xa6Yn\xbc\xe8I\xff7\x9cP'), chr(8311 - 8211) + chr(0b1100101) + chr(9775 - 9676) + '\x6f' + chr(0b1100100) + chr(6989 - 6888))(chr(12320 - 12203) + chr(9650 - 9534) + '\x66' + chr(1390 - 1345) + chr(0b10101 + 0o43))] = roI3spqORKae(ES5oEprVxulp(b'\xe3T[\xfa`\x01\xad'), '\x64' + '\145' + chr(0b1010100 + 0o17) + chr(0b1101111) + chr(0b1100100) + chr(5340 - 5239))(chr(3706 - 3589) + chr(0b1110100) + '\146' + '\x2d' + chr(3026 - 2970))
roI3spqORKae(BWZEg2kHBGE_, roI3spqORKae(ES5oEprVxulp(b'\xdenc\xa0w\x11\x84\x1a\x10\xd9F\x1e'), chr(0b1110 + 0o126) + '\x65' + chr(0b1100011) + chr(0b1011011 + 0o24) + chr(100) + '\145')(chr(4014 - 3897) + chr(3600 - 3484) + chr(0b101000 + 0o76) + '\x2d' + '\070'))(b5yllACWh1mj)
if f9ijNiPCpOFu not in zDhC7OEYbWah:
roI3spqORKae(zDhC7OEYbWah, roI3spqORKae(ES5oEprVxulp(b'\xdenc\xa0w\x11\x84\x1a\x10\xd9F\x1e'), '\144' + chr(0b1010 + 0o133) + '\143' + chr(0b1010110 + 0o31) + chr(0b1001010 + 0o32) + chr(0b1100101))(chr(0b1010110 + 0o37) + chr(0b100001 + 0o123) + chr(6380 - 6278) + '\x2d' + chr(0b111000)))(f9ijNiPCpOFu)
if f9ijNiPCpOFu in H4NoA26ON7iG(roI3spqORKae(NWTaKnlaLYlJ, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), chr(6786 - 6686) + '\145' + chr(9275 - 9176) + chr(0b1001101 + 0o42) + chr(100) + '\145')(chr(117) + chr(0b1110100) + chr(0b1000110 + 0o40) + '\055' + chr(0b1101 + 0o53)))()):
vjSf3KcmHqk7 = NWTaKnlaLYlJ[f9ijNiPCpOFu][-nzTpIcepk0o8(chr(0b110000) + chr(111) + '\061', 8)]
eJRBoxU0SR3T = vjSf3KcmHqk7
else:
vjSf3KcmHqk7 = {}
eJRBoxU0SR3T = {}
eJRBoxU0SR3T[roI3spqORKae(ES5oEprVxulp(b'\xf3Ho\xf7f\x02\xa2\x01\x13\xd9}t\x83G\x8c\xc8\xb8'), '\x64' + chr(0b110001 + 0o64) + '\x63' + chr(0b1011110 + 0o21) + chr(0b1100100) + '\145')('\165' + chr(0b1110100) + chr(102) + chr(0b100010 + 0o13) + '\070')] = roI3spqORKae(ES5oEprVxulp(b'\xc2RY\xe7/\x05\xb7\x00\x1e\xcf'), chr(7712 - 7612) + chr(101) + chr(0b11011 + 0o110) + '\157' + '\x64' + '\145')(chr(7704 - 7587) + '\164' + '\146' + '\x2d' + chr(0b1110 + 0o52))
eJRBoxU0SR3T[roI3spqORKae(ES5oEprVxulp(b'\xf3Ho\xe7f\x02\xa6*\x14\xd7~N'), chr(5008 - 4908) + chr(258 - 157) + chr(5621 - 5522) + chr(0b1101111) + chr(0b110010 + 0o62) + chr(0b1100101))(chr(0b1110101) + '\x74' + chr(0b1011011 + 0o13) + chr(45) + chr(2388 - 2332))] = f9ijNiPCpOFu
eJRBoxU0SR3T[roI3spqORKae(ES5oEprVxulp(b'\xe5SD\xf1P\x12\xa6\x13\x13\xd8z_\x84I\x8f'), chr(0b0 + 0o144) + '\x65' + '\x63' + chr(0b1010011 + 0o34) + chr(0b1100100) + chr(2319 - 2218))(chr(7065 - 6948) + '\x74' + '\146' + chr(1509 - 1464) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\xe5'), chr(100) + '\145' + chr(8298 - 8199) + chr(1257 - 1146) + chr(0b1100100) + chr(959 - 858))(chr(0b1110 + 0o147) + '\164' + chr(0b10101 + 0o121) + chr(877 - 832) + chr(0b1011 + 0o55))
if roI3spqORKae(ES5oEprVxulp(b'\xf3Ho\xf8`\x15\xa2\x01\x13\xd9}t\x83G\x8c\xc8'), chr(100) + chr(0b1100101) + '\143' + '\x6f' + chr(0b1100100) + '\145')('\x75' + '\164' + chr(2896 - 2794) + '\x2d' + chr(56)) in eJRBoxU0SR3T and roI3spqORKae(eJRBoxU0SR3T, roI3spqORKae(ES5oEprVxulp(b'\xd1o{\xf1{\x03\xf7\r\x1b\xf1`a'), chr(0b1100100) + '\x65' + chr(0b1001000 + 0o33) + '\157' + chr(0b11000 + 0o114) + chr(101))(chr(11195 - 11078) + chr(116) + chr(0b10101 + 0o121) + '\x2d' + '\070'))(roI3spqORKae(ES5oEprVxulp(b'\xf3Ho\xf8`\x15\xa2\x01\x13\xd9}t\x83G\x8c\xc8'), '\144' + chr(101) + '\143' + '\157' + chr(2749 - 2649) + '\145')('\x75' + chr(116) + chr(0b1100110) + '\055' + chr(0b10101 + 0o43))):
pass
elif QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(vjSf3KcmHqk7, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), chr(100) + chr(0b1011100 + 0o11) + '\143' + chr(0b1001001 + 0o46) + chr(100) + chr(0b1100101))(chr(0b1110101) + '\164' + '\146' + chr(0b100110 + 0o7) + chr(2628 - 2572)))()) and vjSf3KcmHqk7[QYodcsDtoGq7] != roI3spqORKae(ES5oEprVxulp(b''), chr(100) + '\145' + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + chr(101))('\165' + chr(116) + chr(102) + '\x2d' + '\070'):
eJRBoxU0SR3T[QYodcsDtoGq7] = vjSf3KcmHqk7[QYodcsDtoGq7]
else:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xe5_D\xe0f\x18\xa4U\x16\xd9pJ\x99O\x8e\xc3\xebVf\xbd\xd2\x07\xea5\xd9\x01\xa1'), chr(9770 - 9670) + chr(101) + chr(99) + '\157' + chr(0b100111 + 0o75) + '\145')('\x75' + '\x74' + chr(102) + chr(45) + chr(0b0 + 0o70)))
eJRBoxU0SR3T[QYodcsDtoGq7] = roI3spqORKae(ES5oEprVxulp(b''), chr(9392 - 9292) + chr(0b1100101) + '\x63' + chr(0b1101111) + chr(0b1100100 + 0o0) + chr(499 - 398))(chr(0b1110101) + chr(4415 - 4299) + chr(847 - 745) + '\x2d' + chr(1233 - 1177))
for QYodcsDtoGq7 in [roI3spqORKae(ES5oEprVxulp(b'\xfa[D'), chr(0b1100100) + chr(8415 - 8314) + chr(0b1100011) + chr(111) + '\x64' + chr(0b1100101))(chr(0b110 + 0o157) + chr(0b10110 + 0o136) + chr(102) + '\x2d' + chr(420 - 364)), roI3spqORKae(ES5oEprVxulp(b'\xfaU^'), '\x64' + '\145' + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(101))(chr(0b1101100 + 0o11) + chr(10961 - 10845) + chr(0b100011 + 0o103) + chr(0b0 + 0o55) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xfe_Y\xf3g\x02'), chr(2864 - 2764) + chr(0b1100101) + '\143' + '\157' + chr(0b100000 + 0o104) + '\145')(chr(2444 - 2327) + '\164' + chr(0b10001 + 0o125) + chr(1366 - 1321) + chr(2739 - 2683))]:
if roI3spqORKae(ES5oEprVxulp(b'\xe5SD\xf1P'), chr(5907 - 5807) + '\145' + chr(0b1100011) + chr(111) + chr(3248 - 3148) + chr(0b1100101))('\165' + chr(116) + '\146' + '\x2d' + chr(1870 - 1814)) + QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(vjSf3KcmHqk7, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), chr(0b1100100 + 0o0) + chr(101) + chr(99) + chr(111) + chr(100) + '\x65')(chr(0b1010101 + 0o40) + '\x74' + chr(0b1100110) + chr(45) + '\070'))()) and vjSf3KcmHqk7[roI3spqORKae(ES5oEprVxulp(b'\xe5SD\xf1P'), '\x64' + chr(0b1100101) + '\143' + chr(0b1101111) + chr(0b1100100) + chr(101))(chr(0b1110101) + chr(116) + chr(2088 - 1986) + chr(45) + chr(0b111000)) + QYodcsDtoGq7] != roI3spqORKae(ES5oEprVxulp(b''), chr(0b1011111 + 0o5) + chr(0b1100001 + 0o4) + chr(99) + chr(111) + chr(0b100101 + 0o77) + chr(101))(chr(117) + chr(0b110100 + 0o100) + chr(0b1100110) + chr(0b101001 + 0o4) + chr(961 - 905)):
eJRBoxU0SR3T[roI3spqORKae(ES5oEprVxulp(b'\xe5SD\xf1P'), chr(0b10011 + 0o121) + '\145' + '\x63' + chr(6212 - 6101) + chr(1515 - 1415) + chr(5108 - 5007))(chr(12119 - 12002) + '\x74' + '\x66' + chr(0b1011 + 0o42) + chr(0b10100 + 0o44)) + QYodcsDtoGq7] = vjSf3KcmHqk7[roI3spqORKae(ES5oEprVxulp(b'\xe5SD\xf1P'), chr(0b1100100) + '\145' + '\x63' + chr(111) + chr(0b1100100) + chr(101))(chr(0b1101111 + 0o6) + chr(116) + chr(102) + '\x2d' + chr(871 - 815)) + QYodcsDtoGq7]
else:
eJRBoxU0SR3T[roI3spqORKae(ES5oEprVxulp(b'\xe5SD\xf1P'), '\x64' + '\145' + chr(6214 - 6115) + '\x6f' + chr(7049 - 6949) + chr(1315 - 1214))(chr(0b1110101) + chr(0b1110100) + chr(0b110011 + 0o63) + chr(605 - 560) + chr(0b1100 + 0o54)) + QYodcsDtoGq7] = fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c'), '\x64' + '\x65' + '\143' + chr(111) + chr(0b1010011 + 0o21) + chr(101))('\165' + '\164' + chr(0b1100110) + chr(792 - 747) + chr(1560 - 1504)) + QYodcsDtoGq7]
for QYodcsDtoGq7 in [roI3spqORKae(ES5oEprVxulp(b'\xf5VQ\xe7|'), chr(100) + chr(101) + '\x63' + chr(111) + chr(100) + chr(0b11011 + 0o112))(chr(0b1001000 + 0o55) + chr(0b1001110 + 0o46) + '\146' + chr(45) + chr(1279 - 1223)), roI3spqORKae(ES5oEprVxulp(b'\xfaSD\xfc`\x1a\xac\x12\x03'), '\144' + chr(0b111001 + 0o54) + chr(4259 - 4160) + chr(0b1101111) + chr(1064 - 964) + '\145')(chr(0b1110101) + '\x74' + '\146' + '\055' + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xe2C@\xf1'), chr(0b1100100) + chr(101) + '\143' + '\x6f' + chr(2996 - 2896) + chr(0b1100 + 0o131))(chr(0b1110101) + '\164' + chr(0b101101 + 0o71) + '\055' + chr(0b110111 + 0o1))]:
if roI3spqORKae(ES5oEprVxulp(b'\xe5SD\xf1P'), chr(100) + chr(101) + chr(3333 - 3234) + chr(0b1101111) + chr(100) + '\145')(chr(117) + chr(2200 - 2084) + chr(0b1100110) + chr(0b101101) + '\070') + QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(vjSf3KcmHqk7, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), '\x64' + chr(0b1100101) + chr(1142 - 1043) + chr(2601 - 2490) + chr(9932 - 9832) + chr(101))('\x75' + '\x74' + '\x66' + '\x2d' + '\x38'))()) and vjSf3KcmHqk7[roI3spqORKae(ES5oEprVxulp(b'\xe5SD\xf1P'), '\x64' + chr(0b1011100 + 0o11) + chr(0b11101 + 0o106) + chr(0b111100 + 0o63) + '\144' + chr(4279 - 4178))(chr(0b101011 + 0o112) + '\164' + chr(0b1100110) + chr(0b100 + 0o51) + chr(2581 - 2525)) + QYodcsDtoGq7] != roI3spqORKae(ES5oEprVxulp(b'\xd8UD\xb4\\\x06\xa6\x16\x13\xd0zN\x89'), '\x64' + chr(101) + chr(99) + '\x6f' + chr(0b1100100) + '\x65')(chr(4062 - 3945) + '\164' + chr(0b11001 + 0o115) + chr(0b101101) + chr(0b111000)):
eJRBoxU0SR3T[roI3spqORKae(ES5oEprVxulp(b'\xe5SD\xf1P'), chr(0b1011101 + 0o7) + chr(8102 - 8001) + '\143' + chr(0b1101111) + chr(100) + '\x65')('\x75' + chr(0b1011011 + 0o31) + chr(102) + chr(0b11 + 0o52) + chr(0b10110 + 0o42)) + QYodcsDtoGq7] = vjSf3KcmHqk7[roI3spqORKae(ES5oEprVxulp(b'\xe5SD\xf1P'), '\x64' + '\145' + '\143' + '\157' + chr(0b101010 + 0o72) + chr(0b100000 + 0o105))(chr(0b1110101) + chr(0b1101010 + 0o12) + chr(0b1100110) + '\055' + chr(743 - 687)) + QYodcsDtoGq7]
else:
eJRBoxU0SR3T[roI3spqORKae(ES5oEprVxulp(b'\xe5SD\xf1P'), chr(0b1100100) + chr(101) + chr(0b1100011) + '\157' + chr(100) + '\x65')(chr(0b1001 + 0o154) + chr(10341 - 10225) + chr(4027 - 3925) + chr(0b101101) + chr(2965 - 2909)) + QYodcsDtoGq7] = fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c'), chr(8998 - 8898) + chr(0b110100 + 0o61) + chr(0b1101 + 0o126) + chr(111) + '\x64' + chr(0b100110 + 0o77))('\165' + chr(0b10011 + 0o141) + chr(9361 - 9259) + chr(236 - 191) + chr(56)) + QYodcsDtoGq7]
if tl93d6bW7KNa != roI3spqORKae(ES5oEprVxulp(b''), chr(1446 - 1346) + chr(0b111011 + 0o52) + chr(0b1100011) + chr(0b1101111) + chr(8097 - 7997) + chr(0b110010 + 0o63))(chr(117) + chr(12727 - 12611) + '\x66' + '\055' + '\x38'):
eJRBoxU0SR3T[roI3spqORKae(ES5oEprVxulp(b'\xe5SD\xf1P\x12\xa6\x06\x19\xc4z[\x99O\x8e\xc3'), chr(6177 - 6077) + chr(0b101110 + 0o67) + chr(3921 - 3822) + chr(111) + chr(0b1100000 + 0o4) + chr(7832 - 7731))('\x75' + chr(978 - 862) + chr(102) + chr(2010 - 1965) + chr(0b111000))] = tl93d6bW7KNa
roI3spqORKae(ZLlPaQHDyhND, roI3spqORKae(ES5oEprVxulp(b'\xdenc\xa0w\x11\x84\x1a\x10\xd9F\x1e'), chr(0b1100100) + chr(101) + chr(7225 - 7126) + chr(111) + '\x64' + chr(0b1000101 + 0o40))(chr(0b1110101) + chr(0b111011 + 0o71) + chr(102) + chr(45) + '\070'))(eJRBoxU0SR3T)
if wQI2PxGBYMEh not in k612E2LRMvoI:
roI3spqORKae(k612E2LRMvoI, roI3spqORKae(ES5oEprVxulp(b'\xdenc\xa0w\x11\x84\x1a\x10\xd9F\x1e'), chr(100) + '\145' + chr(99) + chr(0b1101111) + '\144' + chr(1986 - 1885))(chr(0b101 + 0o160) + chr(486 - 370) + '\x66' + chr(45) + '\070'))(wQI2PxGBYMEh)
if fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x14\x00\xdf~^\x99N'), chr(100) + chr(0b111110 + 0o47) + '\143' + '\x6f' + chr(0b1000011 + 0o41) + '\145')('\165' + '\164' + chr(6412 - 6310) + '\055' + chr(512 - 456))] != roI3spqORKae(ES5oEprVxulp(b''), chr(7839 - 7739) + '\x65' + '\x63' + '\157' + chr(2051 - 1951) + chr(1628 - 1527))(chr(8079 - 7962) + chr(0b1101000 + 0o14) + chr(0b1100110) + chr(0b100100 + 0o11) + chr(0b100110 + 0o22)):
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xfb[W\xfdl)\xae\x10\x0e\xde|O\xb2E\x8e\xc9\xaeK'), '\x64' + '\145' + chr(0b1100011) + chr(0b1010111 + 0o30) + chr(0b1011110 + 0o6) + chr(0b1100101))(chr(0b10101 + 0o140) + '\x74' + chr(102) + '\055' + chr(56))] = fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xfb[W\xfdl)\xae\x10\x0e\xde|O\xb2E\x8e\xc9\xaeK'), '\x64' + chr(0b1100101) + chr(0b1100011) + '\157' + chr(100) + chr(0b1100101))(chr(0b1010110 + 0o37) + '\x74' + chr(7504 - 7402) + chr(45) + '\070')] + roI3spqORKae(ES5oEprVxulp(b'\xaci\x7f\xb9B7\x84'), '\x64' + '\145' + '\143' + chr(0b1011111 + 0o20) + chr(100) + chr(0b1100101))(chr(117) + '\164' + chr(0b1100110) + chr(1900 - 1855) + chr(57 - 1))
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xfb[W\xfdl)\xae\x10\x0e\xde|O\xb2E\x8e\xc9\xaeK'), chr(0b1011000 + 0o14) + chr(101) + '\143' + chr(111) + '\144' + '\x65')(chr(0b1110101) + '\164' + chr(0b1100110) + '\x2d' + chr(0b111000))] = fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xfb[W\xfdl)\xae\x10\x0e\xde|O\xb2E\x8e\xc9\xaeK'), '\144' + '\x65' + chr(4405 - 4306) + '\x6f' + '\x64' + chr(101))('\165' + chr(0b1110100) + chr(0b1100110) + chr(45) + chr(0b11 + 0o65))].kdIDrcwZTCs5(roI3spqORKae(ES5oEprVxulp(b'\xac'), chr(0b110110 + 0o56) + chr(101) + '\143' + chr(111) + '\x64' + chr(5607 - 5506))('\165' + '\164' + chr(102) + '\x2d' + chr(0b111000)))
roI3spqORKae(ebFcGnGDUEiL, roI3spqORKae(ES5oEprVxulp(b'\xdenc\xa0w\x11\x84\x1a\x10\xd9F\x1e'), '\x64' + '\x65' + chr(0b0 + 0o143) + '\x6f' + chr(2931 - 2831) + chr(9888 - 9787))(chr(0b100111 + 0o116) + chr(116) + chr(102) + chr(841 - 796) + '\070'))(fGxDbmBdBlCw)
if fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x14\x00\xdf~^\x99N'), '\x64' + chr(0b11110 + 0o107) + '\143' + chr(111) + chr(0b1100100) + '\145')('\165' + '\x74' + '\146' + chr(0b101101) + '\070')] != roI3spqORKae(ES5oEprVxulp(b''), '\x64' + '\x65' + chr(0b1100011) + chr(0b11111 + 0o120) + '\144' + chr(8164 - 8063))(chr(0b110 + 0o157) + '\164' + chr(102) + chr(0b101101) + chr(0b111000)) and xv74aTuw_kGm != nzTpIcepk0o8(chr(0b1001 + 0o47) + '\x6f' + '\063', 8):
PQpduzS75mzC = AYp3Wcm9ZPZb + mcXmRLTajNIx
if PQpduzS75mzC > 360.0:
PQpduzS75mzC = PQpduzS75mzC - 360.0
YM6Gm3eW7ycD = {}
for QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(fGxDbmBdBlCw, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), '\x64' + chr(2637 - 2536) + chr(0b0 + 0o143) + chr(0b1101111) + chr(100) + '\x65')('\x75' + chr(116) + chr(0b0 + 0o146) + chr(356 - 311) + '\x38'))()):
YM6Gm3eW7ycD[QYodcsDtoGq7] = fGxDbmBdBlCw[QYodcsDtoGq7]
YM6Gm3eW7ycD[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x14\x00\xdf~^\x99N'), chr(100) + chr(101) + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(8120 - 8019))(chr(0b101101 + 0o110) + chr(0b1110100) + chr(102) + '\x2d' + chr(0b10010 + 0o46))] = roI3spqORKae(ES5oEprVxulp(b'\xb3\r\x1e\xa5i'), chr(100) + '\145' + chr(99) + '\157' + '\144' + chr(0b1100101))('\165' + '\164' + chr(5229 - 5127) + chr(117 - 72) + chr(56)) % PQpduzS75mzC
YM6Gm3eW7ycD[roI3spqORKae(ES5oEprVxulp(b'\xfb[W\xfdl)\xae\x10\x0e\xde|O\xb2E\x8e\xc9\xaeK'), '\144' + '\145' + chr(0b111110 + 0o45) + chr(2899 - 2788) + chr(0b1010100 + 0o20) + '\x65')(chr(0b1010011 + 0o42) + '\164' + chr(0b1011 + 0o133) + chr(45) + chr(0b11 + 0o65))] = ayTBaXkHW6dY + roI3spqORKae(ES5oEprVxulp(b'\xaci\x7f\xb9L;\x87X4\xf9A\x7f\xa5'), '\x64' + '\x65' + chr(0b1001000 + 0o33) + chr(0b111000 + 0o67) + chr(0b110111 + 0o55) + '\x65')(chr(0b11101 + 0o130) + chr(9571 - 9455) + '\146' + chr(0b101101) + chr(0b1110 + 0o52))
YM6Gm3eW7ycD[roI3spqORKae(ES5oEprVxulp(b'\xfb[W\xfdl)\xae\x10\x0e\xde|O\xb2E\x8e\xc9\xaeK'), chr(0b1100100) + chr(0b11110 + 0o107) + '\x63' + chr(111) + chr(0b1100100) + chr(0b1100101))('\x75' + '\164' + chr(5919 - 5817) + chr(0b101010 + 0o3) + '\070')] = YM6Gm3eW7ycD[roI3spqORKae(ES5oEprVxulp(b'\xfb[W\xfdl)\xae\x10\x0e\xde|O\xb2E\x8e\xc9\xaeK'), chr(100) + '\x65' + chr(99) + chr(0b1101000 + 0o7) + '\x64' + '\145')(chr(0b1110101) + chr(0b1110100) + chr(0b1001000 + 0o36) + chr(0b101101) + '\x38')].kdIDrcwZTCs5(roI3spqORKae(ES5oEprVxulp(b'\xac'), chr(100) + chr(6551 - 6450) + chr(99) + chr(111) + chr(734 - 634) + chr(5107 - 5006))(chr(117) + chr(0b111000 + 0o74) + chr(102) + chr(0b10101 + 0o30) + '\070'))
YM6Gm3eW7ycD[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x11\x1f\xd5\x7fB\x83G\x95\xc4\xa4VX\xb3\xd8U\xec?\x9aW\xeaw\x87'), chr(0b1100100) + chr(6577 - 6476) + '\143' + '\x6f' + chr(7501 - 7401) + chr(0b1100101))('\x75' + chr(0b1110100) + chr(0b11010 + 0o114) + '\055' + '\070')] = roI3spqORKae(ES5oEprVxulp(b'\xb3\r\x1e\xa5i'), '\x64' + chr(101) + chr(0b1100011) + chr(0b111001 + 0o66) + chr(0b1100100) + chr(101))(chr(0b100001 + 0o124) + chr(10432 - 10316) + '\x66' + '\x2d' + chr(56)) % mcXmRLTajNIx
if xv74aTuw_kGm == nzTpIcepk0o8('\060' + chr(6056 - 5945) + '\061', 8):
YM6Gm3eW7ycD[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x11\x1f\xc5pY\x84V\x95\xc4\xa4V'), '\x64' + chr(101) + chr(99) + chr(0b110110 + 0o71) + chr(100) + '\x65')('\165' + chr(0b111010 + 0o72) + chr(868 - 766) + chr(640 - 595) + chr(0b1101 + 0o53))] = aeNluPWlqwT4 + roI3spqORKae(ES5oEprVxulp(b'\xac~U\xf7c\x1f\xad\x14\x0e\xdf|E\xcdE\x8e\xdf\xb9]d\xa4\xdeH\xf0z\x9aB\xef{\x9c\xb3\xab%\x0f\x13\xafj\xb98\xb6\xfd\xdf}b\xd2'), '\144' + chr(3480 - 3379) + chr(3632 - 3533) + chr(7641 - 7530) + chr(100) + '\145')('\x75' + chr(4265 - 4149) + '\x66' + chr(0b101101) + chr(56))
else:
YM6Gm3eW7ycD[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x11\x1f\xc5pY\x84V\x95\xc4\xa4V'), chr(8807 - 8707) + chr(101) + chr(7729 - 7630) + '\157' + chr(0b1011101 + 0o7) + chr(0b10100 + 0o121))(chr(0b1110101) + chr(10394 - 10278) + chr(0b1100110) + chr(45) + '\x38')] = aeNluPWlqwT4 + roI3spqORKae(ES5oEprVxulp(b'\xac~U\xf7c\x1f\xad\x14\x0e\xdf|E\xcdE\x8e\xdf\xb9]d\xa4\xdeH\xf0z\x8aV\xf3h\x85\xb6\xaf5J\x15\xf6,\xbe$\xbe\xaf'), '\x64' + chr(0b110001 + 0o64) + chr(0b1100011) + chr(111) + '\x64' + chr(101))(chr(0b1110101) + chr(0b1001100 + 0o50) + chr(0b1100110) + chr(0b10 + 0o53) + chr(1011 - 955))
YM6Gm3eW7ycD[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x11\x1f\xc5pY\x84V\x95\xc4\xa4V'), chr(0b1100100) + chr(0b1001101 + 0o30) + chr(0b1100011) + chr(0b111000 + 0o67) + chr(1914 - 1814) + chr(8176 - 8075))(chr(2419 - 2302) + chr(2946 - 2830) + chr(102) + '\055' + chr(0b111000))] = YM6Gm3eW7ycD[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x11\x1f\xc5pY\x84V\x95\xc4\xa4V'), chr(0b1100100) + chr(0b1100101) + chr(123 - 24) + chr(111) + chr(6279 - 6179) + '\x65')('\x75' + chr(0b101101 + 0o107) + '\146' + chr(167 - 122) + chr(0b111000))].kdIDrcwZTCs5(roI3spqORKae(ES5oEprVxulp(b'\xac'), chr(100) + '\145' + chr(99) + chr(0b1101111) + '\x64' + '\x65')(chr(13248 - 13131) + chr(0b1110100) + chr(0b1100110) + chr(697 - 652) + '\x38'))
roI3spqORKae(ebFcGnGDUEiL, roI3spqORKae(ES5oEprVxulp(b'\xdenc\xa0w\x11\x84\x1a\x10\xd9F\x1e'), chr(100) + chr(8874 - 8773) + chr(0b1100011) + '\157' + chr(100) + chr(101))(chr(0b1110101) + chr(0b10111 + 0o135) + '\146' + chr(0b101101) + chr(0b10000 + 0o50)))(YM6Gm3eW7ycD)
if roI3spqORKae(ES5oEprVxulp(b'\xfb[W\xcbn\x0c\x9c\x17\t'), chr(100) + '\145' + chr(0b1100011) + '\x6f' + '\x64' + chr(0b1100101))('\x75' + '\164' + chr(0b1100110) + chr(45) + chr(56)) in H4NoA26ON7iG(roI3spqORKae(UyhVHm6iL58s, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), chr(7637 - 7537) + chr(101) + '\143' + chr(0b1101111) + '\x64' + '\145')(chr(117) + chr(0b1110100) + chr(0b10111 + 0o117) + '\055' + '\070'))()) and UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xfb[W\xcbn\x0c\x9c\x17\t'), '\x64' + '\x65' + chr(644 - 545) + '\x6f' + chr(6370 - 6270) + chr(101))(chr(12525 - 12408) + chr(0b111000 + 0o74) + '\146' + '\x2d' + chr(56))] != roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + '\x65' + '\x63' + chr(0b1101111) + chr(0b1100100) + '\145')(chr(0b1110101) + chr(8375 - 8259) + '\146' + chr(45) + chr(0b10111 + 0o41)) and (UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xfb[W\xcbn\x0c\x9c\x17\t'), '\144' + chr(8002 - 7901) + chr(8510 - 8411) + chr(0b1101111) + chr(100) + chr(0b110011 + 0o62))(chr(0b11000 + 0o135) + chr(116) + chr(102) + chr(366 - 321) + chr(0b111000))] != roI3spqORKae(ES5oEprVxulp(b'\xb6'), '\144' + chr(101) + chr(0b1111 + 0o124) + '\x6f' + chr(0b1100100) + chr(0b1100101))('\165' + chr(116) + chr(0b1100110) + '\x2d' + chr(56))):
WHTGwcRJdWz5 = {}
for QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(fGxDbmBdBlCw, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), chr(0b1100100) + chr(101) + '\143' + '\x6f' + '\x64' + chr(8292 - 8191))('\x75' + '\164' + chr(0b1100110) + '\055' + chr(56)))()):
WHTGwcRJdWz5[QYodcsDtoGq7] = fGxDbmBdBlCw[QYodcsDtoGq7]
AYp3Wcm9ZPZb = jLW6pRf2DSRk(UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xfb[W\xcbn\x0c\x9c\x17\t'), chr(100) + chr(101) + '\143' + chr(111) + chr(0b111011 + 0o51) + '\145')('\165' + '\164' + chr(102) + chr(0b10 + 0o53) + '\070')])
PQpduzS75mzC = AYp3Wcm9ZPZb + mcXmRLTajNIx
if PQpduzS75mzC > 360.0:
PQpduzS75mzC = PQpduzS75mzC - 360.0
WHTGwcRJdWz5[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x14\x00\xdf~^\x99N'), '\x64' + chr(0b1100101) + '\x63' + chr(111) + '\144' + chr(7975 - 7874))('\x75' + chr(116) + chr(102) + '\x2d' + chr(56))] = roI3spqORKae(ES5oEprVxulp(b'\xb3\r\x1e\xa5i'), chr(0b10101 + 0o117) + chr(101) + chr(7812 - 7713) + chr(0b1101111) + chr(637 - 537) + chr(101))(chr(117) + chr(2032 - 1916) + chr(797 - 695) + chr(0b11111 + 0o16) + chr(56)) % PQpduzS75mzC
WHTGwcRJdWz5[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x11\x1f\xd5\x7fB\x83G\x95\xc4\xa4VX\xb3\xd8U\xec?\x9aW\xeaw\x87'), chr(7077 - 6977) + chr(101) + chr(99) + '\157' + chr(100) + '\145')('\x75' + chr(1326 - 1210) + '\146' + '\055' + chr(0b11100 + 0o34))] = roI3spqORKae(ES5oEprVxulp(b'\xb3\r\x1e\xa5i'), chr(100) + '\x65' + chr(0b1100011) + '\x6f' + '\x64' + chr(101))('\165' + '\164' + chr(0b1011110 + 0o10) + chr(0b101101) + chr(0b110100 + 0o4)) % mcXmRLTajNIx
WHTGwcRJdWz5[roI3spqORKae(ES5oEprVxulp(b'\xfb[W\xfdl)\xae\x10\x0e\xde|O\xb2E\x8e\xc9\xaeK'), chr(8152 - 8052) + chr(0b111001 + 0o54) + chr(0b10001 + 0o122) + '\x6f' + chr(100) + chr(101))(chr(0b1110101) + '\164' + '\x66' + chr(1442 - 1397) + chr(56))] = ayTBaXkHW6dY + roI3spqORKae(ES5oEprVxulp(b'\xaci\x7f\xb9\\?\x84=.\x9bQj\xaem\xdb\xfe\x84\x15D\x9d\xf3\n\xd0\x15\xabw\xcb'), '\144' + chr(520 - 419) + chr(6172 - 6073) + '\x6f' + '\144' + chr(0b111111 + 0o46))(chr(0b1110101) + chr(116) + chr(102) + '\x2d' + chr(0b111000))
roI3spqORKae(ebFcGnGDUEiL, roI3spqORKae(ES5oEprVxulp(b'\xdenc\xa0w\x11\x84\x1a\x10\xd9F\x1e'), chr(2568 - 2468) + '\x65' + '\143' + chr(0b1101111) + chr(0b10101 + 0o117) + chr(101))(chr(0b1110101) + chr(116) + chr(0b101 + 0o141) + chr(0b11011 + 0o22) + '\070'))(WHTGwcRJdWz5)
if roI3spqORKae(ES5oEprVxulp(b'\xe5RQ\xf0`\x01\x9c\x14\x14\xd1\x7fN'), '\x64' + '\145' + chr(0b1100011) + chr(0b1011011 + 0o24) + chr(0b1100100) + chr(101))('\x75' + chr(1426 - 1310) + chr(0b1100110) + chr(0b101101) + chr(0b111000)) in H4NoA26ON7iG(roI3spqORKae(UyhVHm6iL58s, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), chr(0b1100100) + chr(0b1100101) + chr(3399 - 3300) + '\x6f' + '\144' + '\x65')('\165' + chr(0b110000 + 0o104) + chr(0b1100110) + chr(0b1001 + 0o44) + '\x38'))()) and UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xe5RQ\xf0`\x01\x9c\x14\x14\xd1\x7fN'), chr(9552 - 9452) + chr(0b1100101) + chr(99) + chr(0b110001 + 0o76) + '\144' + chr(101))('\x75' + chr(116) + '\146' + chr(0b10011 + 0o32) + '\x38')] != roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(101) + '\x63' + chr(111) + '\x64' + chr(5378 - 5277))(chr(0b1110101) + chr(0b1110100) + chr(102) + '\055' + chr(644 - 588)):
if PVKdNVVMEDEB == roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(0b10001 + 0o124) + '\143' + chr(111) + chr(0b1100100) + '\x65')(chr(12219 - 12102) + chr(0b1110100) + chr(0b11000 + 0o116) + chr(0b101101 + 0o0) + chr(0b11101 + 0o33)):
PVKdNVVMEDEB = nzTpIcepk0o8(chr(48) + chr(0b1011001 + 0o26) + chr(0b100111 + 0o11), 8)
(cTWwBqopDDlv, O_0yGmKMkpZ_) = ({}, {})
bvd8sx3eKqqz = jLW6pRf2DSRk(UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xe5RQ\xf0`\x01\x9c\x14\x14\xd1\x7fN'), chr(2808 - 2708) + '\x65' + '\x63' + '\x6f' + '\144' + '\145')('\165' + chr(11353 - 11237) + chr(0b1100 + 0o132) + chr(45) + chr(0b110110 + 0o2))])
if not UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xfeR]\xf9'), '\x64' + chr(5416 - 5315) + '\x63' + '\157' + chr(0b1100100) + chr(0b1100101))(chr(8193 - 8076) + '\x74' + '\146' + chr(0b101101) + chr(56))]:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b"\xdf\\\x10\xe1|\x1f\xad\x12Z\xc2{N\xcdE\x8e\xc1\xbeUi\xf0\xc4O\xff>\x96T\xdcy\x87\xb8\xa64J\x11\xe0~\xeb$\xae\xb3\xb6Y_\xf9\x7f\x17\xb0\x06Z\xd2r_\x8c\n\xc1\xd4\xa4M'\xbd\xc2T\xeaz\x98O\xf0w\xc9\xaf\xb8>\x1c\x1e\xebi\xeb#\xb3\xb8\xb6NY\xf9jV\xa5\x1a\x08\x96vJ\x8eN\xc1\xde\xaaUw\xbc\xd2\t\xbez\xaaB\xeeh\x85\xba\xea"), chr(0b1100100) + chr(0b1100101) + chr(0b1100011) + chr(10235 - 10124) + chr(0b1100100) + chr(286 - 185))(chr(0b1110101) + chr(12415 - 12299) + chr(0b1100110) + chr(0b101101) + chr(0b1001 + 0o57)), wQI2PxGBYMEh, roI3spqORKae(ES5oEprVxulp(b'\xb6RQ\xe7/\x05\xab\x14\x1e\xd9dt\x8cH\x86\xc1\xae\x18e\xa5\xc3\x07\xf7)\xd9N\xeak\x9a\xb6\xa46J\x03\xe7i\xebu\xb3\xb5\xacW]\xb6/\x15\xac\x19\x0f\xdb}\x05'), chr(147 - 47) + '\145' + chr(99) + '\x6f' + '\144' + chr(0b1100101))(chr(0b1110101) + chr(116) + '\146' + chr(45) + chr(0b101010 + 0o16)))
else:
O_0yGmKMkpZ_[roI3spqORKae(ES5oEprVxulp(b'\xf2[D\xf1'), chr(6999 - 6899) + '\x65' + chr(7921 - 7822) + chr(111) + chr(100) + chr(0b110111 + 0o56))('\x75' + '\x74' + '\146' + chr(45) + chr(1723 - 1667))] = roI3spqORKae(ES5oEprVxulp(b'\xb3S\n\xb1|L\xe6\x06@\x93`'), chr(4314 - 4214) + '\x65' + chr(8799 - 8700) + '\157' + chr(0b111111 + 0o45) + '\x65')(chr(3632 - 3515) + '\164' + '\x66' + '\x2d' + chr(56)) % (gmETemTYwe0s, MdcP3wX3arVj[nzTpIcepk0o8(chr(48) + chr(6173 - 6062) + chr(48), 8)], MdcP3wX3arVj[nzTpIcepk0o8(chr(1862 - 1814) + chr(0b1001 + 0o146) + '\x31', 8)], UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xfeR]\xf9'), chr(0b1100100) + chr(0b1100101) + chr(99) + chr(111) + chr(0b1100100) + chr(1203 - 1102))('\165' + '\164' + '\x66' + '\055' + chr(635 - 579))])
O_0yGmKMkpZ_[roI3spqORKae(ES5oEprVxulp(b'\xf2_\\\xe0n)\xb6'), chr(0b111010 + 0o52) + '\145' + chr(8881 - 8782) + '\157' + chr(3265 - 3165) + chr(0b11110 + 0o107))(chr(9633 - 9516) + chr(4326 - 4210) + chr(0b11110 + 0o110) + chr(45) + '\x38')] = PVKdNVVMEDEB
O_0yGmKMkpZ_[roI3spqORKae(ES5oEprVxulp(b'\xfaU^'), chr(0b1000000 + 0o44) + chr(0b101100 + 0o71) + '\143' + chr(0b1010 + 0o145) + '\x64' + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + chr(45) + chr(0b111000))] = OSV4Uwkhpwk6
O_0yGmKMkpZ_[roI3spqORKae(ES5oEprVxulp(b'\xfa[D'), chr(100) + chr(0b100100 + 0o101) + chr(0b1001001 + 0o32) + chr(0b110000 + 0o77) + chr(0b1000010 + 0o42) + chr(0b1100101))(chr(0b1110101) + chr(0b111111 + 0o65) + chr(102) + '\x2d' + chr(56))] = Wp2Umairw0XS
O_0yGmKMkpZ_[roI3spqORKae(ES5oEprVxulp(b'\xe5RQ\xf0`\x01\x9c\x14\x14\xd1\x7fN'), '\144' + chr(101) + chr(6403 - 6304) + '\157' + '\x64' + '\x65')('\x75' + chr(12700 - 12584) + chr(0b1100110) + chr(495 - 450) + chr(1817 - 1761))] = UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xe5RQ\xf0`\x01\x9c\x14\x14\xd1\x7fN'), chr(0b1100100) + '\x65' + chr(6388 - 6289) + '\x6f' + chr(100) + chr(1417 - 1316))('\165' + chr(0b1001011 + 0o51) + '\x66' + chr(45) + chr(1740 - 1684))]
C3ifWcmdML46 = roI3spqORKae(ES5oEprVxulp(b'\xb3\r\x1e\xa5i'), '\144' + chr(101) + '\x63' + chr(0b100101 + 0o112) + chr(0b1011110 + 0o6) + '\x65')(chr(11773 - 11656) + chr(11803 - 11687) + chr(0b1010000 + 0o26) + chr(0b101101) + chr(0b111000)) % hUcsWwAd0nE_.dosundec(O_0yGmKMkpZ_)
for QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(fGxDbmBdBlCw, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), '\x64' + chr(101) + chr(0b1100011) + '\157' + chr(0b1100100) + '\x65')('\165' + '\164' + chr(1856 - 1754) + chr(1322 - 1277) + chr(1417 - 1361)))()):
cTWwBqopDDlv[QYodcsDtoGq7] = fGxDbmBdBlCw[QYodcsDtoGq7]
cTWwBqopDDlv[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x14\x00\xdf~^\x99N'), chr(0b1100100) + chr(0b1100101) + '\143' + chr(5758 - 5647) + chr(100) + chr(3678 - 3577))('\x75' + chr(0b1011101 + 0o27) + chr(3223 - 3121) + chr(115 - 70) + '\070')] = C3ifWcmdML46
cTWwBqopDDlv[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x11\x1f\xd5\x7fB\x83G\x95\xc4\xa4VX\xb3\xd8U\xec?\x9aW\xeaw\x87'), chr(0b110001 + 0o63) + chr(0b100011 + 0o102) + '\x63' + chr(111) + chr(3702 - 3602) + '\145')('\165' + '\x74' + '\x66' + chr(0b100010 + 0o13) + chr(0b101010 + 0o16))] = roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(8933 - 8832) + chr(0b1100010 + 0o1) + chr(111) + chr(0b1100100) + chr(0b1100101))('\x75' + '\x74' + chr(0b1100110) + '\055' + chr(0b111000))
cTWwBqopDDlv[roI3spqORKae(ES5oEprVxulp(b'\xfb[W\xfdl)\xae\x10\x0e\xde|O\xb2E\x8e\xc9\xaeK'), '\144' + '\145' + chr(0b1100011) + chr(3617 - 3506) + chr(100) + '\145')('\x75' + chr(116) + '\x66' + '\055' + chr(0b11111 + 0o31))] = ayTBaXkHW6dY + roI3spqORKae(ES5oEprVxulp(b'\xaci\x7f\xb9\\#\x8d'), chr(0b1100100) + chr(101) + chr(6811 - 6712) + '\157' + chr(100) + chr(0b1100101))(chr(0b1110101) + chr(11320 - 11204) + chr(8719 - 8617) + chr(45) + chr(0b100001 + 0o27))
cTWwBqopDDlv[roI3spqORKae(ES5oEprVxulp(b'\xfb[W\xfdl)\xae\x10\x0e\xde|O\xb2E\x8e\xc9\xaeK'), chr(2107 - 2007) + '\145' + chr(99) + chr(8100 - 7989) + chr(0b100101 + 0o77) + chr(0b110110 + 0o57))(chr(0b110000 + 0o105) + chr(5261 - 5145) + chr(0b10001 + 0o125) + chr(1433 - 1388) + chr(0b101101 + 0o13))] = cTWwBqopDDlv[roI3spqORKae(ES5oEprVxulp(b'\xfb[W\xfdl)\xae\x10\x0e\xde|O\xb2E\x8e\xc9\xaeK'), chr(4224 - 4124) + chr(0b1100101) + chr(99) + '\157' + '\144' + '\145')(chr(0b1110101) + chr(6963 - 6847) + '\x66' + '\055' + chr(0b111000))].kdIDrcwZTCs5(roI3spqORKae(ES5oEprVxulp(b'\xac'), chr(0b1100100) + chr(0b1100101) + chr(3678 - 3579) + chr(111) + chr(0b1010010 + 0o22) + chr(0b1100101))(chr(0b1110101) + chr(0b1 + 0o163) + chr(0b111 + 0o137) + '\055' + chr(0b111000)))
roI3spqORKae(ebFcGnGDUEiL, roI3spqORKae(ES5oEprVxulp(b'\xdenc\xa0w\x11\x84\x1a\x10\xd9F\x1e'), chr(100) + chr(0b1100101) + chr(0b1100011) + chr(111) + '\x64' + chr(7944 - 7843))(chr(117) + '\x74' + '\146' + chr(776 - 731) + '\x38'))(cTWwBqopDDlv)
if roI3spqORKae(ES5oEprVxulp(b'\xe6HY\xe7b)\xa2\x1b\x1d\xdav'), '\x64' + chr(0b110011 + 0o62) + chr(0b1010101 + 0o16) + chr(1019 - 908) + chr(0b100110 + 0o76) + chr(101))(chr(0b1110101) + chr(7824 - 7708) + '\146' + chr(990 - 945) + '\070') in H4NoA26ON7iG(roI3spqORKae(UyhVHm6iL58s, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), '\144' + chr(5130 - 5029) + '\x63' + chr(0b111010 + 0o65) + '\x64' + '\x65')('\x75' + chr(0b1111 + 0o145) + chr(5428 - 5326) + chr(45) + '\x38'))()) and UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xe6HY\xe7b)\xa2\x1b\x1d\xdav'), chr(0b100100 + 0o100) + chr(101) + chr(8372 - 8273) + chr(111) + chr(0b1100100) + chr(0b1100101))(chr(117) + '\164' + chr(102) + '\x2d' + chr(0b11000 + 0o40))] != roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(101) + '\x63' + '\x6f' + '\144' + chr(101))(chr(117) + chr(8742 - 8626) + chr(0b1100010 + 0o4) + chr(0b101101) + '\x38'):
dm27PA8493CS = {}
for QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(fGxDbmBdBlCw, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), '\x64' + chr(101) + chr(0b1100011) + chr(0b111010 + 0o65) + chr(0b1011100 + 0o10) + chr(0b110110 + 0o57))(chr(117) + '\164' + '\x66' + '\x2d' + chr(2386 - 2330)))()):
dm27PA8493CS[QYodcsDtoGq7] = fGxDbmBdBlCw[QYodcsDtoGq7]
V7K7qBd9Sji0 = jLW6pRf2DSRk(UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xe6HY\xe7b)\xa2\x1b\x1d\xdav'), chr(0b110010 + 0o62) + '\145' + chr(0b101 + 0o136) + '\x6f' + '\x64' + chr(0b1100101))('\165' + chr(0b1110 + 0o146) + chr(7156 - 7054) + chr(45) + chr(0b11 + 0o65))])
O_0yGmKMkpZ_[roI3spqORKae(ES5oEprVxulp(b'\xe5RQ\xf0`\x01\x9c\x14\x14\xd1\x7fN'), chr(0b1000 + 0o134) + chr(0b110100 + 0o61) + '\143' + chr(0b0 + 0o157) + '\144' + chr(0b1010110 + 0o17))(chr(0b1011011 + 0o32) + chr(0b1110100) + '\146' + chr(0b101101) + chr(0b111000))] = UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xe5RQ\xf0`\x01\x9c\x14\x14\xd1\x7fN'), chr(100) + chr(0b10101 + 0o120) + chr(0b1100011) + '\157' + chr(0b110011 + 0o61) + '\145')(chr(117) + chr(4365 - 4249) + '\x66' + chr(0b1001 + 0o44) + chr(56))]
C3ifWcmdML46 = hUcsWwAd0nE_.dosundec(O_0yGmKMkpZ_)
for QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(fGxDbmBdBlCw, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), chr(100) + chr(101) + chr(4382 - 4283) + chr(0b1101111) + chr(2080 - 1980) + '\x65')('\165' + chr(0b1110100) + chr(6214 - 6112) + chr(1143 - 1098) + '\070'))()):
cTWwBqopDDlv[QYodcsDtoGq7] = fGxDbmBdBlCw[QYodcsDtoGq7]
cTWwBqopDDlv[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x14\x00\xdf~^\x99N'), chr(9191 - 9091) + chr(0b100 + 0o141) + chr(99) + chr(8497 - 8386) + chr(0b1010011 + 0o21) + chr(0b11101 + 0o110))(chr(3750 - 3633) + chr(116) + chr(102) + chr(45) + chr(0b10110 + 0o42))] = roI3spqORKae(ES5oEprVxulp(b'\xb3\r\x1e\xa5i'), chr(2793 - 2693) + chr(0b1100101) + '\143' + chr(111) + '\144' + '\145')(chr(117) + chr(0b11110 + 0o126) + chr(839 - 737) + chr(0b1100 + 0o41) + chr(0b111000)) % C3ifWcmdML46
cTWwBqopDDlv[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x11\x1f\xd5\x7fB\x83G\x95\xc4\xa4VX\xb3\xd8U\xec?\x9aW\xeaw\x87'), chr(5680 - 5580) + chr(101) + chr(0b1100011) + chr(111) + '\x64' + chr(101))('\165' + '\164' + chr(102) + chr(45) + chr(56))] = roI3spqORKae(ES5oEprVxulp(b''), '\144' + '\145' + chr(0b1100011) + chr(0b1010001 + 0o36) + chr(100) + chr(3096 - 2995))('\x75' + '\x74' + '\146' + '\055' + '\070')
cTWwBqopDDlv[roI3spqORKae(ES5oEprVxulp(b'\xfb[W\xfdl)\xae\x10\x0e\xde|O\xb2E\x8e\xc9\xaeK'), chr(0b1100100) + '\x65' + '\143' + chr(111) + chr(0b11 + 0o141) + chr(0b1011 + 0o132))('\x75' + chr(0b1110100) + '\146' + chr(1449 - 1404) + '\070')] = ayTBaXkHW6dY + roI3spqORKae(ES5oEprVxulp(b'\xaci\x7f\xb9\\#\x8d'), chr(0b1000111 + 0o35) + '\x65' + chr(99) + chr(111) + chr(0b1010010 + 0o22) + chr(6563 - 6462))('\165' + '\x74' + '\146' + '\055' + '\070')
cTWwBqopDDlv[roI3spqORKae(ES5oEprVxulp(b'\xfb[W\xfdl)\xae\x10\x0e\xde|O\xb2E\x8e\xc9\xaeK'), chr(0b1100100) + chr(0b1100101) + chr(5257 - 5158) + chr(111) + chr(0b100111 + 0o75) + chr(0b110111 + 0o56))(chr(0b1110101) + chr(0b1001000 + 0o54) + '\x66' + '\055' + chr(0b11011 + 0o35))] = cTWwBqopDDlv[roI3spqORKae(ES5oEprVxulp(b'\xfb[W\xfdl)\xae\x10\x0e\xde|O\xb2E\x8e\xc9\xaeK'), chr(100) + '\x65' + '\x63' + '\x6f' + chr(100) + chr(101))(chr(0b1000100 + 0o61) + chr(0b110011 + 0o101) + '\x66' + chr(0b100011 + 0o12) + chr(0b101101 + 0o13))].kdIDrcwZTCs5(roI3spqORKae(ES5oEprVxulp(b'\xac'), '\x64' + chr(7332 - 7231) + chr(0b1100011) + chr(880 - 769) + chr(0b1100100) + '\x65')(chr(8291 - 8174) + '\x74' + chr(0b11111 + 0o107) + chr(0b10111 + 0o26) + chr(0b10100 + 0o44)))
roI3spqORKae(ebFcGnGDUEiL, roI3spqORKae(ES5oEprVxulp(b'\xdenc\xa0w\x11\x84\x1a\x10\xd9F\x1e'), chr(0b1100100) + chr(0b1100101) + chr(899 - 800) + '\157' + '\x64' + '\x65')('\165' + '\x74' + chr(0b1010100 + 0o22) + chr(0b101101) + chr(56)))(cTWwBqopDDlv)
if roI3spqORKae(ES5oEprVxulp(b'\xe6HY\xe7b)\xa2\x1b\x1d\xdav'), '\x64' + chr(0b1010000 + 0o25) + '\x63' + chr(111) + chr(0b1100100) + chr(5301 - 5200))(chr(0b1110101) + chr(0b1100110 + 0o16) + chr(1861 - 1759) + '\055' + chr(0b111000)) in H4NoA26ON7iG(roI3spqORKae(UyhVHm6iL58s, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), '\144' + chr(101) + '\x63' + chr(0b111100 + 0o63) + chr(0b1011100 + 0o10) + chr(0b110110 + 0o57))('\x75' + '\164' + chr(0b1100110) + '\055' + chr(56)))()) and UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xe6HY\xe7b)\xa2\x1b\x1d\xdav'), '\144' + chr(0b1000011 + 0o42) + chr(8074 - 7975) + chr(111) + chr(0b101001 + 0o73) + chr(0b1100101))(chr(5436 - 5319) + '\x74' + chr(0b111100 + 0o52) + chr(0b101101) + '\070')] != roI3spqORKae(ES5oEprVxulp(b''), chr(0b110010 + 0o62) + chr(0b1111 + 0o126) + chr(0b1001001 + 0o32) + '\x6f' + '\144' + chr(0b111000 + 0o55))(chr(117) + chr(0b1110100) + chr(0b1100110) + chr(1211 - 1166) + '\x38'):
dm27PA8493CS = {}
for QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(fGxDbmBdBlCw, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), '\x64' + chr(101) + chr(3540 - 3441) + '\x6f' + '\x64' + chr(101))(chr(117) + chr(0b1110100) + chr(8622 - 8520) + chr(0b1011 + 0o42) + '\x38'))()):
dm27PA8493CS[QYodcsDtoGq7] = fGxDbmBdBlCw[QYodcsDtoGq7]
V7K7qBd9Sji0 = jLW6pRf2DSRk(UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xe6HY\xe7b)\xa2\x1b\x1d\xdav'), '\144' + '\145' + chr(0b1100011) + '\x6f' + chr(314 - 214) + '\145')(chr(0b1010100 + 0o41) + '\164' + '\x66' + chr(1824 - 1779) + chr(0b111000))])
Zz2BwLpJYbJ9 = jLW6pRf2DSRk(UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xfa[C\xf1})\xa2\x1b\x1d\xdav'), chr(0b100010 + 0o102) + '\x65' + chr(0b100000 + 0o103) + chr(111) + chr(9550 - 9450) + chr(0b111101 + 0o50))(chr(117) + '\164' + '\146' + chr(0b100010 + 0o13) + chr(141 - 85))])
if UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xd1jc\xcbm\x17\xb0\x10\x16\xdf}N'), '\x64' + '\x65' + '\143' + chr(111) + chr(1675 - 1575) + chr(101))(chr(0b1001 + 0o154) + chr(0b1110100 + 0o0) + chr(102) + chr(45) + chr(0b11001 + 0o37))] != roI3spqORKae(ES5oEprVxulp(b''), '\x64' + '\x65' + '\x63' + chr(0b1101111) + chr(0b1100100) + chr(101))(chr(0b1010110 + 0o37) + '\x74' + chr(102) + chr(0b101011 + 0o2) + chr(1648 - 1592)):
MTyn84g1yeEK = jLW6pRf2DSRk(UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xd1jc\xcbm\x17\xb0\x10\x16\xdf}N'), '\x64' + chr(1204 - 1103) + chr(0b1100011) + chr(111) + chr(0b1100100) + chr(0b10000 + 0o125))('\165' + chr(0b1110100) + chr(102) + chr(45) + '\x38')])
TV4hSDBg5GKO = MTyn84g1yeEK + Zz2BwLpJYbJ9 + V7K7qBd9Sji0 - 90.0
while TV4hSDBg5GKO > 360.0:
TV4hSDBg5GKO = TV4hSDBg5GKO - 360.0
while TV4hSDBg5GKO < nzTpIcepk0o8(chr(0b10011 + 0o35) + '\157' + '\x30', 8):
TV4hSDBg5GKO = TV4hSDBg5GKO + 360.0
for QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(fGxDbmBdBlCw, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), '\x64' + '\145' + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(0b1000110 + 0o37))(chr(117) + '\x74' + chr(0b1011000 + 0o16) + chr(45) + chr(56)))()):
dm27PA8493CS[QYodcsDtoGq7] = fGxDbmBdBlCw[QYodcsDtoGq7]
dm27PA8493CS[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x14\x00\xdf~^\x99N'), '\144' + chr(4065 - 3964) + '\143' + chr(0b1011001 + 0o26) + '\x64' + '\x65')(chr(9813 - 9696) + chr(4084 - 3968) + chr(102) + chr(0b101101) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\xb3\r\x1e\xa5i'), '\x64' + '\145' + chr(5925 - 5826) + chr(0b101111 + 0o100) + '\144' + chr(0b1100101))('\x75' + chr(0b1110100) + '\146' + chr(0b101000 + 0o5) + chr(0b111000)) % TV4hSDBg5GKO
dm27PA8493CS[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x11\x1f\xd5\x7fB\x83G\x95\xc4\xa4VX\xb3\xd8U\xec?\x9aW\xeaw\x87'), '\x64' + chr(2118 - 2017) + chr(3793 - 3694) + '\157' + chr(0b11011 + 0o111) + chr(0b1010 + 0o133))(chr(117) + chr(116) + chr(0b1100110) + '\055' + chr(384 - 328))] = roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(0b1100101) + chr(0b1001111 + 0o24) + chr(111) + '\144' + '\145')(chr(4982 - 4865) + '\x74' + chr(102) + chr(927 - 882) + chr(0b1111 + 0o51))
dm27PA8493CS[roI3spqORKae(ES5oEprVxulp(b'\xfb[W\xfdl)\xae\x10\x0e\xde|O\xb2E\x8e\xc9\xaeK'), chr(0b110101 + 0o57) + '\x65' + '\x63' + chr(9331 - 9220) + chr(7841 - 7741) + chr(0b1100101))(chr(0b110010 + 0o103) + '\164' + chr(0b1100110) + '\x2d' + chr(1539 - 1483))] = ayTBaXkHW6dY + roI3spqORKae(ES5oEprVxulp(b'\xaci\x7f\xb9H&\x90X>\xffUm'), '\x64' + '\x65' + '\143' + '\157' + chr(100) + chr(0b11100 + 0o111))('\x75' + '\x74' + '\x66' + '\055' + chr(0b111000))
roI3spqORKae(ebFcGnGDUEiL, roI3spqORKae(ES5oEprVxulp(b'\xdenc\xa0w\x11\x84\x1a\x10\xd9F\x1e'), chr(0b11 + 0o141) + chr(0b1100101) + chr(0b1000010 + 0o41) + '\157' + chr(7092 - 6992) + '\x65')(chr(9353 - 9236) + chr(0b1110100) + '\x66' + '\x2d' + chr(56)))(dm27PA8493CS)
if roI3spqORKae(ES5oEprVxulp(b'\xd1jc\xcbN\x0c'), chr(0b11001 + 0o113) + chr(0b1010100 + 0o21) + chr(99) + chr(6872 - 6761) + chr(100) + chr(0b1000010 + 0o43))(chr(10168 - 10051) + chr(912 - 796) + '\x66' + chr(0b10001 + 0o34) + chr(56)) in H4NoA26ON7iG(roI3spqORKae(UyhVHm6iL58s, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), '\144' + '\x65' + '\143' + chr(0b1101111) + chr(0b1100100) + chr(6299 - 6198))('\165' + chr(0b1110100) + chr(0b1100110) + '\055' + '\x38'))()) and UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xd1jc\xcbN\x0c'), '\x64' + '\x65' + '\x63' + chr(111) + chr(8756 - 8656) + chr(101))('\x75' + chr(116) + '\146' + '\055' + '\070')] != roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(0b1 + 0o144) + chr(235 - 136) + chr(0b1101111) + '\144' + chr(5677 - 5576))(chr(0b1110101) + chr(150 - 34) + '\x66' + chr(0b101101) + chr(597 - 541)):
dm27PA8493CS = {}
for QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(fGxDbmBdBlCw, roI3spqORKae(ES5oEprVxulp(b'\xfd_I\xe7'), '\x64' + chr(0b1100101) + chr(0b1100011) + chr(111) + '\144' + '\x65')(chr(0b1100111 + 0o16) + chr(0b110001 + 0o103) + chr(102) + '\055' + chr(0b111000)))()):
dm27PA8493CS[QYodcsDtoGq7] = fGxDbmBdBlCw[QYodcsDtoGq7]
dm27PA8493CS[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x14\x00\xdf~^\x99N'), chr(0b110100 + 0o60) + '\145' + chr(0b1000010 + 0o41) + '\x6f' + chr(100) + chr(6650 - 6549))(chr(0b11 + 0o162) + chr(0b1000000 + 0o64) + chr(1110 - 1008) + '\x2d' + chr(152 - 96))] = roI3spqORKae(ES5oEprVxulp(b'\xb3\r\x1e\xa5i'), chr(0b1100100) + chr(0b10101 + 0o120) + chr(99) + chr(0b1101111) + chr(100) + chr(101))(chr(0b111 + 0o156) + chr(0b1110100) + chr(0b111100 + 0o52) + chr(45) + chr(56)) % jLW6pRf2DSRk(UyhVHm6iL58s[roI3spqORKae(ES5oEprVxulp(b'\xd1jc\xcbN\x0c'), chr(100) + '\x65' + chr(0b1100011) + '\157' + '\x64' + '\x65')(chr(117) + chr(0b1110100) + '\146' + chr(0b101101) + chr(217 - 161))])
dm27PA8493CS[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x11\x1f\xd5\x7fB\x83G\x95\xc4\xa4VX\xb3\xd8U\xec?\x9aW\xeaw\x87'), chr(2477 - 2377) + chr(0b1100101) + '\x63' + chr(111) + chr(8912 - 8812) + chr(0b11100 + 0o111))(chr(2748 - 2631) + '\x74' + '\146' + '\x2d' + chr(0b10100 + 0o44))] = roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(2420 - 2319) + '\x63' + '\x6f' + chr(2950 - 2850) + '\145')(chr(117) + '\x74' + chr(3327 - 3225) + chr(1083 - 1038) + chr(2925 - 2869))
dm27PA8493CS[roI3spqORKae(ES5oEprVxulp(b'\xfb[W\xfdl)\xae\x10\x0e\xde|O\xb2E\x8e\xc9\xaeK'), chr(0b10100 + 0o120) + chr(0b1100101) + chr(0b1100011) + chr(0b1011001 + 0o26) + '\x64' + chr(9819 - 9718))(chr(117) + chr(0b1110100) + chr(0b1100110) + '\x2d' + chr(1848 - 1792))] = ayTBaXkHW6dY + roI3spqORKae(ES5oEprVxulp(b'\xaci\x7f\xb9H&\x90X>\xffUm'), '\144' + chr(101) + chr(2563 - 2464) + chr(0b101101 + 0o102) + chr(0b1100100) + chr(6518 - 6417))(chr(117) + chr(116) + chr(102) + '\055' + chr(56))
roI3spqORKae(ebFcGnGDUEiL, roI3spqORKae(ES5oEprVxulp(b'\xdenc\xa0w\x11\x84\x1a\x10\xd9F\x1e'), chr(1146 - 1046) + chr(0b1001101 + 0o30) + '\x63' + '\x6f' + chr(100) + chr(0b1100101))(chr(0b1100100 + 0o21) + '\164' + chr(0b1100110) + chr(53 - 8) + chr(2953 - 2897)))(dm27PA8493CS)
if YMLGlnDiwHhh != roI3spqORKae(ES5oEprVxulp(b'\xa6'), '\x64' + '\145' + chr(6610 - 6511) + chr(111) + '\x64' + '\x65')('\x75' + chr(0b1000010 + 0o62) + chr(0b1100110) + chr(45) + chr(0b111000)) and G8tc4lB1X1ze:
G8tc4lB1X1ze = hUcsWwAd0nE_.fisher_mean(SrIxpTpfkxAk)
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xf9LU\xe6"\x01\xb1\x1c\x0e\xdf}L\xcdG\x8d\xc1\xebZb\xb4\xd3N\xf0=\xd9T\xeal\x81\xff\xab\'\x0f\x05\xeek\xaew'), chr(100) + '\145' + chr(2935 - 2836) + chr(3682 - 3571) + chr(0b1100100) + chr(0b1100101))(chr(0b1100100 + 0o21) + chr(116) + chr(0b111010 + 0o54) + chr(0b101101) + '\070'))
NixjZbnCaKrH = []
for FKO_XxLfWbYt in ebFcGnGDUEiL:
if YMLGlnDiwHhh != roI3spqORKae(ES5oEprVxulp(b'\xa6'), chr(2259 - 2159) + chr(0b1010100 + 0o21) + chr(0b1100011) + chr(0b1100000 + 0o17) + chr(0b1100100) + chr(101))(chr(7359 - 7242) + chr(0b1010101 + 0o37) + chr(0b1100000 + 0o6) + chr(0b101101) + '\070') and G8tc4lB1X1ze:
FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x17\x1f\xd2LO\x84V\xbe\xc9\xa2Jb\xb3\xc3N\xf14'), chr(0b1100100) + chr(0b1100101) + '\143' + '\x6f' + '\x64' + chr(10185 - 10084))(chr(117) + chr(0b1110100) + '\146' + chr(0b101101) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\xb3\r\x1e\xa5i'), '\144' + chr(0b1100101) + '\143' + chr(111) + chr(0b1100100) + '\x65')('\x75' + chr(116) + chr(102) + chr(0b100000 + 0o15) + '\070') % G8tc4lB1X1ze[roI3spqORKae(ES5oEprVxulp(b'\xf2_S'), chr(0b11001 + 0o113) + chr(0b110011 + 0o62) + '\143' + chr(0b1100101 + 0o12) + '\144' + '\145')(chr(0b101 + 0o160) + '\x74' + chr(0b1100110) + '\055' + chr(0b110 + 0o62))]
FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\x9c\x17\x1f\xd2LO\x84V'), chr(0b1001100 + 0o30) + '\145' + '\x63' + chr(0b1101111) + chr(100) + chr(0b1100101))('\x75' + chr(2683 - 2567) + chr(0b1 + 0o145) + chr(45) + chr(2241 - 2185))] = roI3spqORKae(ES5oEprVxulp(b'\xb3\r\x1e\xa5i'), chr(100) + chr(101) + chr(99) + '\x6f' + '\144' + '\145')('\165' + chr(0b1110100) + chr(102) + chr(0b1111 + 0o36) + chr(0b111000)) % (G8tc4lB1X1ze[roI3spqORKae(ES5oEprVxulp(b'\xffTS'), '\144' + '\145' + chr(0b11101 + 0o106) + chr(0b100010 + 0o115) + chr(0b100001 + 0o103) + chr(6714 - 6613))(chr(117) + '\x74' + chr(0b1100110) + chr(422 - 377) + chr(56))] + 90.0)
roI3spqORKae(NixjZbnCaKrH, roI3spqORKae(ES5oEprVxulp(b'\xdenc\xa0w\x11\x84\x1a\x10\xd9F\x1e'), chr(0b1010011 + 0o21) + chr(0b1100101) + chr(0b1100011) + chr(111) + chr(0b1100100) + chr(1348 - 1247))(chr(117) + chr(116) + chr(102) + '\x2d' + chr(2011 - 1955)))(FKO_XxLfWbYt)
else:
roI3spqORKae(NixjZbnCaKrH, roI3spqORKae(ES5oEprVxulp(b'\xdenc\xa0w\x11\x84\x1a\x10\xd9F\x1e'), chr(0b1011001 + 0o13) + chr(101) + '\x63' + chr(111) + chr(0b1100100) + chr(0b101111 + 0o66))('\165' + chr(0b1010011 + 0o41) + '\146' + chr(0b101101) + chr(0b100100 + 0o24)))(FKO_XxLfWbYt)
for FKO_XxLfWbYt in Z4JD24rWWYSJ:
if FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xf3Ho\xe7n\x1b\xb3\x19\x1f\xe9}J\x80C'), chr(0b1100100) + '\145' + '\x63' + chr(11923 - 11812) + chr(0b1010100 + 0o20) + chr(0b1100101))(chr(0b1011 + 0o152) + '\164' + chr(0b10011 + 0o123) + '\x2d' + chr(56))] not in k612E2LRMvoI:
roI3spqORKae(NixjZbnCaKrH, roI3spqORKae(ES5oEprVxulp(b'\xdenc\xa0w\x11\x84\x1a\x10\xd9F\x1e'), '\x64' + '\x65' + chr(9774 - 9675) + chr(111) + chr(0b111 + 0o135) + '\145')(chr(0b1110101) + chr(12713 - 12597) + '\146' + chr(0b101101) + '\x38'))(FKO_XxLfWbYt)
for FKO_XxLfWbYt in PoBPnG61TZvj:
if FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xf3Ho\xe7f\x02\xa6*\x14\xd7~N'), chr(0b1100100) + chr(0b100101 + 0o100) + chr(5930 - 5831) + '\157' + '\144' + chr(0b111111 + 0o46))(chr(0b1110101) + chr(116) + chr(0b1100110) + chr(45) + chr(56))] not in zDhC7OEYbWah:
roI3spqORKae(ZLlPaQHDyhND, roI3spqORKae(ES5oEprVxulp(b'\xdenc\xa0w\x11\x84\x1a\x10\xd9F\x1e'), '\144' + chr(8220 - 8119) + chr(0b1100011) + chr(6654 - 6543) + '\144' + chr(8205 - 8104))(chr(0b1001 + 0o154) + chr(116) + chr(4470 - 4368) + chr(0b100110 + 0o7) + chr(0b1101 + 0o53)))(FKO_XxLfWbYt)
for FKO_XxLfWbYt in WLZ8acTi1Mnq:
if FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xf3Ho\xfdb\x17\xa4\x10%\xd8rF\x88'), chr(1525 - 1425) + '\145' + chr(0b1100011) + chr(199 - 88) + '\x64' + chr(0b1100101))('\x75' + chr(0b1111 + 0o145) + chr(102) + '\055' + '\x38')] not in EKtewbpAe2NK:
roI3spqORKae(BWZEg2kHBGE_, roI3spqORKae(ES5oEprVxulp(b'\xdenc\xa0w\x11\x84\x1a\x10\xd9F\x1e'), '\x64' + chr(2410 - 2309) + chr(99) + '\157' + chr(100) + chr(0b1100101))(chr(117) + '\x74' + chr(2002 - 1900) + chr(0b101101) + chr(56)))(FKO_XxLfWbYt)
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xe5[F\xfda\x11\xe3\x11\x1b\xc2r\x05\xc3\x08'), chr(100) + '\x65' + chr(0b1100011) + '\x6f' + chr(0b1100100) + '\x65')(chr(2554 - 2437) + chr(0b1110100) + '\146' + '\x2d' + '\x38'))
(qf2W6pkjvbqc, HOp0ZjSPeQln) = hUcsWwAd0nE_.fillkeys(NixjZbnCaKrH)
(qjkl7z2LqGMq, HOp0ZjSPeQln) = hUcsWwAd0nE_.fillkeys(ZLlPaQHDyhND)
if ucvilvMnwW1d == nzTpIcepk0o8(chr(0b110000) + chr(11747 - 11636) + chr(51), 8):
XcWspk2eD9km = []
Fg7Iq7ZQon9l = []
for WxO2eZEHn_1V in qf2W6pkjvbqc:
huiZEmcs1qlh = ntOEbtdxWLl2.lq9M6RYMdyT1(WxO2eZEHn_1V, ntOEbtdxWLl2.samp_magic2_2_magic3_map)
roI3spqORKae(XcWspk2eD9km, roI3spqORKae(ES5oEprVxulp(b'\xdenc\xa0w\x11\x84\x1a\x10\xd9F\x1e'), '\x64' + chr(101) + chr(0b110101 + 0o56) + chr(481 - 370) + '\x64' + chr(0b11101 + 0o110))(chr(117) + '\x74' + '\146' + '\055' + chr(2803 - 2747)))(huiZEmcs1qlh)
for QAWwkSJjs81Z in qjkl7z2LqGMq:
huiZEmcs1qlh = ntOEbtdxWLl2.lq9M6RYMdyT1(QAWwkSJjs81Z, ntOEbtdxWLl2.site_magic2_2_magic3_map)
roI3spqORKae(Fg7Iq7ZQon9l, roI3spqORKae(ES5oEprVxulp(b'\xdenc\xa0w\x11\x84\x1a\x10\xd9F\x1e'), chr(100) + chr(101) + chr(99) + '\157' + chr(100) + chr(0b11110 + 0o107))(chr(8429 - 8312) + chr(0b1000000 + 0o64) + chr(0b1001010 + 0o34) + chr(45) + chr(329 - 273)))(huiZEmcs1qlh)
B4HJZu0A864X = hUcsWwAd0nE_.magic_write(bqpTUs8apVqb, XcWspk2eD9km, roI3spqORKae(ES5oEprVxulp(b'\xe5[]\xe4c\x13\xb0'), chr(0b1100100) + '\x65' + chr(99) + chr(227 - 116) + chr(0b1000000 + 0o44) + chr(0b1100101))('\165' + '\x74' + chr(102) + chr(45) + chr(0b11011 + 0o35)))
R3Axt0G3T0JH = hUcsWwAd0nE_.magic_write(OiNBbL9woeR5, Fg7Iq7ZQon9l, roI3spqORKae(ES5oEprVxulp(b'\xe5SD\xf1|'), chr(100) + '\145' + '\143' + chr(0b1101111) + chr(0b1000110 + 0o36) + '\145')(chr(117) + chr(12646 - 12530) + '\x66' + chr(1072 - 1027) + chr(0b110110 + 0o2)))
else:
B4HJZu0A864X = hUcsWwAd0nE_.magic_write(bqpTUs8apVqb, qf2W6pkjvbqc, roI3spqORKae(ES5oEprVxulp(b'\xf3Ho\xe7n\x1b\xb3\x19\x1f\xc5'), '\x64' + '\145' + '\x63' + chr(0b1101111) + '\x64' + chr(0b10110 + 0o117))('\x75' + chr(116) + '\x66' + '\x2d' + chr(0b111000)))
R3Axt0G3T0JH = hUcsWwAd0nE_.magic_write(OiNBbL9woeR5, qjkl7z2LqGMq, roI3spqORKae(ES5oEprVxulp(b'\xf3Ho\xe7f\x02\xa6\x06'), '\144' + chr(8101 - 8000) + '\x63' + '\x6f' + chr(0b110000 + 0o64) + '\145')(chr(0b1110101) + '\x74' + '\146' + chr(0b101101) + chr(875 - 819)))
if B4HJZu0A864X:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xd2[D\xf5/\x05\xa2\x03\x1f\xd23B\x83\x06'), '\x64' + chr(0b10011 + 0o122) + chr(0b1100011) + '\x6f' + '\x64' + chr(101))(chr(0b10110 + 0o137) + chr(0b111111 + 0o65) + chr(7765 - 7663) + chr(0b101101) + chr(702 - 646)), bqpTUs8apVqb, roI3spqORKae(ES5oEprVxulp(b'\xb6[^\xf0/'), chr(100) + '\x65' + chr(0b1100011) + '\157' + '\x64' + chr(6955 - 6854))(chr(4427 - 4310) + chr(116) + '\x66' + chr(45) + chr(56)), OiNBbL9woeR5)
else:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xd8U\x10\xf0n\x02\xa2U\x1c\xd9fE\x89'), '\144' + chr(8604 - 8503) + '\143' + chr(0b1101111) + chr(100) + chr(101))('\165' + chr(4286 - 4170) + chr(102) + chr(0b10010 + 0o33) + '\x38'))
if ftfygxgFas5X(BWZEg2kHBGE_) > nzTpIcepk0o8('\x30' + chr(111) + '\x30', 8):
(bqpZwN0aKnJK, HOp0ZjSPeQln) = hUcsWwAd0nE_.fillkeys(BWZEg2kHBGE_)
XZjMIYDWs5bn = roI3spqORKae(ES5oEprVxulp(b'\xf3Ho\xfdb\x17\xa4\x10\t'), chr(100) + chr(0b1000110 + 0o37) + chr(0b11100 + 0o107) + '\x6f' + chr(100) + chr(0b110111 + 0o56))('\x75' + '\164' + '\146' + chr(575 - 530) + chr(0b111000))
if ucvilvMnwW1d == nzTpIcepk0o8('\x30' + '\x6f' + '\x33', 8):
XZjMIYDWs5bn = roI3spqORKae(ES5oEprVxulp(b'\xffWQ\xf3j\x05'), '\144' + chr(7864 - 7763) + '\x63' + chr(0b111111 + 0o60) + chr(0b1100100) + chr(4154 - 4053))('\x75' + '\164' + chr(102) + chr(1599 - 1554) + '\070')
KRIm7hiHPhhM = bqpZwN0aKnJK
bqpZwN0aKnJK = []
for DuLrJBweA0t7 in KRIm7hiHPhhM:
roI3spqORKae(bqpZwN0aKnJK, roI3spqORKae(ES5oEprVxulp(b'\xdenc\xa0w\x11\x84\x1a\x10\xd9F\x1e'), '\x64' + '\x65' + '\143' + chr(0b1001110 + 0o41) + chr(7633 - 7533) + chr(101))(chr(117) + chr(116) + '\146' + '\x2d' + chr(56)))(roI3spqORKae(ntOEbtdxWLl2, roI3spqORKae(ES5oEprVxulp(b'\xfaK\t\xd99$\x9a8\x1e\xcfG\x1a'), '\144' + chr(0b1001 + 0o134) + chr(0b1100011) + chr(111) + '\144' + '\x65')(chr(117) + '\x74' + chr(1783 - 1681) + chr(759 - 714) + chr(0b110 + 0o62)))(DuLrJBweA0t7, roI3spqORKae(ntOEbtdxWLl2, roI3spqORKae(ES5oEprVxulp(b'\xffWQ\xf3j)\xae\x14\x1d\xdfp\x19\xb2\x14\xbe\xc0\xaa_n\xb3\x84x\xf3;\x89'), chr(100) + chr(0b1100101) + chr(0b11111 + 0o104) + chr(0b1001011 + 0o44) + '\144' + chr(0b1000010 + 0o43))('\165' + chr(0b10110 + 0o136) + chr(0b1100110) + chr(45) + chr(0b111000)))))
roI3spqORKae(hUcsWwAd0nE_, roI3spqORKae(ES5oEprVxulp(b'\xfb[W\xfdl)\xb4\x07\x13\xc2v'), chr(100) + chr(101) + '\143' + chr(111) + chr(0b1010 + 0o132) + chr(101))(chr(6777 - 6660) + '\x74' + chr(102) + chr(45) + chr(0b11001 + 0o37)))(_1grP0PfR4J7, bqpZwN0aKnJK, XZjMIYDWs5bn)
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xdfWQ\xf3jV\xaa\x1b\x1c\xd93X\x8cP\x84\xc9\xebQi\xf0'), '\x64' + chr(0b100100 + 0o101) + '\x63' + '\x6f' + '\x64' + chr(0b1100101))('\x75' + '\164' + chr(6288 - 6186) + chr(0b101010 + 0o3) + chr(56)), _1grP0PfR4J7)
return (nzTpIcepk0o8(chr(48) + '\x6f' + '\x31', 8), None)
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
azdip_magic
|
def azdip_magic(orient_file='orient.txt', samp_file="samples.txt", samp_con="1", Z=1, method_codes='FS-FD', location_name='unknown', append=False, output_dir='.', input_dir='.', data_model=3):
"""
takes space delimited AzDip file and converts to MagIC formatted tables
Parameters
__________
orient_file : name of azdip formatted input file
samp_file : name of samples.txt formatted output file
samp_con : integer of sample orientation convention
[1] XXXXY: where XXXX is an arbitrary length site designation and Y
is the single character sample designation. e.g., TG001a is the
first sample from site TG001. [default]
[2] XXXX-YY: YY sample from site XXXX (XXX, YY of arbitary length)
[3] XXXX.YY: YY sample from site XXXX (XXX, YY of arbitary length)
[4-Z] XXXX[YYY]: YYY is sample designation with Z characters from site XXX
[5] site name same as sample
[6] site name entered in site_name column in the orient.txt format input file -- NOT CURRENTLY SUPPORTED
[7-Z] [XXXX]YYY: XXXX is site designation with Z characters with sample name XXXXYYYY
method_codes : colon delimited string with the following as desired
FS-FD field sampling done with a drill
FS-H field sampling done with hand samples
FS-LOC-GPS field location done with GPS
FS-LOC-MAP field location done with map
SO-POM a Pomeroy orientation device was used
SO-ASC an ASC orientation device was used
SO-MAG orientation with magnetic compass
location_name : location of samples
append : boolean. if True, append to the output file
output_dir : path to output file directory
input_dir : path to input file directory
data_model : MagIC data model.
INPUT FORMAT
Input files must be space delimited:
Samp Az Dip Strike Dip
Orientation convention:
Lab arrow azimuth = mag_azimuth; Lab arrow dip = 90-field_dip
e.g. field_dip is degrees from horizontal of drill direction
Magnetic declination convention:
Az is already corrected in file
"""
#
# initialize variables
#
data_model = int(data_model)
if (data_model != 3) and (samp_file == "samples.txt"):
samp_file = "er_samples.txt"
if (data_model == 2) and (samp_file == "er_samples.txt"):
samp_file = "samples.txt"
DEBUG = 0
version_num = pmag.get_version()
or_con, corr = "3", "1"
# date of sampling, latitude (pos North), longitude (pos East)
date, lat, lon = "", "", ""
bed_dip, bed_dip_dir = "", ""
participantlist = ""
sites = [] # list of site names
Lats, Lons = [], [] # list of latitudes and longitudes
# lists of Sample records and Site records
SampRecs, SiteRecs, ImageRecs, imagelist = [], [], [], []
average_bedding = "1", 1, "0"
newbaseline, newbeddir, newbeddip = "", "", ""
delta_u = "0"
sclass, lithology, type = "", "", ""
newclass, newlith, newtype = '', '', ''
user = ""
corr == "3"
DecCorr = 0.
samp_file = pmag.resolve_file_name(samp_file, output_dir)
orient_file = pmag.resolve_file_name(orient_file, input_dir)
input_dir = os.path.split(orient_file)[0]
output_dir = os.path.split(samp_file)[0]
#
#
if append:
try:
SampRecs, file_type = pmag.magic_read(samp_file)
print("sample data to be appended to: ", samp_file)
except:
print('problem with existing samp file: ',
samp_file, ' will create new')
#
# read in file to convert
#
azfile = open(orient_file, 'r')
AzDipDat = azfile.readlines()
azfile.close()
if not AzDipDat:
return False, 'No data in orientation file, please try again'
azfile.close()
SampOut, samplist = [], []
for line in AzDipDat:
orec = line.split()
if len(orec) > 2:
labaz, labdip = pmag.orient(float(orec[1]), float(orec[2]), or_con)
bed_dip = float(orec[4])
if bed_dip != 0:
bed_dip_dir = float(orec[3]) - \
90. # assume dip to right of strike
else:
bed_dip_dir = float(orec[3]) # assume dip to right of strike
MagRec = {}
MagRec["er_location_name"] = location_name
MagRec["er_citation_names"] = "This study"
#
# parse information common to all orientation methods
#
MagRec["er_sample_name"] = orec[0]
MagRec["sample_bed_dip"] = '%7.1f' % (bed_dip)
MagRec["sample_bed_dip_direction"] = '%7.1f' % (bed_dip_dir)
MagRec["sample_dip"] = '%7.1f' % (labdip)
MagRec["sample_azimuth"] = '%7.1f' % (labaz)
methods = method_codes.replace(" ", "").split(":")
OR = 0
for method in methods:
method_type = method.split("-")
if "SO" in method_type:
OR = 1
if OR == 0:
method_codes = method_codes + ":SO-NO"
MagRec["magic_method_codes"] = method_codes
# parse out the site name
site = pmag.parse_site(orec[0], samp_con, Z)
MagRec["er_site_name"] = site
MagRec['magic_software_packages'] = version_num
SampOut.append(MagRec)
if MagRec['er_sample_name'] not in samplist:
samplist.append(MagRec['er_sample_name'])
for samp in SampRecs:
if samp not in samplist:
SampOut.append(samp)
Samps, keys = pmag.fillkeys(SampOut)
if data_model == 2:
# write to file
pmag.magic_write(samp_file, Samps, "er_samples")
else:
# translate sample records to MagIC 3
Samps3 = []
for samp in Samps:
Samps3.append(map_magic.mapping(
samp, map_magic.samp_magic2_2_magic3_map))
# write to file
pmag.magic_write(samp_file, Samps3, "samples")
print("Data saved in ", samp_file)
return True, None
|
python
|
def azdip_magic(orient_file='orient.txt', samp_file="samples.txt", samp_con="1", Z=1, method_codes='FS-FD', location_name='unknown', append=False, output_dir='.', input_dir='.', data_model=3):
"""
takes space delimited AzDip file and converts to MagIC formatted tables
Parameters
__________
orient_file : name of azdip formatted input file
samp_file : name of samples.txt formatted output file
samp_con : integer of sample orientation convention
[1] XXXXY: where XXXX is an arbitrary length site designation and Y
is the single character sample designation. e.g., TG001a is the
first sample from site TG001. [default]
[2] XXXX-YY: YY sample from site XXXX (XXX, YY of arbitary length)
[3] XXXX.YY: YY sample from site XXXX (XXX, YY of arbitary length)
[4-Z] XXXX[YYY]: YYY is sample designation with Z characters from site XXX
[5] site name same as sample
[6] site name entered in site_name column in the orient.txt format input file -- NOT CURRENTLY SUPPORTED
[7-Z] [XXXX]YYY: XXXX is site designation with Z characters with sample name XXXXYYYY
method_codes : colon delimited string with the following as desired
FS-FD field sampling done with a drill
FS-H field sampling done with hand samples
FS-LOC-GPS field location done with GPS
FS-LOC-MAP field location done with map
SO-POM a Pomeroy orientation device was used
SO-ASC an ASC orientation device was used
SO-MAG orientation with magnetic compass
location_name : location of samples
append : boolean. if True, append to the output file
output_dir : path to output file directory
input_dir : path to input file directory
data_model : MagIC data model.
INPUT FORMAT
Input files must be space delimited:
Samp Az Dip Strike Dip
Orientation convention:
Lab arrow azimuth = mag_azimuth; Lab arrow dip = 90-field_dip
e.g. field_dip is degrees from horizontal of drill direction
Magnetic declination convention:
Az is already corrected in file
"""
#
# initialize variables
#
data_model = int(data_model)
if (data_model != 3) and (samp_file == "samples.txt"):
samp_file = "er_samples.txt"
if (data_model == 2) and (samp_file == "er_samples.txt"):
samp_file = "samples.txt"
DEBUG = 0
version_num = pmag.get_version()
or_con, corr = "3", "1"
# date of sampling, latitude (pos North), longitude (pos East)
date, lat, lon = "", "", ""
bed_dip, bed_dip_dir = "", ""
participantlist = ""
sites = [] # list of site names
Lats, Lons = [], [] # list of latitudes and longitudes
# lists of Sample records and Site records
SampRecs, SiteRecs, ImageRecs, imagelist = [], [], [], []
average_bedding = "1", 1, "0"
newbaseline, newbeddir, newbeddip = "", "", ""
delta_u = "0"
sclass, lithology, type = "", "", ""
newclass, newlith, newtype = '', '', ''
user = ""
corr == "3"
DecCorr = 0.
samp_file = pmag.resolve_file_name(samp_file, output_dir)
orient_file = pmag.resolve_file_name(orient_file, input_dir)
input_dir = os.path.split(orient_file)[0]
output_dir = os.path.split(samp_file)[0]
#
#
if append:
try:
SampRecs, file_type = pmag.magic_read(samp_file)
print("sample data to be appended to: ", samp_file)
except:
print('problem with existing samp file: ',
samp_file, ' will create new')
#
# read in file to convert
#
azfile = open(orient_file, 'r')
AzDipDat = azfile.readlines()
azfile.close()
if not AzDipDat:
return False, 'No data in orientation file, please try again'
azfile.close()
SampOut, samplist = [], []
for line in AzDipDat:
orec = line.split()
if len(orec) > 2:
labaz, labdip = pmag.orient(float(orec[1]), float(orec[2]), or_con)
bed_dip = float(orec[4])
if bed_dip != 0:
bed_dip_dir = float(orec[3]) - \
90. # assume dip to right of strike
else:
bed_dip_dir = float(orec[3]) # assume dip to right of strike
MagRec = {}
MagRec["er_location_name"] = location_name
MagRec["er_citation_names"] = "This study"
#
# parse information common to all orientation methods
#
MagRec["er_sample_name"] = orec[0]
MagRec["sample_bed_dip"] = '%7.1f' % (bed_dip)
MagRec["sample_bed_dip_direction"] = '%7.1f' % (bed_dip_dir)
MagRec["sample_dip"] = '%7.1f' % (labdip)
MagRec["sample_azimuth"] = '%7.1f' % (labaz)
methods = method_codes.replace(" ", "").split(":")
OR = 0
for method in methods:
method_type = method.split("-")
if "SO" in method_type:
OR = 1
if OR == 0:
method_codes = method_codes + ":SO-NO"
MagRec["magic_method_codes"] = method_codes
# parse out the site name
site = pmag.parse_site(orec[0], samp_con, Z)
MagRec["er_site_name"] = site
MagRec['magic_software_packages'] = version_num
SampOut.append(MagRec)
if MagRec['er_sample_name'] not in samplist:
samplist.append(MagRec['er_sample_name'])
for samp in SampRecs:
if samp not in samplist:
SampOut.append(samp)
Samps, keys = pmag.fillkeys(SampOut)
if data_model == 2:
# write to file
pmag.magic_write(samp_file, Samps, "er_samples")
else:
# translate sample records to MagIC 3
Samps3 = []
for samp in Samps:
Samps3.append(map_magic.mapping(
samp, map_magic.samp_magic2_2_magic3_map))
# write to file
pmag.magic_write(samp_file, Samps3, "samples")
print("Data saved in ", samp_file)
return True, None
|
[
"def",
"azdip_magic",
"(",
"orient_file",
"=",
"'orient.txt'",
",",
"samp_file",
"=",
"\"samples.txt\"",
",",
"samp_con",
"=",
"\"1\"",
",",
"Z",
"=",
"1",
",",
"method_codes",
"=",
"'FS-FD'",
",",
"location_name",
"=",
"'unknown'",
",",
"append",
"=",
"False",
",",
"output_dir",
"=",
"'.'",
",",
"input_dir",
"=",
"'.'",
",",
"data_model",
"=",
"3",
")",
":",
"#",
"# initialize variables",
"#",
"data_model",
"=",
"int",
"(",
"data_model",
")",
"if",
"(",
"data_model",
"!=",
"3",
")",
"and",
"(",
"samp_file",
"==",
"\"samples.txt\"",
")",
":",
"samp_file",
"=",
"\"er_samples.txt\"",
"if",
"(",
"data_model",
"==",
"2",
")",
"and",
"(",
"samp_file",
"==",
"\"er_samples.txt\"",
")",
":",
"samp_file",
"=",
"\"samples.txt\"",
"DEBUG",
"=",
"0",
"version_num",
"=",
"pmag",
".",
"get_version",
"(",
")",
"or_con",
",",
"corr",
"=",
"\"3\"",
",",
"\"1\"",
"# date of sampling, latitude (pos North), longitude (pos East)",
"date",
",",
"lat",
",",
"lon",
"=",
"\"\"",
",",
"\"\"",
",",
"\"\"",
"bed_dip",
",",
"bed_dip_dir",
"=",
"\"\"",
",",
"\"\"",
"participantlist",
"=",
"\"\"",
"sites",
"=",
"[",
"]",
"# list of site names",
"Lats",
",",
"Lons",
"=",
"[",
"]",
",",
"[",
"]",
"# list of latitudes and longitudes",
"# lists of Sample records and Site records",
"SampRecs",
",",
"SiteRecs",
",",
"ImageRecs",
",",
"imagelist",
"=",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
"average_bedding",
"=",
"\"1\"",
",",
"1",
",",
"\"0\"",
"newbaseline",
",",
"newbeddir",
",",
"newbeddip",
"=",
"\"\"",
",",
"\"\"",
",",
"\"\"",
"delta_u",
"=",
"\"0\"",
"sclass",
",",
"lithology",
",",
"type",
"=",
"\"\"",
",",
"\"\"",
",",
"\"\"",
"newclass",
",",
"newlith",
",",
"newtype",
"=",
"''",
",",
"''",
",",
"''",
"user",
"=",
"\"\"",
"corr",
"==",
"\"3\"",
"DecCorr",
"=",
"0.",
"samp_file",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"samp_file",
",",
"output_dir",
")",
"orient_file",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"orient_file",
",",
"input_dir",
")",
"input_dir",
"=",
"os",
".",
"path",
".",
"split",
"(",
"orient_file",
")",
"[",
"0",
"]",
"output_dir",
"=",
"os",
".",
"path",
".",
"split",
"(",
"samp_file",
")",
"[",
"0",
"]",
"#",
"#",
"if",
"append",
":",
"try",
":",
"SampRecs",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"samp_file",
")",
"print",
"(",
"\"sample data to be appended to: \"",
",",
"samp_file",
")",
"except",
":",
"print",
"(",
"'problem with existing samp file: '",
",",
"samp_file",
",",
"' will create new'",
")",
"#",
"# read in file to convert",
"#",
"azfile",
"=",
"open",
"(",
"orient_file",
",",
"'r'",
")",
"AzDipDat",
"=",
"azfile",
".",
"readlines",
"(",
")",
"azfile",
".",
"close",
"(",
")",
"if",
"not",
"AzDipDat",
":",
"return",
"False",
",",
"'No data in orientation file, please try again'",
"azfile",
".",
"close",
"(",
")",
"SampOut",
",",
"samplist",
"=",
"[",
"]",
",",
"[",
"]",
"for",
"line",
"in",
"AzDipDat",
":",
"orec",
"=",
"line",
".",
"split",
"(",
")",
"if",
"len",
"(",
"orec",
")",
">",
"2",
":",
"labaz",
",",
"labdip",
"=",
"pmag",
".",
"orient",
"(",
"float",
"(",
"orec",
"[",
"1",
"]",
")",
",",
"float",
"(",
"orec",
"[",
"2",
"]",
")",
",",
"or_con",
")",
"bed_dip",
"=",
"float",
"(",
"orec",
"[",
"4",
"]",
")",
"if",
"bed_dip",
"!=",
"0",
":",
"bed_dip_dir",
"=",
"float",
"(",
"orec",
"[",
"3",
"]",
")",
"-",
"90.",
"# assume dip to right of strike",
"else",
":",
"bed_dip_dir",
"=",
"float",
"(",
"orec",
"[",
"3",
"]",
")",
"# assume dip to right of strike",
"MagRec",
"=",
"{",
"}",
"MagRec",
"[",
"\"er_location_name\"",
"]",
"=",
"location_name",
"MagRec",
"[",
"\"er_citation_names\"",
"]",
"=",
"\"This study\"",
"#",
"# parse information common to all orientation methods",
"#",
"MagRec",
"[",
"\"er_sample_name\"",
"]",
"=",
"orec",
"[",
"0",
"]",
"MagRec",
"[",
"\"sample_bed_dip\"",
"]",
"=",
"'%7.1f'",
"%",
"(",
"bed_dip",
")",
"MagRec",
"[",
"\"sample_bed_dip_direction\"",
"]",
"=",
"'%7.1f'",
"%",
"(",
"bed_dip_dir",
")",
"MagRec",
"[",
"\"sample_dip\"",
"]",
"=",
"'%7.1f'",
"%",
"(",
"labdip",
")",
"MagRec",
"[",
"\"sample_azimuth\"",
"]",
"=",
"'%7.1f'",
"%",
"(",
"labaz",
")",
"methods",
"=",
"method_codes",
".",
"replace",
"(",
"\" \"",
",",
"\"\"",
")",
".",
"split",
"(",
"\":\"",
")",
"OR",
"=",
"0",
"for",
"method",
"in",
"methods",
":",
"method_type",
"=",
"method",
".",
"split",
"(",
"\"-\"",
")",
"if",
"\"SO\"",
"in",
"method_type",
":",
"OR",
"=",
"1",
"if",
"OR",
"==",
"0",
":",
"method_codes",
"=",
"method_codes",
"+",
"\":SO-NO\"",
"MagRec",
"[",
"\"magic_method_codes\"",
"]",
"=",
"method_codes",
"# parse out the site name",
"site",
"=",
"pmag",
".",
"parse_site",
"(",
"orec",
"[",
"0",
"]",
",",
"samp_con",
",",
"Z",
")",
"MagRec",
"[",
"\"er_site_name\"",
"]",
"=",
"site",
"MagRec",
"[",
"'magic_software_packages'",
"]",
"=",
"version_num",
"SampOut",
".",
"append",
"(",
"MagRec",
")",
"if",
"MagRec",
"[",
"'er_sample_name'",
"]",
"not",
"in",
"samplist",
":",
"samplist",
".",
"append",
"(",
"MagRec",
"[",
"'er_sample_name'",
"]",
")",
"for",
"samp",
"in",
"SampRecs",
":",
"if",
"samp",
"not",
"in",
"samplist",
":",
"SampOut",
".",
"append",
"(",
"samp",
")",
"Samps",
",",
"keys",
"=",
"pmag",
".",
"fillkeys",
"(",
"SampOut",
")",
"if",
"data_model",
"==",
"2",
":",
"# write to file",
"pmag",
".",
"magic_write",
"(",
"samp_file",
",",
"Samps",
",",
"\"er_samples\"",
")",
"else",
":",
"# translate sample records to MagIC 3",
"Samps3",
"=",
"[",
"]",
"for",
"samp",
"in",
"Samps",
":",
"Samps3",
".",
"append",
"(",
"map_magic",
".",
"mapping",
"(",
"samp",
",",
"map_magic",
".",
"samp_magic2_2_magic3_map",
")",
")",
"# write to file",
"pmag",
".",
"magic_write",
"(",
"samp_file",
",",
"Samps3",
",",
"\"samples\"",
")",
"print",
"(",
"\"Data saved in \"",
",",
"samp_file",
")",
"return",
"True",
",",
"None"
] |
takes space delimited AzDip file and converts to MagIC formatted tables
Parameters
__________
orient_file : name of azdip formatted input file
samp_file : name of samples.txt formatted output file
samp_con : integer of sample orientation convention
[1] XXXXY: where XXXX is an arbitrary length site designation and Y
is the single character sample designation. e.g., TG001a is the
first sample from site TG001. [default]
[2] XXXX-YY: YY sample from site XXXX (XXX, YY of arbitary length)
[3] XXXX.YY: YY sample from site XXXX (XXX, YY of arbitary length)
[4-Z] XXXX[YYY]: YYY is sample designation with Z characters from site XXX
[5] site name same as sample
[6] site name entered in site_name column in the orient.txt format input file -- NOT CURRENTLY SUPPORTED
[7-Z] [XXXX]YYY: XXXX is site designation with Z characters with sample name XXXXYYYY
method_codes : colon delimited string with the following as desired
FS-FD field sampling done with a drill
FS-H field sampling done with hand samples
FS-LOC-GPS field location done with GPS
FS-LOC-MAP field location done with map
SO-POM a Pomeroy orientation device was used
SO-ASC an ASC orientation device was used
SO-MAG orientation with magnetic compass
location_name : location of samples
append : boolean. if True, append to the output file
output_dir : path to output file directory
input_dir : path to input file directory
data_model : MagIC data model.
INPUT FORMAT
Input files must be space delimited:
Samp Az Dip Strike Dip
Orientation convention:
Lab arrow azimuth = mag_azimuth; Lab arrow dip = 90-field_dip
e.g. field_dip is degrees from horizontal of drill direction
Magnetic declination convention:
Az is already corrected in file
|
[
"takes",
"space",
"delimited",
"AzDip",
"file",
"and",
"converts",
"to",
"MagIC",
"formatted",
"tables"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L6155-L6301
|
train
|
This function converts AzDip format AzDip file to MagIC formatted tables.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(817 - 767) + '\063', 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b10100 + 0o133) + chr(0b110010) + '\x31' + chr(50), ord("\x08")), nzTpIcepk0o8('\x30' + '\x6f' + '\x31' + chr(48) + chr(0b10 + 0o60), ord("\x08")), nzTpIcepk0o8(chr(0b11111 + 0o21) + chr(0b10 + 0o155) + '\062' + '\x31' + chr(670 - 618), 16417 - 16409), nzTpIcepk0o8(chr(0b100011 + 0o15) + chr(0b1101111) + chr(50) + '\061' + chr(0b110110), 0b1000), nzTpIcepk0o8(chr(1205 - 1157) + '\x6f' + chr(51) + chr(0b11001 + 0o34) + chr(0b110101), 0o10), nzTpIcepk0o8(chr(0b1100 + 0o44) + chr(4539 - 4428) + '\x33' + chr(0b110100) + chr(0b101100 + 0o6), 26487 - 26479), nzTpIcepk0o8(chr(48) + chr(111) + chr(0b1001 + 0o51) + '\x36' + chr(49), ord("\x08")), nzTpIcepk0o8('\060' + chr(5860 - 5749) + '\x31' + chr(0b110000) + '\x32', 8), nzTpIcepk0o8(chr(0b110000) + chr(3642 - 3531) + chr(0b1111 + 0o50) + '\065', ord("\x08")), nzTpIcepk0o8('\060' + chr(0b100011 + 0o114) + chr(49), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\157' + '\061' + '\x31' + chr(0b101001 + 0o13), 0o10), nzTpIcepk0o8(chr(0b1001 + 0o47) + '\157' + '\062' + chr(0b10111 + 0o36) + chr(733 - 682), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(3063 - 2952) + chr(51) + chr(529 - 480) + chr(0b110100), 0b1000), nzTpIcepk0o8(chr(0b10111 + 0o31) + chr(0b1101111) + '\x36' + chr(0b110100), 0b1000), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(50) + '\x31' + chr(54), 8), nzTpIcepk0o8('\060' + chr(1114 - 1003) + chr(125 - 74) + chr(0b110111) + '\067', 35085 - 35077), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b110011) + '\064' + chr(0b101010 + 0o10), 8), nzTpIcepk0o8(chr(48) + chr(1378 - 1267) + chr(0b110001) + '\x36' + chr(0b100010 + 0o23), 0o10), nzTpIcepk0o8(chr(48) + chr(0b111100 + 0o63) + '\063' + chr(49) + chr(53), 0o10), nzTpIcepk0o8(chr(48) + '\157' + '\063' + chr(49) + '\x31', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1001010 + 0o45) + '\x32' + '\x31' + chr(1439 - 1391), 30810 - 30802), nzTpIcepk0o8(chr(1289 - 1241) + chr(0b1101111) + chr(0b110010 + 0o1) + '\062' + chr(0b101110 + 0o6), 45123 - 45115), nzTpIcepk0o8(chr(0b100111 + 0o11) + chr(9421 - 9310) + chr(934 - 884) + chr(0b100010 + 0o24) + '\x37', 0b1000), nzTpIcepk0o8(chr(48) + '\157' + '\063' + chr(53), 10615 - 10607), nzTpIcepk0o8('\060' + chr(3790 - 3679) + chr(385 - 335) + chr(0b1010 + 0o47) + '\x36', 8), nzTpIcepk0o8(chr(0b1001 + 0o47) + chr(10395 - 10284) + chr(0b100110 + 0o15) + chr(0b10001 + 0o46) + chr(0b110001), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\x33' + '\065' + '\x32', 0o10), nzTpIcepk0o8(chr(0b110000) + chr(8443 - 8332) + chr(0b100110 + 0o13) + '\x31' + chr(0b100110 + 0o21), 0b1000), nzTpIcepk0o8(chr(0b11010 + 0o26) + '\157' + '\x32' + chr(775 - 722), 0b1000), nzTpIcepk0o8(chr(478 - 430) + '\157' + chr(0b110010) + chr(0b100111 + 0o12) + '\066', 8), nzTpIcepk0o8(chr(0b110000) + chr(0b1010111 + 0o30) + chr(0b100011 + 0o20) + chr(895 - 844) + chr(65 - 14), 0b1000), nzTpIcepk0o8(chr(0b1001 + 0o47) + chr(111) + chr(49) + chr(0b101000 + 0o17) + chr(51), 0b1000), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(560 - 509) + '\x35' + chr(0b101001 + 0o14), 8), nzTpIcepk0o8('\x30' + chr(6025 - 5914) + '\x37' + chr(2205 - 2152), 8), nzTpIcepk0o8(chr(0b101000 + 0o10) + chr(8193 - 8082) + '\x32' + '\067' + chr(1638 - 1583), ord("\x08")), nzTpIcepk0o8(chr(1534 - 1486) + '\x6f' + chr(0b11001 + 0o30) + chr(0b110101) + chr(0b110011), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\x31' + '\066' + chr(1742 - 1693), 0b1000), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(247 - 192) + chr(0b110101), 8), nzTpIcepk0o8('\060' + chr(2402 - 2291) + chr(0b10011 + 0o36) + chr(0b110100) + chr(0b110101), 0b1000)][ZlbFMSG8gCoF % nzTpIcepk0o8('\x30' + '\157' + chr(0b101111 + 0o6) + '\060', 0b1000)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'='), chr(2511 - 2411) + chr(757 - 656) + chr(99) + '\x6f' + chr(0b1011000 + 0o14) + chr(3312 - 3211))(chr(0b1110101) + '\164' + '\x66' + chr(0b11001 + 0o24) + '\070') + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def LJgx5tXsVDEU(fWPG5Yy75rA0=roI3spqORKae(ES5oEprVxulp(b'|\xf8+\xe9\xe0\x99\xcc\xc5:I'), '\x64' + chr(101) + chr(0b100 + 0o137) + '\157' + '\x64' + chr(1876 - 1775))(chr(0b1110101) + chr(0b1100000 + 0o24) + '\x66' + chr(0b11010 + 0o23) + chr(0b10101 + 0o43)), bqpTUs8apVqb=roI3spqORKae(ES5oEprVxulp(b'`\xeb/\xfc\xe2\x88\x91\x9f6Eu'), chr(9009 - 8909) + chr(1265 - 1164) + chr(0b1100011) + chr(0b1101111) + chr(100) + chr(0b1100101))(chr(0b1110101) + chr(116) + chr(102) + '\055' + chr(0b111000)), hLIySoEW0NmV=roI3spqORKae(ES5oEprVxulp(b'"'), '\144' + chr(101) + chr(0b1100011) + '\157' + chr(0b100010 + 0o102) + '\x65')('\x75' + chr(5569 - 5453) + '\146' + chr(45) + chr(0b101110 + 0o12)), sEVgLUlRGUb0=nzTpIcepk0o8('\x30' + chr(111) + chr(480 - 431), 8), GAGkgZwp3WGn=roI3spqORKae(ES5oEprVxulp(b'U\xd9o\xca\xca'), chr(100) + chr(101) + '\x63' + '\x6f' + '\x64' + chr(1259 - 1158))('\x75' + '\164' + chr(0b1100110) + chr(1988 - 1943) + '\070'), fvpyocDTQ9QD=roI3spqORKae(ES5oEprVxulp(b'f\xe4)\xe2\xe1\x9a\x8c'), chr(0b1100010 + 0o2) + chr(101) + chr(0b1100011) + chr(6205 - 6094) + '\x64' + chr(0b1001111 + 0o26))(chr(0b10100 + 0o141) + chr(0b10110 + 0o136) + chr(0b1010111 + 0o17) + '\055' + '\x38'), HTS4xgGojoU5=nzTpIcepk0o8('\060' + chr(6958 - 6847) + '\060', 0o10), IO99yh0nS4bH=roI3spqORKae(ES5oEprVxulp(b'='), chr(0b1001100 + 0o30) + chr(5814 - 5713) + chr(0b1001110 + 0o25) + chr(1685 - 1574) + '\144' + chr(101))(chr(117) + chr(0b1110100) + '\x66' + chr(938 - 893) + chr(0b10010 + 0o46)), JBbq3vP1Z01j=roI3spqORKae(ES5oEprVxulp(b'='), '\144' + chr(0b100111 + 0o76) + chr(0b10111 + 0o114) + chr(0b1101111) + chr(0b1011010 + 0o12) + '\145')(chr(117) + chr(5864 - 5748) + chr(102) + '\x2d' + chr(0b111000)), ucvilvMnwW1d=nzTpIcepk0o8(chr(48) + chr(111) + '\063', 0o10)):
ucvilvMnwW1d = nzTpIcepk0o8(ucvilvMnwW1d)
if ucvilvMnwW1d != nzTpIcepk0o8(chr(0b110000) + '\157' + chr(1219 - 1168), 8) and bqpTUs8apVqb == roI3spqORKae(ES5oEprVxulp(b'`\xeb/\xfc\xe2\x88\x91\x9f6Eu'), chr(2407 - 2307) + chr(0b1100101) + chr(0b1100011) + chr(113 - 2) + '\x64' + '\x65')('\x75' + chr(6124 - 6008) + chr(102) + chr(0b1000 + 0o45) + '\x38'):
bqpTUs8apVqb = roI3spqORKae(ES5oEprVxulp(b"v\xf8\x1d\xff\xef\x80\x92\xdd'N/8\xd3\xb8"), chr(0b10010 + 0o122) + '\x65' + chr(0b1100011) + chr(111) + '\144' + chr(101))(chr(5619 - 5502) + '\x74' + chr(0b1100110) + chr(0b100100 + 0o11) + chr(0b111000))
if ucvilvMnwW1d == nzTpIcepk0o8(chr(1268 - 1220) + chr(0b1110 + 0o141) + chr(0b110010), 40067 - 40059) and bqpTUs8apVqb == roI3spqORKae(ES5oEprVxulp(b"v\xf8\x1d\xff\xef\x80\x92\xdd'N/8\xd3\xb8"), chr(8817 - 8717) + chr(0b11101 + 0o110) + '\x63' + chr(111) + '\144' + chr(0b1100101))('\165' + chr(116) + '\146' + '\x2d' + chr(56)):
bqpTUs8apVqb = roI3spqORKae(ES5oEprVxulp(b'`\xeb/\xfc\xe2\x88\x91\x9f6Eu'), '\x64' + '\x65' + chr(99) + chr(5069 - 4958) + chr(100) + chr(0b1010101 + 0o20))(chr(117) + chr(0b1110100) + chr(102) + chr(1642 - 1597) + chr(0b11111 + 0o31))
XCtmWrNp_YK6 = nzTpIcepk0o8(chr(0b1010 + 0o46) + '\x6f' + '\060', 8)
uNg9Yeq376oN = hUcsWwAd0nE_.get_version()
(NNwYJkefQ0vs, SsGp5nLU_CUJ) = (roI3spqORKae(ES5oEprVxulp(b' '), '\144' + '\x65' + chr(99) + chr(2261 - 2150) + '\144' + '\145')('\165' + chr(0b1110100) + chr(0b1110 + 0o130) + chr(45) + '\070'), roI3spqORKae(ES5oEprVxulp(b'"'), chr(100) + chr(0b11011 + 0o112) + chr(0b110100 + 0o57) + chr(111) + chr(0b1100100) + chr(0b10010 + 0o123))('\x75' + chr(116) + chr(0b1011100 + 0o12) + chr(959 - 914) + chr(56)))
(Q4ZiDCds3gUR, Wp2Umairw0XS, OSV4Uwkhpwk6) = (roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(6492 - 6391) + '\143' + chr(8977 - 8866) + chr(0b1011100 + 0o10) + chr(101))(chr(0b1110101) + '\164' + '\146' + chr(331 - 286) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(0b1100101) + chr(0b1011101 + 0o6) + chr(111) + '\144' + chr(0b1100101))(chr(0b1011001 + 0o34) + '\x74' + chr(0b100 + 0o142) + '\055' + '\070'), roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(4853 - 4752) + chr(0b1100011) + '\x6f' + chr(100) + chr(9334 - 9233))('\165' + chr(116) + chr(102) + chr(1139 - 1094) + '\x38'))
(jZ0612Zni4wb, fg9AQp1Lx92T) = (roI3spqORKae(ES5oEprVxulp(b''), '\x64' + '\145' + chr(4230 - 4131) + chr(3653 - 3542) + '\x64' + '\145')(chr(117) + chr(5118 - 5002) + '\146' + chr(1265 - 1220) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b''), '\144' + '\145' + chr(3340 - 3241) + chr(11101 - 10990) + chr(0b1100100) + chr(0b1100101))('\165' + '\164' + chr(10087 - 9985) + chr(1681 - 1636) + chr(1314 - 1258)))
Xv33DHIWpzrN = roI3spqORKae(ES5oEprVxulp(b''), chr(0b10011 + 0o121) + chr(0b10110 + 0o117) + chr(0b1000101 + 0o36) + chr(0b111001 + 0o66) + chr(0b110001 + 0o63) + '\145')('\x75' + chr(116) + chr(7618 - 7516) + chr(0b101101) + chr(56))
SDKwNkUm3Omo = []
(fgznbtl5yjUN, nLP6wFcmuZ8n) = ([], [])
(Z4JD24rWWYSJ, PoBPnG61TZvj, WLZ8acTi1Mnq, EKtewbpAe2NK) = ([], [], [], [])
YMLGlnDiwHhh = (roI3spqORKae(ES5oEprVxulp(b'"'), chr(9690 - 9590) + '\145' + chr(5144 - 5045) + '\x6f' + chr(100) + chr(7425 - 7324))('\x75' + chr(8431 - 8315) + chr(0b1001101 + 0o31) + chr(1377 - 1332) + chr(1482 - 1426)), nzTpIcepk0o8(chr(0b110000) + chr(0b1101101 + 0o2) + '\061', 8), roI3spqORKae(ES5oEprVxulp(b'#'), chr(3486 - 3386) + chr(5588 - 5487) + chr(0b101 + 0o136) + chr(0b1101111) + '\x64' + chr(0b100011 + 0o102))(chr(117) + chr(0b1011111 + 0o25) + chr(0b10 + 0o144) + chr(1414 - 1369) + '\070'))
(oy1pnc8Ob7r3, TbPQJo7BGCb_, yeQRuApQF8ds) = (roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(0b1100101) + chr(99) + chr(111) + chr(7964 - 7864) + chr(101))(chr(0b1000011 + 0o62) + chr(0b1100101 + 0o17) + chr(0b111010 + 0o54) + chr(0b101101) + '\x38'), roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(0b100000 + 0o105) + '\143' + '\157' + chr(7195 - 7095) + chr(0b1000101 + 0o40))(chr(117) + '\x74' + '\146' + chr(45) + '\x38'), roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(0b1011000 + 0o15) + chr(99) + chr(111) + chr(8889 - 8789) + chr(0b1100101))(chr(0b10000 + 0o145) + '\164' + '\x66' + chr(0b11 + 0o52) + '\x38'))
wT5QlCpnfGz8 = roI3spqORKae(ES5oEprVxulp(b'#'), '\x64' + chr(0b1100101) + '\x63' + chr(111) + '\x64' + chr(7661 - 7560))(chr(0b1101100 + 0o11) + chr(2926 - 2810) + chr(0b1000010 + 0o44) + chr(0b1010 + 0o43) + chr(0b111000))
(RSL5ULz4yo1F, l5MdbjIXKd7O, MJ07XsN5uFgW) = (roI3spqORKae(ES5oEprVxulp(b''), chr(100) + '\145' + chr(0b1011001 + 0o12) + chr(11137 - 11026) + chr(100) + chr(0b1100101))('\x75' + '\x74' + chr(102) + chr(0b100001 + 0o14) + '\x38'), roI3spqORKae(ES5oEprVxulp(b''), '\x64' + '\145' + chr(5626 - 5527) + chr(0b110 + 0o151) + chr(0b1100100) + chr(4884 - 4783))(chr(0b1110101) + chr(116) + chr(102) + '\055' + chr(0b111 + 0o61)), roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(101) + chr(99) + chr(111) + chr(0b100111 + 0o75) + chr(101))(chr(4378 - 4261) + '\x74' + '\x66' + chr(45) + chr(0b1001 + 0o57)))
(MIaLdeqLRr8x, kRHRMdqk7ClD, ngQC2k_RgiwY) = (roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(0b10 + 0o143) + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(5784 - 5683))('\165' + chr(0b1011010 + 0o32) + chr(102) + chr(0b101101) + '\x38'), roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(101) + chr(2659 - 2560) + chr(0b1101111) + chr(100) + '\x65')(chr(117) + '\x74' + chr(0b1100110) + chr(0b11101 + 0o20) + '\070'), roI3spqORKae(ES5oEprVxulp(b''), chr(8780 - 8680) + '\x65' + '\x63' + '\x6f' + chr(0b1100100) + chr(0b11010 + 0o113))(chr(6648 - 6531) + chr(0b1110100) + chr(0b10 + 0o144) + chr(0b1 + 0o54) + '\x38'))
E63X9RhwfuOn = roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + '\x65' + chr(0b1100011) + chr(928 - 817) + '\x64' + chr(101))(chr(0b1110101) + chr(4108 - 3992) + chr(0b111110 + 0o50) + chr(0b10000 + 0o35) + '\070')
SsGp5nLU_CUJ == roI3spqORKae(ES5oEprVxulp(b' '), chr(2597 - 2497) + chr(0b10100 + 0o121) + chr(0b1010100 + 0o17) + '\x6f' + '\144' + '\145')('\x75' + chr(0b1110100) + '\x66' + chr(0b101101) + chr(2623 - 2567))
zceZzslN8JZf = 0.0
bqpTUs8apVqb = hUcsWwAd0nE_.resolve_file_name(bqpTUs8apVqb, IO99yh0nS4bH)
fWPG5Yy75rA0 = hUcsWwAd0nE_.resolve_file_name(fWPG5Yy75rA0, JBbq3vP1Z01j)
JBbq3vP1Z01j = aHUqKstZLeS6.path.LfRrQOxuDvnC(fWPG5Yy75rA0)[nzTpIcepk0o8('\x30' + chr(1491 - 1380) + chr(48), 8)]
IO99yh0nS4bH = aHUqKstZLeS6.path.LfRrQOxuDvnC(bqpTUs8apVqb)[nzTpIcepk0o8(chr(48) + '\157' + '\x30', 8)]
if HTS4xgGojoU5:
try:
(Z4JD24rWWYSJ, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(bqpTUs8apVqb)
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'`\xeb/\xfc\xe2\x88\xc2\xd5#I`l\xdf\xa3\x14\xec\x9a\xc2\x14\xbd\xb9\xed\xba\xd3x\xea\xd9\x9e /\xae'), chr(1635 - 1535) + chr(8553 - 8452) + chr(0b1010010 + 0o21) + chr(0b110001 + 0o76) + '\x64' + '\x65')(chr(0b1110100 + 0o1) + chr(116) + chr(0b1100110) + chr(0b101101) + chr(56)), bqpTUs8apVqb)
except UtiWT6f6p9yZ:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'c\xf8-\xee\xe2\x88\x8f\x915Tu$\x8b\xa9L\xe7\x8c\x96\x1c\xa3\xae\xa8\xa7\xd6p\xfe\xd9\x8c&y\xeb\xe1['), '\x64' + chr(6926 - 6825) + chr(0b1100011) + chr(0b1101111) + '\144' + chr(101))('\165' + chr(0b111000 + 0o74) + '\x66' + chr(45) + chr(0b110110 + 0o2)), bqpTUs8apVqb, roI3spqORKae(ES5oEprVxulp(b"3\xfd+\xe0\xe2\xcd\x81\xc3'\\u)\x8b\xa2Q\xf9"), chr(0b10010 + 0o122) + '\x65' + chr(0b1100011) + chr(5965 - 5854) + '\x64' + chr(0b1011010 + 0o13))(chr(117) + chr(9984 - 9868) + chr(102) + chr(45) + chr(56)))
t8XVED9D8CYi = DnU3Rq9N5ala(fWPG5Yy75rA0, roI3spqORKae(ES5oEprVxulp(b'a'), chr(0b11100 + 0o110) + '\145' + chr(0b110 + 0o135) + chr(0b1100000 + 0o17) + chr(0b1100100) + '\x65')(chr(117) + '\164' + '\146' + chr(0b101101) + '\x38'))
qYKBy4jvNCUx = t8XVED9D8CYi.TKmlmUjNQ4dY()
roI3spqORKae(t8XVED9D8CYi, roI3spqORKae(ES5oEprVxulp(b'I\xef3\xbb\xcd\x8e\x84\x88\x17Y9&'), chr(100) + chr(101) + chr(0b11010 + 0o111) + '\x6f' + '\x64' + '\x65')(chr(0b1110101) + chr(0b1110100) + chr(102) + '\055' + '\x38'))()
if not qYKBy4jvNCUx:
return (nzTpIcepk0o8(chr(474 - 426) + chr(139 - 28) + chr(0b110000), 8), roI3spqORKae(ES5oEprVxulp(b']\xe5b\xe8\xef\x99\x83\x91+S!#\xd9\xa5Q\xe0\x8b\x83\x01\xa4\xa6\xe6\xf4\xd1t\xe2\x9c\xc6oe\xe2\xbe\x1a\x9eX\x9f\x1f\x03DEr\xed#\xe5\xe0'), chr(100) + chr(101) + '\x63' + chr(0b100 + 0o153) + chr(0b111111 + 0o45) + chr(0b11110 + 0o107))('\x75' + chr(0b1110100) + '\x66' + chr(0b11 + 0o52) + chr(56)))
roI3spqORKae(t8XVED9D8CYi, roI3spqORKae(ES5oEprVxulp(b'I\xef3\xbb\xcd\x8e\x84\x88\x17Y9&'), chr(0b1100100) + '\145' + '\143' + chr(11468 - 11357) + '\x64' + chr(0b1100101))(chr(0b1110101) + chr(116) + chr(5650 - 5548) + chr(0b1000 + 0o45) + chr(56)))()
(xphe5J86b4hO, ZmsY4pYQgk8G) = ([], [])
for ffiOpFBWGmZU in qYKBy4jvNCUx:
CWIqerjyKvqX = ffiOpFBWGmZU.LfRrQOxuDvnC()
if ftfygxgFas5X(CWIqerjyKvqX) > nzTpIcepk0o8(chr(729 - 681) + chr(0b1011101 + 0o22) + '\062', 8):
(AYp3Wcm9ZPZb, FBMbdpra8r3H) = hUcsWwAd0nE_.orient(jLW6pRf2DSRk(CWIqerjyKvqX[nzTpIcepk0o8('\060' + chr(111) + chr(256 - 207), 8)]), jLW6pRf2DSRk(CWIqerjyKvqX[nzTpIcepk0o8(chr(0b1000 + 0o50) + '\x6f' + chr(0b101100 + 0o6), 8)]), NNwYJkefQ0vs)
jZ0612Zni4wb = jLW6pRf2DSRk(CWIqerjyKvqX[nzTpIcepk0o8('\060' + chr(111) + chr(0b110100), 0o10)])
if jZ0612Zni4wb != nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b110000), 8):
fg9AQp1Lx92T = jLW6pRf2DSRk(CWIqerjyKvqX[nzTpIcepk0o8(chr(0b110000) + chr(0b11011 + 0o124) + chr(0b110011), 8)]) - 90.0
else:
fg9AQp1Lx92T = jLW6pRf2DSRk(CWIqerjyKvqX[nzTpIcepk0o8(chr(48) + chr(0b1100101 + 0o12) + '\063', 8)])
fGxDbmBdBlCw = {}
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'v\xf8\x1d\xe0\xe1\x8e\x83\xc5+Ro\x13\xc5\xadY\xeb'), chr(0b1100100) + '\x65' + chr(1950 - 1851) + chr(10575 - 10464) + chr(100) + chr(5860 - 5759))('\x75' + chr(0b1001011 + 0o51) + chr(9964 - 9862) + '\x2d' + chr(0b1100 + 0o54))] = fvpyocDTQ9QD
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'v\xf8\x1d\xef\xe7\x99\x83\xc5+Ro\x13\xc5\xadY\xeb\x8c'), chr(4431 - 4331) + chr(0b1100101) + chr(99) + chr(111) + chr(0b1100100) + chr(0b1100101))(chr(117) + chr(4527 - 4411) + chr(0b1100110) + chr(0b101000 + 0o5) + chr(56))] = roI3spqORKae(ES5oEprVxulp(b'G\xe2+\xff\xae\x9e\x96\xc4&D'), chr(0b1100100) + chr(0b11 + 0o142) + '\143' + chr(0b111000 + 0o67) + '\x64' + chr(0b1100101))(chr(2461 - 2344) + '\164' + chr(1481 - 1379) + '\x2d' + chr(1162 - 1106))
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b"v\xf8\x1d\xff\xef\x80\x92\xdd'bo-\xc6\xa9"), '\144' + '\x65' + chr(3851 - 3752) + chr(0b10001 + 0o136) + chr(0b1001001 + 0o33) + chr(0b1100101))(chr(0b1110010 + 0o3) + chr(8257 - 8141) + '\146' + '\055' + chr(0b111000))] = CWIqerjyKvqX[nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b110000), 8)]
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b"`\xeb/\xfc\xe2\x88\xbd\xd3'Y^(\xc2\xbc"), chr(5581 - 5481) + chr(0b1100101) + '\143' + chr(0b1101111) + chr(100) + chr(708 - 607))(chr(0b1110101) + '\x74' + '\146' + chr(0b101101) + '\070')] = roI3spqORKae(ES5oEprVxulp(b'6\xbdl\xbd\xe8'), chr(0b1100100) + '\x65' + chr(0b1010101 + 0o16) + chr(9867 - 9756) + '\144' + '\x65')('\165' + '\x74' + chr(0b1100110) + '\x2d' + '\070') % jZ0612Zni4wb
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b"`\xeb/\xfc\xe2\x88\xbd\xd3'Y^(\xc2\xbck\xea\x96\x90\x10\xae\xbd\xe1\xbb\xd9"), '\x64' + chr(0b1100101) + chr(9160 - 9061) + '\x6f' + chr(0b1101 + 0o127) + chr(0b1100101))(chr(0b1000010 + 0o63) + chr(0b10001 + 0o143) + '\146' + chr(0b101101) + '\070')] = roI3spqORKae(ES5oEprVxulp(b'6\xbdl\xbd\xe8'), chr(0b1100100) + '\145' + '\x63' + chr(111) + chr(4620 - 4520) + '\x65')(chr(117) + chr(0b1000011 + 0o61) + chr(102) + chr(45) + chr(0b111000)) % fg9AQp1Lx92T
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'`\xeb/\xfc\xe2\x88\xbd\xd5+M'), chr(100) + '\145' + chr(1487 - 1388) + '\157' + '\144' + '\x65')('\x75' + chr(0b1110100) + '\x66' + '\x2d' + chr(1828 - 1772))] = roI3spqORKae(ES5oEprVxulp(b'6\xbdl\xbd\xe8'), chr(0b10011 + 0o121) + '\x65' + chr(0b1011011 + 0o10) + '\157' + '\144' + chr(0b1100101))('\165' + chr(0b1110000 + 0o4) + '\x66' + chr(0b101101) + chr(56)) % FBMbdpra8r3H
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'`\xeb/\xfc\xe2\x88\xbd\xd08Tl9\xdf\xa4'), '\144' + '\x65' + chr(0b1100011) + chr(0b11001 + 0o126) + chr(100) + chr(8407 - 8306))(chr(0b100110 + 0o117) + chr(116) + chr(2433 - 2331) + chr(45) + chr(0b100101 + 0o23))] = roI3spqORKae(ES5oEprVxulp(b'6\xbdl\xbd\xe8'), chr(0b1100100) + chr(0b1100101) + '\143' + chr(0b1001100 + 0o43) + chr(100) + '\145')(chr(117) + chr(0b1110100) + chr(10244 - 10142) + '\055' + '\070') % AYp3Wcm9ZPZb
lcKucyHTTXwM = GAGkgZwp3WGn.replace(roI3spqORKae(ES5oEprVxulp(b'3'), chr(0b1100100) + '\x65' + '\143' + chr(111) + chr(100) + chr(9207 - 9106))(chr(12279 - 12162) + chr(0b1110100) + chr(0b1100110) + '\x2d' + chr(0b11100 + 0o34)), roI3spqORKae(ES5oEprVxulp(b''), chr(9213 - 9113) + chr(7897 - 7796) + chr(0b1100011) + chr(0b1101111) + chr(0b1010010 + 0o22) + chr(0b1100101))(chr(11981 - 11864) + chr(116) + chr(0b1100110) + chr(0b101011 + 0o2) + '\x38')).LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b')'), chr(7494 - 7394) + chr(0b11001 + 0o114) + '\x63' + '\157' + '\x64' + '\145')('\165' + '\164' + chr(0b1001101 + 0o31) + '\x2d' + chr(0b100000 + 0o30)))
Qc_UZ7zA0_hk = nzTpIcepk0o8(chr(1566 - 1518) + chr(0b1101111) + '\x30', 8)
for e5rcHW8hR5dL in lcKucyHTTXwM:
ieCxIWd769lc = e5rcHW8hR5dL.LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'>'), chr(0b10111 + 0o115) + chr(7132 - 7031) + chr(99) + '\x6f' + '\144' + '\145')(chr(117) + chr(116) + '\x66' + chr(45) + '\x38'))
if roI3spqORKae(ES5oEprVxulp(b'@\xc5'), chr(9871 - 9771) + '\x65' + chr(99) + '\x6f' + chr(0b1000010 + 0o42) + chr(4885 - 4784))(chr(0b1101000 + 0o15) + chr(116) + '\x66' + chr(0b101101) + chr(56)) in ieCxIWd769lc:
Qc_UZ7zA0_hk = nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110001), 8)
if Qc_UZ7zA0_hk == nzTpIcepk0o8(chr(0b110000) + chr(111) + '\x30', 8):
GAGkgZwp3WGn = GAGkgZwp3WGn + roI3spqORKae(ES5oEprVxulp(b')\xd9\r\xa1\xc0\xa2'), '\x64' + chr(6089 - 5988) + chr(99) + chr(0b1011011 + 0o24) + chr(100) + chr(9504 - 9403))(chr(11717 - 11600) + chr(0b1110010 + 0o2) + '\x66' + chr(253 - 208) + chr(0b111000))
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'~\xeb%\xe5\xed\xb2\x8f\xd46Un(\xf4\xaf[\xea\x9a\x91'), chr(0b1010101 + 0o17) + '\145' + chr(0b1100011) + chr(0b100011 + 0o114) + '\x64' + chr(0b1100101))(chr(0b1110101) + '\164' + chr(5987 - 5885) + chr(45) + '\x38')] = GAGkgZwp3WGn
f9ijNiPCpOFu = hUcsWwAd0nE_.parse_site(CWIqerjyKvqX[nzTpIcepk0o8('\060' + chr(111) + '\x30', 8)], hLIySoEW0NmV, sEVgLUlRGUb0)
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'v\xf8\x1d\xff\xe7\x99\x87\xee,\\l)'), chr(0b1001001 + 0o33) + '\x65' + chr(99) + chr(111) + chr(100) + chr(9505 - 9404))(chr(6942 - 6825) + '\164' + '\146' + chr(0b11010 + 0o23) + '\x38')] = f9ijNiPCpOFu
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'~\xeb%\xe5\xed\xb2\x91\xde$Iv-\xd9\xa9k\xfe\x9e\x81\x1e\xac\xae\xed\xa7'), '\144' + '\145' + '\x63' + chr(0b110000 + 0o77) + chr(0b1100100) + chr(7487 - 7386))(chr(2225 - 2108) + '\x74' + '\146' + chr(1948 - 1903) + chr(56))] = uNg9Yeq376oN
roI3spqORKae(xphe5J86b4hO, roI3spqORKae(ES5oEprVxulp(b'[\xde\x11\xb8\xf6\x8a\xa5\xde(RTy'), '\144' + chr(9086 - 8985) + chr(0b1100011) + '\x6f' + '\144' + '\145')('\165' + chr(116) + '\146' + chr(1647 - 1602) + chr(56)))(fGxDbmBdBlCw)
if fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b"v\xf8\x1d\xff\xef\x80\x92\xdd'bo-\xc6\xa9"), chr(0b1 + 0o143) + chr(0b1100101) + chr(99) + chr(0b11101 + 0o122) + chr(0b1010100 + 0o20) + '\x65')('\x75' + '\x74' + chr(0b1100110) + chr(0b0 + 0o55) + chr(0b1111 + 0o51))] not in ZmsY4pYQgk8G:
roI3spqORKae(ZmsY4pYQgk8G, roI3spqORKae(ES5oEprVxulp(b'[\xde\x11\xb8\xf6\x8a\xa5\xde(RTy'), chr(0b101100 + 0o70) + chr(101) + chr(0b1001011 + 0o30) + '\x6f' + '\x64' + chr(0b111000 + 0o55))('\165' + '\x74' + chr(102) + chr(45) + '\070'))(fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b"v\xf8\x1d\xff\xef\x80\x92\xdd'bo-\xc6\xa9"), chr(0b1100100) + chr(101) + chr(0b1100011) + chr(258 - 147) + chr(0b111000 + 0o54) + '\145')('\165' + chr(116) + chr(0b1100110) + chr(1296 - 1251) + '\x38')])
for NrOoJ8NdaX1V in Z4JD24rWWYSJ:
if NrOoJ8NdaX1V not in ZmsY4pYQgk8G:
roI3spqORKae(xphe5J86b4hO, roI3spqORKae(ES5oEprVxulp(b'[\xde\x11\xb8\xf6\x8a\xa5\xde(RTy'), chr(100) + '\x65' + '\143' + chr(0b1101111) + chr(1170 - 1070) + chr(0b1100101))('\x75' + '\x74' + chr(0b1100011 + 0o3) + chr(45) + chr(0b101010 + 0o16)))(NrOoJ8NdaX1V)
(NixjZbnCaKrH, HOp0ZjSPeQln) = hUcsWwAd0nE_.fillkeys(xphe5J86b4hO)
if ucvilvMnwW1d == nzTpIcepk0o8('\x30' + '\157' + '\062', 8):
roI3spqORKae(hUcsWwAd0nE_, roI3spqORKae(ES5oEprVxulp(b'~\xeb%\xe5\xed\xb2\x95\xc3+Id'), chr(0b1100100) + '\x65' + '\143' + '\x6f' + '\x64' + '\145')(chr(2323 - 2206) + chr(116) + chr(0b1100010 + 0o4) + chr(1657 - 1612) + '\x38'))(bqpTUs8apVqb, NixjZbnCaKrH, roI3spqORKae(ES5oEprVxulp(b"v\xf8\x1d\xff\xef\x80\x92\xdd'N"), '\x64' + chr(101) + '\143' + chr(0b1101111) + chr(100) + '\x65')(chr(0b1110101) + '\164' + chr(102) + '\x2d' + chr(0b111000)))
else:
AK3YoiKOisUu = []
for NrOoJ8NdaX1V in NixjZbnCaKrH:
roI3spqORKae(AK3YoiKOisUu, roI3spqORKae(ES5oEprVxulp(b'[\xde\x11\xb8\xf6\x8a\xa5\xde(RTy'), chr(9857 - 9757) + chr(3224 - 3123) + chr(905 - 806) + chr(0b100110 + 0o111) + chr(100) + chr(0b1100101))(chr(0b1110101 + 0o0) + chr(994 - 878) + chr(0b1100110) + chr(0b10111 + 0o26) + chr(56)))(roI3spqORKae(ntOEbtdxWLl2, roI3spqORKae(ES5oEprVxulp(b'\x7f\xfb{\xc1\xb8\xbf\xbb\xfc&DU}'), chr(3018 - 2918) + '\145' + '\x63' + chr(111) + chr(100) + chr(167 - 66))(chr(0b100001 + 0o124) + chr(116) + '\146' + chr(0b111 + 0o46) + chr(56)))(NrOoJ8NdaX1V, roI3spqORKae(ntOEbtdxWLl2, roI3spqORKae(ES5oEprVxulp(b'`\xeb/\xfc\xd1\x80\x83\xd6+^3\x13\x99\x93Y\xef\x98\x8b\x16\xfe\x96\xe5\xb5\xc7'), chr(100) + chr(6595 - 6494) + '\x63' + '\x6f' + '\144' + chr(0b1100101))(chr(166 - 49) + chr(2550 - 2434) + chr(995 - 893) + chr(206 - 161) + chr(56)))))
roI3spqORKae(hUcsWwAd0nE_, roI3spqORKae(ES5oEprVxulp(b'~\xeb%\xe5\xed\xb2\x95\xc3+Id'), chr(0b1000100 + 0o40) + chr(0b1001010 + 0o33) + chr(0b1100011) + chr(111) + chr(0b1100100) + chr(0b110100 + 0o61))(chr(0b10010 + 0o143) + chr(0b100100 + 0o120) + chr(0b100110 + 0o100) + chr(0b101101) + chr(56)))(bqpTUs8apVqb, AK3YoiKOisUu, roI3spqORKae(ES5oEprVxulp(b'`\xeb/\xfc\xe2\x88\x91'), chr(0b1100100) + chr(0b1100101) + chr(99) + '\157' + '\144' + chr(197 - 96))(chr(0b1001010 + 0o53) + chr(116) + '\146' + chr(1478 - 1433) + chr(0b11 + 0o65)))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b"W\xeb6\xed\xae\x9e\x83\xc7'Y!%\xc5\xec"), chr(100) + '\x65' + chr(0b1010001 + 0o22) + chr(6402 - 6291) + chr(0b10001 + 0o123) + '\145')(chr(0b101100 + 0o111) + '\164' + '\x66' + '\055' + chr(0b110110 + 0o2)), bqpTUs8apVqb)
return (nzTpIcepk0o8(chr(0b110000) + chr(0b1 + 0o156) + '\x31', 8), None)
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
dayplot_magic
|
def dayplot_magic(path_to_file='.', hyst_file="specimens.txt", rem_file='',
save=True, save_folder='.', fmt='svg', data_model=3,
interactive=False, contribution=None):
"""
Makes 'day plots' (Day et al. 1977) and squareness/coercivity plots
(Neel, 1955; plots after Tauxe et al., 2002); plots 'linear mixing'
curve from Dunlop and Carter-Stiglitz (2006).
Optional Parameters (defaults are used if not specified)
----------
path_to_file : path to directory that contains files (default is current directory, '.')
the default input file is 'specimens.txt' (data_model=3
if data_model = 2, then must these are the defaults:
hyst_file : hysteresis file (default is 'rmag_hysteresis.txt')
rem_file : remanence file (default is 'rmag_remanence.txt')
save : boolean argument to save plots (default is True)
save_folder : relative directory where plots will be saved (default is current directory, '.')
fmt : format of saved figures (default is 'pdf')
"""
args = sys.argv
hyst_path = os.path.join(path_to_file, hyst_file)
if data_model == 2 and rem_file != '':
rem_path = os.path.join(path_to_file, rem_file)
# hyst_file,rem_file="rmag_hysteresis.txt","rmag_remanence.txt"
dir_path = path_to_file
verbose = pmagplotlib.verbose
# initialize some variables
# define figure numbers for Day,S-Bc,S-Bcr
DSC = {}
DSC['day'], DSC['S-Bc'], DSC['S-Bcr'], DSC['bcr1-bcr2'] = 1, 2, 3, 4
hyst_data, file_type = pmag.magic_read(hyst_path)
rem_data = []
if data_model == 2 and rem_file != "":
rem_data, file_type = pmag.magic_read(rem_path)
S, BcrBc, Bcr2, Bc, hsids, Bcr = [], [], [], [], [], []
Ms, Bcr1, Bcr1Bc, S1 = [], [], [], []
locations = ''
if data_model == 2:
for rec in hyst_data:
if 'er_location_name' in list(rec.keys()) and rec['er_location_name'] not in locations:
locations = locations + rec['er_location_name'] + '_'
if rec['hysteresis_bcr'] != "" and rec['hysteresis_mr_moment'] != "":
S.append(old_div(float(rec['hysteresis_mr_moment']), float(
rec['hysteresis_ms_moment'])))
Bcr.append(float(rec['hysteresis_bcr']))
Bc.append(float(rec['hysteresis_bc']))
BcrBc.append(old_div(Bcr[-1], Bc[-1]))
if 'er_synthetic_name' in list(rec.keys()) and rec['er_synthetic_name'] != "":
rec['er_specimen_name'] = rec['er_synthetic_name']
hsids.append(rec['er_specimen_name'])
if len(rem_data) > 0:
for rec in rem_data:
if rec['remanence_bcr'] != "" and float(rec['remanence_bcr']) > 0:
try:
ind = hsids.index(rec['er_specimen_name'])
Bcr1.append(float(rec['remanence_bcr']))
Bcr1Bc.append(old_div(Bcr1[-1], Bc[ind]))
S1.append(S[ind])
Bcr2.append(Bcr[ind])
except ValueError:
if verbose:
print('hysteresis data for ',
rec['er_specimen_name'], ' not found')
else:
fnames = {'specimens': hyst_file}
if contribution:
con = contribution
else:
con = cb.Contribution(dir_path, read_tables=['specimens'],
custom_filenames=fnames)
if 'specimens' not in con.tables:
print('-E- No specimen file found in {}'.format(os.path.realpath(dir_path)))
return False, []
spec_container = con.tables['specimens']
spec_df = spec_container.df
# get as much data as possible for naming plots
#if pmagplotlib.isServer:
con.propagate_location_to_specimens()
loc_list = []
if 'location' in spec_df.columns:
loc_list = spec_df['location'].unique()
do_rem = bool('rem_bcr' in spec_df.columns)
for ind, row in spec_df.iterrows():
if row['hyst_bcr'] and row['hyst_mr_moment']:
S.append(
old_div(float(row['hyst_mr_moment']), float(row['hyst_ms_moment'])))
Bcr.append(float(row['hyst_bcr']))
Bc.append(float(row['hyst_bc']))
BcrBc.append(old_div(Bcr[-1], Bc[-1]))
hsids.append(row['specimen'])
if do_rem:
if row['rem_bcr'] and float(row['rem_bcr']) > 0:
try:
Bcr1.append(float(row['rem_bcr']))
Bcr1Bc.append(old_div(Bcr1[-1], Bc[-1]))
S1.append(S[-1])
Bcr2.append(Bcr[-1])
except ValueError:
if verbose:
print('hysteresis data for ',
row['specimen'], end=' ')
print(' not found')
#
# now plot the day and S-Bc, S-Bcr plots
#
fnames = {'day': os.path.join(save_folder, "_".join(loc_list) + '_Day.' + fmt),
'S-Bcr': os.path.join(save_folder, "_".join(loc_list) + '_S-Bcr.' + fmt),
'S-Bc': os.path.join(save_folder, "_".join(loc_list) + '_S-Bc.' + fmt)}
if len(Bcr1) > 0:
plt.figure(num=DSC['day'], figsize=(5, 5))
#plt.figure(num=DSC['S-Bc'], figsize=(5, 5))
plt.figure(num=DSC['S-Bcr'], figsize=(5, 5))
plt.figure(num=DSC['bcr1-bcr2'], figsize=(5, 5))
pmagplotlib.plot_day(DSC['day'], Bcr1Bc, S1, 'ro')
pmagplotlib.plot_s_bcr(DSC['S-Bcr'], Bcr1, S1, 'ro')
#pmagplotlib.plot_init(DSC['bcr1-bcr2'], 5, 5)
pmagplotlib.plot_bcr(DSC['bcr1-bcr2'], Bcr1, Bcr2)
fnames.pop('S-Bc')
fnames['bcr1-bcr2'] = os.path.join(save_folder, 'bcr1-bcr2.png')
DSC.pop('S-Bc')
if pmagplotlib.isServer:
for key in list(DSC.keys()):
fnames[key] = 'LO:_' + ":".join(set(loc_list)) + '_' + 'SI:__SA:__SP:__TY:_' + key + '_.' + fmt
if save:
pmagplotlib.save_plots(DSC, fnames, incl_directory=True)
return True, fnames.values()
if interactive:
pmagplotlib.draw_figs(DSC)
ans = pmagplotlib.save_or_quit()
if ans == 'a':
pmagplotlib.save_plots(DSC, fnames, incl_directory=True)
return True, fnames.values()
else:
plt.figure(num=DSC['day'], figsize=(5, 5))
plt.figure(num=DSC['S-Bc'], figsize=(5, 5))
plt.figure(num=DSC['S-Bcr'], figsize=(5, 5))
#plt.figure(num=DSC['bcr1-bcr2'], figsize=(5, 5))
del DSC['bcr1-bcr2']
# do other plots instead
pmagplotlib.plot_day(DSC['day'], BcrBc, S, 'bs')
pmagplotlib.plot_s_bcr(DSC['S-Bcr'], Bcr, S, 'bs')
pmagplotlib.plot_s_bc(DSC['S-Bc'], Bc, S, 'bs')
if pmagplotlib.isServer:
for key in list(DSC.keys()):
fnames[key] = 'LO:_' + ":".join(set(loc_list)) + '_' + 'SI:__SA:__SP:__TY:_' + key + '_.' + fmt
if save:
pmagplotlib.save_plots(DSC, fnames, incl_directory=True)
return True, fnames.values()
elif interactive:
pmagplotlib.draw_figs(DSC)
ans = pmagplotlib.save_or_quit()
if ans == 'a':
pmagplotlib.save_plots(DSC, fnames, incl_directory=True)
return True, fnames.values()
return True, []
|
python
|
def dayplot_magic(path_to_file='.', hyst_file="specimens.txt", rem_file='',
save=True, save_folder='.', fmt='svg', data_model=3,
interactive=False, contribution=None):
"""
Makes 'day plots' (Day et al. 1977) and squareness/coercivity plots
(Neel, 1955; plots after Tauxe et al., 2002); plots 'linear mixing'
curve from Dunlop and Carter-Stiglitz (2006).
Optional Parameters (defaults are used if not specified)
----------
path_to_file : path to directory that contains files (default is current directory, '.')
the default input file is 'specimens.txt' (data_model=3
if data_model = 2, then must these are the defaults:
hyst_file : hysteresis file (default is 'rmag_hysteresis.txt')
rem_file : remanence file (default is 'rmag_remanence.txt')
save : boolean argument to save plots (default is True)
save_folder : relative directory where plots will be saved (default is current directory, '.')
fmt : format of saved figures (default is 'pdf')
"""
args = sys.argv
hyst_path = os.path.join(path_to_file, hyst_file)
if data_model == 2 and rem_file != '':
rem_path = os.path.join(path_to_file, rem_file)
# hyst_file,rem_file="rmag_hysteresis.txt","rmag_remanence.txt"
dir_path = path_to_file
verbose = pmagplotlib.verbose
# initialize some variables
# define figure numbers for Day,S-Bc,S-Bcr
DSC = {}
DSC['day'], DSC['S-Bc'], DSC['S-Bcr'], DSC['bcr1-bcr2'] = 1, 2, 3, 4
hyst_data, file_type = pmag.magic_read(hyst_path)
rem_data = []
if data_model == 2 and rem_file != "":
rem_data, file_type = pmag.magic_read(rem_path)
S, BcrBc, Bcr2, Bc, hsids, Bcr = [], [], [], [], [], []
Ms, Bcr1, Bcr1Bc, S1 = [], [], [], []
locations = ''
if data_model == 2:
for rec in hyst_data:
if 'er_location_name' in list(rec.keys()) and rec['er_location_name'] not in locations:
locations = locations + rec['er_location_name'] + '_'
if rec['hysteresis_bcr'] != "" and rec['hysteresis_mr_moment'] != "":
S.append(old_div(float(rec['hysteresis_mr_moment']), float(
rec['hysteresis_ms_moment'])))
Bcr.append(float(rec['hysteresis_bcr']))
Bc.append(float(rec['hysteresis_bc']))
BcrBc.append(old_div(Bcr[-1], Bc[-1]))
if 'er_synthetic_name' in list(rec.keys()) and rec['er_synthetic_name'] != "":
rec['er_specimen_name'] = rec['er_synthetic_name']
hsids.append(rec['er_specimen_name'])
if len(rem_data) > 0:
for rec in rem_data:
if rec['remanence_bcr'] != "" and float(rec['remanence_bcr']) > 0:
try:
ind = hsids.index(rec['er_specimen_name'])
Bcr1.append(float(rec['remanence_bcr']))
Bcr1Bc.append(old_div(Bcr1[-1], Bc[ind]))
S1.append(S[ind])
Bcr2.append(Bcr[ind])
except ValueError:
if verbose:
print('hysteresis data for ',
rec['er_specimen_name'], ' not found')
else:
fnames = {'specimens': hyst_file}
if contribution:
con = contribution
else:
con = cb.Contribution(dir_path, read_tables=['specimens'],
custom_filenames=fnames)
if 'specimens' not in con.tables:
print('-E- No specimen file found in {}'.format(os.path.realpath(dir_path)))
return False, []
spec_container = con.tables['specimens']
spec_df = spec_container.df
# get as much data as possible for naming plots
#if pmagplotlib.isServer:
con.propagate_location_to_specimens()
loc_list = []
if 'location' in spec_df.columns:
loc_list = spec_df['location'].unique()
do_rem = bool('rem_bcr' in spec_df.columns)
for ind, row in spec_df.iterrows():
if row['hyst_bcr'] and row['hyst_mr_moment']:
S.append(
old_div(float(row['hyst_mr_moment']), float(row['hyst_ms_moment'])))
Bcr.append(float(row['hyst_bcr']))
Bc.append(float(row['hyst_bc']))
BcrBc.append(old_div(Bcr[-1], Bc[-1]))
hsids.append(row['specimen'])
if do_rem:
if row['rem_bcr'] and float(row['rem_bcr']) > 0:
try:
Bcr1.append(float(row['rem_bcr']))
Bcr1Bc.append(old_div(Bcr1[-1], Bc[-1]))
S1.append(S[-1])
Bcr2.append(Bcr[-1])
except ValueError:
if verbose:
print('hysteresis data for ',
row['specimen'], end=' ')
print(' not found')
#
# now plot the day and S-Bc, S-Bcr plots
#
fnames = {'day': os.path.join(save_folder, "_".join(loc_list) + '_Day.' + fmt),
'S-Bcr': os.path.join(save_folder, "_".join(loc_list) + '_S-Bcr.' + fmt),
'S-Bc': os.path.join(save_folder, "_".join(loc_list) + '_S-Bc.' + fmt)}
if len(Bcr1) > 0:
plt.figure(num=DSC['day'], figsize=(5, 5))
#plt.figure(num=DSC['S-Bc'], figsize=(5, 5))
plt.figure(num=DSC['S-Bcr'], figsize=(5, 5))
plt.figure(num=DSC['bcr1-bcr2'], figsize=(5, 5))
pmagplotlib.plot_day(DSC['day'], Bcr1Bc, S1, 'ro')
pmagplotlib.plot_s_bcr(DSC['S-Bcr'], Bcr1, S1, 'ro')
#pmagplotlib.plot_init(DSC['bcr1-bcr2'], 5, 5)
pmagplotlib.plot_bcr(DSC['bcr1-bcr2'], Bcr1, Bcr2)
fnames.pop('S-Bc')
fnames['bcr1-bcr2'] = os.path.join(save_folder, 'bcr1-bcr2.png')
DSC.pop('S-Bc')
if pmagplotlib.isServer:
for key in list(DSC.keys()):
fnames[key] = 'LO:_' + ":".join(set(loc_list)) + '_' + 'SI:__SA:__SP:__TY:_' + key + '_.' + fmt
if save:
pmagplotlib.save_plots(DSC, fnames, incl_directory=True)
return True, fnames.values()
if interactive:
pmagplotlib.draw_figs(DSC)
ans = pmagplotlib.save_or_quit()
if ans == 'a':
pmagplotlib.save_plots(DSC, fnames, incl_directory=True)
return True, fnames.values()
else:
plt.figure(num=DSC['day'], figsize=(5, 5))
plt.figure(num=DSC['S-Bc'], figsize=(5, 5))
plt.figure(num=DSC['S-Bcr'], figsize=(5, 5))
#plt.figure(num=DSC['bcr1-bcr2'], figsize=(5, 5))
del DSC['bcr1-bcr2']
# do other plots instead
pmagplotlib.plot_day(DSC['day'], BcrBc, S, 'bs')
pmagplotlib.plot_s_bcr(DSC['S-Bcr'], Bcr, S, 'bs')
pmagplotlib.plot_s_bc(DSC['S-Bc'], Bc, S, 'bs')
if pmagplotlib.isServer:
for key in list(DSC.keys()):
fnames[key] = 'LO:_' + ":".join(set(loc_list)) + '_' + 'SI:__SA:__SP:__TY:_' + key + '_.' + fmt
if save:
pmagplotlib.save_plots(DSC, fnames, incl_directory=True)
return True, fnames.values()
elif interactive:
pmagplotlib.draw_figs(DSC)
ans = pmagplotlib.save_or_quit()
if ans == 'a':
pmagplotlib.save_plots(DSC, fnames, incl_directory=True)
return True, fnames.values()
return True, []
|
[
"def",
"dayplot_magic",
"(",
"path_to_file",
"=",
"'.'",
",",
"hyst_file",
"=",
"\"specimens.txt\"",
",",
"rem_file",
"=",
"''",
",",
"save",
"=",
"True",
",",
"save_folder",
"=",
"'.'",
",",
"fmt",
"=",
"'svg'",
",",
"data_model",
"=",
"3",
",",
"interactive",
"=",
"False",
",",
"contribution",
"=",
"None",
")",
":",
"args",
"=",
"sys",
".",
"argv",
"hyst_path",
"=",
"os",
".",
"path",
".",
"join",
"(",
"path_to_file",
",",
"hyst_file",
")",
"if",
"data_model",
"==",
"2",
"and",
"rem_file",
"!=",
"''",
":",
"rem_path",
"=",
"os",
".",
"path",
".",
"join",
"(",
"path_to_file",
",",
"rem_file",
")",
"# hyst_file,rem_file=\"rmag_hysteresis.txt\",\"rmag_remanence.txt\"",
"dir_path",
"=",
"path_to_file",
"verbose",
"=",
"pmagplotlib",
".",
"verbose",
"# initialize some variables",
"# define figure numbers for Day,S-Bc,S-Bcr",
"DSC",
"=",
"{",
"}",
"DSC",
"[",
"'day'",
"]",
",",
"DSC",
"[",
"'S-Bc'",
"]",
",",
"DSC",
"[",
"'S-Bcr'",
"]",
",",
"DSC",
"[",
"'bcr1-bcr2'",
"]",
"=",
"1",
",",
"2",
",",
"3",
",",
"4",
"hyst_data",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"hyst_path",
")",
"rem_data",
"=",
"[",
"]",
"if",
"data_model",
"==",
"2",
"and",
"rem_file",
"!=",
"\"\"",
":",
"rem_data",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"rem_path",
")",
"S",
",",
"BcrBc",
",",
"Bcr2",
",",
"Bc",
",",
"hsids",
",",
"Bcr",
"=",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
"Ms",
",",
"Bcr1",
",",
"Bcr1Bc",
",",
"S1",
"=",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
"locations",
"=",
"''",
"if",
"data_model",
"==",
"2",
":",
"for",
"rec",
"in",
"hyst_data",
":",
"if",
"'er_location_name'",
"in",
"list",
"(",
"rec",
".",
"keys",
"(",
")",
")",
"and",
"rec",
"[",
"'er_location_name'",
"]",
"not",
"in",
"locations",
":",
"locations",
"=",
"locations",
"+",
"rec",
"[",
"'er_location_name'",
"]",
"+",
"'_'",
"if",
"rec",
"[",
"'hysteresis_bcr'",
"]",
"!=",
"\"\"",
"and",
"rec",
"[",
"'hysteresis_mr_moment'",
"]",
"!=",
"\"\"",
":",
"S",
".",
"append",
"(",
"old_div",
"(",
"float",
"(",
"rec",
"[",
"'hysteresis_mr_moment'",
"]",
")",
",",
"float",
"(",
"rec",
"[",
"'hysteresis_ms_moment'",
"]",
")",
")",
")",
"Bcr",
".",
"append",
"(",
"float",
"(",
"rec",
"[",
"'hysteresis_bcr'",
"]",
")",
")",
"Bc",
".",
"append",
"(",
"float",
"(",
"rec",
"[",
"'hysteresis_bc'",
"]",
")",
")",
"BcrBc",
".",
"append",
"(",
"old_div",
"(",
"Bcr",
"[",
"-",
"1",
"]",
",",
"Bc",
"[",
"-",
"1",
"]",
")",
")",
"if",
"'er_synthetic_name'",
"in",
"list",
"(",
"rec",
".",
"keys",
"(",
")",
")",
"and",
"rec",
"[",
"'er_synthetic_name'",
"]",
"!=",
"\"\"",
":",
"rec",
"[",
"'er_specimen_name'",
"]",
"=",
"rec",
"[",
"'er_synthetic_name'",
"]",
"hsids",
".",
"append",
"(",
"rec",
"[",
"'er_specimen_name'",
"]",
")",
"if",
"len",
"(",
"rem_data",
")",
">",
"0",
":",
"for",
"rec",
"in",
"rem_data",
":",
"if",
"rec",
"[",
"'remanence_bcr'",
"]",
"!=",
"\"\"",
"and",
"float",
"(",
"rec",
"[",
"'remanence_bcr'",
"]",
")",
">",
"0",
":",
"try",
":",
"ind",
"=",
"hsids",
".",
"index",
"(",
"rec",
"[",
"'er_specimen_name'",
"]",
")",
"Bcr1",
".",
"append",
"(",
"float",
"(",
"rec",
"[",
"'remanence_bcr'",
"]",
")",
")",
"Bcr1Bc",
".",
"append",
"(",
"old_div",
"(",
"Bcr1",
"[",
"-",
"1",
"]",
",",
"Bc",
"[",
"ind",
"]",
")",
")",
"S1",
".",
"append",
"(",
"S",
"[",
"ind",
"]",
")",
"Bcr2",
".",
"append",
"(",
"Bcr",
"[",
"ind",
"]",
")",
"except",
"ValueError",
":",
"if",
"verbose",
":",
"print",
"(",
"'hysteresis data for '",
",",
"rec",
"[",
"'er_specimen_name'",
"]",
",",
"' not found'",
")",
"else",
":",
"fnames",
"=",
"{",
"'specimens'",
":",
"hyst_file",
"}",
"if",
"contribution",
":",
"con",
"=",
"contribution",
"else",
":",
"con",
"=",
"cb",
".",
"Contribution",
"(",
"dir_path",
",",
"read_tables",
"=",
"[",
"'specimens'",
"]",
",",
"custom_filenames",
"=",
"fnames",
")",
"if",
"'specimens'",
"not",
"in",
"con",
".",
"tables",
":",
"print",
"(",
"'-E- No specimen file found in {}'",
".",
"format",
"(",
"os",
".",
"path",
".",
"realpath",
"(",
"dir_path",
")",
")",
")",
"return",
"False",
",",
"[",
"]",
"spec_container",
"=",
"con",
".",
"tables",
"[",
"'specimens'",
"]",
"spec_df",
"=",
"spec_container",
".",
"df",
"# get as much data as possible for naming plots",
"#if pmagplotlib.isServer:",
"con",
".",
"propagate_location_to_specimens",
"(",
")",
"loc_list",
"=",
"[",
"]",
"if",
"'location'",
"in",
"spec_df",
".",
"columns",
":",
"loc_list",
"=",
"spec_df",
"[",
"'location'",
"]",
".",
"unique",
"(",
")",
"do_rem",
"=",
"bool",
"(",
"'rem_bcr'",
"in",
"spec_df",
".",
"columns",
")",
"for",
"ind",
",",
"row",
"in",
"spec_df",
".",
"iterrows",
"(",
")",
":",
"if",
"row",
"[",
"'hyst_bcr'",
"]",
"and",
"row",
"[",
"'hyst_mr_moment'",
"]",
":",
"S",
".",
"append",
"(",
"old_div",
"(",
"float",
"(",
"row",
"[",
"'hyst_mr_moment'",
"]",
")",
",",
"float",
"(",
"row",
"[",
"'hyst_ms_moment'",
"]",
")",
")",
")",
"Bcr",
".",
"append",
"(",
"float",
"(",
"row",
"[",
"'hyst_bcr'",
"]",
")",
")",
"Bc",
".",
"append",
"(",
"float",
"(",
"row",
"[",
"'hyst_bc'",
"]",
")",
")",
"BcrBc",
".",
"append",
"(",
"old_div",
"(",
"Bcr",
"[",
"-",
"1",
"]",
",",
"Bc",
"[",
"-",
"1",
"]",
")",
")",
"hsids",
".",
"append",
"(",
"row",
"[",
"'specimen'",
"]",
")",
"if",
"do_rem",
":",
"if",
"row",
"[",
"'rem_bcr'",
"]",
"and",
"float",
"(",
"row",
"[",
"'rem_bcr'",
"]",
")",
">",
"0",
":",
"try",
":",
"Bcr1",
".",
"append",
"(",
"float",
"(",
"row",
"[",
"'rem_bcr'",
"]",
")",
")",
"Bcr1Bc",
".",
"append",
"(",
"old_div",
"(",
"Bcr1",
"[",
"-",
"1",
"]",
",",
"Bc",
"[",
"-",
"1",
"]",
")",
")",
"S1",
".",
"append",
"(",
"S",
"[",
"-",
"1",
"]",
")",
"Bcr2",
".",
"append",
"(",
"Bcr",
"[",
"-",
"1",
"]",
")",
"except",
"ValueError",
":",
"if",
"verbose",
":",
"print",
"(",
"'hysteresis data for '",
",",
"row",
"[",
"'specimen'",
"]",
",",
"end",
"=",
"' '",
")",
"print",
"(",
"' not found'",
")",
"#",
"# now plot the day and S-Bc, S-Bcr plots",
"#",
"fnames",
"=",
"{",
"'day'",
":",
"os",
".",
"path",
".",
"join",
"(",
"save_folder",
",",
"\"_\"",
".",
"join",
"(",
"loc_list",
")",
"+",
"'_Day.'",
"+",
"fmt",
")",
",",
"'S-Bcr'",
":",
"os",
".",
"path",
".",
"join",
"(",
"save_folder",
",",
"\"_\"",
".",
"join",
"(",
"loc_list",
")",
"+",
"'_S-Bcr.'",
"+",
"fmt",
")",
",",
"'S-Bc'",
":",
"os",
".",
"path",
".",
"join",
"(",
"save_folder",
",",
"\"_\"",
".",
"join",
"(",
"loc_list",
")",
"+",
"'_S-Bc.'",
"+",
"fmt",
")",
"}",
"if",
"len",
"(",
"Bcr1",
")",
">",
"0",
":",
"plt",
".",
"figure",
"(",
"num",
"=",
"DSC",
"[",
"'day'",
"]",
",",
"figsize",
"=",
"(",
"5",
",",
"5",
")",
")",
"#plt.figure(num=DSC['S-Bc'], figsize=(5, 5))",
"plt",
".",
"figure",
"(",
"num",
"=",
"DSC",
"[",
"'S-Bcr'",
"]",
",",
"figsize",
"=",
"(",
"5",
",",
"5",
")",
")",
"plt",
".",
"figure",
"(",
"num",
"=",
"DSC",
"[",
"'bcr1-bcr2'",
"]",
",",
"figsize",
"=",
"(",
"5",
",",
"5",
")",
")",
"pmagplotlib",
".",
"plot_day",
"(",
"DSC",
"[",
"'day'",
"]",
",",
"Bcr1Bc",
",",
"S1",
",",
"'ro'",
")",
"pmagplotlib",
".",
"plot_s_bcr",
"(",
"DSC",
"[",
"'S-Bcr'",
"]",
",",
"Bcr1",
",",
"S1",
",",
"'ro'",
")",
"#pmagplotlib.plot_init(DSC['bcr1-bcr2'], 5, 5)",
"pmagplotlib",
".",
"plot_bcr",
"(",
"DSC",
"[",
"'bcr1-bcr2'",
"]",
",",
"Bcr1",
",",
"Bcr2",
")",
"fnames",
".",
"pop",
"(",
"'S-Bc'",
")",
"fnames",
"[",
"'bcr1-bcr2'",
"]",
"=",
"os",
".",
"path",
".",
"join",
"(",
"save_folder",
",",
"'bcr1-bcr2.png'",
")",
"DSC",
".",
"pop",
"(",
"'S-Bc'",
")",
"if",
"pmagplotlib",
".",
"isServer",
":",
"for",
"key",
"in",
"list",
"(",
"DSC",
".",
"keys",
"(",
")",
")",
":",
"fnames",
"[",
"key",
"]",
"=",
"'LO:_'",
"+",
"\":\"",
".",
"join",
"(",
"set",
"(",
"loc_list",
")",
")",
"+",
"'_'",
"+",
"'SI:__SA:__SP:__TY:_'",
"+",
"key",
"+",
"'_.'",
"+",
"fmt",
"if",
"save",
":",
"pmagplotlib",
".",
"save_plots",
"(",
"DSC",
",",
"fnames",
",",
"incl_directory",
"=",
"True",
")",
"return",
"True",
",",
"fnames",
".",
"values",
"(",
")",
"if",
"interactive",
":",
"pmagplotlib",
".",
"draw_figs",
"(",
"DSC",
")",
"ans",
"=",
"pmagplotlib",
".",
"save_or_quit",
"(",
")",
"if",
"ans",
"==",
"'a'",
":",
"pmagplotlib",
".",
"save_plots",
"(",
"DSC",
",",
"fnames",
",",
"incl_directory",
"=",
"True",
")",
"return",
"True",
",",
"fnames",
".",
"values",
"(",
")",
"else",
":",
"plt",
".",
"figure",
"(",
"num",
"=",
"DSC",
"[",
"'day'",
"]",
",",
"figsize",
"=",
"(",
"5",
",",
"5",
")",
")",
"plt",
".",
"figure",
"(",
"num",
"=",
"DSC",
"[",
"'S-Bc'",
"]",
",",
"figsize",
"=",
"(",
"5",
",",
"5",
")",
")",
"plt",
".",
"figure",
"(",
"num",
"=",
"DSC",
"[",
"'S-Bcr'",
"]",
",",
"figsize",
"=",
"(",
"5",
",",
"5",
")",
")",
"#plt.figure(num=DSC['bcr1-bcr2'], figsize=(5, 5))",
"del",
"DSC",
"[",
"'bcr1-bcr2'",
"]",
"# do other plots instead",
"pmagplotlib",
".",
"plot_day",
"(",
"DSC",
"[",
"'day'",
"]",
",",
"BcrBc",
",",
"S",
",",
"'bs'",
")",
"pmagplotlib",
".",
"plot_s_bcr",
"(",
"DSC",
"[",
"'S-Bcr'",
"]",
",",
"Bcr",
",",
"S",
",",
"'bs'",
")",
"pmagplotlib",
".",
"plot_s_bc",
"(",
"DSC",
"[",
"'S-Bc'",
"]",
",",
"Bc",
",",
"S",
",",
"'bs'",
")",
"if",
"pmagplotlib",
".",
"isServer",
":",
"for",
"key",
"in",
"list",
"(",
"DSC",
".",
"keys",
"(",
")",
")",
":",
"fnames",
"[",
"key",
"]",
"=",
"'LO:_'",
"+",
"\":\"",
".",
"join",
"(",
"set",
"(",
"loc_list",
")",
")",
"+",
"'_'",
"+",
"'SI:__SA:__SP:__TY:_'",
"+",
"key",
"+",
"'_.'",
"+",
"fmt",
"if",
"save",
":",
"pmagplotlib",
".",
"save_plots",
"(",
"DSC",
",",
"fnames",
",",
"incl_directory",
"=",
"True",
")",
"return",
"True",
",",
"fnames",
".",
"values",
"(",
")",
"elif",
"interactive",
":",
"pmagplotlib",
".",
"draw_figs",
"(",
"DSC",
")",
"ans",
"=",
"pmagplotlib",
".",
"save_or_quit",
"(",
")",
"if",
"ans",
"==",
"'a'",
":",
"pmagplotlib",
".",
"save_plots",
"(",
"DSC",
",",
"fnames",
",",
"incl_directory",
"=",
"True",
")",
"return",
"True",
",",
"fnames",
".",
"values",
"(",
")",
"return",
"True",
",",
"[",
"]"
] |
Makes 'day plots' (Day et al. 1977) and squareness/coercivity plots
(Neel, 1955; plots after Tauxe et al., 2002); plots 'linear mixing'
curve from Dunlop and Carter-Stiglitz (2006).
Optional Parameters (defaults are used if not specified)
----------
path_to_file : path to directory that contains files (default is current directory, '.')
the default input file is 'specimens.txt' (data_model=3
if data_model = 2, then must these are the defaults:
hyst_file : hysteresis file (default is 'rmag_hysteresis.txt')
rem_file : remanence file (default is 'rmag_remanence.txt')
save : boolean argument to save plots (default is True)
save_folder : relative directory where plots will be saved (default is current directory, '.')
fmt : format of saved figures (default is 'pdf')
|
[
"Makes",
"day",
"plots",
"(",
"Day",
"et",
"al",
".",
"1977",
")",
"and",
"squareness",
"/",
"coercivity",
"plots",
"(",
"Neel",
"1955",
";",
"plots",
"after",
"Tauxe",
"et",
"al",
".",
"2002",
")",
";",
"plots",
"linear",
"mixing",
"curve",
"from",
"Dunlop",
"and",
"Carter",
"-",
"Stiglitz",
"(",
"2006",
")",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L6547-L6710
|
train
|
Function that creates a dayplot of the magic files.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(0b100001 + 0o17) + '\x6f' + chr(49) + chr(0b110000), 0b1000), nzTpIcepk0o8(chr(0b100101 + 0o13) + chr(111) + chr(2384 - 2333) + '\061' + chr(0b110001), 0o10), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b110001) + chr(49) + chr(54), 0b1000), nzTpIcepk0o8(chr(48) + '\157' + chr(50) + chr(54) + '\x35', 0b1000), nzTpIcepk0o8(chr(826 - 778) + '\x6f' + chr(50) + chr(0b110111) + chr(52), 0o10), nzTpIcepk0o8(chr(48) + chr(0b11 + 0o154) + '\062' + chr(0b110000), 0b1000), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b110011 + 0o0) + chr(0b110001) + chr(0b10001 + 0o46), 0b1000), nzTpIcepk0o8(chr(0b101000 + 0o10) + chr(2480 - 2369) + chr(0b110001) + '\x30' + chr(0b110011 + 0o1), 0b1000), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(51) + chr(0b110110) + chr(828 - 779), 2791 - 2783), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(1013 - 962) + '\x30', 0o10), nzTpIcepk0o8(chr(1210 - 1162) + chr(111) + '\x33' + chr(0b10101 + 0o41) + chr(53), 0o10), nzTpIcepk0o8(chr(1388 - 1340) + '\157' + '\x31' + chr(0b11011 + 0o27) + chr(0b110101), 0b1000), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b11100 + 0o25) + chr(0b100000 + 0o24) + chr(0b110111 + 0o0), 36709 - 36701), nzTpIcepk0o8(chr(0b110000) + chr(0b10111 + 0o130) + chr(1426 - 1377) + '\064' + chr(1194 - 1143), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\061' + chr(51) + chr(0b110 + 0o52), 0b1000), nzTpIcepk0o8('\x30' + chr(7265 - 7154) + chr(0b11101 + 0o24) + chr(0b100000 + 0o24) + chr(811 - 761), 0o10), nzTpIcepk0o8(chr(0b1111 + 0o41) + chr(0b1010100 + 0o33) + '\067' + '\062', 29304 - 29296), nzTpIcepk0o8('\060' + chr(10663 - 10552) + chr(1042 - 993) + '\x36' + chr(55), 0o10), nzTpIcepk0o8('\x30' + chr(10015 - 9904) + '\061' + chr(174 - 125) + '\061', ord("\x08")), nzTpIcepk0o8(chr(48) + chr(111) + '\x33' + '\x35' + chr(48), 0o10), nzTpIcepk0o8(chr(187 - 139) + chr(111) + chr(51) + chr(0b1111 + 0o43) + '\x35', 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1010011 + 0o34) + '\x31' + '\063' + chr(55), 0o10), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\063' + chr(52), 0b1000), nzTpIcepk0o8(chr(341 - 293) + chr(10782 - 10671) + '\063' + chr(50) + chr(0b110011 + 0o1), 46778 - 46770), nzTpIcepk0o8('\060' + chr(111) + '\063' + chr(960 - 909) + '\x36', 0o10), nzTpIcepk0o8(chr(0b10000 + 0o40) + chr(111) + chr(0b110001 + 0o0) + chr(0b1110 + 0o46) + chr(487 - 434), 0b1000), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b110011) + chr(0b110000) + chr(52), 0b1000), nzTpIcepk0o8(chr(0b100101 + 0o13) + chr(9746 - 9635) + chr(51) + chr(2600 - 2549) + '\063', 0b1000), nzTpIcepk0o8(chr(48) + chr(0b10001 + 0o136) + chr(49) + chr(2077 - 2023) + '\066', 8020 - 8012), nzTpIcepk0o8(chr(0b101101 + 0o3) + chr(0b1101111) + chr(0b100001 + 0o20) + chr(48) + '\067', ord("\x08")), nzTpIcepk0o8('\060' + chr(111) + chr(0b1001 + 0o50) + '\x35' + chr(55), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b101111 + 0o5) + chr(0b101101 + 0o12), 8554 - 8546), nzTpIcepk0o8(chr(48) + chr(8029 - 7918) + '\067' + chr(1101 - 1046), ord("\x08")), nzTpIcepk0o8(chr(1804 - 1756) + chr(0b111100 + 0o63) + '\062' + '\061' + '\x34', 0b1000), nzTpIcepk0o8('\060' + '\x6f' + chr(1148 - 1097) + chr(383 - 331), 8), nzTpIcepk0o8(chr(222 - 174) + '\157' + chr(51) + '\060' + chr(54), 0b1000), nzTpIcepk0o8('\x30' + '\x6f' + '\063' + '\065' + chr(0b110101), 17401 - 17393), nzTpIcepk0o8(chr(48) + chr(0b101110 + 0o101) + '\064' + chr(2006 - 1954), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b111011 + 0o64) + chr(0b1100 + 0o46) + '\x34' + chr(0b1110 + 0o46), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(10204 - 10093) + '\064' + chr(54), 0o10)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(48) + chr(11486 - 11375) + chr(0b110101) + chr(0b101010 + 0o6), 33256 - 33248)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'&'), chr(2177 - 2077) + '\x65' + chr(0b111 + 0o134) + chr(9826 - 9715) + '\x64' + '\145')(chr(0b110000 + 0o105) + chr(0b1010011 + 0o41) + chr(102) + chr(1034 - 989) + chr(56)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def NLiWXwQiz9Wg(SBXaGBkMY5xD=roI3spqORKae(ES5oEprVxulp(b'&'), chr(7663 - 7563) + '\x65' + '\143' + '\x6f' + '\x64' + chr(9419 - 9318))(chr(7206 - 7089) + chr(0b1110100) + '\146' + '\x2d' + chr(1281 - 1225)), K78DgQJsmWYg=roI3spqORKae(ES5oEprVxulp(b'{\xb9+\xd6\xd5}\xaa*\x826\x81-\x13'), '\x64' + '\x65' + chr(2634 - 2535) + '\157' + chr(5710 - 5610) + '\145')(chr(117) + '\164' + chr(0b1100110) + '\x2d' + chr(0b111000)), xYGgnA3GwhIE=roI3spqORKae(ES5oEprVxulp(b''), chr(2474 - 2374) + chr(0b1100101) + '\143' + chr(0b1101111) + '\144' + chr(0b1100101))(chr(0b100001 + 0o124) + '\x74' + chr(8258 - 8156) + chr(233 - 188) + chr(0b111000)), mwgZMvWSpAHg=nzTpIcepk0o8('\x30' + chr(11010 - 10899) + chr(49), ord("\x08")), S_yV4Ytx3yb1=roI3spqORKae(ES5oEprVxulp(b'&'), chr(0b1100100) + '\145' + '\143' + '\157' + '\x64' + chr(0b100010 + 0o103))('\x75' + chr(3450 - 3334) + '\x66' + '\055' + chr(658 - 602)), JummcHpaNLEw=roI3spqORKae(ES5oEprVxulp(b'{\xbf)'), chr(4003 - 3903) + '\x65' + chr(0b111111 + 0o44) + '\x6f' + chr(1859 - 1759) + '\145')(chr(8961 - 8844) + '\x74' + chr(0b1010000 + 0o26) + '\x2d' + chr(0b111000)), ucvilvMnwW1d=nzTpIcepk0o8('\060' + chr(111) + chr(162 - 111), 27235 - 27227), f4XDWm__k5ZA=nzTpIcepk0o8('\060' + '\157' + '\060', 0b1000), bSiGoWKHgDdJ=None):
eemPYp2vtTSr = bpyfpu4kTbwL.ajIDWyXMBa3b
CHT65abdnIM0 = aHUqKstZLeS6.path.Y4yM9BcfTCNq(SBXaGBkMY5xD, K78DgQJsmWYg)
if ucvilvMnwW1d == nzTpIcepk0o8(chr(0b110000) + chr(111) + '\062', 0b1000) and xYGgnA3GwhIE != roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(0b1011 + 0o132) + '\x63' + chr(111) + chr(0b1100001 + 0o3) + '\x65')('\165' + chr(7281 - 7165) + '\146' + chr(0b100000 + 0o15) + chr(0b111000)):
kHVRtVVMATxO = aHUqKstZLeS6.path.Y4yM9BcfTCNq(SBXaGBkMY5xD, xYGgnA3GwhIE)
qjksZ7GK0xkJ = SBXaGBkMY5xD
TseISVdPlfdM = o77KS_r9H7AX.TseISVdPlfdM
Mp4uPZrWiJDk = {}
(Mp4uPZrWiJDk[roI3spqORKae(ES5oEprVxulp(b'l\xa87'), chr(5723 - 5623) + chr(0b1100101) + chr(0b11011 + 0o110) + chr(0b1100111 + 0o10) + chr(4181 - 4081) + chr(101))(chr(0b1001010 + 0o53) + '\164' + '\x66' + '\055' + chr(451 - 395))], Mp4uPZrWiJDk[roI3spqORKae(ES5oEprVxulp(b'[\xe4\x0c\xd6'), chr(0b1100100) + chr(0b1100101) + '\x63' + '\x6f' + '\144' + chr(8062 - 7961))(chr(0b1110001 + 0o4) + chr(0b1011000 + 0o34) + chr(0b1100110) + chr(0b101101) + '\070')], Mp4uPZrWiJDk[roI3spqORKae(ES5oEprVxulp(b'[\xe4\x0c\xd6\xce'), chr(100) + chr(1020 - 919) + chr(7066 - 6967) + '\157' + chr(3707 - 3607) + chr(0b1010011 + 0o22))(chr(117) + chr(0b1110100) + chr(102) + chr(1040 - 995) + chr(0b111000))], Mp4uPZrWiJDk[roI3spqORKae(ES5oEprVxulp(b'j\xaa<\x84\x91r\xac6\xc3'), chr(100) + '\x65' + chr(7011 - 6912) + chr(0b1001111 + 0o40) + chr(0b1010110 + 0o16) + chr(0b101010 + 0o73))('\x75' + chr(116) + '\x66' + '\x2d' + chr(56))]) = (nzTpIcepk0o8(chr(1297 - 1249) + '\157' + chr(1558 - 1509), 8), nzTpIcepk0o8(chr(1536 - 1488) + chr(11780 - 11669) + chr(50), 8), nzTpIcepk0o8(chr(0b101111 + 0o1) + chr(0b1101111) + chr(1241 - 1190), 8), nzTpIcepk0o8(chr(48) + chr(111) + chr(0b110100), 0b1000))
(tCdv8qHz1BKS, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(CHT65abdnIM0)
Wu3k9yT_OjjD = []
if ucvilvMnwW1d == nzTpIcepk0o8('\x30' + '\157' + chr(670 - 620), 8) and xYGgnA3GwhIE != roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(101) + '\x63' + chr(10929 - 10818) + chr(5314 - 5214) + '\145')(chr(117) + chr(12734 - 12618) + chr(102) + chr(0b1111 + 0o36) + '\x38'):
(Wu3k9yT_OjjD, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(kHVRtVVMATxO)
(buieUxkpnZk3, glLzHcQ_sFMO, D6HWy6HDTqgD, U9W3uF8sUTlq, lCTw17_2e1qV, C8f3KJ_LK6sI) = ([], [], [], [], [], [])
(AudLb2w71Qa8, CZBmwKgWiQBU, nokc2cS_pgFG, lpM4ggYrgWWV) = ([], [], [], [])
c7FJzf0TKi1V = roI3spqORKae(ES5oEprVxulp(b''), '\x64' + '\145' + chr(0b1011101 + 0o6) + chr(0b1101111) + chr(0b1100100) + chr(8048 - 7947))('\x75' + chr(116) + '\146' + '\x2d' + chr(0b111000))
if ucvilvMnwW1d == nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b110010), 8):
for FKO_XxLfWbYt in tCdv8qHz1BKS:
if roI3spqORKae(ES5oEprVxulp(b'm\xbb\x11\xd9\xd3s\xae0\x98w\x9b\n\t\x025\x07'), '\x64' + chr(101) + '\143' + chr(0b1101111) + '\x64' + chr(7430 - 7329))(chr(5165 - 5048) + chr(5804 - 5688) + '\x66' + '\055' + chr(56)) in H4NoA26ON7iG(roI3spqORKae(FKO_XxLfWbYt, roI3spqORKae(ES5oEprVxulp(b'c\xac7\xc6'), '\144' + chr(2765 - 2664) + chr(4549 - 4450) + chr(111) + chr(2805 - 2705) + chr(2854 - 2753))(chr(0b1110101) + chr(116) + '\146' + '\x2d' + chr(0b1001 + 0o57)))()) and FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'm\xbb\x11\xd9\xd3s\xae0\x98w\x9b\n\t\x025\x07'), chr(100) + chr(0b1001110 + 0o27) + chr(99) + chr(0b1001000 + 0o47) + chr(100) + '\x65')(chr(117) + '\x74' + '\146' + chr(0b100111 + 0o6) + chr(0b111000))] not in c7FJzf0TKi1V:
c7FJzf0TKi1V = c7FJzf0TKi1V + FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'm\xbb\x11\xd9\xd3s\xae0\x98w\x9b\n\t\x025\x07'), '\x64' + '\x65' + '\143' + chr(0b100100 + 0o113) + chr(0b1000010 + 0o42) + '\145')('\x75' + chr(116) + chr(102) + '\x2d' + '\x38')] + roI3spqORKae(ES5oEprVxulp(b'W'), '\x64' + '\x65' + '\x63' + chr(0b1101111) + chr(100) + chr(0b1011001 + 0o14))(chr(0b1110101) + chr(5108 - 4992) + chr(102) + '\x2d' + chr(1919 - 1863))
if FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'`\xb0=\xc1\xd9b\xaa7\x98k\xaa7\x04\x11'), '\144' + chr(0b1100101) + chr(0b110000 + 0o63) + '\157' + chr(7211 - 7111) + chr(101))(chr(0b1110101) + chr(9949 - 9833) + chr(102) + chr(0b101101) + chr(0b10111 + 0o41))] != roI3spqORKae(ES5oEprVxulp(b''), chr(2780 - 2680) + '\145' + '\x63' + chr(0b1101111) + '\144' + chr(101))('\165' + chr(116) + chr(2839 - 2737) + '\x2d' + chr(56)) and FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b"`\xb0=\xc1\xd9b\xaa7\x98k\xaa8\x15<5\rW\x12'\x9c"), chr(100) + '\145' + chr(99) + chr(0b1101111) + '\144' + chr(0b10100 + 0o121))(chr(3983 - 3866) + '\x74' + chr(8099 - 7997) + '\x2d' + chr(56))] != roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(0b1011011 + 0o12) + chr(0b10010 + 0o121) + chr(0b1011101 + 0o22) + '\x64' + chr(0b1100101))('\x75' + '\x74' + chr(4012 - 3910) + chr(1291 - 1246) + chr(825 - 769)):
roI3spqORKae(buieUxkpnZk3, roI3spqORKae(ES5oEprVxulp(b'@\x9d\x1d\x81\xc4w\x88+\x9bw\xa0`'), '\x64' + chr(8561 - 8460) + chr(0b1100011) + chr(2818 - 2707) + chr(8502 - 8402) + '\145')('\x75' + '\x74' + chr(5711 - 5609) + chr(1198 - 1153) + chr(2397 - 2341)))(SVfYwQaP38MC(jLW6pRf2DSRk(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b"`\xb0=\xc1\xd9b\xaa7\x98k\xaa8\x15<5\rW\x12'\x9c"), chr(0b11100 + 0o110) + chr(0b1100101) + chr(99) + '\157' + '\x64' + chr(101))(chr(0b1110101) + chr(0b1001010 + 0o52) + chr(0b1010 + 0o134) + '\x2d' + chr(0b111000))]), jLW6pRf2DSRk(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b"`\xb0=\xc1\xd9b\xaa7\x98k\xaa8\x14<5\rW\x12'\x9c"), chr(100) + chr(0b1000111 + 0o36) + chr(0b100000 + 0o103) + chr(0b11101 + 0o122) + chr(100) + chr(101))(chr(117) + chr(0b1110100) + chr(0b1100110) + '\055' + chr(0b101111 + 0o11))])))
roI3spqORKae(C8f3KJ_LK6sI, roI3spqORKae(ES5oEprVxulp(b'@\x9d\x1d\x81\xc4w\x88+\x9bw\xa0`'), chr(0b110001 + 0o63) + chr(0b110100 + 0o61) + '\143' + chr(111) + chr(0b101000 + 0o74) + chr(0b1010111 + 0o16))('\x75' + '\164' + '\x66' + chr(45) + '\x38'))(jLW6pRf2DSRk(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'`\xb0=\xc1\xd9b\xaa7\x98k\xaa7\x04\x11'), '\x64' + '\x65' + chr(99) + chr(111) + chr(100) + chr(0b1010010 + 0o23))('\165' + chr(5059 - 4943) + chr(102) + chr(1303 - 1258) + chr(1624 - 1568))]))
roI3spqORKae(U9W3uF8sUTlq, roI3spqORKae(ES5oEprVxulp(b'@\x9d\x1d\x81\xc4w\x88+\x9bw\xa0`'), chr(0b1010111 + 0o15) + chr(674 - 573) + chr(0b1010010 + 0o21) + '\x6f' + chr(8863 - 8763) + chr(101))(chr(117) + '\164' + chr(4769 - 4667) + chr(0b10100 + 0o31) + '\070'))(jLW6pRf2DSRk(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'`\xb0=\xc1\xd9b\xaa7\x98k\xaa7\x04'), '\144' + chr(0b1010111 + 0o16) + chr(0b1100011) + chr(2377 - 2266) + chr(100) + chr(2268 - 2167))('\x75' + '\164' + chr(102) + chr(45) + '\070')]))
roI3spqORKae(glLzHcQ_sFMO, roI3spqORKae(ES5oEprVxulp(b'@\x9d\x1d\x81\xc4w\x88+\x9bw\xa0`'), chr(977 - 877) + '\x65' + '\143' + '\157' + chr(2079 - 1979) + chr(0b1100101))('\x75' + chr(0b1110100) + chr(3872 - 3770) + '\055' + chr(2087 - 2031)))(SVfYwQaP38MC(C8f3KJ_LK6sI[-nzTpIcepk0o8('\x30' + chr(4376 - 4265) + chr(0b11101 + 0o24), 8)], U9W3uF8sUTlq[-nzTpIcepk0o8('\060' + chr(11965 - 11854) + chr(0b110001), 8)]))
if roI3spqORKae(ES5oEprVxulp(b'm\xbb\x11\xc6\xc5~\xbb,\x94l\x9c68\r9\x0f_'), chr(5366 - 5266) + '\145' + chr(99) + chr(0b1010110 + 0o31) + chr(0b111101 + 0o47) + '\x65')(chr(0b1110101) + '\x74' + chr(0b1100110) + chr(0b101101) + chr(1489 - 1433)) in H4NoA26ON7iG(roI3spqORKae(FKO_XxLfWbYt, roI3spqORKae(ES5oEprVxulp(b'c\xac7\xc6'), chr(100) + chr(1341 - 1240) + '\x63' + chr(2328 - 2217) + chr(0b1001110 + 0o26) + chr(0b1100101))(chr(12771 - 12654) + chr(0b1110100) + '\x66' + '\x2d' + chr(1482 - 1426)))()) and FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'm\xbb\x11\xc6\xc5~\xbb,\x94l\x9c68\r9\x0f_'), chr(0b1100100) + chr(101) + chr(0b110010 + 0o61) + '\157' + '\x64' + '\145')('\165' + '\x74' + chr(0b1100110) + chr(45) + '\x38')] != roI3spqORKae(ES5oEprVxulp(b''), chr(5337 - 5237) + chr(0b11011 + 0o112) + chr(0b10001 + 0o122) + chr(0b1101111) + chr(8120 - 8020) + chr(0b1010110 + 0o17))(chr(117) + '\x74' + '\146' + chr(0b1011 + 0o42) + chr(0b110011 + 0o5)):
FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'm\xbb\x11\xc6\xccu\xac-\x9c}\x9b\n\t\x025\x07'), chr(0b1100100) + '\x65' + chr(0b1100011) + chr(111) + '\x64' + chr(0b10000 + 0o125))(chr(0b0 + 0o165) + '\164' + chr(8884 - 8782) + chr(0b10111 + 0o26) + chr(56))] = FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'm\xbb\x11\xc6\xc5~\xbb,\x94l\x9c68\r9\x0f_'), chr(8988 - 8888) + chr(101) + chr(4165 - 4066) + '\x6f' + chr(0b1100100) + '\145')('\x75' + chr(116) + '\x66' + chr(45) + '\x38')]
roI3spqORKae(lCTw17_2e1qV, roI3spqORKae(ES5oEprVxulp(b'@\x9d\x1d\x81\xc4w\x88+\x9bw\xa0`'), chr(100) + chr(0b1100101) + '\143' + chr(11649 - 11538) + chr(8892 - 8792) + chr(0b1100101))(chr(0b1110101) + chr(11531 - 11415) + chr(0b1010011 + 0o23) + chr(0b101101) + chr(56)))(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'm\xbb\x11\xc6\xccu\xac-\x9c}\x9b\n\t\x025\x07'), chr(356 - 256) + chr(101) + '\143' + '\157' + '\x64' + chr(0b1000001 + 0o44))('\x75' + chr(0b1010000 + 0o44) + '\x66' + '\x2d' + chr(2963 - 2907))])
if ftfygxgFas5X(Wu3k9yT_OjjD) > nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b1010 + 0o46), 8):
for FKO_XxLfWbYt in Wu3k9yT_OjjD:
if FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b"z\xac#\xd4\xd2u\xa1'\x94G\x976\x15"), chr(0b1100100) + '\145' + chr(468 - 369) + '\x6f' + '\x64' + chr(1662 - 1561))(chr(0b110111 + 0o76) + chr(0b1110100) + chr(5448 - 5346) + chr(1977 - 1932) + chr(56))] != roI3spqORKae(ES5oEprVxulp(b''), chr(0b111011 + 0o51) + chr(0b1100101) + chr(99) + '\157' + '\x64' + chr(5996 - 5895))(chr(117) + '\164' + chr(102) + chr(1759 - 1714) + chr(56)) and jLW6pRf2DSRk(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b"z\xac#\xd4\xd2u\xa1'\x94G\x976\x15"), chr(100) + '\x65' + '\143' + chr(0b1101111) + '\144' + chr(5133 - 5032))(chr(0b1110 + 0o147) + chr(0b1110100) + chr(0b101010 + 0o74) + chr(0b101101) + '\x38')]) > nzTpIcepk0o8(chr(0b101000 + 0o10) + chr(0b1 + 0o156) + chr(0b110000), 8):
try:
w5vcgUzFN3bF = lCTw17_2e1qV.ZpfN5tSLaZze(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'm\xbb\x11\xc6\xccu\xac-\x9c}\x9b\n\t\x025\x07'), '\144' + '\x65' + chr(510 - 411) + '\157' + '\144' + chr(0b1100101))(chr(117) + chr(1321 - 1205) + chr(102) + chr(1266 - 1221) + '\070')])
roI3spqORKae(CZBmwKgWiQBU, roI3spqORKae(ES5oEprVxulp(b'@\x9d\x1d\x81\xc4w\x88+\x9bw\xa0`'), chr(100) + '\x65' + chr(0b100011 + 0o100) + chr(0b1101111) + chr(8594 - 8494) + chr(101))(chr(117) + chr(3035 - 2919) + chr(0b1100110) + '\055' + chr(56)))(jLW6pRf2DSRk(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b"z\xac#\xd4\xd2u\xa1'\x94G\x976\x15"), chr(0b1000001 + 0o43) + chr(0b10000 + 0o125) + chr(99) + '\157' + chr(0b1001101 + 0o27) + chr(101))('\x75' + chr(0b1110100) + chr(102) + chr(0b101101) + chr(56))]))
roI3spqORKae(nokc2cS_pgFG, roI3spqORKae(ES5oEprVxulp(b'@\x9d\x1d\x81\xc4w\x88+\x9bw\xa0`'), '\144' + chr(0b1000011 + 0o42) + chr(99) + chr(3602 - 3491) + chr(0b1100100) + chr(101))(chr(291 - 174) + chr(116) + chr(2935 - 2833) + chr(0b101001 + 0o4) + '\x38'))(SVfYwQaP38MC(CZBmwKgWiQBU[-nzTpIcepk0o8('\x30' + '\x6f' + chr(2330 - 2281), 8)], U9W3uF8sUTlq[w5vcgUzFN3bF]))
roI3spqORKae(lpM4ggYrgWWV, roI3spqORKae(ES5oEprVxulp(b'@\x9d\x1d\x81\xc4w\x88+\x9bw\xa0`'), '\x64' + chr(101) + chr(99) + chr(0b1101111) + chr(0b1000000 + 0o44) + chr(0b1100101))(chr(0b100111 + 0o116) + chr(0b1110100) + '\x66' + chr(0b1011 + 0o42) + chr(64 - 8)))(buieUxkpnZk3[w5vcgUzFN3bF])
roI3spqORKae(D6HWy6HDTqgD, roI3spqORKae(ES5oEprVxulp(b'@\x9d\x1d\x81\xc4w\x88+\x9bw\xa0`'), '\144' + chr(0b101110 + 0o67) + chr(99) + chr(0b110001 + 0o76) + chr(100) + chr(101))(chr(117) + chr(0b1110100) + chr(0b1100110) + chr(0b10001 + 0o34) + chr(0b10010 + 0o46)))(C8f3KJ_LK6sI[w5vcgUzFN3bF])
except WbNHlDKpyPtQ:
if TseISVdPlfdM:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'`\xb0=\xc1\xd9b\xaa7\x98k\xd51\x06\x179B\\\x18;\xc8'), '\144' + chr(5687 - 5586) + chr(0b1100011) + chr(6825 - 6714) + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + chr(0b101010 + 0o74) + chr(249 - 204) + '\070'), FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'm\xbb\x11\xc6\xccu\xac-\x9c}\x9b\n\t\x025\x07'), chr(2007 - 1907) + '\x65' + '\x63' + chr(111) + '\144' + chr(101))(chr(117) + '\x74' + chr(0b1100110) + chr(288 - 243) + chr(0b111000))], roI3spqORKae(ES5oEprVxulp(b'(\xa7!\xc1\x9cv\xa01\x9f|'), chr(2633 - 2533) + '\145' + chr(206 - 107) + chr(1842 - 1731) + chr(9689 - 9589) + chr(101))(chr(0b1110101) + chr(3425 - 3309) + chr(0b1100110) + chr(1342 - 1297) + chr(56)))
else:
HfaqVUK36EUj = {roI3spqORKae(ES5oEprVxulp(b'{\xb9+\xd6\xd5}\xaa*\x82'), '\144' + '\x65' + chr(0b1000 + 0o133) + chr(8900 - 8789) + chr(2466 - 2366) + chr(0b1011010 + 0o13))('\165' + chr(6634 - 6518) + '\x66' + chr(45) + chr(0b1101 + 0o53)): K78DgQJsmWYg}
if bSiGoWKHgDdJ:
D3H9MFOOog2W = bSiGoWKHgDdJ
else:
D3H9MFOOog2W = RYEhqzIVZREo.Contribution(qjksZ7GK0xkJ, read_tables=[roI3spqORKae(ES5oEprVxulp(b'{\xb9+\xd6\xd5}\xaa*\x82'), chr(100) + chr(9651 - 9550) + chr(5543 - 5444) + chr(8186 - 8075) + chr(0b1100100) + chr(0b111110 + 0o47))(chr(0b11010 + 0o133) + chr(116) + chr(0b1100110) + chr(809 - 764) + chr(0b111000))], custom_filenames=HfaqVUK36EUj)
if roI3spqORKae(ES5oEprVxulp(b'{\xb9+\xd6\xd5}\xaa*\x82'), '\144' + '\145' + chr(0b1011 + 0o130) + chr(0b1100001 + 0o16) + chr(0b1010000 + 0o24) + '\x65')(chr(0b110000 + 0o105) + '\164' + chr(310 - 208) + chr(45) + chr(0b110111 + 0o1)) not in roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'_\xae:\xe6\xf6H\xff7\xb8A\x85\x19'), chr(6135 - 6035) + chr(0b1100101) + chr(0b1100011) + chr(4440 - 4329) + chr(100) + chr(0b1100101))(chr(0b1011101 + 0o30) + chr(116) + '\146' + '\055' + '\070')):
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'%\x8cc\x95\xf2\x7f\xef7\x81}\x96<\n\x066B\\\x1e%\x8d\xf59s\xa1\xb0\x01\xe4\xb2\x18g\x14Z'), chr(0b1100100) + chr(164 - 63) + '\143' + chr(111) + chr(0b1000 + 0o134) + chr(2448 - 2347))(chr(117) + chr(116) + chr(102) + '\x2d' + chr(2264 - 2208)), roI3spqORKae(ES5oEprVxulp(b'y\xfa}\xfe\xfb#\xa9+\xa0G\xb6\x1f'), chr(100) + '\x65' + chr(0b1000 + 0o133) + chr(0b1101111) + chr(0b1100100) + '\145')(chr(0b1011011 + 0o32) + chr(116) + '\146' + '\x2d' + chr(56)))(roI3spqORKae(aHUqKstZLeS6.path, roI3spqORKae(ES5oEprVxulp(b'{\xf9>\xdb\xccT\x983\xa9(\xb7,'), chr(100) + '\x65' + '\x63' + '\x6f' + chr(4578 - 4478) + '\145')(chr(0b1110101) + '\x74' + chr(0b1010010 + 0o24) + chr(979 - 934) + '\070'))(qjksZ7GK0xkJ)))
return (nzTpIcepk0o8('\060' + '\x6f' + chr(1487 - 1439), 8), [])
uncialTplnF1 = D3H9MFOOog2W.WgtSJX0sIYpL[roI3spqORKae(ES5oEprVxulp(b'{\xb9+\xd6\xd5}\xaa*\x82'), chr(1558 - 1458) + chr(0b10 + 0o143) + '\143' + chr(0b1001001 + 0o46) + chr(1394 - 1294) + chr(101))(chr(117) + chr(13276 - 13160) + chr(0b10 + 0o144) + chr(45) + '\070')]
YtA_2u8ugCIV = uncialTplnF1.jpOn8DNZxbbx
roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'x\xbb!\xc5\xddw\xae0\x94G\x99:\x04\x02,\x0bU\x19\x16\x9c\xba\x00o\xa4\xbb\x06\xad\xb6\x13)\x1c'), chr(100) + chr(101) + chr(99) + '\x6f' + '\x64' + chr(0b1100101))(chr(6576 - 6459) + '\164' + chr(102) + chr(1299 - 1254) + '\070'))()
HVsXCPuCO821 = []
if roI3spqORKae(ES5oEprVxulp(b'd\xa6-\xd4\xc8y\xa0*'), '\144' + chr(0b1100101) + chr(3513 - 3414) + chr(0b1001100 + 0o43) + chr(0b1100100) + chr(0b1001011 + 0o32))('\x75' + chr(0b110110 + 0o76) + '\146' + chr(0b101101) + chr(0b11 + 0o65)) in roI3spqORKae(YtA_2u8ugCIV, roI3spqORKae(ES5oEprVxulp(b']\xfaw\xdf\xefy\x86q\xc5U\x99%'), chr(0b1011001 + 0o13) + chr(0b1100101) + chr(99) + chr(111) + '\x64' + chr(3758 - 3657))('\165' + '\x74' + '\x66' + chr(45) + '\x38')):
HVsXCPuCO821 = YtA_2u8ugCIV[roI3spqORKae(ES5oEprVxulp(b'd\xa6-\xd4\xc8y\xa0*'), chr(8439 - 8339) + chr(4648 - 4547) + chr(0b1001010 + 0o31) + '\157' + '\x64' + chr(0b1000 + 0o135))(chr(117) + '\x74' + chr(0b1100110) + chr(0b100111 + 0o6) + '\x38')].G3de2eWQaS0D()
GUlxLl__g2QH = TVUhqOt5_BbS(roI3spqORKae(ES5oEprVxulp(b'z\xac#\xea\xdes\xbd'), chr(0b1100100) + '\145' + '\143' + chr(0b1101111) + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + '\164' + chr(0b1100110) + chr(45) + '\070') in YtA_2u8ugCIV.U39jSiI54Mlp)
for (w5vcgUzFN3bF, o6UWUO21mH25) in roI3spqORKae(YtA_2u8ugCIV, roI3spqORKae(ES5oEprVxulp(b'a\xbd+\xc7\xce\x7f\xb87'), chr(0b1100100) + '\145' + chr(0b111010 + 0o51) + chr(9332 - 9221) + chr(6345 - 6245) + '\x65')(chr(0b1100010 + 0o23) + chr(12336 - 12220) + chr(0b1011000 + 0o16) + chr(0b101101) + '\070'))():
if o6UWUO21mH25[roI3spqORKae(ES5oEprVxulp(b'`\xb0=\xc1\xe3r\xac6'), '\144' + chr(0b1100101) + chr(0b1100011) + chr(111) + chr(221 - 121) + chr(0b1100101))('\x75' + chr(0b1110100) + chr(0b111110 + 0o50) + chr(0b110 + 0o47) + chr(56))] and o6UWUO21mH25[roI3spqORKae(ES5oEprVxulp(b'`\xb0=\xc1\xe3}\xbd\x1b\x9cw\x980\t\x17'), chr(0b1100100) + chr(0b1010011 + 0o22) + '\143' + chr(2975 - 2864) + '\144' + chr(0b1100101))('\165' + chr(0b1110100) + chr(0b1100110) + chr(0b101001 + 0o4) + '\070')]:
roI3spqORKae(buieUxkpnZk3, roI3spqORKae(ES5oEprVxulp(b'@\x9d\x1d\x81\xc4w\x88+\x9bw\xa0`'), '\144' + chr(704 - 603) + '\143' + chr(0b1010 + 0o145) + chr(0b11110 + 0o106) + '\x65')('\165' + '\164' + '\x66' + '\x2d' + '\x38'))(SVfYwQaP38MC(jLW6pRf2DSRk(o6UWUO21mH25[roI3spqORKae(ES5oEprVxulp(b'`\xb0=\xc1\xe3}\xbd\x1b\x9cw\x980\t\x17'), '\144' + chr(0b1100101) + '\x63' + chr(111) + chr(2997 - 2897) + chr(101))(chr(0b1011001 + 0o34) + chr(116) + chr(102) + chr(1248 - 1203) + '\x38')]), jLW6pRf2DSRk(o6UWUO21mH25[roI3spqORKae(ES5oEprVxulp(b'`\xb0=\xc1\xe3}\xbc\x1b\x9cw\x980\t\x17'), '\144' + '\145' + chr(973 - 874) + chr(0b1101111) + chr(0b1100100) + '\145')(chr(0b1110101) + chr(116) + chr(102) + chr(1884 - 1839) + chr(0b111000))])))
roI3spqORKae(C8f3KJ_LK6sI, roI3spqORKae(ES5oEprVxulp(b'@\x9d\x1d\x81\xc4w\x88+\x9bw\xa0`'), chr(100) + '\145' + chr(0b1100011) + '\157' + chr(1067 - 967) + '\x65')('\x75' + '\x74' + '\146' + '\x2d' + '\x38'))(jLW6pRf2DSRk(o6UWUO21mH25[roI3spqORKae(ES5oEprVxulp(b'`\xb0=\xc1\xe3r\xac6'), chr(7462 - 7362) + '\145' + '\x63' + chr(0b1000110 + 0o51) + chr(4256 - 4156) + chr(101))(chr(5374 - 5257) + chr(116) + chr(0b1100110) + chr(0b101101) + chr(0b10101 + 0o43))]))
roI3spqORKae(U9W3uF8sUTlq, roI3spqORKae(ES5oEprVxulp(b'@\x9d\x1d\x81\xc4w\x88+\x9bw\xa0`'), chr(0b1100100) + chr(8059 - 7958) + chr(0b10000 + 0o123) + chr(111) + chr(2191 - 2091) + chr(101))('\165' + chr(0b1110100) + chr(0b1100110) + '\055' + chr(1500 - 1444)))(jLW6pRf2DSRk(o6UWUO21mH25[roI3spqORKae(ES5oEprVxulp(b'`\xb0=\xc1\xe3r\xac'), chr(6559 - 6459) + chr(9909 - 9808) + chr(0b110011 + 0o60) + '\157' + '\x64' + chr(0b1001100 + 0o31))(chr(0b11010 + 0o133) + chr(12642 - 12526) + '\x66' + '\055' + chr(0b100011 + 0o25))]))
roI3spqORKae(glLzHcQ_sFMO, roI3spqORKae(ES5oEprVxulp(b'@\x9d\x1d\x81\xc4w\x88+\x9bw\xa0`'), chr(7195 - 7095) + chr(0b100111 + 0o76) + '\143' + chr(111) + chr(100) + chr(0b110100 + 0o61))(chr(2792 - 2675) + chr(0b10101 + 0o137) + '\146' + chr(0b1 + 0o54) + chr(56)))(SVfYwQaP38MC(C8f3KJ_LK6sI[-nzTpIcepk0o8('\060' + chr(0b1101111) + chr(49), 8)], U9W3uF8sUTlq[-nzTpIcepk0o8(chr(48) + chr(5272 - 5161) + '\061', 8)]))
roI3spqORKae(lCTw17_2e1qV, roI3spqORKae(ES5oEprVxulp(b'@\x9d\x1d\x81\xc4w\x88+\x9bw\xa0`'), '\144' + '\145' + chr(0b101100 + 0o67) + chr(111) + chr(0b101010 + 0o72) + chr(0b111111 + 0o46))('\x75' + chr(116) + '\146' + chr(0b101101) + chr(0b110010 + 0o6)))(o6UWUO21mH25[roI3spqORKae(ES5oEprVxulp(b'{\xb9+\xd6\xd5}\xaa*'), chr(0b1010101 + 0o17) + '\145' + chr(99) + '\157' + '\x64' + chr(0b1001101 + 0o30))(chr(0b1110101) + '\x74' + chr(0b111010 + 0o54) + chr(1610 - 1565) + '\x38')])
if GUlxLl__g2QH:
if o6UWUO21mH25[roI3spqORKae(ES5oEprVxulp(b'z\xac#\xea\xdes\xbd'), '\x64' + '\x65' + chr(0b10000 + 0o123) + chr(0b1010001 + 0o36) + chr(8244 - 8144) + '\145')(chr(0b1110101) + chr(13416 - 13300) + '\146' + chr(0b11100 + 0o21) + '\070')] and jLW6pRf2DSRk(o6UWUO21mH25[roI3spqORKae(ES5oEprVxulp(b'z\xac#\xea\xdes\xbd'), chr(0b1100100) + chr(101) + chr(0b1011011 + 0o10) + chr(0b1101111) + '\x64' + '\x65')(chr(0b1110101) + chr(116) + '\x66' + '\055' + chr(56))]) > nzTpIcepk0o8(chr(48) + '\157' + chr(2007 - 1959), 8):
try:
roI3spqORKae(CZBmwKgWiQBU, roI3spqORKae(ES5oEprVxulp(b'@\x9d\x1d\x81\xc4w\x88+\x9bw\xa0`'), '\144' + '\x65' + '\143' + chr(111) + '\x64' + chr(0b1100101))(chr(0b1010110 + 0o37) + '\x74' + chr(0b11 + 0o143) + '\x2d' + chr(0b110110 + 0o2)))(jLW6pRf2DSRk(o6UWUO21mH25[roI3spqORKae(ES5oEprVxulp(b'z\xac#\xea\xdes\xbd'), chr(2329 - 2229) + chr(0b1100101) + chr(99) + chr(0b1101111) + '\144' + '\145')('\x75' + chr(7696 - 7580) + chr(0b110100 + 0o62) + '\x2d' + chr(0b1000 + 0o60))]))
roI3spqORKae(nokc2cS_pgFG, roI3spqORKae(ES5oEprVxulp(b'@\x9d\x1d\x81\xc4w\x88+\x9bw\xa0`'), chr(100) + chr(9043 - 8942) + '\x63' + '\x6f' + chr(0b1100100) + '\x65')('\x75' + chr(0b1110100) + chr(0b1100110) + '\055' + chr(678 - 622)))(SVfYwQaP38MC(CZBmwKgWiQBU[-nzTpIcepk0o8('\x30' + chr(0b1100100 + 0o13) + chr(49), 8)], U9W3uF8sUTlq[-nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b101010 + 0o7), 8)]))
roI3spqORKae(lpM4ggYrgWWV, roI3spqORKae(ES5oEprVxulp(b'@\x9d\x1d\x81\xc4w\x88+\x9bw\xa0`'), '\x64' + chr(7751 - 7650) + chr(0b1100011) + chr(111) + '\x64' + chr(0b110011 + 0o62))(chr(0b1110101) + chr(13160 - 13044) + '\146' + '\x2d' + chr(0b110110 + 0o2)))(buieUxkpnZk3[-nzTpIcepk0o8('\x30' + chr(2624 - 2513) + chr(0b110001), 8)])
roI3spqORKae(D6HWy6HDTqgD, roI3spqORKae(ES5oEprVxulp(b'@\x9d\x1d\x81\xc4w\x88+\x9bw\xa0`'), '\x64' + '\x65' + chr(0b1011110 + 0o5) + '\x6f' + '\144' + chr(0b1011011 + 0o12))(chr(6657 - 6540) + '\x74' + chr(524 - 422) + chr(45) + chr(2672 - 2616)))(C8f3KJ_LK6sI[-nzTpIcepk0o8(chr(0b110000) + chr(622 - 511) + '\061', 8)])
except WbNHlDKpyPtQ:
if TseISVdPlfdM:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'`\xb0=\xc1\xd9b\xaa7\x98k\xd51\x06\x179B\\\x18;\xc8'), chr(0b1100100) + chr(4068 - 3967) + chr(0b1100001 + 0o2) + chr(111) + '\x64' + chr(10098 - 9997))(chr(1275 - 1158) + chr(0b1110100) + chr(102) + chr(0b1 + 0o54) + chr(0b111 + 0o61)), o6UWUO21mH25[roI3spqORKae(ES5oEprVxulp(b'{\xb9+\xd6\xd5}\xaa*'), '\x64' + chr(6608 - 6507) + '\143' + chr(0b1101111) + '\144' + chr(0b110001 + 0o64))(chr(4427 - 4310) + '\164' + '\x66' + chr(839 - 794) + chr(0b111000))], end=roI3spqORKae(ES5oEprVxulp(b'('), '\x64' + chr(0b1100000 + 0o5) + chr(8462 - 8363) + '\157' + chr(3208 - 3108) + chr(0b11011 + 0o112))(chr(117) + '\164' + chr(102) + chr(0b101101) + '\x38'))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'(\xa7!\xc1\x9cv\xa01\x9f|'), chr(0b100 + 0o140) + chr(0b1100101) + '\x63' + '\157' + chr(100) + chr(874 - 773))(chr(0b1110101) + '\x74' + chr(102) + chr(0b101101) + chr(0b111000)))
HfaqVUK36EUj = {roI3spqORKae(ES5oEprVxulp(b'l\xa87'), chr(0b1110 + 0o126) + chr(0b100100 + 0o101) + chr(0b1100011) + chr(0b1101 + 0o142) + chr(0b1100100) + chr(101))(chr(0b1110101) + chr(1104 - 988) + chr(0b1100 + 0o132) + chr(0b101101) + '\070'): aHUqKstZLeS6.path.Y4yM9BcfTCNq(S_yV4Ytx3yb1, roI3spqORKae(ES5oEprVxulp(b'W'), chr(6211 - 6111) + '\x65' + chr(289 - 190) + '\x6f' + chr(3514 - 3414) + chr(101))(chr(117) + chr(0b1110100) + '\x66' + chr(403 - 358) + chr(2832 - 2776)).Y4yM9BcfTCNq(HVsXCPuCO821) + roI3spqORKae(ES5oEprVxulp(b'W\x8d/\xcc\x92'), chr(0b1100011 + 0o1) + chr(0b1100101) + chr(99) + '\x6f' + chr(100) + chr(101))(chr(12733 - 12616) + chr(116) + chr(8836 - 8734) + chr(45) + chr(0b111000)) + JummcHpaNLEw), roI3spqORKae(ES5oEprVxulp(b'[\xe4\x0c\xd6\xce'), chr(0b1011111 + 0o5) + chr(0b1100101) + '\143' + '\x6f' + '\x64' + chr(6699 - 6598))(chr(0b1110101) + chr(12011 - 11895) + chr(8858 - 8756) + chr(0b100100 + 0o11) + chr(1461 - 1405)): aHUqKstZLeS6.path.Y4yM9BcfTCNq(S_yV4Ytx3yb1, roI3spqORKae(ES5oEprVxulp(b'W'), chr(0b1100100) + '\x65' + chr(5060 - 4961) + '\x6f' + chr(0b1001111 + 0o25) + chr(101))(chr(0b1110 + 0o147) + chr(0b11110 + 0o126) + chr(0b1100110) + chr(0b101101) + '\070').Y4yM9BcfTCNq(HVsXCPuCO821) + roI3spqORKae(ES5oEprVxulp(b'W\x9ac\xf7\xdfb\xe1'), '\144' + chr(0b111111 + 0o46) + chr(0b110 + 0o135) + '\x6f' + '\144' + chr(0b1100101))('\165' + chr(4181 - 4065) + '\146' + '\x2d' + '\070') + JummcHpaNLEw), roI3spqORKae(ES5oEprVxulp(b'[\xe4\x0c\xd6'), chr(8967 - 8867) + chr(0b1001011 + 0o32) + '\143' + '\x6f' + chr(2441 - 2341) + chr(0b1100101))(chr(117) + chr(0b1001001 + 0o53) + chr(0b1100110) + chr(0b101101) + chr(56)): aHUqKstZLeS6.path.Y4yM9BcfTCNq(S_yV4Ytx3yb1, roI3spqORKae(ES5oEprVxulp(b'W'), chr(0b111100 + 0o50) + chr(8962 - 8861) + chr(0b1100011) + '\x6f' + chr(100) + chr(101))('\165' + chr(9895 - 9779) + chr(0b111011 + 0o53) + chr(45) + chr(0b100 + 0o64)).Y4yM9BcfTCNq(HVsXCPuCO821) + roI3spqORKae(ES5oEprVxulp(b'W\x9ac\xf7\xdf>'), chr(0b1100100) + chr(101) + '\143' + '\157' + '\x64' + '\x65')(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + chr(901 - 856) + chr(0b10010 + 0o46)) + JummcHpaNLEw)}
if ftfygxgFas5X(CZBmwKgWiQBU) > nzTpIcepk0o8(chr(48) + chr(0b1010101 + 0o32) + chr(823 - 775), 8):
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'm\xba~\xef\x8at\xb5\x07\x99K\xb9`'), '\x64' + chr(101) + chr(99) + '\x6f' + chr(3986 - 3886) + chr(1212 - 1111))(chr(117) + '\x74' + '\x66' + chr(0b1001 + 0o44) + chr(0b111000)))(num=Mp4uPZrWiJDk[roI3spqORKae(ES5oEprVxulp(b'l\xa87'), chr(0b10001 + 0o123) + chr(7946 - 7845) + chr(8519 - 8420) + chr(111) + chr(0b1100100) + '\x65')(chr(117) + '\x74' + chr(102) + chr(979 - 934) + '\070')], figsize=(nzTpIcepk0o8(chr(0b110000) + '\157' + chr(73 - 20), 0b1000), nzTpIcepk0o8('\x30' + '\157' + chr(0b110101), 8)))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'm\xba~\xef\x8at\xb5\x07\x99K\xb9`'), '\x64' + chr(0b1000110 + 0o37) + chr(8875 - 8776) + chr(111) + chr(0b1001001 + 0o33) + '\x65')(chr(0b1010011 + 0o42) + '\164' + chr(0b111100 + 0o52) + '\055' + chr(1522 - 1466)))(num=Mp4uPZrWiJDk[roI3spqORKae(ES5oEprVxulp(b'[\xe4\x0c\xd6\xce'), '\144' + chr(101) + chr(0b1100011) + chr(111) + '\x64' + chr(101))(chr(7235 - 7118) + chr(0b1110100) + '\146' + chr(0b10 + 0o53) + chr(0b101010 + 0o16))], figsize=(nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b110101), 8), nzTpIcepk0o8('\x30' + chr(0b1100001 + 0o16) + chr(2067 - 2014), 8)))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'm\xba~\xef\x8at\xb5\x07\x99K\xb9`'), chr(0b110 + 0o136) + chr(0b1100011 + 0o2) + chr(0b1100011) + chr(8061 - 7950) + chr(0b111111 + 0o45) + chr(101))(chr(0b1110101) + chr(0b10101 + 0o137) + '\146' + chr(0b100011 + 0o12) + chr(0b111000)))(num=Mp4uPZrWiJDk[roI3spqORKae(ES5oEprVxulp(b'j\xaa<\x84\x91r\xac6\xc3'), chr(100) + chr(101) + '\x63' + chr(111) + '\x64' + chr(0b101111 + 0o66))(chr(0b1000100 + 0o61) + chr(3512 - 3396) + chr(0b1001110 + 0o30) + chr(0b101101) + chr(1761 - 1705))], figsize=(nzTpIcepk0o8(chr(48) + chr(0b0 + 0o157) + chr(0b10010 + 0o43), 8), nzTpIcepk0o8(chr(0b100000 + 0o20) + '\x6f' + chr(53), 8)))
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'x\xa5!\xc1\xe3t\xae='), '\144' + chr(0b1100101) + chr(509 - 410) + '\157' + '\144' + '\145')('\165' + chr(9721 - 9605) + chr(102) + '\x2d' + '\x38'))(Mp4uPZrWiJDk[roI3spqORKae(ES5oEprVxulp(b'l\xa87'), chr(100) + '\x65' + chr(7917 - 7818) + chr(0b1101111) + '\x64' + '\x65')('\165' + '\164' + chr(0b1100110) + '\055' + chr(0b111000))], nokc2cS_pgFG, lpM4ggYrgWWV, roI3spqORKae(ES5oEprVxulp(b'z\xa6'), chr(0b1100100) + '\x65' + chr(1746 - 1647) + '\x6f' + '\x64' + chr(101))('\x75' + '\164' + chr(0b1100110) + '\x2d' + chr(56)))
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'x\xa5!\xc1\xe3c\x90&\x92j'), chr(9408 - 9308) + chr(8912 - 8811) + '\x63' + chr(0b110110 + 0o71) + '\x64' + '\x65')('\165' + '\x74' + chr(1941 - 1839) + chr(0b111 + 0o46) + chr(2745 - 2689)))(Mp4uPZrWiJDk[roI3spqORKae(ES5oEprVxulp(b'[\xe4\x0c\xd6\xce'), chr(100) + '\145' + '\143' + chr(0b100100 + 0o113) + chr(100) + chr(101))(chr(0b1001 + 0o154) + '\164' + chr(0b1100110) + chr(45) + chr(0b100111 + 0o21))], CZBmwKgWiQBU, lpM4ggYrgWWV, roI3spqORKae(ES5oEprVxulp(b'z\xa6'), '\144' + '\145' + chr(0b1100011) + chr(0b101101 + 0o102) + chr(0b1100100) + chr(0b10000 + 0o125))('\x75' + chr(116) + chr(5476 - 5374) + chr(1124 - 1079) + chr(2555 - 2499)))
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'x\xa5!\xc1\xe3r\xac6'), '\x64' + '\145' + '\x63' + chr(6923 - 6812) + chr(0b1100100) + chr(101))(chr(117) + '\x74' + '\x66' + chr(0b10111 + 0o26) + chr(56)))(Mp4uPZrWiJDk[roI3spqORKae(ES5oEprVxulp(b'j\xaa<\x84\x91r\xac6\xc3'), chr(9684 - 9584) + chr(3729 - 3628) + '\143' + chr(0b1101111) + chr(100) + '\x65')(chr(11845 - 11728) + '\x74' + chr(5696 - 5594) + chr(1792 - 1747) + chr(0b111000))], CZBmwKgWiQBU, D6HWy6HDTqgD)
roI3spqORKae(HfaqVUK36EUj, roI3spqORKae(ES5oEprVxulp(b'}\x8a\x11\xec\xd3i\xad<\xc6R\xc5\x1c'), chr(100) + '\145' + chr(7406 - 7307) + chr(10763 - 10652) + chr(0b111010 + 0o52) + '\x65')(chr(0b100101 + 0o120) + chr(0b101 + 0o157) + chr(102) + '\055' + chr(56)))(roI3spqORKae(ES5oEprVxulp(b'[\xe4\x0c\xd6'), '\x64' + chr(0b1100101) + chr(99) + chr(111) + '\144' + '\145')(chr(117) + chr(12514 - 12398) + chr(102) + chr(45) + chr(56)))
HfaqVUK36EUj[roI3spqORKae(ES5oEprVxulp(b'j\xaa<\x84\x91r\xac6\xc3'), chr(3441 - 3341) + '\x65' + chr(0b111111 + 0o44) + chr(0b1101111) + chr(100) + '\145')(chr(0b1110101) + chr(8481 - 8365) + chr(102) + '\055' + '\070')] = aHUqKstZLeS6.path.Y4yM9BcfTCNq(S_yV4Ytx3yb1, roI3spqORKae(ES5oEprVxulp(b'j\xaa<\x84\x91r\xac6\xc36\x85;\x00'), '\x64' + chr(0b111011 + 0o52) + chr(0b1100011) + chr(6056 - 5945) + chr(5234 - 5134) + chr(0b1100101))(chr(0b1000101 + 0o60) + chr(4272 - 4156) + '\x66' + '\055' + chr(56)))
roI3spqORKae(Mp4uPZrWiJDk, roI3spqORKae(ES5oEprVxulp(b'}\x8a\x11\xec\xd3i\xad<\xc6R\xc5\x1c'), chr(0b1100100) + chr(101) + '\143' + '\x6f' + chr(100) + chr(1931 - 1830))(chr(7015 - 6898) + chr(919 - 803) + '\x66' + '\055' + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b'[\xe4\x0c\xd6'), chr(6687 - 6587) + chr(101) + chr(0b1100011) + chr(9475 - 9364) + chr(100) + chr(10119 - 10018))('\x75' + chr(0b1110100) + chr(0b100 + 0o142) + chr(45) + '\x38'))
if roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'a\xba\x1d\xd0\xcef\xaa6'), chr(0b1100100) + chr(0b1100101) + chr(0b1011011 + 0o10) + '\157' + chr(7117 - 7017) + chr(0b1100101))('\x75' + chr(116) + '\146' + chr(45) + '\070')):
for QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(Mp4uPZrWiJDk, roI3spqORKae(ES5oEprVxulp(b'c\xac7\xc6'), '\x64' + '\x65' + '\x63' + chr(5138 - 5027) + chr(5048 - 4948) + '\145')(chr(0b1001101 + 0o50) + '\x74' + chr(381 - 279) + chr(1350 - 1305) + '\070'))()):
HfaqVUK36EUj[QYodcsDtoGq7] = roI3spqORKae(ES5oEprVxulp(b'D\x86t\xea'), '\144' + chr(0b11100 + 0o111) + chr(99) + chr(0b1100110 + 0o11) + '\x64' + chr(0b1100101))(chr(0b1010101 + 0o40) + chr(0b100000 + 0o124) + chr(10056 - 9954) + chr(45) + '\070') + roI3spqORKae(ES5oEprVxulp(b'2'), chr(0b100011 + 0o101) + chr(0b1001101 + 0o30) + chr(99) + chr(111) + chr(0b11111 + 0o105) + '\x65')(chr(10703 - 10586) + chr(10346 - 10230) + '\146' + chr(45) + chr(56)).Y4yM9BcfTCNq(Bvi71nNyvlqO(HVsXCPuCO821)) + roI3spqORKae(ES5oEprVxulp(b'W'), '\x64' + chr(0b1100101) + '\x63' + chr(0b100 + 0o153) + chr(0b1000000 + 0o44) + chr(0b100001 + 0o104))(chr(117) + '\x74' + chr(9006 - 8904) + chr(0b100010 + 0o13) + chr(0b111000)) + roI3spqORKae(ES5oEprVxulp(b'[\x80t\xea\xe3C\x8e~\xaeG\xa6\x05]<\x076cM\x16'), chr(4237 - 4137) + chr(101) + '\x63' + chr(0b1100100 + 0o13) + '\x64' + chr(0b110011 + 0o62))(chr(0b1110101) + '\x74' + '\146' + '\055' + chr(0b111000)) + QYodcsDtoGq7 + roI3spqORKae(ES5oEprVxulp(b'W\xe7'), chr(7499 - 7399) + chr(253 - 152) + chr(99) + chr(6201 - 6090) + chr(2241 - 2141) + chr(7990 - 7889))('\165' + chr(0b1110100) + chr(0b1001000 + 0o36) + chr(0b101101) + chr(1640 - 1584)) + JummcHpaNLEw
if mwgZMvWSpAHg:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'{\xa88\xd0\xe3`\xa3+\x85k'), '\x64' + chr(101) + '\143' + chr(111) + chr(0b1011100 + 0o10) + chr(0b1100101))(chr(0b1110101) + '\x74' + '\146' + chr(0b101101) + '\070'))(Mp4uPZrWiJDk, HfaqVUK36EUj, incl_directory=nzTpIcepk0o8(chr(0b101010 + 0o6) + chr(10346 - 10235) + chr(1832 - 1783), 8))
return (nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b100100 + 0o15), 8), roI3spqORKae(HfaqVUK36EUj, roI3spqORKae(ES5oEprVxulp(b'K\xba!\xd1\xe6Z\x87r\x89!\xa1-'), chr(0b1100100) + chr(0b1100101) + '\143' + chr(111) + chr(0b1100100) + chr(0b1100101))(chr(0b100010 + 0o123) + '\x74' + '\x66' + '\055' + chr(56)))())
if f4XDWm__k5ZA:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'l\xbb/\xc2\xe3v\xa6#\x82'), '\x64' + chr(9319 - 9218) + '\143' + chr(0b101001 + 0o106) + '\x64' + chr(0b1100101))('\165' + chr(3262 - 3146) + chr(2402 - 2300) + '\055' + chr(56)))(Mp4uPZrWiJDk)
CMfsDQitQrpd = o77KS_r9H7AX.save_or_quit()
if CMfsDQitQrpd == roI3spqORKae(ES5oEprVxulp(b'i'), '\144' + chr(0b1100101) + '\x63' + chr(0b1101111) + '\x64' + chr(0b1100101))(chr(3895 - 3778) + chr(0b1001 + 0o153) + chr(0b101101 + 0o71) + '\055' + chr(0b111000)):
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'{\xa88\xd0\xe3`\xa3+\x85k'), '\x64' + '\x65' + chr(0b1100011) + chr(0b1101111) + chr(100) + chr(101))('\165' + chr(0b1110100) + chr(102) + '\x2d' + chr(3026 - 2970)))(Mp4uPZrWiJDk, HfaqVUK36EUj, incl_directory=nzTpIcepk0o8(chr(48) + '\x6f' + chr(1807 - 1758), 8))
return (nzTpIcepk0o8(chr(0b110000) + chr(0b10111 + 0o130) + '\061', 8), roI3spqORKae(HfaqVUK36EUj, roI3spqORKae(ES5oEprVxulp(b'K\xba!\xd1\xe6Z\x87r\x89!\xa1-'), chr(0b1100100) + '\145' + chr(0b1011111 + 0o4) + '\x6f' + chr(4957 - 4857) + chr(101))('\165' + chr(0b1110100) + chr(0b1011000 + 0o16) + '\055' + chr(0b111000)))())
else:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'm\xba~\xef\x8at\xb5\x07\x99K\xb9`'), chr(6005 - 5905) + '\x65' + chr(4195 - 4096) + chr(0b1101111) + chr(0b1100100) + '\145')(chr(652 - 535) + chr(0b1011111 + 0o25) + '\x66' + '\055' + chr(1382 - 1326)))(num=Mp4uPZrWiJDk[roI3spqORKae(ES5oEprVxulp(b'l\xa87'), '\x64' + '\x65' + chr(0b100 + 0o137) + chr(0b101000 + 0o107) + chr(0b1011010 + 0o12) + '\x65')(chr(117) + '\x74' + chr(924 - 822) + '\055' + chr(56))], figsize=(nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\065', 8), nzTpIcepk0o8(chr(1484 - 1436) + '\x6f' + chr(0b110101), 8)))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'm\xba~\xef\x8at\xb5\x07\x99K\xb9`'), chr(100) + '\145' + chr(4207 - 4108) + chr(111) + chr(0b101110 + 0o66) + chr(101))('\x75' + chr(0b1110100) + chr(0b1100110) + '\055' + chr(154 - 98)))(num=Mp4uPZrWiJDk[roI3spqORKae(ES5oEprVxulp(b'[\xe4\x0c\xd6'), '\x64' + chr(0b1100101) + chr(0b100010 + 0o101) + '\157' + '\x64' + chr(101))(chr(11694 - 11577) + chr(116) + '\146' + chr(45) + chr(0b111000))], figsize=(nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b110101), 8), nzTpIcepk0o8('\060' + chr(111) + chr(53), 8)))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'm\xba~\xef\x8at\xb5\x07\x99K\xb9`'), '\x64' + '\145' + '\x63' + chr(111) + '\144' + chr(0b1100101))(chr(8766 - 8649) + chr(6101 - 5985) + chr(102) + chr(0b101101) + '\070'))(num=Mp4uPZrWiJDk[roI3spqORKae(ES5oEprVxulp(b'[\xe4\x0c\xd6\xce'), chr(1743 - 1643) + chr(2598 - 2497) + '\x63' + '\x6f' + chr(6873 - 6773) + '\x65')('\165' + chr(116) + chr(0b1000001 + 0o45) + chr(1586 - 1541) + chr(56))], figsize=(nzTpIcepk0o8('\060' + chr(111) + chr(831 - 778), 8), nzTpIcepk0o8(chr(48) + '\x6f' + chr(53), 8)))
del Mp4uPZrWiJDk[roI3spqORKae(ES5oEprVxulp(b'j\xaa<\x84\x91r\xac6\xc3'), chr(0b111001 + 0o53) + chr(6389 - 6288) + '\x63' + chr(111) + chr(0b1100100) + '\x65')(chr(117) + '\164' + chr(1924 - 1822) + chr(470 - 425) + chr(0b1111 + 0o51))]
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'x\xa5!\xc1\xe3t\xae='), chr(0b1000000 + 0o44) + '\145' + '\x63' + chr(111) + '\x64' + chr(0b1100101))(chr(0b1011000 + 0o35) + chr(10552 - 10436) + chr(102) + chr(0b101101) + chr(0b110 + 0o62)))(Mp4uPZrWiJDk[roI3spqORKae(ES5oEprVxulp(b'l\xa87'), chr(0b1100010 + 0o2) + '\145' + chr(3375 - 3276) + chr(0b1101111) + '\x64' + '\x65')('\x75' + '\164' + chr(0b101011 + 0o73) + '\055' + chr(0b111000))], glLzHcQ_sFMO, buieUxkpnZk3, roI3spqORKae(ES5oEprVxulp(b'j\xba'), chr(8173 - 8073) + chr(9711 - 9610) + chr(0b11000 + 0o113) + '\157' + chr(100) + chr(6747 - 6646))(chr(0b10111 + 0o136) + chr(13356 - 13240) + chr(102) + '\x2d' + '\x38'))
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'x\xa5!\xc1\xe3c\x90&\x92j'), chr(100) + chr(3174 - 3073) + '\143' + chr(0b1101111) + chr(100) + chr(0b1101 + 0o130))(chr(1559 - 1442) + '\164' + chr(0b11 + 0o143) + chr(0b101101) + '\070'))(Mp4uPZrWiJDk[roI3spqORKae(ES5oEprVxulp(b'[\xe4\x0c\xd6\xce'), chr(100) + chr(101) + chr(0b1100011) + chr(111) + '\144' + '\145')(chr(0b1110101) + chr(116) + chr(0b1111 + 0o127) + chr(45) + chr(2651 - 2595))], C8f3KJ_LK6sI, buieUxkpnZk3, roI3spqORKae(ES5oEprVxulp(b'j\xba'), chr(100) + chr(1957 - 1856) + chr(0b110010 + 0o61) + chr(0b101101 + 0o102) + '\144' + '\x65')(chr(0b1110101) + chr(4142 - 4026) + chr(102) + '\055' + chr(0b101000 + 0o20)))
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'x\xa5!\xc1\xe3c\x90&\x92'), '\144' + chr(101) + chr(0b11111 + 0o104) + chr(0b1101111) + chr(100) + '\x65')(chr(9958 - 9841) + chr(5907 - 5791) + chr(9952 - 9850) + chr(0b101101) + '\x38'))(Mp4uPZrWiJDk[roI3spqORKae(ES5oEprVxulp(b'[\xe4\x0c\xd6'), chr(1896 - 1796) + chr(0b1100101) + chr(2958 - 2859) + chr(0b1101111) + chr(7662 - 7562) + '\x65')(chr(0b111111 + 0o66) + chr(0b1110100) + chr(5304 - 5202) + '\x2d' + chr(56))], U9W3uF8sUTlq, buieUxkpnZk3, roI3spqORKae(ES5oEprVxulp(b'j\xba'), chr(100) + '\x65' + chr(0b1000 + 0o133) + chr(111) + chr(4143 - 4043) + chr(0b1000000 + 0o45))(chr(117) + chr(11986 - 11870) + chr(0b1011100 + 0o12) + chr(45) + chr(0b10111 + 0o41)))
if roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'a\xba\x1d\xd0\xcef\xaa6'), chr(0b11111 + 0o105) + '\145' + chr(99) + '\157' + '\x64' + chr(101))(chr(0b0 + 0o165) + '\x74' + chr(9471 - 9369) + chr(45) + '\x38')):
for QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(Mp4uPZrWiJDk, roI3spqORKae(ES5oEprVxulp(b'c\xac7\xc6'), chr(0b1000 + 0o134) + chr(0b111 + 0o136) + chr(4829 - 4730) + chr(9343 - 9232) + '\x64' + chr(101))(chr(0b1110101) + '\164' + chr(0b1100110) + '\055' + '\x38'))()):
HfaqVUK36EUj[QYodcsDtoGq7] = roI3spqORKae(ES5oEprVxulp(b'D\x86t\xea'), chr(0b101000 + 0o74) + chr(101) + chr(99) + chr(111) + chr(0b110101 + 0o57) + '\x65')(chr(0b10011 + 0o142) + chr(0b10 + 0o162) + chr(0b1100110) + chr(0b101101) + chr(0b110110 + 0o2)) + roI3spqORKae(ES5oEprVxulp(b'2'), chr(0b1100100) + chr(101) + '\143' + chr(0b1001111 + 0o40) + chr(0b1100100) + chr(101))(chr(13326 - 13209) + chr(0b101110 + 0o106) + chr(0b1100110) + chr(45) + '\x38').Y4yM9BcfTCNq(Bvi71nNyvlqO(HVsXCPuCO821)) + roI3spqORKae(ES5oEprVxulp(b'W'), '\144' + '\x65' + chr(0b1100011) + chr(11868 - 11757) + chr(100) + chr(0b1100011 + 0o2))('\x75' + '\164' + '\x66' + chr(482 - 437) + '\x38') + roI3spqORKae(ES5oEprVxulp(b'[\x80t\xea\xe3C\x8e~\xaeG\xa6\x05]<\x076cM\x16'), chr(0b110000 + 0o64) + chr(0b1001100 + 0o31) + chr(0b1100011) + '\157' + '\x64' + '\x65')(chr(0b1010100 + 0o41) + '\x74' + chr(3045 - 2943) + chr(0b101101) + chr(0b111000)) + QYodcsDtoGq7 + roI3spqORKae(ES5oEprVxulp(b'W\xe7'), chr(0b101010 + 0o72) + chr(8537 - 8436) + chr(3706 - 3607) + chr(0b1101111) + chr(0b1100001 + 0o3) + chr(101))('\x75' + chr(10633 - 10517) + '\x66' + chr(45) + chr(0b111000)) + JummcHpaNLEw
if mwgZMvWSpAHg:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'{\xa88\xd0\xe3`\xa3+\x85k'), chr(100) + '\x65' + chr(8097 - 7998) + '\x6f' + chr(7543 - 7443) + chr(2221 - 2120))(chr(0b11000 + 0o135) + '\x74' + '\x66' + '\x2d' + chr(0b111000)))(Mp4uPZrWiJDk, HfaqVUK36EUj, incl_directory=nzTpIcepk0o8('\060' + chr(111) + '\x31', 8))
return (nzTpIcepk0o8('\x30' + '\157' + chr(2082 - 2033), 8), roI3spqORKae(HfaqVUK36EUj, roI3spqORKae(ES5oEprVxulp(b'K\xba!\xd1\xe6Z\x87r\x89!\xa1-'), chr(100) + chr(101) + chr(99) + chr(0b1101111) + chr(0b1010 + 0o132) + chr(0b1100101))('\x75' + chr(0b1110100) + chr(0b1100110) + '\055' + chr(0b111000)))())
elif f4XDWm__k5ZA:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'l\xbb/\xc2\xe3v\xa6#\x82'), chr(4891 - 4791) + chr(0b1100101) + chr(99) + '\157' + chr(0b1001010 + 0o32) + '\x65')('\x75' + chr(116) + '\146' + '\x2d' + '\x38'))(Mp4uPZrWiJDk)
CMfsDQitQrpd = o77KS_r9H7AX.save_or_quit()
if CMfsDQitQrpd == roI3spqORKae(ES5oEprVxulp(b'i'), chr(0b1011100 + 0o10) + chr(0b1100101) + chr(99) + '\157' + chr(0b11000 + 0o114) + '\x65')('\x75' + '\164' + chr(102) + chr(0b101101) + chr(0b111000)):
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'{\xa88\xd0\xe3`\xa3+\x85k'), chr(0b10110 + 0o116) + '\x65' + chr(0b1100011) + '\x6f' + '\144' + chr(0b11111 + 0o106))('\x75' + '\x74' + chr(0b1100110) + chr(45) + chr(0b10001 + 0o47)))(Mp4uPZrWiJDk, HfaqVUK36EUj, incl_directory=nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b100010 + 0o17), 8))
return (nzTpIcepk0o8('\060' + chr(0b0 + 0o157) + chr(0b11101 + 0o24), 8), roI3spqORKae(HfaqVUK36EUj, roI3spqORKae(ES5oEprVxulp(b'K\xba!\xd1\xe6Z\x87r\x89!\xa1-'), chr(0b111110 + 0o46) + chr(101) + chr(4880 - 4781) + '\157' + chr(100) + '\x65')(chr(0b1110101) + '\164' + chr(5407 - 5305) + chr(1095 - 1050) + '\x38'))())
return (nzTpIcepk0o8(chr(0b1011 + 0o45) + chr(4522 - 4411) + chr(0b110001), 8), [])
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
curie
|
def curie(path_to_file='.', file_name='', magic=False,
window_length=3, save=False, save_folder='.', fmt='svg', t_begin="", t_end=""):
"""
Plots and interprets curie temperature data.
***
The 1st derivative is calculated from smoothed M-T curve (convolution
with trianfular window with width= <-w> degrees)
***
The 2nd derivative is calculated from smoothed 1st derivative curve
(using the same sliding window width)
***
The estimated curie temp. is the maximum of the 2nd derivative.
Temperature steps should be in multiples of 1.0 degrees.
Parameters
__________
file_name : name of file to be opened
Optional Parameters (defaults are used if not specified)
----------
path_to_file : path to directory that contains file (default is current directory, '.')
window_length : dimension of smoothing window (input to smooth() function)
save : boolean argument to save plots (default is False)
save_folder : relative directory where plots will be saved (default is current directory, '.')
fmt : format of saved figures
t_begin: start of truncated window for search
t_end: end of truncated window for search
magic : True if MagIC formated measurements.txt file
"""
plot = 0
window_len = window_length
# read data from file
complete_path = os.path.join(path_to_file, file_name)
if magic:
data_df = pd.read_csv(complete_path, sep='\t', header=1)
T = data_df['meas_temp'].values-273
magn_key = cb.get_intensity_col(data_df)
M = data_df[magn_key].values
else:
Data = np.loadtxt(complete_path, dtype=np.float)
T = Data.transpose()[0]
M = Data.transpose()[1]
T = list(T)
M = list(M)
# cut the data if -t is one of the flags
if t_begin != "":
while T[0] < t_begin:
M.pop(0)
T.pop(0)
while T[-1] > t_end:
M.pop(-1)
T.pop(-1)
# prepare the signal:
# from M(T) array with unequal deltaT
# to M(T) array with deltaT=(1 degree).
# if delataT is larger, then points are added using linear fit between
# consecutive data points.
# exit if deltaT is not integer
i = 0
while i < (len(T) - 1):
if (T[i + 1] - T[i]) % 1 > 0.001:
print("delta T should be integer, this program will not work!")
print("temperature range:", T[i], T[i + 1])
sys.exit()
if (T[i + 1] - T[i]) == 0.:
M[i] = np.average([M[i], M[i + 1]])
M.pop(i + 1)
T.pop(i + 1)
elif (T[i + 1] - T[i]) < 0.:
M.pop(i + 1)
T.pop(i + 1)
print("check data in T=%.0f ,M[T] is ignored" % (T[i]))
elif (T[i + 1] - T[i]) > 1.:
slope, b = np.polyfit([T[i], T[i + 1]], [M[i], M[i + 1]], 1)
for j in range(int(T[i + 1]) - int(T[i]) - 1):
M.insert(i + 1, slope * (T[i] + 1.) + b)
T.insert(i + 1, (T[i] + 1.))
i = i + 1
i = i + 1
# calculate the smoothed signal
M = np.array(M, 'f')
T = np.array(T, 'f')
M_smooth = []
M_smooth = smooth(M, window_len)
# plot the original data and the smooth data
PLT = {'M_T': 1, 'der1': 2, 'der2': 3, 'Curie': 4}
plt.figure(num=PLT['M_T'], figsize=(5, 5))
string = 'M-T (sliding window=%i)' % int(window_len)
pmagplotlib.plot_xy(PLT['M_T'], T, M_smooth, sym='-')
pmagplotlib.plot_xy(PLT['M_T'], T, M, sym='--',
xlab='Temperature C', ylab='Magnetization', title=string)
# calculate first derivative
d1, T_d1 = [], []
for i in range(len(M_smooth) - 1):
Dy = M_smooth[i - 1] - M_smooth[i + 1]
Dx = T[i - 1] - T[i + 1]
d1.append(old_div(Dy, Dx))
T_d1 = T[1:len(T - 1)]
d1 = np.array(d1, 'f')
d1_smooth = smooth(d1, window_len)
# plot the first derivative
plt.figure(num=PLT['der1'], figsize=(5, 5))
string = '1st derivative (sliding window=%i)' % int(window_len)
pmagplotlib.plot_xy(PLT['der1'], T_d1, d1_smooth,
sym='-', xlab='Temperature C', title=string)
pmagplotlib.plot_xy(PLT['der1'], T_d1, d1, sym='b--')
# calculate second derivative
d2, T_d2 = [], []
for i in range(len(d1_smooth) - 1):
Dy = d1_smooth[i - 1] - d1_smooth[i + 1]
Dx = T[i - 1] - T[i + 1]
# print Dy/Dx
d2.append(old_div(Dy, Dx))
T_d2 = T[2:len(T - 2)]
d2 = np.array(d2, 'f')
d2_smooth = smooth(d2, window_len)
# plot the second derivative
plt.figure(num=PLT['der2'], figsize=(5, 5))
string = '2nd derivative (sliding window=%i)' % int(window_len)
pmagplotlib.plot_xy(PLT['der2'], T_d2, d2, sym='-',
xlab='Temperature C', title=string)
d2 = list(d2)
print('second derivative maximum is at T=%i' %
int(T_d2[d2.index(max(d2))]))
# calculate Curie temperature for different width of sliding windows
curie, curie_1 = [], []
wn = list(range(5, 50, 1))
for win in wn:
# calculate the smoothed signal
M_smooth = []
M_smooth = smooth(M, win)
# calculate first derivative
d1, T_d1 = [], []
for i in range(len(M_smooth) - 1):
Dy = M_smooth[i - 1] - M_smooth[i + 1]
Dx = T[i - 1] - T[i + 1]
d1.append(old_div(Dy, Dx))
T_d1 = T[1:len(T - 1)]
d1 = np.array(d1, 'f')
d1_smooth = smooth(d1, win)
# calculate second derivative
d2, T_d2 = [], []
for i in range(len(d1_smooth) - 1):
Dy = d1_smooth[i - 1] - d1_smooth[i + 1]
Dx = T[i - 1] - T[i + 1]
d2.append(old_div(Dy, Dx))
T_d2 = T[2:len(T - 2)]
d2 = np.array(d2, 'f')
d2_smooth = smooth(d2, win)
d2 = list(d2)
d2_smooth = list(d2_smooth)
curie.append(T_d2[d2.index(max(d2))])
curie_1.append(T_d2[d2_smooth.index(max(d2_smooth))])
# plot Curie temp for different sliding window length
plt.figure(num=PLT['Curie'], figsize=(5, 5))
pmagplotlib.plot_xy(PLT['Curie'], wn, curie, sym='.',
xlab='Sliding Window Width (degrees)', ylab='Curie Temp', title='Curie Statistics')
files = {}
for key in list(PLT.keys()):
files[key] = str(key) + '.' + fmt
if save == True:
for key in list(PLT.keys()):
try:
plt.figure(num=PLT[key])
plt.savefig(save_folder + '/' + files[key].replace('/', '-'))
except:
print('could not save: ', PLT[key], files[key])
print("output file format not supported ")
plt.show()
|
python
|
def curie(path_to_file='.', file_name='', magic=False,
window_length=3, save=False, save_folder='.', fmt='svg', t_begin="", t_end=""):
"""
Plots and interprets curie temperature data.
***
The 1st derivative is calculated from smoothed M-T curve (convolution
with trianfular window with width= <-w> degrees)
***
The 2nd derivative is calculated from smoothed 1st derivative curve
(using the same sliding window width)
***
The estimated curie temp. is the maximum of the 2nd derivative.
Temperature steps should be in multiples of 1.0 degrees.
Parameters
__________
file_name : name of file to be opened
Optional Parameters (defaults are used if not specified)
----------
path_to_file : path to directory that contains file (default is current directory, '.')
window_length : dimension of smoothing window (input to smooth() function)
save : boolean argument to save plots (default is False)
save_folder : relative directory where plots will be saved (default is current directory, '.')
fmt : format of saved figures
t_begin: start of truncated window for search
t_end: end of truncated window for search
magic : True if MagIC formated measurements.txt file
"""
plot = 0
window_len = window_length
# read data from file
complete_path = os.path.join(path_to_file, file_name)
if magic:
data_df = pd.read_csv(complete_path, sep='\t', header=1)
T = data_df['meas_temp'].values-273
magn_key = cb.get_intensity_col(data_df)
M = data_df[magn_key].values
else:
Data = np.loadtxt(complete_path, dtype=np.float)
T = Data.transpose()[0]
M = Data.transpose()[1]
T = list(T)
M = list(M)
# cut the data if -t is one of the flags
if t_begin != "":
while T[0] < t_begin:
M.pop(0)
T.pop(0)
while T[-1] > t_end:
M.pop(-1)
T.pop(-1)
# prepare the signal:
# from M(T) array with unequal deltaT
# to M(T) array with deltaT=(1 degree).
# if delataT is larger, then points are added using linear fit between
# consecutive data points.
# exit if deltaT is not integer
i = 0
while i < (len(T) - 1):
if (T[i + 1] - T[i]) % 1 > 0.001:
print("delta T should be integer, this program will not work!")
print("temperature range:", T[i], T[i + 1])
sys.exit()
if (T[i + 1] - T[i]) == 0.:
M[i] = np.average([M[i], M[i + 1]])
M.pop(i + 1)
T.pop(i + 1)
elif (T[i + 1] - T[i]) < 0.:
M.pop(i + 1)
T.pop(i + 1)
print("check data in T=%.0f ,M[T] is ignored" % (T[i]))
elif (T[i + 1] - T[i]) > 1.:
slope, b = np.polyfit([T[i], T[i + 1]], [M[i], M[i + 1]], 1)
for j in range(int(T[i + 1]) - int(T[i]) - 1):
M.insert(i + 1, slope * (T[i] + 1.) + b)
T.insert(i + 1, (T[i] + 1.))
i = i + 1
i = i + 1
# calculate the smoothed signal
M = np.array(M, 'f')
T = np.array(T, 'f')
M_smooth = []
M_smooth = smooth(M, window_len)
# plot the original data and the smooth data
PLT = {'M_T': 1, 'der1': 2, 'der2': 3, 'Curie': 4}
plt.figure(num=PLT['M_T'], figsize=(5, 5))
string = 'M-T (sliding window=%i)' % int(window_len)
pmagplotlib.plot_xy(PLT['M_T'], T, M_smooth, sym='-')
pmagplotlib.plot_xy(PLT['M_T'], T, M, sym='--',
xlab='Temperature C', ylab='Magnetization', title=string)
# calculate first derivative
d1, T_d1 = [], []
for i in range(len(M_smooth) - 1):
Dy = M_smooth[i - 1] - M_smooth[i + 1]
Dx = T[i - 1] - T[i + 1]
d1.append(old_div(Dy, Dx))
T_d1 = T[1:len(T - 1)]
d1 = np.array(d1, 'f')
d1_smooth = smooth(d1, window_len)
# plot the first derivative
plt.figure(num=PLT['der1'], figsize=(5, 5))
string = '1st derivative (sliding window=%i)' % int(window_len)
pmagplotlib.plot_xy(PLT['der1'], T_d1, d1_smooth,
sym='-', xlab='Temperature C', title=string)
pmagplotlib.plot_xy(PLT['der1'], T_d1, d1, sym='b--')
# calculate second derivative
d2, T_d2 = [], []
for i in range(len(d1_smooth) - 1):
Dy = d1_smooth[i - 1] - d1_smooth[i + 1]
Dx = T[i - 1] - T[i + 1]
# print Dy/Dx
d2.append(old_div(Dy, Dx))
T_d2 = T[2:len(T - 2)]
d2 = np.array(d2, 'f')
d2_smooth = smooth(d2, window_len)
# plot the second derivative
plt.figure(num=PLT['der2'], figsize=(5, 5))
string = '2nd derivative (sliding window=%i)' % int(window_len)
pmagplotlib.plot_xy(PLT['der2'], T_d2, d2, sym='-',
xlab='Temperature C', title=string)
d2 = list(d2)
print('second derivative maximum is at T=%i' %
int(T_d2[d2.index(max(d2))]))
# calculate Curie temperature for different width of sliding windows
curie, curie_1 = [], []
wn = list(range(5, 50, 1))
for win in wn:
# calculate the smoothed signal
M_smooth = []
M_smooth = smooth(M, win)
# calculate first derivative
d1, T_d1 = [], []
for i in range(len(M_smooth) - 1):
Dy = M_smooth[i - 1] - M_smooth[i + 1]
Dx = T[i - 1] - T[i + 1]
d1.append(old_div(Dy, Dx))
T_d1 = T[1:len(T - 1)]
d1 = np.array(d1, 'f')
d1_smooth = smooth(d1, win)
# calculate second derivative
d2, T_d2 = [], []
for i in range(len(d1_smooth) - 1):
Dy = d1_smooth[i - 1] - d1_smooth[i + 1]
Dx = T[i - 1] - T[i + 1]
d2.append(old_div(Dy, Dx))
T_d2 = T[2:len(T - 2)]
d2 = np.array(d2, 'f')
d2_smooth = smooth(d2, win)
d2 = list(d2)
d2_smooth = list(d2_smooth)
curie.append(T_d2[d2.index(max(d2))])
curie_1.append(T_d2[d2_smooth.index(max(d2_smooth))])
# plot Curie temp for different sliding window length
plt.figure(num=PLT['Curie'], figsize=(5, 5))
pmagplotlib.plot_xy(PLT['Curie'], wn, curie, sym='.',
xlab='Sliding Window Width (degrees)', ylab='Curie Temp', title='Curie Statistics')
files = {}
for key in list(PLT.keys()):
files[key] = str(key) + '.' + fmt
if save == True:
for key in list(PLT.keys()):
try:
plt.figure(num=PLT[key])
plt.savefig(save_folder + '/' + files[key].replace('/', '-'))
except:
print('could not save: ', PLT[key], files[key])
print("output file format not supported ")
plt.show()
|
[
"def",
"curie",
"(",
"path_to_file",
"=",
"'.'",
",",
"file_name",
"=",
"''",
",",
"magic",
"=",
"False",
",",
"window_length",
"=",
"3",
",",
"save",
"=",
"False",
",",
"save_folder",
"=",
"'.'",
",",
"fmt",
"=",
"'svg'",
",",
"t_begin",
"=",
"\"\"",
",",
"t_end",
"=",
"\"\"",
")",
":",
"plot",
"=",
"0",
"window_len",
"=",
"window_length",
"# read data from file",
"complete_path",
"=",
"os",
".",
"path",
".",
"join",
"(",
"path_to_file",
",",
"file_name",
")",
"if",
"magic",
":",
"data_df",
"=",
"pd",
".",
"read_csv",
"(",
"complete_path",
",",
"sep",
"=",
"'\\t'",
",",
"header",
"=",
"1",
")",
"T",
"=",
"data_df",
"[",
"'meas_temp'",
"]",
".",
"values",
"-",
"273",
"magn_key",
"=",
"cb",
".",
"get_intensity_col",
"(",
"data_df",
")",
"M",
"=",
"data_df",
"[",
"magn_key",
"]",
".",
"values",
"else",
":",
"Data",
"=",
"np",
".",
"loadtxt",
"(",
"complete_path",
",",
"dtype",
"=",
"np",
".",
"float",
")",
"T",
"=",
"Data",
".",
"transpose",
"(",
")",
"[",
"0",
"]",
"M",
"=",
"Data",
".",
"transpose",
"(",
")",
"[",
"1",
"]",
"T",
"=",
"list",
"(",
"T",
")",
"M",
"=",
"list",
"(",
"M",
")",
"# cut the data if -t is one of the flags",
"if",
"t_begin",
"!=",
"\"\"",
":",
"while",
"T",
"[",
"0",
"]",
"<",
"t_begin",
":",
"M",
".",
"pop",
"(",
"0",
")",
"T",
".",
"pop",
"(",
"0",
")",
"while",
"T",
"[",
"-",
"1",
"]",
">",
"t_end",
":",
"M",
".",
"pop",
"(",
"-",
"1",
")",
"T",
".",
"pop",
"(",
"-",
"1",
")",
"# prepare the signal:",
"# from M(T) array with unequal deltaT",
"# to M(T) array with deltaT=(1 degree).",
"# if delataT is larger, then points are added using linear fit between",
"# consecutive data points.",
"# exit if deltaT is not integer",
"i",
"=",
"0",
"while",
"i",
"<",
"(",
"len",
"(",
"T",
")",
"-",
"1",
")",
":",
"if",
"(",
"T",
"[",
"i",
"+",
"1",
"]",
"-",
"T",
"[",
"i",
"]",
")",
"%",
"1",
">",
"0.001",
":",
"print",
"(",
"\"delta T should be integer, this program will not work!\"",
")",
"print",
"(",
"\"temperature range:\"",
",",
"T",
"[",
"i",
"]",
",",
"T",
"[",
"i",
"+",
"1",
"]",
")",
"sys",
".",
"exit",
"(",
")",
"if",
"(",
"T",
"[",
"i",
"+",
"1",
"]",
"-",
"T",
"[",
"i",
"]",
")",
"==",
"0.",
":",
"M",
"[",
"i",
"]",
"=",
"np",
".",
"average",
"(",
"[",
"M",
"[",
"i",
"]",
",",
"M",
"[",
"i",
"+",
"1",
"]",
"]",
")",
"M",
".",
"pop",
"(",
"i",
"+",
"1",
")",
"T",
".",
"pop",
"(",
"i",
"+",
"1",
")",
"elif",
"(",
"T",
"[",
"i",
"+",
"1",
"]",
"-",
"T",
"[",
"i",
"]",
")",
"<",
"0.",
":",
"M",
".",
"pop",
"(",
"i",
"+",
"1",
")",
"T",
".",
"pop",
"(",
"i",
"+",
"1",
")",
"print",
"(",
"\"check data in T=%.0f ,M[T] is ignored\"",
"%",
"(",
"T",
"[",
"i",
"]",
")",
")",
"elif",
"(",
"T",
"[",
"i",
"+",
"1",
"]",
"-",
"T",
"[",
"i",
"]",
")",
">",
"1.",
":",
"slope",
",",
"b",
"=",
"np",
".",
"polyfit",
"(",
"[",
"T",
"[",
"i",
"]",
",",
"T",
"[",
"i",
"+",
"1",
"]",
"]",
",",
"[",
"M",
"[",
"i",
"]",
",",
"M",
"[",
"i",
"+",
"1",
"]",
"]",
",",
"1",
")",
"for",
"j",
"in",
"range",
"(",
"int",
"(",
"T",
"[",
"i",
"+",
"1",
"]",
")",
"-",
"int",
"(",
"T",
"[",
"i",
"]",
")",
"-",
"1",
")",
":",
"M",
".",
"insert",
"(",
"i",
"+",
"1",
",",
"slope",
"*",
"(",
"T",
"[",
"i",
"]",
"+",
"1.",
")",
"+",
"b",
")",
"T",
".",
"insert",
"(",
"i",
"+",
"1",
",",
"(",
"T",
"[",
"i",
"]",
"+",
"1.",
")",
")",
"i",
"=",
"i",
"+",
"1",
"i",
"=",
"i",
"+",
"1",
"# calculate the smoothed signal",
"M",
"=",
"np",
".",
"array",
"(",
"M",
",",
"'f'",
")",
"T",
"=",
"np",
".",
"array",
"(",
"T",
",",
"'f'",
")",
"M_smooth",
"=",
"[",
"]",
"M_smooth",
"=",
"smooth",
"(",
"M",
",",
"window_len",
")",
"# plot the original data and the smooth data",
"PLT",
"=",
"{",
"'M_T'",
":",
"1",
",",
"'der1'",
":",
"2",
",",
"'der2'",
":",
"3",
",",
"'Curie'",
":",
"4",
"}",
"plt",
".",
"figure",
"(",
"num",
"=",
"PLT",
"[",
"'M_T'",
"]",
",",
"figsize",
"=",
"(",
"5",
",",
"5",
")",
")",
"string",
"=",
"'M-T (sliding window=%i)'",
"%",
"int",
"(",
"window_len",
")",
"pmagplotlib",
".",
"plot_xy",
"(",
"PLT",
"[",
"'M_T'",
"]",
",",
"T",
",",
"M_smooth",
",",
"sym",
"=",
"'-'",
")",
"pmagplotlib",
".",
"plot_xy",
"(",
"PLT",
"[",
"'M_T'",
"]",
",",
"T",
",",
"M",
",",
"sym",
"=",
"'--'",
",",
"xlab",
"=",
"'Temperature C'",
",",
"ylab",
"=",
"'Magnetization'",
",",
"title",
"=",
"string",
")",
"# calculate first derivative",
"d1",
",",
"T_d1",
"=",
"[",
"]",
",",
"[",
"]",
"for",
"i",
"in",
"range",
"(",
"len",
"(",
"M_smooth",
")",
"-",
"1",
")",
":",
"Dy",
"=",
"M_smooth",
"[",
"i",
"-",
"1",
"]",
"-",
"M_smooth",
"[",
"i",
"+",
"1",
"]",
"Dx",
"=",
"T",
"[",
"i",
"-",
"1",
"]",
"-",
"T",
"[",
"i",
"+",
"1",
"]",
"d1",
".",
"append",
"(",
"old_div",
"(",
"Dy",
",",
"Dx",
")",
")",
"T_d1",
"=",
"T",
"[",
"1",
":",
"len",
"(",
"T",
"-",
"1",
")",
"]",
"d1",
"=",
"np",
".",
"array",
"(",
"d1",
",",
"'f'",
")",
"d1_smooth",
"=",
"smooth",
"(",
"d1",
",",
"window_len",
")",
"# plot the first derivative",
"plt",
".",
"figure",
"(",
"num",
"=",
"PLT",
"[",
"'der1'",
"]",
",",
"figsize",
"=",
"(",
"5",
",",
"5",
")",
")",
"string",
"=",
"'1st derivative (sliding window=%i)'",
"%",
"int",
"(",
"window_len",
")",
"pmagplotlib",
".",
"plot_xy",
"(",
"PLT",
"[",
"'der1'",
"]",
",",
"T_d1",
",",
"d1_smooth",
",",
"sym",
"=",
"'-'",
",",
"xlab",
"=",
"'Temperature C'",
",",
"title",
"=",
"string",
")",
"pmagplotlib",
".",
"plot_xy",
"(",
"PLT",
"[",
"'der1'",
"]",
",",
"T_d1",
",",
"d1",
",",
"sym",
"=",
"'b--'",
")",
"# calculate second derivative",
"d2",
",",
"T_d2",
"=",
"[",
"]",
",",
"[",
"]",
"for",
"i",
"in",
"range",
"(",
"len",
"(",
"d1_smooth",
")",
"-",
"1",
")",
":",
"Dy",
"=",
"d1_smooth",
"[",
"i",
"-",
"1",
"]",
"-",
"d1_smooth",
"[",
"i",
"+",
"1",
"]",
"Dx",
"=",
"T",
"[",
"i",
"-",
"1",
"]",
"-",
"T",
"[",
"i",
"+",
"1",
"]",
"# print Dy/Dx",
"d2",
".",
"append",
"(",
"old_div",
"(",
"Dy",
",",
"Dx",
")",
")",
"T_d2",
"=",
"T",
"[",
"2",
":",
"len",
"(",
"T",
"-",
"2",
")",
"]",
"d2",
"=",
"np",
".",
"array",
"(",
"d2",
",",
"'f'",
")",
"d2_smooth",
"=",
"smooth",
"(",
"d2",
",",
"window_len",
")",
"# plot the second derivative",
"plt",
".",
"figure",
"(",
"num",
"=",
"PLT",
"[",
"'der2'",
"]",
",",
"figsize",
"=",
"(",
"5",
",",
"5",
")",
")",
"string",
"=",
"'2nd derivative (sliding window=%i)'",
"%",
"int",
"(",
"window_len",
")",
"pmagplotlib",
".",
"plot_xy",
"(",
"PLT",
"[",
"'der2'",
"]",
",",
"T_d2",
",",
"d2",
",",
"sym",
"=",
"'-'",
",",
"xlab",
"=",
"'Temperature C'",
",",
"title",
"=",
"string",
")",
"d2",
"=",
"list",
"(",
"d2",
")",
"print",
"(",
"'second derivative maximum is at T=%i'",
"%",
"int",
"(",
"T_d2",
"[",
"d2",
".",
"index",
"(",
"max",
"(",
"d2",
")",
")",
"]",
")",
")",
"# calculate Curie temperature for different width of sliding windows",
"curie",
",",
"curie_1",
"=",
"[",
"]",
",",
"[",
"]",
"wn",
"=",
"list",
"(",
"range",
"(",
"5",
",",
"50",
",",
"1",
")",
")",
"for",
"win",
"in",
"wn",
":",
"# calculate the smoothed signal",
"M_smooth",
"=",
"[",
"]",
"M_smooth",
"=",
"smooth",
"(",
"M",
",",
"win",
")",
"# calculate first derivative",
"d1",
",",
"T_d1",
"=",
"[",
"]",
",",
"[",
"]",
"for",
"i",
"in",
"range",
"(",
"len",
"(",
"M_smooth",
")",
"-",
"1",
")",
":",
"Dy",
"=",
"M_smooth",
"[",
"i",
"-",
"1",
"]",
"-",
"M_smooth",
"[",
"i",
"+",
"1",
"]",
"Dx",
"=",
"T",
"[",
"i",
"-",
"1",
"]",
"-",
"T",
"[",
"i",
"+",
"1",
"]",
"d1",
".",
"append",
"(",
"old_div",
"(",
"Dy",
",",
"Dx",
")",
")",
"T_d1",
"=",
"T",
"[",
"1",
":",
"len",
"(",
"T",
"-",
"1",
")",
"]",
"d1",
"=",
"np",
".",
"array",
"(",
"d1",
",",
"'f'",
")",
"d1_smooth",
"=",
"smooth",
"(",
"d1",
",",
"win",
")",
"# calculate second derivative",
"d2",
",",
"T_d2",
"=",
"[",
"]",
",",
"[",
"]",
"for",
"i",
"in",
"range",
"(",
"len",
"(",
"d1_smooth",
")",
"-",
"1",
")",
":",
"Dy",
"=",
"d1_smooth",
"[",
"i",
"-",
"1",
"]",
"-",
"d1_smooth",
"[",
"i",
"+",
"1",
"]",
"Dx",
"=",
"T",
"[",
"i",
"-",
"1",
"]",
"-",
"T",
"[",
"i",
"+",
"1",
"]",
"d2",
".",
"append",
"(",
"old_div",
"(",
"Dy",
",",
"Dx",
")",
")",
"T_d2",
"=",
"T",
"[",
"2",
":",
"len",
"(",
"T",
"-",
"2",
")",
"]",
"d2",
"=",
"np",
".",
"array",
"(",
"d2",
",",
"'f'",
")",
"d2_smooth",
"=",
"smooth",
"(",
"d2",
",",
"win",
")",
"d2",
"=",
"list",
"(",
"d2",
")",
"d2_smooth",
"=",
"list",
"(",
"d2_smooth",
")",
"curie",
".",
"append",
"(",
"T_d2",
"[",
"d2",
".",
"index",
"(",
"max",
"(",
"d2",
")",
")",
"]",
")",
"curie_1",
".",
"append",
"(",
"T_d2",
"[",
"d2_smooth",
".",
"index",
"(",
"max",
"(",
"d2_smooth",
")",
")",
"]",
")",
"# plot Curie temp for different sliding window length",
"plt",
".",
"figure",
"(",
"num",
"=",
"PLT",
"[",
"'Curie'",
"]",
",",
"figsize",
"=",
"(",
"5",
",",
"5",
")",
")",
"pmagplotlib",
".",
"plot_xy",
"(",
"PLT",
"[",
"'Curie'",
"]",
",",
"wn",
",",
"curie",
",",
"sym",
"=",
"'.'",
",",
"xlab",
"=",
"'Sliding Window Width (degrees)'",
",",
"ylab",
"=",
"'Curie Temp'",
",",
"title",
"=",
"'Curie Statistics'",
")",
"files",
"=",
"{",
"}",
"for",
"key",
"in",
"list",
"(",
"PLT",
".",
"keys",
"(",
")",
")",
":",
"files",
"[",
"key",
"]",
"=",
"str",
"(",
"key",
")",
"+",
"'.'",
"+",
"fmt",
"if",
"save",
"==",
"True",
":",
"for",
"key",
"in",
"list",
"(",
"PLT",
".",
"keys",
"(",
")",
")",
":",
"try",
":",
"plt",
".",
"figure",
"(",
"num",
"=",
"PLT",
"[",
"key",
"]",
")",
"plt",
".",
"savefig",
"(",
"save_folder",
"+",
"'/'",
"+",
"files",
"[",
"key",
"]",
".",
"replace",
"(",
"'/'",
",",
"'-'",
")",
")",
"except",
":",
"print",
"(",
"'could not save: '",
",",
"PLT",
"[",
"key",
"]",
",",
"files",
"[",
"key",
"]",
")",
"print",
"(",
"\"output file format not supported \"",
")",
"plt",
".",
"show",
"(",
")"
] |
Plots and interprets curie temperature data.
***
The 1st derivative is calculated from smoothed M-T curve (convolution
with trianfular window with width= <-w> degrees)
***
The 2nd derivative is calculated from smoothed 1st derivative curve
(using the same sliding window width)
***
The estimated curie temp. is the maximum of the 2nd derivative.
Temperature steps should be in multiples of 1.0 degrees.
Parameters
__________
file_name : name of file to be opened
Optional Parameters (defaults are used if not specified)
----------
path_to_file : path to directory that contains file (default is current directory, '.')
window_length : dimension of smoothing window (input to smooth() function)
save : boolean argument to save plots (default is False)
save_folder : relative directory where plots will be saved (default is current directory, '.')
fmt : format of saved figures
t_begin: start of truncated window for search
t_end: end of truncated window for search
magic : True if MagIC formated measurements.txt file
|
[
"Plots",
"and",
"interprets",
"curie",
"temperature",
"data",
".",
"***",
"The",
"1st",
"derivative",
"is",
"calculated",
"from",
"smoothed",
"M",
"-",
"T",
"curve",
"(",
"convolution",
"with",
"trianfular",
"window",
"with",
"width",
"=",
"<",
"-",
"w",
">",
"degrees",
")",
"***",
"The",
"2nd",
"derivative",
"is",
"calculated",
"from",
"smoothed",
"1st",
"derivative",
"curve",
"(",
"using",
"the",
"same",
"sliding",
"window",
"width",
")",
"***",
"The",
"estimated",
"curie",
"temp",
".",
"is",
"the",
"maximum",
"of",
"the",
"2nd",
"derivative",
".",
"Temperature",
"steps",
"should",
"be",
"in",
"multiples",
"of",
"1",
".",
"0",
"degrees",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L6790-L6968
|
train
|
Function that creates a curie from a file.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(0b100001 + 0o17) + chr(0b1010010 + 0o35) + chr(125 - 76) + chr(0b110111) + chr(0b110001), ord("\x08")), nzTpIcepk0o8('\060' + '\x6f' + chr(49) + '\061' + chr(0b110001), ord("\x08")), nzTpIcepk0o8(chr(48) + '\157' + chr(0b11111 + 0o23) + chr(0b110100), 0b1000), nzTpIcepk0o8('\060' + '\x6f' + chr(0b101110 + 0o6) + chr(1461 - 1409), 34057 - 34049), nzTpIcepk0o8(chr(945 - 897) + chr(111) + chr(1007 - 956) + '\060' + chr(51), ord("\x08")), nzTpIcepk0o8(chr(662 - 614) + '\157' + chr(0b100001 + 0o22) + chr(0b10100 + 0o34) + chr(0b110100), 52934 - 52926), nzTpIcepk0o8('\x30' + chr(0b1010001 + 0o36) + '\x31' + chr(0b110011), 686 - 678), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b11000 + 0o33) + '\x36' + chr(0b110110), 0o10), nzTpIcepk0o8('\060' + chr(4977 - 4866) + '\x37' + '\x32', ord("\x08")), nzTpIcepk0o8(chr(1146 - 1098) + chr(12122 - 12011) + chr(49) + '\x32' + chr(0b110010), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(132 - 21) + chr(743 - 694) + chr(0b110100) + '\062', 0b1000), nzTpIcepk0o8(chr(1636 - 1588) + chr(0b110001 + 0o76) + chr(1319 - 1270) + '\x36' + '\064', 58565 - 58557), nzTpIcepk0o8(chr(48) + chr(2414 - 2303) + '\062' + chr(2279 - 2227) + '\065', 0o10), nzTpIcepk0o8(chr(48) + chr(5893 - 5782) + chr(690 - 641) + '\064' + chr(0b111 + 0o51), 0o10), nzTpIcepk0o8(chr(1060 - 1012) + chr(0b110011 + 0o74) + chr(49) + chr(127 - 77) + '\062', 8), nzTpIcepk0o8('\x30' + chr(0b1101111) + '\061' + chr(53) + chr(54), ord("\x08")), nzTpIcepk0o8('\060' + chr(0b1101111) + '\061' + chr(0b10110 + 0o40), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\063' + '\x35' + '\064', 47763 - 47755), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(50) + chr(0b100001 + 0o26) + chr(1358 - 1308), 0o10), nzTpIcepk0o8(chr(477 - 429) + '\157' + chr(0b110100 + 0o2) + chr(0b110010), 59869 - 59861), nzTpIcepk0o8('\060' + chr(0b1101111) + '\061' + '\x30' + '\067', 64866 - 64858), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b1100 + 0o46) + chr(51) + chr(589 - 539), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b110001) + chr(0b10 + 0o57) + chr(54), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(6955 - 6844) + chr(0b1110 + 0o44) + chr(48) + chr(0b110100), 0b1000), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b110011) + '\x35' + chr(868 - 817), 2707 - 2699), nzTpIcepk0o8(chr(1957 - 1909) + chr(0b1101111) + chr(0b110 + 0o54) + '\061', 0b1000), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b11100 + 0o25) + chr(0b110011 + 0o1) + chr(0b110111), 0b1000), nzTpIcepk0o8(chr(48) + '\157' + chr(51) + chr(673 - 623) + chr(552 - 502), 0o10), nzTpIcepk0o8(chr(1413 - 1365) + chr(0b1101111) + chr(0b101010 + 0o7) + '\061' + '\x30', ord("\x08")), nzTpIcepk0o8('\060' + chr(111) + chr(0b110010) + chr(99 - 44) + '\067', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(11551 - 11440) + '\062' + '\x35' + chr(0b110 + 0o52), ord("\x08")), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(52), 0b1000), nzTpIcepk0o8(chr(48) + chr(10994 - 10883) + '\063' + '\x32' + chr(0b110100), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(11950 - 11839) + chr(498 - 449) + chr(53), 23007 - 22999), nzTpIcepk0o8('\x30' + chr(6207 - 6096) + '\065' + chr(0b110111), ord("\x08")), nzTpIcepk0o8(chr(0b1011 + 0o45) + '\x6f' + chr(1214 - 1165) + chr(0b11101 + 0o24) + chr(2633 - 2581), 0o10), nzTpIcepk0o8('\060' + chr(0b1100100 + 0o13) + chr(0b100001 + 0o21) + chr(0b110101) + chr(0b110000), 8), nzTpIcepk0o8('\060' + '\x6f' + chr(0b11111 + 0o24) + chr(2376 - 2322) + chr(1726 - 1673), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b10000 + 0o42) + '\063' + chr(2668 - 2616), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(50) + chr(0b11101 + 0o25) + chr(1358 - 1307), ord("\x08"))][ZlbFMSG8gCoF % nzTpIcepk0o8('\060' + chr(111) + '\x35' + chr(0b11001 + 0o27), 0o10)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'W'), chr(100) + chr(0b1001011 + 0o32) + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + chr(0b1100101))(chr(11628 - 11511) + '\164' + chr(0b1100110) + chr(0b10100 + 0o31) + chr(56)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def vtiClFMrrf9P(SBXaGBkMY5xD=roI3spqORKae(ES5oEprVxulp(b'W'), chr(0b101011 + 0o71) + chr(2119 - 2018) + chr(388 - 289) + '\x6f' + chr(0b100011 + 0o101) + chr(0b1100101))(chr(0b11000 + 0o135) + chr(7771 - 7655) + chr(0b1100110) + '\055' + chr(3035 - 2979)), Ob89R3fsHgUT=roI3spqORKae(ES5oEprVxulp(b''), '\144' + '\145' + '\x63' + chr(0b1101111) + chr(0b1100100) + chr(101))(chr(0b1000 + 0o155) + chr(0b111101 + 0o67) + chr(0b1100110) + chr(0b1000 + 0o45) + '\x38'), FV45bnuO0kgW=nzTpIcepk0o8('\060' + chr(111) + '\x30', 0o10), M_tgkX86kvP0=nzTpIcepk0o8('\060' + chr(0b111110 + 0o61) + chr(51), 1679 - 1671), mwgZMvWSpAHg=nzTpIcepk0o8('\x30' + '\157' + chr(48), 8), S_yV4Ytx3yb1=roI3spqORKae(ES5oEprVxulp(b'W'), '\144' + chr(0b1011000 + 0o15) + chr(4924 - 4825) + '\157' + chr(0b101110 + 0o66) + '\x65')(chr(0b1110101) + '\164' + chr(102) + chr(0b101101) + chr(2729 - 2673)), JummcHpaNLEw=roI3spqORKae(ES5oEprVxulp(b'\n?s'), '\144' + chr(101) + '\x63' + chr(3824 - 3713) + chr(100) + '\x65')('\x75' + '\164' + chr(0b111 + 0o137) + chr(0b101101) + chr(56)), tMxGuuSfMT1N=roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(0b11000 + 0o115) + '\x63' + '\x6f' + '\x64' + chr(0b1100101))(chr(8601 - 8484) + chr(0b101110 + 0o106) + '\x66' + chr(45) + chr(56)), uZbm_x09H4NE=roI3spqORKae(ES5oEprVxulp(b''), chr(1705 - 1605) + chr(0b1100101) + chr(0b1100011) + chr(111) + chr(100) + chr(0b1011000 + 0o15))(chr(0b1110101) + '\164' + chr(102) + '\055' + chr(0b10100 + 0o44))):
mocO8sWgkzH7 = nzTpIcepk0o8(chr(1892 - 1844) + chr(0b1010001 + 0o36) + chr(762 - 714), 8)
_rzo8mN2WpYg = M_tgkX86kvP0
ietcUwMbEaXc = aHUqKstZLeS6.path.Y4yM9BcfTCNq(SBXaGBkMY5xD, Ob89R3fsHgUT)
if FV45bnuO0kgW:
oaqDNxKfqYOv = HLKt4sa1j9hm.read_csv(ietcUwMbEaXc, sep=roI3spqORKae(ES5oEprVxulp(b'p'), '\144' + chr(0b1011001 + 0o14) + chr(0b1100011) + '\x6f' + chr(0b1100100) + '\145')(chr(0b111011 + 0o72) + chr(11342 - 11226) + chr(0b11 + 0o143) + chr(0b0 + 0o55) + '\x38'), header=nzTpIcepk0o8(chr(0b100110 + 0o12) + '\x6f' + '\x31', 0b1000))
hq6XE4_Nhd6R = oaqDNxKfqYOv[roI3spqORKae(ES5oEprVxulp(b'\x14,uW\x9c\xb0n\x9bJ'), chr(1468 - 1368) + '\x65' + chr(1237 - 1138) + '\157' + '\144' + '\145')(chr(0b11111 + 0o126) + chr(0b1110100) + chr(102) + '\x2d' + chr(0b0 + 0o70))].CsodZJH6x9Tx - nzTpIcepk0o8(chr(0b101101 + 0o3) + '\157' + chr(52) + chr(118 - 68) + chr(1087 - 1038), 0b1000)
iZmcFoOMAnzn = RYEhqzIVZREo.get_intensity_col(oaqDNxKfqYOv)
lY8v4DfEhTNv = oaqDNxKfqYOv[iZmcFoOMAnzn].CsodZJH6x9Tx
else:
BkI1oOCrzqWc = nDF4gVNx0u9Q.loadtxt(ietcUwMbEaXc, dtype=nDF4gVNx0u9Q.float)
hq6XE4_Nhd6R = BkI1oOCrzqWc.transpose()[nzTpIcepk0o8(chr(0b100010 + 0o16) + '\x6f' + '\x30', 8)]
lY8v4DfEhTNv = BkI1oOCrzqWc.transpose()[nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b110001), 8)]
hq6XE4_Nhd6R = H4NoA26ON7iG(hq6XE4_Nhd6R)
lY8v4DfEhTNv = H4NoA26ON7iG(lY8v4DfEhTNv)
if tMxGuuSfMT1N != roI3spqORKae(ES5oEprVxulp(b''), chr(0b0 + 0o144) + '\145' + chr(0b1100011) + chr(111) + chr(0b1100100) + chr(101))(chr(0b1000 + 0o155) + chr(0b1011101 + 0o27) + chr(0b1100110) + chr(1807 - 1762) + chr(56)):
while hq6XE4_Nhd6R[nzTpIcepk0o8(chr(0b11101 + 0o23) + chr(111) + '\x30', 8)] < tMxGuuSfMT1N:
roI3spqORKae(lY8v4DfEhTNv, roI3spqORKae(ES5oEprVxulp(b'\x0c\nK}\xac\xbdi\x8e\r\x18R='), chr(100) + chr(1682 - 1581) + chr(3838 - 3739) + chr(5947 - 5836) + '\x64' + '\x65')(chr(0b101000 + 0o115) + '\164' + chr(0b1100110) + chr(1515 - 1470) + chr(0b101111 + 0o11)))(nzTpIcepk0o8(chr(0b110000) + chr(0b101100 + 0o103) + chr(48), 8))
roI3spqORKae(hq6XE4_Nhd6R, roI3spqORKae(ES5oEprVxulp(b'\x0c\nK}\xac\xbdi\x8e\r\x18R='), '\144' + chr(101) + chr(5484 - 5385) + '\x6f' + chr(100) + '\x65')(chr(0b1110101) + chr(9991 - 9875) + chr(102) + '\055' + chr(0b0 + 0o70)))(nzTpIcepk0o8(chr(0b1111 + 0o41) + chr(0b1101111) + '\060', 8))
while hq6XE4_Nhd6R[-nzTpIcepk0o8(chr(66 - 18) + chr(0b1101111) + chr(49), 8)] > uZbm_x09H4NE:
roI3spqORKae(lY8v4DfEhTNv, roI3spqORKae(ES5oEprVxulp(b'\x0c\nK}\xac\xbdi\x8e\r\x18R='), chr(100) + chr(0b1100101) + '\143' + chr(0b1101111) + '\144' + chr(1588 - 1487))('\x75' + chr(116) + chr(5149 - 5047) + chr(0b101101) + chr(0b10111 + 0o41)))(-nzTpIcepk0o8(chr(0b110000) + chr(2395 - 2284) + chr(0b1000 + 0o51), 8))
roI3spqORKae(hq6XE4_Nhd6R, roI3spqORKae(ES5oEprVxulp(b'\x0c\nK}\xac\xbdi\x8e\r\x18R='), chr(100) + '\145' + chr(2665 - 2566) + chr(0b1111 + 0o140) + '\144' + chr(0b1100101))('\165' + '\x74' + chr(8051 - 7949) + '\055' + chr(0b111000)))(-nzTpIcepk0o8('\060' + chr(0b1101111) + '\x31', 8))
ZlbFMSG8gCoF = nzTpIcepk0o8(chr(0b110000) + chr(0b101100 + 0o103) + '\x30', 8)
while ZlbFMSG8gCoF < ftfygxgFas5X(hq6XE4_Nhd6R) - nzTpIcepk0o8('\x30' + chr(0b1100 + 0o143) + '\061', 8):
if (hq6XE4_Nhd6R[ZlbFMSG8gCoF + nzTpIcepk0o8(chr(0b0 + 0o60) + chr(0b10010 + 0o135) + chr(0b110001), 8)] - hq6XE4_Nhd6R[ZlbFMSG8gCoF]) % nzTpIcepk0o8('\060' + chr(0b1101111) + '\x31', 8) > 0.001:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x1d,xP\xa2\xe4_\xd6I:\r\x01\xc9\x04r\x0ck\xcc\xd3\\3\xff)\xe1\x99=G\xa6 \xd6\xdb$\xa4\x7f@+\xda\x94\xf1\xb3\x0e xH\xe3\xaad\x82\x1a%\r\x06\xceA'), chr(0b1100100) + '\145' + chr(99) + chr(0b11010 + 0o125) + '\x64' + chr(0b100001 + 0o104))(chr(0b100001 + 0o124) + chr(2925 - 2809) + '\146' + chr(0b11111 + 0o16) + '\070'))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\r,yT\xa6\xb6j\x82O \x07T\xd7\x01<\tk\xd6'), chr(100) + chr(0b110010 + 0o63) + chr(0b10011 + 0o120) + chr(0b1101111) + chr(8708 - 8608) + chr(7310 - 7209))(chr(0b111110 + 0o67) + chr(4651 - 4535) + '\146' + '\x2d' + '\070'), hq6XE4_Nhd6R[ZlbFMSG8gCoF], hq6XE4_Nhd6R[ZlbFMSG8gCoF + nzTpIcepk0o8(chr(554 - 506) + '\x6f' + '\x31', 8)])
roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'#<fN\xa0\x91G\xc7I!#L'), chr(5025 - 4925) + chr(0b1100101) + '\x63' + chr(0b1001010 + 0o45) + chr(0b1100100) + chr(0b1100101))(chr(117) + '\x74' + chr(0b1100110) + '\055' + chr(0b111000)))()
if hq6XE4_Nhd6R[ZlbFMSG8gCoF + nzTpIcepk0o8(chr(0b100110 + 0o12) + chr(0b110101 + 0o72) + chr(0b110001), 8)] - hq6XE4_Nhd6R[ZlbFMSG8gCoF] == 0.0:
lY8v4DfEhTNv[ZlbFMSG8gCoF] = nDF4gVNx0u9Q.average([lY8v4DfEhTNv[ZlbFMSG8gCoF], lY8v4DfEhTNv[ZlbFMSG8gCoF + nzTpIcepk0o8(chr(0b10001 + 0o37) + chr(111) + '\061', 8)]])
roI3spqORKae(lY8v4DfEhTNv, roI3spqORKae(ES5oEprVxulp(b'\x0c\nK}\xac\xbdi\x8e\r\x18R='), chr(0b1100100) + chr(101) + chr(4920 - 4821) + '\157' + chr(0b1100100) + chr(5331 - 5230))('\x75' + '\164' + chr(7186 - 7084) + chr(0b101101) + '\070'))(ZlbFMSG8gCoF + nzTpIcepk0o8(chr(0b11110 + 0o22) + chr(0b101100 + 0o103) + '\061', 8))
roI3spqORKae(hq6XE4_Nhd6R, roI3spqORKae(ES5oEprVxulp(b'\x0c\nK}\xac\xbdi\x8e\r\x18R='), chr(4814 - 4714) + chr(0b100000 + 0o105) + '\x63' + chr(0b1010 + 0o145) + '\x64' + '\x65')(chr(4311 - 4194) + chr(116) + '\x66' + '\055' + '\x38'))(ZlbFMSG8gCoF + nzTpIcepk0o8(chr(0b110000) + chr(0b1100011 + 0o14) + '\x31', 8))
elif hq6XE4_Nhd6R[ZlbFMSG8gCoF + nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b110001), 8)] - hq6XE4_Nhd6R[ZlbFMSG8gCoF] < 0.0:
roI3spqORKae(lY8v4DfEhTNv, roI3spqORKae(ES5oEprVxulp(b'\x0c\nK}\xac\xbdi\x8e\r\x18R='), '\144' + chr(4341 - 4240) + chr(0b1100011) + '\x6f' + '\x64' + chr(0b1000111 + 0o36))(chr(0b1110101) + '\164' + chr(8822 - 8720) + chr(0b1100 + 0o41) + '\x38'))(ZlbFMSG8gCoF + nzTpIcepk0o8(chr(0b110000) + chr(0b1101010 + 0o5) + chr(0b110001), 8))
roI3spqORKae(hq6XE4_Nhd6R, roI3spqORKae(ES5oEprVxulp(b'\x0c\nK}\xac\xbdi\x8e\r\x18R='), chr(0b1100100) + chr(0b1100101) + chr(0b111011 + 0o50) + chr(111) + '\x64' + chr(2845 - 2744))(chr(0b100100 + 0o121) + chr(13378 - 13262) + chr(7991 - 7889) + chr(0b101101) + '\070'))(ZlbFMSG8gCoF + nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b10001 + 0o40), 8))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x1a!qG\xa8\xe4o\x97N3B\x1d\xcb@\x06S+\xc2\x8aTg\xb6\x03\xdf\xbfLG\xbb;\x9f\xc1c\xbab])\xcc'), chr(100) + chr(818 - 717) + chr(0b1100011) + '\157' + chr(0b1100100) + chr(0b100010 + 0o103))(chr(117) + chr(0b1110100) + '\146' + chr(0b10010 + 0o33) + chr(0b11011 + 0o35)) % hq6XE4_Nhd6R[ZlbFMSG8gCoF])
elif hq6XE4_Nhd6R[ZlbFMSG8gCoF + nzTpIcepk0o8(chr(690 - 642) + chr(0b1101111) + chr(711 - 662), 8)] - hq6XE4_Nhd6R[ZlbFMSG8gCoF] > 1.0:
(o6_KrshwNtVM, xFDEVQn5qSdh) = nDF4gVNx0u9Q.polyfit([hq6XE4_Nhd6R[ZlbFMSG8gCoF], hq6XE4_Nhd6R[ZlbFMSG8gCoF + nzTpIcepk0o8('\060' + chr(0b1100000 + 0o17) + chr(2043 - 1994), 8)]], [lY8v4DfEhTNv[ZlbFMSG8gCoF], lY8v4DfEhTNv[ZlbFMSG8gCoF + nzTpIcepk0o8(chr(0b110000) + chr(0b1010001 + 0o36) + chr(0b100011 + 0o16), 8)]], nzTpIcepk0o8('\x30' + chr(0b1101111) + '\061', 8))
for sChW4gUsXrIC in bbT2xIe5pzk7(nzTpIcepk0o8(hq6XE4_Nhd6R[ZlbFMSG8gCoF + nzTpIcepk0o8(chr(2111 - 2063) + chr(111) + chr(1762 - 1713), 8)]) - nzTpIcepk0o8(hq6XE4_Nhd6R[ZlbFMSG8gCoF]) - nzTpIcepk0o8('\060' + '\157' + chr(0b110001), 8)):
roI3spqORKae(lY8v4DfEhTNv, roI3spqORKae(ES5oEprVxulp(b"\x10'gA\xb1\xb0"), '\x64' + chr(0b110011 + 0o62) + '\143' + chr(0b111100 + 0o63) + chr(100) + chr(101))(chr(8529 - 8412) + chr(0b1110100) + chr(9977 - 9875) + chr(1725 - 1680) + '\070'))(ZlbFMSG8gCoF + nzTpIcepk0o8(chr(0b101000 + 0o10) + chr(7859 - 7748) + chr(2365 - 2316), 8), o6_KrshwNtVM * (hq6XE4_Nhd6R[ZlbFMSG8gCoF] + 1.0) + xFDEVQn5qSdh)
roI3spqORKae(hq6XE4_Nhd6R, roI3spqORKae(ES5oEprVxulp(b"\x10'gA\xb1\xb0"), '\x64' + '\145' + chr(0b1100011) + '\157' + chr(0b101111 + 0o65) + '\145')(chr(9390 - 9273) + chr(116) + '\146' + chr(0b101101) + chr(56)))(ZlbFMSG8gCoF + nzTpIcepk0o8(chr(0b1 + 0o57) + '\157' + chr(1187 - 1138), 8), hq6XE4_Nhd6R[ZlbFMSG8gCoF] + 1.0)
ZlbFMSG8gCoF = ZlbFMSG8gCoF + nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b10111 + 0o32), 8)
ZlbFMSG8gCoF = ZlbFMSG8gCoF + nzTpIcepk0o8(chr(0b101011 + 0o5) + chr(8234 - 8123) + chr(0b11010 + 0o27), 8)
lY8v4DfEhTNv = nDF4gVNx0u9Q.Tn6rGr7XTM7t(lY8v4DfEhTNv, roI3spqORKae(ES5oEprVxulp(b'\x1f'), '\144' + '\145' + chr(99) + chr(0b1101111) + chr(100) + chr(0b1011001 + 0o14))(chr(117) + chr(0b1110100) + chr(3731 - 3629) + chr(0b100111 + 0o6) + chr(0b111000)))
hq6XE4_Nhd6R = nDF4gVNx0u9Q.Tn6rGr7XTM7t(hq6XE4_Nhd6R, roI3spqORKae(ES5oEprVxulp(b'\x1f'), chr(8044 - 7944) + chr(0b1001110 + 0o27) + chr(99) + chr(0b1101111) + chr(184 - 84) + '\145')('\x75' + chr(116) + '\x66' + '\x2d' + chr(2281 - 2225)))
vqMoM0aIMVu7 = []
vqMoM0aIMVu7 = XfpFtdM0c1Sj(lY8v4DfEhTNv, _rzo8mN2WpYg)
IiyVhUWcOChp = {roI3spqORKae(ES5oEprVxulp(b'4\x16@'), chr(4464 - 4364) + chr(0b110100 + 0o61) + chr(0b1001001 + 0o32) + '\157' + '\x64' + chr(101))(chr(0b1000001 + 0o64) + '\x74' + '\x66' + chr(818 - 773) + chr(1273 - 1217)): nzTpIcepk0o8(chr(1451 - 1403) + '\157' + '\x31', 8), roI3spqORKae(ES5oEprVxulp(b'\x1d,f\x15'), chr(0b1000000 + 0o44) + '\x65' + '\143' + chr(2132 - 2021) + chr(0b1100100) + chr(0b1100101))('\x75' + '\x74' + '\x66' + chr(963 - 918) + chr(0b111000)): nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110010), ord("\x08")), roI3spqORKae(ES5oEprVxulp(b'\x1d,f\x16'), chr(100) + '\x65' + '\x63' + chr(111) + chr(9024 - 8924) + chr(2258 - 2157))(chr(2360 - 2243) + '\164' + chr(0b1100110) + chr(0b101101) + chr(1260 - 1204)): nzTpIcepk0o8(chr(570 - 522) + chr(0b100110 + 0o111) + chr(0b110011), 8), roI3spqORKae(ES5oEprVxulp(b':<fM\xa6'), chr(0b1010000 + 0o24) + chr(0b110110 + 0o57) + chr(0b1100011) + chr(0b10110 + 0o131) + '\144' + '\x65')('\165' + chr(116) + chr(102) + '\055' + '\x38'): nzTpIcepk0o8('\060' + chr(111) + chr(1085 - 1033), 8)}
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\x1c:$~\xf5\xa0q\xb5R\x01.A'), chr(0b1 + 0o143) + '\x65' + chr(4783 - 4684) + chr(8339 - 8228) + chr(271 - 171) + chr(0b1100101))('\x75' + chr(277 - 161) + chr(0b1100110) + chr(0b101101) + chr(448 - 392)))(num=IiyVhUWcOChp[roI3spqORKae(ES5oEprVxulp(b'4\x16@'), chr(0b1100100) + chr(0b1010101 + 0o20) + '\143' + chr(111) + chr(0b1100100) + chr(101))('\x75' + chr(0b1110 + 0o146) + chr(0b1100110) + '\055' + '\070')], figsize=(nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110101), 0o10), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(53), 8)))
aji3jF4_nqWL = roI3spqORKae(ES5oEprVxulp(b'4d@\x04\xeb\xb7g\x9f^;\x0c\x13\x85\x17;\x00j\x83\xcd\x0fb\xf3g'), chr(100) + '\x65' + '\143' + '\157' + '\x64' + chr(101))('\x75' + chr(116) + chr(102) + '\x2d' + chr(0b111000)) % nzTpIcepk0o8(_rzo8mN2WpYg)
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\t%{P\x9c\xbcr'), chr(2928 - 2828) + chr(101) + '\x63' + '\157' + '\144' + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + '\055' + '\070'))(IiyVhUWcOChp[roI3spqORKae(ES5oEprVxulp(b'4\x16@'), chr(6384 - 6284) + chr(101) + '\x63' + '\x6f' + chr(0b101100 + 0o70) + chr(101))(chr(0b1110101) + '\164' + chr(0b11001 + 0o115) + chr(45) + chr(0b111000))], hq6XE4_Nhd6R, vqMoM0aIMVu7, sym=roI3spqORKae(ES5oEprVxulp(b'T'), chr(100) + chr(0b1100101) + '\143' + '\x6f' + chr(0b11010 + 0o112) + chr(101))(chr(117) + chr(116) + chr(0b1100110) + '\x2d' + chr(1192 - 1136)))
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\t%{P\x9c\xbcr'), chr(0b110001 + 0o63) + chr(0b1001010 + 0o33) + '\143' + '\x6f' + chr(0b101001 + 0o73) + chr(0b1100101))(chr(6165 - 6048) + chr(116) + chr(0b1011110 + 0o10) + chr(1416 - 1371) + chr(2908 - 2852)))(IiyVhUWcOChp[roI3spqORKae(ES5oEprVxulp(b'4\x16@'), chr(0b11101 + 0o107) + '\145' + chr(0b1100011) + '\x6f' + '\x64' + '\145')('\165' + '\x74' + chr(0b11010 + 0o114) + chr(2000 - 1955) + chr(1596 - 1540))], hq6XE4_Nhd6R, lY8v4DfEhTNv, sym=roI3spqORKae(ES5oEprVxulp(b'Td'), '\x64' + chr(101) + '\143' + '\157' + '\144' + '\x65')('\x75' + chr(116) + chr(0b110100 + 0o62) + chr(0b101101) + chr(2754 - 2698)), xlab=roI3spqORKae(ES5oEprVxulp(b'-,yT\xa6\xb6j\x82O \x07T\xe6'), chr(0b1100100) + chr(101) + '\143' + '\157' + '\144' + chr(9276 - 9175))(chr(0b1110101) + chr(0b1001001 + 0o53) + chr(0b1100110) + '\055' + '\070'), ylab=roI3spqORKae(ES5oEprVxulp(b'4(sJ\xa6\xb0b\x8c[&\x0b\x1b\xcb'), chr(0b111101 + 0o47) + chr(1593 - 1492) + chr(0b1100011) + '\157' + '\144' + chr(0b101 + 0o140))(chr(0b1110101) + chr(0b1110100) + '\146' + chr(0b101101) + chr(0b101100 + 0o14)), title=aji3jF4_nqWL)
(n6rotHTVu42X, SvWI0Z9RFOSk) = ([], [])
for ZlbFMSG8gCoF in bbT2xIe5pzk7(ftfygxgFas5X(vqMoM0aIMVu7) - nzTpIcepk0o8('\060' + chr(0b1001 + 0o146) + chr(49), 8)):
kBvaDPwCz4NZ = vqMoM0aIMVu7[ZlbFMSG8gCoF - nzTpIcepk0o8('\x30' + chr(0b101011 + 0o104) + '\x31', 8)] - vqMoM0aIMVu7[ZlbFMSG8gCoF + nzTpIcepk0o8(chr(0b101 + 0o53) + '\157' + chr(0b110001), 8)]
Fqolgnidjwk0 = hq6XE4_Nhd6R[ZlbFMSG8gCoF - nzTpIcepk0o8('\x30' + chr(0b101110 + 0o101) + chr(0b110001), 8)] - hq6XE4_Nhd6R[ZlbFMSG8gCoF + nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(49), 8)]
roI3spqORKae(n6rotHTVu42X, roI3spqORKae(ES5oEprVxulp(b'1\x1dG\x10\xbb\xa3L\x99P=7A'), '\x64' + chr(0b101000 + 0o75) + '\143' + '\157' + chr(0b1100100) + chr(101))(chr(11097 - 10980) + chr(0b1001100 + 0o50) + chr(8382 - 8280) + chr(45) + chr(735 - 679)))(SVfYwQaP38MC(kBvaDPwCz4NZ, Fqolgnidjwk0))
SvWI0Z9RFOSk = hq6XE4_Nhd6R[nzTpIcepk0o8(chr(1390 - 1342) + chr(0b1100001 + 0o16) + chr(0b110001), 8):ftfygxgFas5X(hq6XE4_Nhd6R - nzTpIcepk0o8('\x30' + chr(313 - 202) + '\061', 8))]
n6rotHTVu42X = nDF4gVNx0u9Q.Tn6rGr7XTM7t(n6rotHTVu42X, roI3spqORKae(ES5oEprVxulp(b'\x1f'), '\144' + chr(0b1100101) + chr(2663 - 2564) + chr(1264 - 1153) + chr(100) + chr(0b1100101))(chr(0b1001010 + 0o53) + chr(1794 - 1678) + chr(5242 - 5140) + chr(1993 - 1948) + '\x38'))
FAE9uZIbqqhO = XfpFtdM0c1Sj(n6rotHTVu42X, _rzo8mN2WpYg)
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\x1c:$~\xf5\xa0q\xb5R\x01.A'), chr(100) + chr(0b10011 + 0o122) + chr(99) + chr(0b111110 + 0o61) + chr(4428 - 4328) + chr(0b101110 + 0o67))(chr(11099 - 10982) + chr(3468 - 3352) + '\x66' + chr(0b10110 + 0o27) + '\x38'))(num=IiyVhUWcOChp[roI3spqORKae(ES5oEprVxulp(b'\x1d,f\x15'), '\x64' + chr(0b1100101) + chr(5006 - 4907) + chr(0b1010 + 0o145) + chr(6308 - 6208) + '\145')('\165' + chr(4702 - 4586) + '\x66' + chr(1101 - 1056) + chr(0b111000))], figsize=(nzTpIcepk0o8(chr(48) + chr(0b1010001 + 0o36) + chr(0b110100 + 0o1), 8), nzTpIcepk0o8(chr(0b101100 + 0o4) + chr(2730 - 2619) + chr(0b1111 + 0o46), 8)))
aji3jF4_nqWL = roI3spqORKae(ES5oEprVxulp(b"H:`\x04\xa7\xa1y\x9fL3\x16\x1d\xd3\x05rF}\x80\xd3V.\xf4)\xa4\x9cx\t\xb6'\xc8\x95!\xbd$"), chr(0b1100100) + '\x65' + '\x63' + chr(0b1011011 + 0o24) + chr(0b1100100) + '\145')(chr(0b1001111 + 0o46) + '\164' + chr(102) + '\055' + chr(0b1100 + 0o54)) % nzTpIcepk0o8(_rzo8mN2WpYg)
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\t%{P\x9c\xbcr'), chr(100) + chr(0b1100101) + chr(99) + '\157' + '\144' + chr(0b1000100 + 0o41))(chr(0b1101110 + 0o7) + '\164' + '\146' + chr(583 - 538) + chr(56)))(IiyVhUWcOChp[roI3spqORKae(ES5oEprVxulp(b'\x1d,f\x15'), chr(100) + chr(101) + '\143' + '\157' + '\x64' + '\145')(chr(0b1000110 + 0o57) + '\x74' + chr(0b11101 + 0o111) + chr(0b100010 + 0o13) + chr(56))], SvWI0Z9RFOSk, FAE9uZIbqqhO, sym=roI3spqORKae(ES5oEprVxulp(b'T'), '\144' + chr(0b1011101 + 0o10) + chr(0b1100011) + '\x6f' + chr(0b1100100) + '\x65')('\165' + chr(0b1101010 + 0o12) + '\x66' + chr(0b101101) + chr(2339 - 2283)), xlab=roI3spqORKae(ES5oEprVxulp(b'-,yT\xa6\xb6j\x82O \x07T\xe6'), chr(0b110110 + 0o56) + chr(0b1111 + 0o126) + chr(0b10011 + 0o120) + chr(6467 - 6356) + chr(8268 - 8168) + chr(0b100 + 0o141))(chr(10284 - 10167) + chr(0b111 + 0o155) + chr(0b1100110) + '\055' + '\x38'), title=aji3jF4_nqWL)
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\t%{P\x9c\xbcr'), chr(0b1110 + 0o126) + chr(101) + chr(0b1010011 + 0o20) + chr(2076 - 1965) + '\x64' + chr(0b100010 + 0o103))('\x75' + chr(0b1010011 + 0o41) + chr(3058 - 2956) + '\x2d' + '\070'))(IiyVhUWcOChp[roI3spqORKae(ES5oEprVxulp(b'\x1d,f\x15'), '\x64' + chr(0b10 + 0o143) + chr(586 - 487) + chr(111) + '\144' + chr(101))('\x75' + chr(116) + chr(0b1100110) + chr(0b101101) + chr(0b100001 + 0o27))], SvWI0Z9RFOSk, n6rotHTVu42X, sym=roI3spqORKae(ES5oEprVxulp(b'\x1bd9'), '\144' + chr(0b1100101) + chr(99) + '\x6f' + chr(3296 - 3196) + chr(2365 - 2264))('\x75' + chr(116) + chr(9958 - 9856) + chr(45) + '\070'))
(PAfFNjUIOLoy, APnKBFMcNIbg) = ([], [])
for ZlbFMSG8gCoF in bbT2xIe5pzk7(ftfygxgFas5X(FAE9uZIbqqhO) - nzTpIcepk0o8(chr(1336 - 1288) + chr(0b1101111) + chr(1872 - 1823), 8)):
kBvaDPwCz4NZ = FAE9uZIbqqhO[ZlbFMSG8gCoF - nzTpIcepk0o8(chr(0b1101 + 0o43) + chr(111) + chr(0b110001), 8)] - FAE9uZIbqqhO[ZlbFMSG8gCoF + nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b101 + 0o54), 8)]
Fqolgnidjwk0 = hq6XE4_Nhd6R[ZlbFMSG8gCoF - nzTpIcepk0o8(chr(0b1100 + 0o44) + chr(2497 - 2386) + chr(49), 8)] - hq6XE4_Nhd6R[ZlbFMSG8gCoF + nzTpIcepk0o8(chr(0b110000) + chr(4993 - 4882) + chr(0b10110 + 0o33), 8)]
roI3spqORKae(PAfFNjUIOLoy, roI3spqORKae(ES5oEprVxulp(b'1\x1dG\x10\xbb\xa3L\x99P=7A'), chr(3455 - 3355) + '\145' + '\143' + chr(7406 - 7295) + '\x64' + chr(0b1100101))(chr(117) + chr(0b10111 + 0o135) + chr(1483 - 1381) + chr(0b101101) + chr(56)))(SVfYwQaP38MC(kBvaDPwCz4NZ, Fqolgnidjwk0))
APnKBFMcNIbg = hq6XE4_Nhd6R[nzTpIcepk0o8('\060' + chr(9073 - 8962) + chr(50), 8):ftfygxgFas5X(hq6XE4_Nhd6R - nzTpIcepk0o8(chr(1213 - 1165) + chr(0b1101 + 0o142) + chr(1589 - 1539), 8))]
PAfFNjUIOLoy = nDF4gVNx0u9Q.Tn6rGr7XTM7t(PAfFNjUIOLoy, roI3spqORKae(ES5oEprVxulp(b'\x1f'), chr(0b101001 + 0o73) + chr(2153 - 2052) + chr(0b11000 + 0o113) + chr(0b1101111) + '\144' + '\145')(chr(117) + chr(0b1110100) + chr(0b101100 + 0o72) + '\055' + '\070'))
dp4ET8gChCBf = XfpFtdM0c1Sj(PAfFNjUIOLoy, _rzo8mN2WpYg)
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\x1c:$~\xf5\xa0q\xb5R\x01.A'), '\144' + chr(0b1100101) + chr(0b1001001 + 0o32) + '\x6f' + '\144' + chr(423 - 322))('\165' + chr(0b1110100) + chr(102) + chr(45) + '\x38'))(num=IiyVhUWcOChp[roI3spqORKae(ES5oEprVxulp(b'\x1d,f\x16'), chr(100) + chr(0b1100101) + '\143' + chr(111) + chr(0b1100100) + chr(101))(chr(0b1110101) + chr(0b1010011 + 0o41) + '\146' + chr(1881 - 1836) + chr(56))], figsize=(nzTpIcepk0o8(chr(0b10111 + 0o31) + chr(6882 - 6771) + chr(0b10111 + 0o36), 8), nzTpIcepk0o8(chr(0b10111 + 0o31) + chr(2622 - 2511) + chr(0b101110 + 0o7), 8)))
aji3jF4_nqWL = roI3spqORKae(ES5oEprVxulp(b"K'p\x04\xa7\xa1y\x9fL3\x16\x1d\xd3\x05rF}\x80\xd3V.\xf4)\xa4\x9cx\t\xb6'\xc8\x95!\xbd$"), chr(0b1100100) + chr(101) + '\143' + chr(11791 - 11680) + '\x64' + chr(2065 - 1964))('\165' + chr(116) + '\146' + chr(0b101000 + 0o5) + chr(0b111000)) % nzTpIcepk0o8(_rzo8mN2WpYg)
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\t%{P\x9c\xbcr'), chr(100) + '\x65' + chr(0b1100011) + '\x6f' + chr(1418 - 1318) + chr(101))(chr(2564 - 2447) + '\x74' + chr(0b11001 + 0o115) + '\x2d' + chr(0b111000)))(IiyVhUWcOChp[roI3spqORKae(ES5oEprVxulp(b'\x1d,f\x16'), chr(0b1100100) + '\145' + chr(99) + chr(0b1101111) + chr(0b101111 + 0o65) + chr(7066 - 6965))(chr(0b1110101) + chr(116) + '\146' + chr(0b1001 + 0o44) + chr(2886 - 2830))], APnKBFMcNIbg, PAfFNjUIOLoy, sym=roI3spqORKae(ES5oEprVxulp(b'T'), chr(5624 - 5524) + chr(0b1100101) + '\x63' + chr(0b1101111) + chr(100) + chr(6449 - 6348))(chr(117) + chr(0b1110100) + chr(0b101011 + 0o73) + chr(0b101101) + chr(56)), xlab=roI3spqORKae(ES5oEprVxulp(b'-,yT\xa6\xb6j\x82O \x07T\xe6'), chr(0b100010 + 0o102) + chr(6338 - 6237) + chr(99) + chr(8445 - 8334) + chr(2417 - 2317) + chr(0b101010 + 0o73))(chr(4865 - 4748) + '\x74' + '\x66' + chr(0b101101) + '\x38'), title=aji3jF4_nqWL)
PAfFNjUIOLoy = H4NoA26ON7iG(PAfFNjUIOLoy)
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\n,wK\xad\xa0+\x92_ \x0b\x02\xc4\x14;\x18k\xcc\xd7S?\xf3#\xf1\x861\x0e\xa1h\xde\xdc$\x800\n%'), chr(6496 - 6396) + '\145' + chr(0b111110 + 0o45) + chr(111) + chr(2055 - 1955) + chr(101))('\165' + '\x74' + '\x66' + chr(45) + chr(2361 - 2305)) % nzTpIcepk0o8(APnKBFMcNIbg[roI3spqORKae(PAfFNjUIOLoy, roI3spqORKae(ES5oEprVxulp(b'#9rj\xf6\xb0X\xba[\x08\x18\x11'), '\144' + chr(101) + chr(0b100111 + 0o74) + chr(0b11000 + 0o127) + chr(0b1100100) + '\x65')('\x75' + chr(11646 - 11530) + '\x66' + chr(1378 - 1333) + '\070'))(KV9ckIhroIia(PAfFNjUIOLoy))]))
(vtiClFMrrf9P, zrOnvgiI0D8X) = ([], [])
kU9f8JZiVl9F = H4NoA26ON7iG(bbT2xIe5pzk7(nzTpIcepk0o8(chr(48) + chr(6931 - 6820) + '\x35', 8), nzTpIcepk0o8('\x30' + '\157' + chr(0b110 + 0o60) + '\x32', 8), nzTpIcepk0o8(chr(0b110000) + chr(5773 - 5662) + '\061', 8)))
for Hny1XIrjfgYn in kU9f8JZiVl9F:
vqMoM0aIMVu7 = []
vqMoM0aIMVu7 = XfpFtdM0c1Sj(lY8v4DfEhTNv, Hny1XIrjfgYn)
(n6rotHTVu42X, SvWI0Z9RFOSk) = ([], [])
for ZlbFMSG8gCoF in bbT2xIe5pzk7(ftfygxgFas5X(vqMoM0aIMVu7) - nzTpIcepk0o8('\x30' + chr(8273 - 8162) + chr(0b110001), 8)):
kBvaDPwCz4NZ = vqMoM0aIMVu7[ZlbFMSG8gCoF - nzTpIcepk0o8(chr(265 - 217) + chr(0b101100 + 0o103) + '\x31', 8)] - vqMoM0aIMVu7[ZlbFMSG8gCoF + nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b101 + 0o54), 8)]
Fqolgnidjwk0 = hq6XE4_Nhd6R[ZlbFMSG8gCoF - nzTpIcepk0o8('\x30' + '\x6f' + '\x31', 8)] - hq6XE4_Nhd6R[ZlbFMSG8gCoF + nzTpIcepk0o8(chr(0b110000) + chr(11090 - 10979) + chr(813 - 764), 8)]
roI3spqORKae(n6rotHTVu42X, roI3spqORKae(ES5oEprVxulp(b'1\x1dG\x10\xbb\xa3L\x99P=7A'), chr(0b1100100) + chr(0b10011 + 0o122) + '\143' + chr(0b1 + 0o156) + '\144' + '\145')(chr(117) + chr(116) + chr(0b1001001 + 0o35) + '\x2d' + '\x38'))(SVfYwQaP38MC(kBvaDPwCz4NZ, Fqolgnidjwk0))
SvWI0Z9RFOSk = hq6XE4_Nhd6R[nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(49), 8):ftfygxgFas5X(hq6XE4_Nhd6R - nzTpIcepk0o8('\060' + '\x6f' + '\061', 8))]
n6rotHTVu42X = nDF4gVNx0u9Q.Tn6rGr7XTM7t(n6rotHTVu42X, roI3spqORKae(ES5oEprVxulp(b'\x1f'), chr(0b1100100) + chr(0b1100101) + '\143' + '\157' + '\144' + '\145')('\x75' + chr(0b1001110 + 0o46) + chr(102) + '\x2d' + '\070'))
FAE9uZIbqqhO = XfpFtdM0c1Sj(n6rotHTVu42X, Hny1XIrjfgYn)
(PAfFNjUIOLoy, APnKBFMcNIbg) = ([], [])
for ZlbFMSG8gCoF in bbT2xIe5pzk7(ftfygxgFas5X(FAE9uZIbqqhO) - nzTpIcepk0o8(chr(0b110000) + chr(8727 - 8616) + chr(49), 8)):
kBvaDPwCz4NZ = FAE9uZIbqqhO[ZlbFMSG8gCoF - nzTpIcepk0o8('\060' + chr(0b1011001 + 0o26) + '\x31', 8)] - FAE9uZIbqqhO[ZlbFMSG8gCoF + nzTpIcepk0o8('\060' + '\157' + chr(1176 - 1127), 8)]
Fqolgnidjwk0 = hq6XE4_Nhd6R[ZlbFMSG8gCoF - nzTpIcepk0o8(chr(0b110000) + chr(6420 - 6309) + '\061', 8)] - hq6XE4_Nhd6R[ZlbFMSG8gCoF + nzTpIcepk0o8(chr(0b110000) + chr(0b1011001 + 0o26) + '\x31', 8)]
roI3spqORKae(PAfFNjUIOLoy, roI3spqORKae(ES5oEprVxulp(b'1\x1dG\x10\xbb\xa3L\x99P=7A'), '\x64' + chr(0b1100101) + chr(99) + chr(9219 - 9108) + chr(100) + chr(5590 - 5489))('\165' + chr(116) + chr(102) + chr(0b101101) + chr(3118 - 3062)))(SVfYwQaP38MC(kBvaDPwCz4NZ, Fqolgnidjwk0))
APnKBFMcNIbg = hq6XE4_Nhd6R[nzTpIcepk0o8(chr(2240 - 2192) + chr(111) + chr(1246 - 1196), 8):ftfygxgFas5X(hq6XE4_Nhd6R - nzTpIcepk0o8(chr(0b100001 + 0o17) + chr(0b1101111) + '\062', 8))]
PAfFNjUIOLoy = nDF4gVNx0u9Q.Tn6rGr7XTM7t(PAfFNjUIOLoy, roI3spqORKae(ES5oEprVxulp(b'\x1f'), chr(100) + chr(0b1100101) + chr(808 - 709) + chr(0b1101111) + chr(0b10 + 0o142) + chr(0b1100101))(chr(0b1101011 + 0o12) + '\164' + chr(8251 - 8149) + '\x2d' + chr(56)))
dp4ET8gChCBf = XfpFtdM0c1Sj(PAfFNjUIOLoy, Hny1XIrjfgYn)
PAfFNjUIOLoy = H4NoA26ON7iG(PAfFNjUIOLoy)
dp4ET8gChCBf = H4NoA26ON7iG(dp4ET8gChCBf)
roI3spqORKae(vtiClFMrrf9P, roI3spqORKae(ES5oEprVxulp(b'1\x1dG\x10\xbb\xa3L\x99P=7A'), chr(6462 - 6362) + chr(0b1110 + 0o127) + '\143' + chr(111) + '\x64' + chr(101))('\x75' + chr(0b11011 + 0o131) + '\x66' + '\x2d' + '\070'))(APnKBFMcNIbg[roI3spqORKae(PAfFNjUIOLoy, roI3spqORKae(ES5oEprVxulp(b'#9rj\xf6\xb0X\xba[\x08\x18\x11'), '\x64' + '\x65' + '\143' + chr(0b1101111) + chr(100) + chr(0b1110 + 0o127))(chr(0b1110101) + chr(0b1110100) + '\x66' + '\055' + chr(0b1110 + 0o52)))(KV9ckIhroIia(PAfFNjUIOLoy))])
roI3spqORKae(zrOnvgiI0D8X, roI3spqORKae(ES5oEprVxulp(b'1\x1dG\x10\xbb\xa3L\x99P=7A'), chr(100) + '\x65' + chr(99) + chr(0b1101111) + chr(801 - 701) + '\145')('\x75' + chr(0b101001 + 0o113) + '\146' + chr(0b101101) + chr(0b111000)))(APnKBFMcNIbg[roI3spqORKae(dp4ET8gChCBf, roI3spqORKae(ES5oEprVxulp(b'#9rj\xf6\xb0X\xba[\x08\x18\x11'), '\x64' + chr(101) + chr(0b1100011) + chr(111) + chr(0b1100100) + '\145')(chr(12771 - 12654) + chr(0b1000100 + 0o60) + chr(102) + chr(0b10010 + 0o33) + '\x38'))(KV9ckIhroIia(dp4ET8gChCBf))])
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\x1c:$~\xf5\xa0q\xb5R\x01.A'), chr(3077 - 2977) + chr(101) + '\143' + '\x6f' + '\x64' + chr(8273 - 8172))(chr(3293 - 3176) + chr(116) + '\x66' + '\x2d' + '\x38'))(num=IiyVhUWcOChp[roI3spqORKae(ES5oEprVxulp(b':<fM\xa6'), '\144' + chr(101) + chr(99) + '\x6f' + chr(0b11101 + 0o107) + '\x65')(chr(0b1110101) + chr(7016 - 6900) + '\146' + chr(0b101101) + chr(56))], figsize=(nzTpIcepk0o8('\x30' + chr(111) + chr(53), 8), nzTpIcepk0o8('\060' + '\x6f' + '\065', 8)))
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\t%{P\x9c\xbcr'), chr(0b1100100) + chr(101) + chr(0b1100010 + 0o1) + chr(111) + '\x64' + chr(637 - 536))(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + '\055' + chr(56)))(IiyVhUWcOChp[roI3spqORKae(ES5oEprVxulp(b':<fM\xa6'), chr(100) + chr(0b1100101) + '\x63' + '\x6f' + chr(0b1000110 + 0o36) + chr(0b1100101))(chr(0b1110101) + chr(0b1010001 + 0o43) + chr(0b1100110) + chr(0b101101) + chr(56))], kU9f8JZiVl9F, vtiClFMrrf9P, sym=roI3spqORKae(ES5oEprVxulp(b'W'), '\144' + '\x65' + chr(0b1100011) + chr(0b1001111 + 0o40) + chr(0b1100000 + 0o4) + '\145')('\x75' + '\x74' + '\x66' + chr(45) + chr(56)), xlab=roI3spqORKae(ES5oEprVxulp(b'*%}@\xaa\xaal\xd6m;\x0c\x10\xca\x17r9g\x88\xceZg\xb2*\xe1\x8cc\x02\xb7;\x96'), '\x64' + chr(101) + chr(0b1100011) + chr(111) + '\x64' + chr(0b1100101))(chr(0b1110101) + chr(0b110001 + 0o103) + '\146' + chr(45) + chr(0b111000)), ylab=roI3spqORKae(ES5oEprVxulp(b':<fM\xa6\xe4_\x93W"'), '\144' + '\145' + chr(2076 - 1977) + '\157' + chr(0b1100100) + chr(9124 - 9023))('\165' + '\x74' + chr(0b0 + 0o146) + chr(45) + chr(2587 - 2531)), title=roI3spqORKae(ES5oEprVxulp(b':<fM\xa6\xe4X\x82[&\x0b\x07\xd1\t1\x1d'), chr(0b1001000 + 0o34) + chr(101) + chr(4108 - 4009) + chr(0b1101111) + chr(100) + chr(0b1001100 + 0o31))(chr(0b100 + 0o161) + chr(3564 - 3448) + '\x66' + chr(0b1110 + 0o37) + chr(2781 - 2725)))
wR5_YWECjaY7 = {}
for QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(IiyVhUWcOChp, roI3spqORKae(ES5oEprVxulp(b'\x12,mW'), chr(0b1100100) + chr(101) + '\143' + chr(0b110000 + 0o77) + chr(0b1100100) + chr(5058 - 4957))('\x75' + chr(1795 - 1679) + chr(102) + chr(216 - 171) + chr(0b111000)))()):
wR5_YWECjaY7[QYodcsDtoGq7] = N9zlRy29S1SS(QYodcsDtoGq7) + roI3spqORKae(ES5oEprVxulp(b'W'), chr(9334 - 9234) + '\145' + '\143' + chr(0b1101111) + '\144' + '\x65')(chr(0b1110101) + chr(116) + chr(0b1100110) + chr(1770 - 1725) + '\070') + JummcHpaNLEw
if mwgZMvWSpAHg:
for QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(IiyVhUWcOChp, roI3spqORKae(ES5oEprVxulp(b'\x12,mW'), '\144' + '\145' + chr(0b1100011) + chr(9657 - 9546) + '\x64' + '\145')(chr(0b1110101) + chr(2144 - 2028) + chr(3062 - 2960) + chr(45) + chr(0b111000)))()):
try:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\x1c:$~\xf5\xa0q\xb5R\x01.A'), chr(6992 - 6892) + chr(0b1100101) + chr(0b1100011) + chr(111) + chr(100) + chr(0b1010010 + 0o23))('\x75' + chr(3116 - 3000) + chr(0b1100110) + chr(0b101101) + chr(0b111000)))(num=IiyVhUWcOChp[QYodcsDtoGq7])
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\n(bA\xa5\xadl'), '\x64' + chr(9026 - 8925) + chr(99) + chr(111) + '\144' + chr(6148 - 6047))(chr(0b1000000 + 0o65) + chr(116) + chr(0b11 + 0o143) + '\055' + '\070'))(S_yV4Ytx3yb1 + roI3spqORKae(ES5oEprVxulp(b'V'), chr(0b101101 + 0o67) + chr(6937 - 6836) + chr(5943 - 5844) + chr(0b1101111) + chr(0b1100100) + chr(0b1100101))('\x75' + chr(116) + '\146' + chr(45) + '\070') + roI3spqORKae(wR5_YWECjaY7[QYodcsDtoGq7], roI3spqORKae(ES5oEprVxulp(b'<p%@\xa1\xb5D\xacb\x10\x12>'), '\x64' + chr(0b1100101) + chr(99) + chr(0b1101111) + chr(5558 - 5458) + chr(101))(chr(8833 - 8716) + '\x74' + chr(0b1100110) + '\055' + '\x38'))(roI3spqORKae(ES5oEprVxulp(b'V'), '\144' + chr(688 - 587) + chr(0b101010 + 0o71) + chr(0b10010 + 0o135) + '\x64' + '\x65')('\165' + chr(116) + chr(102) + chr(45) + '\070'), roI3spqORKae(ES5oEprVxulp(b'T'), chr(0b1100100) + chr(0b1100101) + chr(0b1001001 + 0o32) + chr(1737 - 1626) + chr(7625 - 7525) + chr(0b1100101))(chr(117) + chr(5371 - 5255) + chr(1881 - 1779) + chr(45) + chr(0b111000))))
except UtiWT6f6p9yZ:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x1a&aH\xa7\xe4e\x99Nr\x11\x15\xd3\x05hN'), '\144' + chr(101) + chr(99) + chr(6787 - 6676) + chr(100) + '\x65')('\165' + chr(0b1101100 + 0o10) + chr(102) + chr(0b101101) + '\x38'), IiyVhUWcOChp[QYodcsDtoGq7], wR5_YWECjaY7[QYodcsDtoGq7])
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x16<`T\xb6\xb0+\x90S>\x07T\xc3\x0f \x03o\x98\x9a\\(\xeen\xf7\x9ea\x17\xbd:\xcb\xcd`\xf4'), chr(100) + chr(0b1100101) + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(0b11110 + 0o107))(chr(1423 - 1306) + '\x74' + chr(102) + chr(1595 - 1550) + chr(0b111000)))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\x1f\x1eQI\xa6\x8c\\\x82e\r.\x0e'), '\x64' + '\145' + chr(0b1100011) + '\x6f' + '\144' + chr(10125 - 10024))(chr(0b1110101) + chr(0b1001110 + 0o46) + chr(0b1000110 + 0o40) + '\055' + chr(0b111000)))()
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
chi_magic2
|
def chi_magic2(path_to_file='.', file_name='magic_measurements.txt',
save=False, save_folder='.', fmt='svg'):
"""
Generates plots that compare susceptibility to temperature at different
frequencies.
Optional Parameters (defaults are used if not specified)
----------
path_to_file : path to directory that contains file (default is current directory, '.')
file_name : name of file to be opened (default is 'magic_measurements.txt')
save : boolean argument to save plots (default is False)
save_folder : relative directory where plots will be saved (default is current directory, '.')
"""
cont, FTinit, BTinit, k = "", 0, 0, 0
complete_path = os.path.join(path_to_file, file_name)
Tind, cont = 0, ""
EXP = ""
#
meas_data, file_type = pmag.magic_read(complete_path)
#
# get list of unique experiment names
#
# initialize some variables (a continuation flag, plot initialization
# flags and the experiment counter
experiment_names = []
for rec in meas_data:
if rec['magic_experiment_name'] not in experiment_names:
experiment_names.append(rec['magic_experiment_name'])
#
# hunt through by experiment name
if EXP != "":
try:
k = experiment_names.index(EXP)
except:
print("Bad experiment name")
sys.exit()
while k < len(experiment_names):
e = experiment_names[k]
if EXP == "":
print(e, k + 1, 'out of ', len(experiment_names))
#
# initialize lists of data, susceptibility, temperature, frequency and
# field
X, T, F, B = [], [], [], []
for rec in meas_data:
methcodes = rec['magic_method_codes']
meths = methcodes.strip().split(':')
if rec['magic_experiment_name'] == e and "LP-X" in meths: # looking for chi measurement
if 'measurement_temp' not in list(rec.keys()):
rec['measurement_temp'] = '300' # set defaults
if 'measurement_freq' not in list(rec.keys()):
rec['measurement_freq'] = '0' # set defaults
if 'measurement_lab_field_ac' not in list(rec.keys()):
rec['measurement_lab_field_ac'] = '0' # set default
X.append(float(rec['measurement_x']))
T.append(float(rec['measurement_temp']))
F.append(float(rec['measurement_freq']))
B.append(float(rec['measurement_lab_field_ac']))
#
# get unique list of Ts,Fs, and Bs
#
Ts, Fs, Bs = [], [], []
for k in range(len(X)): # hunt through all the measurements
if T[k] not in Ts:
Ts.append(T[k]) # append if not in list
if F[k] not in Fs:
Fs.append(F[k])
if B[k] not in Bs:
Bs.append(B[k])
Ts.sort() # sort list of temperatures, frequencies and fields
Fs.sort()
Bs.sort()
if '-x' in sys.argv:
k = len(experiment_names) + 1 # just plot the one
else:
k += 1 # increment experiment number
#
# plot chi versus T and F holding B constant
#
plotnum = 1 # initialize plot number to 1
if len(X) > 2: # if there are any data to plot, continue
b = Bs[-1] # keeping field constant and at maximum
XTF = [] # initialize list of chi versus Temp and freq
for f in Fs: # step through frequencies sequentially
XT = [] # initialize list of chi versus temp
for kk in range(len(X)): # hunt through all the data
if F[kk] == f and B[kk] == b: # select data with given freq and field
XT.append([X[kk], T[kk]]) # append to list
XTF.append(XT) # append list to list of frequencies
if len(XT) > 1: # if there are any temperature dependent data
plt.figure(num=plotnum, figsize=(5, 5)) # initialize plot
# call the plotting function
pmagplotlib.plot_xtf(plotnum, XTF, Fs, e, b)
pmagplotlib.show_fig(plotnum)
plotnum += 1 # increment plot number
f = Fs[0] # set frequency to minimum
XTB = [] # initialize list if chi versus Temp and field
for b in Bs: # step through field values
XT = [] # initial chi versus temp list for this field
for kk in range(len(X)): # hunt through all the data
if F[kk] == f and B[kk] == b: # select data with given freq and field
XT.append([X[kk], T[kk]]) # append to list
XTB.append(XT)
if len(XT) > 1: # if there are any temperature dependent data
plt.figure(num=plotnum, figsize=(5, 5)) # set up plot
# call the plotting function
pmagplotlib.plot_xtb(plotnum, XTB, Bs, e, f)
pmagplotlib.show_fig(plotnum)
plotnum += 1 # increment plot number
if save == True:
files = {}
PLTS = {}
for p in range(1, plotnum):
key = str(p)
files[key] = e + '_' + key + '.' + fmt
PLTS[key] = p
for key in list(PLTS.keys()):
try:
plt.figure(num=PLTS[key])
plt.savefig(save_folder + '/' +
files[key].replace('/', '-'))
except:
print('could not save: ', PLTS[key], files[key])
print("output file format not supported ")
|
python
|
def chi_magic2(path_to_file='.', file_name='magic_measurements.txt',
save=False, save_folder='.', fmt='svg'):
"""
Generates plots that compare susceptibility to temperature at different
frequencies.
Optional Parameters (defaults are used if not specified)
----------
path_to_file : path to directory that contains file (default is current directory, '.')
file_name : name of file to be opened (default is 'magic_measurements.txt')
save : boolean argument to save plots (default is False)
save_folder : relative directory where plots will be saved (default is current directory, '.')
"""
cont, FTinit, BTinit, k = "", 0, 0, 0
complete_path = os.path.join(path_to_file, file_name)
Tind, cont = 0, ""
EXP = ""
#
meas_data, file_type = pmag.magic_read(complete_path)
#
# get list of unique experiment names
#
# initialize some variables (a continuation flag, plot initialization
# flags and the experiment counter
experiment_names = []
for rec in meas_data:
if rec['magic_experiment_name'] not in experiment_names:
experiment_names.append(rec['magic_experiment_name'])
#
# hunt through by experiment name
if EXP != "":
try:
k = experiment_names.index(EXP)
except:
print("Bad experiment name")
sys.exit()
while k < len(experiment_names):
e = experiment_names[k]
if EXP == "":
print(e, k + 1, 'out of ', len(experiment_names))
#
# initialize lists of data, susceptibility, temperature, frequency and
# field
X, T, F, B = [], [], [], []
for rec in meas_data:
methcodes = rec['magic_method_codes']
meths = methcodes.strip().split(':')
if rec['magic_experiment_name'] == e and "LP-X" in meths: # looking for chi measurement
if 'measurement_temp' not in list(rec.keys()):
rec['measurement_temp'] = '300' # set defaults
if 'measurement_freq' not in list(rec.keys()):
rec['measurement_freq'] = '0' # set defaults
if 'measurement_lab_field_ac' not in list(rec.keys()):
rec['measurement_lab_field_ac'] = '0' # set default
X.append(float(rec['measurement_x']))
T.append(float(rec['measurement_temp']))
F.append(float(rec['measurement_freq']))
B.append(float(rec['measurement_lab_field_ac']))
#
# get unique list of Ts,Fs, and Bs
#
Ts, Fs, Bs = [], [], []
for k in range(len(X)): # hunt through all the measurements
if T[k] not in Ts:
Ts.append(T[k]) # append if not in list
if F[k] not in Fs:
Fs.append(F[k])
if B[k] not in Bs:
Bs.append(B[k])
Ts.sort() # sort list of temperatures, frequencies and fields
Fs.sort()
Bs.sort()
if '-x' in sys.argv:
k = len(experiment_names) + 1 # just plot the one
else:
k += 1 # increment experiment number
#
# plot chi versus T and F holding B constant
#
plotnum = 1 # initialize plot number to 1
if len(X) > 2: # if there are any data to plot, continue
b = Bs[-1] # keeping field constant and at maximum
XTF = [] # initialize list of chi versus Temp and freq
for f in Fs: # step through frequencies sequentially
XT = [] # initialize list of chi versus temp
for kk in range(len(X)): # hunt through all the data
if F[kk] == f and B[kk] == b: # select data with given freq and field
XT.append([X[kk], T[kk]]) # append to list
XTF.append(XT) # append list to list of frequencies
if len(XT) > 1: # if there are any temperature dependent data
plt.figure(num=plotnum, figsize=(5, 5)) # initialize plot
# call the plotting function
pmagplotlib.plot_xtf(plotnum, XTF, Fs, e, b)
pmagplotlib.show_fig(plotnum)
plotnum += 1 # increment plot number
f = Fs[0] # set frequency to minimum
XTB = [] # initialize list if chi versus Temp and field
for b in Bs: # step through field values
XT = [] # initial chi versus temp list for this field
for kk in range(len(X)): # hunt through all the data
if F[kk] == f and B[kk] == b: # select data with given freq and field
XT.append([X[kk], T[kk]]) # append to list
XTB.append(XT)
if len(XT) > 1: # if there are any temperature dependent data
plt.figure(num=plotnum, figsize=(5, 5)) # set up plot
# call the plotting function
pmagplotlib.plot_xtb(plotnum, XTB, Bs, e, f)
pmagplotlib.show_fig(plotnum)
plotnum += 1 # increment plot number
if save == True:
files = {}
PLTS = {}
for p in range(1, plotnum):
key = str(p)
files[key] = e + '_' + key + '.' + fmt
PLTS[key] = p
for key in list(PLTS.keys()):
try:
plt.figure(num=PLTS[key])
plt.savefig(save_folder + '/' +
files[key].replace('/', '-'))
except:
print('could not save: ', PLTS[key], files[key])
print("output file format not supported ")
|
[
"def",
"chi_magic2",
"(",
"path_to_file",
"=",
"'.'",
",",
"file_name",
"=",
"'magic_measurements.txt'",
",",
"save",
"=",
"False",
",",
"save_folder",
"=",
"'.'",
",",
"fmt",
"=",
"'svg'",
")",
":",
"cont",
",",
"FTinit",
",",
"BTinit",
",",
"k",
"=",
"\"\"",
",",
"0",
",",
"0",
",",
"0",
"complete_path",
"=",
"os",
".",
"path",
".",
"join",
"(",
"path_to_file",
",",
"file_name",
")",
"Tind",
",",
"cont",
"=",
"0",
",",
"\"\"",
"EXP",
"=",
"\"\"",
"#",
"meas_data",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"complete_path",
")",
"#",
"# get list of unique experiment names",
"#",
"# initialize some variables (a continuation flag, plot initialization",
"# flags and the experiment counter",
"experiment_names",
"=",
"[",
"]",
"for",
"rec",
"in",
"meas_data",
":",
"if",
"rec",
"[",
"'magic_experiment_name'",
"]",
"not",
"in",
"experiment_names",
":",
"experiment_names",
".",
"append",
"(",
"rec",
"[",
"'magic_experiment_name'",
"]",
")",
"#",
"# hunt through by experiment name",
"if",
"EXP",
"!=",
"\"\"",
":",
"try",
":",
"k",
"=",
"experiment_names",
".",
"index",
"(",
"EXP",
")",
"except",
":",
"print",
"(",
"\"Bad experiment name\"",
")",
"sys",
".",
"exit",
"(",
")",
"while",
"k",
"<",
"len",
"(",
"experiment_names",
")",
":",
"e",
"=",
"experiment_names",
"[",
"k",
"]",
"if",
"EXP",
"==",
"\"\"",
":",
"print",
"(",
"e",
",",
"k",
"+",
"1",
",",
"'out of '",
",",
"len",
"(",
"experiment_names",
")",
")",
"#",
"# initialize lists of data, susceptibility, temperature, frequency and",
"# field",
"X",
",",
"T",
",",
"F",
",",
"B",
"=",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
"for",
"rec",
"in",
"meas_data",
":",
"methcodes",
"=",
"rec",
"[",
"'magic_method_codes'",
"]",
"meths",
"=",
"methcodes",
".",
"strip",
"(",
")",
".",
"split",
"(",
"':'",
")",
"if",
"rec",
"[",
"'magic_experiment_name'",
"]",
"==",
"e",
"and",
"\"LP-X\"",
"in",
"meths",
":",
"# looking for chi measurement",
"if",
"'measurement_temp'",
"not",
"in",
"list",
"(",
"rec",
".",
"keys",
"(",
")",
")",
":",
"rec",
"[",
"'measurement_temp'",
"]",
"=",
"'300'",
"# set defaults",
"if",
"'measurement_freq'",
"not",
"in",
"list",
"(",
"rec",
".",
"keys",
"(",
")",
")",
":",
"rec",
"[",
"'measurement_freq'",
"]",
"=",
"'0'",
"# set defaults",
"if",
"'measurement_lab_field_ac'",
"not",
"in",
"list",
"(",
"rec",
".",
"keys",
"(",
")",
")",
":",
"rec",
"[",
"'measurement_lab_field_ac'",
"]",
"=",
"'0'",
"# set default",
"X",
".",
"append",
"(",
"float",
"(",
"rec",
"[",
"'measurement_x'",
"]",
")",
")",
"T",
".",
"append",
"(",
"float",
"(",
"rec",
"[",
"'measurement_temp'",
"]",
")",
")",
"F",
".",
"append",
"(",
"float",
"(",
"rec",
"[",
"'measurement_freq'",
"]",
")",
")",
"B",
".",
"append",
"(",
"float",
"(",
"rec",
"[",
"'measurement_lab_field_ac'",
"]",
")",
")",
"#",
"# get unique list of Ts,Fs, and Bs",
"#",
"Ts",
",",
"Fs",
",",
"Bs",
"=",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
"for",
"k",
"in",
"range",
"(",
"len",
"(",
"X",
")",
")",
":",
"# hunt through all the measurements",
"if",
"T",
"[",
"k",
"]",
"not",
"in",
"Ts",
":",
"Ts",
".",
"append",
"(",
"T",
"[",
"k",
"]",
")",
"# append if not in list",
"if",
"F",
"[",
"k",
"]",
"not",
"in",
"Fs",
":",
"Fs",
".",
"append",
"(",
"F",
"[",
"k",
"]",
")",
"if",
"B",
"[",
"k",
"]",
"not",
"in",
"Bs",
":",
"Bs",
".",
"append",
"(",
"B",
"[",
"k",
"]",
")",
"Ts",
".",
"sort",
"(",
")",
"# sort list of temperatures, frequencies and fields",
"Fs",
".",
"sort",
"(",
")",
"Bs",
".",
"sort",
"(",
")",
"if",
"'-x'",
"in",
"sys",
".",
"argv",
":",
"k",
"=",
"len",
"(",
"experiment_names",
")",
"+",
"1",
"# just plot the one",
"else",
":",
"k",
"+=",
"1",
"# increment experiment number",
"#",
"# plot chi versus T and F holding B constant",
"#",
"plotnum",
"=",
"1",
"# initialize plot number to 1",
"if",
"len",
"(",
"X",
")",
">",
"2",
":",
"# if there are any data to plot, continue",
"b",
"=",
"Bs",
"[",
"-",
"1",
"]",
"# keeping field constant and at maximum",
"XTF",
"=",
"[",
"]",
"# initialize list of chi versus Temp and freq",
"for",
"f",
"in",
"Fs",
":",
"# step through frequencies sequentially",
"XT",
"=",
"[",
"]",
"# initialize list of chi versus temp",
"for",
"kk",
"in",
"range",
"(",
"len",
"(",
"X",
")",
")",
":",
"# hunt through all the data",
"if",
"F",
"[",
"kk",
"]",
"==",
"f",
"and",
"B",
"[",
"kk",
"]",
"==",
"b",
":",
"# select data with given freq and field",
"XT",
".",
"append",
"(",
"[",
"X",
"[",
"kk",
"]",
",",
"T",
"[",
"kk",
"]",
"]",
")",
"# append to list",
"XTF",
".",
"append",
"(",
"XT",
")",
"# append list to list of frequencies",
"if",
"len",
"(",
"XT",
")",
">",
"1",
":",
"# if there are any temperature dependent data",
"plt",
".",
"figure",
"(",
"num",
"=",
"plotnum",
",",
"figsize",
"=",
"(",
"5",
",",
"5",
")",
")",
"# initialize plot",
"# call the plotting function",
"pmagplotlib",
".",
"plot_xtf",
"(",
"plotnum",
",",
"XTF",
",",
"Fs",
",",
"e",
",",
"b",
")",
"pmagplotlib",
".",
"show_fig",
"(",
"plotnum",
")",
"plotnum",
"+=",
"1",
"# increment plot number",
"f",
"=",
"Fs",
"[",
"0",
"]",
"# set frequency to minimum",
"XTB",
"=",
"[",
"]",
"# initialize list if chi versus Temp and field",
"for",
"b",
"in",
"Bs",
":",
"# step through field values",
"XT",
"=",
"[",
"]",
"# initial chi versus temp list for this field",
"for",
"kk",
"in",
"range",
"(",
"len",
"(",
"X",
")",
")",
":",
"# hunt through all the data",
"if",
"F",
"[",
"kk",
"]",
"==",
"f",
"and",
"B",
"[",
"kk",
"]",
"==",
"b",
":",
"# select data with given freq and field",
"XT",
".",
"append",
"(",
"[",
"X",
"[",
"kk",
"]",
",",
"T",
"[",
"kk",
"]",
"]",
")",
"# append to list",
"XTB",
".",
"append",
"(",
"XT",
")",
"if",
"len",
"(",
"XT",
")",
">",
"1",
":",
"# if there are any temperature dependent data",
"plt",
".",
"figure",
"(",
"num",
"=",
"plotnum",
",",
"figsize",
"=",
"(",
"5",
",",
"5",
")",
")",
"# set up plot",
"# call the plotting function",
"pmagplotlib",
".",
"plot_xtb",
"(",
"plotnum",
",",
"XTB",
",",
"Bs",
",",
"e",
",",
"f",
")",
"pmagplotlib",
".",
"show_fig",
"(",
"plotnum",
")",
"plotnum",
"+=",
"1",
"# increment plot number",
"if",
"save",
"==",
"True",
":",
"files",
"=",
"{",
"}",
"PLTS",
"=",
"{",
"}",
"for",
"p",
"in",
"range",
"(",
"1",
",",
"plotnum",
")",
":",
"key",
"=",
"str",
"(",
"p",
")",
"files",
"[",
"key",
"]",
"=",
"e",
"+",
"'_'",
"+",
"key",
"+",
"'.'",
"+",
"fmt",
"PLTS",
"[",
"key",
"]",
"=",
"p",
"for",
"key",
"in",
"list",
"(",
"PLTS",
".",
"keys",
"(",
")",
")",
":",
"try",
":",
"plt",
".",
"figure",
"(",
"num",
"=",
"PLTS",
"[",
"key",
"]",
")",
"plt",
".",
"savefig",
"(",
"save_folder",
"+",
"'/'",
"+",
"files",
"[",
"key",
"]",
".",
"replace",
"(",
"'/'",
",",
"'-'",
")",
")",
"except",
":",
"print",
"(",
"'could not save: '",
",",
"PLTS",
"[",
"key",
"]",
",",
"files",
"[",
"key",
"]",
")",
"print",
"(",
"\"output file format not supported \"",
")"
] |
Generates plots that compare susceptibility to temperature at different
frequencies.
Optional Parameters (defaults are used if not specified)
----------
path_to_file : path to directory that contains file (default is current directory, '.')
file_name : name of file to be opened (default is 'magic_measurements.txt')
save : boolean argument to save plots (default is False)
save_folder : relative directory where plots will be saved (default is current directory, '.')
|
[
"Generates",
"plots",
"that",
"compare",
"susceptibility",
"to",
"temperature",
"at",
"different",
"frequencies",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L6971-L7094
|
train
|
Generates a chi - plot of the magic_measurements. txt file.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8('\x30' + chr(9176 - 9065) + chr(1514 - 1460) + chr(55), 0o10), nzTpIcepk0o8(chr(48) + chr(111) + chr(1665 - 1615) + chr(2398 - 2345) + chr(53), 46684 - 46676), nzTpIcepk0o8(chr(0b101101 + 0o3) + chr(0b100100 + 0o113) + chr(1847 - 1798) + chr(0b110100) + chr(0b110101), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b101001 + 0o106) + chr(0b10110 + 0o36) + chr(50), 0o10), nzTpIcepk0o8('\x30' + chr(2451 - 2340) + chr(0b11010 + 0o35) + '\064', ord("\x08")), nzTpIcepk0o8(chr(0b101001 + 0o7) + '\x6f' + chr(51) + '\x37' + '\062', 0o10), nzTpIcepk0o8(chr(48) + chr(9541 - 9430) + chr(49) + chr(0b110110), 52655 - 52647), nzTpIcepk0o8(chr(0b10001 + 0o37) + chr(11498 - 11387) + chr(0b1010 + 0o50) + '\061' + '\x32', 16440 - 16432), nzTpIcepk0o8(chr(1941 - 1893) + chr(8123 - 8012) + chr(0b110010) + chr(0b110000) + '\x33', 0b1000), nzTpIcepk0o8('\x30' + chr(111) + chr(0b101 + 0o56) + chr(668 - 619) + '\x30', 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b100010 + 0o20) + chr(2564 - 2509), 0b1000), nzTpIcepk0o8('\060' + chr(0b10001 + 0o136) + chr(0b11010 + 0o31) + chr(0b110110) + chr(0b110111), ord("\x08")), nzTpIcepk0o8(chr(687 - 639) + chr(111) + chr(1868 - 1818) + '\062' + chr(1571 - 1523), 0b1000), nzTpIcepk0o8(chr(48) + '\157' + chr(0b11 + 0o60) + '\062' + chr(0b110011), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1101111) + '\066' + chr(1432 - 1381), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110010) + '\x30' + '\x37', 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(1252 - 1141) + chr(1004 - 955) + '\x31', 0b1000), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(909 - 859) + chr(54) + chr(0b10011 + 0o35), 61642 - 61634), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b1100 + 0o47) + chr(0b110111) + chr(0b110110), 0b1000), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(49) + '\x31' + chr(0b101010 + 0o12), 0o10), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(1175 - 1125) + chr(2613 - 2561) + chr(271 - 221), 58682 - 58674), nzTpIcepk0o8(chr(0b11100 + 0o24) + chr(0b1001110 + 0o41) + chr(0b11000 + 0o33) + chr(0b110110) + chr(0b110001 + 0o4), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b111001 + 0o66) + '\061' + chr(0b101 + 0o62) + chr(51), ord("\x08")), nzTpIcepk0o8(chr(0b10001 + 0o37) + chr(111) + '\x33' + chr(0b11000 + 0o33) + '\064', ord("\x08")), nzTpIcepk0o8(chr(0b110 + 0o52) + '\x6f' + chr(0b110001) + chr(0b101011 + 0o13) + chr(54), 0o10), nzTpIcepk0o8('\060' + '\x6f' + chr(0b11100 + 0o31) + '\x37', 20935 - 20927), nzTpIcepk0o8(chr(48) + '\157' + '\067' + chr(54), 0b1000), nzTpIcepk0o8(chr(0b110000) + '\157' + '\x32' + chr(50) + chr(962 - 908), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(51) + chr(0b110010) + '\x34', ord("\x08")), nzTpIcepk0o8(chr(0b101011 + 0o5) + chr(0b1101111) + '\x31' + '\062' + '\061', 0b1000), nzTpIcepk0o8(chr(48) + '\x6f' + chr(1756 - 1705) + chr(0b110101) + chr(0b1 + 0o57), 23314 - 23306), nzTpIcepk0o8(chr(48) + chr(6956 - 6845) + chr(2659 - 2606) + chr(0b110001), 15034 - 15026), nzTpIcepk0o8('\x30' + '\157' + chr(0b110001) + chr(0b100101 + 0o20) + chr(753 - 704), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(51) + chr(0b110000) + chr(0b110101), 0o10), nzTpIcepk0o8(chr(48) + chr(0b111101 + 0o62) + chr(50) + '\x34' + chr(55), 0b1000), nzTpIcepk0o8('\060' + chr(0b1010001 + 0o36) + chr(0b110011) + '\x30' + '\064', ord("\x08")), nzTpIcepk0o8(chr(959 - 911) + chr(111) + chr(349 - 299) + '\065' + '\062', 0b1000), nzTpIcepk0o8(chr(1145 - 1097) + chr(0b1001010 + 0o45) + chr(0b10011 + 0o42) + chr(53), 0o10), nzTpIcepk0o8(chr(0b100100 + 0o14) + '\157' + chr(1002 - 951) + '\067' + '\x31', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(1017 - 906) + '\x35' + chr(0b101011 + 0o12), 8)][ZlbFMSG8gCoF % nzTpIcepk0o8('\060' + chr(0b1000111 + 0o50) + chr(0b101001 + 0o14) + '\060', ord("\x08"))] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\x19'), chr(9810 - 9710) + '\145' + chr(99) + '\157' + chr(7520 - 7420) + chr(101))('\x75' + chr(116) + chr(0b1100110) + '\x2d' + chr(56)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def gI5ikkQsIcnF(SBXaGBkMY5xD=roI3spqORKae(ES5oEprVxulp(b'\x19'), chr(0b111111 + 0o45) + '\145' + '\143' + '\x6f' + '\x64' + '\x65')(chr(5009 - 4892) + chr(116) + chr(0b111110 + 0o50) + chr(1450 - 1405) + chr(3118 - 3062)), Ob89R3fsHgUT=roI3spqORKae(ES5oEprVxulp(b'Z\xcc\x02K_\xa5c\xef\xe2\xbbb\x85\xf5\xbeV\xe9}\xc3\xd08\xda\x81'), chr(100) + '\145' + chr(3797 - 3698) + chr(0b1001010 + 0o45) + '\x64' + '\145')(chr(0b1110101) + chr(116) + chr(1665 - 1563) + chr(0b101101) + '\x38'), mwgZMvWSpAHg=nzTpIcepk0o8(chr(0b110000) + chr(10799 - 10688) + chr(880 - 832), 31384 - 31376), S_yV4Ytx3yb1=roI3spqORKae(ES5oEprVxulp(b'\x19'), '\x64' + '\145' + chr(99) + chr(12037 - 11926) + '\x64' + chr(0b1100101))(chr(117) + chr(0b1110100) + chr(0b1100110) + chr(0b111 + 0o46) + chr(2450 - 2394)), JummcHpaNLEw=roI3spqORKae(ES5oEprVxulp(b'D\xdb\x02'), chr(9032 - 8932) + chr(0b0 + 0o145) + '\x63' + '\157' + chr(0b1010001 + 0o23) + chr(0b1100101))(chr(117) + chr(8623 - 8507) + chr(0b111100 + 0o52) + chr(1448 - 1403) + chr(56))):
(iEp7RVc3AijG, P2nn0RAGKoWA, FFyEPaPndl2I, B6UAF1zReOyJ) = (roI3spqORKae(ES5oEprVxulp(b''), chr(100) + '\x65' + chr(0b1100011) + '\157' + chr(0b1001100 + 0o30) + chr(101))(chr(0b1110101) + '\x74' + chr(0b1100110) + '\x2d' + chr(0b111000)), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(407 - 359), 8), nzTpIcepk0o8(chr(72 - 24) + '\x6f' + chr(48), 8), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(2139 - 2091), 8))
ietcUwMbEaXc = aHUqKstZLeS6.path.Y4yM9BcfTCNq(SBXaGBkMY5xD, Ob89R3fsHgUT)
(yvoNkTAEw3kV, iEp7RVc3AijG) = (nzTpIcepk0o8('\060' + chr(0b101011 + 0o104) + chr(48), 8), roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + '\x65' + chr(99) + chr(0b1101111) + '\144' + '\x65')('\x75' + '\x74' + chr(0b101100 + 0o72) + chr(69 - 24) + chr(0b101100 + 0o14)))
JWEo7uQK63lh = roI3spqORKae(ES5oEprVxulp(b''), chr(3418 - 3318) + '\x65' + chr(0b11110 + 0o105) + chr(0b10001 + 0o136) + chr(0b1100100) + '\x65')(chr(0b100111 + 0o116) + chr(0b1110100) + '\146' + chr(0b101101) + '\070')
(wx5Y9SFJEaEM, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(ietcUwMbEaXc)
gt6ao1JZFMmK = []
for FKO_XxLfWbYt in wx5Y9SFJEaEM:
if FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'Z\xcc\x02K_\xa5k\xf2\xf3\xade\x9e\xfd\xb6]\xf3V\xde\x9f!\xc7'), chr(2088 - 1988) + chr(1812 - 1711) + chr(780 - 681) + chr(0b1101111) + chr(3430 - 3330) + chr(7467 - 7366))('\x75' + chr(5048 - 4932) + chr(0b111101 + 0o51) + chr(0b11001 + 0o24) + chr(0b111000))] not in gt6ao1JZFMmK:
roI3spqORKae(gt6ao1JZFMmK, roI3spqORKae(ES5oEprVxulp(b'\x7f\xf96\x16D\x9dI\xe5\xe9\xa7B\xc2'), chr(1751 - 1651) + chr(1642 - 1541) + chr(99) + chr(111) + chr(0b1011010 + 0o12) + chr(101))(chr(12114 - 11997) + '\x74' + chr(0b111 + 0o137) + '\055' + chr(0b1010 + 0o56)))(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'Z\xcc\x02K_\xa5k\xf2\xf3\xade\x9e\xfd\xb6]\xf3V\xde\x9f!\xc7'), '\x64' + chr(0b1100101) + chr(0b1100011) + chr(111) + chr(3619 - 3519) + '\145')(chr(117) + chr(0b1110100) + chr(102) + '\x2d' + chr(56))])
if JWEo7uQK63lh != roI3spqORKae(ES5oEprVxulp(b''), chr(100) + '\145' + chr(0b111110 + 0o45) + chr(10767 - 10656) + chr(100) + chr(714 - 613))(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + chr(0b100111 + 0o6) + '\x38'):
try:
B6UAF1zReOyJ = gt6ao1JZFMmK.ZpfN5tSLaZze(JWEo7uQK63lh)
except UtiWT6f6p9yZ:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'u\xcc\x01\x02Y\x82~\xef\xf1\xa1z\x92\xfe\xa7\x13\xe9h\xdd\x9b'), chr(0b101100 + 0o70) + chr(0b1011010 + 0o13) + chr(0b1100011) + '\x6f' + chr(100) + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + '\x66' + '\x2d' + chr(0b111000)))
roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'm\xd8\x17H_\xafB\xbb\xf0\xbbV\xcf'), '\x64' + chr(6148 - 6047) + chr(1970 - 1871) + chr(0b1100001 + 0o16) + chr(0b1011100 + 0o10) + '\x65')('\165' + chr(5688 - 5572) + chr(3345 - 3243) + chr(45) + chr(0b111000)))()
while B6UAF1zReOyJ < ftfygxgFas5X(gt6ao1JZFMmK):
wgf0sgcu_xPL = gt6ao1JZFMmK[B6UAF1zReOyJ]
if JWEo7uQK63lh == roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(101) + '\143' + chr(0b1101111) + chr(0b1100100) + chr(101))(chr(0b1110101) + '\x74' + chr(0b1100110) + chr(1070 - 1025) + chr(56)):
v8jsMqaYV6U2(wgf0sgcu_xPL, B6UAF1zReOyJ + nzTpIcepk0o8(chr(0b100101 + 0o13) + chr(0b1101111) + chr(49), 0b1000), roI3spqORKae(ES5oEprVxulp(b'X\xd8\x11\x02S\x9c.'), '\x64' + '\x65' + chr(0b1000011 + 0o40) + chr(0b101001 + 0o106) + chr(0b1100100) + chr(0b100101 + 0o100))(chr(0b1010 + 0o153) + '\x74' + chr(0b1100110) + chr(0b101101) + chr(56)), ftfygxgFas5X(gt6ao1JZFMmK))
(mxhyDqTAMpMC, hq6XE4_Nhd6R, GsKhodujj4DP, TQ0u0KgwFXN5) = ([], [], [], [])
for FKO_XxLfWbYt in wx5Y9SFJEaEM:
ayTBaXkHW6dY = FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'Z\xcc\x02K_\xa5c\xef\xf7\xa0x\x93\xcf\xb0\\\xe3l\xc3'), chr(6411 - 6311) + chr(0b100110 + 0o77) + chr(0b1100011) + chr(1295 - 1184) + chr(0b101111 + 0o65) + chr(101))(chr(6507 - 6390) + '\164' + chr(0b1100110) + '\x2d' + '\070')]
I810oeGL0u1g = ayTBaXkHW6dY.strip().LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\r'), '\x64' + chr(101) + '\x63' + chr(0b11010 + 0o125) + chr(0b1100100) + chr(0b1100000 + 0o5))(chr(0b10110 + 0o137) + chr(0b1110100) + chr(102) + chr(678 - 633) + chr(0b110110 + 0o2)))
if FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'Z\xcc\x02K_\xa5k\xf2\xf3\xade\x9e\xfd\xb6]\xf3V\xde\x9f!\xc7'), '\144' + chr(5721 - 5620) + '\143' + chr(0b1101111) + '\x64' + '\145')(chr(4723 - 4606) + '\164' + chr(2161 - 2059) + '\x2d' + chr(56))] == wgf0sgcu_xPL and roI3spqORKae(ES5oEprVxulp(b'{\xfdHz'), '\144' + chr(0b100001 + 0o104) + chr(0b11011 + 0o110) + chr(0b1101111) + chr(9988 - 9888) + chr(7800 - 7699))('\165' + chr(246 - 130) + chr(4765 - 4663) + chr(1973 - 1928) + '\070') in I810oeGL0u1g:
if roI3spqORKae(ES5oEprVxulp(b'Z\xc8\x04QI\x88k\xe7\xe6\xa6c\xa8\xe4\xb6^\xf7'), chr(0b100000 + 0o104) + chr(101) + chr(0b1100011) + '\157' + chr(0b1100 + 0o130) + chr(0b1100101))(chr(117) + '\x74' + chr(0b1100110) + chr(45) + chr(0b101100 + 0o14)) not in H4NoA26ON7iG(roI3spqORKae(FKO_XxLfWbYt, roI3spqORKae(ES5oEprVxulp(b'\\\xc8\x1cQ'), chr(3824 - 3724) + chr(101) + chr(99) + chr(1016 - 905) + chr(0b1100100) + chr(101))(chr(117) + '\164' + chr(102) + '\055' + '\070'))()):
FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'Z\xc8\x04QI\x88k\xe7\xe6\xa6c\xa8\xe4\xb6^\xf7'), chr(100) + chr(9796 - 9695) + chr(6026 - 5927) + chr(932 - 821) + '\x64' + '\145')('\x75' + '\164' + '\146' + '\055' + chr(2055 - 1999))] = roI3spqORKae(ES5oEprVxulp(b'\x04\x9dU'), chr(0b1100100) + chr(101) + chr(0b1010010 + 0o21) + '\157' + '\144' + chr(3434 - 3333))(chr(0b101000 + 0o115) + chr(6614 - 6498) + chr(0b110001 + 0o65) + '\x2d' + chr(0b111000))
if roI3spqORKae(ES5oEprVxulp(b'Z\xc8\x04QI\x88k\xe7\xe6\xa6c\xa8\xf6\xa1V\xf6'), chr(0b101101 + 0o67) + chr(247 - 146) + chr(0b11001 + 0o112) + chr(0b1101111) + chr(0b1100 + 0o130) + chr(0b1000001 + 0o44))(chr(0b1110101) + chr(0b101000 + 0o114) + chr(0b1100110) + chr(45) + chr(56)) not in H4NoA26ON7iG(roI3spqORKae(FKO_XxLfWbYt, roI3spqORKae(ES5oEprVxulp(b'\\\xc8\x1cQ'), '\x64' + '\145' + chr(0b1100011) + chr(5764 - 5653) + chr(0b111000 + 0o54) + chr(101))(chr(0b1110101) + chr(0b1110100) + chr(102) + chr(1750 - 1705) + chr(1139 - 1083)))()):
FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'Z\xc8\x04QI\x88k\xe7\xe6\xa6c\xa8\xf6\xa1V\xf6'), '\x64' + chr(0b1100101) + chr(0b110001 + 0o62) + '\x6f' + chr(0b1100100) + '\145')(chr(0b1101110 + 0o7) + '\x74' + '\146' + chr(902 - 857) + chr(1672 - 1616))] = roI3spqORKae(ES5oEprVxulp(b'\x07'), '\144' + '\145' + chr(7558 - 7459) + chr(0b100100 + 0o113) + chr(100) + chr(0b110111 + 0o56))(chr(0b10111 + 0o136) + chr(2954 - 2838) + '\x66' + chr(45) + '\070')
if roI3spqORKae(ES5oEprVxulp(b'Z\xc8\x04QI\x88k\xe7\xe6\xa6c\xa8\xfc\xb2Q\xd8o\xd9\x9b \xc6\xaa\x1a\xbf'), '\144' + '\145' + chr(99) + chr(0b1100100 + 0o13) + '\x64' + '\x65')(chr(117) + chr(649 - 533) + chr(0b1100110) + chr(45) + chr(0b111000)) not in H4NoA26ON7iG(roI3spqORKae(FKO_XxLfWbYt, roI3spqORKae(ES5oEprVxulp(b'\\\xc8\x1cQ'), '\x64' + '\145' + '\x63' + chr(521 - 410) + chr(0b1100100) + chr(0b1100101))(chr(0b1010 + 0o153) + chr(4121 - 4005) + '\x66' + '\055' + chr(56)))()):
FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'Z\xc8\x04QI\x88k\xe7\xe6\xa6c\xa8\xfc\xb2Q\xd8o\xd9\x9b \xc6\xaa\x1a\xbf'), chr(100) + '\x65' + '\143' + chr(111) + chr(100) + chr(0b111110 + 0o47))(chr(8852 - 8735) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(0b100111 + 0o21))] = roI3spqORKae(ES5oEprVxulp(b'\x07'), '\x64' + chr(101) + chr(2971 - 2872) + chr(111) + chr(0b1100100) + chr(9218 - 9117))(chr(8476 - 8359) + '\x74' + chr(1977 - 1875) + chr(109 - 64) + '\x38')
roI3spqORKae(mxhyDqTAMpMC, roI3spqORKae(ES5oEprVxulp(b'\x7f\xf96\x16D\x9dI\xe5\xe9\xa7B\xc2'), chr(1689 - 1589) + chr(0b1001110 + 0o27) + chr(0b1100011) + chr(111) + '\144' + chr(101))('\165' + '\164' + '\146' + '\x2d' + chr(56)))(jLW6pRf2DSRk(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'Z\xc8\x04QI\x88k\xe7\xe6\xa6c\xa8\xe8'), chr(8805 - 8705) + chr(0b11001 + 0o114) + chr(4725 - 4626) + '\x6f' + chr(100) + '\x65')(chr(0b111111 + 0o66) + chr(116) + '\146' + '\x2d' + chr(2838 - 2782))]))
roI3spqORKae(hq6XE4_Nhd6R, roI3spqORKae(ES5oEprVxulp(b'\x7f\xf96\x16D\x9dI\xe5\xe9\xa7B\xc2'), '\x64' + '\145' + '\x63' + '\x6f' + '\x64' + '\x65')(chr(0b1101 + 0o150) + chr(0b1110100) + chr(0b111000 + 0o56) + chr(604 - 559) + chr(0b0 + 0o70)))(jLW6pRf2DSRk(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'Z\xc8\x04QI\x88k\xe7\xe6\xa6c\xa8\xe4\xb6^\xf7'), '\x64' + chr(0b1100101) + '\x63' + chr(111) + '\x64' + chr(0b1100101))(chr(0b1110101) + chr(8727 - 8611) + chr(0b10100 + 0o122) + '\055' + chr(56))]))
roI3spqORKae(GsKhodujj4DP, roI3spqORKae(ES5oEprVxulp(b'\x7f\xf96\x16D\x9dI\xe5\xe9\xa7B\xc2'), '\x64' + '\x65' + chr(99) + chr(6235 - 6124) + chr(100) + chr(7668 - 7567))(chr(0b1110101) + chr(116) + '\146' + chr(1991 - 1946) + chr(2320 - 2264)))(jLW6pRf2DSRk(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'Z\xc8\x04QI\x88k\xe7\xe6\xa6c\xa8\xf6\xa1V\xf6'), chr(0b10 + 0o142) + '\145' + '\143' + '\x6f' + '\144' + '\x65')(chr(0b110111 + 0o76) + '\164' + chr(0b1100110) + '\055' + chr(0b11010 + 0o36))]))
roI3spqORKae(TQ0u0KgwFXN5, roI3spqORKae(ES5oEprVxulp(b'\x7f\xf96\x16D\x9dI\xe5\xe9\xa7B\xc2'), chr(100) + chr(797 - 696) + '\x63' + chr(0b1101111) + chr(0b1100100) + chr(0b11110 + 0o107))('\165' + '\x74' + chr(7197 - 7095) + chr(0b11 + 0o52) + chr(56)))(jLW6pRf2DSRk(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'Z\xc8\x04QI\x88k\xe7\xe6\xa6c\xa8\xfc\xb2Q\xd8o\xd9\x9b \xc6\xaa\x1a\xbf'), chr(0b1100100) + '\x65' + chr(0b1100011) + '\157' + chr(2039 - 1939) + '\145')(chr(10470 - 10353) + '\164' + chr(0b101100 + 0o72) + '\055' + '\x38')]))
(tqyVYRfJWofp, BVDpbFyb9Kc_, pqLJ7zHZNxCh) = ([], [], [])
for B6UAF1zReOyJ in bbT2xIe5pzk7(ftfygxgFas5X(mxhyDqTAMpMC)):
if hq6XE4_Nhd6R[B6UAF1zReOyJ] not in tqyVYRfJWofp:
roI3spqORKae(tqyVYRfJWofp, roI3spqORKae(ES5oEprVxulp(b'\x7f\xf96\x16D\x9dI\xe5\xe9\xa7B\xc2'), '\x64' + '\145' + '\x63' + chr(111) + chr(0b11 + 0o141) + chr(0b1110 + 0o127))('\x75' + chr(0b111110 + 0o66) + '\x66' + '\x2d' + '\070'))(hq6XE4_Nhd6R[B6UAF1zReOyJ])
if GsKhodujj4DP[B6UAF1zReOyJ] not in BVDpbFyb9Kc_:
roI3spqORKae(BVDpbFyb9Kc_, roI3spqORKae(ES5oEprVxulp(b'\x7f\xf96\x16D\x9dI\xe5\xe9\xa7B\xc2'), chr(100) + '\x65' + chr(0b1001001 + 0o32) + chr(0b110011 + 0o74) + '\144' + '\145')(chr(0b1110101) + chr(9291 - 9175) + chr(102) + '\055' + chr(56)))(GsKhodujj4DP[B6UAF1zReOyJ])
if TQ0u0KgwFXN5[B6UAF1zReOyJ] not in pqLJ7zHZNxCh:
roI3spqORKae(pqLJ7zHZNxCh, roI3spqORKae(ES5oEprVxulp(b'\x7f\xf96\x16D\x9dI\xe5\xe9\xa7B\xc2'), chr(0b11101 + 0o107) + chr(101) + '\143' + '\157' + chr(7533 - 7433) + chr(101))(chr(117) + chr(116) + chr(7729 - 7627) + chr(0b1 + 0o54) + chr(0b111000)))(TQ0u0KgwFXN5[B6UAF1zReOyJ])
roI3spqORKae(tqyVYRfJWofp, roI3spqORKae(ES5oEprVxulp(b'D\xc2\x17V'), chr(0b10110 + 0o116) + chr(101) + '\x63' + chr(0b1101111) + chr(0b1010010 + 0o22) + '\145')('\165' + chr(0b1110100) + '\146' + chr(0b100100 + 0o11) + chr(0b100110 + 0o22)))()
roI3spqORKae(BVDpbFyb9Kc_, roI3spqORKae(ES5oEprVxulp(b'D\xc2\x17V'), chr(0b1100100) + '\x65' + chr(0b1100011) + '\157' + '\x64' + '\145')(chr(2164 - 2047) + '\x74' + chr(6392 - 6290) + chr(1931 - 1886) + chr(0b100 + 0o64)))()
roI3spqORKae(pqLJ7zHZNxCh, roI3spqORKae(ES5oEprVxulp(b'D\xc2\x17V'), chr(2644 - 2544) + chr(101) + '\x63' + chr(0b11 + 0o154) + '\x64' + '\x65')('\165' + chr(0b111100 + 0o70) + chr(6160 - 6058) + chr(847 - 802) + '\070'))()
if roI3spqORKae(ES5oEprVxulp(b'\x1a\xd5'), chr(9757 - 9657) + chr(0b1100101) + '\143' + '\157' + '\x64' + '\x65')(chr(9343 - 9226) + chr(0b1110100) + '\146' + '\055' + chr(0b111000)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'V\xc7,fk\x83V\xc7\xc1\xa9$\x95'), '\x64' + chr(9270 - 9169) + chr(0b1100011) + chr(11252 - 11141) + chr(0b10 + 0o142) + chr(0b1100000 + 0o5))(chr(0b1110101) + chr(5454 - 5338) + chr(6052 - 5950) + '\055' + '\070')):
B6UAF1zReOyJ = ftfygxgFas5X(gt6ao1JZFMmK) + nzTpIcepk0o8(chr(1146 - 1098) + '\x6f' + chr(0b101001 + 0o10), 8)
else:
B6UAF1zReOyJ += nzTpIcepk0o8('\060' + '\x6f' + '\x31', 8)
qCaYLIBMA18X = nzTpIcepk0o8(chr(0b110000) + chr(0b11111 + 0o120) + '\061', 8)
if ftfygxgFas5X(mxhyDqTAMpMC) > nzTpIcepk0o8('\x30' + chr(111) + '\062', 0o10):
xFDEVQn5qSdh = pqLJ7zHZNxCh[-nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(49), 8)]
xGk3l6_qlcVS = []
for _R8IKF5IwAfX in BVDpbFyb9Kc_:
ibNqpFnWPcj0 = []
for kh8Rprxl44kg in bbT2xIe5pzk7(ftfygxgFas5X(mxhyDqTAMpMC)):
if GsKhodujj4DP[kh8Rprxl44kg] == _R8IKF5IwAfX and TQ0u0KgwFXN5[kh8Rprxl44kg] == xFDEVQn5qSdh:
roI3spqORKae(ibNqpFnWPcj0, roI3spqORKae(ES5oEprVxulp(b'\x7f\xf96\x16D\x9dI\xe5\xe9\xa7B\xc2'), chr(0b1100100) + chr(0b1100101) + '\x63' + '\x6f' + chr(144 - 44) + chr(747 - 646))(chr(0b1110101) + chr(116) + chr(0b1001 + 0o135) + chr(0b100101 + 0o10) + chr(56)))([mxhyDqTAMpMC[kh8Rprxl44kg], hq6XE4_Nhd6R[kh8Rprxl44kg]])
roI3spqORKae(xGk3l6_qlcVS, roI3spqORKae(ES5oEprVxulp(b'\x7f\xf96\x16D\x9dI\xe5\xe9\xa7B\xc2'), chr(8898 - 8798) + '\145' + chr(0b1100011) + '\x6f' + chr(0b1100100) + chr(0b1100101))(chr(0b1001100 + 0o51) + chr(0b111000 + 0o74) + chr(0b11011 + 0o113) + '\x2d' + chr(56)))(ibNqpFnWPcj0)
if ftfygxgFas5X(ibNqpFnWPcj0) > nzTpIcepk0o8(chr(0b10011 + 0o35) + '\x6f' + chr(49), 8):
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'R\xdeUx\n\x9et\xc9\xeb\x9b[\xc2'), '\144' + chr(0b1010100 + 0o21) + chr(0b1100011) + chr(111) + chr(0b1101 + 0o127) + chr(0b1100101))(chr(7915 - 7798) + chr(12323 - 12207) + '\146' + chr(0b101101) + chr(0b101100 + 0o14)))(num=qCaYLIBMA18X, figsize=(nzTpIcepk0o8('\060' + '\x6f' + '\x35', 57342 - 57334), nzTpIcepk0o8(chr(0b1100 + 0o44) + '\x6f' + '\x35', 8)))
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'G\xc1\nVc\x82z\xec'), '\144' + chr(9714 - 9613) + chr(0b1100011) + chr(0b1101111) + chr(100) + chr(0b100101 + 0o100))('\165' + '\x74' + chr(0b1100110) + '\055' + '\x38'))(qCaYLIBMA18X, xGk3l6_qlcVS, BVDpbFyb9Kc_, wgf0sgcu_xPL, xFDEVQn5qSdh)
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'D\xc5\nUc\x9cg\xed'), chr(719 - 619) + chr(0b1100101) + '\x63' + '\x6f' + chr(0b1100100) + chr(7284 - 7183))('\165' + '\164' + '\146' + '\x2d' + '\070'))(qCaYLIBMA18X)
qCaYLIBMA18X += nzTpIcepk0o8(chr(0b110000) + chr(0b1000111 + 0o50) + chr(0b100100 + 0o15), 8)
_R8IKF5IwAfX = BVDpbFyb9Kc_[nzTpIcepk0o8(chr(48) + chr(111) + chr(1376 - 1328), 8)]
oHk3Q2q0zQLp = []
for xFDEVQn5qSdh in pqLJ7zHZNxCh:
ibNqpFnWPcj0 = []
for kh8Rprxl44kg in bbT2xIe5pzk7(ftfygxgFas5X(mxhyDqTAMpMC)):
if GsKhodujj4DP[kh8Rprxl44kg] == _R8IKF5IwAfX and TQ0u0KgwFXN5[kh8Rprxl44kg] == xFDEVQn5qSdh:
roI3spqORKae(ibNqpFnWPcj0, roI3spqORKae(ES5oEprVxulp(b'\x7f\xf96\x16D\x9dI\xe5\xe9\xa7B\xc2'), chr(100) + chr(0b1100101) + '\x63' + chr(11367 - 11256) + chr(100) + '\145')(chr(10039 - 9922) + chr(0b1110100) + '\x66' + chr(0b101000 + 0o5) + chr(0b11011 + 0o35)))([mxhyDqTAMpMC[kh8Rprxl44kg], hq6XE4_Nhd6R[kh8Rprxl44kg]])
roI3spqORKae(oHk3Q2q0zQLp, roI3spqORKae(ES5oEprVxulp(b'\x7f\xf96\x16D\x9dI\xe5\xe9\xa7B\xc2'), chr(0b101000 + 0o74) + chr(0b1100101) + '\x63' + chr(0b1101111 + 0o0) + chr(100) + chr(0b1100101))('\x75' + chr(0b1110100) + chr(102) + chr(45) + chr(887 - 831)))(ibNqpFnWPcj0)
if ftfygxgFas5X(ibNqpFnWPcj0) > nzTpIcepk0o8(chr(0b100010 + 0o16) + '\157' + '\x31', 8):
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'R\xdeUx\n\x9et\xc9\xeb\x9b[\xc2'), chr(0b1100010 + 0o2) + chr(0b11010 + 0o113) + chr(0b1100011) + chr(111) + '\x64' + '\x65')('\165' + '\x74' + chr(0b1100110) + chr(45) + chr(778 - 722)))(num=qCaYLIBMA18X, figsize=(nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b110101), 8), nzTpIcepk0o8('\x30' + '\157' + '\065', 8)))
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'G\xc1\nVc\x82z\xe8'), '\x64' + chr(0b101001 + 0o74) + chr(99) + chr(0b1101111) + chr(0b1100100) + chr(0b100101 + 0o100))(chr(12154 - 12037) + chr(116) + '\x66' + chr(0b101101) + chr(2332 - 2276)))(qCaYLIBMA18X, oHk3Q2q0zQLp, pqLJ7zHZNxCh, wgf0sgcu_xPL, _R8IKF5IwAfX)
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'D\xc5\nUc\x9cg\xed'), '\x64' + chr(6672 - 6571) + chr(99) + chr(0b1101111) + chr(1446 - 1346) + chr(1906 - 1805))(chr(117) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + '\070'))(qCaYLIBMA18X)
qCaYLIBMA18X += nzTpIcepk0o8(chr(48) + chr(0b1010 + 0o145) + chr(0b110001), 8)
if mwgZMvWSpAHg:
wR5_YWECjaY7 = {}
QHQvC6UDYgED = {}
for fSdw5wwLo9MO in bbT2xIe5pzk7(nzTpIcepk0o8(chr(0b110000) + chr(0b11111 + 0o120) + chr(0b100000 + 0o21), 8), qCaYLIBMA18X):
QYodcsDtoGq7 = N9zlRy29S1SS(fSdw5wwLo9MO)
wR5_YWECjaY7[QYodcsDtoGq7] = wgf0sgcu_xPL + roI3spqORKae(ES5oEprVxulp(b'h'), '\x64' + chr(1948 - 1847) + '\143' + chr(7988 - 7877) + '\144' + '\x65')(chr(0b1110101) + '\164' + chr(102) + '\x2d' + chr(0b10011 + 0o45)) + QYodcsDtoGq7 + roI3spqORKae(ES5oEprVxulp(b'\x19'), chr(4256 - 4156) + chr(0b1100101) + chr(0b1100011) + chr(0b1101111) + '\144' + chr(101))(chr(0b1110101) + chr(116) + '\x66' + '\x2d' + chr(56)) + JummcHpaNLEw
QHQvC6UDYgED[QYodcsDtoGq7] = fSdw5wwLo9MO
for QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(QHQvC6UDYgED, roI3spqORKae(ES5oEprVxulp(b'\\\xc8\x1cQ'), chr(1986 - 1886) + chr(8257 - 8156) + '\x63' + chr(111) + '\x64' + '\x65')(chr(0b1110101) + chr(0b1000000 + 0o64) + chr(102) + chr(0b101101) + chr(56)))()):
try:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'R\xdeUx\n\x9et\xc9\xeb\x9b[\xc2'), chr(100) + chr(10195 - 10094) + chr(99) + chr(0b1101111) + chr(100) + chr(0b1010110 + 0o17))('\x75' + '\x74' + chr(0b111100 + 0o52) + chr(45) + chr(3105 - 3049)))(num=QHQvC6UDYgED[QYodcsDtoGq7])
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'D\xcc\x13GZ\x93i'), chr(0b1100100) + '\x65' + '\143' + chr(0b10111 + 0o130) + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + '\x74' + chr(1159 - 1057) + chr(0b101 + 0o50) + chr(56)))(S_yV4Ytx3yb1 + roI3spqORKae(ES5oEprVxulp(b'\x18'), chr(100) + '\x65' + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(4583 - 4482))(chr(0b1001001 + 0o54) + '\164' + '\x66' + '\055' + chr(56)) + roI3spqORKae(wR5_YWECjaY7[QYodcsDtoGq7], roI3spqORKae(ES5oEprVxulp(b'r\x94TF^\x8bA\xd0\xdb\x8ag\xbd'), chr(0b111011 + 0o51) + chr(10107 - 10006) + chr(0b1001110 + 0o25) + chr(0b1001001 + 0o46) + '\x64' + '\x65')('\x75' + chr(116) + chr(102) + chr(45) + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b'\x18'), chr(0b110000 + 0o64) + chr(101) + '\143' + '\157' + chr(0b1100100) + chr(101))(chr(0b101101 + 0o110) + chr(116) + chr(102) + chr(45) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\x1a'), chr(0b100 + 0o140) + chr(3872 - 3771) + chr(0b1100011) + '\x6f' + chr(5982 - 5882) + '\x65')(chr(117) + chr(116) + chr(0b1100110) + '\055' + '\070')))
except UtiWT6f6p9yZ:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'T\xc2\x10NX\xda`\xe5\xf7\xe8d\x96\xe6\xb6\t\xa7'), chr(100) + chr(0b1010011 + 0o22) + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + chr(8962 - 8861))('\x75' + '\x74' + chr(0b111000 + 0o56) + '\x2d' + '\070'), QHQvC6UDYgED[QYodcsDtoGq7], wR5_YWECjaY7[QYodcsDtoGq7])
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'X\xd8\x11RI\x8e.\xec\xea\xa4r\xd7\xf6\xbcA\xeah\xc4\xde"\xcd\x81[\xaf\x03_N\xf9\xa6%\x8dMI'), '\144' + chr(6304 - 6203) + chr(0b100010 + 0o101) + chr(111) + '\144' + '\145')(chr(0b1011100 + 0o31) + '\x74' + chr(0b1000001 + 0o45) + '\055' + chr(1958 - 1902)))
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
pmag_results_extract
|
def pmag_results_extract(res_file="pmag_results.txt", crit_file="", spec_file="",
age_file="", latex=False, grade=False, WD="."):
"""
Generate tab delimited output file(s) with result data.
Save output files and return True if successful.
Possible output files: Directions, Intensities, SiteNfo, Criteria,
Specimens
Optional Parameters (defaults are used if not specified)
----------
res_file : name of pmag_results file (default is "pmag_results.txt")
crit_file : name of criteria file (default is "pmag_criteria.txt")
spec_file : name of specimen file (default is "pmag_specimens.txt")
age_file : name of age file (default is "er_ages.txt")
latex : boolean argument to output in LaTeX (default is False)
WD : path to directory that contains input files and takes output (default is current directory, '.')
"""
# format outfiles
if latex:
latex = 1
file_type = '.tex'
else:
latex = 0
file_type = '.txt'
dir_path = os.path.realpath(WD)
outfile = os.path.join(dir_path, 'Directions' + file_type)
Ioutfile = os.path.join(dir_path, 'Intensities' + file_type)
Soutfile = os.path.join(dir_path, 'SiteNfo' + file_type)
Specout = os.path.join(dir_path, 'Specimens' + file_type)
Critout = os.path.join(dir_path, 'Criteria' + file_type)
# format infiles
res_file = os.path.join(dir_path, res_file)
if crit_file:
crit_file = os.path.join(dir_path, crit_file)
if spec_file:
spec_file = os.path.join(dir_path, spec_file)
else:
grade = False
# open output files
f = open(outfile, 'w')
sf = open(Soutfile, 'w')
fI = open(Ioutfile, 'w')
if crit_file:
cr = open(Critout, 'w')
# set up column headers
Sites, file_type = pmag.magic_read(res_file)
if crit_file:
Crits, file_type = pmag.magic_read(crit_file)
else:
Crits = []
SiteCols = ["Site", "Location",
"Lat. (N)", "Long. (E)", "Age ", "Age sigma", "Units"]
SiteKeys = ["er_site_names", "average_lat", "average_lon", "average_age",
"average_age_sigma", "average_age_unit"]
DirCols = ["Site", 'Comp.', "perc TC", "Dec.", "Inc.", "Nl", "Np", "k ", "R", "a95",
"PLat", "PLong"]
DirKeys = ["er_site_names", "pole_comp_name", "tilt_correction", "average_dec", "average_inc",
"average_n_lines", "average_n_planes", "average_k", "average_r", "average_alpha95",
"vgp_lat", "vgp_lon"]
IntCols = ["Site", "N", "B (uT)", "sigma",
"sigma perc", "VADM", "VADM sigma"]
IntKeys = ["er_site_names", "average_int_n", "average_int", "average_int_sigma",
'average_int_sigma_perc', "vadm", "vadm_sigma"]
AllowedKeys = ['specimen_frac', 'specimen_scat', 'specimen_gap_max', 'measurement_step_min',
'measurement_step_max', 'measurement_step_unit', 'specimen_polarity',
'specimen_nrm', 'specimen_direction_type', 'specimen_comp_nmb', 'specimen_mad',
'specimen_alpha95', 'specimen_n', 'specimen_int_sigma',
'specimen_int_sigma_perc', 'specimen_int_rel_sigma',
'specimen_int_rel_sigma_perc', 'specimen_int_mad', 'specimen_int_n',
'specimen_w', 'specimen_q', 'specimen_f', 'specimen_fvds', 'specimen_b_sigma',
'specimen_b_beta', 'specimen_g', 'specimen_dang', 'specimen_md',
'specimen_ptrm', 'specimen_drat', 'specimen_drats', 'specimen_rsc',
'specimen_viscosity_index', 'specimen_magn_moment', 'specimen_magn_volume',
'specimen_magn_mass', 'specimen_int_ptrm_n', 'specimen_delta', 'specimen_theta',
'specimen_gamma', 'sample_polarity', 'sample_nrm', 'sample_direction_type',
'sample_comp_nmb', 'sample_sigma', 'sample_alpha95', 'sample_n',
'sample_n_lines', 'sample_n_planes', 'sample_k', 'sample_r',
'sample_tilt_correction', 'sample_int_sigma', 'sample_int_sigma_perc',
'sample_int_rel_sigma', 'sample_int_rel_sigma_perc', 'sample_int_n',
'sample_magn_moment', 'sample_magn_volume', 'sample_magn_mass', 'site_polarity',
'site_nrm', 'site_direction_type', 'site_comp_nmb', 'site_sigma',
'site_alpha95', 'site_n', 'site_n_lines', 'site_n_planes', 'site_k', 'site_r',
'site_tilt_correction', 'site_int_sigma', 'site_int_sigma_perc',
'site_int_rel_sigma', 'site_int_rel_sigma_perc', 'site_int_n',
'site_magn_moment', 'site_magn_volume', 'site_magn_mass', 'average_age_min',
'average_age_max', 'average_age_sigma', 'average_age_unit', 'average_sigma',
'average_alpha95', 'average_n', 'average_nn', 'average_k', 'average_r',
'average_int_sigma', 'average_int_rel_sigma', 'average_int_rel_sigma_perc',
'average_int_n', 'average_int_nn', 'vgp_dp', 'vgp_dm', 'vgp_sigma',
'vgp_alpha95', 'vgp_n', 'vdm_sigma', 'vdm_n', 'vadm_sigma', 'vadm_n']
if crit_file:
crit = Crits[0] # get a list of useful keys
for key in list(crit.keys()):
if key not in AllowedKeys:
del(crit[key])
for key in list(crit.keys()):
if (not crit[key]) or (eval(crit[key]) > 1000) or (eval(crit[key]) == 0):
# get rid of all blank or too big ones or too little ones
del(crit[key])
CritKeys = list(crit.keys())
if spec_file:
Specs, file_type = pmag.magic_read(spec_file)
fsp = open(Specout, 'w') # including specimen intensities if desired
SpecCols = ["Site", "Specimen", "B (uT)", "MAD", "Beta", "N", "Q", "DANG", "f-vds",
"DRATS", "T (C)"]
SpecKeys = ['er_site_name', 'er_specimen_name', 'specimen_int', 'specimen_int_mad',
'specimen_b_beta', 'specimen_int_n', 'specimen_q', 'specimen_dang',
'specimen_fvds', 'specimen_drats', 'trange']
Xtra = ['specimen_frac', 'specimen_scat', 'specimen_gmax']
if grade:
SpecCols.append('Grade')
SpecKeys.append('specimen_grade')
for x in Xtra: # put in the new intensity keys if present
if x in list(Specs[0].keys()):
SpecKeys.append(x)
newkey = ""
for k in x.split('_')[1:]:
newkey = newkey + k + '_'
SpecCols.append(newkey.strip('_'))
SpecCols.append('Corrections')
SpecKeys.append('corrections')
# these should be multiplied by 1e6
Micro = ['specimen_int', 'average_int', 'average_int_sigma']
Zeta = ['vadm', 'vadm_sigma'] # these should be multiplied by 1e21
# write out the header information for each output file
if latex: # write out the latex header stuff
sep = ' & '
end = '\\\\'
f.write('\\documentclass{article}\n')
f.write('\\usepackage[margin=1in]{geometry}\n')
f.write('\\usepackage{longtable}\n')
f.write('\\begin{document}\n')
sf.write('\\documentclass{article}\n')
sf.write('\\usepackage[margin=1in]{geometry}\n')
sf.write('\\usepackage{longtable}\n')
sf.write('\\begin{document}\n')
fI.write('\\documentclass{article}\n')
fI.write('\\usepackage[margin=1in]{geometry}\n')
fI.write('\\usepackage{longtable}\n')
fI.write('\\begin{document}\n')
if crit_file:
cr.write('\\documentclass{article}\n')
cr.write('\\usepackage[margin=1in]{geometry}\n')
cr.write('\\usepackage{longtable}\n')
cr.write('\\begin{document}\n')
if spec_file:
fsp.write('\\documentclass{article}\n')
fsp.write('\\usepackage[margin=1in]{geometry}\n')
fsp.write('\\usepackage{longtable}\n')
fsp.write('\\begin{document}\n')
tabstring = '\\begin{longtable}{'
fstring = tabstring
for k in range(len(SiteCols)):
fstring = fstring + 'r'
sf.write(fstring + '}\n')
sf.write('\hline\n')
fstring = tabstring
for k in range(len(DirCols)):
fstring = fstring + 'r'
f.write(fstring + '}\n')
f.write('\hline\n')
fstring = tabstring
for k in range(len(IntCols)):
fstring = fstring + 'r'
fI.write(fstring + '}\n')
fI.write('\hline\n')
fstring = tabstring
if crit_file:
for k in range(len(CritKeys)):
fstring = fstring + 'r'
cr.write(fstring + '}\n')
cr.write('\hline\n')
if spec_file:
fstring = tabstring
for k in range(len(SpecCols)):
fstring = fstring + 'r'
fsp.write(fstring + '}\n')
fsp.write('\hline\n')
else: # just set the tab and line endings for tab delimited
sep = ' \t '
end = ''
# now write out the actual column headers
Soutstring, Doutstring, Ioutstring, Spoutstring, Croutstring = "", "", "", "", ""
for k in range(len(SiteCols)):
Soutstring = Soutstring + SiteCols[k] + sep
Soutstring = Soutstring.strip(sep)
Soutstring = Soutstring + end + '\n'
sf.write(Soutstring)
for k in range(len(DirCols)):
Doutstring = Doutstring + DirCols[k] + sep
Doutstring = Doutstring.strip(sep)
Doutstring = Doutstring + end + '\n'
f.write(Doutstring)
for k in range(len(IntCols)):
Ioutstring = Ioutstring + IntCols[k] + sep
Ioutstring = Ioutstring.strip(sep)
Ioutstring = Ioutstring + end + '\n'
fI.write(Ioutstring)
if crit_file:
for k in range(len(CritKeys)):
Croutstring = Croutstring + CritKeys[k] + sep
Croutstring = Croutstring.strip(sep)
Croutstring = Croutstring + end + '\n'
cr.write(Croutstring)
if spec_file:
for k in range(len(SpecCols)):
Spoutstring = Spoutstring + SpecCols[k] + sep
Spoutstring = Spoutstring.strip(sep)
Spoutstring = Spoutstring + end + "\n"
fsp.write(Spoutstring)
if latex: # put in a horizontal line in latex file
f.write('\hline\n')
sf.write('\hline\n')
fI.write('\hline\n')
if crit_file:
cr.write('\hline\n')
if spec_file:
fsp.write('\hline\n')
# do criteria
if crit_file:
for crit in Crits:
Croutstring = ""
for key in CritKeys:
Croutstring = Croutstring + crit[key] + sep
Croutstring = Croutstring.strip(sep) + end
cr.write(Croutstring + '\n')
# do directions
# get all results with VGPs
VGPs = pmag.get_dictitem(Sites, 'vgp_lat', '', 'F')
VGPs = pmag.get_dictitem(VGPs, 'data_type', 'i',
'T') # get site level stuff
for site in VGPs:
if len(site['er_site_names'].split(":")) == 1:
if 'er_sample_names' not in list(site.keys()):
site['er_sample_names'] = ''
if 'pole_comp_name' not in list(site.keys()):
site['pole_comp_name'] = "A"
if 'average_nn' not in list(site.keys()) and 'average_n' in list(site.keys()):
site['average_nn'] = site['average_n']
if 'average_n_lines' not in list(site.keys()):
site['average_n_lines'] = site['average_nn']
if 'average_n_planes' not in list(site.keys()):
site['average_n_planes'] = ""
Soutstring, Doutstring = "", ""
for key in SiteKeys:
if key in list(site.keys()):
Soutstring = Soutstring + site[key] + sep
Soutstring = Soutstring.strip(sep) + end
sf.write(Soutstring + '\n')
for key in DirKeys:
if key in list(site.keys()):
Doutstring = Doutstring + site[key] + sep
Doutstring = Doutstring.strip(sep) + end
f.write(Doutstring + '\n')
# now do intensities
VADMs = pmag.get_dictitem(Sites, 'vadm', '', 'F')
VADMs = pmag.get_dictitem(VADMs, 'data_type', 'i', 'T')
for site in VADMs: # do results level stuff
if site not in VGPs:
Soutstring = ""
for key in SiteKeys:
if key in list(site.keys()):
Soutstring = Soutstring + site[key] + sep
else:
Soutstring = Soutstring + " " + sep
Soutstring = Soutstring.strip(sep) + end
sf.write(Soutstring + '\n')
if len(site['er_site_names'].split(":")) == 1 and site['data_type'] == 'i':
if 'average_int_sigma_perc' not in list(site.keys()):
site['average_int_sigma_perc'] = "0"
if site["average_int_sigma"] == "":
site["average_int_sigma"] = "0"
if site["average_int_sigma_perc"] == "":
site["average_int_sigma_perc"] = "0"
if site["vadm"] == "":
site["vadm"] = "0"
if site["vadm_sigma"] == "":
site["vadm_sigma"] = "0"
for key in list(site.keys()): # reformat vadms, intensities
if key in Micro:
site[key] = '%7.1f' % (float(site[key]) * 1e6)
if key in Zeta:
site[key] = '%7.1f' % (float(site[key]) * 1e-21)
outstring = ""
for key in IntKeys:
if key not in list(site.keys()):
site[key] = ""
outstring = outstring + site[key] + sep
outstring = outstring.strip(sep) + end + '\n'
fI.write(outstring)
# VDMs=pmag.get_dictitem(Sites,'vdm','','F') # get non-blank VDMs
# for site in VDMs: # do results level stuff
# if len(site['er_site_names'].split(":"))==1:
# if 'average_int_sigma_perc' not in site.keys():site['average_int_sigma_perc']="0"
# if site["average_int_sigma"]=="":site["average_int_sigma"]="0"
# if site["average_int_sigma_perc"]=="":site["average_int_sigma_perc"]="0"
# if site["vadm"]=="":site["vadm"]="0"
# if site["vadm_sigma"]=="":site["vadm_sigma"]="0"
# for key in site.keys(): # reformat vadms, intensities
# if key in Micro: site[key]='%7.1f'%(float(site[key])*1e6)
# if key in Zeta: site[key]='%7.1f'%(float(site[key])*1e-21)
# outstring=""
# for key in IntKeys:
# outstring=outstring+site[key]+sep
# fI.write(outstring.strip(sep)+'\n')
if spec_file:
SpecsInts = pmag.get_dictitem(Specs, 'specimen_int', '', 'F')
for spec in SpecsInts:
spec['trange'] = '%i' % (int(float(spec['measurement_step_min']) - 273)) + \
'-' + '%i' % (int(float(spec['measurement_step_max']) - 273))
meths = spec['magic_method_codes'].split(':')
corrections = ''
for meth in meths:
if 'DA' in meth:
corrections = corrections + meth[3:] + ':'
corrections = corrections.strip(':')
if corrections.strip() == "":
corrections = "None"
spec['corrections'] = corrections
outstring = ""
for key in SpecKeys:
if key in Micro:
spec[key] = '%7.1f' % (float(spec[key]) * 1e6)
if key in Zeta:
spec[key] = '%7.1f' % (float(spec[key]) * 1e-21)
outstring = outstring + spec[key] + sep
fsp.write(outstring.strip(sep) + end + '\n')
#
if latex: # write out the tail stuff
f.write('\hline\n')
sf.write('\hline\n')
fI.write('\hline\n')
f.write('\end{longtable}\n')
sf.write('\end{longtable}\n')
fI.write('\end{longtable}\n')
f.write('\end{document}\n')
sf.write('\end{document}\n')
fI.write('\end{document}\n')
if spec_file:
fsp.write('\hline\n')
fsp.write('\end{longtable}\n')
fsp.write('\end{document}\n')
if crit_file:
cr.write('\hline\n')
cr.write('\end{longtable}\n')
cr.write('\end{document}\n')
f.close()
sf.close()
fI.close()
print('data saved in: ', outfile, Ioutfile, Soutfile)
outfiles = [outfile, Ioutfile, Soutfile]
if spec_file:
fsp.close()
print('specimen data saved in: ', Specout)
outfiles.append(Specout)
if crit_file:
cr.close()
print('Selection criteria saved in: ', Critout)
outfiles.append(Critout)
return True, outfiles
|
python
|
def pmag_results_extract(res_file="pmag_results.txt", crit_file="", spec_file="",
age_file="", latex=False, grade=False, WD="."):
"""
Generate tab delimited output file(s) with result data.
Save output files and return True if successful.
Possible output files: Directions, Intensities, SiteNfo, Criteria,
Specimens
Optional Parameters (defaults are used if not specified)
----------
res_file : name of pmag_results file (default is "pmag_results.txt")
crit_file : name of criteria file (default is "pmag_criteria.txt")
spec_file : name of specimen file (default is "pmag_specimens.txt")
age_file : name of age file (default is "er_ages.txt")
latex : boolean argument to output in LaTeX (default is False)
WD : path to directory that contains input files and takes output (default is current directory, '.')
"""
# format outfiles
if latex:
latex = 1
file_type = '.tex'
else:
latex = 0
file_type = '.txt'
dir_path = os.path.realpath(WD)
outfile = os.path.join(dir_path, 'Directions' + file_type)
Ioutfile = os.path.join(dir_path, 'Intensities' + file_type)
Soutfile = os.path.join(dir_path, 'SiteNfo' + file_type)
Specout = os.path.join(dir_path, 'Specimens' + file_type)
Critout = os.path.join(dir_path, 'Criteria' + file_type)
# format infiles
res_file = os.path.join(dir_path, res_file)
if crit_file:
crit_file = os.path.join(dir_path, crit_file)
if spec_file:
spec_file = os.path.join(dir_path, spec_file)
else:
grade = False
# open output files
f = open(outfile, 'w')
sf = open(Soutfile, 'w')
fI = open(Ioutfile, 'w')
if crit_file:
cr = open(Critout, 'w')
# set up column headers
Sites, file_type = pmag.magic_read(res_file)
if crit_file:
Crits, file_type = pmag.magic_read(crit_file)
else:
Crits = []
SiteCols = ["Site", "Location",
"Lat. (N)", "Long. (E)", "Age ", "Age sigma", "Units"]
SiteKeys = ["er_site_names", "average_lat", "average_lon", "average_age",
"average_age_sigma", "average_age_unit"]
DirCols = ["Site", 'Comp.', "perc TC", "Dec.", "Inc.", "Nl", "Np", "k ", "R", "a95",
"PLat", "PLong"]
DirKeys = ["er_site_names", "pole_comp_name", "tilt_correction", "average_dec", "average_inc",
"average_n_lines", "average_n_planes", "average_k", "average_r", "average_alpha95",
"vgp_lat", "vgp_lon"]
IntCols = ["Site", "N", "B (uT)", "sigma",
"sigma perc", "VADM", "VADM sigma"]
IntKeys = ["er_site_names", "average_int_n", "average_int", "average_int_sigma",
'average_int_sigma_perc', "vadm", "vadm_sigma"]
AllowedKeys = ['specimen_frac', 'specimen_scat', 'specimen_gap_max', 'measurement_step_min',
'measurement_step_max', 'measurement_step_unit', 'specimen_polarity',
'specimen_nrm', 'specimen_direction_type', 'specimen_comp_nmb', 'specimen_mad',
'specimen_alpha95', 'specimen_n', 'specimen_int_sigma',
'specimen_int_sigma_perc', 'specimen_int_rel_sigma',
'specimen_int_rel_sigma_perc', 'specimen_int_mad', 'specimen_int_n',
'specimen_w', 'specimen_q', 'specimen_f', 'specimen_fvds', 'specimen_b_sigma',
'specimen_b_beta', 'specimen_g', 'specimen_dang', 'specimen_md',
'specimen_ptrm', 'specimen_drat', 'specimen_drats', 'specimen_rsc',
'specimen_viscosity_index', 'specimen_magn_moment', 'specimen_magn_volume',
'specimen_magn_mass', 'specimen_int_ptrm_n', 'specimen_delta', 'specimen_theta',
'specimen_gamma', 'sample_polarity', 'sample_nrm', 'sample_direction_type',
'sample_comp_nmb', 'sample_sigma', 'sample_alpha95', 'sample_n',
'sample_n_lines', 'sample_n_planes', 'sample_k', 'sample_r',
'sample_tilt_correction', 'sample_int_sigma', 'sample_int_sigma_perc',
'sample_int_rel_sigma', 'sample_int_rel_sigma_perc', 'sample_int_n',
'sample_magn_moment', 'sample_magn_volume', 'sample_magn_mass', 'site_polarity',
'site_nrm', 'site_direction_type', 'site_comp_nmb', 'site_sigma',
'site_alpha95', 'site_n', 'site_n_lines', 'site_n_planes', 'site_k', 'site_r',
'site_tilt_correction', 'site_int_sigma', 'site_int_sigma_perc',
'site_int_rel_sigma', 'site_int_rel_sigma_perc', 'site_int_n',
'site_magn_moment', 'site_magn_volume', 'site_magn_mass', 'average_age_min',
'average_age_max', 'average_age_sigma', 'average_age_unit', 'average_sigma',
'average_alpha95', 'average_n', 'average_nn', 'average_k', 'average_r',
'average_int_sigma', 'average_int_rel_sigma', 'average_int_rel_sigma_perc',
'average_int_n', 'average_int_nn', 'vgp_dp', 'vgp_dm', 'vgp_sigma',
'vgp_alpha95', 'vgp_n', 'vdm_sigma', 'vdm_n', 'vadm_sigma', 'vadm_n']
if crit_file:
crit = Crits[0] # get a list of useful keys
for key in list(crit.keys()):
if key not in AllowedKeys:
del(crit[key])
for key in list(crit.keys()):
if (not crit[key]) or (eval(crit[key]) > 1000) or (eval(crit[key]) == 0):
# get rid of all blank or too big ones or too little ones
del(crit[key])
CritKeys = list(crit.keys())
if spec_file:
Specs, file_type = pmag.magic_read(spec_file)
fsp = open(Specout, 'w') # including specimen intensities if desired
SpecCols = ["Site", "Specimen", "B (uT)", "MAD", "Beta", "N", "Q", "DANG", "f-vds",
"DRATS", "T (C)"]
SpecKeys = ['er_site_name', 'er_specimen_name', 'specimen_int', 'specimen_int_mad',
'specimen_b_beta', 'specimen_int_n', 'specimen_q', 'specimen_dang',
'specimen_fvds', 'specimen_drats', 'trange']
Xtra = ['specimen_frac', 'specimen_scat', 'specimen_gmax']
if grade:
SpecCols.append('Grade')
SpecKeys.append('specimen_grade')
for x in Xtra: # put in the new intensity keys if present
if x in list(Specs[0].keys()):
SpecKeys.append(x)
newkey = ""
for k in x.split('_')[1:]:
newkey = newkey + k + '_'
SpecCols.append(newkey.strip('_'))
SpecCols.append('Corrections')
SpecKeys.append('corrections')
# these should be multiplied by 1e6
Micro = ['specimen_int', 'average_int', 'average_int_sigma']
Zeta = ['vadm', 'vadm_sigma'] # these should be multiplied by 1e21
# write out the header information for each output file
if latex: # write out the latex header stuff
sep = ' & '
end = '\\\\'
f.write('\\documentclass{article}\n')
f.write('\\usepackage[margin=1in]{geometry}\n')
f.write('\\usepackage{longtable}\n')
f.write('\\begin{document}\n')
sf.write('\\documentclass{article}\n')
sf.write('\\usepackage[margin=1in]{geometry}\n')
sf.write('\\usepackage{longtable}\n')
sf.write('\\begin{document}\n')
fI.write('\\documentclass{article}\n')
fI.write('\\usepackage[margin=1in]{geometry}\n')
fI.write('\\usepackage{longtable}\n')
fI.write('\\begin{document}\n')
if crit_file:
cr.write('\\documentclass{article}\n')
cr.write('\\usepackage[margin=1in]{geometry}\n')
cr.write('\\usepackage{longtable}\n')
cr.write('\\begin{document}\n')
if spec_file:
fsp.write('\\documentclass{article}\n')
fsp.write('\\usepackage[margin=1in]{geometry}\n')
fsp.write('\\usepackage{longtable}\n')
fsp.write('\\begin{document}\n')
tabstring = '\\begin{longtable}{'
fstring = tabstring
for k in range(len(SiteCols)):
fstring = fstring + 'r'
sf.write(fstring + '}\n')
sf.write('\hline\n')
fstring = tabstring
for k in range(len(DirCols)):
fstring = fstring + 'r'
f.write(fstring + '}\n')
f.write('\hline\n')
fstring = tabstring
for k in range(len(IntCols)):
fstring = fstring + 'r'
fI.write(fstring + '}\n')
fI.write('\hline\n')
fstring = tabstring
if crit_file:
for k in range(len(CritKeys)):
fstring = fstring + 'r'
cr.write(fstring + '}\n')
cr.write('\hline\n')
if spec_file:
fstring = tabstring
for k in range(len(SpecCols)):
fstring = fstring + 'r'
fsp.write(fstring + '}\n')
fsp.write('\hline\n')
else: # just set the tab and line endings for tab delimited
sep = ' \t '
end = ''
# now write out the actual column headers
Soutstring, Doutstring, Ioutstring, Spoutstring, Croutstring = "", "", "", "", ""
for k in range(len(SiteCols)):
Soutstring = Soutstring + SiteCols[k] + sep
Soutstring = Soutstring.strip(sep)
Soutstring = Soutstring + end + '\n'
sf.write(Soutstring)
for k in range(len(DirCols)):
Doutstring = Doutstring + DirCols[k] + sep
Doutstring = Doutstring.strip(sep)
Doutstring = Doutstring + end + '\n'
f.write(Doutstring)
for k in range(len(IntCols)):
Ioutstring = Ioutstring + IntCols[k] + sep
Ioutstring = Ioutstring.strip(sep)
Ioutstring = Ioutstring + end + '\n'
fI.write(Ioutstring)
if crit_file:
for k in range(len(CritKeys)):
Croutstring = Croutstring + CritKeys[k] + sep
Croutstring = Croutstring.strip(sep)
Croutstring = Croutstring + end + '\n'
cr.write(Croutstring)
if spec_file:
for k in range(len(SpecCols)):
Spoutstring = Spoutstring + SpecCols[k] + sep
Spoutstring = Spoutstring.strip(sep)
Spoutstring = Spoutstring + end + "\n"
fsp.write(Spoutstring)
if latex: # put in a horizontal line in latex file
f.write('\hline\n')
sf.write('\hline\n')
fI.write('\hline\n')
if crit_file:
cr.write('\hline\n')
if spec_file:
fsp.write('\hline\n')
# do criteria
if crit_file:
for crit in Crits:
Croutstring = ""
for key in CritKeys:
Croutstring = Croutstring + crit[key] + sep
Croutstring = Croutstring.strip(sep) + end
cr.write(Croutstring + '\n')
# do directions
# get all results with VGPs
VGPs = pmag.get_dictitem(Sites, 'vgp_lat', '', 'F')
VGPs = pmag.get_dictitem(VGPs, 'data_type', 'i',
'T') # get site level stuff
for site in VGPs:
if len(site['er_site_names'].split(":")) == 1:
if 'er_sample_names' not in list(site.keys()):
site['er_sample_names'] = ''
if 'pole_comp_name' not in list(site.keys()):
site['pole_comp_name'] = "A"
if 'average_nn' not in list(site.keys()) and 'average_n' in list(site.keys()):
site['average_nn'] = site['average_n']
if 'average_n_lines' not in list(site.keys()):
site['average_n_lines'] = site['average_nn']
if 'average_n_planes' not in list(site.keys()):
site['average_n_planes'] = ""
Soutstring, Doutstring = "", ""
for key in SiteKeys:
if key in list(site.keys()):
Soutstring = Soutstring + site[key] + sep
Soutstring = Soutstring.strip(sep) + end
sf.write(Soutstring + '\n')
for key in DirKeys:
if key in list(site.keys()):
Doutstring = Doutstring + site[key] + sep
Doutstring = Doutstring.strip(sep) + end
f.write(Doutstring + '\n')
# now do intensities
VADMs = pmag.get_dictitem(Sites, 'vadm', '', 'F')
VADMs = pmag.get_dictitem(VADMs, 'data_type', 'i', 'T')
for site in VADMs: # do results level stuff
if site not in VGPs:
Soutstring = ""
for key in SiteKeys:
if key in list(site.keys()):
Soutstring = Soutstring + site[key] + sep
else:
Soutstring = Soutstring + " " + sep
Soutstring = Soutstring.strip(sep) + end
sf.write(Soutstring + '\n')
if len(site['er_site_names'].split(":")) == 1 and site['data_type'] == 'i':
if 'average_int_sigma_perc' not in list(site.keys()):
site['average_int_sigma_perc'] = "0"
if site["average_int_sigma"] == "":
site["average_int_sigma"] = "0"
if site["average_int_sigma_perc"] == "":
site["average_int_sigma_perc"] = "0"
if site["vadm"] == "":
site["vadm"] = "0"
if site["vadm_sigma"] == "":
site["vadm_sigma"] = "0"
for key in list(site.keys()): # reformat vadms, intensities
if key in Micro:
site[key] = '%7.1f' % (float(site[key]) * 1e6)
if key in Zeta:
site[key] = '%7.1f' % (float(site[key]) * 1e-21)
outstring = ""
for key in IntKeys:
if key not in list(site.keys()):
site[key] = ""
outstring = outstring + site[key] + sep
outstring = outstring.strip(sep) + end + '\n'
fI.write(outstring)
# VDMs=pmag.get_dictitem(Sites,'vdm','','F') # get non-blank VDMs
# for site in VDMs: # do results level stuff
# if len(site['er_site_names'].split(":"))==1:
# if 'average_int_sigma_perc' not in site.keys():site['average_int_sigma_perc']="0"
# if site["average_int_sigma"]=="":site["average_int_sigma"]="0"
# if site["average_int_sigma_perc"]=="":site["average_int_sigma_perc"]="0"
# if site["vadm"]=="":site["vadm"]="0"
# if site["vadm_sigma"]=="":site["vadm_sigma"]="0"
# for key in site.keys(): # reformat vadms, intensities
# if key in Micro: site[key]='%7.1f'%(float(site[key])*1e6)
# if key in Zeta: site[key]='%7.1f'%(float(site[key])*1e-21)
# outstring=""
# for key in IntKeys:
# outstring=outstring+site[key]+sep
# fI.write(outstring.strip(sep)+'\n')
if spec_file:
SpecsInts = pmag.get_dictitem(Specs, 'specimen_int', '', 'F')
for spec in SpecsInts:
spec['trange'] = '%i' % (int(float(spec['measurement_step_min']) - 273)) + \
'-' + '%i' % (int(float(spec['measurement_step_max']) - 273))
meths = spec['magic_method_codes'].split(':')
corrections = ''
for meth in meths:
if 'DA' in meth:
corrections = corrections + meth[3:] + ':'
corrections = corrections.strip(':')
if corrections.strip() == "":
corrections = "None"
spec['corrections'] = corrections
outstring = ""
for key in SpecKeys:
if key in Micro:
spec[key] = '%7.1f' % (float(spec[key]) * 1e6)
if key in Zeta:
spec[key] = '%7.1f' % (float(spec[key]) * 1e-21)
outstring = outstring + spec[key] + sep
fsp.write(outstring.strip(sep) + end + '\n')
#
if latex: # write out the tail stuff
f.write('\hline\n')
sf.write('\hline\n')
fI.write('\hline\n')
f.write('\end{longtable}\n')
sf.write('\end{longtable}\n')
fI.write('\end{longtable}\n')
f.write('\end{document}\n')
sf.write('\end{document}\n')
fI.write('\end{document}\n')
if spec_file:
fsp.write('\hline\n')
fsp.write('\end{longtable}\n')
fsp.write('\end{document}\n')
if crit_file:
cr.write('\hline\n')
cr.write('\end{longtable}\n')
cr.write('\end{document}\n')
f.close()
sf.close()
fI.close()
print('data saved in: ', outfile, Ioutfile, Soutfile)
outfiles = [outfile, Ioutfile, Soutfile]
if spec_file:
fsp.close()
print('specimen data saved in: ', Specout)
outfiles.append(Specout)
if crit_file:
cr.close()
print('Selection criteria saved in: ', Critout)
outfiles.append(Critout)
return True, outfiles
|
[
"def",
"pmag_results_extract",
"(",
"res_file",
"=",
"\"pmag_results.txt\"",
",",
"crit_file",
"=",
"\"\"",
",",
"spec_file",
"=",
"\"\"",
",",
"age_file",
"=",
"\"\"",
",",
"latex",
"=",
"False",
",",
"grade",
"=",
"False",
",",
"WD",
"=",
"\".\"",
")",
":",
"# format outfiles",
"if",
"latex",
":",
"latex",
"=",
"1",
"file_type",
"=",
"'.tex'",
"else",
":",
"latex",
"=",
"0",
"file_type",
"=",
"'.txt'",
"dir_path",
"=",
"os",
".",
"path",
".",
"realpath",
"(",
"WD",
")",
"outfile",
"=",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"'Directions'",
"+",
"file_type",
")",
"Ioutfile",
"=",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"'Intensities'",
"+",
"file_type",
")",
"Soutfile",
"=",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"'SiteNfo'",
"+",
"file_type",
")",
"Specout",
"=",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"'Specimens'",
"+",
"file_type",
")",
"Critout",
"=",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"'Criteria'",
"+",
"file_type",
")",
"# format infiles",
"res_file",
"=",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"res_file",
")",
"if",
"crit_file",
":",
"crit_file",
"=",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"crit_file",
")",
"if",
"spec_file",
":",
"spec_file",
"=",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"spec_file",
")",
"else",
":",
"grade",
"=",
"False",
"# open output files",
"f",
"=",
"open",
"(",
"outfile",
",",
"'w'",
")",
"sf",
"=",
"open",
"(",
"Soutfile",
",",
"'w'",
")",
"fI",
"=",
"open",
"(",
"Ioutfile",
",",
"'w'",
")",
"if",
"crit_file",
":",
"cr",
"=",
"open",
"(",
"Critout",
",",
"'w'",
")",
"# set up column headers",
"Sites",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"res_file",
")",
"if",
"crit_file",
":",
"Crits",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"crit_file",
")",
"else",
":",
"Crits",
"=",
"[",
"]",
"SiteCols",
"=",
"[",
"\"Site\"",
",",
"\"Location\"",
",",
"\"Lat. (N)\"",
",",
"\"Long. (E)\"",
",",
"\"Age \"",
",",
"\"Age sigma\"",
",",
"\"Units\"",
"]",
"SiteKeys",
"=",
"[",
"\"er_site_names\"",
",",
"\"average_lat\"",
",",
"\"average_lon\"",
",",
"\"average_age\"",
",",
"\"average_age_sigma\"",
",",
"\"average_age_unit\"",
"]",
"DirCols",
"=",
"[",
"\"Site\"",
",",
"'Comp.'",
",",
"\"perc TC\"",
",",
"\"Dec.\"",
",",
"\"Inc.\"",
",",
"\"Nl\"",
",",
"\"Np\"",
",",
"\"k \"",
",",
"\"R\"",
",",
"\"a95\"",
",",
"\"PLat\"",
",",
"\"PLong\"",
"]",
"DirKeys",
"=",
"[",
"\"er_site_names\"",
",",
"\"pole_comp_name\"",
",",
"\"tilt_correction\"",
",",
"\"average_dec\"",
",",
"\"average_inc\"",
",",
"\"average_n_lines\"",
",",
"\"average_n_planes\"",
",",
"\"average_k\"",
",",
"\"average_r\"",
",",
"\"average_alpha95\"",
",",
"\"vgp_lat\"",
",",
"\"vgp_lon\"",
"]",
"IntCols",
"=",
"[",
"\"Site\"",
",",
"\"N\"",
",",
"\"B (uT)\"",
",",
"\"sigma\"",
",",
"\"sigma perc\"",
",",
"\"VADM\"",
",",
"\"VADM sigma\"",
"]",
"IntKeys",
"=",
"[",
"\"er_site_names\"",
",",
"\"average_int_n\"",
",",
"\"average_int\"",
",",
"\"average_int_sigma\"",
",",
"'average_int_sigma_perc'",
",",
"\"vadm\"",
",",
"\"vadm_sigma\"",
"]",
"AllowedKeys",
"=",
"[",
"'specimen_frac'",
",",
"'specimen_scat'",
",",
"'specimen_gap_max'",
",",
"'measurement_step_min'",
",",
"'measurement_step_max'",
",",
"'measurement_step_unit'",
",",
"'specimen_polarity'",
",",
"'specimen_nrm'",
",",
"'specimen_direction_type'",
",",
"'specimen_comp_nmb'",
",",
"'specimen_mad'",
",",
"'specimen_alpha95'",
",",
"'specimen_n'",
",",
"'specimen_int_sigma'",
",",
"'specimen_int_sigma_perc'",
",",
"'specimen_int_rel_sigma'",
",",
"'specimen_int_rel_sigma_perc'",
",",
"'specimen_int_mad'",
",",
"'specimen_int_n'",
",",
"'specimen_w'",
",",
"'specimen_q'",
",",
"'specimen_f'",
",",
"'specimen_fvds'",
",",
"'specimen_b_sigma'",
",",
"'specimen_b_beta'",
",",
"'specimen_g'",
",",
"'specimen_dang'",
",",
"'specimen_md'",
",",
"'specimen_ptrm'",
",",
"'specimen_drat'",
",",
"'specimen_drats'",
",",
"'specimen_rsc'",
",",
"'specimen_viscosity_index'",
",",
"'specimen_magn_moment'",
",",
"'specimen_magn_volume'",
",",
"'specimen_magn_mass'",
",",
"'specimen_int_ptrm_n'",
",",
"'specimen_delta'",
",",
"'specimen_theta'",
",",
"'specimen_gamma'",
",",
"'sample_polarity'",
",",
"'sample_nrm'",
",",
"'sample_direction_type'",
",",
"'sample_comp_nmb'",
",",
"'sample_sigma'",
",",
"'sample_alpha95'",
",",
"'sample_n'",
",",
"'sample_n_lines'",
",",
"'sample_n_planes'",
",",
"'sample_k'",
",",
"'sample_r'",
",",
"'sample_tilt_correction'",
",",
"'sample_int_sigma'",
",",
"'sample_int_sigma_perc'",
",",
"'sample_int_rel_sigma'",
",",
"'sample_int_rel_sigma_perc'",
",",
"'sample_int_n'",
",",
"'sample_magn_moment'",
",",
"'sample_magn_volume'",
",",
"'sample_magn_mass'",
",",
"'site_polarity'",
",",
"'site_nrm'",
",",
"'site_direction_type'",
",",
"'site_comp_nmb'",
",",
"'site_sigma'",
",",
"'site_alpha95'",
",",
"'site_n'",
",",
"'site_n_lines'",
",",
"'site_n_planes'",
",",
"'site_k'",
",",
"'site_r'",
",",
"'site_tilt_correction'",
",",
"'site_int_sigma'",
",",
"'site_int_sigma_perc'",
",",
"'site_int_rel_sigma'",
",",
"'site_int_rel_sigma_perc'",
",",
"'site_int_n'",
",",
"'site_magn_moment'",
",",
"'site_magn_volume'",
",",
"'site_magn_mass'",
",",
"'average_age_min'",
",",
"'average_age_max'",
",",
"'average_age_sigma'",
",",
"'average_age_unit'",
",",
"'average_sigma'",
",",
"'average_alpha95'",
",",
"'average_n'",
",",
"'average_nn'",
",",
"'average_k'",
",",
"'average_r'",
",",
"'average_int_sigma'",
",",
"'average_int_rel_sigma'",
",",
"'average_int_rel_sigma_perc'",
",",
"'average_int_n'",
",",
"'average_int_nn'",
",",
"'vgp_dp'",
",",
"'vgp_dm'",
",",
"'vgp_sigma'",
",",
"'vgp_alpha95'",
",",
"'vgp_n'",
",",
"'vdm_sigma'",
",",
"'vdm_n'",
",",
"'vadm_sigma'",
",",
"'vadm_n'",
"]",
"if",
"crit_file",
":",
"crit",
"=",
"Crits",
"[",
"0",
"]",
"# get a list of useful keys",
"for",
"key",
"in",
"list",
"(",
"crit",
".",
"keys",
"(",
")",
")",
":",
"if",
"key",
"not",
"in",
"AllowedKeys",
":",
"del",
"(",
"crit",
"[",
"key",
"]",
")",
"for",
"key",
"in",
"list",
"(",
"crit",
".",
"keys",
"(",
")",
")",
":",
"if",
"(",
"not",
"crit",
"[",
"key",
"]",
")",
"or",
"(",
"eval",
"(",
"crit",
"[",
"key",
"]",
")",
">",
"1000",
")",
"or",
"(",
"eval",
"(",
"crit",
"[",
"key",
"]",
")",
"==",
"0",
")",
":",
"# get rid of all blank or too big ones or too little ones",
"del",
"(",
"crit",
"[",
"key",
"]",
")",
"CritKeys",
"=",
"list",
"(",
"crit",
".",
"keys",
"(",
")",
")",
"if",
"spec_file",
":",
"Specs",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"spec_file",
")",
"fsp",
"=",
"open",
"(",
"Specout",
",",
"'w'",
")",
"# including specimen intensities if desired",
"SpecCols",
"=",
"[",
"\"Site\"",
",",
"\"Specimen\"",
",",
"\"B (uT)\"",
",",
"\"MAD\"",
",",
"\"Beta\"",
",",
"\"N\"",
",",
"\"Q\"",
",",
"\"DANG\"",
",",
"\"f-vds\"",
",",
"\"DRATS\"",
",",
"\"T (C)\"",
"]",
"SpecKeys",
"=",
"[",
"'er_site_name'",
",",
"'er_specimen_name'",
",",
"'specimen_int'",
",",
"'specimen_int_mad'",
",",
"'specimen_b_beta'",
",",
"'specimen_int_n'",
",",
"'specimen_q'",
",",
"'specimen_dang'",
",",
"'specimen_fvds'",
",",
"'specimen_drats'",
",",
"'trange'",
"]",
"Xtra",
"=",
"[",
"'specimen_frac'",
",",
"'specimen_scat'",
",",
"'specimen_gmax'",
"]",
"if",
"grade",
":",
"SpecCols",
".",
"append",
"(",
"'Grade'",
")",
"SpecKeys",
".",
"append",
"(",
"'specimen_grade'",
")",
"for",
"x",
"in",
"Xtra",
":",
"# put in the new intensity keys if present",
"if",
"x",
"in",
"list",
"(",
"Specs",
"[",
"0",
"]",
".",
"keys",
"(",
")",
")",
":",
"SpecKeys",
".",
"append",
"(",
"x",
")",
"newkey",
"=",
"\"\"",
"for",
"k",
"in",
"x",
".",
"split",
"(",
"'_'",
")",
"[",
"1",
":",
"]",
":",
"newkey",
"=",
"newkey",
"+",
"k",
"+",
"'_'",
"SpecCols",
".",
"append",
"(",
"newkey",
".",
"strip",
"(",
"'_'",
")",
")",
"SpecCols",
".",
"append",
"(",
"'Corrections'",
")",
"SpecKeys",
".",
"append",
"(",
"'corrections'",
")",
"# these should be multiplied by 1e6",
"Micro",
"=",
"[",
"'specimen_int'",
",",
"'average_int'",
",",
"'average_int_sigma'",
"]",
"Zeta",
"=",
"[",
"'vadm'",
",",
"'vadm_sigma'",
"]",
"# these should be multiplied by 1e21",
"# write out the header information for each output file",
"if",
"latex",
":",
"# write out the latex header stuff",
"sep",
"=",
"' & '",
"end",
"=",
"'\\\\\\\\'",
"f",
".",
"write",
"(",
"'\\\\documentclass{article}\\n'",
")",
"f",
".",
"write",
"(",
"'\\\\usepackage[margin=1in]{geometry}\\n'",
")",
"f",
".",
"write",
"(",
"'\\\\usepackage{longtable}\\n'",
")",
"f",
".",
"write",
"(",
"'\\\\begin{document}\\n'",
")",
"sf",
".",
"write",
"(",
"'\\\\documentclass{article}\\n'",
")",
"sf",
".",
"write",
"(",
"'\\\\usepackage[margin=1in]{geometry}\\n'",
")",
"sf",
".",
"write",
"(",
"'\\\\usepackage{longtable}\\n'",
")",
"sf",
".",
"write",
"(",
"'\\\\begin{document}\\n'",
")",
"fI",
".",
"write",
"(",
"'\\\\documentclass{article}\\n'",
")",
"fI",
".",
"write",
"(",
"'\\\\usepackage[margin=1in]{geometry}\\n'",
")",
"fI",
".",
"write",
"(",
"'\\\\usepackage{longtable}\\n'",
")",
"fI",
".",
"write",
"(",
"'\\\\begin{document}\\n'",
")",
"if",
"crit_file",
":",
"cr",
".",
"write",
"(",
"'\\\\documentclass{article}\\n'",
")",
"cr",
".",
"write",
"(",
"'\\\\usepackage[margin=1in]{geometry}\\n'",
")",
"cr",
".",
"write",
"(",
"'\\\\usepackage{longtable}\\n'",
")",
"cr",
".",
"write",
"(",
"'\\\\begin{document}\\n'",
")",
"if",
"spec_file",
":",
"fsp",
".",
"write",
"(",
"'\\\\documentclass{article}\\n'",
")",
"fsp",
".",
"write",
"(",
"'\\\\usepackage[margin=1in]{geometry}\\n'",
")",
"fsp",
".",
"write",
"(",
"'\\\\usepackage{longtable}\\n'",
")",
"fsp",
".",
"write",
"(",
"'\\\\begin{document}\\n'",
")",
"tabstring",
"=",
"'\\\\begin{longtable}{'",
"fstring",
"=",
"tabstring",
"for",
"k",
"in",
"range",
"(",
"len",
"(",
"SiteCols",
")",
")",
":",
"fstring",
"=",
"fstring",
"+",
"'r'",
"sf",
".",
"write",
"(",
"fstring",
"+",
"'}\\n'",
")",
"sf",
".",
"write",
"(",
"'\\hline\\n'",
")",
"fstring",
"=",
"tabstring",
"for",
"k",
"in",
"range",
"(",
"len",
"(",
"DirCols",
")",
")",
":",
"fstring",
"=",
"fstring",
"+",
"'r'",
"f",
".",
"write",
"(",
"fstring",
"+",
"'}\\n'",
")",
"f",
".",
"write",
"(",
"'\\hline\\n'",
")",
"fstring",
"=",
"tabstring",
"for",
"k",
"in",
"range",
"(",
"len",
"(",
"IntCols",
")",
")",
":",
"fstring",
"=",
"fstring",
"+",
"'r'",
"fI",
".",
"write",
"(",
"fstring",
"+",
"'}\\n'",
")",
"fI",
".",
"write",
"(",
"'\\hline\\n'",
")",
"fstring",
"=",
"tabstring",
"if",
"crit_file",
":",
"for",
"k",
"in",
"range",
"(",
"len",
"(",
"CritKeys",
")",
")",
":",
"fstring",
"=",
"fstring",
"+",
"'r'",
"cr",
".",
"write",
"(",
"fstring",
"+",
"'}\\n'",
")",
"cr",
".",
"write",
"(",
"'\\hline\\n'",
")",
"if",
"spec_file",
":",
"fstring",
"=",
"tabstring",
"for",
"k",
"in",
"range",
"(",
"len",
"(",
"SpecCols",
")",
")",
":",
"fstring",
"=",
"fstring",
"+",
"'r'",
"fsp",
".",
"write",
"(",
"fstring",
"+",
"'}\\n'",
")",
"fsp",
".",
"write",
"(",
"'\\hline\\n'",
")",
"else",
":",
"# just set the tab and line endings for tab delimited",
"sep",
"=",
"' \\t '",
"end",
"=",
"''",
"# now write out the actual column headers",
"Soutstring",
",",
"Doutstring",
",",
"Ioutstring",
",",
"Spoutstring",
",",
"Croutstring",
"=",
"\"\"",
",",
"\"\"",
",",
"\"\"",
",",
"\"\"",
",",
"\"\"",
"for",
"k",
"in",
"range",
"(",
"len",
"(",
"SiteCols",
")",
")",
":",
"Soutstring",
"=",
"Soutstring",
"+",
"SiteCols",
"[",
"k",
"]",
"+",
"sep",
"Soutstring",
"=",
"Soutstring",
".",
"strip",
"(",
"sep",
")",
"Soutstring",
"=",
"Soutstring",
"+",
"end",
"+",
"'\\n'",
"sf",
".",
"write",
"(",
"Soutstring",
")",
"for",
"k",
"in",
"range",
"(",
"len",
"(",
"DirCols",
")",
")",
":",
"Doutstring",
"=",
"Doutstring",
"+",
"DirCols",
"[",
"k",
"]",
"+",
"sep",
"Doutstring",
"=",
"Doutstring",
".",
"strip",
"(",
"sep",
")",
"Doutstring",
"=",
"Doutstring",
"+",
"end",
"+",
"'\\n'",
"f",
".",
"write",
"(",
"Doutstring",
")",
"for",
"k",
"in",
"range",
"(",
"len",
"(",
"IntCols",
")",
")",
":",
"Ioutstring",
"=",
"Ioutstring",
"+",
"IntCols",
"[",
"k",
"]",
"+",
"sep",
"Ioutstring",
"=",
"Ioutstring",
".",
"strip",
"(",
"sep",
")",
"Ioutstring",
"=",
"Ioutstring",
"+",
"end",
"+",
"'\\n'",
"fI",
".",
"write",
"(",
"Ioutstring",
")",
"if",
"crit_file",
":",
"for",
"k",
"in",
"range",
"(",
"len",
"(",
"CritKeys",
")",
")",
":",
"Croutstring",
"=",
"Croutstring",
"+",
"CritKeys",
"[",
"k",
"]",
"+",
"sep",
"Croutstring",
"=",
"Croutstring",
".",
"strip",
"(",
"sep",
")",
"Croutstring",
"=",
"Croutstring",
"+",
"end",
"+",
"'\\n'",
"cr",
".",
"write",
"(",
"Croutstring",
")",
"if",
"spec_file",
":",
"for",
"k",
"in",
"range",
"(",
"len",
"(",
"SpecCols",
")",
")",
":",
"Spoutstring",
"=",
"Spoutstring",
"+",
"SpecCols",
"[",
"k",
"]",
"+",
"sep",
"Spoutstring",
"=",
"Spoutstring",
".",
"strip",
"(",
"sep",
")",
"Spoutstring",
"=",
"Spoutstring",
"+",
"end",
"+",
"\"\\n\"",
"fsp",
".",
"write",
"(",
"Spoutstring",
")",
"if",
"latex",
":",
"# put in a horizontal line in latex file",
"f",
".",
"write",
"(",
"'\\hline\\n'",
")",
"sf",
".",
"write",
"(",
"'\\hline\\n'",
")",
"fI",
".",
"write",
"(",
"'\\hline\\n'",
")",
"if",
"crit_file",
":",
"cr",
".",
"write",
"(",
"'\\hline\\n'",
")",
"if",
"spec_file",
":",
"fsp",
".",
"write",
"(",
"'\\hline\\n'",
")",
"# do criteria",
"if",
"crit_file",
":",
"for",
"crit",
"in",
"Crits",
":",
"Croutstring",
"=",
"\"\"",
"for",
"key",
"in",
"CritKeys",
":",
"Croutstring",
"=",
"Croutstring",
"+",
"crit",
"[",
"key",
"]",
"+",
"sep",
"Croutstring",
"=",
"Croutstring",
".",
"strip",
"(",
"sep",
")",
"+",
"end",
"cr",
".",
"write",
"(",
"Croutstring",
"+",
"'\\n'",
")",
"# do directions",
"# get all results with VGPs",
"VGPs",
"=",
"pmag",
".",
"get_dictitem",
"(",
"Sites",
",",
"'vgp_lat'",
",",
"''",
",",
"'F'",
")",
"VGPs",
"=",
"pmag",
".",
"get_dictitem",
"(",
"VGPs",
",",
"'data_type'",
",",
"'i'",
",",
"'T'",
")",
"# get site level stuff",
"for",
"site",
"in",
"VGPs",
":",
"if",
"len",
"(",
"site",
"[",
"'er_site_names'",
"]",
".",
"split",
"(",
"\":\"",
")",
")",
"==",
"1",
":",
"if",
"'er_sample_names'",
"not",
"in",
"list",
"(",
"site",
".",
"keys",
"(",
")",
")",
":",
"site",
"[",
"'er_sample_names'",
"]",
"=",
"''",
"if",
"'pole_comp_name'",
"not",
"in",
"list",
"(",
"site",
".",
"keys",
"(",
")",
")",
":",
"site",
"[",
"'pole_comp_name'",
"]",
"=",
"\"A\"",
"if",
"'average_nn'",
"not",
"in",
"list",
"(",
"site",
".",
"keys",
"(",
")",
")",
"and",
"'average_n'",
"in",
"list",
"(",
"site",
".",
"keys",
"(",
")",
")",
":",
"site",
"[",
"'average_nn'",
"]",
"=",
"site",
"[",
"'average_n'",
"]",
"if",
"'average_n_lines'",
"not",
"in",
"list",
"(",
"site",
".",
"keys",
"(",
")",
")",
":",
"site",
"[",
"'average_n_lines'",
"]",
"=",
"site",
"[",
"'average_nn'",
"]",
"if",
"'average_n_planes'",
"not",
"in",
"list",
"(",
"site",
".",
"keys",
"(",
")",
")",
":",
"site",
"[",
"'average_n_planes'",
"]",
"=",
"\"\"",
"Soutstring",
",",
"Doutstring",
"=",
"\"\"",
",",
"\"\"",
"for",
"key",
"in",
"SiteKeys",
":",
"if",
"key",
"in",
"list",
"(",
"site",
".",
"keys",
"(",
")",
")",
":",
"Soutstring",
"=",
"Soutstring",
"+",
"site",
"[",
"key",
"]",
"+",
"sep",
"Soutstring",
"=",
"Soutstring",
".",
"strip",
"(",
"sep",
")",
"+",
"end",
"sf",
".",
"write",
"(",
"Soutstring",
"+",
"'\\n'",
")",
"for",
"key",
"in",
"DirKeys",
":",
"if",
"key",
"in",
"list",
"(",
"site",
".",
"keys",
"(",
")",
")",
":",
"Doutstring",
"=",
"Doutstring",
"+",
"site",
"[",
"key",
"]",
"+",
"sep",
"Doutstring",
"=",
"Doutstring",
".",
"strip",
"(",
"sep",
")",
"+",
"end",
"f",
".",
"write",
"(",
"Doutstring",
"+",
"'\\n'",
")",
"# now do intensities",
"VADMs",
"=",
"pmag",
".",
"get_dictitem",
"(",
"Sites",
",",
"'vadm'",
",",
"''",
",",
"'F'",
")",
"VADMs",
"=",
"pmag",
".",
"get_dictitem",
"(",
"VADMs",
",",
"'data_type'",
",",
"'i'",
",",
"'T'",
")",
"for",
"site",
"in",
"VADMs",
":",
"# do results level stuff",
"if",
"site",
"not",
"in",
"VGPs",
":",
"Soutstring",
"=",
"\"\"",
"for",
"key",
"in",
"SiteKeys",
":",
"if",
"key",
"in",
"list",
"(",
"site",
".",
"keys",
"(",
")",
")",
":",
"Soutstring",
"=",
"Soutstring",
"+",
"site",
"[",
"key",
"]",
"+",
"sep",
"else",
":",
"Soutstring",
"=",
"Soutstring",
"+",
"\" \"",
"+",
"sep",
"Soutstring",
"=",
"Soutstring",
".",
"strip",
"(",
"sep",
")",
"+",
"end",
"sf",
".",
"write",
"(",
"Soutstring",
"+",
"'\\n'",
")",
"if",
"len",
"(",
"site",
"[",
"'er_site_names'",
"]",
".",
"split",
"(",
"\":\"",
")",
")",
"==",
"1",
"and",
"site",
"[",
"'data_type'",
"]",
"==",
"'i'",
":",
"if",
"'average_int_sigma_perc'",
"not",
"in",
"list",
"(",
"site",
".",
"keys",
"(",
")",
")",
":",
"site",
"[",
"'average_int_sigma_perc'",
"]",
"=",
"\"0\"",
"if",
"site",
"[",
"\"average_int_sigma\"",
"]",
"==",
"\"\"",
":",
"site",
"[",
"\"average_int_sigma\"",
"]",
"=",
"\"0\"",
"if",
"site",
"[",
"\"average_int_sigma_perc\"",
"]",
"==",
"\"\"",
":",
"site",
"[",
"\"average_int_sigma_perc\"",
"]",
"=",
"\"0\"",
"if",
"site",
"[",
"\"vadm\"",
"]",
"==",
"\"\"",
":",
"site",
"[",
"\"vadm\"",
"]",
"=",
"\"0\"",
"if",
"site",
"[",
"\"vadm_sigma\"",
"]",
"==",
"\"\"",
":",
"site",
"[",
"\"vadm_sigma\"",
"]",
"=",
"\"0\"",
"for",
"key",
"in",
"list",
"(",
"site",
".",
"keys",
"(",
")",
")",
":",
"# reformat vadms, intensities",
"if",
"key",
"in",
"Micro",
":",
"site",
"[",
"key",
"]",
"=",
"'%7.1f'",
"%",
"(",
"float",
"(",
"site",
"[",
"key",
"]",
")",
"*",
"1e6",
")",
"if",
"key",
"in",
"Zeta",
":",
"site",
"[",
"key",
"]",
"=",
"'%7.1f'",
"%",
"(",
"float",
"(",
"site",
"[",
"key",
"]",
")",
"*",
"1e-21",
")",
"outstring",
"=",
"\"\"",
"for",
"key",
"in",
"IntKeys",
":",
"if",
"key",
"not",
"in",
"list",
"(",
"site",
".",
"keys",
"(",
")",
")",
":",
"site",
"[",
"key",
"]",
"=",
"\"\"",
"outstring",
"=",
"outstring",
"+",
"site",
"[",
"key",
"]",
"+",
"sep",
"outstring",
"=",
"outstring",
".",
"strip",
"(",
"sep",
")",
"+",
"end",
"+",
"'\\n'",
"fI",
".",
"write",
"(",
"outstring",
")",
"# VDMs=pmag.get_dictitem(Sites,'vdm','','F') # get non-blank VDMs",
"# for site in VDMs: # do results level stuff",
"# if len(site['er_site_names'].split(\":\"))==1:",
"# if 'average_int_sigma_perc' not in site.keys():site['average_int_sigma_perc']=\"0\"",
"# if site[\"average_int_sigma\"]==\"\":site[\"average_int_sigma\"]=\"0\"",
"# if site[\"average_int_sigma_perc\"]==\"\":site[\"average_int_sigma_perc\"]=\"0\"",
"# if site[\"vadm\"]==\"\":site[\"vadm\"]=\"0\"",
"# if site[\"vadm_sigma\"]==\"\":site[\"vadm_sigma\"]=\"0\"",
"# for key in site.keys(): # reformat vadms, intensities",
"# if key in Micro: site[key]='%7.1f'%(float(site[key])*1e6)",
"# if key in Zeta: site[key]='%7.1f'%(float(site[key])*1e-21)",
"# outstring=\"\"",
"# for key in IntKeys:",
"# outstring=outstring+site[key]+sep",
"# fI.write(outstring.strip(sep)+'\\n')",
"if",
"spec_file",
":",
"SpecsInts",
"=",
"pmag",
".",
"get_dictitem",
"(",
"Specs",
",",
"'specimen_int'",
",",
"''",
",",
"'F'",
")",
"for",
"spec",
"in",
"SpecsInts",
":",
"spec",
"[",
"'trange'",
"]",
"=",
"'%i'",
"%",
"(",
"int",
"(",
"float",
"(",
"spec",
"[",
"'measurement_step_min'",
"]",
")",
"-",
"273",
")",
")",
"+",
"'-'",
"+",
"'%i'",
"%",
"(",
"int",
"(",
"float",
"(",
"spec",
"[",
"'measurement_step_max'",
"]",
")",
"-",
"273",
")",
")",
"meths",
"=",
"spec",
"[",
"'magic_method_codes'",
"]",
".",
"split",
"(",
"':'",
")",
"corrections",
"=",
"''",
"for",
"meth",
"in",
"meths",
":",
"if",
"'DA'",
"in",
"meth",
":",
"corrections",
"=",
"corrections",
"+",
"meth",
"[",
"3",
":",
"]",
"+",
"':'",
"corrections",
"=",
"corrections",
".",
"strip",
"(",
"':'",
")",
"if",
"corrections",
".",
"strip",
"(",
")",
"==",
"\"\"",
":",
"corrections",
"=",
"\"None\"",
"spec",
"[",
"'corrections'",
"]",
"=",
"corrections",
"outstring",
"=",
"\"\"",
"for",
"key",
"in",
"SpecKeys",
":",
"if",
"key",
"in",
"Micro",
":",
"spec",
"[",
"key",
"]",
"=",
"'%7.1f'",
"%",
"(",
"float",
"(",
"spec",
"[",
"key",
"]",
")",
"*",
"1e6",
")",
"if",
"key",
"in",
"Zeta",
":",
"spec",
"[",
"key",
"]",
"=",
"'%7.1f'",
"%",
"(",
"float",
"(",
"spec",
"[",
"key",
"]",
")",
"*",
"1e-21",
")",
"outstring",
"=",
"outstring",
"+",
"spec",
"[",
"key",
"]",
"+",
"sep",
"fsp",
".",
"write",
"(",
"outstring",
".",
"strip",
"(",
"sep",
")",
"+",
"end",
"+",
"'\\n'",
")",
"#",
"if",
"latex",
":",
"# write out the tail stuff",
"f",
".",
"write",
"(",
"'\\hline\\n'",
")",
"sf",
".",
"write",
"(",
"'\\hline\\n'",
")",
"fI",
".",
"write",
"(",
"'\\hline\\n'",
")",
"f",
".",
"write",
"(",
"'\\end{longtable}\\n'",
")",
"sf",
".",
"write",
"(",
"'\\end{longtable}\\n'",
")",
"fI",
".",
"write",
"(",
"'\\end{longtable}\\n'",
")",
"f",
".",
"write",
"(",
"'\\end{document}\\n'",
")",
"sf",
".",
"write",
"(",
"'\\end{document}\\n'",
")",
"fI",
".",
"write",
"(",
"'\\end{document}\\n'",
")",
"if",
"spec_file",
":",
"fsp",
".",
"write",
"(",
"'\\hline\\n'",
")",
"fsp",
".",
"write",
"(",
"'\\end{longtable}\\n'",
")",
"fsp",
".",
"write",
"(",
"'\\end{document}\\n'",
")",
"if",
"crit_file",
":",
"cr",
".",
"write",
"(",
"'\\hline\\n'",
")",
"cr",
".",
"write",
"(",
"'\\end{longtable}\\n'",
")",
"cr",
".",
"write",
"(",
"'\\end{document}\\n'",
")",
"f",
".",
"close",
"(",
")",
"sf",
".",
"close",
"(",
")",
"fI",
".",
"close",
"(",
")",
"print",
"(",
"'data saved in: '",
",",
"outfile",
",",
"Ioutfile",
",",
"Soutfile",
")",
"outfiles",
"=",
"[",
"outfile",
",",
"Ioutfile",
",",
"Soutfile",
"]",
"if",
"spec_file",
":",
"fsp",
".",
"close",
"(",
")",
"print",
"(",
"'specimen data saved in: '",
",",
"Specout",
")",
"outfiles",
".",
"append",
"(",
"Specout",
")",
"if",
"crit_file",
":",
"cr",
".",
"close",
"(",
")",
"print",
"(",
"'Selection criteria saved in: '",
",",
"Critout",
")",
"outfiles",
".",
"append",
"(",
"Critout",
")",
"return",
"True",
",",
"outfiles"
] |
Generate tab delimited output file(s) with result data.
Save output files and return True if successful.
Possible output files: Directions, Intensities, SiteNfo, Criteria,
Specimens
Optional Parameters (defaults are used if not specified)
----------
res_file : name of pmag_results file (default is "pmag_results.txt")
crit_file : name of criteria file (default is "pmag_criteria.txt")
spec_file : name of specimen file (default is "pmag_specimens.txt")
age_file : name of age file (default is "er_ages.txt")
latex : boolean argument to output in LaTeX (default is False)
WD : path to directory that contains input files and takes output (default is current directory, '.')
|
[
"Generate",
"tab",
"delimited",
"output",
"file",
"(",
"s",
")",
"with",
"result",
"data",
".",
"Save",
"output",
"files",
"and",
"return",
"True",
"if",
"successful",
".",
"Possible",
"output",
"files",
":",
"Directions",
"Intensities",
"SiteNfo",
"Criteria",
"Specimens"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L7097-L7456
|
train
|
Extract data from pmag_results. txt and return a list of files.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(1525 - 1477) + '\157' + chr(1111 - 1061) + chr(0b110110 + 0o0) + chr(51), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(130 - 81) + chr(0b110101) + chr(0b101110 + 0o5), 0o10), nzTpIcepk0o8(chr(0b101101 + 0o3) + chr(0b1101111) + chr(0b110011) + chr(49) + chr(717 - 663), ord("\x08")), nzTpIcepk0o8('\060' + chr(0b1101100 + 0o3) + chr(720 - 668) + chr(52), 0o10), nzTpIcepk0o8('\060' + chr(6051 - 5940) + chr(0b110001) + chr(0b110010) + chr(0b101010 + 0o10), 0o10), nzTpIcepk0o8(chr(0b10111 + 0o31) + '\157' + chr(0b100111 + 0o13) + '\x35', 0o10), nzTpIcepk0o8(chr(0b101011 + 0o5) + chr(0b1101111) + chr(802 - 749) + chr(0b100011 + 0o17), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b100 + 0o56) + '\x31' + '\065', ord("\x08")), nzTpIcepk0o8(chr(0b10000 + 0o40) + '\157' + chr(950 - 897) + chr(53), 0b1000), nzTpIcepk0o8(chr(48) + '\157' + '\x32' + chr(0b110011), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(51) + chr(1233 - 1181) + chr(2269 - 2219), 0o10), nzTpIcepk0o8('\x30' + chr(0b1000 + 0o147) + '\x33' + '\066' + chr(0b110011), 0b1000), nzTpIcepk0o8('\x30' + chr(0b1011001 + 0o26) + '\x31' + chr(0b11000 + 0o31) + chr(0b110100), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b101101 + 0o6) + '\063' + '\x35', 0b1000), nzTpIcepk0o8('\x30' + chr(0b101111 + 0o100) + '\061' + chr(52) + '\x33', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b10011 + 0o134) + chr(49) + chr(0b110111) + chr(52), ord("\x08")), nzTpIcepk0o8(chr(943 - 895) + chr(0b110110 + 0o71) + chr(0b11110 + 0o23) + chr(55) + chr(0b110100), 8), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b10100 + 0o41), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\x32' + '\061' + chr(0b10100 + 0o41), 8), nzTpIcepk0o8('\060' + chr(12177 - 12066) + chr(0b1001 + 0o51) + '\x33' + chr(0b101000 + 0o11), 39383 - 39375), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(49) + chr(0b10 + 0o63), ord("\x08")), nzTpIcepk0o8(chr(0b1010 + 0o46) + '\157' + '\x33' + chr(0b100001 + 0o22) + chr(55), 5247 - 5239), nzTpIcepk0o8(chr(1140 - 1092) + chr(0b1101111) + chr(287 - 236) + chr(0b100011 + 0o22) + chr(0b110001), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(2855 - 2744) + chr(0b100010 + 0o17) + chr(1093 - 1040) + chr(0b110000), 0b1000), nzTpIcepk0o8(chr(48) + chr(6260 - 6149) + chr(648 - 598) + chr(876 - 828) + chr(55), 0o10), nzTpIcepk0o8(chr(633 - 585) + '\157' + chr(0b10110 + 0o34) + chr(358 - 305) + '\x34', ord("\x08")), nzTpIcepk0o8(chr(2247 - 2199) + '\157' + chr(0b101011 + 0o6) + '\062', ord("\x08")), nzTpIcepk0o8('\060' + '\x6f' + '\062' + '\x33' + '\066', 24850 - 24842), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\063' + '\x32' + '\x33', 0b1000), nzTpIcepk0o8(chr(48) + '\157' + chr(0b110010) + chr(2160 - 2108) + chr(1578 - 1528), 0b1000), nzTpIcepk0o8(chr(1018 - 970) + chr(111) + '\x32' + chr(1134 - 1081) + chr(930 - 876), ord("\x08")), nzTpIcepk0o8(chr(0b10100 + 0o34) + chr(0b1101111) + chr(0b1001 + 0o50) + '\067' + chr(1549 - 1499), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b101111 + 0o2) + chr(54) + chr(1216 - 1166), 2232 - 2224), nzTpIcepk0o8(chr(48) + '\157' + chr(51) + '\066' + chr(0b110011), 8), nzTpIcepk0o8(chr(48) + chr(10406 - 10295) + '\062' + chr(0b110010) + chr(0b110001), 45017 - 45009), nzTpIcepk0o8(chr(0b11111 + 0o21) + '\x6f' + '\x32' + chr(698 - 644) + chr(54), 3504 - 3496), nzTpIcepk0o8(chr(48) + chr(1876 - 1765) + chr(948 - 899) + chr(0b110001) + chr(2479 - 2425), ord("\x08")), nzTpIcepk0o8(chr(2175 - 2127) + chr(111) + chr(0b110001) + chr(0b1000 + 0o53) + chr(0b1111 + 0o44), 25850 - 25842), nzTpIcepk0o8(chr(0b10100 + 0o34) + chr(0b101001 + 0o106) + chr(1641 - 1592) + chr(0b11100 + 0o25) + chr(0b10 + 0o63), 23805 - 23797), nzTpIcepk0o8(chr(0b10111 + 0o31) + chr(111) + '\x32' + chr(0b1011 + 0o50) + chr(0b101101 + 0o10), 0b1000)][ZlbFMSG8gCoF % nzTpIcepk0o8('\060' + chr(0b1101111) + '\065' + '\060', 23826 - 23818)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\x9d'), chr(0b1100100) + chr(0b1100101) + chr(99) + '\157' + chr(8037 - 7937) + chr(101))('\165' + '\x74' + '\146' + '\055' + chr(1786 - 1730)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def n85NvNqMCBcm(s282iMtmXh3x=roI3spqORKae(ES5oEprVxulp(b'\xc3\x06\xafC\rgO\xfeX\x7f\x96\x80b\xa9\x1b\x08'), chr(6267 - 6167) + chr(5985 - 5884) + '\143' + chr(0b1101111) + '\x64' + '\x65')(chr(0b1100011 + 0o22) + chr(1783 - 1667) + chr(102) + chr(0b100011 + 0o12) + chr(0b111000)), fjdMtUDzc4gD=roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(0b1100101) + chr(0b1100011) + '\157' + chr(0b1001111 + 0o25) + chr(8763 - 8662))(chr(117) + '\164' + '\x66' + chr(0b101101) + chr(56)), QJgeTIOanow9=roI3spqORKae(ES5oEprVxulp(b''), '\144' + '\x65' + '\x63' + chr(111) + '\144' + chr(0b1100101))('\x75' + '\164' + chr(0b11 + 0o143) + '\x2d' + chr(0b111000)), _FpkWd4wvvaT=roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(0b1000101 + 0o40) + chr(0b101110 + 0o65) + chr(111) + chr(100) + chr(0b1010001 + 0o24))(chr(2239 - 2122) + '\164' + chr(0b1100110) + '\x2d' + '\x38'), cl3Ncwxy1gE5=nzTpIcepk0o8('\060' + chr(8464 - 8353) + '\x30', 0o10), yOzxEm2mFS8T=nzTpIcepk0o8(chr(121 - 73) + chr(0b1000111 + 0o50) + '\060', 8), GP1zEShDyCxL=roI3spqORKae(ES5oEprVxulp(b'\x9d'), chr(0b1100100) + chr(4986 - 4885) + chr(99) + chr(10891 - 10780) + '\144' + chr(101))('\165' + chr(671 - 555) + chr(102) + chr(0b101101) + chr(2057 - 2001))):
if cl3Ncwxy1gE5:
cl3Ncwxy1gE5 = nzTpIcepk0o8('\060' + '\x6f' + chr(49), 0b1000)
mWsDpG3yRGLz = roI3spqORKae(ES5oEprVxulp(b'\x9d\x1f\xab\\'), chr(0b100010 + 0o102) + chr(7109 - 7008) + chr(0b101011 + 0o70) + chr(0b1101111) + '\144' + '\145')(chr(0b1110101) + chr(0b1101010 + 0o12) + '\x66' + chr(45) + chr(0b111000))
else:
cl3Ncwxy1gE5 = nzTpIcepk0o8(chr(48) + chr(2347 - 2236) + '\060', 8)
mWsDpG3yRGLz = roI3spqORKae(ES5oEprVxulp(b'\x9d\x1f\xb6P'), '\x64' + chr(101) + '\x63' + chr(111) + chr(5513 - 5413) + '\145')(chr(6205 - 6088) + chr(11252 - 11136) + chr(0b1100110) + '\x2d' + chr(2266 - 2210))
qjksZ7GK0xkJ = aHUqKstZLeS6.path.s0pnpDWwX0By(GP1zEShDyCxL)
neY2HPRd1pS4 = aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, roI3spqORKae(ES5oEprVxulp(b'\xf7\x02\xbcA1aC\xe2C`'), chr(0b111111 + 0o45) + chr(0b111000 + 0o55) + '\143' + '\x6f' + '\x64' + chr(101))(chr(117) + chr(0b1110100) + chr(0b1011 + 0o133) + '\x2d' + chr(1178 - 1122)) + mWsDpG3yRGLz)
JPeSJMMIaUft = aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, roI3spqORKae(ES5oEprVxulp(b'\xfa\x05\xbaA<fC\xf9Dv\x91'), chr(0b101 + 0o137) + chr(4217 - 4116) + chr(4406 - 4307) + chr(11718 - 11607) + chr(0b1100100) + chr(0b111100 + 0o51))(chr(0b1110101) + chr(116) + chr(102) + '\055' + chr(56)) + mWsDpG3yRGLz)
up1owLR9fgLv = aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, roI3spqORKae(ES5oEprVxulp(b'\xe0\x02\xbaA\x1csE'), chr(0b1100100) + chr(101) + chr(99) + chr(111) + '\x64' + chr(0b1100101))(chr(0b1110101) + chr(142 - 26) + '\x66' + chr(139 - 94) + '\x38') + mWsDpG3yRGLz)
MThZBR8YwTcP = aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, roI3spqORKae(ES5oEprVxulp(b'\xe0\x1b\xabG;xO\xe3^'), '\x64' + chr(4955 - 4854) + chr(0b1000101 + 0o36) + '\157' + chr(100) + '\145')('\x75' + chr(10347 - 10231) + chr(0b1001000 + 0o36) + '\x2d' + '\070') + mWsDpG3yRGLz)
jvJ_220imkI0 = aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, roI3spqORKae(ES5oEprVxulp(b'\xf0\x19\xa7P7gC\xec'), chr(0b110110 + 0o56) + '\x65' + chr(3082 - 2983) + chr(0b110 + 0o151) + '\144' + chr(5507 - 5406))(chr(12041 - 11924) + chr(6936 - 6820) + chr(3436 - 3334) + '\055' + chr(0b10 + 0o66)) + mWsDpG3yRGLz)
s282iMtmXh3x = aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, s282iMtmXh3x)
if fjdMtUDzc4gD:
fjdMtUDzc4gD = aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, fjdMtUDzc4gD)
if QJgeTIOanow9:
QJgeTIOanow9 = aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, QJgeTIOanow9)
else:
yOzxEm2mFS8T = nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x30', 8)
_R8IKF5IwAfX = DnU3Rq9N5ala(neY2HPRd1pS4, roI3spqORKae(ES5oEprVxulp(b'\xc4'), '\144' + '\x65' + chr(99) + chr(923 - 812) + chr(8182 - 8082) + chr(0b1100101))(chr(117) + chr(0b1110100) + chr(0b1100110) + '\x2d' + chr(0b111000)))
S2RSmMFKiMNa = DnU3Rq9N5ala(up1owLR9fgLv, roI3spqORKae(ES5oEprVxulp(b'\xc4'), chr(100) + chr(0b1100101) + chr(99) + chr(111) + chr(0b1100100) + chr(0b1100101))(chr(13100 - 12983) + chr(0b1110100) + '\146' + '\x2d' + chr(0b11110 + 0o32)))
Aq6EBMTUbp54 = DnU3Rq9N5ala(JPeSJMMIaUft, roI3spqORKae(ES5oEprVxulp(b'\xc4'), chr(0b1100 + 0o130) + '\x65' + chr(0b1000011 + 0o40) + chr(6484 - 6373) + '\144' + chr(8526 - 8425))('\x75' + '\164' + '\146' + chr(45) + chr(0b111000)))
if fjdMtUDzc4gD:
NYr8NJTXQItJ = DnU3Rq9N5ala(jvJ_220imkI0, roI3spqORKae(ES5oEprVxulp(b'\xc4'), chr(0b11101 + 0o107) + chr(0b1100101) + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + '\145')(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + '\x38'))
(qjkl7z2LqGMq, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(s282iMtmXh3x)
if fjdMtUDzc4gD:
(Hv9h3ewB3PIf, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(fjdMtUDzc4gD)
else:
Hv9h3ewB3PIf = []
xovs9A75rXry = [roI3spqORKae(ES5oEprVxulp(b'\xe0\x02\xbaA'), '\144' + chr(101) + chr(2485 - 2386) + '\x6f' + '\x64' + chr(1011 - 910))(chr(0b1110101) + chr(0b110111 + 0o75) + chr(6622 - 6520) + chr(1034 - 989) + chr(569 - 513)), roI3spqORKae(ES5oEprVxulp(b'\xff\x04\xadE&|E\xe3'), chr(0b1100100) + '\x65' + chr(99) + chr(0b111000 + 0o67) + chr(1047 - 947) + chr(0b110001 + 0o64))('\x75' + chr(116) + chr(416 - 314) + '\x2d' + chr(0b10000 + 0o50)), roI3spqORKae(ES5oEprVxulp(b'\xff\n\xba\nr=d\xa4'), chr(100) + chr(7859 - 7758) + '\143' + chr(0b1101111) + '\x64' + chr(101))(chr(1224 - 1107) + chr(0b1110100) + chr(102) + '\x2d' + chr(0b10001 + 0o47)), roI3spqORKae(ES5oEprVxulp(b'\xff\x04\xa0C|5\x02\xc8\x04'), chr(100) + chr(7456 - 7355) + '\x63' + chr(0b101110 + 0o101) + '\144' + '\145')(chr(3145 - 3028) + chr(116) + chr(0b101111 + 0o67) + chr(0b111 + 0o46) + chr(0b1110 + 0o52)), roI3spqORKae(ES5oEprVxulp(b'\xf2\x0c\xab\x04'), chr(100) + chr(4223 - 4122) + '\x63' + chr(111) + chr(0b1100100) + chr(0b1100101))('\x75' + '\x74' + chr(0b1100110) + chr(607 - 562) + chr(0b110001 + 0o7)), roI3spqORKae(ES5oEprVxulp(b'\xf2\x0c\xab\x04!|M\xe0L'), '\144' + chr(7615 - 7514) + chr(0b1100011) + chr(111) + chr(2372 - 2272) + '\145')(chr(117) + chr(0b1110100) + chr(3309 - 3207) + chr(0b100010 + 0o13) + chr(0b0 + 0o70)), roI3spqORKae(ES5oEprVxulp(b'\xe6\x05\xa7P!'), chr(0b1000100 + 0o40) + '\x65' + chr(0b1100011) + '\157' + chr(0b1100100 + 0o0) + '\x65')('\165' + chr(116) + chr(102) + chr(0b101101) + chr(0b111000))]
Yayx0_c1LoGR = [roI3spqORKae(ES5oEprVxulp(b'\xd6\x19\x91W;aO\xd2Cr\x8f\x96?'), chr(3643 - 3543) + '\145' + chr(7728 - 7629) + chr(6552 - 6441) + chr(9175 - 9075) + chr(0b111001 + 0o54))(chr(0b1110101) + '\164' + chr(102) + '\x2d' + chr(0b1110 + 0o52)), roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2Ar\x96'), chr(0b1100100) + '\x65' + chr(0b100010 + 0o101) + chr(111) + chr(100) + chr(950 - 849))(chr(0b1000111 + 0o56) + chr(10586 - 10470) + '\x66' + chr(0b101101) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2A|\x8c'), '\x64' + chr(101) + chr(0b101110 + 0o65) + '\x6f' + chr(4325 - 4225) + chr(1864 - 1763))('\165' + chr(116) + chr(7128 - 7026) + chr(0b101101) + chr(0b101010 + 0o16)), roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2Lt\x87'), '\x64' + '\x65' + '\143' + chr(7357 - 7246) + chr(0b1100100) + chr(101))(chr(11618 - 11501) + '\x74' + chr(0b1100110) + chr(0b101101) + chr(1824 - 1768)), roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2Lt\x87\xac?\xb4\x04\x11\x1d'), chr(0b1100100) + chr(0b111100 + 0o51) + chr(99) + chr(0b1011100 + 0o23) + '\x64' + chr(101))(chr(0b1110101) + chr(0b10001 + 0o143) + chr(0b1100110) + chr(0b10111 + 0o26) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2Lt\x87\xac9\xb3\n\x08'), chr(100) + chr(0b1100101) + chr(99) + chr(0b1101111) + chr(0b1100010 + 0o2) + '\x65')(chr(0b1110 + 0o147) + chr(0b1110100 + 0o0) + chr(102) + chr(1101 - 1056) + '\070')]
m1ekAgWnd_H0 = [roI3spqORKae(ES5oEprVxulp(b'\xe0\x02\xbaA'), '\x64' + chr(0b10 + 0o143) + chr(0b100011 + 0o100) + chr(111) + '\144' + '\145')(chr(117) + chr(0b1110100) + chr(102) + '\x2d' + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xf0\x04\xa3T|'), chr(100) + chr(101) + chr(99) + '\x6f' + '\x64' + chr(0b1100101))(chr(0b1110101) + chr(116) + chr(102) + '\x2d' + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xc3\x0e\xbcGrAi'), chr(0b10010 + 0o122) + chr(9434 - 9333) + chr(0b1001011 + 0o30) + chr(0b1101111) + chr(0b1100100) + chr(0b1010001 + 0o24))(chr(117) + chr(3544 - 3428) + chr(3567 - 3465) + chr(0b111 + 0o46) + chr(921 - 865)), roI3spqORKae(ES5oEprVxulp(b'\xf7\x0e\xad\n'), '\x64' + chr(7542 - 7441) + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + chr(101))(chr(117) + chr(0b1110100) + chr(0b1100110) + '\055' + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xfa\x05\xad\n'), chr(0b1100100) + chr(0b100101 + 0o100) + chr(0b10101 + 0o116) + chr(0b1101111) + chr(100) + '\x65')(chr(0b111111 + 0o66) + '\164' + '\146' + chr(0b11 + 0o52) + chr(0b10111 + 0o41)), roI3spqORKae(ES5oEprVxulp(b'\xfd\x07'), chr(0b1100100) + '\145' + chr(0b1110 + 0o125) + '\157' + '\x64' + chr(101))(chr(1206 - 1089) + chr(116) + chr(4357 - 4255) + chr(0b11010 + 0o23) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xfd\x1b'), chr(100) + chr(2877 - 2776) + '\x63' + '\x6f' + chr(9748 - 9648) + '\145')(chr(0b1110101) + chr(8946 - 8830) + chr(0b1100110) + chr(232 - 187) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xd8K\xee\x04r'), '\144' + chr(0b1100101) + '\143' + '\x6f' + '\x64' + chr(101))(chr(0b1101001 + 0o14) + chr(8933 - 8817) + chr(102) + '\x2d' + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xe1'), chr(0b101100 + 0o70) + '\x65' + chr(6772 - 6673) + '\157' + chr(0b11010 + 0o112) + '\x65')(chr(117) + chr(0b1101101 + 0o7) + chr(102) + '\055' + chr(0b10011 + 0o45)), roI3spqORKae(ES5oEprVxulp(b'\xd2R\xfb'), '\144' + chr(101) + chr(0b1100011) + chr(0b1010000 + 0o37) + chr(100) + chr(0b1010011 + 0o22))(chr(7160 - 7043) + chr(116) + '\x66' + chr(0b101101) + chr(0b1010 + 0o56)), roI3spqORKae(ES5oEprVxulp(b"\xe3'\xafP"), '\x64' + '\145' + '\x63' + chr(0b1000001 + 0o56) + chr(0b1010110 + 0o16) + '\x65')(chr(0b1100101 + 0o20) + chr(0b111110 + 0o66) + chr(0b110011 + 0o63) + '\x2d' + chr(56)), roI3spqORKae(ES5oEprVxulp(b"\xe3'\xa1J5"), '\144' + '\145' + chr(99) + chr(111) + chr(0b1010 + 0o132) + chr(0b1100101))(chr(117) + '\164' + chr(0b1100110) + '\x2d' + '\070')]
eJc7WQyJgIgo = [roI3spqORKae(ES5oEprVxulp(b'\xd6\x19\x91W;aO\xd2Cr\x8f\x96?'), '\144' + chr(0b1100101) + chr(0b1100011) + chr(0b1101111) + '\144' + chr(101))(chr(7892 - 7775) + chr(116) + chr(0b1100110) + chr(0b101101) + chr(0b11001 + 0o37)), roI3spqORKae(ES5oEprVxulp(b'\xc3\x04\xa2A\rvE\xe0]L\x8c\x92!\xb8'), '\144' + chr(101) + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + chr(0b1100101))(chr(0b110000 + 0o105) + '\x74' + '\146' + chr(45) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xc7\x02\xa2P\rvE\xff_v\x81\x87%\xb2\r'), chr(0b110001 + 0o63) + chr(4342 - 4241) + '\x63' + '\157' + chr(4133 - 4033) + '\x65')('\165' + '\164' + chr(0b1100010 + 0o4) + '\055' + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2Iv\x81'), '\144' + chr(2302 - 2201) + chr(99) + chr(9560 - 9449) + '\x64' + chr(0b1100101))('\x75' + '\164' + chr(2702 - 2600) + '\055' + chr(0b110010 + 0o6)), roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2D}\x81'), '\x64' + '\145' + chr(0b1100011) + '\157' + chr(0b1001101 + 0o27) + chr(1507 - 1406))('\165' + chr(12177 - 12061) + chr(0b1100110) + '\055' + chr(1235 - 1179)), roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2CL\x8e\x9a"\xb8\x10'), chr(0b111000 + 0o54) + chr(2796 - 2695) + chr(99) + chr(0b1101111) + chr(7656 - 7556) + chr(0b1100101))(chr(0b1110101) + chr(0b1 + 0o163) + '\x66' + '\x2d' + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2CL\x92\x9f-\xb3\x06\x0f'), chr(100) + '\145' + chr(0b10000 + 0o123) + chr(111) + chr(0b11110 + 0o106) + chr(101))(chr(0b1110101) + '\164' + chr(0b10 + 0o144) + chr(0b101101) + chr(0b101110 + 0o12)), roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2F'), chr(0b1100100) + chr(4549 - 4448) + chr(0b110001 + 0o62) + chr(0b1101111) + '\144' + chr(0b11011 + 0o112))(chr(8539 - 8422) + chr(11531 - 11415) + chr(3540 - 3438) + chr(658 - 613) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2_'), chr(0b1100100) + '\145' + '\x63' + chr(6005 - 5894) + chr(0b1100100) + chr(101))(chr(117) + chr(9447 - 9331) + chr(1694 - 1592) + '\x2d' + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2L\x7f\x92\x9b-\xe4V'), chr(1669 - 1569) + chr(0b101001 + 0o74) + chr(3424 - 3325) + chr(0b1101111) + chr(742 - 642) + '\145')(chr(0b1110101) + chr(116) + chr(4359 - 4257) + '\x2d' + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xc5\x0c\xbe{>t^'), chr(0b111011 + 0o51) + chr(9673 - 9572) + '\143' + '\157' + chr(0b1100100) + chr(0b1100101))(chr(117) + chr(116) + '\146' + chr(0b100001 + 0o14) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xc5\x0c\xbe{>zD'), chr(100) + chr(101) + chr(6141 - 6042) + chr(111) + chr(0b100110 + 0o76) + '\x65')(chr(117) + chr(0b1001010 + 0o52) + '\146' + chr(45) + chr(0b111000))]
WrGtVqMAdtxy = [roI3spqORKae(ES5oEprVxulp(b'\xe0\x02\xbaA'), '\x64' + chr(0b1100101) + chr(0b1100011) + chr(3611 - 3500) + '\144' + chr(0b1100101))(chr(0b10001 + 0o144) + chr(116) + chr(1437 - 1335) + chr(0b0 + 0o55) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xfd'), chr(0b1000100 + 0o40) + chr(0b1100101) + chr(0b1100011) + '\x6f' + chr(0b1000011 + 0o41) + '\x65')(chr(0b1010111 + 0o36) + chr(0b1001101 + 0o47) + chr(0b1001111 + 0o27) + chr(402 - 357) + chr(1580 - 1524)), roI3spqORKae(ES5oEprVxulp(b'\xf1K\xe6Q\x06<'), chr(0b1100100) + chr(101) + '\143' + chr(4342 - 4231) + chr(100) + '\x65')('\165' + '\x74' + chr(102) + '\x2d' + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xc0\x02\xa9I3'), '\144' + chr(9957 - 9856) + chr(0b1100011) + chr(10998 - 10887) + '\144' + '\145')(chr(0b1101001 + 0o14) + '\x74' + chr(0b1100110) + chr(0b11001 + 0o24) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xc0\x02\xa9I35Z\xe8_p'), chr(7914 - 7814) + chr(101) + '\x63' + '\157' + '\x64' + chr(101))(chr(10418 - 10301) + '\x74' + chr(9928 - 9826) + '\x2d' + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xe5*\x8ai'), chr(0b1100100) + chr(101) + chr(99) + chr(10787 - 10676) + '\x64' + chr(9915 - 9814))(chr(0b1110101) + chr(116) + '\x66' + chr(718 - 673) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xe5*\x8airfC\xea@r'), '\x64' + '\x65' + chr(0b1100011) + chr(7357 - 7246) + chr(100) + chr(10090 - 9989))('\x75' + chr(8603 - 8487) + '\146' + '\055' + chr(0b111000))]
VtoH2T_o6YEy = [roI3spqORKae(ES5oEprVxulp(b'\xd6\x19\x91W;aO\xd2Cr\x8f\x96?'), '\x64' + chr(0b1100101) + chr(99) + chr(111) + chr(0b1100100) + chr(5260 - 5159))(chr(12865 - 12748) + '\164' + chr(102) + chr(0b10111 + 0o26) + chr(1635 - 1579)), roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2D}\x96\xac"'), chr(3693 - 3593) + '\x65' + chr(7112 - 7013) + '\157' + '\144' + chr(0b1100101))(chr(117) + chr(0b1001 + 0o153) + chr(7180 - 7078) + chr(45) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2D}\x96'), '\x64' + chr(5248 - 5147) + '\x63' + chr(5464 - 5353) + chr(3318 - 3218) + chr(502 - 401))('\165' + chr(0b1110100) + chr(8028 - 7926) + '\055' + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2D}\x96\xac?\xb4\x04\x11\x1d'), chr(743 - 643) + chr(3581 - 3480) + chr(9403 - 9304) + '\157' + chr(0b110000 + 0o64) + '\x65')(chr(0b101101 + 0o110) + chr(8720 - 8604) + '\146' + chr(45) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2D}\x96\xac?\xb4\x04\x11\x1dZ\xfd\xfc\x7f\xbc'), chr(2893 - 2793) + chr(101) + chr(5280 - 5181) + chr(0b1010011 + 0o34) + chr(0b1100100) + chr(0b1100101))(chr(7022 - 6905) + chr(0b1001010 + 0o52) + '\x66' + chr(0b101101) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xc5\n\xaaI'), chr(6218 - 6118) + chr(101) + chr(0b1100011) + '\x6f' + chr(6322 - 6222) + '\145')('\165' + chr(0b1110100) + '\x66' + '\x2d' + chr(0b1001 + 0o57)), roI3spqORKae(ES5oEprVxulp(b'\xc5\n\xaaI\rfC\xea@r'), chr(0b1100100) + chr(0b100110 + 0o77) + chr(6300 - 6201) + chr(0b1100010 + 0o15) + chr(0b1100100) + chr(0b1001100 + 0o31))(chr(117) + chr(0b1110100) + '\146' + chr(45) + '\070')]
rqPgKW2I0B7j = [roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3ru\x90\x92/'), chr(100) + chr(2730 - 2629) + chr(99) + chr(111) + chr(315 - 215) + '\145')(chr(0b1101110 + 0o7) + chr(116) + chr(102) + chr(0b101101) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3r`\x81\x928'), chr(0b1010110 + 0o16) + '\145' + chr(0b1001000 + 0o33) + '\157' + chr(100) + chr(0b1100101))(chr(0b1110101) + '\164' + '\x66' + chr(45) + chr(2148 - 2092)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3rt\x83\x83\x13\xb0\x02\x04'), chr(0b1100100) + chr(101) + chr(99) + chr(111) + chr(0b1100100) + chr(101))(chr(3123 - 3006) + chr(4159 - 4043) + chr(0b1100001 + 0o5) + '\055' + chr(1553 - 1497)), roI3spqORKae(ES5oEprVxulp(b"\xde\x0e\xafW'gO\xe0H}\x96\xac?\xa9\x06\x0c#h\xe4\xf7"), '\144' + '\145' + '\143' + chr(2097 - 1986) + chr(0b1100100) + chr(101))(chr(4906 - 4789) + chr(9946 - 9830) + '\146' + '\055' + chr(508 - 452)), roI3spqORKae(ES5oEprVxulp(b"\xde\x0e\xafW'gO\xe0H}\x96\xac?\xa9\x06\x0c#h\xec\xe1"), chr(100) + chr(4915 - 4814) + '\143' + chr(111) + chr(5859 - 5759) + chr(0b1000000 + 0o45))(chr(117) + chr(116) + chr(0b1100110) + chr(147 - 102) + chr(0b10110 + 0o42)), roI3spqORKae(ES5oEprVxulp(b"\xde\x0e\xafW'gO\xe0H}\x96\xac?\xa9\x06\x0c#p\xe3\xf0y"), '\144' + chr(0b1100101) + chr(0b100001 + 0o102) + chr(0b101 + 0o152) + chr(0b101111 + 0o65) + chr(0b1100101))('\165' + chr(116) + chr(102) + chr(45) + chr(0b111 + 0o61)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3rc\x8d\x9f-\xaf\n\x08\x05'), '\x64' + chr(0b1100101) + '\x63' + '\157' + '\144' + chr(101))(chr(13522 - 13405) + '\164' + '\x66' + chr(0b101000 + 0o5) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3r}\x90\x9e'), chr(100) + chr(0b1000001 + 0o44) + '\143' + '\x6f' + chr(0b1100100) + chr(0b1100101))('\165' + '\x74' + chr(102) + chr(1707 - 1662) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3rw\x8b\x81)\xbe\x17\x15\x13k\xd2\xedt\xaf\x8c'), chr(100) + chr(101) + '\143' + '\x6f' + chr(0b1100100) + chr(101))(chr(0b1110101) + '\164' + chr(0b111110 + 0o50) + chr(1632 - 1587) + chr(0b110001 + 0o7)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3rp\x8d\x9e<\x82\r\x11\x1e'), chr(7775 - 7675) + chr(622 - 521) + chr(0b1100011) + chr(12275 - 12164) + chr(100) + chr(0b1100101))('\165' + chr(0b1011010 + 0o32) + chr(0b1100110) + '\055' + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3r~\x83\x97'), chr(0b1100100 + 0o0) + '\x65' + chr(0b1100 + 0o127) + '\x6f' + chr(0b1100100) + chr(9325 - 9224))(chr(0b1110101) + '\164' + chr(0b1100110) + chr(45) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3rr\x8e\x83$\xbcZI'), '\x64' + chr(8974 - 8873) + '\143' + chr(0b1101111) + '\144' + '\x65')(chr(117) + chr(11664 - 11548) + '\146' + chr(0b101101) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3r}'), chr(4633 - 4533) + '\x65' + chr(99) + chr(0b1101111) + '\x64' + chr(0b10000 + 0o125))(chr(9007 - 8890) + '\x74' + chr(0b110110 + 0o60) + chr(45) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3rz\x8c\x87\x13\xae\n\x1b\x11d'), chr(100) + chr(679 - 578) + chr(99) + '\157' + '\144' + chr(101))(chr(5001 - 4884) + chr(5998 - 5882) + chr(0b1011101 + 0o11) + chr(0b101101) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3rz\x8c\x87\x13\xae\n\x1b\x11d\xd2\xe9h\xad\x8a'), chr(0b1100 + 0o130) + chr(0b110011 + 0o62) + chr(1984 - 1885) + chr(111) + chr(9162 - 9062) + chr(0b1100101))('\x75' + chr(0b1110100) + '\146' + chr(344 - 299) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3rz\x8c\x87\x13\xaf\x06\x10#v\xe4\xfe`\xbe'), chr(100) + chr(0b10001 + 0o124) + '\x63' + chr(111) + chr(0b1100100) + chr(101))('\165' + chr(0b1000101 + 0o57) + chr(0b1100110) + chr(0b101101) + chr(2647 - 2591)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3rz\x8c\x87\x13\xaf\x06\x10#v\xe4\xfe`\xbe\xb6\x18\xe2\xdei'), chr(100) + chr(0b1011000 + 0o15) + '\x63' + chr(111) + '\x64' + chr(0b11111 + 0o106))(chr(0b1110101) + chr(12470 - 12354) + chr(0b1000001 + 0o45) + chr(345 - 300) + chr(0b11111 + 0o31)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3rz\x8c\x87\x13\xb0\x02\x18'), chr(0b1011000 + 0o14) + chr(2270 - 2169) + chr(99) + chr(0b100010 + 0o115) + chr(6987 - 6887) + chr(101))('\165' + chr(116) + '\x66' + '\x2d' + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3rz\x8c\x87\x13\xb3'), '\x64' + '\x65' + chr(99) + chr(111) + chr(0b1010010 + 0o22) + chr(5606 - 5505))(chr(0b1111 + 0o146) + chr(0b1001011 + 0o51) + '\x66' + '\x2d' + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3rd'), '\x64' + chr(0b110111 + 0o56) + chr(4087 - 3988) + chr(0b1001001 + 0o46) + '\x64' + '\x65')('\165' + chr(116) + chr(102) + chr(0b101101) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3rb'), chr(0b1100100 + 0o0) + '\x65' + chr(9552 - 9453) + chr(0b1101111) + '\144' + chr(0b110111 + 0o56))(chr(9499 - 9382) + chr(9859 - 9743) + '\x66' + chr(0b101101) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3ru'), chr(100) + chr(1857 - 1756) + chr(99) + '\x6f' + chr(100) + chr(0b1011 + 0o132))('\x75' + '\x74' + '\146' + chr(0b10001 + 0o34) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3ru\x94\x97?'), chr(100) + chr(0b1100101) + chr(3625 - 3526) + chr(0b10 + 0o155) + '\144' + chr(0b1100101))('\x75' + chr(7222 - 7106) + chr(102) + chr(0b101101) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3rq\xbd\x80%\xba\x0e\x1d'), chr(0b1100100) + chr(0b1100101) + chr(0b1100011) + chr(6283 - 6172) + chr(100) + chr(1926 - 1825))(chr(117) + chr(0b10111 + 0o135) + chr(102) + chr(238 - 193) + chr(0b110000 + 0o10)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3rq\xbd\x91)\xa9\x02'), chr(0b111001 + 0o53) + chr(1916 - 1815) + chr(0b101000 + 0o73) + chr(0b110010 + 0o75) + chr(2178 - 2078) + chr(0b1100101))(chr(0b100110 + 0o117) + chr(10878 - 10762) + chr(3494 - 3392) + chr(0b101101) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3rt'), chr(2266 - 2166) + '\145' + '\143' + chr(111) + chr(0b100111 + 0o75) + '\145')('\165' + '\x74' + chr(0b1100110) + chr(897 - 852) + chr(2970 - 2914)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3rw\x83\x9d+'), '\x64' + chr(0b1010100 + 0o21) + chr(0b1100011) + chr(111) + chr(100) + '\x65')(chr(13249 - 13132) + '\164' + chr(0b1100010 + 0o4) + '\055' + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3r~\x86'), '\144' + '\145' + '\143' + chr(111) + chr(9360 - 9260) + chr(0b1100101))(chr(12972 - 12855) + chr(0b1110100) + chr(0b1100110) + '\x2d' + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3rc\x96\x81!'), '\144' + chr(0b10110 + 0o117) + '\x63' + chr(111) + '\144' + '\x65')('\x75' + chr(0b0 + 0o164) + chr(0b1100110) + '\x2d' + chr(245 - 189)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3rw\x90\x928'), chr(5846 - 5746) + chr(7212 - 7111) + '\x63' + '\157' + chr(0b1000110 + 0o36) + chr(9502 - 9401))(chr(0b1110101) + chr(0b1000 + 0o154) + chr(102) + '\x2d' + chr(1557 - 1501)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3rw\x90\x928\xae'), chr(8592 - 8492) + '\x65' + chr(0b11111 + 0o104) + chr(0b1101111) + '\x64' + chr(0b101 + 0o140))(chr(0b1011000 + 0o35) + chr(9674 - 9558) + chr(102) + chr(45) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3ra\x91\x90'), chr(100) + chr(3972 - 3871) + chr(6098 - 5999) + chr(111) + chr(0b1100100) + chr(101))(chr(0b1110101) + chr(0b11010 + 0o132) + chr(0b1100110) + chr(0b101101) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3re\x8b\x80/\xb2\x10\x15\x08|\xd2\xf0c\xbb\x8c\x10'), chr(0b1100100) + '\145' + chr(99) + '\157' + chr(0b1100100) + chr(1080 - 979))(chr(0b1110101) + chr(0b110011 + 0o101) + chr(0b1100110) + chr(0b101101) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3r~\x83\x94"\x82\x0e\x13\x11`\xe3\xed'), '\x64' + chr(0b1100101) + chr(0b10101 + 0o116) + '\x6f' + chr(100) + chr(101))(chr(2224 - 2107) + '\164' + chr(0b1010000 + 0o26) + '\x2d' + chr(0b110001 + 0o7)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3r~\x83\x94"\x82\x15\x13\x10p\xe0\xfc'), chr(0b1100100) + chr(0b10001 + 0o124) + '\x63' + chr(12309 - 12198) + chr(100) + chr(101))(chr(117) + '\164' + chr(4760 - 4658) + chr(45) + chr(0b10011 + 0o45)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3r~\x83\x94"\x82\x0e\x1d\x0fv'), chr(0b1100100) + chr(631 - 530) + chr(0b1001000 + 0o33) + '\157' + chr(100) + '\145')(chr(0b1110101) + '\x74' + chr(102) + chr(233 - 188) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3rz\x8c\x87\x13\xad\x17\x0e\x11Z\xe3'), chr(0b111111 + 0o45) + chr(7803 - 7702) + chr(0b1100011) + chr(462 - 351) + chr(0b1100100) + chr(0b1000010 + 0o43))(chr(0b1010 + 0o153) + chr(8608 - 8492) + chr(0b1100110) + '\055' + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3rw\x87\x9f8\xbc'), chr(3682 - 3582) + chr(8981 - 8880) + chr(7388 - 7289) + chr(1226 - 1115) + '\144' + chr(101))('\x75' + chr(0b1101 + 0o147) + chr(9624 - 9522) + chr(1781 - 1736) + chr(913 - 857)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3rg\x8a\x968\xbc'), chr(0b1100100) + chr(101) + '\x63' + '\x6f' + chr(0b1100100) + chr(101))(chr(117) + '\x74' + chr(0b1100110) + '\055' + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3rt\x83\x9e!\xbc'), '\x64' + chr(101) + chr(1248 - 1149) + chr(0b111111 + 0o60) + chr(0b1010001 + 0o23) + chr(3914 - 3813))('\165' + chr(0b1110100) + chr(0b1100110) + chr(319 - 274) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xc0\n\xa3T>pu\xfdB\x7f\x83\x81%\xa9\x1a'), '\x64' + chr(0b101010 + 0o73) + chr(99) + '\157' + '\x64' + '\145')('\x75' + '\164' + chr(0b1100110) + chr(45) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xc0\n\xa3T>pu\xe3_~'), '\144' + '\x65' + chr(99) + '\157' + chr(0b1100011 + 0o1) + chr(6458 - 6357))(chr(117) + chr(0b1110100) + '\x66' + chr(0b101001 + 0o4) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xc0\n\xa3T>pu\xe9Da\x87\x908\xb4\x0c\x12#q\xf4\xe9h'), '\144' + chr(101) + '\x63' + chr(111) + chr(100) + '\145')('\x75' + chr(116) + chr(9191 - 9089) + chr(200 - 155) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xc0\n\xa3T>pu\xeeB~\x92\xac"\xb0\x01'), chr(0b1000010 + 0o42) + chr(101) + chr(99) + chr(0b1001110 + 0o41) + chr(0b1100100) + '\145')(chr(0b1011010 + 0o33) + chr(0b1110100) + '\x66' + chr(45) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xc0\n\xa3T>pu\xfeDt\x8f\x92'), chr(0b1100100) + chr(5108 - 5007) + '\x63' + '\157' + chr(0b1100100) + chr(723 - 622))(chr(117) + chr(0b111001 + 0o73) + '\146' + chr(241 - 196) + chr(0b100010 + 0o26)), roI3spqORKae(ES5oEprVxulp(b'\xc0\n\xa3T>pu\xecAc\x8a\x92u\xe8'), '\x64' + chr(7810 - 7709) + chr(8006 - 7907) + '\x6f' + chr(0b11000 + 0o114) + chr(0b101 + 0o140))(chr(6754 - 6637) + '\164' + chr(102) + '\x2d' + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xc0\n\xa3T>pu\xe3'), '\144' + '\145' + '\143' + chr(111) + '\144' + chr(0b1100101))(chr(117) + chr(8930 - 8814) + '\146' + chr(0b101 + 0o50) + chr(0b110100 + 0o4)), roI3spqORKae(ES5oEprVxulp(b'\xc0\n\xa3T>pu\xe3r\x7f\x8b\x9d)\xae'), '\x64' + chr(0b1000000 + 0o45) + chr(0b110101 + 0o56) + chr(0b1101111) + chr(0b1100100) + chr(0b1100101))('\165' + '\164' + chr(0b1100110) + '\055' + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xc0\n\xa3T>pu\xe3rc\x8e\x92"\xb8\x10'), '\144' + chr(0b1000110 + 0o37) + '\x63' + '\157' + chr(100) + chr(101))(chr(4073 - 3956) + chr(0b1110100) + chr(0b11100 + 0o112) + '\x2d' + chr(0b10111 + 0o41)), roI3spqORKae(ES5oEprVxulp(b'\xc0\n\xa3T>pu\xe6'), chr(4175 - 4075) + chr(0b1100101) + chr(0b1100011) + chr(1451 - 1340) + '\x64' + chr(101))(chr(117) + chr(9568 - 9452) + '\x66' + chr(0b101101) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xc0\n\xa3T>pu\xff'), chr(6334 - 6234) + '\x65' + chr(5040 - 4941) + '\x6f' + chr(0b1011001 + 0o13) + chr(0b1100101))(chr(0b1000011 + 0o62) + chr(1374 - 1258) + '\x66' + '\x2d' + chr(2089 - 2033)), roI3spqORKae(ES5oEprVxulp(b'\xc0\n\xa3T>pu\xf9D\x7f\x96\xac/\xb2\x11\x0e\x19f\xf9\xf0b\xb1'), '\144' + '\x65' + chr(0b111001 + 0o52) + chr(0b1101111) + chr(0b1100100) + chr(101))(chr(5102 - 4985) + chr(7312 - 7196) + chr(102) + '\055' + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xc0\n\xa3T>pu\xe4Cg\xbd\x80%\xba\x0e\x1d'), '\144' + chr(10037 - 9936) + chr(7696 - 7597) + chr(9859 - 9748) + chr(6649 - 6549) + chr(1114 - 1013))('\x75' + chr(116) + chr(0b101100 + 0o72) + '\055' + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xc0\n\xa3T>pu\xe4Cg\xbd\x80%\xba\x0e\x1d#u\xe8\xebn'), chr(2563 - 2463) + '\x65' + '\143' + chr(7291 - 7180) + chr(0b1100100) + chr(8854 - 8753))(chr(0b1000001 + 0o64) + chr(116) + '\146' + chr(545 - 500) + chr(2351 - 2295)), roI3spqORKae(ES5oEprVxulp(b'\xc0\n\xa3T>pu\xe4Cg\xbd\x81)\xb1<\x0f\x15b\xe0\xf8'), chr(0b1100000 + 0o4) + chr(0b1100101) + chr(99) + chr(3398 - 3287) + chr(0b1100100) + chr(0b1100101 + 0o0))(chr(0b111010 + 0o73) + chr(0b1110100) + '\x66' + '\x2d' + chr(0b11011 + 0o35)), roI3spqORKae(ES5oEprVxulp(b'\xc0\n\xa3T>pu\xe4Cg\xbd\x81)\xb1<\x0f\x15b\xe0\xf8R\xaf\x8c\x1a\xe4'), chr(100) + chr(0b110001 + 0o64) + '\143' + chr(0b1101111) + chr(7055 - 6955) + '\x65')(chr(0b1110101) + chr(0b110100 + 0o100) + chr(0b110001 + 0o65) + chr(1346 - 1301) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xc0\n\xa3T>pu\xe4Cg\xbd\x9d'), chr(2282 - 2182) + chr(0b1100101) + '\x63' + '\157' + chr(0b1100100) + chr(0b111011 + 0o52))(chr(0b110001 + 0o104) + chr(0b1110100) + chr(7423 - 7321) + '\x2d' + chr(2881 - 2825)), roI3spqORKae(ES5oEprVxulp(b'\xc0\n\xa3T>pu\xe0Lt\x8c\xac!\xb2\x0e\x19\x12q'), '\x64' + '\145' + chr(1885 - 1786) + chr(111) + '\x64' + chr(9944 - 9843))(chr(6343 - 6226) + '\164' + chr(102) + '\055' + chr(0b100001 + 0o27)), roI3spqORKae(ES5oEprVxulp(b'\xc0\n\xa3T>pu\xe0Lt\x8c\xac:\xb2\x0f\t\x11`'), chr(100) + '\x65' + chr(9099 - 9000) + '\157' + chr(100) + '\x65')(chr(0b1110101) + chr(0b1110100) + chr(10064 - 9962) + chr(0b101101) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xc0\n\xa3T>pu\xe0Lt\x8c\xac!\xbc\x10\x0f'), chr(100) + '\145' + chr(99) + chr(111) + '\144' + chr(0b1100101))(chr(9300 - 9183) + chr(6184 - 6068) + chr(102) + chr(677 - 632) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x02\xbaA\reE\xe1La\x8b\x875'), '\144' + '\145' + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(101))('\x75' + '\x74' + chr(0b111101 + 0o51) + '\055' + chr(0b10001 + 0o47)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x02\xbaA\r{X\xe0'), chr(0b1100100) + chr(0b1100101) + chr(99) + chr(0b1101111) + chr(5939 - 5839) + chr(10200 - 10099))(chr(0b1110101) + chr(116) + chr(0b1001011 + 0o33) + chr(1932 - 1887) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x02\xbaA\rqC\xffHp\x96\x9a#\xb3<\x08\x05u\xe8'), '\x64' + chr(0b1100101) + chr(0b1100011) + '\x6f' + chr(3518 - 3418) + chr(0b1100101))(chr(0b1000111 + 0o56) + chr(5441 - 5325) + chr(0b111010 + 0o54) + chr(0b100001 + 0o14) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x02\xbaA\rvE\xe0]L\x8c\x9e.'), '\x64' + chr(0b101111 + 0o66) + chr(9144 - 9045) + chr(8114 - 8003) + chr(0b1010110 + 0o16) + chr(0b1100101))('\165' + '\164' + chr(0b111000 + 0o56) + chr(0b10 + 0o53) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x02\xbaA\rfC\xea@r'), '\144' + chr(0b1001001 + 0o34) + chr(99) + '\157' + chr(4782 - 4682) + '\145')(chr(0b1110101) + '\164' + chr(0b1010000 + 0o26) + chr(0b11 + 0o52) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x02\xbaA\rtF\xfdEr\xdb\xc6'), '\x64' + chr(2249 - 2148) + chr(0b11110 + 0o105) + '\x6f' + '\144' + chr(0b1100101))(chr(117) + '\164' + '\146' + '\055' + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x02\xbaA\r{'), chr(4176 - 4076) + '\145' + chr(99) + '\x6f' + chr(100) + '\x65')(chr(117) + chr(2866 - 2750) + '\146' + '\x2d' + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x02\xbaA\r{u\xe1D}\x87\x80'), '\x64' + chr(8843 - 8742) + chr(0b1001000 + 0o33) + chr(10624 - 10513) + chr(0b10000 + 0o124) + '\145')(chr(117) + chr(0b110101 + 0o77) + chr(102) + chr(0b101101) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xc0\x02\xbaA\r{u\xfdAr\x8c\x96?'), '\144' + chr(7432 - 7331) + chr(0b1100011) + chr(0b1001100 + 0o43) + chr(0b1100100) + '\x65')(chr(0b100111 + 0o116) + chr(116) + chr(102) + '\055' + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xc0\x02\xbaA\r~'), chr(100) + chr(0b1100101) + '\x63' + chr(111) + chr(0b1100100) + '\x65')(chr(0b1001101 + 0o50) + '\164' + chr(0b1010011 + 0o23) + '\x2d' + chr(3013 - 2957)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x02\xbaA\rg'), chr(0b1100100) + chr(0b110000 + 0o65) + '\x63' + chr(0b101000 + 0o107) + chr(0b110110 + 0o56) + chr(101))('\165' + chr(0b1110100) + '\x66' + '\055' + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xc0\x02\xbaA\raC\xe1YL\x81\x9c>\xaf\x06\x1f\x08l\xe2\xf7'), chr(0b1001011 + 0o31) + '\145' + chr(370 - 271) + '\157' + chr(5829 - 5729) + chr(10063 - 9962))('\165' + chr(0b1101000 + 0o14) + chr(0b1100110) + '\x2d' + chr(528 - 472)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x02\xbaA\r|D\xf9r`\x8b\x94!\xbc'), chr(2573 - 2473) + chr(101) + '\x63' + chr(0b1101001 + 0o6) + '\144' + '\145')('\165' + chr(0b1000110 + 0o56) + chr(8858 - 8756) + chr(45) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x02\xbaA\r|D\xf9r`\x8b\x94!\xbc<\x0c\x19w\xee'), chr(0b1100100) + '\x65' + chr(8134 - 8035) + chr(0b111101 + 0o62) + '\144' + '\x65')(chr(0b1110101) + chr(0b1110100) + chr(0b1011011 + 0o13) + '\055' + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x02\xbaA\r|D\xf9ra\x87\x9f\x13\xae\n\x1b\x11d'), chr(100) + chr(101) + chr(0b1100011) + '\157' + chr(0b1100100) + chr(0b1100101))('\x75' + chr(0b1110100) + chr(0b1000011 + 0o43) + '\x2d' + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x02\xbaA\r|D\xf9ra\x87\x9f\x13\xae\n\x1b\x11d\xd2\xe9h\xad\x8a'), '\144' + '\x65' + chr(0b1100011) + '\157' + chr(0b111111 + 0o45) + chr(101))('\x75' + '\164' + '\x66' + chr(0b101101) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xc0\x02\xbaA\r|D\xf9r}'), chr(100) + chr(8235 - 8134) + chr(5686 - 5587) + '\x6f' + chr(1551 - 1451) + '\145')(chr(0b1100010 + 0o23) + chr(12250 - 12134) + chr(0b1100110) + chr(1018 - 973) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xc0\x02\xbaA\rxK\xeaCL\x8f\x9c!\xb8\r\x08'), chr(0b1100100) + chr(0b1100101 + 0o0) + '\143' + '\157' + chr(0b1100100) + chr(0b1100101))('\165' + chr(0b101110 + 0o106) + '\x66' + chr(1541 - 1496) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xc0\x02\xbaA\rxK\xeaCL\x94\x9c \xa8\x0e\x19'), chr(0b1010011 + 0o21) + chr(101) + '\x63' + chr(0b1000101 + 0o52) + '\x64' + chr(101))(chr(0b1100001 + 0o24) + chr(12588 - 12472) + chr(410 - 308) + '\055' + chr(0b11110 + 0o32)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x02\xbaA\rxK\xeaCL\x8f\x92?\xae'), '\144' + chr(0b1100101) + chr(99) + '\157' + chr(0b1100100) + '\145')(chr(0b1110101) + chr(0b11100 + 0o130) + '\x66' + '\055' + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2Lt\x87\xac!\xb4\r'), chr(100) + chr(0b111000 + 0o55) + chr(0b1001011 + 0o30) + chr(111) + chr(3455 - 3355) + chr(0b1100101))('\x75' + chr(116) + chr(102) + chr(0b101101) + chr(0b11101 + 0o33)), roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2Lt\x87\xac!\xbc\x1b'), chr(4845 - 4745) + '\145' + chr(99) + chr(4767 - 4656) + chr(100) + chr(0b10111 + 0o116))(chr(0b1101000 + 0o15) + '\164' + chr(102) + '\x2d' + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2Lt\x87\xac?\xb4\x04\x11\x1d'), '\144' + '\145' + chr(0b1100011) + '\x6f' + chr(0b1100100) + chr(0b1100101))(chr(117) + chr(3797 - 3681) + chr(6264 - 6162) + '\055' + chr(872 - 816)), roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2Lt\x87\xac9\xb3\n\x08'), '\144' + chr(0b1100101) + '\x63' + chr(111) + chr(5779 - 5679) + chr(154 - 53))('\x75' + chr(0b11010 + 0o132) + chr(102) + chr(0b10 + 0o53) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2^z\x85\x9e-'), '\x64' + '\x65' + chr(0b1100 + 0o127) + '\x6f' + '\144' + chr(5437 - 5336))(chr(2615 - 2498) + '\x74' + chr(0b1100110) + '\055' + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2L\x7f\x92\x9b-\xe4V'), '\144' + chr(101) + '\143' + chr(111) + chr(0b1100100) + '\145')(chr(0b1011000 + 0o35) + chr(116) + chr(0b1100110) + chr(0b1000 + 0o45) + chr(0b1 + 0o67)), roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2C'), chr(5978 - 5878) + '\145' + '\x63' + chr(0b1101111) + '\144' + chr(0b1011100 + 0o11))(chr(0b1110101) + chr(0b1001011 + 0o51) + chr(7131 - 7029) + chr(0b10110 + 0o27) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2C}'), chr(100) + chr(0b10110 + 0o117) + '\x63' + chr(111) + '\144' + chr(0b10110 + 0o117))(chr(117) + chr(0b1010000 + 0o44) + chr(102) + chr(0b100010 + 0o13) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2F'), '\x64' + '\145' + '\x63' + chr(0b1101111) + chr(0b10100 + 0o120) + chr(101))('\x75' + '\164' + chr(0b1 + 0o145) + chr(0b100011 + 0o12) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2_'), chr(8392 - 8292) + chr(0b10101 + 0o120) + chr(2691 - 2592) + chr(0b1101111) + chr(100) + chr(0b1000100 + 0o41))(chr(9196 - 9079) + chr(0b1110100) + chr(9014 - 8912) + chr(0b101101) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2D}\x96\xac?\xb4\x04\x11\x1d'), chr(5514 - 5414) + '\x65' + '\x63' + chr(8807 - 8696) + '\144' + '\145')('\x75' + '\164' + '\146' + '\x2d' + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2D}\x96\xac>\xb8\x0f#\x0fl\xea\xf4l'), chr(100) + '\x65' + chr(1146 - 1047) + '\157' + chr(0b10010 + 0o122) + chr(1859 - 1758))(chr(0b1110101) + chr(116) + '\146' + chr(0b101101) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2D}\x96\xac>\xb8\x0f#\x0fl\xea\xf4l\x80\x99\r\xf5\xcf'), '\x64' + chr(9629 - 9528) + chr(5145 - 5046) + chr(111) + chr(0b10111 + 0o115) + '\145')(chr(0b1110101) + chr(2239 - 2123) + chr(8755 - 8653) + chr(45) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2D}\x96\xac"'), chr(100) + chr(0b1101 + 0o130) + chr(99) + '\x6f' + chr(1637 - 1537) + chr(101))(chr(117) + chr(0b1110100) + '\x66' + chr(0b0 + 0o55) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2D}\x96\xac"\xb3'), chr(0b1100100) + '\x65' + chr(3698 - 3599) + '\157' + '\x64' + '\145')(chr(3215 - 3098) + chr(0b1110100) + '\x66' + '\055' + chr(0b1010 + 0o56)), roI3spqORKae(ES5oEprVxulp(b'\xc5\x0c\xbe{6e'), chr(100) + '\x65' + chr(0b110001 + 0o62) + chr(11650 - 11539) + chr(7820 - 7720) + chr(0b1001001 + 0o34))('\165' + chr(116) + '\146' + chr(45) + chr(0b100000 + 0o30)), roI3spqORKae(ES5oEprVxulp(b'\xc5\x0c\xbe{6x'), chr(100) + chr(0b1100101) + '\x63' + '\x6f' + chr(0b1100100) + '\x65')('\x75' + chr(0b110011 + 0o101) + '\146' + chr(0b101101) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xc5\x0c\xbe{!|M\xe0L'), chr(100) + chr(0b1100101) + '\143' + '\x6f' + chr(0b1000011 + 0o41) + chr(0b1100010 + 0o3))(chr(117) + chr(0b100100 + 0o120) + chr(0b110011 + 0o63) + chr(1198 - 1153) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xc5\x0c\xbe{3yZ\xe5L*\xd7'), chr(0b1100100) + chr(101) + chr(0b101001 + 0o72) + chr(0b1010 + 0o145) + '\144' + chr(0b1011100 + 0o11))('\165' + '\x74' + '\146' + chr(45) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xc5\x0c\xbe{<'), chr(0b1110 + 0o126) + '\x65' + '\143' + chr(0b1100110 + 0o11) + chr(7112 - 7012) + '\x65')(chr(8989 - 8872) + chr(12665 - 12549) + chr(0b1100110) + chr(0b11011 + 0o22) + chr(0b1100 + 0o54)), roI3spqORKae(ES5oEprVxulp(b'\xc5\x0f\xa3{!|M\xe0L'), chr(100) + chr(6107 - 6006) + '\143' + chr(0b1001010 + 0o45) + '\x64' + chr(0b1100001 + 0o4))(chr(7280 - 7163) + '\x74' + chr(0b1100110) + chr(45) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xc5\x0f\xa3{<'), chr(8062 - 7962) + chr(0b101100 + 0o71) + chr(2067 - 1968) + '\157' + chr(2886 - 2786) + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + '\146' + chr(45) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xc5\n\xaaI\rfC\xea@r'), chr(262 - 162) + chr(101) + chr(8792 - 8693) + chr(0b1101111) + chr(100) + '\x65')(chr(0b1110101) + chr(0b1110100) + chr(102) + chr(0b101101) + chr(0b10100 + 0o44)), roI3spqORKae(ES5oEprVxulp(b'\xc5\n\xaaI\r{'), chr(0b100100 + 0o100) + '\x65' + chr(0b1100011) + '\157' + chr(7744 - 7644) + '\x65')(chr(117) + chr(0b1110100) + chr(2060 - 1958) + '\055' + chr(56))]
if fjdMtUDzc4gD:
CdDbps1C4JkW = Hv9h3ewB3PIf[nzTpIcepk0o8('\x30' + '\x6f' + chr(48), 8)]
for QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(CdDbps1C4JkW, roI3spqORKae(ES5oEprVxulp(b'\xd8\x0e\xb7W'), chr(0b1100100) + chr(0b1000000 + 0o45) + chr(0b1100011) + chr(111) + chr(8572 - 8472) + chr(0b1100101))(chr(8601 - 8484) + '\164' + chr(0b1000011 + 0o43) + '\055' + '\x38'))()):
if QYodcsDtoGq7 not in rqPgKW2I0B7j:
del CdDbps1C4JkW[QYodcsDtoGq7]
for QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(CdDbps1C4JkW, roI3spqORKae(ES5oEprVxulp(b'\xd8\x0e\xb7W'), chr(3882 - 3782) + '\x65' + chr(0b1100011) + chr(0b1101 + 0o142) + '\x64' + chr(6962 - 6861))('\165' + chr(0b1110100) + '\146' + chr(56 - 11) + chr(0b1000 + 0o60)))()):
if not CdDbps1C4JkW[QYodcsDtoGq7] or Z5xOfqIptFuc(CdDbps1C4JkW[QYodcsDtoGq7]) > nzTpIcepk0o8(chr(0b10110 + 0o32) + chr(111) + '\x31' + chr(0b11011 + 0o34) + '\x35' + chr(0b110000), 0o10) or Z5xOfqIptFuc(CdDbps1C4JkW[QYodcsDtoGq7]) == nzTpIcepk0o8(chr(1863 - 1815) + chr(7646 - 7535) + '\060', 8):
del CdDbps1C4JkW[QYodcsDtoGq7]
zIr2Mo8idee7 = H4NoA26ON7iG(CdDbps1C4JkW.keys())
if QJgeTIOanow9:
(JlNPC9Ow4uxx, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(QJgeTIOanow9)
_nJGa9oS7Wxq = DnU3Rq9N5ala(MThZBR8YwTcP, roI3spqORKae(ES5oEprVxulp(b'\xc4'), chr(100) + '\145' + chr(8663 - 8564) + chr(111) + chr(0b1100100) + chr(0b1000110 + 0o37))('\x75' + '\164' + '\x66' + '\055' + chr(0b1010 + 0o56)))
y6LB9CDCRcOi = [roI3spqORKae(ES5oEprVxulp(b'\xe0\x02\xbaA'), chr(1348 - 1248) + '\145' + chr(99) + '\x6f' + chr(0b1000101 + 0o37) + chr(0b1100101))(chr(0b1101011 + 0o12) + chr(5554 - 5438) + chr(102) + chr(45) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xe0\x1b\xabG;xO\xe3'), '\144' + chr(5329 - 5228) + '\143' + chr(0b1101111) + chr(7172 - 7072) + '\145')('\x75' + chr(1127 - 1011) + '\146' + chr(596 - 551) + chr(2564 - 2508)), roI3spqORKae(ES5oEprVxulp(b'\xf1K\xe6Q\x06<'), chr(213 - 113) + chr(0b100100 + 0o101) + chr(0b1100011) + chr(9590 - 9479) + '\144' + chr(0b1001010 + 0o33))('\165' + chr(285 - 169) + chr(5491 - 5389) + '\x2d' + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xfe*\x8a'), '\144' + '\x65' + chr(5826 - 5727) + chr(0b111111 + 0o60) + chr(9064 - 8964) + chr(1016 - 915))(chr(0b1101 + 0o150) + chr(4724 - 4608) + chr(8957 - 8855) + chr(0b101101) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xf1\x0e\xbaE'), '\x64' + chr(101) + '\143' + chr(0b1101111) + '\x64' + '\145')(chr(8797 - 8680) + '\x74' + chr(0b10101 + 0o121) + chr(0b101101) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xfd'), chr(100) + chr(0b1101 + 0o130) + chr(1523 - 1424) + chr(0b1101111) + chr(100) + chr(8078 - 7977))(chr(0b101111 + 0o106) + chr(0b1110100) + chr(6020 - 5918) + '\x2d' + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xe2'), chr(0b110001 + 0o63) + '\145' + chr(99) + chr(111) + '\144' + chr(8936 - 8835))('\x75' + '\x74' + '\x66' + '\x2d' + chr(2958 - 2902)), roI3spqORKae(ES5oEprVxulp(b'\xf7*\x80c'), '\144' + '\145' + '\x63' + chr(0b1101111) + '\144' + chr(0b1 + 0o144))(chr(3361 - 3244) + '\164' + chr(0b1100110) + '\x2d' + chr(340 - 284)), roI3spqORKae(ES5oEprVxulp(b'\xd5F\xb8@!'), chr(6565 - 6465) + chr(101) + chr(0b1011101 + 0o6) + chr(0b1101111) + '\x64' + chr(0b111001 + 0o54))('\165' + chr(11868 - 11752) + chr(0b1011001 + 0o15) + '\x2d' + chr(0b110010 + 0o6)), roI3spqORKae(ES5oEprVxulp(b'\xf79\x8fp\x01'), '\144' + '\145' + chr(2323 - 2224) + chr(111) + chr(2940 - 2840) + '\x65')(chr(0b1010 + 0o153) + '\x74' + chr(102) + '\x2d' + chr(1611 - 1555)), roI3spqORKae(ES5oEprVxulp(b'\xe7K\xe6g{'), chr(0b1100100) + '\145' + '\143' + chr(111) + '\x64' + chr(164 - 63))(chr(0b1010010 + 0o43) + '\x74' + chr(0b1101 + 0o131) + chr(45) + chr(56))]
EAModKJL6bV4 = [roI3spqORKae(ES5oEprVxulp(b'\xd6\x19\x91W;aO\xd2Cr\x8f\x96'), chr(100) + '\145' + chr(5571 - 5472) + '\157' + chr(100) + '\x65')('\165' + chr(1387 - 1271) + chr(0b1100110) + chr(321 - 276) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xd6\x19\x91W"pI\xe4@v\x8c\xac"\xbc\x0e\x19'), chr(0b110001 + 0o63) + chr(0b1100100 + 0o1) + '\x63' + chr(0b11111 + 0o120) + chr(0b1001010 + 0o32) + chr(101))(chr(117) + chr(0b111000 + 0o74) + chr(0b1100110 + 0o0) + '\055' + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3rz\x8c\x87'), chr(941 - 841) + chr(0b11 + 0o142) + chr(0b10000 + 0o123) + chr(10000 - 9889) + '\x64' + chr(3021 - 2920))(chr(0b1110101) + chr(12024 - 11908) + chr(0b1101 + 0o131) + '\055' + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3rz\x8c\x87\x13\xb0\x02\x18'), chr(0b1100100) + chr(0b111110 + 0o47) + chr(99) + '\157' + '\x64' + chr(8563 - 8462))(chr(0b1110101) + '\164' + chr(102) + '\x2d' + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3rq\xbd\x91)\xa9\x02'), '\144' + '\145' + chr(99) + '\x6f' + '\144' + chr(2323 - 2222))('\165' + chr(0b1110100) + '\146' + '\055' + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3rz\x8c\x87\x13\xb3'), '\144' + chr(0b110111 + 0o56) + chr(0b110101 + 0o56) + chr(111) + chr(0b1100100) + chr(0b1100101))(chr(0b1001100 + 0o51) + chr(0b111100 + 0o70) + chr(0b101110 + 0o70) + chr(1952 - 1907) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3rb'), chr(0b1100100) + chr(0b1100101) + '\143' + '\157' + chr(8396 - 8296) + '\145')(chr(117) + '\164' + chr(0b1100110) + '\x2d' + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3rw\x83\x9d+'), chr(0b1001111 + 0o25) + chr(0b1010101 + 0o20) + '\x63' + '\157' + chr(0b100101 + 0o77) + chr(0b1100101))('\x75' + '\164' + '\x66' + '\055' + chr(396 - 340)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3ru\x94\x97?'), chr(0b1100100) + chr(8209 - 8108) + chr(1068 - 969) + chr(0b1101111) + chr(0b1100100) + chr(471 - 370))(chr(1947 - 1830) + chr(0b1100000 + 0o24) + chr(0b111110 + 0o50) + '\055' + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3rw\x90\x928\xae'), '\x64' + '\145' + chr(395 - 296) + chr(9984 - 9873) + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + '\x74' + chr(0b1011010 + 0o14) + '\x2d' + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xc7\x19\xafJ5p'), chr(100) + chr(0b1100101) + '\143' + chr(4092 - 3981) + '\x64' + '\x65')(chr(0b1110101) + '\164' + chr(3063 - 2961) + chr(0b101101) + chr(56))]
ZwtKGTWH3Leh = [roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3ru\x90\x92/'), chr(5044 - 4944) + '\x65' + chr(99) + chr(111) + chr(0b110111 + 0o55) + chr(0b1100101))(chr(0b1110101) + chr(0b100001 + 0o123) + chr(2484 - 2382) + chr(1030 - 985) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3r`\x81\x928'), '\x64' + chr(0b1000001 + 0o44) + chr(99) + chr(0b1100101 + 0o12) + '\x64' + chr(0b1000001 + 0o44))('\165' + chr(9435 - 9319) + chr(6087 - 5985) + chr(45) + chr(1241 - 1185)), roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3rt\x8f\x924'), chr(100) + '\145' + chr(0b1010101 + 0o16) + '\x6f' + chr(0b1100100) + chr(0b1100101))(chr(117) + chr(0b1101110 + 0o6) + '\x66' + '\055' + chr(0b100001 + 0o27))]
if yOzxEm2mFS8T:
roI3spqORKae(y6LB9CDCRcOi, roI3spqORKae(ES5oEprVxulp(b'\xfb?\x9d\x10*rm\xe2G|\xb7\xc6'), chr(100) + chr(0b1100001 + 0o4) + chr(0b101011 + 0o70) + '\157' + '\144' + chr(0b1100101))(chr(117) + chr(9851 - 9735) + chr(0b10000 + 0o126) + chr(0b101101) + chr(2049 - 1993)))(roI3spqORKae(ES5oEprVxulp(b'\xf4\x19\xaf@7'), chr(8213 - 8113) + chr(0b1001000 + 0o35) + '\x63' + chr(0b1101111) + chr(0b1100100) + '\x65')('\165' + '\x74' + chr(0b11001 + 0o115) + '\x2d' + chr(1950 - 1894)))
roI3spqORKae(EAModKJL6bV4, roI3spqORKae(ES5oEprVxulp(b'\xfb?\x9d\x10*rm\xe2G|\xb7\xc6'), '\144' + chr(0b1100011 + 0o2) + '\143' + chr(9914 - 9803) + '\144' + chr(1725 - 1624))(chr(117) + '\164' + '\x66' + '\055' + '\x38'))(roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3rt\x90\x92(\xb8'), '\144' + chr(0b1100101) + chr(0b1100011) + chr(0b100111 + 0o110) + '\x64' + '\145')(chr(0b1110101) + chr(0b1110100) + chr(0b111100 + 0o52) + chr(45) + chr(56)))
for bI5jsQ9OkQtj in ZwtKGTWH3Leh:
if bI5jsQ9OkQtj in H4NoA26ON7iG(roI3spqORKae(JlNPC9Ow4uxx[nzTpIcepk0o8(chr(361 - 313) + chr(0b101000 + 0o107) + '\x30', 8)], roI3spqORKae(ES5oEprVxulp(b'\xd8\x0e\xb7W'), chr(0b11100 + 0o110) + '\145' + chr(99) + chr(0b100111 + 0o110) + chr(100) + '\x65')(chr(117) + '\164' + '\146' + chr(45) + chr(0b101110 + 0o12)))()):
roI3spqORKae(EAModKJL6bV4, roI3spqORKae(ES5oEprVxulp(b'\xfb?\x9d\x10*rm\xe2G|\xb7\xc6'), chr(7513 - 7413) + chr(5606 - 5505) + chr(0b1100011) + chr(111) + chr(100) + '\x65')(chr(0b1110010 + 0o3) + chr(0b1110100) + '\146' + '\x2d' + '\x38'))(bI5jsQ9OkQtj)
f4BCjgf7xSq7 = roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(101) + chr(0b1100011) + '\x6f' + chr(8189 - 8089) + '\x65')('\165' + chr(5032 - 4916) + '\x66' + chr(45) + chr(56))
for B6UAF1zReOyJ in roI3spqORKae(bI5jsQ9OkQtj, roI3spqORKae(ES5oEprVxulp(b'\xff\r\x9cV\x03ZR\xf8ie\x8c\xb0'), chr(0b10010 + 0o122) + chr(0b1100101) + chr(0b1001001 + 0o32) + chr(111) + '\x64' + chr(224 - 123))('\165' + chr(0b1110100) + '\146' + chr(45) + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b'\xec'), '\144' + chr(101) + '\143' + chr(212 - 101) + chr(3593 - 3493) + chr(0b1100101))('\x75' + chr(0b100000 + 0o124) + chr(0b1100110) + chr(45) + chr(0b111000)))[nzTpIcepk0o8('\060' + '\157' + chr(0b11010 + 0o27), 8):]:
f4BCjgf7xSq7 = f4BCjgf7xSq7 + B6UAF1zReOyJ + roI3spqORKae(ES5oEprVxulp(b'\xec'), chr(0b1100100) + chr(101) + chr(0b1100011) + chr(0b1101111) + chr(7934 - 7834) + chr(1133 - 1032))(chr(0b1110101) + chr(116) + '\x66' + '\x2d' + '\x38')
roI3spqORKae(y6LB9CDCRcOi, roI3spqORKae(ES5oEprVxulp(b'\xfb?\x9d\x10*rm\xe2G|\xb7\xc6'), chr(0b1100100) + '\145' + chr(1976 - 1877) + chr(111) + chr(7590 - 7490) + chr(0b11101 + 0o110))(chr(0b1101 + 0o150) + chr(8008 - 7892) + chr(0b1000001 + 0o45) + chr(45) + '\x38'))(roI3spqORKae(f4BCjgf7xSq7, roI3spqORKae(ES5oEprVxulp(b'\xd8\x0f\x87` v]\xd7yP\x91\xc6'), '\144' + chr(0b101000 + 0o75) + '\143' + '\x6f' + '\x64' + '\x65')(chr(5413 - 5296) + '\164' + '\x66' + '\055' + chr(56)))(roI3spqORKae(ES5oEprVxulp(b'\xec'), chr(6688 - 6588) + chr(101) + '\x63' + chr(4652 - 4541) + '\144' + chr(101))('\165' + '\x74' + chr(102) + chr(1211 - 1166) + '\070')))
roI3spqORKae(y6LB9CDCRcOi, roI3spqORKae(ES5oEprVxulp(b'\xfb?\x9d\x10*rm\xe2G|\xb7\xc6'), '\144' + chr(101) + '\x63' + chr(0b1101111) + '\x64' + chr(101))('\165' + chr(7281 - 7165) + chr(3716 - 3614) + '\055' + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b'\xf0\x04\xbcV7v^\xe4B}\x91'), '\144' + '\x65' + chr(99) + chr(0b1101111) + chr(4482 - 4382) + '\x65')(chr(1735 - 1618) + chr(0b1110100) + chr(0b1100110) + '\055' + chr(1121 - 1065)))
roI3spqORKae(EAModKJL6bV4, roI3spqORKae(ES5oEprVxulp(b'\xfb?\x9d\x10*rm\xe2G|\xb7\xc6'), chr(0b110101 + 0o57) + '\145' + chr(99) + '\x6f' + chr(0b1100100) + '\145')('\165' + chr(10820 - 10704) + chr(3876 - 3774) + '\055' + '\x38'))(roI3spqORKae(ES5oEprVxulp(b'\xd0\x04\xbcV7v^\xe4B}\x91'), '\x64' + '\145' + chr(1306 - 1207) + chr(6724 - 6613) + '\144' + chr(0b1011011 + 0o12))(chr(0b1110101) + chr(2186 - 2070) + chr(102) + chr(45) + chr(2090 - 2034)))
mwEMioO_aSPZ = [roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3rz\x8c\x87'), '\x64' + chr(0b1100101) + '\143' + '\157' + '\144' + '\145')('\x75' + chr(116) + '\146' + chr(0b101101) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2D}\x96'), chr(100) + '\x65' + '\143' + chr(9662 - 9551) + chr(7974 - 7874) + chr(101))(chr(0b1110101) + chr(0b100111 + 0o115) + '\x66' + '\055' + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2D}\x96\xac?\xb4\x04\x11\x1d'), chr(0b1100010 + 0o2) + '\145' + '\x63' + chr(0b100111 + 0o110) + '\x64' + chr(0b1100101))(chr(0b1110101) + '\164' + chr(0b1100110) + '\x2d' + chr(56))]
AmQRsSW99FTS = [roI3spqORKae(ES5oEprVxulp(b'\xc5\n\xaaI'), chr(0b1100100) + '\x65' + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + chr(101))(chr(5201 - 5084) + '\164' + chr(9557 - 9455) + chr(664 - 619) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xc5\n\xaaI\rfC\xea@r'), '\x64' + chr(101) + '\143' + '\157' + chr(3184 - 3084) + chr(101))('\x75' + chr(0b1110100) + chr(0b1100110) + '\055' + chr(0b111000))]
if cl3Ncwxy1gE5:
EAvVzGIvS3lY = roI3spqORKae(ES5oEprVxulp(b'\x93M\xee'), chr(0b1100100) + chr(0b110100 + 0o61) + '\143' + '\x6f' + chr(1883 - 1783) + chr(6090 - 5989))(chr(0b1110101) + chr(0b10000 + 0o144) + chr(0b111000 + 0o56) + chr(0b101101) + chr(56))
NiWVjAWn0l6T = roI3spqORKae(ES5oEprVxulp(b'\xef7'), chr(4608 - 4508) + chr(0b10101 + 0o120) + chr(745 - 646) + '\157' + chr(1857 - 1757) + '\x65')(chr(0b1011110 + 0o27) + chr(116) + chr(4550 - 4448) + '\055' + '\070')
roI3spqORKae(_R8IKF5IwAfX, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), '\x64' + chr(0b1100101) + '\143' + '\x6f' + '\144' + chr(0b101000 + 0o75))(chr(11743 - 11626) + chr(0b11001 + 0o133) + chr(0b1100110) + chr(0b1101 + 0o40) + '\x38'))(roI3spqORKae(ES5oEprVxulp(b"\xef\x0f\xa1G'xO\xe3Yp\x8e\x92?\xae\x18\x1d\x0eq\xe4\xfaa\xba\x94b"), chr(0b1000 + 0o134) + chr(8238 - 8137) + '\x63' + chr(0b1100001 + 0o16) + '\x64' + chr(101))('\x75' + chr(3358 - 3242) + '\x66' + chr(0b1011 + 0o42) + chr(1667 - 1611)))
roI3spqORKae(_R8IKF5IwAfX, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), '\x64' + '\x65' + chr(99) + chr(0b101010 + 0o105) + '\x64' + chr(0b1100101 + 0o0))('\165' + '\x74' + chr(0b1010000 + 0o26) + chr(0b101000 + 0o5) + chr(56)))(roI3spqORKae(ES5oEprVxulp(b'\xef\x1e\xbdA"tI\xe6Lt\x87\xa8!\xbc\x11\x1b\x15k\xb0\xa8d\xb1\xb4\x13\xe0\xc9e\xf3\xb6\xd6\xdc\x03\x0f\xf9'), '\144' + '\x65' + chr(0b1100011) + chr(0b1100 + 0o143) + chr(0b1011011 + 0o11) + chr(0b1110 + 0o127))(chr(10949 - 10832) + chr(0b1011000 + 0o34) + chr(0b1001000 + 0o36) + chr(45) + chr(0b100001 + 0o27)))
roI3spqORKae(_R8IKF5IwAfX, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), '\x64' + chr(101) + '\x63' + chr(4118 - 4007) + chr(4400 - 4300) + chr(0b100111 + 0o76))('\x75' + '\164' + '\x66' + chr(45) + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b'\xef\x1e\xbdA"tI\xe6Lt\x87\x88 \xb2\r\x1b\x08d\xef\xf5h\xa2\xe3'), chr(100) + chr(4161 - 4060) + '\143' + chr(0b1101000 + 0o7) + chr(0b1100100) + chr(101))('\x75' + chr(116) + chr(0b1100110) + chr(1603 - 1558) + '\070'))
roI3spqORKae(_R8IKF5IwAfX, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(0b10111 + 0o115) + chr(101) + '\x63' + chr(111) + '\x64' + chr(101))(chr(0b100100 + 0o121) + '\164' + '\146' + '\055' + chr(56)))(roI3spqORKae(ES5oEprVxulp(b'\xef\t\xabC;{Q\xe9Bp\x97\x9e)\xb3\x17\x01v'), chr(1032 - 932) + chr(101) + '\x63' + chr(111) + chr(100) + '\145')(chr(0b1110101 + 0o0) + chr(116) + chr(0b0 + 0o146) + chr(45) + chr(56)))
roI3spqORKae(S2RSmMFKiMNa, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(3292 - 3192) + chr(0b1100101) + chr(5020 - 4921) + '\157' + chr(0b1100100) + chr(3857 - 3756))(chr(0b1110101 + 0o0) + '\x74' + chr(0b1100110) + '\x2d' + chr(0b100011 + 0o25)))(roI3spqORKae(ES5oEprVxulp(b"\xef\x0f\xa1G'xO\xe3Yp\x8e\x92?\xae\x18\x1d\x0eq\xe4\xfaa\xba\x94b"), '\144' + '\x65' + chr(0b110011 + 0o60) + chr(0b1101111) + chr(0b1100100) + chr(0b1000111 + 0o36))(chr(0b1110101) + '\x74' + '\146' + chr(45) + chr(0b111000)))
roI3spqORKae(S2RSmMFKiMNa, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), '\x64' + chr(5710 - 5609) + '\x63' + chr(6103 - 5992) + chr(0b11001 + 0o113) + chr(6477 - 6376))(chr(0b1110101) + chr(116) + chr(1232 - 1130) + chr(0b11000 + 0o25) + chr(0b110 + 0o62)))(roI3spqORKae(ES5oEprVxulp(b'\xef\x1e\xbdA"tI\xe6Lt\x87\xa8!\xbc\x11\x1b\x15k\xb0\xa8d\xb1\xb4\x13\xe0\xc9e\xf3\xb6\xd6\xdc\x03\x0f\xf9'), '\144' + chr(0b1100100 + 0o1) + chr(0b1100011) + '\157' + '\x64' + chr(0b10 + 0o143))(chr(0b100011 + 0o122) + '\x74' + chr(102) + '\055' + chr(56)))
roI3spqORKae(S2RSmMFKiMNa, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), '\x64' + '\145' + chr(9709 - 9610) + chr(0b1101111) + chr(0b1100100) + chr(101))('\x75' + '\164' + chr(102) + chr(0b100 + 0o51) + chr(56)))(roI3spqORKae(ES5oEprVxulp(b'\xef\x1e\xbdA"tI\xe6Lt\x87\x88 \xb2\r\x1b\x08d\xef\xf5h\xa2\xe3'), '\144' + chr(0b1100101) + chr(0b111010 + 0o51) + chr(0b1100110 + 0o11) + '\x64' + chr(0b1000110 + 0o37))(chr(4711 - 4594) + chr(6830 - 6714) + chr(102) + chr(0b101101) + chr(0b10011 + 0o45)))
roI3spqORKae(S2RSmMFKiMNa, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), '\x64' + '\x65' + chr(0b1100011) + chr(0b1101111) + chr(100) + '\145')(chr(1397 - 1280) + '\164' + chr(102) + '\x2d' + chr(0b1100 + 0o54)))(roI3spqORKae(ES5oEprVxulp(b'\xef\t\xabC;{Q\xe9Bp\x97\x9e)\xb3\x17\x01v'), chr(0b1100100) + chr(0b1001011 + 0o32) + chr(1954 - 1855) + chr(0b1101101 + 0o2) + chr(0b1100100) + chr(0b100001 + 0o104))(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + '\055' + chr(56)))
roI3spqORKae(Aq6EBMTUbp54, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(0b1000 + 0o134) + '\x65' + chr(6420 - 6321) + '\157' + '\144' + chr(101))(chr(5323 - 5206) + chr(11161 - 11045) + chr(0b1100110) + '\x2d' + '\x38'))(roI3spqORKae(ES5oEprVxulp(b"\xef\x0f\xa1G'xO\xe3Yp\x8e\x92?\xae\x18\x1d\x0eq\xe4\xfaa\xba\x94b"), chr(100) + chr(101) + chr(99) + chr(111) + chr(100) + chr(0b110111 + 0o56))(chr(0b11010 + 0o133) + chr(12369 - 12253) + chr(8668 - 8566) + chr(0b1 + 0o54) + chr(56)))
roI3spqORKae(Aq6EBMTUbp54, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(0b1100100) + chr(101) + chr(99) + chr(11557 - 11446) + chr(0b100010 + 0o102) + chr(0b1100101))('\165' + chr(0b110011 + 0o101) + chr(102) + '\055' + chr(1789 - 1733)))(roI3spqORKae(ES5oEprVxulp(b'\xef\x1e\xbdA"tI\xe6Lt\x87\xa8!\xbc\x11\x1b\x15k\xb0\xa8d\xb1\xb4\x13\xe0\xc9e\xf3\xb6\xd6\xdc\x03\x0f\xf9'), '\x64' + chr(0b11 + 0o142) + '\143' + chr(3569 - 3458) + '\144' + chr(0b1100101))(chr(0b1110101) + chr(0b110101 + 0o77) + '\x66' + chr(0b101101) + chr(3052 - 2996)))
roI3spqORKae(Aq6EBMTUbp54, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), '\x64' + chr(0b1100101) + '\143' + '\x6f' + chr(0b1100100) + chr(2374 - 2273))(chr(3344 - 3227) + chr(116) + chr(5331 - 5229) + '\055' + '\070'))(roI3spqORKae(ES5oEprVxulp(b'\xef\x1e\xbdA"tI\xe6Lt\x87\x88 \xb2\r\x1b\x08d\xef\xf5h\xa2\xe3'), chr(0b1011000 + 0o14) + '\x65' + chr(99) + '\157' + chr(0b101010 + 0o72) + chr(0b1100011 + 0o2))('\x75' + '\164' + chr(102) + chr(71 - 26) + chr(0b11 + 0o65)))
roI3spqORKae(Aq6EBMTUbp54, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(100) + chr(0b1100101) + chr(99) + '\x6f' + chr(0b1100100) + chr(0b1100101))(chr(117) + chr(116) + chr(0b101011 + 0o73) + chr(1442 - 1397) + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b'\xef\t\xabC;{Q\xe9Bp\x97\x9e)\xb3\x17\x01v'), chr(100) + chr(101) + chr(4753 - 4654) + chr(1534 - 1423) + chr(0b1100100) + '\x65')(chr(117) + '\x74' + '\x66' + chr(0b100010 + 0o13) + chr(1501 - 1445)))
if fjdMtUDzc4gD:
roI3spqORKae(NYr8NJTXQItJ, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(6747 - 6647) + chr(0b1100101) + chr(0b1100011) + '\x6f' + chr(0b1100100) + chr(101))(chr(0b1110101) + '\164' + '\146' + chr(1785 - 1740) + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b"\xef\x0f\xa1G'xO\xe3Yp\x8e\x92?\xae\x18\x1d\x0eq\xe4\xfaa\xba\x94b"), chr(0b100111 + 0o75) + chr(101) + chr(0b1100011) + '\157' + '\144' + chr(101))(chr(117) + chr(116) + '\146' + chr(476 - 431) + chr(56)))
roI3spqORKae(NYr8NJTXQItJ, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), '\x64' + chr(4697 - 4596) + '\x63' + '\x6f' + chr(0b1100100) + chr(101))('\x75' + chr(0b1110100) + chr(0b1100000 + 0o6) + '\x2d' + '\x38'))(roI3spqORKae(ES5oEprVxulp(b'\xef\x1e\xbdA"tI\xe6Lt\x87\xa8!\xbc\x11\x1b\x15k\xb0\xa8d\xb1\xb4\x13\xe0\xc9e\xf3\xb6\xd6\xdc\x03\x0f\xf9'), chr(3275 - 3175) + '\x65' + chr(0b1100011) + chr(111) + chr(0b11100 + 0o110) + chr(0b1011011 + 0o12))(chr(0b1000 + 0o155) + '\164' + '\146' + '\x2d' + chr(2432 - 2376)))
roI3spqORKae(NYr8NJTXQItJ, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(0b1000100 + 0o40) + chr(6137 - 6036) + chr(6312 - 6213) + chr(111) + chr(0b10101 + 0o117) + chr(6941 - 6840))(chr(9076 - 8959) + chr(116) + '\x66' + chr(0b101000 + 0o5) + '\070'))(roI3spqORKae(ES5oEprVxulp(b'\xef\x1e\xbdA"tI\xe6Lt\x87\x88 \xb2\r\x1b\x08d\xef\xf5h\xa2\xe3'), chr(726 - 626) + chr(0b111000 + 0o55) + chr(99) + chr(4682 - 4571) + '\x64' + '\145')('\165' + chr(3588 - 3472) + '\x66' + '\055' + '\x38'))
roI3spqORKae(NYr8NJTXQItJ, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(121 - 21) + chr(0b1100101) + '\143' + chr(0b1101111) + chr(100) + '\145')(chr(117) + chr(0b1110100) + chr(102) + chr(0b101010 + 0o3) + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b'\xef\t\xabC;{Q\xe9Bp\x97\x9e)\xb3\x17\x01v'), chr(0b1100100) + chr(3914 - 3813) + chr(99) + '\157' + chr(0b1100100) + '\x65')('\165' + '\x74' + chr(0b1100110) + chr(1931 - 1886) + '\070'))
if QJgeTIOanow9:
roI3spqORKae(_nJGa9oS7Wxq, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(0b1000111 + 0o35) + chr(4737 - 4636) + chr(0b1100011) + chr(6507 - 6396) + chr(0b1100100) + chr(3355 - 3254))('\x75' + '\x74' + chr(0b101000 + 0o76) + chr(2004 - 1959) + '\x38'))(roI3spqORKae(ES5oEprVxulp(b"\xef\x0f\xa1G'xO\xe3Yp\x8e\x92?\xae\x18\x1d\x0eq\xe4\xfaa\xba\x94b"), chr(4385 - 4285) + '\145' + '\143' + '\157' + '\144' + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + chr(0b1011111 + 0o7) + chr(45) + '\070'))
roI3spqORKae(_nJGa9oS7Wxq, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(0b1100100 + 0o0) + '\145' + '\x63' + '\157' + chr(100) + '\145')(chr(0b101011 + 0o112) + chr(7458 - 7342) + chr(6732 - 6630) + chr(899 - 854) + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b'\xef\x1e\xbdA"tI\xe6Lt\x87\xa8!\xbc\x11\x1b\x15k\xb0\xa8d\xb1\xb4\x13\xe0\xc9e\xf3\xb6\xd6\xdc\x03\x0f\xf9'), '\x64' + '\145' + chr(0b1100011) + chr(0b101000 + 0o107) + chr(100) + chr(5315 - 5214))(chr(6010 - 5893) + chr(116) + '\x66' + chr(45) + '\x38'))
roI3spqORKae(_nJGa9oS7Wxq, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(0b1100100) + chr(101) + chr(99) + chr(111) + chr(0b1100011 + 0o1) + chr(101))(chr(0b1000101 + 0o60) + chr(116) + '\146' + chr(2000 - 1955) + '\070'))(roI3spqORKae(ES5oEprVxulp(b'\xef\x1e\xbdA"tI\xe6Lt\x87\x88 \xb2\r\x1b\x08d\xef\xf5h\xa2\xe3'), '\x64' + '\x65' + chr(0b1100011) + '\x6f' + '\x64' + '\145')(chr(11821 - 11704) + chr(0b1001010 + 0o52) + chr(0b1100110) + chr(1660 - 1615) + '\070'))
roI3spqORKae(_nJGa9oS7Wxq, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), '\144' + chr(101) + chr(0b110111 + 0o54) + chr(0b110010 + 0o75) + chr(3217 - 3117) + chr(5011 - 4910))(chr(0b1110101) + '\164' + chr(978 - 876) + chr(0b101101) + '\070'))(roI3spqORKae(ES5oEprVxulp(b'\xef\t\xabC;{Q\xe9Bp\x97\x9e)\xb3\x17\x01v'), chr(0b1100100) + '\x65' + '\143' + chr(111) + chr(0b1100100) + chr(0b110010 + 0o63))('\x75' + '\164' + '\146' + chr(0b100011 + 0o12) + chr(0b111000)))
ZeuxpXx9iFGD = roI3spqORKae(ES5oEprVxulp(b'\xef\t\xabC;{Q\xe1B}\x85\x87-\xbf\x0f\x19\x01~'), '\x64' + chr(0b1100101) + chr(0b111100 + 0o47) + chr(7033 - 6922) + '\144' + chr(734 - 633))('\165' + chr(116) + '\146' + chr(0b101101) + chr(0b111000))
fVixBxPzbN8D = ZeuxpXx9iFGD
for B6UAF1zReOyJ in bbT2xIe5pzk7(ftfygxgFas5X(xovs9A75rXry)):
fVixBxPzbN8D = fVixBxPzbN8D + roI3spqORKae(ES5oEprVxulp(b'\xc1'), chr(0b1011 + 0o131) + chr(101) + '\x63' + chr(4483 - 4372) + chr(9029 - 8929) + chr(0b111000 + 0o55))(chr(0b100100 + 0o121) + chr(0b1110100) + '\146' + chr(45) + chr(56))
roI3spqORKae(S2RSmMFKiMNa, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(0b10001 + 0o123) + chr(0b1100101) + chr(0b1100011) + chr(0b10001 + 0o136) + chr(0b100100 + 0o100) + chr(8629 - 8528))(chr(4765 - 4648) + chr(0b1110100) + chr(102) + chr(0b101101) + chr(56)))(fVixBxPzbN8D + roI3spqORKae(ES5oEprVxulp(b'\xcea'), chr(100) + '\145' + chr(245 - 146) + '\x6f' + chr(100) + '\x65')(chr(0b1110101) + '\x74' + chr(102) + '\055' + chr(0b1110 + 0o52)))
roI3spqORKae(S2RSmMFKiMNa, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), '\x64' + chr(101) + chr(99) + chr(197 - 86) + '\144' + '\x65')(chr(0b1110101) + '\164' + chr(102) + chr(45) + '\070'))(roI3spqORKae(ES5oEprVxulp(b'\xef\x03\xa2M<p '), chr(0b1100100) + chr(0b1100101) + chr(0b1100011) + chr(0b1101110 + 0o1) + '\x64' + chr(0b100001 + 0o104))('\x75' + chr(0b1110100 + 0o0) + '\146' + '\x2d' + '\x38'))
fVixBxPzbN8D = ZeuxpXx9iFGD
for B6UAF1zReOyJ in bbT2xIe5pzk7(ftfygxgFas5X(m1ekAgWnd_H0)):
fVixBxPzbN8D = fVixBxPzbN8D + roI3spqORKae(ES5oEprVxulp(b'\xc1'), chr(5413 - 5313) + chr(0b100111 + 0o76) + '\143' + chr(1311 - 1200) + '\x64' + '\145')(chr(2042 - 1925) + chr(116) + '\x66' + '\x2d' + chr(0b10000 + 0o50))
roI3spqORKae(_R8IKF5IwAfX, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(0b1010001 + 0o23) + chr(101) + chr(0b1010100 + 0o17) + chr(0b11000 + 0o127) + '\x64' + chr(1844 - 1743))('\165' + chr(116) + chr(102) + '\055' + chr(0b100 + 0o64)))(fVixBxPzbN8D + roI3spqORKae(ES5oEprVxulp(b'\xcea'), chr(0b1100100) + '\x65' + chr(0b1010110 + 0o15) + chr(10021 - 9910) + '\x64' + chr(0b1100101))(chr(0b1110101) + chr(6908 - 6792) + chr(0b1100110) + chr(0b10111 + 0o26) + '\x38'))
roI3spqORKae(_R8IKF5IwAfX, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), '\144' + '\145' + chr(0b1100011) + chr(0b1101111) + '\x64' + '\145')('\x75' + '\x74' + chr(0b1100110) + '\x2d' + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b'\xef\x03\xa2M<p '), chr(0b1100100) + chr(0b1011 + 0o132) + chr(0b11000 + 0o113) + '\157' + '\x64' + '\145')(chr(0b1110101) + chr(4896 - 4780) + chr(8390 - 8288) + chr(0b101101) + '\070'))
fVixBxPzbN8D = ZeuxpXx9iFGD
for B6UAF1zReOyJ in bbT2xIe5pzk7(ftfygxgFas5X(WrGtVqMAdtxy)):
fVixBxPzbN8D = fVixBxPzbN8D + roI3spqORKae(ES5oEprVxulp(b'\xc1'), chr(0b1100100) + chr(0b1100101) + chr(99) + '\157' + chr(0b1100100) + '\145')(chr(11430 - 11313) + chr(5991 - 5875) + '\146' + chr(45) + '\x38')
roI3spqORKae(Aq6EBMTUbp54, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), '\144' + '\145' + chr(0b101000 + 0o73) + chr(0b1101111) + '\144' + '\145')(chr(117) + chr(0b1011101 + 0o27) + chr(0b1100110) + '\055' + '\070'))(fVixBxPzbN8D + roI3spqORKae(ES5oEprVxulp(b'\xcea'), '\144' + '\x65' + '\x63' + chr(111) + '\144' + '\145')(chr(117) + '\164' + chr(0b1100110) + '\x2d' + chr(56)))
roI3spqORKae(Aq6EBMTUbp54, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(0b1100100) + chr(0b1100 + 0o131) + '\143' + '\157' + chr(0b1011101 + 0o7) + chr(6678 - 6577))('\x75' + '\164' + '\146' + '\x2d' + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b'\xef\x03\xa2M<p '), chr(8165 - 8065) + '\145' + '\x63' + chr(11892 - 11781) + chr(100) + chr(0b1001100 + 0o31))(chr(0b1110101) + chr(0b1010111 + 0o35) + '\146' + '\x2d' + '\070'))
fVixBxPzbN8D = ZeuxpXx9iFGD
if fjdMtUDzc4gD:
for B6UAF1zReOyJ in bbT2xIe5pzk7(ftfygxgFas5X(zIr2Mo8idee7)):
fVixBxPzbN8D = fVixBxPzbN8D + roI3spqORKae(ES5oEprVxulp(b'\xc1'), chr(0b100111 + 0o75) + chr(101) + '\143' + '\x6f' + '\144' + chr(101))('\165' + chr(0b1110100) + chr(102) + chr(0b100111 + 0o6) + '\x38')
roI3spqORKae(NYr8NJTXQItJ, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(1232 - 1132) + chr(0b1100101) + '\143' + chr(111) + '\144' + '\x65')(chr(0b111101 + 0o70) + chr(0b1110100) + chr(0b111000 + 0o56) + '\055' + chr(0b10110 + 0o42)))(fVixBxPzbN8D + roI3spqORKae(ES5oEprVxulp(b'\xcea'), '\x64' + chr(101) + chr(0b1100011) + chr(11279 - 11168) + chr(100) + chr(101))(chr(0b1101111 + 0o6) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(0b11101 + 0o33)))
roI3spqORKae(NYr8NJTXQItJ, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(0b1011000 + 0o14) + '\x65' + chr(99) + chr(0b10111 + 0o130) + chr(100) + '\145')('\x75' + '\x74' + '\146' + chr(45) + '\x38'))(roI3spqORKae(ES5oEprVxulp(b'\xef\x03\xa2M<p '), chr(0b1100100) + chr(101) + '\143' + chr(0b101110 + 0o101) + '\144' + chr(0b11001 + 0o114))('\x75' + chr(0b1110100) + chr(1803 - 1701) + chr(1315 - 1270) + '\070'))
if QJgeTIOanow9:
fVixBxPzbN8D = ZeuxpXx9iFGD
for B6UAF1zReOyJ in bbT2xIe5pzk7(ftfygxgFas5X(y6LB9CDCRcOi)):
fVixBxPzbN8D = fVixBxPzbN8D + roI3spqORKae(ES5oEprVxulp(b'\xc1'), chr(100) + chr(6257 - 6156) + '\x63' + chr(0b1010100 + 0o33) + chr(0b1100100) + chr(101))(chr(3389 - 3272) + chr(0b1110100) + '\x66' + chr(932 - 887) + chr(0b1 + 0o67))
roI3spqORKae(_nJGa9oS7Wxq, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(100) + chr(572 - 471) + chr(0b10 + 0o141) + '\157' + chr(0b1100100) + chr(0b1011100 + 0o11))(chr(0b101111 + 0o106) + chr(0b1110100) + '\146' + chr(65 - 20) + chr(56)))(fVixBxPzbN8D + roI3spqORKae(ES5oEprVxulp(b'\xcea'), '\x64' + '\x65' + chr(934 - 835) + chr(0b1100101 + 0o12) + '\x64' + chr(101))(chr(0b1110101) + '\x74' + '\x66' + chr(0b101101) + chr(0b1 + 0o67)))
roI3spqORKae(_nJGa9oS7Wxq, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(6573 - 6473) + chr(0b1100011 + 0o2) + chr(1830 - 1731) + chr(0b1101111) + chr(0b1100100) + '\x65')(chr(0b1110101) + chr(12764 - 12648) + chr(0b1100110) + chr(45) + chr(56)))(roI3spqORKae(ES5oEprVxulp(b'\xef\x03\xa2M<p '), '\x64' + '\x65' + chr(0b111100 + 0o47) + chr(111) + chr(0b1100100) + chr(0b1011 + 0o132))(chr(0b1011100 + 0o31) + '\164' + '\146' + chr(0b101101) + chr(2421 - 2365)))
else:
EAvVzGIvS3lY = roI3spqORKae(ES5oEprVxulp(b'\x93b\xee'), chr(8055 - 7955) + chr(8461 - 8360) + chr(0b1110 + 0o125) + '\x6f' + chr(0b1011010 + 0o12) + '\145')(chr(11500 - 11383) + chr(6833 - 6717) + chr(5722 - 5620) + chr(781 - 736) + '\x38')
NiWVjAWn0l6T = roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(5860 - 5759) + '\x63' + chr(0b10001 + 0o136) + '\144' + chr(0b111011 + 0o52))(chr(0b1110101) + '\x74' + chr(1498 - 1396) + chr(45) + '\x38')
(ax2wEm10In5a, cgCEzZPnZRMD, gWvVakrAmn1Y, FgEciykQgMko, HlNzVAt5h0_e) = (roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(3597 - 3496) + chr(1914 - 1815) + '\157' + chr(9999 - 9899) + '\145')('\x75' + '\164' + '\x66' + '\055' + chr(0b1001 + 0o57)), roI3spqORKae(ES5oEprVxulp(b''), '\144' + '\145' + '\x63' + chr(0b1101111) + chr(0b100110 + 0o76) + '\x65')(chr(117) + chr(116) + chr(5277 - 5175) + '\055' + chr(0b1101 + 0o53)), roI3spqORKae(ES5oEprVxulp(b''), chr(0b10010 + 0o122) + chr(0b110010 + 0o63) + chr(0b1100011) + chr(0b1110 + 0o141) + chr(0b111000 + 0o54) + '\145')(chr(7898 - 7781) + chr(0b11001 + 0o133) + '\x66' + '\x2d' + chr(2798 - 2742)), roI3spqORKae(ES5oEprVxulp(b''), chr(5212 - 5112) + chr(0b1011101 + 0o10) + '\x63' + chr(0b11 + 0o154) + chr(0b110011 + 0o61) + chr(5422 - 5321))(chr(3682 - 3565) + '\164' + chr(102) + chr(0b101101) + chr(56)), roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(101) + '\143' + chr(111) + chr(0b10001 + 0o123) + chr(101))(chr(117) + chr(9781 - 9665) + chr(0b1100110) + '\x2d' + '\070'))
for B6UAF1zReOyJ in bbT2xIe5pzk7(ftfygxgFas5X(xovs9A75rXry)):
ax2wEm10In5a = ax2wEm10In5a + xovs9A75rXry[B6UAF1zReOyJ] + EAvVzGIvS3lY
ax2wEm10In5a = ax2wEm10In5a.kdIDrcwZTCs5(EAvVzGIvS3lY)
ax2wEm10In5a = ax2wEm10In5a + NiWVjAWn0l6T + roI3spqORKae(ES5oEprVxulp(b'\xb9'), chr(0b1010110 + 0o16) + chr(5956 - 5855) + chr(3029 - 2930) + '\x6f' + '\x64' + '\145')(chr(6421 - 6304) + chr(0b101101 + 0o107) + chr(0b1100110) + chr(1116 - 1071) + chr(0b111000))
roI3spqORKae(S2RSmMFKiMNa, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(100) + chr(6663 - 6562) + chr(7408 - 7309) + '\157' + chr(100) + '\x65')('\x75' + '\x74' + chr(102) + chr(0b101101) + chr(56)))(ax2wEm10In5a)
for B6UAF1zReOyJ in bbT2xIe5pzk7(ftfygxgFas5X(m1ekAgWnd_H0)):
cgCEzZPnZRMD = cgCEzZPnZRMD + m1ekAgWnd_H0[B6UAF1zReOyJ] + EAvVzGIvS3lY
cgCEzZPnZRMD = cgCEzZPnZRMD.kdIDrcwZTCs5(EAvVzGIvS3lY)
cgCEzZPnZRMD = cgCEzZPnZRMD + NiWVjAWn0l6T + roI3spqORKae(ES5oEprVxulp(b'\xb9'), '\x64' + chr(0b1100101) + chr(0b1100011) + '\x6f' + chr(0b1100100) + chr(0b1100101))(chr(0b11001 + 0o134) + chr(116) + chr(0b111111 + 0o47) + chr(0b101101) + chr(0b111000))
roI3spqORKae(_R8IKF5IwAfX, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), '\x64' + chr(101) + chr(0b10100 + 0o117) + chr(0b1001000 + 0o47) + chr(0b1 + 0o143) + chr(0b1000011 + 0o42))(chr(0b1110101) + chr(116) + chr(0b100011 + 0o103) + chr(0b1 + 0o54) + chr(0b110000 + 0o10)))(cgCEzZPnZRMD)
for B6UAF1zReOyJ in bbT2xIe5pzk7(ftfygxgFas5X(WrGtVqMAdtxy)):
gWvVakrAmn1Y = gWvVakrAmn1Y + WrGtVqMAdtxy[B6UAF1zReOyJ] + EAvVzGIvS3lY
gWvVakrAmn1Y = gWvVakrAmn1Y.kdIDrcwZTCs5(EAvVzGIvS3lY)
gWvVakrAmn1Y = gWvVakrAmn1Y + NiWVjAWn0l6T + roI3spqORKae(ES5oEprVxulp(b'\xb9'), chr(5394 - 5294) + '\x65' + '\143' + chr(0b1100011 + 0o14) + chr(100) + '\145')('\165' + '\x74' + '\x66' + chr(0b10110 + 0o27) + chr(56))
roI3spqORKae(Aq6EBMTUbp54, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(6835 - 6735) + '\145' + chr(99) + chr(111) + '\144' + chr(0b1100101))(chr(117) + '\x74' + '\x66' + '\055' + '\x38'))(gWvVakrAmn1Y)
if fjdMtUDzc4gD:
for B6UAF1zReOyJ in bbT2xIe5pzk7(ftfygxgFas5X(zIr2Mo8idee7)):
HlNzVAt5h0_e = HlNzVAt5h0_e + zIr2Mo8idee7[B6UAF1zReOyJ] + EAvVzGIvS3lY
HlNzVAt5h0_e = HlNzVAt5h0_e.kdIDrcwZTCs5(EAvVzGIvS3lY)
HlNzVAt5h0_e = HlNzVAt5h0_e + NiWVjAWn0l6T + roI3spqORKae(ES5oEprVxulp(b'\xb9'), chr(0b1100100) + '\x65' + '\143' + chr(111) + chr(0b1100100) + chr(101))('\x75' + '\x74' + chr(1083 - 981) + chr(0b101101) + chr(0b100101 + 0o23))
roI3spqORKae(NYr8NJTXQItJ, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(100) + chr(8196 - 8095) + chr(886 - 787) + chr(9105 - 8994) + '\x64' + chr(0b1100101))(chr(0b1110101) + '\x74' + '\x66' + chr(0b1111 + 0o36) + chr(0b111000)))(HlNzVAt5h0_e)
if QJgeTIOanow9:
for B6UAF1zReOyJ in bbT2xIe5pzk7(ftfygxgFas5X(y6LB9CDCRcOi)):
FgEciykQgMko = FgEciykQgMko + y6LB9CDCRcOi[B6UAF1zReOyJ] + EAvVzGIvS3lY
FgEciykQgMko = FgEciykQgMko.kdIDrcwZTCs5(EAvVzGIvS3lY)
FgEciykQgMko = FgEciykQgMko + NiWVjAWn0l6T + roI3spqORKae(ES5oEprVxulp(b'\xb9'), chr(0b1000110 + 0o36) + '\x65' + chr(0b10000 + 0o123) + chr(111) + chr(0b1010 + 0o132) + chr(101))(chr(8560 - 8443) + chr(116) + chr(7493 - 7391) + chr(45) + chr(0b100111 + 0o21))
roI3spqORKae(_nJGa9oS7Wxq, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(0b1100100) + chr(0b11011 + 0o112) + '\x63' + chr(0b1101110 + 0o1) + chr(0b111100 + 0o50) + '\145')(chr(0b1110101) + chr(10132 - 10016) + chr(102) + '\055' + chr(0b101101 + 0o13)))(FgEciykQgMko)
if cl3Ncwxy1gE5:
roI3spqORKae(_R8IKF5IwAfX, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(0b100111 + 0o75) + chr(3499 - 3398) + chr(0b1100011) + '\x6f' + '\x64' + chr(4989 - 4888))(chr(0b1110101) + '\164' + chr(0b1001101 + 0o31) + '\055' + '\x38'))(roI3spqORKae(ES5oEprVxulp(b'\xef\x03\xa2M<p '), chr(100) + chr(101) + chr(99) + chr(111) + chr(0b1100100) + chr(0b100010 + 0o103))(chr(0b10100 + 0o141) + chr(0b1101001 + 0o13) + '\x66' + chr(0b101101) + chr(2930 - 2874)))
roI3spqORKae(S2RSmMFKiMNa, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), '\x64' + '\x65' + chr(99) + chr(0b1101111) + chr(100) + chr(0b1000110 + 0o37))(chr(0b1110101) + chr(6843 - 6727) + chr(0b1100110) + '\055' + chr(0b10 + 0o66)))(roI3spqORKae(ES5oEprVxulp(b'\xef\x03\xa2M<p '), '\x64' + chr(101) + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + chr(494 - 393))('\165' + chr(2960 - 2844) + '\x66' + '\055' + chr(2611 - 2555)))
roI3spqORKae(Aq6EBMTUbp54, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(8956 - 8856) + chr(0b1100101) + '\143' + chr(0b101011 + 0o104) + '\x64' + chr(0b1001001 + 0o34))(chr(0b1001011 + 0o52) + '\164' + chr(0b1100110) + chr(0b101101) + '\070'))(roI3spqORKae(ES5oEprVxulp(b'\xef\x03\xa2M<p '), chr(0b1100100) + '\145' + chr(1065 - 966) + chr(12047 - 11936) + chr(0b100010 + 0o102) + '\145')(chr(0b110100 + 0o101) + '\164' + chr(0b1010111 + 0o17) + chr(0b101000 + 0o5) + '\070'))
if fjdMtUDzc4gD:
roI3spqORKae(NYr8NJTXQItJ, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(0b1100100) + '\145' + '\143' + '\157' + chr(1254 - 1154) + chr(3550 - 3449))('\165' + chr(1106 - 990) + chr(0b1100110) + '\055' + '\x38'))(roI3spqORKae(ES5oEprVxulp(b'\xef\x03\xa2M<p '), '\144' + '\145' + chr(99) + chr(0b1001000 + 0o47) + chr(119 - 19) + chr(0b1100101))(chr(0b100111 + 0o116) + chr(0b110000 + 0o104) + chr(9411 - 9309) + '\x2d' + chr(56)))
if QJgeTIOanow9:
roI3spqORKae(_nJGa9oS7Wxq, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(4883 - 4783) + '\145' + chr(0b10 + 0o141) + chr(111) + '\144' + '\x65')(chr(0b1011100 + 0o31) + chr(11492 - 11376) + chr(102) + chr(885 - 840) + '\070'))(roI3spqORKae(ES5oEprVxulp(b'\xef\x03\xa2M<p '), chr(0b1100100) + chr(7624 - 7523) + chr(99) + chr(0b1101101 + 0o2) + '\x64' + chr(4400 - 4299))('\165' + chr(0b1110100) + chr(0b1011001 + 0o15) + chr(0b101101) + chr(0b111000)))
if fjdMtUDzc4gD:
for CdDbps1C4JkW in Hv9h3ewB3PIf:
HlNzVAt5h0_e = roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(962 - 861) + '\x63' + '\x6f' + chr(9092 - 8992) + chr(101))(chr(0b1110101) + chr(0b100 + 0o160) + chr(9121 - 9019) + chr(0b11100 + 0o21) + chr(0b111000))
for QYodcsDtoGq7 in zIr2Mo8idee7:
HlNzVAt5h0_e = HlNzVAt5h0_e + CdDbps1C4JkW[QYodcsDtoGq7] + EAvVzGIvS3lY
HlNzVAt5h0_e = HlNzVAt5h0_e.kdIDrcwZTCs5(EAvVzGIvS3lY) + NiWVjAWn0l6T
roI3spqORKae(NYr8NJTXQItJ, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), '\144' + chr(3995 - 3894) + '\143' + chr(0b1101111) + '\144' + chr(0b1100101))('\165' + chr(116) + chr(0b100101 + 0o101) + chr(45) + '\070'))(HlNzVAt5h0_e + roI3spqORKae(ES5oEprVxulp(b'\xb9'), '\x64' + chr(0b1011110 + 0o7) + chr(0b1100011 + 0o0) + chr(0b1101111) + chr(1898 - 1798) + chr(0b10000 + 0o125))(chr(0b1010000 + 0o45) + chr(0b111110 + 0o66) + chr(1663 - 1561) + '\055' + chr(0b0 + 0o70)))
rwZ66Ibdc0Wv = hUcsWwAd0nE_.get_dictitem(qjkl7z2LqGMq, roI3spqORKae(ES5oEprVxulp(b'\xc5\x0c\xbe{>t^'), chr(0b1100000 + 0o4) + chr(6491 - 6390) + chr(0b1011 + 0o130) + chr(111) + '\x64' + chr(0b10001 + 0o124))(chr(117) + chr(116) + chr(1334 - 1232) + '\055' + chr(56)), roI3spqORKae(ES5oEprVxulp(b''), '\x64' + '\145' + chr(0b11001 + 0o112) + chr(0b1101111) + '\x64' + chr(0b1100101))('\165' + chr(0b1110100) + chr(102) + chr(45) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xf5'), chr(0b1001011 + 0o31) + '\145' + '\x63' + chr(0b11111 + 0o120) + chr(5459 - 5359) + chr(6724 - 6623))(chr(117) + chr(0b1110100) + chr(102) + chr(45) + chr(56)))
rwZ66Ibdc0Wv = hUcsWwAd0nE_.get_dictitem(rwZ66Ibdc0Wv, roI3spqORKae(ES5oEprVxulp(b'\xd7\n\xbaE\raS\xfdH'), chr(100) + chr(5342 - 5241) + chr(0b11001 + 0o112) + '\157' + chr(0b10001 + 0o123) + chr(0b1100101))(chr(12648 - 12531) + chr(0b1110100) + '\x66' + chr(0b101101) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xda'), chr(0b10 + 0o142) + '\x65' + chr(0b1011110 + 0o5) + chr(0b1101111) + chr(0b1100100) + chr(101))(chr(117) + '\164' + '\x66' + '\055' + chr(968 - 912)), roI3spqORKae(ES5oEprVxulp(b'\xe7'), chr(6269 - 6169) + chr(0b1100101) + chr(0b1100011) + '\x6f' + chr(0b1100100) + chr(0b1011001 + 0o14))('\x75' + chr(0b11001 + 0o133) + chr(7557 - 7455) + chr(0b101101) + chr(776 - 720)))
for f9ijNiPCpOFu in rwZ66Ibdc0Wv:
if ftfygxgFas5X(roI3spqORKae(f9ijNiPCpOFu[roI3spqORKae(ES5oEprVxulp(b'\xd6\x19\x91W;aO\xd2Cr\x8f\x96?'), chr(0b1100100) + '\145' + '\x63' + chr(0b111100 + 0o63) + chr(0b1100100) + chr(101))(chr(0b1110101) + '\164' + chr(102) + chr(0b11001 + 0o24) + chr(2312 - 2256))], roI3spqORKae(ES5oEprVxulp(b'\xff\r\x9cV\x03ZR\xf8ie\x8c\xb0'), chr(9223 - 9123) + chr(101) + chr(4547 - 4448) + '\x6f' + chr(3984 - 3884) + chr(8186 - 8085))('\165' + chr(12347 - 12231) + chr(0b1000111 + 0o37) + '\055' + chr(2151 - 2095)))(roI3spqORKae(ES5oEprVxulp(b'\x89'), '\144' + '\145' + chr(1654 - 1555) + chr(0b10011 + 0o134) + '\x64' + '\x65')('\165' + '\164' + chr(102) + chr(1411 - 1366) + '\070'))) == nzTpIcepk0o8(chr(0b110000) + chr(5151 - 5040) + '\061', 8):
if roI3spqORKae(ES5oEprVxulp(b'\xd6\x19\x91W3xZ\xe1HL\x8c\x92!\xb8\x10'), chr(0b101111 + 0o65) + chr(742 - 641) + '\143' + chr(0b1101111) + chr(0b1010100 + 0o20) + '\145')(chr(0b1110101) + chr(0b101 + 0o157) + chr(0b1100110) + chr(1696 - 1651) + chr(1659 - 1603)) not in H4NoA26ON7iG(roI3spqORKae(f9ijNiPCpOFu, roI3spqORKae(ES5oEprVxulp(b'\xd8\x0e\xb7W'), '\x64' + '\x65' + chr(0b1100011) + '\x6f' + '\144' + chr(0b1000000 + 0o45))('\x75' + chr(0b100010 + 0o122) + '\146' + chr(0b101101) + chr(56)))()):
f9ijNiPCpOFu[roI3spqORKae(ES5oEprVxulp(b'\xd6\x19\x91W3xZ\xe1HL\x8c\x92!\xb8\x10'), chr(0b111001 + 0o53) + chr(0b111010 + 0o53) + chr(99) + '\x6f' + chr(0b1100100) + chr(0b11111 + 0o106))(chr(117) + chr(116) + chr(0b1100110) + '\055' + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b''), '\144' + '\145' + chr(0b1110 + 0o125) + '\x6f' + '\x64' + '\145')('\165' + '\164' + chr(1475 - 1373) + chr(0b101101) + chr(0b110100 + 0o4))
if roI3spqORKae(ES5oEprVxulp(b'\xc3\x04\xa2A\rvE\xe0]L\x8c\x92!\xb8'), chr(0b111111 + 0o45) + chr(101) + '\x63' + chr(11967 - 11856) + chr(100) + chr(0b11101 + 0o110))(chr(117) + chr(12433 - 12317) + chr(0b10101 + 0o121) + chr(659 - 614) + chr(0b111000)) not in H4NoA26ON7iG(roI3spqORKae(f9ijNiPCpOFu, roI3spqORKae(ES5oEprVxulp(b'\xd8\x0e\xb7W'), chr(9118 - 9018) + chr(0b1100101) + chr(99) + '\x6f' + '\144' + chr(6510 - 6409))(chr(117) + '\x74' + chr(102) + chr(0b100 + 0o51) + '\x38'))()):
f9ijNiPCpOFu[roI3spqORKae(ES5oEprVxulp(b'\xc3\x04\xa2A\rvE\xe0]L\x8c\x92!\xb8'), '\x64' + chr(0b1011000 + 0o15) + chr(2700 - 2601) + chr(0b10110 + 0o131) + chr(0b11100 + 0o110) + chr(101))(chr(5806 - 5689) + chr(0b100000 + 0o124) + '\x66' + '\055' + chr(2508 - 2452))] = roI3spqORKae(ES5oEprVxulp(b'\xf2'), '\x64' + '\x65' + '\x63' + chr(0b1110 + 0o141) + chr(0b1100100) + '\145')(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + chr(0b10001 + 0o34) + chr(56))
if roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2C}'), chr(0b10 + 0o142) + chr(101) + chr(0b1100011) + chr(0b1101110 + 0o1) + '\x64' + chr(101))(chr(0b1110101) + chr(918 - 802) + '\146' + chr(536 - 491) + '\070') not in H4NoA26ON7iG(roI3spqORKae(f9ijNiPCpOFu, roI3spqORKae(ES5oEprVxulp(b'\xd8\x0e\xb7W'), chr(5747 - 5647) + '\x65' + '\x63' + chr(0b101110 + 0o101) + chr(0b1100100) + chr(101))('\165' + chr(0b1101001 + 0o13) + chr(3738 - 3636) + chr(0b100110 + 0o7) + chr(0b111000)))()) and roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2C'), '\x64' + chr(345 - 244) + chr(8081 - 7982) + chr(0b111100 + 0o63) + '\x64' + chr(0b1000 + 0o135))('\165' + chr(0b1110100) + '\146' + '\x2d' + '\x38') in H4NoA26ON7iG(roI3spqORKae(f9ijNiPCpOFu, roI3spqORKae(ES5oEprVxulp(b'\xd8\x0e\xb7W'), '\144' + chr(0b111111 + 0o46) + '\x63' + '\x6f' + chr(100) + '\145')(chr(1406 - 1289) + chr(0b1110100) + chr(102) + chr(0b101101) + chr(0b111000)))()):
f9ijNiPCpOFu[roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2C}'), chr(2892 - 2792) + chr(0b1000101 + 0o40) + '\143' + chr(0b1101001 + 0o6) + chr(0b1100100) + chr(0b100011 + 0o102))(chr(1535 - 1418) + '\x74' + chr(0b111100 + 0o52) + '\055' + chr(56))] = f9ijNiPCpOFu[roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2C'), chr(0b1100100) + '\145' + '\143' + '\157' + chr(0b1100100) + chr(1534 - 1433))(chr(0b1110101) + chr(0b1001111 + 0o45) + '\x66' + chr(45) + chr(2893 - 2837))]
if roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2CL\x8e\x9a"\xb8\x10'), '\x64' + '\x65' + chr(0b1100011 + 0o0) + '\157' + '\x64' + chr(0b1000010 + 0o43))(chr(0b100111 + 0o116) + '\x74' + chr(102) + chr(0b10010 + 0o33) + chr(784 - 728)) not in H4NoA26ON7iG(roI3spqORKae(f9ijNiPCpOFu, roI3spqORKae(ES5oEprVxulp(b'\xd8\x0e\xb7W'), '\144' + chr(6127 - 6026) + chr(0b1100011) + chr(0b1101111) + '\144' + chr(0b1000011 + 0o42))(chr(0b1001 + 0o154) + chr(5921 - 5805) + '\x66' + chr(45) + chr(56)))()):
f9ijNiPCpOFu[roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2CL\x8e\x9a"\xb8\x10'), chr(0b1100100) + '\145' + '\143' + chr(3950 - 3839) + chr(9330 - 9230) + '\145')('\165' + chr(0b10001 + 0o143) + chr(0b1100110) + chr(45) + chr(0b111000))] = f9ijNiPCpOFu[roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2C}'), chr(0b10001 + 0o123) + chr(0b1100101) + chr(99) + '\x6f' + chr(0b1010000 + 0o24) + chr(101))(chr(0b1110101) + chr(0b1010111 + 0o35) + chr(0b1101 + 0o131) + '\055' + chr(0b111000))]
if roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2CL\x92\x9f-\xb3\x06\x0f'), '\x64' + chr(101) + chr(99) + chr(0b1101111) + '\144' + chr(0b1000111 + 0o36))(chr(117) + chr(7704 - 7588) + chr(2053 - 1951) + chr(0b101101) + '\x38') not in H4NoA26ON7iG(roI3spqORKae(f9ijNiPCpOFu, roI3spqORKae(ES5oEprVxulp(b'\xd8\x0e\xb7W'), chr(100) + chr(0b1001111 + 0o26) + chr(3276 - 3177) + '\157' + chr(0b101111 + 0o65) + chr(0b11 + 0o142))('\165' + chr(7593 - 7477) + chr(102) + chr(0b101101) + chr(56)))()):
f9ijNiPCpOFu[roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2CL\x92\x9f-\xb3\x06\x0f'), '\x64' + chr(0b110010 + 0o63) + '\x63' + chr(0b1011110 + 0o21) + '\x64' + chr(7021 - 6920))('\x75' + chr(0b1101011 + 0o11) + chr(0b1100110) + chr(1765 - 1720) + '\070')] = roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(101) + chr(99) + '\157' + chr(0b1100100) + '\x65')(chr(117) + chr(0b1110100) + '\146' + chr(0b101000 + 0o5) + chr(0b111000))
(ax2wEm10In5a, cgCEzZPnZRMD) = (roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(0b1100101) + '\143' + chr(0b1101111) + '\x64' + chr(101))(chr(0b101101 + 0o110) + '\x74' + chr(0b1100110) + '\055' + chr(2368 - 2312)), roI3spqORKae(ES5oEprVxulp(b''), chr(9732 - 9632) + chr(6289 - 6188) + chr(99) + '\x6f' + chr(5413 - 5313) + chr(8739 - 8638))(chr(7566 - 7449) + '\164' + chr(0b1100 + 0o132) + chr(0b101101) + '\x38'))
for QYodcsDtoGq7 in Yayx0_c1LoGR:
if QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(f9ijNiPCpOFu, roI3spqORKae(ES5oEprVxulp(b'\xd8\x0e\xb7W'), chr(693 - 593) + '\x65' + chr(323 - 224) + '\157' + '\x64' + chr(2034 - 1933))(chr(12267 - 12150) + chr(0b1110100) + chr(0b11 + 0o143) + '\x2d' + '\x38'))()):
ax2wEm10In5a = ax2wEm10In5a + f9ijNiPCpOFu[QYodcsDtoGq7] + EAvVzGIvS3lY
ax2wEm10In5a = ax2wEm10In5a.kdIDrcwZTCs5(EAvVzGIvS3lY) + NiWVjAWn0l6T
roI3spqORKae(S2RSmMFKiMNa, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), '\144' + chr(0b110001 + 0o64) + '\x63' + '\x6f' + chr(6666 - 6566) + chr(0b11101 + 0o110))(chr(117) + chr(8825 - 8709) + chr(102) + chr(45) + chr(3093 - 3037)))(ax2wEm10In5a + roI3spqORKae(ES5oEprVxulp(b'\xb9'), chr(0b1010110 + 0o16) + chr(101) + chr(99) + '\157' + chr(6583 - 6483) + '\x65')(chr(0b1100111 + 0o16) + '\x74' + '\146' + chr(0b101101) + chr(319 - 263)))
for QYodcsDtoGq7 in eJc7WQyJgIgo:
if QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(f9ijNiPCpOFu, roI3spqORKae(ES5oEprVxulp(b'\xd8\x0e\xb7W'), chr(0b11 + 0o141) + chr(7933 - 7832) + chr(0b1001010 + 0o31) + '\157' + chr(8578 - 8478) + chr(0b1100101))(chr(0b1110101) + chr(0b100001 + 0o123) + chr(0b1000011 + 0o43) + chr(0b101101) + chr(0b111000)))()):
cgCEzZPnZRMD = cgCEzZPnZRMD + f9ijNiPCpOFu[QYodcsDtoGq7] + EAvVzGIvS3lY
cgCEzZPnZRMD = cgCEzZPnZRMD.kdIDrcwZTCs5(EAvVzGIvS3lY) + NiWVjAWn0l6T
roI3spqORKae(_R8IKF5IwAfX, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(0b1010111 + 0o15) + chr(0b1100101) + chr(3150 - 3051) + chr(0b1101111) + '\x64' + '\145')(chr(12779 - 12662) + '\164' + chr(102) + '\055' + '\070'))(cgCEzZPnZRMD + roI3spqORKae(ES5oEprVxulp(b'\xb9'), '\144' + chr(0b1100101) + chr(0b100011 + 0o100) + '\157' + '\144' + chr(0b1100101))(chr(4811 - 4694) + chr(0b1110100) + chr(102) + chr(45) + '\x38'))
_RJwMSQqk6TX = hUcsWwAd0nE_.get_dictitem(qjkl7z2LqGMq, roI3spqORKae(ES5oEprVxulp(b'\xc5\n\xaaI'), chr(0b1100100) + chr(101) + chr(0b11101 + 0o106) + '\157' + chr(100) + '\145')('\x75' + chr(2368 - 2252) + chr(0b111101 + 0o51) + chr(45) + chr(2605 - 2549)), roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(0b1100101) + chr(99) + '\x6f' + chr(9990 - 9890) + chr(101))(chr(0b1110101) + chr(116) + chr(0b1110 + 0o130) + chr(196 - 151) + chr(0b110001 + 0o7)), roI3spqORKae(ES5oEprVxulp(b'\xf5'), chr(0b1100100) + chr(101) + chr(0b1100011) + chr(265 - 154) + chr(100) + '\145')('\x75' + chr(0b1100 + 0o150) + chr(7957 - 7855) + chr(1157 - 1112) + chr(56)))
_RJwMSQqk6TX = hUcsWwAd0nE_.get_dictitem(_RJwMSQqk6TX, roI3spqORKae(ES5oEprVxulp(b'\xd7\n\xbaE\raS\xfdH'), chr(0b100111 + 0o75) + chr(3684 - 3583) + chr(0b10100 + 0o117) + chr(111) + chr(100) + chr(0b11 + 0o142))(chr(117) + chr(0b100101 + 0o117) + chr(0b1100110) + chr(0b101101) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xda'), chr(2887 - 2787) + '\x65' + chr(0b1010000 + 0o23) + chr(6732 - 6621) + chr(100) + chr(0b1000 + 0o135))('\x75' + '\164' + '\x66' + '\x2d' + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xe7'), chr(0b1100100) + chr(1270 - 1169) + chr(0b1000110 + 0o35) + chr(11307 - 11196) + chr(0b1100100) + '\x65')('\165' + '\x74' + '\146' + chr(0b101101) + '\070'))
for f9ijNiPCpOFu in _RJwMSQqk6TX:
if f9ijNiPCpOFu not in rwZ66Ibdc0Wv:
ax2wEm10In5a = roI3spqORKae(ES5oEprVxulp(b''), chr(100) + '\x65' + '\143' + chr(3940 - 3829) + '\x64' + '\145')(chr(117) + chr(1517 - 1401) + chr(5343 - 5241) + chr(0b101101) + chr(0b101001 + 0o17))
for QYodcsDtoGq7 in Yayx0_c1LoGR:
if QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(f9ijNiPCpOFu, roI3spqORKae(ES5oEprVxulp(b'\xd8\x0e\xb7W'), chr(0b1000101 + 0o37) + chr(0b1011110 + 0o7) + chr(0b1001001 + 0o32) + '\x6f' + chr(0b100111 + 0o75) + '\x65')(chr(0b1110101) + chr(116) + chr(102) + chr(0b101101) + '\x38'))()):
ax2wEm10In5a = ax2wEm10In5a + f9ijNiPCpOFu[QYodcsDtoGq7] + EAvVzGIvS3lY
else:
ax2wEm10In5a = ax2wEm10In5a + roI3spqORKae(ES5oEprVxulp(b'\x93'), chr(0b1100100) + chr(0b1100101) + '\143' + chr(7868 - 7757) + chr(0b11010 + 0o112) + chr(101))(chr(0b1000011 + 0o62) + chr(0b1001101 + 0o47) + '\x66' + chr(0b10110 + 0o27) + '\x38') + EAvVzGIvS3lY
ax2wEm10In5a = ax2wEm10In5a.kdIDrcwZTCs5(EAvVzGIvS3lY) + NiWVjAWn0l6T
roI3spqORKae(S2RSmMFKiMNa, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(0b11 + 0o141) + chr(0b1100101) + chr(0b1100011) + chr(10989 - 10878) + chr(100) + chr(101))(chr(0b1110101) + '\x74' + '\146' + chr(662 - 617) + '\070'))(ax2wEm10In5a + roI3spqORKae(ES5oEprVxulp(b'\xb9'), chr(0b1100100) + '\145' + chr(0b1100011) + '\157' + '\144' + '\145')('\x75' + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(56)))
if ftfygxgFas5X(roI3spqORKae(f9ijNiPCpOFu[roI3spqORKae(ES5oEprVxulp(b'\xd6\x19\x91W;aO\xd2Cr\x8f\x96?'), '\x64' + '\145' + '\x63' + chr(111) + '\x64' + chr(0b1110 + 0o127))(chr(5092 - 4975) + chr(9848 - 9732) + chr(102) + chr(0b101101) + chr(0b111000))], roI3spqORKae(ES5oEprVxulp(b'\xff\r\x9cV\x03ZR\xf8ie\x8c\xb0'), chr(5633 - 5533) + chr(0b1100101) + chr(0b1100011) + chr(0b1011 + 0o144) + '\x64' + chr(0b1001101 + 0o30))('\x75' + chr(0b1110100) + '\146' + chr(0b101101) + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b'\x89'), chr(1440 - 1340) + chr(101) + chr(0b111000 + 0o53) + chr(0b100111 + 0o110) + chr(100) + chr(0b1100101))(chr(0b1110101) + chr(116) + '\146' + '\055' + '\070'))) == nzTpIcepk0o8(chr(48) + '\x6f' + '\061', 8) and f9ijNiPCpOFu[roI3spqORKae(ES5oEprVxulp(b'\xd7\n\xbaE\raS\xfdH'), chr(7450 - 7350) + '\145' + chr(0b1100011) + chr(0b1001001 + 0o46) + chr(100) + chr(0b0 + 0o145))(chr(0b1110101) + chr(0b1011000 + 0o34) + chr(0b1100 + 0o132) + chr(0b101101) + chr(56))] == roI3spqORKae(ES5oEprVxulp(b'\xda'), chr(0b1011110 + 0o6) + chr(101) + chr(4765 - 4666) + chr(1187 - 1076) + chr(0b1100100) + chr(9051 - 8950))(chr(117) + '\164' + chr(0b1000 + 0o136) + chr(45) + chr(0b111000)):
if roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2D}\x96\xac?\xb4\x04\x11\x1dZ\xfd\xfc\x7f\xbc'), '\144' + '\x65' + chr(3845 - 3746) + chr(0b1101111) + chr(9924 - 9824) + chr(101))(chr(117) + chr(116) + '\x66' + chr(0b101011 + 0o2) + chr(56)) not in H4NoA26ON7iG(roI3spqORKae(f9ijNiPCpOFu, roI3spqORKae(ES5oEprVxulp(b'\xd8\x0e\xb7W'), chr(100) + chr(0b1100101) + '\x63' + chr(4524 - 4413) + chr(6513 - 6413) + '\145')(chr(117) + chr(116) + chr(102) + chr(45) + chr(0b111000 + 0o0)))()):
f9ijNiPCpOFu[roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2D}\x96\xac?\xb4\x04\x11\x1dZ\xfd\xfc\x7f\xbc'), '\144' + chr(0b11101 + 0o110) + chr(99) + chr(0b1101111) + '\x64' + '\x65')(chr(5177 - 5060) + chr(116) + '\146' + chr(608 - 563) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\x83'), chr(0b10100 + 0o120) + chr(101) + chr(9055 - 8956) + chr(0b1101111) + chr(7813 - 7713) + '\145')('\x75' + chr(0b1110100) + chr(7569 - 7467) + chr(591 - 546) + chr(0b100 + 0o64))
if f9ijNiPCpOFu[roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2D}\x96\xac?\xb4\x04\x11\x1d'), chr(100) + '\x65' + chr(99) + chr(3241 - 3130) + chr(0b110111 + 0o55) + '\145')('\x75' + chr(12205 - 12089) + '\x66' + chr(0b101101) + chr(0b111000))] == roI3spqORKae(ES5oEprVxulp(b''), chr(0b1011000 + 0o14) + '\x65' + '\143' + chr(0b1101111) + chr(100) + chr(0b1100101))(chr(0b1110101) + '\x74' + '\146' + chr(0b101010 + 0o3) + chr(56)):
f9ijNiPCpOFu[roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2D}\x96\xac?\xb4\x04\x11\x1d'), chr(4174 - 4074) + chr(0b1100101) + chr(99) + '\157' + chr(0b1100100) + chr(0b11 + 0o142))(chr(117) + chr(116) + '\146' + '\055' + chr(0b110000 + 0o10))] = roI3spqORKae(ES5oEprVxulp(b'\x83'), '\x64' + chr(0b101 + 0o140) + chr(0b1100011) + chr(0b111010 + 0o65) + chr(0b1010001 + 0o23) + '\145')(chr(0b1110101) + '\x74' + '\x66' + chr(0b101101) + chr(2140 - 2084))
if f9ijNiPCpOFu[roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2D}\x96\xac?\xb4\x04\x11\x1dZ\xfd\xfc\x7f\xbc'), chr(0b111101 + 0o47) + chr(1440 - 1339) + chr(5739 - 5640) + chr(0b111010 + 0o65) + chr(8807 - 8707) + chr(2725 - 2624))(chr(117) + chr(7451 - 7335) + chr(102) + chr(0b101011 + 0o2) + '\070')] == roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(0b1100011 + 0o2) + chr(0b111011 + 0o50) + chr(0b1101111) + chr(0b111000 + 0o54) + chr(0b1100101))(chr(0b1110101) + '\164' + chr(0b1100110) + chr(0b10101 + 0o30) + chr(1789 - 1733)):
f9ijNiPCpOFu[roI3spqORKae(ES5oEprVxulp(b'\xd2\x1d\xabV3rO\xd2D}\x96\xac?\xb4\x04\x11\x1dZ\xfd\xfc\x7f\xbc'), '\x64' + chr(101) + '\x63' + chr(0b1011011 + 0o24) + chr(2699 - 2599) + chr(0b10001 + 0o124))(chr(117) + '\164' + chr(0b1100110) + '\055' + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\x83'), chr(100) + '\145' + chr(8733 - 8634) + chr(0b1001010 + 0o45) + chr(7540 - 7440) + chr(0b1100101))(chr(3726 - 3609) + chr(0b1110100) + chr(0b1100110) + '\055' + chr(56))
if f9ijNiPCpOFu[roI3spqORKae(ES5oEprVxulp(b'\xc5\n\xaaI'), chr(0b1100100) + '\x65' + chr(0b111111 + 0o44) + chr(8713 - 8602) + chr(100) + chr(101))(chr(117) + chr(0b110 + 0o156) + chr(0b1100110) + chr(0b100100 + 0o11) + chr(56))] == roI3spqORKae(ES5oEprVxulp(b''), chr(100) + '\145' + chr(8000 - 7901) + '\x6f' + chr(2157 - 2057) + chr(101))(chr(117) + chr(3900 - 3784) + chr(5238 - 5136) + chr(0b100000 + 0o15) + '\x38'):
f9ijNiPCpOFu[roI3spqORKae(ES5oEprVxulp(b'\xc5\n\xaaI'), chr(0b1100100) + '\145' + chr(0b0 + 0o143) + '\157' + '\x64' + '\145')(chr(0b1110101) + chr(0b1000101 + 0o57) + chr(0b1000011 + 0o43) + '\x2d' + '\070')] = roI3spqORKae(ES5oEprVxulp(b'\x83'), chr(100) + '\145' + chr(8087 - 7988) + chr(0b1000110 + 0o51) + '\x64' + chr(0b111011 + 0o52))(chr(8210 - 8093) + chr(1065 - 949) + chr(1058 - 956) + chr(0b101101) + chr(324 - 268))
if f9ijNiPCpOFu[roI3spqORKae(ES5oEprVxulp(b'\xc5\n\xaaI\rfC\xea@r'), '\x64' + chr(0b1011110 + 0o7) + chr(99) + '\x6f' + chr(0b1100100) + '\145')(chr(117) + '\x74' + chr(7449 - 7347) + chr(0b101101) + chr(0b111000))] == roI3spqORKae(ES5oEprVxulp(b''), chr(0b1010011 + 0o21) + chr(101) + chr(7678 - 7579) + '\x6f' + '\x64' + '\x65')(chr(117) + '\x74' + '\146' + chr(0b101101) + chr(245 - 189)):
f9ijNiPCpOFu[roI3spqORKae(ES5oEprVxulp(b'\xc5\n\xaaI\rfC\xea@r'), chr(1265 - 1165) + chr(1399 - 1298) + '\143' + chr(9809 - 9698) + chr(100) + chr(0b100001 + 0o104))(chr(0b1110101) + chr(7231 - 7115) + chr(102) + chr(45) + '\070')] = roI3spqORKae(ES5oEprVxulp(b'\x83'), '\144' + chr(0b1100101) + chr(99) + chr(111) + chr(7487 - 7387) + chr(5298 - 5197))(chr(0b1110101) + '\164' + '\146' + chr(0b101011 + 0o2) + chr(0b111000))
for QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(f9ijNiPCpOFu, roI3spqORKae(ES5oEprVxulp(b'\xd8\x0e\xb7W'), chr(6911 - 6811) + chr(1414 - 1313) + chr(0b1010010 + 0o21) + chr(0b1101111) + chr(0b1100100) + chr(3540 - 3439))('\x75' + chr(0b1110100) + chr(6366 - 6264) + chr(0b100001 + 0o14) + chr(56)))()):
if QYodcsDtoGq7 in mwEMioO_aSPZ:
f9ijNiPCpOFu[QYodcsDtoGq7] = roI3spqORKae(ES5oEprVxulp(b'\x96\\\xe0\x154'), '\x64' + chr(101) + chr(99) + '\157' + '\144' + chr(0b10011 + 0o122))('\x75' + '\x74' + chr(102) + chr(45) + chr(804 - 748)) % (jLW6pRf2DSRk(f9ijNiPCpOFu[QYodcsDtoGq7]) * 1000000.0)
if QYodcsDtoGq7 in AmQRsSW99FTS:
f9ijNiPCpOFu[QYodcsDtoGq7] = roI3spqORKae(ES5oEprVxulp(b'\x96\\\xe0\x154'), chr(0b1101 + 0o127) + chr(101) + chr(0b110101 + 0o56) + chr(111) + chr(100) + '\145')(chr(0b110001 + 0o104) + chr(116) + '\146' + chr(0b101101) + chr(2854 - 2798)) % (jLW6pRf2DSRk(f9ijNiPCpOFu[QYodcsDtoGq7]) * 1e-21)
d9IYhOYAA219 = roI3spqORKae(ES5oEprVxulp(b''), chr(5280 - 5180) + chr(0b101100 + 0o71) + chr(4648 - 4549) + chr(3615 - 3504) + chr(1788 - 1688) + chr(0b1100101))(chr(0b1001 + 0o154) + chr(0b101011 + 0o111) + '\146' + '\055' + chr(0b111000))
for QYodcsDtoGq7 in VtoH2T_o6YEy:
if QYodcsDtoGq7 not in H4NoA26ON7iG(roI3spqORKae(f9ijNiPCpOFu, roI3spqORKae(ES5oEprVxulp(b'\xd8\x0e\xb7W'), chr(100) + '\x65' + chr(0b1100011) + chr(0b1100110 + 0o11) + '\144' + '\x65')(chr(117) + chr(0b1110100) + chr(0b1011111 + 0o7) + chr(0b101101) + '\x38'))()):
f9ijNiPCpOFu[QYodcsDtoGq7] = roI3spqORKae(ES5oEprVxulp(b''), '\144' + '\x65' + '\x63' + chr(0b110001 + 0o76) + chr(5145 - 5045) + '\145')('\x75' + chr(0b1000111 + 0o55) + '\146' + chr(975 - 930) + chr(56))
d9IYhOYAA219 = d9IYhOYAA219 + f9ijNiPCpOFu[QYodcsDtoGq7] + EAvVzGIvS3lY
d9IYhOYAA219 = d9IYhOYAA219.kdIDrcwZTCs5(EAvVzGIvS3lY) + NiWVjAWn0l6T + roI3spqORKae(ES5oEprVxulp(b'\xb9'), '\144' + '\145' + chr(99) + chr(9282 - 9171) + '\x64' + chr(101))(chr(3153 - 3036) + chr(116) + '\146' + '\x2d' + chr(56))
roI3spqORKae(Aq6EBMTUbp54, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(2339 - 2239) + '\x65' + '\x63' + chr(0b110110 + 0o71) + chr(0b11 + 0o141) + '\x65')(chr(4669 - 4552) + chr(116) + '\x66' + '\x2d' + '\070'))(d9IYhOYAA219)
if QJgeTIOanow9:
PIzcVSEiOIOj = hUcsWwAd0nE_.get_dictitem(JlNPC9Ow4uxx, roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3rz\x8c\x87'), '\144' + '\x65' + '\143' + '\x6f' + chr(100) + '\145')(chr(7593 - 7476) + '\x74' + chr(102) + '\x2d' + chr(1553 - 1497)), roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + '\145' + chr(0b10110 + 0o115) + '\x6f' + '\x64' + chr(7549 - 7448))(chr(117) + chr(0b1100100 + 0o20) + chr(4301 - 4199) + '\x2d' + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xf5'), chr(0b110110 + 0o56) + '\145' + chr(0b1100011) + '\x6f' + '\x64' + chr(0b10001 + 0o124))(chr(506 - 389) + '\x74' + '\x66' + '\x2d' + chr(1580 - 1524)))
for L66BkZPPV93j in PIzcVSEiOIOj:
L66BkZPPV93j[roI3spqORKae(ES5oEprVxulp(b'\xc7\x19\xafJ5p'), '\144' + '\145' + chr(99) + '\157' + chr(0b1100100) + chr(3209 - 3108))(chr(0b1001001 + 0o54) + chr(116) + chr(0b1110 + 0o130) + chr(45) + chr(56))] = roI3spqORKae(ES5oEprVxulp(b'\x96\x02'), chr(0b1100100) + '\145' + chr(6500 - 6401) + chr(0b1001110 + 0o41) + chr(3942 - 3842) + chr(101))(chr(0b1110101) + chr(116) + '\146' + chr(0b10001 + 0o34) + chr(0b111 + 0o61)) % nzTpIcepk0o8(jLW6pRf2DSRk(L66BkZPPV93j[roI3spqORKae(ES5oEprVxulp(b"\xde\x0e\xafW'gO\xe0H}\x96\xac?\xa9\x06\x0c#h\xe4\xf7"), '\x64' + chr(101) + '\143' + chr(111) + chr(3776 - 3676) + chr(8280 - 8179))(chr(8557 - 8440) + '\x74' + '\x66' + '\x2d' + chr(56))]) - nzTpIcepk0o8(chr(0b101010 + 0o6) + chr(1385 - 1274) + chr(52) + chr(50) + chr(1107 - 1058), 0b1000)) + roI3spqORKae(ES5oEprVxulp(b'\x9e'), chr(100) + chr(0b1000000 + 0o45) + chr(0b1010001 + 0o22) + '\157' + '\x64' + chr(930 - 829))(chr(4722 - 4605) + '\164' + '\146' + '\x2d' + '\x38') + roI3spqORKae(ES5oEprVxulp(b'\x96\x02'), '\144' + chr(4503 - 4402) + '\x63' + chr(111) + chr(4002 - 3902) + chr(101))(chr(11924 - 11807) + chr(116) + chr(102) + chr(45) + '\070') % nzTpIcepk0o8(jLW6pRf2DSRk(L66BkZPPV93j[roI3spqORKae(ES5oEprVxulp(b"\xde\x0e\xafW'gO\xe0H}\x96\xac?\xa9\x06\x0c#h\xec\xe1"), chr(0b101 + 0o137) + '\145' + chr(0b100111 + 0o74) + chr(0b1001100 + 0o43) + '\x64' + chr(101))(chr(0b1110101) + chr(0b1011001 + 0o33) + chr(102) + chr(0b101101) + '\070')]) - nzTpIcepk0o8('\060' + '\157' + chr(766 - 714) + chr(50) + chr(1095 - 1046), 8))
I810oeGL0u1g = L66BkZPPV93j[roI3spqORKae(ES5oEprVxulp(b'\xde\n\xa9M1JG\xe8Y{\x8d\x97\x13\xbe\x0c\x18\x19v'), chr(0b1100100) + '\145' + chr(99) + chr(0b100001 + 0o116) + '\x64' + '\145')(chr(8517 - 8400) + '\x74' + chr(0b1100110) + chr(1467 - 1422) + chr(0b10010 + 0o46))].LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\x89'), chr(346 - 246) + chr(1593 - 1492) + chr(0b1000111 + 0o34) + chr(111) + '\x64' + chr(0b1100101))(chr(0b1110101) + chr(0b1111 + 0o145) + chr(0b101001 + 0o75) + chr(45) + chr(1094 - 1038)))
hGJMcqJvesue = roI3spqORKae(ES5oEprVxulp(b''), chr(0b1101 + 0o127) + '\145' + '\143' + chr(0b1101111) + chr(0b1001100 + 0o30) + chr(101))('\x75' + '\164' + chr(0b1100110) + '\x2d' + '\070')
for am4di6GtLqyR in I810oeGL0u1g:
if roI3spqORKae(ES5oEprVxulp(b'\xf7*'), '\x64' + chr(3736 - 3635) + chr(0b1100011) + chr(0b1011100 + 0o23) + '\x64' + '\x65')(chr(0b1101100 + 0o11) + chr(116) + '\146' + '\055' + chr(1058 - 1002)) in am4di6GtLqyR:
hGJMcqJvesue = hGJMcqJvesue + am4di6GtLqyR[nzTpIcepk0o8(chr(0b101110 + 0o2) + '\157' + '\x33', 18022 - 18014):] + roI3spqORKae(ES5oEprVxulp(b'\x89'), chr(3084 - 2984) + chr(0b110011 + 0o62) + '\143' + chr(0b1101111) + '\144' + chr(0b1100101))('\x75' + chr(0b1000001 + 0o63) + chr(0b11000 + 0o116) + chr(0b11011 + 0o22) + '\070')
hGJMcqJvesue = hGJMcqJvesue.kdIDrcwZTCs5(roI3spqORKae(ES5oEprVxulp(b'\x89'), chr(100) + chr(0b1100101) + chr(8049 - 7950) + '\157' + chr(4859 - 4759) + '\145')(chr(0b1100010 + 0o23) + chr(116) + chr(102) + chr(0b101101) + chr(56)))
if roI3spqORKae(hGJMcqJvesue, roI3spqORKae(ES5oEprVxulp(b'\xd8\x0f\x87` v]\xd7yP\x91\xc6'), chr(0b1010010 + 0o22) + chr(0b0 + 0o145) + '\143' + chr(0b10001 + 0o136) + '\144' + chr(0b1100101))('\x75' + chr(0b1110100) + '\146' + '\055' + '\x38'))() == roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(101) + chr(5090 - 4991) + chr(0b1000010 + 0o55) + chr(0b1100100) + '\145')(chr(117) + '\x74' + '\146' + chr(45) + chr(3071 - 3015)):
hGJMcqJvesue = roI3spqORKae(ES5oEprVxulp(b'\xfd\x04\xa0A'), chr(0b10 + 0o142) + chr(4849 - 4748) + chr(99) + '\x6f' + chr(100) + chr(101))(chr(117) + chr(0b101111 + 0o105) + '\x66' + chr(0b101101) + chr(0b101000 + 0o20))
L66BkZPPV93j[roI3spqORKae(ES5oEprVxulp(b'\xd0\x04\xbcV7v^\xe4B}\x91'), chr(100) + '\x65' + '\143' + chr(111) + '\144' + chr(0b1000001 + 0o44))('\x75' + chr(116) + chr(7076 - 6974) + chr(45) + '\070')] = hGJMcqJvesue
d9IYhOYAA219 = roI3spqORKae(ES5oEprVxulp(b''), chr(4063 - 3963) + chr(5895 - 5794) + chr(99) + chr(0b10100 + 0o133) + '\144' + chr(0b1001100 + 0o31))(chr(0b1110101) + chr(116) + chr(1559 - 1457) + '\055' + '\070')
for QYodcsDtoGq7 in EAModKJL6bV4:
if QYodcsDtoGq7 in mwEMioO_aSPZ:
L66BkZPPV93j[QYodcsDtoGq7] = roI3spqORKae(ES5oEprVxulp(b'\x96\\\xe0\x154'), chr(100) + chr(0b1011100 + 0o11) + '\x63' + chr(111) + chr(1797 - 1697) + chr(0b1100101))('\165' + '\164' + chr(962 - 860) + '\055' + '\x38') % (jLW6pRf2DSRk(L66BkZPPV93j[QYodcsDtoGq7]) * 1000000.0)
if QYodcsDtoGq7 in AmQRsSW99FTS:
L66BkZPPV93j[QYodcsDtoGq7] = roI3spqORKae(ES5oEprVxulp(b'\x96\\\xe0\x154'), '\x64' + chr(5276 - 5175) + chr(99) + '\157' + chr(100) + chr(101))(chr(117) + chr(0b1010101 + 0o37) + chr(0b1100110) + '\055' + chr(700 - 644)) % (jLW6pRf2DSRk(L66BkZPPV93j[QYodcsDtoGq7]) * 1e-21)
d9IYhOYAA219 = d9IYhOYAA219 + L66BkZPPV93j[QYodcsDtoGq7] + EAvVzGIvS3lY
roI3spqORKae(_nJGa9oS7Wxq, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(0b111110 + 0o46) + chr(0b1011100 + 0o11) + chr(0b1100011) + '\157' + '\x64' + chr(1554 - 1453))('\165' + '\164' + chr(102) + chr(0b11 + 0o52) + chr(56)))(roI3spqORKae(d9IYhOYAA219, roI3spqORKae(ES5oEprVxulp(b'\xd8\x0f\x87` v]\xd7yP\x91\xc6'), chr(0b1100100) + chr(531 - 430) + '\x63' + '\157' + '\144' + chr(0b110011 + 0o62))('\165' + '\x74' + chr(4801 - 4699) + chr(0b100111 + 0o6) + chr(2916 - 2860)))(EAvVzGIvS3lY) + NiWVjAWn0l6T + roI3spqORKae(ES5oEprVxulp(b'\xb9'), chr(0b1100100) + chr(7034 - 6933) + chr(0b1100011) + chr(0b10100 + 0o133) + chr(300 - 200) + chr(9964 - 9863))(chr(12002 - 11885) + chr(0b1110100) + chr(3831 - 3729) + '\x2d' + '\070'))
if cl3Ncwxy1gE5:
roI3spqORKae(_R8IKF5IwAfX, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(0b1100100) + chr(0b1100101) + '\143' + chr(0b1000010 + 0o55) + chr(0b1000101 + 0o37) + chr(3308 - 3207))('\x75' + chr(11936 - 11820) + chr(102) + chr(0b101101) + chr(1756 - 1700)))(roI3spqORKae(ES5oEprVxulp(b'\xef\x03\xa2M<p '), '\144' + chr(6721 - 6620) + chr(1798 - 1699) + chr(0b1101111) + chr(100) + chr(0b1011000 + 0o15))(chr(9205 - 9088) + chr(116) + chr(0b1011100 + 0o12) + chr(45) + chr(0b111000)))
roI3spqORKae(S2RSmMFKiMNa, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(0b1100100) + chr(101) + '\x63' + chr(0b11011 + 0o124) + '\144' + chr(0b1011110 + 0o7))(chr(0b1110101) + '\x74' + chr(7571 - 7469) + '\055' + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b'\xef\x03\xa2M<p '), chr(100) + chr(0b1100101) + '\x63' + '\x6f' + chr(0b100010 + 0o102) + chr(101))('\x75' + chr(0b1110100) + chr(102) + chr(1649 - 1604) + chr(56)))
roI3spqORKae(Aq6EBMTUbp54, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), '\144' + '\145' + chr(0b1001011 + 0o30) + chr(111) + chr(0b1000101 + 0o37) + chr(0b111110 + 0o47))(chr(3663 - 3546) + chr(0b1110001 + 0o3) + chr(0b1100110) + chr(45) + '\x38'))(roI3spqORKae(ES5oEprVxulp(b'\xef\x03\xa2M<p '), chr(0b1100100) + chr(280 - 179) + chr(0b1100011) + chr(111) + chr(0b1100100) + chr(101))('\165' + '\164' + chr(102) + chr(0b11110 + 0o17) + '\x38'))
roI3spqORKae(_R8IKF5IwAfX, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(100) + '\x65' + chr(0b1100011) + '\x6f' + chr(0b10110 + 0o116) + chr(7822 - 7721))(chr(0b1110101) + chr(116) + chr(0b100001 + 0o105) + '\055' + chr(0b110001 + 0o7)))(roI3spqORKae(ES5oEprVxulp(b'\xef\x0e\xa0@)yE\xe3Jg\x83\x91 \xb8\x1ev'), '\x64' + chr(101) + chr(99) + chr(3224 - 3113) + chr(100) + chr(0b1100101))('\165' + chr(0b1110100) + chr(0b100100 + 0o102) + chr(0b1101 + 0o40) + chr(0b111000)))
roI3spqORKae(S2RSmMFKiMNa, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(0b1100100) + chr(0b1100100 + 0o1) + chr(0b10100 + 0o117) + '\x6f' + chr(100) + '\x65')(chr(0b1011 + 0o152) + '\164' + chr(8320 - 8218) + chr(45) + chr(2664 - 2608)))(roI3spqORKae(ES5oEprVxulp(b'\xef\x0e\xa0@)yE\xe3Jg\x83\x91 \xb8\x1ev'), chr(0b1100100) + '\145' + chr(0b1100011) + chr(10742 - 10631) + chr(100) + chr(0b1100101))('\165' + '\164' + chr(102) + '\x2d' + '\070'))
roI3spqORKae(Aq6EBMTUbp54, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(0b1100100) + '\145' + '\x63' + chr(0b1011110 + 0o21) + chr(6017 - 5917) + chr(101))('\165' + chr(0b1110100) + chr(8007 - 7905) + '\055' + chr(56)))(roI3spqORKae(ES5oEprVxulp(b'\xef\x0e\xa0@)yE\xe3Jg\x83\x91 \xb8\x1ev'), '\144' + chr(0b1100101) + chr(99) + chr(0b1101111) + chr(931 - 831) + '\x65')(chr(117) + chr(0b1110100) + chr(0b101111 + 0o67) + chr(0b11 + 0o52) + chr(2067 - 2011)))
roI3spqORKae(_R8IKF5IwAfX, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), '\x64' + chr(0b1111 + 0o126) + chr(99) + chr(111) + '\x64' + chr(8098 - 7997))('\165' + chr(116) + chr(0b1100110) + '\055' + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b'\xef\x0e\xa0@)qE\xeeX~\x87\x9d8\xa0i'), chr(0b1100100) + '\145' + chr(6149 - 6050) + '\157' + chr(0b11010 + 0o112) + '\145')('\x75' + chr(5263 - 5147) + chr(0b1010111 + 0o17) + '\x2d' + '\x38'))
roI3spqORKae(S2RSmMFKiMNa, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), '\x64' + '\145' + chr(0b1100011) + chr(111) + chr(0b1001 + 0o133) + chr(0b111100 + 0o51))(chr(0b1011100 + 0o31) + chr(11771 - 11655) + chr(2750 - 2648) + '\x2d' + '\070'))(roI3spqORKae(ES5oEprVxulp(b'\xef\x0e\xa0@)qE\xeeX~\x87\x9d8\xa0i'), chr(0b1100100) + chr(5899 - 5798) + chr(99) + chr(11423 - 11312) + '\144' + '\145')(chr(9590 - 9473) + chr(0b1011110 + 0o26) + chr(0b1100110) + chr(1225 - 1180) + chr(56)))
roI3spqORKae(Aq6EBMTUbp54, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(0b111011 + 0o51) + chr(2087 - 1986) + chr(0b1100011) + chr(111) + chr(0b1001101 + 0o27) + '\x65')(chr(0b1110101) + '\x74' + chr(8121 - 8019) + chr(0b101101) + chr(378 - 322)))(roI3spqORKae(ES5oEprVxulp(b'\xef\x0e\xa0@)qE\xeeX~\x87\x9d8\xa0i'), chr(0b1100100) + '\145' + '\143' + chr(0b1101111) + chr(1202 - 1102) + '\145')('\165' + chr(8320 - 8204) + chr(102) + chr(45) + chr(888 - 832)))
if QJgeTIOanow9:
roI3spqORKae(_nJGa9oS7Wxq, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(2523 - 2423) + chr(0b1100101) + chr(0b1000001 + 0o42) + chr(8052 - 7941) + chr(100) + chr(101))(chr(117) + chr(8266 - 8150) + '\146' + chr(566 - 521) + chr(56)))(roI3spqORKae(ES5oEprVxulp(b'\xef\x03\xa2M<p '), chr(4723 - 4623) + '\145' + '\143' + chr(0b1101111) + chr(0b1011100 + 0o10) + '\145')(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + chr(0b1100 + 0o41) + chr(0b101000 + 0o20)))
roI3spqORKae(_nJGa9oS7Wxq, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(0b1100000 + 0o4) + chr(0b1100101) + '\x63' + '\157' + '\144' + chr(3516 - 3415))(chr(4045 - 3928) + '\x74' + '\x66' + chr(0b101000 + 0o5) + '\070'))(roI3spqORKae(ES5oEprVxulp(b'\xef\x0e\xa0@)yE\xe3Jg\x83\x91 \xb8\x1ev'), chr(0b1100100) + chr(0b111111 + 0o46) + chr(99) + '\x6f' + chr(0b1100100) + '\x65')(chr(0b1100110 + 0o17) + chr(0b1000100 + 0o60) + chr(102) + '\055' + chr(2730 - 2674)))
roI3spqORKae(_nJGa9oS7Wxq, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), '\144' + chr(101) + chr(2551 - 2452) + chr(111) + '\x64' + '\x65')(chr(9457 - 9340) + '\164' + '\146' + chr(45) + '\070'))(roI3spqORKae(ES5oEprVxulp(b'\xef\x0e\xa0@)qE\xeeX~\x87\x9d8\xa0i'), '\x64' + '\145' + chr(2355 - 2256) + '\x6f' + chr(100) + chr(0b1011000 + 0o15))(chr(117) + '\x74' + chr(8567 - 8465) + '\x2d' + chr(0b111000)))
if fjdMtUDzc4gD:
roI3spqORKae(NYr8NJTXQItJ, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(0b1100100 + 0o0) + chr(8708 - 8607) + chr(3709 - 3610) + chr(1369 - 1258) + chr(100) + chr(101))(chr(117) + chr(0b1110100) + chr(5313 - 5211) + chr(45) + '\x38'))(roI3spqORKae(ES5oEprVxulp(b'\xef\x03\xa2M<p '), '\x64' + '\x65' + chr(99) + chr(111) + chr(0b1100010 + 0o2) + chr(0b1000101 + 0o40))(chr(0b101111 + 0o106) + '\164' + chr(102) + chr(45) + chr(0b100111 + 0o21)))
roI3spqORKae(NYr8NJTXQItJ, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(2379 - 2279) + chr(0b1100101) + chr(1679 - 1580) + chr(517 - 406) + chr(0b1100100) + chr(0b1100101))(chr(117) + chr(0b1110100) + chr(0b1100110) + '\x2d' + chr(1661 - 1605)))(roI3spqORKae(ES5oEprVxulp(b'\xef\x0e\xa0@)yE\xe3Jg\x83\x91 \xb8\x1ev'), '\144' + chr(101) + chr(0b1100011) + '\x6f' + chr(0b1001111 + 0o25) + chr(0b10111 + 0o116))(chr(0b100011 + 0o122) + chr(0b101011 + 0o111) + '\x66' + chr(45) + chr(56)))
roI3spqORKae(NYr8NJTXQItJ, roI3spqORKae(ES5oEprVxulp(b'\xde\x07\xfeL:e\\\xbcac\x93\xc1'), chr(100) + chr(7084 - 6983) + chr(1042 - 943) + chr(111) + '\x64' + chr(0b101100 + 0o71))('\165' + chr(0b11 + 0o161) + chr(0b1100110) + chr(45) + chr(0b101010 + 0o16)))(roI3spqORKae(ES5oEprVxulp(b'\xef\x0e\xa0@)qE\xeeX~\x87\x9d8\xa0i'), chr(9166 - 9066) + chr(101) + '\143' + chr(8258 - 8147) + '\144' + chr(0b1011 + 0o132))(chr(0b1101010 + 0o13) + chr(11927 - 11811) + '\146' + '\055' + '\x38'))
roI3spqORKae(_R8IKF5IwAfX, roI3spqORKae(ES5oEprVxulp(b'\xe9\x0e\xbf\x13\x11vL\xb4xw\xda\x99'), '\144' + '\x65' + '\143' + '\x6f' + chr(100) + chr(0b1100101))(chr(0b1110101) + chr(116) + chr(0b1010100 + 0o22) + chr(291 - 246) + chr(0b1011 + 0o55)))()
roI3spqORKae(S2RSmMFKiMNa, roI3spqORKae(ES5oEprVxulp(b'\xe9\x0e\xbf\x13\x11vL\xb4xw\xda\x99'), chr(0b1000010 + 0o42) + '\145' + '\143' + chr(0b1101111 + 0o0) + chr(100) + chr(5459 - 5358))(chr(0b11110 + 0o127) + chr(116) + '\x66' + chr(0b1000 + 0o45) + chr(0b100 + 0o64)))()
roI3spqORKae(Aq6EBMTUbp54, roI3spqORKae(ES5oEprVxulp(b'\xe9\x0e\xbf\x13\x11vL\xb4xw\xda\x99'), chr(0b100000 + 0o104) + chr(0b1100101 + 0o0) + chr(99) + '\x6f' + '\144' + chr(0b100001 + 0o104))('\165' + '\164' + chr(0b1100110) + chr(848 - 803) + chr(0b111000)))()
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xd7\n\xbaErfK\xfbHw\xc2\x9a"\xe7C'), '\144' + '\145' + chr(99) + chr(0b1101111) + chr(0b11101 + 0o107) + chr(0b1100101))(chr(117) + '\164' + chr(0b10000 + 0o126) + chr(0b101101) + chr(0b111000)), neY2HPRd1pS4, JPeSJMMIaUft, up1owLR9fgLv)
ryVnRlhvkKUp = [neY2HPRd1pS4, JPeSJMMIaUft, up1owLR9fgLv]
if QJgeTIOanow9:
roI3spqORKae(_nJGa9oS7Wxq, roI3spqORKae(ES5oEprVxulp(b'\xe9\x0e\xbf\x13\x11vL\xb4xw\xda\x99'), '\x64' + chr(101) + '\x63' + '\157' + chr(2827 - 2727) + chr(0b101 + 0o140))(chr(117) + '\164' + '\146' + chr(0b101101) + chr(56)))()
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xc0\x1b\xabG;xO\xe3\rw\x83\x87-\xfd\x10\x1d\n`\xe9\xb9d\xb1\xd3H'), chr(0b1100100) + chr(101) + chr(4840 - 4741) + chr(9343 - 9232) + chr(3627 - 3527) + chr(0b1100101))(chr(0b1110101) + chr(116) + chr(0b111110 + 0o50) + chr(1814 - 1769) + chr(0b1 + 0o67)), MThZBR8YwTcP)
roI3spqORKae(ryVnRlhvkKUp, roI3spqORKae(ES5oEprVxulp(b'\xfb?\x9d\x10*rm\xe2G|\xb7\xc6'), '\x64' + chr(0b100001 + 0o104) + '\x63' + chr(0b11010 + 0o125) + '\x64' + '\x65')(chr(117) + '\164' + '\x66' + '\x2d' + chr(2073 - 2017)))(MThZBR8YwTcP)
if fjdMtUDzc4gD:
roI3spqORKae(NYr8NJTXQItJ, roI3spqORKae(ES5oEprVxulp(b'\xe9\x0e\xbf\x13\x11vL\xb4xw\xda\x99'), chr(0b1100100) + chr(4312 - 4211) + chr(99) + chr(0b10100 + 0o133) + chr(0b1100100) + '\x65')('\165' + chr(116) + chr(8876 - 8774) + chr(2016 - 1971) + '\070'))()
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xe0\x0e\xa2A1aC\xe2C3\x81\x81%\xa9\x06\x0e\x15d\xad\xeal\xa9\x8c\x0c\xa7\xc5d\xa4\xf3'), '\144' + chr(101) + chr(0b1100011) + chr(0b0 + 0o157) + chr(100) + '\x65')(chr(4889 - 4772) + '\x74' + '\x66' + chr(0b101101) + chr(0b111000)), jvJ_220imkI0)
roI3spqORKae(ryVnRlhvkKUp, roI3spqORKae(ES5oEprVxulp(b'\xfb?\x9d\x10*rm\xe2G|\xb7\xc6'), chr(0b101011 + 0o71) + chr(0b1100101) + chr(99) + chr(8458 - 8347) + '\144' + chr(0b1100101))(chr(0b1110101) + '\x74' + '\x66' + chr(45) + chr(1580 - 1524)))(jvJ_220imkI0)
return (nzTpIcepk0o8(chr(0b10100 + 0o34) + chr(0b100100 + 0o113) + '\061', 8), ryVnRlhvkKUp)
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
demag_magic
|
def demag_magic(path_to_file='.', file_name='magic_measurements.txt',
save=False, save_folder='.', fmt='svg', plot_by='loc',
treat=None, XLP="", individual=None, average_measurements=False,
single_plot=False):
'''
Takes demagnetization data (from magic_measurements file) and outputs
intensity plots (with optional save).
Parameters
-----------
path_to_file : path to directory that contains files (default is current directory, '.')
file_name : name of measurements file (default is 'magic_measurements.txt')
save : boolean argument to save plots (default is False)
save_folder : relative directory where plots will be saved (default is current directory, '.')
fmt : format of saved figures (default is 'svg')
plot_by : specifies what sampling level you wish to plot the data at
('loc' -- plots all samples of the same location on the same plot
'exp' -- plots all samples of the same expedition on the same plot
'site' -- plots all samples of the same site on the same plot
'sample' -- plots all measurements of the same sample on the same plot
'spc' -- plots each specimen individually)
treat : treatment step
'T' = thermal demagnetization
'AF' = alternating field demagnetization
'M' = microwave radiation demagnetization
(default is 'AF')
XLP : filter data by a particular method
individual : This function outputs all plots by default. If plotting by sample
or specimen, you may not wish to see (or wait for) every single plot. You can
therefore specify a particular plot by setting this keyword argument to
a string of the site/sample/specimen name.
average_measurements : Option to average demagnetization measurements by
the grouping specified with the 'plot_by' keyword argument (default is False)
single_plot : Option to output a single plot with all measurements (default is False)
'''
FIG = {} # plot dictionary
FIG['demag'] = 1 # demag is figure 1
in_file, plot_key, LT = os.path.join(
path_to_file, file_name), 'er_location_name', "LT-AF-Z"
XLP = ""
norm = 1
units, dmag_key = 'T', 'treatment_ac_field'
plot_num = 0
if plot_by == 'loc':
plot_key = 'er_location_name'
elif plot_by == 'exp':
plot_key = 'er_expedition_name'
elif plot_by == 'site':
plot_key = 'er_site_name'
elif plot_by == 'sam':
plot_key = 'er_sample_name'
elif plot_by == 'spc':
plot_key = 'er_specimen_name'
if treat != None:
LT = 'LT-' + treat + '-Z' # get lab treatment for plotting
if LT == 'LT-T-Z':
units, dmag_key = 'K', 'treatment_temp'
elif LT == 'LT-AF-Z':
units, dmag_key = 'T', 'treatment_ac_field'
elif LT == 'LT-M-Z':
units, dmag_key = 'J', 'treatment_mw_energy'
else:
units = 'U'
else:
LT = 'LT-AF-Z'
plot_dict = {}
data, file_type = pmag.magic_read(in_file)
sids = pmag.get_specs(data)
plt.figure(num=FIG['demag'], figsize=(5, 5))
print(len(data), ' records read from ', in_file)
#
#
# find desired intensity data
#
# get plotlist
#
plotlist, intlist = [], ['measurement_magnitude', 'measurement_magn_moment',
'measurement_magn_volume', 'measurement_magn_mass']
IntMeths = []
FixData = []
for rec in data:
meths = []
methcodes = rec['magic_method_codes'].split(':')
for meth in methcodes:
meths.append(meth.strip())
for key in list(rec.keys()):
if key in intlist and rec[key] != "":
if key not in IntMeths:
IntMeths.append(key)
if rec[plot_key] not in plotlist and LT in meths:
plotlist.append(rec[plot_key])
if 'measurement_flag' not in list(rec.keys()):
rec['measurement_flag'] = 'g'
FixData.append(rec)
plotlist.sort()
if len(IntMeths) == 0:
print('No intensity information found')
data = FixData
# plot first intensity method found - normalized to initial value anyway -
# doesn't matter which used
int_key = IntMeths[0]
# print plotlist
if individual is not None:
if type(individual) == list or type(individual) == tuple:
plotlist = list(individual)
else:
plotlist = []
plotlist.append(individual)
for plot in plotlist:
print(plot, 'plotting by: ', plot_key)
# fish out all the data for this type of plot
PLTblock = pmag.get_dictitem(data, plot_key, plot, 'T')
# fish out all the dmag for this experiment type
PLTblock = pmag.get_dictitem(PLTblock, 'magic_method_codes', LT, 'has')
# get all with this intensity key non-blank
PLTblock = pmag.get_dictitem(PLTblock, int_key, '', 'F')
if XLP != "":
# reject data with XLP in method_code
PLTblock = pmag.get_dictitem(
PLTblock, 'magic_method_codes', XLP, 'not')
# for plot in plotlist:
if len(PLTblock) > 2:
title = PLTblock[0][plot_key]
spcs = []
for rec in PLTblock:
if rec['er_specimen_name'] not in spcs:
spcs.append(rec['er_specimen_name'])
if average_measurements is False:
for spc in spcs:
# plot specimen by specimen
SPCblock = pmag.get_dictitem(
PLTblock, 'er_specimen_name', spc, 'T')
INTblock = []
for rec in SPCblock:
INTblock.append([float(rec[dmag_key]), 0, 0, float(
rec[int_key]), 1, rec['measurement_flag']])
if len(INTblock) > 2:
pmagplotlib.plot_mag(
FIG['demag'], INTblock, title, 0, units, norm)
else:
AVGblock = {}
for spc in spcs:
# plot specimen by specimen
SPCblock = pmag.get_dictitem(
PLTblock, 'er_specimen_name', spc, 'T')
for rec in SPCblock:
if rec['measurement_flag'] == 'g':
if float(rec[dmag_key]) not in list(AVGblock.keys()):
AVGblock[float(rec[dmag_key])] = [
float(rec[int_key])]
else:
AVGblock[float(rec[dmag_key])].append(
float(rec[int_key]))
INTblock = []
for step in sorted(AVGblock.keys()):
INTblock.append([float(step), 0, 0, old_div(
float(sum(AVGblock[step])), float(len(AVGblock[step]))), 1, 'g'])
pmagplotlib.plot_mag(FIG['demag'], INTblock,
title, 0, units, norm)
if save == True:
plt.savefig(os.path.join(save_folder, title) + '.' + fmt)
if single_plot is False:
plt.show()
if single_plot is True:
plt.show()
|
python
|
def demag_magic(path_to_file='.', file_name='magic_measurements.txt',
save=False, save_folder='.', fmt='svg', plot_by='loc',
treat=None, XLP="", individual=None, average_measurements=False,
single_plot=False):
'''
Takes demagnetization data (from magic_measurements file) and outputs
intensity plots (with optional save).
Parameters
-----------
path_to_file : path to directory that contains files (default is current directory, '.')
file_name : name of measurements file (default is 'magic_measurements.txt')
save : boolean argument to save plots (default is False)
save_folder : relative directory where plots will be saved (default is current directory, '.')
fmt : format of saved figures (default is 'svg')
plot_by : specifies what sampling level you wish to plot the data at
('loc' -- plots all samples of the same location on the same plot
'exp' -- plots all samples of the same expedition on the same plot
'site' -- plots all samples of the same site on the same plot
'sample' -- plots all measurements of the same sample on the same plot
'spc' -- plots each specimen individually)
treat : treatment step
'T' = thermal demagnetization
'AF' = alternating field demagnetization
'M' = microwave radiation demagnetization
(default is 'AF')
XLP : filter data by a particular method
individual : This function outputs all plots by default. If plotting by sample
or specimen, you may not wish to see (or wait for) every single plot. You can
therefore specify a particular plot by setting this keyword argument to
a string of the site/sample/specimen name.
average_measurements : Option to average demagnetization measurements by
the grouping specified with the 'plot_by' keyword argument (default is False)
single_plot : Option to output a single plot with all measurements (default is False)
'''
FIG = {} # plot dictionary
FIG['demag'] = 1 # demag is figure 1
in_file, plot_key, LT = os.path.join(
path_to_file, file_name), 'er_location_name', "LT-AF-Z"
XLP = ""
norm = 1
units, dmag_key = 'T', 'treatment_ac_field'
plot_num = 0
if plot_by == 'loc':
plot_key = 'er_location_name'
elif plot_by == 'exp':
plot_key = 'er_expedition_name'
elif plot_by == 'site':
plot_key = 'er_site_name'
elif plot_by == 'sam':
plot_key = 'er_sample_name'
elif plot_by == 'spc':
plot_key = 'er_specimen_name'
if treat != None:
LT = 'LT-' + treat + '-Z' # get lab treatment for plotting
if LT == 'LT-T-Z':
units, dmag_key = 'K', 'treatment_temp'
elif LT == 'LT-AF-Z':
units, dmag_key = 'T', 'treatment_ac_field'
elif LT == 'LT-M-Z':
units, dmag_key = 'J', 'treatment_mw_energy'
else:
units = 'U'
else:
LT = 'LT-AF-Z'
plot_dict = {}
data, file_type = pmag.magic_read(in_file)
sids = pmag.get_specs(data)
plt.figure(num=FIG['demag'], figsize=(5, 5))
print(len(data), ' records read from ', in_file)
#
#
# find desired intensity data
#
# get plotlist
#
plotlist, intlist = [], ['measurement_magnitude', 'measurement_magn_moment',
'measurement_magn_volume', 'measurement_magn_mass']
IntMeths = []
FixData = []
for rec in data:
meths = []
methcodes = rec['magic_method_codes'].split(':')
for meth in methcodes:
meths.append(meth.strip())
for key in list(rec.keys()):
if key in intlist and rec[key] != "":
if key not in IntMeths:
IntMeths.append(key)
if rec[plot_key] not in plotlist and LT in meths:
plotlist.append(rec[plot_key])
if 'measurement_flag' not in list(rec.keys()):
rec['measurement_flag'] = 'g'
FixData.append(rec)
plotlist.sort()
if len(IntMeths) == 0:
print('No intensity information found')
data = FixData
# plot first intensity method found - normalized to initial value anyway -
# doesn't matter which used
int_key = IntMeths[0]
# print plotlist
if individual is not None:
if type(individual) == list or type(individual) == tuple:
plotlist = list(individual)
else:
plotlist = []
plotlist.append(individual)
for plot in plotlist:
print(plot, 'plotting by: ', plot_key)
# fish out all the data for this type of plot
PLTblock = pmag.get_dictitem(data, plot_key, plot, 'T')
# fish out all the dmag for this experiment type
PLTblock = pmag.get_dictitem(PLTblock, 'magic_method_codes', LT, 'has')
# get all with this intensity key non-blank
PLTblock = pmag.get_dictitem(PLTblock, int_key, '', 'F')
if XLP != "":
# reject data with XLP in method_code
PLTblock = pmag.get_dictitem(
PLTblock, 'magic_method_codes', XLP, 'not')
# for plot in plotlist:
if len(PLTblock) > 2:
title = PLTblock[0][plot_key]
spcs = []
for rec in PLTblock:
if rec['er_specimen_name'] not in spcs:
spcs.append(rec['er_specimen_name'])
if average_measurements is False:
for spc in spcs:
# plot specimen by specimen
SPCblock = pmag.get_dictitem(
PLTblock, 'er_specimen_name', spc, 'T')
INTblock = []
for rec in SPCblock:
INTblock.append([float(rec[dmag_key]), 0, 0, float(
rec[int_key]), 1, rec['measurement_flag']])
if len(INTblock) > 2:
pmagplotlib.plot_mag(
FIG['demag'], INTblock, title, 0, units, norm)
else:
AVGblock = {}
for spc in spcs:
# plot specimen by specimen
SPCblock = pmag.get_dictitem(
PLTblock, 'er_specimen_name', spc, 'T')
for rec in SPCblock:
if rec['measurement_flag'] == 'g':
if float(rec[dmag_key]) not in list(AVGblock.keys()):
AVGblock[float(rec[dmag_key])] = [
float(rec[int_key])]
else:
AVGblock[float(rec[dmag_key])].append(
float(rec[int_key]))
INTblock = []
for step in sorted(AVGblock.keys()):
INTblock.append([float(step), 0, 0, old_div(
float(sum(AVGblock[step])), float(len(AVGblock[step]))), 1, 'g'])
pmagplotlib.plot_mag(FIG['demag'], INTblock,
title, 0, units, norm)
if save == True:
plt.savefig(os.path.join(save_folder, title) + '.' + fmt)
if single_plot is False:
plt.show()
if single_plot is True:
plt.show()
|
[
"def",
"demag_magic",
"(",
"path_to_file",
"=",
"'.'",
",",
"file_name",
"=",
"'magic_measurements.txt'",
",",
"save",
"=",
"False",
",",
"save_folder",
"=",
"'.'",
",",
"fmt",
"=",
"'svg'",
",",
"plot_by",
"=",
"'loc'",
",",
"treat",
"=",
"None",
",",
"XLP",
"=",
"\"\"",
",",
"individual",
"=",
"None",
",",
"average_measurements",
"=",
"False",
",",
"single_plot",
"=",
"False",
")",
":",
"FIG",
"=",
"{",
"}",
"# plot dictionary",
"FIG",
"[",
"'demag'",
"]",
"=",
"1",
"# demag is figure 1",
"in_file",
",",
"plot_key",
",",
"LT",
"=",
"os",
".",
"path",
".",
"join",
"(",
"path_to_file",
",",
"file_name",
")",
",",
"'er_location_name'",
",",
"\"LT-AF-Z\"",
"XLP",
"=",
"\"\"",
"norm",
"=",
"1",
"units",
",",
"dmag_key",
"=",
"'T'",
",",
"'treatment_ac_field'",
"plot_num",
"=",
"0",
"if",
"plot_by",
"==",
"'loc'",
":",
"plot_key",
"=",
"'er_location_name'",
"elif",
"plot_by",
"==",
"'exp'",
":",
"plot_key",
"=",
"'er_expedition_name'",
"elif",
"plot_by",
"==",
"'site'",
":",
"plot_key",
"=",
"'er_site_name'",
"elif",
"plot_by",
"==",
"'sam'",
":",
"plot_key",
"=",
"'er_sample_name'",
"elif",
"plot_by",
"==",
"'spc'",
":",
"plot_key",
"=",
"'er_specimen_name'",
"if",
"treat",
"!=",
"None",
":",
"LT",
"=",
"'LT-'",
"+",
"treat",
"+",
"'-Z'",
"# get lab treatment for plotting",
"if",
"LT",
"==",
"'LT-T-Z'",
":",
"units",
",",
"dmag_key",
"=",
"'K'",
",",
"'treatment_temp'",
"elif",
"LT",
"==",
"'LT-AF-Z'",
":",
"units",
",",
"dmag_key",
"=",
"'T'",
",",
"'treatment_ac_field'",
"elif",
"LT",
"==",
"'LT-M-Z'",
":",
"units",
",",
"dmag_key",
"=",
"'J'",
",",
"'treatment_mw_energy'",
"else",
":",
"units",
"=",
"'U'",
"else",
":",
"LT",
"=",
"'LT-AF-Z'",
"plot_dict",
"=",
"{",
"}",
"data",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"in_file",
")",
"sids",
"=",
"pmag",
".",
"get_specs",
"(",
"data",
")",
"plt",
".",
"figure",
"(",
"num",
"=",
"FIG",
"[",
"'demag'",
"]",
",",
"figsize",
"=",
"(",
"5",
",",
"5",
")",
")",
"print",
"(",
"len",
"(",
"data",
")",
",",
"' records read from '",
",",
"in_file",
")",
"#",
"#",
"# find desired intensity data",
"#",
"# get plotlist",
"#",
"plotlist",
",",
"intlist",
"=",
"[",
"]",
",",
"[",
"'measurement_magnitude'",
",",
"'measurement_magn_moment'",
",",
"'measurement_magn_volume'",
",",
"'measurement_magn_mass'",
"]",
"IntMeths",
"=",
"[",
"]",
"FixData",
"=",
"[",
"]",
"for",
"rec",
"in",
"data",
":",
"meths",
"=",
"[",
"]",
"methcodes",
"=",
"rec",
"[",
"'magic_method_codes'",
"]",
".",
"split",
"(",
"':'",
")",
"for",
"meth",
"in",
"methcodes",
":",
"meths",
".",
"append",
"(",
"meth",
".",
"strip",
"(",
")",
")",
"for",
"key",
"in",
"list",
"(",
"rec",
".",
"keys",
"(",
")",
")",
":",
"if",
"key",
"in",
"intlist",
"and",
"rec",
"[",
"key",
"]",
"!=",
"\"\"",
":",
"if",
"key",
"not",
"in",
"IntMeths",
":",
"IntMeths",
".",
"append",
"(",
"key",
")",
"if",
"rec",
"[",
"plot_key",
"]",
"not",
"in",
"plotlist",
"and",
"LT",
"in",
"meths",
":",
"plotlist",
".",
"append",
"(",
"rec",
"[",
"plot_key",
"]",
")",
"if",
"'measurement_flag'",
"not",
"in",
"list",
"(",
"rec",
".",
"keys",
"(",
")",
")",
":",
"rec",
"[",
"'measurement_flag'",
"]",
"=",
"'g'",
"FixData",
".",
"append",
"(",
"rec",
")",
"plotlist",
".",
"sort",
"(",
")",
"if",
"len",
"(",
"IntMeths",
")",
"==",
"0",
":",
"print",
"(",
"'No intensity information found'",
")",
"data",
"=",
"FixData",
"# plot first intensity method found - normalized to initial value anyway -",
"# doesn't matter which used",
"int_key",
"=",
"IntMeths",
"[",
"0",
"]",
"# print plotlist",
"if",
"individual",
"is",
"not",
"None",
":",
"if",
"type",
"(",
"individual",
")",
"==",
"list",
"or",
"type",
"(",
"individual",
")",
"==",
"tuple",
":",
"plotlist",
"=",
"list",
"(",
"individual",
")",
"else",
":",
"plotlist",
"=",
"[",
"]",
"plotlist",
".",
"append",
"(",
"individual",
")",
"for",
"plot",
"in",
"plotlist",
":",
"print",
"(",
"plot",
",",
"'plotting by: '",
",",
"plot_key",
")",
"# fish out all the data for this type of plot",
"PLTblock",
"=",
"pmag",
".",
"get_dictitem",
"(",
"data",
",",
"plot_key",
",",
"plot",
",",
"'T'",
")",
"# fish out all the dmag for this experiment type",
"PLTblock",
"=",
"pmag",
".",
"get_dictitem",
"(",
"PLTblock",
",",
"'magic_method_codes'",
",",
"LT",
",",
"'has'",
")",
"# get all with this intensity key non-blank",
"PLTblock",
"=",
"pmag",
".",
"get_dictitem",
"(",
"PLTblock",
",",
"int_key",
",",
"''",
",",
"'F'",
")",
"if",
"XLP",
"!=",
"\"\"",
":",
"# reject data with XLP in method_code",
"PLTblock",
"=",
"pmag",
".",
"get_dictitem",
"(",
"PLTblock",
",",
"'magic_method_codes'",
",",
"XLP",
",",
"'not'",
")",
"# for plot in plotlist:",
"if",
"len",
"(",
"PLTblock",
")",
">",
"2",
":",
"title",
"=",
"PLTblock",
"[",
"0",
"]",
"[",
"plot_key",
"]",
"spcs",
"=",
"[",
"]",
"for",
"rec",
"in",
"PLTblock",
":",
"if",
"rec",
"[",
"'er_specimen_name'",
"]",
"not",
"in",
"spcs",
":",
"spcs",
".",
"append",
"(",
"rec",
"[",
"'er_specimen_name'",
"]",
")",
"if",
"average_measurements",
"is",
"False",
":",
"for",
"spc",
"in",
"spcs",
":",
"# plot specimen by specimen",
"SPCblock",
"=",
"pmag",
".",
"get_dictitem",
"(",
"PLTblock",
",",
"'er_specimen_name'",
",",
"spc",
",",
"'T'",
")",
"INTblock",
"=",
"[",
"]",
"for",
"rec",
"in",
"SPCblock",
":",
"INTblock",
".",
"append",
"(",
"[",
"float",
"(",
"rec",
"[",
"dmag_key",
"]",
")",
",",
"0",
",",
"0",
",",
"float",
"(",
"rec",
"[",
"int_key",
"]",
")",
",",
"1",
",",
"rec",
"[",
"'measurement_flag'",
"]",
"]",
")",
"if",
"len",
"(",
"INTblock",
")",
">",
"2",
":",
"pmagplotlib",
".",
"plot_mag",
"(",
"FIG",
"[",
"'demag'",
"]",
",",
"INTblock",
",",
"title",
",",
"0",
",",
"units",
",",
"norm",
")",
"else",
":",
"AVGblock",
"=",
"{",
"}",
"for",
"spc",
"in",
"spcs",
":",
"# plot specimen by specimen",
"SPCblock",
"=",
"pmag",
".",
"get_dictitem",
"(",
"PLTblock",
",",
"'er_specimen_name'",
",",
"spc",
",",
"'T'",
")",
"for",
"rec",
"in",
"SPCblock",
":",
"if",
"rec",
"[",
"'measurement_flag'",
"]",
"==",
"'g'",
":",
"if",
"float",
"(",
"rec",
"[",
"dmag_key",
"]",
")",
"not",
"in",
"list",
"(",
"AVGblock",
".",
"keys",
"(",
")",
")",
":",
"AVGblock",
"[",
"float",
"(",
"rec",
"[",
"dmag_key",
"]",
")",
"]",
"=",
"[",
"float",
"(",
"rec",
"[",
"int_key",
"]",
")",
"]",
"else",
":",
"AVGblock",
"[",
"float",
"(",
"rec",
"[",
"dmag_key",
"]",
")",
"]",
".",
"append",
"(",
"float",
"(",
"rec",
"[",
"int_key",
"]",
")",
")",
"INTblock",
"=",
"[",
"]",
"for",
"step",
"in",
"sorted",
"(",
"AVGblock",
".",
"keys",
"(",
")",
")",
":",
"INTblock",
".",
"append",
"(",
"[",
"float",
"(",
"step",
")",
",",
"0",
",",
"0",
",",
"old_div",
"(",
"float",
"(",
"sum",
"(",
"AVGblock",
"[",
"step",
"]",
")",
")",
",",
"float",
"(",
"len",
"(",
"AVGblock",
"[",
"step",
"]",
")",
")",
")",
",",
"1",
",",
"'g'",
"]",
")",
"pmagplotlib",
".",
"plot_mag",
"(",
"FIG",
"[",
"'demag'",
"]",
",",
"INTblock",
",",
"title",
",",
"0",
",",
"units",
",",
"norm",
")",
"if",
"save",
"==",
"True",
":",
"plt",
".",
"savefig",
"(",
"os",
".",
"path",
".",
"join",
"(",
"save_folder",
",",
"title",
")",
"+",
"'.'",
"+",
"fmt",
")",
"if",
"single_plot",
"is",
"False",
":",
"plt",
".",
"show",
"(",
")",
"if",
"single_plot",
"is",
"True",
":",
"plt",
".",
"show",
"(",
")"
] |
Takes demagnetization data (from magic_measurements file) and outputs
intensity plots (with optional save).
Parameters
-----------
path_to_file : path to directory that contains files (default is current directory, '.')
file_name : name of measurements file (default is 'magic_measurements.txt')
save : boolean argument to save plots (default is False)
save_folder : relative directory where plots will be saved (default is current directory, '.')
fmt : format of saved figures (default is 'svg')
plot_by : specifies what sampling level you wish to plot the data at
('loc' -- plots all samples of the same location on the same plot
'exp' -- plots all samples of the same expedition on the same plot
'site' -- plots all samples of the same site on the same plot
'sample' -- plots all measurements of the same sample on the same plot
'spc' -- plots each specimen individually)
treat : treatment step
'T' = thermal demagnetization
'AF' = alternating field demagnetization
'M' = microwave radiation demagnetization
(default is 'AF')
XLP : filter data by a particular method
individual : This function outputs all plots by default. If plotting by sample
or specimen, you may not wish to see (or wait for) every single plot. You can
therefore specify a particular plot by setting this keyword argument to
a string of the site/sample/specimen name.
average_measurements : Option to average demagnetization measurements by
the grouping specified with the 'plot_by' keyword argument (default is False)
single_plot : Option to output a single plot with all measurements (default is False)
|
[
"Takes",
"demagnetization",
"data",
"(",
"from",
"magic_measurements",
"file",
")",
"and",
"outputs",
"intensity",
"plots",
"(",
"with",
"optional",
"save",
")",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L7459-L7627
|
train
|
This function creates a demagnetization of the specified magic_measurements file and outputs the intensity plots of the specified individual.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(48) + chr(111) + chr(0b110001) + chr(48) + chr(2353 - 2300), 0b1000), nzTpIcepk0o8(chr(785 - 737) + chr(111) + chr(50) + chr(0b110111) + chr(0b101011 + 0o5), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(1219 - 1170) + chr(727 - 676), 0o10), nzTpIcepk0o8(chr(0b101011 + 0o5) + '\157' + '\063' + '\x36' + chr(1389 - 1337), 0b1000), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(54 - 5) + chr(0b1111 + 0o50) + '\x34', 23433 - 23425), nzTpIcepk0o8(chr(1978 - 1930) + '\157' + '\x33' + chr(54) + chr(0b1100 + 0o46), 0b1000), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(49) + chr(0b100110 + 0o20) + chr(0b100110 + 0o16), 0o10), nzTpIcepk0o8(chr(48) + chr(0b111010 + 0o65) + chr(0b11 + 0o56) + '\064' + '\x36', 53419 - 53411), nzTpIcepk0o8(chr(48) + '\157' + chr(616 - 565) + '\062' + '\062', 0b1000), nzTpIcepk0o8(chr(2068 - 2020) + chr(0b1101111) + chr(0b1111 + 0o42) + '\063' + chr(55), 11717 - 11709), nzTpIcepk0o8('\060' + '\x6f' + chr(49) + chr(688 - 637) + '\067', 8), nzTpIcepk0o8(chr(48) + chr(111) + chr(685 - 635) + chr(0b110110) + chr(0b1010 + 0o47), 19226 - 19218), nzTpIcepk0o8(chr(0b101011 + 0o5) + '\x6f' + '\x33' + chr(0b11011 + 0o33) + chr(921 - 871), 8), nzTpIcepk0o8('\060' + '\x6f' + '\x31' + chr(2638 - 2584) + chr(48), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(111) + chr(2135 - 2086) + chr(0b110111) + '\060', 0o10), nzTpIcepk0o8('\060' + '\157' + '\x31' + '\x34', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b100010 + 0o115) + chr(0b11001 + 0o30) + '\x30' + chr(1950 - 1902), 59777 - 59769), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b10000 + 0o43) + chr(0b101000 + 0o17) + chr(53), ord("\x08")), nzTpIcepk0o8(chr(48) + '\157' + '\x32' + chr(0b110011) + chr(0b101110 + 0o11), 0b1000), nzTpIcepk0o8(chr(899 - 851) + '\157' + '\062' + chr(2389 - 2335) + chr(1321 - 1272), 8), nzTpIcepk0o8(chr(0b101000 + 0o10) + chr(0b1101111) + chr(0b1001 + 0o51) + chr(1156 - 1108) + chr(0b10001 + 0o40), 39224 - 39216), nzTpIcepk0o8(chr(0b11000 + 0o30) + chr(0b1101000 + 0o7) + '\061' + '\061' + chr(50), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1101001 + 0o6) + '\x32' + '\x37' + chr(51), 0b1000), nzTpIcepk0o8(chr(0b101001 + 0o7) + '\157' + chr(0b110001) + chr(0b110010) + '\x34', 15572 - 15564), nzTpIcepk0o8(chr(48) + chr(3358 - 3247) + chr(51) + '\x32' + '\x30', 14816 - 14808), nzTpIcepk0o8(chr(48) + '\157' + '\062' + '\062' + '\x35', ord("\x08")), nzTpIcepk0o8(chr(48) + chr(750 - 639) + '\x33' + chr(0b100000 + 0o23) + chr(51), 0o10), nzTpIcepk0o8(chr(48) + '\x6f' + chr(51) + chr(0b110110) + chr(761 - 711), 8), nzTpIcepk0o8(chr(895 - 847) + chr(111) + chr(701 - 652) + '\x31' + chr(0b110101), 10496 - 10488), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(2455 - 2404) + chr(54) + chr(0b11010 + 0o35), 0o10), nzTpIcepk0o8(chr(48) + chr(111) + '\x33', 0o10), nzTpIcepk0o8('\060' + chr(111) + '\061' + '\061' + chr(0b101110 + 0o3), 0o10), nzTpIcepk0o8('\x30' + '\x6f' + '\067' + chr(48), 47509 - 47501), nzTpIcepk0o8('\060' + chr(0b1101110 + 0o1) + chr(1528 - 1478) + chr(0b110100) + chr(0b1000 + 0o52), 56177 - 56169), nzTpIcepk0o8(chr(48) + '\x6f' + '\063' + chr(0b10 + 0o60) + chr(0b110000), 8), nzTpIcepk0o8('\x30' + chr(7299 - 7188) + chr(0b110001) + '\060' + chr(0b101000 + 0o10), 8), nzTpIcepk0o8(chr(1396 - 1348) + chr(111) + '\061' + '\061' + chr(0b110110), ord("\x08")), nzTpIcepk0o8(chr(0b1110 + 0o42) + '\157' + '\063' + chr(0b101100 + 0o4) + '\x31', 0o10), nzTpIcepk0o8(chr(0b11011 + 0o25) + chr(0b10100 + 0o133) + chr(2403 - 2353) + chr(0b101011 + 0o14), 58415 - 58407), nzTpIcepk0o8(chr(48) + '\x6f' + chr(49) + chr(0b110 + 0o60) + '\x37', 0o10)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(0b10001 + 0o37) + '\157' + chr(0b11101 + 0o30) + chr(0b110000), 0b1000)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'k'), chr(1776 - 1676) + chr(790 - 689) + chr(4020 - 3921) + '\x6f' + '\x64' + chr(101))(chr(117) + '\x74' + '\146' + '\x2d' + '\x38') + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def frufV2H8jmvR(SBXaGBkMY5xD=roI3spqORKae(ES5oEprVxulp(b'k'), '\x64' + chr(6194 - 6093) + chr(0b1011110 + 0o5) + chr(0b11100 + 0o123) + '\144' + chr(101))(chr(117) + '\x74' + chr(102) + chr(0b101101) + chr(0b111000)), Ob89R3fsHgUT=roI3spqORKae(ES5oEprVxulp(b'(\xd9l\x9d\x1f\xad\x19\x03\xb3,*\xc3\x97\x1d\x1db4\x8e\xb1\xc5\xf9>'), '\144' + '\145' + chr(0b1100011) + '\x6f' + '\x64' + chr(0b1100101))('\165' + '\x74' + '\146' + chr(0b111 + 0o46) + chr(249 - 193)), mwgZMvWSpAHg=nzTpIcepk0o8(chr(2129 - 2081) + chr(7375 - 7264) + chr(0b100001 + 0o17), 51264 - 51256), S_yV4Ytx3yb1=roI3spqORKae(ES5oEprVxulp(b'k'), chr(0b10101 + 0o117) + chr(101) + chr(0b10001 + 0o122) + chr(111) + chr(0b1100100) + chr(101))(chr(0b1011100 + 0o31) + chr(116) + '\x66' + chr(550 - 505) + chr(56)), JummcHpaNLEw=roI3spqORKae(ES5oEprVxulp(b'6\xcel'), chr(100) + '\145' + '\143' + chr(0b1101111) + chr(6356 - 6256) + '\x65')(chr(0b1110101) + chr(0b1101000 + 0o14) + chr(102) + '\055' + '\x38'), CvOHRdgXRD6J=roI3spqORKae(ES5oEprVxulp(b')\xd7h'), chr(0b10 + 0o142) + chr(6518 - 6417) + chr(2814 - 2715) + chr(0b1100010 + 0o15) + chr(1493 - 1393) + chr(101))('\165' + '\164' + chr(10106 - 10004) + chr(45) + chr(1351 - 1295)), cwMmVhWUM3ZC=None, sYH8YsrEgBXI=roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(101) + chr(99) + chr(6085 - 5974) + '\144' + '\145')('\165' + chr(0b1011000 + 0o34) + '\x66' + chr(127 - 82) + '\070'), bAacJCmDGF9r=None, dBJ5b2Oe5d4Z=nzTpIcepk0o8('\x30' + '\x6f' + '\x30', 8), uos8VuC7EErD=nzTpIcepk0o8(chr(762 - 714) + chr(0b1 + 0o156) + chr(0b11000 + 0o30), 8)):
rKSToK9WUVwu = {}
rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'!\xddf\x95\x1b'), '\144' + chr(0b1000101 + 0o40) + '\143' + chr(0b1101111) + '\x64' + chr(0b1100101))(chr(0b1110101) + chr(116) + chr(0b1000 + 0o136) + chr(0b11100 + 0o21) + chr(0b101001 + 0o17))] = nzTpIcepk0o8(chr(48) + chr(111) + chr(0b101101 + 0o4), ord("\x08"))
(bORHD_jakCEx, RJ4Uz5ItlJXF, eo6ib84IkLxX) = (aHUqKstZLeS6.path.Y4yM9BcfTCNq(SBXaGBkMY5xD, Ob89R3fsHgUT), roI3spqORKae(ES5oEprVxulp(b' \xcaT\x98\x13\x91\x15\x12\xbb01\xee\x9c\x11\x15i'), chr(7479 - 7379) + chr(0b1100101) + chr(1050 - 951) + '\x6f' + '\x64' + chr(0b1100101))(chr(0b1110101) + '\x74' + '\146' + chr(688 - 643) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\t\xec&\xb5:\xdf.'), chr(0b1100100) + chr(0b1110 + 0o127) + chr(99) + chr(0b1101111) + chr(0b1100100) + chr(101))(chr(117) + chr(11705 - 11589) + chr(0b1100110) + '\x2d' + chr(1177 - 1121)))
sYH8YsrEgBXI = roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + '\145' + chr(99) + '\157' + chr(0b1001010 + 0o32) + '\145')(chr(0b1110101 + 0o0) + chr(568 - 452) + '\146' + chr(0b101101) + chr(0b101100 + 0o14))
xBFFJFaziFDU = nzTpIcepk0o8('\060' + chr(0b1101111) + chr(49), 8)
(M4fW_S7vN_Q_, rzETU8X0jBXv) = (roI3spqORKae(ES5oEprVxulp(b'\x11'), chr(0b1100100) + '\x65' + chr(0b1100011) + chr(111) + chr(100) + chr(0b111111 + 0o46))(chr(117) + chr(0b1110100) + chr(4394 - 4292) + '\x2d' + chr(0b11011 + 0o35)), roI3spqORKae(ES5oEprVxulp(b'1\xcan\x95\x08\x9f\x11\x08\xa6\x00>\xd2\xad\x16\x11i,\x99'), '\144' + '\145' + chr(8555 - 8456) + chr(3898 - 3787) + '\144' + chr(0b1100101))(chr(0b110100 + 0o101) + '\x74' + '\x66' + chr(0b101101) + '\070'))
HEgvsomx6t8a = nzTpIcepk0o8(chr(48) + chr(111) + chr(0b11000 + 0o30), 8)
if CvOHRdgXRD6J == roI3spqORKae(ES5oEprVxulp(b')\xd7h'), chr(100) + chr(101) + chr(0b1100011) + '\157' + chr(100) + chr(0b1100101))(chr(6210 - 6093) + chr(0b1101001 + 0o13) + chr(102) + '\055' + '\070'):
RJ4Uz5ItlJXF = roI3spqORKae(ES5oEprVxulp(b' \xcaT\x98\x13\x91\x15\x12\xbb01\xee\x9c\x11\x15i'), chr(100) + '\x65' + chr(9623 - 9524) + chr(111) + chr(0b1100100) + chr(6464 - 6363))('\x75' + chr(0b1100011 + 0o21) + chr(102) + chr(45) + '\070')
elif CvOHRdgXRD6J == roI3spqORKae(ES5oEprVxulp(b' \xc0{'), chr(100) + chr(3864 - 3763) + chr(0b1100011) + chr(0b1010111 + 0o30) + '\x64' + chr(0b1001110 + 0o27))(chr(0b1110101) + chr(0b1010111 + 0o35) + '\146' + '\x2d' + chr(56)):
RJ4Uz5ItlJXF = roI3spqORKae(ES5oEprVxulp(b' \xcaT\x91\x04\x82\x11\x02\xbb+6\xde\x9c/\x16m-\x98'), chr(100) + chr(101) + '\x63' + chr(111) + chr(100) + '\x65')(chr(12181 - 12064) + chr(10046 - 9930) + chr(0b1010111 + 0o17) + '\x2d' + '\x38')
elif CvOHRdgXRD6J == roI3spqORKae(ES5oEprVxulp(b'6\xd1\x7f\x91'), '\x64' + chr(0b11001 + 0o114) + chr(0b1111 + 0o124) + chr(0b10111 + 0o130) + chr(0b1011010 + 0o12) + chr(0b101001 + 0o74))(chr(117) + chr(0b1000011 + 0o61) + chr(102) + chr(45) + chr(299 - 243)):
RJ4Uz5ItlJXF = roI3spqORKae(ES5oEprVxulp(b' \xcaT\x87\x15\x86\x119\xbc>2\xd4'), chr(100) + chr(0b110101 + 0o60) + chr(370 - 271) + chr(0b1101111) + chr(100) + chr(382 - 281))(chr(3765 - 3648) + chr(0b1100000 + 0o24) + chr(102) + chr(1352 - 1307) + chr(150 - 94))
elif CvOHRdgXRD6J == roI3spqORKae(ES5oEprVxulp(b'6\xd9f'), chr(100) + chr(101) + chr(99) + chr(0b1101111) + '\144' + chr(101))(chr(0b10011 + 0o142) + '\x74' + '\146' + chr(823 - 778) + chr(528 - 472)):
RJ4Uz5ItlJXF = roI3spqORKae(ES5oEprVxulp(b' \xcaT\x87\x1d\x9f\x04\n\xb7\x001\xd0\x9f\x15'), '\144' + '\145' + chr(99) + '\x6f' + chr(0b1100100) + '\x65')(chr(10081 - 9964) + '\x74' + chr(0b1100110) + '\x2d' + chr(0b111000 + 0o0))
elif CvOHRdgXRD6J == roI3spqORKae(ES5oEprVxulp(b'6\xc8h'), chr(100) + chr(101) + '\143' + chr(111) + chr(0b1100100) + '\145')(chr(4088 - 3971) + chr(0b11111 + 0o125) + chr(102) + '\055' + chr(0b101000 + 0o20)):
RJ4Uz5ItlJXF = roI3spqORKae(ES5oEprVxulp(b' \xcaT\x87\x0c\x97\x17\x0f\xbf:1\xee\x9c\x11\x15i'), '\144' + chr(0b1001011 + 0o32) + chr(99) + '\157' + chr(100) + chr(8248 - 8147))(chr(0b1110101) + chr(1846 - 1730) + chr(0b1100110) + chr(0b101101) + chr(56))
if cwMmVhWUM3ZC is not None:
eo6ib84IkLxX = roI3spqORKae(ES5oEprVxulp(b'\t\xec&'), chr(0b1100100) + chr(8213 - 8112) + chr(99) + '\x6f' + '\x64' + chr(4585 - 4484))('\165' + chr(2000 - 1884) + '\146' + chr(0b101101) + '\x38') + cwMmVhWUM3ZC + roI3spqORKae(ES5oEprVxulp(b'h\xe2'), chr(9450 - 9350) + chr(0b1100101) + chr(0b1 + 0o142) + '\157' + chr(100) + chr(8812 - 8711))(chr(9364 - 9247) + '\164' + chr(8798 - 8696) + chr(0b101101) + chr(0b111000))
if eo6ib84IkLxX == roI3spqORKae(ES5oEprVxulp(b'\t\xec&\xa0Q\xa8'), '\144' + chr(0b1100101) + chr(5472 - 5373) + chr(0b111000 + 0o67) + chr(0b1100100) + '\145')(chr(0b1000 + 0o155) + chr(6497 - 6381) + chr(0b1001010 + 0o34) + chr(81 - 36) + '\070'):
(M4fW_S7vN_Q_, rzETU8X0jBXv) = (roI3spqORKae(ES5oEprVxulp(b'\x0e'), chr(0b100000 + 0o104) + chr(7249 - 7148) + '\143' + '\157' + chr(0b1100100) + chr(0b1001011 + 0o32))(chr(9861 - 9744) + chr(0b1110100) + chr(7309 - 7207) + '\x2d' + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'1\xcan\x95\x08\x9f\x11\x08\xa6\x00+\xd4\x9f\x00'), '\x64' + '\145' + '\143' + '\x6f' + chr(6043 - 5943) + chr(5738 - 5637))('\x75' + '\x74' + '\146' + '\x2d' + '\070'))
elif eo6ib84IkLxX == roI3spqORKae(ES5oEprVxulp(b'\t\xec&\xb5:\xdf.'), chr(0b1100100) + chr(0b0 + 0o145) + chr(99) + '\157' + '\144' + chr(101))(chr(117) + chr(0b1110100) + chr(1531 - 1429) + chr(0b1010 + 0o43) + chr(0b101101 + 0o13)):
(M4fW_S7vN_Q_, rzETU8X0jBXv) = (roI3spqORKae(ES5oEprVxulp(b'\x11'), chr(0b10111 + 0o115) + chr(0b10011 + 0o122) + '\143' + '\157' + chr(100) + '\x65')(chr(117) + chr(0b100111 + 0o115) + '\146' + '\x2d' + '\x38'), roI3spqORKae(ES5oEprVxulp(b'1\xcan\x95\x08\x9f\x11\x08\xa6\x00>\xd2\xad\x16\x11i,\x99'), chr(0b1011101 + 0o7) + chr(101) + chr(1968 - 1869) + chr(0b1101111) + '\x64' + '\x65')(chr(6249 - 6132) + '\164' + chr(102) + '\x2d' + chr(2603 - 2547)))
elif eo6ib84IkLxX == roI3spqORKae(ES5oEprVxulp(b'\t\xec&\xb9Q\xa8'), '\144' + chr(0b101101 + 0o70) + chr(0b100011 + 0o100) + chr(0b101001 + 0o106) + '\144' + chr(0b1011010 + 0o13))(chr(0b1110101) + chr(116) + chr(0b1100110) + chr(501 - 456) + '\x38'):
(M4fW_S7vN_Q_, rzETU8X0jBXv) = (roI3spqORKae(ES5oEprVxulp(b'\x0f'), chr(0b1100100) + '\x65' + chr(0b1100011) + '\157' + chr(0b1011011 + 0o11) + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + chr(102) + chr(640 - 595) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'1\xcan\x95\x08\x9f\x11\x08\xa6\x002\xc6\xad\x15\x16i2\x9a\xe6'), '\x64' + chr(4114 - 4013) + chr(99) + chr(0b100 + 0o153) + '\144' + chr(0b1011000 + 0o15))(chr(0b100111 + 0o116) + chr(0b1110100) + '\x66' + chr(1228 - 1183) + chr(0b111000)))
else:
M4fW_S7vN_Q_ = roI3spqORKae(ES5oEprVxulp(b'\x10'), chr(618 - 518) + chr(0b100000 + 0o105) + '\x63' + chr(0b1100110 + 0o11) + '\x64' + '\x65')(chr(117) + chr(0b101111 + 0o105) + chr(0b1100110) + chr(995 - 950) + chr(2218 - 2162))
else:
eo6ib84IkLxX = roI3spqORKae(ES5oEprVxulp(b'\t\xec&\xb5:\xdf.'), chr(100) + chr(0b1100101) + '\143' + chr(0b1101111) + chr(0b1000011 + 0o41) + chr(0b1100101))(chr(117) + '\x74' + '\146' + '\x2d' + '\x38')
IrWi2n8eexOj = {}
(FfKOThdpoDTb, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(bORHD_jakCEx)
Wbavx5JmRXKA = hUcsWwAd0nE_.get_specs(FfKOThdpoDTb)
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b' \xcb;\xaeJ\x96\x0e%\xba\x0c\x13\x84'), chr(0b1100100) + '\x65' + chr(0b111100 + 0o47) + '\157' + chr(0b1100100) + chr(0b1100101))(chr(117) + chr(0b100100 + 0o120) + chr(0b101011 + 0o73) + chr(0b10101 + 0o30) + chr(0b10011 + 0o45)))(num=rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'!\xddf\x95\x1b'), chr(0b111001 + 0o53) + chr(0b1100101) + '\143' + chr(2623 - 2512) + '\x64' + chr(101))(chr(0b1101001 + 0o14) + chr(0b1101 + 0o147) + chr(102) + chr(45) + '\070')], figsize=(nzTpIcepk0o8('\060' + '\x6f' + chr(0b100011 + 0o22), 0o10), nzTpIcepk0o8('\x30' + chr(111) + '\065', 8)))
v8jsMqaYV6U2(ftfygxgFas5X(FfKOThdpoDTb), roI3spqORKae(ES5oEprVxulp(b'e\xcan\x97\x13\x80\x10\x15\xf2-:\xd0\x96P\x1e~/\x90\xbf'), chr(100) + '\145' + chr(3496 - 3397) + chr(8498 - 8387) + chr(0b1100100) + '\x65')(chr(117) + chr(0b11001 + 0o133) + '\146' + chr(45) + '\x38'), bORHD_jakCEx)
(psCEfNb5jPig, CtVbSzlHGZGP) = ([], [roI3spqORKae(ES5oEprVxulp(b'(\xddj\x87\t\x80\x11\x0b\xb71+\xee\x9f\x11\x1fb)\x89\xea\xd5\xe4'), chr(0b100010 + 0o102) + chr(0b1100101) + chr(0b100 + 0o137) + '\x6f' + '\x64' + chr(0b1011 + 0o132))('\165' + chr(8063 - 7947) + '\x66' + chr(0b101101) + '\070'), roI3spqORKae(ES5oEprVxulp(b'(\xddj\x87\t\x80\x11\x0b\xb71+\xee\x9f\x11\x1fb\x1f\x90\xf0\xdc\xe4$\xcf'), chr(0b1100100) + chr(101) + chr(0b1100010 + 0o1) + '\157' + chr(2130 - 2030) + chr(0b1100101))(chr(0b10 + 0o163) + '\164' + '\146' + chr(0b101101) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b"(\xddj\x87\t\x80\x11\x0b\xb71+\xee\x9f\x11\x1fb\x1f\x8b\xf0\xdd\xf4'\xde"), chr(6799 - 6699) + '\x65' + chr(0b1100011) + '\157' + '\x64' + chr(101))(chr(117) + chr(0b1110100) + '\x66' + chr(45) + '\070'), roI3spqORKae(ES5oEprVxulp(b'(\xddj\x87\t\x80\x11\x0b\xb71+\xee\x9f\x11\x1fb\x1f\x90\xfe\xc2\xf2'), '\144' + chr(0b1010 + 0o133) + '\143' + chr(0b1011100 + 0o23) + chr(3004 - 2904) + chr(0b1000011 + 0o42))(chr(0b111010 + 0o73) + chr(116) + chr(0b1001011 + 0o33) + chr(45) + chr(0b11011 + 0o35))])
xh_XBPdjQXmg = []
KWzQPuVWiNzQ = []
for FKO_XxLfWbYt in FfKOThdpoDTb:
I810oeGL0u1g = []
ayTBaXkHW6dY = FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'(\xd9l\x9d\x1f\xad\x19\x03\xa670\xd5\xad\x13\x17h%\x8e'), chr(100) + '\x65' + chr(4342 - 4243) + chr(111) + chr(9846 - 9746) + chr(0b1100101))(chr(0b10101 + 0o140) + chr(0b10111 + 0o135) + '\x66' + chr(0b10110 + 0o27) + chr(1549 - 1493))].LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\x7f'), chr(100) + chr(0b1011110 + 0o7) + chr(0b1100011) + chr(4758 - 4647) + '\x64' + chr(0b111000 + 0o55))(chr(117) + chr(0b1110100) + chr(0b1100110) + '\x2d' + chr(0b111000)))
for am4di6GtLqyR in ayTBaXkHW6dY:
roI3spqORKae(I810oeGL0u1g, roI3spqORKae(ES5oEprVxulp(b'\r\xecX\xc0\x04\x953\t\xb80\n\x84'), '\144' + chr(0b0 + 0o145) + '\143' + chr(111) + '\144' + chr(6074 - 5973))(chr(117) + chr(7019 - 6903) + chr(0b1010100 + 0o22) + chr(0b101101) + chr(0b111000)))(roI3spqORKae(am4di6GtLqyR, roI3spqORKae(ES5oEprVxulp(b'.\xdcB\xb0\x0e\x91\x03<\x86\x1c,\x84'), '\144' + chr(0b100010 + 0o103) + '\143' + '\x6f' + chr(0b1100100) + '\x65')(chr(0b1110000 + 0o5) + chr(116) + chr(102) + chr(0b101101) + chr(0b10101 + 0o43)))())
for QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(FKO_XxLfWbYt, roI3spqORKae(ES5oEprVxulp(b'.\xddr\x87'), chr(100) + chr(9517 - 9416) + '\143' + '\x6f' + '\144' + '\145')(chr(0b101011 + 0o112) + chr(8851 - 8735) + chr(0b11 + 0o143) + chr(0b101101) + chr(1762 - 1706)))()):
if QYodcsDtoGq7 in CtVbSzlHGZGP and FKO_XxLfWbYt[QYodcsDtoGq7] != roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(101) + chr(9633 - 9534) + chr(0b1101111) + chr(5192 - 5092) + '\145')(chr(117) + chr(116) + '\x66' + '\055' + chr(931 - 875)):
if QYodcsDtoGq7 not in xh_XBPdjQXmg:
roI3spqORKae(xh_XBPdjQXmg, roI3spqORKae(ES5oEprVxulp(b'\r\xecX\xc0\x04\x953\t\xb80\n\x84'), chr(0b111010 + 0o52) + '\145' + chr(99) + chr(111) + chr(502 - 402) + chr(0b10100 + 0o121))(chr(117) + chr(0b1110100) + chr(4182 - 4080) + '\x2d' + chr(56)))(QYodcsDtoGq7)
if FKO_XxLfWbYt[RJ4Uz5ItlJXF] not in psCEfNb5jPig and eo6ib84IkLxX in I810oeGL0u1g:
roI3spqORKae(psCEfNb5jPig, roI3spqORKae(ES5oEprVxulp(b'\r\xecX\xc0\x04\x953\t\xb80\n\x84'), chr(0b1011111 + 0o5) + '\x65' + chr(99) + '\157' + '\x64' + chr(101))(chr(0b1110101) + chr(116) + chr(0b1100110) + '\055' + '\x38'))(FKO_XxLfWbYt[RJ4Uz5ItlJXF])
if roI3spqORKae(ES5oEprVxulp(b'(\xddj\x87\t\x80\x11\x0b\xb71+\xee\x94\x1c\x19k'), chr(0b1100100) + chr(0b110111 + 0o56) + chr(0b1100 + 0o127) + '\x6f' + chr(0b100001 + 0o103) + chr(0b1010111 + 0o16))(chr(117) + chr(0b1110100) + chr(0b1100110) + chr(0b1100 + 0o41) + chr(0b100011 + 0o25)) not in H4NoA26ON7iG(roI3spqORKae(FKO_XxLfWbYt, roI3spqORKae(ES5oEprVxulp(b'.\xddr\x87'), chr(100) + '\145' + chr(0b1011100 + 0o7) + '\x6f' + chr(5372 - 5272) + chr(101))(chr(6071 - 5954) + chr(873 - 757) + chr(6115 - 6013) + '\x2d' + chr(0b111000)))()):
FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'(\xddj\x87\t\x80\x11\x0b\xb71+\xee\x94\x1c\x19k'), chr(2857 - 2757) + chr(1364 - 1263) + chr(0b1000101 + 0o36) + chr(11373 - 11262) + chr(100) + chr(0b1001001 + 0o34))('\x75' + chr(116) + '\x66' + '\x2d' + '\070')] = roI3spqORKae(ES5oEprVxulp(b'"'), chr(0b1111 + 0o125) + '\x65' + chr(99) + chr(0b1101111) + chr(0b111011 + 0o51) + chr(0b1100101))('\165' + chr(0b11 + 0o161) + '\146' + chr(45) + '\x38')
roI3spqORKae(KWzQPuVWiNzQ, roI3spqORKae(ES5oEprVxulp(b'\r\xecX\xc0\x04\x953\t\xb80\n\x84'), '\144' + chr(0b1100101) + '\x63' + '\157' + '\x64' + '\x65')(chr(10894 - 10777) + '\164' + chr(4342 - 4240) + chr(45) + '\070'))(FKO_XxLfWbYt)
roI3spqORKae(psCEfNb5jPig, roI3spqORKae(ES5oEprVxulp(b'6\xd7y\x80'), '\x64' + '\145' + '\143' + '\x6f' + chr(0b1100100) + chr(0b1100101))(chr(5044 - 4927) + chr(0b100011 + 0o121) + '\x66' + chr(0b10011 + 0o32) + chr(0b100 + 0o64)))()
if ftfygxgFas5X(xh_XBPdjQXmg) == nzTpIcepk0o8('\060' + '\157' + chr(0b11 + 0o55), 8):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x0b\xd7+\x9d\x12\x86\x11\x08\xa16+\xc8\xd2\x19\x16j/\x8f\xf2\xd0\xf5#\xd4:\xf0\xf3\xb4\x87#\x93'), chr(588 - 488) + chr(4336 - 4235) + '\143' + chr(111) + chr(6825 - 6725) + chr(0b1100101))(chr(0b1110101) + chr(0b110001 + 0o103) + '\146' + chr(45) + chr(56)))
FfKOThdpoDTb = KWzQPuVWiNzQ
Xlv02QJd6kHP = xh_XBPdjQXmg[nzTpIcepk0o8(chr(975 - 927) + '\157' + '\060', 8)]
if bAacJCmDGF9r is not None:
if suIjIS24Zkqw(bAacJCmDGF9r, H4NoA26ON7iG) or suIjIS24Zkqw(bAacJCmDGF9r, nfNqtJL5aRaY):
psCEfNb5jPig = H4NoA26ON7iG(bAacJCmDGF9r)
else:
psCEfNb5jPig = []
roI3spqORKae(psCEfNb5jPig, roI3spqORKae(ES5oEprVxulp(b'\r\xecX\xc0\x04\x953\t\xb80\n\x84'), chr(0b111100 + 0o50) + chr(101) + chr(3814 - 3715) + chr(111) + chr(0b1100100) + chr(0b1100101))(chr(117) + chr(116) + chr(0b111101 + 0o51) + '\055' + '\x38'))(bAacJCmDGF9r)
for mocO8sWgkzH7 in psCEfNb5jPig:
v8jsMqaYV6U2(mocO8sWgkzH7, roI3spqORKae(ES5oEprVxulp(b'5\xd4d\x80\x08\x9b\x1a\x01\xf2=&\x8b\xd2'), chr(100) + chr(2796 - 2695) + chr(0b1100011) + chr(0b1000100 + 0o53) + chr(0b1011011 + 0o11) + '\145')(chr(3039 - 2922) + '\x74' + '\x66' + chr(0b101 + 0o50) + chr(0b1000 + 0o60)), RJ4Uz5ItlJXF)
fEcRR5yIOx91 = hUcsWwAd0nE_.get_dictitem(FfKOThdpoDTb, RJ4Uz5ItlJXF, mocO8sWgkzH7, roI3spqORKae(ES5oEprVxulp(b'\x11'), '\x64' + '\145' + chr(0b1100011) + chr(111) + '\144' + chr(0b1100101))('\x75' + '\164' + chr(7242 - 7140) + chr(0b1100 + 0o41) + chr(0b111000)))
fEcRR5yIOx91 = hUcsWwAd0nE_.get_dictitem(fEcRR5yIOx91, roI3spqORKae(ES5oEprVxulp(b'(\xd9l\x9d\x1f\xad\x19\x03\xa670\xd5\xad\x13\x17h%\x8e'), '\x64' + chr(101) + '\143' + '\x6f' + '\144' + '\145')(chr(117) + '\x74' + chr(102) + chr(45) + chr(56)), eo6ib84IkLxX, roI3spqORKae(ES5oEprVxulp(b'-\xd9x'), chr(0b1011000 + 0o14) + chr(0b1100101) + chr(99) + '\157' + '\x64' + chr(101))(chr(6411 - 6294) + chr(0b1110100) + chr(102) + '\055' + chr(1932 - 1876)))
fEcRR5yIOx91 = hUcsWwAd0nE_.get_dictitem(fEcRR5yIOx91, Xlv02QJd6kHP, roI3spqORKae(ES5oEprVxulp(b''), chr(0b1001011 + 0o31) + chr(0b111 + 0o136) + chr(0b1100001 + 0o2) + chr(0b1101111) + chr(0b1100100) + '\x65')('\165' + '\x74' + chr(0b1100110) + chr(94 - 49) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\x03'), '\x64' + chr(2812 - 2711) + '\143' + chr(0b1101111) + '\144' + chr(0b111001 + 0o54))('\x75' + chr(4264 - 4148) + chr(7182 - 7080) + '\x2d' + '\x38'))
if sYH8YsrEgBXI != roI3spqORKae(ES5oEprVxulp(b''), '\x64' + '\145' + '\143' + chr(111) + chr(9360 - 9260) + chr(0b111 + 0o136))(chr(0b1110101) + chr(7304 - 7188) + chr(102) + '\x2d' + chr(2368 - 2312)):
fEcRR5yIOx91 = hUcsWwAd0nE_.get_dictitem(fEcRR5yIOx91, roI3spqORKae(ES5oEprVxulp(b'(\xd9l\x9d\x1f\xad\x19\x03\xa670\xd5\xad\x13\x17h%\x8e'), '\144' + chr(0b1100101) + chr(0b1100011) + '\157' + chr(3898 - 3798) + '\145')(chr(0b1110101) + chr(0b1011 + 0o151) + chr(0b1010011 + 0o23) + chr(811 - 766) + chr(0b100 + 0o64)), sYH8YsrEgBXI, roI3spqORKae(ES5oEprVxulp(b'+\xd7\x7f'), '\x64' + '\145' + chr(99) + chr(5398 - 5287) + chr(0b100100 + 0o100) + chr(0b1100101))('\x75' + chr(116) + '\x66' + chr(45) + '\x38'))
if ftfygxgFas5X(fEcRR5yIOx91) > nzTpIcepk0o8(chr(48) + chr(7755 - 7644) + chr(50), 0b1000):
OO0tRW9aj_xh = fEcRR5yIOx91[nzTpIcepk0o8(chr(48) + chr(278 - 167) + chr(315 - 267), 8)][RJ4Uz5ItlJXF]
epnNdCbgpk74 = []
for FKO_XxLfWbYt in fEcRR5yIOx91:
if FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b' \xcaT\x87\x0c\x97\x17\x0f\xbf:1\xee\x9c\x11\x15i'), chr(4506 - 4406) + chr(0b1100010 + 0o3) + chr(0b100001 + 0o102) + chr(111) + chr(0b100111 + 0o75) + '\145')(chr(0b10010 + 0o143) + chr(116) + chr(0b1100110) + chr(0b11 + 0o52) + '\070')] not in epnNdCbgpk74:
roI3spqORKae(epnNdCbgpk74, roI3spqORKae(ES5oEprVxulp(b'\r\xecX\xc0\x04\x953\t\xb80\n\x84'), chr(0b110010 + 0o62) + chr(101) + '\x63' + '\157' + '\x64' + chr(0b1100101))('\x75' + chr(0b1000100 + 0o60) + chr(0b1010101 + 0o21) + '\055' + chr(2103 - 2047)))(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b' \xcaT\x87\x0c\x97\x17\x0f\xbf:1\xee\x9c\x11\x15i'), chr(4673 - 4573) + '\x65' + '\143' + chr(3972 - 3861) + chr(100) + chr(0b1100101))('\x75' + chr(116) + '\x66' + '\055' + chr(56))])
if dBJ5b2Oe5d4Z is nzTpIcepk0o8('\060' + '\x6f' + chr(0b110000), 8):
for WBwPtPVEzw7G in epnNdCbgpk74:
bPUkvF21FDAP = hUcsWwAd0nE_.get_dictitem(fEcRR5yIOx91, roI3spqORKae(ES5oEprVxulp(b' \xcaT\x87\x0c\x97\x17\x0f\xbf:1\xee\x9c\x11\x15i'), chr(6115 - 6015) + chr(0b1100101) + '\x63' + chr(0b1101111) + chr(5757 - 5657) + chr(1642 - 1541))(chr(0b1100010 + 0o23) + '\164' + chr(0b1100110) + chr(739 - 694) + chr(56)), WBwPtPVEzw7G, roI3spqORKae(ES5oEprVxulp(b'\x11'), chr(0b100011 + 0o101) + chr(0b1100101) + '\x63' + chr(1049 - 938) + chr(0b1100100) + chr(0b100111 + 0o76))(chr(0b1101110 + 0o7) + chr(116) + chr(7027 - 6925) + chr(45) + chr(0b100110 + 0o22)))
m_74UTTgoPKO = []
for FKO_XxLfWbYt in bPUkvF21FDAP:
roI3spqORKae(m_74UTTgoPKO, roI3spqORKae(ES5oEprVxulp(b'\r\xecX\xc0\x04\x953\t\xb80\n\x84'), '\x64' + chr(6777 - 6676) + chr(99) + chr(111) + chr(0b1100100) + chr(0b1100101))(chr(0b1010010 + 0o43) + chr(0b1100000 + 0o24) + '\x66' + chr(45) + chr(56)))([jLW6pRf2DSRk(FKO_XxLfWbYt[rzETU8X0jBXv]), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b1101 + 0o43), 8), nzTpIcepk0o8(chr(0b100000 + 0o20) + chr(5529 - 5418) + chr(1261 - 1213), 8), jLW6pRf2DSRk(FKO_XxLfWbYt[Xlv02QJd6kHP]), nzTpIcepk0o8(chr(0b110 + 0o52) + '\157' + '\x31', 8), FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'(\xddj\x87\t\x80\x11\x0b\xb71+\xee\x94\x1c\x19k'), chr(100) + chr(4362 - 4261) + '\x63' + '\x6f' + chr(5323 - 5223) + chr(101))(chr(0b1110101) + chr(116) + chr(9310 - 9208) + chr(45) + chr(368 - 312))]])
if ftfygxgFas5X(m_74UTTgoPKO) > nzTpIcepk0o8(chr(0b110000) + chr(0b110111 + 0o70) + '\x32', 8):
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'5\xd4d\x80#\x9f\x15\x01'), chr(100) + '\145' + '\x63' + '\157' + chr(0b1100100) + chr(2907 - 2806))(chr(0b1110101) + chr(5518 - 5402) + chr(0b1100110) + chr(0b100101 + 0o10) + chr(0b111000)))(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'!\xddf\x95\x1b'), '\144' + chr(644 - 543) + chr(0b1100011) + chr(111) + chr(0b1100100) + chr(0b11000 + 0o115))('\x75' + chr(116) + chr(0b1000011 + 0o43) + '\055' + chr(2771 - 2715))], m_74UTTgoPKO, OO0tRW9aj_xh, nzTpIcepk0o8(chr(48) + chr(111) + chr(518 - 470), 8), M4fW_S7vN_Q_, xBFFJFaziFDU)
else:
eIzwy3996ywb = {}
for WBwPtPVEzw7G in epnNdCbgpk74:
bPUkvF21FDAP = hUcsWwAd0nE_.get_dictitem(fEcRR5yIOx91, roI3spqORKae(ES5oEprVxulp(b' \xcaT\x87\x0c\x97\x17\x0f\xbf:1\xee\x9c\x11\x15i'), chr(0b1001001 + 0o33) + chr(1733 - 1632) + chr(0b1100011) + '\157' + chr(0b1100100) + '\145')('\x75' + '\x74' + chr(0b1100110) + chr(0b101010 + 0o3) + '\070'), WBwPtPVEzw7G, roI3spqORKae(ES5oEprVxulp(b'\x11'), '\144' + chr(0b101101 + 0o70) + chr(0b1100011) + chr(3879 - 3768) + chr(1690 - 1590) + chr(101))(chr(11617 - 11500) + chr(120 - 4) + chr(3971 - 3869) + chr(45) + chr(0b111000)))
for FKO_XxLfWbYt in bPUkvF21FDAP:
if FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'(\xddj\x87\t\x80\x11\x0b\xb71+\xee\x94\x1c\x19k'), '\144' + '\145' + '\143' + '\x6f' + '\144' + chr(9222 - 9121))(chr(0b110101 + 0o100) + '\164' + '\x66' + '\x2d' + chr(0b111000))] == roI3spqORKae(ES5oEprVxulp(b'"'), chr(5660 - 5560) + chr(0b1000100 + 0o41) + '\x63' + chr(4662 - 4551) + chr(6642 - 6542) + '\145')(chr(8866 - 8749) + chr(116) + '\146' + '\055' + '\x38'):
if jLW6pRf2DSRk(FKO_XxLfWbYt[rzETU8X0jBXv]) not in H4NoA26ON7iG(roI3spqORKae(eIzwy3996ywb, roI3spqORKae(ES5oEprVxulp(b'.\xddr\x87'), '\x64' + chr(101) + chr(8963 - 8864) + chr(0b1101111) + chr(3055 - 2955) + chr(0b101101 + 0o70))('\x75' + '\164' + '\x66' + chr(254 - 209) + '\070'))()):
eIzwy3996ywb[jLW6pRf2DSRk(FKO_XxLfWbYt[rzETU8X0jBXv])] = [jLW6pRf2DSRk(FKO_XxLfWbYt[Xlv02QJd6kHP])]
else:
roI3spqORKae(eIzwy3996ywb[jLW6pRf2DSRk(FKO_XxLfWbYt[rzETU8X0jBXv])], roI3spqORKae(ES5oEprVxulp(b'\r\xecX\xc0\x04\x953\t\xb80\n\x84'), '\x64' + '\x65' + chr(99) + chr(8148 - 8037) + chr(0b1010101 + 0o17) + chr(0b1100101))(chr(0b1011111 + 0o26) + '\x74' + '\x66' + '\x2d' + chr(0b111000)))(jLW6pRf2DSRk(FKO_XxLfWbYt[Xlv02QJd6kHP]))
m_74UTTgoPKO = []
for ZiKB99Xs91Lo in V3OlOVg98A85(roI3spqORKae(eIzwy3996ywb, roI3spqORKae(ES5oEprVxulp(b'.\xddr\x87'), '\144' + chr(0b1010111 + 0o16) + chr(99) + chr(111) + chr(100) + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + '\x66' + '\x2d' + '\x38'))()):
roI3spqORKae(m_74UTTgoPKO, roI3spqORKae(ES5oEprVxulp(b'\r\xecX\xc0\x04\x953\t\xb80\n\x84'), '\x64' + chr(101) + chr(0b1101 + 0o126) + chr(0b1101111) + chr(0b1010100 + 0o20) + chr(0b1100101))(chr(0b100001 + 0o124) + chr(6515 - 6399) + chr(0b1100110) + chr(0b1010 + 0o43) + chr(688 - 632)))([jLW6pRf2DSRk(ZiKB99Xs91Lo), nzTpIcepk0o8('\x30' + chr(111) + chr(48), 8), nzTpIcepk0o8(chr(1578 - 1530) + chr(4128 - 4017) + '\x30', 8), SVfYwQaP38MC(jLW6pRf2DSRk(oclC8DLjA_lV(eIzwy3996ywb[ZiKB99Xs91Lo])), jLW6pRf2DSRk(ftfygxgFas5X(eIzwy3996ywb[ZiKB99Xs91Lo]))), nzTpIcepk0o8(chr(0b110000) + chr(6800 - 6689) + chr(0b110001), 8), roI3spqORKae(ES5oEprVxulp(b'"'), '\x64' + chr(6995 - 6894) + '\143' + '\x6f' + chr(100) + chr(101))(chr(0b1001 + 0o154) + chr(0b1011100 + 0o30) + chr(102) + chr(0b101101) + '\x38')])
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'5\xd4d\x80#\x9f\x15\x01'), '\x64' + chr(101) + chr(99) + '\x6f' + '\x64' + '\145')(chr(8145 - 8028) + '\164' + chr(102) + '\x2d' + chr(2094 - 2038)))(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'!\xddf\x95\x1b'), chr(0b101100 + 0o70) + '\145' + chr(99) + chr(0b1101111) + '\144' + chr(0b1010 + 0o133))('\165' + chr(0b1011 + 0o151) + chr(4150 - 4048) + chr(583 - 538) + '\070')], m_74UTTgoPKO, OO0tRW9aj_xh, nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\x30', 8), M4fW_S7vN_Q_, xBFFJFaziFDU)
if mwgZMvWSpAHg:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'6\xd9}\x91\x1a\x9b\x13'), '\144' + '\x65' + '\143' + chr(1074 - 963) + chr(6961 - 6861) + chr(0b1001000 + 0o35))(chr(0b0 + 0o165) + chr(116) + chr(0b1100110) + chr(45) + chr(0b111000)))(roI3spqORKae(aHUqKstZLeS6.path, roI3spqORKae(ES5oEprVxulp(b'\x1c\x8cr\xb9E\xb0\x17\x00\x86\x1c\x11\xc0'), chr(9488 - 9388) + '\x65' + '\143' + chr(0b1101111) + chr(100) + chr(0b1100101))(chr(0b111010 + 0o73) + chr(116) + chr(0b1100110) + chr(931 - 886) + '\x38'))(S_yV4Ytx3yb1, OO0tRW9aj_xh) + roI3spqORKae(ES5oEprVxulp(b'k'), chr(2074 - 1974) + chr(0b1100101) + chr(99) + chr(736 - 625) + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + '\x74' + chr(4705 - 4603) + '\055' + '\x38') + JummcHpaNLEw)
if uos8VuC7EErD is nzTpIcepk0o8('\060' + chr(111) + chr(0b110000), 8):
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'#\xefN\x99\x19\xba#\x12\x8d\x00\x13\xcb'), chr(0b1100100) + '\x65' + '\143' + chr(0b1000 + 0o147) + chr(0b1100100) + chr(101))(chr(9114 - 8997) + '\164' + '\146' + chr(45) + chr(0b111000)))()
if uos8VuC7EErD is nzTpIcepk0o8('\060' + '\x6f' + '\x31', 8):
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'#\xefN\x99\x19\xba#\x12\x8d\x00\x13\xcb'), chr(100) + '\x65' + chr(99) + chr(2495 - 2384) + '\x64' + chr(0b1100101))('\x75' + '\x74' + chr(2121 - 2019) + chr(45) + chr(56)))()
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
iplot_hys
|
def iplot_hys(fignum, B, M, s):
"""
function to plot hysteresis data
This function has been adapted from pmagplotlib.iplot_hys for specific use
within a Jupyter notebook.
Parameters
-----------
fignum : reference number for matplotlib figure being created
B : list of B (flux density) values of hysteresis experiment
M : list of M (magnetization) values of hysteresis experiment
s : specimen name
"""
if fignum != 0:
plt.figure(num=fignum)
plt.clf()
hpars = {}
# close up loop
Npts = len(M)
B70 = 0.7 * B[0] # 70 percent of maximum field
for b in B:
if b < B70:
break
Nint = B.index(b) - 1
if Nint > 30:
Nint = 30
if Nint < 10:
Nint = 10
Bzero, Mzero, Mfix, Mnorm, Madj, MadjN = "", "", [], [], [], []
Mazero = ""
m_init = 0.5 * (M[0] + M[1])
m_fin = 0.5 * (M[-1] + M[-2])
diff = m_fin - m_init
Bmin = 0.
for k in range(Npts):
frac = old_div(float(k), float(Npts - 1))
Mfix.append((M[k] - diff * frac))
if Bzero == "" and B[k] < 0:
Bzero = k
if B[k] < Bmin:
Bmin = B[k]
kmin = k
# adjust slope with first 30 data points (throwing out first 3)
Bslop = B[2:Nint + 2]
Mslop = Mfix[2:Nint + 2]
polyU = polyfit(Bslop, Mslop, 1) # best fit line to high field points
# adjust slope with first 30 points of ascending branch
Bslop = B[kmin:kmin + (Nint + 1)]
Mslop = Mfix[kmin:kmin + (Nint + 1)]
polyL = polyfit(Bslop, Mslop, 1) # best fit line to high field points
xhf = 0.5 * (polyU[0] + polyL[0]) # mean of two slopes
# convert B to A/m, high field slope in m^3
hpars['hysteresis_xhf'] = '%8.2e' % (xhf * 4 * np.pi * 1e-7)
meanint = 0.5 * (polyU[1] + polyL[1]) # mean of two intercepts
Msat = 0.5 * (polyU[1] - polyL[1]) # mean of saturation remanence
Moff = []
for k in range(Npts):
# take out linear slope and offset (makes symmetric about origin)
Moff.append((Mfix[k] - xhf * B[k] - meanint))
if Mzero == "" and Moff[k] < 0:
Mzero = k
if Mzero != "" and Mazero == "" and Moff[k] > 0:
Mazero = k
hpars['hysteresis_ms_moment'] = '%8.3e' % (Msat) # Ms in Am^2
#
# split into upper and lower loops for splining
Mupper, Bupper, Mlower, Blower = [], [], [], []
deltaM, Bdm = [], [] # diff between upper and lower curves at Bdm
for k in range(kmin - 2, 0, -2):
Mupper.append(old_div(Moff[k], Msat))
Bupper.append(B[k])
for k in range(kmin + 2, len(B)-1):
Mlower.append(Moff[k] / Msat)
Blower.append(B[k])
Iupper = spline.Spline(Bupper, Mupper) # get splines for upper up and down
Ilower = spline.Spline(Blower, Mlower) # get splines for lower
for b in np.arange(B[0]): # get range of field values
Mpos = ((Iupper(b) - Ilower(b))) # evaluate on both sides of B
Mneg = ((Iupper(-b) - Ilower(-b)))
Bdm.append(b)
deltaM.append(0.5 * (Mpos + Mneg)) # take average delta M
print('whew')
for k in range(Npts):
MadjN.append(old_div(Moff[k], Msat))
Mnorm.append(old_div(M[k], Msat))
# find Mr : average of two spline fits evaluted at B=0 (times Msat)
Mr = Msat * 0.5 * (Iupper(0.) - Ilower(0.))
hpars['hysteresis_mr_moment'] = '%8.3e' % (Mr)
# find Bc (x intercept), interpolate between two bounding points
Bz = B[Mzero - 1:Mzero + 1]
Mz = Moff[Mzero - 1:Mzero + 1]
Baz = B[Mazero - 1:Mazero + 1]
Maz = Moff[Mazero - 1:Mazero + 1]
try:
poly = polyfit(Bz, Mz, 1) # best fit line through two bounding points
Bc = old_div(-poly[1], poly[0]) # x intercept
# best fit line through two bounding points
poly = polyfit(Baz, Maz, 1)
Bac = old_div(-poly[1], poly[0]) # x intercept
hpars['hysteresis_bc'] = '%8.3e' % (0.5 * (abs(Bc) + abs(Bac)))
except:
hpars['hysteresis_bc'] = '0'
return hpars, deltaM, Bdm, B, Mnorm, MadjN
|
python
|
def iplot_hys(fignum, B, M, s):
"""
function to plot hysteresis data
This function has been adapted from pmagplotlib.iplot_hys for specific use
within a Jupyter notebook.
Parameters
-----------
fignum : reference number for matplotlib figure being created
B : list of B (flux density) values of hysteresis experiment
M : list of M (magnetization) values of hysteresis experiment
s : specimen name
"""
if fignum != 0:
plt.figure(num=fignum)
plt.clf()
hpars = {}
# close up loop
Npts = len(M)
B70 = 0.7 * B[0] # 70 percent of maximum field
for b in B:
if b < B70:
break
Nint = B.index(b) - 1
if Nint > 30:
Nint = 30
if Nint < 10:
Nint = 10
Bzero, Mzero, Mfix, Mnorm, Madj, MadjN = "", "", [], [], [], []
Mazero = ""
m_init = 0.5 * (M[0] + M[1])
m_fin = 0.5 * (M[-1] + M[-2])
diff = m_fin - m_init
Bmin = 0.
for k in range(Npts):
frac = old_div(float(k), float(Npts - 1))
Mfix.append((M[k] - diff * frac))
if Bzero == "" and B[k] < 0:
Bzero = k
if B[k] < Bmin:
Bmin = B[k]
kmin = k
# adjust slope with first 30 data points (throwing out first 3)
Bslop = B[2:Nint + 2]
Mslop = Mfix[2:Nint + 2]
polyU = polyfit(Bslop, Mslop, 1) # best fit line to high field points
# adjust slope with first 30 points of ascending branch
Bslop = B[kmin:kmin + (Nint + 1)]
Mslop = Mfix[kmin:kmin + (Nint + 1)]
polyL = polyfit(Bslop, Mslop, 1) # best fit line to high field points
xhf = 0.5 * (polyU[0] + polyL[0]) # mean of two slopes
# convert B to A/m, high field slope in m^3
hpars['hysteresis_xhf'] = '%8.2e' % (xhf * 4 * np.pi * 1e-7)
meanint = 0.5 * (polyU[1] + polyL[1]) # mean of two intercepts
Msat = 0.5 * (polyU[1] - polyL[1]) # mean of saturation remanence
Moff = []
for k in range(Npts):
# take out linear slope and offset (makes symmetric about origin)
Moff.append((Mfix[k] - xhf * B[k] - meanint))
if Mzero == "" and Moff[k] < 0:
Mzero = k
if Mzero != "" and Mazero == "" and Moff[k] > 0:
Mazero = k
hpars['hysteresis_ms_moment'] = '%8.3e' % (Msat) # Ms in Am^2
#
# split into upper and lower loops for splining
Mupper, Bupper, Mlower, Blower = [], [], [], []
deltaM, Bdm = [], [] # diff between upper and lower curves at Bdm
for k in range(kmin - 2, 0, -2):
Mupper.append(old_div(Moff[k], Msat))
Bupper.append(B[k])
for k in range(kmin + 2, len(B)-1):
Mlower.append(Moff[k] / Msat)
Blower.append(B[k])
Iupper = spline.Spline(Bupper, Mupper) # get splines for upper up and down
Ilower = spline.Spline(Blower, Mlower) # get splines for lower
for b in np.arange(B[0]): # get range of field values
Mpos = ((Iupper(b) - Ilower(b))) # evaluate on both sides of B
Mneg = ((Iupper(-b) - Ilower(-b)))
Bdm.append(b)
deltaM.append(0.5 * (Mpos + Mneg)) # take average delta M
print('whew')
for k in range(Npts):
MadjN.append(old_div(Moff[k], Msat))
Mnorm.append(old_div(M[k], Msat))
# find Mr : average of two spline fits evaluted at B=0 (times Msat)
Mr = Msat * 0.5 * (Iupper(0.) - Ilower(0.))
hpars['hysteresis_mr_moment'] = '%8.3e' % (Mr)
# find Bc (x intercept), interpolate between two bounding points
Bz = B[Mzero - 1:Mzero + 1]
Mz = Moff[Mzero - 1:Mzero + 1]
Baz = B[Mazero - 1:Mazero + 1]
Maz = Moff[Mazero - 1:Mazero + 1]
try:
poly = polyfit(Bz, Mz, 1) # best fit line through two bounding points
Bc = old_div(-poly[1], poly[0]) # x intercept
# best fit line through two bounding points
poly = polyfit(Baz, Maz, 1)
Bac = old_div(-poly[1], poly[0]) # x intercept
hpars['hysteresis_bc'] = '%8.3e' % (0.5 * (abs(Bc) + abs(Bac)))
except:
hpars['hysteresis_bc'] = '0'
return hpars, deltaM, Bdm, B, Mnorm, MadjN
|
[
"def",
"iplot_hys",
"(",
"fignum",
",",
"B",
",",
"M",
",",
"s",
")",
":",
"if",
"fignum",
"!=",
"0",
":",
"plt",
".",
"figure",
"(",
"num",
"=",
"fignum",
")",
"plt",
".",
"clf",
"(",
")",
"hpars",
"=",
"{",
"}",
"# close up loop",
"Npts",
"=",
"len",
"(",
"M",
")",
"B70",
"=",
"0.7",
"*",
"B",
"[",
"0",
"]",
"# 70 percent of maximum field",
"for",
"b",
"in",
"B",
":",
"if",
"b",
"<",
"B70",
":",
"break",
"Nint",
"=",
"B",
".",
"index",
"(",
"b",
")",
"-",
"1",
"if",
"Nint",
">",
"30",
":",
"Nint",
"=",
"30",
"if",
"Nint",
"<",
"10",
":",
"Nint",
"=",
"10",
"Bzero",
",",
"Mzero",
",",
"Mfix",
",",
"Mnorm",
",",
"Madj",
",",
"MadjN",
"=",
"\"\"",
",",
"\"\"",
",",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
"Mazero",
"=",
"\"\"",
"m_init",
"=",
"0.5",
"*",
"(",
"M",
"[",
"0",
"]",
"+",
"M",
"[",
"1",
"]",
")",
"m_fin",
"=",
"0.5",
"*",
"(",
"M",
"[",
"-",
"1",
"]",
"+",
"M",
"[",
"-",
"2",
"]",
")",
"diff",
"=",
"m_fin",
"-",
"m_init",
"Bmin",
"=",
"0.",
"for",
"k",
"in",
"range",
"(",
"Npts",
")",
":",
"frac",
"=",
"old_div",
"(",
"float",
"(",
"k",
")",
",",
"float",
"(",
"Npts",
"-",
"1",
")",
")",
"Mfix",
".",
"append",
"(",
"(",
"M",
"[",
"k",
"]",
"-",
"diff",
"*",
"frac",
")",
")",
"if",
"Bzero",
"==",
"\"\"",
"and",
"B",
"[",
"k",
"]",
"<",
"0",
":",
"Bzero",
"=",
"k",
"if",
"B",
"[",
"k",
"]",
"<",
"Bmin",
":",
"Bmin",
"=",
"B",
"[",
"k",
"]",
"kmin",
"=",
"k",
"# adjust slope with first 30 data points (throwing out first 3)",
"Bslop",
"=",
"B",
"[",
"2",
":",
"Nint",
"+",
"2",
"]",
"Mslop",
"=",
"Mfix",
"[",
"2",
":",
"Nint",
"+",
"2",
"]",
"polyU",
"=",
"polyfit",
"(",
"Bslop",
",",
"Mslop",
",",
"1",
")",
"# best fit line to high field points",
"# adjust slope with first 30 points of ascending branch",
"Bslop",
"=",
"B",
"[",
"kmin",
":",
"kmin",
"+",
"(",
"Nint",
"+",
"1",
")",
"]",
"Mslop",
"=",
"Mfix",
"[",
"kmin",
":",
"kmin",
"+",
"(",
"Nint",
"+",
"1",
")",
"]",
"polyL",
"=",
"polyfit",
"(",
"Bslop",
",",
"Mslop",
",",
"1",
")",
"# best fit line to high field points",
"xhf",
"=",
"0.5",
"*",
"(",
"polyU",
"[",
"0",
"]",
"+",
"polyL",
"[",
"0",
"]",
")",
"# mean of two slopes",
"# convert B to A/m, high field slope in m^3",
"hpars",
"[",
"'hysteresis_xhf'",
"]",
"=",
"'%8.2e'",
"%",
"(",
"xhf",
"*",
"4",
"*",
"np",
".",
"pi",
"*",
"1e-7",
")",
"meanint",
"=",
"0.5",
"*",
"(",
"polyU",
"[",
"1",
"]",
"+",
"polyL",
"[",
"1",
"]",
")",
"# mean of two intercepts",
"Msat",
"=",
"0.5",
"*",
"(",
"polyU",
"[",
"1",
"]",
"-",
"polyL",
"[",
"1",
"]",
")",
"# mean of saturation remanence",
"Moff",
"=",
"[",
"]",
"for",
"k",
"in",
"range",
"(",
"Npts",
")",
":",
"# take out linear slope and offset (makes symmetric about origin)",
"Moff",
".",
"append",
"(",
"(",
"Mfix",
"[",
"k",
"]",
"-",
"xhf",
"*",
"B",
"[",
"k",
"]",
"-",
"meanint",
")",
")",
"if",
"Mzero",
"==",
"\"\"",
"and",
"Moff",
"[",
"k",
"]",
"<",
"0",
":",
"Mzero",
"=",
"k",
"if",
"Mzero",
"!=",
"\"\"",
"and",
"Mazero",
"==",
"\"\"",
"and",
"Moff",
"[",
"k",
"]",
">",
"0",
":",
"Mazero",
"=",
"k",
"hpars",
"[",
"'hysteresis_ms_moment'",
"]",
"=",
"'%8.3e'",
"%",
"(",
"Msat",
")",
"# Ms in Am^2",
"#",
"# split into upper and lower loops for splining",
"Mupper",
",",
"Bupper",
",",
"Mlower",
",",
"Blower",
"=",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
"deltaM",
",",
"Bdm",
"=",
"[",
"]",
",",
"[",
"]",
"# diff between upper and lower curves at Bdm",
"for",
"k",
"in",
"range",
"(",
"kmin",
"-",
"2",
",",
"0",
",",
"-",
"2",
")",
":",
"Mupper",
".",
"append",
"(",
"old_div",
"(",
"Moff",
"[",
"k",
"]",
",",
"Msat",
")",
")",
"Bupper",
".",
"append",
"(",
"B",
"[",
"k",
"]",
")",
"for",
"k",
"in",
"range",
"(",
"kmin",
"+",
"2",
",",
"len",
"(",
"B",
")",
"-",
"1",
")",
":",
"Mlower",
".",
"append",
"(",
"Moff",
"[",
"k",
"]",
"/",
"Msat",
")",
"Blower",
".",
"append",
"(",
"B",
"[",
"k",
"]",
")",
"Iupper",
"=",
"spline",
".",
"Spline",
"(",
"Bupper",
",",
"Mupper",
")",
"# get splines for upper up and down",
"Ilower",
"=",
"spline",
".",
"Spline",
"(",
"Blower",
",",
"Mlower",
")",
"# get splines for lower",
"for",
"b",
"in",
"np",
".",
"arange",
"(",
"B",
"[",
"0",
"]",
")",
":",
"# get range of field values",
"Mpos",
"=",
"(",
"(",
"Iupper",
"(",
"b",
")",
"-",
"Ilower",
"(",
"b",
")",
")",
")",
"# evaluate on both sides of B",
"Mneg",
"=",
"(",
"(",
"Iupper",
"(",
"-",
"b",
")",
"-",
"Ilower",
"(",
"-",
"b",
")",
")",
")",
"Bdm",
".",
"append",
"(",
"b",
")",
"deltaM",
".",
"append",
"(",
"0.5",
"*",
"(",
"Mpos",
"+",
"Mneg",
")",
")",
"# take average delta M",
"print",
"(",
"'whew'",
")",
"for",
"k",
"in",
"range",
"(",
"Npts",
")",
":",
"MadjN",
".",
"append",
"(",
"old_div",
"(",
"Moff",
"[",
"k",
"]",
",",
"Msat",
")",
")",
"Mnorm",
".",
"append",
"(",
"old_div",
"(",
"M",
"[",
"k",
"]",
",",
"Msat",
")",
")",
"# find Mr : average of two spline fits evaluted at B=0 (times Msat)",
"Mr",
"=",
"Msat",
"*",
"0.5",
"*",
"(",
"Iupper",
"(",
"0.",
")",
"-",
"Ilower",
"(",
"0.",
")",
")",
"hpars",
"[",
"'hysteresis_mr_moment'",
"]",
"=",
"'%8.3e'",
"%",
"(",
"Mr",
")",
"# find Bc (x intercept), interpolate between two bounding points",
"Bz",
"=",
"B",
"[",
"Mzero",
"-",
"1",
":",
"Mzero",
"+",
"1",
"]",
"Mz",
"=",
"Moff",
"[",
"Mzero",
"-",
"1",
":",
"Mzero",
"+",
"1",
"]",
"Baz",
"=",
"B",
"[",
"Mazero",
"-",
"1",
":",
"Mazero",
"+",
"1",
"]",
"Maz",
"=",
"Moff",
"[",
"Mazero",
"-",
"1",
":",
"Mazero",
"+",
"1",
"]",
"try",
":",
"poly",
"=",
"polyfit",
"(",
"Bz",
",",
"Mz",
",",
"1",
")",
"# best fit line through two bounding points",
"Bc",
"=",
"old_div",
"(",
"-",
"poly",
"[",
"1",
"]",
",",
"poly",
"[",
"0",
"]",
")",
"# x intercept",
"# best fit line through two bounding points",
"poly",
"=",
"polyfit",
"(",
"Baz",
",",
"Maz",
",",
"1",
")",
"Bac",
"=",
"old_div",
"(",
"-",
"poly",
"[",
"1",
"]",
",",
"poly",
"[",
"0",
"]",
")",
"# x intercept",
"hpars",
"[",
"'hysteresis_bc'",
"]",
"=",
"'%8.3e'",
"%",
"(",
"0.5",
"*",
"(",
"abs",
"(",
"Bc",
")",
"+",
"abs",
"(",
"Bac",
")",
")",
")",
"except",
":",
"hpars",
"[",
"'hysteresis_bc'",
"]",
"=",
"'0'",
"return",
"hpars",
",",
"deltaM",
",",
"Bdm",
",",
"B",
",",
"Mnorm",
",",
"MadjN"
] |
function to plot hysteresis data
This function has been adapted from pmagplotlib.iplot_hys for specific use
within a Jupyter notebook.
Parameters
-----------
fignum : reference number for matplotlib figure being created
B : list of B (flux density) values of hysteresis experiment
M : list of M (magnetization) values of hysteresis experiment
s : specimen name
|
[
"function",
"to",
"plot",
"hysteresis",
"data"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L7630-L7733
|
train
|
function to plot hysteresis data for specific use in matplotlib notebook
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(0b100 + 0o54) + '\x6f' + '\x31' + chr(0b110100), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(1792 - 1741) + '\064' + '\064', 0b1000), nzTpIcepk0o8(chr(0b10101 + 0o33) + '\x6f' + '\061' + '\x37' + '\x32', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\x32' + chr(0b110011) + chr(0b110101), ord("\x08")), nzTpIcepk0o8('\060' + '\157' + '\066' + '\x33', 0b1000), nzTpIcepk0o8(chr(1925 - 1877) + chr(0b1101111) + '\061' + chr(1908 - 1858) + chr(54), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b110011) + chr(2019 - 1967) + '\x37', 0b1000), nzTpIcepk0o8(chr(0b10010 + 0o36) + '\157' + chr(0b110001) + '\x37' + chr(53), 29042 - 29034), nzTpIcepk0o8(chr(48) + chr(111) + '\061' + '\x33' + chr(2495 - 2440), 16360 - 16352), nzTpIcepk0o8(chr(0b1000 + 0o50) + chr(111) + chr(51) + chr(0b100000 + 0o27) + '\x31', 0b1000), nzTpIcepk0o8(chr(0b10001 + 0o37) + '\x6f' + chr(49) + '\x31' + chr(0b110010), 0o10), nzTpIcepk0o8('\060' + chr(111) + chr(0b10011 + 0o37) + '\065', 0b1000), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b1000 + 0o53) + chr(2110 - 2060) + chr(52), 0b1000), nzTpIcepk0o8(chr(48) + '\x6f' + chr(49) + chr(2111 - 2058) + chr(1163 - 1112), 0b1000), nzTpIcepk0o8(chr(0b11011 + 0o25) + '\157' + '\063' + chr(1875 - 1825) + '\x35', 0b1000), nzTpIcepk0o8('\060' + chr(0b1011000 + 0o27) + chr(999 - 948) + '\x34' + '\x30', 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(10583 - 10472) + '\x32' + '\064' + chr(0b100000 + 0o27), 0o10), nzTpIcepk0o8(chr(922 - 874) + chr(0b1001 + 0o146) + '\x33' + '\x37' + chr(0b110100), ord("\x08")), nzTpIcepk0o8(chr(2072 - 2024) + '\x6f' + chr(50) + chr(0b110000) + chr(53), 0o10), nzTpIcepk0o8('\x30' + chr(111) + chr(0b1100 + 0o47) + chr(55) + '\063', 0o10), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(51) + chr(0b110100), 53025 - 53017), nzTpIcepk0o8(chr(48) + '\x6f' + '\061' + '\x30' + chr(0b1111 + 0o47), ord("\x08")), nzTpIcepk0o8(chr(0b11111 + 0o21) + '\157' + chr(0b110001) + chr(48) + chr(0b101000 + 0o17), 0o10), nzTpIcepk0o8(chr(0b11000 + 0o30) + chr(111) + chr(0b100011 + 0o20) + '\063' + chr(0b110100 + 0o1), 0o10), nzTpIcepk0o8(chr(0b1100 + 0o44) + chr(0b1 + 0o156) + chr(0b101001 + 0o13) + chr(49), 0o10), nzTpIcepk0o8(chr(48) + '\157' + chr(0b1011 + 0o47) + '\065' + chr(49), 0o10), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\x33' + chr(350 - 301) + '\063', 0b1000), nzTpIcepk0o8('\060' + chr(0b1011111 + 0o20) + '\063' + '\x37' + chr(0b110100), 8), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(49) + chr(55) + chr(48), 8421 - 8413), nzTpIcepk0o8('\060' + chr(111) + '\061' + '\064', 8), nzTpIcepk0o8(chr(0b110000) + chr(10339 - 10228) + '\063' + '\x32', 0b1000), nzTpIcepk0o8(chr(858 - 810) + chr(7262 - 7151) + '\x33' + '\067' + chr(0b110100), 8), nzTpIcepk0o8('\060' + '\157' + chr(1825 - 1776) + chr(52), 8), nzTpIcepk0o8('\x30' + '\157' + '\x31' + chr(51) + chr(54), 0o10), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x32' + chr(0b11011 + 0o26) + chr(702 - 653), 0o10), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b110010) + chr(0b10111 + 0o35) + chr(2370 - 2321), 0b1000), nzTpIcepk0o8('\x30' + '\x6f' + '\063' + chr(48) + chr(695 - 645), ord("\x08")), nzTpIcepk0o8(chr(48) + '\157' + chr(0b110011) + '\x30' + chr(1304 - 1252), 51968 - 51960), nzTpIcepk0o8(chr(0b101010 + 0o6) + chr(1648 - 1537) + chr(51) + '\x37' + chr(0b11001 + 0o33), 8), nzTpIcepk0o8(chr(0b110 + 0o52) + chr(111) + chr(0b110010) + '\x31' + '\065', ord("\x08"))][ZlbFMSG8gCoF % nzTpIcepk0o8('\060' + chr(8013 - 7902) + chr(0b110101) + '\x30', 25018 - 25010)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'"'), chr(0b1100100) + '\145' + chr(2397 - 2298) + chr(0b1000110 + 0o51) + chr(5662 - 5562) + chr(0b1100101))(chr(0b101101 + 0o110) + chr(116) + chr(5096 - 4994) + chr(0b101101) + '\x38') + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def sbkDOtoM5IR1(OpFpJUFlM4PU, TQ0u0KgwFXN5, lY8v4DfEhTNv, PmE5_h409JAA):
if OpFpJUFlM4PU != nzTpIcepk0o8(chr(0b110000) + chr(3402 - 3291) + chr(0b100001 + 0o17), 18465 - 18457):
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'i\x97J\xc7\x052\x9d>7\xaa\x06 '), '\144' + chr(0b1100101) + chr(0b1100011) + '\x6f' + chr(1775 - 1675) + '\145')(chr(1983 - 1866) + chr(0b1100010 + 0o22) + chr(796 - 694) + chr(0b11011 + 0o22) + chr(0b1111 + 0o51)))(num=OpFpJUFlM4PU)
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'T\x8bB\xd9q!\x91\x0e\n\x8d0A'), chr(0b1100100) + '\145' + '\143' + chr(111) + '\x64' + chr(101))(chr(117) + '\x74' + chr(6139 - 6037) + '\x2d' + '\x38'))()
n_FL9vrrf8Wb = {}
HRFVfE7p0Wb2 = ftfygxgFas5X(lY8v4DfEhTNv)
esPelV4Ftynq = 0.7 * TQ0u0KgwFXN5[nzTpIcepk0o8(chr(1893 - 1845) + '\157' + chr(97 - 49), 8)]
for xFDEVQn5qSdh in TQ0u0KgwFXN5:
if xFDEVQn5qSdh < esPelV4Ftynq:
break
CIXGlgCoh60z = TQ0u0KgwFXN5.ZpfN5tSLaZze(xFDEVQn5qSdh) - nzTpIcepk0o8(chr(0b110000 + 0o0) + chr(0b1101111) + chr(0b110001), 7068 - 7060)
if CIXGlgCoh60z > nzTpIcepk0o8('\x30' + chr(11729 - 11618) + chr(51) + chr(0b110110), 0b1000):
CIXGlgCoh60z = nzTpIcepk0o8(chr(159 - 111) + chr(111) + chr(51) + '\066', 8)
if CIXGlgCoh60z < nzTpIcepk0o8('\060' + '\x6f' + '\x31' + chr(50), 0o10):
CIXGlgCoh60z = nzTpIcepk0o8(chr(48) + chr(3326 - 3215) + '\x31' + '\062', 8)
(Kl5VTC5ZtLAb, eyEvXCrGpNGP, QlTMx4UZoJHR, EdUu2rnHDaZ1, MhuK5DHZdScf, xWfMoJYcu_up) = (roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(0b1100101) + '\x63' + chr(0b11010 + 0o125) + chr(0b1100100) + '\x65')(chr(1461 - 1344) + '\164' + '\146' + chr(322 - 277) + '\x38'), roI3spqORKae(ES5oEprVxulp(b''), chr(0b1010011 + 0o21) + '\145' + chr(0b1100011) + '\x6f' + chr(0b1011000 + 0o14) + chr(101))(chr(0b101 + 0o160) + chr(0b1011100 + 0o30) + chr(0b1010101 + 0o21) + chr(852 - 807) + chr(56)), [], [], [], [])
hOA9_x51BhP2 = roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(0b10101 + 0o120) + '\143' + chr(111) + '\144' + '\x65')(chr(0b1110101) + chr(11115 - 10999) + chr(102) + '\x2d' + chr(0b10111 + 0o41))
xvh8gaPW3AvL = 0.5 * (lY8v4DfEhTNv[nzTpIcepk0o8('\x30' + chr(111) + chr(0b100011 + 0o15), 8)] + lY8v4DfEhTNv[nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(49), 8)])
my_3mA_uGWPf = 0.5 * (lY8v4DfEhTNv[-nzTpIcepk0o8('\x30' + '\x6f' + '\x31', 8)] + lY8v4DfEhTNv[-nzTpIcepk0o8(chr(2196 - 2148) + chr(111) + '\062', ord("\x08"))])
H5XQ4iF_jpSm = my_3mA_uGWPf - xvh8gaPW3AvL
adHiW7xRZ8pa = 0.0
for B6UAF1zReOyJ in bbT2xIe5pzk7(HRFVfE7p0Wb2):
F5D34zF4_WyP = SVfYwQaP38MC(jLW6pRf2DSRk(B6UAF1zReOyJ), jLW6pRf2DSRk(HRFVfE7p0Wb2 - nzTpIcepk0o8(chr(0b100001 + 0o17) + '\157' + '\x31', 8)))
roI3spqORKae(QlTMx4UZoJHR, roI3spqORKae(ES5oEprVxulp(b'D\xb0)\xa9K1\xa0\x125\x96\x1f '), chr(0b10010 + 0o122) + chr(101) + chr(5785 - 5686) + chr(3282 - 3171) + chr(100) + '\x65')('\165' + chr(116) + chr(0b1100110) + chr(0b101101) + chr(0b101110 + 0o12)))(lY8v4DfEhTNv[B6UAF1zReOyJ] - H5XQ4iF_jpSm * F5D34zF4_WyP)
if Kl5VTC5ZtLAb == roI3spqORKae(ES5oEprVxulp(b''), chr(9846 - 9746) + '\145' + chr(1859 - 1760) + chr(0b11001 + 0o126) + '\x64' + '\x65')('\165' + chr(0b1110100) + chr(0b1100110) + chr(0b101010 + 0o3) + '\070') and TQ0u0KgwFXN5[B6UAF1zReOyJ] < nzTpIcepk0o8('\060' + chr(0b1000110 + 0o51) + '\x30', 8):
Kl5VTC5ZtLAb = B6UAF1zReOyJ
if TQ0u0KgwFXN5[B6UAF1zReOyJ] < adHiW7xRZ8pa:
adHiW7xRZ8pa = TQ0u0KgwFXN5[B6UAF1zReOyJ]
nq1tzGQ8a9G1 = B6UAF1zReOyJ
dwLI8hS0PKei = TQ0u0KgwFXN5[nzTpIcepk0o8(chr(0b1 + 0o57) + chr(2459 - 2348) + '\062', 8):CIXGlgCoh60z + nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b110010), 8)]
cUv0FvkjX1h_ = QlTMx4UZoJHR[nzTpIcepk0o8(chr(0b10100 + 0o34) + chr(0b1101111) + chr(0b110010), 8):CIXGlgCoh60z + nzTpIcepk0o8(chr(48) + chr(3744 - 3633) + '\062', 8)]
ASqTapiv6HCm = tQCGxQqOrFAB(dwLI8hS0PKei, cUv0FvkjX1h_, nzTpIcepk0o8(chr(48) + chr(0b1010010 + 0o35) + '\061', 8))
dwLI8hS0PKei = TQ0u0KgwFXN5[nq1tzGQ8a9G1:nq1tzGQ8a9G1 + (CIXGlgCoh60z + nzTpIcepk0o8('\060' + chr(111) + '\x31', 8))]
cUv0FvkjX1h_ = QlTMx4UZoJHR[nq1tzGQ8a9G1:nq1tzGQ8a9G1 + (CIXGlgCoh60z + nzTpIcepk0o8(chr(283 - 235) + chr(0b1101110 + 0o1) + chr(0b100001 + 0o20), 8))]
Yj7P1hV8TWM4 = tQCGxQqOrFAB(dwLI8hS0PKei, cUv0FvkjX1h_, nzTpIcepk0o8(chr(2246 - 2198) + '\157' + '\x31', 8))
aNg886U6x6_I = 0.5 * (ASqTapiv6HCm[nzTpIcepk0o8(chr(0b11110 + 0o22) + '\157' + chr(0b110000), 8)] + Yj7P1hV8TWM4[nzTpIcepk0o8(chr(48) + chr(10255 - 10144) + chr(0b10 + 0o56), 8)])
n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'd\x9d\t\xe9V$\x82\x0e6\x8a\x15m\xbc\r'), '\144' + chr(101) + '\x63' + '\x6f' + chr(100) + chr(101))(chr(0b111110 + 0o67) + '\164' + chr(10309 - 10207) + chr(1415 - 1370) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b')\xdcT\xafV'), '\x64' + '\x65' + '\x63' + chr(9134 - 9023) + chr(0b1100100) + '\145')(chr(0b1110101) + chr(0b1110001 + 0o3) + chr(102) + chr(45) + '\070') % (aNg886U6x6_I * nzTpIcepk0o8(chr(167 - 119) + chr(0b1101111) + chr(0b101100 + 0o10), ord("\x08")) * nDF4gVNx0u9Q.nMrXkRpTQ9Oo * 1e-07)
NauKxu1XlOPH = 0.5 * (ASqTapiv6HCm[nzTpIcepk0o8(chr(48) + '\157' + '\061', 8)] + Yj7P1hV8TWM4[nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(49), 8)])
CsuerhYEWDYg = 0.5 * (ASqTapiv6HCm[nzTpIcepk0o8(chr(0b100000 + 0o20) + '\157' + chr(1447 - 1398), 8)] - Yj7P1hV8TWM4[nzTpIcepk0o8('\060' + '\157' + chr(2099 - 2050), 8)])
VVcZsUVSz1nf = []
for B6UAF1zReOyJ in bbT2xIe5pzk7(HRFVfE7p0Wb2):
roI3spqORKae(VVcZsUVSz1nf, roI3spqORKae(ES5oEprVxulp(b'D\xb0)\xa9K1\xa0\x125\x96\x1f '), chr(0b11111 + 0o105) + chr(0b1100101) + '\143' + chr(0b1100001 + 0o16) + chr(0b1100100) + '\145')('\x75' + '\164' + chr(0b1100110) + chr(0b1011 + 0o42) + chr(56)))(QlTMx4UZoJHR[B6UAF1zReOyJ] - aNg886U6x6_I * TQ0u0KgwFXN5[B6UAF1zReOyJ] - NauKxu1XlOPH)
if eyEvXCrGpNGP == roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(0b1010000 + 0o25) + chr(0b1100011) + chr(0b1101111) + '\144' + chr(0b1000011 + 0o42))(chr(0b1100110 + 0o17) + chr(8828 - 8712) + '\x66' + '\x2d' + chr(1554 - 1498)) and VVcZsUVSz1nf[B6UAF1zReOyJ] < nzTpIcepk0o8('\060' + '\x6f' + '\x30', 8):
eyEvXCrGpNGP = B6UAF1zReOyJ
if eyEvXCrGpNGP != roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(0b1100101) + chr(99) + chr(0b1101111) + chr(0b1100100) + chr(0b1100101))(chr(5304 - 5187) + chr(116) + '\x66' + '\x2d' + chr(1538 - 1482)) and hOA9_x51BhP2 == roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(0b1010101 + 0o20) + chr(0b11001 + 0o112) + '\157' + '\x64' + '\x65')(chr(804 - 687) + chr(0b1110100) + '\146' + chr(1256 - 1211) + chr(0b10001 + 0o47)) and (VVcZsUVSz1nf[B6UAF1zReOyJ] > nzTpIcepk0o8(chr(0b100010 + 0o16) + chr(7997 - 7886) + chr(0b110000), 8)):
hOA9_x51BhP2 = B6UAF1zReOyJ
n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'd\x9d\t\xe9V$\x82\x0e6\x8a\x15x\xa74\xb8\x8f\xca\x99\xeb\x8f'), chr(100) + chr(8105 - 8004) + chr(0b1100011) + chr(111) + chr(100) + chr(0b1100101))(chr(117) + '\164' + '\x66' + chr(912 - 867) + chr(2234 - 2178))] = roI3spqORKae(ES5oEprVxulp(b')\xdcT\xaeV'), chr(0b1010101 + 0o17) + chr(0b111010 + 0o53) + chr(5855 - 5756) + '\157' + '\x64' + '\x65')(chr(783 - 666) + '\x74' + '\146' + chr(45) + chr(0b111000)) % CsuerhYEWDYg
(q00sVpyPXj5q, y5AgKVbWbj6Z, HTaoxa51IfNh, RuFm7GYe_2HF) = ([], [], [], [])
(vOo_taCyGwkV, JEeA0IL6oDxz) = ([], [])
for B6UAF1zReOyJ in bbT2xIe5pzk7(nq1tzGQ8a9G1 - nzTpIcepk0o8('\060' + '\157' + '\062', 8), nzTpIcepk0o8('\060' + '\x6f' + chr(1870 - 1822), 8), -nzTpIcepk0o8(chr(197 - 149) + chr(111) + '\062', 8)):
roI3spqORKae(q00sVpyPXj5q, roI3spqORKae(ES5oEprVxulp(b'D\xb0)\xa9K1\xa0\x125\x96\x1f '), chr(0b111101 + 0o47) + chr(6583 - 6482) + chr(9449 - 9350) + chr(0b1101111) + chr(100) + chr(0b110 + 0o137))(chr(0b1001010 + 0o53) + chr(116) + chr(0b110101 + 0o61) + '\x2d' + chr(0b111000)))(SVfYwQaP38MC(VVcZsUVSz1nf[B6UAF1zReOyJ], CsuerhYEWDYg))
roI3spqORKae(y5AgKVbWbj6Z, roI3spqORKae(ES5oEprVxulp(b'D\xb0)\xa9K1\xa0\x125\x96\x1f '), '\x64' + chr(0b100 + 0o141) + '\143' + '\157' + chr(0b100001 + 0o103) + chr(0b1100101))(chr(0b1110101) + '\164' + chr(102) + '\x2d' + chr(0b100100 + 0o24)))(TQ0u0KgwFXN5[B6UAF1zReOyJ])
for B6UAF1zReOyJ in bbT2xIe5pzk7(nq1tzGQ8a9G1 + nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b110000 + 0o2), 8), ftfygxgFas5X(TQ0u0KgwFXN5) - nzTpIcepk0o8(chr(0b110 + 0o52) + chr(0b1 + 0o156) + chr(2033 - 1984), 8)):
roI3spqORKae(HTaoxa51IfNh, roI3spqORKae(ES5oEprVxulp(b'D\xb0)\xa9K1\xa0\x125\x96\x1f '), '\x64' + chr(0b110010 + 0o63) + '\143' + '\x6f' + '\x64' + chr(2784 - 2683))(chr(117) + '\x74' + chr(612 - 510) + chr(0b110 + 0o47) + chr(0b111000)))(VVcZsUVSz1nf[B6UAF1zReOyJ] / CsuerhYEWDYg)
roI3spqORKae(RuFm7GYe_2HF, roI3spqORKae(ES5oEprVxulp(b'D\xb0)\xa9K1\xa0\x125\x96\x1f '), chr(0b110010 + 0o62) + chr(0b1100101) + '\x63' + '\x6f' + chr(0b1010111 + 0o15) + chr(0b1 + 0o144))('\165' + '\164' + chr(0b1100110) + chr(0b100101 + 0o10) + chr(0b1000 + 0o60)))(TQ0u0KgwFXN5[B6UAF1zReOyJ])
CJbLJC8aCJav = Pqd5equhglBG.Spline(y5AgKVbWbj6Z, q00sVpyPXj5q)
tGSD4D85T7nE = Pqd5equhglBG.Spline(RuFm7GYe_2HF, HTaoxa51IfNh)
for xFDEVQn5qSdh in roI3spqORKae(nDF4gVNx0u9Q, roI3spqORKae(ES5oEprVxulp(b'o\x8c\x17\xd4l\x11\xaa(\x00\x8a\x0f|'), chr(100) + chr(0b101011 + 0o72) + chr(0b1100011) + chr(0b1101111) + chr(0b1001000 + 0o34) + '\x65')(chr(0b100110 + 0o117) + chr(8353 - 8237) + '\146' + chr(45) + chr(56)))(TQ0u0KgwFXN5[nzTpIcepk0o8(chr(0b11 + 0o55) + chr(11100 - 10989) + chr(0b101100 + 0o4), 8)]):
jwSRrwm335QC = CJbLJC8aCJav(xFDEVQn5qSdh) - tGSD4D85T7nE(xFDEVQn5qSdh)
BLuefwyXNTux = CJbLJC8aCJav(-xFDEVQn5qSdh) - tGSD4D85T7nE(-xFDEVQn5qSdh)
roI3spqORKae(JEeA0IL6oDxz, roI3spqORKae(ES5oEprVxulp(b'D\xb0)\xa9K1\xa0\x125\x96\x1f '), chr(1537 - 1437) + chr(0b1100101) + chr(0b1100011) + chr(7491 - 7380) + '\144' + '\145')('\165' + chr(116) + chr(0b1100110) + chr(118 - 73) + chr(56)))(xFDEVQn5qSdh)
roI3spqORKae(vOo_taCyGwkV, roI3spqORKae(ES5oEprVxulp(b'D\xb0)\xa9K1\xa0\x125\x96\x1f '), '\144' + '\x65' + chr(0b1000100 + 0o37) + '\157' + chr(0b1100100) + chr(5996 - 5895))(chr(117) + chr(116) + '\x66' + chr(1442 - 1397) + '\x38'))(0.5 * (jwSRrwm335QC + BLuefwyXNTux))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'{\x8c\x1f\xea'), '\144' + chr(0b1100101) + chr(99) + chr(111) + chr(3829 - 3729) + chr(0b1100101))('\x75' + chr(0b111001 + 0o73) + chr(102) + '\055' + chr(56)))
for B6UAF1zReOyJ in bbT2xIe5pzk7(HRFVfE7p0Wb2):
roI3spqORKae(xWfMoJYcu_up, roI3spqORKae(ES5oEprVxulp(b'D\xb0)\xa9K1\xa0\x125\x96\x1f '), '\x64' + '\x65' + chr(4650 - 4551) + '\x6f' + chr(776 - 676) + '\145')(chr(0b10 + 0o163) + chr(116) + chr(102) + chr(0b101101) + '\070'))(SVfYwQaP38MC(VVcZsUVSz1nf[B6UAF1zReOyJ], CsuerhYEWDYg))
roI3spqORKae(EdUu2rnHDaZ1, roI3spqORKae(ES5oEprVxulp(b'D\xb0)\xa9K1\xa0\x125\x96\x1f '), chr(0b1000011 + 0o41) + '\x65' + chr(3114 - 3015) + chr(11753 - 11642) + chr(8502 - 8402) + chr(0b1000110 + 0o37))(chr(0b111010 + 0o73) + chr(0b1110100) + '\x66' + '\055' + '\x38'))(SVfYwQaP38MC(lY8v4DfEhTNv[B6UAF1zReOyJ], CsuerhYEWDYg))
Y3dyxVxx7YOl = CsuerhYEWDYg * 0.5 * (CJbLJC8aCJav(0.0) - tGSD4D85T7nE(0.0))
n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'd\x9d\t\xe9V$\x82\x0e6\x8a\x15x\xa64\xb8\x8f\xca\x99\xeb\x8f'), chr(8433 - 8333) + chr(0b1100101) + chr(8742 - 8643) + '\x6f' + chr(0b1100100) + chr(0b1100101))('\165' + chr(2586 - 2470) + '\x66' + '\055' + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b')\xdcT\xaeV'), chr(3755 - 3655) + chr(101) + '\143' + '\157' + chr(0b1100100) + '\145')('\165' + chr(4091 - 3975) + '\146' + chr(0b0 + 0o55) + '\x38') % Y3dyxVxx7YOl
QnR3yJf5Zumm = TQ0u0KgwFXN5[eyEvXCrGpNGP - nzTpIcepk0o8('\060' + chr(8981 - 8870) + chr(0b110001), 8):eyEvXCrGpNGP + nzTpIcepk0o8('\x30' + '\x6f' + chr(49), 8)]
JvoM6iA3n7DM = VVcZsUVSz1nf[eyEvXCrGpNGP - nzTpIcepk0o8(chr(0b100111 + 0o11) + chr(0b111100 + 0o63) + chr(0b0 + 0o61), 8):eyEvXCrGpNGP + nzTpIcepk0o8('\060' + chr(0b1101111) + chr(1381 - 1332), 8)]
XUX8krqY9N52 = TQ0u0KgwFXN5[hOA9_x51BhP2 - nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b11010 + 0o27), 8):hOA9_x51BhP2 + nzTpIcepk0o8('\060' + chr(4085 - 3974) + chr(0b100011 + 0o16), 8)]
VcVF32HlnhqS = VVcZsUVSz1nf[hOA9_x51BhP2 - nzTpIcepk0o8(chr(2148 - 2100) + chr(0b1101111) + chr(0b110001), 8):hOA9_x51BhP2 + nzTpIcepk0o8(chr(0b110000) + '\157' + '\061', 8)]
try:
dlT9YcWsoiw_ = tQCGxQqOrFAB(QnR3yJf5Zumm, JvoM6iA3n7DM, nzTpIcepk0o8(chr(0b11000 + 0o30) + '\157' + chr(0b101 + 0o54), 8))
U9W3uF8sUTlq = SVfYwQaP38MC(-dlT9YcWsoiw_[nzTpIcepk0o8(chr(0b101000 + 0o10) + '\157' + chr(49), 8)], dlT9YcWsoiw_[nzTpIcepk0o8('\060' + chr(111) + '\x30', 8)])
dlT9YcWsoiw_ = tQCGxQqOrFAB(XUX8krqY9N52, VcVF32HlnhqS, nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\061', 8))
dISjUyUf1JvZ = SVfYwQaP38MC(-dlT9YcWsoiw_[nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(49), 8)], dlT9YcWsoiw_[nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\x30', 8)])
n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'd\x9d\t\xe9V$\x82\x0e6\x8a\x15w\xb7'), '\x64' + chr(9818 - 9717) + '\x63' + '\157' + chr(9089 - 8989) + chr(0b1011100 + 0o11))('\165' + chr(3089 - 2973) + chr(0b1100110) + chr(1075 - 1030) + chr(56))] = roI3spqORKae(ES5oEprVxulp(b')\xdcT\xaeV'), chr(0b1011010 + 0o12) + chr(2822 - 2721) + chr(99) + '\x6f' + chr(2599 - 2499) + chr(0b1100101))(chr(6433 - 6316) + '\164' + chr(102) + '\055' + chr(2969 - 2913)) % (0.5 * (zQBGwUT7UU8L(U9W3uF8sUTlq) + zQBGwUT7UU8L(dISjUyUf1JvZ)))
except UtiWT6f6p9yZ:
n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'd\x9d\t\xe9V$\x82\x0e6\x8a\x15w\xb7'), '\144' + chr(101) + chr(3011 - 2912) + '\157' + chr(0b1100100) + '\x65')(chr(117) + chr(4584 - 4468) + chr(0b1100110) + chr(0b10011 + 0o32) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'<'), chr(821 - 721) + chr(7225 - 7124) + chr(99) + chr(0b1101111) + chr(4643 - 4543) + chr(0b1100101))(chr(7688 - 7571) + '\x74' + '\x66' + '\055' + chr(602 - 546))
return (n_FL9vrrf8Wb, vOo_taCyGwkV, JEeA0IL6oDxz, TQ0u0KgwFXN5, EdUu2rnHDaZ1, xWfMoJYcu_up)
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
hysteresis_magic2
|
def hysteresis_magic2(path_to_file='.', hyst_file="rmag_hysteresis.txt",
save=False, save_folder='.',
fmt="svg", plots=True):
"""
Calculates hysteresis parameters, saves them in rmag_hysteresis format file.
If selected, this function also plots hysteresis loops, delta M curves,
d (Delta M)/dB curves, and IRM backfield curves.
Parameters (defaults are used if not specified)
----------
path_to_file : path to directory that contains files (default is current directory, '.')
hyst_file : hysteresis file (default is 'rmag_hysteresis.txt')
save : boolean argument to save plots (default is False)
save_folder : relative directory where plots will be saved (default is current directory, '.')
fmt : format of saved figures (default is 'pdf')
plots: whether or not to display the plots (default is true)
"""
user, meas_file, rmag_out, rmag_file = "", "agm_measurements.txt", "rmag_hysteresis.txt", ""
pltspec = ""
dir_path = save_folder
verbose = pmagplotlib.verbose
version_num = pmag.get_version()
rmag_out = save_folder + '/' + rmag_out
meas_file = path_to_file + '/' + hyst_file
rmag_rem = save_folder + "/rmag_remanence.txt"
#
#
meas_data, file_type = pmag.magic_read(meas_file)
if file_type != 'magic_measurements':
print(hysteresis_magic.__doc__)
print('bad file')
return
# initialize some variables
# define figure numbers for hyst,deltaM,DdeltaM curves
HystRecs, RemRecs = [], []
HDD = {}
HDD['hyst'], HDD['deltaM'], HDD['DdeltaM'] = 1, 2, 3
experiment_names, sids = [], []
for rec in meas_data:
meths = rec['magic_method_codes'].split(':')
methods = []
for meth in meths:
methods.append(meth.strip())
if 'LP-HYS' in methods:
if 'er_synthetic_name' in list(rec.keys()) and rec['er_synthetic_name'] != "":
rec['er_specimen_name'] = rec['er_synthetic_name']
if rec['magic_experiment_name'] not in experiment_names:
experiment_names.append(rec['magic_experiment_name'])
if rec['er_specimen_name'] not in sids:
sids.append(rec['er_specimen_name'])
#
fignum = 1
sample_num = 0
# initialize variables to record some bulk info in first loop
first_dcd_rec, first_rec, first_imag_rec = 1, 1, 1
while sample_num < len(sids):
sample = sids[sample_num]
print(sample, sample_num + 1, 'out of ', len(sids))
# B,M for hysteresis, Bdcd,Mdcd for irm-dcd data
B, M, Bdcd, Mdcd = [], [], [], []
Bimag, Mimag = [], [] # Bimag,Mimag for initial magnetization curves
for rec in meas_data:
methcodes = rec['magic_method_codes'].split(':')
meths = []
for meth in methcodes:
meths.append(meth.strip())
if rec['er_specimen_name'] == sample and "LP-HYS" in meths:
B.append(float(rec['measurement_lab_field_dc']))
M.append(float(rec['measurement_magn_moment']))
if first_rec == 1:
e = rec['magic_experiment_name']
HystRec = {}
first_rec = 0
if "er_location_name" in list(rec.keys()):
HystRec["er_location_name"] = rec["er_location_name"]
locname = rec['er_location_name'].replace('/', '-')
if "er_sample_name" in list(rec.keys()):
HystRec["er_sample_name"] = rec["er_sample_name"]
if "er_site_name" in list(rec.keys()):
HystRec["er_site_name"] = rec["er_site_name"]
if "er_synthetic_name" in list(rec.keys()) and rec['er_synthetic_name'] != "":
HystRec["er_synthetic_name"] = rec["er_synthetic_name"]
else:
HystRec["er_specimen_name"] = rec["er_specimen_name"]
if rec['er_specimen_name'] == sample and "LP-IRM-DCD" in meths:
Bdcd.append(float(rec['treatment_dc_field']))
Mdcd.append(float(rec['measurement_magn_moment']))
if first_dcd_rec == 1:
RemRec = {}
irm_exp = rec['magic_experiment_name']
first_dcd_rec = 0
if "er_location_name" in list(rec.keys()):
RemRec["er_location_name"] = rec["er_location_name"]
if "er_sample_name" in list(rec.keys()):
RemRec["er_sample_name"] = rec["er_sample_name"]
if "er_site_name" in list(rec.keys()):
RemRec["er_site_name"] = rec["er_site_name"]
if "er_synthetic_name" in list(rec.keys()) and rec['er_synthetic_name'] != "":
RemRec["er_synthetic_name"] = rec["er_synthetic_name"]
else:
RemRec["er_specimen_name"] = rec["er_specimen_name"]
if rec['er_specimen_name'] == sample and "LP-IMAG" in meths:
if first_imag_rec == 1:
imag_exp = rec['magic_experiment_name']
first_imag_rec = 0
Bimag.append(float(rec['measurement_lab_field_dc']))
Mimag.append(float(rec['measurement_magn_moment']))
if len(B) > 0:
hmeths = []
for meth in meths:
hmeths.append(meth)
# fignum = 1
fig = plt.figure(figsize=(8, 8))
hpars, deltaM, Bdm, B, Mnorm, MadjN = iplot_hys(1, B, M, sample)
ax1 = fig.add_subplot(2, 2, 1)
ax1.axhline(0, color='k')
ax1.axvline(0, color='k')
ax1.plot(B, Mnorm, 'r')
ax1.plot(B, MadjN, 'b')
ax1.set_xlabel('B (T)')
ax1.set_ylabel("M/Msat")
# ax1.set_title(sample)
ax1.set_xlim(-1, 1)
ax1.set_ylim(-1, 1)
bounds = ax1.axis()
n4 = 'Ms: ' + \
'%8.2e' % (float(hpars['hysteresis_ms_moment'])) + ' Am^2'
ax1.text(bounds[1] - .9 * bounds[1], -.9, n4, fontsize=9)
n1 = 'Mr: ' + \
'%8.2e' % (float(hpars['hysteresis_mr_moment'])) + ' Am^2'
ax1.text(bounds[1] - .9 * bounds[1], -.7, n1, fontsize=9)
n2 = 'Bc: ' + '%8.2e' % (float(hpars['hysteresis_bc'])) + ' T'
ax1.text(bounds[1] - .9 * bounds[1], -.5, n2, fontsize=9)
if 'hysteresis_xhf' in list(hpars.keys()):
n3 = r'Xhf: ' + \
'%8.2e' % (float(hpars['hysteresis_xhf'])) + ' m^3'
ax1.text(bounds[1] - .9 * bounds[1], -.3, n3, fontsize=9)
# plt.subplot(1,2,2)
# plt.subplot(1,3,3)
DdeltaM = []
Mhalf = ""
for k in range(2, len(Bdm)):
# differnential
DdeltaM.append(
old_div(abs(deltaM[k] - deltaM[k - 2]), (Bdm[k] - Bdm[k - 2])))
for k in range(len(deltaM)):
if old_div(deltaM[k], deltaM[0]) < 0.5:
Mhalf = k
break
try:
Bhf = Bdm[Mhalf - 1:Mhalf + 1]
Mhf = deltaM[Mhalf - 1:Mhalf + 1]
# best fit line through two bounding points
poly = polyfit(Bhf, Mhf, 1)
Bcr = old_div((.5 * deltaM[0] - poly[1]), poly[0])
hpars['hysteresis_bcr'] = '%8.3e' % (Bcr)
hpars['magic_method_codes'] = "LP-BCR-HDM"
if HDD['deltaM'] != 0:
ax2 = fig.add_subplot(2, 2, 2)
ax2.plot(Bdm, deltaM, 'b')
ax2.set_xlabel('B (T)')
ax2.set_ylabel('Delta M')
linex = [0, Bcr, Bcr]
liney = [old_div(deltaM[0], 2.), old_div(deltaM[0], 2.), 0]
ax2.plot(linex, liney, 'r')
# ax2.set_title(sample)
ax3 = fig.add_subplot(2, 2, 3)
ax3.plot(Bdm[(len(Bdm) - len(DdeltaM)):], DdeltaM, 'b')
ax3.set_xlabel('B (T)')
ax3.set_ylabel('d (Delta M)/dB')
# ax3.set_title(sample)
ax4 = fig.add_subplot(2, 2, 4)
ax4.plot(Bdcd, Mdcd)
ax4.yaxis.set_major_formatter(mtick.FormatStrFormatter('%.2e'))
ax4.axhline(0, color='k')
ax4.axvline(0, color='k')
ax4.set_xlabel('B (T)')
ax4.set_ylabel('M/Mr')
except:
print("not doing it")
hpars['hysteresis_bcr'] = '0'
hpars['magic_method_codes'] = ""
plt.gcf()
plt.gca()
plt.tight_layout()
if save:
plt.savefig(save_folder + '/' + sample + '_hysteresis.' + fmt)
plt.show()
sample_num += 1
|
python
|
def hysteresis_magic2(path_to_file='.', hyst_file="rmag_hysteresis.txt",
save=False, save_folder='.',
fmt="svg", plots=True):
"""
Calculates hysteresis parameters, saves them in rmag_hysteresis format file.
If selected, this function also plots hysteresis loops, delta M curves,
d (Delta M)/dB curves, and IRM backfield curves.
Parameters (defaults are used if not specified)
----------
path_to_file : path to directory that contains files (default is current directory, '.')
hyst_file : hysteresis file (default is 'rmag_hysteresis.txt')
save : boolean argument to save plots (default is False)
save_folder : relative directory where plots will be saved (default is current directory, '.')
fmt : format of saved figures (default is 'pdf')
plots: whether or not to display the plots (default is true)
"""
user, meas_file, rmag_out, rmag_file = "", "agm_measurements.txt", "rmag_hysteresis.txt", ""
pltspec = ""
dir_path = save_folder
verbose = pmagplotlib.verbose
version_num = pmag.get_version()
rmag_out = save_folder + '/' + rmag_out
meas_file = path_to_file + '/' + hyst_file
rmag_rem = save_folder + "/rmag_remanence.txt"
#
#
meas_data, file_type = pmag.magic_read(meas_file)
if file_type != 'magic_measurements':
print(hysteresis_magic.__doc__)
print('bad file')
return
# initialize some variables
# define figure numbers for hyst,deltaM,DdeltaM curves
HystRecs, RemRecs = [], []
HDD = {}
HDD['hyst'], HDD['deltaM'], HDD['DdeltaM'] = 1, 2, 3
experiment_names, sids = [], []
for rec in meas_data:
meths = rec['magic_method_codes'].split(':')
methods = []
for meth in meths:
methods.append(meth.strip())
if 'LP-HYS' in methods:
if 'er_synthetic_name' in list(rec.keys()) and rec['er_synthetic_name'] != "":
rec['er_specimen_name'] = rec['er_synthetic_name']
if rec['magic_experiment_name'] not in experiment_names:
experiment_names.append(rec['magic_experiment_name'])
if rec['er_specimen_name'] not in sids:
sids.append(rec['er_specimen_name'])
#
fignum = 1
sample_num = 0
# initialize variables to record some bulk info in first loop
first_dcd_rec, first_rec, first_imag_rec = 1, 1, 1
while sample_num < len(sids):
sample = sids[sample_num]
print(sample, sample_num + 1, 'out of ', len(sids))
# B,M for hysteresis, Bdcd,Mdcd for irm-dcd data
B, M, Bdcd, Mdcd = [], [], [], []
Bimag, Mimag = [], [] # Bimag,Mimag for initial magnetization curves
for rec in meas_data:
methcodes = rec['magic_method_codes'].split(':')
meths = []
for meth in methcodes:
meths.append(meth.strip())
if rec['er_specimen_name'] == sample and "LP-HYS" in meths:
B.append(float(rec['measurement_lab_field_dc']))
M.append(float(rec['measurement_magn_moment']))
if first_rec == 1:
e = rec['magic_experiment_name']
HystRec = {}
first_rec = 0
if "er_location_name" in list(rec.keys()):
HystRec["er_location_name"] = rec["er_location_name"]
locname = rec['er_location_name'].replace('/', '-')
if "er_sample_name" in list(rec.keys()):
HystRec["er_sample_name"] = rec["er_sample_name"]
if "er_site_name" in list(rec.keys()):
HystRec["er_site_name"] = rec["er_site_name"]
if "er_synthetic_name" in list(rec.keys()) and rec['er_synthetic_name'] != "":
HystRec["er_synthetic_name"] = rec["er_synthetic_name"]
else:
HystRec["er_specimen_name"] = rec["er_specimen_name"]
if rec['er_specimen_name'] == sample and "LP-IRM-DCD" in meths:
Bdcd.append(float(rec['treatment_dc_field']))
Mdcd.append(float(rec['measurement_magn_moment']))
if first_dcd_rec == 1:
RemRec = {}
irm_exp = rec['magic_experiment_name']
first_dcd_rec = 0
if "er_location_name" in list(rec.keys()):
RemRec["er_location_name"] = rec["er_location_name"]
if "er_sample_name" in list(rec.keys()):
RemRec["er_sample_name"] = rec["er_sample_name"]
if "er_site_name" in list(rec.keys()):
RemRec["er_site_name"] = rec["er_site_name"]
if "er_synthetic_name" in list(rec.keys()) and rec['er_synthetic_name'] != "":
RemRec["er_synthetic_name"] = rec["er_synthetic_name"]
else:
RemRec["er_specimen_name"] = rec["er_specimen_name"]
if rec['er_specimen_name'] == sample and "LP-IMAG" in meths:
if first_imag_rec == 1:
imag_exp = rec['magic_experiment_name']
first_imag_rec = 0
Bimag.append(float(rec['measurement_lab_field_dc']))
Mimag.append(float(rec['measurement_magn_moment']))
if len(B) > 0:
hmeths = []
for meth in meths:
hmeths.append(meth)
# fignum = 1
fig = plt.figure(figsize=(8, 8))
hpars, deltaM, Bdm, B, Mnorm, MadjN = iplot_hys(1, B, M, sample)
ax1 = fig.add_subplot(2, 2, 1)
ax1.axhline(0, color='k')
ax1.axvline(0, color='k')
ax1.plot(B, Mnorm, 'r')
ax1.plot(B, MadjN, 'b')
ax1.set_xlabel('B (T)')
ax1.set_ylabel("M/Msat")
# ax1.set_title(sample)
ax1.set_xlim(-1, 1)
ax1.set_ylim(-1, 1)
bounds = ax1.axis()
n4 = 'Ms: ' + \
'%8.2e' % (float(hpars['hysteresis_ms_moment'])) + ' Am^2'
ax1.text(bounds[1] - .9 * bounds[1], -.9, n4, fontsize=9)
n1 = 'Mr: ' + \
'%8.2e' % (float(hpars['hysteresis_mr_moment'])) + ' Am^2'
ax1.text(bounds[1] - .9 * bounds[1], -.7, n1, fontsize=9)
n2 = 'Bc: ' + '%8.2e' % (float(hpars['hysteresis_bc'])) + ' T'
ax1.text(bounds[1] - .9 * bounds[1], -.5, n2, fontsize=9)
if 'hysteresis_xhf' in list(hpars.keys()):
n3 = r'Xhf: ' + \
'%8.2e' % (float(hpars['hysteresis_xhf'])) + ' m^3'
ax1.text(bounds[1] - .9 * bounds[1], -.3, n3, fontsize=9)
# plt.subplot(1,2,2)
# plt.subplot(1,3,3)
DdeltaM = []
Mhalf = ""
for k in range(2, len(Bdm)):
# differnential
DdeltaM.append(
old_div(abs(deltaM[k] - deltaM[k - 2]), (Bdm[k] - Bdm[k - 2])))
for k in range(len(deltaM)):
if old_div(deltaM[k], deltaM[0]) < 0.5:
Mhalf = k
break
try:
Bhf = Bdm[Mhalf - 1:Mhalf + 1]
Mhf = deltaM[Mhalf - 1:Mhalf + 1]
# best fit line through two bounding points
poly = polyfit(Bhf, Mhf, 1)
Bcr = old_div((.5 * deltaM[0] - poly[1]), poly[0])
hpars['hysteresis_bcr'] = '%8.3e' % (Bcr)
hpars['magic_method_codes'] = "LP-BCR-HDM"
if HDD['deltaM'] != 0:
ax2 = fig.add_subplot(2, 2, 2)
ax2.plot(Bdm, deltaM, 'b')
ax2.set_xlabel('B (T)')
ax2.set_ylabel('Delta M')
linex = [0, Bcr, Bcr]
liney = [old_div(deltaM[0], 2.), old_div(deltaM[0], 2.), 0]
ax2.plot(linex, liney, 'r')
# ax2.set_title(sample)
ax3 = fig.add_subplot(2, 2, 3)
ax3.plot(Bdm[(len(Bdm) - len(DdeltaM)):], DdeltaM, 'b')
ax3.set_xlabel('B (T)')
ax3.set_ylabel('d (Delta M)/dB')
# ax3.set_title(sample)
ax4 = fig.add_subplot(2, 2, 4)
ax4.plot(Bdcd, Mdcd)
ax4.yaxis.set_major_formatter(mtick.FormatStrFormatter('%.2e'))
ax4.axhline(0, color='k')
ax4.axvline(0, color='k')
ax4.set_xlabel('B (T)')
ax4.set_ylabel('M/Mr')
except:
print("not doing it")
hpars['hysteresis_bcr'] = '0'
hpars['magic_method_codes'] = ""
plt.gcf()
plt.gca()
plt.tight_layout()
if save:
plt.savefig(save_folder + '/' + sample + '_hysteresis.' + fmt)
plt.show()
sample_num += 1
|
[
"def",
"hysteresis_magic2",
"(",
"path_to_file",
"=",
"'.'",
",",
"hyst_file",
"=",
"\"rmag_hysteresis.txt\"",
",",
"save",
"=",
"False",
",",
"save_folder",
"=",
"'.'",
",",
"fmt",
"=",
"\"svg\"",
",",
"plots",
"=",
"True",
")",
":",
"user",
",",
"meas_file",
",",
"rmag_out",
",",
"rmag_file",
"=",
"\"\"",
",",
"\"agm_measurements.txt\"",
",",
"\"rmag_hysteresis.txt\"",
",",
"\"\"",
"pltspec",
"=",
"\"\"",
"dir_path",
"=",
"save_folder",
"verbose",
"=",
"pmagplotlib",
".",
"verbose",
"version_num",
"=",
"pmag",
".",
"get_version",
"(",
")",
"rmag_out",
"=",
"save_folder",
"+",
"'/'",
"+",
"rmag_out",
"meas_file",
"=",
"path_to_file",
"+",
"'/'",
"+",
"hyst_file",
"rmag_rem",
"=",
"save_folder",
"+",
"\"/rmag_remanence.txt\"",
"#",
"#",
"meas_data",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"meas_file",
")",
"if",
"file_type",
"!=",
"'magic_measurements'",
":",
"print",
"(",
"hysteresis_magic",
".",
"__doc__",
")",
"print",
"(",
"'bad file'",
")",
"return",
"# initialize some variables",
"# define figure numbers for hyst,deltaM,DdeltaM curves",
"HystRecs",
",",
"RemRecs",
"=",
"[",
"]",
",",
"[",
"]",
"HDD",
"=",
"{",
"}",
"HDD",
"[",
"'hyst'",
"]",
",",
"HDD",
"[",
"'deltaM'",
"]",
",",
"HDD",
"[",
"'DdeltaM'",
"]",
"=",
"1",
",",
"2",
",",
"3",
"experiment_names",
",",
"sids",
"=",
"[",
"]",
",",
"[",
"]",
"for",
"rec",
"in",
"meas_data",
":",
"meths",
"=",
"rec",
"[",
"'magic_method_codes'",
"]",
".",
"split",
"(",
"':'",
")",
"methods",
"=",
"[",
"]",
"for",
"meth",
"in",
"meths",
":",
"methods",
".",
"append",
"(",
"meth",
".",
"strip",
"(",
")",
")",
"if",
"'LP-HYS'",
"in",
"methods",
":",
"if",
"'er_synthetic_name'",
"in",
"list",
"(",
"rec",
".",
"keys",
"(",
")",
")",
"and",
"rec",
"[",
"'er_synthetic_name'",
"]",
"!=",
"\"\"",
":",
"rec",
"[",
"'er_specimen_name'",
"]",
"=",
"rec",
"[",
"'er_synthetic_name'",
"]",
"if",
"rec",
"[",
"'magic_experiment_name'",
"]",
"not",
"in",
"experiment_names",
":",
"experiment_names",
".",
"append",
"(",
"rec",
"[",
"'magic_experiment_name'",
"]",
")",
"if",
"rec",
"[",
"'er_specimen_name'",
"]",
"not",
"in",
"sids",
":",
"sids",
".",
"append",
"(",
"rec",
"[",
"'er_specimen_name'",
"]",
")",
"#",
"fignum",
"=",
"1",
"sample_num",
"=",
"0",
"# initialize variables to record some bulk info in first loop",
"first_dcd_rec",
",",
"first_rec",
",",
"first_imag_rec",
"=",
"1",
",",
"1",
",",
"1",
"while",
"sample_num",
"<",
"len",
"(",
"sids",
")",
":",
"sample",
"=",
"sids",
"[",
"sample_num",
"]",
"print",
"(",
"sample",
",",
"sample_num",
"+",
"1",
",",
"'out of '",
",",
"len",
"(",
"sids",
")",
")",
"# B,M for hysteresis, Bdcd,Mdcd for irm-dcd data",
"B",
",",
"M",
",",
"Bdcd",
",",
"Mdcd",
"=",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
"Bimag",
",",
"Mimag",
"=",
"[",
"]",
",",
"[",
"]",
"# Bimag,Mimag for initial magnetization curves",
"for",
"rec",
"in",
"meas_data",
":",
"methcodes",
"=",
"rec",
"[",
"'magic_method_codes'",
"]",
".",
"split",
"(",
"':'",
")",
"meths",
"=",
"[",
"]",
"for",
"meth",
"in",
"methcodes",
":",
"meths",
".",
"append",
"(",
"meth",
".",
"strip",
"(",
")",
")",
"if",
"rec",
"[",
"'er_specimen_name'",
"]",
"==",
"sample",
"and",
"\"LP-HYS\"",
"in",
"meths",
":",
"B",
".",
"append",
"(",
"float",
"(",
"rec",
"[",
"'measurement_lab_field_dc'",
"]",
")",
")",
"M",
".",
"append",
"(",
"float",
"(",
"rec",
"[",
"'measurement_magn_moment'",
"]",
")",
")",
"if",
"first_rec",
"==",
"1",
":",
"e",
"=",
"rec",
"[",
"'magic_experiment_name'",
"]",
"HystRec",
"=",
"{",
"}",
"first_rec",
"=",
"0",
"if",
"\"er_location_name\"",
"in",
"list",
"(",
"rec",
".",
"keys",
"(",
")",
")",
":",
"HystRec",
"[",
"\"er_location_name\"",
"]",
"=",
"rec",
"[",
"\"er_location_name\"",
"]",
"locname",
"=",
"rec",
"[",
"'er_location_name'",
"]",
".",
"replace",
"(",
"'/'",
",",
"'-'",
")",
"if",
"\"er_sample_name\"",
"in",
"list",
"(",
"rec",
".",
"keys",
"(",
")",
")",
":",
"HystRec",
"[",
"\"er_sample_name\"",
"]",
"=",
"rec",
"[",
"\"er_sample_name\"",
"]",
"if",
"\"er_site_name\"",
"in",
"list",
"(",
"rec",
".",
"keys",
"(",
")",
")",
":",
"HystRec",
"[",
"\"er_site_name\"",
"]",
"=",
"rec",
"[",
"\"er_site_name\"",
"]",
"if",
"\"er_synthetic_name\"",
"in",
"list",
"(",
"rec",
".",
"keys",
"(",
")",
")",
"and",
"rec",
"[",
"'er_synthetic_name'",
"]",
"!=",
"\"\"",
":",
"HystRec",
"[",
"\"er_synthetic_name\"",
"]",
"=",
"rec",
"[",
"\"er_synthetic_name\"",
"]",
"else",
":",
"HystRec",
"[",
"\"er_specimen_name\"",
"]",
"=",
"rec",
"[",
"\"er_specimen_name\"",
"]",
"if",
"rec",
"[",
"'er_specimen_name'",
"]",
"==",
"sample",
"and",
"\"LP-IRM-DCD\"",
"in",
"meths",
":",
"Bdcd",
".",
"append",
"(",
"float",
"(",
"rec",
"[",
"'treatment_dc_field'",
"]",
")",
")",
"Mdcd",
".",
"append",
"(",
"float",
"(",
"rec",
"[",
"'measurement_magn_moment'",
"]",
")",
")",
"if",
"first_dcd_rec",
"==",
"1",
":",
"RemRec",
"=",
"{",
"}",
"irm_exp",
"=",
"rec",
"[",
"'magic_experiment_name'",
"]",
"first_dcd_rec",
"=",
"0",
"if",
"\"er_location_name\"",
"in",
"list",
"(",
"rec",
".",
"keys",
"(",
")",
")",
":",
"RemRec",
"[",
"\"er_location_name\"",
"]",
"=",
"rec",
"[",
"\"er_location_name\"",
"]",
"if",
"\"er_sample_name\"",
"in",
"list",
"(",
"rec",
".",
"keys",
"(",
")",
")",
":",
"RemRec",
"[",
"\"er_sample_name\"",
"]",
"=",
"rec",
"[",
"\"er_sample_name\"",
"]",
"if",
"\"er_site_name\"",
"in",
"list",
"(",
"rec",
".",
"keys",
"(",
")",
")",
":",
"RemRec",
"[",
"\"er_site_name\"",
"]",
"=",
"rec",
"[",
"\"er_site_name\"",
"]",
"if",
"\"er_synthetic_name\"",
"in",
"list",
"(",
"rec",
".",
"keys",
"(",
")",
")",
"and",
"rec",
"[",
"'er_synthetic_name'",
"]",
"!=",
"\"\"",
":",
"RemRec",
"[",
"\"er_synthetic_name\"",
"]",
"=",
"rec",
"[",
"\"er_synthetic_name\"",
"]",
"else",
":",
"RemRec",
"[",
"\"er_specimen_name\"",
"]",
"=",
"rec",
"[",
"\"er_specimen_name\"",
"]",
"if",
"rec",
"[",
"'er_specimen_name'",
"]",
"==",
"sample",
"and",
"\"LP-IMAG\"",
"in",
"meths",
":",
"if",
"first_imag_rec",
"==",
"1",
":",
"imag_exp",
"=",
"rec",
"[",
"'magic_experiment_name'",
"]",
"first_imag_rec",
"=",
"0",
"Bimag",
".",
"append",
"(",
"float",
"(",
"rec",
"[",
"'measurement_lab_field_dc'",
"]",
")",
")",
"Mimag",
".",
"append",
"(",
"float",
"(",
"rec",
"[",
"'measurement_magn_moment'",
"]",
")",
")",
"if",
"len",
"(",
"B",
")",
">",
"0",
":",
"hmeths",
"=",
"[",
"]",
"for",
"meth",
"in",
"meths",
":",
"hmeths",
".",
"append",
"(",
"meth",
")",
"# fignum = 1",
"fig",
"=",
"plt",
".",
"figure",
"(",
"figsize",
"=",
"(",
"8",
",",
"8",
")",
")",
"hpars",
",",
"deltaM",
",",
"Bdm",
",",
"B",
",",
"Mnorm",
",",
"MadjN",
"=",
"iplot_hys",
"(",
"1",
",",
"B",
",",
"M",
",",
"sample",
")",
"ax1",
"=",
"fig",
".",
"add_subplot",
"(",
"2",
",",
"2",
",",
"1",
")",
"ax1",
".",
"axhline",
"(",
"0",
",",
"color",
"=",
"'k'",
")",
"ax1",
".",
"axvline",
"(",
"0",
",",
"color",
"=",
"'k'",
")",
"ax1",
".",
"plot",
"(",
"B",
",",
"Mnorm",
",",
"'r'",
")",
"ax1",
".",
"plot",
"(",
"B",
",",
"MadjN",
",",
"'b'",
")",
"ax1",
".",
"set_xlabel",
"(",
"'B (T)'",
")",
"ax1",
".",
"set_ylabel",
"(",
"\"M/Msat\"",
")",
"# ax1.set_title(sample)",
"ax1",
".",
"set_xlim",
"(",
"-",
"1",
",",
"1",
")",
"ax1",
".",
"set_ylim",
"(",
"-",
"1",
",",
"1",
")",
"bounds",
"=",
"ax1",
".",
"axis",
"(",
")",
"n4",
"=",
"'Ms: '",
"+",
"'%8.2e'",
"%",
"(",
"float",
"(",
"hpars",
"[",
"'hysteresis_ms_moment'",
"]",
")",
")",
"+",
"' Am^2'",
"ax1",
".",
"text",
"(",
"bounds",
"[",
"1",
"]",
"-",
".9",
"*",
"bounds",
"[",
"1",
"]",
",",
"-",
".9",
",",
"n4",
",",
"fontsize",
"=",
"9",
")",
"n1",
"=",
"'Mr: '",
"+",
"'%8.2e'",
"%",
"(",
"float",
"(",
"hpars",
"[",
"'hysteresis_mr_moment'",
"]",
")",
")",
"+",
"' Am^2'",
"ax1",
".",
"text",
"(",
"bounds",
"[",
"1",
"]",
"-",
".9",
"*",
"bounds",
"[",
"1",
"]",
",",
"-",
".7",
",",
"n1",
",",
"fontsize",
"=",
"9",
")",
"n2",
"=",
"'Bc: '",
"+",
"'%8.2e'",
"%",
"(",
"float",
"(",
"hpars",
"[",
"'hysteresis_bc'",
"]",
")",
")",
"+",
"' T'",
"ax1",
".",
"text",
"(",
"bounds",
"[",
"1",
"]",
"-",
".9",
"*",
"bounds",
"[",
"1",
"]",
",",
"-",
".5",
",",
"n2",
",",
"fontsize",
"=",
"9",
")",
"if",
"'hysteresis_xhf'",
"in",
"list",
"(",
"hpars",
".",
"keys",
"(",
")",
")",
":",
"n3",
"=",
"r'Xhf: '",
"+",
"'%8.2e'",
"%",
"(",
"float",
"(",
"hpars",
"[",
"'hysteresis_xhf'",
"]",
")",
")",
"+",
"' m^3'",
"ax1",
".",
"text",
"(",
"bounds",
"[",
"1",
"]",
"-",
".9",
"*",
"bounds",
"[",
"1",
"]",
",",
"-",
".3",
",",
"n3",
",",
"fontsize",
"=",
"9",
")",
"# plt.subplot(1,2,2)",
"# plt.subplot(1,3,3)",
"DdeltaM",
"=",
"[",
"]",
"Mhalf",
"=",
"\"\"",
"for",
"k",
"in",
"range",
"(",
"2",
",",
"len",
"(",
"Bdm",
")",
")",
":",
"# differnential",
"DdeltaM",
".",
"append",
"(",
"old_div",
"(",
"abs",
"(",
"deltaM",
"[",
"k",
"]",
"-",
"deltaM",
"[",
"k",
"-",
"2",
"]",
")",
",",
"(",
"Bdm",
"[",
"k",
"]",
"-",
"Bdm",
"[",
"k",
"-",
"2",
"]",
")",
")",
")",
"for",
"k",
"in",
"range",
"(",
"len",
"(",
"deltaM",
")",
")",
":",
"if",
"old_div",
"(",
"deltaM",
"[",
"k",
"]",
",",
"deltaM",
"[",
"0",
"]",
")",
"<",
"0.5",
":",
"Mhalf",
"=",
"k",
"break",
"try",
":",
"Bhf",
"=",
"Bdm",
"[",
"Mhalf",
"-",
"1",
":",
"Mhalf",
"+",
"1",
"]",
"Mhf",
"=",
"deltaM",
"[",
"Mhalf",
"-",
"1",
":",
"Mhalf",
"+",
"1",
"]",
"# best fit line through two bounding points",
"poly",
"=",
"polyfit",
"(",
"Bhf",
",",
"Mhf",
",",
"1",
")",
"Bcr",
"=",
"old_div",
"(",
"(",
".5",
"*",
"deltaM",
"[",
"0",
"]",
"-",
"poly",
"[",
"1",
"]",
")",
",",
"poly",
"[",
"0",
"]",
")",
"hpars",
"[",
"'hysteresis_bcr'",
"]",
"=",
"'%8.3e'",
"%",
"(",
"Bcr",
")",
"hpars",
"[",
"'magic_method_codes'",
"]",
"=",
"\"LP-BCR-HDM\"",
"if",
"HDD",
"[",
"'deltaM'",
"]",
"!=",
"0",
":",
"ax2",
"=",
"fig",
".",
"add_subplot",
"(",
"2",
",",
"2",
",",
"2",
")",
"ax2",
".",
"plot",
"(",
"Bdm",
",",
"deltaM",
",",
"'b'",
")",
"ax2",
".",
"set_xlabel",
"(",
"'B (T)'",
")",
"ax2",
".",
"set_ylabel",
"(",
"'Delta M'",
")",
"linex",
"=",
"[",
"0",
",",
"Bcr",
",",
"Bcr",
"]",
"liney",
"=",
"[",
"old_div",
"(",
"deltaM",
"[",
"0",
"]",
",",
"2.",
")",
",",
"old_div",
"(",
"deltaM",
"[",
"0",
"]",
",",
"2.",
")",
",",
"0",
"]",
"ax2",
".",
"plot",
"(",
"linex",
",",
"liney",
",",
"'r'",
")",
"# ax2.set_title(sample)",
"ax3",
"=",
"fig",
".",
"add_subplot",
"(",
"2",
",",
"2",
",",
"3",
")",
"ax3",
".",
"plot",
"(",
"Bdm",
"[",
"(",
"len",
"(",
"Bdm",
")",
"-",
"len",
"(",
"DdeltaM",
")",
")",
":",
"]",
",",
"DdeltaM",
",",
"'b'",
")",
"ax3",
".",
"set_xlabel",
"(",
"'B (T)'",
")",
"ax3",
".",
"set_ylabel",
"(",
"'d (Delta M)/dB'",
")",
"# ax3.set_title(sample)",
"ax4",
"=",
"fig",
".",
"add_subplot",
"(",
"2",
",",
"2",
",",
"4",
")",
"ax4",
".",
"plot",
"(",
"Bdcd",
",",
"Mdcd",
")",
"ax4",
".",
"yaxis",
".",
"set_major_formatter",
"(",
"mtick",
".",
"FormatStrFormatter",
"(",
"'%.2e'",
")",
")",
"ax4",
".",
"axhline",
"(",
"0",
",",
"color",
"=",
"'k'",
")",
"ax4",
".",
"axvline",
"(",
"0",
",",
"color",
"=",
"'k'",
")",
"ax4",
".",
"set_xlabel",
"(",
"'B (T)'",
")",
"ax4",
".",
"set_ylabel",
"(",
"'M/Mr'",
")",
"except",
":",
"print",
"(",
"\"not doing it\"",
")",
"hpars",
"[",
"'hysteresis_bcr'",
"]",
"=",
"'0'",
"hpars",
"[",
"'magic_method_codes'",
"]",
"=",
"\"\"",
"plt",
".",
"gcf",
"(",
")",
"plt",
".",
"gca",
"(",
")",
"plt",
".",
"tight_layout",
"(",
")",
"if",
"save",
":",
"plt",
".",
"savefig",
"(",
"save_folder",
"+",
"'/'",
"+",
"sample",
"+",
"'_hysteresis.'",
"+",
"fmt",
")",
"plt",
".",
"show",
"(",
")",
"sample_num",
"+=",
"1"
] |
Calculates hysteresis parameters, saves them in rmag_hysteresis format file.
If selected, this function also plots hysteresis loops, delta M curves,
d (Delta M)/dB curves, and IRM backfield curves.
Parameters (defaults are used if not specified)
----------
path_to_file : path to directory that contains files (default is current directory, '.')
hyst_file : hysteresis file (default is 'rmag_hysteresis.txt')
save : boolean argument to save plots (default is False)
save_folder : relative directory where plots will be saved (default is current directory, '.')
fmt : format of saved figures (default is 'pdf')
plots: whether or not to display the plots (default is true)
|
[
"Calculates",
"hysteresis",
"parameters",
"saves",
"them",
"in",
"rmag_hysteresis",
"format",
"file",
".",
"If",
"selected",
"this",
"function",
"also",
"plots",
"hysteresis",
"loops",
"delta",
"M",
"curves",
"d",
"(",
"Delta",
"M",
")",
"/",
"dB",
"curves",
"and",
"IRM",
"backfield",
"curves",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L7736-L7926
|
train
|
This function calculates the hysteresis parameters for a single file in a directory.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8('\x30' + chr(111) + '\062' + '\064' + '\065', 17771 - 17763), nzTpIcepk0o8('\060' + '\157' + chr(0b110011) + chr(0b110011) + chr(0b110100), 0o10), nzTpIcepk0o8('\x30' + chr(7472 - 7361) + chr(0b110010) + '\061' + chr(53), ord("\x08")), nzTpIcepk0o8('\x30' + chr(7209 - 7098) + chr(51) + chr(73 - 23) + '\x37', 9969 - 9961), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(51) + '\x32', 57126 - 57118), nzTpIcepk0o8(chr(0b110000) + chr(0b1101110 + 0o1) + chr(1767 - 1718) + chr(53) + chr(0b110111), 11524 - 11516), nzTpIcepk0o8(chr(0b101110 + 0o2) + chr(2816 - 2705) + chr(0b110011) + chr(0b110011) + chr(49), 34867 - 34859), nzTpIcepk0o8('\060' + chr(4901 - 4790) + '\x33' + chr(0b1101 + 0o43) + '\x30', 6482 - 6474), nzTpIcepk0o8(chr(48) + chr(8977 - 8866) + chr(1457 - 1408) + chr(49) + chr(2003 - 1952), ord("\x08")), nzTpIcepk0o8('\060' + chr(11557 - 11446) + chr(0b110001) + chr(50) + chr(50), 0o10), nzTpIcepk0o8('\x30' + chr(7896 - 7785) + '\061' + '\x35' + chr(0b100001 + 0o17), 0b1000), nzTpIcepk0o8(chr(0b11111 + 0o21) + chr(0b111011 + 0o64) + chr(0b110011) + chr(0b110111) + chr(0b10111 + 0o35), 8837 - 8829), nzTpIcepk0o8(chr(2069 - 2021) + '\157' + chr(49) + chr(1396 - 1344) + chr(0b110101), 0o10), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b10 + 0o60) + chr(2058 - 2007) + '\061', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(51) + chr(48) + '\x34', 0o10), nzTpIcepk0o8(chr(48) + '\157' + '\x37' + chr(661 - 613), 53285 - 53277), nzTpIcepk0o8(chr(48) + '\x6f' + '\x32' + chr(709 - 661) + '\066', 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b100111 + 0o110) + '\063' + chr(1268 - 1220) + '\063', 0b1000), nzTpIcepk0o8(chr(48) + '\157' + chr(0b111 + 0o55) + chr(546 - 492), 0b1000), nzTpIcepk0o8('\x30' + chr(0b1101100 + 0o3) + chr(889 - 840) + chr(1261 - 1210) + chr(0b110000), 0o10), nzTpIcepk0o8('\x30' + chr(0b1100001 + 0o16) + chr(2032 - 1981) + chr(50) + chr(0b110110), 0b1000), nzTpIcepk0o8(chr(1352 - 1304) + chr(0b1100010 + 0o15) + '\062' + '\062' + chr(48), ord("\x08")), nzTpIcepk0o8('\x30' + '\x6f' + '\x37', 0b1000), nzTpIcepk0o8(chr(2212 - 2164) + chr(9782 - 9671) + '\062' + chr(0b10100 + 0o35) + '\x32', 0b1000), nzTpIcepk0o8('\060' + chr(2051 - 1940) + chr(2023 - 1972) + chr(0b110000), 25449 - 25441), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b110001) + chr(2681 - 2629) + '\x31', ord("\x08")), nzTpIcepk0o8('\060' + chr(0b1101111) + '\063' + '\x33' + chr(1490 - 1437), 0b1000), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b110001) + chr(0b101110 + 0o11) + chr(0b10101 + 0o33), 14964 - 14956), nzTpIcepk0o8('\x30' + chr(0b101100 + 0o103) + '\062' + chr(51) + chr(730 - 680), 0b1000), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b110001) + chr(0b110110) + '\x31', ord("\x08")), nzTpIcepk0o8(chr(270 - 222) + '\157' + chr(0b10101 + 0o36), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(5358 - 5247) + '\063' + chr(0b110111) + '\x33', 34844 - 34836), nzTpIcepk0o8(chr(0b110000) + chr(0b11111 + 0o120) + '\064' + chr(49), 49051 - 49043), nzTpIcepk0o8(chr(48) + '\157' + '\064' + chr(2020 - 1968), 0o10), nzTpIcepk0o8(chr(329 - 281) + chr(0b10101 + 0o132) + chr(1184 - 1133) + chr(53) + '\x31', 0o10), nzTpIcepk0o8('\060' + '\157' + '\062' + chr(74 - 24) + chr(0b110010), 30454 - 30446), nzTpIcepk0o8(chr(48) + chr(5081 - 4970) + chr(50) + chr(53) + chr(244 - 196), 17370 - 17362), nzTpIcepk0o8(chr(0b110000) + chr(0b1001 + 0o146) + chr(0b101010 + 0o11) + '\065' + chr(0b110011), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b110011) + '\x31' + '\x34', 0o10), nzTpIcepk0o8(chr(214 - 166) + '\x6f' + chr(51) + chr(0b110001 + 0o0) + chr(0b110110), 0o10)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(0b11011 + 0o25) + chr(111) + chr(0b110101) + chr(48), 0b1000)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\x8b'), chr(0b110000 + 0o64) + chr(9574 - 9473) + chr(99) + '\x6f' + chr(0b11000 + 0o114) + '\145')(chr(0b1110101) + chr(1701 - 1585) + chr(4299 - 4197) + chr(45) + chr(0b111000)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def MSPTyCPyvt5S(SBXaGBkMY5xD=roI3spqORKae(ES5oEprVxulp(b'\x8b'), '\x64' + chr(0b100010 + 0o103) + chr(0b1100011) + '\x6f' + '\x64' + '\x65')(chr(0b1001110 + 0o47) + chr(0b1110100) + '\146' + '\055' + '\070'), K78DgQJsmWYg=roI3spqORKae(ES5oEprVxulp(b'\xd7\xb1\xec\xb0E\x07\xa0\xb3?7\x1a\x99\x16\xf0\xb7\x16\xf2\xbbR'), chr(0b1000011 + 0o41) + chr(101) + '\143' + chr(0b100111 + 0o110) + chr(0b110 + 0o136) + chr(101))('\x75' + '\x74' + '\x66' + chr(45) + chr(2397 - 2341)), mwgZMvWSpAHg=nzTpIcepk0o8('\060' + '\157' + chr(0b1011 + 0o45), 0b1000), S_yV4Ytx3yb1=roI3spqORKae(ES5oEprVxulp(b'\x8b'), '\x64' + '\145' + chr(3986 - 3887) + '\x6f' + chr(0b1100100) + '\145')('\165' + '\164' + chr(102) + chr(45) + chr(56)), JummcHpaNLEw=roI3spqORKae(ES5oEprVxulp(b'\xd6\xaa\xea'), chr(100) + chr(7576 - 7475) + chr(1021 - 922) + chr(11063 - 10952) + chr(6968 - 6868) + chr(0b110111 + 0o56))('\x75' + '\x74' + chr(0b1100101 + 0o1) + '\x2d' + '\070'), rhJWrcAwWftY=nzTpIcepk0o8('\060' + chr(11420 - 11309) + '\061', 0b1000)):
(E63X9RhwfuOn, rHPU8oONrR4n, Xd3n86R3hxa2, WwCk0LIIOiFQ) = (roI3spqORKae(ES5oEprVxulp(b''), chr(0b1111 + 0o125) + chr(9388 - 9287) + chr(1028 - 929) + '\x6f' + '\x64' + '\145')(chr(772 - 655) + chr(116) + chr(0b1011000 + 0o16) + chr(82 - 37) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xc4\xbb\xe0\x88w\n\xb8\xb3> \r\x91\x00\xf7\xb0K\xa8\xb7^,'), '\x64' + '\145' + chr(0b1000001 + 0o42) + chr(111) + '\x64' + '\x65')(chr(117) + chr(0b101010 + 0o112) + '\x66' + chr(45) + chr(0b110010 + 0o6)), roI3spqORKae(ES5oEprVxulp(b'\xd7\xb1\xec\xb0E\x07\xa0\xb3?7\x1a\x99\x16\xf0\xb7\x16\xf2\xbbR'), '\x64' + '\145' + '\x63' + chr(0b1101111) + chr(2154 - 2054) + chr(0b1100101))(chr(2618 - 2501) + chr(0b1000101 + 0o57) + chr(102) + chr(1495 - 1450) + '\x38'), roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(3797 - 3696) + '\x63' + chr(0b1100101 + 0o12) + chr(100) + '\145')(chr(0b11110 + 0o127) + chr(0b1110100) + chr(102) + chr(0b101101) + chr(56)))
DafvJs_zqETJ = roI3spqORKae(ES5oEprVxulp(b''), chr(3235 - 3135) + '\145' + chr(4752 - 4653) + '\157' + chr(100) + chr(0b1100101))(chr(117) + '\164' + '\146' + chr(0b101000 + 0o5) + chr(56))
qjksZ7GK0xkJ = S_yV4Ytx3yb1
TseISVdPlfdM = o77KS_r9H7AX.TseISVdPlfdM
uNg9Yeq376oN = hUcsWwAd0nE_.get_version()
Xd3n86R3hxa2 = S_yV4Ytx3yb1 + roI3spqORKae(ES5oEprVxulp(b'\x8a'), chr(0b1100100) + '\x65' + chr(99) + '\157' + chr(0b1100100) + chr(9538 - 9437))(chr(117) + '\164' + chr(5828 - 5726) + chr(746 - 701) + '\x38') + Xd3n86R3hxa2
rHPU8oONrR4n = SBXaGBkMY5xD + roI3spqORKae(ES5oEprVxulp(b'\x8a'), chr(100) + chr(0b1100101) + chr(0b1100011) + '\157' + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + chr(0b11000 + 0o134) + chr(0b1100110) + '\x2d' + '\x38') + K78DgQJsmWYg
w6iBnIo0HnqY = S_yV4Ytx3yb1 + roI3spqORKae(ES5oEprVxulp(b'\x8a\xae\xe0\xb6}0\xab\xa5&3\x06\x99\x0b\xfa\xa1\x16\xf2\xbbR'), chr(0b1100100) + chr(101) + chr(8598 - 8499) + chr(111) + chr(100) + chr(101))(chr(7913 - 7796) + chr(0b1110100) + '\146' + '\055' + '\x38')
(wx5Y9SFJEaEM, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(rHPU8oONrR4n)
if mWsDpG3yRGLz != roI3spqORKae(ES5oEprVxulp(b'\xc8\xbd\xea\xbey0\xb4\xa5*!\x1d\x8e\x00\xf4\xa1V\xf2\xb0'), '\x64' + '\145' + chr(9600 - 9501) + chr(111) + '\x64' + chr(0b1001011 + 0o32))('\x75' + chr(0b1110100) + chr(102) + '\x2d' + chr(56)):
v8jsMqaYV6U2(roI3spqORKae(xSpr1jxWFiXl, roI3spqORKae(ES5oEprVxulp(b'\xdc\xba\xc8\xb2k>\xb0\x95$#?\xa8'), '\x64' + chr(8151 - 8050) + chr(0b1100011) + chr(0b1011000 + 0o27) + '\144' + chr(101))(chr(0b11011 + 0o132) + chr(0b1110100) + chr(102) + chr(45) + chr(0b111000))))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xc7\xbd\xe9\xf7|\x06\xb5\xa5'), chr(0b10011 + 0o121) + chr(2765 - 2664) + chr(8115 - 8016) + chr(3599 - 3488) + chr(9724 - 9624) + '\x65')(chr(11517 - 11400) + chr(0b111 + 0o155) + chr(102) + chr(45) + chr(56)))
return
(lyyaSLqlyF3P, unPes3nqNK0J) = ([], [])
mVI5sGGXVJu2 = {}
(mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b'\xcd\xa5\xfe\xa3'), chr(100) + chr(101) + '\x63' + chr(5146 - 5035) + chr(100) + '\145')(chr(5718 - 5601) + '\x74' + chr(0b1100110) + chr(1507 - 1462) + chr(56))], mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b'\xc1\xb9\xe1\xa3{"'), chr(9166 - 9066) + '\x65' + chr(0b1100011 + 0o0) + '\157' + '\144' + chr(3713 - 3612))(chr(117) + chr(7206 - 7090) + '\x66' + chr(0b10011 + 0o32) + '\x38')], mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b'\xe1\xb8\xe8\xbbn\x0e\x94'), chr(0b1100100) + '\145' + chr(99) + chr(9496 - 9385) + chr(0b1001 + 0o133) + chr(0b0 + 0o145))(chr(117) + chr(116) + '\146' + '\x2d' + '\x38')]) = (nzTpIcepk0o8(chr(0b10111 + 0o31) + '\157' + '\x31', 8), nzTpIcepk0o8('\x30' + chr(0b1101111) + '\x32', 53941 - 53933), nzTpIcepk0o8('\x30' + '\157' + '\x33', 8))
(gt6ao1JZFMmK, Wbavx5JmRXKA) = ([], [])
for FKO_XxLfWbYt in wx5Y9SFJEaEM:
I810oeGL0u1g = FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xc8\xbd\xea\xbey0\xb4\xa5?:\x07\x98:\xfa\xab\\\xe3\xb0'), chr(0b101110 + 0o66) + '\x65' + chr(0b1100011) + chr(0b1010 + 0o145) + '\144' + '\x65')(chr(13183 - 13066) + chr(9653 - 9537) + chr(0b1100110) + '\055' + '\x38')].LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\x9f'), chr(0b1100100) + chr(0b1100101) + '\x63' + chr(10878 - 10767) + chr(6422 - 6322) + chr(8795 - 8694))(chr(117) + '\164' + chr(102) + chr(619 - 574) + chr(236 - 180)))
lcKucyHTTXwM = []
for am4di6GtLqyR in I810oeGL0u1g:
roI3spqORKae(lcKucyHTTXwM, roI3spqORKae(ES5oEprVxulp(b'\xed\x88\xde\xe3b\x08\x9e\xaf!==\xc9'), chr(100) + chr(2971 - 2870) + chr(0b1100011) + chr(0b111110 + 0o61) + '\144' + chr(8130 - 8029))(chr(0b1110101) + '\x74' + chr(7512 - 7410) + '\055' + chr(56)))(roI3spqORKae(am4di6GtLqyR, roI3spqORKae(ES5oEprVxulp(b'\xce\xb8\xc4\x93h\x0c\xae\x9a\x1f\x11\x1b\xc9'), chr(0b111111 + 0o45) + '\145' + '\x63' + chr(0b1101111) + chr(100) + '\145')('\x75' + '\164' + chr(102) + chr(45) + chr(0b0 + 0o70)))())
if roI3spqORKae(ES5oEprVxulp(b'\xe9\x8c\xa0\x9fC<'), chr(0b1100100) + chr(0b101001 + 0o74) + chr(0b1100011) + '\157' + chr(0b1001010 + 0o32) + '\145')('\165' + '\164' + chr(0b1100110) + chr(0b11000 + 0o25) + chr(2513 - 2457)) in lcKucyHTTXwM:
if roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xa4c\x01\xad\xa8.&\x01\x9f:\xf7\xa5U\xe3'), chr(100) + chr(0b1100101) + chr(99) + '\157' + chr(0b1100100) + '\145')(chr(12212 - 12095) + '\x74' + chr(9294 - 9192) + '\x2d' + chr(1113 - 1057)) in H4NoA26ON7iG(roI3spqORKae(FKO_XxLfWbYt, roI3spqORKae(ES5oEprVxulp(b'\xce\xb9\xf4\xa4'), chr(0b1100100) + '\145' + chr(0b1100011) + '\157' + chr(3215 - 3115) + chr(7110 - 7009))(chr(8930 - 8813) + chr(0b100010 + 0o122) + chr(2579 - 2477) + chr(0b101101) + chr(0b111000)))()) and FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xa4c\x01\xad\xa8.&\x01\x9f:\xf7\xa5U\xe3'), chr(0b1100100) + chr(7504 - 7403) + chr(0b1100011) + chr(0b1011111 + 0o20) + chr(100) + '\145')('\165' + '\164' + '\146' + '\055' + chr(0b111000))] != roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(0b1011100 + 0o11) + chr(0b11101 + 0o106) + chr(0b1101111) + chr(0b1100100) + '\x65')(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + '\x2d' + chr(0b101001 + 0o17)):
FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xa4j\n\xba\xa9&7\x06\xa3\x0b\xf8\xa9]'), chr(0b1010011 + 0o21) + chr(0b101101 + 0o70) + '\x63' + chr(0b1101111) + chr(0b1100100) + chr(4845 - 4744))(chr(10220 - 10103) + chr(0b101111 + 0o105) + chr(0b1100110) + chr(0b10110 + 0o27) + chr(2957 - 2901))] = FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xa4c\x01\xad\xa8.&\x01\x9f:\xf7\xa5U\xe3'), '\x64' + '\145' + '\x63' + chr(111) + chr(100) + '\145')(chr(0b1011101 + 0o30) + '\x74' + chr(102) + '\055' + chr(0b1010 + 0o56))]
if FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xc8\xbd\xea\xbey0\xbc\xb8;7\x1a\x95\x08\xfc\xaaL\xd9\xadG5\xb3'), '\144' + chr(0b1100101) + chr(4263 - 4164) + chr(0b101101 + 0o102) + chr(100) + '\x65')(chr(117) + chr(0b110000 + 0o104) + chr(0b110101 + 0o61) + chr(932 - 887) + '\070')] not in gt6ao1JZFMmK:
roI3spqORKae(gt6ao1JZFMmK, roI3spqORKae(ES5oEprVxulp(b'\xed\x88\xde\xe3b\x08\x9e\xaf!==\xc9'), chr(0b1100100) + '\x65' + chr(99) + chr(0b111010 + 0o65) + chr(8805 - 8705) + chr(0b1100101))('\165' + '\164' + '\146' + chr(0b101100 + 0o1) + '\x38'))(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xc8\xbd\xea\xbey0\xbc\xb8;7\x1a\x95\x08\xfc\xaaL\xd9\xadG5\xb3'), chr(9786 - 9686) + '\x65' + '\143' + chr(0b10011 + 0o134) + '\x64' + '\x65')(chr(0b1100100 + 0o21) + chr(0b11011 + 0o131) + chr(4757 - 4655) + chr(0b0 + 0o55) + chr(1232 - 1176))])
if FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xa4j\n\xba\xa9&7\x06\xa3\x0b\xf8\xa9]'), chr(100) + chr(0b1100100 + 0o1) + chr(0b10111 + 0o114) + chr(0b1101111) + chr(0b1100100) + '\145')(chr(0b1110101) + chr(116) + chr(1077 - 975) + chr(0b101101) + chr(1614 - 1558))] not in Wbavx5JmRXKA:
roI3spqORKae(Wbavx5JmRXKA, roI3spqORKae(ES5oEprVxulp(b'\xed\x88\xde\xe3b\x08\x9e\xaf!==\xc9'), chr(0b0 + 0o144) + chr(4920 - 4819) + chr(99) + chr(9044 - 8933) + '\144' + '\x65')(chr(3224 - 3107) + chr(116) + chr(0b100 + 0o142) + '\055' + chr(0b10111 + 0o41)))(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xa4j\n\xba\xa9&7\x06\xa3\x0b\xf8\xa9]'), chr(0b1100100) + chr(101) + chr(0b1001110 + 0o25) + chr(9719 - 9608) + chr(0b1100010 + 0o2) + chr(101))(chr(0b1100101 + 0o20) + chr(0b100 + 0o160) + chr(102) + chr(0b111 + 0o46) + chr(56))])
OpFpJUFlM4PU = nzTpIcepk0o8(chr(0b110000) + chr(8859 - 8748) + '\061', 8)
prCEaCeB8FOy = nzTpIcepk0o8('\x30' + chr(111) + '\060', 8)
(CVMJ3cEA2w8C, B2_pql3NOmti, HxiDV8eppwOt) = (nzTpIcepk0o8(chr(0b110000) + chr(0b1001 + 0o146) + chr(0b1 + 0o60), 8), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b110001), 8), nzTpIcepk0o8(chr(347 - 299) + chr(6992 - 6881) + chr(1380 - 1331), 8))
while prCEaCeB8FOy < ftfygxgFas5X(Wbavx5JmRXKA):
wQI2PxGBYMEh = Wbavx5JmRXKA[prCEaCeB8FOy]
v8jsMqaYV6U2(wQI2PxGBYMEh, prCEaCeB8FOy + nzTpIcepk0o8('\060' + chr(0b1101111) + chr(49), 8), roI3spqORKae(ES5oEprVxulp(b'\xca\xa9\xf9\xf7u\t\xf9'), '\x64' + chr(1953 - 1852) + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + '\145')(chr(117) + '\x74' + '\x66' + chr(0b100100 + 0o11) + '\x38'), ftfygxgFas5X(Wbavx5JmRXKA))
(TQ0u0KgwFXN5, lY8v4DfEhTNv, RpftP1fBhfme, DTbUnZUJTfRp) = ([], [], [], [])
(PXtBQz5ampDn, aTdIVjjsephi) = ([], [])
for FKO_XxLfWbYt in wx5Y9SFJEaEM:
ayTBaXkHW6dY = FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xc8\xbd\xea\xbey0\xb4\xa5?:\x07\x98:\xfa\xab\\\xe3\xb0'), chr(0b1100100) + chr(0b1000 + 0o135) + chr(4350 - 4251) + chr(0b1010100 + 0o33) + chr(0b1100100) + chr(0b1100101))('\x75' + chr(0b111000 + 0o74) + chr(5971 - 5869) + chr(45) + chr(0b111000))].LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\x9f'), chr(0b1100100) + chr(0b1100101) + '\143' + chr(0b1101111) + chr(0b100100 + 0o100) + '\x65')(chr(117) + chr(0b1110100) + chr(1012 - 910) + '\x2d' + '\070'))
I810oeGL0u1g = []
for am4di6GtLqyR in ayTBaXkHW6dY:
roI3spqORKae(I810oeGL0u1g, roI3spqORKae(ES5oEprVxulp(b'\xed\x88\xde\xe3b\x08\x9e\xaf!==\xc9'), chr(0b1100100) + chr(0b1100101) + chr(99) + chr(0b1001011 + 0o44) + '\x64' + chr(101))('\165' + chr(116) + chr(0b1000110 + 0o40) + chr(0b101101) + chr(275 - 219)))(roI3spqORKae(am4di6GtLqyR, roI3spqORKae(ES5oEprVxulp(b'\xce\xb8\xc4\x93h\x0c\xae\x9a\x1f\x11\x1b\xc9'), chr(0b1100100) + chr(5799 - 5698) + chr(99) + chr(0b1101111) + chr(0b1100100) + chr(9081 - 8980))(chr(117) + chr(0b1110100) + '\146' + '\055' + '\x38'))())
if FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xa4j\n\xba\xa9&7\x06\xa3\x0b\xf8\xa9]'), chr(0b1100100) + chr(101) + chr(0b111 + 0o134) + '\157' + chr(100) + '\x65')(chr(0b1100011 + 0o22) + '\164' + chr(0b1100110) + '\x2d' + chr(0b111000))] == wQI2PxGBYMEh and roI3spqORKae(ES5oEprVxulp(b'\xe9\x8c\xa0\x9fC<'), '\x64' + chr(0b1000 + 0o135) + chr(0b1100011) + chr(0b1100011 + 0o14) + chr(6194 - 6094) + chr(7126 - 7025))(chr(0b1101000 + 0o15) + '\x74' + chr(102) + chr(1955 - 1910) + chr(953 - 897)) in I810oeGL0u1g:
roI3spqORKae(TQ0u0KgwFXN5, roI3spqORKae(ES5oEprVxulp(b'\xed\x88\xde\xe3b\x08\x9e\xaf!==\xc9'), chr(9614 - 9514) + '\x65' + '\143' + chr(0b10 + 0o155) + chr(0b1100100) + '\x65')(chr(13364 - 13247) + chr(0b101101 + 0o107) + chr(0b10011 + 0o123) + '\055' + chr(56)))(jLW6pRf2DSRk(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xc8\xb9\xec\xa4o\x1d\xbc\xad.<\x1c\xa3\t\xf8\xa6g\xe0\xaaC4\xb2\xcfc\xe9'), chr(0b1100100) + chr(101) + chr(0b1010011 + 0o20) + chr(0b1100100 + 0o13) + chr(0b1000 + 0o134) + chr(0b1101 + 0o130))(chr(0b1110101) + chr(0b1101111 + 0o5) + chr(0b101 + 0o141) + '\x2d' + '\070')]))
roI3spqORKae(lY8v4DfEhTNv, roI3spqORKae(ES5oEprVxulp(b'\xed\x88\xde\xe3b\x08\x9e\xaf!==\xc9'), chr(0b1100100) + chr(0b1100101) + chr(0b1100011) + chr(111) + chr(100) + chr(3350 - 3249))('\165' + chr(6174 - 6058) + chr(6089 - 5987) + chr(0b100101 + 0o10) + chr(56)))(jLW6pRf2DSRk(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xc8\xb9\xec\xa4o\x1d\xbc\xad.<\x1c\xa3\x08\xf8\xa3V\xd9\xaeI5\xb3\xfes'), chr(5743 - 5643) + chr(101) + chr(0b1100011) + chr(111) + chr(100) + chr(101))(chr(117) + chr(0b111 + 0o155) + chr(102) + chr(0b101101) + '\070')]))
if B2_pql3NOmti == nzTpIcepk0o8(chr(0b100001 + 0o17) + '\x6f' + chr(0b101110 + 0o3), 8):
wgf0sgcu_xPL = FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xc8\xbd\xea\xbey0\xbc\xb8;7\x1a\x95\x08\xfc\xaaL\xd9\xadG5\xb3'), chr(100) + '\x65' + chr(6068 - 5969) + chr(111) + chr(395 - 295) + chr(8807 - 8706))(chr(0b1110101) + chr(0b1011110 + 0o26) + '\x66' + '\x2d' + chr(0b11000 + 0o40))]
tP3HxNgrUQlP = {}
B2_pql3NOmti = nzTpIcepk0o8(chr(480 - 432) + chr(0b1101111) + chr(48), 8)
if roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xbbu\x0c\xb8\xb4"=\x06\xa3\x0b\xf8\xa9]'), chr(100) + '\x65' + chr(0b100 + 0o137) + '\x6f' + chr(100) + chr(388 - 287))(chr(4415 - 4298) + chr(4219 - 4103) + chr(102) + '\x2d' + chr(1622 - 1566)) in H4NoA26ON7iG(roI3spqORKae(FKO_XxLfWbYt, roI3spqORKae(ES5oEprVxulp(b'\xce\xb9\xf4\xa4'), chr(0b111100 + 0o50) + '\145' + '\x63' + chr(0b1101111) + chr(2716 - 2616) + chr(3795 - 3694))(chr(0b1011110 + 0o27) + chr(0b1101 + 0o147) + chr(0b1100110) + chr(45) + '\070'))()):
tP3HxNgrUQlP[roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xbbu\x0c\xb8\xb4"=\x06\xa3\x0b\xf8\xa9]'), chr(0b1001 + 0o133) + chr(0b1100101) + chr(99) + chr(0b101001 + 0o106) + chr(0b1100100) + chr(5269 - 5168))(chr(117) + '\x74' + chr(102) + chr(0b100101 + 0o10) + chr(56))] = FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xbbu\x0c\xb8\xb4"=\x06\xa3\x0b\xf8\xa9]'), chr(100) + chr(0b1100101) + chr(0b1100011) + chr(4360 - 4249) + '\144' + chr(0b100010 + 0o103))(chr(1274 - 1157) + chr(116) + '\x66' + '\055' + chr(0b111000))]
N3wHZjqj3hh1 = FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xbbu\x0c\xb8\xb4"=\x06\xa3\x0b\xf8\xa9]'), '\x64' + chr(8361 - 8260) + chr(0b1100011) + '\157' + chr(0b101001 + 0o73) + chr(101))('\165' + chr(4920 - 4804) + chr(5340 - 5238) + chr(0b101101) + '\070')].E91dbqOZXBpJ(roI3spqORKae(ES5oEprVxulp(b'\x8a'), '\x64' + chr(0b0 + 0o145) + '\143' + chr(0b11100 + 0o123) + '\144' + chr(0b110100 + 0o61))(chr(117) + chr(0b1101011 + 0o11) + '\146' + chr(0b101000 + 0o5) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\x88'), '\144' + chr(0b1100101) + chr(7601 - 7502) + '\x6f' + '\144' + chr(0b1010101 + 0o20))(chr(0b100 + 0o161) + '\164' + '\146' + '\x2d' + '\x38'))
if roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xa4{\x02\xa9\xac.\r\x06\x9d\x08\xfc'), '\x64' + chr(0b1100101) + chr(0b1011001 + 0o12) + chr(0b1101001 + 0o6) + '\x64' + chr(101))('\165' + chr(116) + chr(0b101000 + 0o76) + chr(0b101101) + '\x38') in H4NoA26ON7iG(roI3spqORKae(FKO_XxLfWbYt, roI3spqORKae(ES5oEprVxulp(b'\xce\xb9\xf4\xa4'), '\x64' + chr(941 - 840) + chr(0b1100011) + '\x6f' + chr(7850 - 7750) + '\145')(chr(117) + chr(0b1110100) + chr(7589 - 7487) + '\055' + chr(0b111000)))()):
tP3HxNgrUQlP[roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xa4{\x02\xa9\xac.\r\x06\x9d\x08\xfc'), chr(8122 - 8022) + chr(101) + chr(0b1000011 + 0o40) + '\157' + chr(0b1011111 + 0o5) + chr(9699 - 9598))(chr(117) + chr(0b11001 + 0o133) + chr(102) + chr(0b101101) + '\x38')] = FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xa4{\x02\xa9\xac.\r\x06\x9d\x08\xfc'), '\x64' + chr(0b111110 + 0o47) + chr(0b100001 + 0o102) + chr(0b1101111) + chr(2729 - 2629) + chr(0b11100 + 0o111))(chr(117) + chr(10411 - 10295) + chr(0b1100110) + '\x2d' + '\x38')]
if roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xa4s\x1b\xbc\x9f%3\x05\x99'), '\x64' + chr(101) + '\143' + '\157' + chr(0b11110 + 0o106) + chr(101))(chr(0b1000100 + 0o61) + chr(116) + chr(102) + chr(384 - 339) + '\070') in H4NoA26ON7iG(roI3spqORKae(FKO_XxLfWbYt, roI3spqORKae(ES5oEprVxulp(b'\xce\xb9\xf4\xa4'), '\144' + '\x65' + '\143' + '\x6f' + chr(100) + chr(0b1100101))('\x75' + '\x74' + chr(0b111001 + 0o55) + '\x2d' + chr(0b111000)))()):
tP3HxNgrUQlP[roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xa4s\x1b\xbc\x9f%3\x05\x99'), chr(0b1100100) + chr(0b1100101) + chr(0b1100011) + '\x6f' + chr(100) + '\x65')('\x75' + '\164' + chr(9938 - 9836) + '\x2d' + '\070')] = FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xa4s\x1b\xbc\x9f%3\x05\x99'), chr(100) + chr(2210 - 2109) + chr(7485 - 7386) + '\157' + chr(0b100 + 0o140) + chr(101))(chr(0b1110101) + chr(0b1110100) + '\x66' + '\055' + '\x38')]
if roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xa4c\x01\xad\xa8.&\x01\x9f:\xf7\xa5U\xe3'), chr(0b111011 + 0o51) + chr(101) + chr(567 - 468) + '\x6f' + chr(100) + '\x65')(chr(0b1011101 + 0o30) + chr(116) + chr(102) + chr(45) + chr(56)) in H4NoA26ON7iG(roI3spqORKae(FKO_XxLfWbYt, roI3spqORKae(ES5oEprVxulp(b'\xce\xb9\xf4\xa4'), '\144' + '\145' + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + '\x65')(chr(0b1001001 + 0o54) + chr(0b1110100) + '\x66' + chr(45) + '\070'))()) and FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xa4c\x01\xad\xa8.&\x01\x9f:\xf7\xa5U\xe3'), chr(6656 - 6556) + chr(0b1100101) + chr(5087 - 4988) + chr(5805 - 5694) + chr(0b1100100) + chr(0b1100101))('\165' + chr(0b1110100) + '\146' + '\x2d' + chr(0b111000))] != roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(0b1100101) + chr(99) + chr(0b1101100 + 0o3) + chr(1023 - 923) + '\x65')(chr(2802 - 2685) + '\x74' + '\146' + '\055' + chr(2648 - 2592)):
tP3HxNgrUQlP[roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xa4c\x01\xad\xa8.&\x01\x9f:\xf7\xa5U\xe3'), '\144' + chr(5382 - 5281) + '\x63' + chr(111) + chr(0b100 + 0o140) + chr(101))(chr(0b11100 + 0o131) + chr(0b111010 + 0o72) + chr(0b1001001 + 0o35) + '\055' + chr(0b110111 + 0o1))] = FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xa4c\x01\xad\xa8.&\x01\x9f:\xf7\xa5U\xe3'), '\144' + chr(0b1100101) + '\x63' + chr(111) + chr(0b100000 + 0o104) + chr(0b1100101))('\165' + chr(116) + chr(102) + '\x2d' + '\070')]
else:
tP3HxNgrUQlP[roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xa4j\n\xba\xa9&7\x06\xa3\x0b\xf8\xa9]'), chr(0b1100100) + chr(0b1100101) + chr(6481 - 6382) + '\x6f' + chr(4191 - 4091) + chr(101))('\x75' + chr(9809 - 9693) + '\x66' + '\x2d' + '\070')] = FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xa4j\n\xba\xa9&7\x06\xa3\x0b\xf8\xa9]'), chr(1391 - 1291) + chr(8437 - 8336) + chr(0b1100011) + chr(0b1101111) + chr(2942 - 2842) + chr(101))(chr(949 - 832) + chr(0b11101 + 0o127) + '\x66' + chr(0b101101) + chr(0b11111 + 0o31))]
if FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xa4j\n\xba\xa9&7\x06\xa3\x0b\xf8\xa9]'), chr(100) + chr(0b1100101) + chr(0b1100011) + '\157' + chr(100) + chr(0b1100101))(chr(117) + '\x74' + '\x66' + chr(45) + chr(0b100011 + 0o25))] == wQI2PxGBYMEh and roI3spqORKae(ES5oEprVxulp(b'\xe9\x8c\xa0\x9eH"\xf4\x84\x08\x16'), chr(0b1100100) + chr(0b1100101) + '\x63' + '\157' + '\144' + chr(0b110011 + 0o62))(chr(0b1110101) + '\164' + '\x66' + chr(45) + chr(0b101110 + 0o12)) in I810oeGL0u1g:
roI3spqORKae(RpftP1fBhfme, roI3spqORKae(ES5oEprVxulp(b'\xed\x88\xde\xe3b\x08\x9e\xaf!==\xc9'), chr(0b1100100) + chr(3066 - 2965) + '\143' + '\157' + chr(0b100 + 0o140) + chr(10005 - 9904))(chr(0b1110101) + chr(0b1100110 + 0o16) + '\x66' + '\x2d' + '\070'))(jLW6pRf2DSRk(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xd1\xae\xe8\xb6n\x02\xbc\xae?\r\x0c\x9f:\xff\xad]\xea\xa7'), '\x64' + chr(8106 - 8005) + chr(4267 - 4168) + '\157' + chr(0b1100100) + chr(101))('\x75' + chr(116) + '\x66' + chr(262 - 217) + '\x38')]))
roI3spqORKae(DTbUnZUJTfRp, roI3spqORKae(ES5oEprVxulp(b'\xed\x88\xde\xe3b\x08\x9e\xaf!==\xc9'), '\x64' + chr(8054 - 7953) + chr(0b1011111 + 0o4) + chr(0b1101111 + 0o0) + '\x64' + chr(0b1100101))(chr(0b111101 + 0o70) + '\164' + '\x66' + '\055' + chr(0b111000)))(jLW6pRf2DSRk(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xc8\xb9\xec\xa4o\x1d\xbc\xad.<\x1c\xa3\x08\xf8\xa3V\xd9\xaeI5\xb3\xfes'), chr(0b110111 + 0o55) + chr(7947 - 7846) + chr(0b1100011) + chr(6144 - 6033) + chr(0b1100100) + chr(101))(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + chr(45) + chr(2542 - 2486))]))
if CVMJ3cEA2w8C == nzTpIcepk0o8(chr(0b0 + 0o60) + chr(111) + chr(0b101000 + 0o11), 8):
L_AsSjXq6p_3 = {}
aidKi3tmKF01 = FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xc8\xbd\xea\xbey0\xbc\xb8;7\x1a\x95\x08\xfc\xaaL\xd9\xadG5\xb3'), chr(100) + chr(0b1100101) + '\x63' + '\157' + '\144' + chr(0b110011 + 0o62))(chr(117) + chr(0b1110100) + chr(0b1100110) + '\055' + '\070')]
CVMJ3cEA2w8C = nzTpIcepk0o8(chr(0b101001 + 0o7) + '\157' + chr(0b10101 + 0o33), 8)
if roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xbbu\x0c\xb8\xb4"=\x06\xa3\x0b\xf8\xa9]'), chr(0b1100100) + '\145' + chr(99) + '\157' + chr(0b101101 + 0o67) + chr(101))(chr(0b1110101) + chr(0b1110100) + '\x66' + '\x2d' + chr(0b111 + 0o61)) in H4NoA26ON7iG(roI3spqORKae(FKO_XxLfWbYt, roI3spqORKae(ES5oEprVxulp(b'\xce\xb9\xf4\xa4'), '\x64' + chr(0b1100101) + chr(99) + '\x6f' + chr(0b1000011 + 0o41) + chr(9300 - 9199))(chr(117) + chr(116) + chr(1244 - 1142) + '\x2d' + chr(1193 - 1137)))()):
L_AsSjXq6p_3[roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xbbu\x0c\xb8\xb4"=\x06\xa3\x0b\xf8\xa9]'), chr(4985 - 4885) + chr(9818 - 9717) + chr(0b101011 + 0o70) + '\x6f' + chr(4490 - 4390) + '\x65')(chr(0b1010110 + 0o37) + '\164' + chr(0b100 + 0o142) + chr(0b101 + 0o50) + '\070')] = FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xbbu\x0c\xb8\xb4"=\x06\xa3\x0b\xf8\xa9]'), '\x64' + chr(101) + chr(0b1000110 + 0o35) + '\x6f' + chr(411 - 311) + '\x65')(chr(0b1011011 + 0o32) + chr(116) + chr(0b1001010 + 0o34) + chr(647 - 602) + chr(56))]
if roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xa4{\x02\xa9\xac.\r\x06\x9d\x08\xfc'), '\144' + chr(101) + chr(99) + chr(0b1011100 + 0o23) + chr(0b1100100) + chr(6864 - 6763))('\165' + chr(0b1110 + 0o146) + chr(102) + '\x2d' + chr(1654 - 1598)) in H4NoA26ON7iG(roI3spqORKae(FKO_XxLfWbYt, roI3spqORKae(ES5oEprVxulp(b'\xce\xb9\xf4\xa4'), '\x64' + chr(0b1100101) + '\143' + chr(0b1101111) + '\x64' + chr(101))('\x75' + '\164' + chr(102) + chr(0b101101) + chr(0b111000)))()):
L_AsSjXq6p_3[roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xa4{\x02\xa9\xac.\r\x06\x9d\x08\xfc'), chr(6561 - 6461) + chr(101) + '\143' + '\157' + chr(0b111000 + 0o54) + chr(101))('\165' + chr(7750 - 7634) + chr(0b1100110) + chr(45) + '\x38')] = FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xa4{\x02\xa9\xac.\r\x06\x9d\x08\xfc'), chr(100) + chr(101) + chr(1585 - 1486) + chr(6588 - 6477) + chr(0b101 + 0o137) + chr(0b1100101))('\x75' + chr(0b1110100) + chr(102) + '\055' + '\070')]
if roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xa4s\x1b\xbc\x9f%3\x05\x99'), chr(3512 - 3412) + chr(101) + chr(99) + chr(0b10100 + 0o133) + '\144' + chr(4391 - 4290))('\x75' + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(0b101110 + 0o12)) in H4NoA26ON7iG(roI3spqORKae(FKO_XxLfWbYt, roI3spqORKae(ES5oEprVxulp(b'\xce\xb9\xf4\xa4'), chr(0b1100100) + chr(0b101001 + 0o74) + chr(0b1000000 + 0o43) + chr(111) + '\144' + '\x65')(chr(0b1010100 + 0o41) + '\x74' + chr(1489 - 1387) + chr(1613 - 1568) + chr(0b111000)))()):
L_AsSjXq6p_3[roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xa4s\x1b\xbc\x9f%3\x05\x99'), chr(100) + '\145' + '\143' + '\157' + chr(0b1001111 + 0o25) + chr(0b1010000 + 0o25))('\165' + chr(0b1001000 + 0o54) + chr(102) + chr(1688 - 1643) + '\070')] = FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xa4s\x1b\xbc\x9f%3\x05\x99'), '\x64' + chr(101) + chr(0b1011011 + 0o10) + chr(0b1100101 + 0o12) + '\144' + '\145')(chr(9050 - 8933) + '\164' + chr(140 - 38) + '\055' + chr(2261 - 2205))]
if roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xa4c\x01\xad\xa8.&\x01\x9f:\xf7\xa5U\xe3'), chr(100) + chr(0b110111 + 0o56) + chr(99) + chr(9565 - 9454) + chr(100) + chr(101))('\x75' + '\164' + chr(0b1100110) + chr(1097 - 1052) + chr(0b100111 + 0o21)) in H4NoA26ON7iG(roI3spqORKae(FKO_XxLfWbYt, roI3spqORKae(ES5oEprVxulp(b'\xce\xb9\xf4\xa4'), '\x64' + chr(4233 - 4132) + chr(115 - 16) + '\x6f' + '\x64' + chr(0b1100101))(chr(1206 - 1089) + chr(6347 - 6231) + chr(0b1100101 + 0o1) + chr(297 - 252) + chr(56)))()) and FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xa4c\x01\xad\xa8.&\x01\x9f:\xf7\xa5U\xe3'), chr(0b1100100) + chr(0b110111 + 0o56) + '\143' + chr(0b1101111) + chr(100) + chr(0b1100101))(chr(0b1010010 + 0o43) + '\x74' + '\146' + chr(45) + chr(0b100000 + 0o30))] != roI3spqORKae(ES5oEprVxulp(b''), chr(6252 - 6152) + chr(0b1001010 + 0o33) + chr(0b1100011) + chr(11702 - 11591) + chr(0b101110 + 0o66) + chr(0b1010000 + 0o25))(chr(117) + chr(0b1011 + 0o151) + chr(0b1100110) + '\055' + '\x38'):
L_AsSjXq6p_3[roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xa4c\x01\xad\xa8.&\x01\x9f:\xf7\xa5U\xe3'), '\144' + chr(101) + chr(0b1100011) + chr(0b1101111) + chr(0b111001 + 0o53) + chr(101))(chr(6298 - 6181) + chr(116) + chr(0b101111 + 0o67) + chr(0b101101) + chr(1383 - 1327))] = FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xa4c\x01\xad\xa8.&\x01\x9f:\xf7\xa5U\xe3'), chr(0b10110 + 0o116) + '\x65' + chr(9452 - 9353) + '\x6f' + '\x64' + '\x65')(chr(0b1110101) + chr(2138 - 2022) + chr(102) + '\055' + '\x38')]
else:
L_AsSjXq6p_3[roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xa4j\n\xba\xa9&7\x06\xa3\x0b\xf8\xa9]'), chr(100) + '\145' + '\x63' + chr(840 - 729) + chr(100) + chr(0b1100101))(chr(117) + chr(0b1110100) + '\x66' + '\055' + chr(0b111000))] = FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xa4j\n\xba\xa9&7\x06\xa3\x0b\xf8\xa9]'), chr(1308 - 1208) + chr(0b1010001 + 0o24) + '\143' + chr(0b10010 + 0o135) + chr(100) + chr(0b1000010 + 0o43))(chr(0b1000001 + 0o64) + '\164' + chr(10124 - 10022) + chr(1252 - 1207) + '\x38')]
if FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xc0\xae\xd2\xa4j\n\xba\xa9&7\x06\xa3\x0b\xf8\xa9]'), '\144' + chr(8131 - 8030) + chr(0b1100011) + chr(0b1101010 + 0o5) + chr(0b1100100) + chr(0b100011 + 0o102))(chr(0b1110101) + chr(0b1001001 + 0o53) + chr(0b1100110) + chr(0b101101) + chr(2958 - 2902))] == wQI2PxGBYMEh and roI3spqORKae(ES5oEprVxulp(b'\xe9\x8c\xa0\x9eW.\x9e'), chr(7904 - 7804) + '\x65' + '\x63' + chr(0b1101111) + chr(649 - 549) + chr(101))('\x75' + chr(0b1001001 + 0o53) + chr(102) + '\055' + '\x38') in I810oeGL0u1g:
if HxiDV8eppwOt == nzTpIcepk0o8('\x30' + '\157' + chr(49), 8):
Bsp26ClgjMzc = FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xc8\xbd\xea\xbey0\xbc\xb8;7\x1a\x95\x08\xfc\xaaL\xd9\xadG5\xb3'), chr(100) + '\x65' + chr(99) + chr(5830 - 5719) + chr(100) + chr(471 - 370))(chr(0b1101100 + 0o11) + '\164' + '\146' + '\055' + '\x38')]
HxiDV8eppwOt = nzTpIcepk0o8(chr(1985 - 1937) + '\157' + '\060', 8)
roI3spqORKae(PXtBQz5ampDn, roI3spqORKae(ES5oEprVxulp(b'\xed\x88\xde\xe3b\x08\x9e\xaf!==\xc9'), chr(0b1110 + 0o126) + chr(0b1100101) + chr(99) + '\157' + chr(0b1001100 + 0o30) + chr(0b1100101))('\165' + '\164' + '\x66' + chr(0b101101) + chr(0b0 + 0o70)))(jLW6pRf2DSRk(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xc8\xb9\xec\xa4o\x1d\xbc\xad.<\x1c\xa3\t\xf8\xa6g\xe0\xaaC4\xb2\xcfc\xe9'), chr(0b1100100) + chr(0b1100101) + '\143' + chr(5795 - 5684) + '\x64' + chr(101))(chr(12034 - 11917) + chr(0b1110100) + chr(102) + chr(0b101101) + chr(969 - 913))]))
roI3spqORKae(aTdIVjjsephi, roI3spqORKae(ES5oEprVxulp(b'\xed\x88\xde\xe3b\x08\x9e\xaf!==\xc9'), '\144' + '\x65' + chr(0b1000 + 0o133) + chr(0b1101011 + 0o4) + chr(100) + chr(9486 - 9385))('\x75' + chr(0b1110100) + '\x66' + chr(0b101101) + '\070'))(jLW6pRf2DSRk(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\xc8\xb9\xec\xa4o\x1d\xbc\xad.<\x1c\xa3\x08\xf8\xa3V\xd9\xaeI5\xb3\xfes'), chr(6965 - 6865) + chr(7351 - 7250) + chr(0b1100011) + chr(8682 - 8571) + '\x64' + '\145')(chr(0b1010100 + 0o41) + chr(0b1101110 + 0o6) + '\x66' + '\x2d' + chr(0b10000 + 0o50))]))
if ftfygxgFas5X(TQ0u0KgwFXN5) > nzTpIcepk0o8(chr(0b10110 + 0o32) + chr(0b1001 + 0o146) + chr(994 - 946), 8):
_lPr8X_AFl5v = []
for am4di6GtLqyR in I810oeGL0u1g:
roI3spqORKae(_lPr8X_AFl5v, roI3spqORKae(ES5oEprVxulp(b'\xed\x88\xde\xe3b\x08\x9e\xaf!==\xc9'), chr(100) + chr(0b101101 + 0o70) + chr(0b1100011) + '\x6f' + chr(0b1100100) + '\145')(chr(0b10000 + 0o145) + '\x74' + chr(0b1100110) + chr(96 - 51) + chr(1467 - 1411)))(am4di6GtLqyR)
ux0XlXMUdKbX = Z7HGgmIyegqz.es0Z6dzChSL5(figsize=(nzTpIcepk0o8(chr(0b1 + 0o57) + '\x6f' + '\x31' + chr(0b11010 + 0o26), 45681 - 45673), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b10010 + 0o37) + chr(0b110000), 8)))
(n_FL9vrrf8Wb, vOo_taCyGwkV, JEeA0IL6oDxz, TQ0u0KgwFXN5, EdUu2rnHDaZ1, xWfMoJYcu_up) = sbkDOtoM5IR1(nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(49), 8), TQ0u0KgwFXN5, lY8v4DfEhTNv, wQI2PxGBYMEh)
zKeNdjqvSKqz = ux0XlXMUdKbX.add_subplot(nzTpIcepk0o8(chr(0b101 + 0o53) + chr(111) + chr(50), 8), nzTpIcepk0o8(chr(0b11000 + 0o30) + chr(0b1101111) + chr(1770 - 1720), 8), nzTpIcepk0o8('\060' + chr(0b1101 + 0o142) + '\061', 8))
roI3spqORKae(zKeNdjqvSKqz, roI3spqORKae(ES5oEprVxulp(b'\xc4\xa4\xe5\xbbs\x01\xbc'), '\144' + '\x65' + '\143' + '\157' + '\144' + chr(0b1010010 + 0o23))('\x75' + chr(0b1110100) + chr(9211 - 9109) + '\x2d' + '\x38'))(nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\x30', 8), color=roI3spqORKae(ES5oEprVxulp(b'\xce'), '\x64' + '\145' + '\x63' + '\157' + chr(0b101001 + 0o73) + chr(2852 - 2751))(chr(117) + '\164' + chr(0b1100110) + '\055' + chr(56)))
roI3spqORKae(zKeNdjqvSKqz, roI3spqORKae(ES5oEprVxulp(b'\xc4\xa4\xfb\xbbs\x01\xbc'), chr(0b1100100) + '\145' + chr(99) + chr(0b1101111) + '\144' + '\145')(chr(0b1000000 + 0o65) + chr(334 - 218) + chr(0b1100101 + 0o1) + '\055' + chr(0b111000)))(nzTpIcepk0o8(chr(0b10100 + 0o34) + chr(4642 - 4531) + chr(0b100100 + 0o14), 8), color=roI3spqORKae(ES5oEprVxulp(b'\xce'), '\x64' + '\x65' + chr(99) + chr(6309 - 6198) + chr(0b110 + 0o136) + chr(0b1100001 + 0o4))(chr(0b1110101) + chr(5743 - 5627) + chr(0b0 + 0o146) + chr(45) + '\070'))
roI3spqORKae(zKeNdjqvSKqz, roI3spqORKae(ES5oEprVxulp(b'\xd5\xb0\xe2\xa3'), chr(100) + '\x65' + chr(0b1100011) + chr(111) + '\x64' + '\145')(chr(0b1011001 + 0o34) + chr(0b1110100) + chr(0b1100110) + '\055' + '\070'))(TQ0u0KgwFXN5, EdUu2rnHDaZ1, roI3spqORKae(ES5oEprVxulp(b'\xd7'), '\144' + chr(101) + chr(0b1100011) + '\157' + chr(4970 - 4870) + chr(0b111 + 0o136))(chr(0b1101100 + 0o11) + chr(116) + chr(0b1011001 + 0o15) + chr(45) + chr(0b111000)))
roI3spqORKae(zKeNdjqvSKqz, roI3spqORKae(ES5oEprVxulp(b'\xd5\xb0\xe2\xa3'), chr(7800 - 7700) + '\145' + chr(99) + chr(111) + '\144' + chr(0b1100101))(chr(117) + chr(5733 - 5617) + chr(0b1100110) + '\x2d' + chr(56)))(TQ0u0KgwFXN5, xWfMoJYcu_up, roI3spqORKae(ES5oEprVxulp(b'\xc7'), '\144' + chr(9050 - 8949) + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(0b111000 + 0o55))('\165' + chr(8328 - 8212) + '\146' + chr(0b111 + 0o46) + chr(56)))
roI3spqORKae(zKeNdjqvSKqz, roI3spqORKae(ES5oEprVxulp(b'\xd6\xb9\xf9\x88b\x03\xb8\xa2.>'), '\144' + '\x65' + '\x63' + chr(111) + chr(0b1100100) + chr(6248 - 6147))(chr(0b1110101) + '\164' + chr(0b10100 + 0o122) + chr(45) + '\070'))(roI3spqORKae(ES5oEprVxulp(b'\xe7\xfc\xa5\x833'), chr(100) + '\145' + '\x63' + chr(0b1001100 + 0o43) + chr(6546 - 6446) + chr(101))('\165' + chr(909 - 793) + chr(0b1100110) + chr(0b10010 + 0o33) + chr(0b111000)))
roI3spqORKae(zKeNdjqvSKqz, roI3spqORKae(ES5oEprVxulp(b'\xd6\xb9\xf9\x88c\x03\xb8\xa2.>'), '\x64' + chr(101) + chr(0b1100011) + '\157' + '\144' + chr(8091 - 7990))('\x75' + chr(116) + chr(102) + '\x2d' + chr(0b101010 + 0o16)))(roI3spqORKae(ES5oEprVxulp(b'\xe8\xf3\xc0\xa4{\x1b'), chr(4665 - 4565) + chr(4807 - 4706) + chr(99) + chr(0b1101111) + '\x64' + chr(9539 - 9438))('\165' + '\164' + '\146' + chr(0b101101) + chr(56)))
roI3spqORKae(zKeNdjqvSKqz, roI3spqORKae(ES5oEprVxulp(b'\xd6\xb9\xf9\x88b\x03\xb0\xad'), '\144' + '\x65' + chr(8387 - 8288) + '\x6f' + chr(8848 - 8748) + chr(101))(chr(6447 - 6330) + chr(0b1110100) + chr(0b1100110) + chr(45) + '\070'))(-nzTpIcepk0o8(chr(0b110000) + chr(1090 - 979) + chr(0b110001), 8), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\x31', 8))
roI3spqORKae(zKeNdjqvSKqz, roI3spqORKae(ES5oEprVxulp(b'\xd6\xb9\xf9\x88c\x03\xb0\xad'), chr(0b10101 + 0o117) + '\145' + '\x63' + chr(111) + chr(100) + chr(9588 - 9487))('\165' + chr(0b1110 + 0o146) + chr(102) + chr(0b100010 + 0o13) + chr(0b11011 + 0o35)))(-nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b110001), 8), nzTpIcepk0o8(chr(0b110000 + 0o0) + '\x6f' + '\061', 8))
QUsJCkmxIy8o = zKeNdjqvSKqz.JD902pvyCLH1()
Nz8dcTWNQQ7F = roI3spqORKae(ES5oEprVxulp(b'\xe8\xaf\xb7\xf7'), chr(100) + chr(1292 - 1191) + chr(0b11001 + 0o112) + chr(0b1011111 + 0o20) + chr(0b100 + 0o140) + chr(0b1100101))('\165' + '\x74' + chr(0b1100110) + chr(1997 - 1952) + '\x38') + roI3spqORKae(ES5oEprVxulp(b'\x80\xe4\xa3\xe5\x7f'), chr(0b1100100) + chr(0b111010 + 0o53) + chr(0b1101 + 0o126) + '\x6f' + chr(0b1100100) + chr(0b1000010 + 0o43))(chr(0b1001000 + 0o55) + '\164' + chr(6734 - 6632) + chr(0b110 + 0o47) + chr(56)) % jLW6pRf2DSRk(n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\xcd\xa5\xfe\xa3\x7f\x1d\xbc\xb3"!7\x91\x16\xc6\xa9W\xeb\xa6H,'), chr(4017 - 3917) + chr(0b1100101) + chr(0b1100011) + chr(111) + chr(7796 - 7696) + chr(101))(chr(3252 - 3135) + chr(0b1110100) + '\146' + '\055' + chr(0b10000 + 0o50))]) + roI3spqORKae(ES5oEprVxulp(b'\x85\x9d\xe0\x89('), '\144' + '\x65' + chr(0b1100011) + chr(111) + chr(0b1100100) + chr(0b1001101 + 0o30))('\x75' + chr(1769 - 1653) + chr(0b110 + 0o140) + '\055' + chr(0b110111 + 0o1))
roI3spqORKae(zKeNdjqvSKqz, roI3spqORKae(ES5oEprVxulp(b'\xc6\xac\xde\xa3qX\xba\x99z\x06"\x98'), chr(6436 - 6336) + chr(9337 - 9236) + '\143' + chr(0b10101 + 0o132) + '\x64' + chr(0b1100101))(chr(117) + chr(8363 - 8247) + chr(0b1010 + 0o134) + chr(0b10001 + 0o34) + chr(0b111000)))(QUsJCkmxIy8o[nzTpIcepk0o8('\x30' + '\157' + chr(1253 - 1204), 8)] - 0.9 * QUsJCkmxIy8o[nzTpIcepk0o8('\x30' + '\157' + chr(0b110001), 8)], -0.9, Nz8dcTWNQQ7F, fontsize=nzTpIcepk0o8(chr(663 - 615) + chr(9521 - 9410) + chr(1442 - 1393) + '\061', ord("\x08")))
YYJGqULB4ite = roI3spqORKae(ES5oEprVxulp(b'\xe8\xae\xb7\xf7'), '\x64' + chr(101) + '\x63' + chr(11483 - 11372) + '\144' + chr(0b1100101))(chr(0b1110101) + chr(8011 - 7895) + chr(0b1100110) + '\x2d' + chr(0b101100 + 0o14)) + roI3spqORKae(ES5oEprVxulp(b'\x80\xe4\xa3\xe5\x7f'), '\144' + chr(101) + '\x63' + '\157' + '\144' + chr(0b1000011 + 0o42))(chr(10472 - 10355) + '\164' + chr(0b1100110) + chr(0b0 + 0o55) + chr(56)) % jLW6pRf2DSRk(n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\xcd\xa5\xfe\xa3\x7f\x1d\xbc\xb3"!7\x91\x17\xc6\xa9W\xeb\xa6H,'), '\144' + '\145' + chr(0b110101 + 0o56) + chr(0b1011000 + 0o27) + '\x64' + chr(1053 - 952))(chr(0b111011 + 0o72) + chr(0b1100001 + 0o23) + chr(0b11110 + 0o110) + chr(0b11100 + 0o21) + chr(0b110010 + 0o6))]) + roI3spqORKae(ES5oEprVxulp(b'\x85\x9d\xe0\x89('), '\x64' + chr(3441 - 3340) + '\x63' + '\157' + '\x64' + chr(0b1100101))(chr(0b1100000 + 0o25) + chr(116) + '\146' + '\055' + chr(0b111000))
roI3spqORKae(zKeNdjqvSKqz, roI3spqORKae(ES5oEprVxulp(b'\xc6\xac\xde\xa3qX\xba\x99z\x06"\x98'), '\144' + chr(0b111001 + 0o54) + '\143' + chr(111) + chr(6819 - 6719) + '\145')(chr(2715 - 2598) + chr(10771 - 10655) + chr(102) + '\055' + chr(0b111000)))(QUsJCkmxIy8o[nzTpIcepk0o8('\x30' + '\x6f' + chr(0b101000 + 0o11), 8)] - 0.9 * QUsJCkmxIy8o[nzTpIcepk0o8('\x30' + chr(5505 - 5394) + '\061', 8)], -0.7, YYJGqULB4ite, fontsize=nzTpIcepk0o8(chr(935 - 887) + chr(3254 - 3143) + '\061' + '\x31', 8))
vX1Eq0k9zbZq = roI3spqORKae(ES5oEprVxulp(b'\xe7\xbf\xb7\xf7'), '\144' + chr(101) + chr(0b1000100 + 0o37) + chr(111) + chr(9567 - 9467) + chr(0b11111 + 0o106))(chr(117) + '\164' + '\x66' + '\055' + chr(0b1000 + 0o60)) + roI3spqORKae(ES5oEprVxulp(b'\x80\xe4\xa3\xe5\x7f'), chr(0b1010111 + 0o15) + '\145' + chr(0b100101 + 0o76) + chr(0b1101111) + '\x64' + '\x65')(chr(0b1000100 + 0o61) + chr(7031 - 6915) + '\x66' + chr(0b101101) + chr(56)) % jLW6pRf2DSRk(n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\xcd\xa5\xfe\xa3\x7f\x1d\xbc\xb3"!7\x9e\x06'), chr(0b1010110 + 0o16) + '\145' + '\143' + chr(0b1101111) + '\144' + chr(101))('\x75' + '\x74' + chr(102) + '\055' + '\x38')]) + roI3spqORKae(ES5oEprVxulp(b'\x85\x88'), chr(9476 - 9376) + chr(0b1000 + 0o135) + chr(0b100011 + 0o100) + '\157' + '\144' + '\x65')(chr(0b1110101) + chr(0b1110100) + '\146' + chr(45) + chr(0b1000 + 0o60))
roI3spqORKae(zKeNdjqvSKqz, roI3spqORKae(ES5oEprVxulp(b'\xc6\xac\xde\xa3qX\xba\x99z\x06"\x98'), chr(100) + '\145' + chr(99) + chr(9710 - 9599) + chr(0b1100100 + 0o0) + chr(0b101101 + 0o70))(chr(0b1100000 + 0o25) + '\164' + chr(102) + chr(1161 - 1116) + chr(0b10100 + 0o44)))(QUsJCkmxIy8o[nzTpIcepk0o8(chr(905 - 857) + chr(111) + chr(1065 - 1016), 8)] - 0.9 * QUsJCkmxIy8o[nzTpIcepk0o8(chr(1341 - 1293) + chr(501 - 390) + chr(868 - 819), 8)], -0.5, vX1Eq0k9zbZq, fontsize=nzTpIcepk0o8(chr(359 - 311) + chr(0b1111 + 0o140) + chr(49) + chr(0b110001), 8))
if roI3spqORKae(ES5oEprVxulp(b'\xcd\xa5\xfe\xa3\x7f\x1d\xbc\xb3"!7\x84\r\xff'), chr(0b1100100) + '\x65' + chr(99) + chr(0b1101111) + '\x64' + chr(0b1100101))(chr(117) + '\x74' + chr(0b1100110) + chr(0b1011 + 0o42) + '\070') in H4NoA26ON7iG(roI3spqORKae(n_FL9vrrf8Wb, roI3spqORKae(ES5oEprVxulp(b'\xce\xb9\xf4\xa4'), '\x64' + chr(0b1100101) + chr(99) + chr(5902 - 5791) + chr(7354 - 7254) + '\x65')('\165' + chr(517 - 401) + chr(0b10100 + 0o122) + '\x2d' + chr(56)))()):
ZPstxU0ODsjy = roI3spqORKae(ES5oEprVxulp(b'\xfd\xb4\xeb\xed:'), '\144' + chr(2224 - 2123) + '\143' + chr(111) + chr(0b1100100) + '\145')('\165' + chr(0b111001 + 0o73) + chr(0b1110 + 0o130) + '\055' + '\x38') + roI3spqORKae(ES5oEprVxulp(b'\x80\xe4\xa3\xe5\x7f'), chr(0b1100011 + 0o1) + '\x65' + '\x63' + '\x6f' + '\144' + chr(0b1011010 + 0o13))(chr(0b111001 + 0o74) + chr(0b1101101 + 0o7) + '\146' + chr(0b101101) + chr(56)) % jLW6pRf2DSRk(n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\xcd\xa5\xfe\xa3\x7f\x1d\xbc\xb3"!7\x84\r\xff'), '\x64' + chr(101) + '\143' + '\x6f' + chr(9338 - 9238) + chr(6963 - 6862))('\165' + chr(5254 - 5138) + '\146' + '\055' + chr(0b100111 + 0o21))]) + roI3spqORKae(ES5oEprVxulp(b'\x85\xb1\xd3\xe4'), chr(100) + chr(101) + chr(99) + chr(0b1101111) + chr(0b110010 + 0o62) + '\145')('\x75' + chr(0b1110100) + '\x66' + chr(45) + '\x38')
roI3spqORKae(zKeNdjqvSKqz, roI3spqORKae(ES5oEprVxulp(b'\xc6\xac\xde\xa3qX\xba\x99z\x06"\x98'), chr(100) + '\x65' + chr(0b100010 + 0o101) + '\x6f' + '\144' + chr(0b1000110 + 0o37))('\x75' + '\x74' + '\146' + '\055' + chr(0b110 + 0o62)))(QUsJCkmxIy8o[nzTpIcepk0o8(chr(48) + '\x6f' + '\x31', 8)] - 0.9 * QUsJCkmxIy8o[nzTpIcepk0o8(chr(0b1101 + 0o43) + chr(111) + chr(0b10111 + 0o32), 8)], -0.3, ZPstxU0ODsjy, fontsize=nzTpIcepk0o8('\060' + chr(111) + chr(1898 - 1849) + chr(49), 8))
rucB43R4KF4R = []
C_4SRc8CqtvC = roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(0b1100101) + chr(4990 - 4891) + chr(0b1101111) + chr(0b1100100) + chr(0b1100101))('\165' + '\164' + '\x66' + chr(853 - 808) + '\x38')
for B6UAF1zReOyJ in bbT2xIe5pzk7(nzTpIcepk0o8(chr(0b11011 + 0o25) + '\157' + '\062', 8), ftfygxgFas5X(JEeA0IL6oDxz)):
roI3spqORKae(rucB43R4KF4R, roI3spqORKae(ES5oEprVxulp(b'\xed\x88\xde\xe3b\x08\x9e\xaf!==\xc9'), chr(7257 - 7157) + chr(0b1100101) + '\x63' + chr(0b1000010 + 0o55) + '\x64' + chr(0b1010010 + 0o23))(chr(0b100110 + 0o117) + chr(0b1110100) + chr(0b1100110) + '\x2d' + chr(0b101010 + 0o16)))(SVfYwQaP38MC(zQBGwUT7UU8L(vOo_taCyGwkV[B6UAF1zReOyJ] - vOo_taCyGwkV[B6UAF1zReOyJ - nzTpIcepk0o8('\x30' + chr(111) + chr(675 - 625), 8)]), JEeA0IL6oDxz[B6UAF1zReOyJ] - JEeA0IL6oDxz[B6UAF1zReOyJ - nzTpIcepk0o8('\060' + '\157' + '\x32', 8)]))
for B6UAF1zReOyJ in bbT2xIe5pzk7(ftfygxgFas5X(vOo_taCyGwkV)):
if SVfYwQaP38MC(vOo_taCyGwkV[B6UAF1zReOyJ], vOo_taCyGwkV[nzTpIcepk0o8('\060' + chr(8018 - 7907) + '\060', 8)]) < 0.5:
C_4SRc8CqtvC = B6UAF1zReOyJ
break
try:
sEGWNbD6SvpH = JEeA0IL6oDxz[C_4SRc8CqtvC - nzTpIcepk0o8('\x30' + '\157' + chr(1806 - 1757), 8):C_4SRc8CqtvC + nzTpIcepk0o8(chr(0b11011 + 0o25) + chr(111) + '\061', 8)]
oqM_WHfGjImP = vOo_taCyGwkV[C_4SRc8CqtvC - nzTpIcepk0o8(chr(0b10111 + 0o31) + chr(9194 - 9083) + '\x31', 8):C_4SRc8CqtvC + nzTpIcepk0o8(chr(0b110000) + chr(0b1100100 + 0o13) + chr(0b11100 + 0o25), 8)]
dlT9YcWsoiw_ = tQCGxQqOrFAB(sEGWNbD6SvpH, oqM_WHfGjImP, nzTpIcepk0o8(chr(48) + '\157' + chr(0b110001), 8))
C8f3KJ_LK6sI = SVfYwQaP38MC(0.5 * vOo_taCyGwkV[nzTpIcepk0o8('\x30' + chr(0b111000 + 0o67) + chr(0b100110 + 0o12), 8)] - dlT9YcWsoiw_[nzTpIcepk0o8(chr(48) + chr(0b11001 + 0o126) + chr(0b110001), 8)], dlT9YcWsoiw_[nzTpIcepk0o8(chr(0b110000) + chr(0b1011101 + 0o22) + chr(48), 8)])
n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\xcd\xa5\xfe\xa3\x7f\x1d\xbc\xb3"!7\x9e\x06\xeb'), chr(4025 - 3925) + '\145' + chr(99) + chr(7648 - 7537) + chr(7900 - 7800) + chr(101))(chr(0b1110101) + '\164' + chr(1785 - 1683) + '\x2d' + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\x80\xe4\xa3\xe4\x7f'), '\x64' + '\145' + '\x63' + chr(0b1101111) + chr(3148 - 3048) + chr(6203 - 6102))(chr(0b1100101 + 0o20) + chr(0b100111 + 0o115) + '\146' + chr(0b100000 + 0o15) + chr(0b101000 + 0o20)) % C8f3KJ_LK6sI
n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\xc8\xbd\xea\xbey0\xb4\xa5?:\x07\x98:\xfa\xab\\\xe3\xb0'), chr(4573 - 4473) + chr(0b1100101) + '\x63' + chr(2843 - 2732) + '\144' + chr(101))('\x75' + chr(8910 - 8794) + chr(1582 - 1480) + chr(45) + chr(1806 - 1750))] = roI3spqORKae(ES5oEprVxulp(b'\xe9\x8c\xa0\x95Y=\xf4\x88\x0f\x1f'), '\x64' + chr(0b1100101) + chr(0b1100011) + '\x6f' + '\x64' + chr(0b1100101))(chr(0b1010011 + 0o42) + '\x74' + chr(0b1100110) + chr(0b100000 + 0o15) + chr(0b101000 + 0o20))
if mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b'\xc1\xb9\xe1\xa3{"'), '\x64' + '\x65' + '\143' + chr(0b1101111) + chr(100) + chr(0b10100 + 0o121))(chr(0b1110101) + chr(6584 - 6468) + '\146' + chr(0b100011 + 0o12) + '\070')] != nzTpIcepk0o8('\x30' + chr(10655 - 10544) + chr(0b110000), 8):
PovpLx9Ei7oG = ux0XlXMUdKbX.add_subplot(nzTpIcepk0o8('\x30' + '\x6f' + '\x32', 8), nzTpIcepk0o8('\060' + chr(111) + chr(0b110010), 8), nzTpIcepk0o8('\x30' + '\157' + '\x32', 8))
roI3spqORKae(PovpLx9Ei7oG, roI3spqORKae(ES5oEprVxulp(b'\xd5\xb0\xe2\xa3'), chr(0b110010 + 0o62) + chr(0b1000001 + 0o44) + chr(5192 - 5093) + '\157' + chr(100) + '\145')(chr(0b1110101) + chr(116) + chr(288 - 186) + chr(1580 - 1535) + chr(1317 - 1261)))(JEeA0IL6oDxz, vOo_taCyGwkV, roI3spqORKae(ES5oEprVxulp(b'\xc7'), chr(0b1011000 + 0o14) + chr(261 - 160) + chr(9285 - 9186) + '\157' + '\144' + '\145')('\165' + chr(116) + '\146' + chr(0b101101) + chr(0b100010 + 0o26)))
roI3spqORKae(PovpLx9Ei7oG, roI3spqORKae(ES5oEprVxulp(b'\xd6\xb9\xf9\x88b\x03\xb8\xa2.>'), '\x64' + '\145' + chr(1260 - 1161) + chr(111) + chr(0b100101 + 0o77) + chr(101))(chr(0b1110101) + chr(116) + chr(0b1001110 + 0o30) + chr(1807 - 1762) + chr(417 - 361)))(roI3spqORKae(ES5oEprVxulp(b'\xe7\xfc\xa5\x833'), chr(100) + chr(0b1100101) + chr(6681 - 6582) + chr(2022 - 1911) + chr(0b1011111 + 0o5) + chr(0b1100 + 0o131))(chr(226 - 109) + '\164' + chr(8510 - 8408) + chr(0b101101) + '\x38'))
roI3spqORKae(PovpLx9Ei7oG, roI3spqORKae(ES5oEprVxulp(b'\xd6\xb9\xf9\x88c\x03\xb8\xa2.>'), chr(100) + chr(0b1100101) + '\143' + chr(10710 - 10599) + chr(6222 - 6122) + chr(0b1100101))('\x75' + chr(6350 - 6234) + '\x66' + chr(0b101101) + '\070'))(roI3spqORKae(ES5oEprVxulp(b'\xe1\xb9\xe1\xa3{O\x94'), '\x64' + '\x65' + chr(99) + chr(0b1101111) + '\x64' + '\x65')(chr(5925 - 5808) + '\x74' + chr(0b1010101 + 0o21) + '\x2d' + '\x38'))
G0C0k0OMyhIh = [nzTpIcepk0o8(chr(48) + chr(10326 - 10215) + chr(1489 - 1441), 8), C8f3KJ_LK6sI, C8f3KJ_LK6sI]
LYOvljAA0pnv = [SVfYwQaP38MC(vOo_taCyGwkV[nzTpIcepk0o8('\060' + '\157' + chr(0b110000), 8)], 2.0), SVfYwQaP38MC(vOo_taCyGwkV[nzTpIcepk0o8(chr(1699 - 1651) + chr(111) + chr(48), 8)], 2.0), nzTpIcepk0o8(chr(2216 - 2168) + chr(0b1011111 + 0o20) + '\x30', 8)]
roI3spqORKae(PovpLx9Ei7oG, roI3spqORKae(ES5oEprVxulp(b'\xd5\xb0\xe2\xa3'), chr(100) + chr(2814 - 2713) + '\143' + chr(111) + chr(1644 - 1544) + '\145')(chr(0b1110101) + chr(6851 - 6735) + chr(0b1100110) + chr(1009 - 964) + chr(0b111000)))(G0C0k0OMyhIh, LYOvljAA0pnv, roI3spqORKae(ES5oEprVxulp(b'\xd7'), chr(0b1100100) + chr(0b1100101) + '\143' + chr(111) + chr(100) + chr(0b1100101))(chr(117) + chr(1562 - 1446) + '\x66' + chr(45) + chr(0b101011 + 0o15)))
kLCgYOR0wWvU = ux0XlXMUdKbX.add_subplot(nzTpIcepk0o8(chr(48) + '\157' + chr(0b1 + 0o61), 8), nzTpIcepk0o8('\x30' + chr(0b100100 + 0o113) + chr(0b110010), 8), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b110011), 8))
roI3spqORKae(kLCgYOR0wWvU, roI3spqORKae(ES5oEprVxulp(b'\xd5\xb0\xe2\xa3'), '\144' + chr(101) + '\x63' + chr(6797 - 6686) + chr(0b1100100) + chr(5043 - 4942))('\x75' + '\164' + chr(0b1001000 + 0o36) + '\055' + '\070'))(JEeA0IL6oDxz[ftfygxgFas5X(JEeA0IL6oDxz) - ftfygxgFas5X(rucB43R4KF4R):], rucB43R4KF4R, roI3spqORKae(ES5oEprVxulp(b'\xc7'), chr(0b110010 + 0o62) + chr(0b1111 + 0o126) + chr(0b1001001 + 0o32) + '\157' + chr(0b1100100) + '\x65')(chr(9596 - 9479) + chr(0b1110100) + chr(0b1100110) + '\x2d' + '\x38'))
roI3spqORKae(kLCgYOR0wWvU, roI3spqORKae(ES5oEprVxulp(b'\xd6\xb9\xf9\x88b\x03\xb8\xa2.>'), '\x64' + chr(10084 - 9983) + chr(9559 - 9460) + '\x6f' + chr(100) + '\x65')('\165' + '\x74' + chr(102) + chr(45) + chr(56)))(roI3spqORKae(ES5oEprVxulp(b'\xe7\xfc\xa5\x833'), chr(0b111110 + 0o46) + '\145' + chr(0b1100011) + chr(111) + chr(1878 - 1778) + chr(101))(chr(117) + '\x74' + chr(0b100101 + 0o101) + chr(762 - 717) + chr(56)))
roI3spqORKae(kLCgYOR0wWvU, roI3spqORKae(ES5oEprVxulp(b'\xd6\xb9\xf9\x88c\x03\xb8\xa2.>'), chr(8396 - 8296) + chr(7097 - 6996) + chr(99) + chr(111) + '\x64' + chr(0b1001000 + 0o35))(chr(339 - 222) + '\164' + chr(2126 - 2024) + chr(1548 - 1503) + '\070'))(roI3spqORKae(ES5oEprVxulp(b'\xc1\xfc\xa5\x93\x7f\x03\xad\xa1k\x1fA\xd3\x01\xdb'), '\x64' + chr(0b111111 + 0o46) + '\143' + chr(3727 - 3616) + chr(100) + chr(0b1100101))('\165' + chr(0b10111 + 0o135) + chr(0b1001010 + 0o34) + chr(45) + chr(0b11111 + 0o31)))
lCQkXOPG4qNw = ux0XlXMUdKbX.add_subplot(nzTpIcepk0o8(chr(0b110000) + chr(5029 - 4918) + chr(50), 8), nzTpIcepk0o8('\x30' + '\157' + chr(0b110010), 8), nzTpIcepk0o8(chr(1426 - 1378) + '\157' + chr(0b1010 + 0o52), 50082 - 50074))
roI3spqORKae(lCQkXOPG4qNw, roI3spqORKae(ES5oEprVxulp(b'\xd5\xb0\xe2\xa3'), '\x64' + '\x65' + '\x63' + chr(9771 - 9660) + chr(0b11 + 0o141) + chr(0b11111 + 0o106))('\x75' + chr(0b1110100) + chr(9190 - 9088) + chr(0b1100 + 0o41) + '\070'))(RpftP1fBhfme, DTbUnZUJTfRp)
roI3spqORKae(lCQkXOPG4qNw.yaxis, roI3spqORKae(ES5oEprVxulp(b'\xd6\xb9\xf9\x88w\x0e\xb3\xaf9\r\x0e\x93\x17\xf4\xa5L\xf2\xa6T'), chr(9707 - 9607) + chr(101) + '\x63' + chr(12081 - 11970) + chr(100) + chr(101))('\x75' + chr(4164 - 4048) + '\x66' + '\055' + chr(0b100010 + 0o26)))(roI3spqORKae(NaPYR2QRmrS6, roI3spqORKae(ES5oEprVxulp(b'\xe3\xb3\xff\xba{\x1b\x8a\xb49\x14\x07\x8e\x08\xf8\xb0L\xe3\xb1'), chr(0b100000 + 0o104) + chr(0b1100101) + '\143' + chr(0b1101111) + '\144' + chr(101))('\165' + chr(0b1100111 + 0o15) + chr(0b10111 + 0o117) + '\x2d' + chr(56)))(roI3spqORKae(ES5oEprVxulp(b'\x80\xf2\xbf\xb2'), chr(5682 - 5582) + chr(0b11010 + 0o113) + chr(0b1100011) + chr(111) + chr(0b1100100) + chr(9225 - 9124))(chr(117) + chr(0b1001011 + 0o51) + '\x66' + '\055' + chr(0b111000))))
roI3spqORKae(lCQkXOPG4qNw, roI3spqORKae(ES5oEprVxulp(b'\xc4\xa4\xe5\xbbs\x01\xbc'), chr(4502 - 4402) + chr(6137 - 6036) + chr(99) + '\x6f' + chr(100) + chr(8655 - 8554))(chr(0b10011 + 0o142) + chr(0b100110 + 0o116) + chr(9610 - 9508) + chr(1243 - 1198) + chr(0b11010 + 0o36)))(nzTpIcepk0o8(chr(507 - 459) + chr(0b1101111) + chr(48), 8), color=roI3spqORKae(ES5oEprVxulp(b'\xce'), '\x64' + chr(0b1100101) + chr(0b11 + 0o140) + chr(11887 - 11776) + chr(0b1000010 + 0o42) + '\x65')(chr(117) + '\164' + '\x66' + chr(0b101101) + '\x38'))
roI3spqORKae(lCQkXOPG4qNw, roI3spqORKae(ES5oEprVxulp(b'\xc4\xa4\xfb\xbbs\x01\xbc'), chr(0b100011 + 0o101) + chr(0b1100101) + chr(99) + '\157' + chr(100) + chr(101))(chr(2837 - 2720) + chr(3147 - 3031) + chr(5360 - 5258) + chr(0b101001 + 0o4) + chr(0b100011 + 0o25)))(nzTpIcepk0o8('\060' + chr(111) + '\060', 8), color=roI3spqORKae(ES5oEprVxulp(b'\xce'), chr(0b10011 + 0o121) + '\145' + chr(0b1001 + 0o132) + chr(111) + '\x64' + '\x65')(chr(0b10000 + 0o145) + chr(0b1110100) + chr(1858 - 1756) + chr(0b11010 + 0o23) + chr(56)))
roI3spqORKae(lCQkXOPG4qNw, roI3spqORKae(ES5oEprVxulp(b'\xd6\xb9\xf9\x88b\x03\xb8\xa2.>'), chr(100) + '\145' + '\143' + chr(0b1101111) + chr(0b1010101 + 0o17) + chr(101))(chr(0b1110101) + '\164' + chr(102) + chr(1383 - 1338) + '\x38'))(roI3spqORKae(ES5oEprVxulp(b'\xe7\xfc\xa5\x833'), chr(0b100101 + 0o77) + chr(101) + chr(0b1100011) + chr(8492 - 8381) + '\x64' + chr(9967 - 9866))('\x75' + chr(0b1110100) + chr(0b1100110) + chr(0b1000 + 0o45) + chr(56)))
roI3spqORKae(lCQkXOPG4qNw, roI3spqORKae(ES5oEprVxulp(b'\xd6\xb9\xf9\x88c\x03\xb8\xa2.>'), chr(0b11111 + 0o105) + '\x65' + chr(0b1100011) + chr(2541 - 2430) + chr(0b1011 + 0o131) + '\x65')(chr(0b1100101 + 0o20) + '\x74' + '\146' + chr(0b11100 + 0o21) + '\070'))(roI3spqORKae(ES5oEprVxulp(b'\xe8\xf3\xc0\xa5'), '\144' + '\x65' + chr(0b1000001 + 0o42) + chr(0b1101111) + chr(0b1100100) + chr(3119 - 3018))(chr(117) + '\164' + chr(1343 - 1241) + chr(0b101101) + chr(56)))
except UtiWT6f6p9yZ:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xcb\xb3\xf9\xf7~\x00\xb0\xae,r\x01\x88'), chr(0b1100100) + chr(3841 - 3740) + '\143' + chr(11090 - 10979) + '\x64' + chr(0b1100101))('\x75' + chr(116) + chr(0b0 + 0o146) + chr(0b101101) + '\x38'))
n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\xcd\xa5\xfe\xa3\x7f\x1d\xbc\xb3"!7\x9e\x06\xeb'), '\144' + '\x65' + chr(9492 - 9393) + chr(0b110011 + 0o74) + chr(0b1100100) + chr(0b11 + 0o142))(chr(11461 - 11344) + chr(116) + '\146' + chr(476 - 431) + chr(0b1010 + 0o56))] = roI3spqORKae(ES5oEprVxulp(b'\x95'), '\144' + chr(101) + '\143' + '\157' + chr(3776 - 3676) + '\145')(chr(2350 - 2233) + chr(0b1110100) + chr(0b1100110) + chr(0b10100 + 0o31) + chr(56))
n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\xc8\xbd\xea\xbey0\xb4\xa5?:\x07\x98:\xfa\xab\\\xe3\xb0'), '\x64' + chr(3574 - 3473) + chr(99) + chr(0b1101111) + chr(100) + '\x65')(chr(117) + '\x74' + '\x66' + chr(1512 - 1467) + chr(56))] = roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(0b1100101) + chr(99) + chr(642 - 531) + '\144' + chr(0b1100101))(chr(3698 - 3581) + chr(0b1110100) + chr(0b1100110) + chr(1970 - 1925) + chr(1743 - 1687))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\xc2\xbf\xeb'), '\144' + chr(101) + chr(0b1011010 + 0o11) + chr(11370 - 11259) + '\x64' + '\145')(chr(12003 - 11886) + '\164' + chr(1264 - 1162) + '\x2d' + '\x38'))()
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\xf7\xb0\xe2\x95U6\xe8\x8a\x7f\n-\xad'), chr(100) + chr(0b1100101) + '\143' + '\157' + '\x64' + '\145')('\165' + '\164' + chr(102) + '\x2d' + chr(56)))()
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\xd1\xb5\xea\xbfn0\xb5\xa12=\x1d\x88'), chr(2885 - 2785) + chr(0b1100101) + chr(99) + '\157' + chr(0b1100100) + '\145')('\x75' + '\x74' + chr(102) + '\055' + '\x38'))()
if mwgZMvWSpAHg:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\xd6\xbd\xfb\xb2|\x06\xbe'), chr(8080 - 7980) + chr(101) + chr(0b1100011) + chr(0b1001011 + 0o44) + chr(2245 - 2145) + '\x65')(chr(0b1110101) + '\164' + '\x66' + '\x2d' + chr(0b110 + 0o62)))(S_yV4Ytx3yb1 + roI3spqORKae(ES5oEprVxulp(b'\x8a'), '\144' + '\145' + chr(99) + '\x6f' + '\x64' + '\x65')(chr(0b1110101) + chr(116) + chr(6536 - 6434) + '\055' + chr(0b111000)) + wQI2PxGBYMEh + roI3spqORKae(ES5oEprVxulp(b'\xfa\xb4\xf4\xa4n\n\xab\xa58;\x1b\xd2'), '\144' + chr(101) + chr(99) + chr(0b1101111) + '\144' + '\x65')(chr(117) + '\x74' + chr(0b1000111 + 0o37) + chr(1000 - 955) + chr(0b111000)) + JummcHpaNLEw)
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b"\xc3\x8b\xc8\xba\x7f'\x8e\xb4\x14\r$\x86"), chr(0b11000 + 0o114) + '\x65' + chr(99) + chr(0b1011000 + 0o27) + '\x64' + chr(0b1010001 + 0o24))(chr(0b1101111 + 0o6) + chr(0b1110100) + chr(0b1100110) + chr(0b101101 + 0o0) + chr(0b11010 + 0o36)))()
prCEaCeB8FOy += nzTpIcepk0o8(chr(48) + '\157' + chr(49), 8)
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
find_ei
|
def find_ei(data, nb=1000, save=False, save_folder='.', fmt='svg',
site_correction=False, return_new_dirs=False):
"""
Applies series of assumed flattening factor and "unsquishes" inclinations assuming tangent function.
Finds flattening factor that gives elongation/inclination pair consistent with TK03;
or, if correcting by site instead of for study-level secular variation,
finds flattening factor that minimizes elongation and most resembles a
Fisherian distribution.
Finds bootstrap confidence bounds
Required Parameter
-----------
data: a nested list of dec/inc pairs
Optional Parameters (defaults are used unless specified)
-----------
nb: number of bootstrapped pseudo-samples (default is 1000)
save: Boolean argument to save plots (default is False)
save_folder: path to folder in which plots should be saved (default is current directory)
fmt: specify format of saved plots (default is 'svg')
site_correction: Boolean argument to specify whether to "unsquish" data to
1) the elongation/inclination pair consistent with TK03 secular variation model
(site_correction = False)
or
2) a Fisherian distribution (site_correction = True). Default is FALSE.
Note that many directions (~ 100) are needed for this correction to be reliable.
return_new_dirs: optional return of newly "unflattened" directions (default is False)
Returns
-----------
four plots: 1) equal area plot of original directions
2) Elongation/inclination pairs as a function of f, data plus 25 bootstrap samples
3) Cumulative distribution of bootstrapped optimal inclinations plus uncertainties.
Estimate from original data set plotted as solid line
4) Orientation of principle direction through unflattening
NOTE: If distribution does not have a solution, plot labeled: Pathological. Some bootstrap samples may have
valid solutions and those are plotted in the CDFs and E/I plot.
"""
print("Bootstrapping.... be patient")
print("")
sys.stdout.flush()
upper, lower = int(round(.975 * nb)), int(round(.025 * nb))
E, I = [], []
plt.figure(num=1, figsize=(4, 4))
plot_net(1)
plot_di(di_block=data)
plt.title('Original')
ppars = pmag.doprinc(data)
Io = ppars['inc']
n = ppars["N"]
Es, Is, Fs, V2s = pmag.find_f(data)
if site_correction == True:
Inc, Elong = Is[Es.index(min(Es))], Es[Es.index(min(Es))]
flat_f = Fs[Es.index(min(Es))]
else:
Inc, Elong = Is[-1], Es[-1]
flat_f = Fs[-1]
plt.figure(num=2, figsize=(4, 4))
plt.plot(Is, Es, 'r')
plt.xlabel("Inclination")
plt.ylabel("Elongation")
plt.text(Inc, Elong, ' %3.1f' % (flat_f))
plt.text(Is[0] - 2, Es[0], ' %s' % ('f=1'))
b = 0
while b < nb:
bdata = pmag.pseudo(data)
Esb, Isb, Fsb, V2sb = pmag.find_f(bdata)
if b < 25:
plt.plot(Isb, Esb, 'y')
if Esb[-1] != 0:
ppars = pmag.doprinc(bdata)
if site_correction == True:
I.append(abs(Isb[Esb.index(min(Esb))]))
E.append(Esb[Esb.index(min(Esb))])
else:
I.append(abs(Isb[-1]))
E.append(Esb[-1])
b += 1
I.sort()
E.sort()
Eexp = []
for i in I:
Eexp.append(pmag.EI(i))
plt.plot(I, Eexp, 'g-')
if Inc == 0:
title = 'Pathological Distribution: ' + \
'[%7.1f, %7.1f]' % (I[lower], I[upper])
else:
title = '%7.1f [%7.1f, %7.1f]' % (Inc, I[lower], I[upper])
cdf_fig_num = 3
plt.figure(num=cdf_fig_num, figsize=(4, 4))
pmagplotlib.plot_cdf(cdf_fig_num, I, 'Inclinations', 'r', title)
pmagplotlib.plot_vs(cdf_fig_num, [I[lower], I[upper]], 'b', '--')
pmagplotlib.plot_vs(cdf_fig_num, [Inc], 'g', '-')
pmagplotlib.plot_vs(cdf_fig_num, [Io], 'k', '-')
# plot corrected directional data
di_lists = unpack_di_block(data)
if len(di_lists) == 3:
decs, incs, intensity = di_lists
if len(di_lists) == 2:
decs, incs = di_lists
if flat_f:
unsquished_incs = unsquish(incs, flat_f)
plt.figure(num=4, figsize=(4, 4))
plot_net(4)
plot_di(decs, unsquished_incs)
plt.title('Corrected for flattening')
else:
plt.figure(num=4, figsize=(4, 4))
plot_net(4)
plot_di(decs, incs)
plt.title('Corrected for flattening')
if (Inc, Elong, flat_f) == (0, 0, 0):
print("PATHOLOGICAL DISTRIBUTION")
print("The original inclination was: " + str(Io))
print("")
print("The corrected inclination is: " + str(Inc))
print("with bootstrapped confidence bounds of: " +
str(I[lower]) + ' to ' + str(I[upper]))
print("and elongation parameter of: " + str(Elong))
print("The flattening factor is: " + str(flat_f))
if return_new_dirs is True:
return make_di_block(decs, unsquished_incs)
|
python
|
def find_ei(data, nb=1000, save=False, save_folder='.', fmt='svg',
site_correction=False, return_new_dirs=False):
"""
Applies series of assumed flattening factor and "unsquishes" inclinations assuming tangent function.
Finds flattening factor that gives elongation/inclination pair consistent with TK03;
or, if correcting by site instead of for study-level secular variation,
finds flattening factor that minimizes elongation and most resembles a
Fisherian distribution.
Finds bootstrap confidence bounds
Required Parameter
-----------
data: a nested list of dec/inc pairs
Optional Parameters (defaults are used unless specified)
-----------
nb: number of bootstrapped pseudo-samples (default is 1000)
save: Boolean argument to save plots (default is False)
save_folder: path to folder in which plots should be saved (default is current directory)
fmt: specify format of saved plots (default is 'svg')
site_correction: Boolean argument to specify whether to "unsquish" data to
1) the elongation/inclination pair consistent with TK03 secular variation model
(site_correction = False)
or
2) a Fisherian distribution (site_correction = True). Default is FALSE.
Note that many directions (~ 100) are needed for this correction to be reliable.
return_new_dirs: optional return of newly "unflattened" directions (default is False)
Returns
-----------
four plots: 1) equal area plot of original directions
2) Elongation/inclination pairs as a function of f, data plus 25 bootstrap samples
3) Cumulative distribution of bootstrapped optimal inclinations plus uncertainties.
Estimate from original data set plotted as solid line
4) Orientation of principle direction through unflattening
NOTE: If distribution does not have a solution, plot labeled: Pathological. Some bootstrap samples may have
valid solutions and those are plotted in the CDFs and E/I plot.
"""
print("Bootstrapping.... be patient")
print("")
sys.stdout.flush()
upper, lower = int(round(.975 * nb)), int(round(.025 * nb))
E, I = [], []
plt.figure(num=1, figsize=(4, 4))
plot_net(1)
plot_di(di_block=data)
plt.title('Original')
ppars = pmag.doprinc(data)
Io = ppars['inc']
n = ppars["N"]
Es, Is, Fs, V2s = pmag.find_f(data)
if site_correction == True:
Inc, Elong = Is[Es.index(min(Es))], Es[Es.index(min(Es))]
flat_f = Fs[Es.index(min(Es))]
else:
Inc, Elong = Is[-1], Es[-1]
flat_f = Fs[-1]
plt.figure(num=2, figsize=(4, 4))
plt.plot(Is, Es, 'r')
plt.xlabel("Inclination")
plt.ylabel("Elongation")
plt.text(Inc, Elong, ' %3.1f' % (flat_f))
plt.text(Is[0] - 2, Es[0], ' %s' % ('f=1'))
b = 0
while b < nb:
bdata = pmag.pseudo(data)
Esb, Isb, Fsb, V2sb = pmag.find_f(bdata)
if b < 25:
plt.plot(Isb, Esb, 'y')
if Esb[-1] != 0:
ppars = pmag.doprinc(bdata)
if site_correction == True:
I.append(abs(Isb[Esb.index(min(Esb))]))
E.append(Esb[Esb.index(min(Esb))])
else:
I.append(abs(Isb[-1]))
E.append(Esb[-1])
b += 1
I.sort()
E.sort()
Eexp = []
for i in I:
Eexp.append(pmag.EI(i))
plt.plot(I, Eexp, 'g-')
if Inc == 0:
title = 'Pathological Distribution: ' + \
'[%7.1f, %7.1f]' % (I[lower], I[upper])
else:
title = '%7.1f [%7.1f, %7.1f]' % (Inc, I[lower], I[upper])
cdf_fig_num = 3
plt.figure(num=cdf_fig_num, figsize=(4, 4))
pmagplotlib.plot_cdf(cdf_fig_num, I, 'Inclinations', 'r', title)
pmagplotlib.plot_vs(cdf_fig_num, [I[lower], I[upper]], 'b', '--')
pmagplotlib.plot_vs(cdf_fig_num, [Inc], 'g', '-')
pmagplotlib.plot_vs(cdf_fig_num, [Io], 'k', '-')
# plot corrected directional data
di_lists = unpack_di_block(data)
if len(di_lists) == 3:
decs, incs, intensity = di_lists
if len(di_lists) == 2:
decs, incs = di_lists
if flat_f:
unsquished_incs = unsquish(incs, flat_f)
plt.figure(num=4, figsize=(4, 4))
plot_net(4)
plot_di(decs, unsquished_incs)
plt.title('Corrected for flattening')
else:
plt.figure(num=4, figsize=(4, 4))
plot_net(4)
plot_di(decs, incs)
plt.title('Corrected for flattening')
if (Inc, Elong, flat_f) == (0, 0, 0):
print("PATHOLOGICAL DISTRIBUTION")
print("The original inclination was: " + str(Io))
print("")
print("The corrected inclination is: " + str(Inc))
print("with bootstrapped confidence bounds of: " +
str(I[lower]) + ' to ' + str(I[upper]))
print("and elongation parameter of: " + str(Elong))
print("The flattening factor is: " + str(flat_f))
if return_new_dirs is True:
return make_di_block(decs, unsquished_incs)
|
[
"def",
"find_ei",
"(",
"data",
",",
"nb",
"=",
"1000",
",",
"save",
"=",
"False",
",",
"save_folder",
"=",
"'.'",
",",
"fmt",
"=",
"'svg'",
",",
"site_correction",
"=",
"False",
",",
"return_new_dirs",
"=",
"False",
")",
":",
"print",
"(",
"\"Bootstrapping.... be patient\"",
")",
"print",
"(",
"\"\"",
")",
"sys",
".",
"stdout",
".",
"flush",
"(",
")",
"upper",
",",
"lower",
"=",
"int",
"(",
"round",
"(",
".975",
"*",
"nb",
")",
")",
",",
"int",
"(",
"round",
"(",
".025",
"*",
"nb",
")",
")",
"E",
",",
"I",
"=",
"[",
"]",
",",
"[",
"]",
"plt",
".",
"figure",
"(",
"num",
"=",
"1",
",",
"figsize",
"=",
"(",
"4",
",",
"4",
")",
")",
"plot_net",
"(",
"1",
")",
"plot_di",
"(",
"di_block",
"=",
"data",
")",
"plt",
".",
"title",
"(",
"'Original'",
")",
"ppars",
"=",
"pmag",
".",
"doprinc",
"(",
"data",
")",
"Io",
"=",
"ppars",
"[",
"'inc'",
"]",
"n",
"=",
"ppars",
"[",
"\"N\"",
"]",
"Es",
",",
"Is",
",",
"Fs",
",",
"V2s",
"=",
"pmag",
".",
"find_f",
"(",
"data",
")",
"if",
"site_correction",
"==",
"True",
":",
"Inc",
",",
"Elong",
"=",
"Is",
"[",
"Es",
".",
"index",
"(",
"min",
"(",
"Es",
")",
")",
"]",
",",
"Es",
"[",
"Es",
".",
"index",
"(",
"min",
"(",
"Es",
")",
")",
"]",
"flat_f",
"=",
"Fs",
"[",
"Es",
".",
"index",
"(",
"min",
"(",
"Es",
")",
")",
"]",
"else",
":",
"Inc",
",",
"Elong",
"=",
"Is",
"[",
"-",
"1",
"]",
",",
"Es",
"[",
"-",
"1",
"]",
"flat_f",
"=",
"Fs",
"[",
"-",
"1",
"]",
"plt",
".",
"figure",
"(",
"num",
"=",
"2",
",",
"figsize",
"=",
"(",
"4",
",",
"4",
")",
")",
"plt",
".",
"plot",
"(",
"Is",
",",
"Es",
",",
"'r'",
")",
"plt",
".",
"xlabel",
"(",
"\"Inclination\"",
")",
"plt",
".",
"ylabel",
"(",
"\"Elongation\"",
")",
"plt",
".",
"text",
"(",
"Inc",
",",
"Elong",
",",
"' %3.1f'",
"%",
"(",
"flat_f",
")",
")",
"plt",
".",
"text",
"(",
"Is",
"[",
"0",
"]",
"-",
"2",
",",
"Es",
"[",
"0",
"]",
",",
"' %s'",
"%",
"(",
"'f=1'",
")",
")",
"b",
"=",
"0",
"while",
"b",
"<",
"nb",
":",
"bdata",
"=",
"pmag",
".",
"pseudo",
"(",
"data",
")",
"Esb",
",",
"Isb",
",",
"Fsb",
",",
"V2sb",
"=",
"pmag",
".",
"find_f",
"(",
"bdata",
")",
"if",
"b",
"<",
"25",
":",
"plt",
".",
"plot",
"(",
"Isb",
",",
"Esb",
",",
"'y'",
")",
"if",
"Esb",
"[",
"-",
"1",
"]",
"!=",
"0",
":",
"ppars",
"=",
"pmag",
".",
"doprinc",
"(",
"bdata",
")",
"if",
"site_correction",
"==",
"True",
":",
"I",
".",
"append",
"(",
"abs",
"(",
"Isb",
"[",
"Esb",
".",
"index",
"(",
"min",
"(",
"Esb",
")",
")",
"]",
")",
")",
"E",
".",
"append",
"(",
"Esb",
"[",
"Esb",
".",
"index",
"(",
"min",
"(",
"Esb",
")",
")",
"]",
")",
"else",
":",
"I",
".",
"append",
"(",
"abs",
"(",
"Isb",
"[",
"-",
"1",
"]",
")",
")",
"E",
".",
"append",
"(",
"Esb",
"[",
"-",
"1",
"]",
")",
"b",
"+=",
"1",
"I",
".",
"sort",
"(",
")",
"E",
".",
"sort",
"(",
")",
"Eexp",
"=",
"[",
"]",
"for",
"i",
"in",
"I",
":",
"Eexp",
".",
"append",
"(",
"pmag",
".",
"EI",
"(",
"i",
")",
")",
"plt",
".",
"plot",
"(",
"I",
",",
"Eexp",
",",
"'g-'",
")",
"if",
"Inc",
"==",
"0",
":",
"title",
"=",
"'Pathological Distribution: '",
"+",
"'[%7.1f, %7.1f]'",
"%",
"(",
"I",
"[",
"lower",
"]",
",",
"I",
"[",
"upper",
"]",
")",
"else",
":",
"title",
"=",
"'%7.1f [%7.1f, %7.1f]'",
"%",
"(",
"Inc",
",",
"I",
"[",
"lower",
"]",
",",
"I",
"[",
"upper",
"]",
")",
"cdf_fig_num",
"=",
"3",
"plt",
".",
"figure",
"(",
"num",
"=",
"cdf_fig_num",
",",
"figsize",
"=",
"(",
"4",
",",
"4",
")",
")",
"pmagplotlib",
".",
"plot_cdf",
"(",
"cdf_fig_num",
",",
"I",
",",
"'Inclinations'",
",",
"'r'",
",",
"title",
")",
"pmagplotlib",
".",
"plot_vs",
"(",
"cdf_fig_num",
",",
"[",
"I",
"[",
"lower",
"]",
",",
"I",
"[",
"upper",
"]",
"]",
",",
"'b'",
",",
"'--'",
")",
"pmagplotlib",
".",
"plot_vs",
"(",
"cdf_fig_num",
",",
"[",
"Inc",
"]",
",",
"'g'",
",",
"'-'",
")",
"pmagplotlib",
".",
"plot_vs",
"(",
"cdf_fig_num",
",",
"[",
"Io",
"]",
",",
"'k'",
",",
"'-'",
")",
"# plot corrected directional data",
"di_lists",
"=",
"unpack_di_block",
"(",
"data",
")",
"if",
"len",
"(",
"di_lists",
")",
"==",
"3",
":",
"decs",
",",
"incs",
",",
"intensity",
"=",
"di_lists",
"if",
"len",
"(",
"di_lists",
")",
"==",
"2",
":",
"decs",
",",
"incs",
"=",
"di_lists",
"if",
"flat_f",
":",
"unsquished_incs",
"=",
"unsquish",
"(",
"incs",
",",
"flat_f",
")",
"plt",
".",
"figure",
"(",
"num",
"=",
"4",
",",
"figsize",
"=",
"(",
"4",
",",
"4",
")",
")",
"plot_net",
"(",
"4",
")",
"plot_di",
"(",
"decs",
",",
"unsquished_incs",
")",
"plt",
".",
"title",
"(",
"'Corrected for flattening'",
")",
"else",
":",
"plt",
".",
"figure",
"(",
"num",
"=",
"4",
",",
"figsize",
"=",
"(",
"4",
",",
"4",
")",
")",
"plot_net",
"(",
"4",
")",
"plot_di",
"(",
"decs",
",",
"incs",
")",
"plt",
".",
"title",
"(",
"'Corrected for flattening'",
")",
"if",
"(",
"Inc",
",",
"Elong",
",",
"flat_f",
")",
"==",
"(",
"0",
",",
"0",
",",
"0",
")",
":",
"print",
"(",
"\"PATHOLOGICAL DISTRIBUTION\"",
")",
"print",
"(",
"\"The original inclination was: \"",
"+",
"str",
"(",
"Io",
")",
")",
"print",
"(",
"\"\"",
")",
"print",
"(",
"\"The corrected inclination is: \"",
"+",
"str",
"(",
"Inc",
")",
")",
"print",
"(",
"\"with bootstrapped confidence bounds of: \"",
"+",
"str",
"(",
"I",
"[",
"lower",
"]",
")",
"+",
"' to '",
"+",
"str",
"(",
"I",
"[",
"upper",
"]",
")",
")",
"print",
"(",
"\"and elongation parameter of: \"",
"+",
"str",
"(",
"Elong",
")",
")",
"print",
"(",
"\"The flattening factor is: \"",
"+",
"str",
"(",
"flat_f",
")",
")",
"if",
"return_new_dirs",
"is",
"True",
":",
"return",
"make_di_block",
"(",
"decs",
",",
"unsquished_incs",
")"
] |
Applies series of assumed flattening factor and "unsquishes" inclinations assuming tangent function.
Finds flattening factor that gives elongation/inclination pair consistent with TK03;
or, if correcting by site instead of for study-level secular variation,
finds flattening factor that minimizes elongation and most resembles a
Fisherian distribution.
Finds bootstrap confidence bounds
Required Parameter
-----------
data: a nested list of dec/inc pairs
Optional Parameters (defaults are used unless specified)
-----------
nb: number of bootstrapped pseudo-samples (default is 1000)
save: Boolean argument to save plots (default is False)
save_folder: path to folder in which plots should be saved (default is current directory)
fmt: specify format of saved plots (default is 'svg')
site_correction: Boolean argument to specify whether to "unsquish" data to
1) the elongation/inclination pair consistent with TK03 secular variation model
(site_correction = False)
or
2) a Fisherian distribution (site_correction = True). Default is FALSE.
Note that many directions (~ 100) are needed for this correction to be reliable.
return_new_dirs: optional return of newly "unflattened" directions (default is False)
Returns
-----------
four plots: 1) equal area plot of original directions
2) Elongation/inclination pairs as a function of f, data plus 25 bootstrap samples
3) Cumulative distribution of bootstrapped optimal inclinations plus uncertainties.
Estimate from original data set plotted as solid line
4) Orientation of principle direction through unflattening
NOTE: If distribution does not have a solution, plot labeled: Pathological. Some bootstrap samples may have
valid solutions and those are plotted in the CDFs and E/I plot.
|
[
"Applies",
"series",
"of",
"assumed",
"flattening",
"factor",
"and",
"unsquishes",
"inclinations",
"assuming",
"tangent",
"function",
".",
"Finds",
"flattening",
"factor",
"that",
"gives",
"elongation",
"/",
"inclination",
"pair",
"consistent",
"with",
"TK03",
";",
"or",
"if",
"correcting",
"by",
"site",
"instead",
"of",
"for",
"study",
"-",
"level",
"secular",
"variation",
"finds",
"flattening",
"factor",
"that",
"minimizes",
"elongation",
"and",
"most",
"resembles",
"a",
"Fisherian",
"distribution",
".",
"Finds",
"bootstrap",
"confidence",
"bounds"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L7929-L8062
|
train
|
Find the Elongation and Inclination Pairs for a given set of data.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(0b100010 + 0o16) + chr(5790 - 5679) + chr(51) + chr(0b110001) + '\x37', ord("\x08")), nzTpIcepk0o8(chr(1771 - 1723) + chr(0b1101111) + '\x31' + chr(1025 - 974) + chr(1834 - 1786), 0b1000), nzTpIcepk0o8(chr(1699 - 1651) + chr(111) + chr(0b110001) + chr(286 - 233) + '\x37', 0b1000), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b100101 + 0o14) + '\x37' + '\067', 0o10), nzTpIcepk0o8(chr(0b10101 + 0o33) + '\157' + '\x31' + '\x35', ord("\x08")), nzTpIcepk0o8('\060' + '\157' + chr(49) + chr(0b100 + 0o56) + chr(0b1011 + 0o47), ord("\x08")), nzTpIcepk0o8(chr(0b10010 + 0o36) + chr(0b111110 + 0o61) + chr(2793 - 2738) + '\x31', 0o10), nzTpIcepk0o8('\x30' + chr(111) + chr(0b1100 + 0o45) + chr(940 - 888) + chr(804 - 755), 19220 - 19212), nzTpIcepk0o8('\060' + chr(12045 - 11934) + chr(50) + chr(639 - 589) + '\060', 58359 - 58351), nzTpIcepk0o8(chr(0b11101 + 0o23) + '\x6f' + chr(0b110010) + chr(0b110011) + chr(52), 36636 - 36628), nzTpIcepk0o8('\x30' + '\157' + '\063' + '\x33' + '\x32', 0b1000), nzTpIcepk0o8(chr(1682 - 1634) + chr(5092 - 4981) + chr(0b110010) + '\x37' + '\x34', 0o10), nzTpIcepk0o8(chr(48) + chr(0b1101101 + 0o2) + '\061' + chr(0b110111) + '\060', 0o10), nzTpIcepk0o8(chr(0b1000 + 0o50) + chr(111) + '\063' + chr(2225 - 2173) + '\x36', ord("\x08")), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b10110 + 0o41) + chr(1547 - 1495), 0o10), nzTpIcepk0o8(chr(0b111 + 0o51) + chr(0b1101111) + '\x37' + chr(49), 8), nzTpIcepk0o8(chr(0b110000) + chr(12108 - 11997) + chr(54) + chr(185 - 131), 0b1000), nzTpIcepk0o8('\x30' + chr(0b110110 + 0o71) + chr(0b110011) + '\064' + chr(0b110111), 28645 - 28637), nzTpIcepk0o8(chr(166 - 118) + chr(0b1101111) + '\x32' + chr(0b110001 + 0o1) + '\x35', 0o10), nzTpIcepk0o8(chr(445 - 397) + '\157' + chr(51) + chr(0b110000) + chr(0b11110 + 0o25), ord("\x08")), nzTpIcepk0o8(chr(48) + '\157' + chr(0b101111 + 0o3) + '\066' + chr(890 - 839), 0b1000), nzTpIcepk0o8(chr(853 - 805) + chr(0b11001 + 0o126) + chr(0b11000 + 0o31) + chr(475 - 423) + chr(49), 8), nzTpIcepk0o8(chr(76 - 28) + chr(111) + '\x32' + chr(0b110110), ord("\x08")), nzTpIcepk0o8('\x30' + chr(111) + chr(50) + chr(0b110011) + chr(734 - 681), 0o10), nzTpIcepk0o8(chr(0b100110 + 0o12) + '\157' + '\x31' + chr(198 - 145) + '\x35', 0o10), nzTpIcepk0o8('\060' + '\157' + '\067' + chr(0b100101 + 0o17), 8), nzTpIcepk0o8('\x30' + chr(0b110011 + 0o74) + '\063' + chr(50) + '\x33', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(51) + '\061' + chr(55), 8), nzTpIcepk0o8('\060' + chr(111) + '\063' + chr(0b110101) + chr(50), 0o10), nzTpIcepk0o8('\060' + chr(111) + '\063' + '\067' + chr(51), 0b1000), nzTpIcepk0o8('\060' + '\157' + '\x37' + chr(0b110011), 54768 - 54760), nzTpIcepk0o8(chr(0b101010 + 0o6) + chr(0b1000110 + 0o51) + chr(49) + chr(1483 - 1432) + chr(51), 9929 - 9921), nzTpIcepk0o8(chr(919 - 871) + '\x6f' + chr(51) + chr(49) + chr(0b100010 + 0o20), 8066 - 8058), nzTpIcepk0o8('\x30' + chr(8934 - 8823) + chr(633 - 583) + chr(48) + '\062', ord("\x08")), nzTpIcepk0o8(chr(0b10 + 0o56) + chr(0b1101111) + chr(0b110110), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b101110 + 0o101) + '\063' + chr(53) + '\067', ord("\x08")), nzTpIcepk0o8('\060' + '\x6f' + '\061' + chr(1687 - 1637) + chr(2106 - 2051), 0b1000), nzTpIcepk0o8('\x30' + chr(111) + '\063' + '\061' + chr(53), 50029 - 50021), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(1053 - 1003) + chr(2078 - 2029), ord("\x08")), nzTpIcepk0o8(chr(0b101101 + 0o3) + chr(7916 - 7805) + chr(0b110010) + chr(371 - 319) + '\x35', 0o10)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(48) + chr(0b100101 + 0o112) + chr(870 - 817) + chr(48), 40084 - 40076)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xe1'), chr(0b1000000 + 0o44) + chr(6563 - 6462) + chr(99) + chr(0b11100 + 0o123) + chr(0b1100100) + '\x65')(chr(0b101101 + 0o110) + chr(0b1011100 + 0o30) + '\x66' + chr(0b100100 + 0o11) + chr(0b10011 + 0o45)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def Fywm9lKVQC17(FfKOThdpoDTb, tOeBFi3ucCqm=nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(616 - 567) + chr(322 - 267) + '\x35' + chr(1035 - 987), ord("\x08")), mwgZMvWSpAHg=nzTpIcepk0o8(chr(366 - 318) + chr(7680 - 7569) + chr(0b10011 + 0o35), 0b1000), S_yV4Ytx3yb1=roI3spqORKae(ES5oEprVxulp(b'\xe1'), '\x64' + chr(0b111101 + 0o50) + chr(4164 - 4065) + chr(0b1101111) + chr(0b1100100) + chr(418 - 317))(chr(117) + chr(4410 - 4294) + '\146' + chr(0b101101) + '\070'), JummcHpaNLEw=roI3spqORKae(ES5oEprVxulp(b'\xbc.\x08'), chr(0b1100000 + 0o4) + chr(6158 - 6057) + chr(0b1100011) + '\x6f' + chr(0b1 + 0o143) + chr(101))(chr(0b1101 + 0o150) + chr(116) + '\x66' + chr(0b101101) + '\070'), Cuzxf1DYyv1g=nzTpIcepk0o8(chr(48) + chr(0b10101 + 0o132) + chr(0b110000), 8), GiLGdEF3Pzp2=nzTpIcepk0o8(chr(48) + chr(4959 - 4848) + '\x30', 8)):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x8d7\x00\x0b~&K\x00\xe0\xec\xb3\xd2\x1f\xc8\x12\x17\x18\xc7\xf7\xa6\x93\x11w\xe9\x04Y\xbd\xbb'), '\x64' + '\x65' + chr(0b1001100 + 0o27) + chr(3108 - 2997) + chr(0b11011 + 0o111) + '\145')(chr(9812 - 9695) + '\164' + chr(0b1100110) + chr(0b101101) + chr(1749 - 1693)))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(101) + chr(0b1100011) + chr(0b111010 + 0o65) + chr(2888 - 2788) + '\x65')(chr(0b1000011 + 0o62) + chr(0b1101101 + 0o7) + chr(1420 - 1318) + '\055' + chr(0b111000)))
roI3spqORKae(bpyfpu4kTbwL.stdout, roI3spqORKae(ES5oEprVxulp(b'\xa4\x0f\x1f\x06O o6\xd2\xec\xa9\xf9'), '\x64' + chr(101) + '\143' + chr(0b1101111) + '\x64' + chr(0b1100101))(chr(117) + '\x74' + '\x66' + chr(45) + chr(0b110000 + 0o10)))()
(iq1mNMefb1Zd, Xn8ENWMZdIRt) = (nzTpIcepk0o8(sOS7b2Ofrbne(0.975 * tOeBFi3ucCqm)), nzTpIcepk0o8(sOS7b2Ofrbne(0.025 * tOeBFi3ucCqm)))
(L63iXCLJOwQn, J89Y4kGNG2Bs) = ([], [])
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\xaa+_%;6C"\xf8\xcf\x96\x89'), '\x64' + chr(5572 - 5471) + '\x63' + chr(0b1101111) + chr(0b110101 + 0o57) + chr(0b1100101))(chr(117) + '\164' + chr(8058 - 7956) + chr(0b101101) + chr(56)))(num=nzTpIcepk0o8(chr(0b110000) + chr(7702 - 7591) + chr(1481 - 1432), 0o10), figsize=(nzTpIcepk0o8(chr(48) + chr(2566 - 2455) + chr(52), 0b1000), nzTpIcepk0o8('\060' + '\x6f' + chr(0b110100), 8)))
wMgu73KVbvYw(nzTpIcepk0o8(chr(318 - 270) + chr(8876 - 8765) + '\x31', 8))
DQyrf9wkhfYo(di_block=FfKOThdpoDTb)
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\x80\x17_\x0b_\x05\x00\x00\xfa\xc3\xa2\xd4'), chr(9198 - 9098) + '\x65' + chr(0b10 + 0o141) + chr(0b1101111) + chr(4347 - 4247) + chr(0b1100101))(chr(0b1110101) + '\164' + chr(102) + chr(0b101101) + chr(2708 - 2652)))(roI3spqORKae(ES5oEprVxulp(b'\x80*\x06\x18d<X\r'), chr(100) + chr(0b101110 + 0o67) + '\143' + chr(4741 - 4630) + '\x64' + '\x65')('\165' + '\164' + chr(0b1001111 + 0o27) + chr(464 - 419) + chr(0b110 + 0o62)))
dQIwqFqsHkB0 = hUcsWwAd0nE_.doprinc(FfKOThdpoDTb)
keyHNKZ1Uqvz = dQIwqFqsHkB0[roI3spqORKae(ES5oEprVxulp(b'\xa66\x0c'), chr(0b1100100) + chr(0b1011011 + 0o12) + chr(0b110000 + 0o63) + chr(111) + chr(7387 - 7287) + '\x65')(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + chr(0b1111 + 0o36) + chr(0b11010 + 0o36))]
NoZxuO7wjArS = dQIwqFqsHkB0[roI3spqORKae(ES5oEprVxulp(b'\x81'), chr(2036 - 1936) + chr(101) + '\143' + '\x6f' + '\144' + '\x65')(chr(0b1110101) + chr(116) + '\x66' + chr(0b101101) + chr(56))]
(ODrw7eTC9EiL, tEDEyfan1E43, BVDpbFyb9Kc_, IQtGtL0mM2sc) = hUcsWwAd0nE_.find_f(FfKOThdpoDTb)
if Cuzxf1DYyv1g:
(P1EuQhC9YRxo, ljTR9EZ4lhSo) = (tEDEyfan1E43[ODrw7eTC9EiL.ZpfN5tSLaZze(XURpmPuEWCNF(ODrw7eTC9EiL))], ODrw7eTC9EiL[ODrw7eTC9EiL.ZpfN5tSLaZze(XURpmPuEWCNF(ODrw7eTC9EiL))])
nV3VyXA6zcqQ = BVDpbFyb9Kc_[ODrw7eTC9EiL.ZpfN5tSLaZze(XURpmPuEWCNF(ODrw7eTC9EiL))]
else:
(P1EuQhC9YRxo, ljTR9EZ4lhSo) = (tEDEyfan1E43[-nzTpIcepk0o8('\060' + chr(0b1101111) + chr(49), 8)], ODrw7eTC9EiL[-nzTpIcepk0o8('\060' + chr(0b1010 + 0o145) + '\x31', 8)])
nV3VyXA6zcqQ = BVDpbFyb9Kc_[-nzTpIcepk0o8('\060' + chr(1508 - 1397) + chr(0b110001), 8)]
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\xaa+_%;6C"\xf8\xcf\x96\x89'), '\x64' + chr(101) + chr(0b1010110 + 0o15) + '\x6f' + chr(100) + '\145')(chr(0b1001000 + 0o55) + '\x74' + chr(102) + '\055' + chr(2135 - 2079)))(num=nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(1329 - 1279), 0o10), figsize=(nzTpIcepk0o8('\060' + '\157' + '\x34', 8), nzTpIcepk0o8('\060' + '\157' + '\064', 8)))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\xbf4\x00\x0b'), '\x64' + chr(1748 - 1647) + '\x63' + chr(371 - 260) + '\x64' + chr(2562 - 2461))('\165' + chr(116) + '\146' + chr(729 - 684) + chr(1740 - 1684)))(tEDEyfan1E43, ODrw7eTC9EiL, roI3spqORKae(ES5oEprVxulp(b'\xbd'), '\144' + '\145' + chr(1994 - 1895) + '\x6f' + chr(0b1100100) + chr(7254 - 7153))(chr(6222 - 6105) + chr(0b1110100) + '\x66' + '\055' + chr(56)))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\xb74\x0e\x1dh>'), chr(5144 - 5044) + '\x65' + chr(0b1100011) + chr(0b101101 + 0o102) + '\144' + chr(0b110101 + 0o60))(chr(0b1110101) + chr(0b1110100) + chr(0b1011100 + 0o12) + '\x2d' + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b'\x866\x0c\x13d<X\x15\xf9\xf3\xb4'), '\144' + chr(7852 - 7751) + chr(99) + chr(5046 - 4935) + chr(0b1100100) + chr(9555 - 9454))(chr(9848 - 9731) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(2492 - 2436)))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\xb64\x0e\x1dh>'), '\x64' + chr(2313 - 2212) + '\x63' + chr(0b1101111) + chr(3733 - 3633) + '\145')(chr(117) + chr(11964 - 11848) + '\146' + chr(0b101000 + 0o5) + '\x38'))(roI3spqORKae(ES5oEprVxulp(b'\x8a4\x00\x11j3M\x08\xff\xf2'), '\x64' + '\145' + chr(8434 - 8335) + chr(0b1011101 + 0o22) + chr(0b1100100) + chr(2225 - 2124))('\x75' + '\164' + chr(5993 - 5891) + chr(0b10001 + 0o34) + chr(56)))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\xac(<\x0bfeZ8\xa1\xc8\x90\xd8'), chr(100) + '\x65' + '\143' + '\x6f' + chr(0b1000100 + 0o40) + chr(101))('\x75' + '\x74' + '\146' + chr(0b10001 + 0o34) + chr(56)))(P1EuQhC9YRxo, ljTR9EZ4lhSo, roI3spqORKae(ES5oEprVxulp(b'\xef}\\Q<4'), chr(0b1100100) + '\145' + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(101 - 0))('\165' + chr(0b1110100 + 0o0) + chr(8336 - 8234) + chr(0b10110 + 0o27) + chr(0b111000)) % nV3VyXA6zcqQ)
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\xac(<\x0bfeZ8\xa1\xc8\x90\xd8'), chr(0b1100100) + chr(101) + chr(0b110001 + 0o62) + chr(0b1010101 + 0o32) + chr(0b10100 + 0o120) + chr(0b1100101))('\165' + '\x74' + chr(0b1100110) + chr(0b101101) + '\070'))(tEDEyfan1E43[nzTpIcepk0o8(chr(163 - 115) + chr(900 - 789) + '\060', 8)] - nzTpIcepk0o8(chr(48) + chr(111) + chr(1442 - 1392), 8), ODrw7eTC9EiL[nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(48), 8)], roI3spqORKae(ES5oEprVxulp(b'\xef}\x1c'), chr(100) + '\145' + chr(99) + '\157' + '\x64' + '\x65')(chr(0b1001 + 0o154) + '\x74' + '\x66' + chr(119 - 74) + chr(1188 - 1132)) % roI3spqORKae(ES5oEprVxulp(b'\xa9e^'), '\x64' + chr(831 - 730) + chr(99) + '\x6f' + chr(0b100 + 0o140) + chr(0b111 + 0o136))('\165' + chr(8691 - 8575) + chr(0b1011111 + 0o7) + chr(0b10001 + 0o34) + chr(2292 - 2236)))
xFDEVQn5qSdh = nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b110000), 8)
while xFDEVQn5qSdh < tOeBFi3ucCqm:
UcOTnYEzAvZI = hUcsWwAd0nE_.pseudo(FfKOThdpoDTb)
(Hqts5DYLIBz0, mIuGWmmbj7rk, NL8EHL9zqKeE, IaTKy26rKfDU) = hUcsWwAd0nE_.find_f(UcOTnYEzAvZI)
if xFDEVQn5qSdh < nzTpIcepk0o8('\060' + chr(111) + chr(51) + chr(301 - 252), 0b1000):
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\xbf4\x00\x0b'), '\144' + chr(0b1001000 + 0o35) + chr(0b100000 + 0o103) + chr(2276 - 2165) + chr(7976 - 7876) + '\x65')(chr(117) + chr(0b1000110 + 0o56) + '\146' + chr(232 - 187) + '\x38'))(mIuGWmmbj7rk, Hqts5DYLIBz0, roI3spqORKae(ES5oEprVxulp(b'\xb6'), chr(100) + chr(0b1100101) + chr(510 - 411) + chr(111) + '\x64' + '\145')(chr(0b110001 + 0o104) + '\164' + chr(1283 - 1181) + chr(0b111 + 0o46) + chr(56)))
if Hqts5DYLIBz0[-nzTpIcepk0o8('\x30' + chr(0b1101111) + '\061', 8)] != nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(48), 8):
dQIwqFqsHkB0 = hUcsWwAd0nE_.doprinc(UcOTnYEzAvZI)
if Cuzxf1DYyv1g:
roI3spqORKae(J89Y4kGNG2Bs, roI3spqORKae(ES5oEprVxulp(b'\x87\x0c<Ku5~\x0e\xfa\xf3\x8f\x89'), chr(8737 - 8637) + chr(0b1100010 + 0o3) + '\x63' + chr(11097 - 10986) + '\144' + chr(0b1000111 + 0o36))(chr(0b1110101) + '\x74' + '\146' + chr(739 - 694) + chr(0b111000)))(zQBGwUT7UU8L(mIuGWmmbj7rk[roI3spqORKae(Hqts5DYLIBz0, roI3spqORKae(ES5oEprVxulp(b'\x95(\t18&j-\xf1\xc6\xa0\xd9'), chr(0b1000010 + 0o42) + '\x65' + chr(4709 - 4610) + '\x6f' + chr(0b1011000 + 0o14) + chr(0b1100101))(chr(982 - 865) + '\x74' + chr(4356 - 4254) + '\055' + chr(56)))(XURpmPuEWCNF(Hqts5DYLIBz0))]))
roI3spqORKae(L63iXCLJOwQn, roI3spqORKae(ES5oEprVxulp(b'\x87\x0c<Ku5~\x0e\xfa\xf3\x8f\x89'), '\x64' + chr(101) + '\x63' + chr(0b1101111) + '\x64' + '\x65')(chr(0b1110101) + chr(0b1110100) + '\146' + chr(0b10010 + 0o33) + chr(56)))(Hqts5DYLIBz0[roI3spqORKae(Hqts5DYLIBz0, roI3spqORKae(ES5oEprVxulp(b'\x95(\t18&j-\xf1\xc6\xa0\xd9'), chr(3401 - 3301) + chr(0b1100101) + chr(0b101100 + 0o67) + chr(0b1001101 + 0o42) + '\x64' + chr(0b1100101))(chr(3087 - 2970) + '\164' + '\x66' + '\055' + chr(2790 - 2734)))(XURpmPuEWCNF(Hqts5DYLIBz0))])
else:
roI3spqORKae(J89Y4kGNG2Bs, roI3spqORKae(ES5oEprVxulp(b'\x87\x0c<Ku5~\x0e\xfa\xf3\x8f\x89'), chr(0b1010101 + 0o17) + chr(101) + chr(0b1100011) + '\157' + '\144' + '\x65')(chr(117) + chr(116) + chr(102) + chr(0b11011 + 0o22) + chr(0b111000)))(zQBGwUT7UU8L(mIuGWmmbj7rk[-nzTpIcepk0o8(chr(48) + chr(0b101011 + 0o104) + '\x31', 8)]))
roI3spqORKae(L63iXCLJOwQn, roI3spqORKae(ES5oEprVxulp(b'\x87\x0c<Ku5~\x0e\xfa\xf3\x8f\x89'), '\144' + chr(0b1100101) + chr(99) + chr(111) + '\x64' + chr(6742 - 6641))(chr(0b11110 + 0o127) + '\x74' + '\x66' + '\055' + '\070'))(Hqts5DYLIBz0[-nzTpIcepk0o8(chr(1530 - 1482) + chr(6248 - 6137) + chr(49), 8)])
xFDEVQn5qSdh += nzTpIcepk0o8(chr(0b110000) + chr(0b1100001 + 0o16) + chr(108 - 59), 8)
roI3spqORKae(J89Y4kGNG2Bs, roI3spqORKae(ES5oEprVxulp(b'\xbc7\x1d\x0b'), chr(0b1 + 0o143) + chr(0b11101 + 0o110) + '\x63' + '\x6f' + chr(0b1001001 + 0o33) + chr(0b1000000 + 0o45))(chr(0b1110101) + chr(0b101000 + 0o114) + chr(0b1100110) + chr(0b101101) + chr(56)))()
roI3spqORKae(L63iXCLJOwQn, roI3spqORKae(ES5oEprVxulp(b'\xbc7\x1d\x0b'), chr(0b1100100) + '\x65' + chr(2702 - 2603) + chr(0b0 + 0o157) + chr(0b100100 + 0o100) + '\x65')(chr(4834 - 4717) + chr(116) + '\x66' + chr(914 - 869) + chr(0b111000)))()
XExzcJdCzLFi = []
for ZlbFMSG8gCoF in J89Y4kGNG2Bs:
roI3spqORKae(XExzcJdCzLFi, roI3spqORKae(ES5oEprVxulp(b'\x87\x0c<Ku5~\x0e\xfa\xf3\x8f\x89'), '\144' + chr(101) + '\143' + chr(111) + chr(0b11001 + 0o113) + '\x65')(chr(0b1011001 + 0o34) + chr(116) + '\x66' + chr(1611 - 1566) + chr(0b11110 + 0o32)))(roI3spqORKae(hUcsWwAd0nE_, roI3spqORKae(ES5oEprVxulp(b'\x8a\x11'), '\144' + '\145' + '\x63' + chr(1526 - 1415) + chr(100) + chr(101))(chr(0b11101 + 0o130) + '\164' + chr(0b1100110) + chr(45) + chr(56)))(ZlbFMSG8gCoF))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\xbf4\x00\x0b'), chr(0b1100100) + chr(101) + chr(99) + '\157' + '\x64' + chr(0b1011111 + 0o6))('\165' + '\x74' + '\146' + '\055' + '\x38'))(J89Y4kGNG2Bs, XExzcJdCzLFi, roI3spqORKae(ES5oEprVxulp(b'\xa8u'), chr(0b110110 + 0o56) + chr(1418 - 1317) + '\x63' + chr(0b1000110 + 0o51) + chr(0b1011110 + 0o6) + '\x65')('\165' + '\164' + chr(102) + chr(0b101101) + chr(56)))
if P1EuQhC9YRxo == nzTpIcepk0o8(chr(48) + chr(0b1001100 + 0o43) + chr(0b110 + 0o52), 8):
OO0tRW9aj_xh = roI3spqORKae(ES5oEprVxulp(b'\x9f9\x1b\x17b>V\x06\xf9\xff\xbb\xd0X\xa2UJB\x95\xfc\xa1\xc6\x15\x7f\xf2\x03\x06\xf3'), chr(100) + chr(0b10100 + 0o121) + chr(0b1100011) + '\x6f' + '\144' + '\x65')(chr(1439 - 1322) + chr(0b1110100) + '\x66' + '\x2d' + chr(0b111000)) + roI3spqORKae(ES5oEprVxulp(b'\x94}XQ<4\x15A\xb5\xab\xf4\x8d\x1e\xbb'), '\x64' + chr(0b100011 + 0o102) + chr(6649 - 6550) + chr(0b11110 + 0o121) + '\144' + chr(0b1001 + 0o134))('\165' + chr(116) + chr(102) + chr(45) + chr(2885 - 2829)) % (J89Y4kGNG2Bs[Xn8ENWMZdIRt], J89Y4kGNG2Bs[iq1mNMefb1Zd])
else:
OO0tRW9aj_xh = roI3spqORKae(ES5oEprVxulp(b'\xeaoANkrbD\xa7\xb2\xeb\xdaT\xc6\x19\x0e\x18\xd6\xf3\x9e'), chr(0b1100100) + chr(4386 - 4285) + '\x63' + chr(0b1011000 + 0o27) + '\x64' + chr(0b1100001 + 0o4))(chr(117) + '\x74' + chr(0b101010 + 0o74) + chr(0b101101) + chr(374 - 318)) % (P1EuQhC9YRxo, J89Y4kGNG2Bs[Xn8ENWMZdIRt], J89Y4kGNG2Bs[iq1mNMefb1Zd])
nhyZKAnxfqdG = nzTpIcepk0o8(chr(48) + '\157' + chr(0b110011), ord("\x08"))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\xaa+_%;6C"\xf8\xcf\x96\x89'), chr(0b1100100) + '\x65' + '\143' + chr(0b1101111) + chr(0b1 + 0o143) + chr(0b101011 + 0o72))(chr(0b1110101) + chr(0b1110100) + chr(10349 - 10247) + chr(45) + '\x38'))(num=nhyZKAnxfqdG, figsize=(nzTpIcepk0o8('\x30' + chr(0b1100 + 0o143) + chr(0b1110 + 0o46), 8), nzTpIcepk0o8(chr(48) + chr(12038 - 11927) + '\x34', 8)))
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xbf4\x00\x0bR1]\x07'), '\x64' + chr(0b1100101) + chr(0b1100011) + chr(111) + chr(0b11101 + 0o107) + chr(101))(chr(0b1110101) + '\164' + chr(0b1100110) + chr(0b10 + 0o53) + chr(0b100000 + 0o30)))(nhyZKAnxfqdG, J89Y4kGNG2Bs, roI3spqORKae(ES5oEprVxulp(b'\x866\x0c\x13d<X\x15\xf9\xf3\xb4\xcf'), chr(7791 - 7691) + '\x65' + chr(0b1110 + 0o125) + '\157' + chr(100) + chr(101))(chr(117) + chr(0b1101011 + 0o11) + chr(0b1000 + 0o136) + '\x2d' + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xbd'), chr(0b1100100) + chr(0b1100011 + 0o2) + '\143' + '\157' + chr(0b1010001 + 0o23) + chr(4812 - 4711))(chr(0b1110101) + '\164' + chr(0b11110 + 0o110) + chr(0b11001 + 0o24) + chr(0b101101 + 0o13)), OO0tRW9aj_xh)
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xbf4\x00\x0bR$J'), chr(100) + chr(0b1100101) + chr(0b1100011) + '\x6f' + chr(681 - 581) + '\x65')(chr(0b111011 + 0o72) + chr(5252 - 5136) + chr(0b1100110) + '\055' + chr(2045 - 1989)))(nhyZKAnxfqdG, [J89Y4kGNG2Bs[Xn8ENWMZdIRt], J89Y4kGNG2Bs[iq1mNMefb1Zd]], roI3spqORKae(ES5oEprVxulp(b'\xad'), '\144' + chr(0b1100101) + chr(8811 - 8712) + chr(111) + '\x64' + chr(101))('\165' + chr(0b1110100) + chr(0b1100110) + chr(0b10010 + 0o33) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xe2u'), chr(7475 - 7375) + '\145' + '\x63' + '\x6f' + chr(100) + chr(0b1100101))('\x75' + chr(116) + '\x66' + chr(0b11010 + 0o23) + chr(0b111000)))
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xbf4\x00\x0bR$J'), chr(100) + '\x65' + '\x63' + chr(0b110001 + 0o76) + chr(0b1100100) + chr(4253 - 4152))('\165' + chr(4315 - 4199) + chr(0b1100110) + chr(0b111 + 0o46) + chr(0b11010 + 0o36)))(nhyZKAnxfqdG, [P1EuQhC9YRxo], roI3spqORKae(ES5oEprVxulp(b'\xa8'), '\x64' + '\x65' + chr(4696 - 4597) + chr(0b1001011 + 0o44) + '\144' + chr(9129 - 9028))(chr(7588 - 7471) + chr(0b1010111 + 0o35) + chr(102) + chr(938 - 893) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xe2'), '\x64' + '\x65' + chr(0b100000 + 0o103) + chr(0b1101111) + chr(100) + '\x65')('\165' + '\164' + chr(0b1100010 + 0o4) + chr(0b100000 + 0o15) + chr(0b111000)))
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xbf4\x00\x0bR$J'), chr(100) + '\x65' + chr(0b0 + 0o143) + chr(0b101101 + 0o102) + '\144' + '\x65')('\x75' + '\x74' + chr(7273 - 7171) + chr(45) + chr(0b110001 + 0o7)))(nhyZKAnxfqdG, [keyHNKZ1Uqvz], roI3spqORKae(ES5oEprVxulp(b'\xa4'), chr(0b1000011 + 0o41) + chr(7726 - 7625) + chr(0b1010 + 0o131) + chr(111) + chr(0b111001 + 0o53) + chr(6534 - 6433))(chr(2960 - 2843) + '\164' + chr(102) + chr(45) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xe2'), chr(100) + chr(101) + chr(2126 - 2027) + chr(1509 - 1398) + chr(100) + '\145')('\165' + chr(0b100110 + 0o116) + chr(3956 - 3854) + chr(0b101101) + chr(0b1001 + 0o57)))
quwgbMzzf7J4 = YtOuPwMAyXVy(FfKOThdpoDTb)
if ftfygxgFas5X(quwgbMzzf7J4) == nzTpIcepk0o8('\060' + chr(111) + '\063', 8):
(bTXCzeMYqEu3, xH_LrvA17fl7, VYhsBiaoc58d) = quwgbMzzf7J4
if ftfygxgFas5X(quwgbMzzf7J4) == nzTpIcepk0o8('\x30' + chr(7377 - 7266) + chr(50), 8):
(bTXCzeMYqEu3, xH_LrvA17fl7) = quwgbMzzf7J4
if nV3VyXA6zcqQ:
dlw7RsXSnO5y = PUZbytoAvTYM(xH_LrvA17fl7, nV3VyXA6zcqQ)
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\xaa+_%;6C"\xf8\xcf\x96\x89'), chr(5896 - 5796) + '\145' + chr(0b1000111 + 0o34) + '\157' + chr(4010 - 3910) + chr(0b110 + 0o137))('\x75' + chr(0b1110100) + chr(0b10 + 0o144) + '\x2d' + '\x38'))(num=nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110100), 8), figsize=(nzTpIcepk0o8(chr(48) + '\x6f' + '\x34', 8), nzTpIcepk0o8(chr(0b110000) + chr(0b11000 + 0o127) + chr(52), 8)))
wMgu73KVbvYw(nzTpIcepk0o8('\x30' + '\x6f' + '\x34', 8))
DQyrf9wkhfYo(bTXCzeMYqEu3, dlw7RsXSnO5y)
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\x80\x17_\x0b_\x05\x00\x00\xfa\xc3\xa2\xd4'), '\144' + chr(3974 - 3873) + chr(99) + chr(0b110110 + 0o71) + '\x64' + '\x65')(chr(0b1110101) + chr(2319 - 2203) + chr(0b11100 + 0o112) + chr(45) + chr(663 - 607)))(roI3spqORKae(ES5oEprVxulp(b'\x8c7\x1d\rh1M\x04\xf4\xbc\xbc\xd3\n\xc6ZUW\x93\xe1\xa6\xdd\x08x\xfa'), chr(0b1001 + 0o133) + '\x65' + chr(850 - 751) + chr(0b10101 + 0o132) + '\x64' + chr(101))(chr(0b1110101) + chr(2787 - 2671) + chr(0b1001011 + 0o33) + chr(0b101101) + '\070'))
else:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\xaa+_%;6C"\xf8\xcf\x96\x89'), '\x64' + chr(175 - 74) + chr(99) + chr(0b1101111) + chr(0b1100100) + chr(0b1000001 + 0o44))(chr(117) + '\x74' + '\146' + '\055' + chr(809 - 753)))(num=nzTpIcepk0o8(chr(0b11011 + 0o25) + chr(0b1101111) + chr(52), 8), figsize=(nzTpIcepk0o8(chr(48) + chr(9183 - 9072) + chr(739 - 687), 8), nzTpIcepk0o8('\060' + '\x6f' + '\x34', 8)))
wMgu73KVbvYw(nzTpIcepk0o8(chr(0b110000) + chr(0b101 + 0o152) + chr(0b110100), 8))
DQyrf9wkhfYo(bTXCzeMYqEu3, xH_LrvA17fl7)
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\x80\x17_\x0b_\x05\x00\x00\xfa\xc3\xa2\xd4'), '\144' + '\145' + '\x63' + chr(111) + chr(0b1100100) + chr(0b110101 + 0o60))(chr(0b1001001 + 0o54) + chr(0b1110100) + '\x66' + chr(45) + '\070'))(roI3spqORKae(ES5oEprVxulp(b'\x8c7\x1d\rh1M\x04\xf4\xbc\xbc\xd3\n\xc6ZUW\x93\xe1\xa6\xdd\x08x\xfa'), '\144' + chr(101) + chr(9231 - 9132) + chr(111) + '\144' + chr(101))('\x75' + chr(2597 - 2481) + '\146' + chr(45) + chr(0b111000)))
if (P1EuQhC9YRxo, ljTR9EZ4lhSo, nV3VyXA6zcqQ) == (nzTpIcepk0o8('\060' + '\x6f' + '\x30', 8), nzTpIcepk0o8(chr(0b100101 + 0o13) + '\x6f' + '\060', 8), nzTpIcepk0o8(chr(48) + chr(111) + chr(0b1101 + 0o43), 8)):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x9f\x19;7B\x1ev&\xd9\xdf\x9b\xf0X\xa2ujb\xb5\xdc\x81\xe65_\xd2#'), chr(2273 - 2173) + '\x65' + '\x63' + chr(111) + '\x64' + '\145')('\x75' + chr(0b1110100) + chr(6826 - 6724) + chr(300 - 255) + chr(0b1101 + 0o53)))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x9b0\n_b P\x06\xf9\xf2\xbb\xd0X\x8fRZZ\x8e\xfb\xa2\xc7\x08y\xf3MK\xb2\xbc\xd0\xdb'), chr(100) + chr(101) + chr(0b1011110 + 0o5) + chr(0b1101111) + '\x64' + chr(0b111000 + 0o55))('\x75' + '\164' + '\146' + '\055' + '\070') + N9zlRy29S1SS(keyHNKZ1Uqvz))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100010 + 0o2) + chr(8446 - 8345) + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + '\145')(chr(117) + chr(116) + chr(2742 - 2640) + chr(0b101101) + '\070'))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x9b0\n_n=K\x13\xf5\xff\xae\xd9\x1c\xc6UWU\x8b\xfc\xad\xd2\x15\x7f\xf2\x03\x1c\xba\xbc\xd0\xdb'), chr(0b1100100) + chr(101) + chr(0b1100011) + chr(3512 - 3401) + chr(0b1100100) + '\x65')(chr(0b1110101) + '\164' + '\x66' + '\055' + chr(0b1001 + 0o57)) + N9zlRy29S1SS(P1EuQhC9YRxo))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xb81\x1b\x17-0V\x0e\xe4\xef\xae\xce\x19\x96L\\R\xc7\xf6\xac\xdd\x07\x7f\xf9\x08R\xb0\xaa\xca\x99T.\xa4\xe6u\xcf8\xab+\x85'), chr(100) + chr(101) + chr(0b1100011) + '\x6f' + '\x64' + chr(6972 - 6871))(chr(0b10101 + 0o140) + chr(11891 - 11775) + chr(2609 - 2507) + chr(0b101101) + chr(0b10111 + 0o41)) + N9zlRy29S1SS(J89Y4kGNG2Bs[Xn8ENWMZdIRt]) + roI3spqORKae(ES5oEprVxulp(b'\xef,\x00_'), '\144' + chr(0b111101 + 0o50) + '\x63' + chr(828 - 717) + '\x64' + '\145')('\165' + '\x74' + '\146' + chr(0b101101) + '\x38') + N9zlRy29S1SS(J89Y4kGNG2Bs[iq1mNMefb1Zd]))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xae6\x0b_h>V\x0f\xf7\xfd\xae\xd5\x17\x88\x1cIW\x95\xf4\xae\xd6\x15s\xefMS\xb5\xf5\xca'), chr(8608 - 8508) + chr(0b1100101) + chr(5772 - 5673) + '\157' + '\144' + chr(101))(chr(0b100001 + 0o124) + chr(0b1110100) + chr(0b1100110) + chr(0b10100 + 0o31) + chr(0b111000)) + N9zlRy29S1SS(ljTR9EZ4lhSo))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x9b0\n_k>X\x15\xe4\xf9\xb4\xd5\x16\x81\x1c_W\x84\xe1\xac\xc1A\x7f\xeeW\x1c'), chr(0b1100100) + '\145' + '\143' + chr(11504 - 11393) + chr(0b1100000 + 0o4) + chr(5664 - 5563))(chr(10115 - 9998) + chr(0b11001 + 0o133) + chr(102) + chr(0b0 + 0o55) + '\x38') + N9zlRy29S1SS(nV3VyXA6zcqQ))
if GiLGdEF3Pzp2 is nzTpIcepk0o8('\x30' + chr(2612 - 2501) + chr(0b101000 + 0o11), 8):
return LTRwK8Rw2pXD(bTXCzeMYqEu3, dlw7RsXSnO5y)
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
plate_rate_mc
|
def plate_rate_mc(pole1_plon, pole1_plat, pole1_kappa, pole1_N, pole1_age, pole1_age_error,
pole2_plon, pole2_plat, pole2_kappa, pole2_N, pole2_age, pole2_age_error,
ref_loc_lon, ref_loc_lat, samplesize=10000, random_seed=None, plot=True,
savefig=True, save_directory='./', figure_name=''):
"""
Determine the latitudinal motion implied by a pair of poles and utilize
the Monte Carlo sampling method of Swanson-Hysell (2014) to determine the
associated uncertainty.
Parameters:
------------
plon : longitude of pole
plat : latitude of pole
kappa : Fisher precision parameter for VPGs in pole
N : number of VGPs in pole
age : age assigned to pole in Ma
age_error : 1 sigma age uncertainty in million years
ref_loc_lon : longitude of reference location
ref_loc_lat : latitude of reference location
samplesize : number of draws from pole and age distributions (default set to 10000)
random_seed : set random seed for reproducible number generation (default is None)
plot : whether to make figures (default is True, optional)
savefig : whether to save figures (default is True, optional)
save_directory = default is local directory (optional)
figure_name = prefix for file names (optional)
Returns
--------
rate : rate of latitudinal motion in cm/yr along with estimated 2.5 and 97.5
percentile rate estimates
"""
ref_loc = [ref_loc_lon, ref_loc_lat]
pole1 = (pole1_plon, pole1_plat)
pole1_paleolat = 90 - pmag.angle(pole1, ref_loc)
pole2 = (pole2_plon, pole2_plat)
pole2_paleolat = 90 - pmag.angle(pole2, ref_loc)
print("The paleolatitude for ref_loc resulting from pole 1 is:" +
str(pole1_paleolat))
print("The paleolatitude for ref_loc resulting from pole 2 is:" +
str(pole2_paleolat))
rate = old_div(((pole1_paleolat - pole2_paleolat) * 111 *
100000), ((pole1_age - pole2_age) * 1000000))
print("The rate of paleolatitudinal change implied by the poles pairs in cm/yr is:" + str(rate))
if random_seed != None:
np.random.seed(random_seed)
pole1_MCages = np.random.normal(pole1_age, pole1_age_error, samplesize)
pole2_MCages = np.random.normal(pole2_age, pole2_age_error, samplesize)
plt.hist(pole1_MCages, 100, histtype='stepfilled',
color='darkred', label='Pole 1 ages')
plt.hist(pole2_MCages, 100, histtype='stepfilled',
color='darkblue', label='Pole 2 ages')
plt.xlabel('Age (Ma)')
plt.ylabel('n')
plt.legend(loc=3)
if savefig == True:
plot_extension = '_1.svg'
plt.savefig(save_directory + figure_name + plot_extension)
plt.show()
pole1_MCpoles = []
pole1_MCpole_lat = []
pole1_MCpole_long = []
pole1_MCpaleolat = []
for n in range(samplesize):
vgp_samples = []
for vgp in range(pole1_N):
# pmag.dev returns a direction from a fisher distribution with
# specified kappa
direction_atN = pmag.fshdev(pole1_kappa)
# this direction is centered at latitude of 90 degrees and needs to be rotated
# to be centered on the mean pole position
tilt_direction = pole1_plon
tilt_amount = 90 - pole1_plat
direction = pmag.dotilt(
direction_atN[0], direction_atN[1], tilt_direction, tilt_amount)
vgp_samples.append([direction[0], direction[1], 1.])
mean = pmag.fisher_mean(vgp_samples)
mean_pole_position = (mean['dec'], mean['inc'])
pole1_MCpoles.append([mean['dec'], mean['inc'], 1.])
pole1_MCpole_lat.append(mean['inc'])
pole1_MCpole_long.append(mean['dec'])
paleolat = 90 - pmag.angle(mean_pole_position, ref_loc)
pole1_MCpaleolat.append(paleolat[0])
pole2_MCpoles = []
pole2_MCpole_lat = []
pole2_MCpole_long = []
pole2_MCpaleolat = []
for n in range(samplesize):
vgp_samples = []
for vgp in range(pole2_N):
# pmag.dev returns a direction from a fisher distribution with
# specified kappa
direction_atN = pmag.fshdev(pole2_kappa)
# this direction is centered at latitude of 90 degrees and needs to be rotated
# to be centered on the mean pole position
tilt_direction = pole2_plon
tilt_amount = 90 - pole2_plat
direction = pmag.dotilt(
direction_atN[0], direction_atN[1], tilt_direction, tilt_amount)
vgp_samples.append([direction[0], direction[1], 1.])
mean = pmag.fisher_mean(vgp_samples)
mean_pole_position = (mean['dec'], mean['inc'])
pole2_MCpoles.append([mean['dec'], mean['inc'], 1.])
pole2_MCpole_lat.append(mean['inc'])
pole2_MCpole_long.append(mean['dec'])
paleolat = 90 - pmag.angle(mean_pole_position, ref_loc)
pole2_MCpaleolat.append(paleolat[0])
if plot is True:
plt.figure(figsize=(5, 5))
map_axis = make_mollweide_map()
plot_vgp(map_axis, pole1_MCpole_long, pole1_MCpole_lat, color='b')
plot_vgp(map_axis, pole2_MCpole_long, pole2_MCpole_lat, color='g')
if savefig == True:
plot_extension = '_2.svg'
plt.savefig(save_directory + figure_name + plot_extension)
plt.show()
# calculating the change in paleolatitude between the Monte Carlo pairs
pole1_pole2_Delta_degrees = []
pole1_pole2_Delta_kilometers = []
pole1_pole2_Delta_myr = []
pole1_pole2_degrees_per_myr = []
pole1_pole2_cm_per_yr = []
for n in range(samplesize):
Delta_degrees = pole1_MCpaleolat[n] - pole2_MCpaleolat[n]
Delta_Myr = pole1_MCages[n] - pole2_MCages[n]
pole1_pole2_Delta_degrees.append(Delta_degrees)
degrees_per_myr = old_div(Delta_degrees, Delta_Myr)
cm_per_yr = old_div(((Delta_degrees * 111) * 100000),
(Delta_Myr * 1000000))
pole1_pole2_degrees_per_myr.append(degrees_per_myr)
pole1_pole2_cm_per_yr.append(cm_per_yr)
if plot is True:
plotnumber = 100
plt.figure(num=None, figsize=(10, 4))
plt.subplot(1, 2, 1)
for n in range(plotnumber):
plt.plot([pole1_MCpaleolat[n], pole2_MCpaleolat[n]],
[pole1_MCages[n], pole2_MCages[n]], 'k-', linewidth=0.1, alpha=0.3)
plt.scatter(pole1_MCpaleolat[:plotnumber],
pole1_MCages[:plotnumber], color='b', s=3)
plt.scatter(pole1_paleolat, pole1_age, color='lightblue',
s=100, edgecolor='w', zorder=10000)
plt.scatter(pole2_MCpaleolat[:plotnumber],
pole2_MCages[:plotnumber], color='g', s=3)
plt.scatter(pole2_paleolat, pole2_age, color='lightgreen',
s=100, edgecolor='w', zorder=10000)
plt.plot([pole1_paleolat, pole2_paleolat], [
pole1_age, pole2_age], 'w-', linewidth=2)
plt.gca().invert_yaxis()
plt.xlabel('paleolatitude (degrees)', size=14)
plt.ylabel('time (Ma)', size=14)
plt.subplot(1, 2, 2)
plt.hist(pole1_pole2_cm_per_yr, bins=600)
plt.ylabel('n', size=14)
plt.xlabel('latitudinal drift rate (cm/yr)', size=14)
# plt.xlim([0,90])
if savefig == True:
plot_extension = '_3.svg'
plt.savefig(save_directory + figure_name + plot_extension)
plt.show()
twopointfive_percentile = stats.scoreatpercentile(
pole1_pole2_cm_per_yr, 2.5)
fifty_percentile = stats.scoreatpercentile(pole1_pole2_cm_per_yr, 50)
ninetysevenpointfive_percentile = stats.scoreatpercentile(
pole1_pole2_cm_per_yr, 97.5)
print("2.5th percentile is: " +
str(round(twopointfive_percentile, 2)) + " cm/yr")
print("50th percentile is: " + str(round(fifty_percentile, 2)) + " cm/yr")
print("97.5th percentile is: " +
str(round(ninetysevenpointfive_percentile, 2)) + " cm/yr")
return rate[0], twopointfive_percentile, ninetysevenpointfive_percentile
|
python
|
def plate_rate_mc(pole1_plon, pole1_plat, pole1_kappa, pole1_N, pole1_age, pole1_age_error,
pole2_plon, pole2_plat, pole2_kappa, pole2_N, pole2_age, pole2_age_error,
ref_loc_lon, ref_loc_lat, samplesize=10000, random_seed=None, plot=True,
savefig=True, save_directory='./', figure_name=''):
"""
Determine the latitudinal motion implied by a pair of poles and utilize
the Monte Carlo sampling method of Swanson-Hysell (2014) to determine the
associated uncertainty.
Parameters:
------------
plon : longitude of pole
plat : latitude of pole
kappa : Fisher precision parameter for VPGs in pole
N : number of VGPs in pole
age : age assigned to pole in Ma
age_error : 1 sigma age uncertainty in million years
ref_loc_lon : longitude of reference location
ref_loc_lat : latitude of reference location
samplesize : number of draws from pole and age distributions (default set to 10000)
random_seed : set random seed for reproducible number generation (default is None)
plot : whether to make figures (default is True, optional)
savefig : whether to save figures (default is True, optional)
save_directory = default is local directory (optional)
figure_name = prefix for file names (optional)
Returns
--------
rate : rate of latitudinal motion in cm/yr along with estimated 2.5 and 97.5
percentile rate estimates
"""
ref_loc = [ref_loc_lon, ref_loc_lat]
pole1 = (pole1_plon, pole1_plat)
pole1_paleolat = 90 - pmag.angle(pole1, ref_loc)
pole2 = (pole2_plon, pole2_plat)
pole2_paleolat = 90 - pmag.angle(pole2, ref_loc)
print("The paleolatitude for ref_loc resulting from pole 1 is:" +
str(pole1_paleolat))
print("The paleolatitude for ref_loc resulting from pole 2 is:" +
str(pole2_paleolat))
rate = old_div(((pole1_paleolat - pole2_paleolat) * 111 *
100000), ((pole1_age - pole2_age) * 1000000))
print("The rate of paleolatitudinal change implied by the poles pairs in cm/yr is:" + str(rate))
if random_seed != None:
np.random.seed(random_seed)
pole1_MCages = np.random.normal(pole1_age, pole1_age_error, samplesize)
pole2_MCages = np.random.normal(pole2_age, pole2_age_error, samplesize)
plt.hist(pole1_MCages, 100, histtype='stepfilled',
color='darkred', label='Pole 1 ages')
plt.hist(pole2_MCages, 100, histtype='stepfilled',
color='darkblue', label='Pole 2 ages')
plt.xlabel('Age (Ma)')
plt.ylabel('n')
plt.legend(loc=3)
if savefig == True:
plot_extension = '_1.svg'
plt.savefig(save_directory + figure_name + plot_extension)
plt.show()
pole1_MCpoles = []
pole1_MCpole_lat = []
pole1_MCpole_long = []
pole1_MCpaleolat = []
for n in range(samplesize):
vgp_samples = []
for vgp in range(pole1_N):
# pmag.dev returns a direction from a fisher distribution with
# specified kappa
direction_atN = pmag.fshdev(pole1_kappa)
# this direction is centered at latitude of 90 degrees and needs to be rotated
# to be centered on the mean pole position
tilt_direction = pole1_plon
tilt_amount = 90 - pole1_plat
direction = pmag.dotilt(
direction_atN[0], direction_atN[1], tilt_direction, tilt_amount)
vgp_samples.append([direction[0], direction[1], 1.])
mean = pmag.fisher_mean(vgp_samples)
mean_pole_position = (mean['dec'], mean['inc'])
pole1_MCpoles.append([mean['dec'], mean['inc'], 1.])
pole1_MCpole_lat.append(mean['inc'])
pole1_MCpole_long.append(mean['dec'])
paleolat = 90 - pmag.angle(mean_pole_position, ref_loc)
pole1_MCpaleolat.append(paleolat[0])
pole2_MCpoles = []
pole2_MCpole_lat = []
pole2_MCpole_long = []
pole2_MCpaleolat = []
for n in range(samplesize):
vgp_samples = []
for vgp in range(pole2_N):
# pmag.dev returns a direction from a fisher distribution with
# specified kappa
direction_atN = pmag.fshdev(pole2_kappa)
# this direction is centered at latitude of 90 degrees and needs to be rotated
# to be centered on the mean pole position
tilt_direction = pole2_plon
tilt_amount = 90 - pole2_plat
direction = pmag.dotilt(
direction_atN[0], direction_atN[1], tilt_direction, tilt_amount)
vgp_samples.append([direction[0], direction[1], 1.])
mean = pmag.fisher_mean(vgp_samples)
mean_pole_position = (mean['dec'], mean['inc'])
pole2_MCpoles.append([mean['dec'], mean['inc'], 1.])
pole2_MCpole_lat.append(mean['inc'])
pole2_MCpole_long.append(mean['dec'])
paleolat = 90 - pmag.angle(mean_pole_position, ref_loc)
pole2_MCpaleolat.append(paleolat[0])
if plot is True:
plt.figure(figsize=(5, 5))
map_axis = make_mollweide_map()
plot_vgp(map_axis, pole1_MCpole_long, pole1_MCpole_lat, color='b')
plot_vgp(map_axis, pole2_MCpole_long, pole2_MCpole_lat, color='g')
if savefig == True:
plot_extension = '_2.svg'
plt.savefig(save_directory + figure_name + plot_extension)
plt.show()
# calculating the change in paleolatitude between the Monte Carlo pairs
pole1_pole2_Delta_degrees = []
pole1_pole2_Delta_kilometers = []
pole1_pole2_Delta_myr = []
pole1_pole2_degrees_per_myr = []
pole1_pole2_cm_per_yr = []
for n in range(samplesize):
Delta_degrees = pole1_MCpaleolat[n] - pole2_MCpaleolat[n]
Delta_Myr = pole1_MCages[n] - pole2_MCages[n]
pole1_pole2_Delta_degrees.append(Delta_degrees)
degrees_per_myr = old_div(Delta_degrees, Delta_Myr)
cm_per_yr = old_div(((Delta_degrees * 111) * 100000),
(Delta_Myr * 1000000))
pole1_pole2_degrees_per_myr.append(degrees_per_myr)
pole1_pole2_cm_per_yr.append(cm_per_yr)
if plot is True:
plotnumber = 100
plt.figure(num=None, figsize=(10, 4))
plt.subplot(1, 2, 1)
for n in range(plotnumber):
plt.plot([pole1_MCpaleolat[n], pole2_MCpaleolat[n]],
[pole1_MCages[n], pole2_MCages[n]], 'k-', linewidth=0.1, alpha=0.3)
plt.scatter(pole1_MCpaleolat[:plotnumber],
pole1_MCages[:plotnumber], color='b', s=3)
plt.scatter(pole1_paleolat, pole1_age, color='lightblue',
s=100, edgecolor='w', zorder=10000)
plt.scatter(pole2_MCpaleolat[:plotnumber],
pole2_MCages[:plotnumber], color='g', s=3)
plt.scatter(pole2_paleolat, pole2_age, color='lightgreen',
s=100, edgecolor='w', zorder=10000)
plt.plot([pole1_paleolat, pole2_paleolat], [
pole1_age, pole2_age], 'w-', linewidth=2)
plt.gca().invert_yaxis()
plt.xlabel('paleolatitude (degrees)', size=14)
plt.ylabel('time (Ma)', size=14)
plt.subplot(1, 2, 2)
plt.hist(pole1_pole2_cm_per_yr, bins=600)
plt.ylabel('n', size=14)
plt.xlabel('latitudinal drift rate (cm/yr)', size=14)
# plt.xlim([0,90])
if savefig == True:
plot_extension = '_3.svg'
plt.savefig(save_directory + figure_name + plot_extension)
plt.show()
twopointfive_percentile = stats.scoreatpercentile(
pole1_pole2_cm_per_yr, 2.5)
fifty_percentile = stats.scoreatpercentile(pole1_pole2_cm_per_yr, 50)
ninetysevenpointfive_percentile = stats.scoreatpercentile(
pole1_pole2_cm_per_yr, 97.5)
print("2.5th percentile is: " +
str(round(twopointfive_percentile, 2)) + " cm/yr")
print("50th percentile is: " + str(round(fifty_percentile, 2)) + " cm/yr")
print("97.5th percentile is: " +
str(round(ninetysevenpointfive_percentile, 2)) + " cm/yr")
return rate[0], twopointfive_percentile, ninetysevenpointfive_percentile
|
[
"def",
"plate_rate_mc",
"(",
"pole1_plon",
",",
"pole1_plat",
",",
"pole1_kappa",
",",
"pole1_N",
",",
"pole1_age",
",",
"pole1_age_error",
",",
"pole2_plon",
",",
"pole2_plat",
",",
"pole2_kappa",
",",
"pole2_N",
",",
"pole2_age",
",",
"pole2_age_error",
",",
"ref_loc_lon",
",",
"ref_loc_lat",
",",
"samplesize",
"=",
"10000",
",",
"random_seed",
"=",
"None",
",",
"plot",
"=",
"True",
",",
"savefig",
"=",
"True",
",",
"save_directory",
"=",
"'./'",
",",
"figure_name",
"=",
"''",
")",
":",
"ref_loc",
"=",
"[",
"ref_loc_lon",
",",
"ref_loc_lat",
"]",
"pole1",
"=",
"(",
"pole1_plon",
",",
"pole1_plat",
")",
"pole1_paleolat",
"=",
"90",
"-",
"pmag",
".",
"angle",
"(",
"pole1",
",",
"ref_loc",
")",
"pole2",
"=",
"(",
"pole2_plon",
",",
"pole2_plat",
")",
"pole2_paleolat",
"=",
"90",
"-",
"pmag",
".",
"angle",
"(",
"pole2",
",",
"ref_loc",
")",
"print",
"(",
"\"The paleolatitude for ref_loc resulting from pole 1 is:\"",
"+",
"str",
"(",
"pole1_paleolat",
")",
")",
"print",
"(",
"\"The paleolatitude for ref_loc resulting from pole 2 is:\"",
"+",
"str",
"(",
"pole2_paleolat",
")",
")",
"rate",
"=",
"old_div",
"(",
"(",
"(",
"pole1_paleolat",
"-",
"pole2_paleolat",
")",
"*",
"111",
"*",
"100000",
")",
",",
"(",
"(",
"pole1_age",
"-",
"pole2_age",
")",
"*",
"1000000",
")",
")",
"print",
"(",
"\"The rate of paleolatitudinal change implied by the poles pairs in cm/yr is:\"",
"+",
"str",
"(",
"rate",
")",
")",
"if",
"random_seed",
"!=",
"None",
":",
"np",
".",
"random",
".",
"seed",
"(",
"random_seed",
")",
"pole1_MCages",
"=",
"np",
".",
"random",
".",
"normal",
"(",
"pole1_age",
",",
"pole1_age_error",
",",
"samplesize",
")",
"pole2_MCages",
"=",
"np",
".",
"random",
".",
"normal",
"(",
"pole2_age",
",",
"pole2_age_error",
",",
"samplesize",
")",
"plt",
".",
"hist",
"(",
"pole1_MCages",
",",
"100",
",",
"histtype",
"=",
"'stepfilled'",
",",
"color",
"=",
"'darkred'",
",",
"label",
"=",
"'Pole 1 ages'",
")",
"plt",
".",
"hist",
"(",
"pole2_MCages",
",",
"100",
",",
"histtype",
"=",
"'stepfilled'",
",",
"color",
"=",
"'darkblue'",
",",
"label",
"=",
"'Pole 2 ages'",
")",
"plt",
".",
"xlabel",
"(",
"'Age (Ma)'",
")",
"plt",
".",
"ylabel",
"(",
"'n'",
")",
"plt",
".",
"legend",
"(",
"loc",
"=",
"3",
")",
"if",
"savefig",
"==",
"True",
":",
"plot_extension",
"=",
"'_1.svg'",
"plt",
".",
"savefig",
"(",
"save_directory",
"+",
"figure_name",
"+",
"plot_extension",
")",
"plt",
".",
"show",
"(",
")",
"pole1_MCpoles",
"=",
"[",
"]",
"pole1_MCpole_lat",
"=",
"[",
"]",
"pole1_MCpole_long",
"=",
"[",
"]",
"pole1_MCpaleolat",
"=",
"[",
"]",
"for",
"n",
"in",
"range",
"(",
"samplesize",
")",
":",
"vgp_samples",
"=",
"[",
"]",
"for",
"vgp",
"in",
"range",
"(",
"pole1_N",
")",
":",
"# pmag.dev returns a direction from a fisher distribution with",
"# specified kappa",
"direction_atN",
"=",
"pmag",
".",
"fshdev",
"(",
"pole1_kappa",
")",
"# this direction is centered at latitude of 90 degrees and needs to be rotated",
"# to be centered on the mean pole position",
"tilt_direction",
"=",
"pole1_plon",
"tilt_amount",
"=",
"90",
"-",
"pole1_plat",
"direction",
"=",
"pmag",
".",
"dotilt",
"(",
"direction_atN",
"[",
"0",
"]",
",",
"direction_atN",
"[",
"1",
"]",
",",
"tilt_direction",
",",
"tilt_amount",
")",
"vgp_samples",
".",
"append",
"(",
"[",
"direction",
"[",
"0",
"]",
",",
"direction",
"[",
"1",
"]",
",",
"1.",
"]",
")",
"mean",
"=",
"pmag",
".",
"fisher_mean",
"(",
"vgp_samples",
")",
"mean_pole_position",
"=",
"(",
"mean",
"[",
"'dec'",
"]",
",",
"mean",
"[",
"'inc'",
"]",
")",
"pole1_MCpoles",
".",
"append",
"(",
"[",
"mean",
"[",
"'dec'",
"]",
",",
"mean",
"[",
"'inc'",
"]",
",",
"1.",
"]",
")",
"pole1_MCpole_lat",
".",
"append",
"(",
"mean",
"[",
"'inc'",
"]",
")",
"pole1_MCpole_long",
".",
"append",
"(",
"mean",
"[",
"'dec'",
"]",
")",
"paleolat",
"=",
"90",
"-",
"pmag",
".",
"angle",
"(",
"mean_pole_position",
",",
"ref_loc",
")",
"pole1_MCpaleolat",
".",
"append",
"(",
"paleolat",
"[",
"0",
"]",
")",
"pole2_MCpoles",
"=",
"[",
"]",
"pole2_MCpole_lat",
"=",
"[",
"]",
"pole2_MCpole_long",
"=",
"[",
"]",
"pole2_MCpaleolat",
"=",
"[",
"]",
"for",
"n",
"in",
"range",
"(",
"samplesize",
")",
":",
"vgp_samples",
"=",
"[",
"]",
"for",
"vgp",
"in",
"range",
"(",
"pole2_N",
")",
":",
"# pmag.dev returns a direction from a fisher distribution with",
"# specified kappa",
"direction_atN",
"=",
"pmag",
".",
"fshdev",
"(",
"pole2_kappa",
")",
"# this direction is centered at latitude of 90 degrees and needs to be rotated",
"# to be centered on the mean pole position",
"tilt_direction",
"=",
"pole2_plon",
"tilt_amount",
"=",
"90",
"-",
"pole2_plat",
"direction",
"=",
"pmag",
".",
"dotilt",
"(",
"direction_atN",
"[",
"0",
"]",
",",
"direction_atN",
"[",
"1",
"]",
",",
"tilt_direction",
",",
"tilt_amount",
")",
"vgp_samples",
".",
"append",
"(",
"[",
"direction",
"[",
"0",
"]",
",",
"direction",
"[",
"1",
"]",
",",
"1.",
"]",
")",
"mean",
"=",
"pmag",
".",
"fisher_mean",
"(",
"vgp_samples",
")",
"mean_pole_position",
"=",
"(",
"mean",
"[",
"'dec'",
"]",
",",
"mean",
"[",
"'inc'",
"]",
")",
"pole2_MCpoles",
".",
"append",
"(",
"[",
"mean",
"[",
"'dec'",
"]",
",",
"mean",
"[",
"'inc'",
"]",
",",
"1.",
"]",
")",
"pole2_MCpole_lat",
".",
"append",
"(",
"mean",
"[",
"'inc'",
"]",
")",
"pole2_MCpole_long",
".",
"append",
"(",
"mean",
"[",
"'dec'",
"]",
")",
"paleolat",
"=",
"90",
"-",
"pmag",
".",
"angle",
"(",
"mean_pole_position",
",",
"ref_loc",
")",
"pole2_MCpaleolat",
".",
"append",
"(",
"paleolat",
"[",
"0",
"]",
")",
"if",
"plot",
"is",
"True",
":",
"plt",
".",
"figure",
"(",
"figsize",
"=",
"(",
"5",
",",
"5",
")",
")",
"map_axis",
"=",
"make_mollweide_map",
"(",
")",
"plot_vgp",
"(",
"map_axis",
",",
"pole1_MCpole_long",
",",
"pole1_MCpole_lat",
",",
"color",
"=",
"'b'",
")",
"plot_vgp",
"(",
"map_axis",
",",
"pole2_MCpole_long",
",",
"pole2_MCpole_lat",
",",
"color",
"=",
"'g'",
")",
"if",
"savefig",
"==",
"True",
":",
"plot_extension",
"=",
"'_2.svg'",
"plt",
".",
"savefig",
"(",
"save_directory",
"+",
"figure_name",
"+",
"plot_extension",
")",
"plt",
".",
"show",
"(",
")",
"# calculating the change in paleolatitude between the Monte Carlo pairs",
"pole1_pole2_Delta_degrees",
"=",
"[",
"]",
"pole1_pole2_Delta_kilometers",
"=",
"[",
"]",
"pole1_pole2_Delta_myr",
"=",
"[",
"]",
"pole1_pole2_degrees_per_myr",
"=",
"[",
"]",
"pole1_pole2_cm_per_yr",
"=",
"[",
"]",
"for",
"n",
"in",
"range",
"(",
"samplesize",
")",
":",
"Delta_degrees",
"=",
"pole1_MCpaleolat",
"[",
"n",
"]",
"-",
"pole2_MCpaleolat",
"[",
"n",
"]",
"Delta_Myr",
"=",
"pole1_MCages",
"[",
"n",
"]",
"-",
"pole2_MCages",
"[",
"n",
"]",
"pole1_pole2_Delta_degrees",
".",
"append",
"(",
"Delta_degrees",
")",
"degrees_per_myr",
"=",
"old_div",
"(",
"Delta_degrees",
",",
"Delta_Myr",
")",
"cm_per_yr",
"=",
"old_div",
"(",
"(",
"(",
"Delta_degrees",
"*",
"111",
")",
"*",
"100000",
")",
",",
"(",
"Delta_Myr",
"*",
"1000000",
")",
")",
"pole1_pole2_degrees_per_myr",
".",
"append",
"(",
"degrees_per_myr",
")",
"pole1_pole2_cm_per_yr",
".",
"append",
"(",
"cm_per_yr",
")",
"if",
"plot",
"is",
"True",
":",
"plotnumber",
"=",
"100",
"plt",
".",
"figure",
"(",
"num",
"=",
"None",
",",
"figsize",
"=",
"(",
"10",
",",
"4",
")",
")",
"plt",
".",
"subplot",
"(",
"1",
",",
"2",
",",
"1",
")",
"for",
"n",
"in",
"range",
"(",
"plotnumber",
")",
":",
"plt",
".",
"plot",
"(",
"[",
"pole1_MCpaleolat",
"[",
"n",
"]",
",",
"pole2_MCpaleolat",
"[",
"n",
"]",
"]",
",",
"[",
"pole1_MCages",
"[",
"n",
"]",
",",
"pole2_MCages",
"[",
"n",
"]",
"]",
",",
"'k-'",
",",
"linewidth",
"=",
"0.1",
",",
"alpha",
"=",
"0.3",
")",
"plt",
".",
"scatter",
"(",
"pole1_MCpaleolat",
"[",
":",
"plotnumber",
"]",
",",
"pole1_MCages",
"[",
":",
"plotnumber",
"]",
",",
"color",
"=",
"'b'",
",",
"s",
"=",
"3",
")",
"plt",
".",
"scatter",
"(",
"pole1_paleolat",
",",
"pole1_age",
",",
"color",
"=",
"'lightblue'",
",",
"s",
"=",
"100",
",",
"edgecolor",
"=",
"'w'",
",",
"zorder",
"=",
"10000",
")",
"plt",
".",
"scatter",
"(",
"pole2_MCpaleolat",
"[",
":",
"plotnumber",
"]",
",",
"pole2_MCages",
"[",
":",
"plotnumber",
"]",
",",
"color",
"=",
"'g'",
",",
"s",
"=",
"3",
")",
"plt",
".",
"scatter",
"(",
"pole2_paleolat",
",",
"pole2_age",
",",
"color",
"=",
"'lightgreen'",
",",
"s",
"=",
"100",
",",
"edgecolor",
"=",
"'w'",
",",
"zorder",
"=",
"10000",
")",
"plt",
".",
"plot",
"(",
"[",
"pole1_paleolat",
",",
"pole2_paleolat",
"]",
",",
"[",
"pole1_age",
",",
"pole2_age",
"]",
",",
"'w-'",
",",
"linewidth",
"=",
"2",
")",
"plt",
".",
"gca",
"(",
")",
".",
"invert_yaxis",
"(",
")",
"plt",
".",
"xlabel",
"(",
"'paleolatitude (degrees)'",
",",
"size",
"=",
"14",
")",
"plt",
".",
"ylabel",
"(",
"'time (Ma)'",
",",
"size",
"=",
"14",
")",
"plt",
".",
"subplot",
"(",
"1",
",",
"2",
",",
"2",
")",
"plt",
".",
"hist",
"(",
"pole1_pole2_cm_per_yr",
",",
"bins",
"=",
"600",
")",
"plt",
".",
"ylabel",
"(",
"'n'",
",",
"size",
"=",
"14",
")",
"plt",
".",
"xlabel",
"(",
"'latitudinal drift rate (cm/yr)'",
",",
"size",
"=",
"14",
")",
"# plt.xlim([0,90])",
"if",
"savefig",
"==",
"True",
":",
"plot_extension",
"=",
"'_3.svg'",
"plt",
".",
"savefig",
"(",
"save_directory",
"+",
"figure_name",
"+",
"plot_extension",
")",
"plt",
".",
"show",
"(",
")",
"twopointfive_percentile",
"=",
"stats",
".",
"scoreatpercentile",
"(",
"pole1_pole2_cm_per_yr",
",",
"2.5",
")",
"fifty_percentile",
"=",
"stats",
".",
"scoreatpercentile",
"(",
"pole1_pole2_cm_per_yr",
",",
"50",
")",
"ninetysevenpointfive_percentile",
"=",
"stats",
".",
"scoreatpercentile",
"(",
"pole1_pole2_cm_per_yr",
",",
"97.5",
")",
"print",
"(",
"\"2.5th percentile is: \"",
"+",
"str",
"(",
"round",
"(",
"twopointfive_percentile",
",",
"2",
")",
")",
"+",
"\" cm/yr\"",
")",
"print",
"(",
"\"50th percentile is: \"",
"+",
"str",
"(",
"round",
"(",
"fifty_percentile",
",",
"2",
")",
")",
"+",
"\" cm/yr\"",
")",
"print",
"(",
"\"97.5th percentile is: \"",
"+",
"str",
"(",
"round",
"(",
"ninetysevenpointfive_percentile",
",",
"2",
")",
")",
"+",
"\" cm/yr\"",
")",
"return",
"rate",
"[",
"0",
"]",
",",
"twopointfive_percentile",
",",
"ninetysevenpointfive_percentile"
] |
Determine the latitudinal motion implied by a pair of poles and utilize
the Monte Carlo sampling method of Swanson-Hysell (2014) to determine the
associated uncertainty.
Parameters:
------------
plon : longitude of pole
plat : latitude of pole
kappa : Fisher precision parameter for VPGs in pole
N : number of VGPs in pole
age : age assigned to pole in Ma
age_error : 1 sigma age uncertainty in million years
ref_loc_lon : longitude of reference location
ref_loc_lat : latitude of reference location
samplesize : number of draws from pole and age distributions (default set to 10000)
random_seed : set random seed for reproducible number generation (default is None)
plot : whether to make figures (default is True, optional)
savefig : whether to save figures (default is True, optional)
save_directory = default is local directory (optional)
figure_name = prefix for file names (optional)
Returns
--------
rate : rate of latitudinal motion in cm/yr along with estimated 2.5 and 97.5
percentile rate estimates
|
[
"Determine",
"the",
"latitudinal",
"motion",
"implied",
"by",
"a",
"pair",
"of",
"poles",
"and",
"utilize",
"the",
"Monte",
"Carlo",
"sampling",
"method",
"of",
"Swanson",
"-",
"Hysell",
"(",
"2014",
")",
"to",
"determine",
"the",
"associated",
"uncertainty",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L8065-L8245
|
train
|
Calculates the rate of a single plate in the Ma
.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(202 - 154) + '\x6f' + chr(1570 - 1521) + chr(1323 - 1274) + chr(0b110111), 37084 - 37076), nzTpIcepk0o8(chr(48) + chr(111) + chr(1455 - 1406) + chr(0b100001 + 0o26) + chr(0b1100 + 0o52), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b111 + 0o53) + chr(385 - 334) + '\067', 0o10), nzTpIcepk0o8(chr(1154 - 1106) + chr(0b101000 + 0o107) + chr(0b1001 + 0o51) + chr(0b110111) + chr(0b101 + 0o61), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b110000 + 0o77) + '\063' + chr(53) + chr(0b110100), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\066', 0o10), nzTpIcepk0o8(chr(0b11111 + 0o21) + chr(111) + chr(0b1001 + 0o50) + chr(0b110101) + '\066', ord("\x08")), nzTpIcepk0o8('\060' + '\157' + '\061' + '\062' + chr(0b110111), ord("\x08")), nzTpIcepk0o8(chr(2097 - 2049) + chr(0b1101111) + '\x32' + chr(0b11101 + 0o32) + chr(0b110000), 49316 - 49308), nzTpIcepk0o8('\060' + chr(0b1101111) + '\063' + chr(0b110011), 0o10), nzTpIcepk0o8(chr(0b100110 + 0o12) + chr(111) + chr(0b101000 + 0o12) + chr(0b110010) + '\061', ord("\x08")), nzTpIcepk0o8(chr(1830 - 1782) + '\157' + chr(456 - 406) + '\x36' + '\065', 0b1000), nzTpIcepk0o8('\060' + '\x6f' + '\x33' + '\062' + chr(0b110111), 36853 - 36845), nzTpIcepk0o8('\x30' + '\x6f' + '\x37', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(8091 - 7980) + chr(0b101100 + 0o7) + chr(0b100101 + 0o21) + chr(52), 0o10), nzTpIcepk0o8('\060' + chr(0b1000110 + 0o51) + chr(50) + chr(50) + '\066', 0b1000), nzTpIcepk0o8(chr(2242 - 2194) + chr(8212 - 8101) + chr(0b110011) + chr(0b110101), 0b1000), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b1100 + 0o45) + '\065' + chr(0b100101 + 0o21), 8), nzTpIcepk0o8('\x30' + '\157' + chr(1582 - 1533) + chr(2634 - 2580) + chr(49), 0b1000), nzTpIcepk0o8(chr(0b1111 + 0o41) + '\x6f' + '\063' + chr(54), 0o10), nzTpIcepk0o8(chr(0b0 + 0o60) + '\157' + chr(1572 - 1523) + '\x32' + chr(1021 - 968), 0b1000), nzTpIcepk0o8('\060' + chr(5813 - 5702) + chr(0b110101 + 0o1) + '\x37', 8409 - 8401), nzTpIcepk0o8('\060' + chr(0b1001 + 0o146) + chr(0b0 + 0o63) + '\066' + '\065', 0b1000), nzTpIcepk0o8(chr(48) + chr(0b110100 + 0o73) + '\x31' + chr(0b1100 + 0o47) + chr(2070 - 2020), 0b1000), nzTpIcepk0o8('\060' + chr(111) + chr(0b110001) + '\060' + chr(0b110111), ord("\x08")), nzTpIcepk0o8(chr(2051 - 2003) + chr(6560 - 6449) + chr(0b10011 + 0o36) + chr(55) + chr(0b110101), 45824 - 45816), nzTpIcepk0o8(chr(48) + chr(8521 - 8410) + chr(1837 - 1788) + chr(489 - 439) + chr(415 - 367), 17936 - 17928), nzTpIcepk0o8(chr(2263 - 2215) + '\x6f' + '\x31' + chr(0b110 + 0o60) + chr(0b100110 + 0o16), ord("\x08")), nzTpIcepk0o8('\060' + '\157' + chr(0b111 + 0o53) + chr(0b110001) + '\x30', 0o10), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b11101 + 0o25) + '\x30' + chr(52), 0b1000), nzTpIcepk0o8(chr(0b11101 + 0o23) + chr(0b10100 + 0o133) + chr(1201 - 1147) + '\x31', 0b1000), nzTpIcepk0o8('\060' + chr(111) + '\x32' + chr(1734 - 1682) + '\x33', 0b1000), nzTpIcepk0o8(chr(48) + chr(185 - 74) + chr(1247 - 1195) + chr(0b10110 + 0o35), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b10100 + 0o133) + chr(51) + chr(55), 54111 - 54103), nzTpIcepk0o8(chr(48) + '\157' + chr(291 - 237) + '\x33', 0o10), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b101111 + 0o5) + chr(55), 38434 - 38426), nzTpIcepk0o8('\x30' + chr(111) + '\062' + chr(0b110000 + 0o1) + chr(49), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(51) + chr(0b110110) + '\063', 0b1000), nzTpIcepk0o8('\x30' + chr(111) + '\062' + chr(0b110111) + chr(2315 - 2264), 1991 - 1983), nzTpIcepk0o8('\x30' + '\157' + chr(1721 - 1668) + chr(0b101 + 0o53), ord("\x08"))][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(1842 - 1789) + chr(0b110000 + 0o0), 8)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'a'), '\x64' + chr(0b11001 + 0o114) + chr(9367 - 9268) + chr(9485 - 9374) + '\x64' + '\x65')(chr(1249 - 1132) + '\164' + '\146' + chr(0b101100 + 0o1) + chr(2997 - 2941)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def tRzilbxc9Ia5(p8xDsjWkBp7u, Ex2hOrr9v6Nd, DwqAHnWNSWwr, FJ2Vjn1XsB6T, YJFghkEoXSdu, Vh_8WlFKQaKd, wWDIkzBG3HLi, HgqoIK8xX6NT, v7exTnRCH62S, LQr8v3FSim0a, TtBb664SoRZ3, TxtMgaHlDAwe, BX_HGyX48Xh7, pbogVjVX7odJ, nRgHodF2HX2B=nzTpIcepk0o8(chr(466 - 418) + '\x6f' + '\x32' + chr(0b101 + 0o56) + chr(0b110 + 0o56) + chr(992 - 942) + chr(0b110000), 0b1000), b_yicrCODGH3=None, mocO8sWgkzH7=nzTpIcepk0o8(chr(739 - 691) + chr(111) + '\x31', 42882 - 42874), _XKdSyUpUmBk=nzTpIcepk0o8('\060' + '\157' + chr(1272 - 1223), 8), eusUzaoe2zmY=roI3spqORKae(ES5oEprVxulp(b'aQ'), chr(100) + '\x65' + '\x63' + chr(0b1000000 + 0o57) + chr(819 - 719) + '\145')(chr(3890 - 3773) + chr(116) + chr(6736 - 6634) + chr(456 - 411) + chr(0b110110 + 0o2)), imSKGlrudp0l=roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(0b1100101) + chr(0b1001000 + 0o33) + chr(5067 - 4956) + chr(8129 - 8029) + '\145')('\x75' + chr(116) + chr(0b1100110) + chr(0b10001 + 0o34) + chr(56))):
qBRbDbC14dGb = [BX_HGyX48Xh7, pbogVjVX7odJ]
mLF2PJh8nzlW = (p8xDsjWkBp7u, Ex2hOrr9v6Nd)
JUTHaGULgpHy = nzTpIcepk0o8('\x30' + chr(123 - 12) + chr(49) + '\x33' + chr(0b110010), 8) - hUcsWwAd0nE_.aO7VavFy3Xvk(mLF2PJh8nzlW, qBRbDbC14dGb)
RwB5ZWyqfLIY = (wWDIkzBG3HLi, HgqoIK8xX6NT)
IIckuB2scR32 = nzTpIcepk0o8(chr(671 - 623) + chr(0b1101111) + chr(0b10100 + 0o35) + chr(0b10 + 0o61) + chr(0b110010), 8) - hUcsWwAd0nE_.aO7VavFy3Xvk(RwB5ZWyqfLIY, qBRbDbC14dGb)
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x1b\x16\xfa\x9e\x9cg\x022\xd7w\xf0\xc1\xbes\x81\xf2xN\x17q\'\x17\x87?!"<\x1b\xeb\xa4C\xc6Pj_S\xe0\x9d\xdc\x08)\x0c\xf0\xd3\xccv\x01;\xdd;\xa0\x95\xbet\xce'), chr(0b1100100) + chr(4701 - 4600) + '\143' + chr(111) + chr(0b1100100) + chr(101))(chr(5899 - 5782) + '\x74' + '\x66' + chr(943 - 898) + chr(56)) + N9zlRy29S1SS(JUTHaGULgpHy))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x1b\x16\xfa\x9e\x9cg\x022\xd7w\xf0\xc1\xbes\x81\xf2xN\x17q\'\x17\x87?!"<\x1b\xeb\xa4C\xc6Pj_S\xe0\x9d\xdc\x08)\x0c\xf0\xd3\xccv\x01;\xdd;\xa3\x95\xbet\xce'), '\144' + chr(6087 - 5986) + '\x63' + chr(0b1101111) + chr(0b1100100) + chr(101))(chr(117) + chr(116) + chr(0b1100101 + 0o1) + chr(1670 - 1625) + '\070') + N9zlRy29S1SS(IIckuB2scR32))
TUhPdsFPKBWT = SVfYwQaP38MC((JUTHaGULgpHy - IIckuB2scR32) * nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\061' + chr(53) + chr(0b110111), 45173 - 45165) * nzTpIcepk0o8(chr(48) + '\157' + chr(0b110011) + chr(2229 - 2181) + chr(0b110011) + chr(1419 - 1369) + chr(0b110100) + chr(0b1011 + 0o45), ord("\x08")), (YJFghkEoXSdu - TtBb664SoRZ3) * nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(1611 - 1560) + '\x36' + chr(887 - 835) + '\061' + chr(0b101010 + 0o7) + chr(0b10101 + 0o33) + chr(0b110000), 61143 - 61135))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b"\x1b\x16\xfa\x9e\x9eg\x1a2\x98t\xf7\x95\xa7f\x98\xf3r\x02\x10j<C\x80>.\x131\x18\xa8\xe7Y\xc2MxV\x07\xe0\x9e\xcbD&\x1b\xfb\x9e\x8e\x7fN#\xd0~\xb1\xc5\xb8k\x91\xe5=\x1e\x10w'D\xd53)]3\x19\xa7\xfdC\x83Jl\t"), chr(0b1100100) + chr(2059 - 1958) + chr(7600 - 7501) + chr(0b1101111) + chr(6986 - 6886) + chr(101))(chr(117) + chr(116) + chr(102) + chr(45) + '\x38') + N9zlRy29S1SS(TUhPdsFPKBWT))
if b_yicrCODGH3 is not None:
roI3spqORKae(nDF4gVNx0u9Q.random, roI3spqORKae(ES5oEprVxulp(b'%/\xd6\xe9\xbdeXd\xecY\xc9\x83'), chr(0b1001000 + 0o34) + chr(101) + '\143' + chr(11701 - 11590) + chr(5012 - 4912) + chr(101))(chr(0b1110101) + '\164' + chr(102) + chr(0b101 + 0o50) + chr(0b111000)))(b_yicrCODGH3)
Qft7zXWCRSl4 = nDF4gVNx0u9Q.random.normal(YJFghkEoXSdu, Vh_8WlFKQaKd, nRgHodF2HX2B)
XL7qjbUcMPNq = nDF4gVNx0u9Q.random.normal(TtBb664SoRZ3, TxtMgaHlDAwe, nRgHodF2HX2B)
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'99\xea\xd8\xa21\x1d\x1b\xf3Q\xa5\xfc'), '\144' + chr(0b101100 + 0o71) + '\143' + chr(0b100111 + 0o110) + chr(0b1100100) + '\x65')(chr(0b1011111 + 0o26) + chr(116) + chr(0b100 + 0o142) + '\055' + chr(0b11111 + 0o31)))(Qft7zXWCRSl4, nzTpIcepk0o8(chr(48) + '\x6f' + chr(49) + chr(677 - 625) + chr(52), 0o10), histtype=roI3spqORKae(ES5oEprVxulp(b'<\n\xfa\xce\x8ao\x02;\xdd\x7f'), '\x64' + chr(0b1100101) + '\143' + '\157' + '\144' + chr(0b1011011 + 0o12))(chr(0b111011 + 0o72) + chr(116) + chr(908 - 806) + '\x2d' + chr(2458 - 2402)), color=roI3spqORKae(ES5oEprVxulp(b'+\x1f\xed\xd5\x9ec\n'), chr(100) + chr(0b1100101) + '\x63' + chr(0b1101111) + chr(100) + chr(101))(chr(0b1000010 + 0o63) + chr(5384 - 5268) + chr(2629 - 2527) + chr(45) + chr(773 - 717)), label=roI3spqORKae(ES5oEprVxulp(b'\x1f\x11\xf3\xdb\xcc7N6\xdf~\xe2'), chr(100) + '\145' + '\143' + chr(0b1001100 + 0o43) + '\144' + chr(2038 - 1937))(chr(0b1110101) + chr(0b1110100) + '\x66' + chr(1770 - 1725) + chr(0b110100 + 0o4)))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'99\xea\xd8\xa21\x1d\x1b\xf3Q\xa5\xfc'), chr(0b1100100) + chr(101) + chr(99) + chr(0b1101111) + chr(0b1100100) + chr(0b1100101))('\x75' + '\x74' + chr(8614 - 8512) + chr(0b111 + 0o46) + chr(0b100111 + 0o21)))(XL7qjbUcMPNq, nzTpIcepk0o8('\060' + '\157' + '\x31' + chr(0b110100) + chr(1494 - 1442), 8), histtype=roI3spqORKae(ES5oEprVxulp(b'<\n\xfa\xce\x8ao\x02;\xdd\x7f'), chr(100) + chr(0b1100101) + chr(0b1001000 + 0o33) + '\157' + chr(0b1100100) + chr(992 - 891))('\165' + chr(4956 - 4840) + '\x66' + '\055' + chr(56)), color=roI3spqORKae(ES5oEprVxulp(b'+\x1f\xed\xd5\x8ej\x1b2'), chr(0b1100100) + '\145' + '\143' + '\157' + chr(342 - 242) + '\x65')('\x75' + chr(1366 - 1250) + chr(102) + chr(133 - 88) + '\x38'), label=roI3spqORKae(ES5oEprVxulp(b'\x1f\x11\xf3\xdb\xcc4N6\xdf~\xe2'), chr(0b1010100 + 0o20) + '\145' + chr(99) + chr(0b1101111) + chr(100) + '\x65')(chr(0b1010011 + 0o42) + chr(0b1110100) + chr(5604 - 5502) + '\055' + chr(0b0 + 0o70)))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'7\x12\xfe\xdc\x89j'), chr(5399 - 5299) + chr(0b1100101) + '\x63' + chr(111) + '\x64' + chr(101))(chr(117) + chr(0b10 + 0o162) + chr(102) + chr(0b101 + 0o50) + chr(56)))(roI3spqORKae(ES5oEprVxulp(b'\x0e\x19\xfa\x9e\xc4K\x0f~'), chr(0b1100100) + chr(0b1100101) + chr(99) + '\x6f' + chr(0b1010001 + 0o23) + chr(0b10000 + 0o125))(chr(0b1110101) + '\164' + chr(0b1100110) + chr(0b101101) + chr(0b110110 + 0o2)))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'6\x12\xfe\xdc\x89j'), chr(100) + chr(0b1100101) + '\143' + chr(2315 - 2204) + chr(9951 - 9851) + chr(0b1001110 + 0o27))(chr(117) + chr(116) + chr(0b101101 + 0o71) + chr(0b101101) + '\x38'))(roI3spqORKae(ES5oEprVxulp(b'!'), '\144' + chr(0b1100101) + chr(0b111001 + 0o52) + '\157' + chr(0b111000 + 0o54) + chr(101))('\165' + chr(10673 - 10557) + chr(0b1100110) + chr(0b101101) + chr(747 - 691)))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'#\x1b\xf8\xdb\x82b'), chr(0b10011 + 0o121) + chr(0b1010000 + 0o25) + chr(0b10111 + 0o114) + '\x6f' + chr(0b100000 + 0o104) + '\145')(chr(0b1110101) + chr(116) + chr(6322 - 6220) + chr(45) + '\070'))(loc=nzTpIcepk0o8('\x30' + chr(3823 - 3712) + chr(2269 - 2218), 20696 - 20688))
if _XKdSyUpUmBk:
wnULkhG6JDrd = roI3spqORKae(ES5oEprVxulp(b'\x10O\xb1\xcd\x9aa'), chr(2754 - 2654) + chr(7317 - 7216) + '\143' + chr(0b10000 + 0o137) + '\144' + chr(7049 - 6948))(chr(117) + '\164' + chr(7815 - 7713) + chr(1638 - 1593) + chr(0b111000))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'<\x1f\xe9\xdb\x8ao\t'), chr(100) + chr(101) + chr(99) + chr(111) + chr(0b1100100) + '\x65')(chr(0b1101011 + 0o12) + chr(3681 - 3565) + '\x66' + chr(0b101101) + chr(1155 - 1099)))(eusUzaoe2zmY + imSKGlrudp0l + wnULkhG6JDrd)
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'))\xda\xd3\x89N9#\xe7D\xdd\xcf'), chr(0b1100010 + 0o2) + chr(0b1100101) + chr(99) + chr(111) + chr(0b1100100) + chr(895 - 794))('\165' + '\164' + chr(0b1000010 + 0o44) + chr(0b101101) + '\070'))()
f1RPbiW2TCkO = []
_ALLtM4XYuYA = []
IMPQDWHB8bGZ = []
JI94fhBXFzlT = []
for NoZxuO7wjArS in bbT2xIe5pzk7(nRgHodF2HX2B):
v0YW6xUgMKLB = []
for jjbqlttyMMej in bbT2xIe5pzk7(FJ2Vjn1XsB6T):
DIaps7eeIqIc = hUcsWwAd0nE_.fshdev(DwqAHnWNSWwr)
ujMG8tiGAcAO = p8xDsjWkBp7u
YxD_IBfVetZf = nzTpIcepk0o8(chr(0b110000) + chr(748 - 637) + chr(49) + chr(2581 - 2530) + chr(0b100011 + 0o17), 8) - Ex2hOrr9v6Nd
rWMsESlLhmTs = hUcsWwAd0nE_.dotilt(DIaps7eeIqIc[nzTpIcepk0o8(chr(0b11111 + 0o21) + chr(0b1100001 + 0o16) + chr(48), 54251 - 54243)], DIaps7eeIqIc[nzTpIcepk0o8(chr(48) + chr(111) + chr(49), 8)], ujMG8tiGAcAO, YxD_IBfVetZf)
roI3spqORKae(v0YW6xUgMKLB, roI3spqORKae(ES5oEprVxulp(b'\x07*\xcc\x8a\x94a)8\xd2t\xc4\x80'), '\144' + chr(101) + chr(0b1100011) + '\x6f' + chr(0b1100100) + chr(9741 - 9640))('\165' + '\164' + chr(3108 - 3006) + '\x2d' + chr(0b111000)))([rWMsESlLhmTs[nzTpIcepk0o8('\060' + '\x6f' + chr(0b110000), 8)], rWMsESlLhmTs[nzTpIcepk0o8('\060' + '\x6f' + chr(1235 - 1186), 8)], 1.0])
JE1frtxECu3x = hUcsWwAd0nE_.fisher_mean(v0YW6xUgMKLB)
u442IHTsfc56 = (JE1frtxECu3x[roI3spqORKae(ES5oEprVxulp(b'+\x1b\xfc'), '\x64' + chr(0b11001 + 0o114) + '\x63' + '\157' + '\144' + chr(0b1011000 + 0o15))(chr(0b1110101) + '\164' + '\146' + chr(0b1101 + 0o40) + '\x38')], JE1frtxECu3x[roI3spqORKae(ES5oEprVxulp(b'&\x10\xfc'), '\x64' + chr(0b1100101) + '\143' + chr(111) + '\144' + '\145')(chr(0b1110101) + '\x74' + '\x66' + chr(1306 - 1261) + chr(2708 - 2652))])
roI3spqORKae(f1RPbiW2TCkO, roI3spqORKae(ES5oEprVxulp(b'\x07*\xcc\x8a\x94a)8\xd2t\xc4\x80'), chr(6334 - 6234) + '\x65' + chr(99) + chr(9710 - 9599) + chr(5850 - 5750) + chr(0b10101 + 0o120))(chr(0b1110101) + chr(0b1110100) + chr(102) + chr(0b101000 + 0o5) + '\070'))([JE1frtxECu3x[roI3spqORKae(ES5oEprVxulp(b'+\x1b\xfc'), chr(0b101110 + 0o66) + '\145' + '\x63' + chr(111) + chr(100) + '\x65')(chr(0b111001 + 0o74) + chr(5320 - 5204) + chr(9931 - 9829) + chr(45) + chr(0b110100 + 0o4))], JE1frtxECu3x[roI3spqORKae(ES5oEprVxulp(b'&\x10\xfc'), '\x64' + '\x65' + '\143' + chr(0b100110 + 0o111) + '\x64' + chr(0b100100 + 0o101))('\x75' + chr(0b1110100) + chr(102) + chr(996 - 951) + chr(643 - 587))], 1.0])
roI3spqORKae(_ALLtM4XYuYA, roI3spqORKae(ES5oEprVxulp(b'\x07*\xcc\x8a\x94a)8\xd2t\xc4\x80'), chr(8366 - 8266) + chr(0b1010000 + 0o25) + chr(6852 - 6753) + chr(0b111010 + 0o65) + '\x64' + chr(169 - 68))(chr(117) + chr(0b1110100) + '\x66' + '\055' + chr(1415 - 1359)))(JE1frtxECu3x[roI3spqORKae(ES5oEprVxulp(b'&\x10\xfc'), chr(3963 - 3863) + chr(0b1000 + 0o135) + '\143' + chr(111) + '\x64' + '\x65')(chr(117) + chr(0b1110100) + chr(102) + chr(1969 - 1924) + chr(56))])
roI3spqORKae(IMPQDWHB8bGZ, roI3spqORKae(ES5oEprVxulp(b'\x07*\xcc\x8a\x94a)8\xd2t\xc4\x80'), '\x64' + chr(0b100000 + 0o105) + '\x63' + chr(0b1101010 + 0o5) + chr(0b1100100) + '\x65')(chr(0b1110101) + chr(0b1110100) + chr(0b101100 + 0o72) + chr(0b11111 + 0o16) + '\x38'))(JE1frtxECu3x[roI3spqORKae(ES5oEprVxulp(b'+\x1b\xfc'), chr(0b1100100) + '\x65' + '\x63' + chr(7035 - 6924) + '\144' + '\x65')(chr(0b1010 + 0o153) + chr(0b1110100) + chr(0b1100110) + chr(1749 - 1704) + chr(0b111000))])
fCrXCNFRBM7s = nzTpIcepk0o8(chr(423 - 375) + '\157' + chr(0b110001) + chr(0b110011) + '\062', 8) - hUcsWwAd0nE_.aO7VavFy3Xvk(u442IHTsfc56, qBRbDbC14dGb)
roI3spqORKae(JI94fhBXFzlT, roI3spqORKae(ES5oEprVxulp(b'\x07*\xcc\x8a\x94a)8\xd2t\xc4\x80'), '\x64' + chr(398 - 297) + chr(0b100100 + 0o77) + '\x6f' + chr(100) + chr(5596 - 5495))('\x75' + chr(116) + '\x66' + '\055' + chr(2906 - 2850)))(fCrXCNFRBM7s[nzTpIcepk0o8(chr(0b11001 + 0o27) + chr(0b1101111) + chr(0b100100 + 0o14), 8)])
kaEDqAxisFW3 = []
DZD9LJmH0pq3 = []
mT1rK15huZm4 = []
vjzxNdB9Opts = []
for NoZxuO7wjArS in bbT2xIe5pzk7(nRgHodF2HX2B):
v0YW6xUgMKLB = []
for jjbqlttyMMej in bbT2xIe5pzk7(LQr8v3FSim0a):
DIaps7eeIqIc = hUcsWwAd0nE_.fshdev(v7exTnRCH62S)
ujMG8tiGAcAO = wWDIkzBG3HLi
YxD_IBfVetZf = nzTpIcepk0o8(chr(433 - 385) + chr(0b1101111) + '\061' + chr(1779 - 1728) + '\x32', 8) - HgqoIK8xX6NT
rWMsESlLhmTs = hUcsWwAd0nE_.dotilt(DIaps7eeIqIc[nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110000), 8)], DIaps7eeIqIc[nzTpIcepk0o8('\060' + '\157' + chr(2331 - 2282), 8)], ujMG8tiGAcAO, YxD_IBfVetZf)
roI3spqORKae(v0YW6xUgMKLB, roI3spqORKae(ES5oEprVxulp(b'\x07*\xcc\x8a\x94a)8\xd2t\xc4\x80'), '\x64' + '\x65' + chr(0b1100011) + '\x6f' + chr(0b1100100) + chr(0b1001101 + 0o30))(chr(0b1110101) + chr(6679 - 6563) + chr(2797 - 2695) + chr(0b11000 + 0o25) + chr(0b10110 + 0o42)))([rWMsESlLhmTs[nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110000), 8)], rWMsESlLhmTs[nzTpIcepk0o8(chr(630 - 582) + chr(0b11111 + 0o120) + chr(0b110001), 8)], 1.0])
JE1frtxECu3x = hUcsWwAd0nE_.fisher_mean(v0YW6xUgMKLB)
u442IHTsfc56 = (JE1frtxECu3x[roI3spqORKae(ES5oEprVxulp(b'+\x1b\xfc'), chr(7211 - 7111) + chr(101) + '\x63' + '\x6f' + '\144' + chr(0b1100101))(chr(0b1110101) + chr(116) + chr(102) + '\055' + chr(0b101111 + 0o11))], JE1frtxECu3x[roI3spqORKae(ES5oEprVxulp(b'&\x10\xfc'), chr(0b1100100) + chr(0b1100101) + chr(0b1001100 + 0o27) + '\x6f' + chr(4947 - 4847) + chr(101))(chr(117) + chr(11933 - 11817) + chr(102) + chr(0b100100 + 0o11) + chr(0b100111 + 0o21))])
roI3spqORKae(kaEDqAxisFW3, roI3spqORKae(ES5oEprVxulp(b'\x07*\xcc\x8a\x94a)8\xd2t\xc4\x80'), '\144' + chr(0b11000 + 0o115) + chr(0b111100 + 0o47) + '\157' + '\144' + '\145')(chr(117) + chr(0b1110100) + '\x66' + chr(461 - 416) + chr(0b111000)))([JE1frtxECu3x[roI3spqORKae(ES5oEprVxulp(b'+\x1b\xfc'), chr(100) + chr(841 - 740) + chr(99) + chr(0b101011 + 0o104) + chr(0b1011101 + 0o7) + '\145')(chr(0b1010000 + 0o45) + chr(116) + chr(102) + chr(0b101101) + chr(648 - 592))], JE1frtxECu3x[roI3spqORKae(ES5oEprVxulp(b'&\x10\xfc'), '\144' + chr(0b1100101) + chr(0b1100011) + chr(2938 - 2827) + chr(9518 - 9418) + chr(0b110000 + 0o65))(chr(117) + chr(0b10010 + 0o142) + chr(7957 - 7855) + chr(0b11101 + 0o20) + '\070')], 1.0])
roI3spqORKae(DZD9LJmH0pq3, roI3spqORKae(ES5oEprVxulp(b'\x07*\xcc\x8a\x94a)8\xd2t\xc4\x80'), chr(100) + chr(9538 - 9437) + chr(0b1100011) + chr(111) + chr(0b1100100) + chr(0b1100011 + 0o2))(chr(0b1010010 + 0o43) + chr(0b1100110 + 0o16) + chr(0b1001 + 0o135) + chr(0b101101) + '\x38'))(JE1frtxECu3x[roI3spqORKae(ES5oEprVxulp(b'&\x10\xfc'), chr(100) + '\145' + '\143' + chr(111) + '\x64' + chr(101))(chr(0b1110101 + 0o0) + chr(116) + '\146' + chr(0b10000 + 0o35) + chr(0b111000))])
roI3spqORKae(mT1rK15huZm4, roI3spqORKae(ES5oEprVxulp(b'\x07*\xcc\x8a\x94a)8\xd2t\xc4\x80'), chr(6120 - 6020) + '\145' + chr(99) + '\x6f' + chr(0b1100100) + chr(0b1011001 + 0o14))('\x75' + chr(3179 - 3063) + chr(0b1001100 + 0o32) + '\055' + chr(0b111000)))(JE1frtxECu3x[roI3spqORKae(ES5oEprVxulp(b'+\x1b\xfc'), '\144' + '\145' + chr(0b1100011) + chr(0b1001 + 0o146) + chr(0b1100100) + chr(159 - 58))(chr(117) + chr(116) + '\146' + chr(673 - 628) + chr(0b111000))])
fCrXCNFRBM7s = nzTpIcepk0o8('\060' + chr(0b1100 + 0o143) + chr(0b100111 + 0o12) + '\063' + chr(0b110010), 8) - hUcsWwAd0nE_.aO7VavFy3Xvk(u442IHTsfc56, qBRbDbC14dGb)
roI3spqORKae(vjzxNdB9Opts, roI3spqORKae(ES5oEprVxulp(b'\x07*\xcc\x8a\x94a)8\xd2t\xc4\x80'), chr(0b1100100) + chr(2652 - 2551) + chr(0b1100011) + chr(0b1000010 + 0o55) + '\144' + chr(0b1100101))(chr(117) + chr(8519 - 8403) + chr(6994 - 6892) + chr(0b101010 + 0o3) + '\070'))(fCrXCNFRBM7s[nzTpIcepk0o8('\060' + '\x6f' + chr(0b110000), 8)])
if mocO8sWgkzH7 is nzTpIcepk0o8(chr(0b110000) + chr(0b1010010 + 0o35) + chr(0b110001), 8):
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'*\r\xaf\xe4\xdab\x14\x14\xd0H\xdd\x80'), chr(100) + chr(0b101011 + 0o72) + '\143' + chr(111) + chr(0b1100100) + chr(101))(chr(0b1100100 + 0o21) + chr(4725 - 4609) + chr(0b100100 + 0o102) + '\055' + '\070'))(figsize=(nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b11000 + 0o35), ord("\x08")), nzTpIcepk0o8(chr(0b1100 + 0o44) + '\157' + '\065', 8)))
RGxUm1YH2emY = y09xVRXhCuzQ()
fY9d64sJ7tiY(RGxUm1YH2emY, IMPQDWHB8bGZ, _ALLtM4XYuYA, color=roI3spqORKae(ES5oEprVxulp(b'-'), chr(152 - 52) + chr(101) + chr(9567 - 9468) + chr(2913 - 2802) + chr(0b1100100) + '\x65')(chr(977 - 860) + chr(2255 - 2139) + '\146' + chr(727 - 682) + chr(1060 - 1004)))
fY9d64sJ7tiY(RGxUm1YH2emY, mT1rK15huZm4, DZD9LJmH0pq3, color=roI3spqORKae(ES5oEprVxulp(b'('), chr(100) + chr(0b1100001 + 0o4) + '\143' + '\x6f' + chr(0b100010 + 0o102) + chr(0b10001 + 0o124))('\x75' + chr(116) + '\x66' + '\055' + chr(0b110 + 0o62)))
if _XKdSyUpUmBk:
wnULkhG6JDrd = roI3spqORKae(ES5oEprVxulp(b'\x10L\xb1\xcd\x9aa'), chr(0b1100100) + chr(101) + chr(0b1011011 + 0o10) + chr(7571 - 7460) + chr(0b1100100) + '\145')(chr(0b1110101) + chr(0b1110100) + chr(0b1011010 + 0o14) + '\055' + chr(0b10001 + 0o47))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'<\x1f\xe9\xdb\x8ao\t'), chr(8261 - 8161) + chr(0b1100101) + chr(0b1100011) + chr(9659 - 9548) + '\144' + chr(101))('\165' + '\164' + chr(0b10 + 0o144) + chr(0b101101) + chr(56)))(eusUzaoe2zmY + imSKGlrudp0l + wnULkhG6JDrd)
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'))\xda\xd3\x89N9#\xe7D\xdd\xcf'), chr(0b1100100) + '\145' + chr(0b1100011) + chr(0b1001001 + 0o46) + chr(5745 - 5645) + chr(0b1100001 + 0o4))(chr(117) + '\164' + chr(102) + chr(0b101101) + chr(0b1010 + 0o56)))()
NRRol8WeUR9a = []
q0Cn5t8W613M = []
nAahpaRwgNJI = []
TNLSvjCeaIid = []
miraDLh7f1gE = []
for NoZxuO7wjArS in bbT2xIe5pzk7(nRgHodF2HX2B):
P8u3F0pFZToZ = JI94fhBXFzlT[NoZxuO7wjArS] - vjzxNdB9Opts[NoZxuO7wjArS]
SPjZAFGfWqbG = Qft7zXWCRSl4[NoZxuO7wjArS] - XL7qjbUcMPNq[NoZxuO7wjArS]
roI3spqORKae(NRRol8WeUR9a, roI3spqORKae(ES5oEprVxulp(b'\x07*\xcc\x8a\x94a)8\xd2t\xc4\x80'), chr(0b1100100) + '\145' + chr(6898 - 6799) + chr(111) + chr(100) + '\145')('\165' + chr(116) + chr(0b1100110) + chr(45) + chr(56)))(P8u3F0pFZToZ)
MHwt9wA7bn4x = SVfYwQaP38MC(P8u3F0pFZToZ, SPjZAFGfWqbG)
XXoBjLx1v0Kn = SVfYwQaP38MC(P8u3F0pFZToZ * nzTpIcepk0o8(chr(1224 - 1176) + chr(0b1101111) + '\061' + chr(53) + chr(0b100101 + 0o22), 8) * nzTpIcepk0o8('\x30' + chr(111) + '\x33' + '\x30' + chr(0b10000 + 0o43) + chr(1638 - 1588) + chr(0b110100) + '\060', 8), SPjZAFGfWqbG * nzTpIcepk0o8(chr(0b1110 + 0o42) + '\x6f' + chr(0b10101 + 0o36) + chr(127 - 73) + '\064' + chr(0b11100 + 0o25) + '\x31' + chr(699 - 651) + chr(48), 8))
roI3spqORKae(TNLSvjCeaIid, roI3spqORKae(ES5oEprVxulp(b'\x07*\xcc\x8a\x94a)8\xd2t\xc4\x80'), chr(5764 - 5664) + '\145' + '\x63' + '\x6f' + '\144' + '\x65')(chr(0b1110101) + '\x74' + chr(0b111111 + 0o47) + '\055' + '\x38'))(MHwt9wA7bn4x)
roI3spqORKae(miraDLh7f1gE, roI3spqORKae(ES5oEprVxulp(b'\x07*\xcc\x8a\x94a)8\xd2t\xc4\x80'), chr(3302 - 3202) + chr(0b1100101) + chr(99) + chr(10080 - 9969) + '\144' + chr(101))('\165' + chr(13066 - 12950) + chr(0b1100 + 0o132) + chr(0b101101) + chr(0b111000)))(XXoBjLx1v0Kn)
if mocO8sWgkzH7 is nzTpIcepk0o8('\x30' + '\x6f' + chr(0b11110 + 0o23), 8):
avzA77wqNQCH = nzTpIcepk0o8(chr(1635 - 1587) + chr(0b1101111) + chr(0b11010 + 0o27) + '\x34' + chr(355 - 303), 8)
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'*\r\xaf\xe4\xdab\x14\x14\xd0H\xdd\x80'), '\144' + chr(0b1100101) + '\143' + chr(0b1101111) + '\x64' + chr(101))(chr(4569 - 4452) + chr(0b101000 + 0o114) + chr(0b1100110) + chr(45) + chr(0b101 + 0o63)))(num=None, figsize=(nzTpIcepk0o8(chr(0b110000) + chr(7506 - 7395) + chr(92 - 43) + '\062', 39383 - 39375), nzTpIcepk0o8('\x30' + chr(4552 - 4441) + '\x34', 0b1000)))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'<\x0b\xfd\xce\x80i\x1a'), '\144' + chr(8554 - 8453) + '\x63' + chr(0b10001 + 0o136) + chr(0b1100100) + '\145')('\165' + '\x74' + chr(0b1100110) + chr(139 - 94) + '\070'))(nzTpIcepk0o8(chr(929 - 881) + chr(111) + chr(555 - 506), 8), nzTpIcepk0o8(chr(1099 - 1051) + chr(5425 - 5314) + '\x32', 0o10), nzTpIcepk0o8('\060' + '\157' + chr(127 - 78), 8))
for NoZxuO7wjArS in bbT2xIe5pzk7(avzA77wqNQCH):
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'?\x12\xf0\xca'), '\x64' + chr(5609 - 5508) + chr(0b1100011) + chr(111) + chr(0b10000 + 0o124) + '\145')('\165' + chr(116) + chr(5260 - 5158) + chr(45) + '\070'))([JI94fhBXFzlT[NoZxuO7wjArS], vjzxNdB9Opts[NoZxuO7wjArS]], [Qft7zXWCRSl4[NoZxuO7wjArS], XL7qjbUcMPNq[NoZxuO7wjArS]], roI3spqORKae(ES5oEprVxulp(b'$S'), '\x64' + chr(101) + chr(99) + '\x6f' + chr(100) + '\145')(chr(117) + chr(12652 - 12536) + chr(0b100011 + 0o103) + chr(0b100011 + 0o12) + chr(0b111000)), linewidth=0.1, alpha=0.3)
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\x156\xaf\xd7\x944\x08:\xecl\xf9\xd4'), chr(100) + chr(3687 - 3586) + chr(0b1100011) + chr(0b1101111) + chr(100) + '\x65')(chr(117) + chr(116) + chr(0b101101 + 0o71) + chr(83 - 38) + '\070'))(JI94fhBXFzlT[:avzA77wqNQCH], Qft7zXWCRSl4[:avzA77wqNQCH], color=roI3spqORKae(ES5oEprVxulp(b'-'), chr(0b100010 + 0o102) + '\145' + '\x63' + chr(0b1101111) + chr(0b1100100) + chr(0b1100101))(chr(5869 - 5752) + chr(116) + chr(102) + chr(45) + '\070'), s=nzTpIcepk0o8('\x30' + '\157' + '\063', 8))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\x156\xaf\xd7\x944\x08:\xecl\xf9\xd4'), '\144' + '\145' + '\143' + '\x6f' + chr(0b1011101 + 0o7) + '\x65')(chr(117) + '\164' + '\x66' + '\055' + '\x38'))(JUTHaGULgpHy, YJFghkEoXSdu, color=roI3spqORKae(ES5oEprVxulp(b'#\x17\xf8\xd6\x98d\x02"\xdd'), '\144' + '\145' + chr(0b1000 + 0o133) + '\x6f' + chr(100) + '\x65')(chr(117) + chr(116) + chr(0b1100110) + chr(0b101101) + chr(0b111000)), s=nzTpIcepk0o8(chr(2105 - 2057) + '\x6f' + chr(49) + chr(0b11110 + 0o26) + '\064', 8), edgecolor=roI3spqORKae(ES5oEprVxulp(b'8'), chr(0b1100100) + chr(101) + chr(5269 - 5170) + chr(111) + chr(0b1100100) + '\x65')('\x75' + chr(116) + chr(102) + '\055' + chr(0b111000)), zorder=nzTpIcepk0o8(chr(0b10000 + 0o40) + chr(111) + '\x32' + '\063' + chr(2686 - 2634) + chr(1774 - 1724) + chr(0b110000), 8))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\x156\xaf\xd7\x944\x08:\xecl\xf9\xd4'), '\144' + '\x65' + chr(0b10111 + 0o114) + chr(0b1101111) + '\144' + chr(0b111010 + 0o53))(chr(117) + chr(0b1110100) + chr(0b111101 + 0o51) + chr(0b1011 + 0o42) + chr(0b0 + 0o70)))(vjzxNdB9Opts[:avzA77wqNQCH], XL7qjbUcMPNq[:avzA77wqNQCH], color=roI3spqORKae(ES5oEprVxulp(b'('), chr(0b1000011 + 0o41) + chr(0b1100101) + chr(99) + chr(111) + chr(0b1011011 + 0o11) + chr(0b1001000 + 0o35))('\x75' + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(2721 - 2665)), s=nzTpIcepk0o8('\060' + '\157' + chr(0b10101 + 0o36), 8))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\x156\xaf\xd7\x944\x08:\xecl\xf9\xd4'), chr(0b1100100) + chr(0b11101 + 0o110) + '\143' + chr(111) + chr(0b1100100) + chr(0b11 + 0o142))('\x75' + chr(116) + chr(0b1011101 + 0o11) + chr(0b101101) + '\070'))(IIckuB2scR32, TtBb664SoRZ3, color=roI3spqORKae(ES5oEprVxulp(b'#\x17\xf8\xd6\x98a\x1c2\xddu'), '\144' + '\x65' + chr(0b1000 + 0o133) + '\x6f' + chr(2928 - 2828) + chr(0b11110 + 0o107))('\165' + '\164' + '\x66' + '\055' + chr(0b111000)), s=nzTpIcepk0o8('\060' + chr(111) + chr(49) + chr(0b110100) + chr(0b110100), 8), edgecolor=roI3spqORKae(ES5oEprVxulp(b'8'), chr(100) + chr(0b1100101) + '\143' + '\x6f' + '\144' + chr(0b1011110 + 0o7))('\x75' + chr(11091 - 10975) + '\146' + chr(0b10111 + 0o26) + '\070'), zorder=nzTpIcepk0o8('\x30' + chr(11028 - 10917) + chr(0b110010) + '\x33' + chr(1597 - 1545) + chr(0b110010) + chr(116 - 68), 8))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'?\x12\xf0\xca'), chr(0b1100100) + chr(101) + chr(0b111010 + 0o51) + chr(0b1101111) + '\144' + chr(0b1100000 + 0o5))(chr(10936 - 10819) + chr(0b1110100) + chr(0b1100110) + '\055' + chr(0b11011 + 0o35)))([JUTHaGULgpHy, IIckuB2scR32], [YJFghkEoXSdu, TtBb664SoRZ3], roI3spqORKae(ES5oEprVxulp(b'8S'), '\x64' + '\x65' + chr(0b0 + 0o143) + chr(0b1010110 + 0o31) + chr(100) + '\x65')('\x75' + '\164' + chr(8617 - 8515) + chr(45) + '\070'), linewidth=nzTpIcepk0o8(chr(48) + chr(0b1010 + 0o145) + chr(50), 8))
roI3spqORKae(Z7HGgmIyegqz.gca(), roI3spqORKae(ES5oEprVxulp(b'&\x10\xe9\xdb\x9er1.\xd9c\xf8\xc6'), chr(100) + chr(0b1100101) + chr(8269 - 8170) + chr(0b1101111) + chr(0b1100100) + chr(0b1010000 + 0o25))(chr(0b1110101) + chr(116) + chr(2511 - 2409) + chr(0b101101) + chr(56)))()
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'7\x12\xfe\xdc\x89j'), chr(3538 - 3438) + chr(0b1100101) + chr(99) + chr(0b110110 + 0o71) + chr(0b10101 + 0o117) + chr(5200 - 5099))(chr(5857 - 5740) + chr(116) + '\146' + chr(0b101101) + '\x38'))(roI3spqORKae(ES5oEprVxulp(b"?\x1f\xf3\xdb\x83j\x0f#\xd1o\xe4\xd1\xb2'\xdc\xf2x\t\x03{0D\xdc"), chr(0b1100100) + chr(3542 - 3441) + chr(0b1100011) + '\x6f' + chr(0b1100100) + chr(0b1100101))('\x75' + chr(0b1010100 + 0o40) + '\146' + '\x2d' + '\070'), size=nzTpIcepk0o8('\x30' + chr(10930 - 10819) + '\x31' + '\x36', ord("\x08")))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'6\x12\xfe\xdc\x89j'), chr(8676 - 8576) + chr(101) + chr(0b1100011) + '\157' + '\x64' + chr(7644 - 7543))(chr(117) + chr(4556 - 4440) + '\146' + chr(0b101101) + chr(56)))(roI3spqORKae(ES5oEprVxulp(b';\x17\xf2\xdb\xcc.#6\x91'), chr(0b1100100) + '\x65' + '\x63' + chr(111) + chr(0b1100100) + chr(0b1100101))('\x75' + chr(116) + '\x66' + chr(0b101101) + '\x38'), size=nzTpIcepk0o8(chr(975 - 927) + chr(0b1101111) + chr(0b100000 + 0o21) + chr(0b1111 + 0o47), 8))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'<\x0b\xfd\xce\x80i\x1a'), chr(0b1100100) + '\145' + '\143' + chr(5003 - 4892) + chr(0b1100100) + chr(101))(chr(0b1110101) + chr(12402 - 12286) + '\146' + chr(2025 - 1980) + '\x38'))(nzTpIcepk0o8(chr(0b111 + 0o51) + chr(9515 - 9404) + chr(49), 8), nzTpIcepk0o8('\x30' + chr(0b111101 + 0o62) + chr(50), 8), nzTpIcepk0o8('\x30' + '\x6f' + chr(731 - 681), 8))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'99\xea\xd8\xa21\x1d\x1b\xf3Q\xa5\xfc'), chr(100) + '\145' + '\143' + chr(11209 - 11098) + chr(0b1100100) + chr(101))(chr(2165 - 2048) + chr(0b100000 + 0o124) + chr(0b100010 + 0o104) + chr(860 - 815) + chr(0b11101 + 0o33)))(miraDLh7f1gE, bins=nzTpIcepk0o8(chr(0b10000 + 0o40) + chr(111) + chr(0b100 + 0o55) + '\061' + '\x33' + chr(0b10 + 0o56), 0b1000))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'6\x12\xfe\xdc\x89j'), '\144' + chr(0b1100101) + chr(0b1100011) + '\x6f' + chr(0b1100100) + chr(0b1100101))(chr(5455 - 5338) + '\x74' + '\146' + '\x2d' + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b'!'), chr(0b110110 + 0o56) + chr(0b111101 + 0o50) + '\x63' + '\157' + chr(7511 - 7411) + chr(0b1100101))(chr(0b1011 + 0o152) + '\x74' + chr(0b100111 + 0o77) + chr(0b10000 + 0o35) + chr(0b111000)), size=nzTpIcepk0o8(chr(0b100 + 0o54) + chr(0b111110 + 0o61) + chr(0b110001) + '\x36', 8))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'7\x12\xfe\xdc\x89j'), chr(0b11 + 0o141) + chr(0b1001111 + 0o26) + chr(0b1100011) + chr(7799 - 7688) + chr(100) + '\x65')(chr(117) + '\164' + chr(0b1001 + 0o135) + chr(45) + '\070'))(roI3spqORKae(ES5oEprVxulp(b'#\x1f\xeb\xd7\x98s\n>\xd6z\xfd\x95\xb3u\x9d\xf0iN\x03\x7f!R\xd5r$\x10\x7f\r\xfa\xad'), '\144' + '\x65' + '\x63' + chr(111) + chr(0b10011 + 0o121) + '\145')('\x75' + chr(116) + '\146' + '\055' + '\x38'), size=nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\x31' + '\066', 8))
if _XKdSyUpUmBk:
wnULkhG6JDrd = roI3spqORKae(ES5oEprVxulp(b'\x10M\xb1\xcd\x9aa'), chr(100) + chr(0b111100 + 0o51) + '\143' + chr(111) + '\x64' + '\145')(chr(117) + chr(0b1000111 + 0o55) + chr(102) + '\x2d' + chr(56))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'<\x1f\xe9\xdb\x8ao\t'), chr(991 - 891) + chr(8352 - 8251) + chr(9192 - 9093) + chr(2063 - 1952) + chr(0b110 + 0o136) + '\x65')(chr(117) + chr(1703 - 1587) + '\x66' + chr(433 - 388) + chr(0b111000)))(eusUzaoe2zmY + imSKGlrudp0l + wnULkhG6JDrd)
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'))\xda\xd3\x89N9#\xe7D\xdd\xcf'), '\x64' + chr(101) + chr(0b11101 + 0o106) + '\x6f' + chr(0b1100100) + chr(0b1100101))(chr(6113 - 5996) + chr(0b1000100 + 0o60) + '\x66' + '\x2d' + '\070'))()
s9PBsbCpGMw9 = lhLZcWIiifT1.scoreatpercentile(miraDLh7f1gE, 2.5)
p4muV34zeRXp = lhLZcWIiifT1.scoreatpercentile(miraDLh7f1gE, nzTpIcepk0o8('\060' + chr(111) + chr(54) + chr(2063 - 2013), ord("\x08")))
zl62Okq9lgLb = lhLZcWIiifT1.scoreatpercentile(miraDLh7f1gE, 97.5)
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'}P\xaa\xca\x84&\x1e2\xcax\xf4\xdb\xa3n\x98\xf3=\x07\x02$u'), chr(0b1100100) + chr(0b1100101) + chr(99) + chr(0b1110 + 0o141) + '\x64' + '\145')(chr(9064 - 8947) + chr(0b1110100) + '\146' + '\055' + '\070') + N9zlRy29S1SS(sOS7b2Ofrbne(s9PBsbCpGMw9, nzTpIcepk0o8('\060' + chr(0b1101111) + '\062', 8))) + roI3spqORKae(ES5oEprVxulp(b'o\x1d\xf2\x91\x95t'), '\144' + '\x65' + '\x63' + chr(682 - 571) + chr(0b1100100) + '\145')(chr(0b1010011 + 0o42) + chr(0b10 + 0o162) + chr(0b1100110) + '\x2d' + '\x38'))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'zN\xeb\xd6\xccv\x0b%\xdb~\xff\xc1\xbek\x91\xb6t\x1dK>'), chr(714 - 614) + '\145' + '\143' + '\157' + chr(8047 - 7947) + chr(0b1100101))(chr(117) + chr(116) + '\146' + chr(0b101101) + chr(56)) + N9zlRy29S1SS(sOS7b2Ofrbne(p4muV34zeRXp, nzTpIcepk0o8('\060' + chr(0b11110 + 0o121) + chr(50), 8))) + roI3spqORKae(ES5oEprVxulp(b'o\x1d\xf2\x91\x95t'), '\x64' + chr(101) + chr(0b1100011) + '\x6f' + chr(0b1100100) + chr(101))(chr(0b11 + 0o162) + chr(116) + chr(0b100 + 0o142) + '\x2d' + '\x38'))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b"vI\xb1\x8b\x98nN'\xddi\xf2\xd0\xb9s\x9d\xfaxN\x18mo\x17"), '\x64' + '\145' + chr(99) + '\x6f' + chr(8987 - 8887) + chr(0b1100001 + 0o4))('\x75' + chr(0b1110100) + chr(3614 - 3512) + chr(0b1111 + 0o36) + '\070') + N9zlRy29S1SS(sOS7b2Ofrbne(zl62Okq9lgLb, nzTpIcepk0o8('\060' + chr(7999 - 7888) + '\062', 8))) + roI3spqORKae(ES5oEprVxulp(b'o\x1d\xf2\x91\x95t'), chr(0b1100100) + '\145' + chr(3482 - 3383) + '\x6f' + '\x64' + chr(0b110 + 0o137))(chr(5618 - 5501) + chr(116) + chr(0b111 + 0o137) + chr(352 - 307) + chr(0b111000)))
return (TUhPdsFPKBWT[nzTpIcepk0o8(chr(286 - 238) + chr(111) + chr(0b110000), 8)], s9PBsbCpGMw9, zl62Okq9lgLb)
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
zeq
|
def zeq(path_to_file='.', file='', data="", units='U', calculation_type="DE-BFL",
save=False, save_folder='.', fmt='svg', begin_pca="", end_pca="", angle=0):
"""
NAME
zeq.py
DESCRIPTION
plots demagnetization data for a single specimen:
- The solid (open) symbols in the Zijderveld diagram are X,Y (X,Z) pairs. The demagnetization diagram plots the
fractional remanence remaining after each step. The green line is the fraction of the total remaence removed
between each step. If the principle direction is desired, specify begin_pca and end_pca steps as bounds for calculation.
-The equal area projection has the X direction (usually North in geographic coordinates)
to the top. The red line is the X axis of the Zijderveld diagram. Solid symbols are lower hemisphere.
- red dots and blue line is the remanence remaining after each step. The green line is the partial TRM removed in each interval
INPUT FORMAT
reads from file_name or takes a Pandas DataFrame data with specimen treatment intensity declination inclination as columns
Keywords:
file= FILE a space or tab delimited file with
specimen treatment declination inclination intensity
units= [mT,C] specify units of mT OR C, default is unscaled
save=[True,False] save figure and quit, default is False
fmt [svg,jpg,png,pdf] set figure format [default is svg]
begin_pca [step number] treatment step for beginning of PCA calculation, default
end_pca [step number] treatment step for end of PCA calculation, last step is default
calculation_type [DE-BFL,DE-BFP,DE-FM] Calculation Type: best-fit line, plane or fisher mean; line is default
angle=[0-360]: angle to subtract from declination to rotate in horizontal plane, default is 0
"""
if units == "C":
SIunits = "K"
if units == "mT":
SIunits = "T"
if units == "U":
SIunits = "U"
if file != "":
f = pd.read_csv(os.path.join(path_to_file, file),
delim_whitespace=True, header=None)
f.columns = ['specimen', 'treatment',
'intensity', 'declination', 'inclination']
# adjust for angle rotation
f['declination'] = (f['declination']-angle) % 360
f['quality'] = 'g'
f['type'] = ''
#
s = f['specimen'].tolist()[0]
if units == 'mT':
f['treatment'] = f['treatment']*1e-3
if units == 'C':
f['treatment'] = f['treatment']+273
data = f[['treatment', 'declination',
'inclination', 'intensity', 'type', 'quality']]
print(s)
datablock = data.values.tolist()
# define figure numbers in a dictionary for equal area, zijderveld,
# and intensity vs. demagnetiztion step respectively
ZED = {}
ZED['eqarea'], ZED['zijd'], ZED['demag'] = 2, 1, 3
plt.figure(num=ZED['zijd'], figsize=(5, 5))
plt.figure(num=ZED['eqarea'], figsize=(5, 5))
plt.figure(num=ZED['demag'], figsize=(5, 5))
#
#
pmagplotlib.plot_zed(ZED, datablock, angle, s, SIunits) # plot the data
#
# print out data for this sample to screen
#
recnum = 0
print('step treat intensity dec inc')
for plotrec in datablock:
if units == 'mT':
print('%i %7.1f %8.3e %7.1f %7.1f ' %
(recnum, plotrec[0]*1e3, plotrec[3], plotrec[1], plotrec[2]))
if units == 'C':
print('%i %7.1f %8.3e %7.1f %7.1f ' %
(recnum, plotrec[0]-273., plotrec[3], plotrec[1], plotrec[2]))
if units == 'U':
print('%i %7.1f %8.3e %7.1f %7.1f ' %
(recnum, plotrec[0], plotrec[3], plotrec[1], plotrec[2]))
recnum += 1
pmagplotlib.draw_figs(ZED)
if begin_pca != "" and end_pca != "" and calculation_type != "":
pmagplotlib.plot_zed(ZED, datablock, angle, s,
SIunits) # plot the data
# get best-fit direction/great circle
mpars = pmag.domean(datablock, begin_pca, end_pca, calculation_type)
# plot the best-fit direction/great circle
pmagplotlib.plot_dir(ZED, mpars, datablock, angle)
print('Specimen, calc_type, N, min, max, MAD, dec, inc')
if units == 'mT':
print('%s %s %i %6.2f %6.2f %6.1f %7.1f %7.1f' % (s, calculation_type,
mpars["specimen_n"], mpars["measurement_step_min"]*1e3, mpars["measurement_step_max"]*1e3, mpars["specimen_mad"], mpars["specimen_dec"], mpars["specimen_inc"]))
if units == 'C':
print('%s %s %i %6.2f %6.2f %6.1f %7.1f %7.1f' % (s, calculation_type,
mpars["specimen_n"], mpars["measurement_step_min"]-273, mpars["measurement_step_max"]-273, mpars["specimen_mad"], mpars["specimen_dec"], mpars["specimen_inc"]))
if units == 'U':
print('%s %s %i %6.2f %6.2f %6.1f %7.1f %7.1f' % (s, calculation_type,
mpars["specimen_n"], mpars["measurement_step_min"], mpars["measurement_step_max"], mpars["specimen_mad"], mpars["specimen_dec"], mpars["specimen_inc"]))
if save:
files = {}
for key in list(ZED.keys()):
files[key] = s+'_'+key+'.'+fmt
pmagplotlib.save_plots(ZED, files)
|
python
|
def zeq(path_to_file='.', file='', data="", units='U', calculation_type="DE-BFL",
save=False, save_folder='.', fmt='svg', begin_pca="", end_pca="", angle=0):
"""
NAME
zeq.py
DESCRIPTION
plots demagnetization data for a single specimen:
- The solid (open) symbols in the Zijderveld diagram are X,Y (X,Z) pairs. The demagnetization diagram plots the
fractional remanence remaining after each step. The green line is the fraction of the total remaence removed
between each step. If the principle direction is desired, specify begin_pca and end_pca steps as bounds for calculation.
-The equal area projection has the X direction (usually North in geographic coordinates)
to the top. The red line is the X axis of the Zijderveld diagram. Solid symbols are lower hemisphere.
- red dots and blue line is the remanence remaining after each step. The green line is the partial TRM removed in each interval
INPUT FORMAT
reads from file_name or takes a Pandas DataFrame data with specimen treatment intensity declination inclination as columns
Keywords:
file= FILE a space or tab delimited file with
specimen treatment declination inclination intensity
units= [mT,C] specify units of mT OR C, default is unscaled
save=[True,False] save figure and quit, default is False
fmt [svg,jpg,png,pdf] set figure format [default is svg]
begin_pca [step number] treatment step for beginning of PCA calculation, default
end_pca [step number] treatment step for end of PCA calculation, last step is default
calculation_type [DE-BFL,DE-BFP,DE-FM] Calculation Type: best-fit line, plane or fisher mean; line is default
angle=[0-360]: angle to subtract from declination to rotate in horizontal plane, default is 0
"""
if units == "C":
SIunits = "K"
if units == "mT":
SIunits = "T"
if units == "U":
SIunits = "U"
if file != "":
f = pd.read_csv(os.path.join(path_to_file, file),
delim_whitespace=True, header=None)
f.columns = ['specimen', 'treatment',
'intensity', 'declination', 'inclination']
# adjust for angle rotation
f['declination'] = (f['declination']-angle) % 360
f['quality'] = 'g'
f['type'] = ''
#
s = f['specimen'].tolist()[0]
if units == 'mT':
f['treatment'] = f['treatment']*1e-3
if units == 'C':
f['treatment'] = f['treatment']+273
data = f[['treatment', 'declination',
'inclination', 'intensity', 'type', 'quality']]
print(s)
datablock = data.values.tolist()
# define figure numbers in a dictionary for equal area, zijderveld,
# and intensity vs. demagnetiztion step respectively
ZED = {}
ZED['eqarea'], ZED['zijd'], ZED['demag'] = 2, 1, 3
plt.figure(num=ZED['zijd'], figsize=(5, 5))
plt.figure(num=ZED['eqarea'], figsize=(5, 5))
plt.figure(num=ZED['demag'], figsize=(5, 5))
#
#
pmagplotlib.plot_zed(ZED, datablock, angle, s, SIunits) # plot the data
#
# print out data for this sample to screen
#
recnum = 0
print('step treat intensity dec inc')
for plotrec in datablock:
if units == 'mT':
print('%i %7.1f %8.3e %7.1f %7.1f ' %
(recnum, plotrec[0]*1e3, plotrec[3], plotrec[1], plotrec[2]))
if units == 'C':
print('%i %7.1f %8.3e %7.1f %7.1f ' %
(recnum, plotrec[0]-273., plotrec[3], plotrec[1], plotrec[2]))
if units == 'U':
print('%i %7.1f %8.3e %7.1f %7.1f ' %
(recnum, plotrec[0], plotrec[3], plotrec[1], plotrec[2]))
recnum += 1
pmagplotlib.draw_figs(ZED)
if begin_pca != "" and end_pca != "" and calculation_type != "":
pmagplotlib.plot_zed(ZED, datablock, angle, s,
SIunits) # plot the data
# get best-fit direction/great circle
mpars = pmag.domean(datablock, begin_pca, end_pca, calculation_type)
# plot the best-fit direction/great circle
pmagplotlib.plot_dir(ZED, mpars, datablock, angle)
print('Specimen, calc_type, N, min, max, MAD, dec, inc')
if units == 'mT':
print('%s %s %i %6.2f %6.2f %6.1f %7.1f %7.1f' % (s, calculation_type,
mpars["specimen_n"], mpars["measurement_step_min"]*1e3, mpars["measurement_step_max"]*1e3, mpars["specimen_mad"], mpars["specimen_dec"], mpars["specimen_inc"]))
if units == 'C':
print('%s %s %i %6.2f %6.2f %6.1f %7.1f %7.1f' % (s, calculation_type,
mpars["specimen_n"], mpars["measurement_step_min"]-273, mpars["measurement_step_max"]-273, mpars["specimen_mad"], mpars["specimen_dec"], mpars["specimen_inc"]))
if units == 'U':
print('%s %s %i %6.2f %6.2f %6.1f %7.1f %7.1f' % (s, calculation_type,
mpars["specimen_n"], mpars["measurement_step_min"], mpars["measurement_step_max"], mpars["specimen_mad"], mpars["specimen_dec"], mpars["specimen_inc"]))
if save:
files = {}
for key in list(ZED.keys()):
files[key] = s+'_'+key+'.'+fmt
pmagplotlib.save_plots(ZED, files)
|
[
"def",
"zeq",
"(",
"path_to_file",
"=",
"'.'",
",",
"file",
"=",
"''",
",",
"data",
"=",
"\"\"",
",",
"units",
"=",
"'U'",
",",
"calculation_type",
"=",
"\"DE-BFL\"",
",",
"save",
"=",
"False",
",",
"save_folder",
"=",
"'.'",
",",
"fmt",
"=",
"'svg'",
",",
"begin_pca",
"=",
"\"\"",
",",
"end_pca",
"=",
"\"\"",
",",
"angle",
"=",
"0",
")",
":",
"if",
"units",
"==",
"\"C\"",
":",
"SIunits",
"=",
"\"K\"",
"if",
"units",
"==",
"\"mT\"",
":",
"SIunits",
"=",
"\"T\"",
"if",
"units",
"==",
"\"U\"",
":",
"SIunits",
"=",
"\"U\"",
"if",
"file",
"!=",
"\"\"",
":",
"f",
"=",
"pd",
".",
"read_csv",
"(",
"os",
".",
"path",
".",
"join",
"(",
"path_to_file",
",",
"file",
")",
",",
"delim_whitespace",
"=",
"True",
",",
"header",
"=",
"None",
")",
"f",
".",
"columns",
"=",
"[",
"'specimen'",
",",
"'treatment'",
",",
"'intensity'",
",",
"'declination'",
",",
"'inclination'",
"]",
"# adjust for angle rotation",
"f",
"[",
"'declination'",
"]",
"=",
"(",
"f",
"[",
"'declination'",
"]",
"-",
"angle",
")",
"%",
"360",
"f",
"[",
"'quality'",
"]",
"=",
"'g'",
"f",
"[",
"'type'",
"]",
"=",
"''",
"#",
"s",
"=",
"f",
"[",
"'specimen'",
"]",
".",
"tolist",
"(",
")",
"[",
"0",
"]",
"if",
"units",
"==",
"'mT'",
":",
"f",
"[",
"'treatment'",
"]",
"=",
"f",
"[",
"'treatment'",
"]",
"*",
"1e-3",
"if",
"units",
"==",
"'C'",
":",
"f",
"[",
"'treatment'",
"]",
"=",
"f",
"[",
"'treatment'",
"]",
"+",
"273",
"data",
"=",
"f",
"[",
"[",
"'treatment'",
",",
"'declination'",
",",
"'inclination'",
",",
"'intensity'",
",",
"'type'",
",",
"'quality'",
"]",
"]",
"print",
"(",
"s",
")",
"datablock",
"=",
"data",
".",
"values",
".",
"tolist",
"(",
")",
"# define figure numbers in a dictionary for equal area, zijderveld,",
"# and intensity vs. demagnetiztion step respectively",
"ZED",
"=",
"{",
"}",
"ZED",
"[",
"'eqarea'",
"]",
",",
"ZED",
"[",
"'zijd'",
"]",
",",
"ZED",
"[",
"'demag'",
"]",
"=",
"2",
",",
"1",
",",
"3",
"plt",
".",
"figure",
"(",
"num",
"=",
"ZED",
"[",
"'zijd'",
"]",
",",
"figsize",
"=",
"(",
"5",
",",
"5",
")",
")",
"plt",
".",
"figure",
"(",
"num",
"=",
"ZED",
"[",
"'eqarea'",
"]",
",",
"figsize",
"=",
"(",
"5",
",",
"5",
")",
")",
"plt",
".",
"figure",
"(",
"num",
"=",
"ZED",
"[",
"'demag'",
"]",
",",
"figsize",
"=",
"(",
"5",
",",
"5",
")",
")",
"#",
"#",
"pmagplotlib",
".",
"plot_zed",
"(",
"ZED",
",",
"datablock",
",",
"angle",
",",
"s",
",",
"SIunits",
")",
"# plot the data",
"#",
"# print out data for this sample to screen",
"#",
"recnum",
"=",
"0",
"print",
"(",
"'step treat intensity dec inc'",
")",
"for",
"plotrec",
"in",
"datablock",
":",
"if",
"units",
"==",
"'mT'",
":",
"print",
"(",
"'%i %7.1f %8.3e %7.1f %7.1f '",
"%",
"(",
"recnum",
",",
"plotrec",
"[",
"0",
"]",
"*",
"1e3",
",",
"plotrec",
"[",
"3",
"]",
",",
"plotrec",
"[",
"1",
"]",
",",
"plotrec",
"[",
"2",
"]",
")",
")",
"if",
"units",
"==",
"'C'",
":",
"print",
"(",
"'%i %7.1f %8.3e %7.1f %7.1f '",
"%",
"(",
"recnum",
",",
"plotrec",
"[",
"0",
"]",
"-",
"273.",
",",
"plotrec",
"[",
"3",
"]",
",",
"plotrec",
"[",
"1",
"]",
",",
"plotrec",
"[",
"2",
"]",
")",
")",
"if",
"units",
"==",
"'U'",
":",
"print",
"(",
"'%i %7.1f %8.3e %7.1f %7.1f '",
"%",
"(",
"recnum",
",",
"plotrec",
"[",
"0",
"]",
",",
"plotrec",
"[",
"3",
"]",
",",
"plotrec",
"[",
"1",
"]",
",",
"plotrec",
"[",
"2",
"]",
")",
")",
"recnum",
"+=",
"1",
"pmagplotlib",
".",
"draw_figs",
"(",
"ZED",
")",
"if",
"begin_pca",
"!=",
"\"\"",
"and",
"end_pca",
"!=",
"\"\"",
"and",
"calculation_type",
"!=",
"\"\"",
":",
"pmagplotlib",
".",
"plot_zed",
"(",
"ZED",
",",
"datablock",
",",
"angle",
",",
"s",
",",
"SIunits",
")",
"# plot the data",
"# get best-fit direction/great circle",
"mpars",
"=",
"pmag",
".",
"domean",
"(",
"datablock",
",",
"begin_pca",
",",
"end_pca",
",",
"calculation_type",
")",
"# plot the best-fit direction/great circle",
"pmagplotlib",
".",
"plot_dir",
"(",
"ZED",
",",
"mpars",
",",
"datablock",
",",
"angle",
")",
"print",
"(",
"'Specimen, calc_type, N, min, max, MAD, dec, inc'",
")",
"if",
"units",
"==",
"'mT'",
":",
"print",
"(",
"'%s %s %i %6.2f %6.2f %6.1f %7.1f %7.1f'",
"%",
"(",
"s",
",",
"calculation_type",
",",
"mpars",
"[",
"\"specimen_n\"",
"]",
",",
"mpars",
"[",
"\"measurement_step_min\"",
"]",
"*",
"1e3",
",",
"mpars",
"[",
"\"measurement_step_max\"",
"]",
"*",
"1e3",
",",
"mpars",
"[",
"\"specimen_mad\"",
"]",
",",
"mpars",
"[",
"\"specimen_dec\"",
"]",
",",
"mpars",
"[",
"\"specimen_inc\"",
"]",
")",
")",
"if",
"units",
"==",
"'C'",
":",
"print",
"(",
"'%s %s %i %6.2f %6.2f %6.1f %7.1f %7.1f'",
"%",
"(",
"s",
",",
"calculation_type",
",",
"mpars",
"[",
"\"specimen_n\"",
"]",
",",
"mpars",
"[",
"\"measurement_step_min\"",
"]",
"-",
"273",
",",
"mpars",
"[",
"\"measurement_step_max\"",
"]",
"-",
"273",
",",
"mpars",
"[",
"\"specimen_mad\"",
"]",
",",
"mpars",
"[",
"\"specimen_dec\"",
"]",
",",
"mpars",
"[",
"\"specimen_inc\"",
"]",
")",
")",
"if",
"units",
"==",
"'U'",
":",
"print",
"(",
"'%s %s %i %6.2f %6.2f %6.1f %7.1f %7.1f'",
"%",
"(",
"s",
",",
"calculation_type",
",",
"mpars",
"[",
"\"specimen_n\"",
"]",
",",
"mpars",
"[",
"\"measurement_step_min\"",
"]",
",",
"mpars",
"[",
"\"measurement_step_max\"",
"]",
",",
"mpars",
"[",
"\"specimen_mad\"",
"]",
",",
"mpars",
"[",
"\"specimen_dec\"",
"]",
",",
"mpars",
"[",
"\"specimen_inc\"",
"]",
")",
")",
"if",
"save",
":",
"files",
"=",
"{",
"}",
"for",
"key",
"in",
"list",
"(",
"ZED",
".",
"keys",
"(",
")",
")",
":",
"files",
"[",
"key",
"]",
"=",
"s",
"+",
"'_'",
"+",
"key",
"+",
"'.'",
"+",
"fmt",
"pmagplotlib",
".",
"save_plots",
"(",
"ZED",
",",
"files",
")"
] |
NAME
zeq.py
DESCRIPTION
plots demagnetization data for a single specimen:
- The solid (open) symbols in the Zijderveld diagram are X,Y (X,Z) pairs. The demagnetization diagram plots the
fractional remanence remaining after each step. The green line is the fraction of the total remaence removed
between each step. If the principle direction is desired, specify begin_pca and end_pca steps as bounds for calculation.
-The equal area projection has the X direction (usually North in geographic coordinates)
to the top. The red line is the X axis of the Zijderveld diagram. Solid symbols are lower hemisphere.
- red dots and blue line is the remanence remaining after each step. The green line is the partial TRM removed in each interval
INPUT FORMAT
reads from file_name or takes a Pandas DataFrame data with specimen treatment intensity declination inclination as columns
Keywords:
file= FILE a space or tab delimited file with
specimen treatment declination inclination intensity
units= [mT,C] specify units of mT OR C, default is unscaled
save=[True,False] save figure and quit, default is False
fmt [svg,jpg,png,pdf] set figure format [default is svg]
begin_pca [step number] treatment step for beginning of PCA calculation, default
end_pca [step number] treatment step for end of PCA calculation, last step is default
calculation_type [DE-BFL,DE-BFP,DE-FM] Calculation Type: best-fit line, plane or fisher mean; line is default
angle=[0-360]: angle to subtract from declination to rotate in horizontal plane, default is 0
|
[
"NAME",
"zeq",
".",
"py"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L8248-L8353
|
train
|
A function that creates a Zijderveld diagram showing the demagnetization data for a single specimen.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(875 - 827) + chr(6242 - 6131) + chr(314 - 264) + '\x31' + chr(1536 - 1481), 0o10), nzTpIcepk0o8(chr(48) + chr(0b0 + 0o157) + chr(0b10011 + 0o40) + chr(0b11100 + 0o27) + chr(716 - 662), 28474 - 28466), nzTpIcepk0o8('\060' + chr(111) + chr(196 - 147) + chr(0b1001 + 0o55) + chr(0b110111), ord("\x08")), nzTpIcepk0o8('\x30' + '\157' + '\x33' + chr(55) + chr(1968 - 1919), ord("\x08")), nzTpIcepk0o8('\x30' + '\157' + '\x32' + chr(51), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b110011 + 0o74) + '\x31' + chr(0b11000 + 0o33) + '\065', 0o10), nzTpIcepk0o8(chr(48) + chr(111) + '\067' + chr(0b100111 + 0o13), 0o10), nzTpIcepk0o8(chr(0b10001 + 0o37) + chr(0b1000000 + 0o57) + chr(51) + chr(0b11001 + 0o30) + chr(915 - 864), 45502 - 45494), nzTpIcepk0o8('\060' + '\157' + chr(0b110001) + chr(0b110111) + chr(1107 - 1058), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(51) + chr(48) + '\061', 0b1000), nzTpIcepk0o8(chr(1252 - 1204) + '\x6f' + chr(0b11101 + 0o26) + '\x34' + chr(53), 0b1000), nzTpIcepk0o8(chr(1620 - 1572) + '\157' + chr(0b101011 + 0o6) + chr(0b110110) + chr(54), 0b1000), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(50) + '\x35' + '\066', ord("\x08")), nzTpIcepk0o8(chr(0b1000 + 0o50) + chr(6746 - 6635) + chr(0b10100 + 0o35) + '\x35' + chr(0b101011 + 0o11), 0b1000), nzTpIcepk0o8(chr(406 - 358) + '\x6f' + chr(1212 - 1163) + chr(1716 - 1665) + '\061', 0o10), nzTpIcepk0o8(chr(0b101 + 0o53) + '\157' + chr(0b110010) + chr(2122 - 2070) + '\x31', 52160 - 52152), nzTpIcepk0o8('\060' + '\x6f' + '\x31' + '\064' + '\067', 24123 - 24115), nzTpIcepk0o8(chr(0b10000 + 0o40) + chr(111) + chr(50) + chr(0b110100) + '\061', 8), nzTpIcepk0o8(chr(48) + '\157' + chr(0b110011) + chr(0b110101) + '\x34', 0o10), nzTpIcepk0o8(chr(1981 - 1933) + chr(111) + chr(2435 - 2384) + chr(48) + '\x30', ord("\x08")), nzTpIcepk0o8('\x30' + chr(2567 - 2456) + '\063' + '\064', ord("\x08")), nzTpIcepk0o8(chr(48) + '\x6f' + chr(51) + chr(55) + chr(0b100001 + 0o22), 0o10), nzTpIcepk0o8(chr(0b10100 + 0o34) + chr(111) + chr(0b100011 + 0o17) + chr(52) + chr(0b11 + 0o61), 0b1000), nzTpIcepk0o8(chr(266 - 218) + chr(0b1101111) + chr(131 - 80) + chr(51) + '\063', ord("\x08")), nzTpIcepk0o8(chr(502 - 454) + '\157' + chr(1235 - 1186) + chr(52) + '\062', 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(2333 - 2222) + chr(0b110011) + '\x32' + '\066', 0b1000), nzTpIcepk0o8('\060' + '\157' + '\063' + chr(0b110100), 8), nzTpIcepk0o8(chr(0b110000) + chr(11000 - 10889) + chr(0b101111 + 0o3) + chr(0b110100), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b110010) + chr(49) + chr(0b10011 + 0o36), 0b1000), nzTpIcepk0o8(chr(0b101000 + 0o10) + '\x6f' + chr(0b10110 + 0o37) + chr(0b110001), 0o10), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110010) + chr(53) + '\x35', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\157' + '\063' + '\x34' + chr(0b11011 + 0o26), 0o10), nzTpIcepk0o8(chr(0b11000 + 0o30) + chr(12172 - 12061) + chr(1101 - 1051) + '\x33' + chr(0b100010 + 0o25), ord("\x08")), nzTpIcepk0o8('\060' + chr(111) + chr(1096 - 1047) + chr(968 - 913) + chr(0b110010), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(10753 - 10642) + chr(0b110010) + chr(0b110001), 0b1000), nzTpIcepk0o8('\060' + '\x6f' + '\x37' + chr(0b110111), 50009 - 50001), nzTpIcepk0o8('\060' + chr(111) + '\x33' + '\065' + chr(0b110000), 54682 - 54674), nzTpIcepk0o8('\x30' + chr(0b111111 + 0o60) + chr(50) + chr(48) + '\x36', ord("\x08")), nzTpIcepk0o8('\x30' + chr(5387 - 5276) + '\x33' + '\061' + chr(0b100011 + 0o15), ord("\x08")), nzTpIcepk0o8(chr(1214 - 1166) + chr(0b1101111) + '\x31' + chr(0b101111 + 0o3) + '\060', ord("\x08"))][ZlbFMSG8gCoF % nzTpIcepk0o8('\x30' + chr(111) + chr(53) + chr(0b10100 + 0o34), ord("\x08"))] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xa1'), chr(2195 - 2095) + chr(0b1100101) + chr(8899 - 8800) + chr(111) + chr(6999 - 6899) + chr(0b1100101))(chr(117) + chr(6411 - 6295) + chr(102) + '\x2d' + chr(1603 - 1547)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def H0NCGn3vdyQf(SBXaGBkMY5xD=roI3spqORKae(ES5oEprVxulp(b'\xa1'), chr(100) + chr(0b101000 + 0o75) + chr(0b1100011) + '\157' + chr(0b11001 + 0o113) + '\x65')(chr(12939 - 12822) + chr(0b1101111 + 0o5) + '\x66' + chr(45) + chr(939 - 883)), GtsVUCYulgYX=roI3spqORKae(ES5oEprVxulp(b''), chr(9208 - 9108) + chr(101) + '\143' + '\x6f' + chr(4261 - 4161) + '\145')('\165' + chr(9244 - 9128) + '\146' + chr(45) + chr(0b111000)), FfKOThdpoDTb=roI3spqORKae(ES5oEprVxulp(b''), '\x64' + '\145' + chr(1574 - 1475) + chr(0b1101111) + chr(0b101011 + 0o71) + chr(101))('\x75' + chr(0b110 + 0o156) + chr(2770 - 2668) + chr(0b1110 + 0o37) + '\x38'), M4fW_S7vN_Q_=roI3spqORKae(ES5oEprVxulp(b'\xda'), chr(1128 - 1028) + chr(0b1011010 + 0o13) + '\143' + chr(111) + chr(3064 - 2964) + '\x65')(chr(0b100101 + 0o120) + chr(0b110 + 0o156) + chr(0b1100110) + chr(0b101101) + '\070'), yqEynH3caY_E=roI3spqORKae(ES5oEprVxulp(b'\xcb\x9bZ\xbbU\x11'), chr(100) + chr(101) + chr(8689 - 8590) + chr(111) + '\x64' + chr(1399 - 1298))('\165' + chr(116) + chr(6723 - 6621) + chr(45) + '\070'), mwgZMvWSpAHg=nzTpIcepk0o8(chr(571 - 523) + chr(4554 - 4443) + '\060', ord("\x08")), S_yV4Ytx3yb1=roI3spqORKae(ES5oEprVxulp(b'\xa1'), '\144' + '\x65' + chr(3652 - 3553) + chr(0b11011 + 0o124) + chr(4237 - 4137) + chr(0b1100101))('\165' + chr(116) + '\x66' + chr(0b101101) + '\x38'), JummcHpaNLEw=roI3spqORKae(ES5oEprVxulp(b'\xfc\xa8\x10'), chr(8358 - 8258) + chr(2402 - 2301) + chr(0b1100000 + 0o3) + chr(0b1001101 + 0o42) + chr(100) + chr(0b1000011 + 0o42))(chr(9053 - 8936) + chr(0b1010111 + 0o35) + chr(0b1100110) + chr(179 - 134) + chr(0b111000)), EoT1Z5fxsvIk=roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + '\x65' + '\143' + chr(6238 - 6127) + chr(0b11011 + 0o111) + chr(101))(chr(117) + chr(0b1100111 + 0o15) + '\146' + '\x2d' + '\x38'), XdDrn_g8P0sY=roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(101) + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + chr(0b1100101))(chr(117) + '\164' + chr(102) + '\x2d' + '\x38'), aO7VavFy3Xvk=nzTpIcepk0o8('\060' + '\x6f' + chr(1400 - 1352), 8)):
if M4fW_S7vN_Q_ == roI3spqORKae(ES5oEprVxulp(b'\xcc'), chr(100) + '\145' + '\x63' + chr(0b1101111) + chr(0b1000101 + 0o37) + chr(0b1100001 + 0o4))('\165' + chr(0b1110000 + 0o4) + chr(0b10011 + 0o123) + '\055' + chr(1597 - 1541)):
oqRkd0t4uF7u = roI3spqORKae(ES5oEprVxulp(b'\xc4'), chr(0b100110 + 0o76) + chr(2639 - 2538) + '\x63' + chr(111) + chr(0b1011000 + 0o14) + chr(101))(chr(117) + chr(0b1110010 + 0o2) + '\x66' + '\055' + '\x38')
if M4fW_S7vN_Q_ == roI3spqORKae(ES5oEprVxulp(b'\xe2\x8a'), chr(100) + chr(101) + '\x63' + chr(0b100111 + 0o110) + chr(100) + '\145')(chr(0b1110101) + chr(0b1110100) + chr(7941 - 7839) + chr(0b101101) + '\070'):
oqRkd0t4uF7u = roI3spqORKae(ES5oEprVxulp(b'\xdb'), chr(0b1001101 + 0o27) + '\145' + '\143' + chr(4743 - 4632) + chr(100) + chr(2209 - 2108))(chr(12439 - 12322) + chr(0b1110100) + chr(102) + chr(45) + chr(315 - 259))
if M4fW_S7vN_Q_ == roI3spqORKae(ES5oEprVxulp(b'\xda'), chr(0b1011000 + 0o14) + chr(546 - 445) + chr(99) + chr(8357 - 8246) + chr(0b1100010 + 0o2) + chr(101))(chr(0b1110101) + '\164' + '\x66' + chr(1824 - 1779) + chr(1714 - 1658)):
oqRkd0t4uF7u = roI3spqORKae(ES5oEprVxulp(b'\xda'), '\x64' + chr(101) + chr(9546 - 9447) + chr(0b1111 + 0o140) + chr(100) + '\145')(chr(3932 - 3815) + chr(116) + '\x66' + '\x2d' + chr(56))
if GtsVUCYulgYX != roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + '\145' + '\x63' + chr(4749 - 4638) + '\144' + chr(101))(chr(0b1110101) + chr(7228 - 7112) + '\x66' + chr(45) + '\070'):
_R8IKF5IwAfX = HLKt4sa1j9hm.read_csv(aHUqKstZLeS6.path.Y4yM9BcfTCNq(SBXaGBkMY5xD, GtsVUCYulgYX), delim_whitespace=nzTpIcepk0o8('\x30' + '\157' + '\061', 0o10), header=None)
_R8IKF5IwAfX.U39jSiI54Mlp = [roI3spqORKae(ES5oEprVxulp(b'\xfc\xae\x12\x9az0_\xa5'), chr(0b1000110 + 0o36) + '\145' + chr(9239 - 9140) + chr(111) + chr(0b1100100) + chr(0b1100101))('\165' + chr(116) + chr(0b1100110) + chr(70 - 25) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xfb\xac\x12\x98g0_\xa5\r'), '\144' + chr(0b1001001 + 0o34) + '\143' + chr(2202 - 2091) + chr(0b1100100) + '\x65')(chr(9559 - 9442) + chr(13454 - 13338) + chr(0b1011110 + 0o10) + '\055' + chr(0b100101 + 0o23)), roI3spqORKae(ES5oEprVxulp(b'\xe6\xb0\x03\x9c}.S\xbf\x00'), chr(2607 - 2507) + chr(101) + chr(0b1100011) + '\157' + chr(0b1100100) + '\x65')(chr(0b11111 + 0o126) + chr(0b1000 + 0o154) + '\x66' + chr(45) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xeb\xbb\x14\x95z3[\xbf\x10\xae\x8b'), chr(0b1100100) + chr(8852 - 8751) + chr(99) + chr(0b100000 + 0o117) + '\144' + chr(0b1000101 + 0o40))(chr(0b1110101) + '\x74' + '\x66' + '\x2d' + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xe6\xb0\x14\x95z3[\xbf\x10\xae\x8b'), chr(0b1011111 + 0o5) + chr(0b11101 + 0o110) + chr(0b100010 + 0o101) + '\157' + '\144' + chr(8749 - 8648))(chr(117) + chr(116) + chr(102) + '\x2d' + '\x38')]
_R8IKF5IwAfX[roI3spqORKae(ES5oEprVxulp(b'\xeb\xbb\x14\x95z3[\xbf\x10\xae\x8b'), '\x64' + chr(0b1100101) + '\x63' + chr(0b1101111) + chr(0b1100100) + chr(101))(chr(0b1110101) + chr(116) + '\146' + '\055' + chr(56))] = (_R8IKF5IwAfX[roI3spqORKae(ES5oEprVxulp(b'\xeb\xbb\x14\x95z3[\xbf\x10\xae\x8b'), chr(100) + '\145' + chr(8063 - 7964) + '\157' + chr(2695 - 2595) + chr(9808 - 9707))(chr(117) + '\x74' + chr(102) + chr(0b11110 + 0o17) + chr(56))] - aO7VavFy3Xvk) % nzTpIcepk0o8(chr(613 - 565) + '\x6f' + '\x35' + '\x35' + '\x30', 0o10)
_R8IKF5IwAfX[roI3spqORKae(ES5oEprVxulp(b'\xfe\xab\x16\x95z)C'), chr(100) + '\x65' + chr(99) + chr(111) + '\144' + chr(0b1100101))(chr(0b1110101) + '\164' + '\x66' + chr(0b111 + 0o46) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\xe8'), '\144' + chr(0b1100101) + chr(99) + '\157' + chr(0b1100100) + chr(101))('\165' + '\x74' + '\146' + '\055' + chr(56))
_R8IKF5IwAfX[roI3spqORKae(ES5oEprVxulp(b'\xfb\xa7\x07\x9c'), '\144' + chr(3177 - 3076) + '\x63' + chr(7507 - 7396) + chr(0b1100100) + chr(6213 - 6112))(chr(6717 - 6600) + chr(9868 - 9752) + chr(0b1010100 + 0o22) + chr(0b101101) + chr(2227 - 2171))] = roI3spqORKae(ES5oEprVxulp(b''), chr(100) + '\145' + '\143' + '\x6f' + '\144' + '\145')(chr(0b1101111 + 0o6) + '\x74' + '\146' + chr(0b1011 + 0o42) + '\x38')
PmE5_h409JAA = _R8IKF5IwAfX[roI3spqORKae(ES5oEprVxulp(b'\xfc\xae\x12\x9az0_\xa5'), '\x64' + '\145' + chr(200 - 101) + chr(11078 - 10967) + chr(4559 - 4459) + chr(0b111000 + 0o55))(chr(1587 - 1470) + chr(537 - 421) + chr(102) + chr(0b101101) + '\070')].tolist()[nzTpIcepk0o8(chr(707 - 659) + chr(0b11011 + 0o124) + chr(0b110000), 8)]
if M4fW_S7vN_Q_ == roI3spqORKae(ES5oEprVxulp(b'\xe2\x8a'), chr(9097 - 8997) + '\x65' + chr(1630 - 1531) + chr(0b1101111) + chr(0b100110 + 0o76) + '\x65')(chr(6718 - 6601) + chr(7123 - 7007) + chr(0b1000000 + 0o46) + '\x2d' + chr(56)):
_R8IKF5IwAfX[roI3spqORKae(ES5oEprVxulp(b'\xfb\xac\x12\x98g0_\xa5\r'), '\x64' + '\x65' + chr(0b1100011) + chr(2769 - 2658) + chr(0b1100100) + chr(0b10001 + 0o124))(chr(5855 - 5738) + '\x74' + chr(0b11 + 0o143) + chr(1100 - 1055) + '\x38')] = _R8IKF5IwAfX[roI3spqORKae(ES5oEprVxulp(b'\xfb\xac\x12\x98g0_\xa5\r'), '\x64' + chr(101) + chr(8767 - 8668) + chr(0b110001 + 0o76) + chr(0b1100100) + chr(0b11101 + 0o110))(chr(0b11 + 0o162) + chr(0b101010 + 0o112) + chr(102) + chr(45) + chr(500 - 444))] * 0.001
if M4fW_S7vN_Q_ == roI3spqORKae(ES5oEprVxulp(b'\xcc'), '\144' + chr(101) + chr(7709 - 7610) + '\x6f' + chr(293 - 193) + '\145')('\165' + chr(116) + chr(0b100010 + 0o104) + chr(1251 - 1206) + chr(2940 - 2884)):
_R8IKF5IwAfX[roI3spqORKae(ES5oEprVxulp(b'\xfb\xac\x12\x98g0_\xa5\r'), chr(0b1100100) + chr(7608 - 7507) + chr(0b1000110 + 0o35) + chr(0b1101111) + chr(928 - 828) + '\145')(chr(7509 - 7392) + chr(0b1100000 + 0o24) + '\x66' + '\055' + '\x38')] = _R8IKF5IwAfX[roI3spqORKae(ES5oEprVxulp(b'\xfb\xac\x12\x98g0_\xa5\r'), chr(0b100101 + 0o77) + '\x65' + chr(99) + '\x6f' + chr(0b1001011 + 0o31) + chr(3440 - 3339))(chr(5647 - 5530) + chr(3643 - 3527) + chr(102) + '\055' + chr(0b1 + 0o67))] + nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110100) + chr(0b110010) + chr(386 - 337), 0o10)
FfKOThdpoDTb = _R8IKF5IwAfX[[roI3spqORKae(ES5oEprVxulp(b'\xfb\xac\x12\x98g0_\xa5\r'), chr(0b1111 + 0o125) + chr(3218 - 3117) + chr(0b1000100 + 0o37) + '\157' + chr(0b11101 + 0o107) + '\145')(chr(117) + chr(116) + chr(102) + '\055' + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xeb\xbb\x14\x95z3[\xbf\x10\xae\x8b'), '\x64' + '\x65' + '\143' + chr(0b1101100 + 0o3) + '\144' + chr(9046 - 8945))(chr(9382 - 9265) + '\x74' + chr(2510 - 2408) + '\x2d' + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xe6\xb0\x14\x95z3[\xbf\x10\xae\x8b'), chr(0b1100100) + '\145' + chr(99) + '\157' + chr(0b1000011 + 0o41) + '\x65')(chr(9057 - 8940) + chr(0b1010110 + 0o36) + '\x66' + '\x2d' + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xe6\xb0\x03\x9c}.S\xbf\x00'), chr(0b111 + 0o135) + chr(5969 - 5868) + '\143' + '\157' + chr(0b1100010 + 0o2) + chr(4248 - 4147))(chr(0b1110101) + chr(0b1110100) + chr(0b1000111 + 0o37) + '\055' + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xfb\xa7\x07\x9c'), chr(0b1100100) + '\145' + chr(0b1100011) + chr(0b1011111 + 0o20) + chr(0b100000 + 0o104) + chr(1672 - 1571))(chr(117) + '\x74' + chr(0b1100110) + '\x2d' + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xfe\xab\x16\x95z)C'), chr(6268 - 6168) + chr(101) + chr(99) + chr(4730 - 4619) + '\x64' + '\145')(chr(2972 - 2855) + chr(116) + '\x66' + chr(45) + chr(0b111000))]]
v8jsMqaYV6U2(PmE5_h409JAA)
luLn2FtUnsUW = FfKOThdpoDTb.values.tolist()
pIthwLhwpnQw = {}
(pIthwLhwpnQw[roI3spqORKae(ES5oEprVxulp(b'\xea\xaf\x16\x8bv<'), chr(4383 - 4283) + '\x65' + chr(99) + '\157' + '\x64' + chr(7649 - 7548))(chr(0b1110101) + '\164' + chr(102) + '\055' + chr(3093 - 3037))], pIthwLhwpnQw[roI3spqORKae(ES5oEprVxulp(b'\xf5\xb7\x1d\x9d'), '\144' + '\145' + chr(99) + chr(2858 - 2747) + chr(3758 - 3658) + '\x65')('\165' + '\164' + chr(9152 - 9050) + chr(1544 - 1499) + '\x38')], pIthwLhwpnQw[roI3spqORKae(ES5oEprVxulp(b'\xeb\xbb\x1a\x98t'), '\144' + chr(0b11010 + 0o113) + chr(0b1100011) + '\157' + '\144' + chr(101))(chr(0b1110101 + 0o0) + '\164' + chr(102) + '\x2d' + '\x38')]) = (nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\062', 0o10), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b110000 + 0o1), 8), nzTpIcepk0o8(chr(48) + '\x6f' + chr(2404 - 2353), 0b1000))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\xea\xadG\xa3%9@\x88\x11\x92\xa9C'), chr(3463 - 3363) + chr(101) + chr(0b1100011) + '\x6f' + chr(0b1001111 + 0o25) + chr(0b1100101))('\165' + chr(116) + chr(0b1100110) + chr(0b101101) + chr(0b111000)))(num=pIthwLhwpnQw[roI3spqORKae(ES5oEprVxulp(b'\xf5\xb7\x1d\x9d'), chr(100) + '\145' + chr(0b1011111 + 0o4) + '\x6f' + chr(0b1101 + 0o127) + chr(101))(chr(0b1110101) + chr(0b1100101 + 0o17) + '\146' + '\055' + '\x38')], figsize=(nzTpIcepk0o8('\060' + chr(0b100111 + 0o110) + chr(53), 0o10), nzTpIcepk0o8(chr(48) + chr(8220 - 8109) + chr(53), 8)))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\xea\xadG\xa3%9@\x88\x11\x92\xa9C'), '\x64' + '\x65' + chr(0b100101 + 0o76) + '\x6f' + '\144' + chr(9170 - 9069))(chr(0b1101010 + 0o13) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + '\x38'))(num=pIthwLhwpnQw[roI3spqORKae(ES5oEprVxulp(b'\xea\xaf\x16\x8bv<'), chr(100) + chr(4510 - 4409) + '\x63' + chr(1606 - 1495) + chr(0b1100100) + '\x65')('\x75' + chr(12838 - 12722) + '\x66' + chr(366 - 321) + '\x38')], figsize=(nzTpIcepk0o8('\x30' + chr(7278 - 7167) + chr(53), 8), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\x35', 8)))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\xea\xadG\xa3%9@\x88\x11\x92\xa9C'), chr(0b110 + 0o136) + chr(101) + chr(3746 - 3647) + chr(0b100 + 0o153) + chr(0b1001011 + 0o31) + chr(101))('\x75' + chr(0b1110100) + chr(8286 - 8184) + chr(1089 - 1044) + chr(0b101111 + 0o11)))(num=pIthwLhwpnQw[roI3spqORKae(ES5oEprVxulp(b'\xeb\xbb\x1a\x98t'), '\x64' + chr(0b1100101) + chr(0b1100011) + chr(7959 - 7848) + chr(2291 - 2191) + chr(101))('\165' + chr(116) + chr(2548 - 2446) + '\x2d' + chr(0b10010 + 0o46))], figsize=(nzTpIcepk0o8(chr(1458 - 1410) + '\157' + '\x35', 8), nzTpIcepk0o8(chr(365 - 317) + chr(0b1101111) + chr(0b10101 + 0o40), 8)))
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b"\xff\xb2\x18\x8dL'_\xaf"), chr(0b1100100) + '\x65' + '\x63' + chr(0b1101111) + chr(100) + chr(0b11001 + 0o114))(chr(0b1110101) + chr(9968 - 9852) + '\146' + chr(0b101001 + 0o4) + chr(0b111000)))(pIthwLhwpnQw, luLn2FtUnsUW, aO7VavFy3Xvk, PmE5_h409JAA, oqRkd0t4uF7u)
ZFwyJzVKprGR = nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\x30', 8)
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xfc\xaa\x12\x893)H\xae\x18\xb5\xc5V\xc7\x02-\xc4\t\xd2\x85\xb4e\xdb\x84\xbf\x07\xb5<4\xa9\t\xc4\x8f\xfc'), chr(100) + chr(101) + chr(6176 - 6077) + chr(0b1101 + 0o142) + chr(1947 - 1847) + chr(0b11001 + 0o114))('\165' + '\x74' + chr(102) + chr(1010 - 965) + chr(1129 - 1073)))
for kGDPjERZCTb5 in luLn2FtUnsUW:
if M4fW_S7vN_Q_ == roI3spqORKae(ES5oEprVxulp(b'\xe2\x8a'), chr(100) + chr(7678 - 7577) + chr(0b1100011) + chr(0b1101111) + chr(100) + '\x65')('\165' + '\x74' + chr(0b1100110) + '\x2d' + '\070'):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xaa\xb7W\xd96j\x14\xfa\x1f\xe1\xc0N\x80_<\x81B\x96\xc2\xf1z\xdb\x81\xecL\xe7z4'), chr(100) + chr(0b1100101) + '\143' + chr(0b1010100 + 0o33) + chr(0b101101 + 0o67) + chr(0b1100101))('\x75' + chr(0b1110100) + '\x66' + chr(1842 - 1797) + chr(0b110100 + 0o4)) % (ZFwyJzVKprGR, kGDPjERZCTb5[nzTpIcepk0o8('\x30' + chr(7601 - 7490) + '\x30', 8)] * 1000.0, kGDPjERZCTb5[nzTpIcepk0o8('\060' + '\x6f' + '\x33', 8)], kGDPjERZCTb5[nzTpIcepk0o8(chr(0b110000) + chr(6911 - 6800) + '\x31', 8)], kGDPjERZCTb5[nzTpIcepk0o8(chr(0b1001 + 0o47) + '\x6f' + chr(1697 - 1647), 8)]))
if M4fW_S7vN_Q_ == roI3spqORKae(ES5oEprVxulp(b'\xcc'), '\144' + chr(101) + '\143' + chr(111) + chr(0b1011111 + 0o5) + '\x65')('\x75' + chr(12193 - 12077) + chr(0b1100110) + chr(45) + chr(0b110111 + 0o1)):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xaa\xb7W\xd96j\x14\xfa\x1f\xe1\xc0N\x80_<\x81B\x96\xc2\xf1z\xdb\x81\xecL\xe7z4'), chr(0b1100100) + chr(7997 - 7896) + chr(5029 - 4930) + chr(0b1101111) + '\144' + chr(101))(chr(11322 - 11205) + chr(0b1001111 + 0o45) + chr(0b1100110) + '\055' + chr(3123 - 3067)) % (ZFwyJzVKprGR, kGDPjERZCTb5[nzTpIcepk0o8(chr(1562 - 1514) + chr(111) + '\060', 8)] - 273.0, kGDPjERZCTb5[nzTpIcepk0o8('\060' + chr(111) + '\x33', 8)], kGDPjERZCTb5[nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(860 - 811), 8)], kGDPjERZCTb5[nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x32', 8)]))
if M4fW_S7vN_Q_ == roI3spqORKae(ES5oEprVxulp(b'\xda'), chr(0b1100100) + chr(8528 - 8427) + chr(99) + chr(111) + chr(0b1100100) + chr(2218 - 2117))('\165' + '\x74' + '\146' + '\x2d' + '\070'):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xaa\xb7W\xd96j\x14\xfa\x1f\xe1\xc0N\x80_<\x81B\x96\xc2\xf1z\xdb\x81\xecL\xe7z4'), '\x64' + '\145' + chr(0b0 + 0o143) + chr(9831 - 9720) + chr(4709 - 4609) + chr(7445 - 7344))('\165' + '\164' + chr(102) + '\055' + chr(0b11010 + 0o36)) % (ZFwyJzVKprGR, kGDPjERZCTb5[nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b110000), 8)], kGDPjERZCTb5[nzTpIcepk0o8(chr(0b100101 + 0o13) + chr(1710 - 1599) + chr(0b110011), 8)], kGDPjERZCTb5[nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\061', 8)], kGDPjERZCTb5[nzTpIcepk0o8('\060' + '\x6f' + '\062', 8)]))
ZFwyJzVKprGR += nzTpIcepk0o8('\x30' + chr(0b10011 + 0o134) + chr(0b110001), 8)
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xeb\xac\x16\x8eL;S\xac\n'), chr(100) + chr(0b100110 + 0o77) + '\143' + chr(111) + chr(0b1001 + 0o133) + chr(0b1100101))(chr(117) + chr(0b1101001 + 0o13) + '\146' + '\055' + chr(1679 - 1623)))(pIthwLhwpnQw)
if EoT1Z5fxsvIk != roI3spqORKae(ES5oEprVxulp(b''), chr(0b1000010 + 0o42) + chr(0b1001000 + 0o35) + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(0b1100101))(chr(0b1110101) + chr(0b1100110 + 0o16) + chr(0b1100001 + 0o5) + chr(0b101101) + '\x38') and XdDrn_g8P0sY != roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(6403 - 6302) + chr(0b100100 + 0o77) + chr(11236 - 11125) + '\144' + chr(0b1100101))(chr(117) + chr(0b1110100) + '\x66' + chr(585 - 540) + '\070') and (yqEynH3caY_E != roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(0b1100101) + chr(99) + chr(0b110 + 0o151) + chr(0b100 + 0o140) + '\x65')(chr(7685 - 7568) + chr(116) + chr(102) + chr(0b11 + 0o52) + chr(0b10111 + 0o41))):
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b"\xff\xb2\x18\x8dL'_\xaf"), chr(0b1100100) + chr(0b10111 + 0o116) + chr(1915 - 1816) + chr(0b1101111) + chr(0b1100100) + chr(101))('\x75' + '\164' + chr(4766 - 4664) + '\x2d' + '\070'))(pIthwLhwpnQw, luLn2FtUnsUW, aO7VavFy3Xvk, PmE5_h409JAA, oqRkd0t4uF7u)
MGHw73zcTvRw = hUcsWwAd0nE_.domean(luLn2FtUnsUW, EoT1Z5fxsvIk, XdDrn_g8P0sY, yqEynH3caY_E)
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xff\xb2\x18\x8dL9S\xb9'), '\144' + chr(101) + '\x63' + chr(111) + chr(100) + chr(101))(chr(117) + chr(116) + chr(0b1100110) + '\055' + '\070'))(pIthwLhwpnQw, MGHw73zcTvRw, luLn2FtUnsUW, aO7VavFy3Xvk)
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xdc\xae\x12\x9az0_\xa5U\xe1\x86\x17\xc2\x0f\x06\xd5\x1e\xd1\x89\xec<\xb5\x88\xfb\x0f\xbfr8\xa9D\xcc\x99\xb3Z\\~\xac\xaa\xe84\xea\xbd[\xd9z3Y'), chr(1135 - 1035) + chr(0b1010101 + 0o20) + chr(4558 - 4459) + chr(2490 - 2379) + '\x64' + chr(101))(chr(10115 - 9998) + chr(116) + chr(0b1100110) + '\x2d' + chr(0b111000)))
if M4fW_S7vN_Q_ == roI3spqORKae(ES5oEprVxulp(b'\xe2\x8a'), '\144' + '\145' + '\143' + chr(0b1101111) + '\x64' + chr(7842 - 7741))(chr(4417 - 4300) + chr(0b1110100) + '\146' + chr(45) + '\070'):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xaa\xadW\xdc`}\x1f\xa2Y\xe1\xc0@\x80^?\x81B\x97\xc2\xf2z\xdb\x81\xedL\xe7z4\xac\x1e\x83\xd0\xf9Z4\x08\xc6\xb7\xae'), '\144' + chr(4818 - 4717) + chr(0b1100011) + chr(0b111110 + 0o61) + chr(100) + chr(0b1100101))('\x75' + '\164' + '\146' + chr(0b10100 + 0o31) + chr(0b111000)) % (PmE5_h409JAA, yqEynH3caY_E, MGHw73zcTvRw[roI3spqORKae(ES5oEprVxulp(b'\xfc\xae\x12\x9az0_\xa5&\xaf'), '\144' + '\x65' + '\x63' + '\157' + '\144' + '\x65')(chr(12820 - 12703) + '\x74' + chr(0b1000 + 0o136) + chr(45) + chr(0b1100 + 0o54))], MGHw73zcTvRw[roI3spqORKae(ES5oEprVxulp(b'\xe2\xbb\x16\x8af/_\xa6\x1c\xaf\x91)\xdd\x18<\xd18\xcc\x85\xae'), '\144' + chr(9759 - 9658) + '\x63' + chr(7432 - 7321) + chr(0b1100100) + '\x65')(chr(1511 - 1394) + chr(0b1110100) + chr(0b1100110) + '\x2d' + '\070')] * 1000.0, MGHw73zcTvRw[roI3spqORKae(ES5oEprVxulp(b'\xe2\xbb\x16\x8af/_\xa6\x1c\xaf\x91)\xdd\x18<\xd18\xcc\x8d\xb8'), chr(100) + '\145' + '\143' + chr(111) + '\x64' + chr(0b10010 + 0o123))(chr(117) + '\x74' + chr(102) + chr(0b101101) + chr(597 - 541))] * 1000.0, MGHw73zcTvRw[roI3spqORKae(ES5oEprVxulp(b'\xfc\xae\x12\x9az0_\xa5&\xac\x84\x12'), chr(6954 - 6854) + chr(0b1010011 + 0o22) + chr(0b1100011) + '\x6f' + chr(100) + '\145')('\165' + chr(0b1101110 + 0o6) + chr(9233 - 9131) + '\x2d' + chr(0b111000))], MGHw73zcTvRw[roI3spqORKae(ES5oEprVxulp(b'\xfc\xae\x12\x9az0_\xa5&\xa5\x80\x15'), chr(3961 - 3861) + '\145' + chr(0b1100011) + chr(111) + chr(3086 - 2986) + chr(0b1100101))(chr(12262 - 12145) + '\x74' + chr(102) + chr(0b11100 + 0o21) + '\070')], MGHw73zcTvRw[roI3spqORKae(ES5oEprVxulp(b'\xfc\xae\x12\x9az0_\xa5&\xa8\x8b\x15'), '\144' + '\x65' + chr(99) + '\157' + chr(0b1100100) + chr(122 - 21))(chr(117) + '\164' + '\x66' + chr(1648 - 1603) + chr(0b10100 + 0o44))]))
if M4fW_S7vN_Q_ == roI3spqORKae(ES5oEprVxulp(b'\xcc'), chr(0b1000 + 0o134) + chr(0b1000 + 0o135) + '\x63' + '\157' + '\144' + chr(0b1100101))(chr(0b1110101) + '\164' + '\146' + chr(45) + chr(0b110101 + 0o3)):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xaa\xadW\xdc`}\x1f\xa2Y\xe1\xc0@\x80^?\x81B\x97\xc2\xf2z\xdb\x81\xedL\xe7z4\xac\x1e\x83\xd0\xf9Z4\x08\xc6\xb7\xae'), '\x64' + '\x65' + chr(0b100011 + 0o100) + chr(111) + chr(0b1010101 + 0o17) + '\x65')(chr(0b1001011 + 0o52) + '\x74' + chr(102) + '\x2d' + chr(0b1100 + 0o54)) % (PmE5_h409JAA, yqEynH3caY_E, MGHw73zcTvRw[roI3spqORKae(ES5oEprVxulp(b'\xfc\xae\x12\x9az0_\xa5&\xaf'), chr(0b1100100) + chr(101) + chr(3575 - 3476) + chr(0b1101111) + chr(100) + chr(0b1000001 + 0o44))('\x75' + '\x74' + chr(0b1010011 + 0o23) + chr(1462 - 1417) + chr(56))], MGHw73zcTvRw[roI3spqORKae(ES5oEprVxulp(b'\xe2\xbb\x16\x8af/_\xa6\x1c\xaf\x91)\xdd\x18<\xd18\xcc\x85\xae'), chr(100) + chr(0b1100101) + chr(99) + chr(111) + chr(0b1100100) + chr(1999 - 1898))('\165' + chr(0b1110100 + 0o0) + '\x66' + '\055' + chr(0b1011 + 0o55))] - nzTpIcepk0o8('\060' + '\x6f' + '\x34' + chr(0b101100 + 0o6) + chr(49), 8), MGHw73zcTvRw[roI3spqORKae(ES5oEprVxulp(b'\xe2\xbb\x16\x8af/_\xa6\x1c\xaf\x91)\xdd\x18<\xd18\xcc\x8d\xb8'), chr(0b1100100) + '\x65' + '\143' + chr(2807 - 2696) + chr(0b1000101 + 0o37) + '\x65')(chr(117) + chr(7171 - 7055) + '\x66' + '\x2d' + chr(0b111000 + 0o0))] - nzTpIcepk0o8('\060' + chr(111) + '\064' + chr(0b11111 + 0o23) + chr(2001 - 1952), 8), MGHw73zcTvRw[roI3spqORKae(ES5oEprVxulp(b'\xfc\xae\x12\x9az0_\xa5&\xac\x84\x12'), chr(0b1100100) + '\x65' + chr(3439 - 3340) + '\157' + chr(0b1100100) + chr(1961 - 1860))(chr(117) + chr(6026 - 5910) + chr(8839 - 8737) + chr(0b100010 + 0o13) + chr(56))], MGHw73zcTvRw[roI3spqORKae(ES5oEprVxulp(b'\xfc\xae\x12\x9az0_\xa5&\xa5\x80\x15'), chr(624 - 524) + chr(101) + '\143' + '\x6f' + chr(0b111011 + 0o51) + '\145')('\165' + chr(116) + chr(102) + '\x2d' + chr(1442 - 1386))], MGHw73zcTvRw[roI3spqORKae(ES5oEprVxulp(b'\xfc\xae\x12\x9az0_\xa5&\xa8\x8b\x15'), chr(0b1100100) + chr(2545 - 2444) + chr(99) + chr(1129 - 1018) + chr(100) + '\145')(chr(117) + chr(116) + chr(0b1100110) + '\055' + chr(56))]))
if M4fW_S7vN_Q_ == roI3spqORKae(ES5oEprVxulp(b'\xda'), '\x64' + '\145' + chr(99) + '\x6f' + chr(0b1010000 + 0o24) + chr(0b1100101))(chr(117) + chr(0b1110100) + chr(0b11011 + 0o113) + '\x2d' + '\x38'):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xaa\xadW\xdc`}\x1f\xa2Y\xe1\xc0@\x80^?\x81B\x97\xc2\xf2z\xdb\x81\xedL\xe7z4\xac\x1e\x83\xd0\xf9Z4\x08\xc6\xb7\xae'), '\144' + '\145' + chr(0b1001111 + 0o24) + chr(0b1101111) + chr(0b10111 + 0o115) + chr(101))('\x75' + chr(0b1110100) + chr(0b110 + 0o140) + chr(597 - 552) + chr(764 - 708)) % (PmE5_h409JAA, yqEynH3caY_E, MGHw73zcTvRw[roI3spqORKae(ES5oEprVxulp(b'\xfc\xae\x12\x9az0_\xa5&\xaf'), '\x64' + '\x65' + chr(99) + chr(0b101000 + 0o107) + chr(0b1 + 0o143) + chr(101))(chr(0b1110101) + '\x74' + chr(461 - 359) + '\x2d' + chr(0b111000))], MGHw73zcTvRw[roI3spqORKae(ES5oEprVxulp(b'\xe2\xbb\x16\x8af/_\xa6\x1c\xaf\x91)\xdd\x18<\xd18\xcc\x85\xae'), '\144' + '\x65' + chr(1200 - 1101) + chr(0b1101111) + chr(0b10001 + 0o123) + '\x65')(chr(0b1100100 + 0o21) + chr(0b1110100) + chr(102) + '\x2d' + '\070')], MGHw73zcTvRw[roI3spqORKae(ES5oEprVxulp(b'\xe2\xbb\x16\x8af/_\xa6\x1c\xaf\x91)\xdd\x18<\xd18\xcc\x8d\xb8'), '\x64' + chr(0b1100101) + chr(9575 - 9476) + chr(111) + chr(0b1100100) + chr(6338 - 6237))(chr(0b1110101) + chr(0b1001111 + 0o45) + chr(0b1100110) + chr(0b101101) + '\x38')], MGHw73zcTvRw[roI3spqORKae(ES5oEprVxulp(b'\xfc\xae\x12\x9az0_\xa5&\xac\x84\x12'), chr(0b1100100) + chr(2893 - 2792) + chr(0b1000111 + 0o34) + chr(111) + chr(0b1100100) + chr(0b1100101))(chr(117) + '\x74' + '\x66' + '\x2d' + chr(56))], MGHw73zcTvRw[roI3spqORKae(ES5oEprVxulp(b'\xfc\xae\x12\x9az0_\xa5&\xa5\x80\x15'), chr(100) + chr(0b101010 + 0o73) + '\x63' + chr(11097 - 10986) + '\144' + chr(7450 - 7349))(chr(5307 - 5190) + '\x74' + chr(102) + '\055' + chr(0b111000))], MGHw73zcTvRw[roI3spqORKae(ES5oEprVxulp(b'\xfc\xae\x12\x9az0_\xa5&\xa8\x8b\x15'), chr(3439 - 3339) + chr(6195 - 6094) + chr(7817 - 7718) + '\157' + chr(2960 - 2860) + chr(809 - 708))('\165' + '\164' + chr(3035 - 2933) + chr(159 - 114) + chr(0b111000))]))
if mwgZMvWSpAHg:
wR5_YWECjaY7 = {}
for QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(pIthwLhwpnQw, roI3spqORKae(ES5oEprVxulp(b'\xe4\xbb\x0e\x8a'), chr(0b1100100) + chr(0b1100101) + chr(0b1100011) + chr(141 - 30) + '\x64' + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(0b111000)))()):
wR5_YWECjaY7[QYodcsDtoGq7] = PmE5_h409JAA + roI3spqORKae(ES5oEprVxulp(b'\xd0'), chr(0b1100100) + chr(0b1100101) + chr(99) + chr(3149 - 3038) + chr(7277 - 7177) + chr(0b1100101))('\165' + chr(0b1110100) + '\146' + chr(45) + chr(1116 - 1060)) + QYodcsDtoGq7 + roI3spqORKae(ES5oEprVxulp(b'\xa1'), chr(0b100 + 0o140) + chr(0b100100 + 0o101) + '\x63' + chr(5132 - 5021) + '\x64' + '\145')(chr(0b1110101) + chr(0b101111 + 0o105) + chr(5674 - 5572) + chr(45) + chr(3046 - 2990)) + JummcHpaNLEw
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xfc\xbf\x01\x9cL-V\xa4\r\xb2'), '\x64' + chr(0b1100001 + 0o4) + '\143' + chr(6668 - 6557) + '\x64' + chr(101))('\x75' + chr(116) + chr(102) + chr(0b101101) + '\070'))(pIthwLhwpnQw, wR5_YWECjaY7)
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
aniso_magic_nb
|
def aniso_magic_nb(infile='specimens.txt', samp_file='samples.txt', site_file='sites.txt', verbose=True,
ipar=False, ihext=True, ivec=False, isite=False, iloc=False, iboot=False, vec=0,
Dir=[], PDir=[], crd="s", num_bootstraps=1000, dir_path=".", fignum=1,
save_plots=True, interactive=False, fmt="png"):
"""
Makes plots of anisotropy eigenvectors, eigenvalues and confidence bounds
All directions are on the lower hemisphere.
Parameters
__________
infile : specimens formatted file with aniso_s data
samp_file : samples formatted file with sample => site relationship
site_file : sites formatted file with site => location relationship
verbose : if True, print messages to output
confidence bounds options:
ipar : if True - perform parametric bootstrap - requires non-blank aniso_s_sigma
ihext : if True - Hext ellipses
ivec : if True - plot bootstrapped eigenvectors instead of ellipses
isite : if True plot by site, requires non-blank samp_file
#iloc : if True plot by location, requires non-blank samp_file, and site_file NOT IMPLEMENTED
iboot : if True - bootstrap ellipses
vec : eigenvector for comparison with Dir
Dir : [Dec,Inc] list for comparison direction
PDir : [Pole_dec, Pole_Inc] for pole to plane for comparison
green dots are on the lower hemisphere, cyan are on the upper hemisphere
crd : ['s','g','t'], coordinate system for plotting whereby:
s : specimen coordinates, aniso_tile_correction = -1, or unspecified
g : geographic coordinates, aniso_tile_correction = 0
t : tilt corrected coordinates, aniso_tile_correction = 100
num_bootstraps : how many bootstraps to do, default 1000
dir_path : directory path
fignum : matplotlib figure number, default 1
save_plots : bool, default True
if True, create and save all requested plots
interactive : bool, default False
interactively plot and display for each specimen
(this is best used on the command line only)
fmt : str, default "svg"
format for figures, [svg, jpg, pdf, png]
"""
figs = {}
saved = []
# make sure boolean values are in integer form
# for backwards compatibility
ipar = int(ipar)
ihext = int(ihext)
ivec = int(ivec)
isite = int(isite)
#iloc = int(iloc) # NOT USED
iboot = int(iboot)
# fix directory
input_dir_path = os.path.realpath(dir_path)
# initialize some variables
version_num = pmag.get_version()
hpars, bpars = [], []
# set aniso_tilt_correction value
CS = -1 # specimen
if crd == 'g':
CS = 0
if crd == 't':
CS = 100
#
#
# read in the data
fnames = {'specimens': infile, 'samples': samp_file, 'sites': site_file}
con = cb.Contribution(input_dir_path, read_tables=['specimens', 'samples', 'sites', 'contribution'],
custom_filenames=fnames)
# get contribution id if available
con_id = ""
if 'contribution' in con.tables:
if 'id' in con.tables['contribution'].df.columns:
con_id = str(con.tables['contribution'].df['id'].values[0])
# get other data
con.propagate_location_to_specimens()
spec_container = con.tables['specimens']
spec_df = spec_container.df
# use only anisotropy records
spec_df = spec_df.dropna(subset=['aniso_s']).copy()
if 'aniso_tilt_correction' not in spec_df.columns:
spec_df['aniso_tilt_correction'] = -1 # assume specimen coordinates
if "aniso_s_n_measurements" not in spec_df.columns:
spec_df["aniso_s_n_measurements"] = "6"
if "aniso_s_sigma" not in spec_df.columns:
spec_df["aniso_sigma"] = "0"
orlist = spec_df['aniso_tilt_correction'].dropna().unique()
if CS not in orlist:
if len(orlist) > 0:
CS = orlist[0]
else:
CS = -1
if CS == -1:
crd = 's'
if CS == 0:
crd = 'g'
if CS == 100:
crd = 't'
if verbose:
print("desired coordinate system not available, using available: ", crd)
cs_df = spec_df[spec_df['aniso_tilt_correction'] == CS]
if isite:
sites = cs_df['site'].unique()
for site in list(sites):
site_df = cs_df[cs_df.site == site]
loc = ""
if 'sites' in con.tables:
if 'location' in con.tables['sites'].df.columns:
locs = con.tables['sites'].df.loc[site, 'location'].dropna()
if any(locs):
loc = locs.iloc[0]
figs = plot_aniso(fignum, site_df, Dir=Dir, PDir=PDir, ipar=ipar,
ihext=ihext, ivec=ivec, iboot=iboot,
vec=vec, num_bootstraps=num_bootstraps, title=site)
files = {key: loc + "_" + site +"_" + crd + "_aniso-" + key + ".png" for (key, value) in figs.items()}
if pmagplotlib.isServer:
for key in figs.keys():
files[key] = "LO:_" + loc + "_SI:_" + site + '_TY:_aniso_' + key + '_.' + fmt
titles = {}
titles['data'] = "Eigenvectors"
titles['tcdf'] = "Eigenvalue Confidence"
titles['conf'] = "Confidence Ellipses"
for key in figs:
if key not in titles:
titles[key] = key
pmagplotlib.add_borders(figs, titles, con_id=con_id)
if save_plots:
saved.extend(pmagplotlib.save_plots(figs, files))
elif interactive:
pmagplotlib.draw_figs(figs)
ans = pmagplotlib.save_or_quit()
if ans == 'a':
saved.extend(pmagplotlib.save_plots(figs, files))
else:
continue
else:
fignum += 2
if iboot:
fignum += 1
if len(Dir) > 0:
fignum += 1
else:
figs = plot_aniso(fignum, cs_df, Dir=Dir, PDir=PDir, ipar=ipar, ihext=ihext,
ivec=ivec, iboot=iboot, vec=vec, num_bootstraps=num_bootstraps)
try:
locs = cs_df['location'].unique()
except:
locs = [""]
locs = "-".join(locs)
files = {key: locs + "_" + crd + "_aniso-" + key + ".png" for (key, value) in figs.items()}
if pmagplotlib.isServer:
for key in figs.keys():
files[key] = 'MC:_' + con_id + '_TY:_aniso_' + key + '_.' + fmt
titles = {}
titles['data'] = "Eigenvectors"
titles['tcdf'] = "Eigenvalue Confidence"
titles['conf'] = "Confidence Ellipses"
for key in figs:
if key not in titles:
titles[key] = key
pmagplotlib.add_borders(figs, titles, con_id=con_id)
if save_plots:
saved.extend(pmagplotlib.save_plots(figs, files))
elif interactive:
pmagplotlib.draw_figs(figs)
ans = pmagplotlib.save_or_quit()
if ans == 'a':
saved.extend(pmagplotlib.save_plots(figs, files))
return True, saved
|
python
|
def aniso_magic_nb(infile='specimens.txt', samp_file='samples.txt', site_file='sites.txt', verbose=True,
ipar=False, ihext=True, ivec=False, isite=False, iloc=False, iboot=False, vec=0,
Dir=[], PDir=[], crd="s", num_bootstraps=1000, dir_path=".", fignum=1,
save_plots=True, interactive=False, fmt="png"):
"""
Makes plots of anisotropy eigenvectors, eigenvalues and confidence bounds
All directions are on the lower hemisphere.
Parameters
__________
infile : specimens formatted file with aniso_s data
samp_file : samples formatted file with sample => site relationship
site_file : sites formatted file with site => location relationship
verbose : if True, print messages to output
confidence bounds options:
ipar : if True - perform parametric bootstrap - requires non-blank aniso_s_sigma
ihext : if True - Hext ellipses
ivec : if True - plot bootstrapped eigenvectors instead of ellipses
isite : if True plot by site, requires non-blank samp_file
#iloc : if True plot by location, requires non-blank samp_file, and site_file NOT IMPLEMENTED
iboot : if True - bootstrap ellipses
vec : eigenvector for comparison with Dir
Dir : [Dec,Inc] list for comparison direction
PDir : [Pole_dec, Pole_Inc] for pole to plane for comparison
green dots are on the lower hemisphere, cyan are on the upper hemisphere
crd : ['s','g','t'], coordinate system for plotting whereby:
s : specimen coordinates, aniso_tile_correction = -1, or unspecified
g : geographic coordinates, aniso_tile_correction = 0
t : tilt corrected coordinates, aniso_tile_correction = 100
num_bootstraps : how many bootstraps to do, default 1000
dir_path : directory path
fignum : matplotlib figure number, default 1
save_plots : bool, default True
if True, create and save all requested plots
interactive : bool, default False
interactively plot and display for each specimen
(this is best used on the command line only)
fmt : str, default "svg"
format for figures, [svg, jpg, pdf, png]
"""
figs = {}
saved = []
# make sure boolean values are in integer form
# for backwards compatibility
ipar = int(ipar)
ihext = int(ihext)
ivec = int(ivec)
isite = int(isite)
#iloc = int(iloc) # NOT USED
iboot = int(iboot)
# fix directory
input_dir_path = os.path.realpath(dir_path)
# initialize some variables
version_num = pmag.get_version()
hpars, bpars = [], []
# set aniso_tilt_correction value
CS = -1 # specimen
if crd == 'g':
CS = 0
if crd == 't':
CS = 100
#
#
# read in the data
fnames = {'specimens': infile, 'samples': samp_file, 'sites': site_file}
con = cb.Contribution(input_dir_path, read_tables=['specimens', 'samples', 'sites', 'contribution'],
custom_filenames=fnames)
# get contribution id if available
con_id = ""
if 'contribution' in con.tables:
if 'id' in con.tables['contribution'].df.columns:
con_id = str(con.tables['contribution'].df['id'].values[0])
# get other data
con.propagate_location_to_specimens()
spec_container = con.tables['specimens']
spec_df = spec_container.df
# use only anisotropy records
spec_df = spec_df.dropna(subset=['aniso_s']).copy()
if 'aniso_tilt_correction' not in spec_df.columns:
spec_df['aniso_tilt_correction'] = -1 # assume specimen coordinates
if "aniso_s_n_measurements" not in spec_df.columns:
spec_df["aniso_s_n_measurements"] = "6"
if "aniso_s_sigma" not in spec_df.columns:
spec_df["aniso_sigma"] = "0"
orlist = spec_df['aniso_tilt_correction'].dropna().unique()
if CS not in orlist:
if len(orlist) > 0:
CS = orlist[0]
else:
CS = -1
if CS == -1:
crd = 's'
if CS == 0:
crd = 'g'
if CS == 100:
crd = 't'
if verbose:
print("desired coordinate system not available, using available: ", crd)
cs_df = spec_df[spec_df['aniso_tilt_correction'] == CS]
if isite:
sites = cs_df['site'].unique()
for site in list(sites):
site_df = cs_df[cs_df.site == site]
loc = ""
if 'sites' in con.tables:
if 'location' in con.tables['sites'].df.columns:
locs = con.tables['sites'].df.loc[site, 'location'].dropna()
if any(locs):
loc = locs.iloc[0]
figs = plot_aniso(fignum, site_df, Dir=Dir, PDir=PDir, ipar=ipar,
ihext=ihext, ivec=ivec, iboot=iboot,
vec=vec, num_bootstraps=num_bootstraps, title=site)
files = {key: loc + "_" + site +"_" + crd + "_aniso-" + key + ".png" for (key, value) in figs.items()}
if pmagplotlib.isServer:
for key in figs.keys():
files[key] = "LO:_" + loc + "_SI:_" + site + '_TY:_aniso_' + key + '_.' + fmt
titles = {}
titles['data'] = "Eigenvectors"
titles['tcdf'] = "Eigenvalue Confidence"
titles['conf'] = "Confidence Ellipses"
for key in figs:
if key not in titles:
titles[key] = key
pmagplotlib.add_borders(figs, titles, con_id=con_id)
if save_plots:
saved.extend(pmagplotlib.save_plots(figs, files))
elif interactive:
pmagplotlib.draw_figs(figs)
ans = pmagplotlib.save_or_quit()
if ans == 'a':
saved.extend(pmagplotlib.save_plots(figs, files))
else:
continue
else:
fignum += 2
if iboot:
fignum += 1
if len(Dir) > 0:
fignum += 1
else:
figs = plot_aniso(fignum, cs_df, Dir=Dir, PDir=PDir, ipar=ipar, ihext=ihext,
ivec=ivec, iboot=iboot, vec=vec, num_bootstraps=num_bootstraps)
try:
locs = cs_df['location'].unique()
except:
locs = [""]
locs = "-".join(locs)
files = {key: locs + "_" + crd + "_aniso-" + key + ".png" for (key, value) in figs.items()}
if pmagplotlib.isServer:
for key in figs.keys():
files[key] = 'MC:_' + con_id + '_TY:_aniso_' + key + '_.' + fmt
titles = {}
titles['data'] = "Eigenvectors"
titles['tcdf'] = "Eigenvalue Confidence"
titles['conf'] = "Confidence Ellipses"
for key in figs:
if key not in titles:
titles[key] = key
pmagplotlib.add_borders(figs, titles, con_id=con_id)
if save_plots:
saved.extend(pmagplotlib.save_plots(figs, files))
elif interactive:
pmagplotlib.draw_figs(figs)
ans = pmagplotlib.save_or_quit()
if ans == 'a':
saved.extend(pmagplotlib.save_plots(figs, files))
return True, saved
|
[
"def",
"aniso_magic_nb",
"(",
"infile",
"=",
"'specimens.txt'",
",",
"samp_file",
"=",
"'samples.txt'",
",",
"site_file",
"=",
"'sites.txt'",
",",
"verbose",
"=",
"True",
",",
"ipar",
"=",
"False",
",",
"ihext",
"=",
"True",
",",
"ivec",
"=",
"False",
",",
"isite",
"=",
"False",
",",
"iloc",
"=",
"False",
",",
"iboot",
"=",
"False",
",",
"vec",
"=",
"0",
",",
"Dir",
"=",
"[",
"]",
",",
"PDir",
"=",
"[",
"]",
",",
"crd",
"=",
"\"s\"",
",",
"num_bootstraps",
"=",
"1000",
",",
"dir_path",
"=",
"\".\"",
",",
"fignum",
"=",
"1",
",",
"save_plots",
"=",
"True",
",",
"interactive",
"=",
"False",
",",
"fmt",
"=",
"\"png\"",
")",
":",
"figs",
"=",
"{",
"}",
"saved",
"=",
"[",
"]",
"# make sure boolean values are in integer form",
"# for backwards compatibility",
"ipar",
"=",
"int",
"(",
"ipar",
")",
"ihext",
"=",
"int",
"(",
"ihext",
")",
"ivec",
"=",
"int",
"(",
"ivec",
")",
"isite",
"=",
"int",
"(",
"isite",
")",
"#iloc = int(iloc) # NOT USED",
"iboot",
"=",
"int",
"(",
"iboot",
")",
"# fix directory",
"input_dir_path",
"=",
"os",
".",
"path",
".",
"realpath",
"(",
"dir_path",
")",
"# initialize some variables",
"version_num",
"=",
"pmag",
".",
"get_version",
"(",
")",
"hpars",
",",
"bpars",
"=",
"[",
"]",
",",
"[",
"]",
"# set aniso_tilt_correction value",
"CS",
"=",
"-",
"1",
"# specimen",
"if",
"crd",
"==",
"'g'",
":",
"CS",
"=",
"0",
"if",
"crd",
"==",
"'t'",
":",
"CS",
"=",
"100",
"#",
"#",
"# read in the data",
"fnames",
"=",
"{",
"'specimens'",
":",
"infile",
",",
"'samples'",
":",
"samp_file",
",",
"'sites'",
":",
"site_file",
"}",
"con",
"=",
"cb",
".",
"Contribution",
"(",
"input_dir_path",
",",
"read_tables",
"=",
"[",
"'specimens'",
",",
"'samples'",
",",
"'sites'",
",",
"'contribution'",
"]",
",",
"custom_filenames",
"=",
"fnames",
")",
"# get contribution id if available",
"con_id",
"=",
"\"\"",
"if",
"'contribution'",
"in",
"con",
".",
"tables",
":",
"if",
"'id'",
"in",
"con",
".",
"tables",
"[",
"'contribution'",
"]",
".",
"df",
".",
"columns",
":",
"con_id",
"=",
"str",
"(",
"con",
".",
"tables",
"[",
"'contribution'",
"]",
".",
"df",
"[",
"'id'",
"]",
".",
"values",
"[",
"0",
"]",
")",
"# get other data",
"con",
".",
"propagate_location_to_specimens",
"(",
")",
"spec_container",
"=",
"con",
".",
"tables",
"[",
"'specimens'",
"]",
"spec_df",
"=",
"spec_container",
".",
"df",
"# use only anisotropy records",
"spec_df",
"=",
"spec_df",
".",
"dropna",
"(",
"subset",
"=",
"[",
"'aniso_s'",
"]",
")",
".",
"copy",
"(",
")",
"if",
"'aniso_tilt_correction'",
"not",
"in",
"spec_df",
".",
"columns",
":",
"spec_df",
"[",
"'aniso_tilt_correction'",
"]",
"=",
"-",
"1",
"# assume specimen coordinates",
"if",
"\"aniso_s_n_measurements\"",
"not",
"in",
"spec_df",
".",
"columns",
":",
"spec_df",
"[",
"\"aniso_s_n_measurements\"",
"]",
"=",
"\"6\"",
"if",
"\"aniso_s_sigma\"",
"not",
"in",
"spec_df",
".",
"columns",
":",
"spec_df",
"[",
"\"aniso_sigma\"",
"]",
"=",
"\"0\"",
"orlist",
"=",
"spec_df",
"[",
"'aniso_tilt_correction'",
"]",
".",
"dropna",
"(",
")",
".",
"unique",
"(",
")",
"if",
"CS",
"not",
"in",
"orlist",
":",
"if",
"len",
"(",
"orlist",
")",
">",
"0",
":",
"CS",
"=",
"orlist",
"[",
"0",
"]",
"else",
":",
"CS",
"=",
"-",
"1",
"if",
"CS",
"==",
"-",
"1",
":",
"crd",
"=",
"'s'",
"if",
"CS",
"==",
"0",
":",
"crd",
"=",
"'g'",
"if",
"CS",
"==",
"100",
":",
"crd",
"=",
"'t'",
"if",
"verbose",
":",
"print",
"(",
"\"desired coordinate system not available, using available: \"",
",",
"crd",
")",
"cs_df",
"=",
"spec_df",
"[",
"spec_df",
"[",
"'aniso_tilt_correction'",
"]",
"==",
"CS",
"]",
"if",
"isite",
":",
"sites",
"=",
"cs_df",
"[",
"'site'",
"]",
".",
"unique",
"(",
")",
"for",
"site",
"in",
"list",
"(",
"sites",
")",
":",
"site_df",
"=",
"cs_df",
"[",
"cs_df",
".",
"site",
"==",
"site",
"]",
"loc",
"=",
"\"\"",
"if",
"'sites'",
"in",
"con",
".",
"tables",
":",
"if",
"'location'",
"in",
"con",
".",
"tables",
"[",
"'sites'",
"]",
".",
"df",
".",
"columns",
":",
"locs",
"=",
"con",
".",
"tables",
"[",
"'sites'",
"]",
".",
"df",
".",
"loc",
"[",
"site",
",",
"'location'",
"]",
".",
"dropna",
"(",
")",
"if",
"any",
"(",
"locs",
")",
":",
"loc",
"=",
"locs",
".",
"iloc",
"[",
"0",
"]",
"figs",
"=",
"plot_aniso",
"(",
"fignum",
",",
"site_df",
",",
"Dir",
"=",
"Dir",
",",
"PDir",
"=",
"PDir",
",",
"ipar",
"=",
"ipar",
",",
"ihext",
"=",
"ihext",
",",
"ivec",
"=",
"ivec",
",",
"iboot",
"=",
"iboot",
",",
"vec",
"=",
"vec",
",",
"num_bootstraps",
"=",
"num_bootstraps",
",",
"title",
"=",
"site",
")",
"files",
"=",
"{",
"key",
":",
"loc",
"+",
"\"_\"",
"+",
"site",
"+",
"\"_\"",
"+",
"crd",
"+",
"\"_aniso-\"",
"+",
"key",
"+",
"\".png\"",
"for",
"(",
"key",
",",
"value",
")",
"in",
"figs",
".",
"items",
"(",
")",
"}",
"if",
"pmagplotlib",
".",
"isServer",
":",
"for",
"key",
"in",
"figs",
".",
"keys",
"(",
")",
":",
"files",
"[",
"key",
"]",
"=",
"\"LO:_\"",
"+",
"loc",
"+",
"\"_SI:_\"",
"+",
"site",
"+",
"'_TY:_aniso_'",
"+",
"key",
"+",
"'_.'",
"+",
"fmt",
"titles",
"=",
"{",
"}",
"titles",
"[",
"'data'",
"]",
"=",
"\"Eigenvectors\"",
"titles",
"[",
"'tcdf'",
"]",
"=",
"\"Eigenvalue Confidence\"",
"titles",
"[",
"'conf'",
"]",
"=",
"\"Confidence Ellipses\"",
"for",
"key",
"in",
"figs",
":",
"if",
"key",
"not",
"in",
"titles",
":",
"titles",
"[",
"key",
"]",
"=",
"key",
"pmagplotlib",
".",
"add_borders",
"(",
"figs",
",",
"titles",
",",
"con_id",
"=",
"con_id",
")",
"if",
"save_plots",
":",
"saved",
".",
"extend",
"(",
"pmagplotlib",
".",
"save_plots",
"(",
"figs",
",",
"files",
")",
")",
"elif",
"interactive",
":",
"pmagplotlib",
".",
"draw_figs",
"(",
"figs",
")",
"ans",
"=",
"pmagplotlib",
".",
"save_or_quit",
"(",
")",
"if",
"ans",
"==",
"'a'",
":",
"saved",
".",
"extend",
"(",
"pmagplotlib",
".",
"save_plots",
"(",
"figs",
",",
"files",
")",
")",
"else",
":",
"continue",
"else",
":",
"fignum",
"+=",
"2",
"if",
"iboot",
":",
"fignum",
"+=",
"1",
"if",
"len",
"(",
"Dir",
")",
">",
"0",
":",
"fignum",
"+=",
"1",
"else",
":",
"figs",
"=",
"plot_aniso",
"(",
"fignum",
",",
"cs_df",
",",
"Dir",
"=",
"Dir",
",",
"PDir",
"=",
"PDir",
",",
"ipar",
"=",
"ipar",
",",
"ihext",
"=",
"ihext",
",",
"ivec",
"=",
"ivec",
",",
"iboot",
"=",
"iboot",
",",
"vec",
"=",
"vec",
",",
"num_bootstraps",
"=",
"num_bootstraps",
")",
"try",
":",
"locs",
"=",
"cs_df",
"[",
"'location'",
"]",
".",
"unique",
"(",
")",
"except",
":",
"locs",
"=",
"[",
"\"\"",
"]",
"locs",
"=",
"\"-\"",
".",
"join",
"(",
"locs",
")",
"files",
"=",
"{",
"key",
":",
"locs",
"+",
"\"_\"",
"+",
"crd",
"+",
"\"_aniso-\"",
"+",
"key",
"+",
"\".png\"",
"for",
"(",
"key",
",",
"value",
")",
"in",
"figs",
".",
"items",
"(",
")",
"}",
"if",
"pmagplotlib",
".",
"isServer",
":",
"for",
"key",
"in",
"figs",
".",
"keys",
"(",
")",
":",
"files",
"[",
"key",
"]",
"=",
"'MC:_'",
"+",
"con_id",
"+",
"'_TY:_aniso_'",
"+",
"key",
"+",
"'_.'",
"+",
"fmt",
"titles",
"=",
"{",
"}",
"titles",
"[",
"'data'",
"]",
"=",
"\"Eigenvectors\"",
"titles",
"[",
"'tcdf'",
"]",
"=",
"\"Eigenvalue Confidence\"",
"titles",
"[",
"'conf'",
"]",
"=",
"\"Confidence Ellipses\"",
"for",
"key",
"in",
"figs",
":",
"if",
"key",
"not",
"in",
"titles",
":",
"titles",
"[",
"key",
"]",
"=",
"key",
"pmagplotlib",
".",
"add_borders",
"(",
"figs",
",",
"titles",
",",
"con_id",
"=",
"con_id",
")",
"if",
"save_plots",
":",
"saved",
".",
"extend",
"(",
"pmagplotlib",
".",
"save_plots",
"(",
"figs",
",",
"files",
")",
")",
"elif",
"interactive",
":",
"pmagplotlib",
".",
"draw_figs",
"(",
"figs",
")",
"ans",
"=",
"pmagplotlib",
".",
"save_or_quit",
"(",
")",
"if",
"ans",
"==",
"'a'",
":",
"saved",
".",
"extend",
"(",
"pmagplotlib",
".",
"save_plots",
"(",
"figs",
",",
"files",
")",
")",
"return",
"True",
",",
"saved"
] |
Makes plots of anisotropy eigenvectors, eigenvalues and confidence bounds
All directions are on the lower hemisphere.
Parameters
__________
infile : specimens formatted file with aniso_s data
samp_file : samples formatted file with sample => site relationship
site_file : sites formatted file with site => location relationship
verbose : if True, print messages to output
confidence bounds options:
ipar : if True - perform parametric bootstrap - requires non-blank aniso_s_sigma
ihext : if True - Hext ellipses
ivec : if True - plot bootstrapped eigenvectors instead of ellipses
isite : if True plot by site, requires non-blank samp_file
#iloc : if True plot by location, requires non-blank samp_file, and site_file NOT IMPLEMENTED
iboot : if True - bootstrap ellipses
vec : eigenvector for comparison with Dir
Dir : [Dec,Inc] list for comparison direction
PDir : [Pole_dec, Pole_Inc] for pole to plane for comparison
green dots are on the lower hemisphere, cyan are on the upper hemisphere
crd : ['s','g','t'], coordinate system for plotting whereby:
s : specimen coordinates, aniso_tile_correction = -1, or unspecified
g : geographic coordinates, aniso_tile_correction = 0
t : tilt corrected coordinates, aniso_tile_correction = 100
num_bootstraps : how many bootstraps to do, default 1000
dir_path : directory path
fignum : matplotlib figure number, default 1
save_plots : bool, default True
if True, create and save all requested plots
interactive : bool, default False
interactively plot and display for each specimen
(this is best used on the command line only)
fmt : str, default "svg"
format for figures, [svg, jpg, pdf, png]
|
[
"Makes",
"plots",
"of",
"anisotropy",
"eigenvectors",
"eigenvalues",
"and",
"confidence",
"bounds",
"All",
"directions",
"are",
"on",
"the",
"lower",
"hemisphere",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L8995-L9164
|
train
|
Aniso Magic NB plot for a specific entry in a specific file.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8('\060' + chr(0b1101111) + chr(2293 - 2243) + chr(52) + chr(0b110010), ord("\x08")), nzTpIcepk0o8(chr(0b101001 + 0o7) + chr(111) + '\x33' + '\062' + chr(362 - 312), ord("\x08")), nzTpIcepk0o8('\x30' + '\157' + chr(0b110011) + '\x33' + chr(52), 54078 - 54070), nzTpIcepk0o8(chr(1193 - 1145) + '\x6f' + '\061' + chr(51) + '\060', 22435 - 22427), nzTpIcepk0o8(chr(0b111 + 0o51) + chr(111) + chr(49) + '\x37' + chr(2050 - 1999), 17878 - 17870), nzTpIcepk0o8('\x30' + '\157' + chr(0b110001) + chr(0b110010 + 0o5) + '\061', ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b110 + 0o151) + chr(0b100110 + 0o21) + chr(1399 - 1351), 49133 - 49125), nzTpIcepk0o8(chr(1640 - 1592) + chr(0b1101111) + '\063' + chr(55) + '\x33', 0o10), nzTpIcepk0o8(chr(537 - 489) + '\157' + chr(49) + chr(1729 - 1675) + chr(54), 22274 - 22266), nzTpIcepk0o8('\060' + '\x6f' + chr(50) + chr(54), ord("\x08")), nzTpIcepk0o8('\060' + chr(0b1101111) + '\x31' + chr(0b110100) + '\x35', 0o10), nzTpIcepk0o8(chr(48) + chr(0b1011 + 0o144) + chr(54) + chr(0b10101 + 0o36), 0b1000), nzTpIcepk0o8(chr(0b110 + 0o52) + chr(10010 - 9899) + '\061' + chr(54) + chr(0b100111 + 0o11), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(2394 - 2345) + '\x31' + '\x34', 2847 - 2839), nzTpIcepk0o8(chr(48) + '\157' + chr(0b11100 + 0o27) + chr(1828 - 1780) + '\x32', 0b1000), nzTpIcepk0o8('\060' + chr(11301 - 11190) + chr(0b1010 + 0o50) + '\065' + chr(659 - 606), ord("\x08")), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(51) + chr(0b110011) + '\061', ord("\x08")), nzTpIcepk0o8('\x30' + '\157' + '\062' + chr(423 - 373), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(55) + '\063', 0o10), nzTpIcepk0o8(chr(0b100111 + 0o11) + chr(111) + chr(0b110110) + chr(51), 8), nzTpIcepk0o8(chr(1931 - 1883) + '\157' + chr(0b100100 + 0o15) + chr(597 - 543) + '\x37', 0b1000), nzTpIcepk0o8(chr(0b101100 + 0o4) + '\157' + '\x33' + chr(0b110101) + chr(51), 0o10), nzTpIcepk0o8('\060' + '\157' + chr(2065 - 2013) + chr(0b101111 + 0o4), 0b1000), nzTpIcepk0o8('\060' + '\x6f' + chr(1237 - 1186) + chr(0b101111 + 0o6) + chr(1603 - 1552), 8), nzTpIcepk0o8('\060' + '\157' + chr(50) + chr(0b111 + 0o51) + chr(0b11110 + 0o24), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b100011 + 0o16) + chr(52), 0b1000), nzTpIcepk0o8(chr(48) + '\x6f' + chr(2173 - 2123) + chr(0b110100), ord("\x08")), nzTpIcepk0o8(chr(2105 - 2057) + '\157' + chr(0b110010) + '\x35' + chr(0b110100), ord("\x08")), nzTpIcepk0o8('\060' + '\x6f' + '\061' + chr(0b110010) + chr(52), 0o10), nzTpIcepk0o8(chr(48) + chr(111) + '\062' + chr(0b110000) + chr(348 - 296), 32507 - 32499), nzTpIcepk0o8(chr(1130 - 1082) + chr(0b1101111) + '\x33' + chr(0b1110 + 0o42) + '\060', ord("\x08")), nzTpIcepk0o8(chr(0b11101 + 0o23) + chr(0b1101111) + chr(0b110001) + chr(0b10010 + 0o40) + chr(0b110101), 0b1000), nzTpIcepk0o8(chr(1148 - 1100) + chr(0b1000010 + 0o55) + '\061' + '\061' + chr(0b10101 + 0o40), 0o10), nzTpIcepk0o8('\x30' + chr(0b110100 + 0o73) + chr(55) + chr(1889 - 1839), 0o10), nzTpIcepk0o8('\x30' + '\157' + chr(51) + chr(48) + '\064', 0b1000), nzTpIcepk0o8('\060' + '\157' + chr(0b110111) + chr(55), ord("\x08")), nzTpIcepk0o8('\060' + chr(5283 - 5172) + '\x37', 0o10), nzTpIcepk0o8('\x30' + chr(0b1101111) + '\x33' + chr(0b110001) + chr(0b100001 + 0o17), 5738 - 5730), nzTpIcepk0o8(chr(1389 - 1341) + chr(111) + chr(51) + chr(0b110011) + chr(51), ord("\x08")), nzTpIcepk0o8('\060' + '\x6f' + '\x31' + '\063' + chr(0b110101), 0b1000)][ZlbFMSG8gCoF % nzTpIcepk0o8('\060' + chr(0b1101111) + chr(53) + chr(0b100011 + 0o15), ord("\x08"))] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\x8c'), '\x64' + chr(0b1100101) + '\x63' + chr(0b10110 + 0o131) + '\x64' + chr(101))(chr(0b1100011 + 0o22) + chr(0b1011111 + 0o25) + '\x66' + chr(0b10110 + 0o27) + '\x38') + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def WT7zeqvbL7Dm(XvbvbiHwSGUb=roI3spqORKae(ES5oEprVxulp(b'\xd1\xa2\xb9;\x12\x14]\x95\x058\x11K\x04'), chr(1158 - 1058) + chr(101) + '\143' + chr(0b1101111) + '\144' + chr(101))(chr(117) + chr(8202 - 8086) + '\x66' + chr(0b11111 + 0o16) + chr(0b111000)), bqpTUs8apVqb=roI3spqORKae(ES5oEprVxulp(b'\xd1\xb3\xb1(\x17\x1cK\xd5\x02n\x11'), chr(0b101110 + 0o66) + '\145' + chr(99) + chr(0b1101111) + chr(0b1100100) + chr(101))(chr(117) + chr(0b1110100) + '\146' + chr(0b101101) + chr(56)), OiNBbL9woeR5=roI3spqORKae(ES5oEprVxulp(b'\xd1\xbb\xa8=\x08WL\x83\x02'), '\x64' + chr(0b1100101) + '\x63' + chr(0b1101111) + chr(0b1011 + 0o131) + chr(0b1000011 + 0o42))('\x75' + chr(0b1110100) + chr(0b100111 + 0o77) + '\055' + chr(56)), TseISVdPlfdM=nzTpIcepk0o8('\x30' + chr(0b1101111) + '\x31', 0o10), XdIaCx4c8K9i=nzTpIcepk0o8(chr(1953 - 1905) + chr(111) + '\x30', 52631 - 52623), Sq1_7QxYdiC_=nzTpIcepk0o8(chr(0b0 + 0o60) + '\x6f' + '\x31', 8), PnXj6IUsjo2B=nzTpIcepk0o8('\060' + chr(111) + chr(0b110000), 8), yxX8T9zovw1t=nzTpIcepk0o8(chr(0b110000) + chr(0b1010100 + 0o33) + chr(48), 8), mj4jMnYn3A2l=nzTpIcepk0o8('\060' + chr(111) + '\060', 8), beqWmS7MUtXl=nzTpIcepk0o8(chr(551 - 503) + '\157' + chr(0b110000), 8), LtnmpHaeBJ7D=nzTpIcepk0o8('\060' + chr(0b1100101 + 0o12) + chr(2111 - 2063), 8), Ipbck45zA0PF=[], eMUbz3PTLilJ=[], px1MpgT0hYQ9=roI3spqORKae(ES5oEprVxulp(b'\xd1'), '\x64' + chr(0b1100101) + chr(0b1100011) + chr(0b1100011 + 0o14) + chr(4651 - 4551) + '\145')('\165' + chr(0b1110100) + chr(8654 - 8552) + chr(1696 - 1651) + chr(0b111000)), uAwcKqPlEhN0=nzTpIcepk0o8(chr(2047 - 1999) + '\x6f' + chr(0b101101 + 0o4) + chr(55) + chr(0b11101 + 0o30) + chr(0b110000), 0o10), qjksZ7GK0xkJ=roI3spqORKae(ES5oEprVxulp(b'\x8c'), '\144' + '\x65' + '\143' + chr(0b1001000 + 0o47) + chr(1367 - 1267) + chr(7014 - 6913))(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + '\x2d' + '\070'), OpFpJUFlM4PU=nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b110001), 8), bxxuZm4I6LgY=nzTpIcepk0o8('\060' + '\157' + '\061', 8), f4XDWm__k5ZA=nzTpIcepk0o8(chr(0b10001 + 0o37) + '\157' + '\060', 8), JummcHpaNLEw=roI3spqORKae(ES5oEprVxulp(b'\xd2\xbc\xbb'), '\x64' + chr(0b101110 + 0o67) + '\x63' + chr(8236 - 8125) + '\x64' + chr(0b11111 + 0o106))(chr(1650 - 1533) + chr(116) + chr(0b101101 + 0o71) + chr(0b101101) + chr(652 - 596))):
EZpAVpHmjgmY = {}
n2yX1AgA9ol1 = []
XdIaCx4c8K9i = nzTpIcepk0o8(XdIaCx4c8K9i)
Sq1_7QxYdiC_ = nzTpIcepk0o8(Sq1_7QxYdiC_)
PnXj6IUsjo2B = nzTpIcepk0o8(PnXj6IUsjo2B)
yxX8T9zovw1t = nzTpIcepk0o8(yxX8T9zovw1t)
beqWmS7MUtXl = nzTpIcepk0o8(beqWmS7MUtXl)
KADebXAR9grB = aHUqKstZLeS6.path.s0pnpDWwX0By(qjksZ7GK0xkJ)
uNg9Yeq376oN = hUcsWwAd0nE_.get_version()
(n_FL9vrrf8Wb, Qp6mnF9UoJrx) = ([], [])
zjMLdIZOgMoo = -nzTpIcepk0o8(chr(437 - 389) + chr(0b1101111) + chr(0b10100 + 0o35), 8)
if px1MpgT0hYQ9 == roI3spqORKae(ES5oEprVxulp(b'\xc5'), chr(0b111101 + 0o47) + chr(0b1100101) + chr(0b1100011) + chr(0b1011 + 0o144) + chr(0b1000000 + 0o44) + chr(4734 - 4633))(chr(0b111111 + 0o66) + chr(0b1110100) + '\x66' + chr(45) + chr(262 - 206)):
zjMLdIZOgMoo = nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(1651 - 1603), 8)
if px1MpgT0hYQ9 == roI3spqORKae(ES5oEprVxulp(b'\xd6'), '\144' + chr(0b1100101) + chr(0b111011 + 0o50) + chr(0b110000 + 0o77) + chr(100) + chr(0b1001000 + 0o35))(chr(0b1110101) + chr(116) + chr(102) + chr(0b100010 + 0o13) + '\x38'):
zjMLdIZOgMoo = nzTpIcepk0o8(chr(0b11001 + 0o27) + chr(0b100110 + 0o111) + '\061' + chr(0b110100) + chr(0b101100 + 0o10), 0o10)
HfaqVUK36EUj = {roI3spqORKae(ES5oEprVxulp(b'\xd1\xa2\xb9;\x12\x14]\x95\x05'), chr(4472 - 4372) + '\x65' + chr(0b1100011) + chr(5659 - 5548) + '\x64' + chr(0b1100101))('\x75' + chr(116) + chr(0b10010 + 0o124) + chr(45) + chr(0b10000 + 0o50)): XvbvbiHwSGUb, roI3spqORKae(ES5oEprVxulp(b'\xd1\xb3\xb1(\x17\x1cK'), '\x64' + '\x65' + '\143' + '\x6f' + chr(0b100 + 0o140) + chr(0b1 + 0o144))(chr(0b1110101) + '\x74' + '\146' + chr(45) + chr(56)): bqpTUs8apVqb, roI3spqORKae(ES5oEprVxulp(b'\xd1\xbb\xa8=\x08'), '\144' + '\x65' + chr(0b10 + 0o141) + '\157' + chr(0b1100100) + chr(101))(chr(0b1110101) + chr(0b1110100) + '\x66' + chr(45) + '\070'): OiNBbL9woeR5}
D3H9MFOOog2W = RYEhqzIVZREo.Contribution(KADebXAR9grB, read_tables=[roI3spqORKae(ES5oEprVxulp(b'\xd1\xa2\xb9;\x12\x14]\x95\x05'), '\144' + chr(761 - 660) + '\143' + '\157' + chr(0b1100100) + chr(101))(chr(0b111101 + 0o70) + chr(230 - 114) + chr(102) + chr(1589 - 1544) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xd1\xb3\xb1(\x17\x1cK'), '\144' + chr(1541 - 1440) + chr(0b1100011) + '\157' + chr(100) + chr(101))(chr(0b1110101) + chr(0b1110100) + chr(8299 - 8197) + chr(1914 - 1869) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xd1\xbb\xa8=\x08'), chr(0b1100001 + 0o3) + chr(101) + chr(99) + chr(5556 - 5445) + '\x64' + chr(101))('\x75' + chr(3685 - 3569) + '\x66' + chr(45) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xc1\xbd\xb2,\t\x10Z\x8e\x02\x7f\n]'), '\x64' + chr(0b1100101) + chr(0b10001 + 0o122) + chr(111) + '\x64' + '\x65')('\x75' + chr(11941 - 11825) + chr(5861 - 5759) + '\x2d' + '\x38')], custom_filenames=HfaqVUK36EUj)
FBG2MCwkKg3g = roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(0b1011110 + 0o7) + chr(0b1011001 + 0o12) + chr(0b1101001 + 0o6) + chr(0b101100 + 0o70) + '\145')('\x75' + '\x74' + '\146' + chr(0b101101) + chr(0b111000))
if roI3spqORKae(ES5oEprVxulp(b'\xc1\xbd\xb2,\t\x10Z\x8e\x02\x7f\n]'), '\144' + '\x65' + '\143' + chr(0b1000011 + 0o54) + '\144' + chr(4368 - 4267))(chr(6513 - 6396) + '\x74' + chr(102) + chr(1793 - 1748) + '\x38') in roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'\xf5\xb5\xa8\x0b1!\x08\x88?O\x15\x7f'), chr(0b1100100) + '\x65' + chr(4441 - 4342) + chr(3853 - 3742) + chr(9345 - 9245) + chr(0b1100101))(chr(117) + '\164' + chr(102) + chr(45) + '\x38')):
if roI3spqORKae(ES5oEprVxulp(b'\xcb\xb6'), chr(0b1100100) + chr(101) + '\143' + chr(0b1101111) + '\x64' + '\x65')(chr(0b1110101 + 0o0) + chr(12300 - 12184) + chr(0b1100110) + chr(0b100111 + 0o6) + chr(56)) in roI3spqORKae(D3H9MFOOog2W.tables[roI3spqORKae(ES5oEprVxulp(b'\xc1\xbd\xb2,\t\x10Z\x8e\x02\x7f\n]'), chr(3553 - 3453) + '\145' + '\x63' + chr(0b1101111) + '\x64' + chr(10039 - 9938))('\x75' + '\164' + chr(0b110110 + 0o60) + chr(0b1 + 0o54) + '\070')].df, roI3spqORKae(ES5oEprVxulp(b'\xf7\xe1\xe52(\x10q\xceB[\tC'), chr(0b100111 + 0o75) + chr(0b1100101) + chr(0b10110 + 0o115) + chr(0b1100101 + 0o12) + chr(0b1100100) + chr(0b110101 + 0o60))(chr(117) + chr(0b1110100) + chr(2339 - 2237) + '\x2d' + '\x38')):
FBG2MCwkKg3g = N9zlRy29S1SS(D3H9MFOOog2W.tables[roI3spqORKae(ES5oEprVxulp(b'\xc1\xbd\xb2,\t\x10Z\x8e\x02\x7f\n]'), chr(0b1100100) + chr(101) + '\143' + chr(0b1001100 + 0o43) + chr(240 - 140) + chr(0b1011010 + 0o13))(chr(0b1000110 + 0o57) + '\164' + chr(0b1010101 + 0o21) + chr(45) + '\x38')].df[roI3spqORKae(ES5oEprVxulp(b'\xcb\xb6'), chr(100) + '\x65' + chr(0b101101 + 0o66) + '\157' + '\144' + chr(0b1100101))('\x75' + chr(0b1110100) + chr(102) + chr(0b101101) + chr(56))].CsodZJH6x9Tx[nzTpIcepk0o8(chr(0b11110 + 0o22) + chr(111) + '\x30', 8)])
roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'\xd2\xa0\xb3(\x1a\x1eY\x8f\x13I\t\\\x13-\xb6\xc4\xb6|dG\x18\xb4P\x9b\xe7o}\xc11\xea\xb3'), chr(0b1100100) + '\145' + chr(5701 - 5602) + chr(111) + chr(0b1011001 + 0o13) + chr(0b110001 + 0o64))(chr(4109 - 3992) + chr(0b1110100) + chr(0b111110 + 0o50) + chr(238 - 193) + '\070'))()
uncialTplnF1 = D3H9MFOOog2W.WgtSJX0sIYpL[roI3spqORKae(ES5oEprVxulp(b'\xd1\xa2\xb9;\x12\x14]\x95\x05'), chr(0b1010010 + 0o22) + '\x65' + chr(1315 - 1216) + '\157' + chr(0b1100100) + '\x65')(chr(0b1100110 + 0o17) + chr(0b1011101 + 0o27) + chr(0b100011 + 0o103) + chr(0b101101) + '\x38')]
YtA_2u8ugCIV = uncialTplnF1.jpOn8DNZxbbx
YtA_2u8ugCIV = YtA_2u8ugCIV.dropna(subset=[roI3spqORKae(ES5oEprVxulp(b'\xc3\xbc\xb5+\x14&K'), chr(0b1100100) + chr(0b100100 + 0o101) + '\143' + chr(11943 - 11832) + chr(8070 - 7970) + '\145')(chr(0b1100110 + 0o17) + chr(116) + '\146' + '\055' + chr(56))]).copy()
if roI3spqORKae(ES5oEprVxulp(b'\xc3\xbc\xb5+\x14&L\x92\x1ab:P\x1f>\xb0\xc8\xbafR\\\x19'), '\x64' + '\145' + '\x63' + chr(111) + chr(100) + '\145')(chr(9774 - 9657) + chr(0b1100001 + 0o23) + chr(0b1100110) + chr(0b10 + 0o53) + '\070') not in roI3spqORKae(YtA_2u8ugCIV, roI3spqORKae(ES5oEprVxulp(b'\xf7\xe1\xe52(\x10q\xceB[\tC'), chr(0b1011001 + 0o13) + chr(0b1000111 + 0o36) + chr(99) + chr(0b1101111) + chr(6549 - 6449) + chr(101))(chr(0b1110101) + '\x74' + chr(6027 - 5925) + chr(0b1100 + 0o41) + chr(0b111000))):
YtA_2u8ugCIV[roI3spqORKae(ES5oEprVxulp(b'\xc3\xbc\xb5+\x14&L\x92\x1ab:P\x1f>\xb0\xc8\xbafR\\\x19'), chr(0b1100100) + '\x65' + '\x63' + chr(0b1101111) + chr(100) + chr(0b111011 + 0o52))('\165' + '\x74' + chr(9413 - 9311) + '\x2d' + chr(0b11010 + 0o36))] = -nzTpIcepk0o8('\x30' + '\x6f' + chr(49), 8)
if roI3spqORKae(ES5oEprVxulp(b'\xc3\xbc\xb5+\x14&K\xa4\x18I\x08V\x11?\xb7\xdf\xbc\x7f^]\x03\x98'), chr(152 - 52) + '\x65' + chr(0b1001 + 0o132) + '\x6f' + '\x64' + chr(0b111010 + 0o53))(chr(0b1110101) + '\164' + '\x66' + chr(45) + chr(599 - 543)) not in roI3spqORKae(YtA_2u8ugCIV, roI3spqORKae(ES5oEprVxulp(b'\xf7\xe1\xe52(\x10q\xceB[\tC'), chr(100) + '\145' + chr(1994 - 1895) + chr(0b1101111) + chr(7359 - 7259) + chr(9963 - 9862))('\165' + chr(9831 - 9715) + chr(0b110101 + 0o61) + chr(0b101101) + '\070')):
YtA_2u8ugCIV[roI3spqORKae(ES5oEprVxulp(b'\xc3\xbc\xb5+\x14&K\xa4\x18I\x08V\x11?\xb7\xdf\xbc\x7f^]\x03\x98'), chr(0b111101 + 0o47) + '\145' + chr(0b110000 + 0o63) + chr(4659 - 4548) + chr(100) + '\145')(chr(117) + '\164' + chr(2698 - 2596) + chr(45) + chr(56))] = roI3spqORKae(ES5oEprVxulp(b'\x94'), chr(0b1100100) + chr(0b110110 + 0o57) + chr(0b1100011) + chr(111) + chr(0b1011111 + 0o5) + '\x65')('\165' + '\x74' + '\146' + '\x2d' + '\070')
if roI3spqORKae(ES5oEprVxulp(b'\xc3\xbc\xb5+\x14&K\xa4\x05\x7f\x02^\x11'), chr(100) + '\145' + '\143' + '\157' + chr(0b1100100) + chr(101))('\x75' + '\x74' + chr(102) + chr(626 - 581) + chr(0b101101 + 0o13)) not in roI3spqORKae(YtA_2u8ugCIV, roI3spqORKae(ES5oEprVxulp(b'\xf7\xe1\xe52(\x10q\xceB[\tC'), chr(0b1100100) + chr(8551 - 8450) + chr(0b1100011) + '\157' + chr(100) + chr(0b10000 + 0o125))('\x75' + chr(8810 - 8694) + chr(0b1100110) + '\055' + '\x38')):
YtA_2u8ugCIV[roI3spqORKae(ES5oEprVxulp(b'\xc3\xbc\xb5+\x14&K\x92\x11{\x04'), '\x64' + '\x65' + '\x63' + '\157' + '\144' + '\145')(chr(0b1110101) + chr(0b1110100) + chr(102) + chr(0b100011 + 0o12) + chr(56))] = roI3spqORKae(ES5oEprVxulp(b'\x92'), '\x64' + chr(8333 - 8232) + chr(0b1100011) + chr(111) + '\x64' + '\145')(chr(0b100001 + 0o124) + chr(0b1110100) + chr(2437 - 2335) + chr(0b101101) + '\x38')
Um9YI6Rkq5Ep = YtA_2u8ugCIV[roI3spqORKae(ES5oEprVxulp(b'\xc3\xbc\xb5+\x14&L\x92\x1ab:P\x1f>\xb0\xc8\xbafR\\\x19'), '\x64' + chr(0b110110 + 0o57) + '\143' + '\157' + chr(0b1100100) + '\145')('\x75' + chr(381 - 265) + '\x66' + chr(0b101101) + '\070')].dropna().G3de2eWQaS0D()
if zjMLdIZOgMoo not in Um9YI6Rkq5Ep:
if ftfygxgFas5X(Um9YI6Rkq5Ep) > nzTpIcepk0o8(chr(152 - 104) + chr(0b1101111) + chr(556 - 508), 8):
zjMLdIZOgMoo = Um9YI6Rkq5Ep[nzTpIcepk0o8(chr(1095 - 1047) + chr(0b1101 + 0o142) + '\x30', 8)]
else:
zjMLdIZOgMoo = -nzTpIcepk0o8('\060' + chr(2860 - 2749) + chr(49), 8)
if zjMLdIZOgMoo == -nzTpIcepk0o8('\x30' + chr(7814 - 7703) + chr(49), 8):
px1MpgT0hYQ9 = roI3spqORKae(ES5oEprVxulp(b'\xd1'), chr(0b1001 + 0o133) + chr(101) + chr(0b1100011) + chr(0b1011 + 0o144) + chr(0b1100100) + chr(0b101011 + 0o72))('\x75' + chr(0b1110100) + '\146' + '\055' + chr(432 - 376))
if zjMLdIZOgMoo == nzTpIcepk0o8('\060' + '\157' + chr(48), 8):
px1MpgT0hYQ9 = roI3spqORKae(ES5oEprVxulp(b'\xc5'), '\x64' + chr(101) + chr(99) + chr(4993 - 4882) + chr(0b1100100) + chr(0b1100101))(chr(117) + chr(0b1110100) + chr(0b1100110 + 0o0) + chr(0b10101 + 0o30) + chr(56))
if zjMLdIZOgMoo == nzTpIcepk0o8(chr(0b10011 + 0o35) + chr(0b1101111) + chr(148 - 99) + chr(571 - 519) + chr(0b110100), 8):
px1MpgT0hYQ9 = roI3spqORKae(ES5oEprVxulp(b'\xd6'), chr(1096 - 996) + chr(0b1100101) + '\143' + '\157' + '\x64' + chr(9285 - 9184))('\x75' + '\164' + '\146' + '\055' + chr(0b111000))
if TseISVdPlfdM:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xc6\xb7\xaf1\t\x1c\\\xdb\x15y\nA\x14%\xac\xcc\xadw\x1b@\x0e\x98W\x8e\xef,z\xc3 \xa4\xa1#,S\xa8^e\xa4\xbeq\x82\xa7\xaf1\x15\x1e\x18\x9a\x00w\x0c_\x11.\xae\xc8\xe32'), chr(100) + chr(7486 - 7385) + chr(0b1100011) + chr(111) + chr(0b1100100) + '\x65')('\x75' + '\164' + chr(0b100100 + 0o102) + chr(0b101101) + chr(1532 - 1476)), px1MpgT0hYQ9)
dwApyDHPAIcR = YtA_2u8ugCIV[YtA_2u8ugCIV[roI3spqORKae(ES5oEprVxulp(b'\xc3\xbc\xb5+\x14&L\x92\x1ab:P\x1f>\xb0\xc8\xbafR\\\x19'), '\144' + chr(0b100000 + 0o105) + '\x63' + chr(0b1101111) + chr(100) + chr(0b1100101))('\165' + chr(0b10000 + 0o144) + chr(909 - 807) + chr(0b101101) + '\x38')] == zjMLdIZOgMoo]
if yxX8T9zovw1t:
SDKwNkUm3Omo = dwApyDHPAIcR[roI3spqORKae(ES5oEprVxulp(b'\xd1\xbb\xa8='), '\144' + '\x65' + chr(4087 - 3988) + chr(0b1101111) + chr(0b1100100) + chr(101))(chr(13180 - 13063) + chr(116) + '\x66' + chr(0b101101) + chr(0b110001 + 0o7))].G3de2eWQaS0D()
for f9ijNiPCpOFu in H4NoA26ON7iG(SDKwNkUm3Omo):
STygsxjvcnha = dwApyDHPAIcR[dwApyDHPAIcR.site == f9ijNiPCpOFu]
UQ8hRiBoHcn5 = roI3spqORKae(ES5oEprVxulp(b''), chr(0b110000 + 0o64) + chr(8227 - 8126) + chr(99) + chr(0b1101111) + '\144' + chr(101))(chr(0b1110101) + chr(116) + chr(0b1100110) + '\x2d' + '\x38')
if roI3spqORKae(ES5oEprVxulp(b'\xd1\xbb\xa8=\x08'), chr(0b1100100) + chr(0b1100101) + chr(0b1100011) + chr(0b1101111) + '\144' + chr(5448 - 5347))('\165' + chr(0b11110 + 0o126) + chr(1622 - 1520) + chr(741 - 696) + chr(2905 - 2849)) in roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'\xf5\xb5\xa8\x0b1!\x08\x88?O\x15\x7f'), chr(0b100011 + 0o101) + chr(8975 - 8874) + chr(0b110111 + 0o54) + '\x6f' + '\144' + chr(0b1001000 + 0o35))(chr(9126 - 9009) + chr(116) + chr(0b1101 + 0o131) + chr(0b101101) + chr(56))):
if roI3spqORKae(ES5oEprVxulp(b'\xce\xbd\xbf9\x0f\x10W\x95'), chr(0b1100100) + '\x65' + '\143' + chr(0b1010010 + 0o35) + '\x64' + '\x65')(chr(2758 - 2641) + chr(116) + chr(5217 - 5115) + chr(1973 - 1928) + '\070') in roI3spqORKae(D3H9MFOOog2W.tables[roI3spqORKae(ES5oEprVxulp(b'\xd1\xbb\xa8=\x08'), chr(0b1100100) + chr(0b10000 + 0o125) + chr(99) + chr(0b1101101 + 0o2) + chr(4614 - 4514) + chr(0b1100101))('\165' + chr(918 - 802) + chr(102) + '\055' + chr(56))].df, roI3spqORKae(ES5oEprVxulp(b'\xf7\xe1\xe52(\x10q\xceB[\tC'), '\x64' + chr(0b1100010 + 0o3) + chr(0b1100011) + chr(111) + chr(1750 - 1650) + '\145')('\165' + '\164' + chr(0b1100110) + '\x2d' + chr(229 - 173))):
c7RydVE5Qw9u = D3H9MFOOog2W.tables[roI3spqORKae(ES5oEprVxulp(b'\xd1\xbb\xa8=\x08'), chr(0b1100100) + '\145' + chr(0b1100011) + chr(0b1010011 + 0o34) + '\x64' + '\145')(chr(6526 - 6409) + chr(0b1100011 + 0o21) + chr(0b1101 + 0o131) + chr(45) + '\x38')].df.loc[f9ijNiPCpOFu, roI3spqORKae(ES5oEprVxulp(b'\xce\xbd\xbf9\x0f\x10W\x95'), '\x64' + '\x65' + chr(99) + chr(8206 - 8095) + chr(0b1100100) + chr(0b1100101))('\x75' + chr(116) + '\x66' + '\055' + '\070')].dropna()
if VF4pKOObtlPc(c7RydVE5Qw9u):
UQ8hRiBoHcn5 = c7RydVE5Qw9u.mj4jMnYn3A2l[nzTpIcepk0o8(chr(0b110000) + chr(4305 - 4194) + '\x30', 8)]
EZpAVpHmjgmY = fKdTODiqhA2e(OpFpJUFlM4PU, STygsxjvcnha, Dir=Ipbck45zA0PF, PDir=eMUbz3PTLilJ, ipar=XdIaCx4c8K9i, ihext=Sq1_7QxYdiC_, ivec=PnXj6IUsjo2B, iboot=beqWmS7MUtXl, vec=LtnmpHaeBJ7D, num_bootstraps=uAwcKqPlEhN0, title=f9ijNiPCpOFu)
wR5_YWECjaY7 = {QYodcsDtoGq7: UQ8hRiBoHcn5 + roI3spqORKae(ES5oEprVxulp(b'\xfd'), chr(100) + chr(0b1100101) + chr(99) + chr(0b110001 + 0o76) + '\144' + chr(0b1100101))(chr(4178 - 4061) + chr(5391 - 5275) + chr(0b10 + 0o144) + chr(0b101101) + chr(0b111000)) + f9ijNiPCpOFu + roI3spqORKae(ES5oEprVxulp(b'\xfd'), chr(5850 - 5750) + chr(0b1100101) + '\143' + chr(111) + chr(0b1100100) + '\x65')('\165' + chr(11469 - 11353) + '\x66' + '\055' + '\070') + px1MpgT0hYQ9 + roI3spqORKae(ES5oEprVxulp(b'\xfd\xb3\xb21\x08\x16\x15'), chr(6450 - 6350) + chr(101) + '\143' + chr(0b1101111) + '\x64' + chr(6187 - 6086))(chr(0b1101 + 0o150) + '\164' + chr(5904 - 5802) + chr(1269 - 1224) + chr(56)) + QYodcsDtoGq7 + roI3spqORKae(ES5oEprVxulp(b'\x8c\xa2\xb2?'), chr(0b1000001 + 0o43) + chr(0b10010 + 0o123) + chr(0b100100 + 0o77) + '\157' + '\144' + chr(101))('\165' + '\164' + '\x66' + chr(45) + '\070') for (QYodcsDtoGq7, uV9iBiw0y_Mp) in EZpAVpHmjgmY.Y_nNEzH43vXi()}
if roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xcb\xa1\x8f=\t\x0f]\x89'), chr(0b101000 + 0o74) + chr(0b1100101) + '\143' + chr(6416 - 6305) + '\144' + chr(0b101110 + 0o67))('\x75' + chr(0b10010 + 0o142) + chr(0b1100110) + '\055' + chr(0b110 + 0o62))):
for QYodcsDtoGq7 in roI3spqORKae(EZpAVpHmjgmY, roI3spqORKae(ES5oEprVxulp(b'\xc9\xb7\xa5+'), chr(8536 - 8436) + chr(0b1100101) + '\143' + chr(1274 - 1163) + '\144' + chr(101))('\x75' + chr(0b1000110 + 0o56) + '\146' + chr(45) + chr(2109 - 2053)))():
wR5_YWECjaY7[QYodcsDtoGq7] = roI3spqORKae(ES5oEprVxulp(b'\xee\x9d\xe6\x07'), chr(5259 - 5159) + chr(0b110111 + 0o56) + chr(9422 - 9323) + chr(2801 - 2690) + '\x64' + chr(0b111100 + 0o51))(chr(117) + chr(7333 - 7217) + chr(0b10000 + 0o126) + chr(0b11100 + 0o21) + chr(0b101001 + 0o17)) + UQ8hRiBoHcn5 + roI3spqORKae(ES5oEprVxulp(b'\xfd\x81\x95b$'), chr(100) + '\145' + '\143' + chr(0b1101111) + chr(966 - 866) + '\145')('\x75' + chr(8928 - 8812) + chr(102) + chr(45) + chr(398 - 342)) + f9ijNiPCpOFu + roI3spqORKae(ES5oEprVxulp(b'\xfd\x86\x85b$\x18V\x92\x05y:'), chr(0b1100100) + chr(0b111100 + 0o51) + chr(8604 - 8505) + chr(0b1101111) + '\144' + chr(101))('\165' + chr(0b1110100) + chr(5024 - 4922) + '\x2d' + chr(2783 - 2727)) + QYodcsDtoGq7 + roI3spqORKae(ES5oEprVxulp(b'\xfd\xfc'), chr(100) + chr(101) + chr(0b1100011) + '\x6f' + chr(0b1100100) + chr(0b1100101))(chr(10415 - 10298) + chr(0b1100100 + 0o20) + '\x66' + chr(0b11100 + 0o21) + chr(0b111000)) + JummcHpaNLEw
SzNH87oHZc7X = {}
SzNH87oHZc7X[roI3spqORKae(ES5oEprVxulp(b'\xc6\xb3\xa89'), '\144' + chr(8080 - 7979) + chr(413 - 314) + chr(0b11101 + 0o122) + '\144' + chr(101))('\165' + '\x74' + '\x66' + chr(45) + chr(0b100101 + 0o23))] = roI3spqORKae(ES5oEprVxulp(b'\xe7\xbb\xbb=\x15\x0f]\x98\x02y\x17@'), chr(0b1100100) + chr(7031 - 6930) + chr(0b1000 + 0o133) + '\157' + chr(0b1100100) + chr(3733 - 3632))('\165' + '\164' + '\146' + chr(905 - 860) + chr(0b10011 + 0o45))
SzNH87oHZc7X[roI3spqORKae(ES5oEprVxulp(b'\xd6\xb1\xb8>'), chr(0b1100100) + '\145' + chr(99) + '\157' + chr(0b1011011 + 0o11) + chr(0b1011 + 0o132))('\x75' + chr(0b1110100) + '\146' + '\055' + chr(56))] = roI3spqORKae(ES5oEprVxulp(b'\xe7\xbb\xbb=\x15\x0fY\x97\x03sEp\x1f"\xa4\xc4\xbdwUP\x12'), '\x64' + chr(0b1100100 + 0o1) + '\x63' + chr(3739 - 3628) + '\144' + '\x65')('\165' + '\x74' + '\x66' + '\055' + chr(0b111000))
SzNH87oHZc7X[roI3spqORKae(ES5oEprVxulp(b'\xc1\xbd\xb2>'), chr(0b1100100) + chr(7825 - 7724) + '\143' + '\x6f' + '\144' + chr(6853 - 6752))(chr(3591 - 3474) + chr(116) + chr(0b1100110) + chr(1564 - 1519) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\xe1\xbd\xb2>\x12\x1d]\x95\x15sEv\x1c \xab\xdd\xaawH'), '\144' + chr(8065 - 7964) + chr(99) + chr(111) + chr(6024 - 5924) + chr(3073 - 2972))('\x75' + chr(0b11 + 0o161) + '\x66' + '\055' + chr(2864 - 2808))
for QYodcsDtoGq7 in EZpAVpHmjgmY:
if QYodcsDtoGq7 not in SzNH87oHZc7X:
SzNH87oHZc7X[QYodcsDtoGq7] = QYodcsDtoGq7
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xc3\xb6\xb8\x07\x19\x16J\x9f\x13d\x16'), chr(0b1010100 + 0o20) + chr(0b1100000 + 0o5) + chr(7705 - 7606) + '\x6f' + '\144' + '\x65')(chr(7999 - 7882) + chr(0b101010 + 0o112) + chr(0b10010 + 0o124) + chr(0b101101) + chr(0b111000)))(EZpAVpHmjgmY, SzNH87oHZc7X, con_id=FBG2MCwkKg3g)
if bxxuZm4I6LgY:
roI3spqORKae(n2yX1AgA9ol1, roI3spqORKae(ES5oEprVxulp(b'\xf6\x8d\xef\x15\x14\x1dt\xac)T\x07B'), chr(769 - 669) + chr(0b1100101) + '\143' + chr(0b1101111) + '\144' + '\145')(chr(0b1110101) + chr(5094 - 4978) + chr(0b111010 + 0o54) + chr(1555 - 1510) + chr(0b111000)))(roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xd1\xb3\xaa=$\tT\x94\x02e'), chr(100) + chr(0b1100101) + '\143' + chr(0b1101111) + chr(100) + chr(0b1010110 + 0o17))(chr(0b1110101) + '\x74' + '\146' + chr(0b11010 + 0o23) + chr(2165 - 2109)))(EZpAVpHmjgmY, wR5_YWECjaY7))
elif f4XDWm__k5ZA:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xc6\xa0\xbd/$\x1fQ\x9c\x05'), chr(100) + chr(8141 - 8040) + chr(99) + '\157' + '\x64' + '\x65')('\165' + '\164' + chr(102) + chr(48 - 3) + chr(0b10111 + 0o41)))(EZpAVpHmjgmY)
CMfsDQitQrpd = o77KS_r9H7AX.save_or_quit()
if CMfsDQitQrpd == roI3spqORKae(ES5oEprVxulp(b'\xc3'), '\144' + chr(7527 - 7426) + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + '\x65')('\165' + chr(0b1110100) + chr(2940 - 2838) + chr(45) + chr(1132 - 1076)):
roI3spqORKae(n2yX1AgA9ol1, roI3spqORKae(ES5oEprVxulp(b'\xf6\x8d\xef\x15\x14\x1dt\xac)T\x07B'), chr(100) + chr(101) + chr(99) + '\x6f' + '\144' + chr(101))(chr(8394 - 8277) + chr(116) + '\x66' + '\055' + chr(0b111000)))(roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xd1\xb3\xaa=$\tT\x94\x02e'), chr(7819 - 7719) + '\x65' + chr(0b1100011) + '\x6f' + chr(0b1100100) + chr(0b1100101))('\x75' + chr(0b1110100) + chr(0b1001111 + 0o27) + chr(1069 - 1024) + '\070'))(EZpAVpHmjgmY, wR5_YWECjaY7))
else:
continue
else:
OpFpJUFlM4PU += nzTpIcepk0o8(chr(0b110000) + '\157' + chr(50), 0b1000)
if beqWmS7MUtXl:
OpFpJUFlM4PU += nzTpIcepk0o8(chr(1420 - 1372) + '\x6f' + '\x31', 8)
if ftfygxgFas5X(Ipbck45zA0PF) > nzTpIcepk0o8('\060' + chr(3924 - 3813) + '\x30', 8):
OpFpJUFlM4PU += nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b11100 + 0o25), 8)
else:
EZpAVpHmjgmY = fKdTODiqhA2e(OpFpJUFlM4PU, dwApyDHPAIcR, Dir=Ipbck45zA0PF, PDir=eMUbz3PTLilJ, ipar=XdIaCx4c8K9i, ihext=Sq1_7QxYdiC_, ivec=PnXj6IUsjo2B, iboot=beqWmS7MUtXl, vec=LtnmpHaeBJ7D, num_bootstraps=uAwcKqPlEhN0)
try:
c7RydVE5Qw9u = dwApyDHPAIcR[roI3spqORKae(ES5oEprVxulp(b'\xce\xbd\xbf9\x0f\x10W\x95'), '\144' + chr(4209 - 4108) + chr(0b110010 + 0o61) + chr(0b1101111) + chr(100) + chr(101))(chr(0b1110101) + chr(116) + chr(0b1100110) + '\055' + chr(0b111000))].G3de2eWQaS0D()
except UtiWT6f6p9yZ:
c7RydVE5Qw9u = [roI3spqORKae(ES5oEprVxulp(b''), chr(550 - 450) + chr(1789 - 1688) + chr(0b1100011) + chr(4913 - 4802) + chr(0b1110 + 0o126) + '\x65')('\165' + chr(0b1110100) + chr(6296 - 6194) + '\x2d' + '\x38')]
c7RydVE5Qw9u = roI3spqORKae(ES5oEprVxulp(b'\x8f'), chr(0b110010 + 0o62) + '\145' + '\143' + chr(0b1101111) + chr(0b1100100) + chr(0b11101 + 0o110))(chr(117) + chr(0b1110100) + chr(102) + chr(219 - 174) + chr(0b111000)).Y4yM9BcfTCNq(c7RydVE5Qw9u)
wR5_YWECjaY7 = {QYodcsDtoGq7: c7RydVE5Qw9u + roI3spqORKae(ES5oEprVxulp(b'\xfd'), chr(0b1100100) + '\x65' + '\x63' + '\157' + chr(0b1010100 + 0o20) + chr(7086 - 6985))(chr(0b1110101) + '\x74' + chr(102) + '\055' + '\070') + px1MpgT0hYQ9 + roI3spqORKae(ES5oEprVxulp(b'\xfd\xb3\xb21\x08\x16\x15'), chr(8521 - 8421) + '\145' + '\x63' + '\x6f' + chr(0b1100100) + chr(1848 - 1747))('\165' + '\x74' + chr(102) + chr(0b1000 + 0o45) + '\070') + QYodcsDtoGq7 + roI3spqORKae(ES5oEprVxulp(b'\x8c\xa2\xb2?'), '\x64' + chr(0b1100101) + '\143' + chr(0b1011100 + 0o23) + '\x64' + chr(0b1010100 + 0o21))(chr(117) + '\x74' + '\x66' + chr(799 - 754) + chr(1705 - 1649)) for (QYodcsDtoGq7, uV9iBiw0y_Mp) in EZpAVpHmjgmY.Y_nNEzH43vXi()}
if roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xcb\xa1\x8f=\t\x0f]\x89'), chr(5109 - 5009) + chr(0b110101 + 0o60) + '\x63' + chr(9457 - 9346) + chr(0b1100100) + chr(101))(chr(0b1110101) + chr(0b1110100) + chr(6044 - 5942) + chr(0b1101 + 0o40) + '\x38')):
for QYodcsDtoGq7 in roI3spqORKae(EZpAVpHmjgmY, roI3spqORKae(ES5oEprVxulp(b'\xc9\xb7\xa5+'), chr(0b1100100) + '\x65' + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + chr(7378 - 7277))('\165' + chr(0b1000011 + 0o61) + chr(0b1100110) + chr(0b101101) + chr(56)))():
wR5_YWECjaY7[QYodcsDtoGq7] = roI3spqORKae(ES5oEprVxulp(b'\xef\x91\xe6\x07'), '\144' + '\x65' + chr(0b1100011) + chr(6204 - 6093) + chr(0b11010 + 0o112) + chr(101))(chr(13462 - 13345) + chr(0b101101 + 0o107) + chr(0b1100110) + chr(0b100000 + 0o15) + chr(56)) + FBG2MCwkKg3g + roI3spqORKae(ES5oEprVxulp(b'\xfd\x86\x85b$\x18V\x92\x05y:'), '\144' + chr(0b1100101) + chr(2006 - 1907) + chr(0b1101111) + chr(0b1100100) + chr(0b1100101))(chr(117) + chr(0b10110 + 0o136) + chr(9870 - 9768) + chr(0b101101) + chr(318 - 262)) + QYodcsDtoGq7 + roI3spqORKae(ES5oEprVxulp(b'\xfd\xfc'), chr(0b1100100) + chr(1255 - 1154) + chr(0b1001000 + 0o33) + chr(111) + '\x64' + chr(0b1100101))(chr(8399 - 8282) + chr(6129 - 6013) + '\x66' + chr(1843 - 1798) + chr(0b11000 + 0o40)) + JummcHpaNLEw
SzNH87oHZc7X = {}
SzNH87oHZc7X[roI3spqORKae(ES5oEprVxulp(b'\xc6\xb3\xa89'), chr(0b1100100) + chr(101) + '\x63' + chr(0b11010 + 0o125) + chr(0b1100100 + 0o0) + '\x65')('\x75' + chr(10160 - 10044) + '\146' + '\055' + chr(0b110101 + 0o3))] = roI3spqORKae(ES5oEprVxulp(b'\xe7\xbb\xbb=\x15\x0f]\x98\x02y\x17@'), '\144' + '\145' + chr(0b1011110 + 0o5) + chr(111) + chr(7684 - 7584) + chr(0b1100101))(chr(9089 - 8972) + chr(0b1101001 + 0o13) + '\146' + chr(0b11001 + 0o24) + chr(0b110111 + 0o1))
SzNH87oHZc7X[roI3spqORKae(ES5oEprVxulp(b'\xd6\xb1\xb8>'), chr(100) + chr(101) + chr(0b1100011) + chr(111) + chr(6318 - 6218) + '\145')(chr(634 - 517) + '\164' + '\146' + '\055' + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\xe7\xbb\xbb=\x15\x0fY\x97\x03sEp\x1f"\xa4\xc4\xbdwUP\x12'), '\x64' + '\x65' + '\143' + '\x6f' + chr(100) + chr(0b11010 + 0o113))(chr(0b1000010 + 0o63) + chr(0b111111 + 0o65) + '\x66' + chr(0b1010 + 0o43) + chr(56))
SzNH87oHZc7X[roI3spqORKae(ES5oEprVxulp(b'\xc1\xbd\xb2>'), '\144' + chr(0b1100101) + chr(0b101011 + 0o70) + chr(10688 - 10577) + chr(3935 - 3835) + chr(101))(chr(117) + chr(9258 - 9142) + '\146' + chr(0b10100 + 0o31) + chr(0b100 + 0o64))] = roI3spqORKae(ES5oEprVxulp(b'\xe1\xbd\xb2>\x12\x1d]\x95\x15sEv\x1c \xab\xdd\xaawH'), '\x64' + chr(0b1001010 + 0o33) + '\x63' + chr(6407 - 6296) + chr(0b111011 + 0o51) + '\x65')('\x75' + chr(0b101010 + 0o112) + '\146' + chr(0b101100 + 0o1) + chr(0b111000))
for QYodcsDtoGq7 in EZpAVpHmjgmY:
if QYodcsDtoGq7 not in SzNH87oHZc7X:
SzNH87oHZc7X[QYodcsDtoGq7] = QYodcsDtoGq7
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xc3\xb6\xb8\x07\x19\x16J\x9f\x13d\x16'), '\x64' + chr(101) + '\x63' + '\x6f' + chr(0b1100100) + chr(4746 - 4645))(chr(117) + chr(0b1110100) + '\x66' + chr(0b1110 + 0o37) + '\x38'))(EZpAVpHmjgmY, SzNH87oHZc7X, con_id=FBG2MCwkKg3g)
if bxxuZm4I6LgY:
roI3spqORKae(n2yX1AgA9ol1, roI3spqORKae(ES5oEprVxulp(b'\xf6\x8d\xef\x15\x14\x1dt\xac)T\x07B'), chr(0b1100100) + '\145' + '\x63' + '\x6f' + chr(0b1010101 + 0o17) + chr(0b1100101))(chr(117) + chr(116) + chr(0b1100110) + chr(45) + chr(0b111000)))(roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xd1\xb3\xaa=$\tT\x94\x02e'), chr(100) + chr(101) + chr(824 - 725) + '\x6f' + chr(0b100110 + 0o76) + chr(2451 - 2350))('\165' + '\x74' + '\x66' + '\x2d' + chr(0b101110 + 0o12)))(EZpAVpHmjgmY, wR5_YWECjaY7))
elif f4XDWm__k5ZA:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xc6\xa0\xbd/$\x1fQ\x9c\x05'), '\x64' + '\145' + chr(0b1100011) + chr(9312 - 9201) + chr(100) + chr(101))(chr(117) + chr(0b1110100) + chr(4854 - 4752) + chr(0b101101) + chr(56)))(EZpAVpHmjgmY)
CMfsDQitQrpd = o77KS_r9H7AX.save_or_quit()
if CMfsDQitQrpd == roI3spqORKae(ES5oEprVxulp(b'\xc3'), '\x64' + chr(0b1010010 + 0o23) + chr(0b1011010 + 0o11) + '\x6f' + '\x64' + chr(989 - 888))('\165' + '\x74' + chr(0b111000 + 0o56) + chr(303 - 258) + chr(0b1011 + 0o55)):
roI3spqORKae(n2yX1AgA9ol1, roI3spqORKae(ES5oEprVxulp(b'\xf6\x8d\xef\x15\x14\x1dt\xac)T\x07B'), '\144' + '\145' + chr(2297 - 2198) + chr(0b1101111 + 0o0) + chr(8820 - 8720) + chr(0b1100101))(chr(1480 - 1363) + '\x74' + chr(102) + chr(0b10010 + 0o33) + chr(1663 - 1607)))(roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xd1\xb3\xaa=$\tT\x94\x02e'), '\x64' + chr(0b111001 + 0o54) + '\143' + chr(7328 - 7217) + '\144' + chr(0b1100101))(chr(117) + chr(0b1001011 + 0o51) + chr(0b11011 + 0o113) + '\x2d' + chr(0b10000 + 0o50)))(EZpAVpHmjgmY, wR5_YWECjaY7))
return (nzTpIcepk0o8(chr(0b100101 + 0o13) + chr(0b1101111) + chr(49), 8), n2yX1AgA9ol1)
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
plot_dmag
|
def plot_dmag(data="", title="", fignum=1, norm=1,dmag_key='treat_ac_field',intensity='',
quality=False):
"""
plots demagenetization data versus step for all specimens in pandas dataframe datablock
Parameters
______________
data : Pandas dataframe with MagIC data model 3 columns:
fignum : figure number
specimen : specimen name
dmag_key : one of these: ['treat_temp','treat_ac_field','treat_mw_energy']
selected using method_codes : ['LT_T-Z','LT-AF-Z','LT-M-Z'] respectively
intensity : if blank will choose one of these: ['magn_moment', 'magn_volume', 'magn_mass']
quality : if True use the quality column of the DataFrame
title : title for plot
norm : if True, normalize data to first step
Output :
matptlotlib plot
"""
plt.figure(num=fignum, figsize=(5, 5))
if intensity:
int_key=intensity
else:
intlist = ['magn_moment', 'magn_volume', 'magn_mass']
# get which key we have
IntMeths = [col_name for col_name in data.columns if col_name in intlist]
int_key = IntMeths[0]
data = data[data[int_key].notnull()] # fish out all data with this key
units = "U" # this sets the units for plotting to undefined
if not dmag_key:
if 'treat_temp' in data.columns: units = "K" # kelvin
elif 'treat_ac_field' in data.columns: units = "T" # tesla
elif 'treat_mw_energy' in data.columns: units = "J" # joules
if dmag_key=='treat_temp': units='K'
if dmag_key=='treat_ac_field': units='T'
if dmag_key=='treat_mw_energy': units='J'
spcs = data.specimen.unique() # get a list of all specimens in DataFrame data
if len(spcs)==0:
print('no data for plotting')
return
# step through specimens to put on plot
for spc in spcs:
spec_data = data[data.specimen.str.contains(spc)]
INTblock = []
for ind, rec in spec_data.iterrows():
INTblock.append([float(rec[dmag_key]), 0, 0,
float(rec[int_key]), 1, rec['quality']])
if len(INTblock) > 2:
pmagplotlib.plot_mag(fignum, INTblock, title, 0, units, norm)
|
python
|
def plot_dmag(data="", title="", fignum=1, norm=1,dmag_key='treat_ac_field',intensity='',
quality=False):
"""
plots demagenetization data versus step for all specimens in pandas dataframe datablock
Parameters
______________
data : Pandas dataframe with MagIC data model 3 columns:
fignum : figure number
specimen : specimen name
dmag_key : one of these: ['treat_temp','treat_ac_field','treat_mw_energy']
selected using method_codes : ['LT_T-Z','LT-AF-Z','LT-M-Z'] respectively
intensity : if blank will choose one of these: ['magn_moment', 'magn_volume', 'magn_mass']
quality : if True use the quality column of the DataFrame
title : title for plot
norm : if True, normalize data to first step
Output :
matptlotlib plot
"""
plt.figure(num=fignum, figsize=(5, 5))
if intensity:
int_key=intensity
else:
intlist = ['magn_moment', 'magn_volume', 'magn_mass']
# get which key we have
IntMeths = [col_name for col_name in data.columns if col_name in intlist]
int_key = IntMeths[0]
data = data[data[int_key].notnull()] # fish out all data with this key
units = "U" # this sets the units for plotting to undefined
if not dmag_key:
if 'treat_temp' in data.columns: units = "K" # kelvin
elif 'treat_ac_field' in data.columns: units = "T" # tesla
elif 'treat_mw_energy' in data.columns: units = "J" # joules
if dmag_key=='treat_temp': units='K'
if dmag_key=='treat_ac_field': units='T'
if dmag_key=='treat_mw_energy': units='J'
spcs = data.specimen.unique() # get a list of all specimens in DataFrame data
if len(spcs)==0:
print('no data for plotting')
return
# step through specimens to put on plot
for spc in spcs:
spec_data = data[data.specimen.str.contains(spc)]
INTblock = []
for ind, rec in spec_data.iterrows():
INTblock.append([float(rec[dmag_key]), 0, 0,
float(rec[int_key]), 1, rec['quality']])
if len(INTblock) > 2:
pmagplotlib.plot_mag(fignum, INTblock, title, 0, units, norm)
|
[
"def",
"plot_dmag",
"(",
"data",
"=",
"\"\"",
",",
"title",
"=",
"\"\"",
",",
"fignum",
"=",
"1",
",",
"norm",
"=",
"1",
",",
"dmag_key",
"=",
"'treat_ac_field'",
",",
"intensity",
"=",
"''",
",",
"quality",
"=",
"False",
")",
":",
"plt",
".",
"figure",
"(",
"num",
"=",
"fignum",
",",
"figsize",
"=",
"(",
"5",
",",
"5",
")",
")",
"if",
"intensity",
":",
"int_key",
"=",
"intensity",
"else",
":",
"intlist",
"=",
"[",
"'magn_moment'",
",",
"'magn_volume'",
",",
"'magn_mass'",
"]",
"# get which key we have",
"IntMeths",
"=",
"[",
"col_name",
"for",
"col_name",
"in",
"data",
".",
"columns",
"if",
"col_name",
"in",
"intlist",
"]",
"int_key",
"=",
"IntMeths",
"[",
"0",
"]",
"data",
"=",
"data",
"[",
"data",
"[",
"int_key",
"]",
".",
"notnull",
"(",
")",
"]",
"# fish out all data with this key",
"units",
"=",
"\"U\"",
"# this sets the units for plotting to undefined",
"if",
"not",
"dmag_key",
":",
"if",
"'treat_temp'",
"in",
"data",
".",
"columns",
":",
"units",
"=",
"\"K\"",
"# kelvin",
"elif",
"'treat_ac_field'",
"in",
"data",
".",
"columns",
":",
"units",
"=",
"\"T\"",
"# tesla",
"elif",
"'treat_mw_energy'",
"in",
"data",
".",
"columns",
":",
"units",
"=",
"\"J\"",
"# joules",
"if",
"dmag_key",
"==",
"'treat_temp'",
":",
"units",
"=",
"'K'",
"if",
"dmag_key",
"==",
"'treat_ac_field'",
":",
"units",
"=",
"'T'",
"if",
"dmag_key",
"==",
"'treat_mw_energy'",
":",
"units",
"=",
"'J'",
"spcs",
"=",
"data",
".",
"specimen",
".",
"unique",
"(",
")",
"# get a list of all specimens in DataFrame data",
"if",
"len",
"(",
"spcs",
")",
"==",
"0",
":",
"print",
"(",
"'no data for plotting'",
")",
"return",
"# step through specimens to put on plot",
"for",
"spc",
"in",
"spcs",
":",
"spec_data",
"=",
"data",
"[",
"data",
".",
"specimen",
".",
"str",
".",
"contains",
"(",
"spc",
")",
"]",
"INTblock",
"=",
"[",
"]",
"for",
"ind",
",",
"rec",
"in",
"spec_data",
".",
"iterrows",
"(",
")",
":",
"INTblock",
".",
"append",
"(",
"[",
"float",
"(",
"rec",
"[",
"dmag_key",
"]",
")",
",",
"0",
",",
"0",
",",
"float",
"(",
"rec",
"[",
"int_key",
"]",
")",
",",
"1",
",",
"rec",
"[",
"'quality'",
"]",
"]",
")",
"if",
"len",
"(",
"INTblock",
")",
">",
"2",
":",
"pmagplotlib",
".",
"plot_mag",
"(",
"fignum",
",",
"INTblock",
",",
"title",
",",
"0",
",",
"units",
",",
"norm",
")"
] |
plots demagenetization data versus step for all specimens in pandas dataframe datablock
Parameters
______________
data : Pandas dataframe with MagIC data model 3 columns:
fignum : figure number
specimen : specimen name
dmag_key : one of these: ['treat_temp','treat_ac_field','treat_mw_energy']
selected using method_codes : ['LT_T-Z','LT-AF-Z','LT-M-Z'] respectively
intensity : if blank will choose one of these: ['magn_moment', 'magn_volume', 'magn_mass']
quality : if True use the quality column of the DataFrame
title : title for plot
norm : if True, normalize data to first step
Output :
matptlotlib plot
|
[
"plots",
"demagenetization",
"data",
"versus",
"step",
"for",
"all",
"specimens",
"in",
"pandas",
"dataframe",
"datablock"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L9167-L9215
|
train
|
This function plots demagenetization data versus step for all specimens in a dataframe.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(48) + chr(0b1101111 + 0o0) + chr(0b110001 + 0o0) + chr(0b111 + 0o55) + chr(0b110011), 0b1000), nzTpIcepk0o8(chr(1212 - 1164) + chr(10268 - 10157) + '\x31' + chr(0b11011 + 0o31) + chr(0b11001 + 0o32), 8), nzTpIcepk0o8(chr(48) + '\x6f' + '\x33' + chr(0b101010 + 0o10) + '\062', 0b1000), nzTpIcepk0o8(chr(1694 - 1646) + chr(9164 - 9053) + chr(51) + '\x32' + chr(0b110011), 38842 - 38834), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(2234 - 2185) + chr(53) + chr(0b101000 + 0o10), 0o10), nzTpIcepk0o8(chr(1668 - 1620) + chr(5281 - 5170) + chr(0b110010) + chr(822 - 771) + chr(0b110100 + 0o2), 0o10), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110110), ord("\x08")), nzTpIcepk0o8('\x30' + chr(3476 - 3365) + chr(0b101110 + 0o5) + '\065' + '\x32', ord("\x08")), nzTpIcepk0o8(chr(0b110000 + 0o0) + '\x6f' + chr(0b110001) + chr(0b110101) + chr(54), ord("\x08")), nzTpIcepk0o8(chr(1602 - 1554) + '\x6f' + chr(492 - 443) + '\x37' + '\x32', 0b1000), nzTpIcepk0o8('\060' + chr(0b1101111) + '\064' + '\062', ord("\x08")), nzTpIcepk0o8('\060' + '\157' + chr(1782 - 1732) + chr(2638 - 2585) + chr(0b110010), 21153 - 21145), nzTpIcepk0o8(chr(0b110 + 0o52) + '\157' + chr(50) + chr(0b11010 + 0o34) + '\x36', 7873 - 7865), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(656 - 607) + chr(0b110100) + chr(0b101000 + 0o11), 0b1000), nzTpIcepk0o8(chr(0b110 + 0o52) + '\x6f' + chr(0b110110) + '\066', 0b1000), nzTpIcepk0o8('\060' + chr(0b1010000 + 0o37) + chr(53) + chr(1012 - 957), 0b1000), nzTpIcepk0o8(chr(48) + '\157' + chr(0b101000 + 0o11) + chr(0b110110), 0o10), nzTpIcepk0o8(chr(0b1010 + 0o46) + '\x6f' + chr(0b10010 + 0o41) + chr(0b101 + 0o62) + chr(0b11011 + 0o27), 0b1000), nzTpIcepk0o8('\060' + '\157' + chr(2053 - 2004) + chr(0b110100) + '\x34', 0b1000), nzTpIcepk0o8(chr(1123 - 1075) + chr(111) + chr(793 - 742) + chr(48) + chr(2057 - 2007), 0b1000), nzTpIcepk0o8(chr(0b100100 + 0o14) + '\x6f' + chr(1209 - 1159) + chr(0b110001) + chr(1975 - 1925), 64518 - 64510), nzTpIcepk0o8(chr(0b110000) + chr(0b1011010 + 0o25) + '\x33' + chr(0b110001) + chr(0b100011 + 0o15), 0o10), nzTpIcepk0o8('\x30' + '\157' + chr(0b110011) + chr(0b101111 + 0o7) + '\061', ord("\x08")), nzTpIcepk0o8(chr(0b100111 + 0o11) + chr(2158 - 2047) + '\x31' + chr(0b1110 + 0o50), 8), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b110011) + chr(48) + chr(0b10100 + 0o37), 0o10), nzTpIcepk0o8('\060' + chr(0b1101111) + '\x36' + chr(48), 64859 - 64851), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(1554 - 1505) + '\062' + chr(1201 - 1146), 0o10), nzTpIcepk0o8(chr(784 - 736) + chr(0b1101111) + chr(0b100110 + 0o15) + '\064' + chr(50), 0o10), nzTpIcepk0o8(chr(0b100111 + 0o11) + chr(0b110001 + 0o76) + '\x32' + chr(1392 - 1343) + chr(0b110111), ord("\x08")), nzTpIcepk0o8('\x30' + '\x6f' + '\x37' + '\x33', 62327 - 62319), nzTpIcepk0o8(chr(714 - 666) + chr(4287 - 4176) + '\063' + '\060', 0b1000), nzTpIcepk0o8('\x30' + '\157' + chr(49) + chr(49) + chr(54), 0b1000), nzTpIcepk0o8(chr(2154 - 2106) + chr(699 - 588) + '\x31' + chr(988 - 937) + '\065', 0o10), nzTpIcepk0o8('\x30' + '\157' + '\061' + '\062' + '\065', 44731 - 44723), nzTpIcepk0o8('\x30' + chr(0b0 + 0o157) + chr(50) + '\067' + chr(55), 22655 - 22647), nzTpIcepk0o8(chr(0b110000) + chr(0b11011 + 0o124) + '\x32' + chr(739 - 690) + chr(2749 - 2695), 0o10), nzTpIcepk0o8('\060' + chr(6998 - 6887) + '\x31' + '\065' + '\061', 51064 - 51056), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\062' + '\x35' + chr(1141 - 1088), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(1525 - 1414) + chr(50) + '\065' + chr(1223 - 1170), 8), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\x33' + '\060' + chr(0b10100 + 0o43), 0o10)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(48) + chr(111) + '\065' + '\x30', 0o10)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'M'), chr(0b1100100) + chr(0b1100101) + '\x63' + chr(11017 - 10906) + '\144' + chr(0b1100010 + 0o3))(chr(117) + chr(0b1011011 + 0o31) + '\x66' + chr(0b10011 + 0o32) + '\x38') + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def c82B1AaEcXbu(FfKOThdpoDTb=roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(0b11010 + 0o113) + chr(0b1100011) + '\157' + chr(0b1100 + 0o130) + '\x65')(chr(0b1110101) + '\x74' + chr(0b1100110) + '\x2d' + '\070'), OO0tRW9aj_xh=roI3spqORKae(ES5oEprVxulp(b''), '\x64' + '\x65' + chr(4735 - 4636) + '\x6f' + chr(4092 - 3992) + chr(0b1100100 + 0o1))(chr(13545 - 13428) + chr(162 - 46) + chr(0b1100110) + '\055' + '\070'), OpFpJUFlM4PU=nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(49), 49005 - 48997), xBFFJFaziFDU=nzTpIcepk0o8(chr(0b110000) + '\157' + chr(49), 8), rzETU8X0jBXv=roI3spqORKae(ES5oEprVxulp(b'\x17\x11\xb7\xb2\x1c\xc1g\x891\x1cK\xcf\xda\x05'), chr(6852 - 6752) + chr(0b101001 + 0o74) + '\x63' + chr(1217 - 1106) + chr(0b101001 + 0o73) + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + '\146' + chr(1309 - 1264) + '\070'), VYhsBiaoc58d=roI3spqORKae(ES5oEprVxulp(b''), chr(6260 - 6160) + chr(101) + '\143' + chr(111) + '\144' + '\145')('\x75' + chr(1946 - 1830) + chr(10389 - 10287) + chr(0b101101 + 0o0) + '\070'), u8Mjp68hmgl1=nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(885 - 837), 0o10)):
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\x06\x10\xe2\x89^\xfa|\xa9\x06)n\x9f'), chr(0b1000001 + 0o43) + chr(10151 - 10050) + chr(0b1100011) + chr(0b1101111) + chr(0b1011000 + 0o14) + chr(1285 - 1184))(chr(0b1110101) + chr(0b1110100) + chr(7117 - 7015) + '\055' + '\x38'))(num=OpFpJUFlM4PU, figsize=(nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b110101), ord("\x08")), nzTpIcepk0o8(chr(763 - 715) + chr(11190 - 11079) + chr(2080 - 2027), 8)))
if VYhsBiaoc58d:
Xlv02QJd6kHP = VYhsBiaoc58d
else:
CtVbSzlHGZGP = [roI3spqORKae(ES5oEprVxulp(b'\x0e\x02\xb5\xbd7\xf3i\x87\x0b\x14V'), chr(0b1011010 + 0o12) + '\x65' + chr(99) + '\157' + chr(5589 - 5489) + chr(9098 - 8997))(chr(117) + chr(116) + chr(0b1100110) + '\x2d' + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\x0e\x02\xb5\xbd7\xe8i\x86\x1b\x17G'), chr(0b1100100) + '\145' + chr(6515 - 6416) + chr(111) + chr(100) + chr(101))('\x75' + chr(0b101 + 0o157) + chr(0b1100110) + '\055' + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\x0e\x02\xb5\xbd7\xf3g\x99\x1d'), '\144' + '\145' + '\x63' + chr(4375 - 4264) + chr(0b11011 + 0o111) + chr(0b1100101))(chr(117) + '\164' + '\x66' + chr(0b10111 + 0o26) + '\070')]
xh_XBPdjQXmg = [VuRTNmVdcYm1 for VuRTNmVdcYm1 in FfKOThdpoDTb.U39jSiI54Mlp if VuRTNmVdcYm1 in CtVbSzlHGZGP]
Xlv02QJd6kHP = xh_XBPdjQXmg[nzTpIcepk0o8(chr(0b1 + 0o57) + '\157' + chr(0b100 + 0o54), 8)]
FfKOThdpoDTb = FfKOThdpoDTb[FfKOThdpoDTb[Xlv02QJd6kHP].notnull()]
M4fW_S7vN_Q_ = roI3spqORKae(ES5oEprVxulp(b'6'), chr(4790 - 4690) + chr(0b111010 + 0o53) + '\143' + chr(6611 - 6500) + chr(0b1100100) + chr(0b110101 + 0o60))(chr(117) + '\164' + chr(0b1100110) + '\x2d' + chr(56))
if not rzETU8X0jBXv:
if roI3spqORKae(ES5oEprVxulp(b'\x17\x11\xb7\xb2\x1c\xc1r\x8f\x03\n'), chr(100) + chr(101) + chr(4017 - 3918) + chr(111) + '\x64' + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + '\146' + chr(0b101101) + '\070') in roI3spqORKae(FfKOThdpoDTb, roI3spqORKae(ES5oEprVxulp(b'6P\xeb\xb9;\xf7O\xdfZ7N\xda'), chr(0b1100100) + '\145' + '\143' + '\157' + '\144' + chr(6258 - 6157))(chr(0b1110101) + chr(0b1110100) + '\x66' + '\055' + '\x38')):
M4fW_S7vN_Q_ = roI3spqORKae(ES5oEprVxulp(b'('), chr(7346 - 7246) + chr(101) + chr(99) + '\157' + '\144' + '\145')('\165' + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + '\070')
elif roI3spqORKae(ES5oEprVxulp(b'\x17\x11\xb7\xb2\x1c\xc1g\x891\x1cK\xcf\xda\x05'), chr(8920 - 8820) + chr(0b1100101) + chr(1004 - 905) + chr(0b1101111) + chr(0b1100100) + chr(0b110001 + 0o64))(chr(0b1110101) + '\164' + chr(0b1100110) + chr(0b11010 + 0o23) + chr(0b111000)) in roI3spqORKae(FfKOThdpoDTb, roI3spqORKae(ES5oEprVxulp(b'6P\xeb\xb9;\xf7O\xdfZ7N\xda'), chr(8193 - 8093) + chr(101) + chr(99) + '\157' + chr(100) + chr(101))('\x75' + chr(116) + chr(0b1100110) + chr(0b101101) + '\070')):
M4fW_S7vN_Q_ = roI3spqORKae(ES5oEprVxulp(b'7'), chr(7680 - 7580) + chr(101) + chr(99) + chr(5054 - 4943) + chr(4295 - 4195) + '\x65')(chr(117) + '\164' + chr(0b1100110) + '\055' + '\070')
elif roI3spqORKae(ES5oEprVxulp(b'\x17\x11\xb7\xb2\x1c\xc1k\x9d1\x1fL\xcf\xc4\x06O'), '\144' + chr(7848 - 7747) + chr(2494 - 2395) + chr(0b1101000 + 0o7) + chr(9978 - 9878) + '\x65')(chr(0b1110101) + chr(0b1110100) + chr(5193 - 5091) + chr(0b101101) + '\070') in roI3spqORKae(FfKOThdpoDTb, roI3spqORKae(ES5oEprVxulp(b'6P\xeb\xb9;\xf7O\xdfZ7N\xda'), chr(0b1100100) + chr(0b111110 + 0o47) + '\x63' + chr(0b1101111) + '\144' + '\x65')(chr(398 - 281) + chr(116) + chr(0b1100110) + chr(0b0 + 0o55) + chr(0b1000 + 0o60))):
M4fW_S7vN_Q_ = roI3spqORKae(ES5oEprVxulp(b')'), chr(100) + chr(0b1100101) + chr(0b1100011) + chr(111) + '\144' + '\145')(chr(0b1110101) + chr(116) + '\x66' + chr(0b101101) + chr(2947 - 2891))
if rzETU8X0jBXv == roI3spqORKae(ES5oEprVxulp(b'\x17\x11\xb7\xb2\x1c\xc1r\x8f\x03\n'), chr(100) + chr(3107 - 3006) + chr(0b1100011) + chr(0b1100001 + 0o16) + '\x64' + chr(4095 - 3994))('\x75' + '\164' + '\146' + chr(45) + chr(0b111000)):
M4fW_S7vN_Q_ = roI3spqORKae(ES5oEprVxulp(b'('), chr(0b1010011 + 0o21) + chr(101) + chr(8822 - 8723) + '\x6f' + chr(1011 - 911) + '\145')(chr(5436 - 5319) + chr(0b11000 + 0o134) + '\x66' + chr(0b100000 + 0o15) + chr(0b111000))
if rzETU8X0jBXv == roI3spqORKae(ES5oEprVxulp(b'\x17\x11\xb7\xb2\x1c\xc1g\x891\x1cK\xcf\xda\x05'), '\x64' + chr(101) + chr(0b1100011) + chr(0b1100100 + 0o13) + chr(0b1100100) + '\145')('\x75' + chr(116) + '\x66' + '\x2d' + '\x38'):
M4fW_S7vN_Q_ = roI3spqORKae(ES5oEprVxulp(b'7'), chr(0b1100100) + chr(0b10011 + 0o122) + chr(0b1101 + 0o126) + chr(111) + chr(0b1101 + 0o127) + '\x65')(chr(11138 - 11021) + '\x74' + chr(2426 - 2324) + '\055' + '\x38')
if rzETU8X0jBXv == roI3spqORKae(ES5oEprVxulp(b'\x17\x11\xb7\xb2\x1c\xc1k\x9d1\x1fL\xcf\xc4\x06O'), '\x64' + chr(0b101 + 0o140) + chr(0b1100011) + chr(2806 - 2695) + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + chr(11948 - 11832) + chr(6467 - 6365) + chr(0b101101) + chr(56)):
M4fW_S7vN_Q_ = roI3spqORKae(ES5oEprVxulp(b')'), chr(0b1011100 + 0o10) + chr(0b1100101) + chr(1240 - 1141) + chr(0b1101111) + chr(100) + '\x65')('\x75' + chr(116) + chr(0b1100110) + '\x2d' + '\070')
epnNdCbgpk74 = FfKOThdpoDTb.specimen.G3de2eWQaS0D()
if ftfygxgFas5X(epnNdCbgpk74) == nzTpIcepk0o8('\060' + chr(111) + chr(48), 8):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\r\x0c\xf2\xb7\t\xeag\xca\x08\x15P\x8a\xc6\rY[z\x93\n\xa5'), chr(2146 - 2046) + chr(101) + '\x63' + chr(0b1001001 + 0o46) + chr(9627 - 9527) + chr(101))('\165' + chr(0b1110100) + chr(0b1100110) + chr(0b101011 + 0o2) + chr(1615 - 1559)))
return
for WBwPtPVEzw7G in epnNdCbgpk74:
thEv678ebLqb = FfKOThdpoDTb[FfKOThdpoDTb.specimen.str.LNkbYQgwgMgl(WBwPtPVEzw7G)]
m_74UTTgoPKO = []
for (w5vcgUzFN3bF, FKO_XxLfWbYt) in roI3spqORKae(thEv678ebLqb, roI3spqORKae(ES5oEprVxulp(b'\n\x17\xb7\xa1\x1a\xf1q\x99'), '\x64' + chr(101) + chr(99) + chr(0b1101111) + chr(0b1111 + 0o125) + '\x65')('\165' + chr(0b1110100) + chr(0b1100110) + chr(0b1100 + 0o41) + chr(56)))():
roI3spqORKae(m_74UTTgoPKO, roI3spqORKae(ES5oEprVxulp(b'+7\x81\xe7\x10\xf9A\x85\x04\x15w\x9f'), chr(0b100100 + 0o100) + '\x65' + '\x63' + chr(2549 - 2438) + '\144' + '\145')('\165' + '\164' + chr(102) + chr(1562 - 1517) + '\070'))([jLW6pRf2DSRk(FKO_XxLfWbYt[rzETU8X0jBXv]), nzTpIcepk0o8(chr(0b10000 + 0o40) + chr(0b110101 + 0o72) + chr(0b11 + 0o55), 8), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b1111 + 0o41), 8), jLW6pRf2DSRk(FKO_XxLfWbYt[Xlv02QJd6kHP]), nzTpIcepk0o8('\x30' + '\x6f' + chr(49), 8), FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\x12\x16\xb3\xbf\x01\xea\x7f'), chr(100) + chr(2720 - 2619) + chr(3248 - 3149) + chr(9622 - 9511) + chr(3159 - 3059) + chr(0b1100101))(chr(117) + chr(0b111101 + 0o67) + chr(0b1100110) + chr(0b101101) + chr(0b111000))]])
if ftfygxgFas5X(m_74UTTgoPKO) > nzTpIcepk0o8(chr(0b110000) + chr(0b100111 + 0o110) + chr(0b100001 + 0o21), 0b1000):
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\x13\x0f\xbd\xa77\xf3g\x8d'), '\144' + chr(101) + chr(0b1100011) + chr(0b1101111) + chr(100) + '\145')(chr(0b1110101) + chr(3777 - 3661) + '\x66' + chr(0b100010 + 0o13) + chr(0b111000)))(OpFpJUFlM4PU, m_74UTTgoPKO, OO0tRW9aj_xh, nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(48), 8), M4fW_S7vN_Q_, xBFFJFaziFDU)
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
eigs_s
|
def eigs_s(infile="", dir_path='.'):
"""
Converts eigenparamters format data to s format
Parameters
___________________
Input:
file : input file name with eigenvalues (tau) and eigenvectors (V) with format:
tau_1 V1_dec V1_inc tau_2 V2_dec V2_inc tau_3 V3_dec V3_inc
Output
the six tensor elements as a nested array
[[x11,x22,x33,x12,x23,x13],....]
"""
file = os.path.join(dir_path, infile)
eigs_data = np.loadtxt(file)
Ss = []
for ind in range(eigs_data.shape[0]):
tau, Vdirs = [], []
for k in range(0, 9, 3):
tau.append(eigs_data[ind][k])
Vdirs.append([eigs_data[ind][k+1], eigs_data[ind][k+2]])
s = list(pmag.doeigs_s(tau, Vdirs))
Ss.append(s)
return Ss
|
python
|
def eigs_s(infile="", dir_path='.'):
"""
Converts eigenparamters format data to s format
Parameters
___________________
Input:
file : input file name with eigenvalues (tau) and eigenvectors (V) with format:
tau_1 V1_dec V1_inc tau_2 V2_dec V2_inc tau_3 V3_dec V3_inc
Output
the six tensor elements as a nested array
[[x11,x22,x33,x12,x23,x13],....]
"""
file = os.path.join(dir_path, infile)
eigs_data = np.loadtxt(file)
Ss = []
for ind in range(eigs_data.shape[0]):
tau, Vdirs = [], []
for k in range(0, 9, 3):
tau.append(eigs_data[ind][k])
Vdirs.append([eigs_data[ind][k+1], eigs_data[ind][k+2]])
s = list(pmag.doeigs_s(tau, Vdirs))
Ss.append(s)
return Ss
|
[
"def",
"eigs_s",
"(",
"infile",
"=",
"\"\"",
",",
"dir_path",
"=",
"'.'",
")",
":",
"file",
"=",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"infile",
")",
"eigs_data",
"=",
"np",
".",
"loadtxt",
"(",
"file",
")",
"Ss",
"=",
"[",
"]",
"for",
"ind",
"in",
"range",
"(",
"eigs_data",
".",
"shape",
"[",
"0",
"]",
")",
":",
"tau",
",",
"Vdirs",
"=",
"[",
"]",
",",
"[",
"]",
"for",
"k",
"in",
"range",
"(",
"0",
",",
"9",
",",
"3",
")",
":",
"tau",
".",
"append",
"(",
"eigs_data",
"[",
"ind",
"]",
"[",
"k",
"]",
")",
"Vdirs",
".",
"append",
"(",
"[",
"eigs_data",
"[",
"ind",
"]",
"[",
"k",
"+",
"1",
"]",
",",
"eigs_data",
"[",
"ind",
"]",
"[",
"k",
"+",
"2",
"]",
"]",
")",
"s",
"=",
"list",
"(",
"pmag",
".",
"doeigs_s",
"(",
"tau",
",",
"Vdirs",
")",
")",
"Ss",
".",
"append",
"(",
"s",
")",
"return",
"Ss"
] |
Converts eigenparamters format data to s format
Parameters
___________________
Input:
file : input file name with eigenvalues (tau) and eigenvectors (V) with format:
tau_1 V1_dec V1_inc tau_2 V2_dec V2_inc tau_3 V3_dec V3_inc
Output
the six tensor elements as a nested array
[[x11,x22,x33,x12,x23,x13],....]
|
[
"Converts",
"eigenparamters",
"format",
"data",
"to",
"s",
"format"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L9218-L9242
|
train
|
Converts eigenparamters format data to s format
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(432 - 384) + chr(11303 - 11192) + chr(0b110010), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\x33' + '\066' + chr(0b110111), 0o10), nzTpIcepk0o8('\060' + chr(0b111010 + 0o65) + '\062' + chr(0b110000) + chr(49), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(51) + chr(0b110000), 0o10), nzTpIcepk0o8(chr(48) + chr(11237 - 11126) + chr(2157 - 2106) + chr(1925 - 1877) + chr(408 - 356), ord("\x08")), nzTpIcepk0o8(chr(0b10100 + 0o34) + '\x6f' + chr(2390 - 2339) + '\x37' + '\x31', ord("\x08")), nzTpIcepk0o8('\060' + chr(0b10001 + 0o136) + chr(0b110001) + '\x35' + chr(0b1100 + 0o47), 0o10), nzTpIcepk0o8(chr(48) + chr(2245 - 2134) + chr(49) + chr(0b10101 + 0o37) + '\064', ord("\x08")), nzTpIcepk0o8(chr(48) + chr(111) + '\063' + '\064' + '\064', 0o10), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\x33' + '\x37' + chr(0b1110 + 0o46), 0o10), nzTpIcepk0o8(chr(0b10001 + 0o37) + chr(111) + chr(1593 - 1542) + chr(0b110111) + chr(49), 8), nzTpIcepk0o8('\x30' + chr(111) + chr(0b110011) + chr(0b1000 + 0o52) + chr(51), 0b1000), nzTpIcepk0o8(chr(48) + chr(0b101011 + 0o104) + '\x33' + '\064', 0b1000), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b110100) + chr(0b110110), 0b1000), nzTpIcepk0o8('\060' + chr(0b111011 + 0o64) + '\062' + chr(1850 - 1799) + '\067', ord("\x08")), nzTpIcepk0o8('\x30' + chr(6501 - 6390) + '\062' + chr(0b110001) + chr(0b1011 + 0o50), 24719 - 24711), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b11000 + 0o32) + chr(0b100 + 0o56) + chr(0b110000), 42099 - 42091), nzTpIcepk0o8(chr(0b11010 + 0o26) + chr(4532 - 4421) + '\x31' + '\x34' + '\x33', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(1054 - 943) + chr(147 - 98) + '\062' + chr(1945 - 1895), 0o10), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(805 - 754) + chr(754 - 702) + '\x33', 0b1000), nzTpIcepk0o8(chr(295 - 247) + '\157' + chr(0b100001 + 0o23) + chr(1621 - 1566), ord("\x08")), nzTpIcepk0o8(chr(0b101 + 0o53) + '\x6f' + '\063', ord("\x08")), nzTpIcepk0o8(chr(1053 - 1005) + '\157' + '\062' + '\064' + chr(2775 - 2722), 40976 - 40968), nzTpIcepk0o8(chr(48) + chr(0b111110 + 0o61) + chr(51) + chr(0b110100) + chr(50), 4713 - 4705), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b110010) + chr(0b11011 + 0o32) + chr(0b1100 + 0o44), 0o10), nzTpIcepk0o8('\x30' + chr(11496 - 11385) + '\062' + '\x35' + '\066', 0b1000), nzTpIcepk0o8('\060' + chr(9584 - 9473) + chr(0b110001) + chr(0b110011) + chr(0b11100 + 0o31), 40731 - 40723), nzTpIcepk0o8('\x30' + chr(0b1010110 + 0o31) + chr(112 - 62) + chr(0b110011) + chr(50), 46835 - 46827), nzTpIcepk0o8(chr(0b100 + 0o54) + chr(10700 - 10589) + chr(0b110011) + chr(749 - 700) + '\066', ord("\x08")), nzTpIcepk0o8(chr(1282 - 1234) + chr(0b11000 + 0o127) + '\062' + chr(802 - 751) + chr(0b110000), ord("\x08")), nzTpIcepk0o8(chr(0b101110 + 0o2) + chr(111) + chr(1067 - 1017) + '\066' + '\064', ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b101000 + 0o107) + chr(0b110010) + '\x33', 21629 - 21621), nzTpIcepk0o8('\060' + '\x6f' + '\063' + '\065' + chr(0b110010), ord("\x08")), nzTpIcepk0o8(chr(0b1 + 0o57) + '\x6f' + '\x31' + chr(0b110101) + '\065', ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b111010 + 0o65) + chr(1765 - 1716) + '\063' + chr(388 - 334), 0o10), nzTpIcepk0o8(chr(0b101101 + 0o3) + chr(3146 - 3035) + chr(0b110011) + '\066' + chr(0b110110), ord("\x08")), nzTpIcepk0o8('\x30' + chr(111) + chr(53) + '\067', 0b1000), nzTpIcepk0o8(chr(0b10001 + 0o37) + chr(0b1101101 + 0o2) + chr(0b110011) + '\x31', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(50) + chr(0b10011 + 0o36) + chr(2166 - 2112), ord("\x08")), nzTpIcepk0o8('\060' + '\x6f' + '\x33' + chr(0b100 + 0o63) + chr(0b1000 + 0o57), ord("\x08"))][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(79 - 31) + chr(0b1101111) + chr(932 - 879) + '\x30', 32529 - 32521)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b','), chr(0b1100100) + chr(8755 - 8654) + '\143' + chr(0b10001 + 0o136) + '\x64' + '\145')(chr(117) + chr(116) + chr(102) + '\x2d' + chr(2791 - 2735)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def i22GPZnnGFv9(XvbvbiHwSGUb=roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + '\145' + '\143' + chr(0b1101111) + chr(0b1001 + 0o133) + chr(6189 - 6088))(chr(117) + chr(116) + '\x66' + chr(0b10111 + 0o26) + chr(0b111000)), qjksZ7GK0xkJ=roI3spqORKae(ES5oEprVxulp(b','), chr(0b100001 + 0o103) + chr(0b1100101) + '\143' + chr(0b1101111) + '\144' + chr(0b1100101))(chr(117) + '\x74' + chr(102) + chr(0b101101) + chr(2255 - 2199))):
GtsVUCYulgYX = aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, XvbvbiHwSGUb)
kjH9YzgRPCpY = nDF4gVNx0u9Q.loadtxt(GtsVUCYulgYX)
HgFdy4pMURor = []
for w5vcgUzFN3bF in bbT2xIe5pzk7(roI3spqORKae(kjH9YzgRPCpY, roI3spqORKae(ES5oEprVxulp(b'n\x9f\xe3U\xf4\xc0Y%\xa2\xab\xc1\xb5'), '\x64' + '\x65' + chr(0b101010 + 0o71) + chr(5051 - 4940) + chr(100) + chr(101))('\165' + chr(9589 - 9473) + chr(0b1100110) + chr(45) + chr(0b111000)))[nzTpIcepk0o8(chr(48) + chr(2341 - 2230) + chr(0b10010 + 0o36), 0o10)]):
(OzjfUPwYt9n6, W56hKirSw7xF) = ([], [])
for B6UAF1zReOyJ in bbT2xIe5pzk7(nzTpIcepk0o8('\x30' + chr(111) + '\x30', 8), nzTpIcepk0o8(chr(0b110000) + chr(9999 - 9888) + '\061' + '\061', ord("\x08")), nzTpIcepk0o8(chr(1988 - 1940) + chr(0b1010111 + 0o30) + '\x33', 8)):
roI3spqORKae(OzjfUPwYt9n6, roI3spqORKae(ES5oEprVxulp(b'J\xa3\xd2,\xbc\x9e,\x0b\x8e\x93\xac\xe6'), chr(100) + chr(101) + '\143' + chr(0b1001010 + 0o45) + chr(100) + '\x65')(chr(0b1110101) + chr(116) + '\146' + chr(0b101101) + chr(56)))(kjH9YzgRPCpY[w5vcgUzFN3bF][B6UAF1zReOyJ])
roI3spqORKae(W56hKirSw7xF, roI3spqORKae(ES5oEprVxulp(b'J\xa3\xd2,\xbc\x9e,\x0b\x8e\x93\xac\xe6'), '\x64' + '\x65' + '\143' + '\x6f' + chr(2440 - 2340) + chr(9557 - 9456))('\x75' + '\x74' + '\146' + '\055' + '\x38'))([kjH9YzgRPCpY[w5vcgUzFN3bF][B6UAF1zReOyJ + nzTpIcepk0o8(chr(48) + chr(813 - 702) + chr(0b11000 + 0o31), 3809 - 3801)], kjH9YzgRPCpY[w5vcgUzFN3bF][B6UAF1zReOyJ + nzTpIcepk0o8('\x30' + chr(8930 - 8819) + chr(0b110010), 8)]])
PmE5_h409JAA = H4NoA26ON7iG(hUcsWwAd0nE_.doeigs_s(OzjfUPwYt9n6, W56hKirSw7xF))
roI3spqORKae(HgFdy4pMURor, roI3spqORKae(ES5oEprVxulp(b'J\xa3\xd2,\xbc\x9e,\x0b\x8e\x93\xac\xe6'), '\x64' + '\x65' + '\x63' + chr(2548 - 2437) + '\144' + chr(0b1001100 + 0o31))('\x75' + chr(0b1110100) + '\x66' + chr(805 - 760) + chr(0b111000)))(PmE5_h409JAA)
return HgFdy4pMURor
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
plot_gc
|
def plot_gc(poles, color='g', fignum=1):
"""
plots a great circle on an equal area projection
Parameters
____________________
Input
fignum : number of matplotlib object
poles : nested list of [Dec,Inc] pairs of poles
color : color of lower hemisphere dots for great circle - must be in form: 'g','r','y','k',etc.
upper hemisphere is always cyan
"""
for pole in poles:
pmagplotlib.plot_circ(fignum, pole, 90., color)
|
python
|
def plot_gc(poles, color='g', fignum=1):
"""
plots a great circle on an equal area projection
Parameters
____________________
Input
fignum : number of matplotlib object
poles : nested list of [Dec,Inc] pairs of poles
color : color of lower hemisphere dots for great circle - must be in form: 'g','r','y','k',etc.
upper hemisphere is always cyan
"""
for pole in poles:
pmagplotlib.plot_circ(fignum, pole, 90., color)
|
[
"def",
"plot_gc",
"(",
"poles",
",",
"color",
"=",
"'g'",
",",
"fignum",
"=",
"1",
")",
":",
"for",
"pole",
"in",
"poles",
":",
"pmagplotlib",
".",
"plot_circ",
"(",
"fignum",
",",
"pole",
",",
"90.",
",",
"color",
")"
] |
plots a great circle on an equal area projection
Parameters
____________________
Input
fignum : number of matplotlib object
poles : nested list of [Dec,Inc] pairs of poles
color : color of lower hemisphere dots for great circle - must be in form: 'g','r','y','k',etc.
upper hemisphere is always cyan
|
[
"plots",
"a",
"great",
"circle",
"on",
"an",
"equal",
"area",
"projection",
"Parameters",
"____________________",
"Input",
"fignum",
":",
"number",
"of",
"matplotlib",
"object",
"poles",
":",
"nested",
"list",
"of",
"[",
"Dec",
"Inc",
"]",
"pairs",
"of",
"poles",
"color",
":",
"color",
"of",
"lower",
"hemisphere",
"dots",
"for",
"great",
"circle",
"-",
"must",
"be",
"in",
"form",
":",
"g",
"r",
"y",
"k",
"etc",
".",
"upper",
"hemisphere",
"is",
"always",
"cyan"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L9245-L9257
|
train
|
Plots a great circle on an equal area projection
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8('\060' + chr(0b110011 + 0o74) + chr(49) + chr(0b110110) + chr(0b110100 + 0o3), 49603 - 49595), nzTpIcepk0o8('\x30' + chr(111) + chr(0b101010 + 0o7) + chr(48) + '\x34', 0b1000), nzTpIcepk0o8(chr(48) + chr(111) + '\x31' + chr(0b110110) + chr(895 - 845), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b110111 + 0o70) + '\062' + '\065' + chr(49), ord("\x08")), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b11101 + 0o24) + '\065', 0o10), nzTpIcepk0o8('\x30' + chr(111) + chr(51) + chr(52) + '\x34', 44299 - 44291), nzTpIcepk0o8('\060' + chr(0b1101111) + '\063' + chr(0b110110) + chr(0b110000), 16711 - 16703), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110 + 0o54) + chr(0b1 + 0o57) + chr(0b101110 + 0o3), 41233 - 41225), nzTpIcepk0o8(chr(0b110000 + 0o0) + '\157' + '\062' + chr(48) + '\x30', 61544 - 61536), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b10011 + 0o40) + '\064' + chr(48), 0o10), nzTpIcepk0o8('\060' + '\x6f' + chr(50) + '\060' + chr(0b11001 + 0o33), ord("\x08")), nzTpIcepk0o8(chr(347 - 299) + '\157' + '\062' + chr(0b11111 + 0o30) + chr(55), 1016 - 1008), nzTpIcepk0o8('\x30' + chr(0b1101111) + '\x31' + '\063', ord("\x08")), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110010) + '\x35', 38480 - 38472), nzTpIcepk0o8('\060' + chr(299 - 188) + '\062' + '\066' + chr(1647 - 1596), 0b1000), nzTpIcepk0o8(chr(0b10100 + 0o34) + chr(7755 - 7644) + chr(49) + '\066' + chr(0b11111 + 0o23), 8), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b110010) + chr(1276 - 1228) + '\x34', 8), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x35' + chr(0b10011 + 0o43), 0b1000), nzTpIcepk0o8(chr(0b110000) + '\157' + '\061' + chr(50) + chr(54), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b10111 + 0o130) + chr(2165 - 2114) + chr(0b1111 + 0o50) + '\x37', 0o10), nzTpIcepk0o8('\x30' + '\157' + chr(0b110011) + chr(0b11101 + 0o30) + chr(50), 0b1000), nzTpIcepk0o8(chr(0b1011 + 0o45) + chr(0b1101111) + chr(799 - 748) + chr(517 - 464) + chr(2106 - 2054), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b10111 + 0o130) + '\061' + chr(0b100000 + 0o25) + chr(51), 48944 - 48936), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(50) + '\x31' + chr(51), ord("\x08")), nzTpIcepk0o8(chr(0b11010 + 0o26) + '\x6f' + '\061' + '\063' + chr(0b110000), 0b1000), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(738 - 689) + chr(53) + chr(48), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(770 - 720) + chr(0b110100) + chr(0b100100 + 0o20), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(111) + '\067', 11853 - 11845), nzTpIcepk0o8(chr(994 - 946) + '\x6f' + chr(0b110001) + chr(0b100010 + 0o16) + chr(2623 - 2568), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(51) + chr(0b11010 + 0o31) + '\x34', 0o10), nzTpIcepk0o8(chr(48) + chr(111) + chr(51) + '\065' + chr(0b110111), 0o10), nzTpIcepk0o8('\060' + '\157' + chr(1032 - 982) + chr(427 - 376), 29840 - 29832), nzTpIcepk0o8(chr(1208 - 1160) + chr(0b1001010 + 0o45) + '\x32' + chr(1825 - 1773) + chr(0b100111 + 0o11), ord("\x08")), nzTpIcepk0o8('\060' + chr(111) + chr(0b110011) + chr(0b1111 + 0o50) + chr(1597 - 1546), ord("\x08")), nzTpIcepk0o8(chr(0b110000 + 0o0) + chr(8523 - 8412) + '\x31' + chr(0b10010 + 0o44), 10081 - 10073), nzTpIcepk0o8(chr(48) + chr(111) + chr(51) + '\063' + chr(2014 - 1965), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(1678 - 1627) + chr(1232 - 1181) + chr(0b110100), 8), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x33' + chr(2122 - 2067), 0o10), nzTpIcepk0o8('\x30' + '\157' + '\066' + '\063', ord("\x08")), nzTpIcepk0o8('\060' + '\157' + chr(0b11 + 0o60) + chr(0b110000 + 0o2) + chr(1509 - 1459), 0o10)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(48) + '\157' + '\x35' + '\060', ord("\x08"))] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'Y'), '\x64' + chr(0b1011100 + 0o11) + chr(99) + '\157' + chr(0b1100100) + chr(0b1100101))(chr(117) + chr(3066 - 2950) + '\146' + chr(45) + chr(0b111000)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def YrtMdKGEUrvB(cNz0sa3Seb80, s93qyRHd7l1y=roI3spqORKae(ES5oEprVxulp(b'\x10'), chr(1576 - 1476) + '\x65' + '\143' + '\157' + chr(0b11 + 0o141) + '\x65')(chr(13313 - 13196) + '\x74' + chr(0b1100110) + chr(0b101101) + chr(0b10010 + 0o46)), OpFpJUFlM4PU=nzTpIcepk0o8(chr(0b101 + 0o53) + '\x6f' + chr(0b110001), 0o10)):
for pYwjRbN6B9zT in cNz0sa3Seb80:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\x07(\x1d\xddR\x87\x99\xf3\xe3'), chr(0b1100100) + chr(0b1100101) + '\143' + chr(0b110111 + 0o70) + chr(0b1011111 + 0o5) + chr(0b1100101))('\x75' + chr(0b1001110 + 0o46) + chr(0b11100 + 0o112) + chr(1465 - 1420) + '\x38'))(OpFpJUFlM4PU, pYwjRbN6B9zT, 90.0, s93qyRHd7l1y)
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
atrm_magic
|
def atrm_magic(meas_file, dir_path=".", input_dir_path="",
input_spec_file='specimens.txt', output_spec_file='specimens.txt',
data_model_num=3):
"""
Converts ATRM data to best-fit tensor (6 elements plus sigma)
Parameters
----------
meas_file : str
input measurement file
dir_path : str
output directory, default "."
input_dir_path : str
input file directory IF different from dir_path, default ""
input_spec_file : str
input specimen file name, default "specimens.txt"
output_spec_file : str
output specimen file name, default "specimens.txt"
data_model_num : number
MagIC data model [2, 3], default 3
Returns
---------
Tuple : (True or False indicating if conversion was sucessful, output file name written)
"""
# fix up file names
input_dir_path, dir_path = pmag.fix_directories(input_dir_path, dir_path)
meas_file = pmag.resolve_file_name(meas_file, input_dir_path)
rmag_anis = os.path.join(dir_path, 'rmag_anisotropy.txt')
rmag_res = os.path.join(dir_path, 'rmag_results.txt')
input_spec_file = pmag.resolve_file_name(input_spec_file, input_dir_path)
output_spec_file = pmag.resolve_file_name(output_spec_file, dir_path)
# read in data
if data_model_num == 3:
meas_data = []
meas_data3, file_type = pmag.magic_read(meas_file)
if file_type != 'measurements':
print(
"-E- {} is not a valid measurements file, {}".format(meas_file, file_type))
return False
# convert meas_data to 2.5
for rec in meas_data3:
meas_map = map_magic.meas_magic3_2_magic2_map
meas_data.append(map_magic.mapping(rec, meas_map))
old_spec_recs, file_type = pmag.magic_read(input_spec_file)
if file_type != 'specimens':
print("-W- {} is not a valid specimens file ".format(input_spec_file))
old_spec_recs = []
spec_recs = []
for rec in old_spec_recs:
spec_map = map_magic.spec_magic3_2_magic2_map
spec_recs.append(map_magic.mapping(rec, spec_map))
else:
meas_data, file_type = pmag.magic_read(meas_file)
if file_type != 'magic_measurements':
print("-E- {} is is not a valid magic_measurements file ".format(file_type))
return False, "{} is not a valid magic_measurements file, {}".format(meas_file, file_type)
meas_data = pmag.get_dictitem(
meas_data, 'magic_method_codes', 'LP-AN-TRM', 'has')
if not len(meas_data):
print("-E- No measurement records found with code LP-AN-TRM")
return False, "No measurement records found with code LP-AN-TRM"
#
#
# get sorted list of unique specimen names
ssort = []
for rec in meas_data:
spec = rec["er_specimen_name"]
if spec not in ssort:
ssort.append(spec)
sids = sorted(ssort)
#
#
# work on each specimen
#
specimen, npos = 0, 6
RmagSpecRecs, RmagResRecs = [], []
SpecRecs, SpecRecs3 = [], []
while specimen < len(sids):
nmeas = 0
s = sids[specimen]
RmagSpecRec = {}
RmagResRec = {}
# get old specrec here if applicable
if data_model_num == 3:
if spec_recs:
try:
RmagResRec = pmag.get_dictitem(
spec_recs, 'er_specimen_name', s, 'T')[0]
RmagSpecRec = pmag.get_dictitem(
spec_recs, 'er_specimen_name', s, 'T')[0]
except IndexError:
pass
BX, X = [], []
method_codes = []
Spec0 = ""
#
# find the data from the meas_data file for this sample
# and get dec, inc, int and convert to x,y,z
#
# fish out data for this specimen name
data = pmag.get_dictitem(meas_data, 'er_specimen_name', s, 'T')
if len(data) > 5:
RmagSpecRec["rmag_anisotropy_name"] = data[0]["er_specimen_name"]
RmagSpecRec["er_location_name"] = data[0].get(
"er_location_name", "")
RmagSpecRec["er_specimen_name"] = data[0]["er_specimen_name"]
if not "er_sample_name" in RmagSpecRec:
RmagSpecRec["er_sample_name"] = data[0].get(
"er_sample_name", "")
RmagSpecRec["er_site_name"] = data[0].get("er_site_name", "")
RmagSpecRec["magic_experiment_names"] = RmagSpecRec["rmag_anisotropy_name"] + ":ATRM"
RmagSpecRec["er_citation_names"] = "This study"
RmagResRec["rmag_result_name"] = data[0]["er_specimen_name"] + ":ATRM"
RmagResRec["er_location_names"] = data[0].get(
"er_location_names", "")
RmagResRec["er_specimen_names"] = data[0]["er_specimen_name"]
if data_model_num == 2:
RmagResRec["er_sample_names"] = data[0].get(
"er_sample_name", "")
RmagResRec["er_site_names"] = data[0].get("er_site_name", "")
RmagResRec["magic_experiment_names"] = RmagSpecRec["rmag_anisotropy_name"] + ":ATRM"
RmagResRec["er_citation_names"] = "This study"
RmagSpecRec["anisotropy_type"] = "ATRM"
if "magic_instrument_codes" in list(data[0].keys()):
RmagSpecRec["magic_instrument_codes"] = data[0]["magic_instrument_codes"]
else:
RmagSpecRec["magic_instrument_codes"] = ""
RmagSpecRec["anisotropy_description"] = "Hext statistics adapted to ATRM"
for rec in data:
meths = rec['magic_method_codes'].strip().split(':')
Dir = []
Dir.append(float(rec["measurement_dec"]))
Dir.append(float(rec["measurement_inc"]))
Dir.append(float(rec["measurement_magn_moment"]))
if "LT-T-Z" in meths:
BX.append(pmag.dir2cart(Dir)) # append baseline steps
elif "LT-T-I" in meths:
X.append(pmag.dir2cart(Dir))
nmeas += 1
#
if len(BX) == 1:
for i in range(len(X) - 1):
BX.append(BX[0]) # assume first 0 field step as baseline
elif len(BX) == 0: # assume baseline is zero
for i in range(len(X)):
BX.append([0., 0., 0.]) # assume baseline of 0
elif len(BX) != len(X): # if BX isn't just one measurement or one in between every infield step, just assume it is zero
print('something odd about the baselines - just assuming zero')
for i in range(len(X)):
BX.append([0., 0., 0.]) # assume baseline of 0
if nmeas < 6: # must have at least 6 measurements right now -
print('skipping specimen ', s, ' too few measurements')
specimen += 1
else:
# B matrix made from design matrix for positions
B, H, tmpH = pmag.designATRM(npos)
#
# subtract optional baseline and put in a work array
#
work = np.zeros((nmeas, 3), 'f')
for i in range(nmeas):
for j in range(3):
# subtract baseline, if available
work[i][j] = X[i][j] - BX[i][j]
#
# calculate tensor elements
# first put ARM components in w vector
#
w = np.zeros((npos * 3), 'f')
index = 0
for i in range(npos):
for j in range(3):
w[index] = work[i][j]
index += 1
s = np.zeros((6), 'f') # initialize the s matrix
for i in range(6):
for j in range(len(w)):
s[i] += B[i][j] * w[j]
trace = s[0] + s[1] + s[2] # normalize by the trace
for i in range(6):
s[i] = s[i] / trace
a = pmag.s2a(s)
# ------------------------------------------------------------
# Calculating dels is different than in the Kappabridge
# routine. Use trace normalized tensor (a) and the applied
# unit field directions (tmpH) to generate model X,Y,Z
# components. Then compare these with the measured values.
# ------------------------------------------------------------
S = 0.
comp = np.zeros((npos * 3), 'f')
for i in range(npos):
for j in range(3):
index = i * 3 + j
compare = a[j][0] * tmpH[i][0] + a[j][1] * \
tmpH[i][1] + a[j][2] * tmpH[i][2]
comp[index] = compare
for i in range(npos * 3):
d = (w[i] / trace) - comp[i] # del values
S += d * d
nf = float(npos * 3. - 6.) # number of degrees of freedom
if S > 0:
sigma = np.sqrt(S / nf)
else:
sigma = 0
hpars = pmag.dohext(nf, sigma, s)
#
# prepare for output
#
RmagSpecRec["anisotropy_s1"] = '%8.6f' % (s[0])
RmagSpecRec["anisotropy_s2"] = '%8.6f' % (s[1])
RmagSpecRec["anisotropy_s3"] = '%8.6f' % (s[2])
RmagSpecRec["anisotropy_s4"] = '%8.6f' % (s[3])
RmagSpecRec["anisotropy_s5"] = '%8.6f' % (s[4])
RmagSpecRec["anisotropy_s6"] = '%8.6f' % (s[5])
RmagSpecRec["anisotropy_mean"] = '%8.3e' % (trace / 3)
RmagSpecRec["anisotropy_sigma"] = '%8.6f' % (sigma)
RmagSpecRec["anisotropy_unit"] = "Am^2"
RmagSpecRec["anisotropy_n"] = '%i' % (npos)
RmagSpecRec["anisotropy_tilt_correction"] = '-1'
# used by thellier_gui - must be taken out for uploading
RmagSpecRec["anisotropy_F"] = '%7.1f ' % (hpars["F"])
# used by thellier_gui - must be taken out for uploading
RmagSpecRec["anisotropy_F_crit"] = hpars["F_crit"]
RmagResRec["anisotropy_t1"] = '%8.6f ' % (hpars["t1"])
RmagResRec["anisotropy_t2"] = '%8.6f ' % (hpars["t2"])
RmagResRec["anisotropy_t3"] = '%8.6f ' % (hpars["t3"])
RmagResRec["anisotropy_v1_dec"] = '%7.1f ' % (hpars["v1_dec"])
RmagResRec["anisotropy_v2_dec"] = '%7.1f ' % (hpars["v2_dec"])
RmagResRec["anisotropy_v3_dec"] = '%7.1f ' % (hpars["v3_dec"])
RmagResRec["anisotropy_v1_inc"] = '%7.1f ' % (hpars["v1_inc"])
RmagResRec["anisotropy_v2_inc"] = '%7.1f ' % (hpars["v2_inc"])
RmagResRec["anisotropy_v3_inc"] = '%7.1f ' % (hpars["v3_inc"])
RmagResRec["anisotropy_ftest"] = '%7.1f ' % (hpars["F"])
RmagResRec["anisotropy_ftest12"] = '%7.1f ' % (hpars["F12"])
RmagResRec["anisotropy_ftest23"] = '%7.1f ' % (hpars["F23"])
RmagResRec["result_description"] = 'Critical F: ' + \
hpars["F_crit"] + ';Critical F12/F13: ' + hpars["F12_crit"]
if hpars["e12"] > hpars["e13"]:
RmagResRec["anisotropy_v1_zeta_semi_angle"] = '%7.1f ' % (
hpars['e12'])
RmagResRec["anisotropy_v1_zeta_dec"] = '%7.1f ' % (
hpars['v2_dec'])
RmagResRec["anisotropy_v1_zeta_inc"] = '%7.1f ' % (
hpars['v2_inc'])
RmagResRec["anisotropy_v2_zeta_semi_angle"] = '%7.1f ' % (
hpars['e12'])
RmagResRec["anisotropy_v2_zeta_dec"] = '%7.1f ' % (
hpars['v1_dec'])
RmagResRec["anisotropy_v2_zeta_inc"] = '%7.1f ' % (
hpars['v1_inc'])
RmagResRec["anisotropy_v1_eta_semi_angle"] = '%7.1f ' % (
hpars['e13'])
RmagResRec["anisotropy_v1_eta_dec"] = '%7.1f ' % (
hpars['v3_dec'])
RmagResRec["anisotropy_v1_eta_inc"] = '%7.1f ' % (
hpars['v3_inc'])
RmagResRec["anisotropy_v3_eta_semi_angle"] = '%7.1f ' % (
hpars['e13'])
RmagResRec["anisotropy_v3_eta_dec"] = '%7.1f ' % (
hpars['v1_dec'])
RmagResRec["anisotropy_v3_eta_inc"] = '%7.1f ' % (
hpars['v1_inc'])
else:
RmagResRec["anisotropy_v1_zeta_semi_angle"] = '%7.1f ' % (
hpars['e13'])
RmagResRec["anisotropy_v1_zeta_dec"] = '%7.1f ' % (
hpars['v3_dec'])
RmagResRec["anisotropy_v1_zeta_inc"] = '%7.1f ' % (
hpars['v3_inc'])
RmagResRec["anisotropy_v3_zeta_semi_angle"] = '%7.1f ' % (
hpars['e13'])
RmagResRec["anisotropy_v3_zeta_dec"] = '%7.1f ' % (
hpars['v1_dec'])
RmagResRec["anisotropy_v3_zeta_inc"] = '%7.1f ' % (
hpars['v1_inc'])
RmagResRec["anisotropy_v1_eta_semi_angle"] = '%7.1f ' % (
hpars['e12'])
RmagResRec["anisotropy_v1_eta_dec"] = '%7.1f ' % (
hpars['v2_dec'])
RmagResRec["anisotropy_v1_eta_inc"] = '%7.1f ' % (
hpars['v2_inc'])
RmagResRec["anisotropy_v2_eta_semi_angle"] = '%7.1f ' % (
hpars['e12'])
RmagResRec["anisotropy_v2_eta_dec"] = '%7.1f ' % (
hpars['v1_dec'])
RmagResRec["anisotropy_v2_eta_inc"] = '%7.1f ' % (
hpars['v1_inc'])
if hpars["e23"] > hpars['e12']:
RmagResRec["anisotropy_v2_zeta_semi_angle"] = '%7.1f ' % (
hpars['e23'])
RmagResRec["anisotropy_v2_zeta_dec"] = '%7.1f ' % (
hpars['v3_dec'])
RmagResRec["anisotropy_v2_zeta_inc"] = '%7.1f ' % (
hpars['v3_inc'])
RmagResRec["anisotropy_v3_zeta_semi_angle"] = '%7.1f ' % (
hpars['e23'])
RmagResRec["anisotropy_v3_zeta_dec"] = '%7.1f ' % (
hpars['v2_dec'])
RmagResRec["anisotropy_v3_zeta_inc"] = '%7.1f ' % (
hpars['v2_inc'])
RmagResRec["anisotropy_v3_eta_semi_angle"] = '%7.1f ' % (
hpars['e13'])
RmagResRec["anisotropy_v3_eta_dec"] = '%7.1f ' % (
hpars['v1_dec'])
RmagResRec["anisotropy_v3_eta_inc"] = '%7.1f ' % (
hpars['v1_inc'])
RmagResRec["anisotropy_v2_eta_semi_angle"] = '%7.1f ' % (
hpars['e12'])
RmagResRec["anisotropy_v2_eta_dec"] = '%7.1f ' % (
hpars['v1_dec'])
RmagResRec["anisotropy_v2_eta_inc"] = '%7.1f ' % (
hpars['v1_inc'])
else:
RmagResRec["anisotropy_v2_zeta_semi_angle"] = '%7.1f ' % (
hpars['e12'])
RmagResRec["anisotropy_v2_zeta_dec"] = '%7.1f ' % (
hpars['v1_dec'])
RmagResRec["anisotropy_v2_zeta_inc"] = '%7.1f ' % (
hpars['v1_inc'])
RmagResRec["anisotropy_v3_eta_semi_angle"] = '%7.1f ' % (
hpars['e23'])
RmagResRec["anisotropy_v3_eta_dec"] = '%7.1f ' % (
hpars['v2_dec'])
RmagResRec["anisotropy_v3_eta_inc"] = '%7.1f ' % (
hpars['v2_inc'])
RmagResRec["anisotropy_v3_zeta_semi_angle"] = '%7.1f ' % (
hpars['e13'])
RmagResRec["anisotropy_v3_zeta_dec"] = '%7.1f ' % (
hpars['v1_dec'])
RmagResRec["anisotropy_v3_zeta_inc"] = '%7.1f ' % (
hpars['v1_inc'])
RmagResRec["anisotropy_v2_eta_semi_angle"] = '%7.1f ' % (
hpars['e23'])
RmagResRec["anisotropy_v2_eta_dec"] = '%7.1f ' % (
hpars['v3_dec'])
RmagResRec["anisotropy_v2_eta_inc"] = '%7.1f ' % (
hpars['v3_inc'])
RmagResRec["tilt_correction"] = '-1'
RmagResRec["anisotropy_type"] = 'ATRM'
RmagResRec["magic_method_codes"] = 'LP-AN-TRM:AE-H'
RmagSpecRec["magic_method_codes"] = 'LP-AN-TRM:AE-H'
RmagResRec["magic_software_packages"] = pmag.get_version()
RmagSpecRec["magic_software_packages"] = pmag.get_version()
RmagSpecRecs.append(RmagSpecRec)
RmagResRecs.append(RmagResRec)
specimen += 1
if data_model_num == 3:
SpecRec = RmagResRec.copy()
SpecRec.update(RmagSpecRec)
SpecRecs.append(SpecRec)
# finished iterating through specimens,
# now we need to write out the data to files
if data_model_num == 3:
# translate records
for rec in SpecRecs:
rec3 = map_magic.convert_aniso('magic3', rec)
SpecRecs3.append(rec3)
# write output to 3.0 specimens file
pmag.magic_write(output_spec_file, SpecRecs3, 'specimens')
print("specimen data stored in {}".format(output_spec_file))
return True, output_spec_file
else:
# write output to 2.5 rmag_ files
pmag.magic_write(rmag_anis, RmagSpecRecs, 'rmag_anisotropy')
print("specimen tensor elements stored in ", rmag_anis)
pmag.magic_write(rmag_res, RmagResRecs, 'rmag_results')
print("specimen statistics and eigenparameters stored in ", rmag_res)
return True, rmag_anis
|
python
|
def atrm_magic(meas_file, dir_path=".", input_dir_path="",
input_spec_file='specimens.txt', output_spec_file='specimens.txt',
data_model_num=3):
"""
Converts ATRM data to best-fit tensor (6 elements plus sigma)
Parameters
----------
meas_file : str
input measurement file
dir_path : str
output directory, default "."
input_dir_path : str
input file directory IF different from dir_path, default ""
input_spec_file : str
input specimen file name, default "specimens.txt"
output_spec_file : str
output specimen file name, default "specimens.txt"
data_model_num : number
MagIC data model [2, 3], default 3
Returns
---------
Tuple : (True or False indicating if conversion was sucessful, output file name written)
"""
# fix up file names
input_dir_path, dir_path = pmag.fix_directories(input_dir_path, dir_path)
meas_file = pmag.resolve_file_name(meas_file, input_dir_path)
rmag_anis = os.path.join(dir_path, 'rmag_anisotropy.txt')
rmag_res = os.path.join(dir_path, 'rmag_results.txt')
input_spec_file = pmag.resolve_file_name(input_spec_file, input_dir_path)
output_spec_file = pmag.resolve_file_name(output_spec_file, dir_path)
# read in data
if data_model_num == 3:
meas_data = []
meas_data3, file_type = pmag.magic_read(meas_file)
if file_type != 'measurements':
print(
"-E- {} is not a valid measurements file, {}".format(meas_file, file_type))
return False
# convert meas_data to 2.5
for rec in meas_data3:
meas_map = map_magic.meas_magic3_2_magic2_map
meas_data.append(map_magic.mapping(rec, meas_map))
old_spec_recs, file_type = pmag.magic_read(input_spec_file)
if file_type != 'specimens':
print("-W- {} is not a valid specimens file ".format(input_spec_file))
old_spec_recs = []
spec_recs = []
for rec in old_spec_recs:
spec_map = map_magic.spec_magic3_2_magic2_map
spec_recs.append(map_magic.mapping(rec, spec_map))
else:
meas_data, file_type = pmag.magic_read(meas_file)
if file_type != 'magic_measurements':
print("-E- {} is is not a valid magic_measurements file ".format(file_type))
return False, "{} is not a valid magic_measurements file, {}".format(meas_file, file_type)
meas_data = pmag.get_dictitem(
meas_data, 'magic_method_codes', 'LP-AN-TRM', 'has')
if not len(meas_data):
print("-E- No measurement records found with code LP-AN-TRM")
return False, "No measurement records found with code LP-AN-TRM"
#
#
# get sorted list of unique specimen names
ssort = []
for rec in meas_data:
spec = rec["er_specimen_name"]
if spec not in ssort:
ssort.append(spec)
sids = sorted(ssort)
#
#
# work on each specimen
#
specimen, npos = 0, 6
RmagSpecRecs, RmagResRecs = [], []
SpecRecs, SpecRecs3 = [], []
while specimen < len(sids):
nmeas = 0
s = sids[specimen]
RmagSpecRec = {}
RmagResRec = {}
# get old specrec here if applicable
if data_model_num == 3:
if spec_recs:
try:
RmagResRec = pmag.get_dictitem(
spec_recs, 'er_specimen_name', s, 'T')[0]
RmagSpecRec = pmag.get_dictitem(
spec_recs, 'er_specimen_name', s, 'T')[0]
except IndexError:
pass
BX, X = [], []
method_codes = []
Spec0 = ""
#
# find the data from the meas_data file for this sample
# and get dec, inc, int and convert to x,y,z
#
# fish out data for this specimen name
data = pmag.get_dictitem(meas_data, 'er_specimen_name', s, 'T')
if len(data) > 5:
RmagSpecRec["rmag_anisotropy_name"] = data[0]["er_specimen_name"]
RmagSpecRec["er_location_name"] = data[0].get(
"er_location_name", "")
RmagSpecRec["er_specimen_name"] = data[0]["er_specimen_name"]
if not "er_sample_name" in RmagSpecRec:
RmagSpecRec["er_sample_name"] = data[0].get(
"er_sample_name", "")
RmagSpecRec["er_site_name"] = data[0].get("er_site_name", "")
RmagSpecRec["magic_experiment_names"] = RmagSpecRec["rmag_anisotropy_name"] + ":ATRM"
RmagSpecRec["er_citation_names"] = "This study"
RmagResRec["rmag_result_name"] = data[0]["er_specimen_name"] + ":ATRM"
RmagResRec["er_location_names"] = data[0].get(
"er_location_names", "")
RmagResRec["er_specimen_names"] = data[0]["er_specimen_name"]
if data_model_num == 2:
RmagResRec["er_sample_names"] = data[0].get(
"er_sample_name", "")
RmagResRec["er_site_names"] = data[0].get("er_site_name", "")
RmagResRec["magic_experiment_names"] = RmagSpecRec["rmag_anisotropy_name"] + ":ATRM"
RmagResRec["er_citation_names"] = "This study"
RmagSpecRec["anisotropy_type"] = "ATRM"
if "magic_instrument_codes" in list(data[0].keys()):
RmagSpecRec["magic_instrument_codes"] = data[0]["magic_instrument_codes"]
else:
RmagSpecRec["magic_instrument_codes"] = ""
RmagSpecRec["anisotropy_description"] = "Hext statistics adapted to ATRM"
for rec in data:
meths = rec['magic_method_codes'].strip().split(':')
Dir = []
Dir.append(float(rec["measurement_dec"]))
Dir.append(float(rec["measurement_inc"]))
Dir.append(float(rec["measurement_magn_moment"]))
if "LT-T-Z" in meths:
BX.append(pmag.dir2cart(Dir)) # append baseline steps
elif "LT-T-I" in meths:
X.append(pmag.dir2cart(Dir))
nmeas += 1
#
if len(BX) == 1:
for i in range(len(X) - 1):
BX.append(BX[0]) # assume first 0 field step as baseline
elif len(BX) == 0: # assume baseline is zero
for i in range(len(X)):
BX.append([0., 0., 0.]) # assume baseline of 0
elif len(BX) != len(X): # if BX isn't just one measurement or one in between every infield step, just assume it is zero
print('something odd about the baselines - just assuming zero')
for i in range(len(X)):
BX.append([0., 0., 0.]) # assume baseline of 0
if nmeas < 6: # must have at least 6 measurements right now -
print('skipping specimen ', s, ' too few measurements')
specimen += 1
else:
# B matrix made from design matrix for positions
B, H, tmpH = pmag.designATRM(npos)
#
# subtract optional baseline and put in a work array
#
work = np.zeros((nmeas, 3), 'f')
for i in range(nmeas):
for j in range(3):
# subtract baseline, if available
work[i][j] = X[i][j] - BX[i][j]
#
# calculate tensor elements
# first put ARM components in w vector
#
w = np.zeros((npos * 3), 'f')
index = 0
for i in range(npos):
for j in range(3):
w[index] = work[i][j]
index += 1
s = np.zeros((6), 'f') # initialize the s matrix
for i in range(6):
for j in range(len(w)):
s[i] += B[i][j] * w[j]
trace = s[0] + s[1] + s[2] # normalize by the trace
for i in range(6):
s[i] = s[i] / trace
a = pmag.s2a(s)
# ------------------------------------------------------------
# Calculating dels is different than in the Kappabridge
# routine. Use trace normalized tensor (a) and the applied
# unit field directions (tmpH) to generate model X,Y,Z
# components. Then compare these with the measured values.
# ------------------------------------------------------------
S = 0.
comp = np.zeros((npos * 3), 'f')
for i in range(npos):
for j in range(3):
index = i * 3 + j
compare = a[j][0] * tmpH[i][0] + a[j][1] * \
tmpH[i][1] + a[j][2] * tmpH[i][2]
comp[index] = compare
for i in range(npos * 3):
d = (w[i] / trace) - comp[i] # del values
S += d * d
nf = float(npos * 3. - 6.) # number of degrees of freedom
if S > 0:
sigma = np.sqrt(S / nf)
else:
sigma = 0
hpars = pmag.dohext(nf, sigma, s)
#
# prepare for output
#
RmagSpecRec["anisotropy_s1"] = '%8.6f' % (s[0])
RmagSpecRec["anisotropy_s2"] = '%8.6f' % (s[1])
RmagSpecRec["anisotropy_s3"] = '%8.6f' % (s[2])
RmagSpecRec["anisotropy_s4"] = '%8.6f' % (s[3])
RmagSpecRec["anisotropy_s5"] = '%8.6f' % (s[4])
RmagSpecRec["anisotropy_s6"] = '%8.6f' % (s[5])
RmagSpecRec["anisotropy_mean"] = '%8.3e' % (trace / 3)
RmagSpecRec["anisotropy_sigma"] = '%8.6f' % (sigma)
RmagSpecRec["anisotropy_unit"] = "Am^2"
RmagSpecRec["anisotropy_n"] = '%i' % (npos)
RmagSpecRec["anisotropy_tilt_correction"] = '-1'
# used by thellier_gui - must be taken out for uploading
RmagSpecRec["anisotropy_F"] = '%7.1f ' % (hpars["F"])
# used by thellier_gui - must be taken out for uploading
RmagSpecRec["anisotropy_F_crit"] = hpars["F_crit"]
RmagResRec["anisotropy_t1"] = '%8.6f ' % (hpars["t1"])
RmagResRec["anisotropy_t2"] = '%8.6f ' % (hpars["t2"])
RmagResRec["anisotropy_t3"] = '%8.6f ' % (hpars["t3"])
RmagResRec["anisotropy_v1_dec"] = '%7.1f ' % (hpars["v1_dec"])
RmagResRec["anisotropy_v2_dec"] = '%7.1f ' % (hpars["v2_dec"])
RmagResRec["anisotropy_v3_dec"] = '%7.1f ' % (hpars["v3_dec"])
RmagResRec["anisotropy_v1_inc"] = '%7.1f ' % (hpars["v1_inc"])
RmagResRec["anisotropy_v2_inc"] = '%7.1f ' % (hpars["v2_inc"])
RmagResRec["anisotropy_v3_inc"] = '%7.1f ' % (hpars["v3_inc"])
RmagResRec["anisotropy_ftest"] = '%7.1f ' % (hpars["F"])
RmagResRec["anisotropy_ftest12"] = '%7.1f ' % (hpars["F12"])
RmagResRec["anisotropy_ftest23"] = '%7.1f ' % (hpars["F23"])
RmagResRec["result_description"] = 'Critical F: ' + \
hpars["F_crit"] + ';Critical F12/F13: ' + hpars["F12_crit"]
if hpars["e12"] > hpars["e13"]:
RmagResRec["anisotropy_v1_zeta_semi_angle"] = '%7.1f ' % (
hpars['e12'])
RmagResRec["anisotropy_v1_zeta_dec"] = '%7.1f ' % (
hpars['v2_dec'])
RmagResRec["anisotropy_v1_zeta_inc"] = '%7.1f ' % (
hpars['v2_inc'])
RmagResRec["anisotropy_v2_zeta_semi_angle"] = '%7.1f ' % (
hpars['e12'])
RmagResRec["anisotropy_v2_zeta_dec"] = '%7.1f ' % (
hpars['v1_dec'])
RmagResRec["anisotropy_v2_zeta_inc"] = '%7.1f ' % (
hpars['v1_inc'])
RmagResRec["anisotropy_v1_eta_semi_angle"] = '%7.1f ' % (
hpars['e13'])
RmagResRec["anisotropy_v1_eta_dec"] = '%7.1f ' % (
hpars['v3_dec'])
RmagResRec["anisotropy_v1_eta_inc"] = '%7.1f ' % (
hpars['v3_inc'])
RmagResRec["anisotropy_v3_eta_semi_angle"] = '%7.1f ' % (
hpars['e13'])
RmagResRec["anisotropy_v3_eta_dec"] = '%7.1f ' % (
hpars['v1_dec'])
RmagResRec["anisotropy_v3_eta_inc"] = '%7.1f ' % (
hpars['v1_inc'])
else:
RmagResRec["anisotropy_v1_zeta_semi_angle"] = '%7.1f ' % (
hpars['e13'])
RmagResRec["anisotropy_v1_zeta_dec"] = '%7.1f ' % (
hpars['v3_dec'])
RmagResRec["anisotropy_v1_zeta_inc"] = '%7.1f ' % (
hpars['v3_inc'])
RmagResRec["anisotropy_v3_zeta_semi_angle"] = '%7.1f ' % (
hpars['e13'])
RmagResRec["anisotropy_v3_zeta_dec"] = '%7.1f ' % (
hpars['v1_dec'])
RmagResRec["anisotropy_v3_zeta_inc"] = '%7.1f ' % (
hpars['v1_inc'])
RmagResRec["anisotropy_v1_eta_semi_angle"] = '%7.1f ' % (
hpars['e12'])
RmagResRec["anisotropy_v1_eta_dec"] = '%7.1f ' % (
hpars['v2_dec'])
RmagResRec["anisotropy_v1_eta_inc"] = '%7.1f ' % (
hpars['v2_inc'])
RmagResRec["anisotropy_v2_eta_semi_angle"] = '%7.1f ' % (
hpars['e12'])
RmagResRec["anisotropy_v2_eta_dec"] = '%7.1f ' % (
hpars['v1_dec'])
RmagResRec["anisotropy_v2_eta_inc"] = '%7.1f ' % (
hpars['v1_inc'])
if hpars["e23"] > hpars['e12']:
RmagResRec["anisotropy_v2_zeta_semi_angle"] = '%7.1f ' % (
hpars['e23'])
RmagResRec["anisotropy_v2_zeta_dec"] = '%7.1f ' % (
hpars['v3_dec'])
RmagResRec["anisotropy_v2_zeta_inc"] = '%7.1f ' % (
hpars['v3_inc'])
RmagResRec["anisotropy_v3_zeta_semi_angle"] = '%7.1f ' % (
hpars['e23'])
RmagResRec["anisotropy_v3_zeta_dec"] = '%7.1f ' % (
hpars['v2_dec'])
RmagResRec["anisotropy_v3_zeta_inc"] = '%7.1f ' % (
hpars['v2_inc'])
RmagResRec["anisotropy_v3_eta_semi_angle"] = '%7.1f ' % (
hpars['e13'])
RmagResRec["anisotropy_v3_eta_dec"] = '%7.1f ' % (
hpars['v1_dec'])
RmagResRec["anisotropy_v3_eta_inc"] = '%7.1f ' % (
hpars['v1_inc'])
RmagResRec["anisotropy_v2_eta_semi_angle"] = '%7.1f ' % (
hpars['e12'])
RmagResRec["anisotropy_v2_eta_dec"] = '%7.1f ' % (
hpars['v1_dec'])
RmagResRec["anisotropy_v2_eta_inc"] = '%7.1f ' % (
hpars['v1_inc'])
else:
RmagResRec["anisotropy_v2_zeta_semi_angle"] = '%7.1f ' % (
hpars['e12'])
RmagResRec["anisotropy_v2_zeta_dec"] = '%7.1f ' % (
hpars['v1_dec'])
RmagResRec["anisotropy_v2_zeta_inc"] = '%7.1f ' % (
hpars['v1_inc'])
RmagResRec["anisotropy_v3_eta_semi_angle"] = '%7.1f ' % (
hpars['e23'])
RmagResRec["anisotropy_v3_eta_dec"] = '%7.1f ' % (
hpars['v2_dec'])
RmagResRec["anisotropy_v3_eta_inc"] = '%7.1f ' % (
hpars['v2_inc'])
RmagResRec["anisotropy_v3_zeta_semi_angle"] = '%7.1f ' % (
hpars['e13'])
RmagResRec["anisotropy_v3_zeta_dec"] = '%7.1f ' % (
hpars['v1_dec'])
RmagResRec["anisotropy_v3_zeta_inc"] = '%7.1f ' % (
hpars['v1_inc'])
RmagResRec["anisotropy_v2_eta_semi_angle"] = '%7.1f ' % (
hpars['e23'])
RmagResRec["anisotropy_v2_eta_dec"] = '%7.1f ' % (
hpars['v3_dec'])
RmagResRec["anisotropy_v2_eta_inc"] = '%7.1f ' % (
hpars['v3_inc'])
RmagResRec["tilt_correction"] = '-1'
RmagResRec["anisotropy_type"] = 'ATRM'
RmagResRec["magic_method_codes"] = 'LP-AN-TRM:AE-H'
RmagSpecRec["magic_method_codes"] = 'LP-AN-TRM:AE-H'
RmagResRec["magic_software_packages"] = pmag.get_version()
RmagSpecRec["magic_software_packages"] = pmag.get_version()
RmagSpecRecs.append(RmagSpecRec)
RmagResRecs.append(RmagResRec)
specimen += 1
if data_model_num == 3:
SpecRec = RmagResRec.copy()
SpecRec.update(RmagSpecRec)
SpecRecs.append(SpecRec)
# finished iterating through specimens,
# now we need to write out the data to files
if data_model_num == 3:
# translate records
for rec in SpecRecs:
rec3 = map_magic.convert_aniso('magic3', rec)
SpecRecs3.append(rec3)
# write output to 3.0 specimens file
pmag.magic_write(output_spec_file, SpecRecs3, 'specimens')
print("specimen data stored in {}".format(output_spec_file))
return True, output_spec_file
else:
# write output to 2.5 rmag_ files
pmag.magic_write(rmag_anis, RmagSpecRecs, 'rmag_anisotropy')
print("specimen tensor elements stored in ", rmag_anis)
pmag.magic_write(rmag_res, RmagResRecs, 'rmag_results')
print("specimen statistics and eigenparameters stored in ", rmag_res)
return True, rmag_anis
|
[
"def",
"atrm_magic",
"(",
"meas_file",
",",
"dir_path",
"=",
"\".\"",
",",
"input_dir_path",
"=",
"\"\"",
",",
"input_spec_file",
"=",
"'specimens.txt'",
",",
"output_spec_file",
"=",
"'specimens.txt'",
",",
"data_model_num",
"=",
"3",
")",
":",
"# fix up file names",
"input_dir_path",
",",
"dir_path",
"=",
"pmag",
".",
"fix_directories",
"(",
"input_dir_path",
",",
"dir_path",
")",
"meas_file",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"meas_file",
",",
"input_dir_path",
")",
"rmag_anis",
"=",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"'rmag_anisotropy.txt'",
")",
"rmag_res",
"=",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"'rmag_results.txt'",
")",
"input_spec_file",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"input_spec_file",
",",
"input_dir_path",
")",
"output_spec_file",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"output_spec_file",
",",
"dir_path",
")",
"# read in data",
"if",
"data_model_num",
"==",
"3",
":",
"meas_data",
"=",
"[",
"]",
"meas_data3",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"meas_file",
")",
"if",
"file_type",
"!=",
"'measurements'",
":",
"print",
"(",
"\"-E- {} is not a valid measurements file, {}\"",
".",
"format",
"(",
"meas_file",
",",
"file_type",
")",
")",
"return",
"False",
"# convert meas_data to 2.5",
"for",
"rec",
"in",
"meas_data3",
":",
"meas_map",
"=",
"map_magic",
".",
"meas_magic3_2_magic2_map",
"meas_data",
".",
"append",
"(",
"map_magic",
".",
"mapping",
"(",
"rec",
",",
"meas_map",
")",
")",
"old_spec_recs",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"input_spec_file",
")",
"if",
"file_type",
"!=",
"'specimens'",
":",
"print",
"(",
"\"-W- {} is not a valid specimens file \"",
".",
"format",
"(",
"input_spec_file",
")",
")",
"old_spec_recs",
"=",
"[",
"]",
"spec_recs",
"=",
"[",
"]",
"for",
"rec",
"in",
"old_spec_recs",
":",
"spec_map",
"=",
"map_magic",
".",
"spec_magic3_2_magic2_map",
"spec_recs",
".",
"append",
"(",
"map_magic",
".",
"mapping",
"(",
"rec",
",",
"spec_map",
")",
")",
"else",
":",
"meas_data",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"meas_file",
")",
"if",
"file_type",
"!=",
"'magic_measurements'",
":",
"print",
"(",
"\"-E- {} is is not a valid magic_measurements file \"",
".",
"format",
"(",
"file_type",
")",
")",
"return",
"False",
",",
"\"{} is not a valid magic_measurements file, {}\"",
".",
"format",
"(",
"meas_file",
",",
"file_type",
")",
"meas_data",
"=",
"pmag",
".",
"get_dictitem",
"(",
"meas_data",
",",
"'magic_method_codes'",
",",
"'LP-AN-TRM'",
",",
"'has'",
")",
"if",
"not",
"len",
"(",
"meas_data",
")",
":",
"print",
"(",
"\"-E- No measurement records found with code LP-AN-TRM\"",
")",
"return",
"False",
",",
"\"No measurement records found with code LP-AN-TRM\"",
"#",
"#",
"# get sorted list of unique specimen names",
"ssort",
"=",
"[",
"]",
"for",
"rec",
"in",
"meas_data",
":",
"spec",
"=",
"rec",
"[",
"\"er_specimen_name\"",
"]",
"if",
"spec",
"not",
"in",
"ssort",
":",
"ssort",
".",
"append",
"(",
"spec",
")",
"sids",
"=",
"sorted",
"(",
"ssort",
")",
"#",
"#",
"# work on each specimen",
"#",
"specimen",
",",
"npos",
"=",
"0",
",",
"6",
"RmagSpecRecs",
",",
"RmagResRecs",
"=",
"[",
"]",
",",
"[",
"]",
"SpecRecs",
",",
"SpecRecs3",
"=",
"[",
"]",
",",
"[",
"]",
"while",
"specimen",
"<",
"len",
"(",
"sids",
")",
":",
"nmeas",
"=",
"0",
"s",
"=",
"sids",
"[",
"specimen",
"]",
"RmagSpecRec",
"=",
"{",
"}",
"RmagResRec",
"=",
"{",
"}",
"# get old specrec here if applicable",
"if",
"data_model_num",
"==",
"3",
":",
"if",
"spec_recs",
":",
"try",
":",
"RmagResRec",
"=",
"pmag",
".",
"get_dictitem",
"(",
"spec_recs",
",",
"'er_specimen_name'",
",",
"s",
",",
"'T'",
")",
"[",
"0",
"]",
"RmagSpecRec",
"=",
"pmag",
".",
"get_dictitem",
"(",
"spec_recs",
",",
"'er_specimen_name'",
",",
"s",
",",
"'T'",
")",
"[",
"0",
"]",
"except",
"IndexError",
":",
"pass",
"BX",
",",
"X",
"=",
"[",
"]",
",",
"[",
"]",
"method_codes",
"=",
"[",
"]",
"Spec0",
"=",
"\"\"",
"#",
"# find the data from the meas_data file for this sample",
"# and get dec, inc, int and convert to x,y,z",
"#",
"# fish out data for this specimen name",
"data",
"=",
"pmag",
".",
"get_dictitem",
"(",
"meas_data",
",",
"'er_specimen_name'",
",",
"s",
",",
"'T'",
")",
"if",
"len",
"(",
"data",
")",
">",
"5",
":",
"RmagSpecRec",
"[",
"\"rmag_anisotropy_name\"",
"]",
"=",
"data",
"[",
"0",
"]",
"[",
"\"er_specimen_name\"",
"]",
"RmagSpecRec",
"[",
"\"er_location_name\"",
"]",
"=",
"data",
"[",
"0",
"]",
".",
"get",
"(",
"\"er_location_name\"",
",",
"\"\"",
")",
"RmagSpecRec",
"[",
"\"er_specimen_name\"",
"]",
"=",
"data",
"[",
"0",
"]",
"[",
"\"er_specimen_name\"",
"]",
"if",
"not",
"\"er_sample_name\"",
"in",
"RmagSpecRec",
":",
"RmagSpecRec",
"[",
"\"er_sample_name\"",
"]",
"=",
"data",
"[",
"0",
"]",
".",
"get",
"(",
"\"er_sample_name\"",
",",
"\"\"",
")",
"RmagSpecRec",
"[",
"\"er_site_name\"",
"]",
"=",
"data",
"[",
"0",
"]",
".",
"get",
"(",
"\"er_site_name\"",
",",
"\"\"",
")",
"RmagSpecRec",
"[",
"\"magic_experiment_names\"",
"]",
"=",
"RmagSpecRec",
"[",
"\"rmag_anisotropy_name\"",
"]",
"+",
"\":ATRM\"",
"RmagSpecRec",
"[",
"\"er_citation_names\"",
"]",
"=",
"\"This study\"",
"RmagResRec",
"[",
"\"rmag_result_name\"",
"]",
"=",
"data",
"[",
"0",
"]",
"[",
"\"er_specimen_name\"",
"]",
"+",
"\":ATRM\"",
"RmagResRec",
"[",
"\"er_location_names\"",
"]",
"=",
"data",
"[",
"0",
"]",
".",
"get",
"(",
"\"er_location_names\"",
",",
"\"\"",
")",
"RmagResRec",
"[",
"\"er_specimen_names\"",
"]",
"=",
"data",
"[",
"0",
"]",
"[",
"\"er_specimen_name\"",
"]",
"if",
"data_model_num",
"==",
"2",
":",
"RmagResRec",
"[",
"\"er_sample_names\"",
"]",
"=",
"data",
"[",
"0",
"]",
".",
"get",
"(",
"\"er_sample_name\"",
",",
"\"\"",
")",
"RmagResRec",
"[",
"\"er_site_names\"",
"]",
"=",
"data",
"[",
"0",
"]",
".",
"get",
"(",
"\"er_site_name\"",
",",
"\"\"",
")",
"RmagResRec",
"[",
"\"magic_experiment_names\"",
"]",
"=",
"RmagSpecRec",
"[",
"\"rmag_anisotropy_name\"",
"]",
"+",
"\":ATRM\"",
"RmagResRec",
"[",
"\"er_citation_names\"",
"]",
"=",
"\"This study\"",
"RmagSpecRec",
"[",
"\"anisotropy_type\"",
"]",
"=",
"\"ATRM\"",
"if",
"\"magic_instrument_codes\"",
"in",
"list",
"(",
"data",
"[",
"0",
"]",
".",
"keys",
"(",
")",
")",
":",
"RmagSpecRec",
"[",
"\"magic_instrument_codes\"",
"]",
"=",
"data",
"[",
"0",
"]",
"[",
"\"magic_instrument_codes\"",
"]",
"else",
":",
"RmagSpecRec",
"[",
"\"magic_instrument_codes\"",
"]",
"=",
"\"\"",
"RmagSpecRec",
"[",
"\"anisotropy_description\"",
"]",
"=",
"\"Hext statistics adapted to ATRM\"",
"for",
"rec",
"in",
"data",
":",
"meths",
"=",
"rec",
"[",
"'magic_method_codes'",
"]",
".",
"strip",
"(",
")",
".",
"split",
"(",
"':'",
")",
"Dir",
"=",
"[",
"]",
"Dir",
".",
"append",
"(",
"float",
"(",
"rec",
"[",
"\"measurement_dec\"",
"]",
")",
")",
"Dir",
".",
"append",
"(",
"float",
"(",
"rec",
"[",
"\"measurement_inc\"",
"]",
")",
")",
"Dir",
".",
"append",
"(",
"float",
"(",
"rec",
"[",
"\"measurement_magn_moment\"",
"]",
")",
")",
"if",
"\"LT-T-Z\"",
"in",
"meths",
":",
"BX",
".",
"append",
"(",
"pmag",
".",
"dir2cart",
"(",
"Dir",
")",
")",
"# append baseline steps",
"elif",
"\"LT-T-I\"",
"in",
"meths",
":",
"X",
".",
"append",
"(",
"pmag",
".",
"dir2cart",
"(",
"Dir",
")",
")",
"nmeas",
"+=",
"1",
"#",
"if",
"len",
"(",
"BX",
")",
"==",
"1",
":",
"for",
"i",
"in",
"range",
"(",
"len",
"(",
"X",
")",
"-",
"1",
")",
":",
"BX",
".",
"append",
"(",
"BX",
"[",
"0",
"]",
")",
"# assume first 0 field step as baseline",
"elif",
"len",
"(",
"BX",
")",
"==",
"0",
":",
"# assume baseline is zero",
"for",
"i",
"in",
"range",
"(",
"len",
"(",
"X",
")",
")",
":",
"BX",
".",
"append",
"(",
"[",
"0.",
",",
"0.",
",",
"0.",
"]",
")",
"# assume baseline of 0",
"elif",
"len",
"(",
"BX",
")",
"!=",
"len",
"(",
"X",
")",
":",
"# if BX isn't just one measurement or one in between every infield step, just assume it is zero",
"print",
"(",
"'something odd about the baselines - just assuming zero'",
")",
"for",
"i",
"in",
"range",
"(",
"len",
"(",
"X",
")",
")",
":",
"BX",
".",
"append",
"(",
"[",
"0.",
",",
"0.",
",",
"0.",
"]",
")",
"# assume baseline of 0",
"if",
"nmeas",
"<",
"6",
":",
"# must have at least 6 measurements right now -",
"print",
"(",
"'skipping specimen '",
",",
"s",
",",
"' too few measurements'",
")",
"specimen",
"+=",
"1",
"else",
":",
"# B matrix made from design matrix for positions",
"B",
",",
"H",
",",
"tmpH",
"=",
"pmag",
".",
"designATRM",
"(",
"npos",
")",
"#",
"# subtract optional baseline and put in a work array",
"#",
"work",
"=",
"np",
".",
"zeros",
"(",
"(",
"nmeas",
",",
"3",
")",
",",
"'f'",
")",
"for",
"i",
"in",
"range",
"(",
"nmeas",
")",
":",
"for",
"j",
"in",
"range",
"(",
"3",
")",
":",
"# subtract baseline, if available",
"work",
"[",
"i",
"]",
"[",
"j",
"]",
"=",
"X",
"[",
"i",
"]",
"[",
"j",
"]",
"-",
"BX",
"[",
"i",
"]",
"[",
"j",
"]",
"#",
"# calculate tensor elements",
"# first put ARM components in w vector",
"#",
"w",
"=",
"np",
".",
"zeros",
"(",
"(",
"npos",
"*",
"3",
")",
",",
"'f'",
")",
"index",
"=",
"0",
"for",
"i",
"in",
"range",
"(",
"npos",
")",
":",
"for",
"j",
"in",
"range",
"(",
"3",
")",
":",
"w",
"[",
"index",
"]",
"=",
"work",
"[",
"i",
"]",
"[",
"j",
"]",
"index",
"+=",
"1",
"s",
"=",
"np",
".",
"zeros",
"(",
"(",
"6",
")",
",",
"'f'",
")",
"# initialize the s matrix",
"for",
"i",
"in",
"range",
"(",
"6",
")",
":",
"for",
"j",
"in",
"range",
"(",
"len",
"(",
"w",
")",
")",
":",
"s",
"[",
"i",
"]",
"+=",
"B",
"[",
"i",
"]",
"[",
"j",
"]",
"*",
"w",
"[",
"j",
"]",
"trace",
"=",
"s",
"[",
"0",
"]",
"+",
"s",
"[",
"1",
"]",
"+",
"s",
"[",
"2",
"]",
"# normalize by the trace",
"for",
"i",
"in",
"range",
"(",
"6",
")",
":",
"s",
"[",
"i",
"]",
"=",
"s",
"[",
"i",
"]",
"/",
"trace",
"a",
"=",
"pmag",
".",
"s2a",
"(",
"s",
")",
"# ------------------------------------------------------------",
"# Calculating dels is different than in the Kappabridge",
"# routine. Use trace normalized tensor (a) and the applied",
"# unit field directions (tmpH) to generate model X,Y,Z",
"# components. Then compare these with the measured values.",
"# ------------------------------------------------------------",
"S",
"=",
"0.",
"comp",
"=",
"np",
".",
"zeros",
"(",
"(",
"npos",
"*",
"3",
")",
",",
"'f'",
")",
"for",
"i",
"in",
"range",
"(",
"npos",
")",
":",
"for",
"j",
"in",
"range",
"(",
"3",
")",
":",
"index",
"=",
"i",
"*",
"3",
"+",
"j",
"compare",
"=",
"a",
"[",
"j",
"]",
"[",
"0",
"]",
"*",
"tmpH",
"[",
"i",
"]",
"[",
"0",
"]",
"+",
"a",
"[",
"j",
"]",
"[",
"1",
"]",
"*",
"tmpH",
"[",
"i",
"]",
"[",
"1",
"]",
"+",
"a",
"[",
"j",
"]",
"[",
"2",
"]",
"*",
"tmpH",
"[",
"i",
"]",
"[",
"2",
"]",
"comp",
"[",
"index",
"]",
"=",
"compare",
"for",
"i",
"in",
"range",
"(",
"npos",
"*",
"3",
")",
":",
"d",
"=",
"(",
"w",
"[",
"i",
"]",
"/",
"trace",
")",
"-",
"comp",
"[",
"i",
"]",
"# del values",
"S",
"+=",
"d",
"*",
"d",
"nf",
"=",
"float",
"(",
"npos",
"*",
"3.",
"-",
"6.",
")",
"# number of degrees of freedom",
"if",
"S",
">",
"0",
":",
"sigma",
"=",
"np",
".",
"sqrt",
"(",
"S",
"/",
"nf",
")",
"else",
":",
"sigma",
"=",
"0",
"hpars",
"=",
"pmag",
".",
"dohext",
"(",
"nf",
",",
"sigma",
",",
"s",
")",
"#",
"# prepare for output",
"#",
"RmagSpecRec",
"[",
"\"anisotropy_s1\"",
"]",
"=",
"'%8.6f'",
"%",
"(",
"s",
"[",
"0",
"]",
")",
"RmagSpecRec",
"[",
"\"anisotropy_s2\"",
"]",
"=",
"'%8.6f'",
"%",
"(",
"s",
"[",
"1",
"]",
")",
"RmagSpecRec",
"[",
"\"anisotropy_s3\"",
"]",
"=",
"'%8.6f'",
"%",
"(",
"s",
"[",
"2",
"]",
")",
"RmagSpecRec",
"[",
"\"anisotropy_s4\"",
"]",
"=",
"'%8.6f'",
"%",
"(",
"s",
"[",
"3",
"]",
")",
"RmagSpecRec",
"[",
"\"anisotropy_s5\"",
"]",
"=",
"'%8.6f'",
"%",
"(",
"s",
"[",
"4",
"]",
")",
"RmagSpecRec",
"[",
"\"anisotropy_s6\"",
"]",
"=",
"'%8.6f'",
"%",
"(",
"s",
"[",
"5",
"]",
")",
"RmagSpecRec",
"[",
"\"anisotropy_mean\"",
"]",
"=",
"'%8.3e'",
"%",
"(",
"trace",
"/",
"3",
")",
"RmagSpecRec",
"[",
"\"anisotropy_sigma\"",
"]",
"=",
"'%8.6f'",
"%",
"(",
"sigma",
")",
"RmagSpecRec",
"[",
"\"anisotropy_unit\"",
"]",
"=",
"\"Am^2\"",
"RmagSpecRec",
"[",
"\"anisotropy_n\"",
"]",
"=",
"'%i'",
"%",
"(",
"npos",
")",
"RmagSpecRec",
"[",
"\"anisotropy_tilt_correction\"",
"]",
"=",
"'-1'",
"# used by thellier_gui - must be taken out for uploading",
"RmagSpecRec",
"[",
"\"anisotropy_F\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"\"F\"",
"]",
")",
"# used by thellier_gui - must be taken out for uploading",
"RmagSpecRec",
"[",
"\"anisotropy_F_crit\"",
"]",
"=",
"hpars",
"[",
"\"F_crit\"",
"]",
"RmagResRec",
"[",
"\"anisotropy_t1\"",
"]",
"=",
"'%8.6f '",
"%",
"(",
"hpars",
"[",
"\"t1\"",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_t2\"",
"]",
"=",
"'%8.6f '",
"%",
"(",
"hpars",
"[",
"\"t2\"",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_t3\"",
"]",
"=",
"'%8.6f '",
"%",
"(",
"hpars",
"[",
"\"t3\"",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v1_dec\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"\"v1_dec\"",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v2_dec\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"\"v2_dec\"",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v3_dec\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"\"v3_dec\"",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v1_inc\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"\"v1_inc\"",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v2_inc\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"\"v2_inc\"",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v3_inc\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"\"v3_inc\"",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_ftest\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"\"F\"",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_ftest12\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"\"F12\"",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_ftest23\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"\"F23\"",
"]",
")",
"RmagResRec",
"[",
"\"result_description\"",
"]",
"=",
"'Critical F: '",
"+",
"hpars",
"[",
"\"F_crit\"",
"]",
"+",
"';Critical F12/F13: '",
"+",
"hpars",
"[",
"\"F12_crit\"",
"]",
"if",
"hpars",
"[",
"\"e12\"",
"]",
">",
"hpars",
"[",
"\"e13\"",
"]",
":",
"RmagResRec",
"[",
"\"anisotropy_v1_zeta_semi_angle\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'e12'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v1_zeta_dec\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'v2_dec'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v1_zeta_inc\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'v2_inc'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v2_zeta_semi_angle\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'e12'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v2_zeta_dec\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'v1_dec'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v2_zeta_inc\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'v1_inc'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v1_eta_semi_angle\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'e13'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v1_eta_dec\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'v3_dec'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v1_eta_inc\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'v3_inc'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v3_eta_semi_angle\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'e13'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v3_eta_dec\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'v1_dec'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v3_eta_inc\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'v1_inc'",
"]",
")",
"else",
":",
"RmagResRec",
"[",
"\"anisotropy_v1_zeta_semi_angle\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'e13'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v1_zeta_dec\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'v3_dec'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v1_zeta_inc\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'v3_inc'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v3_zeta_semi_angle\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'e13'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v3_zeta_dec\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'v1_dec'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v3_zeta_inc\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'v1_inc'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v1_eta_semi_angle\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'e12'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v1_eta_dec\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'v2_dec'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v1_eta_inc\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'v2_inc'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v2_eta_semi_angle\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'e12'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v2_eta_dec\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'v1_dec'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v2_eta_inc\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'v1_inc'",
"]",
")",
"if",
"hpars",
"[",
"\"e23\"",
"]",
">",
"hpars",
"[",
"'e12'",
"]",
":",
"RmagResRec",
"[",
"\"anisotropy_v2_zeta_semi_angle\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'e23'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v2_zeta_dec\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'v3_dec'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v2_zeta_inc\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'v3_inc'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v3_zeta_semi_angle\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'e23'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v3_zeta_dec\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'v2_dec'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v3_zeta_inc\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'v2_inc'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v3_eta_semi_angle\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'e13'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v3_eta_dec\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'v1_dec'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v3_eta_inc\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'v1_inc'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v2_eta_semi_angle\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'e12'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v2_eta_dec\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'v1_dec'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v2_eta_inc\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'v1_inc'",
"]",
")",
"else",
":",
"RmagResRec",
"[",
"\"anisotropy_v2_zeta_semi_angle\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'e12'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v2_zeta_dec\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'v1_dec'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v2_zeta_inc\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'v1_inc'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v3_eta_semi_angle\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'e23'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v3_eta_dec\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'v2_dec'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v3_eta_inc\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'v2_inc'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v3_zeta_semi_angle\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'e13'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v3_zeta_dec\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'v1_dec'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v3_zeta_inc\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'v1_inc'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v2_eta_semi_angle\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'e23'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v2_eta_dec\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'v3_dec'",
"]",
")",
"RmagResRec",
"[",
"\"anisotropy_v2_eta_inc\"",
"]",
"=",
"'%7.1f '",
"%",
"(",
"hpars",
"[",
"'v3_inc'",
"]",
")",
"RmagResRec",
"[",
"\"tilt_correction\"",
"]",
"=",
"'-1'",
"RmagResRec",
"[",
"\"anisotropy_type\"",
"]",
"=",
"'ATRM'",
"RmagResRec",
"[",
"\"magic_method_codes\"",
"]",
"=",
"'LP-AN-TRM:AE-H'",
"RmagSpecRec",
"[",
"\"magic_method_codes\"",
"]",
"=",
"'LP-AN-TRM:AE-H'",
"RmagResRec",
"[",
"\"magic_software_packages\"",
"]",
"=",
"pmag",
".",
"get_version",
"(",
")",
"RmagSpecRec",
"[",
"\"magic_software_packages\"",
"]",
"=",
"pmag",
".",
"get_version",
"(",
")",
"RmagSpecRecs",
".",
"append",
"(",
"RmagSpecRec",
")",
"RmagResRecs",
".",
"append",
"(",
"RmagResRec",
")",
"specimen",
"+=",
"1",
"if",
"data_model_num",
"==",
"3",
":",
"SpecRec",
"=",
"RmagResRec",
".",
"copy",
"(",
")",
"SpecRec",
".",
"update",
"(",
"RmagSpecRec",
")",
"SpecRecs",
".",
"append",
"(",
"SpecRec",
")",
"# finished iterating through specimens,",
"# now we need to write out the data to files",
"if",
"data_model_num",
"==",
"3",
":",
"# translate records",
"for",
"rec",
"in",
"SpecRecs",
":",
"rec3",
"=",
"map_magic",
".",
"convert_aniso",
"(",
"'magic3'",
",",
"rec",
")",
"SpecRecs3",
".",
"append",
"(",
"rec3",
")",
"# write output to 3.0 specimens file",
"pmag",
".",
"magic_write",
"(",
"output_spec_file",
",",
"SpecRecs3",
",",
"'specimens'",
")",
"print",
"(",
"\"specimen data stored in {}\"",
".",
"format",
"(",
"output_spec_file",
")",
")",
"return",
"True",
",",
"output_spec_file",
"else",
":",
"# write output to 2.5 rmag_ files",
"pmag",
".",
"magic_write",
"(",
"rmag_anis",
",",
"RmagSpecRecs",
",",
"'rmag_anisotropy'",
")",
"print",
"(",
"\"specimen tensor elements stored in \"",
",",
"rmag_anis",
")",
"pmag",
".",
"magic_write",
"(",
"rmag_res",
",",
"RmagResRecs",
",",
"'rmag_results'",
")",
"print",
"(",
"\"specimen statistics and eigenparameters stored in \"",
",",
"rmag_res",
")",
"return",
"True",
",",
"rmag_anis"
] |
Converts ATRM data to best-fit tensor (6 elements plus sigma)
Parameters
----------
meas_file : str
input measurement file
dir_path : str
output directory, default "."
input_dir_path : str
input file directory IF different from dir_path, default ""
input_spec_file : str
input specimen file name, default "specimens.txt"
output_spec_file : str
output specimen file name, default "specimens.txt"
data_model_num : number
MagIC data model [2, 3], default 3
Returns
---------
Tuple : (True or False indicating if conversion was sucessful, output file name written)
|
[
"Converts",
"ATRM",
"data",
"to",
"best",
"-",
"fit",
"tensor",
"(",
"6",
"elements",
"plus",
"sigma",
")"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L9836-L10213
|
train
|
Convert ATRM data to best fit tensor
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(0b101100 + 0o4) + '\x6f' + chr(0b101101 + 0o6) + '\x36' + chr(0b110000), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(3579 - 3468) + chr(377 - 323) + '\065', 0b1000), nzTpIcepk0o8(chr(0b11001 + 0o27) + '\x6f' + chr(0b100100 + 0o16) + '\x36' + chr(0b11001 + 0o30), 52285 - 52277), nzTpIcepk0o8(chr(0b0 + 0o60) + chr(111) + chr(49) + chr(48) + chr(0b110110), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(191 - 142) + chr(638 - 587) + '\x35', ord("\x08")), nzTpIcepk0o8(chr(0b101011 + 0o5) + chr(0b110110 + 0o71) + '\062' + chr(0b110000) + '\x37', 0b1000), nzTpIcepk0o8(chr(48) + '\157' + '\x33' + '\x33' + chr(0b101 + 0o57), 6744 - 6736), nzTpIcepk0o8('\060' + chr(111) + '\063' + chr(2148 - 2094) + chr(0b101011 + 0o12), 0b1000), nzTpIcepk0o8(chr(0b110000 + 0o0) + '\157' + chr(0b110011 + 0o2) + '\x33', 11343 - 11335), nzTpIcepk0o8(chr(1840 - 1792) + '\x6f' + chr(0b110011) + chr(0b110001) + chr(0b110111), ord("\x08")), nzTpIcepk0o8(chr(0b100111 + 0o11) + '\157' + '\062' + '\x37' + chr(0b10011 + 0o44), 0b1000), nzTpIcepk0o8(chr(0b10001 + 0o37) + '\x6f' + '\061' + chr(2659 - 2607) + '\x35', ord("\x08")), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(451 - 402) + chr(0b110110) + chr(0b110010), 0b1000), nzTpIcepk0o8(chr(48) + '\x6f' + '\x31' + '\x30' + chr(52), 0o10), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b1110 + 0o44) + chr(0b100100 + 0o21) + chr(51), 0o10), nzTpIcepk0o8('\x30' + chr(0b111101 + 0o62) + '\x33' + chr(55), 0o10), nzTpIcepk0o8('\060' + '\x6f' + chr(0b101100 + 0o5) + '\065', 0o10), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b110010) + '\x30' + chr(1312 - 1264), ord("\x08")), nzTpIcepk0o8(chr(2089 - 2041) + chr(0b1101111) + chr(0b110110), 0o10), nzTpIcepk0o8('\060' + chr(0b1101111) + '\x32' + chr(0b110010) + chr(0b110100), 61196 - 61188), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(50) + chr(0b11 + 0o62) + chr(0b110110), ord("\x08")), nzTpIcepk0o8(chr(48) + '\157' + '\x31' + chr(0b110011) + chr(50), 0b1000), nzTpIcepk0o8(chr(1200 - 1152) + chr(6711 - 6600) + chr(51) + '\x37' + '\062', ord("\x08")), nzTpIcepk0o8(chr(614 - 566) + '\x6f' + chr(0b110011) + chr(55) + '\067', 23646 - 23638), nzTpIcepk0o8(chr(48) + '\x6f' + '\061' + chr(853 - 798) + chr(0b11 + 0o63), 10423 - 10415), nzTpIcepk0o8(chr(0b1000 + 0o50) + '\x6f' + '\x32', 25187 - 25179), nzTpIcepk0o8(chr(0b110000) + chr(5403 - 5292) + chr(0b100000 + 0o21) + chr(53) + '\x36', 0o10), nzTpIcepk0o8(chr(0b0 + 0o60) + '\157' + chr(0b110010) + chr(0b110100) + chr(1150 - 1098), 50904 - 50896), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\x33' + chr(49) + '\062', 36445 - 36437), nzTpIcepk0o8(chr(48) + '\157' + '\067' + '\062', ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(936 - 886) + chr(0b110101 + 0o0) + chr(0b10100 + 0o34), 0b1000), nzTpIcepk0o8(chr(0b101100 + 0o4) + chr(111) + chr(0b110010) + chr(0b101101 + 0o5) + chr(0b110011), ord("\x08")), nzTpIcepk0o8(chr(2080 - 2032) + chr(10580 - 10469) + '\061' + chr(48) + chr(0b0 + 0o64), 8), nzTpIcepk0o8(chr(48) + chr(111) + chr(0b10001 + 0o42) + chr(49) + chr(0b10100 + 0o37), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(3945 - 3834) + '\x32' + '\x31' + '\062', 0b1000), nzTpIcepk0o8(chr(48) + '\x6f' + chr(49) + '\x30' + '\064', 8), nzTpIcepk0o8('\x30' + '\x6f' + chr(49) + chr(53) + chr(724 - 673), 32639 - 32631), nzTpIcepk0o8(chr(1694 - 1646) + chr(0b11110 + 0o121) + chr(0b0 + 0o61) + chr(0b110101 + 0o1) + chr(48), 0o10), nzTpIcepk0o8(chr(0b101001 + 0o7) + chr(0b110010 + 0o75) + '\x33' + '\061' + chr(0b1101 + 0o46), 8), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b11 + 0o60) + chr(0b11101 + 0o30) + '\065', ord("\x08"))][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(251 - 203) + chr(0b1101111) + chr(0b100 + 0o61) + chr(0b111 + 0o51), 0b1000)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xde'), chr(0b11011 + 0o111) + chr(9906 - 9805) + '\x63' + '\x6f' + '\144' + chr(0b11 + 0o142))(chr(0b1011011 + 0o32) + chr(0b1110100) + '\x66' + chr(45) + chr(56)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def wOZUAhVifC7O(rHPU8oONrR4n, qjksZ7GK0xkJ=roI3spqORKae(ES5oEprVxulp(b'\xde'), '\x64' + chr(0b1110 + 0o127) + chr(0b1100011) + '\157' + chr(0b10001 + 0o123) + chr(101))(chr(0b1110101) + chr(10685 - 10569) + chr(102) + chr(0b100 + 0o51) + chr(0b10110 + 0o42)), KADebXAR9grB=roI3spqORKae(ES5oEprVxulp(b''), chr(0b1010101 + 0o17) + chr(560 - 459) + chr(99) + chr(111) + chr(0b1011 + 0o131) + '\x65')(chr(117) + chr(12558 - 12442) + chr(5087 - 4985) + chr(0b1010 + 0o43) + '\x38'), NuVhOQ_qILhv=roI3spqORKae(ES5oEprVxulp(b'\x83E\xd4%4\xea\xb9\x9bX\xe1\xcb\x1d\x06'), chr(0b1100100) + chr(101) + chr(2756 - 2657) + '\157' + chr(0b1100100) + '\x65')(chr(117) + chr(116) + '\x66' + chr(45) + chr(56)), Q0lvVOxRZL7R=roI3spqORKae(ES5oEprVxulp(b'\x83E\xd4%4\xea\xb9\x9bX\xe1\xcb\x1d\x06'), '\144' + chr(2003 - 1902) + chr(0b1100011) + chr(111) + chr(0b101010 + 0o72) + '\145')('\165' + chr(0b1110100) + chr(9922 - 9820) + chr(45) + chr(56)), Z5dKAC9uv0qA=nzTpIcepk0o8('\x30' + chr(111) + chr(51), ord("\x08"))):
(KADebXAR9grB, qjksZ7GK0xkJ) = hUcsWwAd0nE_.fix_directories(KADebXAR9grB, qjksZ7GK0xkJ)
rHPU8oONrR4n = hUcsWwAd0nE_.resolve_file_name(rHPU8oONrR4n, KADebXAR9grB)
_FI7bYukrpin = aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, roI3spqORKae(ES5oEprVxulp(b'\x82X\xd0!\x02\xe6\xb2\x9cX\xa0\xcb\x17\x1d4\xd21y\xf8r'), chr(0b1100100) + chr(8511 - 8410) + '\x63' + '\157' + chr(0b1100100) + chr(101))(chr(4638 - 4521) + chr(0b1110100) + chr(0b111001 + 0o55) + chr(0b100010 + 0o13) + chr(2019 - 1963)))
CGI6vi1yYHgn = aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, roI3spqORKae(ES5oEprVxulp(b'\x82X\xd0!\x02\xf5\xb9\x86^\xa3\xcb\x16\\0\xd3k'), '\x64' + '\145' + '\143' + chr(0b1101111) + chr(100) + '\x65')(chr(0b1110101) + chr(0b1110100) + '\146' + chr(45) + chr(216 - 160)))
NuVhOQ_qILhv = hUcsWwAd0nE_.resolve_file_name(NuVhOQ_qILhv, KADebXAR9grB)
Q0lvVOxRZL7R = hUcsWwAd0nE_.resolve_file_name(Q0lvVOxRZL7R, qjksZ7GK0xkJ)
if Z5dKAC9uv0qA == nzTpIcepk0o8('\060' + chr(111) + chr(0b110011), 8):
wx5Y9SFJEaEM = []
(SGZ3lfaNPj45, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(rHPU8oONrR4n)
if mWsDpG3yRGLz != roI3spqORKae(ES5oEprVxulp(b'\x9dP\xd05(\xf5\xb9\x98N\xa1\xcb\x16'), chr(100) + '\145' + chr(0b1001101 + 0o26) + '\x6f' + chr(0b1100001 + 0o3) + chr(0b1000101 + 0o40))(chr(117) + chr(0b1110100) + chr(3280 - 3178) + chr(0b10111 + 0o26) + '\x38'):
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'\xddp\x9cf&\xfa\xfc\x9cX\xef\xd1\n\x06d\xca?{\xe1j\xfd\xcaz\x97\x9a\x1fq\x1b\xd6\xafW\xcd\xfd0\xb8\xaa"\x02\x1c\xae\xc1\xd0N\xcc'), chr(1112 - 1012) + chr(0b1100101) + '\143' + '\157' + chr(0b10011 + 0o121) + chr(2079 - 1978))('\165' + chr(0b1110100) + '\x66' + '\055' + chr(2658 - 2602)), roI3spqORKae(ES5oEprVxulp(b'\x81\x06\x82\r\x1a\xb4\xba\x9az\x90\xfc/'), chr(9186 - 9086) + '\x65' + chr(0b1100001 + 0o2) + '\x6f' + chr(100) + '\145')('\x75' + '\x74' + '\146' + chr(0b101101) + '\x38'))(rHPU8oONrR4n, mWsDpG3yRGLz))
return nzTpIcepk0o8('\060' + '\x6f' + chr(0b110000), ord("\x08"))
for FKO_XxLfWbYt in SGZ3lfaNPj45:
UmBVejLKozng = ntOEbtdxWLl2.meas_magic3_2_magic2_map
roI3spqORKae(wx5Y9SFJEaEM, roI3spqORKae(ES5oEprVxulp(b'\xb8a\xe2r%\xe0\x9b\x9aA\xa0\xeaP'), '\144' + chr(0b101101 + 0o70) + chr(3347 - 3248) + '\157' + '\x64' + '\x65')(chr(0b100011 + 0o122) + chr(0b101011 + 0o111) + chr(0b1100110) + chr(0b101101) + chr(714 - 658)))(roI3spqORKae(ntOEbtdxWLl2, roI3spqORKae(ES5oEprVxulp(b'\x9cD\x88\x0bk\xd5\x85\xb8O\xb6\xebT'), chr(5942 - 5842) + chr(5100 - 4999) + chr(0b100101 + 0o76) + chr(111) + chr(0b1011010 + 0o12) + chr(6684 - 6583))(chr(1449 - 1332) + chr(0b1110100) + '\x66' + '\x2d' + chr(0b101010 + 0o16)))(FKO_XxLfWbYt, UmBVejLKozng))
(ILal1imTffLd, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(NuVhOQ_qILhv)
if mWsDpG3yRGLz != roI3spqORKae(ES5oEprVxulp(b'\x83E\xd4%4\xea\xb9\x9bX'), chr(100) + '\x65' + '\143' + chr(6547 - 6436) + chr(0b1011110 + 0o6) + '\145')(chr(0b1110101 + 0o0) + '\164' + '\x66' + chr(45) + chr(56)):
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'\xddb\x9cf&\xfa\xfc\x9cX\xef\xd1\n\x06d\xca?{\xe1j\xfd\xcaz\x89\x8f\x1ba\x07\xc9\xafT\xdb\xb3"\xa2\xe6!K'), chr(100) + '\x65' + chr(5780 - 5681) + '\157' + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + '\x74' + '\146' + chr(45) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\x81\x06\x82\r\x1a\xb4\xba\x9az\x90\xfc/'), chr(0b1100100) + '\x65' + '\x63' + chr(0b10100 + 0o133) + chr(8779 - 8679) + chr(6803 - 6702))(chr(117) + '\x74' + chr(0b11010 + 0o114) + chr(0b101101) + chr(382 - 326)))(NuVhOQ_qILhv))
ILal1imTffLd = []
GJJpQKzIcFaR = []
for FKO_XxLfWbYt in ILal1imTffLd:
M5oZu_nx8cYR = ntOEbtdxWLl2.spec_magic3_2_magic2_map
roI3spqORKae(GJJpQKzIcFaR, roI3spqORKae(ES5oEprVxulp(b'\xb8a\xe2r%\xe0\x9b\x9aA\xa0\xeaP'), chr(197 - 97) + chr(0b1010011 + 0o22) + chr(0b1100011) + '\157' + '\144' + chr(9734 - 9633))(chr(0b1110101) + '\164' + chr(0b1011011 + 0o13) + chr(0b101101) + chr(0b1001 + 0o57)))(roI3spqORKae(ntOEbtdxWLl2, roI3spqORKae(ES5oEprVxulp(b'\x9cD\x88\x0bk\xd5\x85\xb8O\xb6\xebT'), '\144' + chr(5243 - 5142) + chr(833 - 734) + chr(7752 - 7641) + chr(0b1100100) + '\145')(chr(117) + '\164' + chr(102) + chr(0b1000 + 0o45) + chr(0b101111 + 0o11)))(FKO_XxLfWbYt, M5oZu_nx8cYR))
else:
(wx5Y9SFJEaEM, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(rHPU8oONrR4n)
if mWsDpG3yRGLz != roI3spqORKae(ES5oEprVxulp(b'\x9dT\xd6/>\xd8\xb1\x90J\xbc\xca\x17\x17)\xceqy\xf3'), chr(0b1100100) + chr(101) + chr(0b1100001 + 0o2) + chr(0b110111 + 0o70) + '\x64' + chr(0b111100 + 0o51))('\x75' + chr(0b1110100) + chr(102) + chr(45) + '\070'):
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'\xddp\x9cf&\xfa\xfc\x9cX\xef\xd6\x16R*\xc4k-\xe1&\xe2\xcf6\x93\x9b^o\x0f\xc3\xa3Y\xf7\xfe!\xaa\xf91\x19\x15\xa6\x88\x9eA\xc2f;\xee\xb0\x90\x0b'), chr(0b1000011 + 0o41) + chr(0b1100101) + chr(4231 - 4132) + chr(6778 - 6667) + chr(0b1100100) + chr(474 - 373))(chr(0b1001011 + 0o52) + '\x74' + '\x66' + '\055' + chr(207 - 151)), roI3spqORKae(ES5oEprVxulp(b'\x81\x06\x82\r\x1a\xb4\xba\x9az\x90\xfc/'), '\x64' + chr(1622 - 1521) + '\x63' + chr(111) + chr(9824 - 9724) + '\x65')(chr(0b110111 + 0o76) + chr(0b1011001 + 0o33) + chr(8406 - 8304) + '\055' + '\070'))(mWsDpG3yRGLz))
return (nzTpIcepk0o8(chr(0b110000) + chr(0b1010111 + 0o30) + chr(0b1101 + 0o43), 8), roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'\x8bH\x91/.\xa7\xb2\x9a_\xef\xdeE\x04%\xc7vi\xa0k\xf5\xc93\x99\xa0\x13g\x0f\xd7\xbfH\xcd\xfe!\xa5\xfe7K\x16\xa2\x81\x95\x19\x91= '), '\144' + chr(101) + chr(99) + '\x6f' + '\x64' + chr(0b1010110 + 0o17))('\x75' + '\164' + chr(0b1100110) + '\055' + chr(2945 - 2889)), roI3spqORKae(ES5oEprVxulp(b'\x81\x06\x82\r\x1a\xb4\xba\x9az\x90\xfc/'), '\x64' + chr(0b1100101) + chr(99) + chr(0b1010110 + 0o31) + chr(0b111111 + 0o45) + '\x65')('\x75' + chr(986 - 870) + chr(0b1000 + 0o136) + '\x2d' + chr(0b101010 + 0o16)))(rHPU8oONrR4n, mWsDpG3yRGLz))
wx5Y9SFJEaEM = hUcsWwAd0nE_.get_dictitem(wx5Y9SFJEaEM, roI3spqORKae(ES5oEprVxulp(b"\x9dT\xd6/>\xd8\xb1\x90_\xa7\xd0\x01-'\xc4{h\xf3"), chr(0b101000 + 0o74) + chr(0b1100101) + chr(5921 - 5822) + chr(111) + '\144' + chr(0b1100101))(chr(0b1110101) + '\x74' + chr(102) + chr(1193 - 1148) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xbce\x9c\x07\x13\xaa\x88\xa7f'), chr(0b1010 + 0o132) + chr(0b1100101) + '\x63' + chr(6853 - 6742) + chr(3907 - 3807) + chr(101))('\165' + chr(0b10001 + 0o143) + chr(0b10101 + 0o121) + chr(0b10000 + 0o35) + chr(0b11010 + 0o36)), roI3spqORKae(ES5oEprVxulp(b'\x98T\xc2'), '\x64' + chr(0b1100001 + 0o4) + chr(0b1001101 + 0o26) + '\x6f' + chr(9198 - 9098) + chr(101))('\x75' + chr(0b1110100) + chr(0b1100110) + chr(45) + chr(56)))
if not ftfygxgFas5X(wx5Y9SFJEaEM):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xddp\x9cf\x13\xe8\xfc\x98N\xae\xcc\x10\x00!\xc6zc\xf4&\xe6\xcb9\x95\x8d\x1aqN\xc2\xa5O\xc6\xf7d\xbc\xe30\x03P\xa8\x82\x94P\x91\n\r\xaa\x9d\xbb\x06\x9b\xed('), chr(100) + chr(0b1100101) + chr(99) + chr(12064 - 11953) + chr(100) + chr(0b11001 + 0o114))('\165' + chr(11182 - 11066) + '\x66' + chr(0b101101) + chr(0b10100 + 0o44)))
return (nzTpIcepk0o8(chr(0b100101 + 0o13) + chr(111) + '\060', 8), roI3spqORKae(ES5oEprVxulp(b'\xbeZ\x91+8\xe6\xaf\x80Y\xaa\xd2\x00\x1c0\x8bmh\xe3i\xe6\xca)\xda\x99\x11w\x00\xc0\xeaM\xc1\xe7,\xeb\xe9+\x0f\x15\xeb\xa1\xa0\x18\xf0\x08p\xd3\x8e\xb8'), '\x64' + '\x65' + '\x63' + chr(0b1010010 + 0o35) + chr(5341 - 5241) + chr(10139 - 10038))(chr(0b1 + 0o164) + chr(116) + chr(0b1100110) + chr(846 - 801) + chr(1484 - 1428)))
rmNjDKitjrCU = []
for FKO_XxLfWbYt in wx5Y9SFJEaEM:
L66BkZPPV93j = FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\x95G\xee5-\xe2\xbf\x9cF\xaa\xd1:\x1c%\xc6z'), '\x64' + chr(0b1100101) + chr(0b11011 + 0o110) + chr(8780 - 8669) + chr(0b1100100) + chr(4110 - 4009))('\165' + chr(0b111001 + 0o73) + chr(102) + chr(0b100110 + 0o7) + chr(1851 - 1795))]
if L66BkZPPV93j not in rmNjDKitjrCU:
roI3spqORKae(rmNjDKitjrCU, roI3spqORKae(ES5oEprVxulp(b'\xb8a\xe2r%\xe0\x9b\x9aA\xa0\xeaP'), '\x64' + chr(101) + chr(99) + chr(0b1101100 + 0o3) + chr(0b1001111 + 0o25) + '\145')('\165' + '\164' + chr(0b110000 + 0o66) + chr(45) + chr(1524 - 1468)))(L66BkZPPV93j)
Wbavx5JmRXKA = V3OlOVg98A85(rmNjDKitjrCU)
(EJPYhrC8WoVb, z5_S_hXR5nMu) = (nzTpIcepk0o8(chr(0b101100 + 0o4) + chr(0b1101111) + chr(102 - 54), 8), nzTpIcepk0o8(chr(1778 - 1730) + '\157' + chr(54), 8))
(UhLZcIe6EnAr, iN09q0sofmCO) = ([], [])
(ats0aw_IRz86, SDAiwqKFQXD3) = ([], [])
while EJPYhrC8WoVb < ftfygxgFas5X(Wbavx5JmRXKA):
qUaZvGk7rxFw = nzTpIcepk0o8('\x30' + chr(111) + chr(0b11000 + 0o30), 8)
PmE5_h409JAA = Wbavx5JmRXKA[EJPYhrC8WoVb]
tn6IBqGli99m = {}
osajUqbp3ArQ = {}
if Z5dKAC9uv0qA == nzTpIcepk0o8(chr(487 - 439) + chr(111) + chr(0b110001 + 0o2), 8):
if GJJpQKzIcFaR:
try:
osajUqbp3ArQ = hUcsWwAd0nE_.get_dictitem(GJJpQKzIcFaR, roI3spqORKae(ES5oEprVxulp(b'\x95G\xee5-\xe2\xbf\x9cF\xaa\xd1:\x1c%\xc6z'), '\x64' + '\145' + chr(0b1011101 + 0o6) + '\157' + chr(9855 - 9755) + chr(101))(chr(13601 - 13484) + chr(0b1110100) + chr(0b1100110) + '\x2d' + chr(56)), PmE5_h409JAA, roI3spqORKae(ES5oEprVxulp(b'\xa4'), chr(100) + chr(0b110001 + 0o64) + chr(99) + chr(111) + '\144' + '\145')(chr(7581 - 7464) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(0b101111 + 0o11)))[nzTpIcepk0o8('\x30' + '\157' + chr(0b110000), 8)]
tn6IBqGli99m = hUcsWwAd0nE_.get_dictitem(GJJpQKzIcFaR, roI3spqORKae(ES5oEprVxulp(b'\x95G\xee5-\xe2\xbf\x9cF\xaa\xd1:\x1c%\xc6z'), chr(6173 - 6073) + chr(0b1100101) + chr(0b10001 + 0o122) + '\x6f' + '\x64' + chr(4723 - 4622))(chr(0b1110101) + chr(0b1101011 + 0o11) + chr(102) + '\x2d' + chr(1994 - 1938)), PmE5_h409JAA, roI3spqORKae(ES5oEprVxulp(b'\xa4'), '\144' + chr(101) + chr(7271 - 7172) + chr(111) + '\x64' + '\x65')('\165' + chr(116) + chr(7264 - 7162) + '\x2d' + chr(0b111000)))[nzTpIcepk0o8('\060' + '\x6f' + chr(48), 8)]
except ah0DLMBSEU5j:
pass
(nEjcWitpotYE, mxhyDqTAMpMC) = ([], [])
GAGkgZwp3WGn = []
bb05u8Ti2RVH = roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(0b1100101) + chr(99) + chr(0b100110 + 0o111) + chr(0b10000 + 0o124) + chr(101))('\165' + chr(9396 - 9280) + chr(102) + '\055' + chr(56))
FfKOThdpoDTb = hUcsWwAd0nE_.get_dictitem(wx5Y9SFJEaEM, roI3spqORKae(ES5oEprVxulp(b'\x95G\xee5-\xe2\xbf\x9cF\xaa\xd1:\x1c%\xc6z'), '\x64' + '\145' + chr(0b1011010 + 0o11) + chr(9816 - 9705) + '\144' + chr(0b1010001 + 0o24))(chr(0b1110101) + chr(0b1001111 + 0o45) + chr(102) + chr(0b111 + 0o46) + '\070'), PmE5_h409JAA, roI3spqORKae(ES5oEprVxulp(b'\xa4'), chr(5728 - 5628) + chr(101) + chr(0b1011101 + 0o6) + '\x6f' + chr(100) + chr(0b1100101))(chr(117) + '\x74' + chr(4318 - 4216) + chr(675 - 630) + '\070'))
if ftfygxgFas5X(FfKOThdpoDTb) > nzTpIcepk0o8(chr(0b110000) + chr(111) + '\x35', ord("\x08")):
tn6IBqGli99m[roI3spqORKae(ES5oEprVxulp(b'\x82X\xd0!\x02\xe6\xb2\x9cX\xa0\xcb\x17\x1d4\xd2@c\xe1k\xf1'), '\144' + chr(101) + chr(3069 - 2970) + chr(0b1101111) + chr(0b1101 + 0o127) + chr(0b1100101))(chr(0b1110101) + chr(3111 - 2995) + chr(0b1100110) + chr(1758 - 1713) + '\x38')] = FfKOThdpoDTb[nzTpIcepk0o8(chr(0b11000 + 0o30) + chr(0b101111 + 0o100) + chr(48), 8)][roI3spqORKae(ES5oEprVxulp(b'\x95G\xee5-\xe2\xbf\x9cF\xaa\xd1:\x1c%\xc6z'), chr(0b1100100) + chr(0b11001 + 0o114) + chr(0b1100011) + chr(0b111111 + 0o60) + chr(0b1100 + 0o130) + chr(7263 - 7162))('\165' + '\164' + chr(102) + chr(0b101101) + chr(0b111000))]
tn6IBqGli99m[roI3spqORKae(ES5oEprVxulp(b'\x95G\xee*2\xe4\xbd\x81B\xa0\xd1:\x1c%\xc6z'), chr(0b1100100) + chr(0b11100 + 0o111) + '\x63' + '\x6f' + chr(0b1100100) + '\145')(chr(0b1110101) + chr(0b1101 + 0o147) + chr(0b1100110) + '\055' + chr(56))] = FfKOThdpoDTb[nzTpIcepk0o8(chr(0b100010 + 0o16) + chr(597 - 486) + chr(48), 8)].GUKetu4xaGsJ(roI3spqORKae(ES5oEprVxulp(b'\x95G\xee*2\xe4\xbd\x81B\xa0\xd1:\x1c%\xc6z'), chr(2302 - 2202) + chr(0b1100101) + chr(99) + chr(111) + chr(0b1001101 + 0o27) + '\145')(chr(0b1110101) + chr(0b1101111 + 0o5) + chr(0b110010 + 0o64) + '\x2d' + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(0b1100101) + chr(0b110000 + 0o63) + chr(0b1101111) + chr(0b1100100) + chr(0b1001111 + 0o26))(chr(0b1110101) + '\164' + chr(102) + chr(562 - 517) + chr(0b111000)))
tn6IBqGli99m[roI3spqORKae(ES5oEprVxulp(b'\x95G\xee5-\xe2\xbf\x9cF\xaa\xd1:\x1c%\xc6z'), '\144' + chr(101) + '\143' + chr(111) + chr(100) + '\145')(chr(117) + '\164' + chr(8715 - 8613) + chr(0b11000 + 0o25) + chr(0b111 + 0o61))] = FfKOThdpoDTb[nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b110000), 8)][roI3spqORKae(ES5oEprVxulp(b'\x95G\xee5-\xe2\xbf\x9cF\xaa\xd1:\x1c%\xc6z'), chr(0b1100100) + chr(5926 - 5825) + '\143' + chr(0b100001 + 0o116) + chr(3285 - 3185) + chr(101))('\x75' + '\x74' + '\146' + '\x2d' + '\x38')]
if roI3spqORKae(ES5oEprVxulp(b'\x95G\xee5<\xea\xac\x99N\x90\xd1\x04\x1f!'), chr(0b1100100) + '\x65' + chr(0b11111 + 0o104) + chr(0b110110 + 0o71) + chr(100) + chr(0b1 + 0o144))('\x75' + chr(0b1110100) + chr(0b1100110) + chr(45) + chr(0b10111 + 0o41)) not in tn6IBqGli99m:
tn6IBqGli99m[roI3spqORKae(ES5oEprVxulp(b'\x95G\xee5<\xea\xac\x99N\x90\xd1\x04\x1f!'), '\x64' + chr(0b101 + 0o140) + chr(0b111111 + 0o44) + chr(0b1101111) + '\144' + chr(2309 - 2208))(chr(0b1011010 + 0o33) + chr(0b1110100) + '\x66' + chr(686 - 641) + '\x38')] = FfKOThdpoDTb[nzTpIcepk0o8(chr(2275 - 2227) + chr(0b1101111) + chr(165 - 117), 8)].GUKetu4xaGsJ(roI3spqORKae(ES5oEprVxulp(b'\x95G\xee5<\xea\xac\x99N\x90\xd1\x04\x1f!'), chr(0b1100100) + chr(0b1001001 + 0o34) + '\x63' + chr(0b1101111) + '\144' + '\145')(chr(0b1110101) + chr(116) + chr(0b1010010 + 0o24) + '\x2d' + chr(2821 - 2765)), roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(0b1100101) + chr(99) + chr(111) + chr(0b1100100) + chr(101))(chr(0b1110101) + chr(11052 - 10936) + '\x66' + '\x2d' + '\x38'))
tn6IBqGli99m[roI3spqORKae(ES5oEprVxulp(b'\x95G\xee54\xf3\xb9\xaaE\xae\xd2\x00'), chr(0b11 + 0o141) + '\145' + '\143' + chr(0b1100011 + 0o14) + '\x64' + chr(0b1100101))(chr(0b1100011 + 0o22) + chr(0b1110100) + chr(0b110110 + 0o60) + '\x2d' + '\070')] = FfKOThdpoDTb[nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\060', 8)].GUKetu4xaGsJ(roI3spqORKae(ES5oEprVxulp(b'\x95G\xee54\xf3\xb9\xaaE\xae\xd2\x00'), chr(100) + chr(0b10010 + 0o123) + chr(0b111100 + 0o47) + chr(5743 - 5632) + chr(100) + chr(0b1100101))(chr(117) + '\164' + chr(102) + chr(0b101101 + 0o0) + chr(386 - 330)), roI3spqORKae(ES5oEprVxulp(b''), chr(0b110000 + 0o64) + chr(7001 - 6900) + chr(8097 - 7998) + '\x6f' + chr(6984 - 6884) + chr(101))(chr(0b1110101) + chr(116) + chr(0b111100 + 0o52) + chr(45) + '\070'))
tn6IBqGli99m[roI3spqORKae(ES5oEprVxulp(b'\x9dT\xd6/>\xd8\xb9\x8d[\xaa\xcd\x0c\x1f!\xc5kR\xeeg\xf9\xcb)'), chr(875 - 775) + chr(101) + chr(1287 - 1188) + '\x6f' + '\144' + chr(4541 - 4440))(chr(117) + chr(7870 - 7754) + chr(0b1100110) + '\x2d' + chr(1497 - 1441))] = tn6IBqGli99m[roI3spqORKae(ES5oEprVxulp(b'\x82X\xd0!\x02\xe6\xb2\x9cX\xa0\xcb\x17\x1d4\xd2@c\xe1k\xf1'), chr(0b1100100) + chr(0b1100101) + '\143' + chr(4625 - 4514) + '\x64' + chr(121 - 20))('\165' + '\164' + '\x66' + '\x2d' + chr(0b10100 + 0o44))] + roI3spqORKae(ES5oEprVxulp(b'\xcat\xe5\x14\x10'), chr(854 - 754) + chr(101) + chr(0b1100011) + chr(111) + '\x64' + '\145')(chr(0b1110101) + chr(116) + chr(0b1100110) + '\x2d' + chr(2932 - 2876))
tn6IBqGli99m[roI3spqORKae(ES5oEprVxulp(b'\x95G\xee%4\xf3\xbd\x81B\xa0\xd1:\x1c%\xc6z~'), chr(5157 - 5057) + chr(101) + '\143' + chr(0b1101111) + '\144' + chr(101))('\165' + '\164' + chr(102) + '\055' + '\070')] = roI3spqORKae(ES5oEprVxulp(b'\xa4]\xd85}\xf4\xa8\x80O\xb6'), '\144' + '\x65' + chr(6885 - 6786) + chr(111) + chr(100) + chr(0b1100101))('\x75' + chr(0b1110100) + chr(907 - 805) + '\x2d' + chr(0b111000))
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x82X\xd0!\x02\xf5\xb9\x86^\xa3\xcb:\x1c%\xc6z'), chr(100) + '\x65' + chr(0b100111 + 0o74) + chr(10930 - 10819) + chr(0b1011100 + 0o10) + '\145')('\165' + chr(116) + chr(1285 - 1183) + chr(0b101101) + '\x38')] = FfKOThdpoDTb[nzTpIcepk0o8(chr(0b110000) + chr(0b1100010 + 0o15) + chr(0b101111 + 0o1), 8)][roI3spqORKae(ES5oEprVxulp(b'\x95G\xee5-\xe2\xbf\x9cF\xaa\xd1:\x1c%\xc6z'), chr(0b11000 + 0o114) + chr(0b1100000 + 0o5) + '\143' + chr(7101 - 6990) + chr(0b1100100) + '\x65')(chr(117) + chr(5864 - 5748) + '\146' + chr(1265 - 1220) + '\x38')] + roI3spqORKae(ES5oEprVxulp(b'\xcat\xe5\x14\x10'), chr(100) + chr(101) + chr(99) + chr(111) + chr(0b1100100) + chr(0b111101 + 0o50))(chr(0b1110101) + chr(9305 - 9189) + chr(0b1011110 + 0o10) + chr(0b101001 + 0o4) + chr(0b111000))
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x95G\xee*2\xe4\xbd\x81B\xa0\xd1:\x1c%\xc6z~'), chr(3578 - 3478) + chr(0b100110 + 0o77) + chr(99) + chr(0b1010001 + 0o36) + '\x64' + chr(0b1100101))('\x75' + '\x74' + chr(0b1100110) + chr(0b101101) + chr(0b110111 + 0o1))] = FfKOThdpoDTb[nzTpIcepk0o8(chr(1952 - 1904) + chr(111) + '\x30', 8)].GUKetu4xaGsJ(roI3spqORKae(ES5oEprVxulp(b'\x95G\xee*2\xe4\xbd\x81B\xa0\xd1:\x1c%\xc6z~'), chr(0b1100100) + chr(101) + chr(0b1100011) + '\x6f' + '\144' + chr(0b10111 + 0o116))(chr(0b1111 + 0o146) + '\164' + chr(0b10010 + 0o124) + '\x2d' + chr(0b110100 + 0o4)), roI3spqORKae(ES5oEprVxulp(b''), chr(503 - 403) + chr(0b1000100 + 0o41) + chr(6481 - 6382) + chr(0b1101111) + chr(0b1100100) + '\x65')(chr(117) + chr(0b101101 + 0o107) + chr(102) + chr(0b101101) + chr(2359 - 2303)))
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x95G\xee5-\xe2\xbf\x9cF\xaa\xd1:\x1c%\xc6z~'), chr(100) + chr(0b1100101) + chr(6380 - 6281) + chr(0b1101111) + chr(100) + chr(101))(chr(4585 - 4468) + '\x74' + chr(3894 - 3792) + '\055' + chr(0b111000))] = FfKOThdpoDTb[nzTpIcepk0o8(chr(1785 - 1737) + chr(0b1110 + 0o141) + chr(48), 8)][roI3spqORKae(ES5oEprVxulp(b'\x95G\xee5-\xe2\xbf\x9cF\xaa\xd1:\x1c%\xc6z'), chr(100) + chr(0b1010100 + 0o21) + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(0b1100101))('\x75' + chr(116) + '\x66' + chr(45) + chr(2574 - 2518))]
if Z5dKAC9uv0qA == nzTpIcepk0o8(chr(0b101111 + 0o1) + chr(0b1101111) + '\062', 8):
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x95G\xee5<\xea\xac\x99N\x90\xd1\x04\x1f!\xd8'), chr(100) + chr(8959 - 8858) + chr(99) + '\x6f' + chr(0b1100011 + 0o1) + chr(0b1100101))(chr(0b1110101) + '\x74' + chr(0b1000110 + 0o40) + chr(1712 - 1667) + '\070')] = FfKOThdpoDTb[nzTpIcepk0o8(chr(1458 - 1410) + chr(0b1101111) + chr(48), 8)].GUKetu4xaGsJ(roI3spqORKae(ES5oEprVxulp(b'\x95G\xee5<\xea\xac\x99N\x90\xd1\x04\x1f!'), '\x64' + chr(4062 - 3961) + '\x63' + '\157' + '\144' + chr(0b101001 + 0o74))(chr(7594 - 7477) + '\164' + '\146' + chr(1693 - 1648) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b''), chr(100) + '\x65' + '\143' + chr(0b1011111 + 0o20) + '\x64' + '\145')('\165' + chr(0b10 + 0o162) + '\x66' + chr(45) + chr(56)))
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x95G\xee54\xf3\xb9\xaaE\xae\xd2\x00\x01'), chr(0b101000 + 0o74) + chr(299 - 198) + '\x63' + chr(0b110101 + 0o72) + '\x64' + '\145')('\x75' + chr(116) + chr(0b1100100 + 0o2) + chr(45) + '\070')] = FfKOThdpoDTb[nzTpIcepk0o8(chr(1843 - 1795) + chr(111) + chr(0b100111 + 0o11), 8)].GUKetu4xaGsJ(roI3spqORKae(ES5oEprVxulp(b'\x95G\xee54\xf3\xb9\xaaE\xae\xd2\x00'), chr(100) + '\145' + chr(3534 - 3435) + chr(0b1100010 + 0o15) + '\144' + '\x65')(chr(6309 - 6192) + '\x74' + '\146' + '\055' + chr(56)), roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(0b1100000 + 0o5) + chr(99) + '\x6f' + '\x64' + chr(2630 - 2529))(chr(9288 - 9171) + chr(0b1110100) + chr(102) + chr(0b11 + 0o52) + chr(56)))
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x9dT\xd6/>\xd8\xb9\x8d[\xaa\xcd\x0c\x1f!\xc5kR\xeeg\xf9\xcb)'), chr(2200 - 2100) + chr(0b1100101) + chr(0b101010 + 0o71) + chr(0b111000 + 0o67) + '\x64' + '\x65')(chr(0b1010010 + 0o43) + chr(0b0 + 0o164) + chr(6321 - 6219) + '\x2d' + chr(0b111000))] = tn6IBqGli99m[roI3spqORKae(ES5oEprVxulp(b'\x82X\xd0!\x02\xe6\xb2\x9cX\xa0\xcb\x17\x1d4\xd2@c\xe1k\xf1'), '\x64' + '\x65' + chr(0b101010 + 0o71) + chr(0b1 + 0o156) + chr(3548 - 3448) + chr(0b1100010 + 0o3))(chr(117) + '\164' + '\146' + '\x2d' + chr(0b110011 + 0o5))] + roI3spqORKae(ES5oEprVxulp(b'\xcat\xe5\x14\x10'), chr(0b1100100) + '\x65' + '\143' + '\x6f' + chr(7854 - 7754) + '\145')('\x75' + chr(0b1110100) + '\x66' + '\x2d' + '\x38')
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x95G\xee%4\xf3\xbd\x81B\xa0\xd1:\x1c%\xc6z~'), chr(0b1100100) + chr(7966 - 7865) + chr(0b11010 + 0o111) + '\x6f' + chr(0b110001 + 0o63) + '\x65')(chr(0b1011000 + 0o35) + chr(1387 - 1271) + chr(1918 - 1816) + '\x2d' + chr(0b0 + 0o70))] = roI3spqORKae(ES5oEprVxulp(b'\xa4]\xd85}\xf4\xa8\x80O\xb6'), chr(0b1001000 + 0o34) + chr(0b100110 + 0o77) + '\143' + '\157' + chr(1391 - 1291) + chr(0b1100101))('\x75' + chr(12586 - 12470) + '\x66' + chr(45) + '\x38')
tn6IBqGli99m[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x11\x0b4\xce'), chr(100) + '\x65' + '\143' + chr(111) + chr(0b101 + 0o137) + '\x65')(chr(0b1110101) + chr(2779 - 2663) + chr(0b1011111 + 0o7) + chr(0b100010 + 0o13) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\xb1a\xe3\x0b'), chr(100) + '\x65' + chr(958 - 859) + chr(0b1100 + 0o143) + chr(100) + chr(101))(chr(0b11001 + 0o134) + chr(0b1001101 + 0o47) + chr(102) + '\x2d' + chr(56))
if roI3spqORKae(ES5oEprVxulp(b'\x9dT\xd6/>\xd8\xb5\x9bX\xbb\xcd\x10\x1f!\xc5kR\xe3i\xf0\xcb)'), chr(100) + chr(8582 - 8481) + chr(99) + '\157' + chr(0b1100100) + chr(0b1100101))(chr(117) + '\164' + chr(102) + '\x2d' + '\070') in H4NoA26ON7iG(roI3spqORKae(FfKOThdpoDTb[nzTpIcepk0o8('\x30' + '\157' + chr(48), 8)], roI3spqORKae(ES5oEprVxulp(b'\x9bP\xc85'), chr(100) + chr(101) + chr(0b1100011) + '\x6f' + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + '\x74' + chr(0b11011 + 0o113) + chr(45) + chr(1905 - 1849)))()):
tn6IBqGli99m[roI3spqORKae(ES5oEprVxulp(b'\x9dT\xd6/>\xd8\xb5\x9bX\xbb\xcd\x10\x1f!\xc5kR\xe3i\xf0\xcb)'), chr(0b1100100) + chr(5886 - 5785) + '\x63' + chr(111) + chr(0b1000111 + 0o35) + '\145')('\165' + chr(116) + chr(2102 - 2000) + '\055' + chr(928 - 872))] = FfKOThdpoDTb[nzTpIcepk0o8(chr(48) + chr(1290 - 1179) + chr(0b1010 + 0o46), 8)][roI3spqORKae(ES5oEprVxulp(b'\x9dT\xd6/>\xd8\xb5\x9bX\xbb\xcd\x10\x1f!\xc5kR\xe3i\xf0\xcb)'), chr(0b1000101 + 0o37) + chr(0b100001 + 0o104) + chr(99) + chr(9651 - 9540) + '\144' + chr(0b1100101))(chr(8507 - 8390) + chr(0b1010001 + 0o43) + chr(0b11000 + 0o116) + '\055' + '\070')]
else:
tn6IBqGli99m[roI3spqORKae(ES5oEprVxulp(b'\x9dT\xd6/>\xd8\xb5\x9bX\xbb\xcd\x10\x1f!\xc5kR\xe3i\xf0\xcb)'), chr(0b1100100) + '\x65' + chr(5225 - 5126) + chr(0b1101111) + '\x64' + chr(0b11 + 0o142))('\x75' + '\x74' + chr(0b1100110) + '\055' + chr(56))] = roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(0b1100101) + '\x63' + '\x6f' + chr(7847 - 7747) + '\x65')(chr(5053 - 4936) + chr(0b1110100) + '\146' + '\x2d' + chr(476 - 420))
tn6IBqGli99m[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x01\x177\xc8md\xf0r\xfd\xc14'), chr(0b1100100) + chr(0b1100101) + '\143' + chr(0b111100 + 0o63) + chr(100) + '\145')(chr(0b10011 + 0o142) + '\164' + chr(102) + chr(259 - 214) + chr(56))] = roI3spqORKae(ES5oEprVxulp(b"\xb8P\xc92}\xf4\xa8\x94_\xa6\xcc\x11\x1b'\xd8?l\xe4g\xe4\xda?\x9e\xdf\nmN\xe5\x9eh\xe5"), chr(0b10100 + 0o120) + '\x65' + chr(0b1000010 + 0o41) + '\x6f' + chr(2103 - 2003) + chr(0b1100101))('\x75' + chr(0b111 + 0o155) + '\146' + chr(0b101011 + 0o2) + chr(56))
for FKO_XxLfWbYt in FfKOThdpoDTb:
I810oeGL0u1g = FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b"\x9dT\xd6/>\xd8\xb1\x90_\xa7\xd0\x01-'\xc4{h\xf3"), '\x64' + '\145' + chr(9022 - 8923) + chr(0b1101111) + chr(0b1100100) + '\145')('\165' + '\164' + '\146' + '\055' + '\x38')].strip().LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\xca'), chr(100) + chr(101) + chr(99) + '\157' + chr(747 - 647) + chr(187 - 86))(chr(117) + chr(5913 - 5797) + chr(0b1100110) + chr(0b101101) + chr(0b111000)))
Ipbck45zA0PF = []
roI3spqORKae(Ipbck45zA0PF, roI3spqORKae(ES5oEprVxulp(b'\xb8a\xe2r%\xe0\x9b\x9aA\xa0\xeaP'), chr(100) + chr(101) + chr(5566 - 5467) + chr(0b1101111) + chr(100) + '\x65')(chr(0b1110101) + chr(116) + '\x66' + '\055' + '\x38'))(jLW6pRf2DSRk(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\x9dP\xd05(\xf5\xb9\x98N\xa1\xcb:\x16!\xc8'), '\x64' + chr(101) + '\x63' + '\x6f' + '\x64' + chr(101))('\165' + chr(0b1110100) + chr(102) + chr(45) + '\070')]))
roI3spqORKae(Ipbck45zA0PF, roI3spqORKae(ES5oEprVxulp(b'\xb8a\xe2r%\xe0\x9b\x9aA\xa0\xeaP'), '\144' + chr(0b11111 + 0o106) + chr(99) + '\157' + '\x64' + chr(8418 - 8317))(chr(0b101100 + 0o111) + chr(0b1110100) + chr(0b101 + 0o141) + chr(0b10011 + 0o32) + chr(488 - 432)))(jLW6pRf2DSRk(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\x9dP\xd05(\xf5\xb9\x98N\xa1\xcb:\x1b*\xc8'), '\144' + '\145' + '\x63' + '\x6f' + chr(1323 - 1223) + chr(3475 - 3374))(chr(117) + chr(13105 - 12989) + chr(0b10011 + 0o123) + '\055' + chr(0b111000))]))
roI3spqORKae(Ipbck45zA0PF, roI3spqORKae(ES5oEprVxulp(b'\xb8a\xe2r%\xe0\x9b\x9aA\xa0\xeaP'), chr(100) + '\x65' + chr(0b1100011) + '\157' + chr(0b1100100) + '\x65')(chr(6028 - 5911) + chr(396 - 280) + chr(0b110000 + 0o66) + '\055' + chr(2321 - 2265)))(jLW6pRf2DSRk(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\x9dP\xd05(\xf5\xb9\x98N\xa1\xcb:\x1f%\xccqR\xedi\xf9\xcb4\x8e'), chr(0b1100100) + '\x65' + chr(5074 - 4975) + chr(111) + chr(0b1100100) + chr(101))(chr(0b1110101) + chr(116) + chr(102) + chr(1846 - 1801) + chr(0b11110 + 0o32))]))
if roI3spqORKae(ES5oEprVxulp(b'\xbca\x9c\x12p\xdd'), chr(100) + chr(101) + chr(0b1100011) + '\x6f' + chr(8455 - 8355) + '\x65')(chr(2412 - 2295) + chr(6786 - 6670) + chr(0b0 + 0o146) + chr(0b101001 + 0o4) + chr(0b111000)) in I810oeGL0u1g:
roI3spqORKae(nEjcWitpotYE, roI3spqORKae(ES5oEprVxulp(b'\xb8a\xe2r%\xe0\x9b\x9aA\xa0\xeaP'), '\144' + chr(0b1100101) + '\143' + chr(0b10001 + 0o136) + chr(9598 - 9498) + chr(0b1100101))('\165' + '\164' + chr(102) + chr(1749 - 1704) + '\070'))(roI3spqORKae(hUcsWwAd0nE_, roI3spqORKae(ES5oEprVxulp(b'\x94\\\xc3t>\xe6\xae\x81'), '\x64' + chr(0b100 + 0o141) + chr(99) + chr(0b1101 + 0o142) + '\x64' + chr(6611 - 6510))('\x75' + '\x74' + chr(102) + chr(177 - 132) + chr(0b111000)))(Ipbck45zA0PF))
elif roI3spqORKae(ES5oEprVxulp(b'\xbca\x9c\x12p\xce'), '\144' + '\145' + chr(0b10 + 0o141) + chr(0b1101111) + chr(0b1100100) + chr(0b1011101 + 0o10))(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + '\x2d' + '\070') in I810oeGL0u1g:
roI3spqORKae(mxhyDqTAMpMC, roI3spqORKae(ES5oEprVxulp(b'\xb8a\xe2r%\xe0\x9b\x9aA\xa0\xeaP'), chr(100) + chr(101) + chr(99) + chr(3231 - 3120) + '\144' + chr(0b111101 + 0o50))('\165' + chr(11914 - 11798) + chr(0b10 + 0o144) + '\055' + '\070'))(roI3spqORKae(hUcsWwAd0nE_, roI3spqORKae(ES5oEprVxulp(b'\x94\\\xc3t>\xe6\xae\x81'), chr(8149 - 8049) + '\x65' + chr(0b101 + 0o136) + '\157' + '\144' + chr(101))(chr(0b1110101) + chr(0b1110100) + chr(1128 - 1026) + chr(0b101101) + '\070'))(Ipbck45zA0PF))
qUaZvGk7rxFw += nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x31', 0o10)
if ftfygxgFas5X(nEjcWitpotYE) == nzTpIcepk0o8(chr(48) + chr(1543 - 1432) + '\x31', 8):
for ZlbFMSG8gCoF in bbT2xIe5pzk7(ftfygxgFas5X(mxhyDqTAMpMC) - nzTpIcepk0o8('\x30' + chr(111) + '\x31', 8)):
roI3spqORKae(nEjcWitpotYE, roI3spqORKae(ES5oEprVxulp(b'\xb8a\xe2r%\xe0\x9b\x9aA\xa0\xeaP'), '\x64' + chr(2874 - 2773) + '\143' + '\157' + chr(100) + chr(0b1100101))(chr(9085 - 8968) + chr(0b110110 + 0o76) + chr(9230 - 9128) + chr(45) + chr(0b111000)))(nEjcWitpotYE[nzTpIcepk0o8(chr(1685 - 1637) + chr(0b1101111) + chr(48), 8)])
elif ftfygxgFas5X(nEjcWitpotYE) == nzTpIcepk0o8(chr(2047 - 1999) + chr(0b11111 + 0o120) + chr(410 - 362), 8):
for ZlbFMSG8gCoF in bbT2xIe5pzk7(ftfygxgFas5X(mxhyDqTAMpMC)):
roI3spqORKae(nEjcWitpotYE, roI3spqORKae(ES5oEprVxulp(b'\xb8a\xe2r%\xe0\x9b\x9aA\xa0\xeaP'), '\144' + '\145' + chr(99) + '\x6f' + chr(0b100111 + 0o75) + chr(3500 - 3399))(chr(10739 - 10622) + '\164' + chr(0b1100110) + chr(0b11111 + 0o16) + chr(999 - 943)))([0.0, 0.0, 0.0])
elif ftfygxgFas5X(nEjcWitpotYE) != ftfygxgFas5X(mxhyDqTAMpMC):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x83Z\xdc#)\xef\xb5\x9bL\xef\xd0\x01\x16d\xca}b\xf5r\xb4\xda2\x9f\xdf\x1cc\x1d\xc1\xa6S\xc6\xf67\xeb\xa7d\x01\x05\xb8\x99\xd0T\xc25(\xea\xb5\x9bL\xef\xc5\x00\x00+'), chr(0b1100100) + chr(0b101 + 0o140) + '\143' + '\157' + chr(100) + '\x65')('\165' + '\164' + chr(10035 - 9933) + chr(237 - 192) + '\x38'))
for ZlbFMSG8gCoF in bbT2xIe5pzk7(ftfygxgFas5X(mxhyDqTAMpMC)):
roI3spqORKae(nEjcWitpotYE, roI3spqORKae(ES5oEprVxulp(b'\xb8a\xe2r%\xe0\x9b\x9aA\xa0\xeaP'), chr(100) + chr(0b101001 + 0o74) + '\x63' + '\157' + '\x64' + '\145')(chr(0b11110 + 0o127) + '\x74' + chr(5837 - 5735) + chr(0b101101) + chr(0b11010 + 0o36)))([0.0, 0.0, 0.0])
if qUaZvGk7rxFw < nzTpIcepk0o8(chr(0b110000) + chr(0b1010001 + 0o36) + chr(2478 - 2424), 8):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x83^\xd86-\xee\xb2\x92\x0b\xbc\xcf\x00\x11-\xc6zc\xa0'), chr(0b1100100) + chr(0b1100101) + '\143' + chr(0b1001010 + 0o45) + chr(100) + chr(0b1010 + 0o133))(chr(117) + chr(116) + '\x66' + chr(45) + chr(0b111000)), PmE5_h409JAA, roI3spqORKae(ES5oEprVxulp(b'\xd0A\xde)}\xe1\xb9\x82\x0b\xa2\xda\x04\x011\xd9z`\xe5h\xe0\xdd'), chr(100) + chr(0b11010 + 0o113) + chr(99) + chr(11851 - 11740) + '\144' + chr(0b11000 + 0o115))(chr(0b1110101) + '\164' + chr(1348 - 1246) + chr(45) + chr(56)))
EJPYhrC8WoVb += nzTpIcepk0o8('\x30' + chr(10056 - 9945) + chr(0b11111 + 0o22), 8)
else:
(TQ0u0KgwFXN5, vYX6YMyhMBn6, Lo3erCaP1imO) = hUcsWwAd0nE_.designATRM(z5_S_hXR5nMu)
Y8PBmBoeBR4G = nDF4gVNx0u9Q.UmwwEp7MzR6q((qUaZvGk7rxFw, nzTpIcepk0o8(chr(2194 - 2146) + chr(908 - 797) + '\063', 8)), roI3spqORKae(ES5oEprVxulp(b'\x96'), chr(0b1100100) + chr(2943 - 2842) + chr(0b1100011) + '\157' + '\x64' + chr(101))(chr(0b1110101) + '\164' + chr(0b1000010 + 0o44) + chr(0b10100 + 0o31) + chr(0b111000)))
for ZlbFMSG8gCoF in bbT2xIe5pzk7(qUaZvGk7rxFw):
for sChW4gUsXrIC in bbT2xIe5pzk7(nzTpIcepk0o8(chr(0b100100 + 0o14) + chr(0b1101111) + chr(0b100000 + 0o23), 8)):
Y8PBmBoeBR4G[ZlbFMSG8gCoF][sChW4gUsXrIC] = mxhyDqTAMpMC[ZlbFMSG8gCoF][sChW4gUsXrIC] - nEjcWitpotYE[ZlbFMSG8gCoF][sChW4gUsXrIC]
sm7_CLmeWGR7 = nDF4gVNx0u9Q.UmwwEp7MzR6q(z5_S_hXR5nMu * nzTpIcepk0o8(chr(48) + chr(0b1011 + 0o144) + chr(1734 - 1683), 8), roI3spqORKae(ES5oEprVxulp(b'\x96'), '\x64' + chr(0b11111 + 0o106) + chr(0b11000 + 0o113) + chr(0b10000 + 0o137) + '\x64' + chr(4283 - 4182))('\165' + '\164' + chr(102) + chr(0b0 + 0o55) + chr(0b111000)))
ZpfN5tSLaZze = nzTpIcepk0o8('\060' + '\x6f' + '\x30', 8)
for ZlbFMSG8gCoF in bbT2xIe5pzk7(z5_S_hXR5nMu):
for sChW4gUsXrIC in bbT2xIe5pzk7(nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(620 - 569), 8)):
sm7_CLmeWGR7[ZpfN5tSLaZze] = Y8PBmBoeBR4G[ZlbFMSG8gCoF][sChW4gUsXrIC]
ZpfN5tSLaZze += nzTpIcepk0o8(chr(0b10101 + 0o33) + chr(111) + chr(1989 - 1940), 8)
PmE5_h409JAA = nDF4gVNx0u9Q.UmwwEp7MzR6q(nzTpIcepk0o8(chr(0b1100 + 0o44) + chr(0b1011110 + 0o21) + '\066', 8), roI3spqORKae(ES5oEprVxulp(b'\x96'), chr(0b111011 + 0o51) + chr(0b1100101) + chr(0b11111 + 0o104) + chr(0b1101101 + 0o2) + '\144' + chr(0b1100011 + 0o2))('\165' + chr(0b1110100) + '\x66' + chr(1916 - 1871) + chr(2112 - 2056)))
for ZlbFMSG8gCoF in bbT2xIe5pzk7(nzTpIcepk0o8('\060' + '\157' + chr(54), 8)):
for sChW4gUsXrIC in bbT2xIe5pzk7(ftfygxgFas5X(sm7_CLmeWGR7)):
PmE5_h409JAA[ZlbFMSG8gCoF] += TQ0u0KgwFXN5[ZlbFMSG8gCoF][sChW4gUsXrIC] * sm7_CLmeWGR7[sChW4gUsXrIC]
pWLjIdbpSU3u = PmE5_h409JAA[nzTpIcepk0o8('\x30' + '\157' + chr(0b110000), 8)] + PmE5_h409JAA[nzTpIcepk0o8(chr(1444 - 1396) + chr(0b1101111) + chr(543 - 494), 8)] + PmE5_h409JAA[nzTpIcepk0o8('\060' + '\x6f' + chr(50), 8)]
for ZlbFMSG8gCoF in bbT2xIe5pzk7(nzTpIcepk0o8('\060' + '\x6f' + '\x36', 8)):
PmE5_h409JAA[ZlbFMSG8gCoF] = PmE5_h409JAA[ZlbFMSG8gCoF] / pWLjIdbpSU3u
AQ9ceR9AaoT1 = hUcsWwAd0nE_.s2a(PmE5_h409JAA)
buieUxkpnZk3 = 0.0
B881keGOXOsp = nDF4gVNx0u9Q.UmwwEp7MzR6q(z5_S_hXR5nMu * nzTpIcepk0o8('\060' + chr(0b110 + 0o151) + chr(0b110011), 8), roI3spqORKae(ES5oEprVxulp(b'\x96'), chr(0b1100100) + chr(6631 - 6530) + chr(0b1010011 + 0o20) + chr(214 - 103) + '\144' + chr(101))(chr(0b1110101) + chr(0b1100001 + 0o23) + chr(0b111000 + 0o56) + chr(0b10110 + 0o27) + chr(0b1 + 0o67)))
for ZlbFMSG8gCoF in bbT2xIe5pzk7(z5_S_hXR5nMu):
for sChW4gUsXrIC in bbT2xIe5pzk7(nzTpIcepk0o8('\060' + '\x6f' + chr(2161 - 2110), 8)):
ZpfN5tSLaZze = ZlbFMSG8gCoF * nzTpIcepk0o8(chr(0b0 + 0o60) + chr(4044 - 3933) + '\063', 8) + sChW4gUsXrIC
jUqXHNc0GrHY = AQ9ceR9AaoT1[sChW4gUsXrIC][nzTpIcepk0o8('\x30' + chr(0b10111 + 0o130) + chr(48), 8)] * Lo3erCaP1imO[ZlbFMSG8gCoF][nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(48), 8)] + AQ9ceR9AaoT1[sChW4gUsXrIC][nzTpIcepk0o8('\060' + '\157' + '\061', 8)] * Lo3erCaP1imO[ZlbFMSG8gCoF][nzTpIcepk0o8('\x30' + chr(5120 - 5009) + '\061', 8)] + AQ9ceR9AaoT1[sChW4gUsXrIC][nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\062', 8)] * Lo3erCaP1imO[ZlbFMSG8gCoF][nzTpIcepk0o8(chr(194 - 146) + chr(11855 - 11744) + chr(0b110010), 8)]
B881keGOXOsp[ZpfN5tSLaZze] = jUqXHNc0GrHY
for ZlbFMSG8gCoF in bbT2xIe5pzk7(z5_S_hXR5nMu * nzTpIcepk0o8('\060' + '\157' + chr(0b11100 + 0o27), 8)):
vPPlOXQgR3SM = sm7_CLmeWGR7[ZlbFMSG8gCoF] / pWLjIdbpSU3u - B881keGOXOsp[ZlbFMSG8gCoF]
buieUxkpnZk3 += vPPlOXQgR3SM * vPPlOXQgR3SM
o8wB6rLEskY2 = jLW6pRf2DSRk(z5_S_hXR5nMu * 3.0 - 6.0)
if buieUxkpnZk3 > nzTpIcepk0o8(chr(48) + chr(1958 - 1847) + chr(315 - 267), 8):
uc4gGmjAvJP3 = nDF4gVNx0u9Q.sqrt(buieUxkpnZk3 / o8wB6rLEskY2)
else:
uc4gGmjAvJP3 = nzTpIcepk0o8(chr(0b110000) + chr(0b100000 + 0o117) + chr(0b101000 + 0o10), 8)
n_FL9vrrf8Wb = hUcsWwAd0nE_.dohext(o8wB6rLEskY2, uc4gGmjAvJP3, PmE5_h409JAA)
tn6IBqGli99m[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x16C'), '\144' + '\x65' + chr(0b1100011) + chr(6389 - 6278) + '\x64' + chr(0b1011111 + 0o6))(chr(0b1100101 + 0o20) + '\164' + '\x66' + '\055' + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\r\x9fp;'), chr(1597 - 1497) + '\145' + '\143' + chr(0b1101111) + chr(100) + '\x65')('\x75' + '\164' + chr(0b11100 + 0o112) + '\x2d' + chr(2989 - 2933)) % PmE5_h409JAA[nzTpIcepk0o8(chr(1818 - 1770) + chr(111) + chr(48), 8)]
tn6IBqGli99m[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x16@'), chr(100) + chr(0b101110 + 0o67) + chr(0b1000100 + 0o37) + chr(0b1100010 + 0o15) + chr(0b10001 + 0o123) + chr(7168 - 7067))('\165' + chr(6353 - 6237) + chr(9694 - 9592) + chr(0b101101) + chr(0b10000 + 0o50))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\r\x9fp;'), '\x64' + chr(101) + '\x63' + '\x6f' + chr(621 - 521) + chr(101))('\165' + chr(0b110010 + 0o102) + chr(0b1100000 + 0o6) + '\055' + chr(976 - 920)) % PmE5_h409JAA[nzTpIcepk0o8(chr(0b110000) + chr(9746 - 9635) + '\061', 8)]
tn6IBqGli99m[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x16A'), chr(6881 - 6781) + '\145' + '\143' + chr(0b1101111) + chr(0b1100100) + chr(5852 - 5751))('\165' + chr(9069 - 8953) + chr(0b1100110) + chr(0b110 + 0o47) + '\070')] = roI3spqORKae(ES5oEprVxulp(b'\xd5\r\x9fp;'), chr(0b1100100) + '\x65' + '\x63' + '\x6f' + chr(0b11110 + 0o106) + '\145')(chr(117) + chr(9743 - 9627) + chr(5743 - 5641) + chr(1649 - 1604) + chr(0b10 + 0o66)) % PmE5_h409JAA[nzTpIcepk0o8(chr(0b101011 + 0o5) + chr(111) + chr(0b100110 + 0o14), 8)]
tn6IBqGli99m[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x16F'), chr(3590 - 3490) + '\145' + chr(7459 - 7360) + chr(0b1010011 + 0o34) + '\144' + chr(101))('\x75' + chr(0b111010 + 0o72) + '\x66' + chr(45) + '\070')] = roI3spqORKae(ES5oEprVxulp(b'\xd5\r\x9fp;'), '\x64' + chr(367 - 266) + chr(0b1001111 + 0o24) + chr(0b0 + 0o157) + '\144' + chr(101))('\165' + '\164' + '\146' + '\055' + '\070') % PmE5_h409JAA[nzTpIcepk0o8(chr(48) + '\157' + chr(0b110011), 8)]
tn6IBqGli99m[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x16G'), chr(0b100110 + 0o76) + chr(0b1100101) + '\x63' + '\x6f' + chr(100) + chr(9337 - 9236))('\x75' + chr(0b101110 + 0o106) + chr(3340 - 3238) + '\x2d' + chr(2213 - 2157))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\r\x9fp;'), chr(0b1100100) + '\145' + '\x63' + chr(0b11110 + 0o121) + chr(0b1100100) + chr(101))(chr(0b1110101) + '\164' + '\146' + chr(0b1 + 0o54) + '\070') % PmE5_h409JAA[nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b11111 + 0o25), 0o10)]
tn6IBqGli99m[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x16D'), chr(0b11111 + 0o105) + chr(101) + '\143' + chr(0b1101111) + chr(0b1100100) + chr(0b1001 + 0o134))(chr(0b1000011 + 0o62) + chr(0b1110100) + chr(102) + '\x2d' + chr(56))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\r\x9fp;'), '\144' + chr(0b1100101) + chr(8542 - 8443) + chr(9881 - 9770) + '\144' + chr(0b1100101))(chr(0b1110101) + '\x74' + chr(0b1100110) + chr(0b101 + 0o50) + '\x38') % PmE5_h409JAA[nzTpIcepk0o8(chr(1646 - 1598) + chr(111) + '\065', 8)]
tn6IBqGli99m[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x08\x17%\xc5'), chr(6750 - 6650) + '\145' + chr(99) + chr(111) + chr(5971 - 5871) + chr(101))('\165' + '\x74' + '\146' + chr(0b11010 + 0o23) + '\070')] = roI3spqORKae(ES5oEprVxulp(b'\xd5\r\x9fu8'), chr(1167 - 1067) + '\145' + chr(0b1000100 + 0o37) + chr(6949 - 6838) + '\x64' + '\145')(chr(117) + chr(116) + '\x66' + chr(45) + chr(2460 - 2404)) % (pWLjIdbpSU3u / nzTpIcepk0o8(chr(0b110000) + chr(9104 - 8993) + chr(0b10000 + 0o43), 8))
tn6IBqGli99m[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x16\x1b#\xc6~'), chr(100) + '\x65' + chr(6127 - 6028) + '\x6f' + chr(0b1011100 + 0o10) + chr(9396 - 9295))(chr(117) + chr(116) + chr(2724 - 2622) + chr(0b101101) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\xd5\r\x9fp;'), chr(5344 - 5244) + '\145' + '\x63' + '\x6f' + '\x64' + '\145')(chr(117) + chr(116) + chr(0b1100110) + '\055' + '\070') % uc4gGmjAvJP3
tn6IBqGli99m[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x10\x1c-\xdf'), chr(0b1100100) + '\145' + chr(394 - 295) + '\x6f' + chr(0b11 + 0o141) + '\x65')('\165' + chr(0b1011111 + 0o25) + chr(1006 - 904) + chr(0b101101) + chr(56))] = roI3spqORKae(ES5oEprVxulp(b'\xb1X\xeft'), '\144' + chr(0b1100101) + chr(2603 - 2504) + chr(0b10111 + 0o130) + chr(3123 - 3023) + chr(0b1100101))(chr(0b101010 + 0o113) + '\x74' + '\146' + '\x2d' + '\070')
tn6IBqGli99m[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x0b'), '\x64' + chr(0b1100101) + chr(99) + chr(0b110011 + 0o74) + chr(100) + chr(764 - 663))('\165' + '\x74' + chr(6204 - 6102) + chr(0b101101) + chr(1355 - 1299))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\\'), '\144' + chr(0b1001100 + 0o31) + chr(6947 - 6848) + chr(111) + chr(0b1100100) + '\x65')(chr(0b1110101) + '\164' + '\146' + chr(0b101101) + '\070') % z5_S_hXR5nMu
tn6IBqGli99m[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x11\x1b(\xdf@n\xeft\xe6\xcb9\x8e\x96\x11l'), '\x64' + chr(101) + '\143' + chr(3709 - 3598) + chr(0b1011 + 0o131) + '\145')(chr(0b1110101) + chr(0b1001110 + 0o46) + '\x66' + chr(0b101101) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\xdd\x04'), '\x64' + '\145' + chr(7250 - 7151) + chr(111) + chr(100) + chr(101))(chr(0b1110101) + chr(116) + '\146' + '\055' + chr(56))
tn6IBqGli99m[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0#'), chr(0b1001011 + 0o31) + chr(0b1001110 + 0o27) + '\143' + chr(111) + chr(516 - 416) + chr(0b1100101))(chr(0b1110101) + chr(116) + '\146' + '\x2d' + '\070')] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(100) + chr(101) + chr(0b1100011) + chr(1834 - 1723) + chr(100) + chr(0b110001 + 0o64))(chr(10242 - 10125) + chr(0b1010011 + 0o41) + chr(8621 - 8519) + '\055' + '\x38') % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\xb6'), chr(0b1 + 0o143) + chr(101) + chr(5731 - 5632) + chr(0b1001010 + 0o45) + chr(0b1011 + 0o131) + '\x65')(chr(117) + chr(116) + chr(10308 - 10206) + chr(0b101101) + chr(2701 - 2645))]
tn6IBqGli99m[roI3spqORKae(ES5oEprVxulp(b"\x91[\xd852\xf3\xae\x9a[\xb6\xe0#-'\xd9vy"), chr(3441 - 3341) + chr(7290 - 7189) + chr(1935 - 1836) + chr(10539 - 10428) + chr(0b1100100) + chr(0b1100001 + 0o4))(chr(11999 - 11882) + '\164' + '\146' + '\x2d' + chr(0b100 + 0o64))] = n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\xb6j\xd244\xf3'), chr(9565 - 9465) + chr(0b110110 + 0o57) + chr(99) + chr(0b1101111) + chr(0b1100100) + '\x65')(chr(0b1110101) + '\x74' + '\146' + '\x2d' + '\x38')]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x11C'), chr(6412 - 6312) + chr(0b111101 + 0o50) + '\143' + chr(0b1101111) + chr(100) + chr(0b1100101))(chr(117) + '\164' + chr(2150 - 2048) + chr(0b101101) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\xd5\r\x9fp;\xa7'), chr(100) + chr(0b1100101) + '\x63' + '\157' + '\144' + chr(2875 - 2774))(chr(117) + chr(5312 - 5196) + chr(9263 - 9161) + chr(0b100111 + 0o6) + chr(0b111000)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x84\x04'), chr(100) + chr(101) + '\x63' + '\x6f' + '\144' + '\x65')(chr(117) + chr(0b110 + 0o156) + chr(5973 - 5871) + chr(309 - 264) + chr(2901 - 2845))]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x11@'), chr(0b110101 + 0o57) + chr(0b1001110 + 0o27) + '\143' + chr(0b1101111) + '\144' + '\x65')('\x75' + '\164' + '\146' + '\x2d' + chr(0b1000 + 0o60))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\r\x9fp;\xa7'), chr(100) + chr(101) + chr(0b1100011) + '\x6f' + chr(9893 - 9793) + '\x65')(chr(0b1000001 + 0o64) + chr(116) + chr(9780 - 9678) + chr(530 - 485) + '\070') % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x84\x07'), chr(0b1000001 + 0o43) + chr(8683 - 8582) + chr(2544 - 2445) + '\x6f' + chr(100) + chr(0b1100000 + 0o5))(chr(0b1010110 + 0o37) + chr(0b1110100) + '\146' + chr(0b101101) + '\070')]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x11A'), chr(0b1000111 + 0o35) + '\145' + chr(0b1100011) + '\x6f' + chr(100) + chr(0b1000110 + 0o37))(chr(117) + chr(827 - 711) + '\146' + chr(0b101101) + chr(2474 - 2418))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\r\x9fp;\xa7'), chr(0b10 + 0o142) + chr(101) + '\143' + chr(0b1101111) + chr(0b1000010 + 0o42) + chr(7996 - 7895))(chr(3089 - 2972) + chr(116) + chr(0b1100110) + chr(0b10001 + 0o34) + '\x38') % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x84\x06'), '\144' + '\145' + chr(99) + '\x6f' + '\x64' + chr(0b1100101))(chr(117) + chr(0b1110100) + chr(8902 - 8800) + chr(1756 - 1711) + chr(56))]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13C\x1b\xcfzn'), chr(0b1100100) + '\145' + chr(3960 - 3861) + '\x6f' + chr(0b1001 + 0o133) + '\145')(chr(12098 - 11981) + chr(8199 - 8083) + chr(102) + chr(460 - 415) + '\070')] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(0b1100100) + chr(0b110100 + 0o61) + '\x63' + chr(111) + chr(100) + chr(5654 - 5553))(chr(0b1100 + 0o151) + '\x74' + chr(7335 - 7233) + '\055' + chr(2771 - 2715)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x04\xee"8\xe4'), chr(2514 - 2414) + chr(5207 - 5106) + '\143' + chr(0b1101111) + chr(0b1100100) + chr(101))(chr(1828 - 1711) + '\164' + chr(6718 - 6616) + '\x2d' + chr(0b111000))]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13@\x1b\xcfzn'), '\x64' + '\145' + '\x63' + chr(11956 - 11845) + chr(0b111011 + 0o51) + '\145')('\165' + '\164' + chr(6026 - 5924) + chr(1316 - 1271) + chr(2655 - 2599))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(0b1100100) + chr(101) + chr(0b1101 + 0o126) + chr(111) + chr(0b1100100) + chr(101))('\x75' + chr(12046 - 11930) + chr(0b1100110) + '\x2d' + chr(144 - 88)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x07\xee"8\xe4'), chr(0b110001 + 0o63) + chr(5002 - 4901) + '\143' + '\157' + chr(1040 - 940) + chr(3097 - 2996))(chr(0b111 + 0o156) + chr(116) + chr(1305 - 1203) + '\055' + '\x38')]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13A\x1b\xcfzn'), '\144' + chr(101) + '\143' + '\x6f' + chr(0b110101 + 0o57) + chr(101))(chr(5677 - 5560) + chr(116) + chr(6288 - 6186) + chr(0b10101 + 0o30) + chr(0b1110 + 0o52))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), '\x64' + chr(6554 - 6453) + '\x63' + chr(111) + '\144' + chr(0b100000 + 0o105))(chr(0b1110101) + chr(2934 - 2818) + chr(0b1001010 + 0o34) + chr(45) + chr(0b111000)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x06\xee"8\xe4'), chr(8250 - 8150) + '\x65' + chr(8557 - 8458) + '\x6f' + chr(7099 - 6999) + '\x65')('\x75' + '\x74' + chr(3868 - 3766) + '\x2d' + chr(1160 - 1104))]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13C\x1b\xc2qn'), '\144' + chr(0b101110 + 0o67) + chr(99) + chr(111) + chr(4125 - 4025) + chr(0b10011 + 0o122))(chr(0b1101101 + 0o10) + '\x74' + '\x66' + chr(45) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(0b11110 + 0o106) + chr(101) + '\x63' + chr(8513 - 8402) + '\144' + chr(4680 - 4579))(chr(0b1010001 + 0o44) + '\164' + chr(0b1100110) + chr(45) + chr(0b101011 + 0o15)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x04\xee/3\xe4'), '\144' + '\x65' + chr(271 - 172) + '\x6f' + chr(0b11010 + 0o112) + chr(5092 - 4991))(chr(0b1110101) + '\164' + chr(0b100001 + 0o105) + chr(1455 - 1410) + '\x38')]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13@\x1b\xc2qn'), chr(5748 - 5648) + '\x65' + chr(99) + '\x6f' + '\x64' + chr(101))(chr(0b1111 + 0o146) + chr(0b1110001 + 0o3) + chr(2423 - 2321) + chr(1500 - 1455) + '\070')] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(0b1100100) + '\145' + '\143' + chr(0b1101111) + '\144' + chr(0b1100101))('\x75' + chr(116) + chr(4071 - 3969) + '\x2d' + chr(56)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x07\xee/3\xe4'), chr(0b1100100) + chr(101) + '\x63' + chr(0b1101111) + '\x64' + chr(101))('\x75' + chr(116) + chr(0b1000110 + 0o40) + chr(0b100001 + 0o14) + chr(56))]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13A\x1b\xc2qn'), chr(0b1100010 + 0o2) + '\x65' + '\143' + chr(111) + chr(0b1100100) + '\145')(chr(117) + '\x74' + chr(102) + '\055' + '\070')] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(0b1010101 + 0o17) + chr(0b100010 + 0o103) + '\143' + chr(0b110101 + 0o72) + chr(0b101110 + 0o66) + chr(0b1100101))('\x75' + chr(11397 - 11281) + chr(102) + chr(0b101101) + chr(0b11110 + 0o32)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x06\xee/3\xe4'), '\144' + chr(0b1100101) + chr(99) + chr(0b1101111) + '\x64' + chr(0b10101 + 0o120))(chr(0b1110101) + chr(0b11 + 0o161) + chr(102) + chr(1957 - 1912) + chr(0b100000 + 0o30))]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x03\x06!\xd8k'), '\144' + chr(101) + chr(99) + chr(0b101000 + 0o107) + '\x64' + '\145')('\165' + '\164' + '\146' + chr(0b10101 + 0o30) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(100) + '\145' + chr(161 - 62) + chr(111) + chr(100) + chr(0b1100101))(chr(0b1110101) + '\164' + '\146' + chr(1130 - 1085) + chr(0b111000)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\xb6'), '\x64' + chr(0b1100101) + chr(1792 - 1693) + chr(0b101101 + 0o102) + chr(7323 - 7223) + chr(0b1100101))(chr(0b1101111 + 0o6) + '\164' + chr(0b1100110) + chr(0b100110 + 0o7) + '\x38')]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x03\x06!\xd8k<\xb2'), chr(0b1100100) + chr(8687 - 8586) + chr(0b1100011) + '\x6f' + '\x64' + chr(0b1100101))(chr(0b1110101) + '\x74' + chr(0b1011 + 0o133) + chr(281 - 236) + chr(2141 - 2085))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(0b1001111 + 0o25) + chr(0b1001 + 0o134) + '\x63' + chr(0b1101111) + chr(100) + chr(0b1100101))(chr(12861 - 12744) + '\164' + chr(0b1100110) + chr(0b11101 + 0o20) + '\x38') % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\xb6\x04\x83'), chr(9125 - 9025) + chr(0b1010101 + 0o20) + '\143' + chr(0b1101110 + 0o1) + chr(2939 - 2839) + '\x65')('\165' + chr(0b1110100) + '\x66' + chr(45) + chr(56))]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x03\x06!\xd8k?\xb3'), chr(100) + chr(9285 - 9184) + chr(1656 - 1557) + chr(5554 - 5443) + '\144' + '\145')('\x75' + chr(0b101011 + 0o111) + '\146' + chr(1293 - 1248) + chr(3075 - 3019))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(0b11110 + 0o106) + chr(3880 - 3779) + chr(99) + '\x6f' + chr(0b100010 + 0o102) + chr(2025 - 1924))(chr(0b1110101) + chr(10050 - 9934) + '\x66' + chr(45) + chr(56)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\xb6\x07\x82'), chr(100) + chr(101) + '\143' + '\x6f' + '\x64' + chr(101))(chr(10916 - 10799) + chr(7584 - 7468) + '\x66' + chr(0b101101) + chr(1586 - 1530))]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x82P\xc231\xf3\x83\x91N\xbc\xdc\x17\x1b4\xdfvb\xee'), '\x64' + chr(7037 - 6936) + chr(0b11111 + 0o104) + chr(0b11 + 0o154) + '\144' + chr(101))(chr(0b1110101) + '\164' + chr(4929 - 4827) + chr(1353 - 1308) + '\070')] = roI3spqORKae(ES5oEprVxulp(b'\xb3G\xd824\xe4\xbd\x99\x0b\x89\x85E'), chr(7732 - 7632) + chr(0b1100101) + chr(5016 - 4917) + chr(503 - 392) + chr(7187 - 7087) + chr(6580 - 6479))('\x75' + chr(0b1110100) + '\146' + chr(1345 - 1300) + '\070') + n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\xb6j\xd244\xf3'), chr(100) + chr(0b111110 + 0o47) + chr(0b111101 + 0o46) + '\x6f' + '\144' + chr(101))('\165' + chr(12062 - 11946) + chr(102) + chr(1556 - 1511) + chr(0b111000))] + roI3spqORKae(ES5oEprVxulp(b'\xcbv\xc3/)\xee\xbf\x94G\xef\xf9T@k\xed.>\xba&'), chr(100) + chr(0b1100101) + '\x63' + chr(0b111110 + 0o61) + '\144' + chr(968 - 867))(chr(0b1110101) + chr(8796 - 8680) + chr(0b101 + 0o141) + chr(45) + chr(0b111000)) + n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\xb6\x04\x83\x19>\xf5\xb5\x81'), chr(0b1010101 + 0o17) + '\x65' + '\143' + chr(0b10001 + 0o136) + chr(100) + chr(0b100 + 0o141))('\x75' + '\x74' + '\x66' + chr(0b11011 + 0o22) + chr(56))]
if n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x95\x04\x83'), chr(0b1100100) + chr(101) + chr(0b111010 + 0o51) + chr(0b1101111) + chr(3817 - 3717) + '\x65')(chr(0b11101 + 0o130) + chr(0b1110100) + '\x66' + chr(0b101101) + chr(56))] > n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x95\x04\x82'), chr(0b110100 + 0o60) + '\x65' + chr(0b1100011) + chr(0b111000 + 0o67) + chr(0b11010 + 0o112) + chr(0b1011110 + 0o7))(chr(0b1110101) + chr(0b1101111 + 0o5) + chr(0b1100110) + chr(45) + chr(56))]:
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13C\x1b\xd1zy\xe1Y\xe7\xcb7\x93\xa0\x1fl\t\xc8\xaf'), '\144' + chr(0b1000100 + 0o41) + chr(0b1000110 + 0o35) + chr(0b1101111) + '\144' + chr(7167 - 7066))(chr(117) + chr(1855 - 1739) + chr(5383 - 5281) + '\055' + chr(1526 - 1470))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), '\144' + '\145' + chr(99) + chr(0b1101111) + chr(100) + chr(0b1100101 + 0o0))('\165' + chr(0b1110100) + chr(0b1100110) + '\055' + chr(56)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x95\x04\x83'), '\144' + chr(0b1100101) + '\x63' + '\x6f' + chr(2448 - 2348) + chr(101))(chr(117) + chr(116) + chr(0b1100110) + '\055' + '\x38')]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13C\x1b\xd1zy\xe1Y\xf0\xcb9'), chr(0b1000100 + 0o40) + chr(0b1011 + 0o132) + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(0b10 + 0o143))(chr(117) + chr(0b1000011 + 0o61) + chr(102) + chr(0b11100 + 0o21) + '\070')] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(100) + chr(6836 - 6735) + chr(1368 - 1269) + chr(0b1010 + 0o145) + '\x64' + chr(0b1100101))('\165' + chr(9786 - 9670) + chr(0b100110 + 0o100) + '\055' + chr(1947 - 1891)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x07\xee"8\xe4'), chr(1365 - 1265) + '\x65' + '\143' + chr(111) + '\144' + chr(5409 - 5308))('\x75' + chr(0b1110100) + chr(0b110 + 0o140) + chr(1872 - 1827) + '\x38')]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13C\x1b\xd1zy\xe1Y\xfd\xc09'), '\x64' + chr(7026 - 6925) + chr(0b1000110 + 0o35) + chr(111) + chr(0b101011 + 0o71) + '\x65')(chr(0b1110101) + '\x74' + '\x66' + '\055' + chr(56))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), '\144' + chr(0b1001 + 0o134) + chr(99) + chr(4470 - 4359) + '\x64' + chr(0b11011 + 0o112))(chr(0b1110101) + '\164' + '\x66' + '\x2d' + chr(0b111000)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x07\xee/3\xe4'), '\x64' + '\145' + chr(0b1100011) + chr(0b1101111) + chr(100) + chr(0b101101 + 0o70))(chr(0b1110101) + chr(116) + '\146' + chr(166 - 121) + '\x38')]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13@\x1b\xd1zy\xe1Y\xe7\xcb7\x93\xa0\x1fl\t\xc8\xaf'), chr(100) + '\x65' + '\x63' + chr(0b1101111) + chr(100) + '\x65')('\165' + '\164' + chr(102) + '\x2d' + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(4089 - 3989) + chr(0b1100011 + 0o2) + chr(0b110001 + 0o62) + chr(9222 - 9111) + chr(0b1100100) + chr(0b1001010 + 0o33))(chr(9192 - 9075) + chr(2371 - 2255) + chr(0b1100110) + chr(0b101101) + chr(0b1101 + 0o53)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x95\x04\x83'), chr(0b1100100) + chr(1395 - 1294) + chr(99) + chr(0b100011 + 0o114) + chr(7469 - 7369) + chr(0b1100101))(chr(6832 - 6715) + chr(0b1110100) + chr(102) + '\055' + '\x38')]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13@\x1b\xd1zy\xe1Y\xf0\xcb9'), chr(7222 - 7122) + '\145' + chr(0b1100011) + chr(0b110110 + 0o71) + chr(5803 - 5703) + chr(101))('\x75' + chr(12179 - 12063) + '\146' + chr(0b10110 + 0o27) + chr(56))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), '\144' + chr(101) + '\x63' + '\157' + chr(0b1110 + 0o126) + chr(4895 - 4794))('\x75' + chr(116) + chr(0b1100110) + chr(205 - 160) + chr(56)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x04\xee"8\xe4'), '\144' + chr(7952 - 7851) + chr(0b1000111 + 0o34) + chr(10782 - 10671) + '\144' + chr(4758 - 4657))(chr(117) + chr(0b1110100) + chr(0b10010 + 0o124) + chr(0b101101) + chr(0b111000))]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13@\x1b\xd1zy\xe1Y\xfd\xc09'), chr(0b1001000 + 0o34) + chr(9811 - 9710) + '\x63' + chr(111) + chr(0b10001 + 0o123) + '\145')('\x75' + chr(1147 - 1031) + '\x66' + chr(0b11 + 0o52) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(0b1000111 + 0o35) + chr(1600 - 1499) + chr(0b10011 + 0o120) + '\x6f' + chr(0b1100100) + chr(0b1001011 + 0o32))(chr(0b11 + 0o162) + chr(1019 - 903) + '\x66' + '\x2d' + chr(0b110111 + 0o1)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x04\xee/3\xe4'), chr(6505 - 6405) + chr(101) + '\x63' + chr(6427 - 6316) + '\144' + '\145')(chr(0b1110101) + chr(0b11001 + 0o133) + chr(0b110111 + 0o57) + chr(0b101101) + chr(0b111000))]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13C\x1b\xcekl\xdfu\xf1\xc33\xa5\x9e\x10e\x02\xc1'), chr(100) + chr(0b1100101) + '\x63' + chr(1679 - 1568) + chr(0b1100100) + chr(0b1100101))(chr(6164 - 6047) + chr(0b1110100) + chr(102) + '\x2d' + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), '\144' + chr(0b111101 + 0o50) + chr(603 - 504) + chr(0b1101111) + chr(0b111 + 0o135) + chr(0b1000100 + 0o41))(chr(11474 - 11357) + chr(0b1110100) + '\146' + chr(45) + chr(2706 - 2650)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x95\x04\x82'), '\x64' + chr(0b101111 + 0o66) + '\x63' + chr(111) + chr(5622 - 5522) + chr(0b1100101))(chr(252 - 135) + '\164' + '\146' + chr(45) + chr(2835 - 2779))]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13C\x1b\xcekl\xdfb\xf1\xcd'), chr(5720 - 5620) + '\x65' + chr(3707 - 3608) + '\157' + chr(0b1100100) + '\x65')(chr(117) + chr(116) + chr(102) + '\x2d' + chr(734 - 678))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(100) + '\145' + '\143' + chr(0b1100 + 0o143) + chr(0b111000 + 0o54) + '\145')(chr(0b1100001 + 0o24) + chr(0b1011110 + 0o26) + '\x66' + chr(1765 - 1720) + '\x38') % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x06\xee"8\xe4'), chr(4990 - 4890) + '\x65' + chr(0b1011001 + 0o12) + chr(0b1101111) + chr(100) + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + chr(102) + chr(0b101101) + chr(0b111000))]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13C\x1b\xcekl\xdfo\xfa\xcd'), chr(0b1100100) + '\145' + chr(0b1100011) + '\157' + chr(4755 - 4655) + chr(0b1100101))(chr(0b1110101) + chr(0b10100 + 0o140) + chr(0b1100110) + '\x2d' + chr(0b1011 + 0o55))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(100) + '\145' + '\x63' + chr(0b100011 + 0o114) + '\x64' + '\145')(chr(6927 - 6810) + chr(116) + chr(7859 - 7757) + '\x2d' + chr(1831 - 1775)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x06\xee/3\xe4'), chr(0b1100100) + '\x65' + chr(0b1011010 + 0o11) + chr(111) + '\x64' + '\145')(chr(117) + '\164' + '\146' + chr(0b101101) + chr(56))]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13A\x1b\xcekl\xdfu\xf1\xc33\xa5\x9e\x10e\x02\xc1'), chr(0b1100100) + '\x65' + chr(99) + chr(0b1101111) + '\144' + '\145')('\165' + chr(0b10110 + 0o136) + chr(102) + '\055' + chr(2137 - 2081))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(0b10011 + 0o121) + chr(0b10 + 0o143) + chr(0b1100011) + '\x6f' + chr(100) + '\x65')(chr(0b111101 + 0o70) + '\164' + chr(0b1111 + 0o127) + chr(0b11 + 0o52) + chr(0b10100 + 0o44)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x95\x04\x82'), chr(0b1100100) + chr(1605 - 1504) + chr(99) + chr(2404 - 2293) + '\144' + '\145')(chr(0b1110101) + chr(0b111101 + 0o67) + chr(3412 - 3310) + '\x2d' + chr(0b10000 + 0o50))]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13A\x1b\xcekl\xdfb\xf1\xcd'), '\144' + chr(0b1100101) + chr(0b1010100 + 0o17) + chr(6314 - 6203) + '\144' + chr(101))('\x75' + '\164' + chr(102) + '\x2d' + chr(56))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(100) + chr(0b1100010 + 0o3) + '\x63' + '\x6f' + '\x64' + '\145')('\165' + chr(0b1110100) + chr(0b100110 + 0o100) + '\x2d' + '\070') % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x04\xee"8\xe4'), chr(0b10110 + 0o116) + chr(101) + chr(0b1100011) + chr(7051 - 6940) + chr(7458 - 7358) + '\145')(chr(0b1110101) + chr(0b1110100) + '\146' + chr(1263 - 1218) + '\x38')]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13A\x1b\xcekl\xdfo\xfa\xcd'), chr(0b1101 + 0o127) + chr(101) + chr(99) + chr(111) + chr(100) + chr(0b100001 + 0o104))(chr(13405 - 13288) + '\164' + '\146' + '\x2d' + '\070')] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(1737 - 1637) + '\145' + chr(0b111110 + 0o45) + '\x6f' + chr(0b1100100) + '\145')(chr(117) + chr(0b1110100) + '\x66' + chr(0b10110 + 0o27) + chr(2998 - 2942)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x04\xee/3\xe4'), chr(0b101000 + 0o74) + chr(0b1100101) + chr(0b1100011) + chr(0b1000111 + 0o50) + chr(4362 - 4262) + '\145')(chr(0b1110101) + '\x74' + chr(0b1100110) + '\055' + chr(0b1100 + 0o54))]
else:
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13C\x1b\xd1zy\xe1Y\xe7\xcb7\x93\xa0\x1fl\t\xc8\xaf'), chr(0b1100100) + '\145' + chr(0b1100011) + '\x6f' + chr(100) + chr(101))('\x75' + '\x74' + chr(102) + '\x2d' + '\070')] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(100) + chr(942 - 841) + '\143' + chr(0b1101111) + chr(0b1010101 + 0o17) + '\x65')(chr(117) + chr(0b101000 + 0o114) + chr(0b1000001 + 0o45) + '\055' + chr(0b111000)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x95\x04\x82'), chr(100) + chr(101) + '\143' + '\x6f' + '\144' + '\x65')(chr(0b11000 + 0o135) + '\164' + chr(2597 - 2495) + chr(0b101101) + '\x38')]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13C\x1b\xd1zy\xe1Y\xf0\xcb9'), '\x64' + chr(101) + chr(6798 - 6699) + '\157' + '\144' + chr(0b1100101))('\165' + chr(0b1110100 + 0o0) + chr(0b111011 + 0o53) + chr(0b101101) + chr(0b110100 + 0o4))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(100) + chr(8972 - 8871) + chr(1798 - 1699) + '\157' + chr(0b110010 + 0o62) + chr(101))(chr(0b1000 + 0o155) + '\x74' + '\146' + chr(1142 - 1097) + chr(1286 - 1230)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x06\xee"8\xe4'), '\x64' + chr(7403 - 7302) + '\143' + '\157' + '\144' + '\x65')('\165' + '\x74' + chr(4999 - 4897) + '\055' + '\070')]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13C\x1b\xd1zy\xe1Y\xfd\xc09'), chr(0b1001101 + 0o27) + chr(0b111111 + 0o46) + chr(0b1100011) + chr(570 - 459) + chr(0b1100100) + '\145')('\x75' + chr(0b1000001 + 0o63) + '\146' + chr(0b101101) + chr(0b110110 + 0o2))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(0b1100100) + chr(0b1001010 + 0o33) + chr(0b1100011) + chr(111) + chr(0b1000100 + 0o40) + '\x65')(chr(0b101011 + 0o112) + chr(5509 - 5393) + '\x66' + '\x2d' + '\070') % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x06\xee/3\xe4'), chr(3801 - 3701) + chr(0b1100101) + '\143' + chr(8235 - 8124) + '\144' + chr(0b1100101))(chr(0b1010 + 0o153) + chr(0b110010 + 0o102) + chr(0b1100110) + chr(0b101101) + chr(56))]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13A\x1b\xd1zy\xe1Y\xe7\xcb7\x93\xa0\x1fl\t\xc8\xaf'), chr(2368 - 2268) + '\x65' + '\x63' + chr(0b1101111) + chr(3474 - 3374) + '\145')(chr(0b1110101) + chr(0b1110100) + '\x66' + chr(0b10 + 0o53) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), '\x64' + chr(0b1010000 + 0o25) + chr(0b1011001 + 0o12) + '\x6f' + chr(0b10011 + 0o121) + chr(5782 - 5681))(chr(461 - 344) + chr(4929 - 4813) + chr(0b1100110) + chr(0b101101) + chr(1796 - 1740)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x95\x04\x82'), '\144' + chr(0b1010011 + 0o22) + '\143' + chr(0b111000 + 0o67) + '\144' + '\145')(chr(0b1110101) + '\164' + chr(7849 - 7747) + chr(0b101101) + chr(0b101001 + 0o17))]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13A\x1b\xd1zy\xe1Y\xf0\xcb9'), '\x64' + '\145' + chr(1987 - 1888) + chr(0b10001 + 0o136) + chr(5521 - 5421) + chr(0b1100101))(chr(117) + chr(116) + chr(0b110101 + 0o61) + chr(1626 - 1581) + '\070')] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(0b110010 + 0o62) + chr(101) + '\x63' + '\157' + chr(0b10 + 0o142) + chr(1416 - 1315))(chr(0b110101 + 0o100) + chr(5948 - 5832) + '\x66' + '\055' + chr(2158 - 2102)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x04\xee"8\xe4'), chr(100) + chr(0b111010 + 0o53) + chr(7923 - 7824) + chr(111) + chr(100) + '\145')(chr(9477 - 9360) + chr(11968 - 11852) + chr(0b1100110) + chr(45) + chr(0b100111 + 0o21))]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13A\x1b\xd1zy\xe1Y\xfd\xc09'), chr(0b1100100) + chr(1358 - 1257) + chr(7615 - 7516) + '\x6f' + '\x64' + chr(4454 - 4353))(chr(7335 - 7218) + chr(0b1110100) + chr(0b100010 + 0o104) + '\055' + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(0b1100100) + chr(2087 - 1986) + chr(0b1011010 + 0o11) + chr(0b1101111) + chr(0b1100100) + '\x65')(chr(117) + '\164' + chr(102) + chr(1531 - 1486) + chr(0b111000)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x04\xee/3\xe4'), chr(1384 - 1284) + '\145' + '\x63' + '\x6f' + chr(100) + chr(0b101010 + 0o73))('\165' + '\164' + chr(102) + '\055' + chr(56))]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13C\x1b\xcekl\xdfu\xf1\xc33\xa5\x9e\x10e\x02\xc1'), '\144' + chr(0b1100101) + '\x63' + chr(5403 - 5292) + chr(0b1001000 + 0o34) + chr(0b1100101))('\x75' + chr(116) + chr(0b1100110) + '\055' + chr(2468 - 2412))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(0b101000 + 0o74) + chr(0b1111 + 0o126) + '\x63' + chr(111) + '\144' + chr(10020 - 9919))(chr(117) + chr(0b1110100) + chr(3236 - 3134) + chr(0b101101) + chr(0b100100 + 0o24)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x95\x04\x83'), '\x64' + chr(101) + '\143' + '\157' + '\x64' + chr(101))(chr(0b1110101) + '\164' + '\x66' + chr(1519 - 1474) + '\x38')]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13C\x1b\xcekl\xdfb\xf1\xcd'), '\144' + '\x65' + '\143' + chr(111) + chr(4995 - 4895) + chr(0b100000 + 0o105))(chr(0b1110101) + chr(4426 - 4310) + '\x66' + '\x2d' + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(0b10 + 0o142) + chr(0b1001 + 0o134) + chr(99) + '\x6f' + chr(897 - 797) + chr(0b1100101))('\x75' + '\x74' + chr(102) + chr(0b101101) + '\070') % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x07\xee"8\xe4'), '\x64' + chr(9318 - 9217) + chr(99) + chr(0b1101111) + '\x64' + chr(101))(chr(0b1110101) + '\164' + '\146' + '\x2d' + '\070')]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13C\x1b\xcekl\xdfo\xfa\xcd'), chr(0b1100100) + '\x65' + '\x63' + chr(0b1101111) + chr(0b1100100) + chr(101))(chr(0b1001001 + 0o54) + '\x74' + '\x66' + '\x2d' + chr(2215 - 2159))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(0b11010 + 0o112) + chr(3819 - 3718) + chr(0b1100011) + '\x6f' + chr(0b1100010 + 0o2) + chr(0b11011 + 0o112))('\x75' + chr(116) + chr(0b101001 + 0o75) + '\x2d' + chr(56)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x07\xee/3\xe4'), '\x64' + chr(1331 - 1230) + '\x63' + '\x6f' + '\x64' + '\145')(chr(2914 - 2797) + chr(0b1110100) + chr(9775 - 9673) + '\055' + chr(0b1000 + 0o60))]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13@\x1b\xcekl\xdfu\xf1\xc33\xa5\x9e\x10e\x02\xc1'), chr(0b1100100) + '\x65' + chr(99) + chr(111) + chr(100) + chr(0b101011 + 0o72))(chr(117) + '\164' + chr(0b1100110) + '\x2d' + chr(0b1101 + 0o53))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(100) + '\x65' + chr(0b1100011) + chr(3792 - 3681) + chr(3950 - 3850) + '\145')(chr(117) + chr(314 - 198) + '\146' + chr(0b1011 + 0o42) + chr(0b111000)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x95\x04\x83'), chr(4280 - 4180) + chr(0b1100101) + chr(0b111111 + 0o44) + '\157' + '\x64' + chr(101))(chr(6064 - 5947) + '\164' + '\146' + '\055' + '\070')]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13@\x1b\xcekl\xdfb\xf1\xcd'), chr(0b1100100) + '\x65' + '\x63' + chr(0b100 + 0o153) + chr(0b10111 + 0o115) + chr(982 - 881))(chr(117) + chr(0b1100000 + 0o24) + '\146' + chr(45) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(8375 - 8275) + chr(101) + chr(9109 - 9010) + '\x6f' + '\144' + chr(8322 - 8221))('\165' + chr(0b1110100) + '\146' + '\055' + chr(1440 - 1384)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x04\xee"8\xe4'), chr(0b1100100) + chr(101) + chr(99) + chr(0b110011 + 0o74) + chr(100) + chr(101))(chr(0b0 + 0o165) + '\x74' + chr(102) + chr(45) + '\x38')]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13@\x1b\xcekl\xdfo\xfa\xcd'), chr(6943 - 6843) + chr(0b1100101) + chr(99) + chr(111) + chr(0b11110 + 0o106) + chr(8953 - 8852))(chr(0b1111 + 0o146) + '\164' + chr(7519 - 7417) + chr(0b1000 + 0o45) + chr(56))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(0b1100100) + '\145' + chr(0b1100011) + '\157' + chr(2433 - 2333) + chr(0b1000100 + 0o41))('\165' + chr(0b10110 + 0o136) + '\x66' + chr(0b101101) + chr(56)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x04\xee/3\xe4'), chr(100) + chr(1795 - 1694) + chr(99) + '\x6f' + '\x64' + chr(4396 - 4295))(chr(117) + chr(0b1010000 + 0o44) + chr(102) + chr(1865 - 1820) + '\x38')]
if n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x95\x07\x82'), chr(100) + chr(0b100011 + 0o102) + chr(0b1100011) + chr(11535 - 11424) + '\x64' + chr(763 - 662))(chr(0b1110101) + chr(0b110010 + 0o102) + chr(102) + chr(45) + chr(56))] > n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x95\x04\x83'), '\x64' + chr(0b1010001 + 0o24) + chr(0b1100011) + '\157' + chr(0b1100100) + '\145')(chr(117) + chr(12639 - 12523) + '\x66' + chr(1717 - 1672) + chr(56))]:
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13@\x1b\xd1zy\xe1Y\xe7\xcb7\x93\xa0\x1fl\t\xc8\xaf'), chr(0b1100100) + chr(2355 - 2254) + chr(0b1111 + 0o124) + chr(0b1101111) + '\x64' + '\x65')(chr(117) + '\x74' + chr(0b1100110) + chr(45) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), '\x64' + '\145' + chr(0b1100011) + chr(111) + chr(0b10110 + 0o116) + chr(0b1100101))(chr(117) + '\164' + '\x66' + chr(45) + chr(56)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x95\x07\x82'), chr(0b1100100) + '\145' + '\143' + chr(111) + chr(0b1100100) + chr(101))('\165' + '\164' + chr(0b1010100 + 0o22) + '\x2d' + '\070')]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13@\x1b\xd1zy\xe1Y\xf0\xcb9'), '\144' + chr(0b1010100 + 0o21) + chr(1157 - 1058) + '\x6f' + chr(0b1100010 + 0o2) + chr(9813 - 9712))('\x75' + chr(2462 - 2346) + chr(0b1100110) + chr(0b100010 + 0o13) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(0b1100100) + '\145' + '\x63' + '\157' + chr(0b100101 + 0o77) + chr(0b100 + 0o141))(chr(0b1110101) + chr(116) + '\x66' + chr(0b101101) + chr(2510 - 2454)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x06\xee"8\xe4'), chr(4010 - 3910) + chr(0b1100101) + chr(0b1011111 + 0o4) + chr(1800 - 1689) + '\144' + chr(0b1100101))('\165' + '\x74' + chr(0b1100110) + chr(0b10 + 0o53) + chr(0b111000))]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13@\x1b\xd1zy\xe1Y\xfd\xc09'), chr(0b1100100) + chr(5936 - 5835) + '\143' + chr(0b1011010 + 0o25) + chr(0b1100100) + chr(101))(chr(8016 - 7899) + chr(8889 - 8773) + chr(0b101010 + 0o74) + chr(0b101101) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), '\144' + '\x65' + chr(9369 - 9270) + chr(111) + chr(6767 - 6667) + chr(0b1100101))('\x75' + chr(0b1110 + 0o146) + '\146' + '\x2d' + chr(0b1101 + 0o53)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x06\xee/3\xe4'), chr(100) + '\x65' + chr(99) + chr(0b11010 + 0o125) + '\x64' + chr(0b101 + 0o140))(chr(117) + chr(116) + '\146' + chr(650 - 605) + '\070')]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13A\x1b\xd1zy\xe1Y\xe7\xcb7\x93\xa0\x1fl\t\xc8\xaf'), '\x64' + '\145' + '\143' + '\x6f' + chr(100) + '\145')(chr(461 - 344) + chr(0b1000110 + 0o56) + '\146' + chr(636 - 591) + '\070')] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(100) + chr(1655 - 1554) + '\143' + chr(0b1101111) + chr(0b1100100 + 0o0) + chr(101))(chr(117) + chr(1286 - 1170) + chr(0b1100 + 0o132) + chr(45) + chr(0b111000)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x95\x07\x82'), chr(0b11010 + 0o112) + chr(9581 - 9480) + chr(0b11110 + 0o105) + '\157' + chr(2948 - 2848) + '\x65')(chr(0b0 + 0o165) + '\x74' + chr(102) + chr(0b101001 + 0o4) + chr(0b11110 + 0o32))]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13A\x1b\xd1zy\xe1Y\xf0\xcb9'), '\144' + chr(0b1100101) + chr(99) + chr(9665 - 9554) + '\144' + '\x65')('\x75' + chr(0b1100101 + 0o17) + chr(0b1100001 + 0o5) + chr(0b1000 + 0o45) + '\070')] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(0b1100100) + chr(0b1011100 + 0o11) + chr(8509 - 8410) + chr(2731 - 2620) + chr(0b101010 + 0o72) + chr(1165 - 1064))('\165' + '\164' + chr(0b111000 + 0o56) + chr(609 - 564) + chr(0b111000)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x07\xee"8\xe4'), '\144' + chr(7044 - 6943) + chr(0b111100 + 0o47) + chr(12223 - 12112) + chr(0b10000 + 0o124) + chr(101))(chr(117) + '\164' + '\x66' + chr(0b1 + 0o54) + chr(448 - 392))]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13A\x1b\xd1zy\xe1Y\xfd\xc09'), chr(7974 - 7874) + chr(0b1100101) + chr(99) + chr(0b1101111) + chr(100) + '\145')(chr(0b1110101) + '\x74' + '\146' + chr(0b11100 + 0o21) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(5017 - 4917) + chr(4050 - 3949) + chr(0b1100011) + chr(11076 - 10965) + chr(0b100001 + 0o103) + chr(101))(chr(0b1110101) + chr(8722 - 8606) + chr(102) + chr(1789 - 1744) + chr(1662 - 1606)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x07\xee/3\xe4'), chr(0b1100100) + chr(0b1100011 + 0o2) + chr(0b1100011) + '\157' + '\x64' + '\x65')(chr(1277 - 1160) + chr(116) + chr(0b101100 + 0o72) + chr(45) + chr(0b111000))]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13A\x1b\xcekl\xdfu\xf1\xc33\xa5\x9e\x10e\x02\xc1'), '\x64' + '\145' + '\x63' + chr(111) + '\144' + chr(0b1010010 + 0o23))('\x75' + chr(0b11100 + 0o130) + chr(486 - 384) + chr(757 - 712) + chr(0b11000 + 0o40))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), '\144' + chr(4096 - 3995) + chr(8597 - 8498) + '\157' + '\144' + chr(0b1100101))(chr(3924 - 3807) + chr(0b10011 + 0o141) + chr(0b1100110) + '\055' + '\070') % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x95\x04\x82'), '\144' + chr(2197 - 2096) + chr(0b110100 + 0o57) + '\157' + '\x64' + chr(0b1100101))(chr(117) + chr(0b1010001 + 0o43) + chr(0b1100110) + '\x2d' + chr(0b10110 + 0o42))]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13A\x1b\xcekl\xdfb\xf1\xcd'), '\x64' + '\145' + '\x63' + '\157' + chr(100) + chr(0b1100101))(chr(7207 - 7090) + chr(116) + chr(102) + chr(0b11011 + 0o22) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(100) + chr(101) + chr(0b1 + 0o142) + chr(11346 - 11235) + '\x64' + chr(2346 - 2245))(chr(5060 - 4943) + chr(116) + chr(1413 - 1311) + chr(45) + '\070') % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x04\xee"8\xe4'), '\144' + chr(101) + '\x63' + '\x6f' + chr(0b1011010 + 0o12) + chr(0b1100101))('\x75' + chr(0b11000 + 0o134) + '\x66' + chr(0b101101) + chr(56))]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13A\x1b\xcekl\xdfo\xfa\xcd'), '\x64' + '\x65' + '\143' + chr(5613 - 5502) + chr(0b1100100) + chr(0b1011101 + 0o10))('\x75' + chr(3703 - 3587) + chr(0b1100110 + 0o0) + '\055' + chr(598 - 542))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(9726 - 9626) + chr(101) + '\x63' + chr(0b1100001 + 0o16) + '\144' + chr(101))(chr(117) + chr(116) + chr(102) + chr(0b100 + 0o51) + chr(0b10000 + 0o50)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x04\xee/3\xe4'), chr(0b110110 + 0o56) + '\x65' + '\143' + '\157' + '\x64' + chr(101))(chr(0b1110101) + chr(116) + chr(102) + '\x2d' + chr(0b11011 + 0o35))]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13@\x1b\xcekl\xdfu\xf1\xc33\xa5\x9e\x10e\x02\xc1'), chr(6849 - 6749) + chr(6722 - 6621) + chr(0b1100011) + chr(3532 - 3421) + chr(253 - 153) + chr(0b1100101))('\165' + chr(7214 - 7098) + chr(0b1000 + 0o136) + '\x2d' + chr(0b101101 + 0o13))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(8687 - 8587) + chr(0b1100101) + chr(99) + chr(0b1101111) + chr(0b10100 + 0o120) + chr(101))(chr(0b1011 + 0o152) + chr(116) + chr(7858 - 7756) + '\055' + chr(1877 - 1821)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x95\x04\x83'), chr(100) + '\x65' + '\143' + '\157' + '\x64' + chr(101))(chr(0b1110101) + '\x74' + chr(9937 - 9835) + '\x2d' + chr(56))]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13@\x1b\xcekl\xdfb\xf1\xcd'), '\x64' + chr(0b1011001 + 0o14) + chr(0b1100011) + chr(0b1101111) + chr(9814 - 9714) + chr(7201 - 7100))(chr(4854 - 4737) + chr(0b1110100) + chr(3066 - 2964) + '\x2d' + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), '\144' + '\x65' + chr(0b1100011) + chr(0b1101111) + '\144' + chr(1400 - 1299))(chr(0b1101111 + 0o6) + chr(0b1000001 + 0o63) + chr(0b10001 + 0o125) + chr(929 - 884) + chr(0b11 + 0o65)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x04\xee"8\xe4'), chr(0b1100100) + chr(101) + chr(5319 - 5220) + chr(0b1101111) + chr(100) + chr(0b110111 + 0o56))(chr(117) + chr(255 - 139) + '\x66' + chr(456 - 411) + chr(0b111000))]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13@\x1b\xcekl\xdfo\xfa\xcd'), '\x64' + '\x65' + chr(0b100000 + 0o103) + chr(111) + '\144' + chr(101))(chr(0b1000111 + 0o56) + chr(0b1110100) + '\146' + chr(0b100 + 0o51) + chr(0b100011 + 0o25))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), '\x64' + '\x65' + '\143' + chr(0b1101111) + '\144' + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + chr(102) + chr(0b101101) + chr(0b10110 + 0o42)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x04\xee/3\xe4'), '\x64' + chr(0b1100100 + 0o1) + '\x63' + '\157' + '\144' + '\145')('\165' + chr(0b110010 + 0o102) + '\x66' + '\x2d' + '\x38')]
else:
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13@\x1b\xd1zy\xe1Y\xe7\xcb7\x93\xa0\x1fl\t\xc8\xaf'), '\144' + chr(2066 - 1965) + '\x63' + chr(0b1011001 + 0o26) + '\x64' + chr(0b1100101))('\165' + chr(6404 - 6288) + chr(0b1010001 + 0o25) + chr(0b11100 + 0o21) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(9553 - 9453) + '\145' + '\x63' + '\x6f' + chr(0b1100100) + chr(0b1100101))(chr(12250 - 12133) + chr(11056 - 10940) + chr(0b1100110) + '\055' + '\x38') % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x95\x04\x83'), '\x64' + chr(0b1100101) + chr(0b1100011) + chr(0b1001010 + 0o45) + chr(100) + chr(101))(chr(0b1110101) + chr(0b11000 + 0o134) + chr(0b1100110) + chr(45) + chr(0b1 + 0o67))]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13@\x1b\xd1zy\xe1Y\xf0\xcb9'), chr(7040 - 6940) + chr(101) + chr(0b1100011) + chr(5486 - 5375) + chr(8643 - 8543) + chr(101))(chr(117) + chr(2890 - 2774) + '\146' + chr(0b101101) + '\070')] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(0b1011000 + 0o14) + '\x65' + chr(0b1100011) + chr(111) + '\x64' + '\145')('\165' + chr(0b1110100) + chr(0b1100110) + '\055' + chr(56)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x04\xee"8\xe4'), chr(2895 - 2795) + '\145' + chr(99) + '\157' + chr(0b1100100) + '\145')(chr(0b1110101) + chr(116) + chr(102) + chr(1658 - 1613) + chr(56))]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13@\x1b\xd1zy\xe1Y\xfd\xc09'), '\144' + chr(0b1100101) + chr(1166 - 1067) + chr(111) + '\144' + chr(101))(chr(0b1110101) + chr(0b1110100) + chr(8144 - 8042) + chr(45) + chr(0b101101 + 0o13))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(0b1100100) + '\x65' + chr(99) + '\x6f' + chr(100) + chr(101))(chr(0b1101111 + 0o6) + chr(0b1110100) + chr(3285 - 3183) + chr(45) + chr(182 - 126)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x04\xee/3\xe4'), '\x64' + chr(0b1100101) + chr(0b1010 + 0o131) + '\x6f' + chr(100) + '\x65')(chr(8691 - 8574) + chr(0b110001 + 0o103) + chr(102) + chr(45) + chr(56))]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13A\x1b\xcekl\xdfu\xf1\xc33\xa5\x9e\x10e\x02\xc1'), '\144' + chr(0b1100101) + '\x63' + chr(0b1001000 + 0o47) + chr(100) + chr(101))(chr(0b1100000 + 0o25) + chr(4304 - 4188) + '\146' + chr(0b101101) + chr(0b1011 + 0o55))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), '\144' + '\x65' + chr(0b1100011) + '\157' + chr(0b1100100) + chr(0b1001101 + 0o30))('\165' + '\164' + '\146' + chr(0b11000 + 0o25) + '\x38') % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x95\x07\x82'), '\144' + '\x65' + chr(0b111110 + 0o45) + '\x6f' + chr(5868 - 5768) + chr(4244 - 4143))(chr(0b10 + 0o163) + chr(0b100110 + 0o116) + chr(0b100011 + 0o103) + chr(45) + chr(0b10001 + 0o47))]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13A\x1b\xcekl\xdfb\xf1\xcd'), '\144' + chr(2388 - 2287) + '\x63' + chr(0b1011111 + 0o20) + '\x64' + '\x65')(chr(0b110011 + 0o102) + chr(10097 - 9981) + chr(102) + '\x2d' + chr(56))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(5826 - 5726) + chr(101) + chr(0b1001011 + 0o30) + '\157' + chr(0b10010 + 0o122) + chr(894 - 793))('\x75' + '\164' + '\x66' + chr(1122 - 1077) + chr(2289 - 2233)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x07\xee"8\xe4'), chr(0b1100100) + '\145' + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(0b1000101 + 0o40))(chr(11940 - 11823) + chr(116) + chr(102) + chr(1691 - 1646) + chr(0b11111 + 0o31))]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13A\x1b\xcekl\xdfo\xfa\xcd'), '\x64' + chr(101) + '\x63' + chr(0b1101111) + chr(0b1100100) + '\145')(chr(117) + chr(116) + chr(5411 - 5309) + chr(0b101101) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), '\144' + '\x65' + chr(7962 - 7863) + '\x6f' + chr(2935 - 2835) + chr(0b1100101))('\165' + chr(0b1110100) + '\146' + chr(665 - 620) + '\070') % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x07\xee/3\xe4'), '\144' + '\145' + chr(0b1100011) + chr(3716 - 3605) + chr(9959 - 9859) + chr(101))(chr(0b11110 + 0o127) + '\164' + chr(0b1000010 + 0o44) + '\x2d' + '\070')]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13A\x1b\xd1zy\xe1Y\xe7\xcb7\x93\xa0\x1fl\t\xc8\xaf'), '\x64' + chr(101) + chr(2132 - 2033) + chr(0b1000111 + 0o50) + chr(0b1010000 + 0o24) + '\145')(chr(0b1000100 + 0o61) + '\164' + '\x66' + '\x2d' + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), '\x64' + chr(2605 - 2504) + chr(0b1010111 + 0o14) + chr(4351 - 4240) + '\144' + chr(0b1100101))('\x75' + chr(9338 - 9222) + '\x66' + chr(0b10101 + 0o30) + '\x38') % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x95\x04\x82'), chr(3464 - 3364) + chr(6464 - 6363) + chr(0b1100011) + chr(0b11111 + 0o120) + chr(0b1100100) + chr(6923 - 6822))(chr(117) + '\164' + '\146' + '\x2d' + '\x38')]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13A\x1b\xd1zy\xe1Y\xf0\xcb9'), chr(0b111101 + 0o47) + '\145' + '\143' + '\157' + chr(0b1100100) + '\145')(chr(117) + '\x74' + chr(102) + chr(45) + chr(2287 - 2231))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(100) + chr(0b1100101) + '\143' + chr(111) + chr(0b1100100) + '\x65')(chr(0b1110101) + chr(116) + '\146' + '\055' + chr(0b1001 + 0o57)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x04\xee"8\xe4'), '\x64' + chr(0b11101 + 0o110) + chr(0b1010010 + 0o21) + chr(0b1101111) + chr(0b1100100) + '\x65')(chr(0b1110101) + chr(0b100010 + 0o122) + '\x66' + chr(45) + '\070')]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13A\x1b\xd1zy\xe1Y\xfd\xc09'), chr(0b101000 + 0o74) + '\x65' + chr(0b1100011) + '\157' + chr(0b1000011 + 0o41) + chr(0b1100101))('\165' + chr(0b1110100) + chr(0b1100110) + chr(0b11010 + 0o23) + '\070')] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(100) + '\x65' + '\x63' + chr(0b1010110 + 0o31) + '\144' + chr(0b100011 + 0o102))(chr(2552 - 2435) + chr(0b1101100 + 0o10) + chr(0b110011 + 0o63) + chr(45) + chr(713 - 657)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x04\xee/3\xe4'), chr(0b1100100) + '\145' + chr(99) + '\x6f' + chr(7971 - 7871) + chr(0b1100101))('\165' + '\164' + '\x66' + '\x2d' + chr(0b111000))]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13@\x1b\xcekl\xdfu\xf1\xc33\xa5\x9e\x10e\x02\xc1'), chr(100) + chr(0b1100101) + chr(0b10010 + 0o121) + chr(0b1000100 + 0o53) + chr(0b1100100) + '\x65')(chr(0b11111 + 0o126) + chr(0b1110100) + '\146' + chr(45) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(0b1100100) + chr(0b1001 + 0o134) + chr(0b1001111 + 0o24) + chr(111) + chr(0b110010 + 0o62) + '\145')(chr(2560 - 2443) + chr(0b1110100) + '\x66' + chr(0b1100 + 0o41) + '\070') % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x95\x07\x82'), '\144' + chr(0b1100101) + chr(99) + chr(0b1101111) + chr(0b1100100) + '\145')(chr(0b1110101) + '\x74' + chr(1267 - 1165) + '\x2d' + '\070')]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13@\x1b\xcekl\xdfb\xf1\xcd'), '\x64' + '\x65' + '\143' + chr(0b1101111) + chr(0b1100100) + '\x65')('\165' + chr(0b1110100) + chr(102) + chr(563 - 518) + chr(0b100 + 0o64))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), '\x64' + chr(0b111010 + 0o53) + chr(7777 - 7678) + chr(111) + '\144' + '\145')('\165' + '\x74' + '\146' + '\x2d' + chr(56)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x06\xee"8\xe4'), chr(0b1100100) + chr(101) + chr(0b100000 + 0o103) + chr(0b1101111) + '\144' + chr(0b11100 + 0o111))('\x75' + '\164' + chr(4783 - 4681) + chr(0b101100 + 0o1) + chr(0b11011 + 0o35))]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x13@\x1b\xcekl\xdfo\xfa\xcd'), '\144' + chr(101) + chr(0b1010110 + 0o15) + '\x6f' + '\144' + chr(101))(chr(0b1011101 + 0o30) + '\164' + chr(0b1100110) + '\x2d' + chr(0b11 + 0o65))] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x02\x9fw;\xa7'), chr(0b1011111 + 0o5) + chr(101) + '\143' + chr(0b1101111) + chr(1474 - 1374) + '\145')(chr(5013 - 4896) + '\164' + chr(987 - 885) + chr(45) + chr(820 - 764)) % n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x86\x06\xee/3\xe4'), '\x64' + chr(0b1001001 + 0o34) + chr(8691 - 8592) + chr(0b1101111) + '\144' + chr(101))(chr(117) + '\164' + chr(0b1100110) + '\055' + '\070')]
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x84\\\xdd2\x02\xe4\xb3\x87Y\xaa\xdc\x11\x1b+\xc5'), '\x64' + chr(0b1100101) + chr(0b1100011) + chr(10264 - 10153) + chr(2650 - 2550) + chr(0b1100101))(chr(0b110110 + 0o77) + chr(0b1110100) + chr(3803 - 3701) + chr(0b101101) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\xdd\x04'), chr(0b100110 + 0o76) + chr(101) + chr(0b1100011) + chr(111) + chr(9997 - 9897) + chr(0b1100101))(chr(12455 - 12338) + '\x74' + chr(859 - 757) + '\x2d' + '\x38')
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x91[\xd852\xf3\xae\x9a[\xb6\xe0\x11\x0b4\xce'), '\144' + chr(0b111100 + 0o51) + chr(6573 - 6474) + chr(6966 - 6855) + chr(2792 - 2692) + '\145')(chr(12305 - 12188) + chr(116) + '\146' + chr(0b10000 + 0o35) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\xb1a\xe3\x0b'), '\144' + chr(0b1100101) + chr(7778 - 7679) + chr(11834 - 11723) + '\x64' + '\x65')('\x75' + chr(0b1110100) + chr(0b1010010 + 0o24) + chr(0b101101) + '\x38')
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b"\x9dT\xd6/>\xd8\xb1\x90_\xa7\xd0\x01-'\xc4{h\xf3"), '\144' + chr(101) + chr(0b1100011) + chr(0b1101111) + '\x64' + '\x65')(chr(117) + '\x74' + chr(6712 - 6610) + '\x2d' + chr(0b10000 + 0o50))] = roI3spqORKae(ES5oEprVxulp(b'\xbce\x9c\x07\x13\xaa\x88\xa7f\xf5\xfe _\x0c'), '\144' + chr(0b1100101) + chr(99) + chr(0b111100 + 0o63) + chr(8683 - 8583) + '\x65')(chr(117) + chr(299 - 183) + chr(0b1100110) + chr(0b1001 + 0o44) + '\070')
tn6IBqGli99m[roI3spqORKae(ES5oEprVxulp(b"\x9dT\xd6/>\xd8\xb1\x90_\xa7\xd0\x01-'\xc4{h\xf3"), chr(7311 - 7211) + chr(101) + chr(0b101 + 0o136) + chr(2879 - 2768) + '\x64' + '\x65')(chr(5430 - 5313) + '\164' + '\146' + chr(1123 - 1078) + chr(3096 - 3040))] = roI3spqORKae(ES5oEprVxulp(b'\xbce\x9c\x07\x13\xaa\x88\xa7f\xf5\xfe _\x0c'), chr(0b1100100) + chr(101) + '\143' + chr(0b100100 + 0o113) + '\144' + chr(101))('\x75' + '\x74' + chr(102) + chr(0b101101) + '\x38')
osajUqbp3ArQ[roI3spqORKae(ES5oEprVxulp(b'\x9dT\xd6/>\xd8\xaf\x9aM\xbb\xc8\x04\x00!\xf4ol\xe3m\xf5\xc9?\x89'), '\144' + chr(0b1100101) + '\143' + chr(0b1101111) + '\144' + chr(0b1100101))(chr(0b1010001 + 0o44) + '\x74' + chr(102) + chr(45) + chr(0b1001 + 0o57))] = hUcsWwAd0nE_.get_version()
tn6IBqGli99m[roI3spqORKae(ES5oEprVxulp(b'\x9dT\xd6/>\xd8\xaf\x9aM\xbb\xc8\x04\x00!\xf4ol\xe3m\xf5\xc9?\x89'), chr(0b1100100) + chr(101) + '\143' + chr(0b1101111) + '\144' + chr(101))('\165' + chr(0b1110100) + chr(0b1011101 + 0o11) + '\055' + '\070')] = hUcsWwAd0nE_.get_version()
roI3spqORKae(UhLZcIe6EnAr, roI3spqORKae(ES5oEprVxulp(b'\xb8a\xe2r%\xe0\x9b\x9aA\xa0\xeaP'), '\144' + chr(101) + '\x63' + chr(0b10000 + 0o137) + chr(100) + '\x65')(chr(117) + '\x74' + chr(8343 - 8241) + chr(0b11 + 0o52) + '\x38'))(tn6IBqGli99m)
roI3spqORKae(iN09q0sofmCO, roI3spqORKae(ES5oEprVxulp(b'\xb8a\xe2r%\xe0\x9b\x9aA\xa0\xeaP'), chr(100) + '\x65' + chr(0b101 + 0o136) + chr(0b1001100 + 0o43) + chr(0b1000000 + 0o44) + '\x65')(chr(117) + chr(116) + '\146' + '\055' + '\x38'))(osajUqbp3ArQ)
EJPYhrC8WoVb += nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(1975 - 1926), 8)
if Z5dKAC9uv0qA == nzTpIcepk0o8(chr(1235 - 1187) + chr(0b1101111) + chr(51), 8):
BbqEDPeIt2aA = osajUqbp3ArQ.copy()
roI3spqORKae(BbqEDPeIt2aA, roI3spqORKae(ES5oEprVxulp(b'\xbaj\xdat\x14\xde\x9e\xc4H\xaa\xce\x0b'), chr(0b1011000 + 0o14) + chr(0b1010000 + 0o25) + '\143' + chr(5625 - 5514) + '\144' + chr(2308 - 2207))('\165' + chr(0b1110100) + chr(0b1001101 + 0o31) + chr(0b11100 + 0o21) + chr(253 - 197)))(tn6IBqGli99m)
roI3spqORKae(ats0aw_IRz86, roI3spqORKae(ES5oEprVxulp(b'\xb8a\xe2r%\xe0\x9b\x9aA\xa0\xeaP'), chr(8250 - 8150) + '\x65' + chr(99) + chr(111) + chr(3368 - 3268) + chr(101))(chr(117) + '\x74' + chr(0b100 + 0o142) + '\x2d' + chr(2467 - 2411)))(BbqEDPeIt2aA)
if Z5dKAC9uv0qA == nzTpIcepk0o8('\x30' + '\157' + chr(51), 8):
for FKO_XxLfWbYt in ats0aw_IRz86:
Tq5QUhU3GQs8 = ntOEbtdxWLl2.convert_aniso(roI3spqORKae(ES5oEprVxulp(b'\x9dT\xd6/>\xb4'), '\144' + chr(0b1100101) + chr(5109 - 5010) + chr(0b1101111) + '\144' + '\x65')(chr(117) + '\x74' + '\x66' + chr(0b11001 + 0o24) + '\070'), FKO_XxLfWbYt)
roI3spqORKae(SDAiwqKFQXD3, roI3spqORKae(ES5oEprVxulp(b'\xb8a\xe2r%\xe0\x9b\x9aA\xa0\xeaP'), chr(0b1100100) + chr(3841 - 3740) + chr(8235 - 8136) + '\157' + chr(0b100110 + 0o76) + '\145')('\x75' + chr(0b1000000 + 0o64) + chr(2672 - 2570) + '\x2d' + '\x38'))(Tq5QUhU3GQs8)
roI3spqORKae(hUcsWwAd0nE_, roI3spqORKae(ES5oEprVxulp(b'\x9dT\xd6/>\xd8\xab\x87B\xbb\xda'), chr(100) + chr(3705 - 3604) + chr(99) + chr(3423 - 3312) + '\x64' + '\145')(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + chr(0b1100 + 0o41) + chr(56)))(Q0lvVOxRZL7R, SDAiwqKFQXD3, roI3spqORKae(ES5oEprVxulp(b'\x83E\xd4%4\xea\xb9\x9bX'), chr(6904 - 6804) + '\x65' + chr(0b1100011) + '\x6f' + '\144' + '\x65')('\x75' + chr(0b1110100) + chr(5098 - 4996) + chr(1512 - 1467) + chr(56)))
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'\x83E\xd4%4\xea\xb9\x9b\x0b\xab\xde\x11\x13d\xd8kb\xf2c\xf0\x8e3\x94\xdf\x05\x7f'), '\144' + chr(0b1100101) + chr(0b1010 + 0o131) + '\x6f' + chr(100) + chr(101))(chr(117) + chr(0b1110100) + chr(102) + '\055' + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\x81\x06\x82\r\x1a\xb4\xba\x9az\x90\xfc/'), chr(0b1100100) + '\145' + '\x63' + '\x6f' + chr(0b1100100) + chr(1559 - 1458))('\x75' + '\x74' + '\x66' + chr(0b100 + 0o51) + '\070'))(Q0lvVOxRZL7R))
return (nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\061', 8), Q0lvVOxRZL7R)
else:
roI3spqORKae(hUcsWwAd0nE_, roI3spqORKae(ES5oEprVxulp(b'\x9dT\xd6/>\xd8\xab\x87B\xbb\xda'), chr(0b1000101 + 0o37) + '\x65' + chr(0b10111 + 0o114) + chr(1169 - 1058) + '\x64' + chr(101))(chr(9502 - 9385) + chr(0b1110100) + '\x66' + '\x2d' + chr(0b101 + 0o63)))(_FI7bYukrpin, UhLZcIe6EnAr, roI3spqORKae(ES5oEprVxulp(b'\x82X\xd0!\x02\xe6\xb2\x9cX\xa0\xcb\x17\x1d4\xd2'), '\x64' + chr(0b100110 + 0o77) + chr(0b1100011) + '\x6f' + chr(8183 - 8083) + '\145')(chr(117) + '\x74' + '\x66' + chr(1671 - 1626) + chr(0b11001 + 0o37)))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x83E\xd4%4\xea\xb9\x9b\x0b\xbb\xda\x0b\x01+\xd9?h\xecc\xf9\xcb4\x8e\x8c^q\x1a\xcb\xb8_\xcc\xb3-\xa5\xaa'), chr(100) + '\x65' + chr(0b1010111 + 0o14) + '\157' + chr(0b1100100) + '\145')('\165' + chr(116) + chr(7360 - 7258) + chr(0b100111 + 0o6) + '\x38'), _FI7bYukrpin)
roI3spqORKae(hUcsWwAd0nE_, roI3spqORKae(ES5oEprVxulp(b'\x9dT\xd6/>\xd8\xab\x87B\xbb\xda'), '\x64' + '\145' + chr(6226 - 6127) + chr(0b1001100 + 0o43) + chr(0b11001 + 0o113) + chr(101))(chr(0b1110101) + chr(0b1110100) + '\x66' + chr(731 - 686) + chr(56)))(CGI6vi1yYHgn, iN09q0sofmCO, roI3spqORKae(ES5oEprVxulp(b'\x82X\xd0!\x02\xf5\xb9\x86^\xa3\xcb\x16'), '\144' + '\x65' + chr(8692 - 8593) + chr(111) + chr(100) + chr(3190 - 3089))('\165' + chr(8450 - 8334) + chr(0b1100000 + 0o6) + chr(45) + chr(0b111000)))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x83E\xd4%4\xea\xb9\x9b\x0b\xbc\xcb\x04\x06-\xd8kd\xe3u\xb4\xcf4\x9e\xdf\x1bk\t\xc1\xa4J\xc9\xe1%\xa6\xef0\x0e\x02\xb8\xcd\x83A\xde48\xe3\xfc\x9cE\xef'), '\144' + chr(0b100000 + 0o105) + '\143' + '\157' + chr(8240 - 8140) + chr(0b1100101))(chr(1903 - 1786) + chr(2662 - 2546) + '\146' + chr(0b11110 + 0o17) + chr(0b111000)), CGI6vi1yYHgn)
return (nzTpIcepk0o8('\060' + chr(0b1000001 + 0o56) + '\x31', 8), _FI7bYukrpin)
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
zeq_magic
|
def zeq_magic(meas_file='measurements.txt', spec_file='',crd='s',input_dir_path='.', angle=0,
n_plots=5, save_plots=True, fmt="svg", interactive=False, specimen="",
samp_file='samples.txt', contribution=None,fignum=1):
"""
zeq_magic makes zijderveld and equal area plots for magic formatted measurements files.
Parameters
----------
meas_file : str
input measurement file
spec_file : str
input specimen interpretation file
samp_file : str
input sample orientations file
crd : str
coordinate system [s,g,t] for specimen, geographic, tilt corrected
g,t options require a sample file with specimen and bedding orientation
input_dir_path : str
input directory of meas_file, default "."
angle : float
angle of X direction with respect to specimen X
n_plots : int, default 5
maximum number of plots to make
if you want to make all possible plots, specify "all"
save_plots : bool, default True
if True, create and save all requested plots
fmt : str, default "svg"
format for figures, [svg, jpg, pdf, png]
interactive : bool, default False
interactively plot and display for each specimen
(this is best used on the command line only)
specimen : str, default ""
specimen name to plot
samp_file : str, default 'samples.txt'
name of samples file
contribution : cb.Contribution, default None
if provided, use Contribution object instead of reading in
data from files
fignum : matplotlib figure number
"""
def plot_interpretations(ZED, spec_container, this_specimen, this_specimen_measurements, datablock):
if cb.is_null(spec_container) or cb.is_null(this_specimen_measurements) or cb.is_null(datablock):
return ZED
if 'method_codes' not in spec_container.df.columns:
return ZED
prior_spec_data = spec_container.get_records_for_code(
'LP-DIR', strict_match=False) # look up all prior directional interpretations
prior_specimen_interpretations=[]
if not len(prior_spec_data):
return ZED
mpars = {"specimen_direction_type": "Error"}
if len(prior_spec_data):
prior_specimen_interpretations = prior_spec_data[prior_spec_data['specimen'].astype(str) == this_specimen] #.str.match(this_specimen) == True]
if len(prior_specimen_interpretations):
if len(prior_specimen_interpretations)>0:
beg_pcas = pd.to_numeric(
prior_specimen_interpretations.meas_step_min.values).tolist()
end_pcas = pd.to_numeric(
prior_specimen_interpretations.meas_step_max.values).tolist()
spec_methods = prior_specimen_interpretations.method_codes.tolist()
# step through all prior interpretations and plot them
for ind in range(len(beg_pcas)):
spec_meths = spec_methods[ind].split(':')
for m in spec_meths:
if 'DE-BFL' in m:
calculation_type = 'DE-BFL' # best fit line
if 'DE-BFP' in m:
calculation_type = 'DE-BFP' # best fit plane
if 'DE-FM' in m:
calculation_type = 'DE-FM' # fisher mean
if 'DE-BFL-A' in m:
calculation_type = 'DE-BFL-A' # anchored best fit line
treatments = pd.to_numeric(this_specimen_measurements.treatment).tolist()
if len(beg_pcas)!=0:
try:
# getting the starting and ending points
start, end = treatments.index(beg_pcas[ind]), treatments.index(end_pcas[ind])
mpars = pmag.domean(
datablock, start, end, calculation_type)
except ValueError as ex:
mpars['specimen_direction_type'] = "Error"
try:
if beg_pcas[ind] == 0:
start = 0
else:
start = treatments.index(beg_pcas[ind])
if end_pcas[ind] == 0:
end = 0
else:
end = treatments.index(end_pcas[ind])
mpars = pmag.domean(
datablock, start, end, calculation_type)
except ValueError:
mpars['specimen_direction_type'] = "Error"
# calculate direction/plane
if mpars["specimen_direction_type"] != "Error":
# put it on the plot
pmagplotlib.plot_dir(ZED, mpars, datablock, angle)
#if interactive:
# pmagplotlib.draw_figs(ZED)
else:
print('\n-W- Specimen {} record contains invalid start/stop bounds:'.format(this_specimen))
print(prior_spec_data.loc[this_specimen][['meas_step_min', 'meas_step_max']])
print('\n Measurement records:')
cols = list(set(['treat_ac_field', 'treat_temp']).intersection(this_specimen_measurements.columns))
print(this_specimen_measurements[cols])
print('\n Data will be plotted without interpretations\n')
return ZED
def make_plots(spec, cnt, meas_df, spec_container, samp_container=None):
# get sample data for orientation
if spec_container:
try:
samps = spec_container.df.loc[spec, 'sample']
except KeyError:
samps = ""
samp_df = []
if isinstance(samps, int) or isinstance(samps, float) or isinstance(samps, np.int64):
if np.isnan(samps):
samp = ""
samp_df = []
else:
samp = str(samps)
samp_container.df.index = samp_container.df.index.astype(str)
samp_df = samp_container.df[samp_container.df.index == samp]
elif isinstance(samps, type(None)):
samp = ""
samp_df = []
elif len(samps):
if isinstance(samps, str):
samp = samps
else:
samp = samps.iloc[0]
samp_df = samp_container.df[samp_container.df.index == samp]
else:
samp_df = []
# we can make the figure dictionary that pmagplotlib likes:
ZED = {'eqarea': cnt, 'zijd': cnt+1, 'demag': cnt+2} # make datablock
# get the relevant data
spec_df = meas_df[meas_df.specimen == s]
# remove ARM data
spec_df = spec_df[- spec_df.method_codes.str.contains(
'LP-*[\w]*-ARM')]
# split data into NRM, thermal, and af dataframes
spec_df_nrm = spec_df[spec_df.method_codes.str.contains(
'LT-NO')] # get the NRM data
spec_df_th = spec_df[spec_df.method_codes.str.contains(
'LT-T-Z')] # zero field thermal demag steps
try:
cond = spec_df.method_codes.str.contains('(^|[\s\:])LT-PTRM')
spec_df_th = spec_df_th[-cond] # get rid of some pTRM steps
except ValueError:
keep_inds = []
n = 0
for ind, row in spec_df_th.copy().iterrows():
if 'LT-PTRM' in row['method_codes'] and 'ALT-PTRM' not in row['method_codes']:
keep_inds.append(n)
else:
pass
n += 1
if len(keep_inds) < n:
spec_df_th = spec_df_th.iloc[keep_inds]
spec_df_af = spec_df[spec_df.method_codes.str.contains('LT-AF-Z')]
this_spec_meas_df = None
datablock = None
if (not len(spec_df_th.index) > 1) and (not len(spec_df_af.index) > 1):
return
if len(spec_df_th.index) > 1: # this is a thermal run
this_spec_meas_df = pd.concat([spec_df_nrm, spec_df_th])
# make sure all decs/incs are filled in
n_rows = len(this_spec_meas_df)
this_spec_meas_df = this_spec_meas_df.dropna(how='any', subset=['dir_dec', 'dir_inc', 'magn_moment'])
if n_rows > len(this_spec_meas_df):
print('-W- Some dec/inc/moment data were missing for specimen {}, so {} measurement row(s) were excluded'.format(s, n_rows - len(this_spec_meas_df)))
# geographic transformation
if coord != "-1" and len(samp_df):
this_spec_meas_df = transform_to_geographic(this_spec_meas_df, samp_df, samp, coord)
units = 'K' # units are kelvin
try:
this_spec_meas_df['magn_moment'] = this_spec_meas_df['magn_moment'].astype(float)
this_spec_meas_df['treat_temp'] = this_spec_meas_df['treat_temp'].astype(float)
except:
print('-W- There are malformed or missing data for specimen {}, skipping'.format(spec))
return
datablock = this_spec_meas_df[['treat_temp', 'dir_dec', 'dir_inc',
'magn_moment', 'blank', 'quality']].values.tolist()
ZED = pmagplotlib.plot_zed(ZED, datablock, angle, s, units)
if len(spec_df_af.index) > 1: # this is an af run
this_spec_meas_df = pd.concat([spec_df_nrm, spec_df_af])
# make sure all decs/incs are filled in
n_rows = len(this_spec_meas_df)
this_spec_meas_df = this_spec_meas_df.dropna(how='any', subset=['dir_dec', 'dir_inc', 'magn_moment'])
if n_rows > len(this_spec_meas_df):
print('-W- Some dec/inc/moment data were missing for specimen {}, so {} measurement row(s) were excluded'.format(s, n_rows - len(this_spec_meas_df)))
# geographic transformation
if coord != "-1" and len(samp_df):
this_spec_meas_df = transform_to_geographic(this_spec_meas_df, samp_df, samp, coord)
units = 'T' # these are AF data
try:
this_spec_meas_df['magn_moment'] = this_spec_meas_df['magn_moment'].astype(float)
this_spec_meas_df['treat_ac_field'] = this_spec_meas_df['treat_ac_field'].astype(float)
except:
print('-W- There are malformed or missing data for specimen {}, skipping'.format(spec))
return
datablock = this_spec_meas_df[['treat_ac_field', 'dir_dec', 'dir_inc',
'magn_moment', 'blank', 'quality']].values.tolist()
ZED = pmagplotlib.plot_zed(ZED, datablock, angle, s, units)
return plot_interpretations(ZED, spec_container, s, this_spec_meas_df, datablock)
if interactive:
save_plots = False
# read in MagIC formatted data if contribution object not provided
if not isinstance(contribution, cb.Contribution):
input_dir_path = os.path.realpath(input_dir_path)
file_path = pmag.resolve_file_name(meas_file, input_dir_path)
# read in magic formatted data
if not os.path.exists(file_path):
print('No such file:', file_path)
return False, []
custom_filenames = {'measurements': file_path, 'specimens': spec_file, 'samples': samp_file}
contribution = cb.Contribution(input_dir_path, custom_filenames=custom_filenames,
read_tables=['measurements', 'specimens',
'contribution', 'samples'])
if pmagplotlib.isServer:
try:
contribution.propagate_location_to_samples()
contribution.propagate_location_to_specimens()
contribution.propagate_location_to_measurements()
except KeyError as ex:
pass
meas_container = contribution.tables['measurements']
meas_df = contribution.tables['measurements'].df #
#meas_df=pd.read_csv(file_path, sep='\t', header=1)
spec_container = contribution.tables.get('specimens', None)
samp_container = contribution.tables.get('samples', None)
#if not spec_file:
# spec_file = os.path.join(os.path.split(file_path)[0], "specimens.txt")
#if os.path.exists(spec_file):
# spec_container = cb.MagicDataFrame(spec_file, dtype="specimens")
#else:
# spec_container = None
meas_df['blank'] = "" # this is a dummy variable expected by plotZED
if 'treat_ac_field' in meas_df.columns:
# create 'treatment' column.
# uses treat_temp if treat_ac_field is missing OR zero.
# (have to take this into account for plotting later)
if 'treat_temp' in meas_df.columns:
meas_df['treatment'] = meas_df['treat_ac_field'].where(
cond=meas_df['treat_ac_field'].astype(bool), other=meas_df['treat_temp'])
else:
meas_df['treatment'] = meas_df['treat_ac_field']
else:
meas_df['treatment'] = meas_df['treat_temp']
if crd == "s":
coord = "-1"
elif crd == "t":
coord = "100"
else:
coord = "0"
specimens = meas_df.specimen.unique() # list of specimen names
if len(specimens) == 0:
print('there are no data for plotting')
return False, []
# check measurement table for req'd fields
missing = []
reqd_cols_present = meas_df.columns.intersection(['dir_dec', 'dir_inc', 'magn_moment'])
for col in ['dir_dec', 'dir_inc', 'magn_moment']:
if col not in reqd_cols_present:
missing.append(col)
if missing:
print('-W- Missing required column(s) {}, cannot run zeq_magic'.format(', '.join(missing)))
return False, []
cnt = fignum
if n_plots != "all":
if len(specimens) > n_plots:
specimens = specimens[:n_plots]
saved = []
if specimen:
specimens = [specimen]
for s in specimens:
ZED = make_plots(s, cnt, meas_df, spec_container, samp_container)
if not ZED:
if pmagplotlib.verbose:
print('No plots could be created for specimen:', s)
continue
titles = {key: s + "_" + key + "." + fmt for key in ZED}
if pmagplotlib.isServer:
titles = {}
titles['eqarea'] = 'Equal Area Plot'
titles['zijd'] = 'Zijderveld Plot'
titles['demag'] = 'Demagnetization Plot'
con_id = ""
if 'contribution' in contribution.tables:
if 'id' in contribution.tables['contribution'].df.columns:
con_id = contribution.tables['contribution'].df['id'].values[0]
pmagplotlib.add_borders(ZED, titles, con_id=con_id)
for title in titles:
# try to get the full hierarchy for plot names
df_slice = meas_container.df[meas_container.df['specimen'] == s]
location = str(meas_container.get_name('location', df_slice))
site = str(meas_container.get_name('site', df_slice))
sample = str(meas_container.get_name('sample', df_slice))
# add coord here!
filename = 'LO:_'+location+'_SI:_'+site+'_SA:_'+sample + \
'_SP:_'+str(s)+'_CO:_' + '_TY:_'+title+'_.png'
titles[title] = filename
if save_plots:
saved.extend(pmagplotlib.save_plots(ZED, titles))
elif interactive:
pmagplotlib.draw_figs(ZED)
ans = pmagplotlib.save_or_quit()
if ans == 'a':
saved.extend(pmagplotlib.save_plots(ZED, titles))
else:
continue
else:
cnt += 3
return True, saved
|
python
|
def zeq_magic(meas_file='measurements.txt', spec_file='',crd='s',input_dir_path='.', angle=0,
n_plots=5, save_plots=True, fmt="svg", interactive=False, specimen="",
samp_file='samples.txt', contribution=None,fignum=1):
"""
zeq_magic makes zijderveld and equal area plots for magic formatted measurements files.
Parameters
----------
meas_file : str
input measurement file
spec_file : str
input specimen interpretation file
samp_file : str
input sample orientations file
crd : str
coordinate system [s,g,t] for specimen, geographic, tilt corrected
g,t options require a sample file with specimen and bedding orientation
input_dir_path : str
input directory of meas_file, default "."
angle : float
angle of X direction with respect to specimen X
n_plots : int, default 5
maximum number of plots to make
if you want to make all possible plots, specify "all"
save_plots : bool, default True
if True, create and save all requested plots
fmt : str, default "svg"
format for figures, [svg, jpg, pdf, png]
interactive : bool, default False
interactively plot and display for each specimen
(this is best used on the command line only)
specimen : str, default ""
specimen name to plot
samp_file : str, default 'samples.txt'
name of samples file
contribution : cb.Contribution, default None
if provided, use Contribution object instead of reading in
data from files
fignum : matplotlib figure number
"""
def plot_interpretations(ZED, spec_container, this_specimen, this_specimen_measurements, datablock):
if cb.is_null(spec_container) or cb.is_null(this_specimen_measurements) or cb.is_null(datablock):
return ZED
if 'method_codes' not in spec_container.df.columns:
return ZED
prior_spec_data = spec_container.get_records_for_code(
'LP-DIR', strict_match=False) # look up all prior directional interpretations
prior_specimen_interpretations=[]
if not len(prior_spec_data):
return ZED
mpars = {"specimen_direction_type": "Error"}
if len(prior_spec_data):
prior_specimen_interpretations = prior_spec_data[prior_spec_data['specimen'].astype(str) == this_specimen] #.str.match(this_specimen) == True]
if len(prior_specimen_interpretations):
if len(prior_specimen_interpretations)>0:
beg_pcas = pd.to_numeric(
prior_specimen_interpretations.meas_step_min.values).tolist()
end_pcas = pd.to_numeric(
prior_specimen_interpretations.meas_step_max.values).tolist()
spec_methods = prior_specimen_interpretations.method_codes.tolist()
# step through all prior interpretations and plot them
for ind in range(len(beg_pcas)):
spec_meths = spec_methods[ind].split(':')
for m in spec_meths:
if 'DE-BFL' in m:
calculation_type = 'DE-BFL' # best fit line
if 'DE-BFP' in m:
calculation_type = 'DE-BFP' # best fit plane
if 'DE-FM' in m:
calculation_type = 'DE-FM' # fisher mean
if 'DE-BFL-A' in m:
calculation_type = 'DE-BFL-A' # anchored best fit line
treatments = pd.to_numeric(this_specimen_measurements.treatment).tolist()
if len(beg_pcas)!=0:
try:
# getting the starting and ending points
start, end = treatments.index(beg_pcas[ind]), treatments.index(end_pcas[ind])
mpars = pmag.domean(
datablock, start, end, calculation_type)
except ValueError as ex:
mpars['specimen_direction_type'] = "Error"
try:
if beg_pcas[ind] == 0:
start = 0
else:
start = treatments.index(beg_pcas[ind])
if end_pcas[ind] == 0:
end = 0
else:
end = treatments.index(end_pcas[ind])
mpars = pmag.domean(
datablock, start, end, calculation_type)
except ValueError:
mpars['specimen_direction_type'] = "Error"
# calculate direction/plane
if mpars["specimen_direction_type"] != "Error":
# put it on the plot
pmagplotlib.plot_dir(ZED, mpars, datablock, angle)
#if interactive:
# pmagplotlib.draw_figs(ZED)
else:
print('\n-W- Specimen {} record contains invalid start/stop bounds:'.format(this_specimen))
print(prior_spec_data.loc[this_specimen][['meas_step_min', 'meas_step_max']])
print('\n Measurement records:')
cols = list(set(['treat_ac_field', 'treat_temp']).intersection(this_specimen_measurements.columns))
print(this_specimen_measurements[cols])
print('\n Data will be plotted without interpretations\n')
return ZED
def make_plots(spec, cnt, meas_df, spec_container, samp_container=None):
# get sample data for orientation
if spec_container:
try:
samps = spec_container.df.loc[spec, 'sample']
except KeyError:
samps = ""
samp_df = []
if isinstance(samps, int) or isinstance(samps, float) or isinstance(samps, np.int64):
if np.isnan(samps):
samp = ""
samp_df = []
else:
samp = str(samps)
samp_container.df.index = samp_container.df.index.astype(str)
samp_df = samp_container.df[samp_container.df.index == samp]
elif isinstance(samps, type(None)):
samp = ""
samp_df = []
elif len(samps):
if isinstance(samps, str):
samp = samps
else:
samp = samps.iloc[0]
samp_df = samp_container.df[samp_container.df.index == samp]
else:
samp_df = []
# we can make the figure dictionary that pmagplotlib likes:
ZED = {'eqarea': cnt, 'zijd': cnt+1, 'demag': cnt+2} # make datablock
# get the relevant data
spec_df = meas_df[meas_df.specimen == s]
# remove ARM data
spec_df = spec_df[- spec_df.method_codes.str.contains(
'LP-*[\w]*-ARM')]
# split data into NRM, thermal, and af dataframes
spec_df_nrm = spec_df[spec_df.method_codes.str.contains(
'LT-NO')] # get the NRM data
spec_df_th = spec_df[spec_df.method_codes.str.contains(
'LT-T-Z')] # zero field thermal demag steps
try:
cond = spec_df.method_codes.str.contains('(^|[\s\:])LT-PTRM')
spec_df_th = spec_df_th[-cond] # get rid of some pTRM steps
except ValueError:
keep_inds = []
n = 0
for ind, row in spec_df_th.copy().iterrows():
if 'LT-PTRM' in row['method_codes'] and 'ALT-PTRM' not in row['method_codes']:
keep_inds.append(n)
else:
pass
n += 1
if len(keep_inds) < n:
spec_df_th = spec_df_th.iloc[keep_inds]
spec_df_af = spec_df[spec_df.method_codes.str.contains('LT-AF-Z')]
this_spec_meas_df = None
datablock = None
if (not len(spec_df_th.index) > 1) and (not len(spec_df_af.index) > 1):
return
if len(spec_df_th.index) > 1: # this is a thermal run
this_spec_meas_df = pd.concat([spec_df_nrm, spec_df_th])
# make sure all decs/incs are filled in
n_rows = len(this_spec_meas_df)
this_spec_meas_df = this_spec_meas_df.dropna(how='any', subset=['dir_dec', 'dir_inc', 'magn_moment'])
if n_rows > len(this_spec_meas_df):
print('-W- Some dec/inc/moment data were missing for specimen {}, so {} measurement row(s) were excluded'.format(s, n_rows - len(this_spec_meas_df)))
# geographic transformation
if coord != "-1" and len(samp_df):
this_spec_meas_df = transform_to_geographic(this_spec_meas_df, samp_df, samp, coord)
units = 'K' # units are kelvin
try:
this_spec_meas_df['magn_moment'] = this_spec_meas_df['magn_moment'].astype(float)
this_spec_meas_df['treat_temp'] = this_spec_meas_df['treat_temp'].astype(float)
except:
print('-W- There are malformed or missing data for specimen {}, skipping'.format(spec))
return
datablock = this_spec_meas_df[['treat_temp', 'dir_dec', 'dir_inc',
'magn_moment', 'blank', 'quality']].values.tolist()
ZED = pmagplotlib.plot_zed(ZED, datablock, angle, s, units)
if len(spec_df_af.index) > 1: # this is an af run
this_spec_meas_df = pd.concat([spec_df_nrm, spec_df_af])
# make sure all decs/incs are filled in
n_rows = len(this_spec_meas_df)
this_spec_meas_df = this_spec_meas_df.dropna(how='any', subset=['dir_dec', 'dir_inc', 'magn_moment'])
if n_rows > len(this_spec_meas_df):
print('-W- Some dec/inc/moment data were missing for specimen {}, so {} measurement row(s) were excluded'.format(s, n_rows - len(this_spec_meas_df)))
# geographic transformation
if coord != "-1" and len(samp_df):
this_spec_meas_df = transform_to_geographic(this_spec_meas_df, samp_df, samp, coord)
units = 'T' # these are AF data
try:
this_spec_meas_df['magn_moment'] = this_spec_meas_df['magn_moment'].astype(float)
this_spec_meas_df['treat_ac_field'] = this_spec_meas_df['treat_ac_field'].astype(float)
except:
print('-W- There are malformed or missing data for specimen {}, skipping'.format(spec))
return
datablock = this_spec_meas_df[['treat_ac_field', 'dir_dec', 'dir_inc',
'magn_moment', 'blank', 'quality']].values.tolist()
ZED = pmagplotlib.plot_zed(ZED, datablock, angle, s, units)
return plot_interpretations(ZED, spec_container, s, this_spec_meas_df, datablock)
if interactive:
save_plots = False
# read in MagIC formatted data if contribution object not provided
if not isinstance(contribution, cb.Contribution):
input_dir_path = os.path.realpath(input_dir_path)
file_path = pmag.resolve_file_name(meas_file, input_dir_path)
# read in magic formatted data
if not os.path.exists(file_path):
print('No such file:', file_path)
return False, []
custom_filenames = {'measurements': file_path, 'specimens': spec_file, 'samples': samp_file}
contribution = cb.Contribution(input_dir_path, custom_filenames=custom_filenames,
read_tables=['measurements', 'specimens',
'contribution', 'samples'])
if pmagplotlib.isServer:
try:
contribution.propagate_location_to_samples()
contribution.propagate_location_to_specimens()
contribution.propagate_location_to_measurements()
except KeyError as ex:
pass
meas_container = contribution.tables['measurements']
meas_df = contribution.tables['measurements'].df #
#meas_df=pd.read_csv(file_path, sep='\t', header=1)
spec_container = contribution.tables.get('specimens', None)
samp_container = contribution.tables.get('samples', None)
#if not spec_file:
# spec_file = os.path.join(os.path.split(file_path)[0], "specimens.txt")
#if os.path.exists(spec_file):
# spec_container = cb.MagicDataFrame(spec_file, dtype="specimens")
#else:
# spec_container = None
meas_df['blank'] = "" # this is a dummy variable expected by plotZED
if 'treat_ac_field' in meas_df.columns:
# create 'treatment' column.
# uses treat_temp if treat_ac_field is missing OR zero.
# (have to take this into account for plotting later)
if 'treat_temp' in meas_df.columns:
meas_df['treatment'] = meas_df['treat_ac_field'].where(
cond=meas_df['treat_ac_field'].astype(bool), other=meas_df['treat_temp'])
else:
meas_df['treatment'] = meas_df['treat_ac_field']
else:
meas_df['treatment'] = meas_df['treat_temp']
if crd == "s":
coord = "-1"
elif crd == "t":
coord = "100"
else:
coord = "0"
specimens = meas_df.specimen.unique() # list of specimen names
if len(specimens) == 0:
print('there are no data for plotting')
return False, []
# check measurement table for req'd fields
missing = []
reqd_cols_present = meas_df.columns.intersection(['dir_dec', 'dir_inc', 'magn_moment'])
for col in ['dir_dec', 'dir_inc', 'magn_moment']:
if col not in reqd_cols_present:
missing.append(col)
if missing:
print('-W- Missing required column(s) {}, cannot run zeq_magic'.format(', '.join(missing)))
return False, []
cnt = fignum
if n_plots != "all":
if len(specimens) > n_plots:
specimens = specimens[:n_plots]
saved = []
if specimen:
specimens = [specimen]
for s in specimens:
ZED = make_plots(s, cnt, meas_df, spec_container, samp_container)
if not ZED:
if pmagplotlib.verbose:
print('No plots could be created for specimen:', s)
continue
titles = {key: s + "_" + key + "." + fmt for key in ZED}
if pmagplotlib.isServer:
titles = {}
titles['eqarea'] = 'Equal Area Plot'
titles['zijd'] = 'Zijderveld Plot'
titles['demag'] = 'Demagnetization Plot'
con_id = ""
if 'contribution' in contribution.tables:
if 'id' in contribution.tables['contribution'].df.columns:
con_id = contribution.tables['contribution'].df['id'].values[0]
pmagplotlib.add_borders(ZED, titles, con_id=con_id)
for title in titles:
# try to get the full hierarchy for plot names
df_slice = meas_container.df[meas_container.df['specimen'] == s]
location = str(meas_container.get_name('location', df_slice))
site = str(meas_container.get_name('site', df_slice))
sample = str(meas_container.get_name('sample', df_slice))
# add coord here!
filename = 'LO:_'+location+'_SI:_'+site+'_SA:_'+sample + \
'_SP:_'+str(s)+'_CO:_' + '_TY:_'+title+'_.png'
titles[title] = filename
if save_plots:
saved.extend(pmagplotlib.save_plots(ZED, titles))
elif interactive:
pmagplotlib.draw_figs(ZED)
ans = pmagplotlib.save_or_quit()
if ans == 'a':
saved.extend(pmagplotlib.save_plots(ZED, titles))
else:
continue
else:
cnt += 3
return True, saved
|
[
"def",
"zeq_magic",
"(",
"meas_file",
"=",
"'measurements.txt'",
",",
"spec_file",
"=",
"''",
",",
"crd",
"=",
"'s'",
",",
"input_dir_path",
"=",
"'.'",
",",
"angle",
"=",
"0",
",",
"n_plots",
"=",
"5",
",",
"save_plots",
"=",
"True",
",",
"fmt",
"=",
"\"svg\"",
",",
"interactive",
"=",
"False",
",",
"specimen",
"=",
"\"\"",
",",
"samp_file",
"=",
"'samples.txt'",
",",
"contribution",
"=",
"None",
",",
"fignum",
"=",
"1",
")",
":",
"def",
"plot_interpretations",
"(",
"ZED",
",",
"spec_container",
",",
"this_specimen",
",",
"this_specimen_measurements",
",",
"datablock",
")",
":",
"if",
"cb",
".",
"is_null",
"(",
"spec_container",
")",
"or",
"cb",
".",
"is_null",
"(",
"this_specimen_measurements",
")",
"or",
"cb",
".",
"is_null",
"(",
"datablock",
")",
":",
"return",
"ZED",
"if",
"'method_codes'",
"not",
"in",
"spec_container",
".",
"df",
".",
"columns",
":",
"return",
"ZED",
"prior_spec_data",
"=",
"spec_container",
".",
"get_records_for_code",
"(",
"'LP-DIR'",
",",
"strict_match",
"=",
"False",
")",
"# look up all prior directional interpretations",
"prior_specimen_interpretations",
"=",
"[",
"]",
"if",
"not",
"len",
"(",
"prior_spec_data",
")",
":",
"return",
"ZED",
"mpars",
"=",
"{",
"\"specimen_direction_type\"",
":",
"\"Error\"",
"}",
"if",
"len",
"(",
"prior_spec_data",
")",
":",
"prior_specimen_interpretations",
"=",
"prior_spec_data",
"[",
"prior_spec_data",
"[",
"'specimen'",
"]",
".",
"astype",
"(",
"str",
")",
"==",
"this_specimen",
"]",
"#.str.match(this_specimen) == True]",
"if",
"len",
"(",
"prior_specimen_interpretations",
")",
":",
"if",
"len",
"(",
"prior_specimen_interpretations",
")",
">",
"0",
":",
"beg_pcas",
"=",
"pd",
".",
"to_numeric",
"(",
"prior_specimen_interpretations",
".",
"meas_step_min",
".",
"values",
")",
".",
"tolist",
"(",
")",
"end_pcas",
"=",
"pd",
".",
"to_numeric",
"(",
"prior_specimen_interpretations",
".",
"meas_step_max",
".",
"values",
")",
".",
"tolist",
"(",
")",
"spec_methods",
"=",
"prior_specimen_interpretations",
".",
"method_codes",
".",
"tolist",
"(",
")",
"# step through all prior interpretations and plot them",
"for",
"ind",
"in",
"range",
"(",
"len",
"(",
"beg_pcas",
")",
")",
":",
"spec_meths",
"=",
"spec_methods",
"[",
"ind",
"]",
".",
"split",
"(",
"':'",
")",
"for",
"m",
"in",
"spec_meths",
":",
"if",
"'DE-BFL'",
"in",
"m",
":",
"calculation_type",
"=",
"'DE-BFL'",
"# best fit line",
"if",
"'DE-BFP'",
"in",
"m",
":",
"calculation_type",
"=",
"'DE-BFP'",
"# best fit plane",
"if",
"'DE-FM'",
"in",
"m",
":",
"calculation_type",
"=",
"'DE-FM'",
"# fisher mean",
"if",
"'DE-BFL-A'",
"in",
"m",
":",
"calculation_type",
"=",
"'DE-BFL-A'",
"# anchored best fit line",
"treatments",
"=",
"pd",
".",
"to_numeric",
"(",
"this_specimen_measurements",
".",
"treatment",
")",
".",
"tolist",
"(",
")",
"if",
"len",
"(",
"beg_pcas",
")",
"!=",
"0",
":",
"try",
":",
"# getting the starting and ending points",
"start",
",",
"end",
"=",
"treatments",
".",
"index",
"(",
"beg_pcas",
"[",
"ind",
"]",
")",
",",
"treatments",
".",
"index",
"(",
"end_pcas",
"[",
"ind",
"]",
")",
"mpars",
"=",
"pmag",
".",
"domean",
"(",
"datablock",
",",
"start",
",",
"end",
",",
"calculation_type",
")",
"except",
"ValueError",
"as",
"ex",
":",
"mpars",
"[",
"'specimen_direction_type'",
"]",
"=",
"\"Error\"",
"try",
":",
"if",
"beg_pcas",
"[",
"ind",
"]",
"==",
"0",
":",
"start",
"=",
"0",
"else",
":",
"start",
"=",
"treatments",
".",
"index",
"(",
"beg_pcas",
"[",
"ind",
"]",
")",
"if",
"end_pcas",
"[",
"ind",
"]",
"==",
"0",
":",
"end",
"=",
"0",
"else",
":",
"end",
"=",
"treatments",
".",
"index",
"(",
"end_pcas",
"[",
"ind",
"]",
")",
"mpars",
"=",
"pmag",
".",
"domean",
"(",
"datablock",
",",
"start",
",",
"end",
",",
"calculation_type",
")",
"except",
"ValueError",
":",
"mpars",
"[",
"'specimen_direction_type'",
"]",
"=",
"\"Error\"",
"# calculate direction/plane",
"if",
"mpars",
"[",
"\"specimen_direction_type\"",
"]",
"!=",
"\"Error\"",
":",
"# put it on the plot",
"pmagplotlib",
".",
"plot_dir",
"(",
"ZED",
",",
"mpars",
",",
"datablock",
",",
"angle",
")",
"#if interactive:",
"# pmagplotlib.draw_figs(ZED)",
"else",
":",
"print",
"(",
"'\\n-W- Specimen {} record contains invalid start/stop bounds:'",
".",
"format",
"(",
"this_specimen",
")",
")",
"print",
"(",
"prior_spec_data",
".",
"loc",
"[",
"this_specimen",
"]",
"[",
"[",
"'meas_step_min'",
",",
"'meas_step_max'",
"]",
"]",
")",
"print",
"(",
"'\\n Measurement records:'",
")",
"cols",
"=",
"list",
"(",
"set",
"(",
"[",
"'treat_ac_field'",
",",
"'treat_temp'",
"]",
")",
".",
"intersection",
"(",
"this_specimen_measurements",
".",
"columns",
")",
")",
"print",
"(",
"this_specimen_measurements",
"[",
"cols",
"]",
")",
"print",
"(",
"'\\n Data will be plotted without interpretations\\n'",
")",
"return",
"ZED",
"def",
"make_plots",
"(",
"spec",
",",
"cnt",
",",
"meas_df",
",",
"spec_container",
",",
"samp_container",
"=",
"None",
")",
":",
"# get sample data for orientation",
"if",
"spec_container",
":",
"try",
":",
"samps",
"=",
"spec_container",
".",
"df",
".",
"loc",
"[",
"spec",
",",
"'sample'",
"]",
"except",
"KeyError",
":",
"samps",
"=",
"\"\"",
"samp_df",
"=",
"[",
"]",
"if",
"isinstance",
"(",
"samps",
",",
"int",
")",
"or",
"isinstance",
"(",
"samps",
",",
"float",
")",
"or",
"isinstance",
"(",
"samps",
",",
"np",
".",
"int64",
")",
":",
"if",
"np",
".",
"isnan",
"(",
"samps",
")",
":",
"samp",
"=",
"\"\"",
"samp_df",
"=",
"[",
"]",
"else",
":",
"samp",
"=",
"str",
"(",
"samps",
")",
"samp_container",
".",
"df",
".",
"index",
"=",
"samp_container",
".",
"df",
".",
"index",
".",
"astype",
"(",
"str",
")",
"samp_df",
"=",
"samp_container",
".",
"df",
"[",
"samp_container",
".",
"df",
".",
"index",
"==",
"samp",
"]",
"elif",
"isinstance",
"(",
"samps",
",",
"type",
"(",
"None",
")",
")",
":",
"samp",
"=",
"\"\"",
"samp_df",
"=",
"[",
"]",
"elif",
"len",
"(",
"samps",
")",
":",
"if",
"isinstance",
"(",
"samps",
",",
"str",
")",
":",
"samp",
"=",
"samps",
"else",
":",
"samp",
"=",
"samps",
".",
"iloc",
"[",
"0",
"]",
"samp_df",
"=",
"samp_container",
".",
"df",
"[",
"samp_container",
".",
"df",
".",
"index",
"==",
"samp",
"]",
"else",
":",
"samp_df",
"=",
"[",
"]",
"# we can make the figure dictionary that pmagplotlib likes:",
"ZED",
"=",
"{",
"'eqarea'",
":",
"cnt",
",",
"'zijd'",
":",
"cnt",
"+",
"1",
",",
"'demag'",
":",
"cnt",
"+",
"2",
"}",
"# make datablock",
"# get the relevant data",
"spec_df",
"=",
"meas_df",
"[",
"meas_df",
".",
"specimen",
"==",
"s",
"]",
"# remove ARM data",
"spec_df",
"=",
"spec_df",
"[",
"-",
"spec_df",
".",
"method_codes",
".",
"str",
".",
"contains",
"(",
"'LP-*[\\w]*-ARM'",
")",
"]",
"# split data into NRM, thermal, and af dataframes",
"spec_df_nrm",
"=",
"spec_df",
"[",
"spec_df",
".",
"method_codes",
".",
"str",
".",
"contains",
"(",
"'LT-NO'",
")",
"]",
"# get the NRM data",
"spec_df_th",
"=",
"spec_df",
"[",
"spec_df",
".",
"method_codes",
".",
"str",
".",
"contains",
"(",
"'LT-T-Z'",
")",
"]",
"# zero field thermal demag steps",
"try",
":",
"cond",
"=",
"spec_df",
".",
"method_codes",
".",
"str",
".",
"contains",
"(",
"'(^|[\\s\\:])LT-PTRM'",
")",
"spec_df_th",
"=",
"spec_df_th",
"[",
"-",
"cond",
"]",
"# get rid of some pTRM steps",
"except",
"ValueError",
":",
"keep_inds",
"=",
"[",
"]",
"n",
"=",
"0",
"for",
"ind",
",",
"row",
"in",
"spec_df_th",
".",
"copy",
"(",
")",
".",
"iterrows",
"(",
")",
":",
"if",
"'LT-PTRM'",
"in",
"row",
"[",
"'method_codes'",
"]",
"and",
"'ALT-PTRM'",
"not",
"in",
"row",
"[",
"'method_codes'",
"]",
":",
"keep_inds",
".",
"append",
"(",
"n",
")",
"else",
":",
"pass",
"n",
"+=",
"1",
"if",
"len",
"(",
"keep_inds",
")",
"<",
"n",
":",
"spec_df_th",
"=",
"spec_df_th",
".",
"iloc",
"[",
"keep_inds",
"]",
"spec_df_af",
"=",
"spec_df",
"[",
"spec_df",
".",
"method_codes",
".",
"str",
".",
"contains",
"(",
"'LT-AF-Z'",
")",
"]",
"this_spec_meas_df",
"=",
"None",
"datablock",
"=",
"None",
"if",
"(",
"not",
"len",
"(",
"spec_df_th",
".",
"index",
")",
">",
"1",
")",
"and",
"(",
"not",
"len",
"(",
"spec_df_af",
".",
"index",
")",
">",
"1",
")",
":",
"return",
"if",
"len",
"(",
"spec_df_th",
".",
"index",
")",
">",
"1",
":",
"# this is a thermal run",
"this_spec_meas_df",
"=",
"pd",
".",
"concat",
"(",
"[",
"spec_df_nrm",
",",
"spec_df_th",
"]",
")",
"# make sure all decs/incs are filled in",
"n_rows",
"=",
"len",
"(",
"this_spec_meas_df",
")",
"this_spec_meas_df",
"=",
"this_spec_meas_df",
".",
"dropna",
"(",
"how",
"=",
"'any'",
",",
"subset",
"=",
"[",
"'dir_dec'",
",",
"'dir_inc'",
",",
"'magn_moment'",
"]",
")",
"if",
"n_rows",
">",
"len",
"(",
"this_spec_meas_df",
")",
":",
"print",
"(",
"'-W- Some dec/inc/moment data were missing for specimen {}, so {} measurement row(s) were excluded'",
".",
"format",
"(",
"s",
",",
"n_rows",
"-",
"len",
"(",
"this_spec_meas_df",
")",
")",
")",
"# geographic transformation",
"if",
"coord",
"!=",
"\"-1\"",
"and",
"len",
"(",
"samp_df",
")",
":",
"this_spec_meas_df",
"=",
"transform_to_geographic",
"(",
"this_spec_meas_df",
",",
"samp_df",
",",
"samp",
",",
"coord",
")",
"units",
"=",
"'K'",
"# units are kelvin",
"try",
":",
"this_spec_meas_df",
"[",
"'magn_moment'",
"]",
"=",
"this_spec_meas_df",
"[",
"'magn_moment'",
"]",
".",
"astype",
"(",
"float",
")",
"this_spec_meas_df",
"[",
"'treat_temp'",
"]",
"=",
"this_spec_meas_df",
"[",
"'treat_temp'",
"]",
".",
"astype",
"(",
"float",
")",
"except",
":",
"print",
"(",
"'-W- There are malformed or missing data for specimen {}, skipping'",
".",
"format",
"(",
"spec",
")",
")",
"return",
"datablock",
"=",
"this_spec_meas_df",
"[",
"[",
"'treat_temp'",
",",
"'dir_dec'",
",",
"'dir_inc'",
",",
"'magn_moment'",
",",
"'blank'",
",",
"'quality'",
"]",
"]",
".",
"values",
".",
"tolist",
"(",
")",
"ZED",
"=",
"pmagplotlib",
".",
"plot_zed",
"(",
"ZED",
",",
"datablock",
",",
"angle",
",",
"s",
",",
"units",
")",
"if",
"len",
"(",
"spec_df_af",
".",
"index",
")",
">",
"1",
":",
"# this is an af run",
"this_spec_meas_df",
"=",
"pd",
".",
"concat",
"(",
"[",
"spec_df_nrm",
",",
"spec_df_af",
"]",
")",
"# make sure all decs/incs are filled in",
"n_rows",
"=",
"len",
"(",
"this_spec_meas_df",
")",
"this_spec_meas_df",
"=",
"this_spec_meas_df",
".",
"dropna",
"(",
"how",
"=",
"'any'",
",",
"subset",
"=",
"[",
"'dir_dec'",
",",
"'dir_inc'",
",",
"'magn_moment'",
"]",
")",
"if",
"n_rows",
">",
"len",
"(",
"this_spec_meas_df",
")",
":",
"print",
"(",
"'-W- Some dec/inc/moment data were missing for specimen {}, so {} measurement row(s) were excluded'",
".",
"format",
"(",
"s",
",",
"n_rows",
"-",
"len",
"(",
"this_spec_meas_df",
")",
")",
")",
"# geographic transformation",
"if",
"coord",
"!=",
"\"-1\"",
"and",
"len",
"(",
"samp_df",
")",
":",
"this_spec_meas_df",
"=",
"transform_to_geographic",
"(",
"this_spec_meas_df",
",",
"samp_df",
",",
"samp",
",",
"coord",
")",
"units",
"=",
"'T'",
"# these are AF data",
"try",
":",
"this_spec_meas_df",
"[",
"'magn_moment'",
"]",
"=",
"this_spec_meas_df",
"[",
"'magn_moment'",
"]",
".",
"astype",
"(",
"float",
")",
"this_spec_meas_df",
"[",
"'treat_ac_field'",
"]",
"=",
"this_spec_meas_df",
"[",
"'treat_ac_field'",
"]",
".",
"astype",
"(",
"float",
")",
"except",
":",
"print",
"(",
"'-W- There are malformed or missing data for specimen {}, skipping'",
".",
"format",
"(",
"spec",
")",
")",
"return",
"datablock",
"=",
"this_spec_meas_df",
"[",
"[",
"'treat_ac_field'",
",",
"'dir_dec'",
",",
"'dir_inc'",
",",
"'magn_moment'",
",",
"'blank'",
",",
"'quality'",
"]",
"]",
".",
"values",
".",
"tolist",
"(",
")",
"ZED",
"=",
"pmagplotlib",
".",
"plot_zed",
"(",
"ZED",
",",
"datablock",
",",
"angle",
",",
"s",
",",
"units",
")",
"return",
"plot_interpretations",
"(",
"ZED",
",",
"spec_container",
",",
"s",
",",
"this_spec_meas_df",
",",
"datablock",
")",
"if",
"interactive",
":",
"save_plots",
"=",
"False",
"# read in MagIC formatted data if contribution object not provided",
"if",
"not",
"isinstance",
"(",
"contribution",
",",
"cb",
".",
"Contribution",
")",
":",
"input_dir_path",
"=",
"os",
".",
"path",
".",
"realpath",
"(",
"input_dir_path",
")",
"file_path",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"meas_file",
",",
"input_dir_path",
")",
"# read in magic formatted data",
"if",
"not",
"os",
".",
"path",
".",
"exists",
"(",
"file_path",
")",
":",
"print",
"(",
"'No such file:'",
",",
"file_path",
")",
"return",
"False",
",",
"[",
"]",
"custom_filenames",
"=",
"{",
"'measurements'",
":",
"file_path",
",",
"'specimens'",
":",
"spec_file",
",",
"'samples'",
":",
"samp_file",
"}",
"contribution",
"=",
"cb",
".",
"Contribution",
"(",
"input_dir_path",
",",
"custom_filenames",
"=",
"custom_filenames",
",",
"read_tables",
"=",
"[",
"'measurements'",
",",
"'specimens'",
",",
"'contribution'",
",",
"'samples'",
"]",
")",
"if",
"pmagplotlib",
".",
"isServer",
":",
"try",
":",
"contribution",
".",
"propagate_location_to_samples",
"(",
")",
"contribution",
".",
"propagate_location_to_specimens",
"(",
")",
"contribution",
".",
"propagate_location_to_measurements",
"(",
")",
"except",
"KeyError",
"as",
"ex",
":",
"pass",
"meas_container",
"=",
"contribution",
".",
"tables",
"[",
"'measurements'",
"]",
"meas_df",
"=",
"contribution",
".",
"tables",
"[",
"'measurements'",
"]",
".",
"df",
"#",
"#meas_df=pd.read_csv(file_path, sep='\\t', header=1)",
"spec_container",
"=",
"contribution",
".",
"tables",
".",
"get",
"(",
"'specimens'",
",",
"None",
")",
"samp_container",
"=",
"contribution",
".",
"tables",
".",
"get",
"(",
"'samples'",
",",
"None",
")",
"#if not spec_file:",
"# spec_file = os.path.join(os.path.split(file_path)[0], \"specimens.txt\")",
"#if os.path.exists(spec_file):",
"# spec_container = cb.MagicDataFrame(spec_file, dtype=\"specimens\")",
"#else:",
"# spec_container = None",
"meas_df",
"[",
"'blank'",
"]",
"=",
"\"\"",
"# this is a dummy variable expected by plotZED",
"if",
"'treat_ac_field'",
"in",
"meas_df",
".",
"columns",
":",
"# create 'treatment' column.",
"# uses treat_temp if treat_ac_field is missing OR zero.",
"# (have to take this into account for plotting later)",
"if",
"'treat_temp'",
"in",
"meas_df",
".",
"columns",
":",
"meas_df",
"[",
"'treatment'",
"]",
"=",
"meas_df",
"[",
"'treat_ac_field'",
"]",
".",
"where",
"(",
"cond",
"=",
"meas_df",
"[",
"'treat_ac_field'",
"]",
".",
"astype",
"(",
"bool",
")",
",",
"other",
"=",
"meas_df",
"[",
"'treat_temp'",
"]",
")",
"else",
":",
"meas_df",
"[",
"'treatment'",
"]",
"=",
"meas_df",
"[",
"'treat_ac_field'",
"]",
"else",
":",
"meas_df",
"[",
"'treatment'",
"]",
"=",
"meas_df",
"[",
"'treat_temp'",
"]",
"if",
"crd",
"==",
"\"s\"",
":",
"coord",
"=",
"\"-1\"",
"elif",
"crd",
"==",
"\"t\"",
":",
"coord",
"=",
"\"100\"",
"else",
":",
"coord",
"=",
"\"0\"",
"specimens",
"=",
"meas_df",
".",
"specimen",
".",
"unique",
"(",
")",
"# list of specimen names",
"if",
"len",
"(",
"specimens",
")",
"==",
"0",
":",
"print",
"(",
"'there are no data for plotting'",
")",
"return",
"False",
",",
"[",
"]",
"# check measurement table for req'd fields",
"missing",
"=",
"[",
"]",
"reqd_cols_present",
"=",
"meas_df",
".",
"columns",
".",
"intersection",
"(",
"[",
"'dir_dec'",
",",
"'dir_inc'",
",",
"'magn_moment'",
"]",
")",
"for",
"col",
"in",
"[",
"'dir_dec'",
",",
"'dir_inc'",
",",
"'magn_moment'",
"]",
":",
"if",
"col",
"not",
"in",
"reqd_cols_present",
":",
"missing",
".",
"append",
"(",
"col",
")",
"if",
"missing",
":",
"print",
"(",
"'-W- Missing required column(s) {}, cannot run zeq_magic'",
".",
"format",
"(",
"', '",
".",
"join",
"(",
"missing",
")",
")",
")",
"return",
"False",
",",
"[",
"]",
"cnt",
"=",
"fignum",
"if",
"n_plots",
"!=",
"\"all\"",
":",
"if",
"len",
"(",
"specimens",
")",
">",
"n_plots",
":",
"specimens",
"=",
"specimens",
"[",
":",
"n_plots",
"]",
"saved",
"=",
"[",
"]",
"if",
"specimen",
":",
"specimens",
"=",
"[",
"specimen",
"]",
"for",
"s",
"in",
"specimens",
":",
"ZED",
"=",
"make_plots",
"(",
"s",
",",
"cnt",
",",
"meas_df",
",",
"spec_container",
",",
"samp_container",
")",
"if",
"not",
"ZED",
":",
"if",
"pmagplotlib",
".",
"verbose",
":",
"print",
"(",
"'No plots could be created for specimen:'",
",",
"s",
")",
"continue",
"titles",
"=",
"{",
"key",
":",
"s",
"+",
"\"_\"",
"+",
"key",
"+",
"\".\"",
"+",
"fmt",
"for",
"key",
"in",
"ZED",
"}",
"if",
"pmagplotlib",
".",
"isServer",
":",
"titles",
"=",
"{",
"}",
"titles",
"[",
"'eqarea'",
"]",
"=",
"'Equal Area Plot'",
"titles",
"[",
"'zijd'",
"]",
"=",
"'Zijderveld Plot'",
"titles",
"[",
"'demag'",
"]",
"=",
"'Demagnetization Plot'",
"con_id",
"=",
"\"\"",
"if",
"'contribution'",
"in",
"contribution",
".",
"tables",
":",
"if",
"'id'",
"in",
"contribution",
".",
"tables",
"[",
"'contribution'",
"]",
".",
"df",
".",
"columns",
":",
"con_id",
"=",
"contribution",
".",
"tables",
"[",
"'contribution'",
"]",
".",
"df",
"[",
"'id'",
"]",
".",
"values",
"[",
"0",
"]",
"pmagplotlib",
".",
"add_borders",
"(",
"ZED",
",",
"titles",
",",
"con_id",
"=",
"con_id",
")",
"for",
"title",
"in",
"titles",
":",
"# try to get the full hierarchy for plot names",
"df_slice",
"=",
"meas_container",
".",
"df",
"[",
"meas_container",
".",
"df",
"[",
"'specimen'",
"]",
"==",
"s",
"]",
"location",
"=",
"str",
"(",
"meas_container",
".",
"get_name",
"(",
"'location'",
",",
"df_slice",
")",
")",
"site",
"=",
"str",
"(",
"meas_container",
".",
"get_name",
"(",
"'site'",
",",
"df_slice",
")",
")",
"sample",
"=",
"str",
"(",
"meas_container",
".",
"get_name",
"(",
"'sample'",
",",
"df_slice",
")",
")",
"# add coord here!",
"filename",
"=",
"'LO:_'",
"+",
"location",
"+",
"'_SI:_'",
"+",
"site",
"+",
"'_SA:_'",
"+",
"sample",
"+",
"'_SP:_'",
"+",
"str",
"(",
"s",
")",
"+",
"'_CO:_'",
"+",
"'_TY:_'",
"+",
"title",
"+",
"'_.png'",
"titles",
"[",
"title",
"]",
"=",
"filename",
"if",
"save_plots",
":",
"saved",
".",
"extend",
"(",
"pmagplotlib",
".",
"save_plots",
"(",
"ZED",
",",
"titles",
")",
")",
"elif",
"interactive",
":",
"pmagplotlib",
".",
"draw_figs",
"(",
"ZED",
")",
"ans",
"=",
"pmagplotlib",
".",
"save_or_quit",
"(",
")",
"if",
"ans",
"==",
"'a'",
":",
"saved",
".",
"extend",
"(",
"pmagplotlib",
".",
"save_plots",
"(",
"ZED",
",",
"titles",
")",
")",
"else",
":",
"continue",
"else",
":",
"cnt",
"+=",
"3",
"return",
"True",
",",
"saved"
] |
zeq_magic makes zijderveld and equal area plots for magic formatted measurements files.
Parameters
----------
meas_file : str
input measurement file
spec_file : str
input specimen interpretation file
samp_file : str
input sample orientations file
crd : str
coordinate system [s,g,t] for specimen, geographic, tilt corrected
g,t options require a sample file with specimen and bedding orientation
input_dir_path : str
input directory of meas_file, default "."
angle : float
angle of X direction with respect to specimen X
n_plots : int, default 5
maximum number of plots to make
if you want to make all possible plots, specify "all"
save_plots : bool, default True
if True, create and save all requested plots
fmt : str, default "svg"
format for figures, [svg, jpg, pdf, png]
interactive : bool, default False
interactively plot and display for each specimen
(this is best used on the command line only)
specimen : str, default ""
specimen name to plot
samp_file : str, default 'samples.txt'
name of samples file
contribution : cb.Contribution, default None
if provided, use Contribution object instead of reading in
data from files
fignum : matplotlib figure number
|
[
"zeq_magic",
"makes",
"zijderveld",
"and",
"equal",
"area",
"plots",
"for",
"magic",
"formatted",
"measurements",
"files",
".",
"Parameters",
"----------",
"meas_file",
":",
"str",
"input",
"measurement",
"file",
"spec_file",
":",
"str",
"input",
"specimen",
"interpretation",
"file",
"samp_file",
":",
"str",
"input",
"sample",
"orientations",
"file",
"crd",
":",
"str",
"coordinate",
"system",
"[",
"s",
"g",
"t",
"]",
"for",
"specimen",
"geographic",
"tilt",
"corrected",
"g",
"t",
"options",
"require",
"a",
"sample",
"file",
"with",
"specimen",
"and",
"bedding",
"orientation",
"input_dir_path",
":",
"str",
"input",
"directory",
"of",
"meas_file",
"default",
".",
"angle",
":",
"float",
"angle",
"of",
"X",
"direction",
"with",
"respect",
"to",
"specimen",
"X",
"n_plots",
":",
"int",
"default",
"5",
"maximum",
"number",
"of",
"plots",
"to",
"make",
"if",
"you",
"want",
"to",
"make",
"all",
"possible",
"plots",
"specify",
"all",
"save_plots",
":",
"bool",
"default",
"True",
"if",
"True",
"create",
"and",
"save",
"all",
"requested",
"plots",
"fmt",
":",
"str",
"default",
"svg",
"format",
"for",
"figures",
"[",
"svg",
"jpg",
"pdf",
"png",
"]",
"interactive",
":",
"bool",
"default",
"False",
"interactively",
"plot",
"and",
"display",
"for",
"each",
"specimen",
"(",
"this",
"is",
"best",
"used",
"on",
"the",
"command",
"line",
"only",
")",
"specimen",
":",
"str",
"default",
"specimen",
"name",
"to",
"plot",
"samp_file",
":",
"str",
"default",
"samples",
".",
"txt",
"name",
"of",
"samples",
"file",
"contribution",
":",
"cb",
".",
"Contribution",
"default",
"None",
"if",
"provided",
"use",
"Contribution",
"object",
"instead",
"of",
"reading",
"in",
"data",
"from",
"files",
"fignum",
":",
"matplotlib",
"figure",
"number"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L10216-L10540
|
train
|
This function creates a Zijderveld and equal area plot for a magic formatted measurement file.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(48) + chr(111) + chr(53) + chr(50), 0b1000), nzTpIcepk0o8(chr(606 - 558) + '\157' + chr(54) + '\x31', 59713 - 59705), nzTpIcepk0o8('\x30' + chr(0b11111 + 0o120) + chr(50) + '\x32' + chr(618 - 568), 0b1000), nzTpIcepk0o8('\x30' + '\x6f' + '\x31' + '\060' + '\064', 1911 - 1903), nzTpIcepk0o8('\x30' + '\157' + '\061' + chr(0b100110 + 0o13) + chr(53), 0b1000), nzTpIcepk0o8(chr(0b11010 + 0o26) + chr(0b110 + 0o151) + chr(51) + chr(53) + '\x32', 22105 - 22097), nzTpIcepk0o8('\x30' + '\157' + chr(52), ord("\x08")), nzTpIcepk0o8(chr(0b100010 + 0o16) + chr(111) + chr(51) + '\064' + chr(266 - 211), 0o10), nzTpIcepk0o8('\x30' + chr(0b111100 + 0o63) + '\x32' + '\x32' + chr(0b110001 + 0o1), 8), nzTpIcepk0o8(chr(48) + chr(0b10011 + 0o134) + chr(1198 - 1147) + chr(511 - 456) + chr(0b101110 + 0o5), 0o10), nzTpIcepk0o8(chr(0b10010 + 0o36) + chr(5245 - 5134) + '\x32' + chr(0b110100) + chr(0b110010), 0o10), nzTpIcepk0o8(chr(0b1101 + 0o43) + chr(111) + chr(123 - 74) + chr(0b101101 + 0o10) + '\x30', 36027 - 36019), nzTpIcepk0o8('\x30' + chr(11863 - 11752) + chr(769 - 720) + chr(0b110111) + chr(48), 0b1000), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b110011) + chr(0b10111 + 0o37) + chr(0b1111 + 0o44), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(10410 - 10299) + chr(0b100000 + 0o23) + chr(0b1100 + 0o50) + chr(0b100110 + 0o14), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(5817 - 5706) + '\061' + '\064' + chr(0b110111), 0o10), nzTpIcepk0o8(chr(0b100111 + 0o11) + '\157' + chr(0b110010) + '\x36' + '\064', ord("\x08")), nzTpIcepk0o8('\x30' + '\x6f' + '\063' + '\x33' + chr(55), 0b1000), nzTpIcepk0o8(chr(230 - 182) + chr(0b110100 + 0o73) + chr(51) + chr(2021 - 1969) + '\062', 8), nzTpIcepk0o8(chr(1073 - 1025) + chr(111) + chr(0b110000 + 0o3) + chr(404 - 355) + chr(0b10010 + 0o42), 0b1000), nzTpIcepk0o8(chr(0b100010 + 0o16) + chr(0b1101111) + chr(51) + chr(0b110111 + 0o0) + chr(54), ord("\x08")), nzTpIcepk0o8(chr(1721 - 1673) + '\157' + chr(0b110110) + chr(151 - 96), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b110010 + 0o0) + '\064', 0o10), nzTpIcepk0o8('\x30' + chr(4318 - 4207) + '\x33' + '\067' + chr(0b100111 + 0o15), 0b1000), nzTpIcepk0o8(chr(0b100110 + 0o12) + '\x6f' + chr(0b110001) + '\x32' + chr(0b10011 + 0o40), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(49) + chr(0b10001 + 0o41) + chr(0b110001), 0o10), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(51) + chr(49) + chr(2014 - 1959), 0o10), nzTpIcepk0o8('\x30' + '\157' + chr(0b11010 + 0o31) + chr(288 - 238) + chr(0b110111), ord("\x08")), nzTpIcepk0o8('\060' + '\157' + chr(2071 - 2021) + '\065' + '\x32', 0b1000), nzTpIcepk0o8(chr(661 - 613) + chr(2902 - 2791) + chr(52) + chr(48), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(111) + chr(50) + '\067' + chr(688 - 635), ord("\x08")), nzTpIcepk0o8(chr(1949 - 1901) + chr(111) + '\062' + chr(0b110110) + chr(2353 - 2302), 0o10), nzTpIcepk0o8('\060' + chr(111) + chr(50) + chr(0b100000 + 0o25) + '\x32', 8), nzTpIcepk0o8('\x30' + chr(0b111101 + 0o62) + chr(0b1010 + 0o50) + chr(0b110100) + '\066', 0o10), nzTpIcepk0o8(chr(0b0 + 0o60) + chr(3316 - 3205) + '\x31' + chr(0b1011 + 0o46), 52288 - 52280), nzTpIcepk0o8('\060' + chr(3672 - 3561) + '\062' + chr(53) + chr(0b1101 + 0o47), 25640 - 25632), nzTpIcepk0o8(chr(48) + '\x6f' + chr(2290 - 2237) + chr(51), 41960 - 41952), nzTpIcepk0o8('\x30' + chr(0b1000100 + 0o53) + chr(2463 - 2413) + chr(0b110010) + chr(51), 0o10), nzTpIcepk0o8(chr(85 - 37) + chr(0b1101111) + '\x31' + '\x30' + '\x35', 0o10), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x32' + '\x30' + chr(0b110100), 0b1000)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(48) + chr(0b111001 + 0o66) + '\x35' + '\060', 0b1000)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\x04'), '\144' + chr(101) + chr(0b110111 + 0o54) + chr(0b1101111) + chr(0b1100100) + chr(101))(chr(3154 - 3037) + chr(664 - 548) + chr(102) + chr(1792 - 1747) + '\070') + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def xibjOJBXYChB(rHPU8oONrR4n=roI3spqORKae(ES5oEprVxulp(b'GT\xf378\x98a\x8a\xf7\x95\xd6\x1bV\x87\x9a\x13'), chr(0b100100 + 0o100) + chr(101) + '\143' + '\x6f' + '\x64' + chr(101))(chr(2254 - 2137) + chr(6131 - 6015) + chr(0b1100110) + chr(0b101101) + chr(1162 - 1106)), QJgeTIOanow9=roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(101) + chr(99) + chr(1693 - 1582) + '\144' + chr(101))(chr(0b1110101) + '\x74' + '\x66' + '\x2d' + chr(0b111000)), px1MpgT0hYQ9=roI3spqORKae(ES5oEprVxulp(b'Y'), '\x64' + '\x65' + chr(0b1011010 + 0o11) + '\157' + chr(100) + '\145')(chr(5079 - 4962) + '\x74' + '\x66' + '\055' + '\070'), KADebXAR9grB=roI3spqORKae(ES5oEprVxulp(b'\x04'), '\x64' + chr(101) + '\x63' + '\157' + chr(0b1100100) + chr(0b1000110 + 0o37))(chr(4615 - 4498) + chr(116) + chr(0b1100110) + '\055' + chr(56)), aO7VavFy3Xvk=nzTpIcepk0o8('\x30' + '\157' + '\x30', 0o10), LtSarZcSnftR=nzTpIcepk0o8(chr(0b11000 + 0o30) + chr(0b1101111) + chr(0b10010 + 0o43), 0b1000), bxxuZm4I6LgY=nzTpIcepk0o8('\060' + '\157' + chr(0b110001), 0o10), JummcHpaNLEw=roI3spqORKae(ES5oEprVxulp(b'YG\xf5'), chr(100) + '\x65' + '\x63' + chr(111) + '\x64' + chr(0b1100101 + 0o0))(chr(0b1110101) + '\x74' + '\146' + chr(0b101101) + chr(801 - 745)), f4XDWm__k5ZA=nzTpIcepk0o8('\060' + chr(0b1100100 + 0o13) + chr(48), 8), EJPYhrC8WoVb=roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(0b1100101) + chr(0b11011 + 0o110) + chr(0b1101111) + chr(0b1100100) + chr(0b10111 + 0o116))(chr(0b1110101) + chr(0b110101 + 0o77) + chr(102) + chr(238 - 193) + '\070'), bqpTUs8apVqb=roI3spqORKae(ES5oEprVxulp(b'YP\xff4!\x8fw\xc9\xe6\x83\xd6'), chr(2639 - 2539) + chr(8527 - 8426) + chr(99) + chr(6538 - 6427) + chr(0b110011 + 0o61) + chr(0b1000010 + 0o43))(chr(117) + chr(0b1100 + 0o150) + chr(0b1100110) + chr(1308 - 1263) + '\x38'), bSiGoWKHgDdJ=None, OpFpJUFlM4PU=nzTpIcepk0o8(chr(0b1000 + 0o50) + '\x6f' + '\x31', 8)):
def BjytcTXCfuvV(pIthwLhwpnQw, uncialTplnF1, FYDJ97YahvG6, ylhIyzVZzTnK, luLn2FtUnsUW):
if roI3spqORKae(RYEhqzIVZREo, roI3spqORKae(ES5oEprVxulp(b'CB\xcd*8\x86h'), chr(0b1100100) + '\145' + '\143' + chr(0b1000101 + 0o52) + '\144' + chr(101))(chr(8668 - 8551) + chr(0b1101010 + 0o12) + chr(0b1100110) + '\055' + chr(0b101111 + 0o11)))(uncialTplnF1) or roI3spqORKae(RYEhqzIVZREo, roI3spqORKae(ES5oEprVxulp(b'CB\xcd*8\x86h'), chr(0b1100 + 0o130) + chr(0b100111 + 0o76) + '\x63' + chr(3225 - 3114) + '\x64' + chr(0b1100101))(chr(0b1010100 + 0o41) + '\x74' + '\x66' + '\x2d' + '\070'))(ylhIyzVZzTnK) or roI3spqORKae(RYEhqzIVZREo, roI3spqORKae(ES5oEprVxulp(b'CB\xcd*8\x86h'), '\x64' + '\x65' + chr(2536 - 2437) + chr(0b1101111) + chr(100) + chr(101))('\165' + chr(116) + '\x66' + chr(1963 - 1918) + chr(748 - 692)))(luLn2FtUnsUW):
return pIthwLhwpnQw
if roI3spqORKae(ES5oEprVxulp(b'GT\xe6,"\x8e[\x84\xfd\x9f\xc7\x1b'), chr(2846 - 2746) + chr(0b1100101) + chr(0b1001011 + 0o30) + '\157' + chr(100) + '\145')(chr(0b1110101) + '\164' + '\146' + '\055' + chr(56)) not in roI3spqORKae(uncialTplnF1.df, roI3spqORKae(ES5oEprVxulp(b'\x7f\x02\xab.\x1e\x83M\xd2\xa6\xb6\xce\x18'), chr(100) + '\145' + '\x63' + '\x6f' + chr(5762 - 5662) + '\x65')(chr(2555 - 2438) + chr(116) + '\x66' + '\x2d' + chr(56))):
return pIthwLhwpnQw
NakH0BIhYUEb = uncialTplnF1.get_records_for_code(roI3spqORKae(ES5oEprVxulp(b'fa\xbf\x00\x04\xb8'), '\x64' + chr(0b1010100 + 0o21) + chr(99) + chr(0b1101111) + '\x64' + chr(9851 - 9750))(chr(117) + chr(116) + chr(102) + chr(45) + chr(0b110010 + 0o6)), strict_match=nzTpIcepk0o8(chr(48) + chr(1985 - 1874) + chr(980 - 932), 8))
NLtOu1CVTZCy = []
if not ftfygxgFas5X(NakH0BIhYUEb):
return pIthwLhwpnQw
MGHw73zcTvRw = {roI3spqORKae(ES5oEprVxulp(b"YA\xf7'$\x87a\x89\xcd\x9f\xcb\x1a\x1d\x90\x96\x0e\xdb\xb1\xbd\xb8\x87Gq"), '\x64' + chr(101) + '\143' + '\x6f' + '\144' + chr(1766 - 1665))(chr(0b110100 + 0o101) + '\x74' + chr(0b1100110) + chr(0b101101) + '\x38'): roI3spqORKae(ES5oEprVxulp(b'oC\xe0+?'), '\144' + '\x65' + chr(0b1000000 + 0o43) + '\157' + '\x64' + chr(101))(chr(0b1110000 + 0o5) + chr(12010 - 11894) + chr(7632 - 7530) + chr(1308 - 1263) + chr(0b110110 + 0o2))}
if ftfygxgFas5X(NakH0BIhYUEb):
NLtOu1CVTZCy = NakH0BIhYUEb[NakH0BIhYUEb[roI3spqORKae(ES5oEprVxulp(b"YA\xf7'$\x87a\x89"), chr(0b1100100) + chr(0b1100101) + chr(0b1100011) + chr(111) + chr(100) + chr(101))(chr(0b1110101) + chr(116) + chr(0b11010 + 0o114) + chr(0b101101) + chr(0b101101 + 0o13))].xqAChpcBkssb(N9zlRy29S1SS) == FYDJ97YahvG6]
if ftfygxgFas5X(NLtOu1CVTZCy):
if ftfygxgFas5X(NLtOu1CVTZCy) > nzTpIcepk0o8(chr(130 - 82) + chr(0b1011001 + 0o26) + chr(690 - 642), 8):
MYlAB8nMfT68 = HLKt4sa1j9hm.to_numeric(NLtOu1CVTZCy.meas_step_min.values).tolist()
nhWLvSupZLwX = HLKt4sa1j9hm.to_numeric(NLtOu1CVTZCy.meas_step_max.values).tolist()
C6sWECY4BDvc = NLtOu1CVTZCy.method_codes.tolist()
for w5vcgUzFN3bF in bbT2xIe5pzk7(ftfygxgFas5X(MYlAB8nMfT68)):
l2dEhyi4Z9AC = C6sWECY4BDvc[w5vcgUzFN3bF].LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\x10'), '\144' + chr(1595 - 1494) + chr(5470 - 5371) + chr(111) + '\144' + chr(0b1 + 0o144))(chr(0b11001 + 0o134) + chr(3632 - 3516) + chr(102) + chr(45) + chr(0b111000 + 0o0)))
for tF75nqoNENFL in l2dEhyi4Z9AC:
if roI3spqORKae(ES5oEprVxulp(b'nt\xbf\x06\x0b\xa6'), chr(0b1100100) + chr(0b10011 + 0o122) + chr(5783 - 5684) + chr(0b1101111) + '\144' + '\x65')('\x75' + chr(116) + '\x66' + chr(0b100101 + 0o10) + chr(0b10010 + 0o46)) in tF75nqoNENFL:
yqEynH3caY_E = roI3spqORKae(ES5oEprVxulp(b'nt\xbf\x06\x0b\xa6'), chr(2952 - 2852) + chr(0b100100 + 0o101) + chr(0b1100011) + '\157' + '\144' + '\145')('\x75' + chr(116) + chr(9399 - 9297) + chr(1565 - 1520) + chr(56))
if roI3spqORKae(ES5oEprVxulp(b'nt\xbf\x06\x0b\xba'), '\x64' + chr(0b1100101) + chr(1890 - 1791) + '\x6f' + chr(100) + chr(5799 - 5698))(chr(117) + chr(116) + '\x66' + '\055' + chr(56)) in tF75nqoNENFL:
yqEynH3caY_E = roI3spqORKae(ES5oEprVxulp(b'nt\xbf\x06\x0b\xba'), chr(0b110 + 0o136) + '\145' + chr(0b1100011) + '\x6f' + chr(100) + '\145')(chr(0b1110101) + '\x74' + chr(0b1100110) + chr(45) + '\x38')
if roI3spqORKae(ES5oEprVxulp(b'nt\xbf\x02\x00'), '\144' + '\145' + chr(5009 - 4910) + chr(0b100101 + 0o112) + '\x64' + chr(0b1100101))('\165' + '\164' + chr(102) + chr(1185 - 1140) + chr(56)) in tF75nqoNENFL:
yqEynH3caY_E = roI3spqORKae(ES5oEprVxulp(b'nt\xbf\x02\x00'), '\144' + chr(0b101100 + 0o71) + '\143' + chr(0b101101 + 0o102) + chr(100) + chr(101))(chr(0b1110101) + chr(0b1110100) + '\x66' + chr(1252 - 1207) + '\070')
if roI3spqORKae(ES5oEprVxulp(b'nt\xbf\x06\x0b\xa6)\xa6'), chr(4724 - 4624) + chr(8936 - 8835) + chr(0b1100011) + chr(111) + chr(100) + chr(0b1100101))(chr(0b1110101) + chr(10609 - 10493) + chr(0b1100110) + chr(0b100 + 0o51) + chr(0b111000)) in tF75nqoNENFL:
yqEynH3caY_E = roI3spqORKae(ES5oEprVxulp(b'nt\xbf\x06\x0b\xa6)\xa6'), chr(100) + '\145' + chr(8697 - 8598) + '\157' + chr(0b1000100 + 0o40) + chr(101))('\x75' + chr(0b1110100) + chr(0b1100110) + chr(1900 - 1855) + chr(0b111000))
v3HCRIPFllZH = HLKt4sa1j9hm.to_numeric(ylhIyzVZzTnK.treatment).tolist()
if ftfygxgFas5X(MYlAB8nMfT68) != nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b11101 + 0o23), 8):
try:
(KQbHFTcl_LKy, NiWVjAWn0l6T) = (v3HCRIPFllZH.ZpfN5tSLaZze(MYlAB8nMfT68[w5vcgUzFN3bF]), v3HCRIPFllZH.ZpfN5tSLaZze(nhWLvSupZLwX[w5vcgUzFN3bF]))
MGHw73zcTvRw = hUcsWwAd0nE_.domean(luLn2FtUnsUW, KQbHFTcl_LKy, NiWVjAWn0l6T, yqEynH3caY_E)
except WbNHlDKpyPtQ as dclkBu6Bdnnh:
MGHw73zcTvRw[roI3spqORKae(ES5oEprVxulp(b"YA\xf7'$\x87a\x89\xcd\x9f\xcb\x1a\x1d\x90\x96\x0e\xdb\xb1\xbd\xb8\x87Gq"), chr(100) + chr(101) + chr(0b1111 + 0o124) + '\157' + chr(3073 - 2973) + chr(0b1100101))(chr(0b1110101) + '\x74' + '\x66' + '\055' + chr(2154 - 2098))] = roI3spqORKae(ES5oEprVxulp(b'oC\xe0+?'), chr(100) + '\145' + chr(0b1100011) + chr(111) + '\x64' + chr(0b1100101))(chr(13531 - 13414) + '\x74' + chr(102) + chr(0b101101) + chr(506 - 450))
try:
if MYlAB8nMfT68[w5vcgUzFN3bF] == nzTpIcepk0o8(chr(1724 - 1676) + chr(111) + '\x30', 8):
KQbHFTcl_LKy = nzTpIcepk0o8(chr(0b1011 + 0o45) + chr(0b1001010 + 0o45) + chr(0b110000), 8)
else:
KQbHFTcl_LKy = v3HCRIPFllZH.ZpfN5tSLaZze(MYlAB8nMfT68[w5vcgUzFN3bF])
if nhWLvSupZLwX[w5vcgUzFN3bF] == nzTpIcepk0o8(chr(48) + chr(111) + chr(0b110000), 8):
NiWVjAWn0l6T = nzTpIcepk0o8(chr(0b10011 + 0o35) + '\157' + '\060', 8)
else:
NiWVjAWn0l6T = v3HCRIPFllZH.ZpfN5tSLaZze(nhWLvSupZLwX[w5vcgUzFN3bF])
MGHw73zcTvRw = hUcsWwAd0nE_.domean(luLn2FtUnsUW, KQbHFTcl_LKy, NiWVjAWn0l6T, yqEynH3caY_E)
except WbNHlDKpyPtQ:
MGHw73zcTvRw[roI3spqORKae(ES5oEprVxulp(b"YA\xf7'$\x87a\x89\xcd\x9f\xcb\x1a\x1d\x90\x96\x0e\xdb\xb1\xbd\xb8\x87Gq"), chr(3298 - 3198) + chr(10121 - 10020) + '\x63' + chr(0b1101111) + chr(2917 - 2817) + '\145')(chr(0b1011100 + 0o31) + chr(0b1110010 + 0o2) + chr(0b1100110) + chr(45) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'oC\xe0+?'), '\x64' + chr(0b111110 + 0o47) + '\143' + chr(111) + chr(6260 - 6160) + '\x65')('\x75' + chr(0b1110100) + '\x66' + chr(141 - 96) + '\x38')
if MGHw73zcTvRw[roI3spqORKae(ES5oEprVxulp(b"YA\xf7'$\x87a\x89\xcd\x9f\xcb\x1a\x1d\x90\x96\x0e\xdb\xb1\xbd\xb8\x87Gq"), chr(2796 - 2696) + chr(0b1100000 + 0o5) + '\x63' + chr(0b111 + 0o150) + chr(0b1100100) + chr(9281 - 9180))(chr(9400 - 9283) + '\x74' + chr(0b1001000 + 0o36) + chr(0b101101) + '\070')] != roI3spqORKae(ES5oEprVxulp(b'oC\xe0+?'), chr(0b101100 + 0o70) + '\145' + chr(1341 - 1242) + chr(0b1101111) + '\x64' + '\x65')('\x75' + chr(3354 - 3238) + chr(0b1100110) + '\x2d' + chr(0b100110 + 0o22)):
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'Z]\xfd0\x12\x8em\x95'), '\x64' + '\x65' + chr(0b1100011) + chr(8462 - 8351) + chr(0b1100100) + '\145')(chr(0b100010 + 0o123) + '\x74' + chr(0b1100110) + chr(0b11 + 0o52) + chr(0b111000)))(pIthwLhwpnQw, MGHw73zcTvRw, luLn2FtUnsUW, aO7VavFy3Xvk)
else:
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b' \x1c\xc5im\xb9t\x82\xf1\x92\xcf\r\x16\xd3\x99\x1a\x94\xad\x87\xaf\x91Ep\xdc0>\xa1\xa3\xcbI\xd3\xc0\x8a\xcfg\xdaJ\xff,\xe0\nB\xe6%?\x9e+\x94\xe6\x94\xd2H\x1a\x9c\x97\t\xd0\xac\xd8'), '\x64' + '\145' + '\x63' + chr(111) + chr(9855 - 9755) + '\x65')('\165' + '\164' + '\x66' + chr(0b101101) + chr(419 - 363)), roI3spqORKae(ES5oEprVxulp(b'[\x02\xa1\x0f\n\xd9b\x88\xc3\xa4\xe1"'), '\x64' + chr(101) + chr(99) + chr(111) + chr(100) + chr(6691 - 6590))(chr(10134 - 10017) + chr(9068 - 8952) + chr(0b1100110) + '\055' + chr(56)))(FYDJ97YahvG6))
v8jsMqaYV6U2(roI3spqORKae(NakH0BIhYUEb, roI3spqORKae(ES5oEprVxulp(b'\x7f`\xaa,\x1f\x83F\x88\xda\x98\xcc]'), chr(0b1010 + 0o132) + chr(0b11000 + 0o115) + chr(6506 - 6407) + '\x6f' + '\x64' + chr(0b1100101))(chr(259 - 142) + '\x74' + chr(0b1100110) + chr(0b111 + 0o46) + chr(0b111000)))[FYDJ97YahvG6][[roI3spqORKae(ES5oEprVxulp(b'GT\xf37\x12\x99p\x82\xe2\xa4\xcf\x01\x16'), '\144' + chr(0b1100101) + '\x63' + '\x6f' + chr(100) + chr(8437 - 8336))(chr(0b1110101) + chr(412 - 296) + '\x66' + chr(0b101101) + '\070'), roI3spqORKae(ES5oEprVxulp(b'GT\xf37\x12\x99p\x82\xe2\xa4\xcf\t\x00'), chr(0b1100100) + chr(5813 - 5712) + chr(0b1011 + 0o130) + chr(0b1101111) + '\x64' + chr(0b1100101))(chr(0b1001 + 0o154) + '\x74' + chr(102) + chr(233 - 188) + chr(989 - 933))]])
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b' \x11\xb2dm\xa7a\x86\xe1\x8e\xd0\r\x15\x96\x8c\x13\x94\xad\x87\xaf\x91Ep\x8fi'), '\144' + '\145' + '\x63' + chr(0b1101111) + '\144' + '\x65')('\165' + chr(116) + chr(0b1100001 + 0o5) + '\x2d' + chr(0b111000)))
Y2QfnnvVOo8E = H4NoA26ON7iG(Bvi71nNyvlqO([roI3spqORKae(ES5oEprVxulp(b'^C\xf7%9\xb5e\x84\xcd\x9d\xcb\r\x14\x97'), '\x64' + chr(0b100100 + 0o101) + '\143' + chr(0b1101111) + chr(100) + '\x65')('\x75' + chr(116) + chr(0b1100110) + chr(748 - 703) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'^C\xf7%9\xb5p\x82\xff\x8b'), '\x64' + chr(0b1100101) + chr(0b1011101 + 0o6) + chr(111) + '\x64' + '\145')(chr(0b100110 + 0o117) + chr(116) + chr(0b1010 + 0o134) + chr(0b101101) + '\x38')]).intersection(ylhIyzVZzTnK.U39jSiI54Mlp))
v8jsMqaYV6U2(ylhIyzVZzTnK[Y2QfnnvVOo8E])
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b' \x11\xb2dm\xaee\x93\xf3\xdb\xd5\x01\x14\x9f\xc2\x05\xd1\xff\x92\xa0\x91C`\x997q\xb8\xbe\xdeH\xd2\xc6\xde\x86`\xc2_\xf67\xf4XT\xe6%9\x83k\x89\xe1\xf1'), chr(7634 - 7534) + '\x65' + '\143' + chr(0b1101111) + chr(0b111111 + 0o45) + chr(7352 - 7251))('\165' + '\x74' + '\x66' + chr(0b101101) + chr(0b111000)))
return pIthwLhwpnQw
def xMF4aPRocaG1(L66BkZPPV93j, xwRuRFbC5fsf, _ilcabGFqtMa, uncialTplnF1, lVA5j3qOu97n=None):
if uncialTplnF1:
try:
i0YK7E41AkP0 = uncialTplnF1.df.UQ8hRiBoHcn5[L66BkZPPV93j, roI3spqORKae(ES5oEprVxulp(b'YP\xff4!\x8f'), chr(100) + '\145' + '\143' + chr(0b10 + 0o155) + '\x64' + chr(101))(chr(117) + chr(0b1110100) + chr(0b1100110) + '\x2d' + chr(0b101100 + 0o14))]
except knUxyjfq07F9:
i0YK7E41AkP0 = roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + '\x65' + chr(99) + '\x6f' + chr(100) + chr(0b1100101))(chr(234 - 117) + '\164' + chr(0b0 + 0o146) + chr(0b11 + 0o52) + chr(812 - 756))
bJGAeUfn2P2N = []
if suIjIS24Zkqw(i0YK7E41AkP0, nzTpIcepk0o8) or suIjIS24Zkqw(i0YK7E41AkP0, jLW6pRf2DSRk) or suIjIS24Zkqw(i0YK7E41AkP0, roI3spqORKae(nDF4gVNx0u9Q, roI3spqORKae(ES5oEprVxulp(b'C_\xe6ry'), chr(9565 - 9465) + chr(0b110001 + 0o64) + chr(739 - 640) + '\157' + chr(100) + '\x65')(chr(0b1001101 + 0o50) + '\x74' + chr(0b1100110) + '\x2d' + '\x38'))):
if roI3spqORKae(nDF4gVNx0u9Q, roI3spqORKae(ES5oEprVxulp(b']\x00\xe3t\x19\x9dp\xa6\xc6\xaa\x940'), chr(8308 - 8208) + '\145' + '\143' + chr(0b11001 + 0o126) + chr(0b1100100) + '\x65')(chr(117) + chr(0b1100011 + 0o21) + chr(0b1100110) + chr(341 - 296) + chr(0b111000)))(i0YK7E41AkP0):
NrOoJ8NdaX1V = roI3spqORKae(ES5oEprVxulp(b''), '\x64' + '\x65' + '\143' + chr(0b1101010 + 0o5) + '\144' + chr(101))('\165' + chr(116) + chr(10224 - 10122) + chr(0b101101) + chr(2613 - 2557))
bJGAeUfn2P2N = []
else:
NrOoJ8NdaX1V = N9zlRy29S1SS(i0YK7E41AkP0)
lVA5j3qOu97n.df.ZpfN5tSLaZze = lVA5j3qOu97n.df.index.xqAChpcBkssb(N9zlRy29S1SS)
bJGAeUfn2P2N = lVA5j3qOu97n.jpOn8DNZxbbx[lVA5j3qOu97n.df.ZpfN5tSLaZze == NrOoJ8NdaX1V]
elif suIjIS24Zkqw(i0YK7E41AkP0, MJ07XsN5uFgW(None)):
NrOoJ8NdaX1V = roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(101) + chr(0b1011001 + 0o12) + chr(111) + '\x64' + chr(0b1100101))(chr(0b110101 + 0o100) + chr(0b1100100 + 0o20) + '\x66' + chr(45) + '\070')
bJGAeUfn2P2N = []
elif ftfygxgFas5X(i0YK7E41AkP0):
if suIjIS24Zkqw(i0YK7E41AkP0, N9zlRy29S1SS):
NrOoJ8NdaX1V = i0YK7E41AkP0
else:
NrOoJ8NdaX1V = i0YK7E41AkP0.mj4jMnYn3A2l[nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b110000), 8)]
bJGAeUfn2P2N = lVA5j3qOu97n.jpOn8DNZxbbx[lVA5j3qOu97n.df.ZpfN5tSLaZze == NrOoJ8NdaX1V]
else:
bJGAeUfn2P2N = []
pIthwLhwpnQw = {roI3spqORKae(ES5oEprVxulp(b'O@\xf36(\x8b'), '\x64' + chr(0b1100101) + '\x63' + chr(0b1011001 + 0o26) + chr(0b110 + 0o136) + chr(3746 - 3645))('\x75' + '\x74' + '\x66' + chr(0b101101) + chr(0b1110 + 0o52)): xwRuRFbC5fsf, roI3spqORKae(ES5oEprVxulp(b'PX\xf8 '), chr(0b10001 + 0o123) + '\145' + '\143' + '\x6f' + '\x64' + chr(0b1100101))('\x75' + '\164' + chr(0b1001001 + 0o35) + chr(45) + '\070'): xwRuRFbC5fsf + nzTpIcepk0o8('\060' + chr(2028 - 1917) + chr(49), 8), roI3spqORKae(ES5oEprVxulp(b'NT\xff%*'), chr(0b11111 + 0o105) + chr(0b1001100 + 0o31) + '\143' + chr(0b101010 + 0o105) + chr(8232 - 8132) + chr(101))(chr(12136 - 12019) + chr(10382 - 10266) + chr(102) + chr(0b11110 + 0o17) + chr(1133 - 1077)): xwRuRFbC5fsf + nzTpIcepk0o8(chr(1099 - 1051) + '\x6f' + chr(50), ord("\x08"))}
YtA_2u8ugCIV = _ilcabGFqtMa[_ilcabGFqtMa.specimen == PmE5_h409JAA]
YtA_2u8ugCIV = YtA_2u8ugCIV[-YtA_2u8ugCIV.method_codes.str.LNkbYQgwgMgl(roI3spqORKae(ES5oEprVxulp(b'fa\xbfn\x16\xb6s\xba\xb8\xd6\xe3:5'), chr(100) + chr(101) + chr(1347 - 1248) + chr(0b11000 + 0o127) + chr(100) + '\x65')('\165' + chr(0b11101 + 0o127) + '\146' + '\x2d' + '\x38'))]
XVVw2NGoUxgV = YtA_2u8ugCIV[YtA_2u8ugCIV.method_codes.str.LNkbYQgwgMgl(roI3spqORKae(ES5oEprVxulp(b'fe\xbf\n\x02'), '\144' + '\x65' + chr(0b1100011) + '\157' + chr(0b1100100) + '\x65')(chr(1556 - 1439) + chr(0b1110100) + chr(102) + chr(110 - 65) + chr(0b111000)))]
oyVIqKsG2fUG = YtA_2u8ugCIV[YtA_2u8ugCIV.method_codes.str.LNkbYQgwgMgl(roI3spqORKae(ES5oEprVxulp(b'fe\xbf\x10`\xb0'), chr(100) + chr(0b1100101) + chr(99) + chr(111) + '\x64' + '\145')(chr(0b1110101) + '\164' + '\x66' + '\055' + chr(56)))]
try:
VBCqc_uABtb3 = YtA_2u8ugCIV.method_codes.str.LNkbYQgwgMgl(roI3spqORKae(ES5oEprVxulp(b'\x02o\xee\x1f\x11\x99X\xdd\xcf\xd2\xee<U\xa3\xb65\xf9'), chr(5114 - 5014) + chr(0b1100101) + chr(0b1100011) + chr(111) + '\144' + chr(101))('\165' + chr(116) + '\146' + chr(0b100 + 0o51) + '\070'))
oyVIqKsG2fUG = oyVIqKsG2fUG[-VBCqc_uABtb3]
except WbNHlDKpyPtQ:
EdsyAMYEgSoq = []
NoZxuO7wjArS = nzTpIcepk0o8(chr(0b110000) + chr(111) + '\060', 8)
for (w5vcgUzFN3bF, o6UWUO21mH25) in roI3spqORKae(oyVIqKsG2fUG.copy(), roI3spqORKae(ES5oEprVxulp(b'CE\xf76?\x85s\x94'), '\x64' + chr(1741 - 1640) + '\x63' + chr(111) + chr(0b1100100) + chr(2237 - 2136))('\x75' + chr(11008 - 10892) + chr(102) + chr(45) + chr(705 - 649)))():
if roI3spqORKae(ES5oEprVxulp(b'fe\xbf\x14\x19\xb8I'), chr(1243 - 1143) + '\145' + '\x63' + '\157' + '\144' + chr(101))('\x75' + '\x74' + chr(250 - 148) + chr(0b10111 + 0o26) + '\070') in o6UWUO21mH25[roI3spqORKae(ES5oEprVxulp(b'GT\xe6,"\x8e[\x84\xfd\x9f\xc7\x1b'), chr(0b101111 + 0o65) + chr(5560 - 5459) + '\143' + chr(0b1001011 + 0o44) + chr(0b101101 + 0o67) + chr(0b1100101))(chr(117) + chr(3082 - 2966) + '\146' + chr(472 - 427) + chr(0b100011 + 0o25))] and roI3spqORKae(ES5oEprVxulp(b'k}\xc6i\x1d\xbeV\xaa'), '\144' + '\x65' + '\143' + '\157' + chr(0b111011 + 0o51) + chr(421 - 320))('\x75' + chr(418 - 302) + chr(102) + chr(1244 - 1199) + chr(0b10100 + 0o44)) not in o6UWUO21mH25[roI3spqORKae(ES5oEprVxulp(b'GT\xe6,"\x8e[\x84\xfd\x9f\xc7\x1b'), chr(0b1100100) + chr(101) + '\143' + chr(0b1101111) + '\x64' + chr(5000 - 4899))(chr(0b1011 + 0o152) + chr(0b1110100) + chr(903 - 801) + '\x2d' + '\x38')]:
roI3spqORKae(EdsyAMYEgSoq, roI3spqORKae(ES5oEprVxulp(b'be\xc1p5\x8dC\x88\xf8\x94\xf7]'), chr(0b1100100) + chr(0b1010101 + 0o20) + chr(0b111010 + 0o51) + chr(0b11010 + 0o125) + '\x64' + '\x65')(chr(117) + chr(116) + '\146' + chr(45) + '\x38'))(NoZxuO7wjArS)
else:
pass
NoZxuO7wjArS += nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(49), 8)
if ftfygxgFas5X(EdsyAMYEgSoq) < NoZxuO7wjArS:
oyVIqKsG2fUG = oyVIqKsG2fUG.mj4jMnYn3A2l[EdsyAMYEgSoq]
PB_PtijpxYBT = YtA_2u8ugCIV[YtA_2u8ugCIV.method_codes.str.LNkbYQgwgMgl(roI3spqORKae(ES5oEprVxulp(b'fe\xbf\x05\x0b\xc7^'), chr(0b1100100) + chr(8731 - 8630) + chr(0b1100011) + '\157' + chr(0b1100100) + chr(1723 - 1622))(chr(0b1011 + 0o152) + chr(116) + chr(0b1100100 + 0o2) + chr(0b101011 + 0o2) + chr(56)))]
iUXmMyDCJ2ks = None
luLn2FtUnsUW = None
if not ftfygxgFas5X(roI3spqORKae(oyVIqKsG2fUG, roI3spqORKae(ES5oEprVxulp(b'pA\xf4\nx\x9eW\xab\xf3\xa1\xd8\r'), chr(0b1010111 + 0o15) + chr(0b1000111 + 0o36) + chr(920 - 821) + chr(0b1101111) + chr(0b1100100) + '\x65')(chr(0b100110 + 0o117) + chr(0b10010 + 0o142) + chr(0b1100110) + '\055' + chr(0b101000 + 0o20)))) > nzTpIcepk0o8(chr(0b10101 + 0o33) + chr(460 - 349) + '\x31', 8) and (not ftfygxgFas5X(roI3spqORKae(PB_PtijpxYBT, roI3spqORKae(ES5oEprVxulp(b'pA\xf4\nx\x9eW\xab\xf3\xa1\xd8\r'), '\144' + chr(7934 - 7833) + chr(0b11001 + 0o112) + '\157' + chr(0b0 + 0o144) + '\x65')(chr(4944 - 4827) + '\x74' + chr(0b1100001 + 0o5) + '\x2d' + chr(0b111000)))) > nzTpIcepk0o8(chr(48) + chr(111) + '\061', 8)):
return
if ftfygxgFas5X(roI3spqORKae(oyVIqKsG2fUG, roI3spqORKae(ES5oEprVxulp(b'pA\xf4\nx\x9eW\xab\xf3\xa1\xd8\r'), '\144' + '\x65' + chr(0b1101 + 0o126) + chr(111) + '\x64' + chr(101))(chr(0b1110101) + chr(0b1110100) + '\x66' + '\055' + '\070'))) > nzTpIcepk0o8(chr(429 - 381) + chr(0b100110 + 0o111) + chr(875 - 826), 8):
iUXmMyDCJ2ks = HLKt4sa1j9hm.concat([XVVw2NGoUxgV, oyVIqKsG2fUG])
j2C_V7145Sqm = ftfygxgFas5X(iUXmMyDCJ2ks)
iUXmMyDCJ2ks = iUXmMyDCJ2ks.dropna(how=roI3spqORKae(ES5oEprVxulp(b'K_\xeb'), chr(9818 - 9718) + '\x65' + chr(0b110011 + 0o60) + chr(111) + chr(1033 - 933) + '\x65')(chr(0b100010 + 0o123) + chr(116) + '\x66' + chr(45) + '\070'), subset=[roI3spqORKae(ES5oEprVxulp(b'NX\xe0\x1b)\x8fg'), chr(100) + chr(1524 - 1423) + chr(6441 - 6342) + chr(111) + chr(0b1001010 + 0o32) + '\145')(chr(117) + chr(116) + '\146' + chr(318 - 273) + '\070'), roI3spqORKae(ES5oEprVxulp(b'NX\xe0\x1b$\x84g'), chr(100) + '\145' + chr(99) + chr(11236 - 11125) + chr(9613 - 9513) + chr(101))(chr(0b1110101) + '\164' + '\x66' + chr(0b101101) + chr(1071 - 1015)), roI3spqORKae(ES5oEprVxulp(b'GP\xf5*\x12\x87k\x8a\xf7\x95\xd6'), chr(6900 - 6800) + chr(101) + chr(99) + chr(0b100110 + 0o111) + chr(9796 - 9696) + '\x65')(chr(0b110100 + 0o101) + '\164' + chr(0b11111 + 0o107) + chr(252 - 207) + '\x38')])
if j2C_V7145Sqm > ftfygxgFas5X(iUXmMyDCJ2ks):
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'\x07f\xbfd\x1e\x85i\x82\xb2\x9f\xc7\x0bW\x9a\x8c\x04\x9b\xb2\x8d\xa1\x9bY`\xdc70\xbb\xb6\x8aW\xd8\xc1\xcf\x86d\xc5X\xe0,\xeaM\x11\xf4+?\xcaw\x97\xf7\x98\xcb\x05\x1d\x9d\xc2\x1c\xc9\xf3\xc2\xbf\x91\x17o\x81s<\xaa\xb6\xd9U\xcf\xd6\xc7\xc3g\xd8\x0b\xe1*\xf3\x02B\xbbd:\x8fv\x82\xb2\x9e\xda\x0b\x14\x86\x86\x02\xd0'), '\x64' + chr(0b111101 + 0o50) + chr(99) + chr(0b11100 + 0o123) + chr(0b101000 + 0o74) + chr(0b1000111 + 0o36))(chr(0b1110101) + '\x74' + chr(3146 - 3044) + chr(0b101010 + 0o3) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'[\x02\xa1\x0f\n\xd9b\x88\xc3\xa4\xe1"'), chr(0b100101 + 0o77) + chr(101) + '\143' + chr(0b1101111) + '\x64' + chr(101))(chr(0b100110 + 0o117) + chr(0b1110100) + '\x66' + chr(0b11111 + 0o16) + chr(570 - 514)))(PmE5_h409JAA, j2C_V7145Sqm - ftfygxgFas5X(iUXmMyDCJ2ks)))
if nKUAs3HG0RP8 != roI3spqORKae(ES5oEprVxulp(b'\x07\x00'), '\144' + chr(0b1000100 + 0o41) + '\x63' + '\157' + '\x64' + chr(101))(chr(0b1110101) + chr(116) + '\146' + chr(0b10010 + 0o33) + chr(0b111000)) and ftfygxgFas5X(bJGAeUfn2P2N):
iUXmMyDCJ2ks = IB5XMSkED7Zg(iUXmMyDCJ2ks, bJGAeUfn2P2N, NrOoJ8NdaX1V, nKUAs3HG0RP8)
M4fW_S7vN_Q_ = roI3spqORKae(ES5oEprVxulp(b'a'), chr(0b1100100) + chr(10059 - 9958) + '\x63' + chr(0b1010010 + 0o35) + '\x64' + chr(0b1010100 + 0o21))(chr(0b1110101) + '\x74' + '\x66' + '\x2d' + chr(2325 - 2269))
try:
iUXmMyDCJ2ks[roI3spqORKae(ES5oEprVxulp(b'GP\xf5*\x12\x87k\x8a\xf7\x95\xd6'), chr(100) + '\x65' + chr(99) + '\x6f' + '\x64' + '\x65')('\165' + chr(4320 - 4204) + '\x66' + chr(0b100111 + 0o6) + chr(0b111000))] = iUXmMyDCJ2ks[roI3spqORKae(ES5oEprVxulp(b'GP\xf5*\x12\x87k\x8a\xf7\x95\xd6'), chr(100) + '\145' + '\x63' + chr(0b101000 + 0o107) + chr(0b101011 + 0o71) + chr(0b1010110 + 0o17))('\165' + '\164' + chr(3424 - 3322) + chr(1041 - 996) + '\x38')].xqAChpcBkssb(jLW6pRf2DSRk)
iUXmMyDCJ2ks[roI3spqORKae(ES5oEprVxulp(b'^C\xf7%9\xb5p\x82\xff\x8b'), chr(0b1111 + 0o125) + chr(0b1100101) + '\x63' + '\157' + '\144' + chr(101))(chr(0b11 + 0o162) + '\x74' + chr(0b1100110) + chr(0b11011 + 0o22) + chr(2307 - 2251))] = iUXmMyDCJ2ks[roI3spqORKae(ES5oEprVxulp(b'^C\xf7%9\xb5p\x82\xff\x8b'), chr(0b111101 + 0o47) + '\145' + chr(0b11000 + 0o113) + chr(0b1101111) + chr(100) + chr(4111 - 4010))(chr(0b1100001 + 0o24) + chr(11539 - 11423) + chr(0b1100110) + '\055' + chr(56))].xqAChpcBkssb(jLW6pRf2DSRk)
except UtiWT6f6p9yZ:
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'\x07f\xbfd\x19\x82a\x95\xf7\xdb\xc3\x1a\x1d\xd3\x8f\x06\xd8\xb9\x8d\xbe\x93Rp\xdc<#\xef\xba\xc3S\xce\xda\xc4\xc1)\xc8J\xe7$\xa4L^\xe0d>\x9aa\x84\xfb\x96\xc7\x06X\x88\x9fK\x94\xac\x89\xa5\x8eG}\x924'), '\144' + '\145' + '\143' + '\157' + '\x64' + '\x65')(chr(117) + '\x74' + chr(0b10000 + 0o126) + '\055' + '\x38'), roI3spqORKae(ES5oEprVxulp(b'[\x02\xa1\x0f\n\xd9b\x88\xc3\xa4\xe1"'), '\x64' + chr(0b1000110 + 0o37) + chr(0b1100011) + chr(0b1101111) + '\x64' + '\145')(chr(0b1101100 + 0o11) + '\x74' + '\x66' + chr(0b1 + 0o54) + chr(1384 - 1328)))(L66BkZPPV93j))
return
luLn2FtUnsUW = iUXmMyDCJ2ks[[roI3spqORKae(ES5oEprVxulp(b'^C\xf7%9\xb5p\x82\xff\x8b'), '\x64' + '\x65' + chr(6663 - 6564) + chr(0b1100111 + 0o10) + chr(0b1001000 + 0o34) + '\145')('\165' + chr(116) + chr(3367 - 3265) + chr(0b11 + 0o52) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'NX\xe0\x1b)\x8fg'), chr(100) + '\145' + chr(0b1100011) + chr(12152 - 12041) + '\x64' + '\x65')(chr(9206 - 9089) + chr(116) + chr(102) + '\055' + '\070'), roI3spqORKae(ES5oEprVxulp(b'NX\xe0\x1b$\x84g'), chr(100) + '\x65' + '\x63' + '\157' + chr(0b1100100) + chr(101))(chr(117) + chr(0b0 + 0o164) + chr(7902 - 7800) + chr(0b1110 + 0o37) + chr(2473 - 2417)), roI3spqORKae(ES5oEprVxulp(b'GP\xf5*\x12\x87k\x8a\xf7\x95\xd6'), '\x64' + chr(101) + '\143' + chr(111) + '\x64' + chr(101))(chr(117) + chr(0b1110100) + '\146' + '\x2d' + chr(0b10100 + 0o44)), roI3spqORKae(ES5oEprVxulp(b'H]\xf3*&'), chr(1050 - 950) + '\145' + chr(99) + chr(0b1101111) + chr(100) + chr(101))(chr(0b111100 + 0o71) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + '\070'), roI3spqORKae(ES5oEprVxulp(b'[D\xf3($\x9e}'), '\x64' + chr(0b1001100 + 0o31) + chr(1486 - 1387) + chr(0b1101111) + chr(100) + chr(3647 - 3546))(chr(0b1110101) + chr(0b10100 + 0o140) + chr(2921 - 2819) + chr(0b101101) + '\x38')]].values.tolist()
pIthwLhwpnQw = o77KS_r9H7AX.plot_zed(pIthwLhwpnQw, luLn2FtUnsUW, aO7VavFy3Xvk, PmE5_h409JAA, M4fW_S7vN_Q_)
if ftfygxgFas5X(roI3spqORKae(PB_PtijpxYBT, roI3spqORKae(ES5oEprVxulp(b'pA\xf4\nx\x9eW\xab\xf3\xa1\xd8\r'), chr(0b1100011 + 0o1) + '\x65' + '\143' + '\157' + chr(0b1010000 + 0o24) + chr(101))(chr(12148 - 12031) + chr(116) + '\x66' + chr(0b101101) + chr(2241 - 2185)))) > nzTpIcepk0o8('\060' + '\157' + '\061', 8):
iUXmMyDCJ2ks = HLKt4sa1j9hm.concat([XVVw2NGoUxgV, PB_PtijpxYBT])
j2C_V7145Sqm = ftfygxgFas5X(iUXmMyDCJ2ks)
iUXmMyDCJ2ks = iUXmMyDCJ2ks.dropna(how=roI3spqORKae(ES5oEprVxulp(b'K_\xeb'), chr(4075 - 3975) + chr(0b1011011 + 0o12) + chr(99) + chr(0b1101111) + chr(100) + chr(7469 - 7368))(chr(0b1101110 + 0o7) + '\x74' + chr(0b1100110) + '\x2d' + chr(56)), subset=[roI3spqORKae(ES5oEprVxulp(b'NX\xe0\x1b)\x8fg'), chr(0b1100100) + chr(7124 - 7023) + '\143' + chr(0b111100 + 0o63) + '\x64' + '\x65')(chr(1058 - 941) + '\x74' + chr(6366 - 6264) + chr(0b110 + 0o47) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'NX\xe0\x1b$\x84g'), '\144' + chr(101) + chr(0b1100011) + chr(111) + '\x64' + chr(1377 - 1276))('\165' + chr(3860 - 3744) + chr(2851 - 2749) + '\x2d' + chr(56)), roI3spqORKae(ES5oEprVxulp(b'GP\xf5*\x12\x87k\x8a\xf7\x95\xd6'), '\144' + chr(0b1100101) + '\x63' + chr(0b111101 + 0o62) + '\144' + chr(101))(chr(0b1010001 + 0o44) + chr(0b1110100) + '\146' + chr(0b10110 + 0o27) + '\x38')])
if j2C_V7145Sqm > ftfygxgFas5X(iUXmMyDCJ2ks):
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'\x07f\xbfd\x1e\x85i\x82\xb2\x9f\xc7\x0bW\x9a\x8c\x04\x9b\xb2\x8d\xa1\x9bY`\xdc70\xbb\xb6\x8aW\xd8\xc1\xcf\x86d\xc5X\xe0,\xeaM\x11\xf4+?\xcaw\x97\xf7\x98\xcb\x05\x1d\x9d\xc2\x1c\xc9\xf3\xc2\xbf\x91\x17o\x81s<\xaa\xb6\xd9U\xcf\xd6\xc7\xc3g\xd8\x0b\xe1*\xf3\x02B\xbbd:\x8fv\x82\xb2\x9e\xda\x0b\x14\x86\x86\x02\xd0'), '\144' + '\145' + chr(99) + chr(10452 - 10341) + chr(0b1100100) + chr(0b1100101))('\x75' + '\x74' + chr(102) + chr(45) + '\070'), roI3spqORKae(ES5oEprVxulp(b'[\x02\xa1\x0f\n\xd9b\x88\xc3\xa4\xe1"'), chr(0b101 + 0o137) + chr(0b101 + 0o140) + '\143' + chr(0b1101 + 0o142) + chr(0b110 + 0o136) + chr(101))('\165' + '\x74' + chr(0b111 + 0o137) + chr(0b101101) + chr(863 - 807)))(PmE5_h409JAA, j2C_V7145Sqm - ftfygxgFas5X(iUXmMyDCJ2ks)))
if nKUAs3HG0RP8 != roI3spqORKae(ES5oEprVxulp(b'\x07\x00'), chr(0b1100100) + chr(0b1100101) + chr(6372 - 6273) + chr(674 - 563) + '\144' + '\x65')(chr(0b1010001 + 0o44) + chr(0b1110100) + chr(0b1001000 + 0o36) + chr(45) + chr(0b101 + 0o63)) and ftfygxgFas5X(bJGAeUfn2P2N):
iUXmMyDCJ2ks = IB5XMSkED7Zg(iUXmMyDCJ2ks, bJGAeUfn2P2N, NrOoJ8NdaX1V, nKUAs3HG0RP8)
M4fW_S7vN_Q_ = roI3spqORKae(ES5oEprVxulp(b'~'), '\x64' + chr(0b1100101) + chr(99) + '\157' + chr(5877 - 5777) + chr(0b100110 + 0o77))('\x75' + chr(6495 - 6379) + chr(102) + chr(45) + '\x38')
try:
iUXmMyDCJ2ks[roI3spqORKae(ES5oEprVxulp(b'GP\xf5*\x12\x87k\x8a\xf7\x95\xd6'), chr(0b1100100) + chr(0b1100101) + chr(0b100 + 0o137) + chr(0b100100 + 0o113) + chr(0b1100100) + chr(0b0 + 0o145))(chr(6591 - 6474) + '\x74' + chr(0b0 + 0o146) + chr(45) + '\070')] = iUXmMyDCJ2ks[roI3spqORKae(ES5oEprVxulp(b'GP\xf5*\x12\x87k\x8a\xf7\x95\xd6'), chr(100) + chr(5112 - 5011) + chr(8963 - 8864) + chr(111) + chr(0b1100100) + chr(101))(chr(117) + chr(13234 - 13118) + chr(102) + chr(45) + '\x38')].xqAChpcBkssb(jLW6pRf2DSRk)
iUXmMyDCJ2ks[roI3spqORKae(ES5oEprVxulp(b'^C\xf7%9\xb5e\x84\xcd\x9d\xcb\r\x14\x97'), '\144' + chr(101) + '\x63' + '\x6f' + chr(0b1100100) + chr(0b1100101))('\165' + '\x74' + chr(0b1100110) + '\x2d' + chr(0b1010 + 0o56))] = iUXmMyDCJ2ks[roI3spqORKae(ES5oEprVxulp(b'^C\xf7%9\xb5e\x84\xcd\x9d\xcb\r\x14\x97'), chr(0b1100100) + chr(101) + chr(0b110 + 0o135) + chr(1466 - 1355) + chr(0b101111 + 0o65) + chr(0b110001 + 0o64))('\165' + chr(0b1110100) + '\x66' + chr(45) + chr(56))].xqAChpcBkssb(jLW6pRf2DSRk)
except UtiWT6f6p9yZ:
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'\x07f\xbfd\x19\x82a\x95\xf7\xdb\xc3\x1a\x1d\xd3\x8f\x06\xd8\xb9\x8d\xbe\x93Rp\xdc<#\xef\xba\xc3S\xce\xda\xc4\xc1)\xc8J\xe7$\xa4L^\xe0d>\x9aa\x84\xfb\x96\xc7\x06X\x88\x9fK\x94\xac\x89\xa5\x8eG}\x924'), chr(0b1001111 + 0o25) + chr(101) + chr(99) + '\x6f' + '\144' + '\x65')(chr(117) + chr(0b1110100) + chr(8460 - 8358) + chr(0b1 + 0o54) + chr(3096 - 3040)), roI3spqORKae(ES5oEprVxulp(b'[\x02\xa1\x0f\n\xd9b\x88\xc3\xa4\xe1"'), chr(0b101011 + 0o71) + chr(0b1100101) + chr(99) + chr(0b1000100 + 0o53) + chr(0b1010011 + 0o21) + chr(101))('\165' + '\x74' + chr(8832 - 8730) + chr(0b1 + 0o54) + chr(56)))(L66BkZPPV93j))
return
luLn2FtUnsUW = iUXmMyDCJ2ks[[roI3spqORKae(ES5oEprVxulp(b'^C\xf7%9\xb5e\x84\xcd\x9d\xcb\r\x14\x97'), chr(0b1010101 + 0o17) + '\145' + chr(0b101 + 0o136) + chr(111) + '\x64' + chr(101))(chr(0b1110101) + chr(5972 - 5856) + chr(0b1101 + 0o131) + chr(45) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'NX\xe0\x1b)\x8fg'), '\144' + '\145' + '\143' + chr(111) + '\x64' + chr(0b1100101))(chr(117) + '\x74' + chr(0b110011 + 0o63) + chr(45) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'NX\xe0\x1b$\x84g'), chr(0b1000011 + 0o41) + '\145' + chr(403 - 304) + '\x6f' + chr(100) + chr(7842 - 7741))(chr(117) + chr(0b1110100) + chr(102) + chr(0b11000 + 0o25) + chr(1611 - 1555)), roI3spqORKae(ES5oEprVxulp(b'GP\xf5*\x12\x87k\x8a\xf7\x95\xd6'), '\x64' + chr(101) + chr(0b1011100 + 0o7) + chr(8740 - 8629) + chr(0b100011 + 0o101) + chr(101))('\x75' + chr(116) + chr(102) + chr(0b101101) + '\070'), roI3spqORKae(ES5oEprVxulp(b'H]\xf3*&'), '\144' + chr(0b1100101) + chr(0b1010000 + 0o23) + chr(8340 - 8229) + chr(0b1000110 + 0o36) + chr(0b1100101))(chr(4157 - 4040) + '\x74' + '\x66' + '\x2d' + '\x38'), roI3spqORKae(ES5oEprVxulp(b'[D\xf3($\x9e}'), chr(0b11111 + 0o105) + chr(0b1001110 + 0o27) + chr(5724 - 5625) + '\x6f' + '\x64' + chr(0b1100101))(chr(117) + chr(0b1101 + 0o147) + chr(0b1011001 + 0o15) + chr(0b1100 + 0o41) + chr(0b11101 + 0o33))]].values.tolist()
pIthwLhwpnQw = o77KS_r9H7AX.plot_zed(pIthwLhwpnQw, luLn2FtUnsUW, aO7VavFy3Xvk, PmE5_h409JAA, M4fW_S7vN_Q_)
return BjytcTXCfuvV(pIthwLhwpnQw, uncialTplnF1, PmE5_h409JAA, iUXmMyDCJ2ks, luLn2FtUnsUW)
if f4XDWm__k5ZA:
bxxuZm4I6LgY = nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x30', 8)
if not suIjIS24Zkqw(bSiGoWKHgDdJ, roI3spqORKae(RYEhqzIVZREo, roI3spqORKae(ES5oEprVxulp(b'i^\xfc0?\x83f\x92\xe6\x92\xcd\x06'), chr(7762 - 7662) + chr(5332 - 5231) + chr(99) + chr(4358 - 4247) + chr(100) + '\145')('\x75' + chr(0b1110100) + chr(102) + chr(45) + '\x38'))):
KADebXAR9grB = aHUqKstZLeS6.path.s0pnpDWwX0By(KADebXAR9grB)
FQgy_W0Nc99x = hUcsWwAd0nE_.resolve_file_name(rHPU8oONrR4n, KADebXAR9grB)
if not roI3spqORKae(aHUqKstZLeS6.path, roI3spqORKae(ES5oEprVxulp(b'Pb\xdb=#\xbaq\xa2\xe4\x97\xf3\\'), chr(5652 - 5552) + chr(0b1100101) + chr(0b1011 + 0o130) + '\x6f' + chr(9288 - 9188) + chr(0b1100101))(chr(117) + chr(0b1110100) + chr(0b1100110) + '\055' + '\x38'))(FQgy_W0Nc99x):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'd^\xb278\x89l\xc7\xf4\x92\xce\rB'), '\x64' + chr(0b1100101) + chr(9358 - 9259) + chr(1124 - 1013) + chr(100) + '\x65')(chr(5428 - 5311) + chr(0b1110100) + chr(0b0 + 0o146) + '\055' + '\x38'), FQgy_W0Nc99x)
return (nzTpIcepk0o8(chr(0b101101 + 0o3) + chr(0b1101111) + chr(0b110000), 8), [])
QZsYpE1Km_lV = {roI3spqORKae(ES5oEprVxulp(b'GT\xf378\x98a\x8a\xf7\x95\xd6\x1b'), chr(0b101000 + 0o74) + chr(101) + chr(0b1100011) + chr(0b1011110 + 0o21) + chr(100) + chr(3913 - 3812))(chr(117) + chr(6736 - 6620) + chr(0b1100110) + chr(45) + chr(0b111000)): FQgy_W0Nc99x, roI3spqORKae(ES5oEprVxulp(b"YA\xf7'$\x87a\x89\xe1"), chr(0b1000011 + 0o41) + chr(0b1100100 + 0o1) + '\x63' + chr(111) + chr(0b100001 + 0o103) + chr(2106 - 2005))(chr(0b1110101) + chr(0b111111 + 0o65) + '\146' + chr(45) + chr(0b111000)): QJgeTIOanow9, roI3spqORKae(ES5oEprVxulp(b'YP\xff4!\x8fw'), '\144' + chr(3634 - 3533) + '\x63' + chr(11384 - 11273) + '\x64' + chr(0b110 + 0o137))('\x75' + chr(116) + chr(0b110010 + 0o64) + chr(1268 - 1223) + '\070'): bqpTUs8apVqb}
bSiGoWKHgDdJ = RYEhqzIVZREo.Contribution(KADebXAR9grB, custom_filenames=QZsYpE1Km_lV, read_tables=[roI3spqORKae(ES5oEprVxulp(b'GT\xf378\x98a\x8a\xf7\x95\xd6\x1b'), chr(0b1100100) + chr(2928 - 2827) + '\x63' + chr(111) + chr(100) + chr(0b1010001 + 0o24))('\x75' + chr(0b1110100) + '\146' + chr(0b1101 + 0o40) + '\x38'), roI3spqORKae(ES5oEprVxulp(b"YA\xf7'$\x87a\x89\xe1"), chr(2375 - 2275) + chr(101) + chr(2673 - 2574) + chr(0b1101111) + chr(0b10110 + 0o116) + chr(101))(chr(117) + chr(0b1110100) + chr(329 - 227) + '\x2d' + chr(0b1101 + 0o53)), roI3spqORKae(ES5oEprVxulp(b'I^\xfc0?\x83f\x92\xe6\x92\xcd\x06'), chr(0b110110 + 0o56) + '\145' + chr(0b1100011) + chr(111) + chr(0b1100100) + chr(0b1010001 + 0o24))(chr(0b110010 + 0o103) + '\x74' + chr(0b1100110) + chr(0b100111 + 0o6) + chr(0b100011 + 0o25)), roI3spqORKae(ES5oEprVxulp(b'YP\xff4!\x8fw'), chr(0b110011 + 0o61) + chr(101) + chr(0b1100011) + '\157' + '\144' + '\x65')(chr(0b1110101) + chr(0b1110100) + '\146' + chr(1304 - 1259) + chr(0b1111 + 0o51))])
if roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'CB\xc1!?\x9ca\x95'), chr(0b1010011 + 0o21) + '\145' + '\143' + chr(0b1101111) + chr(100) + chr(7427 - 7326))('\165' + '\x74' + '\x66' + chr(0b101101) + '\070')):
try:
roI3spqORKae(bSiGoWKHgDdJ, roI3spqORKae(ES5oEprVxulp(b'ZC\xfd4,\x8de\x93\xf7\xa4\xce\x07\x1b\x92\x96\x0e\xdb\xb1\xbd\xb8\x91hg\x9d>!\xa3\xb2\xd9'), '\144' + chr(101) + chr(99) + chr(0b1000110 + 0o51) + chr(100) + '\x65')(chr(0b100000 + 0o125) + '\164' + chr(0b11 + 0o143) + chr(45) + chr(56)))()
roI3spqORKae(bSiGoWKHgDdJ, roI3spqORKae(ES5oEprVxulp(b'ZC\xfd4,\x8de\x93\xf7\xa4\xce\x07\x1b\x92\x96\x0e\xdb\xb1\xbd\xb8\x91hg\x8c62\xa6\xba\xcfN\xce'), '\144' + chr(101) + '\143' + '\x6f' + chr(100) + chr(0b111001 + 0o54))(chr(7210 - 7093) + chr(159 - 43) + chr(0b1101 + 0o131) + '\055' + chr(2657 - 2601)))()
roI3spqORKae(bSiGoWKHgDdJ, roI3spqORKae(ES5oEprVxulp(b'ZC\xfd4,\x8de\x93\xf7\xa4\xce\x07\x1b\x92\x96\x0e\xdb\xb1\xbd\xb8\x91hy\x992"\xba\xa5\xcfM\xd8\xdd\xde\xd5'), chr(0b1100 + 0o130) + '\x65' + chr(99) + chr(0b1101111) + chr(0b1100100) + chr(0b1000111 + 0o36))('\165' + '\x74' + chr(0b1001000 + 0o36) + chr(0b101101) + chr(2689 - 2633)))()
except knUxyjfq07F9 as dclkBu6Bdnnh:
pass
mWQu7Lg8SCXW = bSiGoWKHgDdJ.WgtSJX0sIYpL[roI3spqORKae(ES5oEprVxulp(b'GT\xf378\x98a\x8a\xf7\x95\xd6\x1b'), chr(0b1100100) + chr(0b1100101) + chr(99) + chr(111) + '\144' + '\145')('\165' + '\x74' + chr(0b1100110) + '\055' + chr(56))]
_ilcabGFqtMa = bSiGoWKHgDdJ.tables[roI3spqORKae(ES5oEprVxulp(b'GT\xf378\x98a\x8a\xf7\x95\xd6\x1b'), chr(100) + '\145' + '\x63' + chr(0b1101111) + chr(1220 - 1120) + '\145')(chr(0b101010 + 0o113) + chr(0b1110100) + chr(0b101 + 0o141) + chr(45) + chr(2114 - 2058))].jpOn8DNZxbbx
uncialTplnF1 = bSiGoWKHgDdJ.tables.GUKetu4xaGsJ(roI3spqORKae(ES5oEprVxulp(b"YA\xf7'$\x87a\x89\xe1"), chr(0b1100100) + chr(101) + chr(99) + chr(0b11100 + 0o123) + chr(0b100100 + 0o100) + chr(0b1100101))(chr(117) + chr(7020 - 6904) + '\x66' + '\x2d' + chr(0b11111 + 0o31)), None)
lVA5j3qOu97n = bSiGoWKHgDdJ.tables.GUKetu4xaGsJ(roI3spqORKae(ES5oEprVxulp(b'YP\xff4!\x8fw'), chr(0b11 + 0o141) + chr(0b1100101) + chr(1078 - 979) + '\157' + chr(8504 - 8404) + chr(101))(chr(8293 - 8176) + chr(6331 - 6215) + '\x66' + chr(45) + '\x38'), None)
_ilcabGFqtMa[roI3spqORKae(ES5oEprVxulp(b'H]\xf3*&'), chr(0b1100100) + chr(0b1100101) + '\x63' + '\x6f' + chr(5765 - 5665) + chr(101))(chr(2287 - 2170) + chr(116) + chr(8656 - 8554) + chr(0b101101) + chr(2902 - 2846))] = roI3spqORKae(ES5oEprVxulp(b''), chr(0b110110 + 0o56) + chr(101) + chr(0b1100011) + chr(111) + '\x64' + chr(0b1100101))(chr(117) + chr(0b1010010 + 0o42) + chr(0b1100110) + chr(861 - 816) + chr(1193 - 1137))
if roI3spqORKae(ES5oEprVxulp(b'^C\xf7%9\xb5e\x84\xcd\x9d\xcb\r\x14\x97'), chr(0b110011 + 0o61) + '\x65' + '\143' + chr(4700 - 4589) + chr(100) + chr(0b101110 + 0o67))(chr(0b1110101) + '\x74' + chr(0b11110 + 0o110) + chr(0b110 + 0o47) + '\x38') in roI3spqORKae(_ilcabGFqtMa, roI3spqORKae(ES5oEprVxulp(b'\x7f\x02\xab.\x1e\x83M\xd2\xa6\xb6\xce\x18'), chr(0b1100100) + chr(1044 - 943) + '\143' + '\157' + chr(7573 - 7473) + chr(4445 - 4344))(chr(0b1001001 + 0o54) + chr(0b1110100) + chr(102) + '\055' + chr(56))):
if roI3spqORKae(ES5oEprVxulp(b'^C\xf7%9\xb5p\x82\xff\x8b'), '\x64' + chr(0b100010 + 0o103) + '\x63' + '\157' + '\144' + chr(0b1100101))('\x75' + '\x74' + chr(102) + chr(0b11110 + 0o17) + '\x38') in roI3spqORKae(_ilcabGFqtMa, roI3spqORKae(ES5oEprVxulp(b'\x7f\x02\xab.\x1e\x83M\xd2\xa6\xb6\xce\x18'), chr(4070 - 3970) + '\145' + '\x63' + chr(5278 - 5167) + chr(0b1100100) + chr(101))('\165' + '\x74' + chr(0b11000 + 0o116) + '\055' + '\x38')):
_ilcabGFqtMa[roI3spqORKae(ES5oEprVxulp(b'^C\xf7%9\x87a\x89\xe6'), '\x64' + chr(101) + '\x63' + chr(0b1101111) + chr(0b111000 + 0o54) + '\x65')(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + chr(0b11001 + 0o24) + chr(1818 - 1762))] = _ilcabGFqtMa[roI3spqORKae(ES5oEprVxulp(b'^C\xf7%9\xb5e\x84\xcd\x9d\xcb\r\x14\x97'), chr(5468 - 5368) + chr(101) + '\143' + '\x6f' + '\144' + '\x65')('\165' + chr(0b1110100) + chr(0b1100110) + '\055' + '\070')].xWH4M7K6Qbd3(cond=_ilcabGFqtMa[roI3spqORKae(ES5oEprVxulp(b'^C\xf7%9\xb5e\x84\xcd\x9d\xcb\r\x14\x97'), chr(6395 - 6295) + chr(101) + '\x63' + '\x6f' + '\x64' + chr(0b110000 + 0o65))(chr(0b1110101) + chr(116) + '\146' + '\x2d' + chr(0b100110 + 0o22))].xqAChpcBkssb(TVUhqOt5_BbS), other=_ilcabGFqtMa[roI3spqORKae(ES5oEprVxulp(b'^C\xf7%9\xb5p\x82\xff\x8b'), chr(100) + chr(3053 - 2952) + '\143' + '\157' + chr(0b1100100) + chr(0b110000 + 0o65))(chr(117) + chr(0b10111 + 0o135) + chr(0b1100110) + chr(0b101101) + chr(0b11001 + 0o37))])
else:
_ilcabGFqtMa[roI3spqORKae(ES5oEprVxulp(b'^C\xf7%9\x87a\x89\xe6'), chr(3372 - 3272) + chr(3093 - 2992) + chr(0b1100011) + chr(111) + chr(100) + chr(101))(chr(117) + chr(116) + chr(0b100001 + 0o105) + chr(45) + '\x38')] = _ilcabGFqtMa[roI3spqORKae(ES5oEprVxulp(b'^C\xf7%9\xb5e\x84\xcd\x9d\xcb\r\x14\x97'), chr(8521 - 8421) + chr(2598 - 2497) + '\143' + chr(111) + '\x64' + chr(8735 - 8634))(chr(11426 - 11309) + '\164' + chr(8231 - 8129) + '\055' + '\070')]
else:
_ilcabGFqtMa[roI3spqORKae(ES5oEprVxulp(b'^C\xf7%9\x87a\x89\xe6'), chr(5055 - 4955) + chr(6267 - 6166) + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + '\145')(chr(0b1110101) + chr(116) + '\x66' + '\x2d' + '\x38')] = _ilcabGFqtMa[roI3spqORKae(ES5oEprVxulp(b'^C\xf7%9\xb5p\x82\xff\x8b'), '\144' + '\145' + chr(0b1100011) + chr(111) + '\144' + chr(101))(chr(8901 - 8784) + chr(116) + '\146' + chr(45) + '\x38')]
if px1MpgT0hYQ9 == roI3spqORKae(ES5oEprVxulp(b'Y'), '\144' + chr(4169 - 4068) + '\x63' + chr(111) + '\144' + '\145')(chr(117) + '\x74' + chr(0b1100110) + chr(1810 - 1765) + '\070'):
nKUAs3HG0RP8 = roI3spqORKae(ES5oEprVxulp(b'\x07\x00'), chr(3878 - 3778) + '\x65' + chr(0b1100011) + chr(2951 - 2840) + chr(6952 - 6852) + chr(0b10100 + 0o121))('\165' + chr(0b1110100) + chr(0b111000 + 0o56) + chr(100 - 55) + '\070')
elif px1MpgT0hYQ9 == roI3spqORKae(ES5oEprVxulp(b'^'), '\x64' + '\x65' + '\x63' + '\x6f' + '\144' + chr(0b100001 + 0o104))(chr(0b1110101) + chr(0b0 + 0o164) + chr(0b1000011 + 0o43) + '\055' + chr(0b111000)):
nKUAs3HG0RP8 = roI3spqORKae(ES5oEprVxulp(b'\x1b\x01\xa2'), chr(0b1100100) + chr(4859 - 4758) + chr(0b1100011) + chr(111) + chr(0b11110 + 0o106) + '\x65')('\x75' + chr(116) + chr(0b1100110) + '\055' + '\070')
else:
nKUAs3HG0RP8 = roI3spqORKae(ES5oEprVxulp(b'\x1a'), chr(7263 - 7163) + '\x65' + chr(99) + chr(0b110111 + 0o70) + '\144' + chr(4151 - 4050))('\x75' + chr(0b1110100) + '\146' + chr(0b11100 + 0o21) + '\x38')
lkkkypP_QyDJ = _ilcabGFqtMa.specimen.G3de2eWQaS0D()
if ftfygxgFas5X(lkkkypP_QyDJ) == nzTpIcepk0o8('\x30' + chr(0b1011 + 0o144) + chr(0b11110 + 0o22), 8):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'^Y\xf76(\xcae\x95\xf7\xdb\xcc\x07X\x97\x83\x13\xd5\xff\x84\xa3\x8c\x17d\x90<%\xbb\xbe\xc4G'), '\x64' + chr(0b11101 + 0o110) + '\143' + chr(7319 - 7208) + chr(3035 - 2935) + '\x65')('\165' + '\x74' + '\x66' + chr(45) + chr(1977 - 1921)))
return (nzTpIcepk0o8(chr(989 - 941) + '\157' + chr(0b110000), 8), [])
NXbW5jBRufBw = []
xQo4wm1YSJks = _ilcabGFqtMa.columns.intersection([roI3spqORKae(ES5oEprVxulp(b'NX\xe0\x1b)\x8fg'), chr(0b1100100) + chr(101) + chr(0b1100010 + 0o1) + chr(0b110100 + 0o73) + '\x64' + '\145')(chr(0b101101 + 0o110) + '\x74' + chr(0b1100110) + chr(0b100010 + 0o13) + chr(1305 - 1249)), roI3spqORKae(ES5oEprVxulp(b'NX\xe0\x1b$\x84g'), chr(0b1100100) + chr(101) + chr(0b1100011) + chr(111) + '\x64' + chr(0b110 + 0o137))(chr(0b110011 + 0o102) + '\x74' + '\x66' + '\x2d' + chr(532 - 476)), roI3spqORKae(ES5oEprVxulp(b'GP\xf5*\x12\x87k\x8a\xf7\x95\xd6'), chr(0b1001010 + 0o32) + chr(0b101000 + 0o75) + '\x63' + chr(1652 - 1541) + '\144' + chr(0b1100101))(chr(117) + '\x74' + chr(0b1010 + 0o134) + chr(0b11011 + 0o22) + '\x38')])
for hRTUxJgvuslu in [roI3spqORKae(ES5oEprVxulp(b'NX\xe0\x1b)\x8fg'), chr(0b1100100) + chr(0b10110 + 0o117) + '\143' + chr(7663 - 7552) + '\x64' + chr(0b11111 + 0o106))('\165' + '\164' + '\x66' + chr(172 - 127) + chr(2548 - 2492)), roI3spqORKae(ES5oEprVxulp(b'NX\xe0\x1b$\x84g'), chr(6279 - 6179) + chr(0b1100101) + '\x63' + '\157' + chr(0b1100100) + '\x65')(chr(0b1110101) + chr(0b100100 + 0o120) + '\x66' + chr(45) + chr(1581 - 1525)), roI3spqORKae(ES5oEprVxulp(b'GP\xf5*\x12\x87k\x8a\xf7\x95\xd6'), '\144' + '\145' + chr(99) + '\x6f' + '\x64' + chr(0b1100101))(chr(0b11010 + 0o133) + '\164' + chr(102) + '\055' + chr(217 - 161))]:
if hRTUxJgvuslu not in xQo4wm1YSJks:
roI3spqORKae(NXbW5jBRufBw, roI3spqORKae(ES5oEprVxulp(b'be\xc1p5\x8dC\x88\xf8\x94\xf7]'), chr(0b1100100) + '\x65' + chr(99) + chr(0b100001 + 0o116) + '\x64' + '\x65')(chr(0b1100001 + 0o24) + chr(116) + chr(102) + '\055' + '\x38'))(hRTUxJgvuslu)
if NXbW5jBRufBw:
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'\x07f\xbfd\x00\x83w\x94\xfb\x95\xc5H\n\x96\x93\x12\xdd\xad\x87\xa8\xdeT{\x90&<\xa1\xff\xd9\t\x9d\xc8\xd7\x8a)\xcfJ\xfd+\xeb^\x11\xe01#\xca~\x82\xe3\xa4\xcf\t\x1f\x9a\x81'), chr(100) + '\145' + chr(556 - 457) + '\157' + chr(0b1100100) + '\x65')(chr(0b1110101) + chr(7930 - 7814) + '\146' + chr(0b100001 + 0o14) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'[\x02\xa1\x0f\n\xd9b\x88\xc3\xa4\xe1"'), chr(0b11100 + 0o110) + '\x65' + '\x63' + '\157' + '\144' + chr(101))('\165' + '\x74' + '\x66' + chr(45) + '\070'))(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'\x06\x11'), chr(7460 - 7360) + chr(0b1001100 + 0o31) + chr(7170 - 7071) + chr(111) + '\144' + chr(101))(chr(1418 - 1301) + '\164' + chr(3610 - 3508) + chr(0b101101) + chr(0b101101 + 0o13)), roI3spqORKae(ES5oEprVxulp(b's\x05\xeb\tt\xa8g\x81\xc6\xb8\xec\x19'), '\x64' + chr(0b1100101) + chr(0b1010100 + 0o17) + '\x6f' + '\144' + chr(101))(chr(117) + chr(0b1010001 + 0o43) + chr(0b1000001 + 0o45) + chr(0b101101) + '\x38'))(NXbW5jBRufBw)))
return (nzTpIcepk0o8('\x30' + '\x6f' + chr(48), 8), [])
xwRuRFbC5fsf = OpFpJUFlM4PU
if LtSarZcSnftR != roI3spqORKae(ES5oEprVxulp(b'K]\xfe'), chr(431 - 331) + chr(101) + chr(99) + '\157' + chr(100) + chr(6957 - 6856))('\165' + chr(116) + chr(102) + chr(1648 - 1603) + '\070'):
if ftfygxgFas5X(lkkkypP_QyDJ) > LtSarZcSnftR:
lkkkypP_QyDJ = lkkkypP_QyDJ[:LtSarZcSnftR]
n2yX1AgA9ol1 = []
if EJPYhrC8WoVb:
lkkkypP_QyDJ = [EJPYhrC8WoVb]
for PmE5_h409JAA in lkkkypP_QyDJ:
pIthwLhwpnQw = xMF4aPRocaG1(PmE5_h409JAA, xwRuRFbC5fsf, _ilcabGFqtMa, uncialTplnF1, lVA5j3qOu97n)
if not pIthwLhwpnQw:
if roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'~B\xf7\r\x1e\xbc`\xb7\xfe\x9d\xc6%'), chr(0b1100100) + chr(0b1100101) + '\143' + chr(0b1101111) + chr(100) + '\145')('\165' + chr(0b100110 + 0o116) + chr(0b1010100 + 0o22) + chr(0b11010 + 0o23) + chr(56))):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'd^\xb24!\x85p\x94\xb2\x98\xcd\x1d\x14\x97\xc2\x05\xd1\xff\x81\xbe\x9bV`\x997q\xa9\xb8\xd8\x00\xce\xc3\xcf\xc5`\xc1N\xfd\x7f'), chr(7016 - 6916) + chr(1405 - 1304) + '\143' + chr(0b100101 + 0o112) + chr(0b1100100) + chr(0b111100 + 0o51))(chr(6022 - 5905) + chr(0b1110100) + chr(2443 - 2341) + '\x2d' + '\x38'), PmE5_h409JAA)
continue
SzNH87oHZc7X = {QYodcsDtoGq7: PmE5_h409JAA + roI3spqORKae(ES5oEprVxulp(b'u'), chr(0b11010 + 0o112) + '\x65' + chr(3370 - 3271) + '\157' + chr(4455 - 4355) + chr(0b1100101))('\x75' + chr(116) + chr(10015 - 9913) + chr(1122 - 1077) + chr(0b1100 + 0o54)) + QYodcsDtoGq7 + roI3spqORKae(ES5oEprVxulp(b'\x04'), chr(100) + chr(101) + '\143' + '\157' + chr(0b110110 + 0o56) + '\x65')(chr(117) + chr(9256 - 9140) + chr(0b1100110) + chr(666 - 621) + '\x38') + JummcHpaNLEw for QYodcsDtoGq7 in pIthwLhwpnQw}
if roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'CB\xc1!?\x9ca\x95'), chr(100) + '\x65' + chr(99) + chr(2594 - 2483) + chr(0b1100100) + '\145')('\x75' + chr(0b1011011 + 0o31) + '\146' + '\055' + chr(3090 - 3034))):
SzNH87oHZc7X = {}
SzNH87oHZc7X[roI3spqORKae(ES5oEprVxulp(b'O@\xf36(\x8b'), chr(0b100 + 0o140) + chr(6526 - 6425) + chr(6750 - 6651) + '\157' + '\x64' + '\x65')(chr(117) + chr(0b1110100) + chr(102) + '\x2d' + chr(0b101011 + 0o15))] = roI3spqORKae(ES5oEprVxulp(b'o@\xe7%!\xcaE\x95\xf7\x9a\x828\x14\x9c\x96'), '\x64' + chr(0b1100101) + '\x63' + '\157' + chr(100) + chr(2994 - 2893))(chr(117) + '\x74' + chr(102) + '\055' + chr(0b100111 + 0o21))
SzNH87oHZc7X[roI3spqORKae(ES5oEprVxulp(b'PX\xf8 '), chr(0b1111 + 0o125) + chr(5613 - 5512) + '\143' + '\157' + '\x64' + '\145')(chr(0b11001 + 0o134) + chr(0b111100 + 0o70) + chr(0b1001101 + 0o31) + chr(0b101101) + chr(92 - 36))] = roI3spqORKae(ES5oEprVxulp(b'pX\xf8 (\x98r\x82\xfe\x9f\x828\x14\x9c\x96'), chr(0b1000 + 0o134) + chr(0b100011 + 0o102) + '\143' + chr(0b1010101 + 0o32) + chr(0b1100100) + '\145')('\x75' + '\x74' + chr(4681 - 4579) + chr(0b101101) + '\070')
SzNH87oHZc7X[roI3spqORKae(ES5oEprVxulp(b'NT\xff%*'), chr(100) + '\x65' + chr(0b1001001 + 0o32) + chr(0b100110 + 0o111) + '\144' + chr(0b1100010 + 0o3))(chr(6258 - 6141) + '\164' + chr(0b11000 + 0o116) + chr(1185 - 1140) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'nT\xff%*\x84a\x93\xfb\x81\xc3\x1c\x11\x9c\x8cG\xe4\xb3\x8d\xb8'), chr(100) + chr(0b1100101) + chr(99) + chr(0b110000 + 0o77) + chr(0b1100100) + chr(101))(chr(13297 - 13180) + chr(0b1110100) + '\x66' + chr(552 - 507) + chr(983 - 927))
FBG2MCwkKg3g = roI3spqORKae(ES5oEprVxulp(b''), chr(0b10011 + 0o121) + chr(101) + chr(99) + '\157' + chr(100) + '\x65')(chr(0b1000111 + 0o56) + '\164' + chr(0b1000111 + 0o37) + chr(1949 - 1904) + chr(364 - 308))
if roI3spqORKae(ES5oEprVxulp(b'I^\xfc0?\x83f\x92\xe6\x92\xcd\x06'), '\144' + chr(101) + chr(7079 - 6980) + chr(0b111101 + 0o62) + chr(100) + chr(0b1100101))(chr(0b1110101) + chr(13362 - 13246) + chr(0b1001111 + 0o27) + '\x2d' + chr(56)) in roI3spqORKae(bSiGoWKHgDdJ, roI3spqORKae(ES5oEprVxulp(b'}V\xe6\x17\x07\xb24\x94\xdb\xa2\xd2$'), chr(0b11100 + 0o110) + '\x65' + '\x63' + '\157' + chr(100) + chr(101))('\x75' + '\164' + chr(9999 - 9897) + '\x2d' + '\x38')):
if roI3spqORKae(ES5oEprVxulp(b'CU'), chr(0b1100100) + '\145' + '\143' + chr(0b1000 + 0o147) + '\x64' + chr(0b1100101))('\x75' + chr(116) + chr(8986 - 8884) + chr(1664 - 1619) + chr(56)) in roI3spqORKae(bSiGoWKHgDdJ.tables[roI3spqORKae(ES5oEprVxulp(b'I^\xfc0?\x83f\x92\xe6\x92\xcd\x06'), '\x64' + chr(0b1000110 + 0o37) + chr(99) + '\157' + chr(0b110100 + 0o60) + chr(1739 - 1638))(chr(117) + chr(0b1110100) + chr(5794 - 5692) + chr(1280 - 1235) + chr(0b100011 + 0o25))].df, roI3spqORKae(ES5oEprVxulp(b'\x7f\x02\xab.\x1e\x83M\xd2\xa6\xb6\xce\x18'), '\144' + '\145' + '\143' + chr(0b1010 + 0o145) + chr(0b1100100) + chr(0b1100101))(chr(0b1000001 + 0o64) + chr(116) + chr(0b1100110) + chr(0b101 + 0o50) + chr(0b111000))):
FBG2MCwkKg3g = bSiGoWKHgDdJ.tables[roI3spqORKae(ES5oEprVxulp(b'I^\xfc0?\x83f\x92\xe6\x92\xcd\x06'), '\x64' + chr(5600 - 5499) + chr(0b1000010 + 0o41) + chr(2098 - 1987) + '\x64' + chr(0b1100101))('\165' + chr(0b1110010 + 0o2) + chr(0b1100110) + chr(0b101101) + chr(2691 - 2635))].df[roI3spqORKae(ES5oEprVxulp(b'CU'), chr(0b1100100) + '\145' + chr(0b10100 + 0o117) + chr(0b1101111) + chr(100) + chr(6853 - 6752))(chr(117) + '\164' + '\146' + chr(1034 - 989) + '\x38')].CsodZJH6x9Tx[nzTpIcepk0o8('\060' + chr(111) + '\060', 8)]
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'KU\xf6\x1b/\x85v\x83\xf7\x89\xd1'), chr(100) + chr(0b1100101) + chr(4592 - 4493) + '\x6f' + '\144' + chr(0b1100101))(chr(12181 - 12064) + chr(0b100100 + 0o120) + '\x66' + chr(1849 - 1804) + '\070'))(pIthwLhwpnQw, SzNH87oHZc7X, con_id=FBG2MCwkKg3g)
for OO0tRW9aj_xh in SzNH87oHZc7X:
eSN0mENQIwlO = mWQu7Lg8SCXW.jpOn8DNZxbbx[mWQu7Lg8SCXW.jpOn8DNZxbbx[roI3spqORKae(ES5oEprVxulp(b"YA\xf7'$\x87a\x89"), chr(100) + chr(0b1100101) + chr(182 - 83) + '\157' + chr(0b1100 + 0o130) + chr(101))('\165' + '\x74' + chr(0b1100110) + chr(45) + '\070')] == PmE5_h409JAA]
y87dwGy_Qoj4 = N9zlRy29S1SS(mWQu7Lg8SCXW.BJoJQqD1t_wx(roI3spqORKae(ES5oEprVxulp(b'F^\xf1%9\x83k\x89'), '\x64' + chr(0b11 + 0o142) + chr(0b11 + 0o140) + chr(1999 - 1888) + chr(100) + chr(101))(chr(117) + chr(116) + '\146' + chr(0b101101) + chr(0b111000)), eSN0mENQIwlO))
f9ijNiPCpOFu = N9zlRy29S1SS(mWQu7Lg8SCXW.BJoJQqD1t_wx(roI3spqORKae(ES5oEprVxulp(b'YX\xe6!'), '\144' + '\145' + chr(8651 - 8552) + chr(0b1000011 + 0o54) + chr(100) + chr(0b101110 + 0o67))(chr(0b1000000 + 0o65) + '\164' + '\x66' + chr(0b101101) + chr(319 - 263)), eSN0mENQIwlO))
wQI2PxGBYMEh = N9zlRy29S1SS(mWQu7Lg8SCXW.BJoJQqD1t_wx(roI3spqORKae(ES5oEprVxulp(b'YP\xff4!\x8f'), '\x64' + '\145' + '\143' + chr(111) + chr(0b1100100) + chr(0b1100101))(chr(5752 - 5635) + '\x74' + chr(8904 - 8802) + chr(45) + chr(0b101011 + 0o15)), eSN0mENQIwlO))
FxZHtXEolYsL = roI3spqORKae(ES5oEprVxulp(b'f~\xa8\x1b'), '\144' + '\145' + '\143' + '\157' + '\x64' + chr(0b100011 + 0o102))('\165' + chr(0b1110100) + chr(2514 - 2412) + chr(220 - 175) + '\070') + y87dwGy_Qoj4 + roI3spqORKae(ES5oEprVxulp(b'ub\xdb~\x12'), chr(100) + chr(101) + chr(99) + '\157' + '\144' + '\x65')(chr(0b10011 + 0o142) + '\x74' + chr(5209 - 5107) + '\x2d' + chr(56)) + f9ijNiPCpOFu + roI3spqORKae(ES5oEprVxulp(b'ub\xd3~\x12'), chr(1429 - 1329) + chr(4010 - 3909) + chr(0b11000 + 0o113) + chr(0b1101111) + chr(0b100011 + 0o101) + '\x65')(chr(12810 - 12693) + chr(1430 - 1314) + chr(102) + '\055' + chr(56)) + wQI2PxGBYMEh + roI3spqORKae(ES5oEprVxulp(b'ub\xc2~\x12'), chr(0b1100010 + 0o2) + chr(9519 - 9418) + chr(0b1100011) + chr(11791 - 11680) + chr(0b1100100) + chr(0b1100101))(chr(0b100010 + 0o123) + chr(0b110 + 0o156) + '\x66' + chr(0b10110 + 0o27) + chr(0b111000)) + N9zlRy29S1SS(PmE5_h409JAA) + roI3spqORKae(ES5oEprVxulp(b'ur\xdd~\x12'), chr(100) + chr(101) + '\x63' + chr(111) + chr(100) + chr(0b1100101))('\165' + chr(0b101100 + 0o110) + '\146' + '\x2d' + chr(0b10010 + 0o46)) + roI3spqORKae(ES5oEprVxulp(b'ue\xcb~\x12'), '\144' + chr(101) + '\x63' + chr(111) + '\144' + '\145')('\x75' + '\164' + chr(0b100000 + 0o106) + chr(0b100010 + 0o13) + '\x38') + OO0tRW9aj_xh + roI3spqORKae(ES5oEprVxulp(b'u\x1f\xe2**'), chr(0b1100100) + '\145' + chr(1824 - 1725) + chr(111) + '\x64' + chr(101))('\x75' + '\164' + chr(0b1000100 + 0o42) + chr(45) + '\070')
SzNH87oHZc7X[OO0tRW9aj_xh] = FxZHtXEolYsL
if bxxuZm4I6LgY:
roI3spqORKae(n2yX1AgA9ol1, roI3spqORKae(ES5oEprVxulp(b'~n\xa1\t"\x8eH\xb0\xcd\xb9\xc0\x19'), '\144' + '\x65' + chr(99) + chr(0b1011110 + 0o21) + chr(100) + chr(0b1011111 + 0o6))(chr(0b101 + 0o160) + chr(0b1110100) + '\x66' + '\x2d' + '\x38'))(roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'YP\xe4!\x12\x9ah\x88\xe6\x88'), '\x64' + '\145' + chr(99) + '\x6f' + chr(100) + chr(0b1100101))('\165' + chr(116) + chr(0b111 + 0o137) + chr(0b1110 + 0o37) + chr(0b111000)))(pIthwLhwpnQw, SzNH87oHZc7X))
elif f4XDWm__k5ZA:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'NC\xf33\x12\x8cm\x80\xe1'), chr(7642 - 7542) + chr(6399 - 6298) + '\143' + chr(0b1101111) + chr(0b110100 + 0o60) + chr(0b111101 + 0o50))(chr(0b101101 + 0o110) + chr(0b1110100) + chr(102) + '\x2d' + chr(56)))(pIthwLhwpnQw)
CMfsDQitQrpd = o77KS_r9H7AX.save_or_quit()
if CMfsDQitQrpd == roI3spqORKae(ES5oEprVxulp(b'K'), '\x64' + '\145' + chr(99) + '\x6f' + chr(0b1100100) + chr(0b1011111 + 0o6))(chr(9845 - 9728) + chr(499 - 383) + chr(102) + chr(0b101101) + '\070'):
roI3spqORKae(n2yX1AgA9ol1, roI3spqORKae(ES5oEprVxulp(b'~n\xa1\t"\x8eH\xb0\xcd\xb9\xc0\x19'), '\x64' + chr(101) + chr(4351 - 4252) + chr(0b111101 + 0o62) + chr(6391 - 6291) + chr(0b1111 + 0o126))(chr(0b110100 + 0o101) + '\x74' + chr(9630 - 9528) + '\x2d' + chr(56)))(roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'YP\xe4!\x12\x9ah\x88\xe6\x88'), chr(6518 - 6418) + '\145' + '\x63' + chr(111) + chr(0b1100100) + chr(0b1000001 + 0o44))(chr(0b1110101) + chr(0b1110100) + '\x66' + '\x2d' + chr(2464 - 2408)))(pIthwLhwpnQw, SzNH87oHZc7X))
else:
continue
else:
xwRuRFbC5fsf += nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\063', 0b1000)
return (nzTpIcepk0o8('\060' + chr(1658 - 1547) + chr(49), 8), n2yX1AgA9ol1)
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
transform_to_geographic
|
def transform_to_geographic(this_spec_meas_df, samp_df, samp, coord="0"):
"""
Transform decs/incs to geographic coordinates.
Calls pmag.dogeo_V for the heavy lifting
Parameters
----------
this_spec_meas_df : pandas dataframe of measurements for a single specimen
samp_df : pandas dataframe of samples
samp : samp name
Returns
---------
this_spec_meas_df : measurements dataframe with transformed coordinates
"""
# we could return the type of coordinates ACTUALLY used
# transform geographic
decs = this_spec_meas_df['dir_dec'].values.tolist()
incs = this_spec_meas_df['dir_inc'].values.tolist()
or_info, az_type = pmag.get_orient(samp_df,samp,data_model=3)
if 'azimuth' in or_info.keys() and cb.not_null(or_info['azimuth'], False):
azimuths=len(decs)*[or_info['azimuth']]
dips=len(decs)*[or_info['dip']]
# if azimuth/dip is missing, or orientation is bad,
# stick with specimen coordinates
else:
return this_spec_meas_df
dirs = [decs, incs, azimuths, dips]
dirs_geo = np.array(list(map(list, list(zip(*dirs)))))
decs, incs = pmag.dogeo_V(dirs_geo)
if coord == '100' and 'bed_dip_direction' in or_info.keys() and or_info['bed_dip_direction']!="": # need to do tilt correction too
bed_dip_dirs = len(decs)*[or_info['bed_dip_direction']]
bed_dips = len(decs) * [or_info['bed_dip']]
dirs = [decs, incs, bed_dip_dirs, bed_dips]
## this transposes the columns and rows of the list of lists
dirs_tilt = np.array(list(map(list, list(zip(*dirs)))))
decs, incs = pmag.dotilt_V(dirs_tilt)
this_spec_meas_df['dir_dec'] = decs
this_spec_meas_df['dir_inc'] = incs
return this_spec_meas_df
|
python
|
def transform_to_geographic(this_spec_meas_df, samp_df, samp, coord="0"):
"""
Transform decs/incs to geographic coordinates.
Calls pmag.dogeo_V for the heavy lifting
Parameters
----------
this_spec_meas_df : pandas dataframe of measurements for a single specimen
samp_df : pandas dataframe of samples
samp : samp name
Returns
---------
this_spec_meas_df : measurements dataframe with transformed coordinates
"""
# we could return the type of coordinates ACTUALLY used
# transform geographic
decs = this_spec_meas_df['dir_dec'].values.tolist()
incs = this_spec_meas_df['dir_inc'].values.tolist()
or_info, az_type = pmag.get_orient(samp_df,samp,data_model=3)
if 'azimuth' in or_info.keys() and cb.not_null(or_info['azimuth'], False):
azimuths=len(decs)*[or_info['azimuth']]
dips=len(decs)*[or_info['dip']]
# if azimuth/dip is missing, or orientation is bad,
# stick with specimen coordinates
else:
return this_spec_meas_df
dirs = [decs, incs, azimuths, dips]
dirs_geo = np.array(list(map(list, list(zip(*dirs)))))
decs, incs = pmag.dogeo_V(dirs_geo)
if coord == '100' and 'bed_dip_direction' in or_info.keys() and or_info['bed_dip_direction']!="": # need to do tilt correction too
bed_dip_dirs = len(decs)*[or_info['bed_dip_direction']]
bed_dips = len(decs) * [or_info['bed_dip']]
dirs = [decs, incs, bed_dip_dirs, bed_dips]
## this transposes the columns and rows of the list of lists
dirs_tilt = np.array(list(map(list, list(zip(*dirs)))))
decs, incs = pmag.dotilt_V(dirs_tilt)
this_spec_meas_df['dir_dec'] = decs
this_spec_meas_df['dir_inc'] = incs
return this_spec_meas_df
|
[
"def",
"transform_to_geographic",
"(",
"this_spec_meas_df",
",",
"samp_df",
",",
"samp",
",",
"coord",
"=",
"\"0\"",
")",
":",
"# we could return the type of coordinates ACTUALLY used",
"# transform geographic",
"decs",
"=",
"this_spec_meas_df",
"[",
"'dir_dec'",
"]",
".",
"values",
".",
"tolist",
"(",
")",
"incs",
"=",
"this_spec_meas_df",
"[",
"'dir_inc'",
"]",
".",
"values",
".",
"tolist",
"(",
")",
"or_info",
",",
"az_type",
"=",
"pmag",
".",
"get_orient",
"(",
"samp_df",
",",
"samp",
",",
"data_model",
"=",
"3",
")",
"if",
"'azimuth'",
"in",
"or_info",
".",
"keys",
"(",
")",
"and",
"cb",
".",
"not_null",
"(",
"or_info",
"[",
"'azimuth'",
"]",
",",
"False",
")",
":",
"azimuths",
"=",
"len",
"(",
"decs",
")",
"*",
"[",
"or_info",
"[",
"'azimuth'",
"]",
"]",
"dips",
"=",
"len",
"(",
"decs",
")",
"*",
"[",
"or_info",
"[",
"'dip'",
"]",
"]",
"# if azimuth/dip is missing, or orientation is bad,",
"# stick with specimen coordinates",
"else",
":",
"return",
"this_spec_meas_df",
"dirs",
"=",
"[",
"decs",
",",
"incs",
",",
"azimuths",
",",
"dips",
"]",
"dirs_geo",
"=",
"np",
".",
"array",
"(",
"list",
"(",
"map",
"(",
"list",
",",
"list",
"(",
"zip",
"(",
"*",
"dirs",
")",
")",
")",
")",
")",
"decs",
",",
"incs",
"=",
"pmag",
".",
"dogeo_V",
"(",
"dirs_geo",
")",
"if",
"coord",
"==",
"'100'",
"and",
"'bed_dip_direction'",
"in",
"or_info",
".",
"keys",
"(",
")",
"and",
"or_info",
"[",
"'bed_dip_direction'",
"]",
"!=",
"\"\"",
":",
"# need to do tilt correction too",
"bed_dip_dirs",
"=",
"len",
"(",
"decs",
")",
"*",
"[",
"or_info",
"[",
"'bed_dip_direction'",
"]",
"]",
"bed_dips",
"=",
"len",
"(",
"decs",
")",
"*",
"[",
"or_info",
"[",
"'bed_dip'",
"]",
"]",
"dirs",
"=",
"[",
"decs",
",",
"incs",
",",
"bed_dip_dirs",
",",
"bed_dips",
"]",
"## this transposes the columns and rows of the list of lists",
"dirs_tilt",
"=",
"np",
".",
"array",
"(",
"list",
"(",
"map",
"(",
"list",
",",
"list",
"(",
"zip",
"(",
"*",
"dirs",
")",
")",
")",
")",
")",
"decs",
",",
"incs",
"=",
"pmag",
".",
"dotilt_V",
"(",
"dirs_tilt",
")",
"this_spec_meas_df",
"[",
"'dir_dec'",
"]",
"=",
"decs",
"this_spec_meas_df",
"[",
"'dir_inc'",
"]",
"=",
"incs",
"return",
"this_spec_meas_df"
] |
Transform decs/incs to geographic coordinates.
Calls pmag.dogeo_V for the heavy lifting
Parameters
----------
this_spec_meas_df : pandas dataframe of measurements for a single specimen
samp_df : pandas dataframe of samples
samp : samp name
Returns
---------
this_spec_meas_df : measurements dataframe with transformed coordinates
|
[
"Transform",
"decs",
"/",
"incs",
"to",
"geographic",
"coordinates",
".",
"Calls",
"pmag",
".",
"dogeo_V",
"for",
"the",
"heavy",
"lifting"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L10542-L10581
|
train
|
Transform decs and incs to geographic coordinates.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8('\x30' + '\157' + chr(0b11011 + 0o30) + '\062', ord("\x08")), nzTpIcepk0o8(chr(872 - 824) + chr(0b1101111) + chr(0b110111) + '\062', ord("\x08")), nzTpIcepk0o8('\060' + chr(0b1000001 + 0o56) + chr(50) + chr(0b110000) + '\067', 0o10), nzTpIcepk0o8(chr(0b110000) + '\157' + '\x31' + chr(2221 - 2166) + '\x34', 0o10), nzTpIcepk0o8(chr(48) + '\157' + chr(0b110010 + 0o0) + '\067' + chr(0b11001 + 0o35), 0b1000), nzTpIcepk0o8(chr(0b10101 + 0o33) + chr(0b1010001 + 0o36) + chr(50) + chr(0b111 + 0o53) + chr(50), ord("\x08")), nzTpIcepk0o8('\060' + '\157' + chr(2258 - 2207) + chr(0b110011) + chr(961 - 912), 32797 - 32789), nzTpIcepk0o8(chr(207 - 159) + chr(3074 - 2963) + '\061' + chr(50) + '\x35', 53902 - 53894), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\062' + '\064' + '\x36', 0o10), nzTpIcepk0o8('\x30' + chr(11208 - 11097) + '\063' + chr(0b110011) + chr(0b110101), 19245 - 19237), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(51) + chr(0b100001 + 0o24) + chr(0b110110), 0o10), nzTpIcepk0o8(chr(0b1000 + 0o50) + chr(0b1101111) + chr(49) + '\065' + chr(0b110 + 0o56), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b110011) + chr(0b0 + 0o66) + chr(55), 48218 - 48210), nzTpIcepk0o8(chr(48) + '\157' + '\x32' + '\060' + chr(892 - 843), 21895 - 21887), nzTpIcepk0o8(chr(0b110000) + chr(7291 - 7180) + '\x34' + '\x32', ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b10101 + 0o132) + '\x33' + chr(49) + '\x32', 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b111110 + 0o61) + chr(51) + '\066' + chr(54), 10552 - 10544), nzTpIcepk0o8('\x30' + '\x6f' + chr(1585 - 1534) + chr(0b110010) + chr(1129 - 1079), 0b1000), nzTpIcepk0o8('\060' + chr(0b1100001 + 0o16) + chr(0b11101 + 0o26) + '\x30' + chr(48), 0b1000), nzTpIcepk0o8('\060' + '\x6f' + chr(2108 - 2058) + '\x36' + '\x37', 0o10), nzTpIcepk0o8('\060' + chr(0b11001 + 0o126) + chr(995 - 946) + chr(1240 - 1190) + chr(0b110000), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1000111 + 0o50) + '\x32' + '\x34' + '\x33', ord("\x08")), nzTpIcepk0o8(chr(0b11110 + 0o22) + chr(0b1000101 + 0o52) + chr(51) + chr(51) + chr(53), 8), nzTpIcepk0o8('\x30' + chr(8611 - 8500) + chr(0b110001) + '\x37' + chr(49), ord("\x08")), nzTpIcepk0o8('\060' + chr(111) + chr(51) + chr(0b110000) + chr(54), 61042 - 61034), nzTpIcepk0o8(chr(2099 - 2051) + '\x6f' + chr(0b1001 + 0o50) + chr(0b10101 + 0o42) + '\062', 46988 - 46980), nzTpIcepk0o8(chr(398 - 350) + chr(2269 - 2158) + '\063' + '\066' + chr(0b101 + 0o62), 8), nzTpIcepk0o8(chr(0b110000) + chr(0b1000111 + 0o50) + chr(0b0 + 0o61) + '\x32' + chr(0b110011), 0o10), nzTpIcepk0o8(chr(0b110000) + '\157' + '\x34' + '\x31', 0o10), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b11110 + 0o25) + chr(0b11001 + 0o35) + '\x35', 15863 - 15855), nzTpIcepk0o8(chr(48) + chr(2630 - 2519) + '\062' + chr(0b110111) + chr(51), 0b1000), nzTpIcepk0o8(chr(0b100101 + 0o13) + chr(0b110 + 0o151) + '\x32' + '\x33' + '\x36', ord("\x08")), nzTpIcepk0o8('\x30' + chr(111) + chr(0b1010 + 0o52) + chr(55), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\062' + '\061', ord("\x08")), nzTpIcepk0o8(chr(154 - 106) + chr(111) + chr(0b110001) + chr(464 - 416) + chr(1563 - 1509), ord("\x08")), nzTpIcepk0o8(chr(0b10101 + 0o33) + chr(0b1101111) + chr(0b101111 + 0o3) + chr(0b101100 + 0o10) + '\063', 8), nzTpIcepk0o8(chr(0b11110 + 0o22) + '\x6f' + chr(0b110011) + '\065' + chr(0b10100 + 0o41), 26742 - 26734), nzTpIcepk0o8(chr(277 - 229) + '\x6f' + '\x32' + '\063' + chr(0b110101), 0o10), nzTpIcepk0o8('\x30' + chr(7734 - 7623) + chr(49) + '\x36' + '\063', ord("\x08")), nzTpIcepk0o8(chr(0b11000 + 0o30) + chr(11154 - 11043) + chr(53) + chr(0b10001 + 0o41), 0o10)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(48) + '\x6f' + chr(1121 - 1068) + '\x30', 0b1000)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'4'), '\144' + chr(0b1100101) + chr(0b1100011) + chr(10947 - 10836) + chr(0b101 + 0o137) + '\x65')('\x75' + '\164' + chr(0b1100110) + '\x2d' + chr(0b11111 + 0o31)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def IB5XMSkED7Zg(iUXmMyDCJ2ks, bJGAeUfn2P2N, NrOoJ8NdaX1V, nKUAs3HG0RP8=roI3spqORKae(ES5oEprVxulp(b'*'), '\x64' + chr(101) + '\x63' + chr(9482 - 9371) + chr(4639 - 4539) + '\145')('\x75' + '\x74' + chr(4133 - 4031) + chr(0b101101 + 0o0) + '\070')):
bTXCzeMYqEu3 = iUXmMyDCJ2ks[roI3spqORKae(ES5oEprVxulp(b'~S\xf5#\xda\xf7\xba'), chr(7029 - 6929) + chr(101) + '\x63' + '\x6f' + '\x64' + chr(5959 - 5858))(chr(0b1100110 + 0o17) + '\x74' + chr(102) + chr(45) + '\070')].values.tolist()
xH_LrvA17fl7 = iUXmMyDCJ2ks[roI3spqORKae(ES5oEprVxulp(b'~S\xf5#\xd7\xfc\xba'), chr(9335 - 9235) + chr(101) + chr(0b1100011) + '\157' + chr(100) + chr(2911 - 2810))(chr(0b1110101) + chr(0b110010 + 0o102) + chr(3334 - 3232) + chr(45) + chr(0b110100 + 0o4))].values.tolist()
(ylB8LJIbexMz, aSQONzRiOGlP) = hUcsWwAd0nE_.get_orient(bJGAeUfn2P2N, NrOoJ8NdaX1V, data_model=nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(51), 30309 - 30301))
if roI3spqORKae(ES5oEprVxulp(b'{@\xee\x11\xcb\xe6\xb1'), '\x64' + chr(0b1100101) + chr(99) + chr(9316 - 9205) + chr(0b1100100) + chr(2795 - 2694))(chr(117) + '\x74' + chr(0b11 + 0o143) + '\x2d' + chr(56)) in roI3spqORKae(ylB8LJIbexMz, roI3spqORKae(ES5oEprVxulp(b'q_\xfe\x0f'), chr(2254 - 2154) + chr(0b1100101) + '\143' + '\x6f' + chr(0b1011010 + 0o12) + chr(3732 - 3631))('\x75' + chr(0b1011111 + 0o25) + chr(102) + '\x2d' + '\070'))() and roI3spqORKae(RYEhqzIVZREo, roI3spqORKae(ES5oEprVxulp(b'Uj\xe3\x12\xfd\xc1\x8e;\xfe\x90\xa5!'), chr(9617 - 9517) + chr(0b110101 + 0o60) + chr(6311 - 6212) + '\x6f' + chr(9449 - 9349) + '\x65')(chr(0b1110101) + '\x74' + chr(102) + '\055' + chr(1607 - 1551)))(ylB8LJIbexMz[roI3spqORKae(ES5oEprVxulp(b'{@\xee\x11\xcb\xe6\xb1'), chr(0b1000100 + 0o40) + chr(101) + chr(2448 - 2349) + chr(2824 - 2713) + chr(0b1100100) + '\145')(chr(117) + chr(286 - 170) + '\146' + chr(0b101101) + chr(56))], nzTpIcepk0o8(chr(0b10001 + 0o37) + chr(10618 - 10507) + '\x30', 0o10)):
WqHBVLxlPsvD = ftfygxgFas5X(bTXCzeMYqEu3) * [ylB8LJIbexMz[roI3spqORKae(ES5oEprVxulp(b'{@\xee\x11\xcb\xe6\xb1'), chr(0b1100100) + chr(0b1100101) + '\x63' + '\157' + '\144' + chr(0b1100101))(chr(6983 - 6866) + chr(0b1001000 + 0o54) + chr(0b1100110) + chr(45) + chr(56))]]
uJsovRmt2kpo = ftfygxgFas5X(bTXCzeMYqEu3) * [ylB8LJIbexMz[roI3spqORKae(ES5oEprVxulp(b'~S\xf7'), chr(0b1100100) + '\x65' + '\143' + chr(111) + '\144' + chr(0b10110 + 0o117))(chr(117) + chr(116) + '\x66' + chr(0b100 + 0o51) + chr(0b1001 + 0o57))]]
else:
return iUXmMyDCJ2ks
VNlxNzbaDsmx = [bTXCzeMYqEu3, xH_LrvA17fl7, WqHBVLxlPsvD, uJsovRmt2kpo]
QtkACrxZQAaJ = nDF4gVNx0u9Q.Tn6rGr7XTM7t(H4NoA26ON7iG(VVP82lOIz6CD(H4NoA26ON7iG, H4NoA26ON7iG(TxMFWa_Xzviv(*VNlxNzbaDsmx)))))
(bTXCzeMYqEu3, xH_LrvA17fl7) = hUcsWwAd0nE_.dogeo_V(QtkACrxZQAaJ)
if nKUAs3HG0RP8 == roI3spqORKae(ES5oEprVxulp(b'+\n\xb7'), chr(0b1001010 + 0o32) + chr(101) + chr(99) + '\157' + chr(1897 - 1797) + chr(0b1100101))(chr(0b1010001 + 0o44) + chr(823 - 707) + '\x66' + '\055' + chr(56)) and roI3spqORKae(ES5oEprVxulp(b'x_\xe3#\xda\xfb\xa9\n\xc2\xb4\x9c\t\x94\xf5K\xa5\x98'), chr(0b1100100) + chr(0b1100101) + chr(99) + '\157' + chr(0b100110 + 0o76) + chr(0b1100101))(chr(0b1110101) + chr(690 - 574) + '\x66' + chr(0b110 + 0o47) + chr(56)) in roI3spqORKae(ylB8LJIbexMz, roI3spqORKae(ES5oEprVxulp(b'q_\xfe\x0f'), chr(0b1001011 + 0o31) + chr(0b1100101) + '\143' + chr(0b1101111) + chr(0b1100100) + chr(101))(chr(0b1111 + 0o146) + chr(4526 - 4410) + chr(102) + chr(1462 - 1417) + chr(56)))() and (ylB8LJIbexMz[roI3spqORKae(ES5oEprVxulp(b'x_\xe3#\xda\xfb\xa9\n\xc2\xb4\x9c\t\x94\xf5K\xa5\x98'), chr(5945 - 5845) + chr(0b1100101) + chr(0b1011001 + 0o12) + chr(111) + chr(3585 - 3485) + chr(0b1100101))(chr(0b1110101) + chr(116) + '\x66' + chr(0b101101) + chr(0b1111 + 0o51))] != roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(878 - 777) + chr(99) + '\x6f' + chr(0b1100100) + chr(101))('\x75' + chr(0b10000 + 0o144) + chr(0b111000 + 0o56) + chr(45) + '\x38')):
bXoR0b6GdQBX = ftfygxgFas5X(bTXCzeMYqEu3) * [ylB8LJIbexMz[roI3spqORKae(ES5oEprVxulp(b'x_\xe3#\xda\xfb\xa9\n\xc2\xb4\x9c\t\x94\xf5K\xa5\x98'), chr(3305 - 3205) + '\x65' + '\143' + '\157' + chr(0b1100100) + chr(0b1000010 + 0o43))('\x75' + '\164' + '\x66' + chr(0b101101) + chr(0b111000))]]
JChGeClwhMdN = ftfygxgFas5X(bTXCzeMYqEu3) * [ylB8LJIbexMz[roI3spqORKae(ES5oEprVxulp(b'x_\xe3#\xda\xfb\xa9'), chr(4139 - 4039) + chr(0b10010 + 0o123) + '\x63' + chr(0b1101111) + chr(100) + chr(0b1100101))(chr(0b1010 + 0o153) + '\164' + '\x66' + '\055' + '\x38')]]
VNlxNzbaDsmx = [bTXCzeMYqEu3, xH_LrvA17fl7, bXoR0b6GdQBX, JChGeClwhMdN]
kToycYryzwT5 = nDF4gVNx0u9Q.Tn6rGr7XTM7t(H4NoA26ON7iG(VVP82lOIz6CD(H4NoA26ON7iG, H4NoA26ON7iG(TxMFWa_Xzviv(*VNlxNzbaDsmx)))))
(bTXCzeMYqEu3, xH_LrvA17fl7) = hUcsWwAd0nE_.dotilt_V(kToycYryzwT5)
iUXmMyDCJ2ks[roI3spqORKae(ES5oEprVxulp(b'~S\xf5#\xda\xf7\xba'), chr(0b10001 + 0o123) + chr(7891 - 7790) + chr(99) + chr(0b1101111) + '\x64' + '\145')(chr(0b10111 + 0o136) + '\x74' + chr(7341 - 7239) + '\055' + chr(1778 - 1722))] = bTXCzeMYqEu3
iUXmMyDCJ2ks[roI3spqORKae(ES5oEprVxulp(b'~S\xf5#\xd7\xfc\xba'), '\x64' + chr(1656 - 1555) + chr(0b1000011 + 0o40) + '\x6f' + '\144' + '\145')(chr(0b1101010 + 0o13) + chr(0b1110100) + chr(0b1100110) + chr(0b100100 + 0o11) + '\x38')] = xH_LrvA17fl7
return iUXmMyDCJ2ks
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
thellier_magic
|
def thellier_magic(meas_file="measurements.txt", dir_path=".", input_dir_path="",
spec="", n_specs=5, save_plots=True, fmt="svg", interactive=False,
contribution=None):
"""
thellier_magic plots arai and other useful plots for Thellier-type experimental data
Parameters
----------
meas_file : str
input measurement file, default "measurements.txt"
dir_path : str
output directory, default "."
Note: if using Windows, all figures will be saved to working directly
*not* dir_path
input_dir_path : str
input file directory IF different from dir_path, default ""
spec : str
default "", specimen to plot
n_specs : int
number of specimens to plot, default 5
if you want to make all possible plots, specify "all"
save_plots : bool, default True
if True, create and save all requested plots
fmt : str
format of saved figures (default is 'svg')
interactive : bool, default False
interactively plot and display for each specimen
(this is best used on the command line only)
contribution : cb.Contribution, default None
if provided, use Contribution object instead of reading in
data from files
Returns
---------
status : True or False
saved : list of figures saved
"""
def make_plots(this_specimen, thel_data, cnt=1):
"""
Take specimen name and measurement data
and produce plots.
Return a dictionary of plots created, or False if
no plots could be created.
"""
zed = False
if pmagplotlib.verbose:
print(this_specimen)
# make the figure dictionary that pmagplotlib likes:
#AZD = {'arai': 1, 'zijd': 2, 'eqarea': 3, 'deremag': 4} # make datablock
#if save_plots:
# AZD = {'arai': 1, 'zijd': 2, 'eqarea': 3, 'deremag': 4} # make datablock
#else:
AZD = {'arai': cnt, 'zijd': cnt+1, 'eqarea': cnt +
2, 'deremag': cnt+3} # make datablock
#cnt += 4 # increment the figure counter
spec_df = thel_data[thel_data.specimen ==
this_specimen] # get data for this specimen
# get the data block for Arai plot
if len(spec_df) >= 3:
# just skip specimen if arai data is malformed
try:
araiblock, field = pmag.sortarai(spec_df, this_specimen, 0, version=3)
except Exception as ex:
print('-W-', ex)
return zed
if not save_plots:
for key, val in AZD.items():
pmagplotlib.plot_init(val, 5, 5)
# get the datablock for Zijderveld plot
zijdblock, units = pmag.find_dmag_rec(
this_specimen, spec_df, version=3)
if not len(units):
unit_string = ""
else:
unit_string = units[-1]
zed = pmagplotlib.plot_arai_zij(
AZD, araiblock, zijdblock, this_specimen, unit_string) # make the plots
return zed
# format some things
if interactive:
save_plots = False
if not isinstance(contribution, cb.Contribution):
# get proper paths
input_dir_path, dir_path = pmag.fix_directories(input_dir_path, dir_path)
file_path = pmag.resolve_file_name(meas_file, input_dir_path)
input_dir_path = os.path.split(file_path)[0]
# read in magic formatted data
contribution = cb.Contribution(input_dir_path)
if not contribution.tables.get('measurements'):
print('-W- No measurements table found')
return False, []
try:
contribution.propagate_location_to_samples()
contribution.propagate_location_to_specimens()
contribution.propagate_location_to_measurements()
except KeyError as ex:
pass
meas_df = contribution.tables['measurements'].df
# try to get contribution id for server plotting
if pmagplotlib.isServer:
con_id = contribution.get_con_id()
# get key for intensity records
int_key = cb.get_intensity_col(meas_df)
# list for saved figs
saved = []
# get all the records with measurement data
meas_data = meas_df[meas_df[int_key].notnull()]
# get all the Thellier data
thel_data = meas_data.dropna(subset=['method_codes'])
thel_data = thel_data[thel_data['method_codes'].str.contains('LP-PI-TRM')]
specimens = meas_data.specimen.unique() # list of specimen names
if len(specimens) == 0:
print('there are no data for plotting')
return False, []
if spec:
if spec not in specimens:
print('could not find specimen {}'.format(spec))
return False, []
specimens = [spec]
elif n_specs != "all":
try:
specimens = specimens[:n_specs]
except Exception as ex:
pass
cnt = 1 # set the figure counter to 1
for this_specimen in specimens: # step through the specimens list
zed = make_plots(this_specimen, thel_data, cnt)
# if plots were produced
if zed:
if interactive:
# draw and save interactively
pmagplotlib.draw_figs(zed)
ans = input(
"S[a]ve plots, [q]uit, <return> to continue\n ")
if ans == 'q':
return True, []
if ans == 'a':
files = {key : this_specimen + "_" + key + "." + fmt for (key, value) in zed.items()}
if not set_env.IS_WIN:
files = {key: os.path.join(dir_path, value) for (key, value) in files.items()}
incl_directory = True
saved.append(pmagplotlib.save_plots(zed, files, incl_directory=incl_directory))
elif save_plots:
# don't draw, just save figures
files = {key : this_specimen + "_" + key + "." + fmt for (key, value) in zed.items()}
incl_directory = False
if not pmagplotlib.isServer:
# not server
if not set_env.IS_WIN:
files = {key: os.path.join(dir_path, value) for (key, value) in files.items()}
incl_directory = True
else:
# isServer, fix plot titles, formatting, and file names for server
for key, value in files.copy().items():
files[key] = "SP:_{}_TY:_{}_.{}".format(this_specimen, key, fmt)
titles = {}
titles['deremag'] = 'DeReMag Plot'
titles['zijd'] = 'Zijderveld Plot'
titles['arai'] = 'Arai Plot'
titles['TRM'] = 'TRM Acquisition data'
titles['eqarea'] = 'Equal Area Plot'
zed = pmagplotlib.add_borders(
zed, titles, con_id=con_id)
saved.append(pmagplotlib.save_plots(zed, files, incl_directory=incl_directory))
# just let the plots appear (notebook)
else:
cnt += len(zed)
# don't even need to draw 'em! They just appear.
#pmagplotlib.draw_figs(zed)
# no plots were produced
else:
print ('no data for ',this_specimen)
print ('skipping')
return True, saved
|
python
|
def thellier_magic(meas_file="measurements.txt", dir_path=".", input_dir_path="",
spec="", n_specs=5, save_plots=True, fmt="svg", interactive=False,
contribution=None):
"""
thellier_magic plots arai and other useful plots for Thellier-type experimental data
Parameters
----------
meas_file : str
input measurement file, default "measurements.txt"
dir_path : str
output directory, default "."
Note: if using Windows, all figures will be saved to working directly
*not* dir_path
input_dir_path : str
input file directory IF different from dir_path, default ""
spec : str
default "", specimen to plot
n_specs : int
number of specimens to plot, default 5
if you want to make all possible plots, specify "all"
save_plots : bool, default True
if True, create and save all requested plots
fmt : str
format of saved figures (default is 'svg')
interactive : bool, default False
interactively plot and display for each specimen
(this is best used on the command line only)
contribution : cb.Contribution, default None
if provided, use Contribution object instead of reading in
data from files
Returns
---------
status : True or False
saved : list of figures saved
"""
def make_plots(this_specimen, thel_data, cnt=1):
"""
Take specimen name and measurement data
and produce plots.
Return a dictionary of plots created, or False if
no plots could be created.
"""
zed = False
if pmagplotlib.verbose:
print(this_specimen)
# make the figure dictionary that pmagplotlib likes:
#AZD = {'arai': 1, 'zijd': 2, 'eqarea': 3, 'deremag': 4} # make datablock
#if save_plots:
# AZD = {'arai': 1, 'zijd': 2, 'eqarea': 3, 'deremag': 4} # make datablock
#else:
AZD = {'arai': cnt, 'zijd': cnt+1, 'eqarea': cnt +
2, 'deremag': cnt+3} # make datablock
#cnt += 4 # increment the figure counter
spec_df = thel_data[thel_data.specimen ==
this_specimen] # get data for this specimen
# get the data block for Arai plot
if len(spec_df) >= 3:
# just skip specimen if arai data is malformed
try:
araiblock, field = pmag.sortarai(spec_df, this_specimen, 0, version=3)
except Exception as ex:
print('-W-', ex)
return zed
if not save_plots:
for key, val in AZD.items():
pmagplotlib.plot_init(val, 5, 5)
# get the datablock for Zijderveld plot
zijdblock, units = pmag.find_dmag_rec(
this_specimen, spec_df, version=3)
if not len(units):
unit_string = ""
else:
unit_string = units[-1]
zed = pmagplotlib.plot_arai_zij(
AZD, araiblock, zijdblock, this_specimen, unit_string) # make the plots
return zed
# format some things
if interactive:
save_plots = False
if not isinstance(contribution, cb.Contribution):
# get proper paths
input_dir_path, dir_path = pmag.fix_directories(input_dir_path, dir_path)
file_path = pmag.resolve_file_name(meas_file, input_dir_path)
input_dir_path = os.path.split(file_path)[0]
# read in magic formatted data
contribution = cb.Contribution(input_dir_path)
if not contribution.tables.get('measurements'):
print('-W- No measurements table found')
return False, []
try:
contribution.propagate_location_to_samples()
contribution.propagate_location_to_specimens()
contribution.propagate_location_to_measurements()
except KeyError as ex:
pass
meas_df = contribution.tables['measurements'].df
# try to get contribution id for server plotting
if pmagplotlib.isServer:
con_id = contribution.get_con_id()
# get key for intensity records
int_key = cb.get_intensity_col(meas_df)
# list for saved figs
saved = []
# get all the records with measurement data
meas_data = meas_df[meas_df[int_key].notnull()]
# get all the Thellier data
thel_data = meas_data.dropna(subset=['method_codes'])
thel_data = thel_data[thel_data['method_codes'].str.contains('LP-PI-TRM')]
specimens = meas_data.specimen.unique() # list of specimen names
if len(specimens) == 0:
print('there are no data for plotting')
return False, []
if spec:
if spec not in specimens:
print('could not find specimen {}'.format(spec))
return False, []
specimens = [spec]
elif n_specs != "all":
try:
specimens = specimens[:n_specs]
except Exception as ex:
pass
cnt = 1 # set the figure counter to 1
for this_specimen in specimens: # step through the specimens list
zed = make_plots(this_specimen, thel_data, cnt)
# if plots were produced
if zed:
if interactive:
# draw and save interactively
pmagplotlib.draw_figs(zed)
ans = input(
"S[a]ve plots, [q]uit, <return> to continue\n ")
if ans == 'q':
return True, []
if ans == 'a':
files = {key : this_specimen + "_" + key + "." + fmt for (key, value) in zed.items()}
if not set_env.IS_WIN:
files = {key: os.path.join(dir_path, value) for (key, value) in files.items()}
incl_directory = True
saved.append(pmagplotlib.save_plots(zed, files, incl_directory=incl_directory))
elif save_plots:
# don't draw, just save figures
files = {key : this_specimen + "_" + key + "." + fmt for (key, value) in zed.items()}
incl_directory = False
if not pmagplotlib.isServer:
# not server
if not set_env.IS_WIN:
files = {key: os.path.join(dir_path, value) for (key, value) in files.items()}
incl_directory = True
else:
# isServer, fix plot titles, formatting, and file names for server
for key, value in files.copy().items():
files[key] = "SP:_{}_TY:_{}_.{}".format(this_specimen, key, fmt)
titles = {}
titles['deremag'] = 'DeReMag Plot'
titles['zijd'] = 'Zijderveld Plot'
titles['arai'] = 'Arai Plot'
titles['TRM'] = 'TRM Acquisition data'
titles['eqarea'] = 'Equal Area Plot'
zed = pmagplotlib.add_borders(
zed, titles, con_id=con_id)
saved.append(pmagplotlib.save_plots(zed, files, incl_directory=incl_directory))
# just let the plots appear (notebook)
else:
cnt += len(zed)
# don't even need to draw 'em! They just appear.
#pmagplotlib.draw_figs(zed)
# no plots were produced
else:
print ('no data for ',this_specimen)
print ('skipping')
return True, saved
|
[
"def",
"thellier_magic",
"(",
"meas_file",
"=",
"\"measurements.txt\"",
",",
"dir_path",
"=",
"\".\"",
",",
"input_dir_path",
"=",
"\"\"",
",",
"spec",
"=",
"\"\"",
",",
"n_specs",
"=",
"5",
",",
"save_plots",
"=",
"True",
",",
"fmt",
"=",
"\"svg\"",
",",
"interactive",
"=",
"False",
",",
"contribution",
"=",
"None",
")",
":",
"def",
"make_plots",
"(",
"this_specimen",
",",
"thel_data",
",",
"cnt",
"=",
"1",
")",
":",
"\"\"\"\n Take specimen name and measurement data\n and produce plots.\n Return a dictionary of plots created, or False if\n no plots could be created.\n \"\"\"",
"zed",
"=",
"False",
"if",
"pmagplotlib",
".",
"verbose",
":",
"print",
"(",
"this_specimen",
")",
"# make the figure dictionary that pmagplotlib likes:",
"#AZD = {'arai': 1, 'zijd': 2, 'eqarea': 3, 'deremag': 4} # make datablock",
"#if save_plots:",
"# AZD = {'arai': 1, 'zijd': 2, 'eqarea': 3, 'deremag': 4} # make datablock",
"#else:",
"AZD",
"=",
"{",
"'arai'",
":",
"cnt",
",",
"'zijd'",
":",
"cnt",
"+",
"1",
",",
"'eqarea'",
":",
"cnt",
"+",
"2",
",",
"'deremag'",
":",
"cnt",
"+",
"3",
"}",
"# make datablock",
"#cnt += 4 # increment the figure counter",
"spec_df",
"=",
"thel_data",
"[",
"thel_data",
".",
"specimen",
"==",
"this_specimen",
"]",
"# get data for this specimen",
"# get the data block for Arai plot",
"if",
"len",
"(",
"spec_df",
")",
">=",
"3",
":",
"# just skip specimen if arai data is malformed",
"try",
":",
"araiblock",
",",
"field",
"=",
"pmag",
".",
"sortarai",
"(",
"spec_df",
",",
"this_specimen",
",",
"0",
",",
"version",
"=",
"3",
")",
"except",
"Exception",
"as",
"ex",
":",
"print",
"(",
"'-W-'",
",",
"ex",
")",
"return",
"zed",
"if",
"not",
"save_plots",
":",
"for",
"key",
",",
"val",
"in",
"AZD",
".",
"items",
"(",
")",
":",
"pmagplotlib",
".",
"plot_init",
"(",
"val",
",",
"5",
",",
"5",
")",
"# get the datablock for Zijderveld plot",
"zijdblock",
",",
"units",
"=",
"pmag",
".",
"find_dmag_rec",
"(",
"this_specimen",
",",
"spec_df",
",",
"version",
"=",
"3",
")",
"if",
"not",
"len",
"(",
"units",
")",
":",
"unit_string",
"=",
"\"\"",
"else",
":",
"unit_string",
"=",
"units",
"[",
"-",
"1",
"]",
"zed",
"=",
"pmagplotlib",
".",
"plot_arai_zij",
"(",
"AZD",
",",
"araiblock",
",",
"zijdblock",
",",
"this_specimen",
",",
"unit_string",
")",
"# make the plots",
"return",
"zed",
"# format some things",
"if",
"interactive",
":",
"save_plots",
"=",
"False",
"if",
"not",
"isinstance",
"(",
"contribution",
",",
"cb",
".",
"Contribution",
")",
":",
"# get proper paths",
"input_dir_path",
",",
"dir_path",
"=",
"pmag",
".",
"fix_directories",
"(",
"input_dir_path",
",",
"dir_path",
")",
"file_path",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"meas_file",
",",
"input_dir_path",
")",
"input_dir_path",
"=",
"os",
".",
"path",
".",
"split",
"(",
"file_path",
")",
"[",
"0",
"]",
"# read in magic formatted data",
"contribution",
"=",
"cb",
".",
"Contribution",
"(",
"input_dir_path",
")",
"if",
"not",
"contribution",
".",
"tables",
".",
"get",
"(",
"'measurements'",
")",
":",
"print",
"(",
"'-W- No measurements table found'",
")",
"return",
"False",
",",
"[",
"]",
"try",
":",
"contribution",
".",
"propagate_location_to_samples",
"(",
")",
"contribution",
".",
"propagate_location_to_specimens",
"(",
")",
"contribution",
".",
"propagate_location_to_measurements",
"(",
")",
"except",
"KeyError",
"as",
"ex",
":",
"pass",
"meas_df",
"=",
"contribution",
".",
"tables",
"[",
"'measurements'",
"]",
".",
"df",
"# try to get contribution id for server plotting",
"if",
"pmagplotlib",
".",
"isServer",
":",
"con_id",
"=",
"contribution",
".",
"get_con_id",
"(",
")",
"# get key for intensity records",
"int_key",
"=",
"cb",
".",
"get_intensity_col",
"(",
"meas_df",
")",
"# list for saved figs",
"saved",
"=",
"[",
"]",
"# get all the records with measurement data",
"meas_data",
"=",
"meas_df",
"[",
"meas_df",
"[",
"int_key",
"]",
".",
"notnull",
"(",
")",
"]",
"# get all the Thellier data",
"thel_data",
"=",
"meas_data",
".",
"dropna",
"(",
"subset",
"=",
"[",
"'method_codes'",
"]",
")",
"thel_data",
"=",
"thel_data",
"[",
"thel_data",
"[",
"'method_codes'",
"]",
".",
"str",
".",
"contains",
"(",
"'LP-PI-TRM'",
")",
"]",
"specimens",
"=",
"meas_data",
".",
"specimen",
".",
"unique",
"(",
")",
"# list of specimen names",
"if",
"len",
"(",
"specimens",
")",
"==",
"0",
":",
"print",
"(",
"'there are no data for plotting'",
")",
"return",
"False",
",",
"[",
"]",
"if",
"spec",
":",
"if",
"spec",
"not",
"in",
"specimens",
":",
"print",
"(",
"'could not find specimen {}'",
".",
"format",
"(",
"spec",
")",
")",
"return",
"False",
",",
"[",
"]",
"specimens",
"=",
"[",
"spec",
"]",
"elif",
"n_specs",
"!=",
"\"all\"",
":",
"try",
":",
"specimens",
"=",
"specimens",
"[",
":",
"n_specs",
"]",
"except",
"Exception",
"as",
"ex",
":",
"pass",
"cnt",
"=",
"1",
"# set the figure counter to 1",
"for",
"this_specimen",
"in",
"specimens",
":",
"# step through the specimens list",
"zed",
"=",
"make_plots",
"(",
"this_specimen",
",",
"thel_data",
",",
"cnt",
")",
"# if plots were produced",
"if",
"zed",
":",
"if",
"interactive",
":",
"# draw and save interactively",
"pmagplotlib",
".",
"draw_figs",
"(",
"zed",
")",
"ans",
"=",
"input",
"(",
"\"S[a]ve plots, [q]uit, <return> to continue\\n \"",
")",
"if",
"ans",
"==",
"'q'",
":",
"return",
"True",
",",
"[",
"]",
"if",
"ans",
"==",
"'a'",
":",
"files",
"=",
"{",
"key",
":",
"this_specimen",
"+",
"\"_\"",
"+",
"key",
"+",
"\".\"",
"+",
"fmt",
"for",
"(",
"key",
",",
"value",
")",
"in",
"zed",
".",
"items",
"(",
")",
"}",
"if",
"not",
"set_env",
".",
"IS_WIN",
":",
"files",
"=",
"{",
"key",
":",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"value",
")",
"for",
"(",
"key",
",",
"value",
")",
"in",
"files",
".",
"items",
"(",
")",
"}",
"incl_directory",
"=",
"True",
"saved",
".",
"append",
"(",
"pmagplotlib",
".",
"save_plots",
"(",
"zed",
",",
"files",
",",
"incl_directory",
"=",
"incl_directory",
")",
")",
"elif",
"save_plots",
":",
"# don't draw, just save figures",
"files",
"=",
"{",
"key",
":",
"this_specimen",
"+",
"\"_\"",
"+",
"key",
"+",
"\".\"",
"+",
"fmt",
"for",
"(",
"key",
",",
"value",
")",
"in",
"zed",
".",
"items",
"(",
")",
"}",
"incl_directory",
"=",
"False",
"if",
"not",
"pmagplotlib",
".",
"isServer",
":",
"# not server",
"if",
"not",
"set_env",
".",
"IS_WIN",
":",
"files",
"=",
"{",
"key",
":",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"value",
")",
"for",
"(",
"key",
",",
"value",
")",
"in",
"files",
".",
"items",
"(",
")",
"}",
"incl_directory",
"=",
"True",
"else",
":",
"# isServer, fix plot titles, formatting, and file names for server",
"for",
"key",
",",
"value",
"in",
"files",
".",
"copy",
"(",
")",
".",
"items",
"(",
")",
":",
"files",
"[",
"key",
"]",
"=",
"\"SP:_{}_TY:_{}_.{}\"",
".",
"format",
"(",
"this_specimen",
",",
"key",
",",
"fmt",
")",
"titles",
"=",
"{",
"}",
"titles",
"[",
"'deremag'",
"]",
"=",
"'DeReMag Plot'",
"titles",
"[",
"'zijd'",
"]",
"=",
"'Zijderveld Plot'",
"titles",
"[",
"'arai'",
"]",
"=",
"'Arai Plot'",
"titles",
"[",
"'TRM'",
"]",
"=",
"'TRM Acquisition data'",
"titles",
"[",
"'eqarea'",
"]",
"=",
"'Equal Area Plot'",
"zed",
"=",
"pmagplotlib",
".",
"add_borders",
"(",
"zed",
",",
"titles",
",",
"con_id",
"=",
"con_id",
")",
"saved",
".",
"append",
"(",
"pmagplotlib",
".",
"save_plots",
"(",
"zed",
",",
"files",
",",
"incl_directory",
"=",
"incl_directory",
")",
")",
"# just let the plots appear (notebook)",
"else",
":",
"cnt",
"+=",
"len",
"(",
"zed",
")",
"# don't even need to draw 'em! They just appear.",
"#pmagplotlib.draw_figs(zed)",
"# no plots were produced",
"else",
":",
"print",
"(",
"'no data for '",
",",
"this_specimen",
")",
"print",
"(",
"'skipping'",
")",
"return",
"True",
",",
"saved"
] |
thellier_magic plots arai and other useful plots for Thellier-type experimental data
Parameters
----------
meas_file : str
input measurement file, default "measurements.txt"
dir_path : str
output directory, default "."
Note: if using Windows, all figures will be saved to working directly
*not* dir_path
input_dir_path : str
input file directory IF different from dir_path, default ""
spec : str
default "", specimen to plot
n_specs : int
number of specimens to plot, default 5
if you want to make all possible plots, specify "all"
save_plots : bool, default True
if True, create and save all requested plots
fmt : str
format of saved figures (default is 'svg')
interactive : bool, default False
interactively plot and display for each specimen
(this is best used on the command line only)
contribution : cb.Contribution, default None
if provided, use Contribution object instead of reading in
data from files
Returns
---------
status : True or False
saved : list of figures saved
|
[
"thellier_magic",
"plots",
"arai",
"and",
"other",
"useful",
"plots",
"for",
"Thellier",
"-",
"type",
"experimental",
"data"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L10585-L10770
|
train
|
This function creates a new thellier - type experimental data structure for a specific specimen and returns a dictionary of plots that can be used to plot the data for that specimen.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(0b101011 + 0o5) + '\157' + '\x32' + '\x30' + chr(54), 0b1000), nzTpIcepk0o8(chr(0b1111 + 0o41) + chr(111) + chr(0b101101 + 0o4) + chr(0b100011 + 0o20) + chr(0b110011), 37587 - 37579), nzTpIcepk0o8(chr(710 - 662) + chr(9161 - 9050) + chr(0b100001 + 0o21) + chr(0b101111 + 0o3) + chr(240 - 190), 0b1000), nzTpIcepk0o8(chr(0b101010 + 0o6) + chr(0b1100011 + 0o14) + chr(1335 - 1285) + chr(0b10 + 0o64) + chr(0b110101), 39780 - 39772), nzTpIcepk0o8(chr(0b100001 + 0o17) + chr(0b1101111) + chr(2163 - 2114) + chr(1049 - 999) + '\066', 0o10), nzTpIcepk0o8(chr(0b101 + 0o53) + '\157' + '\x32' + '\x31', 29467 - 29459), nzTpIcepk0o8(chr(712 - 664) + '\157' + '\x33' + '\061' + chr(55), 0o10), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b100 + 0o57) + chr(659 - 608), 0o10), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b110110) + chr(48), 28387 - 28379), nzTpIcepk0o8('\x30' + '\157' + chr(0b110010) + chr(0b1011 + 0o45) + chr(0b1110 + 0o42), 0b1000), nzTpIcepk0o8(chr(1264 - 1216) + chr(0b1101111) + chr(0b110001) + '\x36' + chr(0b101000 + 0o10), 29942 - 29934), nzTpIcepk0o8(chr(1495 - 1447) + chr(0b1001010 + 0o45) + '\x31' + chr(49) + chr(1324 - 1276), ord("\x08")), nzTpIcepk0o8(chr(0b11100 + 0o24) + '\x6f' + chr(50) + chr(2223 - 2169) + chr(1204 - 1155), 57146 - 57138), nzTpIcepk0o8('\060' + '\x6f' + '\063' + chr(0b11011 + 0o27) + '\062', 14345 - 14337), nzTpIcepk0o8('\060' + chr(6248 - 6137) + chr(0b110011) + chr(54) + chr(0b10001 + 0o43), 44021 - 44013), nzTpIcepk0o8('\x30' + chr(10367 - 10256) + chr(0b110001), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b110110) + chr(654 - 602), 0b1000), nzTpIcepk0o8('\060' + chr(8441 - 8330) + '\x33' + '\067' + chr(2724 - 2669), 0b1000), nzTpIcepk0o8(chr(454 - 406) + chr(0b1101111) + chr(0b110001) + chr(0b110101) + chr(1293 - 1242), 39371 - 39363), nzTpIcepk0o8('\x30' + '\x6f' + chr(49) + chr(0b110110), ord("\x08")), nzTpIcepk0o8('\x30' + chr(3005 - 2894) + chr(0b110011) + chr(0b10010 + 0o45) + '\061', 48344 - 48336), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\063' + '\x30' + chr(0b101 + 0o53), 0b1000), nzTpIcepk0o8(chr(0b11110 + 0o22) + '\157' + chr(0b110000 + 0o1), 8), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b100110 + 0o15) + '\x31' + chr(51), 0o10), nzTpIcepk0o8('\x30' + chr(0b11 + 0o154) + chr(961 - 911) + chr(199 - 147) + chr(1032 - 977), 57062 - 57054), nzTpIcepk0o8(chr(48) + '\x6f' + '\x31' + chr(0b110111) + chr(0b110011), ord("\x08")), nzTpIcepk0o8(chr(0b0 + 0o60) + chr(0b1000001 + 0o56) + '\x33' + chr(1389 - 1341) + '\066', 0o10), nzTpIcepk0o8(chr(0b1110 + 0o42) + '\157' + '\x35', 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(1892 - 1837) + '\x30', 0o10), nzTpIcepk0o8('\060' + chr(0b101000 + 0o107) + chr(1589 - 1538) + chr(53), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x33', ord("\x08")), nzTpIcepk0o8(chr(0b10011 + 0o35) + chr(0b1101111) + '\061' + chr(54) + chr(48), 8), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x31' + chr(1441 - 1393) + '\x33', 0o10), nzTpIcepk0o8(chr(48) + chr(111) + chr(1066 - 1015) + '\x30' + chr(0b11000 + 0o35), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\062' + chr(0b110100) + '\062', 61897 - 61889), nzTpIcepk0o8(chr(604 - 556) + chr(0b111 + 0o150) + chr(0b110001) + chr(102 - 50) + chr(0b110000), ord("\x08")), nzTpIcepk0o8(chr(0b101010 + 0o6) + '\x6f' + chr(0b110101) + chr(55), 3475 - 3467), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(51) + chr(0b110001 + 0o3) + chr(0b110000), ord("\x08")), nzTpIcepk0o8('\060' + chr(1898 - 1787) + chr(444 - 394) + chr(705 - 655) + chr(0b1001 + 0o50), 0b1000), nzTpIcepk0o8(chr(48) + chr(111) + chr(0b110 + 0o54) + chr(512 - 460) + chr(849 - 794), 8)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(0b110000) + '\157' + '\x35' + chr(0b11111 + 0o21), 0o10)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xa8'), '\x64' + '\145' + chr(3856 - 3757) + chr(0b1101111) + chr(8032 - 7932) + chr(0b1 + 0o144))('\x75' + chr(116) + chr(0b1100110) + chr(667 - 622) + chr(56)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def yPRLrDGvO7qK(rHPU8oONrR4n=roI3spqORKae(ES5oEprVxulp(b'\xeb>\xf3\xc6#c\xaavU\xee\x04;\x9f\xa6\x8cu'), '\x64' + '\x65' + chr(0b111000 + 0o53) + chr(0b1101111) + '\x64' + '\x65')(chr(0b1110101) + '\164' + chr(0b110010 + 0o64) + chr(45) + chr(0b11001 + 0o37)), qjksZ7GK0xkJ=roI3spqORKae(ES5oEprVxulp(b'\xa8'), chr(0b1100100) + chr(8198 - 8097) + chr(0b100010 + 0o101) + chr(0b1101111) + '\x64' + chr(0b100010 + 0o103))(chr(0b101010 + 0o113) + '\x74' + '\x66' + chr(0b101101) + chr(0b100011 + 0o25)), KADebXAR9grB=roI3spqORKae(ES5oEprVxulp(b''), chr(0b1000010 + 0o42) + '\x65' + chr(3536 - 3437) + chr(0b100 + 0o153) + chr(0b11101 + 0o107) + chr(7738 - 7637))(chr(3989 - 3872) + '\164' + '\146' + chr(0b10001 + 0o34) + chr(1379 - 1323)), L66BkZPPV93j=roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(0b1100101) + chr(0b1000 + 0o133) + chr(4548 - 4437) + chr(0b10 + 0o142) + '\145')(chr(117) + chr(12248 - 12132) + '\x66' + chr(0b1 + 0o54) + chr(0b111000)), nPQiWzQBWTDn=nzTpIcepk0o8(chr(0b11 + 0o55) + chr(0b1101000 + 0o7) + chr(0b100101 + 0o20), 8), bxxuZm4I6LgY=nzTpIcepk0o8(chr(1916 - 1868) + chr(6097 - 5986) + chr(1796 - 1747), 8), JummcHpaNLEw=roI3spqORKae(ES5oEprVxulp(b'\xf5-\xf5'), chr(7709 - 7609) + chr(7020 - 6919) + chr(0b1100011) + '\x6f' + chr(0b1100100) + '\145')('\165' + '\164' + chr(9343 - 9241) + chr(45) + '\070'), f4XDWm__k5ZA=nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\060', 0o10), bSiGoWKHgDdJ=None):
def xMF4aPRocaG1(FYDJ97YahvG6, LhbXNM95oweX, xwRuRFbC5fsf=nzTpIcepk0o8('\060' + chr(2938 - 2827) + '\x31', 8)):
jasGgnnz8cxN = nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(1845 - 1797), 8)
if roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xd2(\xf7\xfc\x05G\xabK\\\xe6\x14\x05'), chr(5059 - 4959) + '\145' + chr(0b101101 + 0o66) + chr(0b110000 + 0o77) + chr(7864 - 7764) + chr(101))(chr(2858 - 2741) + chr(116) + chr(0b111011 + 0o53) + '\055' + '\x38')):
v8jsMqaYV6U2(FYDJ97YahvG6)
VCRyrV4KDcfz = {roI3spqORKae(ES5oEprVxulp(b'\xe7)\xf3\xdc'), chr(0b1100100) + chr(101) + '\x63' + '\x6f' + chr(8444 - 8344) + '\x65')(chr(117) + chr(0b110110 + 0o76) + chr(1759 - 1657) + chr(0b101101) + chr(0b111000)): xwRuRFbC5fsf, roI3spqORKae(ES5oEprVxulp(b'\xfc2\xf8\xd1'), chr(100) + chr(0b101001 + 0o74) + chr(0b101100 + 0o67) + chr(9003 - 8892) + chr(0b1100100) + chr(0b1000011 + 0o42))(chr(0b10110 + 0o137) + '\x74' + '\146' + chr(0b101101) + '\x38'): xwRuRFbC5fsf + nzTpIcepk0o8(chr(1987 - 1939) + '\x6f' + chr(0b101100 + 0o5), 8), roI3spqORKae(ES5oEprVxulp(b'\xe3*\xf3\xc73p'), '\144' + chr(0b100101 + 0o100) + '\x63' + '\x6f' + chr(0b1100100) + chr(101))(chr(2850 - 2733) + chr(0b1110100) + '\x66' + '\x2d' + '\070'): xwRuRFbC5fsf + nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(136 - 86), 0o10), roI3spqORKae(ES5oEprVxulp(b'\xe2>\xe0\xd0;p\xa8'), '\x64' + chr(101) + chr(3702 - 3603) + '\x6f' + '\x64' + chr(2816 - 2715))(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(0b111000)): xwRuRFbC5fsf + nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b1101 + 0o46), 8)}
YtA_2u8ugCIV = LhbXNM95oweX[LhbXNM95oweX.specimen == FYDJ97YahvG6]
if ftfygxgFas5X(YtA_2u8ugCIV) >= nzTpIcepk0o8(chr(0b110000) + chr(6109 - 5998) + chr(0b100 + 0o57), 8):
try:
(jzEPL5m7Okkq, uF4zwjUGNIxR) = hUcsWwAd0nE_.sortarai(YtA_2u8ugCIV, FYDJ97YahvG6, nzTpIcepk0o8(chr(1376 - 1328) + chr(10304 - 10193) + chr(0b110000), 8), version=nzTpIcepk0o8('\060' + chr(7054 - 6943) + '\x33', 8))
except zfo2Sgkz3IVJ as dclkBu6Bdnnh:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xab\x0c\xbf'), '\x64' + '\145' + chr(4875 - 4776) + chr(8817 - 8706) + chr(0b1100100) + chr(101))('\x75' + '\x74' + chr(7047 - 6945) + chr(0b100010 + 0o13) + chr(0b1100 + 0o54)), dclkBu6Bdnnh)
return jasGgnnz8cxN
if not bxxuZm4I6LgY:
for (QYodcsDtoGq7, pXwvT17vr09s) in roI3spqORKae(VCRyrV4KDcfz, roI3spqORKae(ES5oEprVxulp(b'\xdf\x04\xfc\xfb\x13k\x87/\x03\xf6(!'), chr(0b11110 + 0o106) + chr(101) + chr(0b1100011) + chr(6192 - 6081) + '\144' + chr(331 - 230))(chr(0b1110101) + chr(0b1100001 + 0o23) + chr(0b10010 + 0o124) + '\x2d' + chr(2528 - 2472)))():
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xf67\xfd\xc1\tx\xa1rD'), '\144' + chr(0b1011000 + 0o15) + chr(199 - 100) + chr(160 - 49) + chr(0b11000 + 0o114) + '\x65')(chr(0b1110101) + chr(0b1011110 + 0o26) + chr(6142 - 6040) + chr(0b101101) + chr(56)))(pXwvT17vr09s, nzTpIcepk0o8(chr(0b110000) + chr(0b110010 + 0o75) + chr(53), 8), nzTpIcepk0o8(chr(0b11010 + 0o26) + '\157' + chr(53), 8))
(B0xpYBBf3miQ, M4fW_S7vN_Q_) = hUcsWwAd0nE_.find_dmag_rec(FYDJ97YahvG6, YtA_2u8ugCIV, version=nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\063', 8))
if not ftfygxgFas5X(M4fW_S7vN_Q_):
TJpzv_Z_CWDD = roI3spqORKae(ES5oEprVxulp(b''), '\x64' + '\145' + chr(0b1100011) + chr(4814 - 4703) + chr(0b1100100) + chr(101))(chr(0b1110101) + chr(8447 - 8331) + chr(0b101110 + 0o70) + chr(45) + chr(56))
else:
TJpzv_Z_CWDD = M4fW_S7vN_Q_[-nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b110001), 8)]
jasGgnnz8cxN = o77KS_r9H7AX.plot_arai_zij(VCRyrV4KDcfz, jzEPL5m7Okkq, B0xpYBBf3miQ, FYDJ97YahvG6, TJpzv_Z_CWDD)
return jasGgnnz8cxN
if f4XDWm__k5ZA:
bxxuZm4I6LgY = nzTpIcepk0o8(chr(0b110000) + '\157' + '\x30', 8)
if not suIjIS24Zkqw(bSiGoWKHgDdJ, roI3spqORKae(RYEhqzIVZREo, roI3spqORKae(ES5oEprVxulp(b'\xc54\xfc\xc1$x\xadnD\xe9\x1f&'), '\x64' + '\x65' + chr(4859 - 4760) + '\157' + chr(0b1100100) + chr(101))('\165' + chr(116) + chr(0b1100110) + chr(1083 - 1038) + '\070'))):
(KADebXAR9grB, qjksZ7GK0xkJ) = hUcsWwAd0nE_.fix_directories(KADebXAR9grB, qjksZ7GK0xkJ)
FQgy_W0Nc99x = hUcsWwAd0nE_.resolve_file_name(rHPU8oONrR4n, KADebXAR9grB)
KADebXAR9grB = aHUqKstZLeS6.path.LfRrQOxuDvnC(FQgy_W0Nc99x)[nzTpIcepk0o8(chr(48) + '\157' + '\x30', 8)]
bSiGoWKHgDdJ = RYEhqzIVZREo.Contribution(KADebXAR9grB)
if not roI3spqORKae(bSiGoWKHgDdJ.tables, roI3spqORKae(ES5oEprVxulp(b'\xc1\x0e\xd9\xd0"d\xfbcQ\xc7\x03\x02'), '\144' + '\x65' + '\x63' + chr(0b100111 + 0o110) + '\x64' + chr(4566 - 4465))(chr(0b1110101) + chr(0b100100 + 0o120) + '\146' + chr(630 - 585) + '\x38'))(roI3spqORKae(ES5oEprVxulp(b'\xeb>\xf3\xc6#c\xaavU\xee\x04;'), chr(100) + chr(0b1100100 + 0o1) + '\143' + chr(111) + chr(100) + chr(0b1100101))(chr(0b1110101) + chr(12686 - 12570) + chr(6545 - 6443) + '\x2d' + chr(56))):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xab\x0c\xbf\x95\x18~\xefvU\xe1\x03=\xc3\xb7\x99dZ\x8b\x18.\x8d\xa1c\xa7\xc2[\xa0jMsg'), chr(0b1100100) + '\x65' + chr(99) + chr(0b110000 + 0o77) + chr(0b1010111 + 0o15) + chr(0b1100101))(chr(0b1110101) + chr(116) + '\146' + '\055' + '\070'))
return (nzTpIcepk0o8(chr(48) + chr(0b100 + 0o153) + '\060', 8), [])
try:
roI3spqORKae(bSiGoWKHgDdJ, roI3spqORKae(ES5oEprVxulp(b"\xf6)\xfd\xc57v\xaeoU\xdf\x1c'\xd2\xb3\x80h[\x914z\x96\x9fr\xaa\xca\x0b\xaa`K"), '\144' + chr(0b1100101) + '\143' + chr(0b1101111) + chr(0b1101 + 0o127) + chr(0b1000101 + 0o40))(chr(0b1110101) + chr(7889 - 7773) + chr(0b1100110) + '\x2d' + chr(0b1100 + 0o54)))()
roI3spqORKae(bSiGoWKHgDdJ, roI3spqORKae(ES5oEprVxulp(b"\xf6)\xfd\xc57v\xaeoU\xdf\x1c'\xd2\xb3\x80h[\x914z\x96\x9fr\xbb\xc2\x18\xafh]sp"), chr(3921 - 3821) + '\145' + '\143' + chr(0b1110 + 0o141) + '\144' + chr(101))(chr(7278 - 7161) + '\x74' + chr(2109 - 2007) + chr(45) + '\070'))()
roI3spqORKae(bSiGoWKHgDdJ, roI3spqORKae(ES5oEprVxulp(b"\xf6)\xfd\xc57v\xaeoU\xdf\x1c'\xd2\xb3\x80h[\x914z\x96\x9fl\xae\xc6\x08\xb3w]pf\x1e7\xb6"), chr(5970 - 5870) + chr(0b1100101) + chr(99) + chr(0b1101111) + chr(0b110 + 0o136) + chr(101))(chr(0b110110 + 0o77) + chr(0b111001 + 0o73) + '\x66' + '\x2d' + chr(2214 - 2158)))()
except knUxyjfq07F9 as dclkBu6Bdnnh:
pass
_ilcabGFqtMa = bSiGoWKHgDdJ.tables[roI3spqORKae(ES5oEprVxulp(b'\xeb>\xf3\xc6#c\xaavU\xee\x04;'), chr(0b1100001 + 0o3) + '\145' + chr(99) + chr(0b1100001 + 0o16) + chr(0b1011 + 0o131) + chr(0b1100101))('\x75' + chr(0b1111 + 0o145) + '\146' + chr(0b1100 + 0o41) + chr(0b111000))].jpOn8DNZxbbx
if roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xef(\xc1\xd0$g\xaai'), chr(0b1010111 + 0o15) + '\145' + '\x63' + chr(5724 - 5613) + '\144' + '\145')(chr(117) + '\x74' + chr(0b1100110) + '\x2d' + '\070')):
FBG2MCwkKg3g = bSiGoWKHgDdJ.get_con_id()
Xlv02QJd6kHP = RYEhqzIVZREo.get_intensity_col(_ilcabGFqtMa)
n2yX1AgA9ol1 = []
wx5Y9SFJEaEM = _ilcabGFqtMa[_ilcabGFqtMa[Xlv02QJd6kHP].notnull()]
LhbXNM95oweX = wx5Y9SFJEaEM.dropna(subset=[roI3spqORKae(ES5oEprVxulp(b'\xeb>\xe6\xdd9u\x90x_\xe4\x15;'), '\144' + chr(0b1100101) + '\x63' + chr(111) + chr(6058 - 5958) + chr(0b10110 + 0o117))(chr(6283 - 6166) + chr(5489 - 5373) + '\146' + chr(0b101101) + chr(2054 - 1998))])
LhbXNM95oweX = LhbXNM95oweX[LhbXNM95oweX[roI3spqORKae(ES5oEprVxulp(b'\xeb>\xe6\xdd9u\x90x_\xe4\x15;'), chr(1661 - 1561) + chr(0b1100101) + chr(2563 - 2464) + '\157' + '\x64' + chr(1344 - 1243))(chr(5475 - 5358) + '\164' + chr(102) + chr(0b101101) + chr(0b111000))].str.LNkbYQgwgMgl(roI3spqORKae(ES5oEprVxulp(b'\xca\x0b\xbf\xe5\x1f<\x9bI}'), '\x64' + '\145' + chr(975 - 876) + chr(0b1101111) + chr(100) + chr(540 - 439))('\x75' + chr(0b1000 + 0o154) + chr(0b1100110) + chr(0b101101) + chr(3104 - 3048)))]
lkkkypP_QyDJ = wx5Y9SFJEaEM.specimen.G3de2eWQaS0D()
if ftfygxgFas5X(lkkkypP_QyDJ) == nzTpIcepk0o8(chr(48) + chr(0b101100 + 0o103) + chr(0b101001 + 0o7), 8):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b"\xf23\xf7\xc731\xaeiU\xa0\x1e'\x91\xb6\x95uU\xdf\ra\x8b\xe0q\xa7\xc8\x0f\xb2lVz"), chr(9696 - 9596) + chr(8057 - 7956) + chr(5182 - 5083) + chr(0b1101111) + chr(100) + chr(0b1011110 + 0o7))('\x75' + chr(12799 - 12683) + chr(0b1010011 + 0o23) + chr(134 - 89) + '\x38'))
return (nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b11010 + 0o26), 8), [])
if L66BkZPPV93j:
if L66BkZPPV93j not in lkkkypP_QyDJ:
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'\xe54\xe7\xd921\xa1tD\xa0\x16!\xdf\xb6\xd4rD\x9a\x08g\x94\xa5o\xeb\xdc\x06'), chr(6356 - 6256) + chr(0b10011 + 0o122) + chr(0b1001110 + 0o25) + chr(2391 - 2280) + chr(6902 - 6802) + chr(101))(chr(0b1100111 + 0o16) + '\x74' + '\146' + chr(45) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xf7h\xa1\xfe\x11"\xa9ta\xdf3\x02'), chr(0b101 + 0o137) + chr(101) + '\143' + chr(10201 - 10090) + '\144' + chr(6853 - 6752))(chr(117) + chr(0b1110100) + '\146' + '\x2d' + chr(56)))(L66BkZPPV93j))
return (nzTpIcepk0o8(chr(48) + '\x6f' + '\x30', 8), [])
lkkkypP_QyDJ = [L66BkZPPV93j]
elif nPQiWzQBWTDn != roI3spqORKae(ES5oEprVxulp(b'\xe77\xfe'), chr(0b1010011 + 0o21) + '\145' + chr(3798 - 3699) + '\x6f' + chr(100) + chr(0b1100101))(chr(0b1100011 + 0o22) + chr(0b1000100 + 0o60) + '\146' + chr(0b10101 + 0o30) + chr(0b1 + 0o67)):
try:
lkkkypP_QyDJ = lkkkypP_QyDJ[:nPQiWzQBWTDn]
except zfo2Sgkz3IVJ as dclkBu6Bdnnh:
pass
xwRuRFbC5fsf = nzTpIcepk0o8(chr(0b100011 + 0o15) + chr(0b1101111) + '\061', 8)
for FYDJ97YahvG6 in lkkkypP_QyDJ:
jasGgnnz8cxN = xMF4aPRocaG1(FYDJ97YahvG6, LhbXNM95oweX, xwRuRFbC5fsf)
if jasGgnnz8cxN:
if f4XDWm__k5ZA:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xe2)\xf3\xc2\tw\xa6|C'), chr(0b1100100) + chr(240 - 139) + chr(0b1011000 + 0o13) + '\157' + '\144' + chr(0b1100101))(chr(117) + chr(1616 - 1500) + '\x66' + '\x2d' + chr(56)))(jasGgnnz8cxN)
CMfsDQitQrpd = QnTXOd5N96r1(roI3spqORKae(ES5oEprVxulp(b'\xd5\x00\xf3\xe8 t\xefk\\\xef\x04;\x9d\xf2\xafpi\x8a\x02z\xd5\xe0=\xb9\xc2\x0f\xb3wV##\x04,\xe5\xc1\x0fA\x94\xf8\xc9\xf3>\x98\x95'), chr(8701 - 8601) + chr(101) + chr(99) + chr(0b1101111) + chr(100) + '\145')('\165' + chr(11703 - 11587) + '\146' + chr(45) + chr(0b100011 + 0o25)))
if CMfsDQitQrpd == roI3spqORKae(ES5oEprVxulp(b'\xf7'), '\144' + chr(101) + chr(0b1100011) + '\157' + '\x64' + chr(3888 - 3787))(chr(0b110010 + 0o103) + chr(116) + '\146' + '\055' + '\070'):
return (nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b11011 + 0o26), 8), [])
if CMfsDQitQrpd == roI3spqORKae(ES5oEprVxulp(b'\xe7'), chr(100) + chr(0b110001 + 0o64) + chr(2019 - 1920) + chr(111) + chr(0b100000 + 0o104) + chr(6109 - 6008))(chr(0b1110101) + chr(0b1110100) + chr(4291 - 4189) + chr(0b101010 + 0o3) + chr(0b1101 + 0o53)):
wR5_YWECjaY7 = {QYodcsDtoGq7: FYDJ97YahvG6 + roI3spqORKae(ES5oEprVxulp(b'\xd9'), chr(0b10111 + 0o115) + chr(0b1100101) + chr(6367 - 6268) + chr(111) + chr(100) + chr(0b11011 + 0o112))('\x75' + chr(116) + '\146' + chr(0b101101) + chr(56)) + QYodcsDtoGq7 + roI3spqORKae(ES5oEprVxulp(b'\xa8'), '\144' + chr(0b1100101) + chr(0b1001011 + 0o30) + chr(0b1001110 + 0o41) + chr(1154 - 1054) + '\145')(chr(0b1110101) + chr(116) + chr(0b1110 + 0o130) + chr(114 - 69) + chr(0b111000)) + JummcHpaNLEw for (QYodcsDtoGq7, uV9iBiw0y_Mp) in jasGgnnz8cxN.Y_nNEzH43vXi()}
if not roI3spqORKae(NsnRtbLAhqc_, roI3spqORKae(ES5oEprVxulp(b'\xcf\x08\xcd\xe2\x1f_'), chr(0b1010000 + 0o24) + chr(0b1100101) + chr(4976 - 4877) + chr(111) + chr(0b1010001 + 0o23) + chr(101))(chr(0b1011010 + 0o33) + '\164' + '\x66' + '\x2d' + chr(1353 - 1297))):
wR5_YWECjaY7 = {QYodcsDtoGq7: aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, uV9iBiw0y_Mp) for (QYodcsDtoGq7, uV9iBiw0y_Mp) in wR5_YWECjaY7.Y_nNEzH43vXi()}
JyFDm8vknbFK = nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b110001), 8)
roI3spqORKae(n2yX1AgA9ol1, roI3spqORKae(ES5oEprVxulp(b'\xce\x0f\xc1\x81.v\x88tZ\xef%}'), '\144' + chr(0b11100 + 0o111) + chr(0b1010111 + 0o14) + chr(111) + chr(100) + chr(0b1100101))(chr(0b1110101) + chr(11824 - 11708) + chr(9066 - 8964) + chr(0b101101) + chr(56)))(roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xf5:\xe4\xd0\ta\xa3tD\xf3'), '\144' + chr(8392 - 8291) + chr(0b1100011) + chr(0b10111 + 0o130) + chr(1987 - 1887) + chr(0b1011010 + 0o13))(chr(9522 - 9405) + chr(0b1110100) + chr(6228 - 6126) + chr(0b101101) + chr(0b111000)))(jasGgnnz8cxN, wR5_YWECjaY7, incl_directory=JyFDm8vknbFK))
elif bxxuZm4I6LgY:
wR5_YWECjaY7 = {QYodcsDtoGq7: FYDJ97YahvG6 + roI3spqORKae(ES5oEprVxulp(b'\xd9'), chr(100) + '\145' + chr(0b1001111 + 0o24) + chr(111) + chr(100) + chr(0b110001 + 0o64))(chr(117) + chr(0b1110100) + chr(8242 - 8140) + '\055' + chr(0b0 + 0o70)) + QYodcsDtoGq7 + roI3spqORKae(ES5oEprVxulp(b'\xa8'), chr(100) + chr(0b11100 + 0o111) + chr(0b110011 + 0o60) + chr(111) + chr(0b1100100) + '\x65')(chr(0b1000000 + 0o65) + chr(3508 - 3392) + '\x66' + chr(161 - 116) + '\x38') + JummcHpaNLEw for (QYodcsDtoGq7, uV9iBiw0y_Mp) in jasGgnnz8cxN.Y_nNEzH43vXi()}
JyFDm8vknbFK = nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b100001 + 0o17), 8)
if not roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xef(\xc1\xd0$g\xaai'), chr(5267 - 5167) + chr(5322 - 5221) + '\x63' + '\157' + chr(0b111101 + 0o47) + chr(2186 - 2085))('\165' + chr(116) + '\146' + '\055' + chr(0b111000))):
if not roI3spqORKae(NsnRtbLAhqc_, roI3spqORKae(ES5oEprVxulp(b'\xcf\x08\xcd\xe2\x1f_'), chr(0b1100100) + chr(0b1100101) + chr(0b1100011) + chr(0b100100 + 0o113) + '\x64' + chr(101))(chr(0b1010101 + 0o40) + chr(0b11101 + 0o127) + '\x66' + chr(0b101001 + 0o4) + chr(0b111000))):
wR5_YWECjaY7 = {QYodcsDtoGq7: aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, uV9iBiw0y_Mp) for (QYodcsDtoGq7, uV9iBiw0y_Mp) in wR5_YWECjaY7.Y_nNEzH43vXi()}
JyFDm8vknbFK = nzTpIcepk0o8(chr(0b110000) + chr(0b101 + 0o152) + chr(398 - 349), 8)
else:
for (QYodcsDtoGq7, uV9iBiw0y_Mp) in roI3spqORKae(wR5_YWECjaY7.copy(), roI3spqORKae(ES5oEprVxulp(b'\xdf\x04\xfc\xfb\x13k\x87/\x03\xf6(!'), chr(100) + chr(5536 - 5435) + '\x63' + '\x6f' + chr(0b1100100) + '\145')(chr(0b1110101) + chr(7977 - 7861) + '\x66' + '\055' + chr(0b111000)))():
wR5_YWECjaY7[QYodcsDtoGq7] = roI3spqORKae(ES5oEprVxulp(b'\xd5\x0b\xa8\xea-l\x90Oi\xba/3\xcc\x8d\xdazI'), '\144' + '\x65' + '\143' + '\157' + '\x64' + '\x65')('\165' + '\x74' + chr(5983 - 5881) + '\055' + '\x38').q33KG3foQ_CJ(FYDJ97YahvG6, QYodcsDtoGq7, JummcHpaNLEw)
SzNH87oHZc7X = {}
SzNH87oHZc7X[roI3spqORKae(ES5oEprVxulp(b'\xe2>\xe0\xd0;p\xa8'), chr(7356 - 7256) + chr(101) + chr(99) + chr(0b1101111) + chr(0b1001110 + 0o26) + chr(4138 - 4037))('\165' + '\x74' + '\x66' + '\055' + chr(87 - 31))] = roI3spqORKae(ES5oEprVxulp(b'\xc2>\xc0\xd0\x1bp\xa8;`\xec\x1f<'), '\x64' + chr(0b1100000 + 0o5) + '\x63' + '\157' + chr(100) + chr(101))(chr(0b1101 + 0o150) + chr(10233 - 10117) + chr(0b1100110) + chr(217 - 172) + chr(2660 - 2604))
SzNH87oHZc7X[roI3spqORKae(ES5oEprVxulp(b'\xfc2\xf8\xd1'), chr(100) + chr(0b110011 + 0o62) + chr(0b110 + 0o135) + '\x6f' + chr(100) + chr(0b1100101))('\x75' + '\164' + chr(0b11011 + 0o113) + chr(0b101101) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\xdc2\xf8\xd13c\xb9~\\\xe4P\x18\xdd\xbd\x80'), chr(0b111101 + 0o47) + chr(0b1100101) + '\143' + '\157' + chr(0b1100100) + chr(0b1100101))('\165' + chr(116) + chr(102) + chr(0b101101) + '\x38')
SzNH87oHZc7X[roI3spqORKae(ES5oEprVxulp(b'\xe7)\xf3\xdc'), '\x64' + chr(101) + chr(99) + chr(111) + '\144' + chr(101))('\165' + chr(12261 - 12145) + chr(1837 - 1735) + chr(1887 - 1842) + chr(1907 - 1851))] = roI3spqORKae(ES5oEprVxulp(b'\xc7)\xf3\xdcvA\xa3tD'), '\x64' + chr(0b1100101) + '\143' + chr(111) + chr(0b1100100) + chr(101))(chr(0b1110101) + '\x74' + '\x66' + chr(0b101101) + '\x38')
SzNH87oHZc7X[roI3spqORKae(ES5oEprVxulp(b'\xd2\t\xdf'), '\x64' + '\145' + chr(0b1100011) + '\157' + chr(4966 - 4866) + '\145')('\165' + chr(116) + chr(102) + '\x2d' + chr(0b1010 + 0o56))] = roI3spqORKae(ES5oEprVxulp(b'\xd2\t\xdf\x95\x17r\xbenY\xf3\x19<\xd8\xbd\x9a!P\x9e\x1fo'), chr(9181 - 9081) + chr(0b1000100 + 0o41) + chr(99) + chr(0b1101111) + chr(2410 - 2310) + chr(0b1100101))(chr(0b11010 + 0o133) + chr(0b1110100) + '\x66' + '\x2d' + chr(56))
SzNH87oHZc7X[roI3spqORKae(ES5oEprVxulp(b'\xe3*\xf3\xc73p'), '\x64' + chr(101) + chr(99) + chr(0b1011001 + 0o26) + chr(100) + chr(8568 - 8467))(chr(4601 - 4484) + '\164' + chr(0b1100110) + chr(45) + chr(56))] = roI3spqORKae(ES5oEprVxulp(b'\xc3*\xe7\xd4:1\x8eiU\xe1P\x18\xdd\xbd\x80'), chr(8857 - 8757) + '\145' + '\143' + chr(6709 - 6598) + chr(0b1100010 + 0o2) + chr(4330 - 4229))(chr(470 - 353) + '\x74' + chr(102) + chr(45) + chr(56))
jasGgnnz8cxN = o77KS_r9H7AX.add_borders(jasGgnnz8cxN, SzNH87oHZc7X, con_id=FBG2MCwkKg3g)
roI3spqORKae(n2yX1AgA9ol1, roI3spqORKae(ES5oEprVxulp(b'\xce\x0f\xc1\x81.v\x88tZ\xef%}'), chr(7368 - 7268) + chr(0b1100101) + chr(7685 - 7586) + chr(0b1101111) + chr(100) + chr(9151 - 9050))(chr(117) + chr(116) + chr(0b1100110) + '\x2d' + '\x38'))(roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xf5:\xe4\xd0\ta\xa3tD\xf3'), '\x64' + '\x65' + chr(0b11110 + 0o105) + '\x6f' + '\144' + chr(4670 - 4569))(chr(0b1001000 + 0o55) + chr(0b11010 + 0o132) + '\x66' + chr(0b100 + 0o51) + chr(0b111000)))(jasGgnnz8cxN, wR5_YWECjaY7, incl_directory=JyFDm8vknbFK))
else:
xwRuRFbC5fsf += ftfygxgFas5X(jasGgnnz8cxN)
else:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xe84\xb2\xd17e\xae;V\xef\x02h'), chr(100) + '\145' + chr(99) + chr(0b1001111 + 0o40) + chr(0b1100100) + chr(0b1011000 + 0o15))('\165' + '\164' + '\146' + chr(0b101101) + chr(0b11010 + 0o36)), FYDJ97YahvG6)
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xf50\xfb\xc5&x\xa1|'), '\144' + '\x65' + chr(2415 - 2316) + chr(0b1101111) + '\144' + chr(6999 - 6898))('\x75' + chr(0b1010100 + 0o40) + '\x66' + '\x2d' + chr(2901 - 2845)))
return (nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\061', 8), n2yX1AgA9ol1)
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
hysteresis_magic
|
def hysteresis_magic(output_dir_path=".", input_dir_path="", spec_file="specimens.txt",
meas_file="measurements.txt", fmt="svg",
save_plots=True, make_plots=True, pltspec="", n_specs=5, interactive=False):
"""
Calculate hysteresis parameters and plot hysteresis data.
Plotting may be called interactively with save_plots==False,
or be suppressed entirely with make_plots==False.
Parameters
----------
output_dir_path : str, default "."
Note: if using Windows, all figures will be saved to working directly
*not* dir_path
input_dir_path : str
path for intput file if different from output_dir_path (default is same)
spec_file : str, default "specimens.txt"
output file to save hysteresis data
meas_file : str, default "measurements.txt"
input measurement file
fmt : str, default "svg"
format for figures, [svg, jpg, pdf, png]
save_plots : bool, default True
if True, generate and save all requested plots
make_plots : bool, default True
if False, skip making plots and just save hysteresis data
(if False, save_plots will be set to False also)
pltspec : str, default ""
specimen name to plot, otherwise will plot all specimens
n_specs : int
number of specimens to plot, default 5
if you want to make all possible plots, specify "all"
interactive : bool, default False
interactively plot and display for each specimen
(this is best used on the command line or in the Python interpreter)
Returns
---------
Tuple : (True or False indicating if conversion was sucessful, output file names written)
"""
# put plots in output_dir_path, unless isServer
incl_directory = True
if pmagplotlib.isServer or set_env.IS_WIN:
incl_directory = False
# figure out directory/file paths
input_dir_path, output_dir_path = pmag.fix_directories(input_dir_path, output_dir_path)
spec_file = pmag.resolve_file_name(spec_file, input_dir_path)
meas_file = pmag.resolve_file_name(meas_file, input_dir_path)
# format and initialize variables
verbose = pmagplotlib.verbose
version_num = pmag.get_version()
if not make_plots:
irm_init, imag_init = -1, -1
save_plots = False
if save_plots:
verbose = False
if pltspec:
pass
if interactive:
save_plots = False
SpecRecs = []
#
#
meas_data, file_type = pmag.magic_read(meas_file)
if file_type != 'measurements':
print('bad file', meas_file)
return False, []
#
# initialize some variables
# define figure numbers for hyst,deltaM,DdeltaM curves
HystRecs, RemRecs = [], []
HDD = {}
if verbose and make_plots:
print("Plots may be on top of each other - use mouse to place ")
if make_plots:
HDD['hyst'], HDD['deltaM'], HDD['DdeltaM'] = 1, 2, 3
if make_plots and (not save_plots):
pmagplotlib.plot_init(HDD['DdeltaM'], 5, 5)
pmagplotlib.plot_init(HDD['deltaM'], 5, 5)
pmagplotlib.plot_init(HDD['hyst'], 5, 5)
imag_init = 0
irm_init = 0
else:
HDD['hyst'], HDD['deltaM'], HDD['DdeltaM'], HDD['irm'], HDD['imag'] = 0, 0, 0, 0, 0
#
if spec_file:
prior_data, file_type = pmag.magic_read(spec_file)
#
# get list of unique experiment names and specimen names
#
experiment_names, sids = [], []
hys_data = pmag.get_dictitem(meas_data, 'method_codes', 'LP-HYS', 'has')
dcd_data = pmag.get_dictitem(
meas_data, 'method_codes', 'LP-IRM-DCD', 'has')
imag_data = pmag.get_dictitem(meas_data, 'method_codes', 'LP-IMAG', 'has')
for rec in hys_data:
if rec['experiment'] not in experiment_names:
experiment_names.append(rec['experiment'])
if rec['specimen'] not in sids:
sids.append(rec['specimen'])
#
k = 0
# if plotting only one specimen, find it
if pltspec:
k = sids.index(pltspec)
# if plotting only n specimens, remove others from the list
elif n_specs != "all":
try:
sids = sids[:n_specs]
except:
pass
cnt = 0
while k < len(sids):
specimen = sids[k]
if pltspec:
if specimen != pltspec:
k += 1
continue
else:
for key, value in HDD.items():
cnt += 1
HDD[key] = cnt
#HDD = {key: value + len(HDD) + k for (key, value) in HDD.items()}
# initialize a new specimen hysteresis record
HystRec = {'specimen': specimen, 'experiment': ""}
if verbose and make_plots:
print(specimen, k+1, 'out of ', len(sids))
#
#
# B,M for hysteresis, Bdcd,Mdcd for irm-dcd data
B, M, Bdcd, Mdcd = [], [], [], []
Bimag, Mimag = [], [] # Bimag,Mimag for initial magnetization curves
# fish out all the LP-HYS data for this specimen
spec_data = pmag.get_dictitem(hys_data, 'specimen', specimen, 'T')
if len(spec_data) > 0:
meths = spec_data[0]['method_codes'].split(':')
e = spec_data[0]['experiment']
HystRec['experiment'] = spec_data[0]['experiment']
for rec in spec_data:
B.append(float(rec['meas_field_dc']))
M.append(float(rec['magn_moment']))
# fish out all the data for this specimen
spec_data = pmag.get_dictitem(dcd_data, 'specimen', specimen, 'T')
if len(spec_data) > 0:
HystRec['experiment'] = HystRec['experiment'] + \
':'+spec_data[0]['experiment']
irm_exp = spec_data[0]['experiment']
for rec in spec_data:
Bdcd.append(float(rec['treat_dc_field']))
Mdcd.append(float(rec['magn_moment']))
# fish out all the data for this specimen
spec_data = pmag.get_dictitem(imag_data, 'specimen', specimen, 'T')
if len(spec_data) > 0:
imag_exp = spec_data[0]['experiment']
for rec in spec_data:
Bimag.append(float(rec['meas_field_dc']))
Mimag.append(float(rec['magn_moment']))
#
# now plot the hysteresis curve
#
if len(B) > 0:
hmeths = []
for meth in meths:
hmeths.append(meth)
hpars = pmagplotlib.plot_hdd(HDD, B, M, e)
if interactive:
if not set_env.IS_WIN:
pmagplotlib.draw_figs(HDD)
#
if make_plots:
pmagplotlib.plot_hpars(HDD, hpars, 'bs')
HystRec['hyst_mr_moment'] = hpars['hysteresis_mr_moment']
HystRec['hyst_ms_moment'] = hpars['hysteresis_ms_moment']
HystRec['hyst_bc'] = hpars['hysteresis_bc']
HystRec['hyst_bcr'] = hpars['hysteresis_bcr']
HystRec['hyst_xhf'] = hpars['hysteresis_xhf']
HystRec['experiments'] = e
HystRec['software_packages'] = version_num
if hpars["magic_method_codes"] not in hmeths:
hmeths.append(hpars["magic_method_codes"])
methods = ""
for meth in hmeths:
methods = methods+meth.strip()+":"
HystRec["method_codes"] = methods[:-1]
HystRec["citations"] = "This study"
#
if len(Bdcd) > 0:
rmeths = []
for meth in meths:
rmeths.append(meth)
if verbose and make_plots:
print('plotting IRM')
if irm_init == 0:
cnt += 1
HDD['irm'] = cnt #5 if 'imag' in HDD else 4
if make_plots and (not save_plots):
pmagplotlib.plot_init(HDD['irm'], 5, 5)
irm_init = 1
rpars = pmagplotlib.plot_irm(HDD['irm'], Bdcd, Mdcd, irm_exp)
HystRec['rem_mr_moment'] = rpars['remanence_mr_moment']
HystRec['rem_bcr'] = rpars['remanence_bcr']
HystRec['experiments'] = specimen+':'+irm_exp
if rpars["magic_method_codes"] not in meths:
meths.append(rpars["magic_method_codes"])
methods = ""
for meth in rmeths:
methods = methods+meth.strip()+":"
HystRec["method_codes"] = HystRec['method_codes']+':'+methods[:-1]
HystRec["citations"] = "This study"
else:
if irm_init:
pmagplotlib.clearFIG(HDD['irm'])
if len(Bimag) > 0:
if verbose and make_plots:
print('plotting initial magnetization curve')
# first normalize by Ms
Mnorm = []
for m in Mimag:
Mnorm.append(m / float(hpars['hysteresis_ms_moment']))
if imag_init == 0:
HDD['imag'] = 4
if make_plots and (not save_plots):
pmagplotlib.plot_init(HDD['imag'], 5, 5)
imag_init = 1
pmagplotlib.plot_imag(HDD['imag'], Bimag, Mnorm, imag_exp)
else:
if imag_init:
pmagplotlib.clearFIG(HDD['imag'])
if len(list(HystRec.keys())) > 0:
HystRecs.append(HystRec)
#
files = {}
if save_plots and make_plots:
if pltspec:
s = pltspec
else:
s = specimen
files = {}
for key in list(HDD.keys()):
if incl_directory:
files[key] = os.path.join(output_dir_path, s+'_'+key+'.'+fmt)
else:
files[key] = s+'_'+key+'.'+fmt
if make_plots and save_plots:
pmagplotlib.save_plots(HDD, files, incl_directory=incl_directory)
#if pltspec:
# return True, []
if interactive:
pmagplotlib.draw_figs(HDD)
ans = input(
"S[a]ve plots, [s]pecimen name, [q]uit, <return> to continue\n ")
if ans == "a":
files = {}
for key in list(HDD.keys()):
if incl_directory:
files[key] = os.path.join(output_dir_path, specimen+'_'+key+'.'+fmt)
else:
files[key] = specimen+'_'+key+'.'+fmt
pmagplotlib.save_plots(HDD, files, incl_directory=incl_directory)
if ans == '':
k += 1
if ans == "p":
del HystRecs[-1]
k -= 1
if ans == 'q':
print("Good bye")
return True, []
if ans == 's':
keepon = 1
specimen = input(
'Enter desired specimen name (or first part there of): ')
while keepon == 1:
try:
k = sids.index(specimen)
keepon = 0
except:
tmplist = []
for qq in range(len(sids)):
if specimen in sids[qq]:
tmplist.append(sids[qq])
print(specimen, " not found, but this was: ")
print(tmplist)
specimen = input('Select one or try again\n ')
k = sids.index(specimen)
else:
k += 1
if len(B) == 0 and len(Bdcd) == 0:
if verbose:
print('skipping this one - no hysteresis data')
k += 1
if k < len(sids):
# must re-init figs for Windows to keep size
if make_plots and set_env.IS_WIN:
if not save_plots:
pmagplotlib.plot_init(HDD['DdeltaM'], 5, 5)
pmagplotlib.plot_init(HDD['deltaM'], 5, 5)
pmagplotlib.plot_init(HDD['hyst'], 5, 5)
if len(Bimag) > 0:
HDD['imag'] = 4
if not save_plots:
pmagplotlib.plot_init(HDD['imag'], 5, 5)
if len(Bdcd) > 0:
HDD['irm'] = 5 if 'imag' in HDD else 4
if not save_plots:
pmagplotlib.plot_init(HDD['irm'], 5, 5)
elif not make_plots and set_env.IS_WIN:
HDD['hyst'], HDD['deltaM'], HDD['DdeltaM'], HDD['irm'], HDD['imag'] = 0, 0, 0, 0, 0
if len(HystRecs) > 0:
# go through prior_data, clean out prior results and save combined file as spec_file
SpecRecs, keys = [], list(HystRecs[0].keys())
if len(prior_data) > 0:
prior_keys = list(prior_data[0].keys())
else:
prior_keys = []
for rec in prior_data:
for key in keys:
if key not in list(rec.keys()):
rec[key] = ""
if 'LP-HYS' not in rec['method_codes']:
SpecRecs.append(rec)
for rec in HystRecs:
for key in prior_keys:
if key not in list(rec.keys()):
rec[key] = ""
prior = pmag.get_dictitem(
prior_data, 'specimen', rec['specimen'], 'T')
if len(prior) > 0 and 'sample' in list(prior[0].keys()):
# pull sample name from prior specimens table
rec['sample'] = prior[0]['sample']
SpecRecs.append(rec)
# drop unnecessary/duplicate rows
#dir_path = os.path.split(spec_file)[0]
con = cb.Contribution(input_dir_path, read_tables=[])
con.add_magic_table_from_data('specimens', SpecRecs)
con.tables['specimens'].drop_duplicate_rows(
ignore_cols=['specimen', 'sample', 'citations', 'software_packages'])
con.tables['specimens'].df = con.tables['specimens'].df.drop_duplicates()
spec_file = os.path.join(output_dir_path, os.path.split(spec_file)[1])
con.write_table_to_file('specimens', custom_name=spec_file)
if verbose:
print("hysteresis parameters saved in ", spec_file)
return True, [spec_file]
|
python
|
def hysteresis_magic(output_dir_path=".", input_dir_path="", spec_file="specimens.txt",
meas_file="measurements.txt", fmt="svg",
save_plots=True, make_plots=True, pltspec="", n_specs=5, interactive=False):
"""
Calculate hysteresis parameters and plot hysteresis data.
Plotting may be called interactively with save_plots==False,
or be suppressed entirely with make_plots==False.
Parameters
----------
output_dir_path : str, default "."
Note: if using Windows, all figures will be saved to working directly
*not* dir_path
input_dir_path : str
path for intput file if different from output_dir_path (default is same)
spec_file : str, default "specimens.txt"
output file to save hysteresis data
meas_file : str, default "measurements.txt"
input measurement file
fmt : str, default "svg"
format for figures, [svg, jpg, pdf, png]
save_plots : bool, default True
if True, generate and save all requested plots
make_plots : bool, default True
if False, skip making plots and just save hysteresis data
(if False, save_plots will be set to False also)
pltspec : str, default ""
specimen name to plot, otherwise will plot all specimens
n_specs : int
number of specimens to plot, default 5
if you want to make all possible plots, specify "all"
interactive : bool, default False
interactively plot and display for each specimen
(this is best used on the command line or in the Python interpreter)
Returns
---------
Tuple : (True or False indicating if conversion was sucessful, output file names written)
"""
# put plots in output_dir_path, unless isServer
incl_directory = True
if pmagplotlib.isServer or set_env.IS_WIN:
incl_directory = False
# figure out directory/file paths
input_dir_path, output_dir_path = pmag.fix_directories(input_dir_path, output_dir_path)
spec_file = pmag.resolve_file_name(spec_file, input_dir_path)
meas_file = pmag.resolve_file_name(meas_file, input_dir_path)
# format and initialize variables
verbose = pmagplotlib.verbose
version_num = pmag.get_version()
if not make_plots:
irm_init, imag_init = -1, -1
save_plots = False
if save_plots:
verbose = False
if pltspec:
pass
if interactive:
save_plots = False
SpecRecs = []
#
#
meas_data, file_type = pmag.magic_read(meas_file)
if file_type != 'measurements':
print('bad file', meas_file)
return False, []
#
# initialize some variables
# define figure numbers for hyst,deltaM,DdeltaM curves
HystRecs, RemRecs = [], []
HDD = {}
if verbose and make_plots:
print("Plots may be on top of each other - use mouse to place ")
if make_plots:
HDD['hyst'], HDD['deltaM'], HDD['DdeltaM'] = 1, 2, 3
if make_plots and (not save_plots):
pmagplotlib.plot_init(HDD['DdeltaM'], 5, 5)
pmagplotlib.plot_init(HDD['deltaM'], 5, 5)
pmagplotlib.plot_init(HDD['hyst'], 5, 5)
imag_init = 0
irm_init = 0
else:
HDD['hyst'], HDD['deltaM'], HDD['DdeltaM'], HDD['irm'], HDD['imag'] = 0, 0, 0, 0, 0
#
if spec_file:
prior_data, file_type = pmag.magic_read(spec_file)
#
# get list of unique experiment names and specimen names
#
experiment_names, sids = [], []
hys_data = pmag.get_dictitem(meas_data, 'method_codes', 'LP-HYS', 'has')
dcd_data = pmag.get_dictitem(
meas_data, 'method_codes', 'LP-IRM-DCD', 'has')
imag_data = pmag.get_dictitem(meas_data, 'method_codes', 'LP-IMAG', 'has')
for rec in hys_data:
if rec['experiment'] not in experiment_names:
experiment_names.append(rec['experiment'])
if rec['specimen'] not in sids:
sids.append(rec['specimen'])
#
k = 0
# if plotting only one specimen, find it
if pltspec:
k = sids.index(pltspec)
# if plotting only n specimens, remove others from the list
elif n_specs != "all":
try:
sids = sids[:n_specs]
except:
pass
cnt = 0
while k < len(sids):
specimen = sids[k]
if pltspec:
if specimen != pltspec:
k += 1
continue
else:
for key, value in HDD.items():
cnt += 1
HDD[key] = cnt
#HDD = {key: value + len(HDD) + k for (key, value) in HDD.items()}
# initialize a new specimen hysteresis record
HystRec = {'specimen': specimen, 'experiment': ""}
if verbose and make_plots:
print(specimen, k+1, 'out of ', len(sids))
#
#
# B,M for hysteresis, Bdcd,Mdcd for irm-dcd data
B, M, Bdcd, Mdcd = [], [], [], []
Bimag, Mimag = [], [] # Bimag,Mimag for initial magnetization curves
# fish out all the LP-HYS data for this specimen
spec_data = pmag.get_dictitem(hys_data, 'specimen', specimen, 'T')
if len(spec_data) > 0:
meths = spec_data[0]['method_codes'].split(':')
e = spec_data[0]['experiment']
HystRec['experiment'] = spec_data[0]['experiment']
for rec in spec_data:
B.append(float(rec['meas_field_dc']))
M.append(float(rec['magn_moment']))
# fish out all the data for this specimen
spec_data = pmag.get_dictitem(dcd_data, 'specimen', specimen, 'T')
if len(spec_data) > 0:
HystRec['experiment'] = HystRec['experiment'] + \
':'+spec_data[0]['experiment']
irm_exp = spec_data[0]['experiment']
for rec in spec_data:
Bdcd.append(float(rec['treat_dc_field']))
Mdcd.append(float(rec['magn_moment']))
# fish out all the data for this specimen
spec_data = pmag.get_dictitem(imag_data, 'specimen', specimen, 'T')
if len(spec_data) > 0:
imag_exp = spec_data[0]['experiment']
for rec in spec_data:
Bimag.append(float(rec['meas_field_dc']))
Mimag.append(float(rec['magn_moment']))
#
# now plot the hysteresis curve
#
if len(B) > 0:
hmeths = []
for meth in meths:
hmeths.append(meth)
hpars = pmagplotlib.plot_hdd(HDD, B, M, e)
if interactive:
if not set_env.IS_WIN:
pmagplotlib.draw_figs(HDD)
#
if make_plots:
pmagplotlib.plot_hpars(HDD, hpars, 'bs')
HystRec['hyst_mr_moment'] = hpars['hysteresis_mr_moment']
HystRec['hyst_ms_moment'] = hpars['hysteresis_ms_moment']
HystRec['hyst_bc'] = hpars['hysteresis_bc']
HystRec['hyst_bcr'] = hpars['hysteresis_bcr']
HystRec['hyst_xhf'] = hpars['hysteresis_xhf']
HystRec['experiments'] = e
HystRec['software_packages'] = version_num
if hpars["magic_method_codes"] not in hmeths:
hmeths.append(hpars["magic_method_codes"])
methods = ""
for meth in hmeths:
methods = methods+meth.strip()+":"
HystRec["method_codes"] = methods[:-1]
HystRec["citations"] = "This study"
#
if len(Bdcd) > 0:
rmeths = []
for meth in meths:
rmeths.append(meth)
if verbose and make_plots:
print('plotting IRM')
if irm_init == 0:
cnt += 1
HDD['irm'] = cnt #5 if 'imag' in HDD else 4
if make_plots and (not save_plots):
pmagplotlib.plot_init(HDD['irm'], 5, 5)
irm_init = 1
rpars = pmagplotlib.plot_irm(HDD['irm'], Bdcd, Mdcd, irm_exp)
HystRec['rem_mr_moment'] = rpars['remanence_mr_moment']
HystRec['rem_bcr'] = rpars['remanence_bcr']
HystRec['experiments'] = specimen+':'+irm_exp
if rpars["magic_method_codes"] not in meths:
meths.append(rpars["magic_method_codes"])
methods = ""
for meth in rmeths:
methods = methods+meth.strip()+":"
HystRec["method_codes"] = HystRec['method_codes']+':'+methods[:-1]
HystRec["citations"] = "This study"
else:
if irm_init:
pmagplotlib.clearFIG(HDD['irm'])
if len(Bimag) > 0:
if verbose and make_plots:
print('plotting initial magnetization curve')
# first normalize by Ms
Mnorm = []
for m in Mimag:
Mnorm.append(m / float(hpars['hysteresis_ms_moment']))
if imag_init == 0:
HDD['imag'] = 4
if make_plots and (not save_plots):
pmagplotlib.plot_init(HDD['imag'], 5, 5)
imag_init = 1
pmagplotlib.plot_imag(HDD['imag'], Bimag, Mnorm, imag_exp)
else:
if imag_init:
pmagplotlib.clearFIG(HDD['imag'])
if len(list(HystRec.keys())) > 0:
HystRecs.append(HystRec)
#
files = {}
if save_plots and make_plots:
if pltspec:
s = pltspec
else:
s = specimen
files = {}
for key in list(HDD.keys()):
if incl_directory:
files[key] = os.path.join(output_dir_path, s+'_'+key+'.'+fmt)
else:
files[key] = s+'_'+key+'.'+fmt
if make_plots and save_plots:
pmagplotlib.save_plots(HDD, files, incl_directory=incl_directory)
#if pltspec:
# return True, []
if interactive:
pmagplotlib.draw_figs(HDD)
ans = input(
"S[a]ve plots, [s]pecimen name, [q]uit, <return> to continue\n ")
if ans == "a":
files = {}
for key in list(HDD.keys()):
if incl_directory:
files[key] = os.path.join(output_dir_path, specimen+'_'+key+'.'+fmt)
else:
files[key] = specimen+'_'+key+'.'+fmt
pmagplotlib.save_plots(HDD, files, incl_directory=incl_directory)
if ans == '':
k += 1
if ans == "p":
del HystRecs[-1]
k -= 1
if ans == 'q':
print("Good bye")
return True, []
if ans == 's':
keepon = 1
specimen = input(
'Enter desired specimen name (or first part there of): ')
while keepon == 1:
try:
k = sids.index(specimen)
keepon = 0
except:
tmplist = []
for qq in range(len(sids)):
if specimen in sids[qq]:
tmplist.append(sids[qq])
print(specimen, " not found, but this was: ")
print(tmplist)
specimen = input('Select one or try again\n ')
k = sids.index(specimen)
else:
k += 1
if len(B) == 0 and len(Bdcd) == 0:
if verbose:
print('skipping this one - no hysteresis data')
k += 1
if k < len(sids):
# must re-init figs for Windows to keep size
if make_plots and set_env.IS_WIN:
if not save_plots:
pmagplotlib.plot_init(HDD['DdeltaM'], 5, 5)
pmagplotlib.plot_init(HDD['deltaM'], 5, 5)
pmagplotlib.plot_init(HDD['hyst'], 5, 5)
if len(Bimag) > 0:
HDD['imag'] = 4
if not save_plots:
pmagplotlib.plot_init(HDD['imag'], 5, 5)
if len(Bdcd) > 0:
HDD['irm'] = 5 if 'imag' in HDD else 4
if not save_plots:
pmagplotlib.plot_init(HDD['irm'], 5, 5)
elif not make_plots and set_env.IS_WIN:
HDD['hyst'], HDD['deltaM'], HDD['DdeltaM'], HDD['irm'], HDD['imag'] = 0, 0, 0, 0, 0
if len(HystRecs) > 0:
# go through prior_data, clean out prior results and save combined file as spec_file
SpecRecs, keys = [], list(HystRecs[0].keys())
if len(prior_data) > 0:
prior_keys = list(prior_data[0].keys())
else:
prior_keys = []
for rec in prior_data:
for key in keys:
if key not in list(rec.keys()):
rec[key] = ""
if 'LP-HYS' not in rec['method_codes']:
SpecRecs.append(rec)
for rec in HystRecs:
for key in prior_keys:
if key not in list(rec.keys()):
rec[key] = ""
prior = pmag.get_dictitem(
prior_data, 'specimen', rec['specimen'], 'T')
if len(prior) > 0 and 'sample' in list(prior[0].keys()):
# pull sample name from prior specimens table
rec['sample'] = prior[0]['sample']
SpecRecs.append(rec)
# drop unnecessary/duplicate rows
#dir_path = os.path.split(spec_file)[0]
con = cb.Contribution(input_dir_path, read_tables=[])
con.add_magic_table_from_data('specimens', SpecRecs)
con.tables['specimens'].drop_duplicate_rows(
ignore_cols=['specimen', 'sample', 'citations', 'software_packages'])
con.tables['specimens'].df = con.tables['specimens'].df.drop_duplicates()
spec_file = os.path.join(output_dir_path, os.path.split(spec_file)[1])
con.write_table_to_file('specimens', custom_name=spec_file)
if verbose:
print("hysteresis parameters saved in ", spec_file)
return True, [spec_file]
|
[
"def",
"hysteresis_magic",
"(",
"output_dir_path",
"=",
"\".\"",
",",
"input_dir_path",
"=",
"\"\"",
",",
"spec_file",
"=",
"\"specimens.txt\"",
",",
"meas_file",
"=",
"\"measurements.txt\"",
",",
"fmt",
"=",
"\"svg\"",
",",
"save_plots",
"=",
"True",
",",
"make_plots",
"=",
"True",
",",
"pltspec",
"=",
"\"\"",
",",
"n_specs",
"=",
"5",
",",
"interactive",
"=",
"False",
")",
":",
"# put plots in output_dir_path, unless isServer",
"incl_directory",
"=",
"True",
"if",
"pmagplotlib",
".",
"isServer",
"or",
"set_env",
".",
"IS_WIN",
":",
"incl_directory",
"=",
"False",
"# figure out directory/file paths",
"input_dir_path",
",",
"output_dir_path",
"=",
"pmag",
".",
"fix_directories",
"(",
"input_dir_path",
",",
"output_dir_path",
")",
"spec_file",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"spec_file",
",",
"input_dir_path",
")",
"meas_file",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"meas_file",
",",
"input_dir_path",
")",
"# format and initialize variables",
"verbose",
"=",
"pmagplotlib",
".",
"verbose",
"version_num",
"=",
"pmag",
".",
"get_version",
"(",
")",
"if",
"not",
"make_plots",
":",
"irm_init",
",",
"imag_init",
"=",
"-",
"1",
",",
"-",
"1",
"save_plots",
"=",
"False",
"if",
"save_plots",
":",
"verbose",
"=",
"False",
"if",
"pltspec",
":",
"pass",
"if",
"interactive",
":",
"save_plots",
"=",
"False",
"SpecRecs",
"=",
"[",
"]",
"#",
"#",
"meas_data",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"meas_file",
")",
"if",
"file_type",
"!=",
"'measurements'",
":",
"print",
"(",
"'bad file'",
",",
"meas_file",
")",
"return",
"False",
",",
"[",
"]",
"#",
"# initialize some variables",
"# define figure numbers for hyst,deltaM,DdeltaM curves",
"HystRecs",
",",
"RemRecs",
"=",
"[",
"]",
",",
"[",
"]",
"HDD",
"=",
"{",
"}",
"if",
"verbose",
"and",
"make_plots",
":",
"print",
"(",
"\"Plots may be on top of each other - use mouse to place \"",
")",
"if",
"make_plots",
":",
"HDD",
"[",
"'hyst'",
"]",
",",
"HDD",
"[",
"'deltaM'",
"]",
",",
"HDD",
"[",
"'DdeltaM'",
"]",
"=",
"1",
",",
"2",
",",
"3",
"if",
"make_plots",
"and",
"(",
"not",
"save_plots",
")",
":",
"pmagplotlib",
".",
"plot_init",
"(",
"HDD",
"[",
"'DdeltaM'",
"]",
",",
"5",
",",
"5",
")",
"pmagplotlib",
".",
"plot_init",
"(",
"HDD",
"[",
"'deltaM'",
"]",
",",
"5",
",",
"5",
")",
"pmagplotlib",
".",
"plot_init",
"(",
"HDD",
"[",
"'hyst'",
"]",
",",
"5",
",",
"5",
")",
"imag_init",
"=",
"0",
"irm_init",
"=",
"0",
"else",
":",
"HDD",
"[",
"'hyst'",
"]",
",",
"HDD",
"[",
"'deltaM'",
"]",
",",
"HDD",
"[",
"'DdeltaM'",
"]",
",",
"HDD",
"[",
"'irm'",
"]",
",",
"HDD",
"[",
"'imag'",
"]",
"=",
"0",
",",
"0",
",",
"0",
",",
"0",
",",
"0",
"#",
"if",
"spec_file",
":",
"prior_data",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"spec_file",
")",
"#",
"# get list of unique experiment names and specimen names",
"#",
"experiment_names",
",",
"sids",
"=",
"[",
"]",
",",
"[",
"]",
"hys_data",
"=",
"pmag",
".",
"get_dictitem",
"(",
"meas_data",
",",
"'method_codes'",
",",
"'LP-HYS'",
",",
"'has'",
")",
"dcd_data",
"=",
"pmag",
".",
"get_dictitem",
"(",
"meas_data",
",",
"'method_codes'",
",",
"'LP-IRM-DCD'",
",",
"'has'",
")",
"imag_data",
"=",
"pmag",
".",
"get_dictitem",
"(",
"meas_data",
",",
"'method_codes'",
",",
"'LP-IMAG'",
",",
"'has'",
")",
"for",
"rec",
"in",
"hys_data",
":",
"if",
"rec",
"[",
"'experiment'",
"]",
"not",
"in",
"experiment_names",
":",
"experiment_names",
".",
"append",
"(",
"rec",
"[",
"'experiment'",
"]",
")",
"if",
"rec",
"[",
"'specimen'",
"]",
"not",
"in",
"sids",
":",
"sids",
".",
"append",
"(",
"rec",
"[",
"'specimen'",
"]",
")",
"#",
"k",
"=",
"0",
"# if plotting only one specimen, find it",
"if",
"pltspec",
":",
"k",
"=",
"sids",
".",
"index",
"(",
"pltspec",
")",
"# if plotting only n specimens, remove others from the list",
"elif",
"n_specs",
"!=",
"\"all\"",
":",
"try",
":",
"sids",
"=",
"sids",
"[",
":",
"n_specs",
"]",
"except",
":",
"pass",
"cnt",
"=",
"0",
"while",
"k",
"<",
"len",
"(",
"sids",
")",
":",
"specimen",
"=",
"sids",
"[",
"k",
"]",
"if",
"pltspec",
":",
"if",
"specimen",
"!=",
"pltspec",
":",
"k",
"+=",
"1",
"continue",
"else",
":",
"for",
"key",
",",
"value",
"in",
"HDD",
".",
"items",
"(",
")",
":",
"cnt",
"+=",
"1",
"HDD",
"[",
"key",
"]",
"=",
"cnt",
"#HDD = {key: value + len(HDD) + k for (key, value) in HDD.items()}",
"# initialize a new specimen hysteresis record",
"HystRec",
"=",
"{",
"'specimen'",
":",
"specimen",
",",
"'experiment'",
":",
"\"\"",
"}",
"if",
"verbose",
"and",
"make_plots",
":",
"print",
"(",
"specimen",
",",
"k",
"+",
"1",
",",
"'out of '",
",",
"len",
"(",
"sids",
")",
")",
"#",
"#",
"# B,M for hysteresis, Bdcd,Mdcd for irm-dcd data",
"B",
",",
"M",
",",
"Bdcd",
",",
"Mdcd",
"=",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
"Bimag",
",",
"Mimag",
"=",
"[",
"]",
",",
"[",
"]",
"# Bimag,Mimag for initial magnetization curves",
"# fish out all the LP-HYS data for this specimen",
"spec_data",
"=",
"pmag",
".",
"get_dictitem",
"(",
"hys_data",
",",
"'specimen'",
",",
"specimen",
",",
"'T'",
")",
"if",
"len",
"(",
"spec_data",
")",
">",
"0",
":",
"meths",
"=",
"spec_data",
"[",
"0",
"]",
"[",
"'method_codes'",
"]",
".",
"split",
"(",
"':'",
")",
"e",
"=",
"spec_data",
"[",
"0",
"]",
"[",
"'experiment'",
"]",
"HystRec",
"[",
"'experiment'",
"]",
"=",
"spec_data",
"[",
"0",
"]",
"[",
"'experiment'",
"]",
"for",
"rec",
"in",
"spec_data",
":",
"B",
".",
"append",
"(",
"float",
"(",
"rec",
"[",
"'meas_field_dc'",
"]",
")",
")",
"M",
".",
"append",
"(",
"float",
"(",
"rec",
"[",
"'magn_moment'",
"]",
")",
")",
"# fish out all the data for this specimen",
"spec_data",
"=",
"pmag",
".",
"get_dictitem",
"(",
"dcd_data",
",",
"'specimen'",
",",
"specimen",
",",
"'T'",
")",
"if",
"len",
"(",
"spec_data",
")",
">",
"0",
":",
"HystRec",
"[",
"'experiment'",
"]",
"=",
"HystRec",
"[",
"'experiment'",
"]",
"+",
"':'",
"+",
"spec_data",
"[",
"0",
"]",
"[",
"'experiment'",
"]",
"irm_exp",
"=",
"spec_data",
"[",
"0",
"]",
"[",
"'experiment'",
"]",
"for",
"rec",
"in",
"spec_data",
":",
"Bdcd",
".",
"append",
"(",
"float",
"(",
"rec",
"[",
"'treat_dc_field'",
"]",
")",
")",
"Mdcd",
".",
"append",
"(",
"float",
"(",
"rec",
"[",
"'magn_moment'",
"]",
")",
")",
"# fish out all the data for this specimen",
"spec_data",
"=",
"pmag",
".",
"get_dictitem",
"(",
"imag_data",
",",
"'specimen'",
",",
"specimen",
",",
"'T'",
")",
"if",
"len",
"(",
"spec_data",
")",
">",
"0",
":",
"imag_exp",
"=",
"spec_data",
"[",
"0",
"]",
"[",
"'experiment'",
"]",
"for",
"rec",
"in",
"spec_data",
":",
"Bimag",
".",
"append",
"(",
"float",
"(",
"rec",
"[",
"'meas_field_dc'",
"]",
")",
")",
"Mimag",
".",
"append",
"(",
"float",
"(",
"rec",
"[",
"'magn_moment'",
"]",
")",
")",
"#",
"# now plot the hysteresis curve",
"#",
"if",
"len",
"(",
"B",
")",
">",
"0",
":",
"hmeths",
"=",
"[",
"]",
"for",
"meth",
"in",
"meths",
":",
"hmeths",
".",
"append",
"(",
"meth",
")",
"hpars",
"=",
"pmagplotlib",
".",
"plot_hdd",
"(",
"HDD",
",",
"B",
",",
"M",
",",
"e",
")",
"if",
"interactive",
":",
"if",
"not",
"set_env",
".",
"IS_WIN",
":",
"pmagplotlib",
".",
"draw_figs",
"(",
"HDD",
")",
"#",
"if",
"make_plots",
":",
"pmagplotlib",
".",
"plot_hpars",
"(",
"HDD",
",",
"hpars",
",",
"'bs'",
")",
"HystRec",
"[",
"'hyst_mr_moment'",
"]",
"=",
"hpars",
"[",
"'hysteresis_mr_moment'",
"]",
"HystRec",
"[",
"'hyst_ms_moment'",
"]",
"=",
"hpars",
"[",
"'hysteresis_ms_moment'",
"]",
"HystRec",
"[",
"'hyst_bc'",
"]",
"=",
"hpars",
"[",
"'hysteresis_bc'",
"]",
"HystRec",
"[",
"'hyst_bcr'",
"]",
"=",
"hpars",
"[",
"'hysteresis_bcr'",
"]",
"HystRec",
"[",
"'hyst_xhf'",
"]",
"=",
"hpars",
"[",
"'hysteresis_xhf'",
"]",
"HystRec",
"[",
"'experiments'",
"]",
"=",
"e",
"HystRec",
"[",
"'software_packages'",
"]",
"=",
"version_num",
"if",
"hpars",
"[",
"\"magic_method_codes\"",
"]",
"not",
"in",
"hmeths",
":",
"hmeths",
".",
"append",
"(",
"hpars",
"[",
"\"magic_method_codes\"",
"]",
")",
"methods",
"=",
"\"\"",
"for",
"meth",
"in",
"hmeths",
":",
"methods",
"=",
"methods",
"+",
"meth",
".",
"strip",
"(",
")",
"+",
"\":\"",
"HystRec",
"[",
"\"method_codes\"",
"]",
"=",
"methods",
"[",
":",
"-",
"1",
"]",
"HystRec",
"[",
"\"citations\"",
"]",
"=",
"\"This study\"",
"#",
"if",
"len",
"(",
"Bdcd",
")",
">",
"0",
":",
"rmeths",
"=",
"[",
"]",
"for",
"meth",
"in",
"meths",
":",
"rmeths",
".",
"append",
"(",
"meth",
")",
"if",
"verbose",
"and",
"make_plots",
":",
"print",
"(",
"'plotting IRM'",
")",
"if",
"irm_init",
"==",
"0",
":",
"cnt",
"+=",
"1",
"HDD",
"[",
"'irm'",
"]",
"=",
"cnt",
"#5 if 'imag' in HDD else 4",
"if",
"make_plots",
"and",
"(",
"not",
"save_plots",
")",
":",
"pmagplotlib",
".",
"plot_init",
"(",
"HDD",
"[",
"'irm'",
"]",
",",
"5",
",",
"5",
")",
"irm_init",
"=",
"1",
"rpars",
"=",
"pmagplotlib",
".",
"plot_irm",
"(",
"HDD",
"[",
"'irm'",
"]",
",",
"Bdcd",
",",
"Mdcd",
",",
"irm_exp",
")",
"HystRec",
"[",
"'rem_mr_moment'",
"]",
"=",
"rpars",
"[",
"'remanence_mr_moment'",
"]",
"HystRec",
"[",
"'rem_bcr'",
"]",
"=",
"rpars",
"[",
"'remanence_bcr'",
"]",
"HystRec",
"[",
"'experiments'",
"]",
"=",
"specimen",
"+",
"':'",
"+",
"irm_exp",
"if",
"rpars",
"[",
"\"magic_method_codes\"",
"]",
"not",
"in",
"meths",
":",
"meths",
".",
"append",
"(",
"rpars",
"[",
"\"magic_method_codes\"",
"]",
")",
"methods",
"=",
"\"\"",
"for",
"meth",
"in",
"rmeths",
":",
"methods",
"=",
"methods",
"+",
"meth",
".",
"strip",
"(",
")",
"+",
"\":\"",
"HystRec",
"[",
"\"method_codes\"",
"]",
"=",
"HystRec",
"[",
"'method_codes'",
"]",
"+",
"':'",
"+",
"methods",
"[",
":",
"-",
"1",
"]",
"HystRec",
"[",
"\"citations\"",
"]",
"=",
"\"This study\"",
"else",
":",
"if",
"irm_init",
":",
"pmagplotlib",
".",
"clearFIG",
"(",
"HDD",
"[",
"'irm'",
"]",
")",
"if",
"len",
"(",
"Bimag",
")",
">",
"0",
":",
"if",
"verbose",
"and",
"make_plots",
":",
"print",
"(",
"'plotting initial magnetization curve'",
")",
"# first normalize by Ms",
"Mnorm",
"=",
"[",
"]",
"for",
"m",
"in",
"Mimag",
":",
"Mnorm",
".",
"append",
"(",
"m",
"/",
"float",
"(",
"hpars",
"[",
"'hysteresis_ms_moment'",
"]",
")",
")",
"if",
"imag_init",
"==",
"0",
":",
"HDD",
"[",
"'imag'",
"]",
"=",
"4",
"if",
"make_plots",
"and",
"(",
"not",
"save_plots",
")",
":",
"pmagplotlib",
".",
"plot_init",
"(",
"HDD",
"[",
"'imag'",
"]",
",",
"5",
",",
"5",
")",
"imag_init",
"=",
"1",
"pmagplotlib",
".",
"plot_imag",
"(",
"HDD",
"[",
"'imag'",
"]",
",",
"Bimag",
",",
"Mnorm",
",",
"imag_exp",
")",
"else",
":",
"if",
"imag_init",
":",
"pmagplotlib",
".",
"clearFIG",
"(",
"HDD",
"[",
"'imag'",
"]",
")",
"if",
"len",
"(",
"list",
"(",
"HystRec",
".",
"keys",
"(",
")",
")",
")",
">",
"0",
":",
"HystRecs",
".",
"append",
"(",
"HystRec",
")",
"#",
"files",
"=",
"{",
"}",
"if",
"save_plots",
"and",
"make_plots",
":",
"if",
"pltspec",
":",
"s",
"=",
"pltspec",
"else",
":",
"s",
"=",
"specimen",
"files",
"=",
"{",
"}",
"for",
"key",
"in",
"list",
"(",
"HDD",
".",
"keys",
"(",
")",
")",
":",
"if",
"incl_directory",
":",
"files",
"[",
"key",
"]",
"=",
"os",
".",
"path",
".",
"join",
"(",
"output_dir_path",
",",
"s",
"+",
"'_'",
"+",
"key",
"+",
"'.'",
"+",
"fmt",
")",
"else",
":",
"files",
"[",
"key",
"]",
"=",
"s",
"+",
"'_'",
"+",
"key",
"+",
"'.'",
"+",
"fmt",
"if",
"make_plots",
"and",
"save_plots",
":",
"pmagplotlib",
".",
"save_plots",
"(",
"HDD",
",",
"files",
",",
"incl_directory",
"=",
"incl_directory",
")",
"#if pltspec:",
"# return True, []",
"if",
"interactive",
":",
"pmagplotlib",
".",
"draw_figs",
"(",
"HDD",
")",
"ans",
"=",
"input",
"(",
"\"S[a]ve plots, [s]pecimen name, [q]uit, <return> to continue\\n \"",
")",
"if",
"ans",
"==",
"\"a\"",
":",
"files",
"=",
"{",
"}",
"for",
"key",
"in",
"list",
"(",
"HDD",
".",
"keys",
"(",
")",
")",
":",
"if",
"incl_directory",
":",
"files",
"[",
"key",
"]",
"=",
"os",
".",
"path",
".",
"join",
"(",
"output_dir_path",
",",
"specimen",
"+",
"'_'",
"+",
"key",
"+",
"'.'",
"+",
"fmt",
")",
"else",
":",
"files",
"[",
"key",
"]",
"=",
"specimen",
"+",
"'_'",
"+",
"key",
"+",
"'.'",
"+",
"fmt",
"pmagplotlib",
".",
"save_plots",
"(",
"HDD",
",",
"files",
",",
"incl_directory",
"=",
"incl_directory",
")",
"if",
"ans",
"==",
"''",
":",
"k",
"+=",
"1",
"if",
"ans",
"==",
"\"p\"",
":",
"del",
"HystRecs",
"[",
"-",
"1",
"]",
"k",
"-=",
"1",
"if",
"ans",
"==",
"'q'",
":",
"print",
"(",
"\"Good bye\"",
")",
"return",
"True",
",",
"[",
"]",
"if",
"ans",
"==",
"'s'",
":",
"keepon",
"=",
"1",
"specimen",
"=",
"input",
"(",
"'Enter desired specimen name (or first part there of): '",
")",
"while",
"keepon",
"==",
"1",
":",
"try",
":",
"k",
"=",
"sids",
".",
"index",
"(",
"specimen",
")",
"keepon",
"=",
"0",
"except",
":",
"tmplist",
"=",
"[",
"]",
"for",
"qq",
"in",
"range",
"(",
"len",
"(",
"sids",
")",
")",
":",
"if",
"specimen",
"in",
"sids",
"[",
"qq",
"]",
":",
"tmplist",
".",
"append",
"(",
"sids",
"[",
"qq",
"]",
")",
"print",
"(",
"specimen",
",",
"\" not found, but this was: \"",
")",
"print",
"(",
"tmplist",
")",
"specimen",
"=",
"input",
"(",
"'Select one or try again\\n '",
")",
"k",
"=",
"sids",
".",
"index",
"(",
"specimen",
")",
"else",
":",
"k",
"+=",
"1",
"if",
"len",
"(",
"B",
")",
"==",
"0",
"and",
"len",
"(",
"Bdcd",
")",
"==",
"0",
":",
"if",
"verbose",
":",
"print",
"(",
"'skipping this one - no hysteresis data'",
")",
"k",
"+=",
"1",
"if",
"k",
"<",
"len",
"(",
"sids",
")",
":",
"# must re-init figs for Windows to keep size",
"if",
"make_plots",
"and",
"set_env",
".",
"IS_WIN",
":",
"if",
"not",
"save_plots",
":",
"pmagplotlib",
".",
"plot_init",
"(",
"HDD",
"[",
"'DdeltaM'",
"]",
",",
"5",
",",
"5",
")",
"pmagplotlib",
".",
"plot_init",
"(",
"HDD",
"[",
"'deltaM'",
"]",
",",
"5",
",",
"5",
")",
"pmagplotlib",
".",
"plot_init",
"(",
"HDD",
"[",
"'hyst'",
"]",
",",
"5",
",",
"5",
")",
"if",
"len",
"(",
"Bimag",
")",
">",
"0",
":",
"HDD",
"[",
"'imag'",
"]",
"=",
"4",
"if",
"not",
"save_plots",
":",
"pmagplotlib",
".",
"plot_init",
"(",
"HDD",
"[",
"'imag'",
"]",
",",
"5",
",",
"5",
")",
"if",
"len",
"(",
"Bdcd",
")",
">",
"0",
":",
"HDD",
"[",
"'irm'",
"]",
"=",
"5",
"if",
"'imag'",
"in",
"HDD",
"else",
"4",
"if",
"not",
"save_plots",
":",
"pmagplotlib",
".",
"plot_init",
"(",
"HDD",
"[",
"'irm'",
"]",
",",
"5",
",",
"5",
")",
"elif",
"not",
"make_plots",
"and",
"set_env",
".",
"IS_WIN",
":",
"HDD",
"[",
"'hyst'",
"]",
",",
"HDD",
"[",
"'deltaM'",
"]",
",",
"HDD",
"[",
"'DdeltaM'",
"]",
",",
"HDD",
"[",
"'irm'",
"]",
",",
"HDD",
"[",
"'imag'",
"]",
"=",
"0",
",",
"0",
",",
"0",
",",
"0",
",",
"0",
"if",
"len",
"(",
"HystRecs",
")",
">",
"0",
":",
"# go through prior_data, clean out prior results and save combined file as spec_file",
"SpecRecs",
",",
"keys",
"=",
"[",
"]",
",",
"list",
"(",
"HystRecs",
"[",
"0",
"]",
".",
"keys",
"(",
")",
")",
"if",
"len",
"(",
"prior_data",
")",
">",
"0",
":",
"prior_keys",
"=",
"list",
"(",
"prior_data",
"[",
"0",
"]",
".",
"keys",
"(",
")",
")",
"else",
":",
"prior_keys",
"=",
"[",
"]",
"for",
"rec",
"in",
"prior_data",
":",
"for",
"key",
"in",
"keys",
":",
"if",
"key",
"not",
"in",
"list",
"(",
"rec",
".",
"keys",
"(",
")",
")",
":",
"rec",
"[",
"key",
"]",
"=",
"\"\"",
"if",
"'LP-HYS'",
"not",
"in",
"rec",
"[",
"'method_codes'",
"]",
":",
"SpecRecs",
".",
"append",
"(",
"rec",
")",
"for",
"rec",
"in",
"HystRecs",
":",
"for",
"key",
"in",
"prior_keys",
":",
"if",
"key",
"not",
"in",
"list",
"(",
"rec",
".",
"keys",
"(",
")",
")",
":",
"rec",
"[",
"key",
"]",
"=",
"\"\"",
"prior",
"=",
"pmag",
".",
"get_dictitem",
"(",
"prior_data",
",",
"'specimen'",
",",
"rec",
"[",
"'specimen'",
"]",
",",
"'T'",
")",
"if",
"len",
"(",
"prior",
")",
">",
"0",
"and",
"'sample'",
"in",
"list",
"(",
"prior",
"[",
"0",
"]",
".",
"keys",
"(",
")",
")",
":",
"# pull sample name from prior specimens table",
"rec",
"[",
"'sample'",
"]",
"=",
"prior",
"[",
"0",
"]",
"[",
"'sample'",
"]",
"SpecRecs",
".",
"append",
"(",
"rec",
")",
"# drop unnecessary/duplicate rows",
"#dir_path = os.path.split(spec_file)[0]",
"con",
"=",
"cb",
".",
"Contribution",
"(",
"input_dir_path",
",",
"read_tables",
"=",
"[",
"]",
")",
"con",
".",
"add_magic_table_from_data",
"(",
"'specimens'",
",",
"SpecRecs",
")",
"con",
".",
"tables",
"[",
"'specimens'",
"]",
".",
"drop_duplicate_rows",
"(",
"ignore_cols",
"=",
"[",
"'specimen'",
",",
"'sample'",
",",
"'citations'",
",",
"'software_packages'",
"]",
")",
"con",
".",
"tables",
"[",
"'specimens'",
"]",
".",
"df",
"=",
"con",
".",
"tables",
"[",
"'specimens'",
"]",
".",
"df",
".",
"drop_duplicates",
"(",
")",
"spec_file",
"=",
"os",
".",
"path",
".",
"join",
"(",
"output_dir_path",
",",
"os",
".",
"path",
".",
"split",
"(",
"spec_file",
")",
"[",
"1",
"]",
")",
"con",
".",
"write_table_to_file",
"(",
"'specimens'",
",",
"custom_name",
"=",
"spec_file",
")",
"if",
"verbose",
":",
"print",
"(",
"\"hysteresis parameters saved in \"",
",",
"spec_file",
")",
"return",
"True",
",",
"[",
"spec_file",
"]"
] |
Calculate hysteresis parameters and plot hysteresis data.
Plotting may be called interactively with save_plots==False,
or be suppressed entirely with make_plots==False.
Parameters
----------
output_dir_path : str, default "."
Note: if using Windows, all figures will be saved to working directly
*not* dir_path
input_dir_path : str
path for intput file if different from output_dir_path (default is same)
spec_file : str, default "specimens.txt"
output file to save hysteresis data
meas_file : str, default "measurements.txt"
input measurement file
fmt : str, default "svg"
format for figures, [svg, jpg, pdf, png]
save_plots : bool, default True
if True, generate and save all requested plots
make_plots : bool, default True
if False, skip making plots and just save hysteresis data
(if False, save_plots will be set to False also)
pltspec : str, default ""
specimen name to plot, otherwise will plot all specimens
n_specs : int
number of specimens to plot, default 5
if you want to make all possible plots, specify "all"
interactive : bool, default False
interactively plot and display for each specimen
(this is best used on the command line or in the Python interpreter)
Returns
---------
Tuple : (True or False indicating if conversion was sucessful, output file names written)
|
[
"Calculate",
"hysteresis",
"parameters",
"and",
"plot",
"hysteresis",
"data",
".",
"Plotting",
"may",
"be",
"called",
"interactively",
"with",
"save_plots",
"==",
"False",
"or",
"be",
"suppressed",
"entirely",
"with",
"make_plots",
"==",
"False",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L10773-L11118
|
train
|
This function calculates parameters and plots hysteresis data for a single specimen and returns a tuple of True if conversion was sucessful False otherwise.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(49) + '\x37' + chr(0b110101 + 0o1), 0b1000), nzTpIcepk0o8(chr(0b100110 + 0o12) + '\157' + chr(2121 - 2072) + '\x34' + chr(50), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b100000 + 0o22) + chr(0b100000 + 0o20) + chr(0b110000), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b111 + 0o150) + chr(0b100 + 0o61), 0o10), nzTpIcepk0o8('\x30' + chr(10358 - 10247) + chr(0b10101 + 0o34) + chr(51) + chr(0b100001 + 0o23), ord("\x08")), nzTpIcepk0o8(chr(320 - 272) + '\157' + '\x33' + chr(0b110111) + '\x30', 0o10), nzTpIcepk0o8('\x30' + chr(0b111001 + 0o66) + chr(50) + '\x34' + '\062', 48643 - 48635), nzTpIcepk0o8(chr(0b11110 + 0o22) + chr(0b1101001 + 0o6) + chr(0b110010) + chr(0b110001) + chr(1516 - 1461), 0b1000), nzTpIcepk0o8(chr(0b1111 + 0o41) + chr(0b1111 + 0o140) + chr(384 - 334) + chr(55) + '\x37', 0b1000), nzTpIcepk0o8('\x30' + chr(111) + chr(241 - 191) + '\067' + chr(0b110011), 0b1000), nzTpIcepk0o8('\060' + '\x6f' + chr(49) + '\x35' + chr(0b110100), 0o10), nzTpIcepk0o8('\060' + chr(111) + chr(51) + chr(51) + '\063', 1368 - 1360), nzTpIcepk0o8('\060' + chr(0b111100 + 0o63) + '\x32' + '\x34' + chr(0b110001), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\x32' + chr(0b101101 + 0o7) + chr(54), 2831 - 2823), nzTpIcepk0o8(chr(0b10011 + 0o35) + chr(111) + chr(0b100001 + 0o21) + '\x33' + chr(50), 0o10), nzTpIcepk0o8(chr(70 - 22) + chr(111) + chr(49) + '\x36' + chr(48), ord("\x08")), nzTpIcepk0o8(chr(2246 - 2198) + chr(0b1101111) + chr(51) + '\x34' + chr(0b110111), 45280 - 45272), nzTpIcepk0o8(chr(0b110000) + chr(0b1000110 + 0o51) + '\x35' + '\x30', 0o10), nzTpIcepk0o8('\x30' + chr(111) + '\062' + chr(48) + chr(0b110100), 0b1000), nzTpIcepk0o8(chr(0b1011 + 0o45) + chr(0b1101111) + chr(0b110010) + chr(55) + chr(0b110100), 25415 - 25407), nzTpIcepk0o8(chr(48) + chr(9806 - 9695) + '\064' + chr(0b101100 + 0o5), 0b1000), nzTpIcepk0o8(chr(0b110000) + '\157' + '\063' + '\064', 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111 + 0o0) + '\063' + chr(0b110000) + '\x35', 0o10), nzTpIcepk0o8(chr(1843 - 1795) + '\x6f' + chr(0b110010) + '\x37' + chr(53), 0b1000), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b110010) + chr(52) + '\x32', 8), nzTpIcepk0o8(chr(0b11100 + 0o24) + '\157' + chr(0b110011) + chr(0b10000 + 0o45) + '\063', 0b1000), nzTpIcepk0o8('\x30' + chr(0b10010 + 0o135) + chr(51) + chr(0b11111 + 0o24) + '\x35', 62220 - 62212), nzTpIcepk0o8(chr(1257 - 1209) + chr(0b1101111) + '\061' + chr(0b110100) + chr(0b10000 + 0o43), 0b1000), nzTpIcepk0o8('\060' + chr(0b1101111) + '\x31' + chr(52), 40790 - 40782), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(1215 - 1166) + chr(1287 - 1233) + chr(1147 - 1098), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\067' + chr(913 - 864), 27205 - 27197), nzTpIcepk0o8('\060' + '\x6f' + chr(1987 - 1936) + chr(0b10010 + 0o36) + '\066', 0b1000), nzTpIcepk0o8(chr(0b1100 + 0o44) + chr(11399 - 11288) + '\x33' + chr(0b110101), 0o10), nzTpIcepk0o8(chr(1585 - 1537) + '\157' + '\063' + '\067', 0b1000), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110011) + '\x31' + '\064', 0b1000), nzTpIcepk0o8(chr(0b10100 + 0o34) + '\x6f' + '\x31' + chr(55) + chr(352 - 301), 0b1000), nzTpIcepk0o8(chr(48) + chr(111) + chr(1246 - 1196), 0b1000), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x32' + '\x30' + chr(605 - 556), ord("\x08")), nzTpIcepk0o8(chr(0b1010 + 0o46) + '\x6f' + chr(0b11010 + 0o30) + chr(48) + chr(0b110100), 8), nzTpIcepk0o8(chr(48) + chr(2380 - 2269) + chr(51) + chr(0b110010) + chr(0b110001), 0o10)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(53) + chr(738 - 690), 8)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'P'), chr(0b1011111 + 0o5) + '\x65' + chr(9525 - 9426) + chr(111) + chr(100) + chr(0b11010 + 0o113))(chr(0b1110101) + '\x74' + chr(0b1100110) + chr(0b101101) + chr(0b110010 + 0o6)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def xSpr1jxWFiXl(YtDhZvF7VzwC=roI3spqORKae(ES5oEprVxulp(b'P'), chr(0b111 + 0o135) + '\145' + '\143' + '\x6f' + chr(100) + chr(2555 - 2454))('\x75' + chr(0b1110100) + chr(0b1100110) + chr(1069 - 1024) + chr(0b11010 + 0o36)), KADebXAR9grB=roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(101) + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(4034 - 3933))('\165' + chr(3678 - 3562) + chr(0b1000010 + 0o44) + chr(0b11 + 0o52) + chr(1303 - 1247)), QJgeTIOanow9=roI3spqORKae(ES5oEprVxulp(b'\r\x12\xe5f5\x95\xc7\xe1\xcc\x95\x18\xa3\xd5'), '\x64' + '\145' + chr(0b1100011) + chr(6447 - 6336) + chr(100) + '\x65')(chr(117) + chr(116) + chr(0b1000001 + 0o45) + chr(45) + chr(0b111000)), rHPU8oONrR4n=roI3spqORKae(ES5oEprVxulp(b'\x13\x07\xe1v)\x8a\xc7\xe2\xda\xd5\x18\xa8\x8f\xd2\xe2\x04'), '\x64' + chr(0b1 + 0o144) + '\143' + '\157' + chr(0b1100100) + chr(0b1010011 + 0o22))(chr(117) + chr(12759 - 12643) + '\146' + '\055' + chr(1616 - 1560)), JummcHpaNLEw=roI3spqORKae(ES5oEprVxulp(b'\r\x14\xe7'), chr(100) + '\145' + chr(99) + '\157' + chr(4693 - 4593) + '\145')(chr(0b1110101) + chr(0b1110100) + chr(0b100110 + 0o100) + '\055' + chr(0b111000)), bxxuZm4I6LgY=nzTpIcepk0o8(chr(0b10100 + 0o34) + chr(0b1101111) + chr(1677 - 1628), ord("\x08")), xMF4aPRocaG1=nzTpIcepk0o8(chr(68 - 20) + chr(7929 - 7818) + '\x31', 8), DafvJs_zqETJ=roI3spqORKae(ES5oEprVxulp(b''), chr(100) + '\x65' + chr(99) + '\157' + chr(0b1001000 + 0o34) + '\x65')(chr(0b1110101) + chr(3801 - 3685) + '\x66' + chr(45) + chr(0b11101 + 0o33)), nPQiWzQBWTDn=nzTpIcepk0o8(chr(0b110000) + chr(0b1 + 0o156) + chr(0b110101), 8), f4XDWm__k5ZA=nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(2254 - 2206), 0b1000)):
JyFDm8vknbFK = nzTpIcepk0o8(chr(0b110000) + chr(0b111011 + 0o64) + chr(71 - 22), 8)
if roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\x17\x11\xd3`.\x8e\xc7\xfd'), chr(5238 - 5138) + chr(10040 - 9939) + '\x63' + '\157' + '\x64' + '\145')(chr(1614 - 1497) + chr(1759 - 1643) + '\x66' + '\055' + chr(56))) or roI3spqORKae(NsnRtbLAhqc_, roI3spqORKae(ES5oEprVxulp(b'71\xdfR\x15\xb6'), chr(0b1100100) + '\x65' + '\x63' + chr(0b101011 + 0o104) + chr(3770 - 3670) + chr(9331 - 9230))('\165' + chr(0b1110100) + chr(102) + chr(45) + '\x38')):
JyFDm8vknbFK = nzTpIcepk0o8(chr(2130 - 2082) + chr(9515 - 9404) + chr(1298 - 1250), 8)
(KADebXAR9grB, YtDhZvF7VzwC) = hUcsWwAd0nE_.fix_directories(KADebXAR9grB, YtDhZvF7VzwC)
QJgeTIOanow9 = hUcsWwAd0nE_.resolve_file_name(QJgeTIOanow9, KADebXAR9grB)
rHPU8oONrR4n = hUcsWwAd0nE_.resolve_file_name(rHPU8oONrR4n, KADebXAR9grB)
TseISVdPlfdM = o77KS_r9H7AX.TseISVdPlfdM
uNg9Yeq376oN = hUcsWwAd0nE_.get_version()
if not xMF4aPRocaG1:
(omWVnqjCHP7f, R1OvxaFv2meR) = (-nzTpIcepk0o8(chr(0b11110 + 0o22) + '\x6f' + chr(0b111 + 0o52), 8), -nzTpIcepk0o8(chr(0b100000 + 0o20) + chr(111) + '\x31', 8))
bxxuZm4I6LgY = nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(2303 - 2255), 8)
if bxxuZm4I6LgY:
TseISVdPlfdM = nzTpIcepk0o8(chr(0b100011 + 0o15) + chr(0b1101111) + chr(0b10101 + 0o33), 8)
if DafvJs_zqETJ:
pass
if f4XDWm__k5ZA:
bxxuZm4I6LgY = nzTpIcepk0o8('\060' + chr(0b1101100 + 0o3) + '\060', 8)
ats0aw_IRz86 = []
(wx5Y9SFJEaEM, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(rHPU8oONrR4n)
if mWsDpG3yRGLz != roI3spqORKae(ES5oEprVxulp(b'\x13\x07\xe1v)\x8a\xc7\xe2\xda\xd5\x18\xa8'), '\x64' + chr(101) + chr(0b1010011 + 0o20) + chr(0b1101111) + chr(100) + chr(7132 - 7031))(chr(0b100000 + 0o125) + chr(0b1110100) + chr(0b1100110) + chr(45) + chr(56)):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x1c\x03\xe4%:\x91\xce\xea'), '\x64' + '\x65' + '\x63' + '\x6f' + chr(100) + chr(7347 - 7246))(chr(0b1110101) + chr(116) + chr(5588 - 5486) + chr(0b101101) + chr(56)), rHPU8oONrR4n)
return (nzTpIcepk0o8('\x30' + chr(111) + chr(0b110000), 8), [])
(lyyaSLqlyF3P, unPes3nqNK0J) = ([], [])
mVI5sGGXVJu2 = {}
if TseISVdPlfdM and xMF4aPRocaG1:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'.\x0e\xefq/\xd8\xcf\xee\xc6\x9b\x0e\xbe\x81\xc9\xf4P\x93G\xf4\x9cNz\xe5\xd8\xc3\x88\xb5Cc\x05Q\xa3o?\xe1[w\xf2\xe1\xf1\x13\r\xf5v9\xd8\xd6\xe0\x9f\xcb\x00\xba\xc2\xc3\xba'), '\x64' + chr(0b1100101) + chr(99) + chr(111) + chr(0b1100100) + chr(9925 - 9824))('\165' + '\x74' + chr(0b11001 + 0o115) + chr(0b1100 + 0o41) + chr(887 - 831)))
if xMF4aPRocaG1:
(mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b'\x16\x1b\xf3q'), chr(100) + chr(101) + '\x63' + '\x6f' + chr(2135 - 2035) + '\145')(chr(0b1001111 + 0o46) + '\164' + '\x66' + chr(1819 - 1774) + chr(0b111000))], mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b'\x1a\x07\xecq=\xb5'), '\144' + chr(0b1100101) + chr(7587 - 7488) + '\157' + chr(0b1100100) + chr(101))(chr(0b10 + 0o163) + '\x74' + chr(0b1100110) + '\x2d' + chr(56))], mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b':\x06\xe5i(\x99\xef'), chr(627 - 527) + chr(101) + '\x63' + chr(0b1101111) + chr(100) + chr(101))('\165' + '\164' + chr(102) + chr(657 - 612) + '\070')]) = (nzTpIcepk0o8('\060' + chr(111) + '\x31', 8), nzTpIcepk0o8(chr(0b101001 + 0o7) + '\157' + chr(1416 - 1366), 8), nzTpIcepk0o8(chr(0b100010 + 0o16) + chr(0b100101 + 0o112) + chr(0b110011), ord("\x08")))
if xMF4aPRocaG1 and (not bxxuZm4I6LgY):
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\x0e\x0e\xefq\x03\x91\xcc\xe6\xcb'), chr(0b1100100) + chr(7954 - 7853) + chr(99) + chr(11175 - 11064) + chr(0b1010100 + 0o20) + chr(2927 - 2826))(chr(0b100010 + 0o123) + '\164' + chr(256 - 154) + chr(0b1110 + 0o37) + '\070'))(mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b':\x06\xe5i(\x99\xef'), chr(100) + chr(0b1100 + 0o131) + '\x63' + '\157' + chr(0b1100100) + chr(9596 - 9495))(chr(0b1110101) + chr(116) + chr(1942 - 1840) + chr(45) + chr(0b111000))], nzTpIcepk0o8('\060' + chr(0b10001 + 0o136) + chr(0b110101), 8), nzTpIcepk0o8(chr(0b1011 + 0o45) + chr(0b101010 + 0o105) + chr(2098 - 2045), 8))
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\x0e\x0e\xefq\x03\x91\xcc\xe6\xcb'), chr(0b100001 + 0o103) + chr(0b1100101) + chr(0b11 + 0o140) + chr(0b111000 + 0o67) + '\x64' + chr(0b10 + 0o143))(chr(0b1110011 + 0o2) + chr(0b1100101 + 0o17) + '\146' + '\x2d' + '\x38'))(mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b'\x1a\x07\xecq=\xb5'), chr(0b1100100) + chr(9014 - 8913) + '\143' + chr(1144 - 1033) + '\144' + '\x65')('\x75' + '\164' + chr(9338 - 9236) + chr(0b10111 + 0o26) + chr(56))], nzTpIcepk0o8('\060' + '\157' + chr(53), 8), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(53), 8))
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\x0e\x0e\xefq\x03\x91\xcc\xe6\xcb'), chr(100) + chr(5706 - 5605) + chr(1508 - 1409) + chr(0b1101111) + chr(625 - 525) + chr(5162 - 5061))(chr(117) + chr(0b1110100) + chr(0b1100110) + chr(45) + chr(0b101001 + 0o17)))(mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b'\x16\x1b\xf3q'), chr(0b1100100) + chr(101) + '\143' + '\x6f' + chr(0b1100010 + 0o2) + '\x65')('\165' + chr(116) + chr(0b1011000 + 0o16) + '\055' + chr(0b10010 + 0o46))], nzTpIcepk0o8('\060' + chr(0b1000001 + 0o56) + chr(53), 8), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\x35', 8))
R1OvxaFv2meR = nzTpIcepk0o8(chr(1955 - 1907) + '\157' + chr(221 - 173), 8)
omWVnqjCHP7f = nzTpIcepk0o8(chr(48) + chr(5796 - 5685) + chr(1709 - 1661), 8)
else:
(mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b'\x16\x1b\xf3q'), chr(100) + '\x65' + chr(99) + '\x6f' + chr(9804 - 9704) + chr(5827 - 5726))(chr(0b111111 + 0o66) + '\164' + '\146' + chr(1246 - 1201) + '\x38')], mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b'\x1a\x07\xecq=\xb5'), '\x64' + chr(0b1010100 + 0o21) + chr(861 - 762) + chr(2282 - 2171) + '\x64' + chr(0b1001000 + 0o35))(chr(0b1110101) + chr(0b1110100) + chr(5262 - 5160) + '\x2d' + chr(0b101100 + 0o14))], mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b':\x06\xe5i(\x99\xef'), chr(3376 - 3276) + '\145' + chr(2592 - 2493) + chr(111) + '\144' + '\145')('\x75' + '\164' + chr(102) + chr(0b101101) + chr(0b111000))], mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b'\x17\x10\xed'), chr(100) + '\x65' + '\x63' + chr(111) + chr(100) + chr(0b1100101))(chr(9826 - 9709) + chr(0b1110100) + chr(0b1100110) + '\055' + '\x38')], mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b'\x17\x0f\xe1b'), '\144' + chr(0b1100101) + '\x63' + '\157' + chr(100) + '\145')(chr(0b11001 + 0o134) + chr(5812 - 5696) + '\146' + chr(45) + chr(0b110011 + 0o5))]) = (nzTpIcepk0o8('\x30' + chr(111) + '\x30', 8), nzTpIcepk0o8(chr(0b110000) + chr(5478 - 5367) + chr(0b100001 + 0o17), 8), nzTpIcepk0o8(chr(48) + '\157' + chr(0b110000), 8), nzTpIcepk0o8('\x30' + chr(0b1001100 + 0o43) + chr(0b11 + 0o55), 8), nzTpIcepk0o8('\x30' + '\x6f' + '\x30', 8))
if QJgeTIOanow9:
(g6VUeSxVMe4D, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(QJgeTIOanow9)
(gt6ao1JZFMmK, Wbavx5JmRXKA) = ([], [])
N0P_gyNiGDAT = hUcsWwAd0nE_.get_dictitem(wx5Y9SFJEaEM, roI3spqORKae(ES5oEprVxulp(b'\x13\x07\xf4m3\x9c\xfd\xec\xd0\xdf\t\xa8'), chr(0b100100 + 0o100) + chr(0b1100101) + chr(99) + chr(5743 - 5632) + '\x64' + chr(0b1100101))(chr(117) + chr(3087 - 2971) + chr(102) + chr(0b101101) + chr(1459 - 1403)), roI3spqORKae(ES5oEprVxulp(b'22\xadM\x05\xab'), chr(0b1100100) + '\x65' + chr(0b0 + 0o143) + '\157' + chr(3779 - 3679) + chr(4229 - 4128))(chr(0b1110101) + '\164' + '\x66' + chr(45) + chr(0b100111 + 0o21)), roI3spqORKae(ES5oEprVxulp(b'\x16\x03\xf3'), chr(716 - 616) + chr(101) + chr(2926 - 2827) + chr(3141 - 3030) + chr(100) + '\145')(chr(0b101000 + 0o115) + '\164' + chr(0b1100110) + chr(45) + chr(1920 - 1864)))
xO9Qx7iVy1RS = hUcsWwAd0nE_.get_dictitem(wx5Y9SFJEaEM, roI3spqORKae(ES5oEprVxulp(b'\x13\x07\xf4m3\x9c\xfd\xec\xd0\xdf\t\xa8'), '\144' + chr(0b1100101) + chr(0b101100 + 0o67) + chr(0b11011 + 0o124) + chr(0b1010011 + 0o21) + chr(0b11111 + 0o106))('\165' + chr(5594 - 5478) + chr(102) + chr(45) + chr(3093 - 3037)), roI3spqORKae(ES5oEprVxulp(b'22\xadL\x0e\xb5\x8f\xcb\xfc\xff'), chr(0b1100100) + '\145' + '\143' + '\157' + chr(100) + chr(0b110110 + 0o57))('\165' + chr(9747 - 9631) + chr(102) + '\055' + '\070'), roI3spqORKae(ES5oEprVxulp(b'\x16\x03\xf3'), chr(0b1100100) + '\x65' + chr(0b1100011) + '\157' + '\144' + chr(101))('\165' + chr(116) + '\146' + chr(961 - 916) + '\x38'))
Hd4eQzxCBMNs = hUcsWwAd0nE_.get_dictitem(wx5Y9SFJEaEM, roI3spqORKae(ES5oEprVxulp(b'\x13\x07\xf4m3\x9c\xfd\xec\xd0\xdf\t\xa8'), '\x64' + chr(101) + '\143' + chr(111) + chr(9414 - 9314) + chr(0b1100101))(chr(0b1010011 + 0o42) + chr(4663 - 4547) + '\x66' + chr(1743 - 1698) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'22\xadL\x11\xb9\xe5'), '\x64' + '\145' + '\143' + chr(0b100 + 0o153) + '\x64' + chr(0b100101 + 0o100))('\165' + chr(0b1011011 + 0o31) + chr(102) + '\055' + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\x16\x03\xf3'), '\144' + chr(0b1100101) + chr(0b1100011) + chr(111) + '\x64' + '\x65')(chr(10100 - 9983) + chr(0b1110100) + '\x66' + '\055' + chr(56)))
for FKO_XxLfWbYt in N0P_gyNiGDAT:
if FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\x1b\x1a\xf0`.\x91\xcf\xea\xd1\xcf'), chr(0b11110 + 0o106) + chr(0b1100101) + '\143' + '\157' + '\x64' + chr(0b1100101))('\165' + chr(0b1010001 + 0o43) + '\146' + chr(0b101101) + chr(742 - 686))] not in gt6ao1JZFMmK:
roI3spqORKae(gt6ao1JZFMmK, roI3spqORKae(ES5oEprVxulp(b'66\xd31$\x9f\xe5\xe0\xd5\xd49\xee'), '\144' + chr(0b100100 + 0o101) + chr(99) + chr(0b1101111) + chr(100) + chr(0b1010111 + 0o16))('\165' + '\x74' + chr(102) + '\x2d' + '\070'))(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\x1b\x1a\xf0`.\x91\xcf\xea\xd1\xcf'), chr(6760 - 6660) + '\145' + chr(0b1100011) + '\x6f' + '\x64' + chr(0b100011 + 0o102))(chr(0b1110101) + chr(0b1110100) + chr(102) + chr(0b101011 + 0o2) + chr(2942 - 2886))])
if FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\r\x12\xe5f5\x95\xc7\xe1'), '\144' + '\145' + chr(0b100001 + 0o102) + chr(589 - 478) + '\144' + chr(101))(chr(0b101100 + 0o111) + chr(12159 - 12043) + chr(102) + '\055' + chr(0b100010 + 0o26))] not in Wbavx5JmRXKA:
roI3spqORKae(Wbavx5JmRXKA, roI3spqORKae(ES5oEprVxulp(b'66\xd31$\x9f\xe5\xe0\xd5\xd49\xee'), chr(9442 - 9342) + '\x65' + chr(0b11010 + 0o111) + chr(111) + '\144' + '\x65')(chr(0b1011 + 0o152) + '\x74' + '\x66' + '\055' + chr(0b100 + 0o64)))(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\r\x12\xe5f5\x95\xc7\xe1'), chr(0b100 + 0o140) + '\145' + chr(8576 - 8477) + '\x6f' + chr(0b1100100) + chr(0b1100101))('\x75' + chr(0b1110100) + '\x66' + '\x2d' + chr(703 - 647))])
B6UAF1zReOyJ = nzTpIcepk0o8('\x30' + chr(111) + chr(0b1011 + 0o45), 8)
if DafvJs_zqETJ:
B6UAF1zReOyJ = Wbavx5JmRXKA.ZpfN5tSLaZze(DafvJs_zqETJ)
elif nPQiWzQBWTDn != roI3spqORKae(ES5oEprVxulp(b'\x1f\x0e\xec'), '\x64' + chr(0b1100101) + chr(3054 - 2955) + '\x6f' + chr(100) + '\x65')('\165' + '\164' + chr(4415 - 4313) + '\x2d' + chr(56)):
try:
Wbavx5JmRXKA = Wbavx5JmRXKA[:nPQiWzQBWTDn]
except UtiWT6f6p9yZ:
pass
xwRuRFbC5fsf = nzTpIcepk0o8(chr(1331 - 1283) + chr(0b1011110 + 0o21) + chr(0b11 + 0o55), 8)
while B6UAF1zReOyJ < ftfygxgFas5X(Wbavx5JmRXKA):
EJPYhrC8WoVb = Wbavx5JmRXKA[B6UAF1zReOyJ]
if DafvJs_zqETJ:
if EJPYhrC8WoVb != DafvJs_zqETJ:
B6UAF1zReOyJ += nzTpIcepk0o8(chr(2053 - 2005) + chr(111) + chr(0b110001), 8)
continue
else:
for (QYodcsDtoGq7, uV9iBiw0y_Mp) in roI3spqORKae(mVI5sGGXVJu2, roI3spqORKae(ES5oEprVxulp(b"'=\xeeK\x19\x82\xea\xbb\x8c\xcd4\xb2"), chr(370 - 270) + chr(0b1100101) + '\x63' + '\157' + chr(0b100101 + 0o77) + '\145')(chr(0b101 + 0o160) + '\164' + chr(0b1100110) + '\x2d' + '\x38'))():
xwRuRFbC5fsf += nzTpIcepk0o8(chr(0b100001 + 0o17) + '\x6f' + chr(0b10111 + 0o32), 8)
mVI5sGGXVJu2[QYodcsDtoGq7] = xwRuRFbC5fsf
tP3HxNgrUQlP = {roI3spqORKae(ES5oEprVxulp(b'\r\x12\xe5f5\x95\xc7\xe1'), '\x64' + chr(0b1100101) + chr(0b1100011) + chr(4103 - 3992) + chr(0b10100 + 0o120) + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + chr(0b1000011 + 0o43) + chr(0b11100 + 0o21) + chr(56)): EJPYhrC8WoVb, roI3spqORKae(ES5oEprVxulp(b'\x1b\x1a\xf0`.\x91\xcf\xea\xd1\xcf'), '\x64' + '\x65' + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + chr(0b1100100 + 0o1))(chr(0b1100001 + 0o24) + chr(0b1010101 + 0o37) + chr(0b1001100 + 0o32) + chr(45) + '\070'): roI3spqORKae(ES5oEprVxulp(b''), chr(5086 - 4986) + chr(0b1100101) + '\x63' + chr(111) + '\144' + '\145')(chr(0b1110101) + chr(2041 - 1925) + '\146' + '\x2d' + chr(2983 - 2927))}
if TseISVdPlfdM and xMF4aPRocaG1:
v8jsMqaYV6U2(EJPYhrC8WoVb, B6UAF1zReOyJ + nzTpIcepk0o8(chr(896 - 848) + chr(5299 - 5188) + '\x31', 8), roI3spqORKae(ES5oEprVxulp(b'\x11\x17\xf4%3\x9e\x82'), chr(100) + '\x65' + chr(0b111111 + 0o44) + chr(0b1101111) + chr(5362 - 5262) + chr(0b1100101))(chr(6017 - 5900) + chr(5016 - 4900) + chr(0b100000 + 0o106) + chr(0b11100 + 0o21) + chr(0b111000)), ftfygxgFas5X(Wbavx5JmRXKA))
(TQ0u0KgwFXN5, lY8v4DfEhTNv, RpftP1fBhfme, DTbUnZUJTfRp) = ([], [], [], [])
(PXtBQz5ampDn, aTdIVjjsephi) = ([], [])
thEv678ebLqb = hUcsWwAd0nE_.get_dictitem(N0P_gyNiGDAT, roI3spqORKae(ES5oEprVxulp(b'\r\x12\xe5f5\x95\xc7\xe1'), chr(6549 - 6449) + chr(101) + '\x63' + chr(0b110100 + 0o73) + '\144' + chr(6535 - 6434))(chr(0b1110101) + '\164' + chr(0b1100110) + '\x2d' + chr(0b110111 + 0o1)), EJPYhrC8WoVb, roI3spqORKae(ES5oEprVxulp(b'*'), chr(5329 - 5229) + '\145' + chr(0b1000001 + 0o42) + '\x6f' + '\x64' + chr(0b1100101))('\x75' + chr(0b1110100) + chr(102) + '\x2d' + '\x38'))
if ftfygxgFas5X(thEv678ebLqb) > nzTpIcepk0o8('\x30' + chr(0b111100 + 0o63) + '\x30', 8):
I810oeGL0u1g = thEv678ebLqb[nzTpIcepk0o8(chr(48) + chr(111) + '\060', 8)][roI3spqORKae(ES5oEprVxulp(b'\x13\x07\xf4m3\x9c\xfd\xec\xd0\xdf\t\xa8'), '\144' + '\145' + '\x63' + '\157' + '\x64' + '\x65')(chr(0b1011110 + 0o27) + chr(13045 - 12929) + chr(102) + '\x2d' + chr(56))].LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'D'), chr(0b1000000 + 0o44) + chr(6094 - 5993) + '\x63' + chr(0b110 + 0o151) + chr(0b1011011 + 0o11) + chr(6398 - 6297))(chr(1147 - 1030) + chr(0b1110100) + chr(0b1100110) + chr(45) + chr(0b111000)))
wgf0sgcu_xPL = thEv678ebLqb[nzTpIcepk0o8(chr(173 - 125) + '\157' + chr(0b110000), 8)][roI3spqORKae(ES5oEprVxulp(b'\x1b\x1a\xf0`.\x91\xcf\xea\xd1\xcf'), '\144' + chr(2004 - 1903) + '\x63' + '\x6f' + chr(0b1100100) + chr(5348 - 5247))('\165' + chr(0b1110100) + chr(1871 - 1769) + chr(0b101101) + '\x38')]
tP3HxNgrUQlP[roI3spqORKae(ES5oEprVxulp(b'\x1b\x1a\xf0`.\x91\xcf\xea\xd1\xcf'), chr(0b1100100) + chr(0b11111 + 0o106) + '\x63' + chr(7436 - 7325) + '\144' + chr(0b1100101))(chr(0b1010000 + 0o45) + '\x74' + chr(0b1010111 + 0o17) + '\055' + '\070')] = thEv678ebLqb[nzTpIcepk0o8(chr(598 - 550) + chr(111) + chr(0b101 + 0o53), 8)][roI3spqORKae(ES5oEprVxulp(b'\x1b\x1a\xf0`.\x91\xcf\xea\xd1\xcf'), '\144' + '\145' + '\143' + chr(9520 - 9409) + chr(100) + chr(101))(chr(11806 - 11689) + chr(116) + '\146' + chr(45) + '\070')]
for FKO_XxLfWbYt in thEv678ebLqb:
roI3spqORKae(TQ0u0KgwFXN5, roI3spqORKae(ES5oEprVxulp(b'66\xd31$\x9f\xe5\xe0\xd5\xd49\xee'), chr(4349 - 4249) + chr(0b1100101) + '\143' + chr(0b1101111) + '\144' + '\145')('\x75' + '\164' + chr(807 - 705) + chr(0b11101 + 0o20) + '\x38'))(jLW6pRf2DSRk(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\x13\x07\xe1v\x03\x9e\xcb\xea\xd3\xdf3\xbf\xc2'), chr(100) + chr(101) + chr(99) + chr(0b1101011 + 0o4) + '\144' + '\145')('\x75' + '\164' + chr(0b11001 + 0o115) + chr(0b100101 + 0o10) + chr(0b111000))]))
roI3spqORKae(lY8v4DfEhTNv, roI3spqORKae(ES5oEprVxulp(b'66\xd31$\x9f\xe5\xe0\xd5\xd49\xee'), '\144' + chr(0b100001 + 0o104) + chr(1509 - 1410) + '\x6f' + chr(0b1000100 + 0o40) + chr(101))(chr(0b1110101) + chr(116) + '\146' + chr(0b101101) + chr(0b10100 + 0o44)))(jLW6pRf2DSRk(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\x13\x03\xe7k\x03\x95\xcd\xe2\xda\xd5\x18'), chr(100) + '\145' + chr(99) + chr(736 - 625) + '\x64' + chr(728 - 627))('\165' + chr(116) + chr(102) + chr(163 - 118) + chr(0b111000))]))
thEv678ebLqb = hUcsWwAd0nE_.get_dictitem(xO9Qx7iVy1RS, roI3spqORKae(ES5oEprVxulp(b'\r\x12\xe5f5\x95\xc7\xe1'), '\x64' + '\x65' + chr(99) + chr(0b1001010 + 0o45) + chr(0b1101 + 0o127) + chr(3914 - 3813))(chr(0b1110101) + '\164' + '\146' + chr(45) + chr(691 - 635)), EJPYhrC8WoVb, roI3spqORKae(ES5oEprVxulp(b'*'), chr(8652 - 8552) + chr(0b1100101) + chr(99) + chr(0b11100 + 0o123) + chr(100) + chr(101))(chr(117) + '\164' + chr(0b111001 + 0o55) + chr(45) + chr(2384 - 2328)))
if ftfygxgFas5X(thEv678ebLqb) > nzTpIcepk0o8(chr(0b110000) + chr(11821 - 11710) + chr(0b101001 + 0o7), 8):
tP3HxNgrUQlP[roI3spqORKae(ES5oEprVxulp(b'\x1b\x1a\xf0`.\x91\xcf\xea\xd1\xcf'), chr(2364 - 2264) + chr(0b1011000 + 0o15) + chr(0b1001011 + 0o30) + '\157' + '\x64' + chr(7679 - 7578))(chr(0b1110101) + chr(127 - 11) + chr(102) + chr(0b11110 + 0o17) + '\x38')] = tP3HxNgrUQlP[roI3spqORKae(ES5oEprVxulp(b'\x1b\x1a\xf0`.\x91\xcf\xea\xd1\xcf'), chr(2970 - 2870) + chr(0b1100101) + chr(0b11101 + 0o106) + chr(3200 - 3089) + '\x64' + chr(101))(chr(0b1110101) + chr(11177 - 11061) + '\146' + chr(0b101101) + chr(56))] + roI3spqORKae(ES5oEprVxulp(b'D'), chr(0b1001001 + 0o33) + chr(8896 - 8795) + chr(99) + chr(111) + '\x64' + chr(0b1100101))(chr(3179 - 3062) + chr(116) + '\x66' + chr(45) + chr(56)) + thEv678ebLqb[nzTpIcepk0o8('\060' + chr(0b111100 + 0o63) + chr(48), 8)][roI3spqORKae(ES5oEprVxulp(b'\x1b\x1a\xf0`.\x91\xcf\xea\xd1\xcf'), '\x64' + chr(0b100110 + 0o77) + '\143' + chr(111) + chr(8309 - 8209) + '\145')(chr(3843 - 3726) + '\164' + '\146' + chr(0b11010 + 0o23) + chr(693 - 637))]
aidKi3tmKF01 = thEv678ebLqb[nzTpIcepk0o8(chr(48) + chr(4740 - 4629) + chr(0b10010 + 0o36), 8)][roI3spqORKae(ES5oEprVxulp(b'\x1b\x1a\xf0`.\x91\xcf\xea\xd1\xcf'), '\x64' + '\145' + '\143' + '\157' + '\144' + chr(0b1001000 + 0o35))(chr(0b111000 + 0o75) + '\x74' + '\146' + chr(0b10001 + 0o34) + '\070')]
for FKO_XxLfWbYt in thEv678ebLqb:
roI3spqORKae(RpftP1fBhfme, roI3spqORKae(ES5oEprVxulp(b'66\xd31$\x9f\xe5\xe0\xd5\xd49\xee'), chr(0b100001 + 0o103) + '\145' + chr(1229 - 1130) + '\157' + chr(0b1100100) + '\145')(chr(0b10000 + 0o145) + chr(116) + '\x66' + '\055' + chr(1237 - 1181)))(jLW6pRf2DSRk(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\n\x10\xe5d(\xa7\xc6\xec\xe0\xdd\x05\xbe\xcd\xc2'), chr(7481 - 7381) + chr(0b1100101) + chr(99) + '\157' + '\144' + chr(101))('\165' + '\x74' + '\146' + '\x2d' + '\070')]))
roI3spqORKae(DTbUnZUJTfRp, roI3spqORKae(ES5oEprVxulp(b'66\xd31$\x9f\xe5\xe0\xd5\xd49\xee'), chr(6267 - 6167) + '\x65' + '\x63' + '\157' + chr(0b1100100) + chr(0b1000110 + 0o37))('\x75' + chr(6889 - 6773) + chr(0b1100110) + chr(0b101101) + chr(0b111000)))(jLW6pRf2DSRk(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\x13\x03\xe7k\x03\x95\xcd\xe2\xda\xd5\x18'), chr(3438 - 3338) + chr(0b110011 + 0o62) + '\143' + '\x6f' + chr(0b1100100) + '\145')(chr(0b1000001 + 0o64) + chr(0b1110100) + '\x66' + '\x2d' + chr(0b10000 + 0o50))]))
thEv678ebLqb = hUcsWwAd0nE_.get_dictitem(Hd4eQzxCBMNs, roI3spqORKae(ES5oEprVxulp(b'\r\x12\xe5f5\x95\xc7\xe1'), chr(100) + '\145' + chr(0b10110 + 0o115) + chr(0b1100010 + 0o15) + chr(0b1100100) + '\145')('\165' + '\164' + chr(0b1100110) + chr(0b101101) + '\070'), EJPYhrC8WoVb, roI3spqORKae(ES5oEprVxulp(b'*'), chr(0b1100100) + chr(0b1100000 + 0o5) + chr(0b100010 + 0o101) + '\157' + '\144' + chr(1952 - 1851))(chr(2727 - 2610) + chr(6948 - 6832) + '\x66' + chr(0b1101 + 0o40) + chr(56)))
if ftfygxgFas5X(thEv678ebLqb) > nzTpIcepk0o8(chr(1362 - 1314) + '\157' + '\x30', 8):
Bsp26ClgjMzc = thEv678ebLqb[nzTpIcepk0o8(chr(0b10101 + 0o33) + '\x6f' + chr(0b1000 + 0o50), 8)][roI3spqORKae(ES5oEprVxulp(b'\x1b\x1a\xf0`.\x91\xcf\xea\xd1\xcf'), chr(100) + chr(0b101 + 0o140) + chr(8336 - 8237) + chr(111) + '\x64' + '\145')(chr(9695 - 9578) + chr(0b1010000 + 0o44) + chr(0b1001011 + 0o33) + '\055' + chr(56))]
for FKO_XxLfWbYt in thEv678ebLqb:
roI3spqORKae(PXtBQz5ampDn, roI3spqORKae(ES5oEprVxulp(b'66\xd31$\x9f\xe5\xe0\xd5\xd49\xee'), chr(0b1100100) + chr(0b1100101) + chr(0b101101 + 0o66) + chr(0b1000001 + 0o56) + chr(0b1100100) + '\x65')(chr(117) + chr(2267 - 2151) + chr(0b1100110) + '\x2d' + '\070'))(jLW6pRf2DSRk(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\x13\x07\xe1v\x03\x9e\xcb\xea\xd3\xdf3\xbf\xc2'), chr(4796 - 4696) + chr(0b1100101) + chr(99) + chr(0b111011 + 0o64) + chr(9850 - 9750) + chr(101))('\165' + chr(0b1011100 + 0o30) + '\x66' + '\055' + chr(0b110110 + 0o2))]))
roI3spqORKae(aTdIVjjsephi, roI3spqORKae(ES5oEprVxulp(b'66\xd31$\x9f\xe5\xe0\xd5\xd49\xee'), '\x64' + chr(101) + chr(7815 - 7716) + chr(7223 - 7112) + chr(0b10010 + 0o122) + '\145')(chr(10598 - 10481) + '\164' + chr(0b1100110) + chr(0b101101) + chr(0b1000 + 0o60)))(jLW6pRf2DSRk(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\x13\x03\xe7k\x03\x95\xcd\xe2\xda\xd5\x18'), '\144' + '\x65' + '\x63' + chr(0b1111 + 0o140) + '\x64' + chr(6125 - 6024))(chr(0b1110101) + '\164' + chr(102) + '\055' + chr(1018 - 962))]))
if ftfygxgFas5X(TQ0u0KgwFXN5) > nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b110000), 8):
_lPr8X_AFl5v = []
for am4di6GtLqyR in I810oeGL0u1g:
roI3spqORKae(_lPr8X_AFl5v, roI3spqORKae(ES5oEprVxulp(b'66\xd31$\x9f\xe5\xe0\xd5\xd49\xee'), chr(0b1011110 + 0o6) + '\145' + '\143' + chr(0b110111 + 0o70) + '\144' + chr(0b1000011 + 0o42))(chr(0b1110101) + chr(11586 - 11470) + '\x66' + chr(45) + '\070'))(am4di6GtLqyR)
n_FL9vrrf8Wb = o77KS_r9H7AX.plot_hdd(mVI5sGGXVJu2, TQ0u0KgwFXN5, lY8v4DfEhTNv, wgf0sgcu_xPL)
if f4XDWm__k5ZA:
if not roI3spqORKae(NsnRtbLAhqc_, roI3spqORKae(ES5oEprVxulp(b'71\xdfR\x15\xb6'), chr(0b111000 + 0o54) + chr(0b1100 + 0o131) + '\x63' + '\157' + chr(0b110 + 0o136) + chr(101))(chr(2711 - 2594) + '\164' + chr(0b101010 + 0o74) + '\x2d' + chr(56))):
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\x1a\x10\xe1r\x03\x9e\xcb\xe8\xcc'), '\144' + '\145' + chr(0b1100011) + chr(111) + chr(100) + chr(0b1100101))(chr(117) + chr(116) + chr(0b1110 + 0o130) + chr(1142 - 1097) + '\070'))(mVI5sGGXVJu2)
if xMF4aPRocaG1:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\x0e\x0e\xefq\x03\x90\xd2\xee\xcd\xc8'), '\x64' + chr(101) + chr(99) + chr(0b100011 + 0o114) + '\144' + chr(101))(chr(7996 - 7879) + chr(0b101000 + 0o114) + '\146' + chr(0b10 + 0o53) + chr(56)))(mVI5sGGXVJu2, n_FL9vrrf8Wb, roI3spqORKae(ES5oEprVxulp(b'\x1c\x11'), '\144' + '\145' + chr(99) + '\157' + chr(0b1010100 + 0o20) + chr(10055 - 9954))('\x75' + chr(3160 - 3044) + chr(4388 - 4286) + chr(1848 - 1803) + chr(0b11000 + 0o40)))
tP3HxNgrUQlP[roI3spqORKae(ES5oEprVxulp(b'\x16\x1b\xf3q\x03\x95\xd0\xd0\xd2\xd4\x01\xbe\xcf\xd2'), chr(100) + chr(0b100100 + 0o101) + chr(4287 - 4188) + chr(0b1011110 + 0o21) + chr(0b111101 + 0o47) + chr(0b1100101))(chr(117) + chr(0b1110100) + '\x66' + '\x2d' + '\x38')] = n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x16\x1b\xf3q9\x8a\xc7\xfc\xd6\xc83\xb6\xd3\xf9\xf7\x1f\x8aM\xea\xc8'), chr(0b1100100) + chr(0b1001111 + 0o26) + chr(0b1100011) + chr(0b1001 + 0o146) + chr(0b1000000 + 0o44) + chr(101))('\x75' + chr(0b10001 + 0o143) + chr(102) + chr(0b110 + 0o47) + chr(0b10011 + 0o45))]
tP3HxNgrUQlP[roI3spqORKae(ES5oEprVxulp(b'\x16\x1b\xf3q\x03\x95\xd1\xd0\xd2\xd4\x01\xbe\xcf\xd2'), '\x64' + '\x65' + '\143' + '\157' + '\x64' + '\x65')('\x75' + chr(116) + '\x66' + chr(0b1010 + 0o43) + chr(56))] = n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x16\x1b\xf3q9\x8a\xc7\xfc\xd6\xc83\xb6\xd2\xf9\xf7\x1f\x8aM\xea\xc8'), '\144' + chr(0b10001 + 0o124) + chr(0b100010 + 0o101) + '\157' + '\x64' + chr(6130 - 6029))(chr(8656 - 8539) + chr(938 - 822) + chr(102) + chr(0b101101) + chr(2825 - 2769))]
tP3HxNgrUQlP[roI3spqORKae(ES5oEprVxulp(b'\x16\x1b\xf3q\x03\x9a\xc1'), chr(7606 - 7506) + chr(0b1000 + 0o135) + chr(9500 - 9401) + chr(111) + chr(0b11111 + 0o105) + '\145')(chr(117) + chr(0b1110100) + '\146' + '\x2d' + chr(0b101000 + 0o20))] = n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x16\x1b\xf3q9\x8a\xc7\xfc\xd6\xc83\xb9\xc2'), chr(5472 - 5372) + chr(101) + '\143' + chr(111) + chr(0b11011 + 0o111) + chr(0b1001100 + 0o31))(chr(0b1110101) + '\164' + chr(0b0 + 0o146) + chr(0b101101) + chr(0b100 + 0o64))]
tP3HxNgrUQlP[roI3spqORKae(ES5oEprVxulp(b'\x16\x1b\xf3q\x03\x9a\xc1\xfd'), '\x64' + '\145' + chr(0b1100011) + '\x6f' + '\144' + chr(7205 - 7104))('\165' + '\164' + chr(0b110001 + 0o65) + chr(0b101101 + 0o0) + '\070')] = n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x16\x1b\xf3q9\x8a\xc7\xfc\xd6\xc83\xb9\xc2\xd4'), '\x64' + chr(0b1100101) + chr(0b1100011) + '\157' + chr(1084 - 984) + chr(0b11010 + 0o113))(chr(0b1110101) + chr(116) + chr(0b1000 + 0o136) + chr(45) + '\x38')]
tP3HxNgrUQlP[roI3spqORKae(ES5oEprVxulp(b'\x16\x1b\xf3q\x03\x80\xca\xe9'), chr(7900 - 7800) + chr(6302 - 6201) + '\143' + chr(0b1101111) + chr(6259 - 6159) + chr(9418 - 9317))(chr(347 - 230) + '\164' + chr(0b1100110) + chr(45) + chr(2535 - 2479))] = n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x16\x1b\xf3q9\x8a\xc7\xfc\xd6\xc83\xa3\xc9\xc0'), chr(100) + chr(1226 - 1125) + '\143' + '\x6f' + chr(100) + '\x65')(chr(6004 - 5887) + '\x74' + chr(0b100101 + 0o101) + chr(0b1001 + 0o44) + chr(0b100110 + 0o22))]
tP3HxNgrUQlP[roI3spqORKae(ES5oEprVxulp(b'\x1b\x1a\xf0`.\x91\xcf\xea\xd1\xcf\x1f'), chr(100) + chr(0b1100101) + '\143' + chr(0b101011 + 0o104) + '\144' + chr(0b1100 + 0o131))(chr(117) + chr(904 - 788) + chr(0b1100110) + chr(0b1011 + 0o42) + chr(2480 - 2424))] = wgf0sgcu_xPL
tP3HxNgrUQlP[roI3spqORKae(ES5oEprVxulp(b'\r\r\xe6q+\x99\xd0\xea\xe0\xcb\r\xb8\xca\xc7\xfd\x15\x94'), chr(0b100111 + 0o75) + chr(0b101101 + 0o70) + chr(8787 - 8688) + chr(0b1101111) + '\144' + chr(0b1100101))(chr(12229 - 12112) + chr(0b1110100) + '\146' + chr(96 - 51) + chr(102 - 46))] = uNg9Yeq376oN
if n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x13\x03\xe7l?\xa7\xcf\xea\xcb\xd3\x03\xbf\xfe\xc5\xf5\x14\x82['), chr(3624 - 3524) + chr(101) + chr(0b10000 + 0o123) + '\x6f' + '\x64' + chr(5295 - 5194))(chr(4293 - 4176) + '\x74' + chr(0b110101 + 0o61) + chr(1063 - 1018) + '\070')] not in _lPr8X_AFl5v:
roI3spqORKae(_lPr8X_AFl5v, roI3spqORKae(ES5oEprVxulp(b'66\xd31$\x9f\xe5\xe0\xd5\xd49\xee'), '\x64' + chr(0b1100101) + chr(4396 - 4297) + chr(0b1101111) + chr(100) + chr(7723 - 7622))('\x75' + '\164' + '\x66' + chr(0b111 + 0o46) + chr(1635 - 1579)))(n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x13\x03\xe7l?\xa7\xcf\xea\xcb\xd3\x03\xbf\xfe\xc5\xf5\x14\x82['), '\144' + chr(101) + '\143' + chr(111) + chr(6579 - 6479) + '\x65')(chr(117) + chr(11116 - 11000) + chr(102) + chr(0b101101) + chr(1410 - 1354))])
lcKucyHTTXwM = roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(101) + '\143' + '\x6f' + chr(100) + '\145')('\x75' + chr(1531 - 1415) + '\146' + chr(45) + '\070')
for am4di6GtLqyR in _lPr8X_AFl5v:
lcKucyHTTXwM = lcKucyHTTXwM + am4di6GtLqyR.kdIDrcwZTCs5() + roI3spqORKae(ES5oEprVxulp(b'D'), chr(100) + chr(1522 - 1421) + '\x63' + chr(0b11110 + 0o121) + chr(0b1100100) + '\x65')(chr(0b1000 + 0o155) + chr(116) + chr(102) + chr(168 - 123) + chr(0b111000))
tP3HxNgrUQlP[roI3spqORKae(ES5oEprVxulp(b'\x13\x07\xf4m3\x9c\xfd\xec\xd0\xdf\t\xa8'), chr(100) + chr(101) + chr(99) + chr(0b1101111) + chr(0b1000101 + 0o37) + '\x65')(chr(5759 - 5642) + '\164' + chr(0b101001 + 0o75) + '\x2d' + '\070')] = lcKucyHTTXwM[:-nzTpIcepk0o8(chr(568 - 520) + '\x6f' + chr(1235 - 1186), 8)]
tP3HxNgrUQlP[roI3spqORKae(ES5oEprVxulp(b'\x1d\x0b\xf4d(\x91\xcd\xe1\xcc'), chr(5784 - 5684) + '\x65' + chr(0b1100011) + chr(3256 - 3145) + chr(703 - 603) + chr(0b1100101))(chr(117) + chr(5573 - 5457) + '\x66' + '\x2d' + chr(1614 - 1558))] = roI3spqORKae(ES5oEprVxulp(b'*\n\xe9v|\x8b\xd6\xfa\xdb\xc2'), chr(0b111 + 0o135) + chr(0b100001 + 0o104) + chr(0b10000 + 0o123) + chr(0b1011 + 0o144) + chr(100) + chr(101))(chr(117) + chr(116) + chr(0b10110 + 0o120) + chr(0b101101) + chr(1179 - 1123))
if ftfygxgFas5X(RpftP1fBhfme) > nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(2210 - 2162), 8):
x2JSsT4YEtCP = []
for am4di6GtLqyR in I810oeGL0u1g:
roI3spqORKae(x2JSsT4YEtCP, roI3spqORKae(ES5oEprVxulp(b'66\xd31$\x9f\xe5\xe0\xd5\xd49\xee'), chr(0b11100 + 0o110) + chr(0b1010111 + 0o16) + '\x63' + '\157' + '\x64' + chr(0b1100101))(chr(0b1110101) + chr(0b111110 + 0o66) + chr(0b110 + 0o140) + '\x2d' + chr(56)))(am4di6GtLqyR)
if TseISVdPlfdM and xMF4aPRocaG1:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x0e\x0e\xefq(\x91\xcc\xe8\x9f\xf2>\x96'), '\x64' + '\x65' + '\x63' + chr(111) + '\144' + chr(0b111 + 0o136))(chr(117) + chr(116) + '\x66' + '\x2d' + '\070'))
if omWVnqjCHP7f == nzTpIcepk0o8(chr(1848 - 1800) + chr(0b1000010 + 0o55) + '\x30', 8):
xwRuRFbC5fsf += nzTpIcepk0o8('\x30' + chr(0b1011 + 0o144) + chr(49), 8)
mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b'\x17\x10\xed'), chr(0b1100100) + chr(1200 - 1099) + '\143' + '\x6f' + '\x64' + chr(361 - 260))(chr(0b1110101) + chr(0b1011000 + 0o34) + chr(102) + '\x2d' + chr(56))] = xwRuRFbC5fsf
if xMF4aPRocaG1 and (not bxxuZm4I6LgY):
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\x0e\x0e\xefq\x03\x91\xcc\xe6\xcb'), '\144' + chr(0b1000001 + 0o44) + chr(99) + '\157' + '\x64' + chr(0b111010 + 0o53))('\x75' + chr(12347 - 12231) + '\x66' + chr(45) + chr(0b110110 + 0o2)))(mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b'\x17\x10\xed'), chr(0b1100100) + chr(101) + chr(0b1100011) + '\x6f' + '\144' + chr(3955 - 3854))('\x75' + chr(116) + chr(0b1100001 + 0o5) + chr(696 - 651) + chr(0b111000))], nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\065', 8), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b101001 + 0o14), 8))
omWVnqjCHP7f = nzTpIcepk0o8(chr(48) + '\x6f' + '\x31', 8)
aRAikWC163Zq = o77KS_r9H7AX.plot_irm(mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b'\x17\x10\xed'), chr(9661 - 9561) + '\145' + '\143' + chr(9672 - 9561) + chr(9288 - 9188) + '\x65')(chr(0b1110101) + chr(0b1110100) + '\x66' + chr(45) + chr(1000 - 944))], RpftP1fBhfme, DTbUnZUJTfRp, aidKi3tmKF01)
tP3HxNgrUQlP[roI3spqORKae(ES5oEprVxulp(b'\x0c\x07\xedZ1\x8a\xfd\xe2\xd0\xd6\t\xb5\xd5'), chr(100) + chr(0b1000101 + 0o40) + chr(99) + '\x6f' + chr(0b1011001 + 0o13) + chr(2902 - 2801))(chr(117) + '\164' + chr(0b1100110) + chr(0b10111 + 0o26) + chr(0b11001 + 0o37))] = aRAikWC163Zq[roI3spqORKae(ES5oEprVxulp(b'\x0c\x07\xedd2\x9d\xcc\xec\xda\xe4\x01\xa9\xfe\xcb\xf5\x1d\x82F\xf0'), chr(2952 - 2852) + '\145' + chr(0b1100011) + '\x6f' + '\x64' + chr(4379 - 4278))(chr(117) + chr(0b1010001 + 0o43) + chr(6872 - 6770) + '\x2d' + chr(0b111000))]
tP3HxNgrUQlP[roI3spqORKae(ES5oEprVxulp(b'\x0c\x07\xedZ>\x9b\xd0'), '\x64' + chr(101) + '\143' + '\157' + chr(5371 - 5271) + chr(101))(chr(13390 - 13273) + chr(0b101110 + 0o106) + '\146' + chr(45) + chr(0b101001 + 0o17))] = aRAikWC163Zq[roI3spqORKae(ES5oEprVxulp(b'\x0c\x07\xedd2\x9d\xcc\xec\xda\xe4\x0e\xb8\xd3'), chr(100) + chr(0b1001111 + 0o26) + chr(0b1100011) + chr(0b1001010 + 0o45) + '\x64' + chr(3323 - 3222))(chr(8239 - 8122) + '\x74' + '\146' + chr(0b10111 + 0o26) + chr(3010 - 2954))]
tP3HxNgrUQlP[roI3spqORKae(ES5oEprVxulp(b'\x1b\x1a\xf0`.\x91\xcf\xea\xd1\xcf\x1f'), chr(0b1001 + 0o133) + chr(101) + '\143' + chr(0b1101111) + '\x64' + chr(0b1000111 + 0o36))(chr(5093 - 4976) + chr(11312 - 11196) + chr(0b10010 + 0o124) + '\x2d' + '\x38')] = EJPYhrC8WoVb + roI3spqORKae(ES5oEprVxulp(b'D'), '\144' + '\x65' + chr(0b1010000 + 0o23) + chr(9358 - 9247) + '\x64' + chr(0b1011010 + 0o13))('\165' + '\x74' + '\x66' + chr(0b101101) + '\070') + aidKi3tmKF01
if aRAikWC163Zq[roI3spqORKae(ES5oEprVxulp(b'\x13\x03\xe7l?\xa7\xcf\xea\xcb\xd3\x03\xbf\xfe\xc5\xf5\x14\x82['), '\x64' + chr(5740 - 5639) + chr(117 - 18) + '\157' + '\144' + '\145')(chr(12047 - 11930) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(0b111000))] not in I810oeGL0u1g:
roI3spqORKae(I810oeGL0u1g, roI3spqORKae(ES5oEprVxulp(b'66\xd31$\x9f\xe5\xe0\xd5\xd49\xee'), chr(0b1100100) + chr(101) + chr(0b1100011) + chr(6750 - 6639) + '\144' + chr(1401 - 1300))(chr(9297 - 9180) + chr(9318 - 9202) + '\x66' + chr(0b11110 + 0o17) + '\x38'))(aRAikWC163Zq[roI3spqORKae(ES5oEprVxulp(b'\x13\x03\xe7l?\xa7\xcf\xea\xcb\xd3\x03\xbf\xfe\xc5\xf5\x14\x82['), chr(100) + '\x65' + chr(6457 - 6358) + '\157' + chr(0b1100100) + chr(101))(chr(0b1110101) + '\x74' + chr(0b1100110) + '\x2d' + chr(0b111000))])
lcKucyHTTXwM = roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(101) + chr(8698 - 8599) + chr(0b1101100 + 0o3) + chr(2825 - 2725) + '\145')(chr(117) + chr(0b1010100 + 0o40) + chr(7153 - 7051) + '\055' + '\x38')
for am4di6GtLqyR in x2JSsT4YEtCP:
lcKucyHTTXwM = lcKucyHTTXwM + am4di6GtLqyR.kdIDrcwZTCs5() + roI3spqORKae(ES5oEprVxulp(b'D'), '\144' + chr(0b11001 + 0o114) + '\x63' + chr(0b1101111) + chr(723 - 623) + chr(101))(chr(117) + chr(0b1110100) + '\x66' + '\055' + chr(2500 - 2444))
tP3HxNgrUQlP[roI3spqORKae(ES5oEprVxulp(b'\x13\x07\xf4m3\x9c\xfd\xec\xd0\xdf\t\xa8'), chr(5005 - 4905) + chr(0b10 + 0o143) + '\x63' + '\x6f' + '\144' + chr(0b101000 + 0o75))(chr(713 - 596) + chr(0b1110100) + chr(4003 - 3901) + '\055' + '\x38')] = tP3HxNgrUQlP[roI3spqORKae(ES5oEprVxulp(b'\x13\x07\xf4m3\x9c\xfd\xec\xd0\xdf\t\xa8'), '\x64' + chr(5256 - 5155) + '\143' + chr(0b1101111) + '\144' + chr(1168 - 1067))(chr(0b11000 + 0o135) + chr(116) + '\146' + chr(0b100101 + 0o10) + chr(56))] + roI3spqORKae(ES5oEprVxulp(b'D'), '\144' + chr(0b1100101) + '\x63' + chr(111) + '\144' + chr(0b1000100 + 0o41))(chr(5633 - 5516) + chr(0b1110100) + chr(5839 - 5737) + chr(0b101010 + 0o3) + chr(0b100011 + 0o25)) + lcKucyHTTXwM[:-nzTpIcepk0o8(chr(48) + '\157' + chr(49), 8)]
tP3HxNgrUQlP[roI3spqORKae(ES5oEprVxulp(b'\x1d\x0b\xf4d(\x91\xcd\xe1\xcc'), chr(0b1100100) + chr(0b1100101) + chr(6910 - 6811) + chr(743 - 632) + chr(0b1011000 + 0o14) + chr(0b1100101))(chr(117) + chr(116) + chr(102) + chr(0b10110 + 0o27) + '\070')] = roI3spqORKae(ES5oEprVxulp(b'*\n\xe9v|\x8b\xd6\xfa\xdb\xc2'), '\144' + chr(0b1011000 + 0o15) + chr(0b1011000 + 0o13) + chr(111) + '\x64' + chr(1074 - 973))(chr(0b1110101) + chr(0b111010 + 0o72) + '\x66' + '\055' + '\070')
elif omWVnqjCHP7f:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\x1d\x0e\xe5d.\xbe\xeb\xc8'), chr(100) + chr(0b1100101) + chr(5360 - 5261) + chr(0b1100001 + 0o16) + chr(0b1100100) + chr(1444 - 1343))(chr(145 - 28) + chr(3720 - 3604) + '\x66' + '\x2d' + '\x38'))(mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b'\x17\x10\xed'), chr(100) + chr(0b10 + 0o143) + chr(7258 - 7159) + '\x6f' + chr(0b1010110 + 0o16) + chr(0b110101 + 0o60))('\x75' + chr(13183 - 13067) + chr(102) + chr(0b101101) + chr(0b111000))])
if ftfygxgFas5X(PXtBQz5ampDn) > nzTpIcepk0o8(chr(48) + chr(5934 - 5823) + chr(2169 - 2121), 8):
if TseISVdPlfdM and xMF4aPRocaG1:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x0e\x0e\xefq(\x91\xcc\xe8\x9f\xd2\x02\xb2\xd5\xcf\xfb\x1c\xc7E\xe5\xdbOy\xb1\xd4\xd8\x8a\xa9\nc\x1f\x19\xa5hm\xba\x1e'), chr(0b101100 + 0o70) + chr(0b1001111 + 0o26) + '\143' + chr(0b1101111) + '\144' + '\x65')(chr(0b1110101) + chr(116) + '\x66' + '\055' + chr(0b1001 + 0o57)))
EdUu2rnHDaZ1 = []
for tF75nqoNENFL in aTdIVjjsephi:
roI3spqORKae(EdUu2rnHDaZ1, roI3spqORKae(ES5oEprVxulp(b'66\xd31$\x9f\xe5\xe0\xd5\xd49\xee'), chr(100) + '\x65' + chr(5067 - 4968) + '\x6f' + chr(100) + chr(8451 - 8350))(chr(0b1110101) + chr(116) + chr(0b1100110) + '\055' + chr(1979 - 1923)))(tF75nqoNENFL / jLW6pRf2DSRk(n_FL9vrrf8Wb[roI3spqORKae(ES5oEprVxulp(b'\x16\x1b\xf3q9\x8a\xc7\xfc\xd6\xc83\xb6\xd2\xf9\xf7\x1f\x8aM\xea\xc8'), chr(0b1000100 + 0o40) + chr(0b100000 + 0o105) + chr(647 - 548) + chr(0b1101111) + '\144' + chr(4712 - 4611))('\165' + chr(8140 - 8024) + chr(0b1100110) + chr(1698 - 1653) + chr(0b10101 + 0o43))]))
if R1OvxaFv2meR == nzTpIcepk0o8(chr(48) + '\x6f' + chr(1285 - 1237), 8):
mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b'\x17\x0f\xe1b'), chr(0b1100100) + '\x65' + '\143' + chr(0b1101111) + '\144' + '\x65')(chr(0b1011 + 0o152) + chr(0b1001100 + 0o50) + chr(0b111011 + 0o53) + chr(0b101101) + chr(2826 - 2770))] = nzTpIcepk0o8(chr(1208 - 1160) + chr(0b10101 + 0o132) + chr(96 - 44), 0o10)
if xMF4aPRocaG1 and (not bxxuZm4I6LgY):
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\x0e\x0e\xefq\x03\x91\xcc\xe6\xcb'), chr(0b1100100) + chr(0b11000 + 0o115) + '\x63' + chr(0b1101111) + chr(100) + chr(101))(chr(0b101110 + 0o107) + chr(0b11111 + 0o125) + chr(0b1010001 + 0o25) + chr(1793 - 1748) + chr(56)))(mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b'\x17\x0f\xe1b'), chr(0b10111 + 0o115) + chr(1518 - 1417) + chr(99) + chr(6533 - 6422) + chr(100) + chr(101))(chr(5769 - 5652) + '\x74' + chr(6559 - 6457) + chr(0b1101 + 0o40) + chr(0b10110 + 0o42))], nzTpIcepk0o8(chr(48) + '\x6f' + chr(53), 8), nzTpIcepk0o8(chr(1745 - 1697) + chr(0b1010111 + 0o30) + chr(53), 8))
R1OvxaFv2meR = nzTpIcepk0o8('\x30' + '\x6f' + '\x31', 8)
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\x0e\x0e\xefq\x03\x91\xcf\xee\xd8'), chr(0b1100100) + chr(0b1100101) + '\143' + '\157' + '\144' + chr(101))(chr(117) + chr(5480 - 5364) + '\x66' + chr(45 - 0) + chr(2446 - 2390)))(mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b'\x17\x0f\xe1b'), chr(4255 - 4155) + chr(0b1100101) + chr(3590 - 3491) + chr(111) + '\144' + '\x65')('\x75' + chr(116) + '\x66' + '\x2d' + '\x38')], PXtBQz5ampDn, EdUu2rnHDaZ1, Bsp26ClgjMzc)
elif R1OvxaFv2meR:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\x1d\x0e\xe5d.\xbe\xeb\xc8'), '\x64' + '\x65' + '\x63' + chr(0b1101001 + 0o6) + chr(100) + chr(0b1010 + 0o133))('\165' + chr(0b1110100) + chr(0b100011 + 0o103) + chr(0b101101) + chr(0b111000)))(mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b'\x17\x0f\xe1b'), chr(0b100101 + 0o77) + chr(0b1100101) + chr(5461 - 5362) + chr(10616 - 10505) + chr(100) + chr(0b1100101))(chr(13327 - 13210) + '\x74' + '\x66' + chr(0b101101) + '\x38')])
if ftfygxgFas5X(H4NoA26ON7iG(roI3spqORKae(tP3HxNgrUQlP, roI3spqORKae(ES5oEprVxulp(b'\x15\x07\xf9v'), '\x64' + '\145' + chr(0b10001 + 0o122) + chr(0b1101111) + chr(0b11111 + 0o105) + chr(3875 - 3774))(chr(117) + chr(116) + chr(102) + chr(684 - 639) + '\x38'))())) > nzTpIcepk0o8(chr(0b11011 + 0o25) + chr(0b11100 + 0o123) + chr(48), 8):
roI3spqORKae(lyyaSLqlyF3P, roI3spqORKae(ES5oEprVxulp(b'66\xd31$\x9f\xe5\xe0\xd5\xd49\xee'), chr(100) + '\145' + '\x63' + '\157' + chr(100) + '\145')(chr(4765 - 4648) + chr(116) + chr(0b1100110) + chr(45) + chr(0b10 + 0o66)))(tP3HxNgrUQlP)
wR5_YWECjaY7 = {}
if bxxuZm4I6LgY and xMF4aPRocaG1:
if DafvJs_zqETJ:
PmE5_h409JAA = DafvJs_zqETJ
else:
PmE5_h409JAA = EJPYhrC8WoVb
wR5_YWECjaY7 = {}
for QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(mVI5sGGXVJu2, roI3spqORKae(ES5oEprVxulp(b'\x15\x07\xf9v'), chr(3795 - 3695) + chr(101) + chr(0b111111 + 0o44) + '\157' + '\x64' + chr(101))(chr(117) + chr(0b100111 + 0o115) + chr(0b1000 + 0o136) + chr(0b101101) + chr(0b111000)))()):
if JyFDm8vknbFK:
wR5_YWECjaY7[QYodcsDtoGq7] = aHUqKstZLeS6.path.Y4yM9BcfTCNq(YtDhZvF7VzwC, PmE5_h409JAA + roI3spqORKae(ES5oEprVxulp(b'!'), chr(0b101 + 0o137) + chr(0b1100101) + chr(0b111001 + 0o52) + '\x6f' + chr(0b1100100) + '\x65')(chr(117) + chr(116) + '\146' + '\055' + chr(219 - 163)) + QYodcsDtoGq7 + roI3spqORKae(ES5oEprVxulp(b'P'), '\x64' + '\145' + '\143' + chr(111) + chr(2084 - 1984) + chr(0b1100100 + 0o1))(chr(2287 - 2170) + chr(5287 - 5171) + chr(102) + chr(45) + chr(0b111 + 0o61)) + JummcHpaNLEw)
else:
wR5_YWECjaY7[QYodcsDtoGq7] = PmE5_h409JAA + roI3spqORKae(ES5oEprVxulp(b'!'), '\x64' + chr(2916 - 2815) + '\x63' + '\x6f' + chr(0b1100100) + chr(0b1100101))(chr(0b1110001 + 0o4) + '\164' + chr(5168 - 5066) + '\x2d' + chr(0b100100 + 0o24)) + QYodcsDtoGq7 + roI3spqORKae(ES5oEprVxulp(b'P'), chr(0b1100100) + chr(0b1100101) + chr(99) + '\157' + chr(100) + chr(201 - 100))(chr(0b110110 + 0o77) + chr(9342 - 9226) + chr(0b1011 + 0o133) + chr(0b10001 + 0o34) + chr(0b111000)) + JummcHpaNLEw
if xMF4aPRocaG1 and bxxuZm4I6LgY:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\r\x03\xf6`\x03\x88\xce\xe0\xcb\xc8'), chr(2181 - 2081) + chr(1346 - 1245) + chr(0b1100011) + '\157' + chr(3174 - 3074) + chr(0b1011110 + 0o7))(chr(125 - 8) + chr(116) + chr(102) + '\055' + chr(1911 - 1855)))(mVI5sGGXVJu2, wR5_YWECjaY7, incl_directory=JyFDm8vknbFK)
if f4XDWm__k5ZA:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\x1a\x10\xe1r\x03\x9e\xcb\xe8\xcc'), '\x64' + chr(101) + chr(0b1100011) + chr(0b10011 + 0o134) + chr(0b1100100) + '\145')(chr(0b101001 + 0o114) + chr(0b10100 + 0o140) + chr(8557 - 8455) + chr(0b101101) + chr(56)))(mVI5sGGXVJu2)
CMfsDQitQrpd = QnTXOd5N96r1(roI3spqORKae(ES5oEprVxulp(b'-9\xe1X*\x9d\x82\xff\xd3\xd4\x18\xa8\x8d\x86\xc1\x03\xbaX\xe1\xdfHq\xa0\xd3\x82\x85\xbc\x0ei]\x19\x9dlB\xb9\x12v\xad\xa4\xed\x0c\x07\xf4p.\x96\x9c\xaf\xcb\xd4L\xb8\xce\xc8\xee\x19\x89]\xe1\xb6\x01'), chr(100) + chr(0b1100101) + chr(1289 - 1190) + chr(0b10111 + 0o130) + '\x64' + '\145')('\x75' + '\x74' + '\x66' + chr(92 - 47) + chr(0b11001 + 0o37)))
if CMfsDQitQrpd == roI3spqORKae(ES5oEprVxulp(b'\x1f'), '\144' + '\145' + '\x63' + '\157' + chr(100) + chr(2846 - 2745))(chr(0b1101 + 0o150) + chr(0b1101000 + 0o14) + chr(0b1100110) + chr(45) + '\070'):
wR5_YWECjaY7 = {}
for QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(mVI5sGGXVJu2, roI3spqORKae(ES5oEprVxulp(b'\x15\x07\xf9v'), chr(100) + chr(101) + '\143' + '\157' + chr(100) + chr(8606 - 8505))(chr(0b1110101) + chr(0b1110100) + chr(0b111110 + 0o50) + chr(45) + '\x38'))()):
if JyFDm8vknbFK:
wR5_YWECjaY7[QYodcsDtoGq7] = aHUqKstZLeS6.path.Y4yM9BcfTCNq(YtDhZvF7VzwC, EJPYhrC8WoVb + roI3spqORKae(ES5oEprVxulp(b'!'), '\144' + chr(2298 - 2197) + '\143' + '\157' + chr(2897 - 2797) + '\x65')('\165' + chr(0b1001101 + 0o47) + chr(2196 - 2094) + chr(0b10011 + 0o32) + chr(1846 - 1790)) + QYodcsDtoGq7 + roI3spqORKae(ES5oEprVxulp(b'P'), '\144' + chr(0b11111 + 0o106) + chr(99) + chr(111) + '\x64' + '\x65')(chr(11977 - 11860) + chr(8326 - 8210) + chr(0b1100110) + '\055' + chr(56)) + JummcHpaNLEw)
else:
wR5_YWECjaY7[QYodcsDtoGq7] = EJPYhrC8WoVb + roI3spqORKae(ES5oEprVxulp(b'!'), chr(100) + chr(10188 - 10087) + chr(0b10001 + 0o122) + chr(111) + chr(0b110 + 0o136) + chr(7658 - 7557))(chr(9665 - 9548) + chr(0b1110100) + chr(7720 - 7618) + '\x2d' + chr(3089 - 3033)) + QYodcsDtoGq7 + roI3spqORKae(ES5oEprVxulp(b'P'), chr(3919 - 3819) + '\145' + chr(0b1100011) + chr(2128 - 2017) + chr(100) + chr(5695 - 5594))(chr(0b11111 + 0o126) + chr(116) + '\x66' + chr(45) + chr(0b111000)) + JummcHpaNLEw
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\r\x03\xf6`\x03\x88\xce\xe0\xcb\xc8'), chr(0b1010110 + 0o16) + chr(0b1100101) + chr(2086 - 1987) + '\x6f' + chr(100) + chr(2747 - 2646))(chr(0b1110101) + chr(116) + chr(8904 - 8802) + chr(0b11 + 0o52) + chr(2637 - 2581)))(mVI5sGGXVJu2, wR5_YWECjaY7, incl_directory=JyFDm8vknbFK)
if CMfsDQitQrpd == roI3spqORKae(ES5oEprVxulp(b''), chr(0b1001111 + 0o25) + chr(2941 - 2840) + '\x63' + '\x6f' + '\144' + chr(7936 - 7835))(chr(117) + chr(5982 - 5866) + chr(0b1100110) + '\x2d' + chr(0b111000)):
B6UAF1zReOyJ += nzTpIcepk0o8('\x30' + chr(0b0 + 0o157) + chr(49), 8)
if CMfsDQitQrpd == roI3spqORKae(ES5oEprVxulp(b'\x0e'), '\x64' + chr(8678 - 8577) + '\x63' + chr(0b1001011 + 0o44) + chr(0b11111 + 0o105) + chr(101))(chr(0b1110101) + chr(7883 - 7767) + chr(0b1100110) + chr(45) + chr(0b110110 + 0o2)):
del lyyaSLqlyF3P[-nzTpIcepk0o8(chr(0b110000) + chr(0b0 + 0o157) + chr(49), 8)]
B6UAF1zReOyJ -= nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b11000 + 0o31), 8)
if CMfsDQitQrpd == roI3spqORKae(ES5oEprVxulp(b'\x0f'), '\x64' + chr(0b1100101) + chr(0b1100011) + chr(10676 - 10565) + chr(100) + '\145')(chr(0b1110101) + chr(116) + '\146' + '\055' + chr(0b11000 + 0o40)):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'9\r\xefa|\x9a\xdb\xea'), chr(0b101010 + 0o72) + chr(0b1100101) + chr(7635 - 7536) + chr(111) + chr(5618 - 5518) + '\x65')(chr(0b1110101) + chr(11234 - 11118) + chr(0b1100110) + chr(0b10100 + 0o31) + chr(56)))
return (nzTpIcepk0o8(chr(1506 - 1458) + chr(5576 - 5465) + chr(0b10100 + 0o35), 8), [])
if CMfsDQitQrpd == roI3spqORKae(ES5oEprVxulp(b'\r'), chr(0b1011111 + 0o5) + '\x65' + '\143' + '\157' + chr(6533 - 6433) + '\x65')(chr(117) + chr(0b101 + 0o157) + chr(0b1100110) + '\x2d' + chr(56)):
cBw3GySTQ02e = nzTpIcepk0o8('\060' + chr(0b1101001 + 0o6) + '\x31', 8)
EJPYhrC8WoVb = QnTXOd5N96r1(roI3spqORKae(ES5oEprVxulp(b';\x0c\xf4`.\xd8\xc6\xea\xcc\xd2\x1e\xbe\xc5\x86\xe9\x00\x82K\xed\xd1Dr\xe5\xd3\xc3\x86\xb8C$\x1eK\xe6{v\xbe\x08v\xa1\xf4\xb0\x0c\x16\xa0q4\x9d\xd0\xea\x9f\xd4\n\xf2\x9b\x86'), '\x64' + chr(3391 - 3290) + chr(99) + '\x6f' + chr(0b1100100) + chr(101))(chr(7184 - 7067) + chr(0b1001000 + 0o54) + chr(1632 - 1530) + chr(0b11101 + 0o20) + chr(3045 - 2989)))
while cBw3GySTQ02e == nzTpIcepk0o8(chr(48) + chr(111) + chr(0b110001), 8):
try:
B6UAF1zReOyJ = Wbavx5JmRXKA.ZpfN5tSLaZze(EJPYhrC8WoVb)
cBw3GySTQ02e = nzTpIcepk0o8(chr(0b110000) + chr(0b1100100 + 0o13) + '\x30', 8)
except UtiWT6f6p9yZ:
RYTsRvdsGVij = []
for Q2Pf3RkCp_9I in bbT2xIe5pzk7(ftfygxgFas5X(Wbavx5JmRXKA)):
if EJPYhrC8WoVb in Wbavx5JmRXKA[Q2Pf3RkCp_9I]:
roI3spqORKae(RYTsRvdsGVij, roI3spqORKae(ES5oEprVxulp(b'66\xd31$\x9f\xe5\xe0\xd5\xd49\xee'), '\144' + '\145' + '\x63' + chr(0b1000100 + 0o53) + chr(100) + chr(101))(chr(117) + chr(116) + '\x66' + chr(0b101101) + chr(56)))(Wbavx5JmRXKA[Q2Pf3RkCp_9I])
v8jsMqaYV6U2(EJPYhrC8WoVb, roI3spqORKae(ES5oEprVxulp(b'^\x0c\xefq|\x9e\xcd\xfa\xd1\xdf@\xfb\xc3\xd3\xeeP\x93@\xed\xcf\x01k\xa4\xce\x98\xcb'), '\144' + chr(0b1100100 + 0o1) + chr(1642 - 1543) + chr(111) + chr(0b1010001 + 0o23) + chr(5770 - 5669))('\165' + chr(116) + chr(102) + '\x2d' + chr(0b111000)))
v8jsMqaYV6U2(RYTsRvdsGVij)
EJPYhrC8WoVb = QnTXOd5N96r1(roI3spqORKae(ES5oEprVxulp(b'-\x07\xec`?\x8c\x82\xe0\xd1\xdeL\xb4\xd3\x86\xee\x02\x9e\x08\xe5\xdb@u\xab\xb7\x82'), '\144' + '\x65' + '\x63' + '\157' + '\x64' + chr(101))(chr(0b1110101) + chr(116) + chr(102) + chr(45) + chr(0b111000)))
B6UAF1zReOyJ = Wbavx5JmRXKA.ZpfN5tSLaZze(EJPYhrC8WoVb)
else:
B6UAF1zReOyJ += nzTpIcepk0o8(chr(48) + chr(111) + chr(672 - 623), 8)
if ftfygxgFas5X(TQ0u0KgwFXN5) == nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(369 - 321), 8) and ftfygxgFas5X(RpftP1fBhfme) == nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b0 + 0o60), 8):
if TseISVdPlfdM:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\r\t\xe9u,\x91\xcc\xe8\x9f\xcf\x04\xb2\xd2\x86\xf5\x1e\x82\x08\xa9\x9cOs\xe5\xd5\xdb\x98\xa9\x06~\x14J\xafn?\xa8\x1av\xe0'), chr(0b101 + 0o137) + chr(0b1000101 + 0o40) + chr(2384 - 2285) + '\157' + '\x64' + '\145')(chr(0b1110101) + '\x74' + chr(2036 - 1934) + chr(0b101101) + chr(0b101011 + 0o15)))
B6UAF1zReOyJ += nzTpIcepk0o8('\x30' + chr(0b1101111) + '\x31', 8)
if B6UAF1zReOyJ < ftfygxgFas5X(Wbavx5JmRXKA):
if xMF4aPRocaG1 and roI3spqORKae(NsnRtbLAhqc_, roI3spqORKae(ES5oEprVxulp(b'71\xdfR\x15\xb6'), chr(0b1100100) + chr(0b1100101) + chr(0b110 + 0o135) + chr(111) + '\x64' + chr(0b1100101))(chr(0b1110101) + '\164' + chr(102) + chr(1651 - 1606) + chr(1373 - 1317))):
if not bxxuZm4I6LgY:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\x0e\x0e\xefq\x03\x91\xcc\xe6\xcb'), chr(0b1100100) + '\145' + '\143' + '\x6f' + chr(0b1100100) + '\145')('\165' + '\x74' + chr(0b1100110) + chr(45) + chr(164 - 108)))(mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b':\x06\xe5i(\x99\xef'), chr(0b1100100) + chr(101) + chr(728 - 629) + chr(111) + '\x64' + chr(101))(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + '\x2d' + '\070')], nzTpIcepk0o8(chr(0b100 + 0o54) + '\157' + chr(0b110101), 8), nzTpIcepk0o8(chr(0b100011 + 0o15) + chr(0b1010111 + 0o30) + '\065', 8))
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\x0e\x0e\xefq\x03\x91\xcc\xe6\xcb'), '\144' + chr(5325 - 5224) + chr(0b1100011) + chr(12172 - 12061) + '\x64' + '\x65')(chr(0b1110101) + chr(4476 - 4360) + chr(0b100001 + 0o105) + '\055' + chr(56)))(mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b'\x1a\x07\xecq=\xb5'), chr(0b1100100) + '\145' + chr(9050 - 8951) + chr(0b1101111) + chr(100) + chr(0b1100101))(chr(117) + chr(0b1110100) + chr(0b1100110) + '\x2d' + chr(56))], nzTpIcepk0o8(chr(0b1001 + 0o47) + chr(0b1000100 + 0o53) + chr(0b1011 + 0o52), 8), nzTpIcepk0o8('\x30' + chr(192 - 81) + '\065', 8))
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\x0e\x0e\xefq\x03\x91\xcc\xe6\xcb'), chr(0b111 + 0o135) + chr(9543 - 9442) + chr(99) + chr(0b1010101 + 0o32) + '\x64' + '\x65')(chr(0b1110101) + chr(11237 - 11121) + chr(102) + '\x2d' + '\x38'))(mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b'\x16\x1b\xf3q'), chr(0b10000 + 0o124) + chr(6692 - 6591) + chr(99) + '\157' + chr(0b1010100 + 0o20) + '\x65')(chr(0b1110101) + chr(0b1110100) + chr(625 - 523) + '\x2d' + chr(2944 - 2888))], nzTpIcepk0o8(chr(0b110000) + chr(7613 - 7502) + chr(0b10101 + 0o40), 8), nzTpIcepk0o8(chr(1716 - 1668) + '\157' + '\x35', 8))
if ftfygxgFas5X(PXtBQz5ampDn) > nzTpIcepk0o8('\x30' + '\x6f' + chr(0b1011 + 0o45), 8):
mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b'\x17\x0f\xe1b'), '\144' + '\145' + chr(0b110000 + 0o63) + chr(0b1101111) + chr(0b1100100) + chr(0b1100101))('\x75' + '\164' + '\x66' + chr(961 - 916) + chr(0b10111 + 0o41))] = nzTpIcepk0o8('\x30' + chr(0b110 + 0o151) + '\064', 8)
if not bxxuZm4I6LgY:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\x0e\x0e\xefq\x03\x91\xcc\xe6\xcb'), chr(100) + '\145' + '\143' + '\x6f' + chr(0b1100100) + chr(0b1100101))(chr(117) + chr(0b1110100) + chr(4176 - 4074) + chr(1576 - 1531) + chr(56)))(mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b'\x17\x0f\xe1b'), '\x64' + chr(8304 - 8203) + '\143' + chr(0b1101111) + chr(1118 - 1018) + '\145')('\x75' + chr(0b11001 + 0o133) + chr(0b1100110) + '\055' + chr(0b111000))], nzTpIcepk0o8(chr(0b101101 + 0o3) + chr(5422 - 5311) + chr(0b11001 + 0o34), 8), nzTpIcepk0o8(chr(48) + chr(0b10101 + 0o132) + '\065', 8))
if ftfygxgFas5X(RpftP1fBhfme) > nzTpIcepk0o8(chr(48) + chr(111) + chr(0b11011 + 0o25), 8):
mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b'\x17\x10\xed'), chr(0b1010001 + 0o23) + '\x65' + chr(0b1100011) + '\157' + '\x64' + chr(4191 - 4090))('\x75' + chr(0b1110100) + '\146' + chr(0b101101) + '\070')] = nzTpIcepk0o8('\x30' + chr(111) + chr(2008 - 1955), 8) if roI3spqORKae(ES5oEprVxulp(b'\x17\x0f\xe1b'), chr(0b1100100) + chr(7383 - 7282) + chr(6743 - 6644) + chr(0b1101111 + 0o0) + chr(9025 - 8925) + '\x65')(chr(0b1110101) + chr(0b1110100) + '\x66' + chr(0b101101) + '\070') in mVI5sGGXVJu2 else nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(52), 8)
if not bxxuZm4I6LgY:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\x0e\x0e\xefq\x03\x91\xcc\xe6\xcb'), chr(0b1100100) + '\x65' + '\143' + chr(0b1101111) + chr(100) + '\x65')('\165' + '\x74' + '\x66' + chr(508 - 463) + chr(0b11111 + 0o31)))(mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b'\x17\x10\xed'), chr(100) + chr(0b1100101) + '\x63' + '\x6f' + chr(8837 - 8737) + chr(101))('\165' + chr(0b111110 + 0o66) + chr(7396 - 7294) + '\055' + chr(0b111000))], nzTpIcepk0o8(chr(0b100111 + 0o11) + chr(111) + chr(423 - 370), 8), nzTpIcepk0o8(chr(1171 - 1123) + '\x6f' + chr(53), 8))
elif not xMF4aPRocaG1 and roI3spqORKae(NsnRtbLAhqc_, roI3spqORKae(ES5oEprVxulp(b'71\xdfR\x15\xb6'), '\144' + chr(0b1100101) + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + chr(101))(chr(117) + chr(0b1110100) + chr(7758 - 7656) + chr(1559 - 1514) + chr(56))):
(mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b'\x16\x1b\xf3q'), chr(100) + chr(101) + chr(1027 - 928) + '\x6f' + '\144' + chr(101))(chr(3782 - 3665) + chr(0b1110100) + chr(102) + chr(0b101101) + chr(0b11101 + 0o33))], mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b'\x1a\x07\xecq=\xb5'), chr(0b1000000 + 0o44) + chr(0b1100101) + chr(0b1100011) + chr(111) + chr(0b110010 + 0o62) + '\145')(chr(7685 - 7568) + chr(116) + chr(102) + chr(0b10000 + 0o35) + chr(0b111000))], mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b':\x06\xe5i(\x99\xef'), chr(0b1100100) + chr(0b1100101) + '\x63' + '\157' + chr(100) + '\x65')(chr(117) + chr(0b1101110 + 0o6) + chr(0b10011 + 0o123) + chr(45) + chr(2529 - 2473))], mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b'\x17\x10\xed'), chr(0b0 + 0o144) + chr(101) + chr(4750 - 4651) + chr(6171 - 6060) + '\144' + chr(0b1100101))(chr(117) + '\x74' + '\146' + chr(45) + chr(0b111000))], mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b'\x17\x0f\xe1b'), chr(6717 - 6617) + chr(101) + chr(99) + '\157' + chr(100) + chr(0b10 + 0o143))(chr(9707 - 9590) + chr(11962 - 11846) + '\x66' + chr(0b1111 + 0o36) + '\x38')]) = (nzTpIcepk0o8('\060' + chr(111) + chr(0b100 + 0o54), 8), nzTpIcepk0o8(chr(48) + chr(0b1000110 + 0o51) + chr(0b110000), 8), nzTpIcepk0o8(chr(2052 - 2004) + '\157' + '\060', 8), nzTpIcepk0o8(chr(0b110000) + chr(0b111100 + 0o63) + chr(817 - 769), 8), nzTpIcepk0o8(chr(1581 - 1533) + chr(111) + chr(0b111 + 0o51), 8))
if ftfygxgFas5X(lyyaSLqlyF3P) > nzTpIcepk0o8(chr(48) + chr(111) + chr(0b110000), 8):
(ats0aw_IRz86, HOp0ZjSPeQln) = ([], H4NoA26ON7iG(lyyaSLqlyF3P[nzTpIcepk0o8(chr(1557 - 1509) + chr(111) + chr(0b110000), 8)].keys()))
if ftfygxgFas5X(g6VUeSxVMe4D) > nzTpIcepk0o8('\060' + chr(8690 - 8579) + '\x30', 8):
G_dK64XfPNN0 = H4NoA26ON7iG(g6VUeSxVMe4D[nzTpIcepk0o8(chr(48) + chr(111) + '\x30', 8)].keys())
else:
G_dK64XfPNN0 = []
for FKO_XxLfWbYt in g6VUeSxVMe4D:
for QYodcsDtoGq7 in HOp0ZjSPeQln:
if QYodcsDtoGq7 not in H4NoA26ON7iG(roI3spqORKae(FKO_XxLfWbYt, roI3spqORKae(ES5oEprVxulp(b'\x15\x07\xf9v'), chr(100) + chr(101) + chr(0b1100011) + chr(0b1000 + 0o147) + chr(0b111010 + 0o52) + chr(0b1100101))(chr(1139 - 1022) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(56)))()):
FKO_XxLfWbYt[QYodcsDtoGq7] = roI3spqORKae(ES5oEprVxulp(b''), chr(7850 - 7750) + chr(0b1100101) + chr(99) + chr(10442 - 10331) + chr(100) + '\145')('\165' + chr(0b111011 + 0o71) + chr(694 - 592) + chr(0b101101) + chr(0b111000))
if roI3spqORKae(ES5oEprVxulp(b'22\xadM\x05\xab'), chr(0b1100100) + chr(0b1100101) + chr(99) + chr(5912 - 5801) + chr(100) + '\145')(chr(0b1111 + 0o146) + '\164' + '\x66' + chr(0b1000 + 0o45) + '\x38') not in FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\x13\x07\xf4m3\x9c\xfd\xec\xd0\xdf\t\xa8'), chr(6109 - 6009) + chr(0b1010010 + 0o23) + chr(99) + '\157' + chr(0b0 + 0o144) + chr(101))('\165' + chr(11767 - 11651) + chr(102) + chr(255 - 210) + chr(56))]:
roI3spqORKae(ats0aw_IRz86, roI3spqORKae(ES5oEprVxulp(b'66\xd31$\x9f\xe5\xe0\xd5\xd49\xee'), '\x64' + '\x65' + '\x63' + chr(0b1101111) + '\x64' + chr(101))(chr(0b1110101) + '\164' + chr(0b1100010 + 0o4) + chr(0b101101) + chr(0b100 + 0o64)))(FKO_XxLfWbYt)
for FKO_XxLfWbYt in lyyaSLqlyF3P:
for QYodcsDtoGq7 in G_dK64XfPNN0:
if QYodcsDtoGq7 not in H4NoA26ON7iG(roI3spqORKae(FKO_XxLfWbYt, roI3spqORKae(ES5oEprVxulp(b'\x15\x07\xf9v'), '\144' + chr(8457 - 8356) + '\143' + '\x6f' + chr(7703 - 7603) + chr(0b1100101))('\x75' + '\x74' + chr(102) + '\x2d' + chr(0b111000)))()):
FKO_XxLfWbYt[QYodcsDtoGq7] = roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(0b1100101) + chr(99) + chr(9006 - 8895) + chr(0b1100100) + chr(0b1100101))(chr(0b1000110 + 0o57) + chr(0b1010111 + 0o35) + chr(0b1000011 + 0o43) + '\055' + '\x38')
kQ4qX8I6GVGJ = hUcsWwAd0nE_.get_dictitem(g6VUeSxVMe4D, roI3spqORKae(ES5oEprVxulp(b'\r\x12\xe5f5\x95\xc7\xe1'), '\144' + chr(3563 - 3462) + '\143' + chr(111) + chr(0b1100100) + '\x65')(chr(5409 - 5292) + '\x74' + '\x66' + chr(45) + '\x38'), FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\r\x12\xe5f5\x95\xc7\xe1'), chr(0b100111 + 0o75) + chr(0b0 + 0o145) + chr(4295 - 4196) + '\x6f' + chr(0b1100100) + chr(8552 - 8451))('\x75' + chr(0b1010110 + 0o36) + '\146' + chr(45) + chr(0b111000))], roI3spqORKae(ES5oEprVxulp(b'*'), '\144' + '\x65' + chr(3570 - 3471) + '\x6f' + '\x64' + chr(1490 - 1389))('\x75' + chr(0b1100000 + 0o24) + '\x66' + chr(0b101101) + '\x38'))
if ftfygxgFas5X(kQ4qX8I6GVGJ) > nzTpIcepk0o8(chr(142 - 94) + chr(7071 - 6960) + chr(0b100011 + 0o15), 8) and roI3spqORKae(ES5oEprVxulp(b'\r\x03\xedu0\x9d'), chr(0b1011011 + 0o11) + chr(8378 - 8277) + chr(0b11110 + 0o105) + chr(111) + '\144' + '\145')('\165' + '\x74' + '\146' + chr(45) + chr(56)) in H4NoA26ON7iG(roI3spqORKae(kQ4qX8I6GVGJ[nzTpIcepk0o8(chr(0b110000) + chr(111) + '\060', 8)], roI3spqORKae(ES5oEprVxulp(b'\x15\x07\xf9v'), chr(0b1100100) + '\145' + '\x63' + chr(0b1000011 + 0o54) + chr(0b110101 + 0o57) + chr(101))('\165' + chr(0b1110100) + chr(9564 - 9462) + chr(1413 - 1368) + chr(851 - 795)))()):
FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\r\x03\xedu0\x9d'), chr(0b11011 + 0o111) + '\145' + '\143' + '\x6f' + chr(100) + chr(0b1100101))('\x75' + chr(116) + chr(0b11011 + 0o113) + chr(748 - 703) + '\070')] = kQ4qX8I6GVGJ[nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(48), 8)][roI3spqORKae(ES5oEprVxulp(b'\r\x03\xedu0\x9d'), chr(100) + chr(0b101010 + 0o73) + chr(99) + chr(0b10011 + 0o134) + chr(0b1100100) + chr(3494 - 3393))(chr(0b1110101) + '\x74' + chr(0b1100110) + '\055' + '\x38')]
roI3spqORKae(ats0aw_IRz86, roI3spqORKae(ES5oEprVxulp(b'66\xd31$\x9f\xe5\xe0\xd5\xd49\xee'), chr(0b11000 + 0o114) + '\x65' + '\x63' + '\x6f' + chr(100) + chr(0b101110 + 0o67))(chr(0b1001111 + 0o46) + chr(0b1110100) + '\x66' + '\055' + chr(56)))(FKO_XxLfWbYt)
D3H9MFOOog2W = RYEhqzIVZREo.Contribution(KADebXAR9grB, read_tables=[])
roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'\x1f\x06\xe4Z1\x99\xc5\xe6\xdc\xe4\x18\xba\xc3\xca\xff/\x81Z\xeb\xd1~x\xa4\xc9\xc3'), chr(9271 - 9171) + chr(0b1100101) + '\143' + chr(0b1101111) + '\x64' + chr(383 - 282))(chr(0b1110101) + chr(116) + chr(6778 - 6676) + chr(146 - 101) + chr(0b100 + 0o64)))(roI3spqORKae(ES5oEprVxulp(b'\r\x12\xe5f5\x95\xc7\xe1\xcc'), chr(0b11011 + 0o111) + '\x65' + '\143' + chr(1857 - 1746) + '\x64' + chr(0b1100101))('\x75' + '\x74' + chr(102) + chr(45) + chr(0b110000 + 0o10)), ats0aw_IRz86)
roI3spqORKae(D3H9MFOOog2W.tables[roI3spqORKae(ES5oEprVxulp(b'\r\x12\xe5f5\x95\xc7\xe1\xcc'), chr(4885 - 4785) + chr(0b1100101) + chr(0b11100 + 0o107) + chr(0b1101111) + chr(100) + chr(0b1100101))('\x75' + '\164' + chr(6919 - 6817) + '\055' + '\070')], roI3spqORKae(ES5oEprVxulp(b'\x1a\x10\xefu\x03\x9c\xd7\xff\xd3\xd2\x0f\xba\xd5\xc3\xc5\x02\x88_\xf7'), chr(7108 - 7008) + chr(101) + chr(99) + chr(4475 - 4364) + chr(100) + chr(6276 - 6175))(chr(117) + chr(0b1110100) + '\146' + chr(0b101101) + chr(2813 - 2757)))(ignore_cols=[roI3spqORKae(ES5oEprVxulp(b'\r\x12\xe5f5\x95\xc7\xe1'), chr(100) + chr(0b101000 + 0o75) + '\x63' + chr(0b11011 + 0o124) + '\x64' + chr(0b1100101))('\x75' + '\164' + '\x66' + '\x2d' + chr(0b10011 + 0o45)), roI3spqORKae(ES5oEprVxulp(b'\r\x03\xedu0\x9d'), '\144' + '\x65' + chr(0b101100 + 0o67) + chr(0b1101111) + '\144' + chr(6536 - 6435))('\x75' + chr(0b1100110 + 0o16) + chr(102) + chr(45) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\x1d\x0b\xf4d(\x91\xcd\xe1\xcc'), chr(0b1000100 + 0o40) + '\x65' + '\x63' + '\x6f' + '\x64' + chr(101))('\165' + chr(1411 - 1295) + chr(0b11001 + 0o115) + '\055' + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\r\r\xe6q+\x99\xd0\xea\xe0\xcb\r\xb8\xca\xc7\xfd\x15\x94'), chr(4280 - 4180) + '\x65' + chr(0b1100011) + '\157' + chr(4820 - 4720) + chr(0b1001011 + 0o32))(chr(117) + '\164' + chr(0b1100110) + chr(286 - 241) + '\070')])
D3H9MFOOog2W.tables[roI3spqORKae(ES5oEprVxulp(b'\r\x12\xe5f5\x95\xc7\xe1\xcc'), chr(0b111 + 0o135) + chr(0b1001100 + 0o31) + chr(0b111011 + 0o50) + '\x6f' + chr(100) + '\x65')(chr(117) + chr(0b1010001 + 0o43) + chr(4161 - 4059) + chr(0b11001 + 0o24) + chr(0b101 + 0o63))].jpOn8DNZxbbx = D3H9MFOOog2W.tables[roI3spqORKae(ES5oEprVxulp(b'\r\x12\xe5f5\x95\xc7\xe1\xcc'), chr(0b1100100) + chr(0b1100101) + '\x63' + chr(111) + chr(0b1100100) + chr(101))(chr(0b1 + 0o164) + chr(116) + '\x66' + chr(45) + chr(56))].df.drop_duplicates()
QJgeTIOanow9 = aHUqKstZLeS6.path.Y4yM9BcfTCNq(YtDhZvF7VzwC, aHUqKstZLeS6.path.LfRrQOxuDvnC(QJgeTIOanow9)[nzTpIcepk0o8(chr(0b11011 + 0o25) + chr(0b1010 + 0o145) + chr(0b110001), 8)])
roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'\t\x10\xe9q9\xa7\xd6\xee\xdd\xd7\t\x84\xd5\xc9\xc5\x16\x8eD\xe1'), '\x64' + chr(8957 - 8856) + chr(99) + chr(111) + chr(0b101010 + 0o72) + '\x65')(chr(0b111000 + 0o75) + chr(116) + chr(0b11101 + 0o111) + chr(0b100100 + 0o11) + '\x38'))(roI3spqORKae(ES5oEprVxulp(b'\r\x12\xe5f5\x95\xc7\xe1\xcc'), '\144' + chr(0b1100101) + '\x63' + chr(9356 - 9245) + '\x64' + chr(0b1100101))(chr(0b1110101) + chr(116) + chr(0b1100110) + '\055' + chr(0b100101 + 0o23)), custom_name=QJgeTIOanow9)
if TseISVdPlfdM:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x16\x1b\xf3q9\x8a\xc7\xfc\xd6\xc8L\xab\xc0\xd4\xfb\x1d\x82\\\xe1\xceR<\xb6\xdc\xd4\x8e\xb9Ce\x1f\x19'), '\x64' + '\145' + chr(3416 - 3317) + chr(8370 - 8259) + '\x64' + '\x65')(chr(0b1000111 + 0o56) + chr(9608 - 9492) + '\146' + chr(0b10 + 0o53) + chr(939 - 883)), QJgeTIOanow9)
return (nzTpIcepk0o8(chr(48) + chr(6430 - 6319) + chr(822 - 773), 8), [QJgeTIOanow9])
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
sites_extract
|
def sites_extract(site_file='sites.txt', directions_file='directions.xls',
intensity_file='intensity.xls', info_file='site_info.xls',
output_dir_path='.', input_dir_path='', latex=False):
"""
Extracts directional and/or intensity data from a MagIC 3.0 format sites.txt file.
Default output format is an Excel file.
Optional latex format longtable file which can be uploaded to Overleaf or
typeset with latex on your own computer.
Parameters
___________
site_file : str
input file name
directions_file : str
output file name for directional data
intensity_file : str
output file name for intensity data
site_info : str
output file name for site information (lat, lon, location, age....)
output_dir_path : str
path for output files
input_dir_path : str
path for intput file if different from output_dir_path (default is same)
latex : boolean
if True, output file should be latex formatted table with a .tex ending
Return :
[True,False], error type : True if successful
Effects :
writes Excel or LaTeX formatted tables for use in publications
"""
# initialize outfile names
input_dir_path, output_dir_path = pmag.fix_directories(input_dir_path, output_dir_path)
try:
fname = pmag.resolve_file_name(site_file, input_dir_path)
except IOError:
print("bad site file name")
return False, "bad site file name"
sites_df = pd.read_csv(fname, sep='\t', header=1)
dir_df = map_magic.convert_site_dm3_table_directions(sites_df)
dir_file = pmag.resolve_file_name(directions_file, output_dir_path)
if len(dir_df):
if latex:
if dir_file.endswith('.xls'):
dir_file = dir_file[:-4] + ".tex"
directions_out = open(dir_file, 'w+', errors="backslashreplace")
directions_out.write('\documentclass{article}\n')
directions_out.write('\\usepackage{booktabs}\n')
directions_out.write('\\usepackage{longtable}\n')
directions_out.write('\\begin{document}')
directions_out.write(dir_df.to_latex(
index=False, longtable=True, multicolumn=False))
directions_out.write('\end{document}\n')
directions_out.close()
else:
dir_df.to_excel(dir_file, index=False)
else:
print("No directional data for ouput.")
dir_file = None
intensity_file = pmag.resolve_file_name(intensity_file, output_dir_path)
int_df = map_magic.convert_site_dm3_table_intensity(sites_df)
if len(int_df):
if latex:
if intensity_file.endswith('.xls'):
intensity_file = intensity_file[:-4] + ".tex"
intensities_out = open(intensity_file, 'w+',
errors="backslashreplace")
intensities_out.write('\documentclass{article}\n')
intensities_out.write('\\usepackage{booktabs}\n')
intensities_out.write('\\usepackage{longtable}\n')
intensities_out.write('\\begin{document}')
intensities_out.write(int_df.to_latex(
index=False, longtable=True, multicolumn=False))
intensities_out.write('\end{document}\n')
intensities_out.close()
else:
int_df.to_excel(intensity_file, index=False)
else:
print("No intensity data for ouput.")
intensity_file = None
# site info
nfo_df = sites_df.dropna(subset=['lat', 'lon']) # delete blank locations
if len(nfo_df) > 0:
SiteCols = ["Site", "Location", "Lat. (N)", "Long. (E)"]
info_file = pmag.resolve_file_name(info_file, output_dir_path)
age_cols = ['age', 'age_sigma', 'age_unit']
for col in age_cols:
if col not in nfo_df:
nfo_df[col] = None
test_age = nfo_df.dropna(subset=['age', 'age_sigma', 'age_unit'])
if len(test_age) > 0:
SiteCols.append("Age ")
SiteCols.append("Age sigma")
SiteCols.append("Units")
nfo_df = nfo_df[['site', 'location', 'lat',
'lon', 'age', 'age_sigma', 'age_unit']]
else:
nfo_df = nfo_df[['site', 'location', 'lat', 'lon']]
nfo_df.drop_duplicates(inplace=True)
nfo_df.columns = SiteCols
nfo_df.fillna(value='', inplace=True)
if latex:
if info_file.endswith('.xls'):
info_file = info_file[:-4] + ".tex"
info_out = open(info_file, 'w+', errors="backslashreplace")
info_out.write('\documentclass{article}\n')
info_out.write('\\usepackage{booktabs}\n')
info_out.write('\\usepackage{longtable}\n')
info_out.write('\\begin{document}')
info_out.write(nfo_df.to_latex(
index=False, longtable=True, multicolumn=False))
info_out.write('\end{document}\n')
info_out.close()
else:
nfo_df.to_excel(info_file, index=False)
else:
print("No location information for ouput.")
info_file = None
return True, [fname for fname in [info_file, intensity_file, dir_file] if fname]
|
python
|
def sites_extract(site_file='sites.txt', directions_file='directions.xls',
intensity_file='intensity.xls', info_file='site_info.xls',
output_dir_path='.', input_dir_path='', latex=False):
"""
Extracts directional and/or intensity data from a MagIC 3.0 format sites.txt file.
Default output format is an Excel file.
Optional latex format longtable file which can be uploaded to Overleaf or
typeset with latex on your own computer.
Parameters
___________
site_file : str
input file name
directions_file : str
output file name for directional data
intensity_file : str
output file name for intensity data
site_info : str
output file name for site information (lat, lon, location, age....)
output_dir_path : str
path for output files
input_dir_path : str
path for intput file if different from output_dir_path (default is same)
latex : boolean
if True, output file should be latex formatted table with a .tex ending
Return :
[True,False], error type : True if successful
Effects :
writes Excel or LaTeX formatted tables for use in publications
"""
# initialize outfile names
input_dir_path, output_dir_path = pmag.fix_directories(input_dir_path, output_dir_path)
try:
fname = pmag.resolve_file_name(site_file, input_dir_path)
except IOError:
print("bad site file name")
return False, "bad site file name"
sites_df = pd.read_csv(fname, sep='\t', header=1)
dir_df = map_magic.convert_site_dm3_table_directions(sites_df)
dir_file = pmag.resolve_file_name(directions_file, output_dir_path)
if len(dir_df):
if latex:
if dir_file.endswith('.xls'):
dir_file = dir_file[:-4] + ".tex"
directions_out = open(dir_file, 'w+', errors="backslashreplace")
directions_out.write('\documentclass{article}\n')
directions_out.write('\\usepackage{booktabs}\n')
directions_out.write('\\usepackage{longtable}\n')
directions_out.write('\\begin{document}')
directions_out.write(dir_df.to_latex(
index=False, longtable=True, multicolumn=False))
directions_out.write('\end{document}\n')
directions_out.close()
else:
dir_df.to_excel(dir_file, index=False)
else:
print("No directional data for ouput.")
dir_file = None
intensity_file = pmag.resolve_file_name(intensity_file, output_dir_path)
int_df = map_magic.convert_site_dm3_table_intensity(sites_df)
if len(int_df):
if latex:
if intensity_file.endswith('.xls'):
intensity_file = intensity_file[:-4] + ".tex"
intensities_out = open(intensity_file, 'w+',
errors="backslashreplace")
intensities_out.write('\documentclass{article}\n')
intensities_out.write('\\usepackage{booktabs}\n')
intensities_out.write('\\usepackage{longtable}\n')
intensities_out.write('\\begin{document}')
intensities_out.write(int_df.to_latex(
index=False, longtable=True, multicolumn=False))
intensities_out.write('\end{document}\n')
intensities_out.close()
else:
int_df.to_excel(intensity_file, index=False)
else:
print("No intensity data for ouput.")
intensity_file = None
# site info
nfo_df = sites_df.dropna(subset=['lat', 'lon']) # delete blank locations
if len(nfo_df) > 0:
SiteCols = ["Site", "Location", "Lat. (N)", "Long. (E)"]
info_file = pmag.resolve_file_name(info_file, output_dir_path)
age_cols = ['age', 'age_sigma', 'age_unit']
for col in age_cols:
if col not in nfo_df:
nfo_df[col] = None
test_age = nfo_df.dropna(subset=['age', 'age_sigma', 'age_unit'])
if len(test_age) > 0:
SiteCols.append("Age ")
SiteCols.append("Age sigma")
SiteCols.append("Units")
nfo_df = nfo_df[['site', 'location', 'lat',
'lon', 'age', 'age_sigma', 'age_unit']]
else:
nfo_df = nfo_df[['site', 'location', 'lat', 'lon']]
nfo_df.drop_duplicates(inplace=True)
nfo_df.columns = SiteCols
nfo_df.fillna(value='', inplace=True)
if latex:
if info_file.endswith('.xls'):
info_file = info_file[:-4] + ".tex"
info_out = open(info_file, 'w+', errors="backslashreplace")
info_out.write('\documentclass{article}\n')
info_out.write('\\usepackage{booktabs}\n')
info_out.write('\\usepackage{longtable}\n')
info_out.write('\\begin{document}')
info_out.write(nfo_df.to_latex(
index=False, longtable=True, multicolumn=False))
info_out.write('\end{document}\n')
info_out.close()
else:
nfo_df.to_excel(info_file, index=False)
else:
print("No location information for ouput.")
info_file = None
return True, [fname for fname in [info_file, intensity_file, dir_file] if fname]
|
[
"def",
"sites_extract",
"(",
"site_file",
"=",
"'sites.txt'",
",",
"directions_file",
"=",
"'directions.xls'",
",",
"intensity_file",
"=",
"'intensity.xls'",
",",
"info_file",
"=",
"'site_info.xls'",
",",
"output_dir_path",
"=",
"'.'",
",",
"input_dir_path",
"=",
"''",
",",
"latex",
"=",
"False",
")",
":",
"# initialize outfile names",
"input_dir_path",
",",
"output_dir_path",
"=",
"pmag",
".",
"fix_directories",
"(",
"input_dir_path",
",",
"output_dir_path",
")",
"try",
":",
"fname",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"site_file",
",",
"input_dir_path",
")",
"except",
"IOError",
":",
"print",
"(",
"\"bad site file name\"",
")",
"return",
"False",
",",
"\"bad site file name\"",
"sites_df",
"=",
"pd",
".",
"read_csv",
"(",
"fname",
",",
"sep",
"=",
"'\\t'",
",",
"header",
"=",
"1",
")",
"dir_df",
"=",
"map_magic",
".",
"convert_site_dm3_table_directions",
"(",
"sites_df",
")",
"dir_file",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"directions_file",
",",
"output_dir_path",
")",
"if",
"len",
"(",
"dir_df",
")",
":",
"if",
"latex",
":",
"if",
"dir_file",
".",
"endswith",
"(",
"'.xls'",
")",
":",
"dir_file",
"=",
"dir_file",
"[",
":",
"-",
"4",
"]",
"+",
"\".tex\"",
"directions_out",
"=",
"open",
"(",
"dir_file",
",",
"'w+'",
",",
"errors",
"=",
"\"backslashreplace\"",
")",
"directions_out",
".",
"write",
"(",
"'\\documentclass{article}\\n'",
")",
"directions_out",
".",
"write",
"(",
"'\\\\usepackage{booktabs}\\n'",
")",
"directions_out",
".",
"write",
"(",
"'\\\\usepackage{longtable}\\n'",
")",
"directions_out",
".",
"write",
"(",
"'\\\\begin{document}'",
")",
"directions_out",
".",
"write",
"(",
"dir_df",
".",
"to_latex",
"(",
"index",
"=",
"False",
",",
"longtable",
"=",
"True",
",",
"multicolumn",
"=",
"False",
")",
")",
"directions_out",
".",
"write",
"(",
"'\\end{document}\\n'",
")",
"directions_out",
".",
"close",
"(",
")",
"else",
":",
"dir_df",
".",
"to_excel",
"(",
"dir_file",
",",
"index",
"=",
"False",
")",
"else",
":",
"print",
"(",
"\"No directional data for ouput.\"",
")",
"dir_file",
"=",
"None",
"intensity_file",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"intensity_file",
",",
"output_dir_path",
")",
"int_df",
"=",
"map_magic",
".",
"convert_site_dm3_table_intensity",
"(",
"sites_df",
")",
"if",
"len",
"(",
"int_df",
")",
":",
"if",
"latex",
":",
"if",
"intensity_file",
".",
"endswith",
"(",
"'.xls'",
")",
":",
"intensity_file",
"=",
"intensity_file",
"[",
":",
"-",
"4",
"]",
"+",
"\".tex\"",
"intensities_out",
"=",
"open",
"(",
"intensity_file",
",",
"'w+'",
",",
"errors",
"=",
"\"backslashreplace\"",
")",
"intensities_out",
".",
"write",
"(",
"'\\documentclass{article}\\n'",
")",
"intensities_out",
".",
"write",
"(",
"'\\\\usepackage{booktabs}\\n'",
")",
"intensities_out",
".",
"write",
"(",
"'\\\\usepackage{longtable}\\n'",
")",
"intensities_out",
".",
"write",
"(",
"'\\\\begin{document}'",
")",
"intensities_out",
".",
"write",
"(",
"int_df",
".",
"to_latex",
"(",
"index",
"=",
"False",
",",
"longtable",
"=",
"True",
",",
"multicolumn",
"=",
"False",
")",
")",
"intensities_out",
".",
"write",
"(",
"'\\end{document}\\n'",
")",
"intensities_out",
".",
"close",
"(",
")",
"else",
":",
"int_df",
".",
"to_excel",
"(",
"intensity_file",
",",
"index",
"=",
"False",
")",
"else",
":",
"print",
"(",
"\"No intensity data for ouput.\"",
")",
"intensity_file",
"=",
"None",
"# site info",
"nfo_df",
"=",
"sites_df",
".",
"dropna",
"(",
"subset",
"=",
"[",
"'lat'",
",",
"'lon'",
"]",
")",
"# delete blank locations",
"if",
"len",
"(",
"nfo_df",
")",
">",
"0",
":",
"SiteCols",
"=",
"[",
"\"Site\"",
",",
"\"Location\"",
",",
"\"Lat. (N)\"",
",",
"\"Long. (E)\"",
"]",
"info_file",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"info_file",
",",
"output_dir_path",
")",
"age_cols",
"=",
"[",
"'age'",
",",
"'age_sigma'",
",",
"'age_unit'",
"]",
"for",
"col",
"in",
"age_cols",
":",
"if",
"col",
"not",
"in",
"nfo_df",
":",
"nfo_df",
"[",
"col",
"]",
"=",
"None",
"test_age",
"=",
"nfo_df",
".",
"dropna",
"(",
"subset",
"=",
"[",
"'age'",
",",
"'age_sigma'",
",",
"'age_unit'",
"]",
")",
"if",
"len",
"(",
"test_age",
")",
">",
"0",
":",
"SiteCols",
".",
"append",
"(",
"\"Age \"",
")",
"SiteCols",
".",
"append",
"(",
"\"Age sigma\"",
")",
"SiteCols",
".",
"append",
"(",
"\"Units\"",
")",
"nfo_df",
"=",
"nfo_df",
"[",
"[",
"'site'",
",",
"'location'",
",",
"'lat'",
",",
"'lon'",
",",
"'age'",
",",
"'age_sigma'",
",",
"'age_unit'",
"]",
"]",
"else",
":",
"nfo_df",
"=",
"nfo_df",
"[",
"[",
"'site'",
",",
"'location'",
",",
"'lat'",
",",
"'lon'",
"]",
"]",
"nfo_df",
".",
"drop_duplicates",
"(",
"inplace",
"=",
"True",
")",
"nfo_df",
".",
"columns",
"=",
"SiteCols",
"nfo_df",
".",
"fillna",
"(",
"value",
"=",
"''",
",",
"inplace",
"=",
"True",
")",
"if",
"latex",
":",
"if",
"info_file",
".",
"endswith",
"(",
"'.xls'",
")",
":",
"info_file",
"=",
"info_file",
"[",
":",
"-",
"4",
"]",
"+",
"\".tex\"",
"info_out",
"=",
"open",
"(",
"info_file",
",",
"'w+'",
",",
"errors",
"=",
"\"backslashreplace\"",
")",
"info_out",
".",
"write",
"(",
"'\\documentclass{article}\\n'",
")",
"info_out",
".",
"write",
"(",
"'\\\\usepackage{booktabs}\\n'",
")",
"info_out",
".",
"write",
"(",
"'\\\\usepackage{longtable}\\n'",
")",
"info_out",
".",
"write",
"(",
"'\\\\begin{document}'",
")",
"info_out",
".",
"write",
"(",
"nfo_df",
".",
"to_latex",
"(",
"index",
"=",
"False",
",",
"longtable",
"=",
"True",
",",
"multicolumn",
"=",
"False",
")",
")",
"info_out",
".",
"write",
"(",
"'\\end{document}\\n'",
")",
"info_out",
".",
"close",
"(",
")",
"else",
":",
"nfo_df",
".",
"to_excel",
"(",
"info_file",
",",
"index",
"=",
"False",
")",
"else",
":",
"print",
"(",
"\"No location information for ouput.\"",
")",
"info_file",
"=",
"None",
"return",
"True",
",",
"[",
"fname",
"for",
"fname",
"in",
"[",
"info_file",
",",
"intensity_file",
",",
"dir_file",
"]",
"if",
"fname",
"]"
] |
Extracts directional and/or intensity data from a MagIC 3.0 format sites.txt file.
Default output format is an Excel file.
Optional latex format longtable file which can be uploaded to Overleaf or
typeset with latex on your own computer.
Parameters
___________
site_file : str
input file name
directions_file : str
output file name for directional data
intensity_file : str
output file name for intensity data
site_info : str
output file name for site information (lat, lon, location, age....)
output_dir_path : str
path for output files
input_dir_path : str
path for intput file if different from output_dir_path (default is same)
latex : boolean
if True, output file should be latex formatted table with a .tex ending
Return :
[True,False], error type : True if successful
Effects :
writes Excel or LaTeX formatted tables for use in publications
|
[
"Extracts",
"directional",
"and",
"/",
"or",
"intensity",
"data",
"from",
"a",
"MagIC",
"3",
".",
"0",
"format",
"sites",
".",
"txt",
"file",
".",
"Default",
"output",
"format",
"is",
"an",
"Excel",
"file",
".",
"Optional",
"latex",
"format",
"longtable",
"file",
"which",
"can",
"be",
"uploaded",
"to",
"Overleaf",
"or",
"typeset",
"with",
"latex",
"on",
"your",
"own",
"computer",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L11121-L11240
|
train
|
This function extracts directional and intensity data from a MagIC 3. 0 format sites. txt file.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b110011) + chr(50) + chr(55), 0o10), nzTpIcepk0o8('\x30' + chr(7531 - 7420) + chr(0b1000 + 0o52) + '\x33' + chr(1911 - 1858), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b1 + 0o61) + chr(48) + '\064', 3457 - 3449), nzTpIcepk0o8(chr(0b101000 + 0o10) + chr(0b1101111) + chr(0b110 + 0o54) + chr(0b110000) + '\x37', 0b1000), nzTpIcepk0o8('\060' + '\x6f' + chr(0b10100 + 0o43) + '\066', 7812 - 7804), nzTpIcepk0o8(chr(0b110000) + chr(9239 - 9128) + chr(49) + '\x30' + chr(2135 - 2083), 44552 - 44544), nzTpIcepk0o8(chr(0b100011 + 0o15) + chr(0b1101111) + '\x31' + '\x35' + chr(0b110100), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(111) + '\061' + '\x36' + chr(0b110101), 59465 - 59457), nzTpIcepk0o8(chr(0b110000) + chr(0b101010 + 0o105) + chr(0b110010) + chr(52), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1101111) + '\x33' + chr(0b110 + 0o54) + chr(1327 - 1273), 9237 - 9229), nzTpIcepk0o8(chr(0b100101 + 0o13) + chr(2385 - 2274) + chr(50) + chr(0b110110) + chr(0b11100 + 0o31), 40876 - 40868), nzTpIcepk0o8(chr(0b101 + 0o53) + '\x6f' + chr(0b110001) + '\062' + '\066', 0b1000), nzTpIcepk0o8('\x30' + chr(3553 - 3442) + chr(0b100111 + 0o13) + chr(842 - 788) + chr(1702 - 1654), 0o10), nzTpIcepk0o8(chr(0b100101 + 0o13) + chr(111) + chr(0b101000 + 0o11) + '\x34' + '\063', 0o10), nzTpIcepk0o8('\060' + '\x6f' + chr(0b110010) + '\062' + chr(55), ord("\x08")), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b110001) + '\066' + chr(55), 13404 - 13396), nzTpIcepk0o8(chr(391 - 343) + chr(3327 - 3216) + '\062' + chr(465 - 412) + chr(0b110110), 21389 - 21381), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(51) + chr(173 - 124), 0b1000), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(51) + '\064' + '\x35', 0o10), nzTpIcepk0o8(chr(2080 - 2032) + chr(4023 - 3912) + chr(0b1 + 0o63), 0o10), nzTpIcepk0o8(chr(0b101001 + 0o7) + chr(0b1101101 + 0o2) + '\x31' + '\x33' + chr(0b1101 + 0o43), 0o10), nzTpIcepk0o8('\x30' + '\157' + chr(49) + chr(0b11011 + 0o34) + chr(51 - 3), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(50) + chr(0b110011) + chr(0b10111 + 0o35), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b111100 + 0o63) + chr(51) + chr(0b110001) + '\x33', 0o10), nzTpIcepk0o8(chr(588 - 540) + chr(111) + '\061' + '\x37' + '\066', 0o10), nzTpIcepk0o8(chr(0b110000) + chr(12241 - 12130) + chr(0b110001) + '\064', 0b1000), nzTpIcepk0o8(chr(1872 - 1824) + chr(0b1 + 0o156) + chr(0b110001) + chr(0b10111 + 0o31) + chr(1875 - 1824), 62254 - 62246), nzTpIcepk0o8(chr(1816 - 1768) + chr(111) + chr(0b110001) + chr(0b110110) + chr(55), 8), nzTpIcepk0o8('\060' + '\x6f' + chr(0b1111 + 0o44) + chr(49) + '\064', 14077 - 14069), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(1007 - 956) + chr(0b110100) + '\064', 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1100 + 0o143) + '\x32' + '\x30' + '\x32', 0o10), nzTpIcepk0o8('\060' + '\157' + chr(51) + chr(0b110010), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(6764 - 6653) + '\061' + chr(490 - 441) + '\x35', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(1674 - 1563) + chr(49) + chr(0b110111) + chr(1475 - 1420), 0b1000), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b100010 + 0o23) + '\061', 0o10), nzTpIcepk0o8('\060' + chr(0b1011010 + 0o25) + chr(54) + chr(1467 - 1418), 439 - 431), nzTpIcepk0o8(chr(1523 - 1475) + chr(3104 - 2993) + chr(1743 - 1693) + chr(742 - 689) + '\x31', 0o10), nzTpIcepk0o8('\x30' + chr(0b1101011 + 0o4) + chr(0b100101 + 0o15) + chr(0b100100 + 0o15) + chr(2191 - 2140), 46009 - 46001), nzTpIcepk0o8('\x30' + '\157' + '\x31' + chr(52) + chr(0b0 + 0o62), 12508 - 12500), nzTpIcepk0o8('\060' + '\x6f' + chr(49) + chr(0b100010 + 0o23) + chr(0b110101), 53749 - 53741)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(53) + '\x30', 4512 - 4504)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xf9'), chr(100) + chr(4900 - 4799) + chr(6703 - 6604) + chr(0b101000 + 0o107) + '\144' + '\x65')(chr(119 - 2) + chr(0b1110100) + chr(0b1100110) + '\x2d' + chr(56)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def cfPHvzJFhxem(OiNBbL9woeR5=roI3spqORKae(ES5oEprVxulp(b'\xa4\xf4\xf0\xe2Mj\x18\r`'), '\144' + chr(8750 - 8649) + chr(0b1100011) + chr(0b1010010 + 0o35) + chr(0b1100100) + '\x65')(chr(0b1110101) + '\x74' + chr(1525 - 1423) + chr(45) + '\x38'), SsFp0aOr0ibr=roI3spqORKae(ES5oEprVxulp(b'\xb3\xf4\xf6\xe2]0\x05\x1az\xa5\x9b.\xdc\x10'), chr(0b11110 + 0o106) + '\145' + '\143' + chr(111) + '\144' + '\x65')('\165' + chr(116) + chr(0b1001111 + 0o27) + '\055' + chr(2531 - 2475)), mG6HS8PukfsL=roI3spqORKae(ES5oEprVxulp(b'\xbe\xf3\xf0\xe2P7\x05\x01m\xf8\xcd:\xc3'), chr(3233 - 3133) + chr(101) + '\143' + '\157' + '\x64' + chr(101))('\x75' + chr(116) + chr(5957 - 5855) + chr(45) + '\x38'), fIqoJUx3vUSt=roI3spqORKae(ES5oEprVxulp(b'\xa4\xf4\xf0\xe2a-\x02\x13{\xf8\xcd:\xc3'), chr(0b101111 + 0o65) + chr(0b10111 + 0o116) + chr(0b1100011) + chr(0b1101 + 0o142) + chr(100) + chr(5283 - 5182))(chr(8429 - 8312) + '\164' + '\x66' + '\x2d' + '\x38'), YtDhZvF7VzwC=roI3spqORKae(ES5oEprVxulp(b'\xf9'), chr(100) + chr(101) + chr(275 - 176) + chr(2732 - 2621) + chr(0b1100100) + chr(0b1001101 + 0o30))('\165' + chr(0b1001000 + 0o54) + '\146' + chr(358 - 313) + '\070'), KADebXAR9grB=roI3spqORKae(ES5oEprVxulp(b''), chr(100) + '\145' + chr(1937 - 1838) + chr(1494 - 1383) + chr(0b1100100) + chr(101))(chr(11780 - 11663) + chr(7015 - 6899) + chr(1425 - 1323) + chr(0b101101) + chr(56)), cl3Ncwxy1gE5=nzTpIcepk0o8(chr(1719 - 1671) + '\x6f' + chr(330 - 282), 36314 - 36306)):
(KADebXAR9grB, YtDhZvF7VzwC) = hUcsWwAd0nE_.fix_directories(KADebXAR9grB, YtDhZvF7VzwC)
try:
jXqxEQuu_5DD = hUcsWwAd0nE_.resolve_file_name(OiNBbL9woeR5, KADebXAR9grB)
except Awc2QmWaiVq8:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xb5\xfc\xe0\xa7M-\x18\x104\xb0\xdc:\xd5C\xf9\x16\xc3|'), '\144' + chr(101) + chr(0b1100011) + '\x6f' + '\x64' + '\145')(chr(0b100111 + 0o116) + chr(116) + chr(0b1100110) + chr(45) + '\070'))
return (nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b101100 + 0o4), 8), roI3spqORKae(ES5oEprVxulp(b'\xb5\xfc\xe0\xa7M-\x18\x104\xb0\xdc:\xd5C\xf9\x16\xc3|'), chr(100) + chr(101) + chr(0b111010 + 0o51) + chr(2151 - 2040) + chr(100) + chr(0b101100 + 0o71))(chr(0b10 + 0o163) + chr(116) + chr(0b1001100 + 0o32) + '\x2d' + '\070'))
Os5DOg4Icish = HLKt4sa1j9hm.read_csv(jXqxEQuu_5DD, sep=roI3spqORKae(ES5oEprVxulp(b'\xde'), chr(3118 - 3018) + chr(101) + chr(99) + chr(0b1101111) + '\x64' + chr(546 - 445))(chr(117) + chr(0b1110100) + chr(102) + chr(0b100101 + 0o10) + chr(0b111000)), header=nzTpIcepk0o8(chr(2097 - 2049) + chr(10953 - 10842) + chr(49), 0b1000))
ePTMvpZxL3Ck = ntOEbtdxWLl2.convert_site_dm3_table_directions(Os5DOg4Icish)
IHl23AHnzQwX = hUcsWwAd0nE_.resolve_file_name(SsFp0aOr0ibr, YtDhZvF7VzwC)
if ftfygxgFas5X(ePTMvpZxL3Ck):
if cl3Ncwxy1gE5:
if roI3spqORKae(IHl23AHnzQwX, roI3spqORKae(ES5oEprVxulp(b'\x9e\xa4\xe2\xccw\x07-9u\xa3\xff$'), chr(0b1100100) + chr(0b1100101) + '\143' + chr(111) + '\x64' + chr(0b10110 + 0o117))('\165' + chr(6977 - 6861) + '\146' + chr(0b101101) + chr(56)))(roI3spqORKae(ES5oEprVxulp(b'\xf9\xe5\xe8\xf4'), '\x64' + chr(101) + '\143' + chr(8422 - 8311) + '\x64' + '\x65')(chr(0b1110101) + chr(0b1110100) + chr(0b110110 + 0o60) + chr(755 - 710) + chr(0b111000))):
IHl23AHnzQwX = IHl23AHnzQwX[:-nzTpIcepk0o8('\060' + chr(0b1010111 + 0o30) + chr(1440 - 1388), 8)] + roI3spqORKae(ES5oEprVxulp(b'\xf9\xe9\xe1\xff'), '\x64' + '\x65' + '\x63' + '\x6f' + chr(5757 - 5657) + '\x65')(chr(0b111001 + 0o74) + chr(116) + chr(0b10110 + 0o120) + chr(0b101101) + '\070')
_4bcn9fbZU9E = DnU3Rq9N5ala(IHl23AHnzQwX, roI3spqORKae(ES5oEprVxulp(b'\xa0\xb6'), chr(0b110000 + 0o64) + chr(2969 - 2868) + '\143' + chr(0b1101111) + chr(0b101001 + 0o73) + chr(101))(chr(117) + chr(116) + chr(6357 - 6255) + chr(0b100111 + 0o6) + '\070'), errors=roI3spqORKae(ES5oEprVxulp(b'\xb5\xfc\xe7\xecM(\r\x06|\xa4\xd0&\xdc\x02\xf4\x12'), chr(100) + chr(924 - 823) + '\143' + '\x6f' + chr(8861 - 8761) + chr(0b11010 + 0o113))(chr(117) + chr(0b1000101 + 0o57) + '\x66' + chr(1553 - 1508) + chr(0b111000)))
roI3spqORKae(_4bcn9fbZU9E, roI3spqORKae(ES5oEprVxulp(b'\xba\xf1\xb4\xefV4\x1aDX\xa6\xc4d'), chr(0b111101 + 0o47) + chr(101) + '\143' + '\x6f' + '\144' + chr(101))('\x75' + '\x74' + '\x66' + '\055' + '\x38'))(roI3spqORKae(ES5oEprVxulp(b'\x8b\xf9\xeb\xe4K)\t\x1b`\xb5\xd97\xc3\x10\xec\x16\xdcm\x8cg4\x1d\xe1\xc1'), chr(0b1100100) + chr(0b1100101) + chr(1845 - 1746) + chr(0b100101 + 0o112) + chr(3687 - 3587) + chr(0b110 + 0o137))(chr(7492 - 7375) + chr(0b1000000 + 0o64) + chr(0b101000 + 0o76) + chr(45) + chr(545 - 489)))
roI3spqORKae(_4bcn9fbZU9E, roI3spqORKae(ES5oEprVxulp(b'\xba\xf1\xb4\xefV4\x1aDX\xa6\xc4d'), chr(100) + chr(0b1000011 + 0o42) + chr(0b1100011) + chr(111) + chr(0b1010011 + 0o21) + chr(101))('\x75' + chr(0b110011 + 0o101) + chr(0b1100110) + '\055' + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b'\x8b\xe8\xf7\xe2N%\x0f\x1eu\xb1\xd0-\xd2\x0c\xf8\x1c\xdax\x87w%r'), '\144' + chr(6195 - 6094) + '\143' + chr(111) + chr(0b1100100) + '\x65')('\x75' + chr(116) + '\x66' + chr(1701 - 1656) + chr(0b110001 + 0o7)))
roI3spqORKae(_4bcn9fbZU9E, roI3spqORKae(ES5oEprVxulp(b'\xba\xf1\xb4\xefV4\x1aDX\xa6\xc4d'), chr(0b101010 + 0o72) + chr(7704 - 7603) + '\x63' + chr(0b1101111) + chr(100) + chr(0b110 + 0o137))('\165' + '\164' + chr(0b101100 + 0o72) + chr(0b1010 + 0o43) + '\070'))(roI3spqORKae(ES5oEprVxulp(b'\x8b\xe8\xf7\xe2N%\x0f\x1eu\xb1\xd0-\xdc\x0c\xf9\x10\xdax\x87h=\x05\x96'), chr(0b1011000 + 0o14) + '\x65' + '\143' + chr(0b1101111) + chr(100) + chr(0b1001101 + 0o30))(chr(5287 - 5170) + chr(0b1110100) + chr(0b1000011 + 0o43) + '\055' + chr(0b111000)))
roI3spqORKae(_4bcn9fbZU9E, roI3spqORKae(ES5oEprVxulp(b'\xba\xf1\xb4\xefV4\x1aDX\xa6\xc4d'), chr(0b110101 + 0o57) + chr(0b11110 + 0o107) + chr(99) + chr(0b10001 + 0o136) + chr(0b10 + 0o142) + '\x65')(chr(0b101011 + 0o112) + '\164' + '\146' + '\x2d' + '\070'))(roI3spqORKae(ES5oEprVxulp(b'\x8b\xff\xe1\xe0W*\x17\x11{\xb5\xc0;\xd5\r\xe3\n'), chr(0b1100100) + '\x65' + chr(2125 - 2026) + chr(111) + '\x64' + chr(101))(chr(2891 - 2774) + chr(0b11100 + 0o130) + '\x66' + '\x2d' + chr(2524 - 2468)))
roI3spqORKae(_4bcn9fbZU9E, roI3spqORKae(ES5oEprVxulp(b'\xba\xf1\xb4\xefV4\x1aDX\xa6\xc4d'), chr(0b1100100) + chr(101) + '\143' + chr(0b1101111) + '\x64' + '\x65')('\x75' + '\x74' + '\x66' + chr(0b100101 + 0o10) + chr(2100 - 2044)))(roI3spqORKae(ePTMvpZxL3Ck, roI3spqORKae(ES5oEprVxulp(b'\xa3\xf2\xdb\xeb_0\t\r'), chr(0b110011 + 0o61) + chr(101) + chr(99) + chr(0b1101111) + chr(0b1100100) + chr(101))('\165' + chr(0b1110100) + '\146' + chr(0b101101) + '\x38'))(index=nzTpIcepk0o8(chr(1295 - 1247) + '\157' + chr(48), 8), longtable=nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b101101 + 0o4), 8), multicolumn=nzTpIcepk0o8('\060' + chr(111) + chr(0b110000), 8)))
roI3spqORKae(_4bcn9fbZU9E, roI3spqORKae(ES5oEprVxulp(b'\xba\xf1\xb4\xefV4\x1aDX\xa6\xc4d'), chr(0b1100100) + '\x65' + chr(99) + '\157' + chr(0b1110 + 0o126) + chr(101))(chr(117) + chr(229 - 113) + '\x66' + chr(0b101101) + '\x38'))(roI3spqORKae(ES5oEprVxulp(b'\x8b\xf8\xea\xe3E \x03\x16a\xbb\xd08\xc4\x1e\x9d'), chr(0b100000 + 0o104) + '\x65' + '\x63' + chr(152 - 41) + '\x64' + chr(0b1100101))('\165' + '\164' + '\x66' + chr(82 - 37) + '\x38'))
roI3spqORKae(_4bcn9fbZU9E, roI3spqORKae(ES5oEprVxulp(b"\x8d\xf8\xf5\xb0}'\nLA\xb2\x8d<"), chr(6313 - 6213) + chr(0b1011101 + 0o10) + chr(99) + '\157' + '\144' + '\x65')(chr(0b1110101) + '\x74' + chr(0b1100110) + '\055' + chr(0b111000)))()
else:
roI3spqORKae(ePTMvpZxL3Ck, roI3spqORKae(ES5oEprVxulp(b"\xa3\xf2\xdb\xe2F'\t\x19"), chr(8270 - 8170) + chr(0b111100 + 0o51) + chr(0b1100011) + chr(0b1101111) + chr(5171 - 5071) + chr(8616 - 8515))('\x75' + chr(11643 - 11527) + chr(0b11001 + 0o115) + '\x2d' + '\070'))(IHl23AHnzQwX, index=nzTpIcepk0o8(chr(48) + chr(0b1101 + 0o142) + chr(0b11011 + 0o25), 8))
else:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x99\xf2\xa4\xe3W6\t\x16`\xbf\xda8\xd1\x0f\xb7\x13\xcfm\x84$>\x17\xee\xeb\x11y3\x02\xb8\xca'), chr(0b1001011 + 0o31) + '\145' + chr(0b11110 + 0o105) + '\x6f' + chr(100) + '\145')(chr(0b1110101) + chr(4225 - 4109) + chr(0b1100110) + chr(1885 - 1840) + chr(199 - 143)))
IHl23AHnzQwX = None
mG6HS8PukfsL = hUcsWwAd0nE_.resolve_file_name(mG6HS8PukfsL, YtDhZvF7VzwC)
vIOyvJ5JZiHv = ntOEbtdxWLl2.convert_site_dm3_table_intensity(Os5DOg4Icish)
if ftfygxgFas5X(vIOyvJ5JZiHv):
if cl3Ncwxy1gE5:
if roI3spqORKae(mG6HS8PukfsL, roI3spqORKae(ES5oEprVxulp(b'\x9e\xa4\xe2\xccw\x07-9u\xa3\xff$'), chr(100) + chr(9830 - 9729) + chr(0b11000 + 0o113) + chr(10213 - 10102) + chr(0b1100100) + '\145')('\x75' + chr(0b1110100) + chr(8977 - 8875) + chr(0b11101 + 0o20) + chr(56)))(roI3spqORKae(ES5oEprVxulp(b'\xf9\xe5\xe8\xf4'), '\x64' + chr(101) + chr(2537 - 2438) + chr(0b1101111) + chr(0b1100100) + '\x65')('\165' + '\x74' + chr(1879 - 1777) + chr(45) + chr(0b111000))):
mG6HS8PukfsL = mG6HS8PukfsL[:-nzTpIcepk0o8(chr(48) + chr(111) + '\064', 8)] + roI3spqORKae(ES5oEprVxulp(b'\xf9\xe9\xe1\xff'), chr(0b1000011 + 0o41) + chr(5782 - 5681) + '\x63' + chr(111) + chr(0b1100100) + chr(101))(chr(0b1110101) + '\x74' + '\x66' + '\x2d' + chr(56))
HExDHQmXjFDu = DnU3Rq9N5ala(mG6HS8PukfsL, roI3spqORKae(ES5oEprVxulp(b'\xa0\xb6'), chr(100) + chr(5322 - 5221) + chr(0b1100011) + chr(111) + '\144' + '\x65')('\165' + chr(4641 - 4525) + '\x66' + chr(0b101101) + chr(56)), errors=roI3spqORKae(ES5oEprVxulp(b'\xb5\xfc\xe7\xecM(\r\x06|\xa4\xd0&\xdc\x02\xf4\x12'), '\x64' + '\145' + '\x63' + '\157' + '\144' + '\145')(chr(0b1000001 + 0o64) + chr(0b10111 + 0o135) + chr(102) + chr(45) + '\x38'))
roI3spqORKae(HExDHQmXjFDu, roI3spqORKae(ES5oEprVxulp(b'\xba\xf1\xb4\xefV4\x1aDX\xa6\xc4d'), '\x64' + chr(0b1011100 + 0o11) + chr(0b100010 + 0o101) + chr(11887 - 11776) + chr(0b1100100) + chr(8351 - 8250))('\x75' + chr(116) + '\146' + '\x2d' + chr(0b11110 + 0o32)))(roI3spqORKae(ES5oEprVxulp(b'\x8b\xf9\xeb\xe4K)\t\x1b`\xb5\xd97\xc3\x10\xec\x16\xdcm\x8cg4\x1d\xe1\xc1'), '\x64' + chr(0b1100101) + chr(4962 - 4863) + chr(0b1101111) + '\x64' + chr(0b1100101))('\165' + chr(589 - 473) + '\146' + chr(0b101101) + chr(0b11110 + 0o32)))
roI3spqORKae(HExDHQmXjFDu, roI3spqORKae(ES5oEprVxulp(b'\xba\xf1\xb4\xefV4\x1aDX\xa6\xc4d'), chr(100) + chr(0b1100101) + chr(0b1100011) + '\157' + chr(0b1100100) + chr(0b1100101))(chr(11253 - 11136) + '\164' + '\x66' + '\055' + chr(0b1000 + 0o60)))(roI3spqORKae(ES5oEprVxulp(b'\x8b\xe8\xf7\xe2N%\x0f\x1eu\xb1\xd0-\xd2\x0c\xf8\x1c\xdax\x87w%r'), chr(100) + chr(0b11111 + 0o106) + chr(0b111101 + 0o46) + chr(0b1011000 + 0o27) + chr(0b1000010 + 0o42) + '\x65')(chr(10254 - 10137) + '\x74' + '\146' + chr(0b10011 + 0o32) + '\x38'))
roI3spqORKae(HExDHQmXjFDu, roI3spqORKae(ES5oEprVxulp(b'\xba\xf1\xb4\xefV4\x1aDX\xa6\xc4d'), '\144' + chr(0b1100101) + '\143' + '\157' + chr(0b1100100) + '\145')(chr(10420 - 10303) + chr(0b1110100) + '\146' + chr(219 - 174) + chr(524 - 468)))(roI3spqORKae(ES5oEprVxulp(b'\x8b\xe8\xf7\xe2N%\x0f\x1eu\xb1\xd0-\xdc\x0c\xf9\x10\xdax\x87h=\x05\x96'), chr(0b110100 + 0o60) + chr(327 - 226) + '\x63' + chr(6500 - 6389) + chr(5404 - 5304) + chr(101))(chr(117) + chr(0b1110100) + '\x66' + chr(0b101101) + chr(56)))
roI3spqORKae(HExDHQmXjFDu, roI3spqORKae(ES5oEprVxulp(b'\xba\xf1\xb4\xefV4\x1aDX\xa6\xc4d'), '\x64' + chr(101) + '\x63' + '\x6f' + chr(0b1100100) + chr(101))('\x75' + chr(0b1010 + 0o152) + '\146' + chr(0b101101) + chr(56)))(roI3spqORKae(ES5oEprVxulp(b'\x8b\xff\xe1\xe0W*\x17\x11{\xb5\xc0;\xd5\r\xe3\n'), '\x64' + chr(0b1100101) + chr(99) + chr(0b1101111) + chr(0b110001 + 0o63) + '\145')(chr(12416 - 12299) + '\x74' + '\146' + '\055' + '\070'))
roI3spqORKae(HExDHQmXjFDu, roI3spqORKae(ES5oEprVxulp(b'\xba\xf1\xb4\xefV4\x1aDX\xa6\xc4d'), chr(100) + chr(0b1100101) + chr(0b11 + 0o140) + chr(2856 - 2745) + chr(100) + chr(2547 - 2446))('\165' + '\164' + chr(102) + '\055' + chr(394 - 338)))(roI3spqORKae(vIOyvJ5JZiHv, roI3spqORKae(ES5oEprVxulp(b'\xa3\xf2\xdb\xeb_0\t\r'), chr(100) + chr(0b1100101) + chr(0b1100011) + '\x6f' + '\x64' + chr(1632 - 1531))('\165' + chr(116) + '\x66' + '\055' + chr(56)))(index=nzTpIcepk0o8(chr(0b10111 + 0o31) + '\x6f' + chr(0b100110 + 0o12), 8), longtable=nzTpIcepk0o8(chr(0b10100 + 0o34) + '\x6f' + '\061', 8), multicolumn=nzTpIcepk0o8(chr(485 - 437) + chr(111) + chr(0b110000), 8)))
roI3spqORKae(HExDHQmXjFDu, roI3spqORKae(ES5oEprVxulp(b'\xba\xf1\xb4\xefV4\x1aDX\xa6\xc4d'), '\144' + chr(0b1100101) + '\143' + chr(0b100001 + 0o116) + '\x64' + chr(0b1100101))('\x75' + chr(0b10010 + 0o142) + chr(0b1100110) + chr(0b10000 + 0o35) + '\070'))(roI3spqORKae(ES5oEprVxulp(b'\x8b\xf8\xea\xe3E \x03\x16a\xbb\xd08\xc4\x1e\x9d'), '\x64' + chr(1372 - 1271) + chr(0b1100011) + chr(0b1101111) + chr(3537 - 3437) + '\145')(chr(0b1110101) + chr(116) + chr(102) + '\055' + chr(56)))
roI3spqORKae(HExDHQmXjFDu, roI3spqORKae(ES5oEprVxulp(b"\x8d\xf8\xf5\xb0}'\nLA\xb2\x8d<"), chr(0b1100100) + chr(0b1100101) + '\143' + chr(111) + chr(8940 - 8840) + chr(101))(chr(0b1100101 + 0o20) + chr(0b1000000 + 0o64) + chr(102) + chr(0b100101 + 0o10) + chr(56)))()
else:
roI3spqORKae(vIOyvJ5JZiHv, roI3spqORKae(ES5oEprVxulp(b"\xa3\xf2\xdb\xe2F'\t\x19"), '\x64' + '\145' + '\x63' + chr(0b1100100 + 0o13) + chr(0b1011000 + 0o14) + chr(0b1100101))('\x75' + chr(0b1110100) + '\x66' + chr(565 - 520) + chr(203 - 147)))(mG6HS8PukfsL, index=nzTpIcepk0o8(chr(929 - 881) + '\157' + chr(0b110000), 8))
else:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x99\xf2\xa4\xeeP0\t\x1bg\xbf\xc1/\x90\x07\xf6\x03\xcf9\x83k*X\xf3\xbe\x0ey7Y'), chr(0b110010 + 0o62) + chr(101) + '\143' + '\x6f' + chr(6288 - 6188) + chr(101))(chr(0b11010 + 0o133) + chr(10566 - 10450) + '\x66' + chr(45) + chr(56)))
mG6HS8PukfsL = None
pKpXRwXSvzfO = Os5DOg4Icish.dropna(subset=[roI3spqORKae(ES5oEprVxulp(b'\xbb\xfc\xf0'), chr(4011 - 3911) + chr(0b1100101) + '\x63' + chr(0b10011 + 0o134) + '\144' + chr(5236 - 5135))(chr(2059 - 1942) + chr(0b1110100) + chr(0b100011 + 0o103) + chr(759 - 714) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xbb\xf2\xea'), '\x64' + chr(0b1100101) + chr(99) + chr(111) + chr(0b1011001 + 0o13) + '\x65')(chr(0b1110101) + chr(0b1101100 + 0o10) + chr(0b1011001 + 0o15) + chr(0b101101) + chr(56))])
if ftfygxgFas5X(pKpXRwXSvzfO) > nzTpIcepk0o8(chr(2190 - 2142) + chr(5778 - 5667) + '\x30', 8):
xovs9A75rXry = [roI3spqORKae(ES5oEprVxulp(b'\x84\xf4\xf0\xe2'), chr(0b1100100) + '\145' + chr(0b1100011) + chr(111) + chr(1671 - 1571) + '\x65')(chr(0b1110101) + '\x74' + chr(102) + '\055' + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\x9b\xf2\xe7\xe6J-\x03\x1b'), chr(0b1000010 + 0o42) + '\145' + '\143' + chr(111) + chr(0b1001010 + 0o32) + chr(9950 - 9849))(chr(0b1001000 + 0o55) + '\x74' + chr(4200 - 4098) + chr(0b101101) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\x9b\xfc\xf0\xa9\x1el"\\'), '\144' + '\145' + chr(0b1100011) + chr(0b1101111) + chr(0b1010011 + 0o21) + chr(101))(chr(117) + chr(116) + '\x66' + chr(45) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\x9b\xf2\xea\xe0\x10dD0='), chr(1215 - 1115) + '\145' + chr(0b101 + 0o136) + chr(0b1101111) + '\x64' + '\145')('\165' + chr(116) + chr(0b111101 + 0o51) + chr(0b1011 + 0o42) + chr(56))]
fIqoJUx3vUSt = hUcsWwAd0nE_.resolve_file_name(fIqoJUx3vUSt, YtDhZvF7VzwC)
oxYlA5HVbtgU = [roI3spqORKae(ES5oEprVxulp(b'\xb6\xfa\xe1'), chr(100) + '\x65' + chr(0b1100011) + chr(111) + chr(100) + '\145')('\165' + chr(0b1110100) + chr(0b11110 + 0o110) + '\055' + chr(0b1110 + 0o52)), roI3spqORKae(ES5oEprVxulp(b'\xb6\xfa\xe1\xd8M-\x0b\x18u'), chr(0b1100100) + '\x65' + chr(0b1011001 + 0o12) + chr(0b1101111) + '\144' + chr(0b1100100 + 0o1))(chr(0b1101010 + 0o13) + chr(116) + chr(0b1010101 + 0o21) + chr(0b101101) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xb6\xfa\xe1\xd8K*\x05\x01'), chr(100) + '\x65' + chr(99) + chr(2345 - 2234) + chr(3003 - 2903) + chr(6910 - 6809))(chr(117) + chr(116) + chr(102) + chr(45) + chr(1870 - 1814))]
for hRTUxJgvuslu in oxYlA5HVbtgU:
if hRTUxJgvuslu not in pKpXRwXSvzfO:
pKpXRwXSvzfO[hRTUxJgvuslu] = None
J0lNN0hZ0hOf = pKpXRwXSvzfO.dropna(subset=[roI3spqORKae(ES5oEprVxulp(b'\xb6\xfa\xe1'), '\144' + chr(0b1100101) + chr(99) + '\x6f' + chr(100) + chr(0b1011011 + 0o12))('\x75' + '\164' + chr(102) + chr(0b101101) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xb6\xfa\xe1\xd8M-\x0b\x18u'), chr(100) + chr(0b101001 + 0o74) + '\143' + chr(0b1101111) + '\x64' + chr(0b111101 + 0o50))(chr(117) + chr(9530 - 9414) + chr(0b1010 + 0o134) + '\x2d' + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xb6\xfa\xe1\xd8K*\x05\x01'), chr(0b10100 + 0o120) + chr(101) + chr(0b1100011) + chr(1332 - 1221) + '\x64' + chr(8999 - 8898))(chr(0b1110101) + chr(9471 - 9355) + chr(4067 - 3965) + chr(45) + chr(2833 - 2777))])
if ftfygxgFas5X(J0lNN0hZ0hOf) > nzTpIcepk0o8('\060' + '\x6f' + '\060', 8):
roI3spqORKae(xovs9A75rXry, roI3spqORKae(ES5oEprVxulp(b'\x9f\xc9\xd7\xb3F#+\x1a~\xb9\xe0c'), '\144' + '\x65' + chr(0b1000110 + 0o35) + chr(0b10100 + 0o133) + '\144' + chr(0b11000 + 0o115))('\x75' + '\164' + chr(0b1100110) + chr(0b1 + 0o54) + chr(56)))(roI3spqORKae(ES5oEprVxulp(b'\x96\xfa\xe1\xa7'), '\144' + chr(5800 - 5699) + chr(3678 - 3579) + chr(0b110000 + 0o77) + chr(5727 - 5627) + chr(101))(chr(8291 - 8174) + chr(116) + '\x66' + chr(45) + chr(1052 - 996)))
roI3spqORKae(xovs9A75rXry, roI3spqORKae(ES5oEprVxulp(b'\x9f\xc9\xd7\xb3F#+\x1a~\xb9\xe0c'), chr(100) + chr(0b1100101) + chr(99) + '\157' + chr(0b110101 + 0o57) + chr(101))('\x75' + chr(116) + '\146' + chr(0b101101) + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b'\x96\xfa\xe1\xa7M-\x0b\x18u'), chr(0b1011 + 0o131) + chr(101) + chr(4076 - 3977) + chr(0b10000 + 0o137) + chr(100) + '\x65')(chr(2830 - 2713) + '\164' + chr(102) + '\055' + chr(56)))
roI3spqORKae(xovs9A75rXry, roI3spqORKae(ES5oEprVxulp(b'\x9f\xc9\xd7\xb3F#+\x1a~\xb9\xe0c'), chr(100) + '\145' + chr(0b1010000 + 0o23) + '\x6f' + chr(0b110010 + 0o62) + chr(0b1100101))('\165' + '\x74' + chr(5840 - 5738) + '\055' + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b'\x82\xf3\xed\xf3M'), '\x64' + chr(101) + chr(0b1100011) + chr(2484 - 2373) + chr(100) + chr(0b1100101))('\165' + chr(0b111101 + 0o67) + '\x66' + chr(875 - 830) + chr(2979 - 2923)))
pKpXRwXSvzfO = pKpXRwXSvzfO[[roI3spqORKae(ES5oEprVxulp(b'\xa4\xf4\xf0\xe2'), '\144' + chr(101) + '\143' + chr(2347 - 2236) + chr(0b1100100) + '\145')(chr(0b1110101) + chr(116) + chr(2152 - 2050) + '\055' + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xbb\xf2\xe7\xe6J-\x03\x1b'), chr(0b1100100) + chr(7541 - 7440) + '\143' + chr(0b11011 + 0o124) + chr(0b1100100) + chr(101))(chr(0b110 + 0o157) + '\164' + chr(1347 - 1245) + chr(45) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xbb\xfc\xf0'), chr(0b1010100 + 0o20) + chr(400 - 299) + '\143' + chr(0b1011110 + 0o21) + '\144' + chr(4540 - 4439))(chr(4933 - 4816) + chr(1607 - 1491) + '\146' + chr(0b10100 + 0o31) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xbb\xf2\xea'), chr(0b11000 + 0o114) + '\145' + '\143' + '\x6f' + chr(100) + '\x65')(chr(117) + '\164' + chr(102) + '\055' + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xb6\xfa\xe1'), '\x64' + chr(101) + chr(99) + '\157' + '\144' + '\x65')(chr(0b110111 + 0o76) + chr(1262 - 1146) + chr(0b1111 + 0o127) + chr(45) + chr(0b0 + 0o70)), roI3spqORKae(ES5oEprVxulp(b'\xb6\xfa\xe1\xd8M-\x0b\x18u'), chr(7791 - 7691) + chr(1484 - 1383) + chr(0b1100011) + chr(0b1101111) + '\144' + chr(0b1100101))(chr(10202 - 10085) + '\164' + chr(102) + chr(1879 - 1834) + chr(0b11010 + 0o36)), roI3spqORKae(ES5oEprVxulp(b'\xb6\xfa\xe1\xd8K*\x05\x01'), '\x64' + chr(248 - 147) + '\x63' + '\x6f' + chr(100) + chr(1271 - 1170))(chr(0b1110101) + chr(0b1110100) + '\x66' + chr(0b101101) + '\070')]]
else:
pKpXRwXSvzfO = pKpXRwXSvzfO[[roI3spqORKae(ES5oEprVxulp(b'\xa4\xf4\xf0\xe2'), chr(0b100011 + 0o101) + chr(0b101 + 0o140) + chr(0b1100011) + '\x6f' + '\144' + chr(0b1100101))('\x75' + chr(12155 - 12039) + '\x66' + '\055' + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xbb\xf2\xe7\xe6J-\x03\x1b'), chr(100) + chr(3997 - 3896) + chr(552 - 453) + '\157' + chr(1015 - 915) + chr(101))(chr(117) + chr(0b100000 + 0o124) + chr(102) + '\x2d' + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xbb\xfc\xf0'), chr(0b1100100) + chr(0b1100101) + '\143' + chr(111) + chr(100) + chr(101))(chr(1493 - 1376) + chr(0b1110100) + chr(0b101010 + 0o74) + '\055' + chr(661 - 605)), roI3spqORKae(ES5oEprVxulp(b'\xbb\xf2\xea'), chr(0b1100100) + chr(0b1010011 + 0o22) + '\x63' + chr(111) + '\144' + '\145')(chr(0b1110101) + chr(0b1101000 + 0o14) + chr(0b1000111 + 0o37) + '\055' + chr(56))]]
roI3spqORKae(pKpXRwXSvzfO, roI3spqORKae(ES5oEprVxulp(b'\xb3\xef\xeb\xf7a \x19\x05x\xbf\xd67\xc4\x06\xe4'), chr(8838 - 8738) + chr(7891 - 7790) + chr(6416 - 6317) + '\x6f' + chr(0b100011 + 0o101) + chr(6541 - 6440))(chr(117) + chr(0b1110100) + '\x66' + chr(0b101101) + chr(0b111000)))(inplace=nzTpIcepk0o8('\x30' + chr(462 - 351) + chr(0b110001 + 0o0), 8))
pKpXRwXSvzfO.U39jSiI54Mlp = xovs9A75rXry
roI3spqORKae(pKpXRwXSvzfO, roI3spqORKae(ES5oEprVxulp(b'\xb1\xf4\xe8\xebP%'), '\x64' + chr(3875 - 3774) + chr(1650 - 1551) + '\x6f' + chr(100) + '\145')('\165' + chr(5036 - 4920) + '\x66' + chr(0b100000 + 0o15) + chr(56)))(value=roI3spqORKae(ES5oEprVxulp(b''), chr(5890 - 5790) + chr(2411 - 2310) + chr(99) + chr(407 - 296) + chr(0b1100100) + chr(0b111100 + 0o51))(chr(0b10 + 0o163) + chr(116) + chr(0b1100110) + '\x2d' + chr(56)), inplace=nzTpIcepk0o8(chr(101 - 53) + chr(111) + chr(0b110001), 8))
if cl3Ncwxy1gE5:
if roI3spqORKae(fIqoJUx3vUSt, roI3spqORKae(ES5oEprVxulp(b'\x9e\xa4\xe2\xccw\x07-9u\xa3\xff$'), chr(1537 - 1437) + chr(0b1100101) + chr(99) + '\157' + '\x64' + chr(8776 - 8675))('\165' + '\x74' + chr(102) + chr(0b10001 + 0o34) + '\070'))(roI3spqORKae(ES5oEprVxulp(b'\xf9\xe5\xe8\xf4'), chr(6455 - 6355) + '\x65' + '\143' + chr(0b1101111) + chr(0b1011111 + 0o5) + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + '\146' + '\055' + chr(0b10 + 0o66))):
fIqoJUx3vUSt = fIqoJUx3vUSt[:-nzTpIcepk0o8(chr(0b100001 + 0o17) + chr(11767 - 11656) + '\x34', 8)] + roI3spqORKae(ES5oEprVxulp(b'\xf9\xe9\xe1\xff'), chr(0b111101 + 0o47) + chr(8294 - 8193) + '\x63' + '\157' + chr(100) + chr(0b1100101))(chr(0b1100001 + 0o24) + chr(0b1110011 + 0o1) + chr(0b1 + 0o145) + chr(45) + '\070')
Pt09DO1rppVN = DnU3Rq9N5ala(fIqoJUx3vUSt, roI3spqORKae(ES5oEprVxulp(b'\xa0\xb6'), '\x64' + chr(101) + '\x63' + chr(111) + '\x64' + chr(101))('\x75' + chr(116) + chr(102) + chr(0b101001 + 0o4) + chr(1597 - 1541)), errors=roI3spqORKae(ES5oEprVxulp(b'\xb5\xfc\xe7\xecM(\r\x06|\xa4\xd0&\xdc\x02\xf4\x12'), chr(0b11101 + 0o107) + chr(7776 - 7675) + '\x63' + '\157' + '\x64' + chr(0b1100101))(chr(5792 - 5675) + '\164' + chr(0b101001 + 0o75) + '\055' + chr(0b111000)))
roI3spqORKae(Pt09DO1rppVN, roI3spqORKae(ES5oEprVxulp(b'\xba\xf1\xb4\xefV4\x1aDX\xa6\xc4d'), '\x64' + chr(0b11010 + 0o113) + '\143' + chr(0b1101111) + '\x64' + chr(0b1100101))('\165' + chr(0b1110100) + '\146' + chr(45) + '\x38'))(roI3spqORKae(ES5oEprVxulp(b'\x8b\xf9\xeb\xe4K)\t\x1b`\xb5\xd97\xc3\x10\xec\x16\xdcm\x8cg4\x1d\xe1\xc1'), chr(4223 - 4123) + chr(8044 - 7943) + '\x63' + chr(6264 - 6153) + chr(9577 - 9477) + chr(0b111111 + 0o46))(chr(0b1110101) + chr(225 - 109) + chr(0b1010010 + 0o24) + chr(0b101101) + '\x38'))
roI3spqORKae(Pt09DO1rppVN, roI3spqORKae(ES5oEprVxulp(b'\xba\xf1\xb4\xefV4\x1aDX\xa6\xc4d'), '\144' + chr(3680 - 3579) + chr(7758 - 7659) + '\x6f' + '\x64' + chr(0b1000101 + 0o40))(chr(117) + chr(9473 - 9357) + '\x66' + '\055' + '\070'))(roI3spqORKae(ES5oEprVxulp(b'\x8b\xe8\xf7\xe2N%\x0f\x1eu\xb1\xd0-\xd2\x0c\xf8\x1c\xdax\x87w%r'), chr(0b1100001 + 0o3) + '\x65' + chr(0b1100011) + '\157' + chr(0b11100 + 0o110) + chr(101))('\165' + chr(0b1110100) + chr(0b1100110) + chr(958 - 913) + chr(0b101010 + 0o16)))
roI3spqORKae(Pt09DO1rppVN, roI3spqORKae(ES5oEprVxulp(b'\xba\xf1\xb4\xefV4\x1aDX\xa6\xc4d'), chr(0b1011100 + 0o10) + chr(0b1100101) + '\x63' + '\x6f' + chr(0b1010010 + 0o22) + chr(0b1010111 + 0o16))('\165' + chr(0b101001 + 0o113) + '\146' + chr(45) + chr(56)))(roI3spqORKae(ES5oEprVxulp(b'\x8b\xe8\xf7\xe2N%\x0f\x1eu\xb1\xd0-\xdc\x0c\xf9\x10\xdax\x87h=\x05\x96'), '\144' + chr(0b1100101) + '\143' + chr(111) + '\x64' + chr(0b1001001 + 0o34))('\165' + chr(1852 - 1736) + '\146' + chr(45) + chr(0b110011 + 0o5)))
roI3spqORKae(Pt09DO1rppVN, roI3spqORKae(ES5oEprVxulp(b'\xba\xf1\xb4\xefV4\x1aDX\xa6\xc4d'), chr(0b1010 + 0o132) + '\x65' + chr(0b111010 + 0o51) + chr(0b100001 + 0o116) + '\x64' + chr(4070 - 3969))(chr(10673 - 10556) + chr(9775 - 9659) + '\x66' + chr(0b101101 + 0o0) + chr(0b100011 + 0o25)))(roI3spqORKae(ES5oEprVxulp(b'\x8b\xff\xe1\xe0W*\x17\x11{\xb5\xc0;\xd5\r\xe3\n'), chr(100) + chr(0b1100101) + chr(99) + chr(0b10000 + 0o137) + chr(8309 - 8209) + chr(0b1100101))('\x75' + chr(0b1110100) + chr(0b1100110) + '\055' + chr(0b111000)))
roI3spqORKae(Pt09DO1rppVN, roI3spqORKae(ES5oEprVxulp(b'\xba\xf1\xb4\xefV4\x1aDX\xa6\xc4d'), '\x64' + chr(0b1010011 + 0o22) + chr(0b1100011) + chr(0b1101111) + chr(2158 - 2058) + '\145')(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + '\x2d' + '\x38'))(roI3spqORKae(pKpXRwXSvzfO, roI3spqORKae(ES5oEprVxulp(b'\xa3\xf2\xdb\xeb_0\t\r'), chr(1602 - 1502) + chr(0b1100101) + '\x63' + chr(111) + chr(6841 - 6741) + '\145')('\x75' + chr(0b1110100) + '\x66' + '\x2d' + chr(0b111000)))(index=nzTpIcepk0o8(chr(0b101 + 0o53) + '\x6f' + '\x30', 8), longtable=nzTpIcepk0o8(chr(2194 - 2146) + '\x6f' + chr(49), 8), multicolumn=nzTpIcepk0o8('\060' + '\157' + '\060', 8)))
roI3spqORKae(Pt09DO1rppVN, roI3spqORKae(ES5oEprVxulp(b'\xba\xf1\xb4\xefV4\x1aDX\xa6\xc4d'), chr(0b110110 + 0o56) + chr(9854 - 9753) + chr(99) + chr(0b1101001 + 0o6) + chr(0b1100100) + '\145')(chr(233 - 116) + chr(116) + chr(0b10001 + 0o125) + chr(45) + '\x38'))(roI3spqORKae(ES5oEprVxulp(b'\x8b\xf8\xea\xe3E \x03\x16a\xbb\xd08\xc4\x1e\x9d'), chr(100) + chr(0b1100101) + '\143' + chr(0b11101 + 0o122) + chr(0b1100100) + chr(101))(chr(1724 - 1607) + chr(8527 - 8411) + chr(6609 - 6507) + '\055' + '\070'))
roI3spqORKae(Pt09DO1rppVN, roI3spqORKae(ES5oEprVxulp(b"\x8d\xf8\xf5\xb0}'\nLA\xb2\x8d<"), chr(0b1100100) + chr(101) + chr(0b110111 + 0o54) + '\x6f' + '\x64' + chr(0b1011000 + 0o15))(chr(0b1110011 + 0o2) + '\164' + chr(0b1100110) + chr(0b101101) + chr(0b1101 + 0o53)))()
else:
roI3spqORKae(pKpXRwXSvzfO, roI3spqORKae(ES5oEprVxulp(b"\xa3\xf2\xdb\xe2F'\t\x19"), chr(3075 - 2975) + chr(101) + '\143' + chr(0b1101111) + chr(0b1100100) + chr(0b1100101))(chr(12457 - 12340) + '\164' + chr(0b1100110) + '\x2d' + chr(0b1101 + 0o53)))(fIqoJUx3vUSt, index=nzTpIcepk0o8('\060' + chr(111) + chr(966 - 918), 8))
else:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b"\x99\xf2\xa4\xebQ'\r\x01}\xb9\xdbv\xd9\r\xf1\x18\xdct\x84p1\x17\xf2\xeb^j,\x05\xec\x8b\xf7j8\x0b\x07"), '\144' + '\x65' + chr(0b1100011) + chr(0b110101 + 0o72) + '\x64' + chr(101))('\165' + '\164' + '\146' + chr(0b101101) + chr(0b11101 + 0o33)))
fIqoJUx3vUSt = None
return (nzTpIcepk0o8(chr(0b110000) + chr(10157 - 10046) + chr(1335 - 1286), 8), [jXqxEQuu_5DD for jXqxEQuu_5DD in [fIqoJUx3vUSt, mG6HS8PukfsL, IHl23AHnzQwX] if jXqxEQuu_5DD])
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
specimens_extract
|
def specimens_extract(spec_file='specimens.txt', output_file='specimens.xls', landscape=False,
longtable=False, output_dir_path='.', input_dir_path='', latex=False):
"""
Extracts specimen results from a MagIC 3.0 format specimens.txt file.
Default output format is an Excel file.
typeset with latex on your own computer.
Parameters
___________
spec_file : str, default "specimens.txt"
input file name
output_file : str, default "specimens.xls"
output file name
landscape : boolean, default False
if True output latex landscape table
longtable : boolean
if True output latex longtable
output_dir_path : str, default "."
output file directory
input_dir_path : str, default ""
path for intput file if different from output_dir_path (default is same)
latex : boolean, default False
if True, output file should be latex formatted table with a .tex ending
Return :
[True,False], data table error type : True if successful
Effects :
writes xls or latex formatted tables for use in publications
"""
input_dir_path, output_dir_path = pmag.fix_directories(input_dir_path, output_dir_path)
try:
fname = pmag.resolve_file_name(spec_file, input_dir_path)
except IOError:
print("bad specimen file name")
return False, "bad specimen file name"
spec_df = pd.read_csv(fname, sep='\t', header=1)
spec_df.dropna('columns', how='all', inplace=True)
if 'int_abs' in spec_df.columns:
spec_df.dropna(subset=['int_abs'], inplace=True)
if len(spec_df) > 0:
table_df = map_magic.convert_specimen_dm3_table(spec_df)
out_file = pmag.resolve_file_name(output_file, output_dir_path)
if latex:
if out_file.endswith('.xls'):
out_file = out_file.rsplit('.')[0] + ".tex"
info_out = open(out_file, 'w+', errors="backslashreplace")
info_out.write('\documentclass{article}\n')
info_out.write('\\usepackage{booktabs}\n')
if landscape:
info_out.write('\\usepackage{lscape}')
if longtable:
info_out.write('\\usepackage{longtable}\n')
info_out.write('\\begin{document}\n')
if landscape:
info_out.write('\\begin{landscape}\n')
info_out.write(table_df.to_latex(index=False, longtable=longtable,
escape=True, multicolumn=False))
if landscape:
info_out.write('\end{landscape}\n')
info_out.write('\end{document}\n')
info_out.close()
else:
table_df.to_excel(out_file, index=False)
else:
print("No specimen data for ouput.")
return True, [out_file]
|
python
|
def specimens_extract(spec_file='specimens.txt', output_file='specimens.xls', landscape=False,
longtable=False, output_dir_path='.', input_dir_path='', latex=False):
"""
Extracts specimen results from a MagIC 3.0 format specimens.txt file.
Default output format is an Excel file.
typeset with latex on your own computer.
Parameters
___________
spec_file : str, default "specimens.txt"
input file name
output_file : str, default "specimens.xls"
output file name
landscape : boolean, default False
if True output latex landscape table
longtable : boolean
if True output latex longtable
output_dir_path : str, default "."
output file directory
input_dir_path : str, default ""
path for intput file if different from output_dir_path (default is same)
latex : boolean, default False
if True, output file should be latex formatted table with a .tex ending
Return :
[True,False], data table error type : True if successful
Effects :
writes xls or latex formatted tables for use in publications
"""
input_dir_path, output_dir_path = pmag.fix_directories(input_dir_path, output_dir_path)
try:
fname = pmag.resolve_file_name(spec_file, input_dir_path)
except IOError:
print("bad specimen file name")
return False, "bad specimen file name"
spec_df = pd.read_csv(fname, sep='\t', header=1)
spec_df.dropna('columns', how='all', inplace=True)
if 'int_abs' in spec_df.columns:
spec_df.dropna(subset=['int_abs'], inplace=True)
if len(spec_df) > 0:
table_df = map_magic.convert_specimen_dm3_table(spec_df)
out_file = pmag.resolve_file_name(output_file, output_dir_path)
if latex:
if out_file.endswith('.xls'):
out_file = out_file.rsplit('.')[0] + ".tex"
info_out = open(out_file, 'w+', errors="backslashreplace")
info_out.write('\documentclass{article}\n')
info_out.write('\\usepackage{booktabs}\n')
if landscape:
info_out.write('\\usepackage{lscape}')
if longtable:
info_out.write('\\usepackage{longtable}\n')
info_out.write('\\begin{document}\n')
if landscape:
info_out.write('\\begin{landscape}\n')
info_out.write(table_df.to_latex(index=False, longtable=longtable,
escape=True, multicolumn=False))
if landscape:
info_out.write('\end{landscape}\n')
info_out.write('\end{document}\n')
info_out.close()
else:
table_df.to_excel(out_file, index=False)
else:
print("No specimen data for ouput.")
return True, [out_file]
|
[
"def",
"specimens_extract",
"(",
"spec_file",
"=",
"'specimens.txt'",
",",
"output_file",
"=",
"'specimens.xls'",
",",
"landscape",
"=",
"False",
",",
"longtable",
"=",
"False",
",",
"output_dir_path",
"=",
"'.'",
",",
"input_dir_path",
"=",
"''",
",",
"latex",
"=",
"False",
")",
":",
"input_dir_path",
",",
"output_dir_path",
"=",
"pmag",
".",
"fix_directories",
"(",
"input_dir_path",
",",
"output_dir_path",
")",
"try",
":",
"fname",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"spec_file",
",",
"input_dir_path",
")",
"except",
"IOError",
":",
"print",
"(",
"\"bad specimen file name\"",
")",
"return",
"False",
",",
"\"bad specimen file name\"",
"spec_df",
"=",
"pd",
".",
"read_csv",
"(",
"fname",
",",
"sep",
"=",
"'\\t'",
",",
"header",
"=",
"1",
")",
"spec_df",
".",
"dropna",
"(",
"'columns'",
",",
"how",
"=",
"'all'",
",",
"inplace",
"=",
"True",
")",
"if",
"'int_abs'",
"in",
"spec_df",
".",
"columns",
":",
"spec_df",
".",
"dropna",
"(",
"subset",
"=",
"[",
"'int_abs'",
"]",
",",
"inplace",
"=",
"True",
")",
"if",
"len",
"(",
"spec_df",
")",
">",
"0",
":",
"table_df",
"=",
"map_magic",
".",
"convert_specimen_dm3_table",
"(",
"spec_df",
")",
"out_file",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"output_file",
",",
"output_dir_path",
")",
"if",
"latex",
":",
"if",
"out_file",
".",
"endswith",
"(",
"'.xls'",
")",
":",
"out_file",
"=",
"out_file",
".",
"rsplit",
"(",
"'.'",
")",
"[",
"0",
"]",
"+",
"\".tex\"",
"info_out",
"=",
"open",
"(",
"out_file",
",",
"'w+'",
",",
"errors",
"=",
"\"backslashreplace\"",
")",
"info_out",
".",
"write",
"(",
"'\\documentclass{article}\\n'",
")",
"info_out",
".",
"write",
"(",
"'\\\\usepackage{booktabs}\\n'",
")",
"if",
"landscape",
":",
"info_out",
".",
"write",
"(",
"'\\\\usepackage{lscape}'",
")",
"if",
"longtable",
":",
"info_out",
".",
"write",
"(",
"'\\\\usepackage{longtable}\\n'",
")",
"info_out",
".",
"write",
"(",
"'\\\\begin{document}\\n'",
")",
"if",
"landscape",
":",
"info_out",
".",
"write",
"(",
"'\\\\begin{landscape}\\n'",
")",
"info_out",
".",
"write",
"(",
"table_df",
".",
"to_latex",
"(",
"index",
"=",
"False",
",",
"longtable",
"=",
"longtable",
",",
"escape",
"=",
"True",
",",
"multicolumn",
"=",
"False",
")",
")",
"if",
"landscape",
":",
"info_out",
".",
"write",
"(",
"'\\end{landscape}\\n'",
")",
"info_out",
".",
"write",
"(",
"'\\end{document}\\n'",
")",
"info_out",
".",
"close",
"(",
")",
"else",
":",
"table_df",
".",
"to_excel",
"(",
"out_file",
",",
"index",
"=",
"False",
")",
"else",
":",
"print",
"(",
"\"No specimen data for ouput.\"",
")",
"return",
"True",
",",
"[",
"out_file",
"]"
] |
Extracts specimen results from a MagIC 3.0 format specimens.txt file.
Default output format is an Excel file.
typeset with latex on your own computer.
Parameters
___________
spec_file : str, default "specimens.txt"
input file name
output_file : str, default "specimens.xls"
output file name
landscape : boolean, default False
if True output latex landscape table
longtable : boolean
if True output latex longtable
output_dir_path : str, default "."
output file directory
input_dir_path : str, default ""
path for intput file if different from output_dir_path (default is same)
latex : boolean, default False
if True, output file should be latex formatted table with a .tex ending
Return :
[True,False], data table error type : True if successful
Effects :
writes xls or latex formatted tables for use in publications
|
[
"Extracts",
"specimen",
"results",
"from",
"a",
"MagIC",
"3",
".",
"0",
"format",
"specimens",
".",
"txt",
"file",
".",
"Default",
"output",
"format",
"is",
"an",
"Excel",
"file",
".",
"typeset",
"with",
"latex",
"on",
"your",
"own",
"computer",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L11243-L11310
|
train
|
This function extracts specimen results from a MagIC 3. 0 format specimens. txt file and returns a list of lists of boolean values.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(1443 - 1395) + '\x6f' + chr(53) + '\x32', 0o10), nzTpIcepk0o8(chr(0b1011 + 0o45) + chr(0b1101111) + chr(50) + '\063', 45818 - 45810), nzTpIcepk0o8(chr(0b101 + 0o53) + '\x6f' + chr(51) + chr(0b110110) + '\065', 0b1000), nzTpIcepk0o8('\x30' + chr(111) + chr(0b110010) + '\x36', 0b1000), nzTpIcepk0o8('\x30' + chr(0b101001 + 0o106) + chr(704 - 654) + chr(51) + chr(0b110100), 0o10), nzTpIcepk0o8('\060' + '\x6f' + chr(1068 - 1017) + '\060' + chr(0b110100), 0o10), nzTpIcepk0o8('\x30' + chr(6374 - 6263) + chr(438 - 383) + '\x32', 3401 - 3393), nzTpIcepk0o8('\060' + chr(111) + chr(0b101001 + 0o10) + chr(2667 - 2615) + '\x37', ord("\x08")), nzTpIcepk0o8('\x30' + '\157' + '\x32' + chr(0b101101 + 0o6) + '\060', ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(49) + chr(259 - 207), 0o10), nzTpIcepk0o8('\060' + chr(5814 - 5703) + chr(0b10001 + 0o40) + chr(0b0 + 0o60) + chr(2033 - 1985), ord("\x08")), nzTpIcepk0o8(chr(48) + '\x6f' + chr(49) + chr(0b110000), 0b1000), nzTpIcepk0o8(chr(2168 - 2120) + chr(111) + '\061' + chr(2364 - 2315) + chr(0b10011 + 0o42), ord("\x08")), nzTpIcepk0o8(chr(1353 - 1305) + chr(111) + chr(1264 - 1214) + chr(52) + '\x36', 50971 - 50963), nzTpIcepk0o8(chr(0b110 + 0o52) + '\x6f' + chr(1708 - 1657) + chr(54) + chr(48), ord("\x08")), nzTpIcepk0o8('\x30' + '\157' + chr(0b101110 + 0o4) + chr(485 - 432) + chr(0b110111), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\066' + chr(0b110 + 0o55), 0o10), nzTpIcepk0o8(chr(48) + '\x6f' + '\x35' + chr(0b110011), 32621 - 32613), nzTpIcepk0o8(chr(0b10010 + 0o36) + '\157' + chr(50) + chr(0b110100) + chr(0b110011), 0o10), nzTpIcepk0o8(chr(189 - 141) + chr(0b1011100 + 0o23) + '\x35' + chr(54), 0b1000), nzTpIcepk0o8('\060' + '\x6f' + chr(0b110111) + chr(0b100001 + 0o21), 8), nzTpIcepk0o8('\x30' + '\157' + '\063' + chr(0b10101 + 0o35) + chr(300 - 248), 0o10), nzTpIcepk0o8(chr(808 - 760) + chr(0b10001 + 0o136) + chr(0b110011) + '\x32' + chr(0b110001), ord("\x08")), nzTpIcepk0o8(chr(1117 - 1069) + chr(10831 - 10720) + '\x33' + '\x34' + chr(0b11001 + 0o36), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1111 + 0o140) + '\x33' + chr(1427 - 1376) + '\x35', 0o10), nzTpIcepk0o8(chr(1309 - 1261) + chr(111) + '\x31' + chr(49) + chr(1146 - 1097), 0b1000), nzTpIcepk0o8(chr(0b1010 + 0o46) + chr(680 - 569) + chr(0b110001) + chr(0b110001) + chr(52), 37597 - 37589), nzTpIcepk0o8(chr(0b100010 + 0o16) + chr(0b1101111) + chr(49) + chr(0b110000), 8), nzTpIcepk0o8(chr(1897 - 1849) + chr(3002 - 2891) + chr(50) + chr(51) + chr(1257 - 1208), 0o10), nzTpIcepk0o8(chr(48) + chr(0b1100110 + 0o11) + chr(50) + chr(0b110101), 0b1000), nzTpIcepk0o8(chr(48) + '\x6f' + chr(361 - 310) + '\x33' + '\x35', 8), nzTpIcepk0o8(chr(1831 - 1783) + chr(0b1101111) + '\x36' + chr(0b10001 + 0o37), 0b1000), nzTpIcepk0o8(chr(48) + chr(0b1011100 + 0o23) + chr(629 - 580) + chr(0b11011 + 0o30), 26804 - 26796), nzTpIcepk0o8(chr(0b100 + 0o54) + '\x6f' + chr(0b11000 + 0o33) + chr(54) + chr(633 - 584), 2391 - 2383), nzTpIcepk0o8(chr(48) + '\x6f' + chr(404 - 354) + '\x34' + '\x33', 8), nzTpIcepk0o8(chr(0b110000) + chr(3087 - 2976) + chr(52) + '\x37', ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(1491 - 1441) + chr(0b110100) + chr(0b110010), ord("\x08")), nzTpIcepk0o8('\x30' + chr(111) + '\063' + chr(0b110111), 0b1000), nzTpIcepk0o8(chr(48) + '\157' + chr(0b1000 + 0o53) + chr(53), 0b1000), nzTpIcepk0o8(chr(0b11101 + 0o23) + chr(0b1011 + 0o144) + '\066' + chr(50), 0o10)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(2200 - 2152) + '\157' + '\x35' + chr(1698 - 1650), 0b1000)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\x04'), chr(0b11011 + 0o111) + chr(0b1100101) + '\x63' + chr(111) + '\144' + chr(5693 - 5592))(chr(0b1001101 + 0o50) + chr(5406 - 5290) + chr(6098 - 5996) + '\x2d' + chr(0b111000)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def nk8KRNF60PBT(QJgeTIOanow9=roI3spqORKae(ES5oEprVxulp(b'Yc\x90u\xf5\xa9_\t\xeb"4p9'), chr(7764 - 7664) + chr(0b110100 + 0o61) + '\x63' + chr(5528 - 5417) + chr(5096 - 4996) + chr(101))('\x75' + '\x74' + chr(0b1100110) + chr(45) + '\x38'), KaUpnHIjhvKf=roI3spqORKae(ES5oEprVxulp(b'Yc\x90u\xf5\xa9_\t\xeb"8d>'), chr(6709 - 6609) + chr(0b11110 + 0o107) + chr(0b1100011) + chr(111) + '\144' + chr(0b1010000 + 0o25))(chr(117) + chr(116) + chr(102) + chr(0b10100 + 0o31) + chr(0b111000)), XyVBi82QZN_N=nzTpIcepk0o8(chr(1882 - 1834) + chr(0b1101111) + '\060', 0b1000), xufDx__iHeAg=nzTpIcepk0o8(chr(0b1011 + 0o45) + '\157' + chr(48), 8), YtDhZvF7VzwC=roI3spqORKae(ES5oEprVxulp(b'\x04'), chr(100) + chr(0b1100101) + chr(0b101110 + 0o65) + chr(111) + chr(0b111101 + 0o47) + chr(783 - 682))(chr(117) + chr(0b1001000 + 0o54) + chr(4511 - 4409) + chr(0b101101) + chr(782 - 726)), KADebXAR9grB=roI3spqORKae(ES5oEprVxulp(b''), '\144' + '\145' + '\143' + '\157' + chr(100) + chr(0b11011 + 0o112))('\165' + '\x74' + chr(1649 - 1547) + chr(45) + '\070'), cl3Ncwxy1gE5=nzTpIcepk0o8(chr(0b10 + 0o56) + chr(111) + chr(2292 - 2244), 8)):
(KADebXAR9grB, YtDhZvF7VzwC) = hUcsWwAd0nE_.fix_directories(KADebXAR9grB, YtDhZvF7VzwC)
try:
jXqxEQuu_5DD = hUcsWwAd0nE_.resolve_file_name(QJgeTIOanow9, KADebXAR9grB)
except Awc2QmWaiVq8:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'Hr\x916\xef\xb4_\x04\xf1a%fm\xc0\x99\xc3V\x0b\xcdOW\xb1'), '\x64' + chr(101) + '\143' + chr(0b111111 + 0o60) + '\144' + chr(7850 - 7749))(chr(0b1110101) + '\x74' + chr(102) + chr(0b11000 + 0o25) + chr(606 - 550)))
return (nzTpIcepk0o8('\060' + chr(10421 - 10310) + '\060', 8), roI3spqORKae(ES5oEprVxulp(b'Hr\x916\xef\xb4_\x04\xf1a%fm\xc0\x99\xc3V\x0b\xcdOW\xb1'), '\144' + chr(477 - 376) + chr(99) + chr(8339 - 8228) + chr(0b11011 + 0o111) + '\x65')('\165' + chr(116) + chr(102) + chr(45) + '\070'))
YtA_2u8ugCIV = HLKt4sa1j9hm.read_csv(jXqxEQuu_5DD, sep=roI3spqORKae(ES5oEprVxulp(b'#'), '\x64' + chr(9040 - 8939) + '\143' + '\x6f' + '\x64' + chr(0b110100 + 0o61))(chr(8760 - 8643) + '\164' + chr(0b1100110) + '\x2d' + chr(0b10110 + 0o42)), header=nzTpIcepk0o8('\x30' + chr(8548 - 8437) + chr(480 - 431), 0b1000))
roI3spqORKae(YtA_2u8ugCIV, roI3spqORKae(ES5oEprVxulp(b'Na\x9af\xf2\xa5'), chr(4243 - 4143) + '\x65' + chr(0b1100011) + '\157' + chr(9295 - 9195) + chr(0b101101 + 0o70))(chr(0b1001100 + 0o51) + chr(0b1110100) + chr(102) + chr(1308 - 1263) + chr(0b101101 + 0o13)))(roI3spqORKae(ES5oEprVxulp(b'I|\x99c\xf1\xaaI'), '\144' + '\145' + chr(99) + chr(1576 - 1465) + chr(1816 - 1716) + chr(0b1100101))(chr(11223 - 11106) + '\164' + chr(0b100011 + 0o103) + '\x2d' + '\070'), how=roI3spqORKae(ES5oEprVxulp(b'K\x7f\x99'), '\x64' + '\145' + '\x63' + '\x6f' + chr(0b1100100) + chr(0b1011010 + 0o13))(chr(117) + chr(116) + chr(102) + chr(1894 - 1849) + chr(0b110110 + 0o2)), inplace=nzTpIcepk0o8('\060' + chr(111) + '\x31', 8))
if roI3spqORKae(ES5oEprVxulp(b'C}\x81I\xfd\xa6I'), chr(0b1100100) + chr(101) + chr(0b1100011) + chr(7183 - 7072) + '\144' + chr(0b1111 + 0o126))('\x75' + '\x74' + chr(102) + '\x2d' + chr(0b111000)) in roI3spqORKae(YtA_2u8ugCIV, roI3spqORKae(ES5oEprVxulp(b'\x7f \xcc|\xcf\xadsR\xacA,x'), '\144' + chr(101) + chr(0b1100011) + chr(3855 - 3744) + chr(100) + '\x65')('\x75' + chr(13300 - 13184) + '\146' + chr(989 - 944) + chr(0b110011 + 0o5))):
roI3spqORKae(YtA_2u8ugCIV, roI3spqORKae(ES5oEprVxulp(b'Na\x9af\xf2\xa5'), chr(0b11000 + 0o114) + chr(4493 - 4392) + chr(99) + chr(0b1101111) + '\x64' + '\145')(chr(4976 - 4859) + '\164' + chr(0b1100011 + 0o3) + chr(0b101001 + 0o4) + '\x38'))(subset=[roI3spqORKae(ES5oEprVxulp(b'C}\x81I\xfd\xa6I'), chr(0b1011111 + 0o5) + chr(0b1110 + 0o127) + chr(0b1100011) + '\157' + chr(0b1001001 + 0o33) + chr(0b1100101))(chr(0b1110101) + '\164' + chr(0b1100110) + chr(1521 - 1476) + chr(0b10000 + 0o50))], inplace=nzTpIcepk0o8('\060' + chr(8139 - 8028) + '\x31', 8))
if ftfygxgFas5X(YtA_2u8ugCIV) > nzTpIcepk0o8(chr(48) + chr(12080 - 11969) + '\060', 8):
GgW4fF2w1H3R = ntOEbtdxWLl2.convert_specimen_dm3_table(YtA_2u8ugCIV)
vqkvTUJsdUtb = hUcsWwAd0nE_.resolve_file_name(KaUpnHIjhvKf, YtDhZvF7VzwC)
if cl3Ncwxy1gE5:
if roI3spqORKae(vqkvTUJsdUtb, roI3spqORKae(ES5oEprVxulp(b'c*\x93]\xd5\x87{+\xf9y\nz'), '\x64' + chr(6238 - 6137) + chr(0b1001100 + 0o27) + chr(0b1101111) + chr(0b1100100) + '\145')(chr(117) + chr(12237 - 12121) + '\146' + '\x2d' + chr(56)))(roI3spqORKae(ES5oEprVxulp(b'\x04k\x99e'), chr(9635 - 9535) + '\145' + '\143' + chr(0b1101111) + chr(0b1100100) + '\145')(chr(0b1110101) + chr(116) + chr(0b1100110) + chr(1547 - 1502) + chr(2806 - 2750))):
vqkvTUJsdUtb = vqkvTUJsdUtb.rsplit(roI3spqORKae(ES5oEprVxulp(b'\x04'), chr(8492 - 8392) + '\x65' + chr(7771 - 7672) + chr(7066 - 6955) + '\x64' + '\x65')('\x75' + chr(0b100010 + 0o122) + '\x66' + '\055' + chr(0b11011 + 0o35)))[nzTpIcepk0o8(chr(452 - 404) + chr(3618 - 3507) + '\x30', 8)] + roI3spqORKae(ES5oEprVxulp(b'\x04g\x90n'), chr(0b1100100) + '\145' + '\x63' + chr(111) + '\x64' + chr(0b1100101))(chr(0b1110101) + '\x74' + chr(0b1011101 + 0o11) + '\055' + chr(0b111000))
Pt09DO1rppVN = DnU3Rq9N5ala(vqkvTUJsdUtb, roI3spqORKae(ES5oEprVxulp(b']8'), chr(132 - 32) + chr(0b1100101) + '\x63' + '\x6f' + chr(1708 - 1608) + '\145')('\165' + chr(116) + chr(0b1100110) + '\x2d' + chr(56)), errors=roI3spqORKae(ES5oEprVxulp(b'Hr\x96}\xef\xa8[\x14\xf0~%x!\xc7\x93\xca'), '\144' + chr(101) + chr(99) + '\x6f' + '\x64' + chr(101))(chr(13488 - 13371) + '\x74' + chr(102) + chr(963 - 918) + '\x38'))
roI3spqORKae(Pt09DO1rppVN, roI3spqORKae(ES5oEprVxulp(b'G\x7f\xc5~\xf4\xb4LV\xd4|1:'), chr(3742 - 3642) + chr(2850 - 2749) + '\x63' + chr(0b1101111) + chr(0b1011000 + 0o14) + chr(101))(chr(0b1011111 + 0o26) + chr(0b1110010 + 0o2) + chr(6993 - 6891) + chr(45) + '\x38'))(roI3spqORKae(ES5oEprVxulp(b'vw\x9au\xe9\xa9_\t\xeco,i>\xd5\x8b\xceA_\xcaMV\xb1\xac\xed'), chr(100) + chr(0b1001000 + 0o35) + chr(99) + chr(0b100100 + 0o113) + chr(0b10100 + 0o120) + chr(5673 - 5572))(chr(316 - 199) + chr(7485 - 7369) + chr(0b1100110) + chr(0b101011 + 0o2) + chr(56)))
roI3spqORKae(Pt09DO1rppVN, roI3spqORKae(ES5oEprVxulp(b'G\x7f\xc5~\xf4\xb4LV\xd4|1:'), '\144' + '\x65' + chr(7149 - 7050) + chr(0b11011 + 0o124) + '\144' + chr(0b11110 + 0o107))(chr(9771 - 9654) + chr(0b1110100) + chr(0b1100110) + '\x2d' + chr(0b110 + 0o62)))(roI3spqORKae(ES5oEprVxulp(b'vf\x86s\xec\xa5Y\x0c\xf9k%s/\xc9\x9f\xc4GJ\xc1]G\xde'), chr(0b111000 + 0o54) + chr(836 - 735) + '\143' + '\x6f' + chr(0b1100100) + chr(101))('\x75' + '\164' + chr(0b1100110 + 0o0) + chr(0b10010 + 0o33) + '\070'))
if XyVBi82QZN_N:
roI3spqORKae(Pt09DO1rppVN, roI3spqORKae(ES5oEprVxulp(b'G\x7f\xc5~\xf4\xb4LV\xd4|1:'), chr(100) + chr(6803 - 6702) + chr(1897 - 1798) + chr(0b1101111) + chr(296 - 196) + chr(5077 - 4976))('\165' + chr(116) + chr(0b101010 + 0o74) + '\055' + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b'vf\x86s\xec\xa5Y\x0c\xf9k%s!\xd5\x93\xceCN\xde'), chr(1642 - 1542) + '\145' + chr(9242 - 9143) + chr(0b1000 + 0o147) + '\144' + '\x65')(chr(2237 - 2120) + '\x74' + chr(0b1100110) + chr(1986 - 1941) + chr(2743 - 2687)))
if xufDx__iHeAg:
roI3spqORKae(Pt09DO1rppVN, roI3spqORKae(ES5oEprVxulp(b'G\x7f\xc5~\xf4\xb4LV\xd4|1:'), '\x64' + chr(0b1100101) + chr(0b1100011) + '\157' + chr(5633 - 5533) + chr(0b1100101))(chr(0b1011110 + 0o27) + chr(0b111100 + 0o70) + chr(102) + chr(45) + chr(56)))(roI3spqORKae(ES5oEprVxulp(b'vf\x86s\xec\xa5Y\x0c\xf9k%s!\xc9\x9e\xc8GJ\xc1B_\xa9\xdb'), chr(3715 - 3615) + chr(0b1100101) + '\x63' + chr(111) + chr(100) + '\145')(chr(0b111111 + 0o66) + chr(3888 - 3772) + chr(102) + chr(462 - 417) + chr(2097 - 2041)))
roI3spqORKae(Pt09DO1rppVN, roI3spqORKae(ES5oEprVxulp(b'G\x7f\xc5~\xf4\xb4LV\xd4|1:'), chr(4284 - 4184) + chr(10146 - 10045) + '\143' + chr(0b111111 + 0o60) + chr(398 - 298) + chr(101))(chr(631 - 514) + chr(4185 - 4069) + chr(0b1100110) + chr(0b101101) + chr(2669 - 2613)))(roI3spqORKae(ES5oEprVxulp(b'vq\x90q\xf5\xaaA\x03\xf7o5e(\xc8\x84\xd29'), '\144' + chr(5768 - 5667) + chr(0b1100 + 0o127) + chr(0b1101111) + chr(0b1100100) + chr(5314 - 5213))('\165' + '\164' + chr(0b1100110) + chr(0b1 + 0o54) + chr(56)))
if XyVBi82QZN_N:
roI3spqORKae(Pt09DO1rppVN, roI3spqORKae(ES5oEprVxulp(b'G\x7f\xc5~\xf4\xb4LV\xd4|1:'), '\144' + '\x65' + '\x63' + chr(0b10111 + 0o130) + '\144' + chr(7515 - 7414))('\165' + chr(8202 - 8086) + '\x66' + chr(45) + chr(927 - 871)))(roI3spqORKae(ES5oEprVxulp(b'vq\x90q\xf5\xaaA\x0b\xf9b${.\xc7\x80\xcaN!'), chr(0b1100100) + chr(101) + chr(99) + '\x6f' + chr(100) + chr(0b1100101 + 0o0))(chr(117) + chr(0b100111 + 0o115) + chr(0b110001 + 0o65) + chr(487 - 442) + chr(1824 - 1768)))
roI3spqORKae(Pt09DO1rppVN, roI3spqORKae(ES5oEprVxulp(b'G\x7f\xc5~\xf4\xb4LV\xd4|1:'), chr(100) + chr(3748 - 3647) + chr(6179 - 6080) + chr(111) + chr(988 - 888) + chr(0b101 + 0o140))(chr(0b1110101) + chr(11973 - 11857) + chr(0b1100110) + chr(0b101101) + chr(0b111000)))(roI3spqORKae(GgW4fF2w1H3R, roI3spqORKae(ES5oEprVxulp(b'^|\xaaz\xfd\xb0_\x1f'), chr(0b1100100) + '\145' + chr(99) + chr(1301 - 1190) + '\144' + '\x65')(chr(117) + chr(116) + chr(102) + chr(0b1011 + 0o42) + '\070'))(index=nzTpIcepk0o8('\060' + chr(111) + chr(0b110000), 8), longtable=xufDx__iHeAg, escape=nzTpIcepk0o8('\x30' + '\x6f' + chr(49), 8), multicolumn=nzTpIcepk0o8(chr(384 - 336) + '\x6f' + '\060', 8)))
if XyVBi82QZN_N:
roI3spqORKae(Pt09DO1rppVN, roI3spqORKae(ES5oEprVxulp(b'G\x7f\xc5~\xf4\xb4LV\xd4|1:'), chr(100) + chr(0b1100101) + chr(0b1100011) + '\157' + '\x64' + '\x65')(chr(6866 - 6749) + '\164' + chr(0b1100110) + chr(0b10010 + 0o33) + chr(56)))(roI3spqORKae(ES5oEprVxulp(b'vv\x9br\xe7\xa8[\t\xfc\x7f#i=\xc3\x8d\xa5'), chr(100) + chr(0b1000000 + 0o45) + chr(99) + '\x6f' + chr(0b1100 + 0o130) + '\145')(chr(117) + chr(0b101001 + 0o113) + '\x66' + chr(0b101101) + chr(0b110110 + 0o2)))
roI3spqORKae(Pt09DO1rppVN, roI3spqORKae(ES5oEprVxulp(b'G\x7f\xc5~\xf4\xb4LV\xd4|1:'), chr(0b110001 + 0o63) + chr(0b1100101) + chr(0b1001100 + 0o27) + '\x6f' + chr(100) + chr(101))(chr(1888 - 1771) + chr(0b1110100) + chr(102) + '\x2d' + chr(56)))(roI3spqORKae(ES5oEprVxulp(b'vv\x9br\xe7\xa0U\x04\xeda%f9\xdb\xfa'), chr(0b101111 + 0o65) + chr(1938 - 1837) + '\x63' + chr(0b1101111) + '\144' + chr(4128 - 4027))(chr(117) + '\164' + '\146' + chr(0b110 + 0o47) + chr(386 - 330)))
roI3spqORKae(Pt09DO1rppVN, roI3spqORKae(ES5oEprVxulp(b'pv\x84!\xdf\xa7\\^\xcdhxb'), chr(0b1110 + 0o126) + '\145' + chr(0b1100011) + chr(9116 - 9005) + chr(0b1100100) + chr(0b1100101))(chr(0b1010110 + 0o37) + chr(0b1100110 + 0o16) + chr(102) + '\x2d' + chr(56)))()
else:
roI3spqORKae(GgW4fF2w1H3R, roI3spqORKae(ES5oEprVxulp(b'^|\xaas\xe4\xa7_\x0b'), '\x64' + chr(0b1100101) + chr(4360 - 4261) + chr(12129 - 12018) + '\x64' + chr(0b1010000 + 0o25))('\x75' + chr(116) + chr(0b10110 + 0o120) + chr(519 - 474) + chr(0b111000)))(vqkvTUJsdUtb, index=nzTpIcepk0o8(chr(0b110000) + '\157' + chr(48), 8))
else:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'd|\xd5e\xec\xa1Y\x0e\xf5i.()\xc7\x84\xce\x13\x0b\x83HU\xa6\xf1\x88\xa899|\xb7'), chr(4512 - 4412) + '\x65' + chr(0b111011 + 0o50) + '\157' + '\x64' + chr(0b11010 + 0o113))('\165' + chr(116) + chr(0b11000 + 0o116) + '\x2d' + '\070'))
return (nzTpIcepk0o8(chr(0b110000) + chr(111) + '\x31', 8), [vqkvTUJsdUtb])
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
criteria_extract
|
def criteria_extract(crit_file='criteria.txt', output_file='criteria.xls',
output_dir_path='.', input_dir_path='', latex=False):
"""
Extracts criteria from a MagIC 3.0 format criteria.txt file.
Default output format is an Excel file.
typeset with latex on your own computer.
Parameters
___________
crit_file : str, default "criteria.txt"
input file name
output_file : str, default "criteria.xls"
output file name
output_dir_path : str, default "."
output file directory
input_dir_path : str, default ""
path for intput file if different from output_dir_path (default is same)
latex : boolean, default False
if True, output file should be latex formatted table with a .tex ending
Return :
[True,False], data table error type : True if successful
Effects :
writes xls or latex formatted tables for use in publications
"""
input_dir_path, output_dir_path = pmag.fix_directories(input_dir_path, output_dir_path)
try:
fname = pmag.resolve_file_name(crit_file, input_dir_path)
except IOError:
print("bad criteria file name")
return False, "bad criteria file name"
crit_df = pd.read_csv(fname, sep='\t', header=1)
if len(crit_df) > 0:
out_file = pmag.resolve_file_name(output_file, output_dir_path)
s = crit_df['table_column'].str.split(pat='.', expand=True)
crit_df['table'] = s[0]
crit_df['column'] = s[1]
crit_df = crit_df[['table', 'column',
'criterion_value', 'criterion_operation']]
crit_df.columns = ['Table', 'Statistic', 'Threshold', 'Operation']
if latex:
if out_file.endswith('.xls'):
out_file = out_file.rsplit('.')[0] + ".tex"
crit_df.loc[crit_df['Operation'].str.contains(
'<'), 'operation'] = 'maximum'
crit_df.loc[crit_df['Operation'].str.contains(
'>'), 'operation'] = 'minimum'
crit_df.loc[crit_df['Operation'] == '=', 'operation'] = 'equal to'
info_out = open(out_file, 'w+', errors="backslashreplace")
info_out.write('\documentclass{article}\n')
info_out.write('\\usepackage{booktabs}\n')
# info_out.write('\\usepackage{longtable}\n')
# T1 will ensure that symbols like '<' are formatted correctly
info_out.write("\\usepackage[T1]{fontenc}\n")
info_out.write('\\begin{document}')
info_out.write(crit_df.to_latex(index=False, longtable=False,
escape=True, multicolumn=False))
info_out.write('\end{document}\n')
info_out.close()
else:
crit_df.to_excel(out_file, index=False)
else:
print("No criteria for ouput.")
return True, [out_file]
|
python
|
def criteria_extract(crit_file='criteria.txt', output_file='criteria.xls',
output_dir_path='.', input_dir_path='', latex=False):
"""
Extracts criteria from a MagIC 3.0 format criteria.txt file.
Default output format is an Excel file.
typeset with latex on your own computer.
Parameters
___________
crit_file : str, default "criteria.txt"
input file name
output_file : str, default "criteria.xls"
output file name
output_dir_path : str, default "."
output file directory
input_dir_path : str, default ""
path for intput file if different from output_dir_path (default is same)
latex : boolean, default False
if True, output file should be latex formatted table with a .tex ending
Return :
[True,False], data table error type : True if successful
Effects :
writes xls or latex formatted tables for use in publications
"""
input_dir_path, output_dir_path = pmag.fix_directories(input_dir_path, output_dir_path)
try:
fname = pmag.resolve_file_name(crit_file, input_dir_path)
except IOError:
print("bad criteria file name")
return False, "bad criteria file name"
crit_df = pd.read_csv(fname, sep='\t', header=1)
if len(crit_df) > 0:
out_file = pmag.resolve_file_name(output_file, output_dir_path)
s = crit_df['table_column'].str.split(pat='.', expand=True)
crit_df['table'] = s[0]
crit_df['column'] = s[1]
crit_df = crit_df[['table', 'column',
'criterion_value', 'criterion_operation']]
crit_df.columns = ['Table', 'Statistic', 'Threshold', 'Operation']
if latex:
if out_file.endswith('.xls'):
out_file = out_file.rsplit('.')[0] + ".tex"
crit_df.loc[crit_df['Operation'].str.contains(
'<'), 'operation'] = 'maximum'
crit_df.loc[crit_df['Operation'].str.contains(
'>'), 'operation'] = 'minimum'
crit_df.loc[crit_df['Operation'] == '=', 'operation'] = 'equal to'
info_out = open(out_file, 'w+', errors="backslashreplace")
info_out.write('\documentclass{article}\n')
info_out.write('\\usepackage{booktabs}\n')
# info_out.write('\\usepackage{longtable}\n')
# T1 will ensure that symbols like '<' are formatted correctly
info_out.write("\\usepackage[T1]{fontenc}\n")
info_out.write('\\begin{document}')
info_out.write(crit_df.to_latex(index=False, longtable=False,
escape=True, multicolumn=False))
info_out.write('\end{document}\n')
info_out.close()
else:
crit_df.to_excel(out_file, index=False)
else:
print("No criteria for ouput.")
return True, [out_file]
|
[
"def",
"criteria_extract",
"(",
"crit_file",
"=",
"'criteria.txt'",
",",
"output_file",
"=",
"'criteria.xls'",
",",
"output_dir_path",
"=",
"'.'",
",",
"input_dir_path",
"=",
"''",
",",
"latex",
"=",
"False",
")",
":",
"input_dir_path",
",",
"output_dir_path",
"=",
"pmag",
".",
"fix_directories",
"(",
"input_dir_path",
",",
"output_dir_path",
")",
"try",
":",
"fname",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"crit_file",
",",
"input_dir_path",
")",
"except",
"IOError",
":",
"print",
"(",
"\"bad criteria file name\"",
")",
"return",
"False",
",",
"\"bad criteria file name\"",
"crit_df",
"=",
"pd",
".",
"read_csv",
"(",
"fname",
",",
"sep",
"=",
"'\\t'",
",",
"header",
"=",
"1",
")",
"if",
"len",
"(",
"crit_df",
")",
">",
"0",
":",
"out_file",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"output_file",
",",
"output_dir_path",
")",
"s",
"=",
"crit_df",
"[",
"'table_column'",
"]",
".",
"str",
".",
"split",
"(",
"pat",
"=",
"'.'",
",",
"expand",
"=",
"True",
")",
"crit_df",
"[",
"'table'",
"]",
"=",
"s",
"[",
"0",
"]",
"crit_df",
"[",
"'column'",
"]",
"=",
"s",
"[",
"1",
"]",
"crit_df",
"=",
"crit_df",
"[",
"[",
"'table'",
",",
"'column'",
",",
"'criterion_value'",
",",
"'criterion_operation'",
"]",
"]",
"crit_df",
".",
"columns",
"=",
"[",
"'Table'",
",",
"'Statistic'",
",",
"'Threshold'",
",",
"'Operation'",
"]",
"if",
"latex",
":",
"if",
"out_file",
".",
"endswith",
"(",
"'.xls'",
")",
":",
"out_file",
"=",
"out_file",
".",
"rsplit",
"(",
"'.'",
")",
"[",
"0",
"]",
"+",
"\".tex\"",
"crit_df",
".",
"loc",
"[",
"crit_df",
"[",
"'Operation'",
"]",
".",
"str",
".",
"contains",
"(",
"'<'",
")",
",",
"'operation'",
"]",
"=",
"'maximum'",
"crit_df",
".",
"loc",
"[",
"crit_df",
"[",
"'Operation'",
"]",
".",
"str",
".",
"contains",
"(",
"'>'",
")",
",",
"'operation'",
"]",
"=",
"'minimum'",
"crit_df",
".",
"loc",
"[",
"crit_df",
"[",
"'Operation'",
"]",
"==",
"'='",
",",
"'operation'",
"]",
"=",
"'equal to'",
"info_out",
"=",
"open",
"(",
"out_file",
",",
"'w+'",
",",
"errors",
"=",
"\"backslashreplace\"",
")",
"info_out",
".",
"write",
"(",
"'\\documentclass{article}\\n'",
")",
"info_out",
".",
"write",
"(",
"'\\\\usepackage{booktabs}\\n'",
")",
"# info_out.write('\\\\usepackage{longtable}\\n')",
"# T1 will ensure that symbols like '<' are formatted correctly",
"info_out",
".",
"write",
"(",
"\"\\\\usepackage[T1]{fontenc}\\n\"",
")",
"info_out",
".",
"write",
"(",
"'\\\\begin{document}'",
")",
"info_out",
".",
"write",
"(",
"crit_df",
".",
"to_latex",
"(",
"index",
"=",
"False",
",",
"longtable",
"=",
"False",
",",
"escape",
"=",
"True",
",",
"multicolumn",
"=",
"False",
")",
")",
"info_out",
".",
"write",
"(",
"'\\end{document}\\n'",
")",
"info_out",
".",
"close",
"(",
")",
"else",
":",
"crit_df",
".",
"to_excel",
"(",
"out_file",
",",
"index",
"=",
"False",
")",
"else",
":",
"print",
"(",
"\"No criteria for ouput.\"",
")",
"return",
"True",
",",
"[",
"out_file",
"]"
] |
Extracts criteria from a MagIC 3.0 format criteria.txt file.
Default output format is an Excel file.
typeset with latex on your own computer.
Parameters
___________
crit_file : str, default "criteria.txt"
input file name
output_file : str, default "criteria.xls"
output file name
output_dir_path : str, default "."
output file directory
input_dir_path : str, default ""
path for intput file if different from output_dir_path (default is same)
latex : boolean, default False
if True, output file should be latex formatted table with a .tex ending
Return :
[True,False], data table error type : True if successful
Effects :
writes xls or latex formatted tables for use in publications
|
[
"Extracts",
"criteria",
"from",
"a",
"MagIC",
"3",
".",
"0",
"format",
"criteria",
".",
"txt",
"file",
".",
"Default",
"output",
"format",
"is",
"an",
"Excel",
"file",
".",
"typeset",
"with",
"latex",
"on",
"your",
"own",
"computer",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L11313-L11381
|
train
|
This function extracts a criteria from a MagIC 3. 0 format criteria. txt file.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\x33' + '\063' + chr(1328 - 1275), 6878 - 6870), nzTpIcepk0o8('\060' + chr(10406 - 10295) + chr(0b110011) + '\060' + '\x35', 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(2380 - 2331) + '\060' + '\061', 0b1000), nzTpIcepk0o8('\060' + '\157' + chr(50) + chr(55) + chr(0b110010), 0o10), nzTpIcepk0o8('\x30' + '\157' + chr(0b100010 + 0o17) + chr(50) + '\x31', 0b1000), nzTpIcepk0o8(chr(0b11111 + 0o21) + '\x6f' + chr(0b110010) + chr(0b110100) + '\x34', ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1101111) + '\x32' + '\063' + chr(0b110001), 0b1000), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(1399 - 1348) + chr(0b100101 + 0o16) + chr(54), 0b1000), nzTpIcepk0o8('\x30' + chr(111) + chr(287 - 238) + '\x34' + '\x37', 43425 - 43417), nzTpIcepk0o8(chr(329 - 281) + '\157' + chr(447 - 396) + '\064' + '\x36', ord("\x08")), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(53) + chr(0b11101 + 0o31), ord("\x08")), nzTpIcepk0o8(chr(604 - 556) + chr(1776 - 1665) + chr(50) + '\x32' + '\x36', 0b1000), nzTpIcepk0o8(chr(384 - 336) + chr(0b1101111) + '\061' + '\061' + chr(409 - 360), 18567 - 18559), nzTpIcepk0o8(chr(0b110000) + '\157' + '\x34' + chr(1184 - 1129), 21951 - 21943), nzTpIcepk0o8(chr(1467 - 1419) + '\x6f' + chr(0b110011) + '\x37' + chr(49), 0o10), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b111 + 0o52) + chr(0b100001 + 0o23) + chr(50), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(2294 - 2243) + chr(0b110100), ord("\x08")), nzTpIcepk0o8('\060' + chr(111) + chr(0b101 + 0o60) + '\x36', 8), nzTpIcepk0o8(chr(0b100010 + 0o16) + chr(0b1000101 + 0o52) + '\x32' + chr(49) + '\064', 0b1000), nzTpIcepk0o8('\x30' + chr(10300 - 10189) + '\x33' + chr(0b110000) + chr(1543 - 1492), 46954 - 46946), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(49) + chr(0b11 + 0o56) + chr(503 - 451), 0o10), nzTpIcepk0o8('\x30' + '\157' + '\065' + '\x33', 0b1000), nzTpIcepk0o8('\060' + chr(0b1101111) + '\x31' + chr(1834 - 1781) + chr(0b10000 + 0o45), 12642 - 12634), nzTpIcepk0o8(chr(0b10101 + 0o33) + chr(180 - 69) + chr(0b10100 + 0o37) + chr(0b110100) + '\x36', 8), nzTpIcepk0o8(chr(1042 - 994) + chr(0b110111 + 0o70) + chr(55) + chr(2672 - 2617), ord("\x08")), nzTpIcepk0o8('\x30' + chr(111) + chr(0b11001 + 0o33) + chr(0b101 + 0o57), ord("\x08")), nzTpIcepk0o8(chr(2183 - 2135) + '\157' + chr(0b110001) + chr(0b1010 + 0o47), 25863 - 25855), nzTpIcepk0o8(chr(540 - 492) + '\x6f' + chr(2209 - 2160) + chr(55) + '\x37', ord("\x08")), nzTpIcepk0o8(chr(0b11010 + 0o26) + '\157' + chr(1225 - 1174) + chr(0b110010) + '\x32', 36194 - 36186), nzTpIcepk0o8(chr(0b1000 + 0o50) + chr(0b1101111) + '\x32' + '\x30' + chr(0b10110 + 0o41), 0b1000), nzTpIcepk0o8(chr(419 - 371) + chr(0b101111 + 0o100) + chr(0b0 + 0o62) + chr(0b110101) + '\x32', 35039 - 35031), nzTpIcepk0o8('\060' + chr(111) + '\x33' + chr(1411 - 1359) + chr(50), 50980 - 50972), nzTpIcepk0o8(chr(0b101001 + 0o7) + chr(0b1101111) + '\063' + chr(0b110110) + chr(0b110000), 9813 - 9805), nzTpIcepk0o8(chr(48) + chr(0b110111 + 0o70) + chr(0b101011 + 0o10) + chr(575 - 523) + '\x32', 8), nzTpIcepk0o8('\060' + '\x6f' + '\x32' + chr(55) + chr(869 - 819), 8), nzTpIcepk0o8(chr(48) + '\157' + '\062' + chr(0b110101), 10214 - 10206), nzTpIcepk0o8('\x30' + '\157' + chr(0b100111 + 0o14) + chr(0b10011 + 0o35) + chr(0b110010), 0o10), nzTpIcepk0o8(chr(0b0 + 0o60) + chr(111) + chr(862 - 811) + '\x34' + chr(1934 - 1883), 61232 - 61224), nzTpIcepk0o8('\x30' + chr(111) + chr(0b110011) + '\065' + chr(0b101010 + 0o14), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b110001) + chr(0b1111 + 0o41) + chr(0b101 + 0o61), ord("\x08"))][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(0b1001 + 0o47) + chr(0b1101111) + chr(0b110101) + chr(48), 0o10)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xf3'), chr(0b1100100) + chr(0b1100101) + '\x63' + chr(0b110101 + 0o72) + '\144' + chr(4000 - 3899))('\165' + chr(116) + '\146' + '\055' + chr(0b111000)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def vG1T8b_GvfOp(fjdMtUDzc4gD=roI3spqORKae(ES5oEprVxulp(b'\xbe\xb7(\xce4\xd6\xf0\xbfI\x92V\xe2'), chr(0b100 + 0o140) + chr(101) + '\x63' + chr(0b110100 + 0o73) + '\144' + chr(0b1011110 + 0o7))(chr(0b100101 + 0o120) + chr(0b1100011 + 0o21) + '\x66' + '\x2d' + chr(56)), KaUpnHIjhvKf=roI3spqORKae(ES5oEprVxulp(b'\xbe\xb7(\xce4\xd6\xf0\xbfI\x9eB\xe5'), chr(0b101111 + 0o65) + chr(5858 - 5757) + chr(0b1100010 + 0o1) + '\x6f' + chr(0b100111 + 0o75) + chr(1176 - 1075))('\x75' + '\x74' + chr(6824 - 6722) + chr(0b101101) + chr(0b101000 + 0o20)), YtDhZvF7VzwC=roI3spqORKae(ES5oEprVxulp(b'\xf3'), chr(1612 - 1512) + chr(0b1100101) + chr(0b1011 + 0o130) + '\x6f' + '\x64' + chr(5591 - 5490))(chr(11060 - 10943) + chr(116) + chr(0b1100110) + chr(0b101101) + chr(728 - 672)), KADebXAR9grB=roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(101) + chr(0b1100011) + chr(7192 - 7081) + chr(100) + chr(4683 - 4582))('\x75' + '\x74' + chr(0b1100110) + chr(45) + chr(3024 - 2968)), cl3Ncwxy1gE5=nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b100111 + 0o11), ord("\x08"))):
(KADebXAR9grB, YtDhZvF7VzwC) = hUcsWwAd0nE_.fix_directories(KADebXAR9grB, YtDhZvF7VzwC)
try:
jXqxEQuu_5DD = hUcsWwAd0nE_.resolve_file_name(fjdMtUDzc4gD, KADebXAR9grB)
except Awc2QmWaiVq8:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xbf\xa4%\x9a2\xd6\xf0\xaa\x02\x94G\xf7iA\x90\x0ey\x0e\xe2\xa2!N'), chr(0b1100100) + chr(0b110010 + 0o63) + chr(0b1100011) + chr(0b1101000 + 0o7) + chr(0b111100 + 0o50) + '\x65')(chr(13154 - 13037) + '\x74' + chr(0b100000 + 0o106) + chr(0b11100 + 0o21) + chr(0b11000 + 0o40)))
return (nzTpIcepk0o8(chr(48) + chr(9714 - 9603) + chr(0b10001 + 0o37), 8), roI3spqORKae(ES5oEprVxulp(b'\xbf\xa4%\x9a2\xd6\xf0\xaa\x02\x94G\xf7iA\x90\x0ey\x0e\xe2\xa2!N'), chr(4195 - 4095) + chr(463 - 362) + '\143' + '\x6f' + chr(100) + chr(101))(chr(117) + chr(11314 - 11198) + '\x66' + chr(0b10110 + 0o27) + chr(1691 - 1635)))
f_jJ70Eyg0v8 = HLKt4sa1j9hm.read_csv(jXqxEQuu_5DD, sep=roI3spqORKae(ES5oEprVxulp(b'\xd4'), '\x64' + chr(0b1000010 + 0o43) + chr(0b1010101 + 0o16) + '\x6f' + '\x64' + '\x65')(chr(5632 - 5515) + '\x74' + chr(102) + chr(0b101100 + 0o1) + chr(0b1010 + 0o56)), header=nzTpIcepk0o8('\060' + chr(0b1010110 + 0o31) + chr(49), 0o10))
if ftfygxgFas5X(f_jJ70Eyg0v8) > nzTpIcepk0o8(chr(648 - 600) + chr(0b100010 + 0o115) + chr(659 - 611), 8):
vqkvTUJsdUtb = hUcsWwAd0nE_.resolve_file_name(KaUpnHIjhvKf, YtDhZvF7VzwC)
PmE5_h409JAA = f_jJ70Eyg0v8[roI3spqORKae(ES5oEprVxulp(b'\xa9\xa4#\xd64\xfb\xfa\xb1\x0b\x93C\xf8'), '\x64' + chr(0b1100101) + chr(0b11010 + 0o111) + chr(111) + chr(0b1100100) + chr(101))(chr(0b1001000 + 0o55) + chr(6783 - 6667) + chr(8178 - 8076) + '\055' + chr(1651 - 1595))].str.LfRrQOxuDvnC(pat=roI3spqORKae(ES5oEprVxulp(b'\xf3'), chr(100) + chr(0b1100101) + chr(0b0 + 0o143) + '\x6f' + chr(0b1100100) + chr(0b111100 + 0o51))(chr(0b1110101) + chr(8890 - 8774) + chr(102) + chr(45) + chr(1935 - 1879)), expand=nzTpIcepk0o8(chr(0b110000) + chr(0b111001 + 0o66) + '\x31', 8))
f_jJ70Eyg0v8[roI3spqORKae(ES5oEprVxulp(b'\xa9\xa4#\xd64'), '\x64' + chr(8374 - 8273) + chr(0b110001 + 0o62) + chr(0b1010 + 0o145) + chr(6119 - 6019) + chr(0b1100101))(chr(0b101010 + 0o113) + '\164' + chr(0b1100110) + '\x2d' + chr(0b111000))] = PmE5_h409JAA[nzTpIcepk0o8(chr(1250 - 1202) + chr(0b1101111) + '\060', 8)]
f_jJ70Eyg0v8[roI3spqORKae(ES5oEprVxulp(b'\xbe\xaa-\xcf<\xca'), chr(7789 - 7689) + chr(101) + chr(0b1100011) + chr(0b1101111) + chr(4896 - 4796) + chr(0b111 + 0o136))(chr(0b1110101) + chr(13258 - 13142) + chr(0b1001011 + 0o33) + chr(0b11000 + 0o25) + chr(0b101000 + 0o20))] = PmE5_h409JAA[nzTpIcepk0o8('\x30' + chr(0b1101111) + '\061', 8)]
f_jJ70Eyg0v8 = f_jJ70Eyg0v8[[roI3spqORKae(ES5oEprVxulp(b'\xa9\xa4#\xd64'), chr(3794 - 3694) + chr(2592 - 2491) + '\x63' + chr(0b1101111) + chr(3548 - 3448) + chr(1042 - 941))(chr(0b1110100 + 0o1) + chr(6713 - 6597) + '\146' + '\055' + chr(1109 - 1053)), roI3spqORKae(ES5oEprVxulp(b'\xbe\xaa-\xcf<\xca'), '\x64' + chr(101) + chr(99) + chr(7738 - 7627) + chr(0b110100 + 0o60) + '\145')('\165' + chr(4079 - 3963) + chr(682 - 580) + '\055' + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xbe\xb7(\xce4\xd6\xf0\xb1\t\xb9X\xf7%R\x9c'), '\x64' + chr(101) + chr(99) + chr(0b1101111) + '\x64' + '\x65')(chr(117) + '\164' + chr(0b1100110) + chr(45) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xbe\xb7(\xce4\xd6\xf0\xb1\t\xb9A\xe6,U\x98\x16uA\xe2'), '\x64' + chr(101) + '\x63' + '\x6f' + '\x64' + chr(101))(chr(0b1110101) + chr(116) + '\146' + chr(0b101101 + 0o0) + chr(0b111 + 0o61))]]
f_jJ70Eyg0v8.U39jSiI54Mlp = [roI3spqORKae(ES5oEprVxulp(b'\x89\xa4#\xd64'), chr(100) + '\145' + chr(99) + '\157' + chr(0b1011100 + 0o10) + chr(1627 - 1526))('\165' + chr(0b1011010 + 0o32) + chr(0b1000111 + 0o37) + '\x2d' + chr(0b10111 + 0o41)), roI3spqORKae(ES5oEprVxulp(b'\x8e\xb1 \xce8\xd7\xed\xb7\x04'), chr(0b1100100) + chr(101) + chr(0b1100011) + chr(111) + chr(1270 - 1170) + chr(101))(chr(4396 - 4279) + chr(0b1110100) + chr(102) + '\x2d' + chr(0b10110 + 0o42)), roI3spqORKae(ES5oEprVxulp(b'\x89\xad3\xdf"\xcc\xf6\xb2\x03'), chr(100) + chr(0b101001 + 0o74) + chr(3457 - 3358) + chr(2728 - 2617) + '\x64' + chr(0b1111 + 0o126))('\x75' + chr(116) + chr(8891 - 8789) + chr(45) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\x92\xb5$\xc80\xd0\xf0\xb1\t'), chr(4836 - 4736) + chr(0b1100101) + chr(0b1100011) + chr(0b111000 + 0o67) + '\144' + chr(0b1100101))(chr(12677 - 12560) + '\164' + '\146' + '\x2d' + chr(0b111000))]
if cl3Ncwxy1gE5:
if roI3spqORKae(vqkvTUJsdUtb, roI3spqORKae(ES5oEprVxulp(b"\x94\xfc'\xf1\x18\xe7\xd8\x92\x06\x93d\xe4"), '\144' + chr(0b1100101) + chr(0b1100011) + '\157' + chr(0b1100100) + chr(101))(chr(0b1110101) + chr(0b1110100) + chr(0b101100 + 0o72) + chr(0b11110 + 0o17) + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b'\xf3\xbd-\xc9'), chr(100) + '\x65' + '\x63' + chr(111) + chr(2772 - 2672) + '\145')(chr(5331 - 5214) + '\164' + chr(8642 - 8540) + chr(0b101101) + chr(56))):
vqkvTUJsdUtb = vqkvTUJsdUtb.rsplit(roI3spqORKae(ES5oEprVxulp(b'\xf3'), chr(618 - 518) + chr(101) + chr(0b1100011) + chr(8879 - 8768) + '\144' + chr(6597 - 6496))('\x75' + '\x74' + '\146' + '\055' + chr(2361 - 2305)))[nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b100101 + 0o13), 8)] + roI3spqORKae(ES5oEprVxulp(b'\xf3\xb1$\xc2'), chr(0b101010 + 0o72) + chr(7843 - 7742) + chr(0b1000000 + 0o43) + chr(0b100100 + 0o113) + chr(0b1100100) + '\x65')('\x75' + chr(116) + chr(8898 - 8796) + chr(1425 - 1380) + chr(0b10010 + 0o46))
f_jJ70Eyg0v8.UQ8hRiBoHcn5[f_jJ70Eyg0v8[roI3spqORKae(ES5oEprVxulp(b'\x92\xb5$\xc80\xd0\xf0\xb1\t'), chr(4464 - 4364) + '\x65' + chr(5194 - 5095) + '\x6f' + chr(7129 - 7029) + chr(101))('\165' + chr(13363 - 13247) + chr(102) + chr(0b101101) + chr(0b111000))].str.LNkbYQgwgMgl(roI3spqORKae(ES5oEprVxulp(b'\xe1'), chr(8807 - 8707) + chr(0b1100101) + chr(9718 - 9619) + chr(926 - 815) + chr(0b1100100) + chr(101))(chr(0b100001 + 0o124) + '\164' + chr(0b100000 + 0o106) + '\055' + '\070')), roI3spqORKae(ES5oEprVxulp(b'\xb2\xb5$\xc80\xd0\xf0\xb1\t'), chr(100) + chr(0b1100101) + chr(0b1100011) + '\157' + '\144' + '\145')(chr(0b1110010 + 0o3) + chr(3829 - 3713) + chr(102) + chr(0b101101) + chr(1837 - 1781))] = roI3spqORKae(ES5oEprVxulp(b'\xb0\xa49\xd3<\xd1\xf4'), chr(0b1100100) + chr(101) + chr(1910 - 1811) + chr(0b1101111) + chr(4603 - 4503) + chr(101))(chr(117) + chr(1077 - 961) + '\146' + chr(0b101101) + '\070')
f_jJ70Eyg0v8.UQ8hRiBoHcn5[f_jJ70Eyg0v8[roI3spqORKae(ES5oEprVxulp(b'\x92\xb5$\xc80\xd0\xf0\xb1\t'), chr(0b1100100) + chr(2868 - 2767) + chr(5783 - 5684) + chr(11308 - 11197) + '\144' + chr(101))(chr(8073 - 7956) + chr(7412 - 7296) + chr(0b1001000 + 0o36) + chr(0b100101 + 0o10) + chr(0b11111 + 0o31))].str.LNkbYQgwgMgl(roI3spqORKae(ES5oEprVxulp(b'\xe3'), chr(0b1100100) + chr(0b1100101) + chr(0b1100011) + chr(0b1101111) + chr(1793 - 1693) + chr(0b1000 + 0o135))(chr(0b1101011 + 0o12) + chr(6320 - 6204) + chr(0b100001 + 0o105) + chr(0b10110 + 0o27) + '\x38')), roI3spqORKae(ES5oEprVxulp(b'\xb2\xb5$\xc80\xd0\xf0\xb1\t'), '\144' + chr(0b11101 + 0o110) + '\143' + chr(8598 - 8487) + chr(100) + chr(8652 - 8551))(chr(0b1110101) + chr(116) + chr(0b1100110) + chr(0b101101) + chr(735 - 679))] = roI3spqORKae(ES5oEprVxulp(b'\xb0\xac/\xd3<\xd1\xf4'), chr(100) + chr(0b100001 + 0o104) + chr(99) + '\157' + chr(9844 - 9744) + chr(101))(chr(0b1101001 + 0o14) + chr(0b11110 + 0o126) + chr(0b1100100 + 0o2) + '\055' + '\x38')
f_jJ70Eyg0v8.UQ8hRiBoHcn5[f_jJ70Eyg0v8[roI3spqORKae(ES5oEprVxulp(b'\x92\xb5$\xc80\xd0\xf0\xb1\t'), chr(0b1100100) + '\x65' + '\143' + chr(111) + chr(0b1100000 + 0o4) + chr(0b1100101))(chr(0b1000110 + 0o57) + '\x74' + '\146' + chr(45) + chr(0b101011 + 0o15))] == roI3spqORKae(ES5oEprVxulp(b'\xe0'), chr(100) + chr(0b1001101 + 0o30) + chr(9312 - 9213) + '\157' + chr(0b1011 + 0o131) + '\x65')(chr(117) + '\164' + chr(0b1100110) + '\055' + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xb2\xb5$\xc80\xd0\xf0\xb1\t'), '\144' + '\x65' + chr(99) + chr(111) + '\x64' + chr(101))(chr(0b10111 + 0o136) + chr(10694 - 10578) + chr(0b1001100 + 0o32) + chr(0b11000 + 0o25) + chr(56))] = roI3spqORKae(ES5oEprVxulp(b'\xb8\xb44\xdb=\x84\xed\xb1'), '\144' + chr(7278 - 7177) + chr(0b1011 + 0o130) + '\157' + chr(0b1000110 + 0o36) + chr(0b110111 + 0o56))(chr(0b1110101) + '\164' + chr(102) + '\x2d' + chr(56))
Pt09DO1rppVN = DnU3Rq9N5ala(vqkvTUJsdUtb, roI3spqORKae(ES5oEprVxulp(b'\xaa\xee'), chr(0b1100100) + '\x65' + chr(5899 - 5800) + '\157' + '\144' + chr(3183 - 3082))('\x75' + '\x74' + '\146' + chr(0b101101) + '\070'), errors=roI3spqORKae(ES5oEprVxulp(b'\xbf\xa4"\xd1"\xc8\xf8\xad\x0f\x94K\xe6%F\x9a\x07'), chr(0b1100100) + '\145' + '\143' + chr(11236 - 11125) + chr(4195 - 4095) + '\145')(chr(11179 - 11062) + '\x74' + '\146' + chr(346 - 301) + chr(0b100100 + 0o24)))
roI3spqORKae(Pt09DO1rppVN, roI3spqORKae(ES5oEprVxulp(b'\xb0\xa9q\xd29\xd4\xef\xef+\x96_\xa4'), chr(100) + chr(0b1100101) + chr(0b10100 + 0o117) + '\157' + chr(0b1010111 + 0o15) + '\145')(chr(0b1110101) + chr(7338 - 7222) + chr(0b1100110) + chr(45) + '\070'))(roI3spqORKae(ES5oEprVxulp(b'\x81\xa1.\xd9$\xc9\xfc\xb0\x13\x85B\xf7:T\x82\x03nZ\xe5\xa0 N\x10\xec'), '\144' + chr(0b110010 + 0o63) + '\x63' + chr(0b1101111) + chr(5039 - 4939) + chr(101))('\x75' + '\x74' + chr(102) + '\x2d' + chr(0b100 + 0o64)))
roI3spqORKae(Pt09DO1rppVN, roI3spqORKae(ES5oEprVxulp(b'\xb0\xa9q\xd29\xd4\xef\xef+\x96_\xa4'), '\144' + '\145' + chr(0b1001001 + 0o32) + chr(0b1101111) + '\144' + chr(0b101010 + 0o73))('\165' + chr(116) + chr(102) + chr(1583 - 1538) + '\070'))(roI3spqORKae(ES5oEprVxulp(b'\x81\xb02\xdf!\xc5\xfa\xb5\x06\x81K\xed+H\x96\thO\xee\xb01!'), chr(3471 - 3371) + chr(733 - 632) + chr(0b1100011) + '\157' + '\144' + chr(0b1101 + 0o130))('\x75' + chr(10398 - 10282) + '\x66' + '\x2d' + '\x38'))
roI3spqORKae(Pt09DO1rppVN, roI3spqORKae(ES5oEprVxulp(b'\xb0\xa9q\xd29\xd4\xef\xef+\x96_\xa4'), chr(0b1100100) + chr(0b1000000 + 0o45) + chr(0b1100011) + '\157' + '\x64' + chr(0b100110 + 0o77))(chr(1268 - 1151) + chr(0b1011111 + 0o25) + '\146' + chr(593 - 548) + chr(56)))(roI3spqORKae(ES5oEprVxulp(b'\x81\xb02\xdf!\xc5\xfa\xb5\x06\x81K\xcd\x1d\x16\xa4\x19zA\xe2\xb7)E\x0e\x9b5'), '\144' + chr(0b1100101) + chr(0b1100011) + chr(111) + chr(3046 - 2946) + chr(1386 - 1285))('\165' + chr(116) + chr(0b1010000 + 0o26) + '\x2d' + '\x38'))
roI3spqORKae(Pt09DO1rppVN, roI3spqORKae(ES5oEprVxulp(b'\xb0\xa9q\xd29\xd4\xef\xef+\x96_\xa4'), chr(0b110010 + 0o62) + chr(0b1100101) + chr(0b1100011) + chr(0b1101111) + chr(100) + '\x65')(chr(0b1110101) + chr(184 - 68) + chr(102) + chr(0b101101) + chr(0b111 + 0o61)))(roI3spqORKae(ES5oEprVxulp(b'\x81\xa7$\xdd8\xca\xe2\xba\x08\x85[\xfb,I\x8d\x1f'), chr(100) + chr(0b1100101) + chr(0b1100011) + chr(111) + chr(0b101111 + 0o65) + '\145')(chr(8992 - 8875) + chr(0b1110100) + '\146' + chr(0b101101) + chr(0b11101 + 0o33)))
roI3spqORKae(Pt09DO1rppVN, roI3spqORKae(ES5oEprVxulp(b'\xb0\xa9q\xd29\xd4\xef\xef+\x96_\xa4'), chr(8505 - 8405) + chr(0b1010010 + 0o23) + chr(99) + '\x6f' + chr(0b1100100) + chr(101))(chr(2522 - 2405) + chr(0b1001111 + 0o45) + chr(0b1100110) + chr(0b101101) + '\x38'))(roI3spqORKae(f_jJ70Eyg0v8, roI3spqORKae(ES5oEprVxulp(b'\xa9\xaa\x1e\xd60\xd0\xfc\xa6'), chr(0b1011101 + 0o7) + '\x65' + '\143' + chr(111) + '\x64' + chr(0b1100101))('\165' + chr(116) + chr(102) + chr(45) + chr(0b111000)))(index=nzTpIcepk0o8(chr(844 - 796) + '\157' + chr(48), 8), longtable=nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(2263 - 2215), 8), escape=nzTpIcepk0o8('\x30' + chr(11410 - 11299) + '\x31', 8), multicolumn=nzTpIcepk0o8('\x30' + chr(0b1011101 + 0o22) + chr(0b110000), 8)))
roI3spqORKae(Pt09DO1rppVN, roI3spqORKae(ES5oEprVxulp(b'\xb0\xa9q\xd29\xd4\xef\xef+\x96_\xa4'), '\144' + '\x65' + '\x63' + '\157' + '\144' + chr(0b1000011 + 0o42))('\165' + chr(325 - 209) + '\x66' + chr(45) + chr(0b110011 + 0o5)))(roI3spqORKae(ES5oEprVxulp(b'\x81\xa0/\xde*\xc0\xf6\xbd\x12\x8bK\xf8=Z\xf3'), chr(0b1000001 + 0o43) + '\145' + '\143' + '\157' + chr(0b1100100) + chr(101))('\165' + chr(0b111111 + 0o65) + '\x66' + chr(1388 - 1343) + chr(0b111000)))
roI3spqORKae(Pt09DO1rppVN, roI3spqORKae(ES5oEprVxulp(b'\x87\xa00\x8d\x12\xc7\xff\xe72\x82\x16\xfc'), chr(0b1100100) + '\145' + '\143' + chr(9856 - 9745) + chr(100) + '\145')(chr(117) + '\164' + '\146' + '\x2d' + '\x38'))()
else:
roI3spqORKae(f_jJ70Eyg0v8, roI3spqORKae(ES5oEprVxulp(b'\xa9\xaa\x1e\xdf)\xc7\xfc\xb2'), '\x64' + chr(101) + '\x63' + '\x6f' + chr(0b1100100) + chr(5271 - 5170))(chr(7341 - 7224) + chr(0b1110100) + chr(102) + chr(0b101101) + chr(329 - 273)))(vqkvTUJsdUtb, index=nzTpIcepk0o8('\x30' + '\x6f' + '\060', 8))
else:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x93\xaaa\xd9#\xcd\xed\xbb\x15\x8fO\xb6i\x07\x9f\rn\x0e\xe3\xb6<^\x19\xc8'), chr(0b1011111 + 0o5) + '\x65' + chr(99) + chr(3107 - 2996) + '\x64' + chr(0b1001010 + 0o33))(chr(117) + chr(1928 - 1812) + '\146' + chr(45) + chr(1694 - 1638)))
return (nzTpIcepk0o8(chr(703 - 655) + '\157' + chr(49), 8), [vqkvTUJsdUtb])
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
eqarea_magic
|
def eqarea_magic(in_file='sites.txt', dir_path=".", input_dir_path="",
spec_file="specimens.txt", samp_file="samples.txt",
site_file="sites.txt", loc_file="locations.txt",
plot_by="all", crd="g", ignore_tilt=False,
save_plots=True, fmt="svg", contour=False, color_map="coolwarm",
plot_ell="", n_plots=5, interactive=False):
"""
makes equal area projections from declination/inclination data
Parameters
----------
in_file : str, default "sites.txt"
dir_path : str
output directory, default "."
input_dir_path : str
input file directory (if different from dir_path), default ""
spec_file : str
input specimen file name, default "specimens.txt"
samp_file: str
input sample file name, default "samples.txt"
site_file : str
input site file name, default "sites.txt"
loc_file : str
input location file name, default "locations.txt"
plot_by : str
[spc, sam, sit, loc, all] (specimen, sample, site, location, all), default "all"
crd : ['s','g','t'], coordinate system for plotting whereby:
s : specimen coordinates, aniso_tile_correction = -1
g : geographic coordinates, aniso_tile_correction = 0 (default)
t : tilt corrected coordinates, aniso_tile_correction = 100
ignore_tilt : bool
default False. If True, data are unoriented (allows plotting of measurement dec/inc)
save_plots : bool
plot and save non-interactively, default True
fmt : str
["png", "svg", "pdf", "jpg"], default "svg"
contour : bool
plot as color contour
colormap : str
color map for contour plotting, default "coolwarm"
see cartopy documentation for more options
plot_ell : str
[F,K,B,Be,Bv] plot Fisher, Kent, Bingham, Bootstrap ellipses or Boostrap eigenvectors
default "" plots none
n_plots : int
maximum number of plots to make, default 5
if you want to make all possible plots, specify "all"
interactive : bool, default False
interactively plot and display for each specimen
(this is best used on the command line or in the Python interpreter)
Returns
---------
type - Tuple : (True or False indicating if conversion was sucessful, file name(s) written)
"""
saved = []
# parse out input/out directories
input_dir_path, dir_path = pmag.fix_directories(input_dir_path, dir_path)
# initialize some variables
verbose = pmagplotlib.verbose
FIG = {} # plot dictionary
FIG['eqarea'] = 1 # eqarea is figure 1
pmagplotlib.plot_init(FIG['eqarea'], 5, 5)
# get coordinate system
if crd == "s":
coord = "-1"
elif crd == "t":
coord = "100"
else:
coord = "0"
# get item to plot by
if plot_by == 'all':
plot_key = 'all'
elif plot_by == 'sit':
plot_key = 'site'
elif plot_by == 'sam':
plot_key = 'sample'
elif plot_by == 'spc':
plot_key = 'specimen'
else:
plot_by = 'all'
plot_key = 'all'
# get distribution to plot ellipses/eigenvectors if desired
if save_plots:
verbose = False
# set keys
dec_key = 'dir_dec'
inc_key = 'dir_inc'
tilt_key = 'dir_tilt_correction'
# create contribution
fnames = {"specimens": spec_file, "samples": samp_file,
'sites': site_file, 'locations': loc_file}
if not os.path.exists(pmag.resolve_file_name(in_file, input_dir_path)):
print('-E- Could not find {}'.format(in_file))
return False, []
contribution = cb.Contribution(input_dir_path, custom_filenames=fnames,
single_file=in_file)
table_name = list(contribution.tables.keys())[0]
contribution.add_magic_table("contribution")
# get contribution id if available for server plots
if pmagplotlib.isServer:
con_id = contribution.get_con_id()
# try to propagate all names to measurement level
try:
contribution.propagate_location_to_samples()
contribution.propagate_location_to_specimens()
contribution.propagate_location_to_measurements()
except KeyError as ex:
pass
# the object that contains the DataFrame + useful helper methods:
data_container = contribution.tables[table_name]
# the actual DataFrame:
data = data_container.df
plot_type = data_container.dtype
if plot_key != "all" and plot_key not in data.columns:
print("-E- You can't plot by {} with the data provided".format(plot_key))
return False, []
# add tilt key into DataFrame columns if it isn't there already
if tilt_key not in data.columns:
data.loc[:, tilt_key] = None
if verbose:
print(len(data), ' records read from ', in_file)
# find desired dec,inc data:
dir_type_key = ''
#
# get plotlist if not plotting all records
#
plotlist = []
if plot_key != "all":
# return all where plot_key is not blank
if plot_key not in data.columns:
print('-E- Can\'t plot by "{}". That header is not in infile: {}'.format(
plot_key, in_file))
return False, []
plots = data[data[plot_key].notnull()]
plotlist = plots[plot_key].unique() # grab unique values
else:
plotlist.append('All')
if n_plots != "all":
if len(plotlist) > n_plots:
plotlist = plotlist[:n_plots]
fignum = 0
for plot in plotlist:
fignum += 1
FIG['eqarea'] = fignum
pmagplotlib.plot_init(FIG['eqarea'], 5, 5)
if plot_ell:
dist = plot_ell.upper()
# if dist type is unrecognized, use Fisher
if dist not in ['F', 'K', 'B', 'BE', 'BV']:
dist = 'F'
if dist == "BV":
fignum += 1
FIG['bdirs'] = fignum
pmagplotlib.plot_init(FIG['bdirs'], 5, 5)
if verbose:
print(plot)
if plot == 'All':
# plot everything at once
plot_data = data
else:
# pull out only partial data
plot_data = data[data[plot_key] == plot]
# get location names for the data
locs = []
if 'location' in plot_data.columns:
locs = plot_data['location'].dropna().unique()
DIblock = []
GCblock = []
# SLblock, SPblock = [], []
title = plot
mode = 1
if dec_key not in plot_data.columns:
print("-W- No dec/inc data")
continue
# get all records where dec & inc values exist
plot_data = plot_data[plot_data[dec_key].notnull()
& plot_data[inc_key].notnull()]
if plot_data.empty:
print("-W- No dec/inc data")
continue
# get metadata for naming the plot file
locations = str(data_container.get_name('location', df_slice=plot_data))
site = str(data_container.get_name('site', df_slice=plot_data))
sample = str(data_container.get_name('sample', df_slice=plot_data))
specimen = str(data_container.get_name('specimen', df_slice=plot_data))
# make sure method_codes is in plot_data
if 'method_codes' not in plot_data.columns:
plot_data['method_codes'] = ''
# get data blocks
# would have to ignore tilt to use measurement level data
DIblock = data_container.get_di_block(df_slice=plot_data,
tilt_corr=coord, excl=['DE-BFP'], ignore_tilt=ignore_tilt)
if title == 'All':
if len(locs):
title = " ,".join(locs) + " - {} {} plotted".format(str(len(DIblock)), plot_type)
else:
title = "{} {} plotted".format(str(len(DIblock)), plot_type)
#SLblock = [[ind, row['method_codes']] for ind, row in plot_data.iterrows()]
# get great circles
great_circle_data = data_container.get_records_for_code('DE-BFP', incl=True,
use_slice=True, sli=plot_data)
if len(great_circle_data) > 0:
gc_cond = great_circle_data[tilt_key] == coord
GCblock = [[float(row[dec_key]), float(row[inc_key])]
for ind, row in great_circle_data[gc_cond].iterrows()]
#SPblock = [[ind, row['method_codes']] for ind, row in great_circle_data[gc_cond].iterrows()]
if len(DIblock) > 0:
if not contour:
pmagplotlib.plot_eq(FIG['eqarea'], DIblock, title)
else:
pmagplotlib.plot_eq_cont(
FIG['eqarea'], DIblock, color_map=color_map)
else:
pmagplotlib.plot_net(FIG['eqarea'])
if len(GCblock) > 0:
for rec in GCblock:
pmagplotlib.plot_circ(FIG['eqarea'], rec, 90., 'g')
if len(DIblock) == 0 and len(GCblock) == 0:
if verbose:
print("no records for plotting")
fignum -= 1
if 'bdirs' in FIG:
fignum -= 1
continue
# sys.exit()
if plot_ell:
ppars = pmag.doprinc(DIblock) # get principal directions
nDIs, rDIs, npars, rpars = [], [], [], []
for rec in DIblock:
angle = pmag.angle([rec[0], rec[1]], [
ppars['dec'], ppars['inc']])
if angle > 90.:
rDIs.append(rec)
else:
nDIs.append(rec)
if dist == 'B': # do on whole dataset
etitle = "Bingham confidence ellipse"
bpars = pmag.dobingham(DIblock)
for key in list(bpars.keys()):
if key != 'n' and verbose:
print(" ", key, '%7.1f' % (bpars[key]))
if key == 'n' and verbose:
print(" ", key, ' %i' % (bpars[key]))
npars.append(bpars['dec'])
npars.append(bpars['inc'])
npars.append(bpars['Zeta'])
npars.append(bpars['Zdec'])
npars.append(bpars['Zinc'])
npars.append(bpars['Eta'])
npars.append(bpars['Edec'])
npars.append(bpars['Einc'])
if dist == 'F':
etitle = "Fisher confidence cone"
if len(nDIs) > 2:
fpars = pmag.fisher_mean(nDIs)
for key in list(fpars.keys()):
if key != 'n' and verbose:
print(" ", key, '%7.1f' % (fpars[key]))
if key == 'n' and verbose:
print(" ", key, ' %i' % (fpars[key]))
mode += 1
npars.append(fpars['dec'])
npars.append(fpars['inc'])
npars.append(fpars['alpha95']) # Beta
npars.append(fpars['dec'])
isign = abs(fpars['inc']) / fpars['inc']
npars.append(fpars['inc']-isign*90.) # Beta inc
npars.append(fpars['alpha95']) # gamma
npars.append(fpars['dec']+90.) # Beta dec
npars.append(0.) # Beta inc
if len(rDIs) > 2:
fpars = pmag.fisher_mean(rDIs)
if verbose:
print("mode ", mode)
for key in list(fpars.keys()):
if key != 'n' and verbose:
print(" ", key, '%7.1f' % (fpars[key]))
if key == 'n' and verbose:
print(" ", key, ' %i' % (fpars[key]))
mode += 1
rpars.append(fpars['dec'])
rpars.append(fpars['inc'])
rpars.append(fpars['alpha95']) # Beta
rpars.append(fpars['dec'])
isign = abs(fpars['inc']) / fpars['inc']
rpars.append(fpars['inc']-isign*90.) # Beta inc
rpars.append(fpars['alpha95']) # gamma
rpars.append(fpars['dec']+90.) # Beta dec
rpars.append(0.) # Beta inc
if dist == 'K':
etitle = "Kent confidence ellipse"
if len(nDIs) > 3:
kpars = pmag.dokent(nDIs, len(nDIs))
if verbose:
print("mode ", mode)
for key in list(kpars.keys()):
if key != 'n' and verbose:
print(" ", key, '%7.1f' % (kpars[key]))
if key == 'n' and verbose:
print(" ", key, ' %i' % (kpars[key]))
mode += 1
npars.append(kpars['dec'])
npars.append(kpars['inc'])
npars.append(kpars['Zeta'])
npars.append(kpars['Zdec'])
npars.append(kpars['Zinc'])
npars.append(kpars['Eta'])
npars.append(kpars['Edec'])
npars.append(kpars['Einc'])
if len(rDIs) > 3:
kpars = pmag.dokent(rDIs, len(rDIs))
if verbose:
print("mode ", mode)
for key in list(kpars.keys()):
if key != 'n' and verbose:
print(" ", key, '%7.1f' % (kpars[key]))
if key == 'n' and verbose:
print(" ", key, ' %i' % (kpars[key]))
mode += 1
rpars.append(kpars['dec'])
rpars.append(kpars['inc'])
rpars.append(kpars['Zeta'])
rpars.append(kpars['Zdec'])
rpars.append(kpars['Zinc'])
rpars.append(kpars['Eta'])
rpars.append(kpars['Edec'])
rpars.append(kpars['Einc'])
else: # assume bootstrap
if dist == 'BE':
if len(nDIs) > 5:
BnDIs = pmag.di_boot(nDIs)
Bkpars = pmag.dokent(BnDIs, 1.)
if verbose:
print("mode ", mode)
for key in list(Bkpars.keys()):
if key != 'n' and verbose:
print(" ", key, '%7.1f' % (Bkpars[key]))
if key == 'n' and verbose:
print(" ", key, ' %i' % (Bkpars[key]))
mode += 1
npars.append(Bkpars['dec'])
npars.append(Bkpars['inc'])
npars.append(Bkpars['Zeta'])
npars.append(Bkpars['Zdec'])
npars.append(Bkpars['Zinc'])
npars.append(Bkpars['Eta'])
npars.append(Bkpars['Edec'])
npars.append(Bkpars['Einc'])
if len(rDIs) > 5:
BrDIs = pmag.di_boot(rDIs)
Bkpars = pmag.dokent(BrDIs, 1.)
if verbose:
print("mode ", mode)
for key in list(Bkpars.keys()):
if key != 'n' and verbose:
print(" ", key, '%7.1f' % (Bkpars[key]))
if key == 'n' and verbose:
print(" ", key, ' %i' % (Bkpars[key]))
mode += 1
rpars.append(Bkpars['dec'])
rpars.append(Bkpars['inc'])
rpars.append(Bkpars['Zeta'])
rpars.append(Bkpars['Zdec'])
rpars.append(Bkpars['Zinc'])
rpars.append(Bkpars['Eta'])
rpars.append(Bkpars['Edec'])
rpars.append(Bkpars['Einc'])
etitle = "Bootstrapped confidence ellipse"
elif dist == 'BV':
sym = {'lower': ['o', 'c'], 'upper': [
'o', 'g'], 'size': 3, 'edgecolor': 'face'}
if len(nDIs) > 5:
BnDIs = pmag.di_boot(nDIs)
pmagplotlib.plot_eq_sym(
FIG['bdirs'], BnDIs, 'Bootstrapped Eigenvectors', sym)
if len(rDIs) > 5:
BrDIs = pmag.di_boot(rDIs)
if len(nDIs) > 5: # plot on existing plots
pmagplotlib.plot_di_sym(FIG['bdirs'], BrDIs, sym)
else:
pmagplotlib.plot_eq(
FIG['bdirs'], BrDIs, 'Bootstrapped Eigenvectors')
if dist == 'B':
if len(nDIs) > 3 or len(rDIs) > 3:
pmagplotlib.plot_conf(FIG['eqarea'], etitle, [], npars, 0)
elif len(nDIs) > 3 and dist != 'BV':
pmagplotlib.plot_conf(FIG['eqarea'], etitle, [], npars, 0)
if len(rDIs) > 3:
pmagplotlib.plot_conf(FIG['eqarea'], etitle, [], rpars, 0)
elif len(rDIs) > 3 and dist != 'BV':
pmagplotlib.plot_conf(FIG['eqarea'], etitle, [], rpars, 0)
for key in list(FIG.keys()):
files = {}
#if filename: # use provided filename
# filename += '.' + fmt
if pmagplotlib.isServer: # use server plot naming convention
if plot_key == 'all':
filename = 'LO:_'+locations+'_SI:__SA:__SP:__CO:_'+crd+'_TY:_'+key+'_.'+fmt
else:
filename = 'LO:_'+locations+'_SI:_'+site+'_SA:_'+sample + \
'_SP:_'+str(specimen)+'_CO:_'+crd+'_TY:_'+key+'_.'+fmt
elif plot_key == 'all':
filename = 'all'
if locs:
loc_string = "_".join(
[str(loc).replace(' ', '_') for loc in locs])
filename += "_" + loc_string
filename += "_" + crd + "_" + key
filename += ".{}".format(fmt)
else: # use more readable naming convention
filename = ''
# fix this if plot_by is location , for example
use_names = {'location': [locations], 'site': [locations, site],
'sample': [locations, site, sample],
'specimen': [locations, site, sample, specimen]}
use = use_names[plot_key]
use.extend([crd, key])
# [locations, site, sample, specimen, crd, key]:
for item in use:
if item:
item = item.replace(' ', '_')
filename += item + '_'
if filename.endswith('_'):
filename = filename[:-1]
filename += ".{}".format(fmt)
if not pmagplotlib.isServer:
filename = os.path.join(dir_path, filename)
files[key] = filename
if pmagplotlib.isServer:
titles = {'eqarea': 'Equal Area Plot'}
FIG = pmagplotlib.add_borders(FIG, titles, con_id=con_id)
saved_figs = pmagplotlib.save_plots(FIG, files)
saved.extend(saved_figs)
elif save_plots:
saved_figs = pmagplotlib.save_plots(FIG, files, incl_directory=True)
saved.extend(saved_figs)
continue
elif interactive:
pmagplotlib.draw_figs(FIG)
ans = input(" S[a]ve to save plot, [q]uit, Return to continue: ")
if ans == "q":
return True, []
if ans == "a":
saved_figs = pmagplotlib.save_plots(FIG, files, incl_directory=True)
saved.extend(saved)
continue
return True, saved
|
python
|
def eqarea_magic(in_file='sites.txt', dir_path=".", input_dir_path="",
spec_file="specimens.txt", samp_file="samples.txt",
site_file="sites.txt", loc_file="locations.txt",
plot_by="all", crd="g", ignore_tilt=False,
save_plots=True, fmt="svg", contour=False, color_map="coolwarm",
plot_ell="", n_plots=5, interactive=False):
"""
makes equal area projections from declination/inclination data
Parameters
----------
in_file : str, default "sites.txt"
dir_path : str
output directory, default "."
input_dir_path : str
input file directory (if different from dir_path), default ""
spec_file : str
input specimen file name, default "specimens.txt"
samp_file: str
input sample file name, default "samples.txt"
site_file : str
input site file name, default "sites.txt"
loc_file : str
input location file name, default "locations.txt"
plot_by : str
[spc, sam, sit, loc, all] (specimen, sample, site, location, all), default "all"
crd : ['s','g','t'], coordinate system for plotting whereby:
s : specimen coordinates, aniso_tile_correction = -1
g : geographic coordinates, aniso_tile_correction = 0 (default)
t : tilt corrected coordinates, aniso_tile_correction = 100
ignore_tilt : bool
default False. If True, data are unoriented (allows plotting of measurement dec/inc)
save_plots : bool
plot and save non-interactively, default True
fmt : str
["png", "svg", "pdf", "jpg"], default "svg"
contour : bool
plot as color contour
colormap : str
color map for contour plotting, default "coolwarm"
see cartopy documentation for more options
plot_ell : str
[F,K,B,Be,Bv] plot Fisher, Kent, Bingham, Bootstrap ellipses or Boostrap eigenvectors
default "" plots none
n_plots : int
maximum number of plots to make, default 5
if you want to make all possible plots, specify "all"
interactive : bool, default False
interactively plot and display for each specimen
(this is best used on the command line or in the Python interpreter)
Returns
---------
type - Tuple : (True or False indicating if conversion was sucessful, file name(s) written)
"""
saved = []
# parse out input/out directories
input_dir_path, dir_path = pmag.fix_directories(input_dir_path, dir_path)
# initialize some variables
verbose = pmagplotlib.verbose
FIG = {} # plot dictionary
FIG['eqarea'] = 1 # eqarea is figure 1
pmagplotlib.plot_init(FIG['eqarea'], 5, 5)
# get coordinate system
if crd == "s":
coord = "-1"
elif crd == "t":
coord = "100"
else:
coord = "0"
# get item to plot by
if plot_by == 'all':
plot_key = 'all'
elif plot_by == 'sit':
plot_key = 'site'
elif plot_by == 'sam':
plot_key = 'sample'
elif plot_by == 'spc':
plot_key = 'specimen'
else:
plot_by = 'all'
plot_key = 'all'
# get distribution to plot ellipses/eigenvectors if desired
if save_plots:
verbose = False
# set keys
dec_key = 'dir_dec'
inc_key = 'dir_inc'
tilt_key = 'dir_tilt_correction'
# create contribution
fnames = {"specimens": spec_file, "samples": samp_file,
'sites': site_file, 'locations': loc_file}
if not os.path.exists(pmag.resolve_file_name(in_file, input_dir_path)):
print('-E- Could not find {}'.format(in_file))
return False, []
contribution = cb.Contribution(input_dir_path, custom_filenames=fnames,
single_file=in_file)
table_name = list(contribution.tables.keys())[0]
contribution.add_magic_table("contribution")
# get contribution id if available for server plots
if pmagplotlib.isServer:
con_id = contribution.get_con_id()
# try to propagate all names to measurement level
try:
contribution.propagate_location_to_samples()
contribution.propagate_location_to_specimens()
contribution.propagate_location_to_measurements()
except KeyError as ex:
pass
# the object that contains the DataFrame + useful helper methods:
data_container = contribution.tables[table_name]
# the actual DataFrame:
data = data_container.df
plot_type = data_container.dtype
if plot_key != "all" and plot_key not in data.columns:
print("-E- You can't plot by {} with the data provided".format(plot_key))
return False, []
# add tilt key into DataFrame columns if it isn't there already
if tilt_key not in data.columns:
data.loc[:, tilt_key] = None
if verbose:
print(len(data), ' records read from ', in_file)
# find desired dec,inc data:
dir_type_key = ''
#
# get plotlist if not plotting all records
#
plotlist = []
if plot_key != "all":
# return all where plot_key is not blank
if plot_key not in data.columns:
print('-E- Can\'t plot by "{}". That header is not in infile: {}'.format(
plot_key, in_file))
return False, []
plots = data[data[plot_key].notnull()]
plotlist = plots[plot_key].unique() # grab unique values
else:
plotlist.append('All')
if n_plots != "all":
if len(plotlist) > n_plots:
plotlist = plotlist[:n_plots]
fignum = 0
for plot in plotlist:
fignum += 1
FIG['eqarea'] = fignum
pmagplotlib.plot_init(FIG['eqarea'], 5, 5)
if plot_ell:
dist = plot_ell.upper()
# if dist type is unrecognized, use Fisher
if dist not in ['F', 'K', 'B', 'BE', 'BV']:
dist = 'F'
if dist == "BV":
fignum += 1
FIG['bdirs'] = fignum
pmagplotlib.plot_init(FIG['bdirs'], 5, 5)
if verbose:
print(plot)
if plot == 'All':
# plot everything at once
plot_data = data
else:
# pull out only partial data
plot_data = data[data[plot_key] == plot]
# get location names for the data
locs = []
if 'location' in plot_data.columns:
locs = plot_data['location'].dropna().unique()
DIblock = []
GCblock = []
# SLblock, SPblock = [], []
title = plot
mode = 1
if dec_key not in plot_data.columns:
print("-W- No dec/inc data")
continue
# get all records where dec & inc values exist
plot_data = plot_data[plot_data[dec_key].notnull()
& plot_data[inc_key].notnull()]
if plot_data.empty:
print("-W- No dec/inc data")
continue
# get metadata for naming the plot file
locations = str(data_container.get_name('location', df_slice=plot_data))
site = str(data_container.get_name('site', df_slice=plot_data))
sample = str(data_container.get_name('sample', df_slice=plot_data))
specimen = str(data_container.get_name('specimen', df_slice=plot_data))
# make sure method_codes is in plot_data
if 'method_codes' not in plot_data.columns:
plot_data['method_codes'] = ''
# get data blocks
# would have to ignore tilt to use measurement level data
DIblock = data_container.get_di_block(df_slice=plot_data,
tilt_corr=coord, excl=['DE-BFP'], ignore_tilt=ignore_tilt)
if title == 'All':
if len(locs):
title = " ,".join(locs) + " - {} {} plotted".format(str(len(DIblock)), plot_type)
else:
title = "{} {} plotted".format(str(len(DIblock)), plot_type)
#SLblock = [[ind, row['method_codes']] for ind, row in plot_data.iterrows()]
# get great circles
great_circle_data = data_container.get_records_for_code('DE-BFP', incl=True,
use_slice=True, sli=plot_data)
if len(great_circle_data) > 0:
gc_cond = great_circle_data[tilt_key] == coord
GCblock = [[float(row[dec_key]), float(row[inc_key])]
for ind, row in great_circle_data[gc_cond].iterrows()]
#SPblock = [[ind, row['method_codes']] for ind, row in great_circle_data[gc_cond].iterrows()]
if len(DIblock) > 0:
if not contour:
pmagplotlib.plot_eq(FIG['eqarea'], DIblock, title)
else:
pmagplotlib.plot_eq_cont(
FIG['eqarea'], DIblock, color_map=color_map)
else:
pmagplotlib.plot_net(FIG['eqarea'])
if len(GCblock) > 0:
for rec in GCblock:
pmagplotlib.plot_circ(FIG['eqarea'], rec, 90., 'g')
if len(DIblock) == 0 and len(GCblock) == 0:
if verbose:
print("no records for plotting")
fignum -= 1
if 'bdirs' in FIG:
fignum -= 1
continue
# sys.exit()
if plot_ell:
ppars = pmag.doprinc(DIblock) # get principal directions
nDIs, rDIs, npars, rpars = [], [], [], []
for rec in DIblock:
angle = pmag.angle([rec[0], rec[1]], [
ppars['dec'], ppars['inc']])
if angle > 90.:
rDIs.append(rec)
else:
nDIs.append(rec)
if dist == 'B': # do on whole dataset
etitle = "Bingham confidence ellipse"
bpars = pmag.dobingham(DIblock)
for key in list(bpars.keys()):
if key != 'n' and verbose:
print(" ", key, '%7.1f' % (bpars[key]))
if key == 'n' and verbose:
print(" ", key, ' %i' % (bpars[key]))
npars.append(bpars['dec'])
npars.append(bpars['inc'])
npars.append(bpars['Zeta'])
npars.append(bpars['Zdec'])
npars.append(bpars['Zinc'])
npars.append(bpars['Eta'])
npars.append(bpars['Edec'])
npars.append(bpars['Einc'])
if dist == 'F':
etitle = "Fisher confidence cone"
if len(nDIs) > 2:
fpars = pmag.fisher_mean(nDIs)
for key in list(fpars.keys()):
if key != 'n' and verbose:
print(" ", key, '%7.1f' % (fpars[key]))
if key == 'n' and verbose:
print(" ", key, ' %i' % (fpars[key]))
mode += 1
npars.append(fpars['dec'])
npars.append(fpars['inc'])
npars.append(fpars['alpha95']) # Beta
npars.append(fpars['dec'])
isign = abs(fpars['inc']) / fpars['inc']
npars.append(fpars['inc']-isign*90.) # Beta inc
npars.append(fpars['alpha95']) # gamma
npars.append(fpars['dec']+90.) # Beta dec
npars.append(0.) # Beta inc
if len(rDIs) > 2:
fpars = pmag.fisher_mean(rDIs)
if verbose:
print("mode ", mode)
for key in list(fpars.keys()):
if key != 'n' and verbose:
print(" ", key, '%7.1f' % (fpars[key]))
if key == 'n' and verbose:
print(" ", key, ' %i' % (fpars[key]))
mode += 1
rpars.append(fpars['dec'])
rpars.append(fpars['inc'])
rpars.append(fpars['alpha95']) # Beta
rpars.append(fpars['dec'])
isign = abs(fpars['inc']) / fpars['inc']
rpars.append(fpars['inc']-isign*90.) # Beta inc
rpars.append(fpars['alpha95']) # gamma
rpars.append(fpars['dec']+90.) # Beta dec
rpars.append(0.) # Beta inc
if dist == 'K':
etitle = "Kent confidence ellipse"
if len(nDIs) > 3:
kpars = pmag.dokent(nDIs, len(nDIs))
if verbose:
print("mode ", mode)
for key in list(kpars.keys()):
if key != 'n' and verbose:
print(" ", key, '%7.1f' % (kpars[key]))
if key == 'n' and verbose:
print(" ", key, ' %i' % (kpars[key]))
mode += 1
npars.append(kpars['dec'])
npars.append(kpars['inc'])
npars.append(kpars['Zeta'])
npars.append(kpars['Zdec'])
npars.append(kpars['Zinc'])
npars.append(kpars['Eta'])
npars.append(kpars['Edec'])
npars.append(kpars['Einc'])
if len(rDIs) > 3:
kpars = pmag.dokent(rDIs, len(rDIs))
if verbose:
print("mode ", mode)
for key in list(kpars.keys()):
if key != 'n' and verbose:
print(" ", key, '%7.1f' % (kpars[key]))
if key == 'n' and verbose:
print(" ", key, ' %i' % (kpars[key]))
mode += 1
rpars.append(kpars['dec'])
rpars.append(kpars['inc'])
rpars.append(kpars['Zeta'])
rpars.append(kpars['Zdec'])
rpars.append(kpars['Zinc'])
rpars.append(kpars['Eta'])
rpars.append(kpars['Edec'])
rpars.append(kpars['Einc'])
else: # assume bootstrap
if dist == 'BE':
if len(nDIs) > 5:
BnDIs = pmag.di_boot(nDIs)
Bkpars = pmag.dokent(BnDIs, 1.)
if verbose:
print("mode ", mode)
for key in list(Bkpars.keys()):
if key != 'n' and verbose:
print(" ", key, '%7.1f' % (Bkpars[key]))
if key == 'n' and verbose:
print(" ", key, ' %i' % (Bkpars[key]))
mode += 1
npars.append(Bkpars['dec'])
npars.append(Bkpars['inc'])
npars.append(Bkpars['Zeta'])
npars.append(Bkpars['Zdec'])
npars.append(Bkpars['Zinc'])
npars.append(Bkpars['Eta'])
npars.append(Bkpars['Edec'])
npars.append(Bkpars['Einc'])
if len(rDIs) > 5:
BrDIs = pmag.di_boot(rDIs)
Bkpars = pmag.dokent(BrDIs, 1.)
if verbose:
print("mode ", mode)
for key in list(Bkpars.keys()):
if key != 'n' and verbose:
print(" ", key, '%7.1f' % (Bkpars[key]))
if key == 'n' and verbose:
print(" ", key, ' %i' % (Bkpars[key]))
mode += 1
rpars.append(Bkpars['dec'])
rpars.append(Bkpars['inc'])
rpars.append(Bkpars['Zeta'])
rpars.append(Bkpars['Zdec'])
rpars.append(Bkpars['Zinc'])
rpars.append(Bkpars['Eta'])
rpars.append(Bkpars['Edec'])
rpars.append(Bkpars['Einc'])
etitle = "Bootstrapped confidence ellipse"
elif dist == 'BV':
sym = {'lower': ['o', 'c'], 'upper': [
'o', 'g'], 'size': 3, 'edgecolor': 'face'}
if len(nDIs) > 5:
BnDIs = pmag.di_boot(nDIs)
pmagplotlib.plot_eq_sym(
FIG['bdirs'], BnDIs, 'Bootstrapped Eigenvectors', sym)
if len(rDIs) > 5:
BrDIs = pmag.di_boot(rDIs)
if len(nDIs) > 5: # plot on existing plots
pmagplotlib.plot_di_sym(FIG['bdirs'], BrDIs, sym)
else:
pmagplotlib.plot_eq(
FIG['bdirs'], BrDIs, 'Bootstrapped Eigenvectors')
if dist == 'B':
if len(nDIs) > 3 or len(rDIs) > 3:
pmagplotlib.plot_conf(FIG['eqarea'], etitle, [], npars, 0)
elif len(nDIs) > 3 and dist != 'BV':
pmagplotlib.plot_conf(FIG['eqarea'], etitle, [], npars, 0)
if len(rDIs) > 3:
pmagplotlib.plot_conf(FIG['eqarea'], etitle, [], rpars, 0)
elif len(rDIs) > 3 and dist != 'BV':
pmagplotlib.plot_conf(FIG['eqarea'], etitle, [], rpars, 0)
for key in list(FIG.keys()):
files = {}
#if filename: # use provided filename
# filename += '.' + fmt
if pmagplotlib.isServer: # use server plot naming convention
if plot_key == 'all':
filename = 'LO:_'+locations+'_SI:__SA:__SP:__CO:_'+crd+'_TY:_'+key+'_.'+fmt
else:
filename = 'LO:_'+locations+'_SI:_'+site+'_SA:_'+sample + \
'_SP:_'+str(specimen)+'_CO:_'+crd+'_TY:_'+key+'_.'+fmt
elif plot_key == 'all':
filename = 'all'
if locs:
loc_string = "_".join(
[str(loc).replace(' ', '_') for loc in locs])
filename += "_" + loc_string
filename += "_" + crd + "_" + key
filename += ".{}".format(fmt)
else: # use more readable naming convention
filename = ''
# fix this if plot_by is location , for example
use_names = {'location': [locations], 'site': [locations, site],
'sample': [locations, site, sample],
'specimen': [locations, site, sample, specimen]}
use = use_names[plot_key]
use.extend([crd, key])
# [locations, site, sample, specimen, crd, key]:
for item in use:
if item:
item = item.replace(' ', '_')
filename += item + '_'
if filename.endswith('_'):
filename = filename[:-1]
filename += ".{}".format(fmt)
if not pmagplotlib.isServer:
filename = os.path.join(dir_path, filename)
files[key] = filename
if pmagplotlib.isServer:
titles = {'eqarea': 'Equal Area Plot'}
FIG = pmagplotlib.add_borders(FIG, titles, con_id=con_id)
saved_figs = pmagplotlib.save_plots(FIG, files)
saved.extend(saved_figs)
elif save_plots:
saved_figs = pmagplotlib.save_plots(FIG, files, incl_directory=True)
saved.extend(saved_figs)
continue
elif interactive:
pmagplotlib.draw_figs(FIG)
ans = input(" S[a]ve to save plot, [q]uit, Return to continue: ")
if ans == "q":
return True, []
if ans == "a":
saved_figs = pmagplotlib.save_plots(FIG, files, incl_directory=True)
saved.extend(saved)
continue
return True, saved
|
[
"def",
"eqarea_magic",
"(",
"in_file",
"=",
"'sites.txt'",
",",
"dir_path",
"=",
"\".\"",
",",
"input_dir_path",
"=",
"\"\"",
",",
"spec_file",
"=",
"\"specimens.txt\"",
",",
"samp_file",
"=",
"\"samples.txt\"",
",",
"site_file",
"=",
"\"sites.txt\"",
",",
"loc_file",
"=",
"\"locations.txt\"",
",",
"plot_by",
"=",
"\"all\"",
",",
"crd",
"=",
"\"g\"",
",",
"ignore_tilt",
"=",
"False",
",",
"save_plots",
"=",
"True",
",",
"fmt",
"=",
"\"svg\"",
",",
"contour",
"=",
"False",
",",
"color_map",
"=",
"\"coolwarm\"",
",",
"plot_ell",
"=",
"\"\"",
",",
"n_plots",
"=",
"5",
",",
"interactive",
"=",
"False",
")",
":",
"saved",
"=",
"[",
"]",
"# parse out input/out directories",
"input_dir_path",
",",
"dir_path",
"=",
"pmag",
".",
"fix_directories",
"(",
"input_dir_path",
",",
"dir_path",
")",
"# initialize some variables",
"verbose",
"=",
"pmagplotlib",
".",
"verbose",
"FIG",
"=",
"{",
"}",
"# plot dictionary",
"FIG",
"[",
"'eqarea'",
"]",
"=",
"1",
"# eqarea is figure 1",
"pmagplotlib",
".",
"plot_init",
"(",
"FIG",
"[",
"'eqarea'",
"]",
",",
"5",
",",
"5",
")",
"# get coordinate system",
"if",
"crd",
"==",
"\"s\"",
":",
"coord",
"=",
"\"-1\"",
"elif",
"crd",
"==",
"\"t\"",
":",
"coord",
"=",
"\"100\"",
"else",
":",
"coord",
"=",
"\"0\"",
"# get item to plot by",
"if",
"plot_by",
"==",
"'all'",
":",
"plot_key",
"=",
"'all'",
"elif",
"plot_by",
"==",
"'sit'",
":",
"plot_key",
"=",
"'site'",
"elif",
"plot_by",
"==",
"'sam'",
":",
"plot_key",
"=",
"'sample'",
"elif",
"plot_by",
"==",
"'spc'",
":",
"plot_key",
"=",
"'specimen'",
"else",
":",
"plot_by",
"=",
"'all'",
"plot_key",
"=",
"'all'",
"# get distribution to plot ellipses/eigenvectors if desired",
"if",
"save_plots",
":",
"verbose",
"=",
"False",
"# set keys",
"dec_key",
"=",
"'dir_dec'",
"inc_key",
"=",
"'dir_inc'",
"tilt_key",
"=",
"'dir_tilt_correction'",
"# create contribution",
"fnames",
"=",
"{",
"\"specimens\"",
":",
"spec_file",
",",
"\"samples\"",
":",
"samp_file",
",",
"'sites'",
":",
"site_file",
",",
"'locations'",
":",
"loc_file",
"}",
"if",
"not",
"os",
".",
"path",
".",
"exists",
"(",
"pmag",
".",
"resolve_file_name",
"(",
"in_file",
",",
"input_dir_path",
")",
")",
":",
"print",
"(",
"'-E- Could not find {}'",
".",
"format",
"(",
"in_file",
")",
")",
"return",
"False",
",",
"[",
"]",
"contribution",
"=",
"cb",
".",
"Contribution",
"(",
"input_dir_path",
",",
"custom_filenames",
"=",
"fnames",
",",
"single_file",
"=",
"in_file",
")",
"table_name",
"=",
"list",
"(",
"contribution",
".",
"tables",
".",
"keys",
"(",
")",
")",
"[",
"0",
"]",
"contribution",
".",
"add_magic_table",
"(",
"\"contribution\"",
")",
"# get contribution id if available for server plots",
"if",
"pmagplotlib",
".",
"isServer",
":",
"con_id",
"=",
"contribution",
".",
"get_con_id",
"(",
")",
"# try to propagate all names to measurement level",
"try",
":",
"contribution",
".",
"propagate_location_to_samples",
"(",
")",
"contribution",
".",
"propagate_location_to_specimens",
"(",
")",
"contribution",
".",
"propagate_location_to_measurements",
"(",
")",
"except",
"KeyError",
"as",
"ex",
":",
"pass",
"# the object that contains the DataFrame + useful helper methods:",
"data_container",
"=",
"contribution",
".",
"tables",
"[",
"table_name",
"]",
"# the actual DataFrame:",
"data",
"=",
"data_container",
".",
"df",
"plot_type",
"=",
"data_container",
".",
"dtype",
"if",
"plot_key",
"!=",
"\"all\"",
"and",
"plot_key",
"not",
"in",
"data",
".",
"columns",
":",
"print",
"(",
"\"-E- You can't plot by {} with the data provided\"",
".",
"format",
"(",
"plot_key",
")",
")",
"return",
"False",
",",
"[",
"]",
"# add tilt key into DataFrame columns if it isn't there already",
"if",
"tilt_key",
"not",
"in",
"data",
".",
"columns",
":",
"data",
".",
"loc",
"[",
":",
",",
"tilt_key",
"]",
"=",
"None",
"if",
"verbose",
":",
"print",
"(",
"len",
"(",
"data",
")",
",",
"' records read from '",
",",
"in_file",
")",
"# find desired dec,inc data:",
"dir_type_key",
"=",
"''",
"#",
"# get plotlist if not plotting all records",
"#",
"plotlist",
"=",
"[",
"]",
"if",
"plot_key",
"!=",
"\"all\"",
":",
"# return all where plot_key is not blank",
"if",
"plot_key",
"not",
"in",
"data",
".",
"columns",
":",
"print",
"(",
"'-E- Can\\'t plot by \"{}\". That header is not in infile: {}'",
".",
"format",
"(",
"plot_key",
",",
"in_file",
")",
")",
"return",
"False",
",",
"[",
"]",
"plots",
"=",
"data",
"[",
"data",
"[",
"plot_key",
"]",
".",
"notnull",
"(",
")",
"]",
"plotlist",
"=",
"plots",
"[",
"plot_key",
"]",
".",
"unique",
"(",
")",
"# grab unique values",
"else",
":",
"plotlist",
".",
"append",
"(",
"'All'",
")",
"if",
"n_plots",
"!=",
"\"all\"",
":",
"if",
"len",
"(",
"plotlist",
")",
">",
"n_plots",
":",
"plotlist",
"=",
"plotlist",
"[",
":",
"n_plots",
"]",
"fignum",
"=",
"0",
"for",
"plot",
"in",
"plotlist",
":",
"fignum",
"+=",
"1",
"FIG",
"[",
"'eqarea'",
"]",
"=",
"fignum",
"pmagplotlib",
".",
"plot_init",
"(",
"FIG",
"[",
"'eqarea'",
"]",
",",
"5",
",",
"5",
")",
"if",
"plot_ell",
":",
"dist",
"=",
"plot_ell",
".",
"upper",
"(",
")",
"# if dist type is unrecognized, use Fisher",
"if",
"dist",
"not",
"in",
"[",
"'F'",
",",
"'K'",
",",
"'B'",
",",
"'BE'",
",",
"'BV'",
"]",
":",
"dist",
"=",
"'F'",
"if",
"dist",
"==",
"\"BV\"",
":",
"fignum",
"+=",
"1",
"FIG",
"[",
"'bdirs'",
"]",
"=",
"fignum",
"pmagplotlib",
".",
"plot_init",
"(",
"FIG",
"[",
"'bdirs'",
"]",
",",
"5",
",",
"5",
")",
"if",
"verbose",
":",
"print",
"(",
"plot",
")",
"if",
"plot",
"==",
"'All'",
":",
"# plot everything at once",
"plot_data",
"=",
"data",
"else",
":",
"# pull out only partial data",
"plot_data",
"=",
"data",
"[",
"data",
"[",
"plot_key",
"]",
"==",
"plot",
"]",
"# get location names for the data",
"locs",
"=",
"[",
"]",
"if",
"'location'",
"in",
"plot_data",
".",
"columns",
":",
"locs",
"=",
"plot_data",
"[",
"'location'",
"]",
".",
"dropna",
"(",
")",
".",
"unique",
"(",
")",
"DIblock",
"=",
"[",
"]",
"GCblock",
"=",
"[",
"]",
"# SLblock, SPblock = [], []",
"title",
"=",
"plot",
"mode",
"=",
"1",
"if",
"dec_key",
"not",
"in",
"plot_data",
".",
"columns",
":",
"print",
"(",
"\"-W- No dec/inc data\"",
")",
"continue",
"# get all records where dec & inc values exist",
"plot_data",
"=",
"plot_data",
"[",
"plot_data",
"[",
"dec_key",
"]",
".",
"notnull",
"(",
")",
"&",
"plot_data",
"[",
"inc_key",
"]",
".",
"notnull",
"(",
")",
"]",
"if",
"plot_data",
".",
"empty",
":",
"print",
"(",
"\"-W- No dec/inc data\"",
")",
"continue",
"# get metadata for naming the plot file",
"locations",
"=",
"str",
"(",
"data_container",
".",
"get_name",
"(",
"'location'",
",",
"df_slice",
"=",
"plot_data",
")",
")",
"site",
"=",
"str",
"(",
"data_container",
".",
"get_name",
"(",
"'site'",
",",
"df_slice",
"=",
"plot_data",
")",
")",
"sample",
"=",
"str",
"(",
"data_container",
".",
"get_name",
"(",
"'sample'",
",",
"df_slice",
"=",
"plot_data",
")",
")",
"specimen",
"=",
"str",
"(",
"data_container",
".",
"get_name",
"(",
"'specimen'",
",",
"df_slice",
"=",
"plot_data",
")",
")",
"# make sure method_codes is in plot_data",
"if",
"'method_codes'",
"not",
"in",
"plot_data",
".",
"columns",
":",
"plot_data",
"[",
"'method_codes'",
"]",
"=",
"''",
"# get data blocks",
"# would have to ignore tilt to use measurement level data",
"DIblock",
"=",
"data_container",
".",
"get_di_block",
"(",
"df_slice",
"=",
"plot_data",
",",
"tilt_corr",
"=",
"coord",
",",
"excl",
"=",
"[",
"'DE-BFP'",
"]",
",",
"ignore_tilt",
"=",
"ignore_tilt",
")",
"if",
"title",
"==",
"'All'",
":",
"if",
"len",
"(",
"locs",
")",
":",
"title",
"=",
"\" ,\"",
".",
"join",
"(",
"locs",
")",
"+",
"\" - {} {} plotted\"",
".",
"format",
"(",
"str",
"(",
"len",
"(",
"DIblock",
")",
")",
",",
"plot_type",
")",
"else",
":",
"title",
"=",
"\"{} {} plotted\"",
".",
"format",
"(",
"str",
"(",
"len",
"(",
"DIblock",
")",
")",
",",
"plot_type",
")",
"#SLblock = [[ind, row['method_codes']] for ind, row in plot_data.iterrows()]",
"# get great circles",
"great_circle_data",
"=",
"data_container",
".",
"get_records_for_code",
"(",
"'DE-BFP'",
",",
"incl",
"=",
"True",
",",
"use_slice",
"=",
"True",
",",
"sli",
"=",
"plot_data",
")",
"if",
"len",
"(",
"great_circle_data",
")",
">",
"0",
":",
"gc_cond",
"=",
"great_circle_data",
"[",
"tilt_key",
"]",
"==",
"coord",
"GCblock",
"=",
"[",
"[",
"float",
"(",
"row",
"[",
"dec_key",
"]",
")",
",",
"float",
"(",
"row",
"[",
"inc_key",
"]",
")",
"]",
"for",
"ind",
",",
"row",
"in",
"great_circle_data",
"[",
"gc_cond",
"]",
".",
"iterrows",
"(",
")",
"]",
"#SPblock = [[ind, row['method_codes']] for ind, row in great_circle_data[gc_cond].iterrows()]",
"if",
"len",
"(",
"DIblock",
")",
">",
"0",
":",
"if",
"not",
"contour",
":",
"pmagplotlib",
".",
"plot_eq",
"(",
"FIG",
"[",
"'eqarea'",
"]",
",",
"DIblock",
",",
"title",
")",
"else",
":",
"pmagplotlib",
".",
"plot_eq_cont",
"(",
"FIG",
"[",
"'eqarea'",
"]",
",",
"DIblock",
",",
"color_map",
"=",
"color_map",
")",
"else",
":",
"pmagplotlib",
".",
"plot_net",
"(",
"FIG",
"[",
"'eqarea'",
"]",
")",
"if",
"len",
"(",
"GCblock",
")",
">",
"0",
":",
"for",
"rec",
"in",
"GCblock",
":",
"pmagplotlib",
".",
"plot_circ",
"(",
"FIG",
"[",
"'eqarea'",
"]",
",",
"rec",
",",
"90.",
",",
"'g'",
")",
"if",
"len",
"(",
"DIblock",
")",
"==",
"0",
"and",
"len",
"(",
"GCblock",
")",
"==",
"0",
":",
"if",
"verbose",
":",
"print",
"(",
"\"no records for plotting\"",
")",
"fignum",
"-=",
"1",
"if",
"'bdirs'",
"in",
"FIG",
":",
"fignum",
"-=",
"1",
"continue",
"# sys.exit()",
"if",
"plot_ell",
":",
"ppars",
"=",
"pmag",
".",
"doprinc",
"(",
"DIblock",
")",
"# get principal directions",
"nDIs",
",",
"rDIs",
",",
"npars",
",",
"rpars",
"=",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
"for",
"rec",
"in",
"DIblock",
":",
"angle",
"=",
"pmag",
".",
"angle",
"(",
"[",
"rec",
"[",
"0",
"]",
",",
"rec",
"[",
"1",
"]",
"]",
",",
"[",
"ppars",
"[",
"'dec'",
"]",
",",
"ppars",
"[",
"'inc'",
"]",
"]",
")",
"if",
"angle",
">",
"90.",
":",
"rDIs",
".",
"append",
"(",
"rec",
")",
"else",
":",
"nDIs",
".",
"append",
"(",
"rec",
")",
"if",
"dist",
"==",
"'B'",
":",
"# do on whole dataset",
"etitle",
"=",
"\"Bingham confidence ellipse\"",
"bpars",
"=",
"pmag",
".",
"dobingham",
"(",
"DIblock",
")",
"for",
"key",
"in",
"list",
"(",
"bpars",
".",
"keys",
"(",
")",
")",
":",
"if",
"key",
"!=",
"'n'",
"and",
"verbose",
":",
"print",
"(",
"\" \"",
",",
"key",
",",
"'%7.1f'",
"%",
"(",
"bpars",
"[",
"key",
"]",
")",
")",
"if",
"key",
"==",
"'n'",
"and",
"verbose",
":",
"print",
"(",
"\" \"",
",",
"key",
",",
"' %i'",
"%",
"(",
"bpars",
"[",
"key",
"]",
")",
")",
"npars",
".",
"append",
"(",
"bpars",
"[",
"'dec'",
"]",
")",
"npars",
".",
"append",
"(",
"bpars",
"[",
"'inc'",
"]",
")",
"npars",
".",
"append",
"(",
"bpars",
"[",
"'Zeta'",
"]",
")",
"npars",
".",
"append",
"(",
"bpars",
"[",
"'Zdec'",
"]",
")",
"npars",
".",
"append",
"(",
"bpars",
"[",
"'Zinc'",
"]",
")",
"npars",
".",
"append",
"(",
"bpars",
"[",
"'Eta'",
"]",
")",
"npars",
".",
"append",
"(",
"bpars",
"[",
"'Edec'",
"]",
")",
"npars",
".",
"append",
"(",
"bpars",
"[",
"'Einc'",
"]",
")",
"if",
"dist",
"==",
"'F'",
":",
"etitle",
"=",
"\"Fisher confidence cone\"",
"if",
"len",
"(",
"nDIs",
")",
">",
"2",
":",
"fpars",
"=",
"pmag",
".",
"fisher_mean",
"(",
"nDIs",
")",
"for",
"key",
"in",
"list",
"(",
"fpars",
".",
"keys",
"(",
")",
")",
":",
"if",
"key",
"!=",
"'n'",
"and",
"verbose",
":",
"print",
"(",
"\" \"",
",",
"key",
",",
"'%7.1f'",
"%",
"(",
"fpars",
"[",
"key",
"]",
")",
")",
"if",
"key",
"==",
"'n'",
"and",
"verbose",
":",
"print",
"(",
"\" \"",
",",
"key",
",",
"' %i'",
"%",
"(",
"fpars",
"[",
"key",
"]",
")",
")",
"mode",
"+=",
"1",
"npars",
".",
"append",
"(",
"fpars",
"[",
"'dec'",
"]",
")",
"npars",
".",
"append",
"(",
"fpars",
"[",
"'inc'",
"]",
")",
"npars",
".",
"append",
"(",
"fpars",
"[",
"'alpha95'",
"]",
")",
"# Beta",
"npars",
".",
"append",
"(",
"fpars",
"[",
"'dec'",
"]",
")",
"isign",
"=",
"abs",
"(",
"fpars",
"[",
"'inc'",
"]",
")",
"/",
"fpars",
"[",
"'inc'",
"]",
"npars",
".",
"append",
"(",
"fpars",
"[",
"'inc'",
"]",
"-",
"isign",
"*",
"90.",
")",
"# Beta inc",
"npars",
".",
"append",
"(",
"fpars",
"[",
"'alpha95'",
"]",
")",
"# gamma",
"npars",
".",
"append",
"(",
"fpars",
"[",
"'dec'",
"]",
"+",
"90.",
")",
"# Beta dec",
"npars",
".",
"append",
"(",
"0.",
")",
"# Beta inc",
"if",
"len",
"(",
"rDIs",
")",
">",
"2",
":",
"fpars",
"=",
"pmag",
".",
"fisher_mean",
"(",
"rDIs",
")",
"if",
"verbose",
":",
"print",
"(",
"\"mode \"",
",",
"mode",
")",
"for",
"key",
"in",
"list",
"(",
"fpars",
".",
"keys",
"(",
")",
")",
":",
"if",
"key",
"!=",
"'n'",
"and",
"verbose",
":",
"print",
"(",
"\" \"",
",",
"key",
",",
"'%7.1f'",
"%",
"(",
"fpars",
"[",
"key",
"]",
")",
")",
"if",
"key",
"==",
"'n'",
"and",
"verbose",
":",
"print",
"(",
"\" \"",
",",
"key",
",",
"' %i'",
"%",
"(",
"fpars",
"[",
"key",
"]",
")",
")",
"mode",
"+=",
"1",
"rpars",
".",
"append",
"(",
"fpars",
"[",
"'dec'",
"]",
")",
"rpars",
".",
"append",
"(",
"fpars",
"[",
"'inc'",
"]",
")",
"rpars",
".",
"append",
"(",
"fpars",
"[",
"'alpha95'",
"]",
")",
"# Beta",
"rpars",
".",
"append",
"(",
"fpars",
"[",
"'dec'",
"]",
")",
"isign",
"=",
"abs",
"(",
"fpars",
"[",
"'inc'",
"]",
")",
"/",
"fpars",
"[",
"'inc'",
"]",
"rpars",
".",
"append",
"(",
"fpars",
"[",
"'inc'",
"]",
"-",
"isign",
"*",
"90.",
")",
"# Beta inc",
"rpars",
".",
"append",
"(",
"fpars",
"[",
"'alpha95'",
"]",
")",
"# gamma",
"rpars",
".",
"append",
"(",
"fpars",
"[",
"'dec'",
"]",
"+",
"90.",
")",
"# Beta dec",
"rpars",
".",
"append",
"(",
"0.",
")",
"# Beta inc",
"if",
"dist",
"==",
"'K'",
":",
"etitle",
"=",
"\"Kent confidence ellipse\"",
"if",
"len",
"(",
"nDIs",
")",
">",
"3",
":",
"kpars",
"=",
"pmag",
".",
"dokent",
"(",
"nDIs",
",",
"len",
"(",
"nDIs",
")",
")",
"if",
"verbose",
":",
"print",
"(",
"\"mode \"",
",",
"mode",
")",
"for",
"key",
"in",
"list",
"(",
"kpars",
".",
"keys",
"(",
")",
")",
":",
"if",
"key",
"!=",
"'n'",
"and",
"verbose",
":",
"print",
"(",
"\" \"",
",",
"key",
",",
"'%7.1f'",
"%",
"(",
"kpars",
"[",
"key",
"]",
")",
")",
"if",
"key",
"==",
"'n'",
"and",
"verbose",
":",
"print",
"(",
"\" \"",
",",
"key",
",",
"' %i'",
"%",
"(",
"kpars",
"[",
"key",
"]",
")",
")",
"mode",
"+=",
"1",
"npars",
".",
"append",
"(",
"kpars",
"[",
"'dec'",
"]",
")",
"npars",
".",
"append",
"(",
"kpars",
"[",
"'inc'",
"]",
")",
"npars",
".",
"append",
"(",
"kpars",
"[",
"'Zeta'",
"]",
")",
"npars",
".",
"append",
"(",
"kpars",
"[",
"'Zdec'",
"]",
")",
"npars",
".",
"append",
"(",
"kpars",
"[",
"'Zinc'",
"]",
")",
"npars",
".",
"append",
"(",
"kpars",
"[",
"'Eta'",
"]",
")",
"npars",
".",
"append",
"(",
"kpars",
"[",
"'Edec'",
"]",
")",
"npars",
".",
"append",
"(",
"kpars",
"[",
"'Einc'",
"]",
")",
"if",
"len",
"(",
"rDIs",
")",
">",
"3",
":",
"kpars",
"=",
"pmag",
".",
"dokent",
"(",
"rDIs",
",",
"len",
"(",
"rDIs",
")",
")",
"if",
"verbose",
":",
"print",
"(",
"\"mode \"",
",",
"mode",
")",
"for",
"key",
"in",
"list",
"(",
"kpars",
".",
"keys",
"(",
")",
")",
":",
"if",
"key",
"!=",
"'n'",
"and",
"verbose",
":",
"print",
"(",
"\" \"",
",",
"key",
",",
"'%7.1f'",
"%",
"(",
"kpars",
"[",
"key",
"]",
")",
")",
"if",
"key",
"==",
"'n'",
"and",
"verbose",
":",
"print",
"(",
"\" \"",
",",
"key",
",",
"' %i'",
"%",
"(",
"kpars",
"[",
"key",
"]",
")",
")",
"mode",
"+=",
"1",
"rpars",
".",
"append",
"(",
"kpars",
"[",
"'dec'",
"]",
")",
"rpars",
".",
"append",
"(",
"kpars",
"[",
"'inc'",
"]",
")",
"rpars",
".",
"append",
"(",
"kpars",
"[",
"'Zeta'",
"]",
")",
"rpars",
".",
"append",
"(",
"kpars",
"[",
"'Zdec'",
"]",
")",
"rpars",
".",
"append",
"(",
"kpars",
"[",
"'Zinc'",
"]",
")",
"rpars",
".",
"append",
"(",
"kpars",
"[",
"'Eta'",
"]",
")",
"rpars",
".",
"append",
"(",
"kpars",
"[",
"'Edec'",
"]",
")",
"rpars",
".",
"append",
"(",
"kpars",
"[",
"'Einc'",
"]",
")",
"else",
":",
"# assume bootstrap",
"if",
"dist",
"==",
"'BE'",
":",
"if",
"len",
"(",
"nDIs",
")",
">",
"5",
":",
"BnDIs",
"=",
"pmag",
".",
"di_boot",
"(",
"nDIs",
")",
"Bkpars",
"=",
"pmag",
".",
"dokent",
"(",
"BnDIs",
",",
"1.",
")",
"if",
"verbose",
":",
"print",
"(",
"\"mode \"",
",",
"mode",
")",
"for",
"key",
"in",
"list",
"(",
"Bkpars",
".",
"keys",
"(",
")",
")",
":",
"if",
"key",
"!=",
"'n'",
"and",
"verbose",
":",
"print",
"(",
"\" \"",
",",
"key",
",",
"'%7.1f'",
"%",
"(",
"Bkpars",
"[",
"key",
"]",
")",
")",
"if",
"key",
"==",
"'n'",
"and",
"verbose",
":",
"print",
"(",
"\" \"",
",",
"key",
",",
"' %i'",
"%",
"(",
"Bkpars",
"[",
"key",
"]",
")",
")",
"mode",
"+=",
"1",
"npars",
".",
"append",
"(",
"Bkpars",
"[",
"'dec'",
"]",
")",
"npars",
".",
"append",
"(",
"Bkpars",
"[",
"'inc'",
"]",
")",
"npars",
".",
"append",
"(",
"Bkpars",
"[",
"'Zeta'",
"]",
")",
"npars",
".",
"append",
"(",
"Bkpars",
"[",
"'Zdec'",
"]",
")",
"npars",
".",
"append",
"(",
"Bkpars",
"[",
"'Zinc'",
"]",
")",
"npars",
".",
"append",
"(",
"Bkpars",
"[",
"'Eta'",
"]",
")",
"npars",
".",
"append",
"(",
"Bkpars",
"[",
"'Edec'",
"]",
")",
"npars",
".",
"append",
"(",
"Bkpars",
"[",
"'Einc'",
"]",
")",
"if",
"len",
"(",
"rDIs",
")",
">",
"5",
":",
"BrDIs",
"=",
"pmag",
".",
"di_boot",
"(",
"rDIs",
")",
"Bkpars",
"=",
"pmag",
".",
"dokent",
"(",
"BrDIs",
",",
"1.",
")",
"if",
"verbose",
":",
"print",
"(",
"\"mode \"",
",",
"mode",
")",
"for",
"key",
"in",
"list",
"(",
"Bkpars",
".",
"keys",
"(",
")",
")",
":",
"if",
"key",
"!=",
"'n'",
"and",
"verbose",
":",
"print",
"(",
"\" \"",
",",
"key",
",",
"'%7.1f'",
"%",
"(",
"Bkpars",
"[",
"key",
"]",
")",
")",
"if",
"key",
"==",
"'n'",
"and",
"verbose",
":",
"print",
"(",
"\" \"",
",",
"key",
",",
"' %i'",
"%",
"(",
"Bkpars",
"[",
"key",
"]",
")",
")",
"mode",
"+=",
"1",
"rpars",
".",
"append",
"(",
"Bkpars",
"[",
"'dec'",
"]",
")",
"rpars",
".",
"append",
"(",
"Bkpars",
"[",
"'inc'",
"]",
")",
"rpars",
".",
"append",
"(",
"Bkpars",
"[",
"'Zeta'",
"]",
")",
"rpars",
".",
"append",
"(",
"Bkpars",
"[",
"'Zdec'",
"]",
")",
"rpars",
".",
"append",
"(",
"Bkpars",
"[",
"'Zinc'",
"]",
")",
"rpars",
".",
"append",
"(",
"Bkpars",
"[",
"'Eta'",
"]",
")",
"rpars",
".",
"append",
"(",
"Bkpars",
"[",
"'Edec'",
"]",
")",
"rpars",
".",
"append",
"(",
"Bkpars",
"[",
"'Einc'",
"]",
")",
"etitle",
"=",
"\"Bootstrapped confidence ellipse\"",
"elif",
"dist",
"==",
"'BV'",
":",
"sym",
"=",
"{",
"'lower'",
":",
"[",
"'o'",
",",
"'c'",
"]",
",",
"'upper'",
":",
"[",
"'o'",
",",
"'g'",
"]",
",",
"'size'",
":",
"3",
",",
"'edgecolor'",
":",
"'face'",
"}",
"if",
"len",
"(",
"nDIs",
")",
">",
"5",
":",
"BnDIs",
"=",
"pmag",
".",
"di_boot",
"(",
"nDIs",
")",
"pmagplotlib",
".",
"plot_eq_sym",
"(",
"FIG",
"[",
"'bdirs'",
"]",
",",
"BnDIs",
",",
"'Bootstrapped Eigenvectors'",
",",
"sym",
")",
"if",
"len",
"(",
"rDIs",
")",
">",
"5",
":",
"BrDIs",
"=",
"pmag",
".",
"di_boot",
"(",
"rDIs",
")",
"if",
"len",
"(",
"nDIs",
")",
">",
"5",
":",
"# plot on existing plots",
"pmagplotlib",
".",
"plot_di_sym",
"(",
"FIG",
"[",
"'bdirs'",
"]",
",",
"BrDIs",
",",
"sym",
")",
"else",
":",
"pmagplotlib",
".",
"plot_eq",
"(",
"FIG",
"[",
"'bdirs'",
"]",
",",
"BrDIs",
",",
"'Bootstrapped Eigenvectors'",
")",
"if",
"dist",
"==",
"'B'",
":",
"if",
"len",
"(",
"nDIs",
")",
">",
"3",
"or",
"len",
"(",
"rDIs",
")",
">",
"3",
":",
"pmagplotlib",
".",
"plot_conf",
"(",
"FIG",
"[",
"'eqarea'",
"]",
",",
"etitle",
",",
"[",
"]",
",",
"npars",
",",
"0",
")",
"elif",
"len",
"(",
"nDIs",
")",
">",
"3",
"and",
"dist",
"!=",
"'BV'",
":",
"pmagplotlib",
".",
"plot_conf",
"(",
"FIG",
"[",
"'eqarea'",
"]",
",",
"etitle",
",",
"[",
"]",
",",
"npars",
",",
"0",
")",
"if",
"len",
"(",
"rDIs",
")",
">",
"3",
":",
"pmagplotlib",
".",
"plot_conf",
"(",
"FIG",
"[",
"'eqarea'",
"]",
",",
"etitle",
",",
"[",
"]",
",",
"rpars",
",",
"0",
")",
"elif",
"len",
"(",
"rDIs",
")",
">",
"3",
"and",
"dist",
"!=",
"'BV'",
":",
"pmagplotlib",
".",
"plot_conf",
"(",
"FIG",
"[",
"'eqarea'",
"]",
",",
"etitle",
",",
"[",
"]",
",",
"rpars",
",",
"0",
")",
"for",
"key",
"in",
"list",
"(",
"FIG",
".",
"keys",
"(",
")",
")",
":",
"files",
"=",
"{",
"}",
"#if filename: # use provided filename",
"# filename += '.' + fmt",
"if",
"pmagplotlib",
".",
"isServer",
":",
"# use server plot naming convention",
"if",
"plot_key",
"==",
"'all'",
":",
"filename",
"=",
"'LO:_'",
"+",
"locations",
"+",
"'_SI:__SA:__SP:__CO:_'",
"+",
"crd",
"+",
"'_TY:_'",
"+",
"key",
"+",
"'_.'",
"+",
"fmt",
"else",
":",
"filename",
"=",
"'LO:_'",
"+",
"locations",
"+",
"'_SI:_'",
"+",
"site",
"+",
"'_SA:_'",
"+",
"sample",
"+",
"'_SP:_'",
"+",
"str",
"(",
"specimen",
")",
"+",
"'_CO:_'",
"+",
"crd",
"+",
"'_TY:_'",
"+",
"key",
"+",
"'_.'",
"+",
"fmt",
"elif",
"plot_key",
"==",
"'all'",
":",
"filename",
"=",
"'all'",
"if",
"locs",
":",
"loc_string",
"=",
"\"_\"",
".",
"join",
"(",
"[",
"str",
"(",
"loc",
")",
".",
"replace",
"(",
"' '",
",",
"'_'",
")",
"for",
"loc",
"in",
"locs",
"]",
")",
"filename",
"+=",
"\"_\"",
"+",
"loc_string",
"filename",
"+=",
"\"_\"",
"+",
"crd",
"+",
"\"_\"",
"+",
"key",
"filename",
"+=",
"\".{}\"",
".",
"format",
"(",
"fmt",
")",
"else",
":",
"# use more readable naming convention",
"filename",
"=",
"''",
"# fix this if plot_by is location , for example",
"use_names",
"=",
"{",
"'location'",
":",
"[",
"locations",
"]",
",",
"'site'",
":",
"[",
"locations",
",",
"site",
"]",
",",
"'sample'",
":",
"[",
"locations",
",",
"site",
",",
"sample",
"]",
",",
"'specimen'",
":",
"[",
"locations",
",",
"site",
",",
"sample",
",",
"specimen",
"]",
"}",
"use",
"=",
"use_names",
"[",
"plot_key",
"]",
"use",
".",
"extend",
"(",
"[",
"crd",
",",
"key",
"]",
")",
"# [locations, site, sample, specimen, crd, key]:",
"for",
"item",
"in",
"use",
":",
"if",
"item",
":",
"item",
"=",
"item",
".",
"replace",
"(",
"' '",
",",
"'_'",
")",
"filename",
"+=",
"item",
"+",
"'_'",
"if",
"filename",
".",
"endswith",
"(",
"'_'",
")",
":",
"filename",
"=",
"filename",
"[",
":",
"-",
"1",
"]",
"filename",
"+=",
"\".{}\"",
".",
"format",
"(",
"fmt",
")",
"if",
"not",
"pmagplotlib",
".",
"isServer",
":",
"filename",
"=",
"os",
".",
"path",
".",
"join",
"(",
"dir_path",
",",
"filename",
")",
"files",
"[",
"key",
"]",
"=",
"filename",
"if",
"pmagplotlib",
".",
"isServer",
":",
"titles",
"=",
"{",
"'eqarea'",
":",
"'Equal Area Plot'",
"}",
"FIG",
"=",
"pmagplotlib",
".",
"add_borders",
"(",
"FIG",
",",
"titles",
",",
"con_id",
"=",
"con_id",
")",
"saved_figs",
"=",
"pmagplotlib",
".",
"save_plots",
"(",
"FIG",
",",
"files",
")",
"saved",
".",
"extend",
"(",
"saved_figs",
")",
"elif",
"save_plots",
":",
"saved_figs",
"=",
"pmagplotlib",
".",
"save_plots",
"(",
"FIG",
",",
"files",
",",
"incl_directory",
"=",
"True",
")",
"saved",
".",
"extend",
"(",
"saved_figs",
")",
"continue",
"elif",
"interactive",
":",
"pmagplotlib",
".",
"draw_figs",
"(",
"FIG",
")",
"ans",
"=",
"input",
"(",
"\" S[a]ve to save plot, [q]uit, Return to continue: \"",
")",
"if",
"ans",
"==",
"\"q\"",
":",
"return",
"True",
",",
"[",
"]",
"if",
"ans",
"==",
"\"a\"",
":",
"saved_figs",
"=",
"pmagplotlib",
".",
"save_plots",
"(",
"FIG",
",",
"files",
",",
"incl_directory",
"=",
"True",
")",
"saved",
".",
"extend",
"(",
"saved",
")",
"continue",
"return",
"True",
",",
"saved"
] |
makes equal area projections from declination/inclination data
Parameters
----------
in_file : str, default "sites.txt"
dir_path : str
output directory, default "."
input_dir_path : str
input file directory (if different from dir_path), default ""
spec_file : str
input specimen file name, default "specimens.txt"
samp_file: str
input sample file name, default "samples.txt"
site_file : str
input site file name, default "sites.txt"
loc_file : str
input location file name, default "locations.txt"
plot_by : str
[spc, sam, sit, loc, all] (specimen, sample, site, location, all), default "all"
crd : ['s','g','t'], coordinate system for plotting whereby:
s : specimen coordinates, aniso_tile_correction = -1
g : geographic coordinates, aniso_tile_correction = 0 (default)
t : tilt corrected coordinates, aniso_tile_correction = 100
ignore_tilt : bool
default False. If True, data are unoriented (allows plotting of measurement dec/inc)
save_plots : bool
plot and save non-interactively, default True
fmt : str
["png", "svg", "pdf", "jpg"], default "svg"
contour : bool
plot as color contour
colormap : str
color map for contour plotting, default "coolwarm"
see cartopy documentation for more options
plot_ell : str
[F,K,B,Be,Bv] plot Fisher, Kent, Bingham, Bootstrap ellipses or Boostrap eigenvectors
default "" plots none
n_plots : int
maximum number of plots to make, default 5
if you want to make all possible plots, specify "all"
interactive : bool, default False
interactively plot and display for each specimen
(this is best used on the command line or in the Python interpreter)
Returns
---------
type - Tuple : (True or False indicating if conversion was sucessful, file name(s) written)
|
[
"makes",
"equal",
"area",
"projections",
"from",
"declination",
"/",
"inclination",
"data"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L11384-L11861
|
train
|
This function makes an equal area projection from the declination and inclination data.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8('\x30' + chr(1347 - 1236) + '\x32' + '\x34' + chr(0b110111), 35617 - 35609), nzTpIcepk0o8(chr(985 - 937) + '\157' + chr(323 - 273) + '\x33' + chr(0b110000), 0o10), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(1551 - 1500) + chr(886 - 832) + chr(0b110101), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(49) + chr(0b101100 + 0o11) + chr(2876 - 2821), ord("\x08")), nzTpIcepk0o8(chr(1982 - 1934) + '\157' + '\063' + '\067' + chr(0b110100), 0o10), nzTpIcepk0o8(chr(2070 - 2022) + chr(111) + '\x32' + chr(48) + chr(0b110001), 0b1000), nzTpIcepk0o8('\060' + chr(111) + chr(0b1 + 0o62) + chr(0b101110 + 0o5) + chr(61 - 11), 0o10), nzTpIcepk0o8(chr(0b110000) + '\157' + '\x32' + '\066' + chr(244 - 192), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(10988 - 10877) + chr(50) + chr(0b110001) + '\x30', 0b1000), nzTpIcepk0o8(chr(0b10011 + 0o35) + chr(0b10 + 0o155) + chr(0b100101 + 0o16) + chr(0b110001) + chr(55), 27637 - 27629), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b110010) + chr(0b100100 + 0o23) + '\066', 13105 - 13097), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b110011) + chr(0b11110 + 0o22) + chr(48), 0b1000), nzTpIcepk0o8(chr(48) + '\x6f' + chr(1328 - 1273) + '\x30', 9188 - 9180), nzTpIcepk0o8(chr(1897 - 1849) + '\x6f' + chr(0b110 + 0o54) + chr(1546 - 1497) + chr(55), 64695 - 64687), nzTpIcepk0o8(chr(0b11011 + 0o25) + chr(0b1101111) + chr(0b100100 + 0o17) + chr(54) + chr(53), 8), nzTpIcepk0o8('\060' + '\157' + '\x37' + '\x30', 8), nzTpIcepk0o8(chr(0b110000 + 0o0) + chr(111) + chr(51) + chr(665 - 617) + chr(0b1110 + 0o51), 0b1000), nzTpIcepk0o8('\x30' + chr(0b1101111) + '\062' + chr(0b110111) + chr(54), 8), nzTpIcepk0o8('\060' + chr(10082 - 9971) + chr(272 - 222) + '\x35' + chr(49), 43536 - 43528), nzTpIcepk0o8('\060' + chr(11930 - 11819) + chr(50) + '\x37' + '\x30', 51963 - 51955), nzTpIcepk0o8('\x30' + '\157' + chr(55), 34267 - 34259), nzTpIcepk0o8(chr(0b11010 + 0o26) + chr(0b1000000 + 0o57) + chr(0b1001 + 0o54), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1101111) + '\062' + '\066' + '\x32', 0b1000), nzTpIcepk0o8('\x30' + chr(0b111001 + 0o66) + '\066' + chr(1060 - 1005), ord("\x08")), nzTpIcepk0o8(chr(1771 - 1723) + '\x6f' + '\x32' + '\067' + chr(0b110011), 0b1000), nzTpIcepk0o8(chr(327 - 279) + '\157' + '\x34' + chr(52), 3149 - 3141), nzTpIcepk0o8(chr(1117 - 1069) + chr(0b1101111) + '\x31' + '\060' + chr(0b110011), 0o10), nzTpIcepk0o8(chr(48) + chr(0b1100 + 0o143) + '\x32', 0o10), nzTpIcepk0o8(chr(979 - 931) + '\x6f' + '\x32' + chr(48) + '\063', ord("\x08")), nzTpIcepk0o8('\060' + chr(0b1001000 + 0o47) + chr(0b110001) + chr(52) + '\065', 62007 - 61999), nzTpIcepk0o8(chr(48) + '\157' + chr(0b110001) + chr(77 - 27), 0o10), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b10100 + 0o36) + chr(0b110111), 0o10), nzTpIcepk0o8(chr(0b0 + 0o60) + '\x6f' + '\x32' + chr(0b11100 + 0o32) + '\x36', 0o10), nzTpIcepk0o8('\x30' + '\157' + chr(0b100010 + 0o17) + chr(0b1011 + 0o46) + '\062', 0b1000), nzTpIcepk0o8('\060' + chr(992 - 881) + chr(0b10011 + 0o40) + chr(51) + '\065', 0b1000), nzTpIcepk0o8(chr(0b10001 + 0o37) + chr(0b1101111) + chr(1110 - 1058) + '\065', ord("\x08")), nzTpIcepk0o8(chr(1085 - 1037) + chr(0b100100 + 0o113) + chr(49) + '\067' + chr(0b110000 + 0o7), 0o10), nzTpIcepk0o8('\x30' + '\157' + chr(53) + chr(1242 - 1189), 0o10), nzTpIcepk0o8('\x30' + chr(0b1001 + 0o146) + '\061' + '\061' + '\067', 0b1000), nzTpIcepk0o8(chr(1043 - 995) + '\x6f' + '\x31' + chr(1607 - 1559), 22050 - 22042)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(0b11111 + 0o21) + chr(111) + chr(1387 - 1334) + '\060', 2044 - 2036)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\x89'), '\x64' + '\x65' + '\143' + chr(0b1101111) + chr(100) + chr(0b1100101))('\x75' + chr(0b1101111 + 0o5) + '\x66' + chr(45) + chr(56)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def F6RRnfDJZLsr(bORHD_jakCEx=roI3spqORKae(ES5oEprVxulp(b'\xd4\xf1\x81\n\x8f\xaf\xae\xcc\xfc'), chr(100) + '\x65' + chr(99) + chr(111) + '\144' + chr(9201 - 9100))(chr(0b1110101) + chr(116) + chr(0b1100110) + '\055' + chr(2799 - 2743)), qjksZ7GK0xkJ=roI3spqORKae(ES5oEprVxulp(b'\x89'), chr(9333 - 9233) + chr(0b1100101) + chr(0b1100011) + chr(8788 - 8677) + '\144' + chr(0b111110 + 0o47))('\165' + chr(0b1110100) + chr(0b11 + 0o143) + '\x2d' + '\x38'), KADebXAR9grB=roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(0b1100101) + chr(492 - 393) + chr(0b1101111) + '\x64' + chr(0b1010110 + 0o17))('\165' + '\x74' + '\x66' + chr(0b10110 + 0o27) + chr(56)), QJgeTIOanow9=roI3spqORKae(ES5oEprVxulp(b'\xd4\xe8\x90\x0c\x95\xec\xbf\xda\xfb\xe1\xca\xb8L'), chr(100) + chr(101) + chr(0b1100001 + 0o2) + chr(0b1101111) + chr(100) + '\145')('\165' + chr(116) + chr(0b1010110 + 0o20) + '\x2d' + chr(0b10110 + 0o42)), bqpTUs8apVqb=roI3spqORKae(ES5oEprVxulp(b'\xd4\xf9\x98\x1f\x90\xe4\xa9\x9a\xfc\xb7\xca'), chr(0b11000 + 0o114) + chr(0b1100101) + chr(99) + '\157' + chr(100) + '\x65')('\165' + '\164' + '\x66' + chr(1103 - 1058) + '\070'), OiNBbL9woeR5=roI3spqORKae(ES5oEprVxulp(b'\xd4\xf1\x81\n\x8f\xaf\xae\xcc\xfc'), chr(6688 - 6588) + chr(304 - 203) + '\143' + chr(111) + chr(5620 - 5520) + chr(101))('\165' + '\164' + '\146' + chr(0b1101 + 0o40) + chr(0b111000)), VHVRZ1Svp2dQ=roI3spqORKae(ES5oEprVxulp(b'\xcb\xf7\x96\x0e\x88\xe8\xb5\xda\xfb\xe1\xca\xb8L'), chr(3140 - 3040) + chr(2128 - 2027) + chr(0b1100011) + chr(0b111010 + 0o65) + chr(611 - 511) + '\145')('\165' + chr(116) + chr(6340 - 6238) + chr(1594 - 1549) + chr(56)), CvOHRdgXRD6J=roI3spqORKae(ES5oEprVxulp(b'\xc6\xf4\x99'), chr(7466 - 7366) + chr(0b1100000 + 0o5) + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(0b1100101))(chr(0b1000001 + 0o64) + chr(4931 - 4815) + chr(0b111 + 0o137) + '\055' + '\070'), px1MpgT0hYQ9=roI3spqORKae(ES5oEprVxulp(b'\xc0'), chr(100) + '\x65' + chr(2228 - 2129) + chr(0b11000 + 0o127) + chr(6012 - 5912) + '\145')(chr(1656 - 1539) + chr(116) + chr(102) + chr(1385 - 1340) + chr(349 - 293)), bJ9c5ym5o1Gc=nzTpIcepk0o8('\060' + chr(0b1101111) + chr(48), 0o10), bxxuZm4I6LgY=nzTpIcepk0o8(chr(48) + chr(0b1000101 + 0o52) + chr(49), 0o10), JummcHpaNLEw=roI3spqORKae(ES5oEprVxulp(b'\xd4\xee\x92'), chr(0b101111 + 0o65) + chr(101) + chr(99) + chr(111) + chr(0b1110 + 0o126) + chr(101))(chr(117) + '\x74' + chr(0b110011 + 0o63) + chr(0b101101) + chr(56)), AyBXIsYKwGw5=nzTpIcepk0o8(chr(566 - 518) + chr(0b11 + 0o154) + chr(0b1111 + 0o41), 8), Hk4VO20cD14p=roI3spqORKae(ES5oEprVxulp(b'\xc4\xf7\x9a\x03\x8b\xe0\xa8\xd9'), chr(0b1 + 0o143) + '\145' + '\x63' + '\157' + '\x64' + chr(101))(chr(117) + chr(0b11100 + 0o130) + '\146' + chr(0b101000 + 0o5) + '\070'), rqABaJh7cMKB=roI3spqORKae(ES5oEprVxulp(b''), chr(2590 - 2490) + chr(0b1100101) + '\143' + chr(0b100100 + 0o113) + '\144' + '\145')(chr(0b1011000 + 0o35) + chr(0b1110100) + chr(5657 - 5555) + chr(0b1100 + 0o41) + chr(1417 - 1361)), LtSarZcSnftR=nzTpIcepk0o8(chr(0b110000) + chr(5034 - 4923) + '\065', 8), f4XDWm__k5ZA=nzTpIcepk0o8('\060' + chr(111) + chr(48), 8)):
n2yX1AgA9ol1 = []
(KADebXAR9grB, qjksZ7GK0xkJ) = hUcsWwAd0nE_.fix_directories(KADebXAR9grB, qjksZ7GK0xkJ)
TseISVdPlfdM = o77KS_r9H7AX.TseISVdPlfdM
rKSToK9WUVwu = {}
rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'\xc2\xe9\x94\x1d\x99\xe0'), chr(0b1100100) + chr(0b100110 + 0o77) + chr(0b1100010 + 0o1) + chr(111) + '\144' + chr(0b1001101 + 0o30))('\x75' + '\164' + '\146' + chr(250 - 205) + '\x38')] = nzTpIcepk0o8(chr(0b1001 + 0o47) + '\x6f' + '\061', 8)
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xd7\xf4\x9a\x1b\xa3\xe8\xb4\xdd\xfc'), chr(100) + chr(101) + chr(0b1010011 + 0o20) + '\157' + chr(0b1100100) + chr(10177 - 10076))(chr(117) + chr(116) + chr(102) + chr(0b101 + 0o50) + chr(0b10001 + 0o47)))(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'\xc2\xe9\x94\x1d\x99\xe0'), chr(0b1100100) + chr(101) + chr(99) + chr(5198 - 5087) + chr(8013 - 7913) + '\x65')(chr(7723 - 7606) + '\x74' + chr(0b1100110) + chr(1226 - 1181) + chr(56))], nzTpIcepk0o8(chr(0b110000) + chr(111) + '\x35', 8), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b10001 + 0o44), 8))
if px1MpgT0hYQ9 == roI3spqORKae(ES5oEprVxulp(b'\xd4'), chr(0b1100100) + '\x65' + '\x63' + chr(8110 - 7999) + chr(100) + '\145')(chr(13240 - 13123) + '\x74' + '\146' + '\x2d' + '\070'):
nKUAs3HG0RP8 = roI3spqORKae(ES5oEprVxulp(b'\x8a\xa9'), chr(4829 - 4729) + '\145' + '\143' + '\x6f' + '\x64' + chr(5531 - 5430))('\x75' + chr(10041 - 9925) + chr(8541 - 8439) + chr(0b1000 + 0o45) + chr(1140 - 1084))
elif px1MpgT0hYQ9 == roI3spqORKae(ES5oEprVxulp(b'\xd3'), chr(0b1100100) + chr(0b1100101 + 0o0) + chr(0b1100011) + '\x6f' + chr(0b11 + 0o141) + chr(0b1100101))(chr(6679 - 6562) + chr(10760 - 10644) + chr(5926 - 5824) + chr(0b100111 + 0o6) + chr(56)):
nKUAs3HG0RP8 = roI3spqORKae(ES5oEprVxulp(b'\x96\xa8\xc5'), chr(0b1100100) + chr(0b1100101) + chr(0b1100011) + '\x6f' + chr(0b111000 + 0o54) + '\145')(chr(0b1100 + 0o151) + chr(0b1000101 + 0o57) + '\x66' + '\x2d' + chr(3057 - 3001))
else:
nKUAs3HG0RP8 = roI3spqORKae(ES5oEprVxulp(b'\x97'), chr(100) + '\x65' + chr(0b1001001 + 0o32) + '\x6f' + '\x64' + chr(0b101001 + 0o74))(chr(0b1111 + 0o146) + chr(0b1110100) + chr(8782 - 8680) + chr(0b101101) + chr(56))
if CvOHRdgXRD6J == roI3spqORKae(ES5oEprVxulp(b'\xc6\xf4\x99'), chr(100) + chr(101) + chr(3673 - 3574) + chr(11543 - 11432) + chr(0b1100100) + '\x65')(chr(0b1110101) + chr(116) + chr(2757 - 2655) + '\x2d' + chr(2538 - 2482)):
RJ4Uz5ItlJXF = roI3spqORKae(ES5oEprVxulp(b'\xc6\xf4\x99'), chr(0b1100100) + chr(0b10001 + 0o124) + chr(0b1100011) + chr(111) + chr(9846 - 9746) + '\x65')(chr(0b1110101) + chr(0b1100011 + 0o21) + chr(0b1100110) + '\055' + chr(56))
elif CvOHRdgXRD6J == roI3spqORKae(ES5oEprVxulp(b'\xd4\xf1\x81'), '\x64' + '\x65' + '\x63' + '\157' + '\x64' + chr(2052 - 1951))(chr(0b1001000 + 0o55) + '\164' + chr(0b110111 + 0o57) + chr(0b101101) + chr(0b111000)):
RJ4Uz5ItlJXF = roI3spqORKae(ES5oEprVxulp(b'\xd4\xf1\x81\n'), '\x64' + chr(0b1100101) + chr(0b1 + 0o142) + chr(111) + chr(0b1100100) + chr(101))(chr(0b1110101) + chr(0b1110100) + '\x66' + chr(45) + chr(0b101 + 0o63))
elif CvOHRdgXRD6J == roI3spqORKae(ES5oEprVxulp(b'\xd4\xf9\x98'), chr(0b1100100 + 0o0) + chr(0b111010 + 0o53) + chr(740 - 641) + '\157' + chr(0b1100100) + '\x65')(chr(0b1011101 + 0o30) + chr(0b1110100) + '\x66' + chr(45) + chr(0b11011 + 0o35)):
RJ4Uz5ItlJXF = roI3spqORKae(ES5oEprVxulp(b'\xd4\xf9\x98\x1f\x90\xe4'), '\x64' + '\x65' + '\x63' + chr(111) + chr(100) + chr(101))(chr(6350 - 6233) + chr(0b1110100) + chr(0b11001 + 0o115) + '\x2d' + '\x38')
elif CvOHRdgXRD6J == roI3spqORKae(ES5oEprVxulp(b'\xd4\xe8\x96'), chr(0b1010110 + 0o16) + chr(0b1100101) + chr(0b1100011) + '\157' + chr(0b1100100) + chr(101))(chr(12534 - 12417) + chr(116) + chr(0b1100110) + chr(0b101101) + '\x38'):
RJ4Uz5ItlJXF = roI3spqORKae(ES5oEprVxulp(b'\xd4\xe8\x90\x0c\x95\xec\xbf\xda'), chr(3118 - 3018) + chr(1013 - 912) + chr(7086 - 6987) + '\x6f' + chr(5245 - 5145) + '\x65')('\x75' + chr(0b1110100) + chr(0b0 + 0o146) + chr(1643 - 1598) + chr(574 - 518))
else:
CvOHRdgXRD6J = roI3spqORKae(ES5oEprVxulp(b'\xc6\xf4\x99'), chr(0b1100100) + chr(101) + chr(0b1100011) + '\157' + '\144' + '\x65')(chr(0b100010 + 0o123) + chr(0b1110100) + '\x66' + '\055' + chr(56))
RJ4Uz5ItlJXF = roI3spqORKae(ES5oEprVxulp(b'\xc6\xf4\x99'), chr(0b1100100) + chr(0b1001110 + 0o27) + chr(99) + chr(2750 - 2639) + chr(0b1100100) + '\x65')(chr(13340 - 13223) + '\164' + chr(6313 - 6211) + '\x2d' + chr(0b111000))
if bxxuZm4I6LgY:
TseISVdPlfdM = nzTpIcepk0o8(chr(0b10000 + 0o40) + '\x6f' + chr(0b110000), 8)
tK4pYJbGWL1m = roI3spqORKae(ES5oEprVxulp(b'\xc3\xf1\x870\x98\xe4\xb9'), '\144' + chr(0b1100101) + chr(99) + chr(111) + chr(0b1100100) + chr(0b1100101))('\x75' + chr(0b1101011 + 0o11) + chr(102) + chr(0b100111 + 0o6) + chr(0b11110 + 0o32))
ETmJ7QZlCfmw = roI3spqORKae(ES5oEprVxulp(b'\xc3\xf1\x870\x95\xef\xb9'), chr(0b1100100) + '\145' + chr(0b1100011) + chr(111) + '\144' + chr(0b0 + 0o145))(chr(0b1110101) + '\x74' + chr(3440 - 3338) + chr(0b100000 + 0o15) + chr(0b11011 + 0o35))
dUxT_AwFUYaK = roI3spqORKae(ES5oEprVxulp(b'\xc3\xf1\x870\x88\xe8\xb6\xc0\xd7\xac\xd1\xb2J\xea\x96L\xae\xd1\xc7'), chr(100) + chr(0b1100101) + '\143' + chr(111) + chr(2872 - 2772) + chr(0b1100101))('\x75' + '\164' + '\x66' + '\055' + '\070')
HfaqVUK36EUj = {roI3spqORKae(ES5oEprVxulp(b'\xd4\xe8\x90\x0c\x95\xec\xbf\xda\xfb'), chr(100) + '\145' + chr(99) + chr(5180 - 5069) + chr(0b1100100) + chr(0b1100101))(chr(0b11010 + 0o133) + '\164' + '\146' + '\x2d' + chr(56)): QJgeTIOanow9, roI3spqORKae(ES5oEprVxulp(b'\xd4\xf9\x98\x1f\x90\xe4\xa9'), '\x64' + '\x65' + '\143' + '\157' + chr(0b1100100) + '\145')(chr(1379 - 1262) + chr(0b1110100) + chr(0b1100110) + '\055' + chr(56)): bqpTUs8apVqb, roI3spqORKae(ES5oEprVxulp(b'\xd4\xf1\x81\n\x8f'), chr(0b1100100) + chr(7266 - 7165) + chr(3796 - 3697) + chr(0b1101111) + chr(100) + '\x65')('\x75' + chr(6844 - 6728) + '\146' + '\x2d' + chr(0b111000)): OiNBbL9woeR5, roI3spqORKae(ES5oEprVxulp(b'\xcb\xf7\x96\x0e\x88\xe8\xb5\xda\xfb'), chr(100) + '\145' + '\x63' + chr(111) + chr(100) + chr(0b1100101))(chr(0b10010 + 0o143) + '\x74' + '\146' + chr(53 - 8) + chr(56)): VHVRZ1Svp2dQ}
if not roI3spqORKae(aHUqKstZLeS6.path, roI3spqORKae(ES5oEprVxulp(b'\xdd\xcb\xbc\x16\x92\xd1\xaf\xf1\xfe\xa3\xef\xf4'), chr(3679 - 3579) + chr(101) + chr(0b100011 + 0o100) + chr(111) + '\x64' + chr(101))(chr(0b1110101) + chr(0b1110100) + chr(102) + chr(0b101101) + chr(0b1100 + 0o54)))(roI3spqORKae(hUcsWwAd0nE_, roI3spqORKae(ES5oEprVxulp(b'\xd5\xfd\x86\x00\x90\xf7\xbf\xeb\xee\xa6\xd2\xa5g\xe1\x94U\xa2'), chr(0b1010010 + 0o22) + '\x65' + chr(1702 - 1603) + '\x6f' + '\144' + '\x65')(chr(117) + '\x74' + chr(8675 - 8573) + chr(0b101101 + 0o0) + '\x38'))(bORHD_jakCEx, KADebXAR9grB)):
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'\x8a\xdd\xd8O\xbf\xee\xaf\xd8\xec\xef\xd0\xafL\xaf\x93Q\xa9\xda\x89\xc3z'), '\x64' + chr(0b1011110 + 0o7) + chr(6408 - 6309) + chr(111) + '\x64' + '\145')('\x75' + chr(0b1110100) + chr(0b1100110) + chr(45) + chr(1792 - 1736)), roI3spqORKae(ES5oEprVxulp(b'\xd6\xab\xc6$\xbb\xb2\xbc\xdb\xd9\x90\xfd\x8a'), chr(0b1 + 0o143) + chr(101) + chr(0b10000 + 0o123) + chr(4128 - 4017) + chr(100) + chr(0b110001 + 0o64))('\x75' + chr(116) + '\146' + '\055' + chr(220 - 164)))(bORHD_jakCEx))
return (nzTpIcepk0o8(chr(0b110000) + chr(0b11101 + 0o122) + '\060', 8), [])
bSiGoWKHgDdJ = RYEhqzIVZREo.Contribution(KADebXAR9grB, custom_filenames=HfaqVUK36EUj, single_file=bORHD_jakCEx)
kR9bIddrApHD = H4NoA26ON7iG(bSiGoWKHgDdJ.tables.keys())[nzTpIcepk0o8('\060' + chr(111) + chr(0b11110 + 0o22), 8)]
roI3spqORKae(bSiGoWKHgDdJ, roI3spqORKae(ES5oEprVxulp(b'\xc6\xfc\x910\x91\xe0\xbd\xdd\xeb\x90\xca\xa1Z\xe3\x90'), chr(0b10011 + 0o121) + chr(0b111111 + 0o46) + chr(99) + chr(111) + '\x64' + chr(0b100001 + 0o104))('\165' + chr(0b1110100) + chr(0b1100110) + '\055' + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b'\xc4\xf7\x9b\x1b\x8e\xe8\xb8\xc1\xfc\xa6\xd1\xae'), '\144' + '\x65' + '\143' + chr(0b1101101 + 0o2) + '\x64' + chr(0b1100011 + 0o2))('\165' + chr(0b1110001 + 0o3) + chr(0b10010 + 0o124) + chr(1978 - 1933) + chr(0b11001 + 0o37)))
if roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xce\xeb\xa6\n\x8e\xf7\xbf\xc6'), '\x64' + '\x65' + chr(0b1100011) + '\x6f' + '\x64' + chr(0b1100101))(chr(0b101011 + 0o112) + '\x74' + chr(5915 - 5813) + chr(45) + '\x38')):
FBG2MCwkKg3g = bSiGoWKHgDdJ.get_con_id()
try:
roI3spqORKae(bSiGoWKHgDdJ, roI3spqORKae(ES5oEprVxulp(b'\xd7\xea\x9a\x1f\x9d\xe6\xbb\xc0\xed\x90\xd2\xaf[\xee\x81Q\xa8\xd0\xf6\xcchZ\xc1V\xd6T/g\xf0'), '\144' + '\x65' + chr(1260 - 1161) + chr(6172 - 6061) + chr(0b1100100) + chr(0b1010000 + 0o25))('\x75' + chr(116) + chr(102) + chr(1336 - 1291) + '\070'))()
roI3spqORKae(bSiGoWKHgDdJ, roI3spqORKae(ES5oEprVxulp(b'\xd7\xea\x9a\x1f\x9d\xe6\xbb\xc0\xed\x90\xd2\xaf[\xee\x81Q\xa8\xd0\xf6\xcchZ\xc1G\xdeG*o\xe6\x0by'), chr(0b1001 + 0o133) + chr(0b111110 + 0o47) + chr(7829 - 7730) + '\x6f' + chr(0b1100100) + chr(2539 - 2438))('\165' + '\164' + '\146' + chr(0b10111 + 0o26) + chr(0b101100 + 0o14)))()
roI3spqORKae(bSiGoWKHgDdJ, roI3spqORKae(ES5oEprVxulp(b'\xd7\xea\x9a\x1f\x9d\xe6\xbb\xc0\xed\x90\xd2\xaf[\xee\x81Q\xa8\xd0\xf6\xcchZ\xdfR\xdaW6p\xe6\x08oy\xc29'), chr(100) + chr(0b110000 + 0o65) + chr(0b1010001 + 0o22) + '\157' + chr(2599 - 2499) + chr(10073 - 9972))(chr(0b1010000 + 0o45) + '\164' + chr(0b111110 + 0o50) + chr(45) + chr(56)))()
except knUxyjfq07F9 as dclkBu6Bdnnh:
pass
ryt57olzQEqV = bSiGoWKHgDdJ.WgtSJX0sIYpL[kR9bIddrApHD]
FfKOThdpoDTb = ryt57olzQEqV.jpOn8DNZxbbx
RpMFc4ifdtkX = ryt57olzQEqV.RcX9bbuOzh5L
if RJ4Uz5ItlJXF != roI3spqORKae(ES5oEprVxulp(b'\xc6\xf4\x99'), chr(7469 - 7369) + chr(8260 - 8159) + chr(0b1100011) + '\x6f' + chr(6164 - 6064) + chr(101))(chr(117) + chr(116) + chr(102) + chr(1217 - 1172) + '\x38') and RJ4Uz5ItlJXF not in roI3spqORKae(FfKOThdpoDTb, roI3spqORKae(ES5oEprVxulp(b'\xf2\xab\xcc\x05\xaf\xe8\x93\x81\xbc\x82\xd2\xb0'), '\x64' + chr(7827 - 7726) + '\143' + chr(878 - 767) + chr(100) + chr(0b1100101))(chr(0b1100 + 0o151) + '\164' + chr(102) + chr(1991 - 1946) + '\070')):
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'\x8a\xdd\xd8O\xa5\xee\xaf\x94\xeb\xae\xd0\xe7L\xaf\x85T\xa8\xca\x89\xda~%\xc9J\x9bS*v\xebE~\x7f\xd3j\xb9D\x0bLox\xd5\xf7\x83\x06\x98\xe4\xbe'), chr(0b1100100) + '\x65' + chr(0b1100011) + '\x6f' + chr(0b1100100) + chr(8006 - 7905))('\165' + chr(0b101100 + 0o110) + '\x66' + chr(1030 - 985) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xd6\xab\xc6$\xbb\xb2\xbc\xdb\xd9\x90\xfd\x8a'), '\144' + chr(101) + '\143' + '\157' + chr(4216 - 4116) + '\145')('\x75' + chr(0b1110100) + chr(102) + chr(45) + '\x38'))(RJ4Uz5ItlJXF))
return (nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(280 - 232), 8), [])
if dUxT_AwFUYaK not in roI3spqORKae(FfKOThdpoDTb, roI3spqORKae(ES5oEprVxulp(b'\xf2\xab\xcc\x05\xaf\xe8\x93\x81\xbc\x82\xd2\xb0'), '\144' + chr(0b1100101) + '\x63' + chr(0b1101111) + '\x64' + chr(0b1100101))(chr(0b1110101) + '\x74' + chr(3204 - 3102) + chr(0b101101) + '\070')):
FfKOThdpoDTb.UQ8hRiBoHcn5[:, dUxT_AwFUYaK] = None
if TseISVdPlfdM:
v8jsMqaYV6U2(ftfygxgFas5X(FfKOThdpoDTb), roI3spqORKae(ES5oEprVxulp(b'\x87\xea\x90\x0c\x93\xf3\xbe\xc7\xa8\xbd\xdb\xa1\\\xaf\x93J\xa8\xd3\x89'), chr(2967 - 2867) + '\x65' + chr(9488 - 9389) + '\157' + '\144' + chr(0b1100101))(chr(2939 - 2822) + chr(116) + chr(2824 - 2722) + chr(0b101101) + chr(666 - 610)), bORHD_jakCEx)
thsvjaihPd06 = roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(101) + chr(1994 - 1895) + chr(0b1101111) + '\144' + chr(101))(chr(0b10001 + 0o144) + chr(6897 - 6781) + chr(9731 - 9629) + chr(0b10000 + 0o35) + '\x38')
psCEfNb5jPig = []
if RJ4Uz5ItlJXF != roI3spqORKae(ES5oEprVxulp(b'\xc6\xf4\x99'), chr(0b1000100 + 0o40) + chr(4482 - 4381) + chr(0b110100 + 0o57) + '\157' + chr(1193 - 1093) + chr(0b111001 + 0o54))(chr(10513 - 10396) + chr(116) + chr(0b11110 + 0o110) + chr(0b101101) + '\070'):
if RJ4Uz5ItlJXF not in roI3spqORKae(FfKOThdpoDTb, roI3spqORKae(ES5oEprVxulp(b'\xf2\xab\xcc\x05\xaf\xe8\x93\x81\xbc\x82\xd2\xb0'), chr(100) + chr(0b1011 + 0o132) + chr(9055 - 8956) + chr(0b1101111) + '\x64' + '\x65')(chr(117) + chr(0b1110100) + chr(0b1111 + 0o127) + chr(0b11001 + 0o24) + chr(0b10 + 0o66))):
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b"\x8a\xdd\xd8O\xbf\xe0\xb4\x93\xfc\xef\xce\xacW\xfb\xd5Z\xbe\x9e\x8b\xc3z'\x9c\x17\x9bp+c\xf7Ebr\xd7.\xb8W_D<(\xc9\xf7\x81O\x95\xef\xfa\xdd\xe6\xa9\xd7\xac]\xb5\xd5C\xba"), chr(100) + '\145' + '\143' + chr(111) + chr(0b1100100) + chr(0b1011100 + 0o11))('\x75' + chr(6992 - 6876) + chr(9611 - 9509) + chr(0b101101) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xd6\xab\xc6$\xbb\xb2\xbc\xdb\xd9\x90\xfd\x8a'), chr(100) + '\145' + chr(0b1100011) + chr(111) + '\144' + '\145')(chr(0b1110101) + chr(116) + '\x66' + '\055' + chr(0b111000)))(RJ4Uz5ItlJXF, bORHD_jakCEx))
return (nzTpIcepk0o8('\060' + chr(0b1101111) + chr(48), 8), [])
rhJWrcAwWftY = FfKOThdpoDTb[FfKOThdpoDTb[RJ4Uz5ItlJXF].notnull()]
psCEfNb5jPig = rhJWrcAwWftY[RJ4Uz5ItlJXF].G3de2eWQaS0D()
else:
roI3spqORKae(psCEfNb5jPig, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), '\144' + chr(101) + '\x63' + '\157' + chr(5333 - 5233) + chr(101))(chr(0b110000 + 0o105) + '\x74' + chr(0b10111 + 0o117) + chr(0b101101) + chr(0b100011 + 0o25)))(roI3spqORKae(ES5oEprVxulp(b'\xe6\xf4\x99'), chr(0b1010100 + 0o20) + chr(101) + chr(8979 - 8880) + chr(0b10100 + 0o133) + '\x64' + chr(0b1100101))('\x75' + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + '\x38'))
if LtSarZcSnftR != roI3spqORKae(ES5oEprVxulp(b'\xc6\xf4\x99'), '\144' + chr(5075 - 4974) + chr(993 - 894) + chr(0b11100 + 0o123) + chr(0b10001 + 0o123) + chr(0b1100101))(chr(117) + '\164' + chr(102) + '\055' + chr(56)):
if ftfygxgFas5X(psCEfNb5jPig) > LtSarZcSnftR:
psCEfNb5jPig = psCEfNb5jPig[:LtSarZcSnftR]
OpFpJUFlM4PU = nzTpIcepk0o8(chr(0b10001 + 0o37) + '\x6f' + chr(0b110000), 8)
for mocO8sWgkzH7 in psCEfNb5jPig:
OpFpJUFlM4PU += nzTpIcepk0o8('\x30' + '\x6f' + chr(49), 8)
rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'\xc2\xe9\x94\x1d\x99\xe0'), '\144' + '\145' + chr(0b10111 + 0o114) + chr(7367 - 7256) + '\144' + chr(0b1100101))('\165' + chr(116) + chr(6137 - 6035) + '\x2d' + '\x38')] = OpFpJUFlM4PU
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xd7\xf4\x9a\x1b\xa3\xe8\xb4\xdd\xfc'), chr(0b1100100) + chr(0b100111 + 0o76) + '\143' + chr(4077 - 3966) + chr(7312 - 7212) + chr(101))(chr(117) + chr(10300 - 10184) + '\146' + chr(1263 - 1218) + chr(0b111000)))(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'\xc2\xe9\x94\x1d\x99\xe0'), chr(0b111000 + 0o54) + chr(0b1100101) + '\143' + '\x6f' + chr(632 - 532) + '\x65')('\165' + '\x74' + chr(299 - 197) + '\055' + '\x38')], nzTpIcepk0o8(chr(48) + chr(111) + '\x35', 8), nzTpIcepk0o8('\060' + '\x6f' + chr(2756 - 2703), 8))
if rqABaJh7cMKB:
Kt39bH0WF46E = rqABaJh7cMKB.iq1mNMefb1Zd()
if Kt39bH0WF46E not in [roI3spqORKae(ES5oEprVxulp(b'\xe1'), '\x64' + '\x65' + chr(1520 - 1421) + chr(0b1110 + 0o141) + '\x64' + '\145')('\x75' + chr(6245 - 6129) + '\x66' + chr(0b100 + 0o51) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xec'), chr(988 - 888) + chr(0b1000111 + 0o36) + chr(0b1001111 + 0o24) + chr(0b1101111) + chr(0b1100100) + chr(101))(chr(117) + chr(12608 - 12492) + chr(9488 - 9386) + '\055' + chr(0b111000 + 0o0)), roI3spqORKae(ES5oEprVxulp(b'\xe5'), '\144' + chr(0b1101 + 0o130) + '\143' + '\157' + chr(100) + '\145')('\165' + chr(116) + chr(102) + '\x2d' + chr(0b101001 + 0o17)), roI3spqORKae(ES5oEprVxulp(b'\xe5\xdd'), '\144' + chr(0b1010 + 0o133) + chr(99) + chr(111) + chr(0b1100100) + chr(4787 - 4686))('\165' + chr(0b1111 + 0o145) + '\x66' + chr(45) + chr(0b1100 + 0o54)), roI3spqORKae(ES5oEprVxulp(b'\xe5\xce'), '\x64' + chr(0b1100101) + chr(99) + chr(0b1011101 + 0o22) + chr(3617 - 3517) + '\145')('\165' + chr(6249 - 6133) + '\146' + '\x2d' + chr(0b0 + 0o70))]:
Kt39bH0WF46E = roI3spqORKae(ES5oEprVxulp(b'\xe1'), '\144' + chr(0b11111 + 0o106) + chr(0b11100 + 0o107) + '\x6f' + '\x64' + chr(101))(chr(0b1000000 + 0o65) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(0b100 + 0o64))
if Kt39bH0WF46E == roI3spqORKae(ES5oEprVxulp(b'\xe5\xce'), chr(100) + chr(0b1100101) + '\x63' + chr(0b1011111 + 0o20) + '\x64' + '\x65')(chr(0b1110101) + '\x74' + chr(0b1100110) + chr(849 - 804) + chr(0b111000)):
OpFpJUFlM4PU += nzTpIcepk0o8(chr(1319 - 1271) + chr(0b1101000 + 0o7) + chr(49), 8)
rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'\xc5\xfc\x9c\x1d\x8f'), chr(0b1100100) + chr(0b110001 + 0o64) + '\143' + chr(111) + chr(0b1100100) + chr(101))('\165' + '\164' + chr(102) + '\x2d' + chr(0b100101 + 0o23))] = OpFpJUFlM4PU
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xd7\xf4\x9a\x1b\xa3\xe8\xb4\xdd\xfc'), chr(9603 - 9503) + chr(8553 - 8452) + '\143' + chr(10397 - 10286) + '\144' + chr(101))('\165' + chr(2053 - 1937) + '\x66' + chr(0b100010 + 0o13) + chr(0b111000)))(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'\xc5\xfc\x9c\x1d\x8f'), chr(0b110000 + 0o64) + chr(345 - 244) + '\x63' + chr(10275 - 10164) + '\144' + '\145')(chr(117) + '\x74' + chr(102) + chr(0b101010 + 0o3) + chr(0b111000))], nzTpIcepk0o8('\060' + chr(0b1101111) + '\x35', 8), nzTpIcepk0o8(chr(0b101000 + 0o10) + chr(111) + chr(0b110100 + 0o1), 8))
if TseISVdPlfdM:
v8jsMqaYV6U2(mocO8sWgkzH7)
if mocO8sWgkzH7 == roI3spqORKae(ES5oEprVxulp(b'\xe6\xf4\x99'), chr(0b1100100) + chr(101) + chr(0b1100011) + '\157' + chr(0b11000 + 0o114) + chr(101))(chr(0b1001010 + 0o53) + chr(0b1110100) + '\146' + '\055' + '\070'):
z3eYlLYgGWvL = FfKOThdpoDTb
else:
z3eYlLYgGWvL = FfKOThdpoDTb[FfKOThdpoDTb[RJ4Uz5ItlJXF] == mocO8sWgkzH7]
c7RydVE5Qw9u = []
if roI3spqORKae(ES5oEprVxulp(b'\xcb\xf7\x96\x0e\x88\xe8\xb5\xda'), chr(7954 - 7854) + chr(1856 - 1755) + '\143' + chr(0b1101111) + '\x64' + chr(0b10001 + 0o124))('\165' + chr(116) + chr(0b1100011 + 0o3) + '\x2d' + '\070') in roI3spqORKae(z3eYlLYgGWvL, roI3spqORKae(ES5oEprVxulp(b'\xf2\xab\xcc\x05\xaf\xe8\x93\x81\xbc\x82\xd2\xb0'), chr(100) + chr(101) + '\x63' + '\x6f' + '\x64' + chr(0b1100101))(chr(0b1110101) + chr(116) + chr(0b1100110) + chr(45) + '\070')):
c7RydVE5Qw9u = z3eYlLYgGWvL[roI3spqORKae(ES5oEprVxulp(b'\xcb\xf7\x96\x0e\x88\xe8\xb5\xda'), '\x64' + '\145' + chr(3524 - 3425) + chr(0b1100001 + 0o16) + '\144' + chr(0b1100101))('\x75' + chr(0b1110100) + chr(4268 - 4166) + '\x2d' + chr(2230 - 2174))].dropna().G3de2eWQaS0D()
MGx0c8Slz2go = []
KhRkHqcJ2Ns1 = []
OO0tRW9aj_xh = mocO8sWgkzH7
bmJ7SvuZE3jD = nzTpIcepk0o8(chr(243 - 195) + chr(0b1101111) + chr(49), 8)
if tK4pYJbGWL1m not in roI3spqORKae(z3eYlLYgGWvL, roI3spqORKae(ES5oEprVxulp(b'\xf2\xab\xcc\x05\xaf\xe8\x93\x81\xbc\x82\xd2\xb0'), chr(100) + '\x65' + '\x63' + chr(8249 - 8138) + chr(0b1011001 + 0o13) + chr(0b1100101))(chr(5722 - 5605) + chr(0b1000101 + 0o57) + chr(0b1100011 + 0o3) + chr(0b100111 + 0o6) + chr(0b111000))):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x8a\xcf\xd8O\xb2\xee\xfa\xd0\xed\xac\x91\xa9V\xec\xd5\\\xa6\xca\xc8'), chr(100) + chr(0b11011 + 0o112) + chr(0b100010 + 0o101) + chr(111) + '\144' + '\145')('\x75' + '\164' + chr(8954 - 8852) + chr(45) + chr(0b100000 + 0o30)))
continue
z3eYlLYgGWvL = z3eYlLYgGWvL[z3eYlLYgGWvL[tK4pYJbGWL1m].notnull() & z3eYlLYgGWvL[ETmJ7QZlCfmw].notnull()]
if roI3spqORKae(z3eYlLYgGWvL, roI3spqORKae(ES5oEprVxulp(b'\xe2\xdd\x99_\xac\xf3\xa3\x8c\xfe\xb5\xea\xb0'), chr(100) + chr(219 - 118) + chr(0b11 + 0o140) + chr(111) + '\144' + chr(7929 - 7828))(chr(117) + '\x74' + '\x66' + chr(0b101101) + chr(56))):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x8a\xcf\xd8O\xb2\xee\xfa\xd0\xed\xac\x91\xa9V\xec\xd5\\\xa6\xca\xc8'), chr(0b111001 + 0o53) + '\145' + chr(7697 - 7598) + chr(10587 - 10476) + '\x64' + chr(651 - 550))(chr(117) + chr(3791 - 3675) + '\x66' + chr(0b11011 + 0o22) + chr(0b111000)))
continue
c7FJzf0TKi1V = N9zlRy29S1SS(ryt57olzQEqV.BJoJQqD1t_wx(roI3spqORKae(ES5oEprVxulp(b'\xcb\xf7\x96\x0e\x88\xe8\xb5\xda'), chr(0b1000001 + 0o43) + chr(101) + chr(0b1100011) + '\x6f' + chr(100) + chr(0b1100101))('\165' + chr(0b1000011 + 0o61) + chr(437 - 335) + chr(0b100111 + 0o6) + chr(2610 - 2554)), df_slice=z3eYlLYgGWvL))
f9ijNiPCpOFu = N9zlRy29S1SS(ryt57olzQEqV.BJoJQqD1t_wx(roI3spqORKae(ES5oEprVxulp(b'\xd4\xf1\x81\n'), chr(9202 - 9102) + '\x65' + chr(0b1100011) + '\157' + chr(0b101010 + 0o72) + chr(101))(chr(0b1110101) + '\164' + chr(0b1100110) + chr(1677 - 1632) + chr(0b11101 + 0o33)), df_slice=z3eYlLYgGWvL))
wQI2PxGBYMEh = N9zlRy29S1SS(ryt57olzQEqV.BJoJQqD1t_wx(roI3spqORKae(ES5oEprVxulp(b'\xd4\xf9\x98\x1f\x90\xe4'), chr(0b1100100) + chr(0b1100101) + chr(0b1100011) + chr(0b10110 + 0o131) + '\x64' + chr(0b1100101))(chr(117) + chr(0b1110100) + chr(2260 - 2158) + chr(0b0 + 0o55) + '\070'), df_slice=z3eYlLYgGWvL))
EJPYhrC8WoVb = N9zlRy29S1SS(ryt57olzQEqV.BJoJQqD1t_wx(roI3spqORKae(ES5oEprVxulp(b'\xd4\xe8\x90\x0c\x95\xec\xbf\xda'), chr(2729 - 2629) + chr(0b11011 + 0o112) + chr(99) + chr(0b110 + 0o151) + '\144' + chr(0b101001 + 0o74))(chr(0b11100 + 0o131) + chr(8362 - 8246) + chr(0b1100110) + chr(45) + '\x38'), df_slice=z3eYlLYgGWvL))
if roI3spqORKae(ES5oEprVxulp(b'\xca\xfd\x81\x07\x93\xe5\x85\xd7\xe7\xab\xdb\xb3'), '\x64' + chr(0b100111 + 0o76) + chr(0b1100011) + '\x6f' + chr(0b1100100) + chr(251 - 150))('\x75' + '\164' + chr(0b10100 + 0o122) + chr(0b1010 + 0o43) + '\070') not in roI3spqORKae(z3eYlLYgGWvL, roI3spqORKae(ES5oEprVxulp(b'\xf2\xab\xcc\x05\xaf\xe8\x93\x81\xbc\x82\xd2\xb0'), chr(100) + chr(0b1100101) + '\x63' + chr(0b1000101 + 0o52) + chr(0b10101 + 0o117) + '\145')(chr(0b1110101) + '\164' + chr(102) + chr(294 - 249) + '\x38')):
z3eYlLYgGWvL[roI3spqORKae(ES5oEprVxulp(b'\xca\xfd\x81\x07\x93\xe5\x85\xd7\xe7\xab\xdb\xb3'), chr(0b111010 + 0o52) + '\145' + '\143' + '\x6f' + '\144' + '\145')(chr(0b1101111 + 0o6) + '\164' + chr(9288 - 9186) + chr(45) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(0b1100101) + chr(99) + chr(0b1101111) + chr(0b10001 + 0o123) + chr(0b101110 + 0o67))(chr(8500 - 8383) + '\164' + chr(102) + chr(45) + chr(56))
MGx0c8Slz2go = ryt57olzQEqV.get_di_block(df_slice=z3eYlLYgGWvL, tilt_corr=nKUAs3HG0RP8, excl=[roI3spqORKae(ES5oEprVxulp(b'\xe3\xdd\xd8-\xba\xd1'), chr(0b111001 + 0o53) + chr(0b1011001 + 0o14) + chr(2599 - 2500) + chr(111) + chr(4080 - 3980) + '\x65')(chr(117) + chr(0b101110 + 0o106) + '\x66' + chr(0b101010 + 0o3) + '\x38')], ignore_tilt=bJ9c5ym5o1Gc)
if OO0tRW9aj_xh == roI3spqORKae(ES5oEprVxulp(b'\xe6\xf4\x99'), chr(8971 - 8871) + chr(0b10111 + 0o116) + '\143' + chr(3845 - 3734) + chr(3729 - 3629) + '\145')(chr(9322 - 9205) + '\164' + chr(0b1011110 + 0o10) + chr(0b101101) + chr(56)):
if ftfygxgFas5X(c7RydVE5Qw9u):
OO0tRW9aj_xh = roI3spqORKae(ES5oEprVxulp(b'\x87\xb4'), '\144' + chr(101) + chr(2239 - 2140) + '\157' + chr(100) + chr(101))(chr(0b1110101) + '\x74' + '\x66' + chr(0b11111 + 0o16) + chr(405 - 349)).Y4yM9BcfTCNq(c7RydVE5Qw9u) + roI3spqORKae(ES5oEprVxulp(b'\x87\xb5\xd5\x14\x81\xa1\xa1\xc9\xa8\xbf\xd2\xafL\xfb\x90\\'), chr(0b1100100) + chr(2226 - 2125) + chr(1403 - 1304) + chr(0b1101111) + '\144' + chr(101))(chr(0b1110101) + '\164' + chr(102) + '\055' + '\x38').q33KG3foQ_CJ(N9zlRy29S1SS(ftfygxgFas5X(MGx0c8Slz2go)), RpMFc4ifdtkX)
else:
OO0tRW9aj_xh = roI3spqORKae(ES5oEprVxulp(b'\xdc\xe5\xd5\x14\x81\xa1\xaa\xd8\xe7\xbb\xca\xa5\\'), chr(4168 - 4068) + chr(101) + chr(0b111 + 0o134) + '\157' + chr(0b1 + 0o143) + chr(2868 - 2767))(chr(2765 - 2648) + chr(9321 - 9205) + '\146' + chr(0b101101) + chr(0b0 + 0o70)).q33KG3foQ_CJ(N9zlRy29S1SS(ftfygxgFas5X(MGx0c8Slz2go)), RpMFc4ifdtkX)
J7ElBkoqVNYR = ryt57olzQEqV.get_records_for_code(roI3spqORKae(ES5oEprVxulp(b'\xe3\xdd\xd8-\xba\xd1'), '\x64' + chr(2970 - 2869) + chr(99) + '\x6f' + chr(100) + chr(0b101101 + 0o70))(chr(0b1110101) + chr(4797 - 4681) + chr(0b1100110) + '\x2d' + '\x38'), incl=nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b11 + 0o56), 8), use_slice=nzTpIcepk0o8('\060' + '\157' + chr(49), 8), sli=z3eYlLYgGWvL)
if ftfygxgFas5X(J7ElBkoqVNYR) > nzTpIcepk0o8('\060' + '\157' + chr(0b110000), 8):
Q4fuc6prUCsr = J7ElBkoqVNYR[dUxT_AwFUYaK] == nKUAs3HG0RP8
KhRkHqcJ2Ns1 = [[jLW6pRf2DSRk(o6UWUO21mH25[tK4pYJbGWL1m]), jLW6pRf2DSRk(o6UWUO21mH25[ETmJ7QZlCfmw])] for (w5vcgUzFN3bF, o6UWUO21mH25) in J7ElBkoqVNYR[Q4fuc6prUCsr].iterrows()]
if ftfygxgFas5X(MGx0c8Slz2go) > nzTpIcepk0o8(chr(0b1001 + 0o47) + '\157' + chr(48), 8):
if not AyBXIsYKwGw5:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xd7\xf4\x9a\x1b\xa3\xe4\xab'), chr(0b1011110 + 0o6) + '\x65' + chr(0b1100011) + chr(0b10 + 0o155) + chr(0b1100100) + '\145')(chr(0b1110101) + chr(0b1000010 + 0o62) + '\x66' + chr(553 - 508) + chr(56)))(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'\xc2\xe9\x94\x1d\x99\xe0'), '\x64' + chr(0b111101 + 0o50) + chr(348 - 249) + chr(0b111000 + 0o67) + '\144' + chr(7060 - 6959))(chr(117) + chr(0b1110011 + 0o1) + chr(0b1100110) + chr(0b101101) + chr(1804 - 1748))], MGx0c8Slz2go, OO0tRW9aj_xh)
else:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xd7\xf4\x9a\x1b\xa3\xe4\xab\xeb\xeb\xa0\xd0\xb4'), chr(100) + chr(101) + chr(0b1100011) + '\x6f' + '\x64' + '\x65')(chr(0b1010101 + 0o40) + chr(0b1110100) + chr(0b1100110) + chr(0b1000 + 0o45) + '\x38'))(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'\xc2\xe9\x94\x1d\x99\xe0'), chr(9706 - 9606) + '\145' + '\x63' + chr(111) + chr(0b10100 + 0o120) + chr(0b1100101))('\x75' + chr(0b1110100) + chr(102) + chr(1588 - 1543) + chr(2891 - 2835))], MGx0c8Slz2go, color_map=Hk4VO20cD14p)
else:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xd7\xf4\x9a\x1b\xa3\xef\xbf\xc0'), '\144' + '\x65' + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + '\x65')(chr(0b101011 + 0o112) + '\164' + chr(102) + chr(0b1110 + 0o37) + chr(1052 - 996)))(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'\xc2\xe9\x94\x1d\x99\xe0'), '\x64' + chr(0b1100101) + chr(5246 - 5147) + chr(111) + chr(6621 - 6521) + chr(101))('\x75' + chr(0b1110100) + chr(0b1100110) + chr(45) + chr(0b100000 + 0o30))])
if ftfygxgFas5X(KhRkHqcJ2Ns1) > nzTpIcepk0o8(chr(1779 - 1731) + chr(9616 - 9505) + chr(920 - 872), 8):
for FKO_XxLfWbYt in KhRkHqcJ2Ns1:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xd7\xf4\x9a\x1b\xa3\xe2\xb3\xc6\xeb'), chr(4175 - 4075) + chr(101) + chr(0b1010110 + 0o15) + '\x6f' + chr(8402 - 8302) + chr(101))('\x75' + chr(0b1110100) + chr(408 - 306) + '\055' + chr(0b11001 + 0o37)))(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'\xc2\xe9\x94\x1d\x99\xe0'), chr(899 - 799) + '\145' + chr(205 - 106) + '\157' + chr(0b1111 + 0o125) + chr(2511 - 2410))(chr(117) + chr(3022 - 2906) + chr(4003 - 3901) + chr(0b1010 + 0o43) + chr(56))], FKO_XxLfWbYt, 90.0, roI3spqORKae(ES5oEprVxulp(b'\xc0'), chr(0b1010101 + 0o17) + chr(0b111111 + 0o46) + chr(0b111001 + 0o52) + '\157' + chr(0b1100100) + '\145')('\165' + chr(10148 - 10032) + '\x66' + '\055' + '\x38'))
if ftfygxgFas5X(MGx0c8Slz2go) == nzTpIcepk0o8(chr(0b110000) + chr(0b1010000 + 0o37) + '\060', 8) and ftfygxgFas5X(KhRkHqcJ2Ns1) == nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(273 - 225), 8):
if TseISVdPlfdM:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xc9\xf7\xd5\x1d\x99\xe2\xb5\xc6\xec\xbc\x9e\xa6W\xfd\xd5H\xab\xd1\xdd\xccnk\xd5'), '\144' + '\x65' + chr(6235 - 6136) + chr(8837 - 8726) + chr(100) + chr(0b111 + 0o136))(chr(117) + '\164' + chr(102) + chr(1311 - 1266) + chr(0b111000)))
OpFpJUFlM4PU -= nzTpIcepk0o8(chr(83 - 35) + chr(111) + '\061', 8)
if roI3spqORKae(ES5oEprVxulp(b'\xc5\xfc\x9c\x1d\x8f'), chr(3612 - 3512) + '\x65' + '\x63' + chr(0b1101111) + '\144' + chr(8071 - 7970))('\x75' + chr(0b1010 + 0o152) + chr(0b1100110) + chr(0b101101) + chr(564 - 508)) in rKSToK9WUVwu:
OpFpJUFlM4PU -= nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b110001), 8)
continue
if rqABaJh7cMKB:
dQIwqFqsHkB0 = hUcsWwAd0nE_.doprinc(MGx0c8Slz2go)
(s_1tpV7xQM8l, w13PsznKg5lH, cLVeihfhYlRI, aRAikWC163Zq) = ([], [], [], [])
for FKO_XxLfWbYt in MGx0c8Slz2go:
aO7VavFy3Xvk = hUcsWwAd0nE_.aO7VavFy3Xvk([FKO_XxLfWbYt[nzTpIcepk0o8(chr(0b10011 + 0o35) + chr(0b111101 + 0o62) + chr(0b101010 + 0o6), 8)], FKO_XxLfWbYt[nzTpIcepk0o8(chr(1453 - 1405) + '\157' + '\x31', 8)]], [dQIwqFqsHkB0[roI3spqORKae(ES5oEprVxulp(b'\xc3\xfd\x96'), chr(8605 - 8505) + chr(101) + '\x63' + chr(0b100011 + 0o114) + '\144' + '\x65')('\165' + chr(0b1110100) + chr(102) + chr(1803 - 1758) + chr(56))], dQIwqFqsHkB0[roI3spqORKae(ES5oEprVxulp(b'\xce\xf6\x96'), chr(853 - 753) + '\x65' + '\x63' + '\x6f' + chr(0b110110 + 0o56) + chr(0b111010 + 0o53))(chr(0b1000000 + 0o65) + chr(116) + chr(0b1110 + 0o130) + chr(0b101101) + chr(56))]])
if aO7VavFy3Xvk > 90.0:
roI3spqORKae(w13PsznKg5lH, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), '\144' + chr(0b1010011 + 0o22) + '\143' + chr(9221 - 9110) + chr(100) + chr(101))(chr(117) + '\164' + chr(6957 - 6855) + chr(0b101101) + '\070'))(FKO_XxLfWbYt)
else:
roI3spqORKae(s_1tpV7xQM8l, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), chr(0b1100100) + '\145' + chr(0b1100011) + '\x6f' + '\x64' + chr(8250 - 8149))(chr(0b0 + 0o165) + '\164' + '\146' + '\055' + '\070'))(FKO_XxLfWbYt)
if Kt39bH0WF46E == roI3spqORKae(ES5oEprVxulp(b'\xe5'), chr(0b100101 + 0o77) + '\x65' + chr(0b1001010 + 0o31) + '\157' + chr(9635 - 9535) + chr(0b1100101))(chr(117) + '\164' + chr(0b1100110) + '\055' + '\070'):
kWSCSjlYfEoR = roI3spqORKae(ES5oEprVxulp(b'\xe5\xf1\x9b\x08\x94\xe0\xb7\x94\xeb\xa0\xd0\xa6Q\xeb\x90V\xa4\xdb\x89\xddki\xdbG\xc8A'), chr(100) + '\145' + '\143' + '\157' + chr(100) + chr(935 - 834))('\165' + '\x74' + '\146' + chr(0b11100 + 0o21) + chr(2069 - 2013))
Qp6mnF9UoJrx = hUcsWwAd0nE_.dobingham(MGx0c8Slz2go)
for QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(Qp6mnF9UoJrx, roI3spqORKae(ES5oEprVxulp(b'\xcc\xfd\x8c\x1c'), chr(1973 - 1873) + chr(5046 - 4945) + chr(99) + chr(111) + chr(0b1110 + 0o126) + chr(0b1011010 + 0o13))(chr(0b10100 + 0o141) + '\164' + chr(102) + '\x2d' + chr(1328 - 1272)))()):
if QYodcsDtoGq7 != roI3spqORKae(ES5oEprVxulp(b'\xc9'), '\x64' + chr(0b1100101) + chr(0b1100011) + chr(111) + chr(0b1011011 + 0o11) + chr(0b1100101))(chr(0b1110101) + '\164' + chr(0b1100110) + chr(1325 - 1280) + chr(0b111000)) and TseISVdPlfdM:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x87\xb8\xd5O'), '\144' + '\x65' + chr(2883 - 2784) + '\157' + chr(100) + '\x65')(chr(0b111001 + 0o74) + chr(6924 - 6808) + chr(0b1100010 + 0o4) + chr(1218 - 1173) + chr(0b111000)), QYodcsDtoGq7, roI3spqORKae(ES5oEprVxulp(b'\x82\xaf\xdb^\x9a'), chr(5428 - 5328) + '\145' + chr(5451 - 5352) + chr(111) + chr(100) + chr(0b1001000 + 0o35))(chr(117) + chr(0b100001 + 0o123) + chr(0b1100110) + chr(45) + '\070') % Qp6mnF9UoJrx[QYodcsDtoGq7])
if QYodcsDtoGq7 == roI3spqORKae(ES5oEprVxulp(b'\xc9'), '\x64' + chr(0b1001110 + 0o27) + chr(0b101011 + 0o70) + '\157' + chr(5564 - 5464) + '\x65')(chr(0b1110101) + chr(1543 - 1427) + chr(0b100 + 0o142) + '\x2d' + chr(0b111000)) and TseISVdPlfdM:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x87\xb8\xd5O'), '\x64' + '\x65' + chr(649 - 550) + chr(0b100010 + 0o115) + chr(100) + chr(0b101010 + 0o73))(chr(0b110011 + 0o102) + '\x74' + chr(0b101110 + 0o70) + chr(45) + chr(0b111000)), QYodcsDtoGq7, roI3spqORKae(ES5oEprVxulp(b'\x87\xb8\xd5O\xdc\xa1\xfa\x91\xe1'), chr(0b1100100) + '\x65' + chr(0b1100011) + chr(0b1100010 + 0o15) + '\144' + chr(3563 - 3462))('\165' + '\x74' + chr(0b11111 + 0o107) + '\055' + chr(0b11001 + 0o37)) % Qp6mnF9UoJrx[QYodcsDtoGq7])
roI3spqORKae(cLVeihfhYlRI, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), chr(100) + '\145' + chr(0b10111 + 0o114) + chr(111) + chr(0b1011010 + 0o12) + chr(101))('\165' + chr(116) + chr(0b1010001 + 0o25) + chr(0b101101) + chr(0b11 + 0o65)))(Qp6mnF9UoJrx[roI3spqORKae(ES5oEprVxulp(b'\xc3\xfd\x96'), chr(0b1100100) + chr(4060 - 3959) + chr(0b1100001 + 0o2) + '\x6f' + chr(6113 - 6013) + chr(0b1010000 + 0o25))(chr(0b110110 + 0o77) + chr(0b1010000 + 0o44) + chr(0b110000 + 0o66) + '\x2d' + chr(2832 - 2776))])
roI3spqORKae(cLVeihfhYlRI, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), '\x64' + '\x65' + chr(99) + '\157' + chr(100) + chr(0b1001100 + 0o31))(chr(0b1001100 + 0o51) + chr(116) + chr(0b100011 + 0o103) + chr(910 - 865) + '\x38'))(Qp6mnF9UoJrx[roI3spqORKae(ES5oEprVxulp(b'\xce\xf6\x96'), chr(0b100110 + 0o76) + chr(0b111000 + 0o55) + chr(0b1100011) + chr(0b1101111) + chr(100) + chr(8287 - 8186))('\x75' + chr(5569 - 5453) + chr(0b10010 + 0o124) + chr(0b101101) + '\x38')])
roI3spqORKae(cLVeihfhYlRI, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), chr(100) + chr(101) + '\x63' + '\x6f' + chr(0b1100100) + chr(0b1000100 + 0o41))(chr(0b1001010 + 0o53) + chr(0b11110 + 0o126) + chr(102) + '\x2d' + chr(56)))(Qp6mnF9UoJrx[roI3spqORKae(ES5oEprVxulp(b'\xfd\xfd\x81\x0e'), chr(100) + chr(0b110011 + 0o62) + '\x63' + chr(111) + '\x64' + chr(4624 - 4523))(chr(4167 - 4050) + chr(0b1000010 + 0o62) + '\146' + chr(45) + chr(0b1 + 0o67))])
roI3spqORKae(cLVeihfhYlRI, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), '\x64' + chr(5600 - 5499) + chr(0b111001 + 0o52) + chr(0b1011111 + 0o20) + '\x64' + chr(8741 - 8640))(chr(0b1110101) + chr(116) + '\x66' + '\x2d' + chr(0b100010 + 0o26)))(Qp6mnF9UoJrx[roI3spqORKae(ES5oEprVxulp(b'\xfd\xfc\x90\x0c'), chr(0b1100100) + chr(0b10 + 0o143) + '\143' + chr(0b101 + 0o152) + chr(100) + chr(101))(chr(0b1010000 + 0o45) + chr(0b1110100) + '\146' + chr(45) + '\070')])
roI3spqORKae(cLVeihfhYlRI, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), '\144' + '\x65' + chr(0b1010001 + 0o22) + chr(10492 - 10381) + chr(0b1010 + 0o132) + '\x65')('\165' + chr(5524 - 5408) + chr(7505 - 7403) + '\x2d' + '\x38'))(Qp6mnF9UoJrx[roI3spqORKae(ES5oEprVxulp(b'\xfd\xf1\x9b\x0c'), '\x64' + chr(0b101010 + 0o73) + chr(7736 - 7637) + chr(111) + '\x64' + chr(2604 - 2503))(chr(0b11001 + 0o134) + chr(116) + chr(180 - 78) + '\055' + chr(56))])
roI3spqORKae(cLVeihfhYlRI, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), chr(947 - 847) + '\x65' + '\x63' + chr(111) + '\144' + chr(441 - 340))('\x75' + '\x74' + '\x66' + chr(45) + '\x38'))(Qp6mnF9UoJrx[roI3spqORKae(ES5oEprVxulp(b'\xe2\xec\x94'), '\144' + chr(0b1011001 + 0o14) + chr(0b1010000 + 0o23) + chr(0b1101111) + chr(0b1010001 + 0o23) + chr(0b1100010 + 0o3))(chr(0b1000001 + 0o64) + '\164' + chr(8745 - 8643) + chr(1411 - 1366) + '\x38')])
roI3spqORKae(cLVeihfhYlRI, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), '\x64' + '\x65' + '\143' + chr(0b1101111) + '\x64' + '\x65')(chr(0b1110101) + chr(8525 - 8409) + chr(0b1100110) + chr(0b101101) + chr(0b111000)))(Qp6mnF9UoJrx[roI3spqORKae(ES5oEprVxulp(b'\xe2\xfc\x90\x0c'), '\144' + chr(0b1100101) + '\143' + '\157' + chr(1610 - 1510) + '\145')(chr(5816 - 5699) + '\x74' + chr(0b1001001 + 0o35) + chr(1322 - 1277) + chr(2023 - 1967))])
roI3spqORKae(cLVeihfhYlRI, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), '\x64' + chr(0b1011001 + 0o14) + chr(7223 - 7124) + chr(1969 - 1858) + chr(100) + chr(0b101100 + 0o71))(chr(3691 - 3574) + '\164' + chr(0b11 + 0o143) + chr(0b110 + 0o47) + chr(0b1000 + 0o60)))(Qp6mnF9UoJrx[roI3spqORKae(ES5oEprVxulp(b'\xe2\xf1\x9b\x0c'), chr(1197 - 1097) + chr(0b10110 + 0o117) + chr(3133 - 3034) + '\157' + chr(0b1100100) + chr(0b1100101))(chr(117) + chr(10325 - 10209) + chr(102) + '\055' + '\x38')])
if Kt39bH0WF46E == roI3spqORKae(ES5oEprVxulp(b'\xe1'), chr(0b100 + 0o140) + chr(3014 - 2913) + chr(99) + '\157' + chr(100) + '\145')(chr(117) + chr(11139 - 11023) + chr(223 - 121) + chr(427 - 382) + chr(0b111000)):
kWSCSjlYfEoR = roI3spqORKae(ES5oEprVxulp(b'\xe1\xf1\x86\x07\x99\xf3\xfa\xd7\xe7\xa1\xd8\xa9\\\xea\x9b[\xa2\x9e\xca\xd7i`'), chr(100) + chr(101) + '\x63' + '\157' + '\x64' + '\x65')('\x75' + chr(5430 - 5314) + chr(965 - 863) + chr(0b100111 + 0o6) + '\070')
if ftfygxgFas5X(s_1tpV7xQM8l) > nzTpIcepk0o8(chr(0b1000 + 0o50) + chr(0b1101111) + chr(2485 - 2435), 8):
G8tc4lB1X1ze = hUcsWwAd0nE_.fisher_mean(s_1tpV7xQM8l)
for QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(G8tc4lB1X1ze, roI3spqORKae(ES5oEprVxulp(b'\xcc\xfd\x8c\x1c'), '\144' + chr(101) + chr(99) + '\157' + '\144' + chr(0b1100101))('\x75' + chr(0b110111 + 0o75) + chr(102) + chr(45) + chr(56)))()):
if QYodcsDtoGq7 != roI3spqORKae(ES5oEprVxulp(b'\xc9'), chr(0b1100100) + chr(101) + chr(99) + chr(0b1011 + 0o144) + '\144' + chr(0b111001 + 0o54))('\x75' + chr(0b1110100) + '\x66' + chr(0b101101) + chr(0b1111 + 0o51)) and TseISVdPlfdM:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x87\xb8\xd5O'), '\144' + '\x65' + chr(0b1100011) + chr(3175 - 3064) + chr(100) + '\145')(chr(117) + chr(116) + chr(102) + '\055' + chr(56)), QYodcsDtoGq7, roI3spqORKae(ES5oEprVxulp(b'\x82\xaf\xdb^\x9a'), '\144' + chr(101) + '\143' + chr(0b1101111) + '\x64' + chr(0b100110 + 0o77))(chr(0b1110101) + '\164' + '\146' + chr(45) + '\x38') % G8tc4lB1X1ze[QYodcsDtoGq7])
if QYodcsDtoGq7 == roI3spqORKae(ES5oEprVxulp(b'\xc9'), chr(0b1100100) + chr(0b1001001 + 0o34) + '\143' + chr(0b1101111) + '\144' + chr(7952 - 7851))(chr(9168 - 9051) + chr(0b1110100) + '\x66' + chr(45) + '\070') and TseISVdPlfdM:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x87\xb8\xd5O'), chr(0b1100100 + 0o0) + chr(0b11100 + 0o111) + chr(592 - 493) + '\157' + chr(5826 - 5726) + chr(101))('\x75' + chr(2501 - 2385) + '\x66' + chr(160 - 115) + chr(56)), QYodcsDtoGq7, roI3spqORKae(ES5oEprVxulp(b'\x87\xb8\xd5O\xdc\xa1\xfa\x91\xe1'), chr(0b1100100) + chr(2043 - 1942) + chr(0b110110 + 0o55) + '\x6f' + chr(0b1100100) + '\x65')(chr(0b1110101) + chr(116) + chr(102) + chr(0b101101) + '\070') % G8tc4lB1X1ze[QYodcsDtoGq7])
bmJ7SvuZE3jD += nzTpIcepk0o8('\x30' + chr(6740 - 6629) + '\061', 8)
roI3spqORKae(cLVeihfhYlRI, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), '\144' + '\x65' + '\x63' + chr(7576 - 7465) + chr(0b100010 + 0o102) + chr(7971 - 7870))('\165' + chr(0b1000 + 0o154) + '\x66' + '\055' + '\x38'))(G8tc4lB1X1ze[roI3spqORKae(ES5oEprVxulp(b'\xc3\xfd\x96'), '\144' + chr(0b1100101) + '\x63' + chr(3657 - 3546) + chr(5209 - 5109) + chr(6090 - 5989))('\x75' + '\164' + '\x66' + '\x2d' + '\x38')])
roI3spqORKae(cLVeihfhYlRI, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), chr(0b101010 + 0o72) + '\x65' + chr(1662 - 1563) + chr(0b1101111) + chr(6890 - 6790) + '\x65')('\165' + chr(0b1010001 + 0o43) + chr(0b1100110) + chr(45) + '\x38'))(G8tc4lB1X1ze[roI3spqORKae(ES5oEprVxulp(b'\xce\xf6\x96'), chr(0b1100100) + '\x65' + '\143' + '\x6f' + '\144' + '\145')(chr(117) + '\164' + chr(4420 - 4318) + chr(0b101101) + chr(0b111000))])
roI3spqORKae(cLVeihfhYlRI, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), chr(520 - 420) + chr(10072 - 9971) + chr(7997 - 7898) + chr(0b1101111) + '\144' + '\x65')(chr(2346 - 2229) + chr(0b1110100) + '\146' + '\055' + chr(0b111000)))(G8tc4lB1X1ze[roI3spqORKae(ES5oEprVxulp(b'\xc6\xf4\x85\x07\x9d\xb8\xef'), '\144' + '\x65' + chr(0b1000 + 0o133) + '\x6f' + chr(0b110111 + 0o55) + chr(6459 - 6358))(chr(0b1101 + 0o150) + chr(116) + chr(8921 - 8819) + '\x2d' + chr(56))])
roI3spqORKae(cLVeihfhYlRI, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), '\x64' + chr(6280 - 6179) + chr(0b1100011) + chr(0b1100111 + 0o10) + chr(8117 - 8017) + '\145')('\165' + chr(0b1100011 + 0o21) + '\x66' + '\055' + '\x38'))(G8tc4lB1X1ze[roI3spqORKae(ES5oEprVxulp(b'\xc3\xfd\x96'), chr(100) + '\145' + chr(8977 - 8878) + '\x6f' + chr(0b1100100) + chr(101))('\x75' + '\164' + chr(102) + '\x2d' + '\x38')])
jbliWRK9qZEH = zQBGwUT7UU8L(G8tc4lB1X1ze[roI3spqORKae(ES5oEprVxulp(b'\xce\xf6\x96'), chr(0b1010010 + 0o22) + chr(0b1100101) + chr(99) + chr(111) + chr(6810 - 6710) + '\x65')(chr(9937 - 9820) + chr(11672 - 11556) + '\146' + '\055' + chr(56))]) / G8tc4lB1X1ze[roI3spqORKae(ES5oEprVxulp(b'\xce\xf6\x96'), chr(0b1000001 + 0o43) + '\145' + chr(0b1100011) + chr(111) + '\144' + chr(0b1100101))(chr(0b101100 + 0o111) + '\x74' + chr(0b1010100 + 0o22) + chr(1813 - 1768) + chr(0b1010 + 0o56))]
roI3spqORKae(cLVeihfhYlRI, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), chr(0b1100100) + '\x65' + chr(4479 - 4380) + chr(111) + chr(100) + '\145')(chr(6136 - 6019) + '\164' + '\146' + chr(0b1111 + 0o36) + chr(0b1 + 0o67)))(G8tc4lB1X1ze[roI3spqORKae(ES5oEprVxulp(b'\xce\xf6\x96'), chr(6388 - 6288) + '\145' + chr(0b1100011) + chr(0b1101111) + chr(100) + chr(7578 - 7477))(chr(117) + '\164' + '\x66' + chr(0b10000 + 0o35) + '\070')] - jbliWRK9qZEH * 90.0)
roI3spqORKae(cLVeihfhYlRI, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), chr(100) + '\145' + chr(4481 - 4382) + chr(111) + chr(0b1000000 + 0o44) + chr(0b1100100 + 0o1))(chr(0b10111 + 0o136) + chr(2343 - 2227) + chr(0b100101 + 0o101) + chr(45) + '\x38'))(G8tc4lB1X1ze[roI3spqORKae(ES5oEprVxulp(b'\xc6\xf4\x85\x07\x9d\xb8\xef'), '\x64' + chr(0b111110 + 0o47) + chr(7192 - 7093) + chr(0b1101111) + chr(0b1100100) + chr(6896 - 6795))(chr(117) + '\x74' + '\x66' + chr(737 - 692) + chr(1603 - 1547))])
roI3spqORKae(cLVeihfhYlRI, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), '\x64' + '\145' + chr(0b1100011) + '\x6f' + chr(6916 - 6816) + '\145')('\x75' + chr(0b1110100) + '\x66' + chr(45) + chr(1490 - 1434)))(G8tc4lB1X1ze[roI3spqORKae(ES5oEprVxulp(b'\xc3\xfd\x96'), '\144' + '\x65' + chr(99) + chr(5333 - 5222) + chr(100) + chr(0b1100101))('\165' + chr(0b1110100) + chr(0b100101 + 0o101) + chr(552 - 507) + chr(0b101011 + 0o15))] + 90.0)
roI3spqORKae(cLVeihfhYlRI, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), '\x64' + chr(101) + chr(0b110111 + 0o54) + chr(0b1101111) + chr(100) + chr(0b1100101))(chr(0b1110101) + chr(0b1001100 + 0o50) + chr(0b1100110) + chr(0b101101) + '\070'))(0.0)
if ftfygxgFas5X(w13PsznKg5lH) > nzTpIcepk0o8(chr(0b10100 + 0o34) + chr(0b1000101 + 0o52) + chr(876 - 826), 8):
G8tc4lB1X1ze = hUcsWwAd0nE_.fisher_mean(w13PsznKg5lH)
if TseISVdPlfdM:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xca\xf7\x91\n\xdc'), '\x64' + chr(101) + '\x63' + chr(0b1101111) + '\144' + chr(101))('\x75' + '\164' + '\146' + chr(0b101101) + '\070'), bmJ7SvuZE3jD)
for QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(G8tc4lB1X1ze, roI3spqORKae(ES5oEprVxulp(b'\xcc\xfd\x8c\x1c'), chr(4770 - 4670) + chr(0b1100101) + chr(99) + '\157' + chr(0b10000 + 0o124) + chr(0b1100101))(chr(117) + chr(0b1110100) + chr(3966 - 3864) + chr(0b101101) + chr(2075 - 2019)))()):
if QYodcsDtoGq7 != roI3spqORKae(ES5oEprVxulp(b'\xc9'), chr(5142 - 5042) + chr(101) + chr(99) + '\x6f' + '\144' + '\x65')(chr(0b1000100 + 0o61) + chr(116) + chr(0b1100110) + chr(0b100111 + 0o6) + '\070') and TseISVdPlfdM:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x87\xb8\xd5O'), '\144' + chr(6653 - 6552) + '\x63' + chr(111) + '\x64' + '\x65')('\x75' + chr(8175 - 8059) + chr(0b1100001 + 0o5) + chr(0b101101) + chr(0b1100 + 0o54)), QYodcsDtoGq7, roI3spqORKae(ES5oEprVxulp(b'\x82\xaf\xdb^\x9a'), chr(0b1100011 + 0o1) + '\x65' + chr(0b1100011) + chr(111) + chr(0b1100100) + chr(0b1000110 + 0o37))(chr(0b0 + 0o165) + chr(0b1110100) + chr(5541 - 5439) + chr(0b101101) + chr(0b111000)) % G8tc4lB1X1ze[QYodcsDtoGq7])
if QYodcsDtoGq7 == roI3spqORKae(ES5oEprVxulp(b'\xc9'), chr(8659 - 8559) + chr(0b1100101) + chr(4497 - 4398) + '\157' + chr(114 - 14) + chr(0b101001 + 0o74))(chr(117) + chr(0b101011 + 0o111) + chr(102) + chr(1572 - 1527) + '\x38') and TseISVdPlfdM:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x87\xb8\xd5O'), chr(0b1011101 + 0o7) + chr(6315 - 6214) + '\x63' + chr(111) + chr(1659 - 1559) + '\145')(chr(2422 - 2305) + chr(12882 - 12766) + chr(0b100000 + 0o106) + chr(0b101101) + chr(2761 - 2705)), QYodcsDtoGq7, roI3spqORKae(ES5oEprVxulp(b'\x87\xb8\xd5O\xdc\xa1\xfa\x91\xe1'), chr(0b1100100) + chr(10076 - 9975) + '\143' + '\x6f' + chr(0b1100100) + chr(101))(chr(117) + '\x74' + chr(0b11010 + 0o114) + '\055' + chr(0b110110 + 0o2)) % G8tc4lB1X1ze[QYodcsDtoGq7])
bmJ7SvuZE3jD += nzTpIcepk0o8(chr(48) + chr(0b111100 + 0o63) + chr(0b1101 + 0o44), 8)
roI3spqORKae(aRAikWC163Zq, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), '\144' + chr(101) + chr(0b100001 + 0o102) + '\x6f' + '\144' + '\x65')('\165' + '\164' + chr(0b111001 + 0o55) + chr(0b101101) + chr(0b100101 + 0o23)))(G8tc4lB1X1ze[roI3spqORKae(ES5oEprVxulp(b'\xc3\xfd\x96'), '\x64' + '\145' + chr(0b1100011) + chr(0b100010 + 0o115) + chr(0b1011110 + 0o6) + chr(0b1100101))(chr(12467 - 12350) + '\x74' + chr(102) + chr(45) + chr(2952 - 2896))])
roI3spqORKae(aRAikWC163Zq, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), chr(9477 - 9377) + chr(101) + chr(9000 - 8901) + '\x6f' + chr(0b1100010 + 0o2) + '\145')(chr(8114 - 7997) + '\x74' + chr(102) + chr(0b101101) + chr(56)))(G8tc4lB1X1ze[roI3spqORKae(ES5oEprVxulp(b'\xce\xf6\x96'), chr(0b1100100) + chr(8985 - 8884) + chr(0b1100011) + '\157' + chr(0b10111 + 0o115) + chr(0b1100101))(chr(0b1011100 + 0o31) + chr(0b0 + 0o164) + chr(102) + '\055' + chr(56))])
roI3spqORKae(aRAikWC163Zq, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), chr(0b1100100) + '\145' + chr(4856 - 4757) + '\x6f' + chr(100) + chr(2601 - 2500))(chr(10166 - 10049) + chr(352 - 236) + chr(0b1100110) + chr(45) + chr(1602 - 1546)))(G8tc4lB1X1ze[roI3spqORKae(ES5oEprVxulp(b'\xc6\xf4\x85\x07\x9d\xb8\xef'), '\x64' + chr(0b1100101) + '\143' + chr(610 - 499) + chr(0b1000000 + 0o44) + chr(0b1000001 + 0o44))(chr(117) + chr(0b1010011 + 0o41) + chr(0b1100110) + chr(1426 - 1381) + '\x38')])
roI3spqORKae(aRAikWC163Zq, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), chr(7899 - 7799) + chr(101) + chr(991 - 892) + '\157' + chr(7670 - 7570) + chr(0b1100101))('\165' + chr(0b1110100) + '\x66' + chr(0b100 + 0o51) + chr(0b0 + 0o70)))(G8tc4lB1X1ze[roI3spqORKae(ES5oEprVxulp(b'\xc3\xfd\x96'), chr(9972 - 9872) + chr(0b1011111 + 0o6) + '\143' + '\x6f' + chr(732 - 632) + '\x65')('\165' + chr(8813 - 8697) + chr(0b101101 + 0o71) + chr(0b101101) + '\x38')])
jbliWRK9qZEH = zQBGwUT7UU8L(G8tc4lB1X1ze[roI3spqORKae(ES5oEprVxulp(b'\xce\xf6\x96'), chr(0b1010101 + 0o17) + '\x65' + chr(8797 - 8698) + chr(0b1101111) + chr(0b1001110 + 0o26) + chr(101))(chr(117) + chr(0b100111 + 0o115) + chr(6600 - 6498) + chr(0b100 + 0o51) + '\x38')]) / G8tc4lB1X1ze[roI3spqORKae(ES5oEprVxulp(b'\xce\xf6\x96'), '\x64' + chr(8221 - 8120) + chr(0b100010 + 0o101) + chr(111) + chr(100) + chr(0b101111 + 0o66))(chr(10752 - 10635) + '\x74' + chr(2508 - 2406) + chr(0b101101) + '\070')]
roI3spqORKae(aRAikWC163Zq, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), chr(100) + chr(0b110110 + 0o57) + chr(0b1100011) + '\157' + '\144' + chr(0b100011 + 0o102))(chr(8345 - 8228) + chr(116) + '\146' + chr(0b101101) + chr(56)))(G8tc4lB1X1ze[roI3spqORKae(ES5oEprVxulp(b'\xce\xf6\x96'), chr(0b101110 + 0o66) + chr(101) + chr(4828 - 4729) + chr(807 - 696) + chr(9633 - 9533) + chr(101))(chr(10258 - 10141) + '\164' + chr(839 - 737) + chr(45) + chr(2124 - 2068))] - jbliWRK9qZEH * 90.0)
roI3spqORKae(aRAikWC163Zq, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), '\x64' + '\x65' + chr(0b1000101 + 0o36) + chr(5764 - 5653) + chr(0b1000100 + 0o40) + '\145')(chr(6463 - 6346) + '\164' + chr(9194 - 9092) + chr(0b101101) + chr(0b111000)))(G8tc4lB1X1ze[roI3spqORKae(ES5oEprVxulp(b'\xc6\xf4\x85\x07\x9d\xb8\xef'), chr(0b1100100) + chr(4155 - 4054) + chr(0b111011 + 0o50) + chr(0b1101111) + '\144' + '\x65')(chr(13123 - 13006) + '\164' + chr(102) + chr(0b10010 + 0o33) + '\070')])
roI3spqORKae(aRAikWC163Zq, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), chr(100) + '\145' + chr(0b11011 + 0o110) + chr(111) + chr(0b11101 + 0o107) + chr(4152 - 4051))('\165' + chr(116) + chr(3320 - 3218) + '\x2d' + '\x38'))(G8tc4lB1X1ze[roI3spqORKae(ES5oEprVxulp(b'\xc3\xfd\x96'), chr(100) + chr(0b1100101) + '\x63' + '\157' + '\x64' + chr(101))(chr(117) + '\164' + '\x66' + '\055' + '\x38')] + 90.0)
roI3spqORKae(aRAikWC163Zq, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), chr(0b1100100) + '\x65' + '\x63' + '\157' + chr(116 - 16) + chr(0b111110 + 0o47))(chr(117) + chr(0b1010001 + 0o43) + chr(0b100 + 0o142) + '\x2d' + chr(56)))(0.0)
if Kt39bH0WF46E == roI3spqORKae(ES5oEprVxulp(b'\xec'), chr(0b1100100) + chr(7683 - 7582) + chr(99) + chr(111) + '\144' + chr(0b1011110 + 0o7))(chr(590 - 473) + '\x74' + '\146' + '\x2d' + chr(0b111000)):
kWSCSjlYfEoR = roI3spqORKae(ES5oEprVxulp(b'\xec\xfd\x9b\x1b\xdc\xe2\xb5\xda\xee\xa6\xda\xa5V\xec\x90\x18\xa2\xd2\xc5\xd1wv\xd7'), chr(100) + chr(0b1100101) + '\143' + chr(0b1101111) + chr(0b1100100) + chr(2620 - 2519))(chr(0b1110101) + chr(0b11111 + 0o125) + chr(0b110100 + 0o62) + chr(45) + chr(56))
if ftfygxgFas5X(s_1tpV7xQM8l) > nzTpIcepk0o8(chr(0b101 + 0o53) + chr(887 - 776) + chr(0b110011), 0b1000):
NApt9zr8TLa1 = hUcsWwAd0nE_.dokent(s_1tpV7xQM8l, ftfygxgFas5X(s_1tpV7xQM8l))
if TseISVdPlfdM:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xca\xf7\x91\n\xdc'), chr(0b1100100) + chr(8084 - 7983) + '\x63' + '\x6f' + chr(4205 - 4105) + '\145')(chr(0b1110101) + chr(0b1101011 + 0o11) + '\146' + chr(0b11001 + 0o24) + chr(56)), bmJ7SvuZE3jD)
for QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(NApt9zr8TLa1, roI3spqORKae(ES5oEprVxulp(b'\xcc\xfd\x8c\x1c'), chr(100) + '\145' + '\143' + '\x6f' + '\144' + chr(3337 - 3236))(chr(117) + chr(0b1110001 + 0o3) + chr(0b1011011 + 0o13) + '\055' + '\x38'))()):
if QYodcsDtoGq7 != roI3spqORKae(ES5oEprVxulp(b'\xc9'), chr(154 - 54) + '\145' + chr(5949 - 5850) + chr(0b1100010 + 0o15) + chr(0b1100100) + '\x65')(chr(3332 - 3215) + chr(0b110000 + 0o104) + chr(6196 - 6094) + chr(0b1010 + 0o43) + chr(0b100110 + 0o22)) and TseISVdPlfdM:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x87\xb8\xd5O'), '\x64' + chr(0b1100101) + chr(0b1100011) + chr(0b1011011 + 0o24) + '\x64' + chr(101))(chr(7558 - 7441) + chr(0b1110100) + chr(102) + '\x2d' + chr(0b111000)), QYodcsDtoGq7, roI3spqORKae(ES5oEprVxulp(b'\x82\xaf\xdb^\x9a'), chr(0b1100100) + chr(101) + '\143' + chr(1465 - 1354) + '\144' + chr(101))(chr(11672 - 11555) + chr(116) + '\146' + chr(0b101101) + '\x38') % NApt9zr8TLa1[QYodcsDtoGq7])
if QYodcsDtoGq7 == roI3spqORKae(ES5oEprVxulp(b'\xc9'), chr(0b1100100) + chr(9483 - 9382) + chr(0b1100011) + chr(8011 - 7900) + chr(848 - 748) + chr(7520 - 7419))('\x75' + chr(0b1011110 + 0o26) + chr(7899 - 7797) + chr(45) + '\x38') and TseISVdPlfdM:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x87\xb8\xd5O'), '\x64' + '\x65' + chr(2892 - 2793) + chr(0b1101111) + '\144' + chr(0b1100101))(chr(0b1110101) + '\x74' + chr(102) + chr(0b101001 + 0o4) + chr(0b100111 + 0o21)), QYodcsDtoGq7, roI3spqORKae(ES5oEprVxulp(b'\x87\xb8\xd5O\xdc\xa1\xfa\x91\xe1'), chr(100) + chr(101) + chr(6220 - 6121) + chr(0b1101111) + chr(7458 - 7358) + '\145')('\x75' + chr(0b1000 + 0o154) + chr(102) + chr(1306 - 1261) + '\070') % NApt9zr8TLa1[QYodcsDtoGq7])
bmJ7SvuZE3jD += nzTpIcepk0o8(chr(0b1100 + 0o44) + '\x6f' + '\061', 8)
roI3spqORKae(cLVeihfhYlRI, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), chr(100) + '\x65' + '\143' + '\x6f' + chr(9706 - 9606) + '\x65')('\165' + '\164' + '\x66' + chr(67 - 22) + chr(56)))(NApt9zr8TLa1[roI3spqORKae(ES5oEprVxulp(b'\xc3\xfd\x96'), chr(8005 - 7905) + chr(4734 - 4633) + chr(0b1100011) + chr(0b111111 + 0o60) + chr(100) + '\x65')(chr(0b1001100 + 0o51) + '\164' + '\146' + '\x2d' + chr(0b11010 + 0o36))])
roI3spqORKae(cLVeihfhYlRI, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), chr(6349 - 6249) + '\145' + chr(0b1011010 + 0o11) + '\157' + '\x64' + '\145')('\165' + '\164' + chr(0b1011100 + 0o12) + chr(0b101101) + chr(576 - 520)))(NApt9zr8TLa1[roI3spqORKae(ES5oEprVxulp(b'\xce\xf6\x96'), chr(0b1000110 + 0o36) + chr(0b1100101) + chr(0b1100011) + chr(0b1101111) + chr(2327 - 2227) + '\x65')('\165' + chr(5618 - 5502) + '\146' + chr(1903 - 1858) + '\070')])
roI3spqORKae(cLVeihfhYlRI, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), '\144' + chr(0b1100101) + chr(6146 - 6047) + chr(111) + chr(7951 - 7851) + '\145')(chr(7963 - 7846) + '\x74' + chr(0b110100 + 0o62) + chr(0b101101) + chr(56)))(NApt9zr8TLa1[roI3spqORKae(ES5oEprVxulp(b'\xfd\xfd\x81\x0e'), '\144' + '\145' + chr(99) + '\157' + '\x64' + chr(101))(chr(0b1110101) + chr(1289 - 1173) + '\x66' + '\055' + '\x38')])
roI3spqORKae(cLVeihfhYlRI, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), chr(0b1100100) + '\145' + chr(99) + chr(0b1101111) + chr(100) + chr(482 - 381))(chr(0b100011 + 0o122) + '\x74' + '\146' + '\x2d' + '\x38'))(NApt9zr8TLa1[roI3spqORKae(ES5oEprVxulp(b'\xfd\xfc\x90\x0c'), chr(8010 - 7910) + '\145' + chr(4074 - 3975) + chr(0b1101111) + chr(2225 - 2125) + chr(0b11011 + 0o112))('\165' + chr(116) + '\146' + '\x2d' + chr(56))])
roI3spqORKae(cLVeihfhYlRI, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), '\144' + '\145' + chr(99) + chr(3254 - 3143) + chr(0b1000 + 0o134) + chr(0b1100101))(chr(0b1110101) + chr(116) + '\146' + chr(0b101101) + chr(0b100111 + 0o21)))(NApt9zr8TLa1[roI3spqORKae(ES5oEprVxulp(b'\xfd\xf1\x9b\x0c'), chr(0b110111 + 0o55) + chr(101) + '\x63' + chr(111) + '\x64' + '\145')(chr(4346 - 4229) + chr(5821 - 5705) + chr(102) + '\x2d' + '\x38')])
roI3spqORKae(cLVeihfhYlRI, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), '\x64' + '\145' + '\143' + chr(111) + chr(713 - 613) + '\x65')(chr(117) + chr(0b1101110 + 0o6) + chr(102) + '\x2d' + '\x38'))(NApt9zr8TLa1[roI3spqORKae(ES5oEprVxulp(b'\xe2\xec\x94'), chr(100) + '\x65' + '\x63' + chr(0b1 + 0o156) + chr(0b1100100) + '\145')(chr(0b101110 + 0o107) + '\x74' + '\x66' + chr(45) + '\x38')])
roI3spqORKae(cLVeihfhYlRI, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), '\x64' + chr(2751 - 2650) + chr(0b1100011) + chr(7275 - 7164) + chr(100) + chr(0b1100101))(chr(117) + chr(0b100 + 0o160) + chr(0b101 + 0o141) + chr(45) + chr(1937 - 1881)))(NApt9zr8TLa1[roI3spqORKae(ES5oEprVxulp(b'\xe2\xfc\x90\x0c'), chr(0b1100100) + '\145' + chr(0b1100011) + chr(122 - 11) + chr(100) + '\145')(chr(117) + '\x74' + chr(0b111 + 0o137) + '\055' + chr(804 - 748))])
roI3spqORKae(cLVeihfhYlRI, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), '\x64' + chr(0b1001000 + 0o35) + chr(7151 - 7052) + chr(5528 - 5417) + chr(0b1100100) + '\x65')('\165' + '\164' + chr(4589 - 4487) + chr(1874 - 1829) + chr(0b100001 + 0o27)))(NApt9zr8TLa1[roI3spqORKae(ES5oEprVxulp(b'\xe2\xf1\x9b\x0c'), '\x64' + chr(101) + '\143' + chr(0b100111 + 0o110) + chr(100) + chr(101))(chr(117) + chr(116) + chr(0b1100110) + chr(0b11111 + 0o16) + chr(136 - 80))])
if ftfygxgFas5X(w13PsznKg5lH) > nzTpIcepk0o8(chr(2185 - 2137) + '\x6f' + chr(0b110011), 8):
NApt9zr8TLa1 = hUcsWwAd0nE_.dokent(w13PsznKg5lH, ftfygxgFas5X(w13PsznKg5lH))
if TseISVdPlfdM:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xca\xf7\x91\n\xdc'), chr(100) + chr(101) + chr(99) + chr(111) + chr(0b1001011 + 0o31) + chr(101))(chr(117) + '\x74' + chr(102) + chr(0b101100 + 0o1) + chr(0b111000)), bmJ7SvuZE3jD)
for QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(NApt9zr8TLa1, roI3spqORKae(ES5oEprVxulp(b'\xcc\xfd\x8c\x1c'), chr(0b1100100) + '\x65' + chr(4130 - 4031) + chr(0b1101111) + chr(100) + chr(101))(chr(11038 - 10921) + chr(3690 - 3574) + chr(2474 - 2372) + '\x2d' + chr(0b111000)))()):
if QYodcsDtoGq7 != roI3spqORKae(ES5oEprVxulp(b'\xc9'), chr(8376 - 8276) + '\x65' + chr(0b1100011) + chr(0b1011010 + 0o25) + chr(1160 - 1060) + '\145')('\165' + chr(116) + chr(0b1100110) + chr(0b10110 + 0o27) + chr(56)) and TseISVdPlfdM:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x87\xb8\xd5O'), chr(0b1100100) + chr(0b1100101) + chr(0b1101 + 0o126) + chr(0b1101111) + chr(0b1100000 + 0o4) + chr(0b1100101))('\165' + chr(0b1110100) + chr(0b111000 + 0o56) + chr(0b111 + 0o46) + chr(0b111000)), QYodcsDtoGq7, roI3spqORKae(ES5oEprVxulp(b'\x82\xaf\xdb^\x9a'), '\144' + '\x65' + '\143' + chr(111) + '\x64' + chr(0b1100101))(chr(0b1110101) + '\x74' + chr(102) + '\055' + chr(2006 - 1950)) % NApt9zr8TLa1[QYodcsDtoGq7])
if QYodcsDtoGq7 == roI3spqORKae(ES5oEprVxulp(b'\xc9'), chr(0b1100100) + chr(0b10000 + 0o125) + chr(99) + chr(3155 - 3044) + chr(0b1100100) + '\x65')(chr(117) + '\x74' + chr(8858 - 8756) + chr(45) + '\x38') and TseISVdPlfdM:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x87\xb8\xd5O'), chr(100) + chr(3335 - 3234) + chr(1275 - 1176) + chr(111) + chr(0b10011 + 0o121) + '\x65')(chr(2590 - 2473) + chr(0b11 + 0o161) + chr(0b1100110) + '\055' + '\x38'), QYodcsDtoGq7, roI3spqORKae(ES5oEprVxulp(b'\x87\xb8\xd5O\xdc\xa1\xfa\x91\xe1'), chr(0b1100100) + chr(101) + chr(0b1100011) + chr(7655 - 7544) + '\144' + chr(0b1100101))(chr(12079 - 11962) + '\x74' + chr(0b1100110) + chr(0b101101) + chr(56)) % NApt9zr8TLa1[QYodcsDtoGq7])
bmJ7SvuZE3jD += nzTpIcepk0o8('\x30' + '\x6f' + '\061', 8)
roI3spqORKae(aRAikWC163Zq, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), '\144' + '\145' + '\x63' + chr(8531 - 8420) + chr(0b1100100) + chr(0b101010 + 0o73))(chr(0b1110101) + '\x74' + '\x66' + '\055' + chr(0b111000 + 0o0)))(NApt9zr8TLa1[roI3spqORKae(ES5oEprVxulp(b'\xc3\xfd\x96'), chr(0b1001010 + 0o32) + '\x65' + chr(99) + chr(0b1101111) + '\x64' + chr(1590 - 1489))('\x75' + chr(0b1110100) + chr(102) + chr(0b11110 + 0o17) + chr(1718 - 1662))])
roI3spqORKae(aRAikWC163Zq, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), '\x64' + chr(800 - 699) + chr(7983 - 7884) + chr(0b1101111) + '\144' + chr(101))(chr(0b1110101) + '\164' + '\x66' + chr(45) + chr(0b111000)))(NApt9zr8TLa1[roI3spqORKae(ES5oEprVxulp(b'\xce\xf6\x96'), chr(0b1100100) + chr(0b1100101) + chr(99) + chr(9600 - 9489) + chr(3849 - 3749) + chr(101))(chr(0b1110101) + chr(0b1110100) + chr(102) + chr(0b101101) + '\x38')])
roI3spqORKae(aRAikWC163Zq, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), '\144' + chr(0b1011001 + 0o14) + chr(0b11101 + 0o106) + chr(854 - 743) + chr(1641 - 1541) + chr(0b1100101))(chr(10262 - 10145) + chr(0b1110100) + chr(1873 - 1771) + chr(45) + '\x38'))(NApt9zr8TLa1[roI3spqORKae(ES5oEprVxulp(b'\xfd\xfd\x81\x0e'), '\144' + chr(0b1100101) + '\143' + '\157' + chr(0b11100 + 0o110) + chr(0b1011101 + 0o10))('\x75' + chr(0b1110100) + chr(9755 - 9653) + '\055' + chr(2210 - 2154))])
roI3spqORKae(aRAikWC163Zq, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), '\144' + '\145' + '\143' + chr(0b110001 + 0o76) + chr(0b1100100) + chr(6011 - 5910))('\165' + '\x74' + chr(0b1100110) + chr(273 - 228) + chr(0b110 + 0o62)))(NApt9zr8TLa1[roI3spqORKae(ES5oEprVxulp(b'\xfd\xfc\x90\x0c'), chr(0b1100000 + 0o4) + chr(101) + chr(0b1100011) + chr(111) + '\144' + chr(9610 - 9509))('\165' + '\x74' + chr(0b1100110) + chr(45) + chr(56))])
roI3spqORKae(aRAikWC163Zq, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), chr(0b101101 + 0o67) + '\x65' + chr(0b1000111 + 0o34) + chr(5668 - 5557) + chr(0b1010100 + 0o20) + chr(101))('\165' + '\x74' + chr(0b10010 + 0o124) + chr(0b10 + 0o53) + '\070'))(NApt9zr8TLa1[roI3spqORKae(ES5oEprVxulp(b'\xfd\xf1\x9b\x0c'), chr(8542 - 8442) + chr(675 - 574) + '\x63' + '\x6f' + chr(100) + chr(0b1100101))('\165' + chr(0b1110100) + chr(0b1100110) + chr(884 - 839) + '\x38')])
roI3spqORKae(aRAikWC163Zq, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), chr(0b1100100) + chr(0b1100101) + chr(0b1100010 + 0o1) + chr(0b1101111) + chr(0b1100100) + '\145')('\165' + '\164' + '\146' + chr(0b101101) + chr(0b101101 + 0o13)))(NApt9zr8TLa1[roI3spqORKae(ES5oEprVxulp(b'\xe2\xec\x94'), chr(9210 - 9110) + chr(0b1100101) + '\x63' + chr(915 - 804) + chr(100) + chr(101))('\165' + chr(0b1110100) + chr(144 - 42) + '\x2d' + '\070')])
roI3spqORKae(aRAikWC163Zq, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), '\x64' + '\x65' + '\x63' + chr(0b1001000 + 0o47) + chr(0b100001 + 0o103) + chr(101))(chr(0b110010 + 0o103) + '\164' + chr(4202 - 4100) + chr(0b11 + 0o52) + '\x38'))(NApt9zr8TLa1[roI3spqORKae(ES5oEprVxulp(b'\xe2\xfc\x90\x0c'), chr(0b101001 + 0o73) + '\x65' + '\x63' + chr(12239 - 12128) + chr(8324 - 8224) + '\x65')(chr(0b1101000 + 0o15) + chr(116) + chr(1646 - 1544) + '\x2d' + '\070')])
roI3spqORKae(aRAikWC163Zq, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), chr(0b101110 + 0o66) + '\x65' + chr(0b1100011) + chr(1441 - 1330) + '\x64' + chr(0b1100101))(chr(0b1110101) + chr(10207 - 10091) + '\x66' + chr(0b1110 + 0o37) + chr(2154 - 2098)))(NApt9zr8TLa1[roI3spqORKae(ES5oEprVxulp(b'\xe2\xf1\x9b\x0c'), '\x64' + chr(9994 - 9893) + '\x63' + chr(0b1111 + 0o140) + '\144' + chr(0b1000001 + 0o44))(chr(0b1110101) + chr(0b1110100) + '\x66' + '\x2d' + chr(1136 - 1080))])
elif Kt39bH0WF46E == roI3spqORKae(ES5oEprVxulp(b'\xe5\xdd'), '\144' + '\145' + chr(0b1100011) + chr(0b1101111) + chr(0b10111 + 0o115) + chr(0b1100101))(chr(117) + chr(4272 - 4156) + chr(0b1100110) + chr(0b101101) + chr(56)):
if ftfygxgFas5X(s_1tpV7xQM8l) > nzTpIcepk0o8(chr(0b1011 + 0o45) + chr(111) + chr(53), 8):
kVEjuq7S40Nt = hUcsWwAd0nE_.di_boot(s_1tpV7xQM8l)
jEvBSl4veXNj = hUcsWwAd0nE_.dokent(kVEjuq7S40Nt, 1.0)
if TseISVdPlfdM:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xca\xf7\x91\n\xdc'), chr(0b1100100) + chr(0b1100101) + chr(99) + chr(0b1011 + 0o144) + chr(0b1100100) + '\x65')(chr(13064 - 12947) + '\x74' + chr(0b1011001 + 0o15) + chr(1788 - 1743) + chr(2630 - 2574)), bmJ7SvuZE3jD)
for QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(jEvBSl4veXNj, roI3spqORKae(ES5oEprVxulp(b'\xcc\xfd\x8c\x1c'), '\144' + '\145' + chr(3778 - 3679) + chr(111) + '\144' + '\145')('\x75' + '\164' + chr(8603 - 8501) + chr(144 - 99) + chr(0b111000)))()):
if QYodcsDtoGq7 != roI3spqORKae(ES5oEprVxulp(b'\xc9'), '\144' + '\x65' + chr(99) + '\157' + chr(100) + chr(0b1100101))(chr(0b101100 + 0o111) + chr(0b1110100) + chr(102) + chr(0b100110 + 0o7) + chr(0b111000)) and TseISVdPlfdM:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x87\xb8\xd5O'), '\144' + '\145' + chr(7805 - 7706) + chr(4147 - 4036) + chr(9156 - 9056) + chr(5691 - 5590))(chr(0b1110101) + chr(0b1110100) + chr(102) + chr(0b101101) + '\070'), QYodcsDtoGq7, roI3spqORKae(ES5oEprVxulp(b'\x82\xaf\xdb^\x9a'), chr(8419 - 8319) + chr(5872 - 5771) + chr(99) + '\x6f' + '\144' + chr(0b1100101))(chr(0b1110101) + chr(116) + '\x66' + '\x2d' + '\070') % jEvBSl4veXNj[QYodcsDtoGq7])
if QYodcsDtoGq7 == roI3spqORKae(ES5oEprVxulp(b'\xc9'), chr(0b111100 + 0o50) + '\x65' + chr(99) + chr(0b1101111 + 0o0) + chr(100) + chr(101))(chr(0b1110101) + chr(116) + chr(4513 - 4411) + '\055' + '\070') and TseISVdPlfdM:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x87\xb8\xd5O'), '\x64' + chr(0b111100 + 0o51) + chr(99) + chr(2779 - 2668) + '\144' + '\145')(chr(117) + '\x74' + '\x66' + chr(1254 - 1209) + chr(0b111000)), QYodcsDtoGq7, roI3spqORKae(ES5oEprVxulp(b'\x87\xb8\xd5O\xdc\xa1\xfa\x91\xe1'), '\144' + '\x65' + '\x63' + chr(0b1010111 + 0o30) + '\x64' + '\145')('\165' + chr(116) + chr(102) + '\055' + chr(743 - 687)) % jEvBSl4veXNj[QYodcsDtoGq7])
bmJ7SvuZE3jD += nzTpIcepk0o8('\x30' + chr(0b1101111) + '\061', 8)
roI3spqORKae(cLVeihfhYlRI, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), chr(0b1100100) + chr(0b11100 + 0o111) + '\x63' + chr(2324 - 2213) + chr(0b10010 + 0o122) + '\x65')(chr(0b1110101) + chr(0b1110100) + '\x66' + '\055' + chr(0b111000)))(jEvBSl4veXNj[roI3spqORKae(ES5oEprVxulp(b'\xc3\xfd\x96'), chr(0b101101 + 0o67) + chr(8981 - 8880) + chr(0b1100011) + chr(0b1001000 + 0o47) + chr(3834 - 3734) + chr(0b1110 + 0o127))(chr(0b1110101) + '\164' + '\x66' + chr(0b100011 + 0o12) + '\x38')])
roI3spqORKae(cLVeihfhYlRI, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), '\144' + chr(9681 - 9580) + chr(8617 - 8518) + chr(111) + '\x64' + chr(0b1010000 + 0o25))('\x75' + chr(4523 - 4407) + chr(0b1100100 + 0o2) + '\055' + '\x38'))(jEvBSl4veXNj[roI3spqORKae(ES5oEprVxulp(b'\xce\xf6\x96'), chr(0b1011101 + 0o7) + '\x65' + chr(0b11111 + 0o104) + '\157' + chr(0b1100001 + 0o3) + chr(0b1100101))('\x75' + chr(0b100011 + 0o121) + chr(0b10011 + 0o123) + '\055' + '\x38')])
roI3spqORKae(cLVeihfhYlRI, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), '\144' + '\145' + chr(665 - 566) + '\x6f' + chr(100) + '\x65')('\x75' + chr(116) + chr(0b1001011 + 0o33) + '\x2d' + chr(0b111000)))(jEvBSl4veXNj[roI3spqORKae(ES5oEprVxulp(b'\xfd\xfd\x81\x0e'), chr(0b1100100) + chr(1857 - 1756) + '\x63' + chr(111) + '\x64' + chr(9813 - 9712))(chr(4866 - 4749) + chr(11816 - 11700) + '\146' + chr(0b101101) + '\070')])
roI3spqORKae(cLVeihfhYlRI, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), chr(0b1011011 + 0o11) + chr(5866 - 5765) + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + chr(0b10100 + 0o121))(chr(12500 - 12383) + chr(11300 - 11184) + chr(0b1100110) + '\x2d' + '\x38'))(jEvBSl4veXNj[roI3spqORKae(ES5oEprVxulp(b'\xfd\xfc\x90\x0c'), chr(4473 - 4373) + chr(0b1100101) + chr(0b1011000 + 0o13) + chr(111) + '\144' + '\x65')(chr(0b1110101) + chr(0b1110100) + '\146' + '\055' + chr(0b10100 + 0o44))])
roI3spqORKae(cLVeihfhYlRI, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), '\x64' + chr(0b11011 + 0o112) + '\143' + chr(111) + '\x64' + chr(0b110110 + 0o57))(chr(139 - 22) + '\x74' + chr(6819 - 6717) + chr(1444 - 1399) + chr(196 - 140)))(jEvBSl4veXNj[roI3spqORKae(ES5oEprVxulp(b'\xfd\xf1\x9b\x0c'), chr(100) + chr(8195 - 8094) + '\x63' + chr(0b1101111) + '\144' + chr(101))('\165' + chr(0b1110100) + '\146' + chr(0b101101) + chr(0b110011 + 0o5))])
roI3spqORKae(cLVeihfhYlRI, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), '\144' + '\x65' + chr(9375 - 9276) + chr(0b110000 + 0o77) + chr(100) + chr(0b101000 + 0o75))(chr(0b110111 + 0o76) + chr(0b1110100) + chr(6010 - 5908) + chr(0b101011 + 0o2) + '\070'))(jEvBSl4veXNj[roI3spqORKae(ES5oEprVxulp(b'\xe2\xec\x94'), chr(0b110001 + 0o63) + '\145' + chr(0b1100011) + chr(111) + '\x64' + chr(101))(chr(0b1110101) + '\164' + chr(0b11001 + 0o115) + chr(45) + chr(1269 - 1213))])
roI3spqORKae(cLVeihfhYlRI, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), chr(0b1100100) + chr(0b1100101) + chr(0b1001101 + 0o26) + chr(0b1101111) + chr(0b1001000 + 0o34) + '\145')(chr(0b1110101) + chr(0b1000010 + 0o62) + '\146' + chr(220 - 175) + chr(0b111000)))(jEvBSl4veXNj[roI3spqORKae(ES5oEprVxulp(b'\xe2\xfc\x90\x0c'), chr(0b1100100) + '\145' + chr(0b1100011) + '\157' + chr(8384 - 8284) + chr(9246 - 9145))(chr(1718 - 1601) + '\x74' + chr(0b1001001 + 0o35) + chr(45) + chr(56))])
roI3spqORKae(cLVeihfhYlRI, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), chr(0b100 + 0o140) + chr(101) + chr(1618 - 1519) + '\x6f' + '\144' + chr(0b1010011 + 0o22))('\x75' + chr(10665 - 10549) + '\146' + chr(828 - 783) + chr(0b111000)))(jEvBSl4veXNj[roI3spqORKae(ES5oEprVxulp(b'\xe2\xf1\x9b\x0c'), chr(2545 - 2445) + chr(101) + chr(0b1100011) + '\x6f' + '\144' + chr(101))(chr(8051 - 7934) + '\x74' + '\146' + chr(0b100000 + 0o15) + chr(0b110100 + 0o4))])
if ftfygxgFas5X(w13PsznKg5lH) > nzTpIcepk0o8('\x30' + chr(111) + '\x35', 8):
IRglSeRJqzCs = hUcsWwAd0nE_.di_boot(w13PsznKg5lH)
jEvBSl4veXNj = hUcsWwAd0nE_.dokent(IRglSeRJqzCs, 1.0)
if TseISVdPlfdM:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xca\xf7\x91\n\xdc'), '\144' + chr(0b1001111 + 0o26) + '\x63' + chr(0b1100 + 0o143) + chr(0b101101 + 0o67) + chr(0b1100101))('\x75' + '\x74' + '\146' + '\055' + chr(56)), bmJ7SvuZE3jD)
for QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(jEvBSl4veXNj, roI3spqORKae(ES5oEprVxulp(b'\xcc\xfd\x8c\x1c'), chr(3192 - 3092) + '\145' + chr(6044 - 5945) + '\157' + chr(100) + chr(0b1100101))('\x75' + chr(12582 - 12466) + chr(0b1000111 + 0o37) + chr(45) + chr(56)))()):
if QYodcsDtoGq7 != roI3spqORKae(ES5oEprVxulp(b'\xc9'), '\x64' + '\x65' + chr(99) + '\157' + '\144' + chr(101))(chr(117) + '\x74' + '\146' + chr(45) + chr(0b101101 + 0o13)) and TseISVdPlfdM:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x87\xb8\xd5O'), chr(0b10000 + 0o124) + chr(0b1100101) + chr(99) + chr(0b1101111) + chr(0b11111 + 0o105) + chr(101))(chr(0b1110101) + '\164' + chr(5525 - 5423) + '\x2d' + chr(56)), QYodcsDtoGq7, roI3spqORKae(ES5oEprVxulp(b'\x82\xaf\xdb^\x9a'), chr(100) + '\x65' + chr(99) + chr(7215 - 7104) + '\144' + chr(0b111010 + 0o53))(chr(0b1110101) + chr(0b1110100) + chr(4632 - 4530) + '\x2d' + '\x38') % jEvBSl4veXNj[QYodcsDtoGq7])
if QYodcsDtoGq7 == roI3spqORKae(ES5oEprVxulp(b'\xc9'), '\x64' + chr(5427 - 5326) + chr(99) + chr(111) + chr(0b1100100) + chr(0b1100101))('\165' + chr(0b1101011 + 0o11) + chr(102) + chr(45) + chr(2971 - 2915)) and TseISVdPlfdM:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x87\xb8\xd5O'), chr(0b100111 + 0o75) + chr(0b1100011 + 0o2) + chr(0b100110 + 0o75) + chr(4944 - 4833) + '\144' + chr(101))(chr(0b1110101) + chr(116) + chr(102) + chr(0b101101) + chr(880 - 824)), QYodcsDtoGq7, roI3spqORKae(ES5oEprVxulp(b'\x87\xb8\xd5O\xdc\xa1\xfa\x91\xe1'), chr(100) + chr(101) + '\x63' + '\157' + chr(0b11001 + 0o113) + '\145')(chr(117) + chr(116) + chr(0b1100110) + chr(45) + chr(56)) % jEvBSl4veXNj[QYodcsDtoGq7])
bmJ7SvuZE3jD += nzTpIcepk0o8(chr(1094 - 1046) + chr(111) + chr(49), 8)
roI3spqORKae(aRAikWC163Zq, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), chr(9705 - 9605) + '\145' + chr(0b1100011) + chr(111) + chr(0b11000 + 0o114) + chr(0b1100101))(chr(117) + chr(116) + chr(0b1100110) + chr(0b101 + 0o50) + '\070'))(jEvBSl4veXNj[roI3spqORKae(ES5oEprVxulp(b'\xc3\xfd\x96'), chr(100) + '\145' + chr(0b110101 + 0o56) + chr(0b1101111) + chr(136 - 36) + chr(101))(chr(0b101111 + 0o106) + chr(0b110100 + 0o100) + chr(8159 - 8057) + chr(0b101101) + chr(0b111000))])
roI3spqORKae(aRAikWC163Zq, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), chr(8532 - 8432) + '\145' + chr(1781 - 1682) + '\x6f' + chr(1825 - 1725) + '\x65')('\x75' + chr(6276 - 6160) + chr(102) + chr(342 - 297) + '\x38'))(jEvBSl4veXNj[roI3spqORKae(ES5oEprVxulp(b'\xce\xf6\x96'), chr(8515 - 8415) + chr(0b1100 + 0o131) + chr(0b1010111 + 0o14) + chr(0b1101111) + chr(100) + '\x65')(chr(117) + chr(5007 - 4891) + chr(0b1100110) + chr(0b101101) + chr(742 - 686))])
roI3spqORKae(aRAikWC163Zq, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), chr(9877 - 9777) + '\x65' + '\x63' + '\157' + '\x64' + chr(0b10001 + 0o124))('\x75' + '\164' + chr(102) + '\x2d' + '\x38'))(jEvBSl4veXNj[roI3spqORKae(ES5oEprVxulp(b'\xfd\xfd\x81\x0e'), chr(0b1100100) + chr(6066 - 5965) + chr(0b1100011) + chr(0b1010010 + 0o35) + chr(0b110111 + 0o55) + chr(0b1000111 + 0o36))(chr(117) + '\x74' + '\x66' + '\055' + '\070')])
roI3spqORKae(aRAikWC163Zq, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), '\x64' + '\x65' + chr(0b101 + 0o136) + chr(0b1101111) + chr(0b1001 + 0o133) + chr(0b1100100 + 0o1))(chr(117) + chr(116) + '\x66' + chr(45) + chr(0b11 + 0o65)))(jEvBSl4veXNj[roI3spqORKae(ES5oEprVxulp(b'\xfd\xfc\x90\x0c'), chr(0b111010 + 0o52) + '\x65' + chr(99) + '\x6f' + chr(1051 - 951) + chr(10079 - 9978))(chr(117) + chr(0b1110100) + chr(0b1100110) + chr(0b11011 + 0o22) + chr(56))])
roI3spqORKae(aRAikWC163Zq, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), chr(0b1100100) + chr(0b1100101) + '\x63' + '\x6f' + '\144' + chr(0b1100101))(chr(0b11100 + 0o131) + chr(0b1110011 + 0o1) + chr(0b101111 + 0o67) + chr(45) + chr(0b1 + 0o67)))(jEvBSl4veXNj[roI3spqORKae(ES5oEprVxulp(b'\xfd\xf1\x9b\x0c'), chr(0b1000110 + 0o36) + chr(101) + chr(0b1010110 + 0o15) + chr(0b1101111) + '\x64' + chr(0b1100101))(chr(0b111011 + 0o72) + '\164' + '\146' + '\x2d' + chr(2110 - 2054))])
roI3spqORKae(aRAikWC163Zq, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), chr(3898 - 3798) + '\x65' + chr(99) + chr(7345 - 7234) + '\x64' + chr(0b1100101))(chr(117) + chr(0b1110100) + chr(0b1010111 + 0o17) + chr(0b1110 + 0o37) + chr(0b111000)))(jEvBSl4veXNj[roI3spqORKae(ES5oEprVxulp(b'\xe2\xec\x94'), chr(398 - 298) + chr(0b1100101) + chr(0b1100011) + chr(111) + chr(0b100010 + 0o102) + '\x65')(chr(0b101101 + 0o110) + chr(116) + chr(0b1010010 + 0o24) + chr(0b101101) + chr(0b111000))])
roI3spqORKae(aRAikWC163Zq, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), chr(0b1001000 + 0o34) + chr(0b1100101) + chr(99) + chr(111) + chr(100) + chr(6193 - 6092))('\x75' + '\x74' + chr(102) + chr(1441 - 1396) + '\x38'))(jEvBSl4veXNj[roI3spqORKae(ES5oEprVxulp(b'\xe2\xfc\x90\x0c'), chr(0b1100100) + chr(101) + chr(0b1100011) + chr(0b1001010 + 0o45) + chr(100) + chr(0b1100101))(chr(117) + chr(0b1110100) + chr(4611 - 4509) + chr(376 - 331) + '\070')])
roI3spqORKae(aRAikWC163Zq, roI3spqORKae(ES5oEprVxulp(b'\xef\xcc\xa6[\x84\xe6\x9d\xdb\xe2\xa0\xeb\xf5'), chr(0b1100100) + '\x65' + chr(99) + chr(0b1101111) + '\144' + '\x65')(chr(117) + '\x74' + '\x66' + chr(171 - 126) + chr(56)))(jEvBSl4veXNj[roI3spqORKae(ES5oEprVxulp(b'\xe2\xf1\x9b\x0c'), chr(1445 - 1345) + chr(2548 - 2447) + chr(0b110100 + 0o57) + '\x6f' + '\144' + chr(0b1100101))(chr(117) + chr(0b1110100) + chr(0b1100110) + '\055' + chr(56))])
kWSCSjlYfEoR = roI3spqORKae(ES5oEprVxulp(b'\xe5\xf7\x9a\x1b\x8f\xf5\xa8\xd5\xf8\xbf\xdb\xa4\x18\xec\x9aV\xa1\xd7\xcd\xddif\xd7\x17\xdeH/k\xf3\x16o'), chr(100) + chr(5750 - 5649) + chr(7680 - 7581) + '\157' + '\x64' + '\x65')(chr(0b1110101) + chr(0b1011111 + 0o25) + chr(6181 - 6079) + '\055' + chr(0b111000))
elif Kt39bH0WF46E == roI3spqORKae(ES5oEprVxulp(b'\xe5\xce'), chr(100) + '\145' + '\x63' + chr(111) + '\x64' + chr(0b110 + 0o137))(chr(0b1110101) + '\x74' + chr(0b1100110) + '\x2d' + '\070'):
ap75Y_eaMZLk = {roI3spqORKae(ES5oEprVxulp(b'\xcb\xf7\x82\n\x8e'), '\144' + chr(101) + '\143' + chr(4309 - 4198) + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + '\x74' + chr(102) + '\x2d' + chr(3121 - 3065)): [roI3spqORKae(ES5oEprVxulp(b'\xc8'), chr(0b1100100) + '\x65' + chr(0b11110 + 0o105) + chr(111) + chr(2185 - 2085) + '\x65')(chr(0b100011 + 0o122) + '\164' + '\x66' + chr(0b11011 + 0o22) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xc4'), '\x64' + '\145' + chr(1708 - 1609) + chr(111) + chr(0b1000111 + 0o35) + '\x65')(chr(10594 - 10477) + '\x74' + '\146' + '\x2d' + chr(0b111000))], roI3spqORKae(ES5oEprVxulp(b'\xd2\xe8\x85\n\x8e'), chr(0b1010101 + 0o17) + chr(101) + chr(0b111011 + 0o50) + chr(8947 - 8836) + '\144' + chr(0b1001000 + 0o35))(chr(7785 - 7668) + chr(116) + chr(0b1100110) + chr(1331 - 1286) + '\x38'): [roI3spqORKae(ES5oEprVxulp(b'\xc8'), chr(7793 - 7693) + '\x65' + '\x63' + chr(111) + '\x64' + '\145')(chr(7187 - 7070) + chr(116) + chr(0b1100110) + '\x2d' + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xc0'), chr(0b1100100) + '\145' + chr(99) + '\x6f' + '\144' + chr(0b110100 + 0o61))('\x75' + chr(0b1110100) + chr(0b1100110) + chr(759 - 714) + chr(0b110011 + 0o5))], roI3spqORKae(ES5oEprVxulp(b'\xd4\xf1\x8f\n'), chr(0b1100100) + chr(0b1100101) + chr(0b1000010 + 0o41) + '\157' + chr(5808 - 5708) + chr(101))('\x75' + '\x74' + chr(0b1100110) + '\x2d' + '\x38'): nzTpIcepk0o8(chr(579 - 531) + chr(111) + '\063', 8), roI3spqORKae(ES5oEprVxulp(b'\xc2\xfc\x92\n\x9f\xee\xb6\xdb\xfa'), chr(0b1000010 + 0o42) + chr(3877 - 3776) + chr(662 - 563) + '\157' + chr(0b1000100 + 0o40) + '\x65')(chr(9640 - 9523) + chr(0b1110100) + chr(0b1100110) + chr(45) + chr(215 - 159)): roI3spqORKae(ES5oEprVxulp(b'\xc1\xf9\x96\n'), chr(100) + '\145' + '\x63' + '\157' + '\x64' + chr(0b1011 + 0o132))(chr(9217 - 9100) + chr(5595 - 5479) + '\x66' + '\x2d' + chr(56))}
if ftfygxgFas5X(s_1tpV7xQM8l) > nzTpIcepk0o8(chr(48) + chr(0b100100 + 0o113) + '\065', 8):
kVEjuq7S40Nt = hUcsWwAd0nE_.di_boot(s_1tpV7xQM8l)
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xd7\xf4\x9a\x1b\xa3\xe4\xab\xeb\xfb\xb6\xd3'), chr(9076 - 8976) + chr(0b110000 + 0o65) + chr(0b1100010 + 0o1) + '\157' + chr(0b111111 + 0o45) + '\x65')('\x75' + chr(116) + chr(102) + '\055' + chr(0b11010 + 0o36)))(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'\xc5\xfc\x9c\x1d\x8f'), '\x64' + chr(101) + chr(0b111010 + 0o51) + chr(0b1101111) + chr(0b110 + 0o136) + chr(0b1101 + 0o130))('\x75' + chr(0b1110 + 0o146) + chr(102) + chr(649 - 604) + chr(56))], kVEjuq7S40Nt, roI3spqORKae(ES5oEprVxulp(b'\xe5\xf7\x9a\x1b\x8f\xf5\xa8\xd5\xf8\xbf\xdb\xa4\x18\xca\x9c_\xa2\xd0\xdf\xdddq\xddE\xc8'), chr(100) + chr(8659 - 8558) + chr(99) + '\x6f' + '\x64' + '\x65')(chr(0b1110101) + chr(4520 - 4404) + '\146' + chr(45) + chr(2867 - 2811)), ap75Y_eaMZLk)
if ftfygxgFas5X(w13PsznKg5lH) > nzTpIcepk0o8(chr(707 - 659) + chr(0b1101111) + chr(2498 - 2445), 8):
IRglSeRJqzCs = hUcsWwAd0nE_.di_boot(w13PsznKg5lH)
if ftfygxgFas5X(s_1tpV7xQM8l) > nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b100001 + 0o24), 8):
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xd7\xf4\x9a\x1b\xa3\xe5\xb3\xeb\xfb\xb6\xd3'), chr(0b1100100) + '\x65' + '\x63' + chr(10959 - 10848) + chr(6129 - 6029) + chr(0b10000 + 0o125))(chr(0b1110101) + '\164' + chr(1782 - 1680) + '\055' + chr(2294 - 2238)))(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'\xc5\xfc\x9c\x1d\x8f'), chr(100) + chr(0b1100101) + '\143' + '\157' + chr(0b1100100) + chr(101))(chr(638 - 521) + '\x74' + chr(0b1100110) + chr(45) + chr(2667 - 2611))], IRglSeRJqzCs, ap75Y_eaMZLk)
else:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xd7\xf4\x9a\x1b\xa3\xe4\xab'), chr(100) + chr(0b1000111 + 0o36) + '\143' + chr(6049 - 5938) + chr(0b1100100) + chr(0b11101 + 0o110))('\x75' + '\x74' + chr(102) + chr(45) + chr(56)))(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'\xc5\xfc\x9c\x1d\x8f'), '\x64' + chr(0b1100101) + chr(6916 - 6817) + chr(0b1011101 + 0o22) + chr(100) + chr(0b1000101 + 0o40))('\165' + '\164' + '\x66' + chr(45) + chr(2792 - 2736))], IRglSeRJqzCs, roI3spqORKae(ES5oEprVxulp(b'\xe5\xf7\x9a\x1b\x8f\xf5\xa8\xd5\xf8\xbf\xdb\xa4\x18\xca\x9c_\xa2\xd0\xdf\xdddq\xddE\xc8'), chr(100) + '\x65' + '\143' + chr(0b1101111) + '\x64' + chr(0b1100101))(chr(117) + chr(4097 - 3981) + '\146' + chr(1633 - 1588) + chr(0b101000 + 0o20)))
if Kt39bH0WF46E == roI3spqORKae(ES5oEprVxulp(b'\xe5'), chr(4446 - 4346) + chr(0b1100101) + '\143' + chr(0b1001101 + 0o42) + chr(100) + '\x65')(chr(117) + '\x74' + chr(0b1100110) + chr(848 - 803) + chr(56)):
if ftfygxgFas5X(s_1tpV7xQM8l) > nzTpIcepk0o8(chr(0b101010 + 0o6) + chr(0b110100 + 0o73) + chr(0b10111 + 0o34), 8) or ftfygxgFas5X(w13PsznKg5lH) > nzTpIcepk0o8('\x30' + chr(11357 - 11246) + chr(515 - 464), 8):
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xd7\xf4\x9a\x1b\xa3\xe2\xb5\xda\xee'), chr(3409 - 3309) + chr(0b1100101) + '\143' + '\x6f' + '\144' + chr(0b1100101))(chr(0b111111 + 0o66) + chr(116) + chr(324 - 222) + chr(0b101101) + '\070'))(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'\xc2\xe9\x94\x1d\x99\xe0'), chr(0b1100100) + chr(0b1100101) + '\143' + chr(0b10010 + 0o135) + chr(0b1011010 + 0o12) + chr(1949 - 1848))('\x75' + chr(116) + '\x66' + chr(45) + chr(0b110001 + 0o7))], kWSCSjlYfEoR, [], cLVeihfhYlRI, nzTpIcepk0o8(chr(48) + '\x6f' + '\x30', 8))
elif ftfygxgFas5X(s_1tpV7xQM8l) > nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110011), 8) and Kt39bH0WF46E != roI3spqORKae(ES5oEprVxulp(b'\xe5\xce'), chr(266 - 166) + chr(0b1100101) + chr(0b1100011) + chr(0b1011101 + 0o22) + chr(4074 - 3974) + chr(4231 - 4130))(chr(4603 - 4486) + chr(0b1110100) + chr(0b111110 + 0o50) + chr(1304 - 1259) + '\x38'):
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xd7\xf4\x9a\x1b\xa3\xe2\xb5\xda\xee'), '\144' + '\x65' + '\143' + chr(0b1100010 + 0o15) + chr(938 - 838) + chr(0b1100101))(chr(0b1110101) + chr(0b101101 + 0o107) + chr(102) + chr(1887 - 1842) + chr(56)))(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'\xc2\xe9\x94\x1d\x99\xe0'), chr(0b1100100) + '\x65' + chr(4849 - 4750) + chr(111) + chr(100) + '\145')(chr(0b1100110 + 0o17) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(56))], kWSCSjlYfEoR, [], cLVeihfhYlRI, nzTpIcepk0o8(chr(48) + '\157' + chr(0b110000), 8))
if ftfygxgFas5X(w13PsznKg5lH) > nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b100 + 0o57), 8):
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xd7\xf4\x9a\x1b\xa3\xe2\xb5\xda\xee'), '\x64' + '\x65' + '\x63' + chr(0b1101111) + '\x64' + chr(0b1100000 + 0o5))(chr(117) + chr(0b110011 + 0o101) + chr(0b10 + 0o144) + chr(45) + chr(0b110101 + 0o3)))(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'\xc2\xe9\x94\x1d\x99\xe0'), chr(0b101010 + 0o72) + '\145' + chr(0b0 + 0o143) + chr(0b1101111) + '\144' + chr(0b1100101))(chr(0b1001 + 0o154) + chr(8238 - 8122) + '\x66' + '\x2d' + '\x38')], kWSCSjlYfEoR, [], aRAikWC163Zq, nzTpIcepk0o8(chr(0b110000) + '\157' + chr(1745 - 1697), 8))
elif ftfygxgFas5X(w13PsznKg5lH) > nzTpIcepk0o8(chr(48) + chr(536 - 425) + '\063', 8) and Kt39bH0WF46E != roI3spqORKae(ES5oEprVxulp(b'\xe5\xce'), '\x64' + chr(101) + '\143' + '\157' + chr(100) + '\x65')(chr(10715 - 10598) + chr(116) + chr(1816 - 1714) + chr(110 - 65) + chr(2491 - 2435)):
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xd7\xf4\x9a\x1b\xa3\xe2\xb5\xda\xee'), chr(0b1100100) + chr(7377 - 7276) + '\143' + '\x6f' + '\144' + chr(8622 - 8521))(chr(117) + '\x74' + chr(102) + chr(1701 - 1656) + chr(0b1000 + 0o60)))(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'\xc2\xe9\x94\x1d\x99\xe0'), chr(1868 - 1768) + chr(101) + '\143' + chr(0b1101111) + chr(0b1100001 + 0o3) + chr(0b1100101))('\165' + chr(0b1110100) + chr(0b1000110 + 0o40) + chr(45) + chr(56))], kWSCSjlYfEoR, [], aRAikWC163Zq, nzTpIcepk0o8(chr(1475 - 1427) + chr(4148 - 4037) + chr(48), 8))
for QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(rKSToK9WUVwu, roI3spqORKae(ES5oEprVxulp(b'\xcc\xfd\x8c\x1c'), '\144' + '\x65' + chr(0b110110 + 0o55) + '\x6f' + chr(9605 - 9505) + '\x65')(chr(0b1000 + 0o155) + chr(0b1000010 + 0o62) + '\146' + chr(0b101101) + chr(56)))()):
wR5_YWECjaY7 = {}
if roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xce\xeb\xa6\n\x8e\xf7\xbf\xc6'), chr(0b1100100) + chr(0b1100101) + chr(3876 - 3777) + '\157' + chr(0b1000 + 0o134) + '\145')(chr(0b1100111 + 0o16) + '\164' + '\x66' + chr(0b11110 + 0o17) + chr(1856 - 1800))):
if RJ4Uz5ItlJXF == roI3spqORKae(ES5oEprVxulp(b'\xc6\xf4\x99'), chr(0b1100100) + chr(2474 - 2373) + chr(99) + '\x6f' + chr(0b101100 + 0o70) + '\x65')(chr(207 - 90) + chr(0b1110100) + chr(102) + '\055' + chr(0b111000)):
FxZHtXEolYsL = roI3spqORKae(ES5oEprVxulp(b'\xeb\xd7\xcf0'), chr(0b1100100) + chr(0b101010 + 0o73) + chr(99) + chr(5613 - 5502) + chr(0b100 + 0o140) + chr(7839 - 7738))(chr(117) + chr(5350 - 5234) + chr(0b1100110) + chr(45) + chr(0b111000)) + c7FJzf0TKi1V + roI3spqORKae(ES5oEprVxulp(b'\xf8\xcb\xbcU\xa3\xde\x89\xf5\xb2\x90\xe1\x93h\xb5\xaag\x84\xf1\x93\xe7'), chr(8125 - 8025) + '\x65' + chr(0b1000001 + 0o42) + chr(0b111100 + 0o63) + chr(4657 - 4557) + chr(0b1001000 + 0o35))(chr(117) + chr(0b1110100) + chr(7947 - 7845) + '\055' + '\070') + px1MpgT0hYQ9 + roI3spqORKae(ES5oEprVxulp(b'\xf8\xcc\xacU\xa3'), chr(0b10100 + 0o120) + '\145' + chr(0b1100011) + '\x6f' + '\x64' + chr(0b1100101))(chr(0b1110101) + chr(116) + chr(427 - 325) + '\055' + chr(56)) + QYodcsDtoGq7 + roI3spqORKae(ES5oEprVxulp(b'\xf8\xb6'), '\x64' + '\145' + '\143' + '\x6f' + chr(5262 - 5162) + chr(9699 - 9598))('\x75' + chr(0b1001111 + 0o45) + '\146' + '\x2d' + chr(0b111000)) + JummcHpaNLEw
else:
FxZHtXEolYsL = roI3spqORKae(ES5oEprVxulp(b'\xeb\xd7\xcf0'), chr(7476 - 7376) + chr(0b1100101) + '\x63' + chr(0b1110 + 0o141) + chr(0b1011011 + 0o11) + chr(101))(chr(0b1111 + 0o146) + chr(0b1110100) + chr(0b10001 + 0o125) + '\x2d' + '\x38') + c7FJzf0TKi1V + roI3spqORKae(ES5oEprVxulp(b'\xf8\xcb\xbcU\xa3'), '\144' + chr(0b1011110 + 0o7) + chr(0b101101 + 0o66) + chr(111) + chr(0b110011 + 0o61) + chr(0b110111 + 0o56))(chr(0b1010000 + 0o45) + '\164' + chr(102) + chr(0b101101) + chr(56)) + f9ijNiPCpOFu + roI3spqORKae(ES5oEprVxulp(b'\xf8\xcb\xb4U\xa3'), chr(0b11011 + 0o111) + '\x65' + '\x63' + chr(4786 - 4675) + chr(6207 - 6107) + chr(0b1100101))('\165' + chr(0b1110100) + chr(8360 - 8258) + chr(0b10 + 0o53) + '\070') + wQI2PxGBYMEh + roI3spqORKae(ES5oEprVxulp(b'\xf8\xcb\xa5U\xa3'), '\144' + '\x65' + chr(7228 - 7129) + chr(1103 - 992) + '\144' + chr(8804 - 8703))(chr(0b1001001 + 0o54) + chr(0b1100001 + 0o23) + chr(572 - 470) + chr(0b101101) + '\070') + N9zlRy29S1SS(EJPYhrC8WoVb) + roI3spqORKae(ES5oEprVxulp(b'\xf8\xdb\xbaU\xa3'), '\x64' + chr(101) + '\x63' + chr(111) + '\144' + chr(101))(chr(0b10110 + 0o137) + '\x74' + '\146' + chr(0b1001 + 0o44) + '\070') + px1MpgT0hYQ9 + roI3spqORKae(ES5oEprVxulp(b'\xf8\xcc\xacU\xa3'), '\x64' + chr(0b100000 + 0o105) + chr(1198 - 1099) + chr(4520 - 4409) + '\x64' + '\x65')(chr(12792 - 12675) + '\164' + chr(0b1011 + 0o133) + chr(0b101000 + 0o5) + chr(56)) + QYodcsDtoGq7 + roI3spqORKae(ES5oEprVxulp(b'\xf8\xb6'), '\144' + chr(0b1100 + 0o131) + chr(7501 - 7402) + '\157' + chr(0b1100100) + '\145')('\165' + chr(0b1110100) + chr(8916 - 8814) + chr(45) + '\070') + JummcHpaNLEw
elif RJ4Uz5ItlJXF == roI3spqORKae(ES5oEprVxulp(b'\xc6\xf4\x99'), chr(0b1100100) + '\145' + '\143' + chr(0b1101101 + 0o2) + chr(0b1100100) + '\x65')(chr(0b1000100 + 0o61) + chr(0b1000011 + 0o61) + chr(0b1100110) + chr(0b101101) + chr(0b10001 + 0o47)):
FxZHtXEolYsL = roI3spqORKae(ES5oEprVxulp(b'\xc6\xf4\x99'), chr(3891 - 3791) + '\x65' + chr(0b1100011) + chr(0b1001011 + 0o44) + chr(0b1100100) + '\x65')('\x75' + '\x74' + chr(0b11010 + 0o114) + '\055' + chr(0b110001 + 0o7))
if c7RydVE5Qw9u:
ETlVYP_zuzpw = roI3spqORKae(ES5oEprVxulp(b'\xf8'), '\x64' + chr(101) + '\x63' + chr(0b11101 + 0o122) + '\144' + chr(101))(chr(117) + chr(13416 - 13300) + chr(0b100010 + 0o104) + '\x2d' + chr(2099 - 2043)).Y4yM9BcfTCNq([N9zlRy29S1SS(UQ8hRiBoHcn5).E91dbqOZXBpJ(roI3spqORKae(ES5oEprVxulp(b'\x87'), chr(0b1100100) + chr(0b1100101) + chr(0b1100011) + chr(0b1000110 + 0o51) + '\x64' + chr(101))(chr(0b1110011 + 0o2) + chr(116) + chr(0b100100 + 0o102) + chr(0b101101) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xf8'), chr(0b1100100) + '\x65' + '\143' + chr(111) + '\x64' + chr(0b1100101))(chr(117) + chr(116) + '\x66' + chr(0b101011 + 0o2) + '\x38')) for UQ8hRiBoHcn5 in c7RydVE5Qw9u])
FxZHtXEolYsL += roI3spqORKae(ES5oEprVxulp(b'\xf8'), '\144' + chr(0b1100101) + chr(6944 - 6845) + chr(0b1011000 + 0o27) + chr(0b1100100) + '\x65')(chr(117) + chr(0b1110100) + chr(102) + chr(0b101101) + chr(0b111000)) + ETlVYP_zuzpw
FxZHtXEolYsL += roI3spqORKae(ES5oEprVxulp(b'\xf8'), chr(0b1011011 + 0o11) + chr(5904 - 5803) + chr(99) + chr(0b1101111) + '\144' + chr(101))(chr(117) + chr(0b1010011 + 0o41) + '\x66' + chr(0b101101) + chr(0b111000)) + px1MpgT0hYQ9 + roI3spqORKae(ES5oEprVxulp(b'\xf8'), chr(0b1100100) + chr(0b1110 + 0o127) + chr(0b1100011) + '\x6f' + chr(7793 - 7693) + chr(101))(chr(117) + '\164' + chr(0b110101 + 0o61) + chr(0b11100 + 0o21) + chr(3113 - 3057)) + QYodcsDtoGq7
FxZHtXEolYsL += roI3spqORKae(ES5oEprVxulp(b'\x89\xe3\x88'), chr(100) + '\145' + chr(609 - 510) + chr(11787 - 11676) + chr(0b1011100 + 0o10) + chr(101))(chr(12945 - 12828) + chr(12064 - 11948) + chr(102) + '\055' + chr(0b10 + 0o66)).q33KG3foQ_CJ(JummcHpaNLEw)
else:
FxZHtXEolYsL = roI3spqORKae(ES5oEprVxulp(b''), chr(3058 - 2958) + '\145' + chr(4828 - 4729) + chr(8509 - 8398) + '\144' + '\x65')(chr(10492 - 10375) + chr(0b110001 + 0o103) + chr(0b101001 + 0o75) + chr(45) + chr(0b111000))
v2_AU2CBrB7h = {roI3spqORKae(ES5oEprVxulp(b'\xcb\xf7\x96\x0e\x88\xe8\xb5\xda'), chr(0b1100100) + chr(101) + chr(8308 - 8209) + chr(0b111011 + 0o64) + chr(0b10000 + 0o124) + chr(0b1000101 + 0o40))(chr(0b1011000 + 0o35) + chr(0b1110100) + chr(0b110100 + 0o62) + chr(0b101010 + 0o3) + '\070'): [c7FJzf0TKi1V], roI3spqORKae(ES5oEprVxulp(b'\xd4\xf1\x81\n'), chr(100) + chr(0b10001 + 0o124) + chr(0b11100 + 0o107) + '\157' + chr(0b1100100) + chr(101))(chr(0b1100010 + 0o23) + chr(9594 - 9478) + chr(0b1100110) + chr(45) + chr(0b11100 + 0o34)): [c7FJzf0TKi1V, f9ijNiPCpOFu], roI3spqORKae(ES5oEprVxulp(b'\xd4\xf9\x98\x1f\x90\xe4'), '\144' + chr(7731 - 7630) + chr(0b1000100 + 0o37) + '\157' + chr(600 - 500) + '\x65')(chr(0b10110 + 0o137) + chr(0b110 + 0o156) + '\x66' + '\x2d' + chr(0b111000)): [c7FJzf0TKi1V, f9ijNiPCpOFu, wQI2PxGBYMEh], roI3spqORKae(ES5oEprVxulp(b'\xd4\xe8\x90\x0c\x95\xec\xbf\xda'), '\x64' + '\x65' + '\x63' + chr(10221 - 10110) + '\x64' + chr(101))('\165' + chr(0b101000 + 0o114) + chr(0b1100110) + '\055' + chr(1032 - 976)): [c7FJzf0TKi1V, f9ijNiPCpOFu, wQI2PxGBYMEh, EJPYhrC8WoVb]}
qlc7Qw4n62hi = v2_AU2CBrB7h[RJ4Uz5ItlJXF]
roI3spqORKae(qlc7Qw4n62hi, roI3spqORKae(ES5oEprVxulp(b'\xf3\xc7\xc6"\x93\xe5\x96\xe3\xd7\x8d\xdc\xb1'), chr(100) + '\x65' + chr(0b101101 + 0o66) + chr(8247 - 8136) + chr(0b1100000 + 0o4) + '\x65')(chr(117) + chr(3702 - 3586) + chr(0b1111 + 0o127) + chr(45) + chr(0b111000)))([px1MpgT0hYQ9, QYodcsDtoGq7])
for IZ1I2J8X1CQz in qlc7Qw4n62hi:
if IZ1I2J8X1CQz:
IZ1I2J8X1CQz = IZ1I2J8X1CQz.E91dbqOZXBpJ(roI3spqORKae(ES5oEprVxulp(b'\x87'), '\144' + '\145' + chr(99) + '\x6f' + chr(0b1001100 + 0o30) + chr(101))(chr(117) + chr(7447 - 7331) + chr(102) + chr(0b10100 + 0o31) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xf8'), '\x64' + chr(0b1100101) + chr(0b111100 + 0o47) + chr(111) + chr(0b1000 + 0o134) + chr(4783 - 4682))(chr(117) + chr(0b11 + 0o161) + chr(4164 - 4062) + chr(0b10 + 0o53) + chr(0b111000)))
FxZHtXEolYsL += IZ1I2J8X1CQz + roI3spqORKae(ES5oEprVxulp(b'\xf8'), '\144' + chr(0b1001001 + 0o34) + chr(7980 - 7881) + chr(10134 - 10023) + chr(100) + '\145')(chr(7196 - 7079) + chr(5004 - 4888) + '\146' + '\055' + chr(0b10100 + 0o44))
if roI3spqORKae(FxZHtXEolYsL, roI3spqORKae(ES5oEprVxulp(b'\xee\xa1\x93$\xb5\xc2\x9b\xf8\xe9\xba\xf4\xb2'), chr(0b100000 + 0o104) + chr(0b1100101 + 0o0) + chr(99) + chr(2868 - 2757) + '\144' + chr(0b1100101))(chr(0b101101 + 0o110) + chr(11881 - 11765) + '\x66' + '\x2d' + chr(1818 - 1762)))(roI3spqORKae(ES5oEprVxulp(b'\xf8'), chr(0b1100100) + chr(8138 - 8037) + '\143' + '\x6f' + chr(100) + '\145')(chr(117) + chr(6065 - 5949) + '\146' + '\x2d' + '\070')):
FxZHtXEolYsL = FxZHtXEolYsL[:-nzTpIcepk0o8('\060' + '\157' + chr(0b110001), 8)]
FxZHtXEolYsL += roI3spqORKae(ES5oEprVxulp(b'\x89\xe3\x88'), chr(0b1001 + 0o133) + chr(101) + chr(0b1100011) + '\157' + chr(0b1100100) + chr(2457 - 2356))('\x75' + '\164' + chr(8037 - 7935) + '\055' + chr(0b100100 + 0o24)).q33KG3foQ_CJ(JummcHpaNLEw)
if not roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xce\xeb\xa6\n\x8e\xf7\xbf\xc6'), chr(5410 - 5310) + '\x65' + chr(99) + chr(5097 - 4986) + '\144' + chr(1269 - 1168))(chr(0b1110101) + chr(116) + '\146' + '\x2d' + '\x38')):
FxZHtXEolYsL = aHUqKstZLeS6.path.Y4yM9BcfTCNq(qjksZ7GK0xkJ, FxZHtXEolYsL)
wR5_YWECjaY7[QYodcsDtoGq7] = FxZHtXEolYsL
if roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xce\xeb\xa6\n\x8e\xf7\xbf\xc6'), chr(100) + chr(0b1100101) + chr(0b1100011) + chr(111) + chr(100) + '\x65')(chr(0b1110101) + chr(0b1110100) + '\146' + chr(0b11010 + 0o23) + chr(0b11101 + 0o33))):
SzNH87oHZc7X = {roI3spqORKae(ES5oEprVxulp(b'\xc2\xe9\x94\x1d\x99\xe0'), chr(0b1100100) + '\x65' + '\x63' + chr(0b1101111) + '\x64' + chr(101))(chr(117) + chr(5242 - 5126) + chr(4093 - 3991) + '\055' + chr(2351 - 2295)): roI3spqORKae(ES5oEprVxulp(b'\xe2\xe9\x80\x0e\x90\xa1\x9b\xc6\xed\xae\x9e\x90T\xe0\x81'), chr(0b1100100) + chr(0b100000 + 0o105) + chr(0b10101 + 0o116) + chr(111) + chr(1624 - 1524) + chr(0b1011111 + 0o6))(chr(0b1100101 + 0o20) + '\164' + '\146' + chr(0b101101) + chr(0b111000))}
rKSToK9WUVwu = o77KS_r9H7AX.add_borders(rKSToK9WUVwu, SzNH87oHZc7X, con_id=FBG2MCwkKg3g)
C3db3TMBsaHm = o77KS_r9H7AX.save_plots(rKSToK9WUVwu, wR5_YWECjaY7)
roI3spqORKae(n2yX1AgA9ol1, roI3spqORKae(ES5oEprVxulp(b'\xf3\xc7\xc6"\x93\xe5\x96\xe3\xd7\x8d\xdc\xb1'), chr(0b111110 + 0o46) + chr(0b1100101) + chr(5556 - 5457) + chr(0b111000 + 0o67) + chr(100) + chr(4225 - 4124))(chr(3613 - 3496) + '\164' + '\x66' + chr(0b1011 + 0o42) + chr(56)))(C3db3TMBsaHm)
elif bxxuZm4I6LgY:
C3db3TMBsaHm = o77KS_r9H7AX.save_plots(rKSToK9WUVwu, wR5_YWECjaY7, incl_directory=nzTpIcepk0o8(chr(48) + chr(0b1000011 + 0o54) + '\x31', 8))
roI3spqORKae(n2yX1AgA9ol1, roI3spqORKae(ES5oEprVxulp(b'\xf3\xc7\xc6"\x93\xe5\x96\xe3\xd7\x8d\xdc\xb1'), '\x64' + chr(101) + '\x63' + chr(0b1101111) + chr(100) + chr(7534 - 7433))('\x75' + '\164' + '\x66' + chr(1153 - 1108) + chr(0b110001 + 0o7)))(C3db3TMBsaHm)
continue
elif f4XDWm__k5ZA:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xc3\xea\x94\x18\xa3\xe7\xb3\xd3\xfb'), chr(100) + '\145' + '\x63' + '\157' + chr(100) + chr(101))(chr(117) + chr(0b1110100) + chr(0b1000110 + 0o40) + '\055' + '\070'))(rKSToK9WUVwu)
CMfsDQitQrpd = QnTXOd5N96r1(roI3spqORKae(ES5oEprVxulp(b'\x87\xcb\xae\x0e\xa1\xf7\xbf\x94\xfc\xa0\x9e\xb3Y\xf9\x90\x18\xb7\xd2\xc6\xcc+%\xe9F\xe6Q*v\xafEXr\xc2?\xafK_Y (\xc4\xf7\x9b\x1b\x95\xef\xaf\xd1\xb2\xef\x9e'), chr(0b111110 + 0o46) + chr(0b1011100 + 0o11) + chr(4945 - 4846) + chr(0b1101111) + chr(0b10001 + 0o123) + chr(4437 - 4336))(chr(0b101100 + 0o111) + chr(116) + chr(0b1100110) + chr(0b11001 + 0o24) + chr(0b0 + 0o70)))
if CMfsDQitQrpd == roI3spqORKae(ES5oEprVxulp(b'\xd6'), chr(5237 - 5137) + chr(0b0 + 0o145) + chr(4249 - 4150) + chr(0b111001 + 0o66) + chr(968 - 868) + '\145')(chr(0b10101 + 0o140) + '\x74' + '\x66' + '\055' + chr(0b1011 + 0o55)):
return (nzTpIcepk0o8(chr(48) + '\157' + '\061', 8), [])
if CMfsDQitQrpd == roI3spqORKae(ES5oEprVxulp(b'\xc6'), '\x64' + chr(1476 - 1375) + '\143' + chr(3575 - 3464) + chr(0b110111 + 0o55) + chr(8607 - 8506))(chr(0b110 + 0o157) + chr(0b1110100) + chr(102) + '\x2d' + chr(1425 - 1369)):
C3db3TMBsaHm = o77KS_r9H7AX.save_plots(rKSToK9WUVwu, wR5_YWECjaY7, incl_directory=nzTpIcepk0o8(chr(0b1000 + 0o50) + '\157' + '\061', 8))
roI3spqORKae(n2yX1AgA9ol1, roI3spqORKae(ES5oEprVxulp(b'\xf3\xc7\xc6"\x93\xe5\x96\xe3\xd7\x8d\xdc\xb1'), '\x64' + chr(0b1100101) + chr(1069 - 970) + chr(0b1101111) + chr(100) + chr(0b111100 + 0o51))('\x75' + chr(0b1110100) + '\146' + '\055' + '\x38'))(n2yX1AgA9ol1)
continue
return (nzTpIcepk0o8('\060' + '\x6f' + chr(0b110001), 8), n2yX1AgA9ol1)
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
polemap_magic
|
def polemap_magic(loc_file="locations.txt", dir_path=".", interactive=False, crd="",
sym='ro', symsize=40, rsym='g^', rsymsize=40,
fmt="pdf", res="c", proj="ortho",
flip=False, anti=False, fancy=False,
ell=False, ages=False, lat_0=90., lon_0=0., save_plots=True):
"""
Use a MagIC format locations table to plot poles.
Parameters
----------
loc_file : str, default "locations.txt"
dir_path : str, default "."
directory name to find loc_file in (if not included in loc_file)
interactive : bool, default False
if True, interactively plot and display
(this is best used on the command line only)
crd : str, default ""
coordinate system [g, t] (geographic, tilt_corrected)
sym : str, default "ro"
symbol color and shape, default red circles
(see matplotlib documentation for more options)
symsize : int, default 40
symbol size
rsym : str, default "g^"
symbol for plotting reverse poles
rsymsize : int, default 40
symbol size for reverse poles
fmt : str, default "pdf"
format for figures, ["svg", "jpg", "pdf", "png"]
res : str, default "c"
resolution [c, l, i, h] (crude, low, intermediate, high)
proj : str, default "ortho"
ortho = orthographic
lcc = lambert conformal
moll = molweide
merc = mercator
flip : bool, default False
if True, flip reverse poles to normal antipode
anti : bool, default False
if True, plot antipodes for each pole
fancy : bool, default False
if True, plot topography (not yet implementedj)
ell : bool, default False
if True, plot ellipses
ages : bool, default False
if True, plot ages
lat_0 : float, default 90.
eyeball latitude
lon_0 : float, default 0.
eyeball longitude
save_plots : bool, default True
if True, create and save all requested plots
"""
# initialize and format variables
saved = []
lats, lons = [], []
Pars = []
dates, rlats, rlons = [], [], []
polarities = []
if interactive:
save_plots = False
full_path = pmag.resolve_file_name(loc_file, dir_path)
dir_path, loc_file = os.path.split(full_path)
# create MagIC contribution
con = cb.Contribution(dir_path, single_file=loc_file)
if not list(con.tables.keys()):
print("-W - Couldn't read in data")
return False, "Couldn't read in data"
FIG = {'map': 1}
pmagplotlib.plot_init(FIG['map'], 6, 6)
pole_container = con.tables['locations']
pole_df = pole_container.df
if 'pole_lat' not in pole_df.columns or 'pole_lon' not in pole_df.columns:
print("-W- pole_lat and pole_lon are required columns to run polemap_magic.py")
return False, "pole_lat and pole_lon are required columns to run polemap_magic.py"
# use records with pole_lat and pole_lon
cond1, cond2 = pole_df['pole_lat'].notnull(), pole_df['pole_lon'].notnull()
Results = pole_df[cond1 & cond2]
# don't plot identical poles twice
Results.drop_duplicates(subset=['pole_lat', 'pole_lon', 'location'], inplace=True)
# use tilt correction if available
# prioritize tilt-corrected poles
if 'dir_tilt_correction' in Results.columns:
if not crd:
coords = Results['dir_tilt_correction'].unique()
if 100. in coords:
crd = 't'
elif 0. in coords:
crd = 'g'
else:
crd = ''
coord_dict = {'g': 0, 't': 100}
coord = coord_dict[crd] if crd else ""
# filter results by dir_tilt_correction if available
if (coord or coord == 0) and 'dir_tilt_correction' in Results.columns:
Results = Results[Results['dir_tilt_correction'] == coord]
# get location name and average ages
loc_list = Results['location'].values
locations = ":".join(Results['location'].unique())
if 'age' not in Results.columns and 'age_low' in Results.columns and 'age_high' in Results.columns:
Results['age'] = Results['age_low']+0.5 * \
(Results['age_high']-Results['age_low'])
if 'age' in Results.columns and ages:
dates = Results['age'].unique()
if not any(Results.index):
print("-W- No poles could be plotted")
return False, "No poles could be plotted"
# go through rows and extract data
for ind, row in Results.iterrows():
lat, lon = float(row['pole_lat']), float(row['pole_lon'])
if 'dir_polarity' in row:
polarities.append(row['dir_polarity'])
if anti:
lats.append(-lat)
lon = lon + 180.
if lon > 360:
lon = lon - 360.
lons.append(lon)
elif not flip:
lats.append(lat)
lons.append(lon)
elif flip:
if lat < 0:
rlats.append(-lat)
lon = lon + 180.
if lon > 360:
lon = lon - 360
rlons.append(lon)
else:
lats.append(lat)
lons.append(lon)
ppars = []
ppars.append(lon)
ppars.append(lat)
ell1, ell2 = "", ""
if 'pole_dm' in list(row.keys()) and row['pole_dm']:
ell1 = float(row['pole_dm'])
if 'pole_dp' in list(row.keys()) and row['pole_dp']:
ell2 = float(row['pole_dp'])
if 'pole_alpha95' in list(row.keys()) and row['pole_alpha95']:
ell1, ell2 = float(row['pole_alpha95']), float(row['pole_alpha95'])
if ell1 and ell2 and lons:
ppars = []
ppars.append(lons[-1])
ppars.append(lats[-1])
ppars.append(ell1)
ppars.append(lons[-1])
try:
isign = abs(lats[-1]) / lats[-1]
except ZeroDivisionError:
isign = 1
ppars.append(lats[-1] - isign * 90.)
ppars.append(ell2)
ppars.append(lons[-1] + 90.)
ppars.append(0.)
Pars.append(ppars)
locations = locations.strip(':')
Opts = {'latmin': -90, 'latmax': 90, 'lonmin': 0., 'lonmax': 360.,
'lat_0': lat_0, 'lon_0': lon_0, 'proj': proj, 'sym': 'b+',
'symsize': 40, 'pltgrid': 0, 'res': res, 'boundinglat': 0.,
'edgecolor': 'face'}
Opts['details'] = {'coasts': 1, 'rivers': 0, 'states': 0,
'countries': 0, 'ocean': 1, 'fancy': fancy}
base_Opts = Opts.copy()
# make the base map with a blue triangle at the pole
pmagplotlib.plot_map(FIG['map'], [90.], [0.], Opts)
#Opts['pltgrid'] = -1
if proj=='merc':Opts['pltgrid']=1
Opts['sym'] = sym
Opts['symsize'] = symsize
if len(dates) > 0:
Opts['names'] = dates
if len(lats) > 0:
pole_lats = []
pole_lons = []
for num, lat in enumerate(lats):
lon = lons[num]
if lat > 0:
pole_lats.append(lat)
pole_lons.append(lon)
# plot the lats and lons of the poles
pmagplotlib.plot_map(FIG['map'], pole_lats, pole_lons, Opts)
# do reverse poles
if len(rlats) > 0:
reverse_Opts = Opts.copy()
reverse_Opts['sym'] = rsym
reverse_Opts['symsize'] = rsymsize
reverse_Opts['edgecolor'] = 'black'
# plot the lats and lons of the reverse poles
pmagplotlib.plot_map(FIG['map'], rlats, rlons, reverse_Opts)
Opts['names'] = []
titles = {}
files = {}
if pmagplotlib.isServer:
# plot each indvidual pole for the server
for ind in range(len(lats)):
lat = lats[ind]
lon = lons[ind]
polarity = ""
if 'polarites' in locals():
polarity = polarities[ind]
polarity = "_" + polarity if polarity else ""
location = loc_list[ind]
FIG["map_{}".format(ind)] = ind+2
pmagplotlib.plot_init(FIG['map_{}'.format(ind)], 6, 6)
pmagplotlib.plot_map(FIG['map_{}'.format(ind)], [90.], [0.], base_Opts)
pmagplotlib.plot_map(ind+2, [lat], [lon], Opts)
titles["map_{}".format(ind)] = location
if crd:
fname = "LO:_{}{}_TY:_POLE_map_{}.{}".format(location, polarity, crd, fmt)
fname_short = "LO:_{}{}_TY:_POLE_map_{}".format(location, polarity, crd)
else:
fname = "LO:_{}{}_TY:_POLE_map.{}".format(location, polarity, fmt)
fname_short = "LO:_{}{}_TY:_POLE_map".format(location, polarity)
# don't allow identically named files
if files:
file_values = files.values()
file_values_short = [fname.rsplit('.')[0] for fname in file_values]
if fname_short in file_values_short:
for val in [str(n) for n in range(1, 10)]:
fname = fname_short + "_{}.".format(val) + fmt
if fname not in file_values:
break
files["map_{}".format(ind)] = fname
# truncate location names so that ultra long filenames are not created
if len(locations) > 50:
locations = locations[:50]
if pmagplotlib.isServer:
# use server plot naming convention
con_id = ''
if 'contribution' in con.tables:
# try to get contribution id
if 'id' in con.tables['contribution'].df.columns:
con_id = con.tables['contribution'].df.iloc[0]['id']
files['map'] = 'MC:_{}_TY:_POLE_map_{}.{}'.format(con_id, crd, fmt)
else:
# no contribution id available
files['map'] = 'LO:_' + locations + '_TY:_POLE_map_{}.{}'.format(crd, fmt)
else:
# use readable naming convention for non-database use
files['map'] = '{}_POLE_map_{}.{}'.format(locations, crd, fmt)
#
if interactive and (not set_env.IS_WIN):
pmagplotlib.draw_figs(FIG)
if ell: # add ellipses if desired.
Opts['details'] = {'coasts': 0, 'rivers': 0, 'states': 0,
'countries': 0, 'ocean': 0, 'fancy': fancy}
Opts['pltgrid'] = -1 # turn off meridian replotting
Opts['symsize'] = 2
Opts['sym'] = 'g-'
for ppars in Pars:
if ppars[2] != 0:
PTS = pmagplotlib.plot_ell(FIG['map'], ppars, 'g.', 0, 0)
elats, elons = [], []
for pt in PTS:
elons.append(pt[0])
elats.append(pt[1])
# make the base map with a blue triangle at the pole
pmagplotlib.plot_map(FIG['map'], elats, elons, Opts)
if interactive and (not set_env.IS_WIN):
pmagplotlib.draw_figs(FIG)
if pmagplotlib.isServer:
black = '#000000'
purple = '#800080'
titles['map'] = 'LO:_' + locations + '_POLE_map'
con_id = ''
if 'contribution' in con.tables:
if 'id' in con.tables['contribution'].df.columns:
con_id = con.tables['contribution'].df.iloc[0]['id']
loc_string = ""
if 'locations' in con.tables:
num_locs = len(con.tables['locations'].df.index.unique())
loc_string = "{} location{}".format(num_locs, 's' if num_locs > 1 else '')
num_lats = len([lat for lat in lats if lat > 0])
num_rlats = len(rlats)
npole_string = ""
rpole_string = ""
if num_lats:
npole_string = "{} normal ".format(num_lats) #, 's' if num_lats > 1 else '')
if num_rlats:
rpole_string = "{} reverse".format(num_rlats)
if num_lats + num_rlats > 1:
pole_string = "poles"
elif num_lats + num_rlats == 0:
pole_string = ""
else:
pole_string = "pole"
title = "MagIC contribution {}\n {} {}{} {}".format(con_id, loc_string, npole_string, rpole_string, pole_string)
titles['map'] = title.replace(' ', ' ')
FIG = pmagplotlib.add_borders(FIG, titles, black, purple, con_id)
saved = pmagplotlib.save_plots(FIG, files)
elif interactive:
pmagplotlib.draw_figs(FIG)
ans = input(" S[a]ve to save plot, Return to quit: ")
if ans == "a":
saved = pmagplotlib.save_plots(FIG, files)
else:
print("Good bye")
elif save_plots:
saved = pmagplotlib.save_plots(FIG, files)
return True, saved
|
python
|
def polemap_magic(loc_file="locations.txt", dir_path=".", interactive=False, crd="",
sym='ro', symsize=40, rsym='g^', rsymsize=40,
fmt="pdf", res="c", proj="ortho",
flip=False, anti=False, fancy=False,
ell=False, ages=False, lat_0=90., lon_0=0., save_plots=True):
"""
Use a MagIC format locations table to plot poles.
Parameters
----------
loc_file : str, default "locations.txt"
dir_path : str, default "."
directory name to find loc_file in (if not included in loc_file)
interactive : bool, default False
if True, interactively plot and display
(this is best used on the command line only)
crd : str, default ""
coordinate system [g, t] (geographic, tilt_corrected)
sym : str, default "ro"
symbol color and shape, default red circles
(see matplotlib documentation for more options)
symsize : int, default 40
symbol size
rsym : str, default "g^"
symbol for plotting reverse poles
rsymsize : int, default 40
symbol size for reverse poles
fmt : str, default "pdf"
format for figures, ["svg", "jpg", "pdf", "png"]
res : str, default "c"
resolution [c, l, i, h] (crude, low, intermediate, high)
proj : str, default "ortho"
ortho = orthographic
lcc = lambert conformal
moll = molweide
merc = mercator
flip : bool, default False
if True, flip reverse poles to normal antipode
anti : bool, default False
if True, plot antipodes for each pole
fancy : bool, default False
if True, plot topography (not yet implementedj)
ell : bool, default False
if True, plot ellipses
ages : bool, default False
if True, plot ages
lat_0 : float, default 90.
eyeball latitude
lon_0 : float, default 0.
eyeball longitude
save_plots : bool, default True
if True, create and save all requested plots
"""
# initialize and format variables
saved = []
lats, lons = [], []
Pars = []
dates, rlats, rlons = [], [], []
polarities = []
if interactive:
save_plots = False
full_path = pmag.resolve_file_name(loc_file, dir_path)
dir_path, loc_file = os.path.split(full_path)
# create MagIC contribution
con = cb.Contribution(dir_path, single_file=loc_file)
if not list(con.tables.keys()):
print("-W - Couldn't read in data")
return False, "Couldn't read in data"
FIG = {'map': 1}
pmagplotlib.plot_init(FIG['map'], 6, 6)
pole_container = con.tables['locations']
pole_df = pole_container.df
if 'pole_lat' not in pole_df.columns or 'pole_lon' not in pole_df.columns:
print("-W- pole_lat and pole_lon are required columns to run polemap_magic.py")
return False, "pole_lat and pole_lon are required columns to run polemap_magic.py"
# use records with pole_lat and pole_lon
cond1, cond2 = pole_df['pole_lat'].notnull(), pole_df['pole_lon'].notnull()
Results = pole_df[cond1 & cond2]
# don't plot identical poles twice
Results.drop_duplicates(subset=['pole_lat', 'pole_lon', 'location'], inplace=True)
# use tilt correction if available
# prioritize tilt-corrected poles
if 'dir_tilt_correction' in Results.columns:
if not crd:
coords = Results['dir_tilt_correction'].unique()
if 100. in coords:
crd = 't'
elif 0. in coords:
crd = 'g'
else:
crd = ''
coord_dict = {'g': 0, 't': 100}
coord = coord_dict[crd] if crd else ""
# filter results by dir_tilt_correction if available
if (coord or coord == 0) and 'dir_tilt_correction' in Results.columns:
Results = Results[Results['dir_tilt_correction'] == coord]
# get location name and average ages
loc_list = Results['location'].values
locations = ":".join(Results['location'].unique())
if 'age' not in Results.columns and 'age_low' in Results.columns and 'age_high' in Results.columns:
Results['age'] = Results['age_low']+0.5 * \
(Results['age_high']-Results['age_low'])
if 'age' in Results.columns and ages:
dates = Results['age'].unique()
if not any(Results.index):
print("-W- No poles could be plotted")
return False, "No poles could be plotted"
# go through rows and extract data
for ind, row in Results.iterrows():
lat, lon = float(row['pole_lat']), float(row['pole_lon'])
if 'dir_polarity' in row:
polarities.append(row['dir_polarity'])
if anti:
lats.append(-lat)
lon = lon + 180.
if lon > 360:
lon = lon - 360.
lons.append(lon)
elif not flip:
lats.append(lat)
lons.append(lon)
elif flip:
if lat < 0:
rlats.append(-lat)
lon = lon + 180.
if lon > 360:
lon = lon - 360
rlons.append(lon)
else:
lats.append(lat)
lons.append(lon)
ppars = []
ppars.append(lon)
ppars.append(lat)
ell1, ell2 = "", ""
if 'pole_dm' in list(row.keys()) and row['pole_dm']:
ell1 = float(row['pole_dm'])
if 'pole_dp' in list(row.keys()) and row['pole_dp']:
ell2 = float(row['pole_dp'])
if 'pole_alpha95' in list(row.keys()) and row['pole_alpha95']:
ell1, ell2 = float(row['pole_alpha95']), float(row['pole_alpha95'])
if ell1 and ell2 and lons:
ppars = []
ppars.append(lons[-1])
ppars.append(lats[-1])
ppars.append(ell1)
ppars.append(lons[-1])
try:
isign = abs(lats[-1]) / lats[-1]
except ZeroDivisionError:
isign = 1
ppars.append(lats[-1] - isign * 90.)
ppars.append(ell2)
ppars.append(lons[-1] + 90.)
ppars.append(0.)
Pars.append(ppars)
locations = locations.strip(':')
Opts = {'latmin': -90, 'latmax': 90, 'lonmin': 0., 'lonmax': 360.,
'lat_0': lat_0, 'lon_0': lon_0, 'proj': proj, 'sym': 'b+',
'symsize': 40, 'pltgrid': 0, 'res': res, 'boundinglat': 0.,
'edgecolor': 'face'}
Opts['details'] = {'coasts': 1, 'rivers': 0, 'states': 0,
'countries': 0, 'ocean': 1, 'fancy': fancy}
base_Opts = Opts.copy()
# make the base map with a blue triangle at the pole
pmagplotlib.plot_map(FIG['map'], [90.], [0.], Opts)
#Opts['pltgrid'] = -1
if proj=='merc':Opts['pltgrid']=1
Opts['sym'] = sym
Opts['symsize'] = symsize
if len(dates) > 0:
Opts['names'] = dates
if len(lats) > 0:
pole_lats = []
pole_lons = []
for num, lat in enumerate(lats):
lon = lons[num]
if lat > 0:
pole_lats.append(lat)
pole_lons.append(lon)
# plot the lats and lons of the poles
pmagplotlib.plot_map(FIG['map'], pole_lats, pole_lons, Opts)
# do reverse poles
if len(rlats) > 0:
reverse_Opts = Opts.copy()
reverse_Opts['sym'] = rsym
reverse_Opts['symsize'] = rsymsize
reverse_Opts['edgecolor'] = 'black'
# plot the lats and lons of the reverse poles
pmagplotlib.plot_map(FIG['map'], rlats, rlons, reverse_Opts)
Opts['names'] = []
titles = {}
files = {}
if pmagplotlib.isServer:
# plot each indvidual pole for the server
for ind in range(len(lats)):
lat = lats[ind]
lon = lons[ind]
polarity = ""
if 'polarites' in locals():
polarity = polarities[ind]
polarity = "_" + polarity if polarity else ""
location = loc_list[ind]
FIG["map_{}".format(ind)] = ind+2
pmagplotlib.plot_init(FIG['map_{}'.format(ind)], 6, 6)
pmagplotlib.plot_map(FIG['map_{}'.format(ind)], [90.], [0.], base_Opts)
pmagplotlib.plot_map(ind+2, [lat], [lon], Opts)
titles["map_{}".format(ind)] = location
if crd:
fname = "LO:_{}{}_TY:_POLE_map_{}.{}".format(location, polarity, crd, fmt)
fname_short = "LO:_{}{}_TY:_POLE_map_{}".format(location, polarity, crd)
else:
fname = "LO:_{}{}_TY:_POLE_map.{}".format(location, polarity, fmt)
fname_short = "LO:_{}{}_TY:_POLE_map".format(location, polarity)
# don't allow identically named files
if files:
file_values = files.values()
file_values_short = [fname.rsplit('.')[0] for fname in file_values]
if fname_short in file_values_short:
for val in [str(n) for n in range(1, 10)]:
fname = fname_short + "_{}.".format(val) + fmt
if fname not in file_values:
break
files["map_{}".format(ind)] = fname
# truncate location names so that ultra long filenames are not created
if len(locations) > 50:
locations = locations[:50]
if pmagplotlib.isServer:
# use server plot naming convention
con_id = ''
if 'contribution' in con.tables:
# try to get contribution id
if 'id' in con.tables['contribution'].df.columns:
con_id = con.tables['contribution'].df.iloc[0]['id']
files['map'] = 'MC:_{}_TY:_POLE_map_{}.{}'.format(con_id, crd, fmt)
else:
# no contribution id available
files['map'] = 'LO:_' + locations + '_TY:_POLE_map_{}.{}'.format(crd, fmt)
else:
# use readable naming convention for non-database use
files['map'] = '{}_POLE_map_{}.{}'.format(locations, crd, fmt)
#
if interactive and (not set_env.IS_WIN):
pmagplotlib.draw_figs(FIG)
if ell: # add ellipses if desired.
Opts['details'] = {'coasts': 0, 'rivers': 0, 'states': 0,
'countries': 0, 'ocean': 0, 'fancy': fancy}
Opts['pltgrid'] = -1 # turn off meridian replotting
Opts['symsize'] = 2
Opts['sym'] = 'g-'
for ppars in Pars:
if ppars[2] != 0:
PTS = pmagplotlib.plot_ell(FIG['map'], ppars, 'g.', 0, 0)
elats, elons = [], []
for pt in PTS:
elons.append(pt[0])
elats.append(pt[1])
# make the base map with a blue triangle at the pole
pmagplotlib.plot_map(FIG['map'], elats, elons, Opts)
if interactive and (not set_env.IS_WIN):
pmagplotlib.draw_figs(FIG)
if pmagplotlib.isServer:
black = '#000000'
purple = '#800080'
titles['map'] = 'LO:_' + locations + '_POLE_map'
con_id = ''
if 'contribution' in con.tables:
if 'id' in con.tables['contribution'].df.columns:
con_id = con.tables['contribution'].df.iloc[0]['id']
loc_string = ""
if 'locations' in con.tables:
num_locs = len(con.tables['locations'].df.index.unique())
loc_string = "{} location{}".format(num_locs, 's' if num_locs > 1 else '')
num_lats = len([lat for lat in lats if lat > 0])
num_rlats = len(rlats)
npole_string = ""
rpole_string = ""
if num_lats:
npole_string = "{} normal ".format(num_lats) #, 's' if num_lats > 1 else '')
if num_rlats:
rpole_string = "{} reverse".format(num_rlats)
if num_lats + num_rlats > 1:
pole_string = "poles"
elif num_lats + num_rlats == 0:
pole_string = ""
else:
pole_string = "pole"
title = "MagIC contribution {}\n {} {}{} {}".format(con_id, loc_string, npole_string, rpole_string, pole_string)
titles['map'] = title.replace(' ', ' ')
FIG = pmagplotlib.add_borders(FIG, titles, black, purple, con_id)
saved = pmagplotlib.save_plots(FIG, files)
elif interactive:
pmagplotlib.draw_figs(FIG)
ans = input(" S[a]ve to save plot, Return to quit: ")
if ans == "a":
saved = pmagplotlib.save_plots(FIG, files)
else:
print("Good bye")
elif save_plots:
saved = pmagplotlib.save_plots(FIG, files)
return True, saved
|
[
"def",
"polemap_magic",
"(",
"loc_file",
"=",
"\"locations.txt\"",
",",
"dir_path",
"=",
"\".\"",
",",
"interactive",
"=",
"False",
",",
"crd",
"=",
"\"\"",
",",
"sym",
"=",
"'ro'",
",",
"symsize",
"=",
"40",
",",
"rsym",
"=",
"'g^'",
",",
"rsymsize",
"=",
"40",
",",
"fmt",
"=",
"\"pdf\"",
",",
"res",
"=",
"\"c\"",
",",
"proj",
"=",
"\"ortho\"",
",",
"flip",
"=",
"False",
",",
"anti",
"=",
"False",
",",
"fancy",
"=",
"False",
",",
"ell",
"=",
"False",
",",
"ages",
"=",
"False",
",",
"lat_0",
"=",
"90.",
",",
"lon_0",
"=",
"0.",
",",
"save_plots",
"=",
"True",
")",
":",
"# initialize and format variables",
"saved",
"=",
"[",
"]",
"lats",
",",
"lons",
"=",
"[",
"]",
",",
"[",
"]",
"Pars",
"=",
"[",
"]",
"dates",
",",
"rlats",
",",
"rlons",
"=",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
"polarities",
"=",
"[",
"]",
"if",
"interactive",
":",
"save_plots",
"=",
"False",
"full_path",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"loc_file",
",",
"dir_path",
")",
"dir_path",
",",
"loc_file",
"=",
"os",
".",
"path",
".",
"split",
"(",
"full_path",
")",
"# create MagIC contribution",
"con",
"=",
"cb",
".",
"Contribution",
"(",
"dir_path",
",",
"single_file",
"=",
"loc_file",
")",
"if",
"not",
"list",
"(",
"con",
".",
"tables",
".",
"keys",
"(",
")",
")",
":",
"print",
"(",
"\"-W - Couldn't read in data\"",
")",
"return",
"False",
",",
"\"Couldn't read in data\"",
"FIG",
"=",
"{",
"'map'",
":",
"1",
"}",
"pmagplotlib",
".",
"plot_init",
"(",
"FIG",
"[",
"'map'",
"]",
",",
"6",
",",
"6",
")",
"pole_container",
"=",
"con",
".",
"tables",
"[",
"'locations'",
"]",
"pole_df",
"=",
"pole_container",
".",
"df",
"if",
"'pole_lat'",
"not",
"in",
"pole_df",
".",
"columns",
"or",
"'pole_lon'",
"not",
"in",
"pole_df",
".",
"columns",
":",
"print",
"(",
"\"-W- pole_lat and pole_lon are required columns to run polemap_magic.py\"",
")",
"return",
"False",
",",
"\"pole_lat and pole_lon are required columns to run polemap_magic.py\"",
"# use records with pole_lat and pole_lon",
"cond1",
",",
"cond2",
"=",
"pole_df",
"[",
"'pole_lat'",
"]",
".",
"notnull",
"(",
")",
",",
"pole_df",
"[",
"'pole_lon'",
"]",
".",
"notnull",
"(",
")",
"Results",
"=",
"pole_df",
"[",
"cond1",
"&",
"cond2",
"]",
"# don't plot identical poles twice",
"Results",
".",
"drop_duplicates",
"(",
"subset",
"=",
"[",
"'pole_lat'",
",",
"'pole_lon'",
",",
"'location'",
"]",
",",
"inplace",
"=",
"True",
")",
"# use tilt correction if available",
"# prioritize tilt-corrected poles",
"if",
"'dir_tilt_correction'",
"in",
"Results",
".",
"columns",
":",
"if",
"not",
"crd",
":",
"coords",
"=",
"Results",
"[",
"'dir_tilt_correction'",
"]",
".",
"unique",
"(",
")",
"if",
"100.",
"in",
"coords",
":",
"crd",
"=",
"'t'",
"elif",
"0.",
"in",
"coords",
":",
"crd",
"=",
"'g'",
"else",
":",
"crd",
"=",
"''",
"coord_dict",
"=",
"{",
"'g'",
":",
"0",
",",
"'t'",
":",
"100",
"}",
"coord",
"=",
"coord_dict",
"[",
"crd",
"]",
"if",
"crd",
"else",
"\"\"",
"# filter results by dir_tilt_correction if available",
"if",
"(",
"coord",
"or",
"coord",
"==",
"0",
")",
"and",
"'dir_tilt_correction'",
"in",
"Results",
".",
"columns",
":",
"Results",
"=",
"Results",
"[",
"Results",
"[",
"'dir_tilt_correction'",
"]",
"==",
"coord",
"]",
"# get location name and average ages",
"loc_list",
"=",
"Results",
"[",
"'location'",
"]",
".",
"values",
"locations",
"=",
"\":\"",
".",
"join",
"(",
"Results",
"[",
"'location'",
"]",
".",
"unique",
"(",
")",
")",
"if",
"'age'",
"not",
"in",
"Results",
".",
"columns",
"and",
"'age_low'",
"in",
"Results",
".",
"columns",
"and",
"'age_high'",
"in",
"Results",
".",
"columns",
":",
"Results",
"[",
"'age'",
"]",
"=",
"Results",
"[",
"'age_low'",
"]",
"+",
"0.5",
"*",
"(",
"Results",
"[",
"'age_high'",
"]",
"-",
"Results",
"[",
"'age_low'",
"]",
")",
"if",
"'age'",
"in",
"Results",
".",
"columns",
"and",
"ages",
":",
"dates",
"=",
"Results",
"[",
"'age'",
"]",
".",
"unique",
"(",
")",
"if",
"not",
"any",
"(",
"Results",
".",
"index",
")",
":",
"print",
"(",
"\"-W- No poles could be plotted\"",
")",
"return",
"False",
",",
"\"No poles could be plotted\"",
"# go through rows and extract data",
"for",
"ind",
",",
"row",
"in",
"Results",
".",
"iterrows",
"(",
")",
":",
"lat",
",",
"lon",
"=",
"float",
"(",
"row",
"[",
"'pole_lat'",
"]",
")",
",",
"float",
"(",
"row",
"[",
"'pole_lon'",
"]",
")",
"if",
"'dir_polarity'",
"in",
"row",
":",
"polarities",
".",
"append",
"(",
"row",
"[",
"'dir_polarity'",
"]",
")",
"if",
"anti",
":",
"lats",
".",
"append",
"(",
"-",
"lat",
")",
"lon",
"=",
"lon",
"+",
"180.",
"if",
"lon",
">",
"360",
":",
"lon",
"=",
"lon",
"-",
"360.",
"lons",
".",
"append",
"(",
"lon",
")",
"elif",
"not",
"flip",
":",
"lats",
".",
"append",
"(",
"lat",
")",
"lons",
".",
"append",
"(",
"lon",
")",
"elif",
"flip",
":",
"if",
"lat",
"<",
"0",
":",
"rlats",
".",
"append",
"(",
"-",
"lat",
")",
"lon",
"=",
"lon",
"+",
"180.",
"if",
"lon",
">",
"360",
":",
"lon",
"=",
"lon",
"-",
"360",
"rlons",
".",
"append",
"(",
"lon",
")",
"else",
":",
"lats",
".",
"append",
"(",
"lat",
")",
"lons",
".",
"append",
"(",
"lon",
")",
"ppars",
"=",
"[",
"]",
"ppars",
".",
"append",
"(",
"lon",
")",
"ppars",
".",
"append",
"(",
"lat",
")",
"ell1",
",",
"ell2",
"=",
"\"\"",
",",
"\"\"",
"if",
"'pole_dm'",
"in",
"list",
"(",
"row",
".",
"keys",
"(",
")",
")",
"and",
"row",
"[",
"'pole_dm'",
"]",
":",
"ell1",
"=",
"float",
"(",
"row",
"[",
"'pole_dm'",
"]",
")",
"if",
"'pole_dp'",
"in",
"list",
"(",
"row",
".",
"keys",
"(",
")",
")",
"and",
"row",
"[",
"'pole_dp'",
"]",
":",
"ell2",
"=",
"float",
"(",
"row",
"[",
"'pole_dp'",
"]",
")",
"if",
"'pole_alpha95'",
"in",
"list",
"(",
"row",
".",
"keys",
"(",
")",
")",
"and",
"row",
"[",
"'pole_alpha95'",
"]",
":",
"ell1",
",",
"ell2",
"=",
"float",
"(",
"row",
"[",
"'pole_alpha95'",
"]",
")",
",",
"float",
"(",
"row",
"[",
"'pole_alpha95'",
"]",
")",
"if",
"ell1",
"and",
"ell2",
"and",
"lons",
":",
"ppars",
"=",
"[",
"]",
"ppars",
".",
"append",
"(",
"lons",
"[",
"-",
"1",
"]",
")",
"ppars",
".",
"append",
"(",
"lats",
"[",
"-",
"1",
"]",
")",
"ppars",
".",
"append",
"(",
"ell1",
")",
"ppars",
".",
"append",
"(",
"lons",
"[",
"-",
"1",
"]",
")",
"try",
":",
"isign",
"=",
"abs",
"(",
"lats",
"[",
"-",
"1",
"]",
")",
"/",
"lats",
"[",
"-",
"1",
"]",
"except",
"ZeroDivisionError",
":",
"isign",
"=",
"1",
"ppars",
".",
"append",
"(",
"lats",
"[",
"-",
"1",
"]",
"-",
"isign",
"*",
"90.",
")",
"ppars",
".",
"append",
"(",
"ell2",
")",
"ppars",
".",
"append",
"(",
"lons",
"[",
"-",
"1",
"]",
"+",
"90.",
")",
"ppars",
".",
"append",
"(",
"0.",
")",
"Pars",
".",
"append",
"(",
"ppars",
")",
"locations",
"=",
"locations",
".",
"strip",
"(",
"':'",
")",
"Opts",
"=",
"{",
"'latmin'",
":",
"-",
"90",
",",
"'latmax'",
":",
"90",
",",
"'lonmin'",
":",
"0.",
",",
"'lonmax'",
":",
"360.",
",",
"'lat_0'",
":",
"lat_0",
",",
"'lon_0'",
":",
"lon_0",
",",
"'proj'",
":",
"proj",
",",
"'sym'",
":",
"'b+'",
",",
"'symsize'",
":",
"40",
",",
"'pltgrid'",
":",
"0",
",",
"'res'",
":",
"res",
",",
"'boundinglat'",
":",
"0.",
",",
"'edgecolor'",
":",
"'face'",
"}",
"Opts",
"[",
"'details'",
"]",
"=",
"{",
"'coasts'",
":",
"1",
",",
"'rivers'",
":",
"0",
",",
"'states'",
":",
"0",
",",
"'countries'",
":",
"0",
",",
"'ocean'",
":",
"1",
",",
"'fancy'",
":",
"fancy",
"}",
"base_Opts",
"=",
"Opts",
".",
"copy",
"(",
")",
"# make the base map with a blue triangle at the pole",
"pmagplotlib",
".",
"plot_map",
"(",
"FIG",
"[",
"'map'",
"]",
",",
"[",
"90.",
"]",
",",
"[",
"0.",
"]",
",",
"Opts",
")",
"#Opts['pltgrid'] = -1",
"if",
"proj",
"==",
"'merc'",
":",
"Opts",
"[",
"'pltgrid'",
"]",
"=",
"1",
"Opts",
"[",
"'sym'",
"]",
"=",
"sym",
"Opts",
"[",
"'symsize'",
"]",
"=",
"symsize",
"if",
"len",
"(",
"dates",
")",
">",
"0",
":",
"Opts",
"[",
"'names'",
"]",
"=",
"dates",
"if",
"len",
"(",
"lats",
")",
">",
"0",
":",
"pole_lats",
"=",
"[",
"]",
"pole_lons",
"=",
"[",
"]",
"for",
"num",
",",
"lat",
"in",
"enumerate",
"(",
"lats",
")",
":",
"lon",
"=",
"lons",
"[",
"num",
"]",
"if",
"lat",
">",
"0",
":",
"pole_lats",
".",
"append",
"(",
"lat",
")",
"pole_lons",
".",
"append",
"(",
"lon",
")",
"# plot the lats and lons of the poles",
"pmagplotlib",
".",
"plot_map",
"(",
"FIG",
"[",
"'map'",
"]",
",",
"pole_lats",
",",
"pole_lons",
",",
"Opts",
")",
"# do reverse poles",
"if",
"len",
"(",
"rlats",
")",
">",
"0",
":",
"reverse_Opts",
"=",
"Opts",
".",
"copy",
"(",
")",
"reverse_Opts",
"[",
"'sym'",
"]",
"=",
"rsym",
"reverse_Opts",
"[",
"'symsize'",
"]",
"=",
"rsymsize",
"reverse_Opts",
"[",
"'edgecolor'",
"]",
"=",
"'black'",
"# plot the lats and lons of the reverse poles",
"pmagplotlib",
".",
"plot_map",
"(",
"FIG",
"[",
"'map'",
"]",
",",
"rlats",
",",
"rlons",
",",
"reverse_Opts",
")",
"Opts",
"[",
"'names'",
"]",
"=",
"[",
"]",
"titles",
"=",
"{",
"}",
"files",
"=",
"{",
"}",
"if",
"pmagplotlib",
".",
"isServer",
":",
"# plot each indvidual pole for the server",
"for",
"ind",
"in",
"range",
"(",
"len",
"(",
"lats",
")",
")",
":",
"lat",
"=",
"lats",
"[",
"ind",
"]",
"lon",
"=",
"lons",
"[",
"ind",
"]",
"polarity",
"=",
"\"\"",
"if",
"'polarites'",
"in",
"locals",
"(",
")",
":",
"polarity",
"=",
"polarities",
"[",
"ind",
"]",
"polarity",
"=",
"\"_\"",
"+",
"polarity",
"if",
"polarity",
"else",
"\"\"",
"location",
"=",
"loc_list",
"[",
"ind",
"]",
"FIG",
"[",
"\"map_{}\"",
".",
"format",
"(",
"ind",
")",
"]",
"=",
"ind",
"+",
"2",
"pmagplotlib",
".",
"plot_init",
"(",
"FIG",
"[",
"'map_{}'",
".",
"format",
"(",
"ind",
")",
"]",
",",
"6",
",",
"6",
")",
"pmagplotlib",
".",
"plot_map",
"(",
"FIG",
"[",
"'map_{}'",
".",
"format",
"(",
"ind",
")",
"]",
",",
"[",
"90.",
"]",
",",
"[",
"0.",
"]",
",",
"base_Opts",
")",
"pmagplotlib",
".",
"plot_map",
"(",
"ind",
"+",
"2",
",",
"[",
"lat",
"]",
",",
"[",
"lon",
"]",
",",
"Opts",
")",
"titles",
"[",
"\"map_{}\"",
".",
"format",
"(",
"ind",
")",
"]",
"=",
"location",
"if",
"crd",
":",
"fname",
"=",
"\"LO:_{}{}_TY:_POLE_map_{}.{}\"",
".",
"format",
"(",
"location",
",",
"polarity",
",",
"crd",
",",
"fmt",
")",
"fname_short",
"=",
"\"LO:_{}{}_TY:_POLE_map_{}\"",
".",
"format",
"(",
"location",
",",
"polarity",
",",
"crd",
")",
"else",
":",
"fname",
"=",
"\"LO:_{}{}_TY:_POLE_map.{}\"",
".",
"format",
"(",
"location",
",",
"polarity",
",",
"fmt",
")",
"fname_short",
"=",
"\"LO:_{}{}_TY:_POLE_map\"",
".",
"format",
"(",
"location",
",",
"polarity",
")",
"# don't allow identically named files",
"if",
"files",
":",
"file_values",
"=",
"files",
".",
"values",
"(",
")",
"file_values_short",
"=",
"[",
"fname",
".",
"rsplit",
"(",
"'.'",
")",
"[",
"0",
"]",
"for",
"fname",
"in",
"file_values",
"]",
"if",
"fname_short",
"in",
"file_values_short",
":",
"for",
"val",
"in",
"[",
"str",
"(",
"n",
")",
"for",
"n",
"in",
"range",
"(",
"1",
",",
"10",
")",
"]",
":",
"fname",
"=",
"fname_short",
"+",
"\"_{}.\"",
".",
"format",
"(",
"val",
")",
"+",
"fmt",
"if",
"fname",
"not",
"in",
"file_values",
":",
"break",
"files",
"[",
"\"map_{}\"",
".",
"format",
"(",
"ind",
")",
"]",
"=",
"fname",
"# truncate location names so that ultra long filenames are not created",
"if",
"len",
"(",
"locations",
")",
">",
"50",
":",
"locations",
"=",
"locations",
"[",
":",
"50",
"]",
"if",
"pmagplotlib",
".",
"isServer",
":",
"# use server plot naming convention",
"con_id",
"=",
"''",
"if",
"'contribution'",
"in",
"con",
".",
"tables",
":",
"# try to get contribution id",
"if",
"'id'",
"in",
"con",
".",
"tables",
"[",
"'contribution'",
"]",
".",
"df",
".",
"columns",
":",
"con_id",
"=",
"con",
".",
"tables",
"[",
"'contribution'",
"]",
".",
"df",
".",
"iloc",
"[",
"0",
"]",
"[",
"'id'",
"]",
"files",
"[",
"'map'",
"]",
"=",
"'MC:_{}_TY:_POLE_map_{}.{}'",
".",
"format",
"(",
"con_id",
",",
"crd",
",",
"fmt",
")",
"else",
":",
"# no contribution id available",
"files",
"[",
"'map'",
"]",
"=",
"'LO:_'",
"+",
"locations",
"+",
"'_TY:_POLE_map_{}.{}'",
".",
"format",
"(",
"crd",
",",
"fmt",
")",
"else",
":",
"# use readable naming convention for non-database use",
"files",
"[",
"'map'",
"]",
"=",
"'{}_POLE_map_{}.{}'",
".",
"format",
"(",
"locations",
",",
"crd",
",",
"fmt",
")",
"#",
"if",
"interactive",
"and",
"(",
"not",
"set_env",
".",
"IS_WIN",
")",
":",
"pmagplotlib",
".",
"draw_figs",
"(",
"FIG",
")",
"if",
"ell",
":",
"# add ellipses if desired.",
"Opts",
"[",
"'details'",
"]",
"=",
"{",
"'coasts'",
":",
"0",
",",
"'rivers'",
":",
"0",
",",
"'states'",
":",
"0",
",",
"'countries'",
":",
"0",
",",
"'ocean'",
":",
"0",
",",
"'fancy'",
":",
"fancy",
"}",
"Opts",
"[",
"'pltgrid'",
"]",
"=",
"-",
"1",
"# turn off meridian replotting",
"Opts",
"[",
"'symsize'",
"]",
"=",
"2",
"Opts",
"[",
"'sym'",
"]",
"=",
"'g-'",
"for",
"ppars",
"in",
"Pars",
":",
"if",
"ppars",
"[",
"2",
"]",
"!=",
"0",
":",
"PTS",
"=",
"pmagplotlib",
".",
"plot_ell",
"(",
"FIG",
"[",
"'map'",
"]",
",",
"ppars",
",",
"'g.'",
",",
"0",
",",
"0",
")",
"elats",
",",
"elons",
"=",
"[",
"]",
",",
"[",
"]",
"for",
"pt",
"in",
"PTS",
":",
"elons",
".",
"append",
"(",
"pt",
"[",
"0",
"]",
")",
"elats",
".",
"append",
"(",
"pt",
"[",
"1",
"]",
")",
"# make the base map with a blue triangle at the pole",
"pmagplotlib",
".",
"plot_map",
"(",
"FIG",
"[",
"'map'",
"]",
",",
"elats",
",",
"elons",
",",
"Opts",
")",
"if",
"interactive",
"and",
"(",
"not",
"set_env",
".",
"IS_WIN",
")",
":",
"pmagplotlib",
".",
"draw_figs",
"(",
"FIG",
")",
"if",
"pmagplotlib",
".",
"isServer",
":",
"black",
"=",
"'#000000'",
"purple",
"=",
"'#800080'",
"titles",
"[",
"'map'",
"]",
"=",
"'LO:_'",
"+",
"locations",
"+",
"'_POLE_map'",
"con_id",
"=",
"''",
"if",
"'contribution'",
"in",
"con",
".",
"tables",
":",
"if",
"'id'",
"in",
"con",
".",
"tables",
"[",
"'contribution'",
"]",
".",
"df",
".",
"columns",
":",
"con_id",
"=",
"con",
".",
"tables",
"[",
"'contribution'",
"]",
".",
"df",
".",
"iloc",
"[",
"0",
"]",
"[",
"'id'",
"]",
"loc_string",
"=",
"\"\"",
"if",
"'locations'",
"in",
"con",
".",
"tables",
":",
"num_locs",
"=",
"len",
"(",
"con",
".",
"tables",
"[",
"'locations'",
"]",
".",
"df",
".",
"index",
".",
"unique",
"(",
")",
")",
"loc_string",
"=",
"\"{} location{}\"",
".",
"format",
"(",
"num_locs",
",",
"'s'",
"if",
"num_locs",
">",
"1",
"else",
"''",
")",
"num_lats",
"=",
"len",
"(",
"[",
"lat",
"for",
"lat",
"in",
"lats",
"if",
"lat",
">",
"0",
"]",
")",
"num_rlats",
"=",
"len",
"(",
"rlats",
")",
"npole_string",
"=",
"\"\"",
"rpole_string",
"=",
"\"\"",
"if",
"num_lats",
":",
"npole_string",
"=",
"\"{} normal \"",
".",
"format",
"(",
"num_lats",
")",
"#, 's' if num_lats > 1 else '')",
"if",
"num_rlats",
":",
"rpole_string",
"=",
"\"{} reverse\"",
".",
"format",
"(",
"num_rlats",
")",
"if",
"num_lats",
"+",
"num_rlats",
">",
"1",
":",
"pole_string",
"=",
"\"poles\"",
"elif",
"num_lats",
"+",
"num_rlats",
"==",
"0",
":",
"pole_string",
"=",
"\"\"",
"else",
":",
"pole_string",
"=",
"\"pole\"",
"title",
"=",
"\"MagIC contribution {}\\n {} {}{} {}\"",
".",
"format",
"(",
"con_id",
",",
"loc_string",
",",
"npole_string",
",",
"rpole_string",
",",
"pole_string",
")",
"titles",
"[",
"'map'",
"]",
"=",
"title",
".",
"replace",
"(",
"' '",
",",
"' '",
")",
"FIG",
"=",
"pmagplotlib",
".",
"add_borders",
"(",
"FIG",
",",
"titles",
",",
"black",
",",
"purple",
",",
"con_id",
")",
"saved",
"=",
"pmagplotlib",
".",
"save_plots",
"(",
"FIG",
",",
"files",
")",
"elif",
"interactive",
":",
"pmagplotlib",
".",
"draw_figs",
"(",
"FIG",
")",
"ans",
"=",
"input",
"(",
"\" S[a]ve to save plot, Return to quit: \"",
")",
"if",
"ans",
"==",
"\"a\"",
":",
"saved",
"=",
"pmagplotlib",
".",
"save_plots",
"(",
"FIG",
",",
"files",
")",
"else",
":",
"print",
"(",
"\"Good bye\"",
")",
"elif",
"save_plots",
":",
"saved",
"=",
"pmagplotlib",
".",
"save_plots",
"(",
"FIG",
",",
"files",
")",
"return",
"True",
",",
"saved"
] |
Use a MagIC format locations table to plot poles.
Parameters
----------
loc_file : str, default "locations.txt"
dir_path : str, default "."
directory name to find loc_file in (if not included in loc_file)
interactive : bool, default False
if True, interactively plot and display
(this is best used on the command line only)
crd : str, default ""
coordinate system [g, t] (geographic, tilt_corrected)
sym : str, default "ro"
symbol color and shape, default red circles
(see matplotlib documentation for more options)
symsize : int, default 40
symbol size
rsym : str, default "g^"
symbol for plotting reverse poles
rsymsize : int, default 40
symbol size for reverse poles
fmt : str, default "pdf"
format for figures, ["svg", "jpg", "pdf", "png"]
res : str, default "c"
resolution [c, l, i, h] (crude, low, intermediate, high)
proj : str, default "ortho"
ortho = orthographic
lcc = lambert conformal
moll = molweide
merc = mercator
flip : bool, default False
if True, flip reverse poles to normal antipode
anti : bool, default False
if True, plot antipodes for each pole
fancy : bool, default False
if True, plot topography (not yet implementedj)
ell : bool, default False
if True, plot ellipses
ages : bool, default False
if True, plot ages
lat_0 : float, default 90.
eyeball latitude
lon_0 : float, default 0.
eyeball longitude
save_plots : bool, default True
if True, create and save all requested plots
|
[
"Use",
"a",
"MagIC",
"format",
"locations",
"table",
"to",
"plot",
"poles",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L11864-L12180
|
train
|
This function will plot a MagIC format locations table for each pole.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(48) + chr(2874 - 2763) + chr(791 - 739) + '\066', 50973 - 50965), nzTpIcepk0o8(chr(0b110000) + '\157' + '\062' + '\061', 0o10), nzTpIcepk0o8(chr(475 - 427) + '\x6f' + chr(0b110011) + '\067', 48331 - 48323), nzTpIcepk0o8(chr(2132 - 2084) + chr(111) + '\x32' + chr(0b110011) + '\x31', 30758 - 30750), nzTpIcepk0o8('\x30' + chr(0b1101111) + '\062' + '\x37' + chr(0b110110), 0b1000), nzTpIcepk0o8(chr(0b10000 + 0o40) + chr(939 - 828) + chr(0b110001 + 0o1) + chr(869 - 820) + chr(48), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b1001101 + 0o42) + '\x32' + chr(1080 - 1031) + '\x30', 8), nzTpIcepk0o8('\x30' + chr(0b1100111 + 0o10) + chr(0b101010 + 0o10) + chr(0b100000 + 0o23) + chr(1716 - 1666), 0o10), nzTpIcepk0o8('\x30' + chr(883 - 772) + chr(0b101110 + 0o5) + chr(0b110110) + chr(51), 0b1000), nzTpIcepk0o8('\x30' + chr(0b1000100 + 0o53) + '\x35' + chr(52), ord("\x08")), nzTpIcepk0o8(chr(2179 - 2131) + chr(111) + '\062' + chr(0b110111) + chr(1469 - 1414), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b1 + 0o62) + chr(0b110111) + chr(1979 - 1929), ord("\x08")), nzTpIcepk0o8('\x30' + '\157' + '\063' + '\062' + chr(0b110111), ord("\x08")), nzTpIcepk0o8(chr(0b101001 + 0o7) + chr(0b1101111) + chr(50) + chr(0b110110) + '\x36', ord("\x08")), nzTpIcepk0o8('\060' + '\x6f' + '\x36' + chr(0b101110 + 0o7), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b1100110 + 0o11) + chr(55) + chr(0b110011), 1360 - 1352), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b1000 + 0o53) + chr(49) + chr(0b110111), 45759 - 45751), nzTpIcepk0o8(chr(0b10010 + 0o36) + '\157' + chr(0b100 + 0o55) + chr(0b101100 + 0o13) + chr(0b100010 + 0o20), 0b1000), nzTpIcepk0o8(chr(249 - 201) + '\157' + chr(0b100101 + 0o14) + chr(0b101111 + 0o4) + chr(240 - 189), 0b1000), nzTpIcepk0o8(chr(0b1101 + 0o43) + chr(0b110010 + 0o75) + chr(0b100000 + 0o21) + '\x33' + chr(50), 0o10), nzTpIcepk0o8(chr(71 - 23) + chr(0b1011100 + 0o23) + chr(0b110011) + chr(0b10000 + 0o42) + chr(2353 - 2303), 0b1000), nzTpIcepk0o8(chr(0b1101 + 0o43) + '\x6f' + chr(0b110100) + chr(51), 0o10), nzTpIcepk0o8(chr(0b1011 + 0o45) + '\157' + chr(2256 - 2205) + '\064' + chr(0b1001 + 0o54), ord("\x08")), nzTpIcepk0o8('\060' + '\157' + chr(0b100001 + 0o22) + chr(436 - 386) + chr(0b11110 + 0o27), ord("\x08")), nzTpIcepk0o8(chr(0b11011 + 0o25) + chr(0b1101111) + chr(55) + '\x35', ord("\x08")), nzTpIcepk0o8(chr(48) + '\157' + '\x33' + chr(48) + chr(0b101001 + 0o12), 26277 - 26269), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b10000 + 0o41), 37014 - 37006), nzTpIcepk0o8('\060' + '\x6f' + chr(0b110010) + chr(2286 - 2238) + chr(1900 - 1852), 0o10), nzTpIcepk0o8('\060' + chr(111) + chr(466 - 416) + '\063' + '\x31', 8), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\x33' + chr(52) + chr(0b110101), 8), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b110010) + chr(0b100000 + 0o27) + '\061', 0b1000), nzTpIcepk0o8('\x30' + '\x6f' + chr(957 - 908) + chr(51) + chr(1168 - 1120), 30423 - 30415), nzTpIcepk0o8(chr(48) + '\157' + chr(0b110001) + chr(52) + '\x30', 0b1000), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(2337 - 2287) + chr(52) + '\064', 0o10), nzTpIcepk0o8(chr(0b1001 + 0o47) + chr(5795 - 5684) + '\x36' + chr(53), 8), nzTpIcepk0o8('\060' + '\157' + chr(0b110001) + chr(0b101101 + 0o11) + '\065', 58428 - 58420), nzTpIcepk0o8(chr(1243 - 1195) + chr(0b1101111) + '\x32' + chr(615 - 567) + chr(55), 0o10), nzTpIcepk0o8(chr(0b1010 + 0o46) + '\157' + chr(0b110000 + 0o1) + '\x32' + '\061', 59583 - 59575), nzTpIcepk0o8('\060' + chr(111) + chr(2494 - 2443) + chr(2120 - 2068) + chr(1727 - 1679), 0o10), nzTpIcepk0o8(chr(48) + chr(111) + chr(51) + chr(52), 0o10)][ZlbFMSG8gCoF % nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b110101) + '\x30', ord("\x08"))] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\x08'), chr(0b1100100) + '\145' + chr(0b110001 + 0o62) + '\x6f' + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + chr(0b1011011 + 0o31) + '\146' + chr(45) + chr(56)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def swq2nNsfo3dV(VHVRZ1Svp2dQ=roI3spqORKae(ES5oEprVxulp(b'J~|\xf8\xca\xe1\xe7\xf4\x80\x02\xcb\x82\xa3'), chr(0b1100100) + '\x65' + chr(0b1100011) + chr(0b1101011 + 0o4) + chr(0b1100100) + chr(0b1100101))('\165' + chr(116) + '\146' + chr(0b101101) + chr(0b111000)), qjksZ7GK0xkJ=roI3spqORKae(ES5oEprVxulp(b'\x08'), chr(5824 - 5724) + chr(643 - 542) + '\x63' + '\157' + '\144' + chr(0b1100101))('\165' + chr(7739 - 7623) + chr(9072 - 8970) + chr(1245 - 1200) + '\x38'), f4XDWm__k5ZA=nzTpIcepk0o8(chr(1585 - 1537) + '\x6f' + chr(0b110000), 0o10), px1MpgT0hYQ9=roI3spqORKae(ES5oEprVxulp(b''), '\144' + '\x65' + '\143' + '\157' + chr(252 - 152) + chr(0b1100101))('\165' + chr(0b1110100) + chr(102) + '\055' + chr(0b110011 + 0o5)), ap75Y_eaMZLk=roI3spqORKae(ES5oEprVxulp(b'T~'), '\144' + '\x65' + chr(0b1100011) + '\x6f' + chr(100) + chr(101))('\165' + chr(116) + '\146' + chr(45) + chr(0b111000)), a6DuPeQDkIk8=nzTpIcepk0o8('\x30' + chr(111) + chr(805 - 752) + chr(48), 8), CUfpDqnTzOda=roI3spqORKae(ES5oEprVxulp(b'AO'), '\144' + '\x65' + chr(7494 - 7395) + '\x6f' + '\144' + '\145')(chr(0b1110101) + chr(116) + chr(1412 - 1310) + chr(0b101001 + 0o4) + chr(0b110001 + 0o7)), n15MY9Z3KOSq=nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110101 + 0o0) + chr(0b110000), 8), JummcHpaNLEw=roI3spqORKae(ES5oEprVxulp(b'Vuy'), '\144' + chr(101) + chr(0b110 + 0o135) + chr(0b1101111) + '\x64' + chr(0b10011 + 0o122))(chr(10170 - 10053) + chr(5479 - 5363) + chr(10127 - 10025) + chr(45) + chr(0b1101 + 0o53)), _XdQFJpnzJor=roI3spqORKae(ES5oEprVxulp(b'E'), chr(100) + chr(3843 - 3742) + '\x63' + '\157' + '\144' + '\x65')('\x75' + chr(0b1000111 + 0o55) + chr(0b1100110) + '\x2d' + '\070'), yNS8IgQS0ymV=roI3spqORKae(ES5oEprVxulp(b'Ick\xf1\xd1'), chr(100) + chr(0b100100 + 0o101) + '\143' + chr(0b100010 + 0o115) + chr(0b1100100) + chr(101))(chr(117) + chr(116) + '\146' + chr(45) + chr(56)), LeuPzfhzM9U8=nzTpIcepk0o8(chr(0b110000) + chr(10139 - 10028) + chr(48), 8), wusdF6YTZKJ3=nzTpIcepk0o8(chr(0b101111 + 0o1) + chr(0b10101 + 0o132) + chr(0b110000), 8), vVMRKIXM85FE=nzTpIcepk0o8(chr(48) + '\157' + chr(48), 8), DTJMndqfNEo1=nzTpIcepk0o8(chr(0b10001 + 0o37) + chr(111) + '\x30', 8), rJXkqb7BR5II=nzTpIcepk0o8('\060' + '\x6f' + chr(48), 8), vvGqd7Fkqgfw=90.0, E7x0t9AdiILk=0.0, bxxuZm4I6LgY=nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\061', 8)):
n2yX1AgA9ol1 = []
(s1mrpKIq1Wpy, _3zJfzXGVnPJ) = ([], [])
mFUklODHEk5L = []
(_olqupWMJO4N, cM3f9IUfxzKT, grJe2AcEoma_) = ([], [], [])
JTtuRnWE4eON = []
if f4XDWm__k5ZA:
bxxuZm4I6LgY = nzTpIcepk0o8(chr(0b0 + 0o60) + chr(0b1001101 + 0o42) + chr(0b110000), 8)
SsOJfvCrNtOa = hUcsWwAd0nE_.resolve_file_name(VHVRZ1Svp2dQ, qjksZ7GK0xkJ)
(qjksZ7GK0xkJ, VHVRZ1Svp2dQ) = aHUqKstZLeS6.path.LfRrQOxuDvnC(SsOJfvCrNtOa)
D3H9MFOOog2W = RYEhqzIVZREo.Contribution(qjksZ7GK0xkJ, single_file=VHVRZ1Svp2dQ)
if not H4NoA26ON7iG(roI3spqORKae(D3H9MFOOog2W.tables, roI3spqORKae(ES5oEprVxulp(b'Mtf\xea'), '\144' + '\x65' + chr(99) + '\157' + chr(648 - 548) + chr(2007 - 1906))('\x75' + '\x74' + chr(0b1100110) + chr(45) + '\x38'))()):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x0bF?\xb4\x9e\xcb\xe7\xef\x9fH\xd1\xdd\xa3\x96G^\xae\x1e{3\xbc\x03\x81\xb4I\xa2'), '\x64' + chr(4305 - 4204) + '\143' + chr(111) + chr(6072 - 5972) + chr(101))(chr(117) + chr(6551 - 6435) + chr(102) + chr(45) + chr(0b111000)))
return (nzTpIcepk0o8('\060' + chr(111) + chr(48), 8), roI3spqORKae(ES5oEprVxulp(b'e~j\xf5\xda\xe6\xaf\xee\xd3^\xda\x9b\xb3\x96\\U\xef\x1e:.\xb3'), chr(100) + chr(0b10000 + 0o125) + chr(7592 - 7493) + chr(0b1101111) + chr(100) + '\x65')(chr(0b1110101) + '\164' + '\146' + chr(45) + chr(433 - 377)))
rKSToK9WUVwu = {roI3spqORKae(ES5oEprVxulp(b'Kpo'), chr(100) + chr(101) + chr(9148 - 9049) + chr(0b1101111) + chr(0b100000 + 0o104) + '\145')('\165' + '\164' + '\x66' + chr(0b100110 + 0o7) + chr(0b101001 + 0o17)): nzTpIcepk0o8('\060' + '\x6f' + chr(794 - 745), 8)}
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'V}p\xed\xe1\xe1\xe6\xf3\x87'), '\x64' + chr(0b10001 + 0o124) + '\x63' + chr(0b1101111) + chr(0b1100100) + chr(5012 - 4911))(chr(0b1100 + 0o151) + '\x74' + chr(102) + '\055' + '\x38'))(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'Kpo'), '\x64' + chr(0b1100101) + chr(99) + '\157' + chr(0b1011001 + 0o13) + chr(0b1100101))('\165' + '\x74' + chr(102) + chr(0b10111 + 0o26) + chr(56))], nzTpIcepk0o8('\060' + chr(111) + chr(54), 19164 - 19156), nzTpIcepk0o8('\x30' + chr(3388 - 3277) + chr(0b110110), 8))
qEAWqxynczdZ = D3H9MFOOog2W.WgtSJX0sIYpL[roI3spqORKae(ES5oEprVxulp(b'J~|\xf8\xca\xe1\xe7\xf4\x80'), chr(100) + chr(101) + chr(0b11111 + 0o104) + '\x6f' + '\144' + chr(393 - 292))(chr(117) + chr(0b1110100) + chr(0b1010000 + 0o26) + '\x2d' + '\070')]
jyDyVrfi56dI = qEAWqxynczdZ.jpOn8DNZxbbx
if roI3spqORKae(ES5oEprVxulp(b'V~s\xfc\xe1\xe4\xe9\xee'), chr(0b1100100) + chr(0b101100 + 0o71) + '\x63' + chr(0b1101001 + 0o6) + '\144' + chr(101))(chr(117) + chr(4219 - 4103) + chr(0b1100110) + '\x2d' + '\070') not in roI3spqORKae(jyDyVrfi56dI, roI3spqORKae(ES5oEprVxulp(b's"&\xf3\xed\xe1\xc1\xaf\xc7a\xd3\x8a'), chr(100) + chr(101) + chr(99) + chr(111) + '\144' + chr(0b1100101))('\165' + '\164' + chr(0b1100110) + chr(111 - 66) + '\x38')) or roI3spqORKae(ES5oEprVxulp(b'V~s\xfc\xe1\xe4\xe7\xf4'), chr(0b1100100) + chr(4150 - 4049) + chr(0b101110 + 0o65) + '\x6f' + '\144' + chr(0b1100101))(chr(0b1110101) + '\x74' + chr(0b1100 + 0o132) + chr(0b11000 + 0o25) + chr(0b111000)) not in roI3spqORKae(jyDyVrfi56dI, roI3spqORKae(ES5oEprVxulp(b's"&\xf3\xed\xe1\xc1\xaf\xc7a\xd3\x8a'), '\144' + chr(4840 - 4739) + chr(99) + chr(0b101000 + 0o107) + chr(100) + chr(0b1100101))(chr(117) + '\164' + chr(0b1100110) + '\055' + chr(2251 - 2195))):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x0bF2\xb9\xce\xe7\xe4\xff\xac@\xde\x8e\xf7\xd7[_\xef\n46\xb7|\x89\xbaS\xe3`\xf2\xfc\xc5\xcb=\x11\xd1\\\x07\xe25\xc0\x7fI}j\xf4\xd0\xfb\xa8\xee\x9c\x0c\xcd\x8f\xb9\x96ET\xa3\x1f6;\xa2|\x88\xb4Z\xaab\xae\xe9\x9c'), chr(0b1100100) + '\145' + chr(99) + chr(9911 - 9800) + chr(0b1100100) + chr(0b1000 + 0o135))(chr(13413 - 13296) + chr(13390 - 13274) + chr(1967 - 1865) + chr(0b101101) + chr(56)))
return (nzTpIcepk0o8('\060' + '\x6f' + '\x30', 8), roI3spqORKae(ES5oEprVxulp(b'V~s\xfc\xe1\xe4\xe9\xee\xd3M\xd1\x9e\xf7\xc6ZW\xaa%75\xbc\x03\x84\xa7X\xe3s\xe5\xe8\x90\xd0*\x05\xc0\x15\x16\xe8=\x95qHb?\xed\xd1\xa8\xfa\xef\x9d\x0c\xcf\x95\xbb\xd3XZ\xbf%6;\xb5J\x86\xfbM\xba'), chr(100) + chr(0b1100101) + chr(99) + chr(0b1101111) + '\x64' + chr(963 - 862))(chr(117) + chr(116) + chr(102) + chr(0b101101) + chr(0b100 + 0o64)))
(rm1uRQGSygF4, maMDvHzsQ6IR) = (jyDyVrfi56dI[roI3spqORKae(ES5oEprVxulp(b'V~s\xfc\xe1\xe4\xe9\xee'), '\144' + '\145' + '\143' + '\x6f' + chr(4977 - 4877) + chr(0b1010111 + 0o16))(chr(3477 - 3360) + chr(116) + chr(102) + chr(1838 - 1793) + chr(56))].notnull(), jyDyVrfi56dI[roI3spqORKae(ES5oEprVxulp(b'V~s\xfc\xe1\xe4\xe7\xf4'), chr(4760 - 4660) + chr(101) + chr(1054 - 955) + chr(111) + chr(0b11011 + 0o111) + '\x65')('\x75' + chr(12707 - 12591) + chr(0b1101 + 0o131) + chr(45) + chr(1801 - 1745))].notnull())
DcqRVwpmRC8n = jyDyVrfi56dI[rm1uRQGSygF4 & maMDvHzsQ6IR]
roI3spqORKae(DcqRVwpmRC8n, roI3spqORKae(ES5oEprVxulp(b'Bcp\xe9\xe1\xec\xfd\xea\x9fE\xdc\x9b\xa3\xd3F'), chr(0b101100 + 0o70) + '\145' + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(0b1100101))(chr(2757 - 2640) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + '\070'))(subset=[roI3spqORKae(ES5oEprVxulp(b'V~s\xfc\xe1\xe4\xe9\xee'), chr(100) + chr(0b1100100 + 0o1) + chr(4954 - 4855) + chr(0b1101111) + '\x64' + chr(0b1100101))('\x75' + chr(116) + chr(0b1100110) + chr(0b101101) + '\070'), roI3spqORKae(ES5oEprVxulp(b'V~s\xfc\xe1\xe4\xe7\xf4'), chr(0b101011 + 0o71) + '\x65' + chr(99) + chr(0b1101111) + '\x64' + chr(5181 - 5080))(chr(5164 - 5047) + chr(5154 - 5038) + '\x66' + '\055' + '\070'), roI3spqORKae(ES5oEprVxulp(b'J~|\xf8\xca\xe1\xe7\xf4'), chr(100) + chr(5777 - 5676) + chr(99) + chr(111) + chr(3052 - 2952) + chr(5998 - 5897))('\x75' + '\164' + chr(0b10110 + 0o120) + '\055' + chr(0b10110 + 0o42))], inplace=nzTpIcepk0o8('\060' + '\x6f' + chr(0b10011 + 0o36), 8))
if roI3spqORKae(ES5oEprVxulp(b'Bxm\xc6\xca\xe1\xe4\xee\xacO\xd0\x88\xa5\xd3VO\xa6\x155'), chr(0b1100100) + '\x65' + chr(99) + chr(0b100111 + 0o110) + chr(100) + '\x65')(chr(10335 - 10218) + '\x74' + '\x66' + '\055' + chr(56)) in roI3spqORKae(DcqRVwpmRC8n, roI3spqORKae(ES5oEprVxulp(b's"&\xf3\xed\xe1\xc1\xaf\xc7a\xd3\x8a'), chr(0b111000 + 0o54) + chr(0b10101 + 0o120) + '\143' + chr(111) + chr(100) + '\x65')(chr(0b1110101) + chr(0b1110100) + '\146' + chr(45) + '\070')):
if not px1MpgT0hYQ9:
mpRHCKgMnohP = DcqRVwpmRC8n[roI3spqORKae(ES5oEprVxulp(b'Bxm\xc6\xca\xe1\xe4\xee\xacO\xd0\x88\xa5\xd3VO\xa6\x155'), chr(0b1100100) + chr(0b1010101 + 0o20) + chr(99) + chr(11970 - 11859) + chr(0b100100 + 0o100) + chr(0b1100101))(chr(0b1100011 + 0o22) + chr(0b1000001 + 0o63) + chr(0b101010 + 0o74) + chr(45) + chr(1769 - 1713))].G3de2eWQaS0D()
if 100.0 in mpRHCKgMnohP:
px1MpgT0hYQ9 = roI3spqORKae(ES5oEprVxulp(b'R'), chr(100) + chr(0b1100101) + '\x63' + chr(0b1101111) + chr(100) + '\x65')('\x75' + chr(116) + chr(3143 - 3041) + '\x2d' + '\070')
elif 0.0 in mpRHCKgMnohP:
px1MpgT0hYQ9 = roI3spqORKae(ES5oEprVxulp(b'A'), '\144' + chr(482 - 381) + chr(99) + chr(0b1101111) + '\144' + chr(2439 - 2338))(chr(0b1110101) + '\164' + chr(0b1100110) + '\x2d' + chr(0b101101 + 0o13))
else:
px1MpgT0hYQ9 = roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100 + 0o130) + '\x65' + chr(0b1100011) + chr(0b1100 + 0o143) + '\x64' + chr(101))('\x75' + chr(116) + chr(0b100111 + 0o77) + chr(0b11101 + 0o20) + '\x38')
KEcEPZOtiWdP = {roI3spqORKae(ES5oEprVxulp(b'A'), chr(0b1100100) + chr(101) + chr(5917 - 5818) + chr(6362 - 6251) + chr(100) + '\145')('\x75' + '\x74' + '\146' + chr(0b0 + 0o55) + chr(0b101010 + 0o16)): nzTpIcepk0o8('\x30' + chr(0b10110 + 0o131) + chr(0b11111 + 0o21), 8), roI3spqORKae(ES5oEprVxulp(b'R'), '\x64' + chr(101) + chr(8414 - 8315) + chr(111) + chr(0b1100100) + '\x65')(chr(0b100110 + 0o117) + '\164' + chr(0b1100110) + '\055' + '\070'): nzTpIcepk0o8('\060' + '\157' + chr(0b10101 + 0o34) + '\064' + '\064', 0b1000)}
nKUAs3HG0RP8 = KEcEPZOtiWdP[px1MpgT0hYQ9] if px1MpgT0hYQ9 else roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + '\x65' + '\143' + chr(111) + '\x64' + chr(0b1100101))(chr(765 - 648) + '\164' + '\x66' + chr(121 - 76) + chr(0b101000 + 0o20))
if (nKUAs3HG0RP8 or nKUAs3HG0RP8 == nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\060', 8)) and roI3spqORKae(ES5oEprVxulp(b'Bxm\xc6\xca\xe1\xe4\xee\xacO\xd0\x88\xa5\xd3VO\xa6\x155'), chr(0b1100100) + '\x65' + '\143' + chr(0b111011 + 0o64) + chr(100) + chr(0b1100101))(chr(117) + '\x74' + chr(0b1001111 + 0o27) + '\x2d' + chr(0b111000)) in roI3spqORKae(DcqRVwpmRC8n, roI3spqORKae(ES5oEprVxulp(b's"&\xf3\xed\xe1\xc1\xaf\xc7a\xd3\x8a'), '\x64' + '\145' + chr(2175 - 2076) + chr(111) + '\144' + chr(0b1100101))(chr(11084 - 10967) + '\x74' + chr(0b1100110) + chr(0b101101) + chr(0b111000))):
DcqRVwpmRC8n = DcqRVwpmRC8n[DcqRVwpmRC8n[roI3spqORKae(ES5oEprVxulp(b'Bxm\xc6\xca\xe1\xe4\xee\xacO\xd0\x88\xa5\xd3VO\xa6\x155'), '\x64' + chr(9219 - 9118) + '\x63' + '\x6f' + chr(0b1100100) + '\145')('\x75' + chr(8554 - 8438) + chr(0b10001 + 0o125) + chr(45) + '\070')] == nKUAs3HG0RP8]
HVsXCPuCO821 = DcqRVwpmRC8n[roI3spqORKae(ES5oEprVxulp(b'J~|\xf8\xca\xe1\xe7\xf4'), '\x64' + chr(2606 - 2505) + chr(0b1011111 + 0o4) + '\x6f' + '\144' + chr(0b1100101))('\165' + '\x74' + '\x66' + chr(514 - 469) + chr(0b1010 + 0o56))].CsodZJH6x9Tx
c7FJzf0TKi1V = roI3spqORKae(ES5oEprVxulp(b'\x1c'), chr(0b1010 + 0o132) + chr(2849 - 2748) + '\x63' + '\157' + chr(0b10000 + 0o124) + '\x65')(chr(0b110001 + 0o104) + '\164' + chr(0b101111 + 0o67) + chr(0b1100 + 0o41) + '\x38').Y4yM9BcfTCNq(DcqRVwpmRC8n[roI3spqORKae(ES5oEprVxulp(b'J~|\xf8\xca\xe1\xe7\xf4'), '\144' + chr(0b1000 + 0o135) + '\143' + chr(10478 - 10367) + chr(100) + '\x65')('\165' + chr(0b110010 + 0o102) + chr(9743 - 9641) + chr(45) + '\070')].G3de2eWQaS0D())
if roI3spqORKae(ES5oEprVxulp(b'Gvz'), chr(100) + '\145' + chr(9352 - 9253) + '\x6f' + chr(100) + '\145')(chr(117) + chr(0b1010001 + 0o43) + '\146' + '\x2d' + chr(56)) not in roI3spqORKae(DcqRVwpmRC8n, roI3spqORKae(ES5oEprVxulp(b's"&\xf3\xed\xe1\xc1\xaf\xc7a\xd3\x8a'), chr(0b1100100) + chr(0b1100101) + '\x63' + chr(10717 - 10606) + chr(0b1100100) + chr(9335 - 9234))(chr(117) + '\x74' + chr(0b1100110) + chr(45) + '\x38')) and roI3spqORKae(ES5oEprVxulp(b'Gvz\xc6\xd2\xe7\xff'), chr(100) + chr(0b1100101) + chr(0b1010111 + 0o14) + '\x6f' + '\x64' + chr(3706 - 3605))('\x75' + chr(0b1110100) + '\x66' + '\055' + chr(0b111000)) in roI3spqORKae(DcqRVwpmRC8n, roI3spqORKae(ES5oEprVxulp(b's"&\xf3\xed\xe1\xc1\xaf\xc7a\xd3\x8a'), '\144' + chr(0b101001 + 0o74) + chr(0b101101 + 0o66) + chr(0b1011011 + 0o24) + chr(307 - 207) + '\145')(chr(0b1110101) + '\164' + chr(102) + chr(0b1011 + 0o42) + chr(0b111000))) and (roI3spqORKae(ES5oEprVxulp(b'Gvz\xc6\xd6\xe1\xef\xf2'), chr(100) + chr(0b1100101) + '\x63' + chr(0b1101111) + '\144' + chr(1142 - 1041))(chr(12570 - 12453) + '\x74' + chr(102) + chr(0b101101) + '\070') in roI3spqORKae(DcqRVwpmRC8n, roI3spqORKae(ES5oEprVxulp(b's"&\xf3\xed\xe1\xc1\xaf\xc7a\xd3\x8a'), '\144' + chr(0b11110 + 0o107) + chr(0b1100011) + '\157' + chr(9811 - 9711) + chr(0b1100001 + 0o4))(chr(4950 - 4833) + chr(6849 - 6733) + chr(0b1100110) + '\x2d' + chr(0b10010 + 0o46)))):
DcqRVwpmRC8n[roI3spqORKae(ES5oEprVxulp(b'Gvz'), chr(3404 - 3304) + chr(5268 - 5167) + chr(365 - 266) + chr(7416 - 7305) + '\144' + '\145')('\165' + chr(0b11000 + 0o134) + chr(0b1100110) + '\x2d' + chr(56))] = DcqRVwpmRC8n[roI3spqORKae(ES5oEprVxulp(b'Gvz\xc6\xd2\xe7\xff'), chr(8274 - 8174) + chr(1988 - 1887) + chr(0b100101 + 0o76) + chr(111) + chr(0b1011 + 0o131) + chr(0b1100101))(chr(0b111010 + 0o73) + chr(8443 - 8327) + chr(0b1100110) + chr(0b101101) + chr(56))] + 0.5 * (DcqRVwpmRC8n[roI3spqORKae(ES5oEprVxulp(b'Gvz\xc6\xd6\xe1\xef\xf2'), '\x64' + chr(2499 - 2398) + chr(0b1100011) + '\x6f' + chr(4083 - 3983) + chr(7640 - 7539))(chr(8125 - 8008) + chr(0b1110100) + '\146' + '\055' + chr(0b111000))] - DcqRVwpmRC8n[roI3spqORKae(ES5oEprVxulp(b'Gvz\xc6\xd2\xe7\xff'), '\144' + chr(0b101 + 0o140) + chr(99) + chr(111) + chr(0b1010 + 0o132) + '\x65')(chr(0b1001101 + 0o50) + chr(1888 - 1772) + chr(0b1100110) + '\055' + chr(56))])
if roI3spqORKae(ES5oEprVxulp(b'Gvz'), chr(5730 - 5630) + '\x65' + chr(0b1000010 + 0o41) + chr(0b1101111) + chr(0b1100100) + '\x65')(chr(11776 - 11659) + '\164' + '\146' + '\x2d' + chr(0b111000)) in roI3spqORKae(DcqRVwpmRC8n, roI3spqORKae(ES5oEprVxulp(b's"&\xf3\xed\xe1\xc1\xaf\xc7a\xd3\x8a'), chr(5318 - 5218) + chr(8839 - 8738) + chr(0b1100011) + chr(11683 - 11572) + '\x64' + chr(0b1100101))(chr(11087 - 10970) + '\164' + chr(102) + '\055' + '\070')) and rJXkqb7BR5II:
_olqupWMJO4N = DcqRVwpmRC8n[roI3spqORKae(ES5oEprVxulp(b'Gvz'), chr(100) + '\x65' + chr(99) + chr(0b1000000 + 0o57) + chr(0b1100100) + chr(101))(chr(0b1110101) + chr(116) + chr(0b1001 + 0o135) + '\x2d' + chr(0b111000))].G3de2eWQaS0D()
if not VF4pKOObtlPc(roI3spqORKae(DcqRVwpmRC8n, roI3spqORKae(ES5oEprVxulp(b'|ay\xd7\x8b\xfc\xdb\xd6\x92v\xc5\x9f'), chr(100) + '\x65' + chr(0b0 + 0o143) + '\157' + '\144' + '\145')('\165' + chr(0b1110100 + 0o0) + chr(102) + chr(0b1111 + 0o36) + chr(0b111000 + 0o0)))):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x0bF2\xb9\xf0\xe7\xa8\xea\x9c@\xda\x89\xf7\xd5ZN\xa3\x1e{8\xb7\x03\x95\xb9R\xb7u\xe5\xfd'), chr(9112 - 9012) + chr(8563 - 8462) + chr(0b1100011) + chr(111) + chr(4414 - 4314) + '\145')(chr(0b1110101) + '\x74' + '\x66' + chr(0b1010 + 0o43) + chr(56)))
return (nzTpIcepk0o8(chr(48) + chr(111) + chr(0b10101 + 0o33), 8), roI3spqORKae(ES5oEprVxulp(b'h~?\xe9\xd1\xe4\xed\xe9\xd3O\xd0\x8f\xbb\xd2\x15Y\xaaZ+6\xbdW\x91\xb0Y'), chr(4813 - 4713) + chr(2740 - 2639) + chr(0b1100011) + chr(0b1101111) + '\144' + chr(0b10100 + 0o121))('\x75' + chr(0b1110100) + chr(102) + '\055' + '\070'))
for (w5vcgUzFN3bF, o6UWUO21mH25) in roI3spqORKae(DcqRVwpmRC8n, roI3spqORKae(ES5oEprVxulp(b'Oez\xeb\xcc\xe7\xff\xe9'), chr(100) + chr(5230 - 5129) + chr(0b101011 + 0o70) + chr(0b1101111) + chr(0b101000 + 0o74) + chr(101))(chr(1577 - 1460) + chr(7588 - 7472) + chr(6415 - 6313) + '\055' + chr(3020 - 2964)))():
(Wp2Umairw0XS, OSV4Uwkhpwk6) = (jLW6pRf2DSRk(o6UWUO21mH25[roI3spqORKae(ES5oEprVxulp(b'V~s\xfc\xe1\xe4\xe9\xee'), chr(5945 - 5845) + '\145' + '\x63' + chr(8903 - 8792) + chr(0b1100100) + '\x65')(chr(117) + '\164' + '\x66' + '\x2d' + chr(0b10 + 0o66))]), jLW6pRf2DSRk(o6UWUO21mH25[roI3spqORKae(ES5oEprVxulp(b'V~s\xfc\xe1\xe4\xe7\xf4'), chr(0b1100100) + '\x65' + chr(6825 - 6726) + '\157' + chr(0b111000 + 0o54) + '\x65')(chr(0b101010 + 0o113) + chr(0b1110100) + chr(0b11110 + 0o110) + chr(0b101101) + chr(2017 - 1961))]))
if roI3spqORKae(ES5oEprVxulp(b'Bxm\xc6\xce\xe7\xe4\xfb\x81E\xcb\x83'), chr(0b110 + 0o136) + chr(0b1100001 + 0o4) + chr(0b1100011) + '\157' + chr(0b11101 + 0o107) + chr(921 - 820))(chr(5166 - 5049) + chr(116) + chr(0b1100110) + '\x2d' + '\x38') in o6UWUO21mH25:
roI3spqORKae(JTtuRnWE4eON, roI3spqORKae(ES5oEprVxulp(b'nEL\xad\xc6\xef\xcf\xf5\x99C\xea\xcf'), chr(4970 - 4870) + '\x65' + '\x63' + chr(0b1001011 + 0o44) + chr(100) + chr(101))(chr(0b100110 + 0o117) + '\x74' + '\x66' + chr(45) + chr(0b110110 + 0o2)))(o6UWUO21mH25[roI3spqORKae(ES5oEprVxulp(b'Bxm\xc6\xce\xe7\xe4\xfb\x81E\xcb\x83'), chr(3155 - 3055) + '\145' + '\143' + '\157' + chr(7583 - 7483) + '\x65')(chr(117) + chr(116) + chr(102) + '\x2d' + chr(0b111000))])
if wusdF6YTZKJ3:
roI3spqORKae(s1mrpKIq1Wpy, roI3spqORKae(ES5oEprVxulp(b'nEL\xad\xc6\xef\xcf\xf5\x99C\xea\xcf'), chr(0b10011 + 0o121) + '\x65' + chr(7403 - 7304) + '\x6f' + chr(0b1110 + 0o126) + chr(0b1100101))('\165' + chr(0b10100 + 0o140) + chr(102) + '\x2d' + '\x38'))(-Wp2Umairw0XS)
OSV4Uwkhpwk6 = OSV4Uwkhpwk6 + 180.0
if OSV4Uwkhpwk6 > nzTpIcepk0o8('\x30' + chr(0b11011 + 0o124) + chr(0b101011 + 0o12) + chr(0b110101) + '\060', 0b1000):
OSV4Uwkhpwk6 = OSV4Uwkhpwk6 - 360.0
roI3spqORKae(_3zJfzXGVnPJ, roI3spqORKae(ES5oEprVxulp(b'nEL\xad\xc6\xef\xcf\xf5\x99C\xea\xcf'), chr(0b1100100) + chr(4636 - 4535) + chr(99) + '\157' + '\144' + chr(0b1100101))(chr(117) + chr(116) + chr(0b1100110) + chr(0b101101) + '\070'))(OSV4Uwkhpwk6)
elif not LeuPzfhzM9U8:
roI3spqORKae(s1mrpKIq1Wpy, roI3spqORKae(ES5oEprVxulp(b'nEL\xad\xc6\xef\xcf\xf5\x99C\xea\xcf'), chr(8447 - 8347) + chr(101) + chr(99) + chr(0b1011100 + 0o23) + chr(0b1010100 + 0o20) + '\x65')('\x75' + chr(0b1110100) + chr(8573 - 8471) + '\x2d' + chr(0b111000)))(Wp2Umairw0XS)
roI3spqORKae(_3zJfzXGVnPJ, roI3spqORKae(ES5oEprVxulp(b'nEL\xad\xc6\xef\xcf\xf5\x99C\xea\xcf'), chr(100) + chr(2972 - 2871) + chr(0b1001111 + 0o24) + '\157' + chr(0b1100100) + '\145')(chr(11723 - 11606) + chr(0b111010 + 0o72) + chr(0b1100110) + chr(1427 - 1382) + chr(0b111000)))(OSV4Uwkhpwk6)
elif LeuPzfhzM9U8:
if Wp2Umairw0XS < nzTpIcepk0o8('\060' + chr(111) + chr(0b110000), 8):
roI3spqORKae(cM3f9IUfxzKT, roI3spqORKae(ES5oEprVxulp(b'nEL\xad\xc6\xef\xcf\xf5\x99C\xea\xcf'), '\x64' + chr(0b111101 + 0o50) + '\143' + chr(7734 - 7623) + '\144' + '\x65')(chr(0b1110101) + chr(0b1110100) + chr(0b1010101 + 0o21) + chr(650 - 605) + chr(0b111000)))(-Wp2Umairw0XS)
OSV4Uwkhpwk6 = OSV4Uwkhpwk6 + 180.0
if OSV4Uwkhpwk6 > nzTpIcepk0o8(chr(0b110000) + chr(8139 - 8028) + chr(0b1010 + 0o53) + '\x35' + chr(0b10001 + 0o37), 8):
OSV4Uwkhpwk6 = OSV4Uwkhpwk6 - nzTpIcepk0o8(chr(0b110000) + chr(111) + '\x35' + chr(53) + chr(0b110000), 8)
roI3spqORKae(grJe2AcEoma_, roI3spqORKae(ES5oEprVxulp(b'nEL\xad\xc6\xef\xcf\xf5\x99C\xea\xcf'), '\144' + chr(101) + chr(0b1100011) + chr(111) + '\144' + chr(0b1100101))(chr(0b1110101) + chr(9504 - 9388) + '\x66' + '\x2d' + '\x38'))(OSV4Uwkhpwk6)
else:
roI3spqORKae(s1mrpKIq1Wpy, roI3spqORKae(ES5oEprVxulp(b'nEL\xad\xc6\xef\xcf\xf5\x99C\xea\xcf'), chr(6661 - 6561) + chr(101) + chr(0b1100011) + chr(0b1000010 + 0o55) + chr(0b1100100) + '\145')('\165' + '\164' + chr(2119 - 2017) + '\x2d' + chr(1379 - 1323)))(Wp2Umairw0XS)
roI3spqORKae(_3zJfzXGVnPJ, roI3spqORKae(ES5oEprVxulp(b'nEL\xad\xc6\xef\xcf\xf5\x99C\xea\xcf'), chr(100) + chr(101) + '\x63' + chr(0b1101110 + 0o1) + '\x64' + chr(0b10101 + 0o120))(chr(0b1011000 + 0o35) + chr(0b111 + 0o155) + '\x66' + chr(0b10001 + 0o34) + '\x38'))(OSV4Uwkhpwk6)
dQIwqFqsHkB0 = []
roI3spqORKae(dQIwqFqsHkB0, roI3spqORKae(ES5oEprVxulp(b'nEL\xad\xc6\xef\xcf\xf5\x99C\xea\xcf'), chr(100) + chr(0b110000 + 0o65) + chr(0b1100011) + '\157' + '\144' + chr(2102 - 2001))('\165' + '\x74' + '\x66' + chr(671 - 626) + chr(0b10111 + 0o41)))(OSV4Uwkhpwk6)
roI3spqORKae(dQIwqFqsHkB0, roI3spqORKae(ES5oEprVxulp(b'nEL\xad\xc6\xef\xcf\xf5\x99C\xea\xcf'), chr(100) + chr(0b1100000 + 0o5) + chr(99) + chr(111) + chr(0b1100100) + chr(3970 - 3869))(chr(0b1010 + 0o153) + chr(2544 - 2428) + '\146' + chr(45) + '\x38'))(Wp2Umairw0XS)
(CYatfRWMASzt, mcpiKpsmI_9t) = (roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(8108 - 8007) + '\x63' + '\157' + chr(0b1100100) + chr(0b1100101))(chr(4091 - 3974) + '\164' + '\x66' + chr(0b11100 + 0o21) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b''), chr(100) + '\x65' + chr(0b1011100 + 0o7) + '\157' + '\144' + '\x65')('\165' + chr(0b1110100) + chr(102) + chr(0b1011 + 0o42) + chr(201 - 145)))
if roI3spqORKae(ES5oEprVxulp(b'V~s\xfc\xe1\xec\xe5'), '\x64' + chr(101) + chr(0b1100011) + '\157' + '\x64' + chr(0b1010111 + 0o16))(chr(0b1110101) + chr(116) + '\146' + chr(0b100 + 0o51) + chr(0b0 + 0o70)) in H4NoA26ON7iG(roI3spqORKae(o6UWUO21mH25, roI3spqORKae(ES5oEprVxulp(b'Mtf\xea'), chr(0b110101 + 0o57) + chr(0b10101 + 0o120) + chr(1557 - 1458) + chr(0b1101111) + chr(100) + '\145')(chr(0b1101010 + 0o13) + chr(0b1110100) + chr(0b110110 + 0o60) + chr(45) + '\x38'))()) and o6UWUO21mH25[roI3spqORKae(ES5oEprVxulp(b'V~s\xfc\xe1\xec\xe5'), chr(0b1100100) + '\145' + '\143' + '\157' + chr(100) + chr(0b1011 + 0o132))(chr(0b1110101) + chr(0b101011 + 0o111) + '\x66' + '\055' + '\070')]:
CYatfRWMASzt = jLW6pRf2DSRk(o6UWUO21mH25[roI3spqORKae(ES5oEprVxulp(b'V~s\xfc\xe1\xec\xe5'), chr(0b1100100) + '\145' + chr(0b1100011) + chr(0b101001 + 0o106) + chr(100) + '\x65')(chr(117) + chr(0b1110100) + '\x66' + chr(0b101101) + chr(1544 - 1488))])
if roI3spqORKae(ES5oEprVxulp(b'V~s\xfc\xe1\xec\xf8'), '\144' + '\145' + '\143' + '\157' + '\x64' + '\145')(chr(5676 - 5559) + chr(0b1010010 + 0o42) + chr(2946 - 2844) + chr(45) + '\x38') in H4NoA26ON7iG(roI3spqORKae(o6UWUO21mH25, roI3spqORKae(ES5oEprVxulp(b'Mtf\xea'), chr(100) + chr(2063 - 1962) + '\143' + chr(0b1101111) + '\144' + chr(0b1100101))(chr(11685 - 11568) + chr(0b10010 + 0o142) + chr(2130 - 2028) + '\x2d' + '\070'))()) and o6UWUO21mH25[roI3spqORKae(ES5oEprVxulp(b'V~s\xfc\xe1\xec\xf8'), '\x64' + chr(0b10110 + 0o117) + chr(0b1011001 + 0o12) + chr(0b1000111 + 0o50) + chr(0b1100100) + chr(7347 - 7246))(chr(0b1110101) + chr(0b1110100) + chr(102) + chr(478 - 433) + '\x38')]:
mcpiKpsmI_9t = jLW6pRf2DSRk(o6UWUO21mH25[roI3spqORKae(ES5oEprVxulp(b'V~s\xfc\xe1\xec\xf8'), chr(100) + '\145' + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + '\x65')(chr(0b1110101) + chr(3946 - 3830) + chr(102) + '\x2d' + chr(298 - 242))])
if roI3spqORKae(ES5oEprVxulp(b'V~s\xfc\xe1\xe9\xe4\xea\x9bM\x86\xcf'), '\x64' + '\145' + '\x63' + chr(111) + chr(100) + chr(0b100000 + 0o105))('\x75' + chr(7461 - 7345) + '\146' + chr(0b101101) + chr(0b100100 + 0o24)) in H4NoA26ON7iG(roI3spqORKae(o6UWUO21mH25, roI3spqORKae(ES5oEprVxulp(b'Mtf\xea'), '\x64' + '\145' + '\143' + chr(111) + chr(0b1100100) + '\x65')(chr(117) + chr(0b101000 + 0o114) + chr(0b1100110) + chr(0b101101) + '\x38'))()) and o6UWUO21mH25[roI3spqORKae(ES5oEprVxulp(b'V~s\xfc\xe1\xe9\xe4\xea\x9bM\x86\xcf'), '\x64' + '\x65' + chr(99) + '\x6f' + '\x64' + chr(101))('\x75' + '\164' + chr(0b1100110) + chr(45) + chr(0b101 + 0o63))]:
(CYatfRWMASzt, mcpiKpsmI_9t) = (jLW6pRf2DSRk(o6UWUO21mH25[roI3spqORKae(ES5oEprVxulp(b'V~s\xfc\xe1\xe9\xe4\xea\x9bM\x86\xcf'), chr(100) + chr(0b1100101) + chr(99) + '\x6f' + chr(0b1100100) + chr(0b1100101))(chr(0b10011 + 0o142) + chr(0b1110100) + chr(588 - 486) + '\055' + chr(0b101110 + 0o12))]), jLW6pRf2DSRk(o6UWUO21mH25[roI3spqORKae(ES5oEprVxulp(b'V~s\xfc\xe1\xe9\xe4\xea\x9bM\x86\xcf'), '\144' + chr(101) + '\143' + chr(111) + '\x64' + chr(101))(chr(0b1001 + 0o154) + chr(0b1000000 + 0o64) + chr(102) + '\x2d' + chr(468 - 412))]))
if CYatfRWMASzt and mcpiKpsmI_9t and _3zJfzXGVnPJ:
dQIwqFqsHkB0 = []
roI3spqORKae(dQIwqFqsHkB0, roI3spqORKae(ES5oEprVxulp(b'nEL\xad\xc6\xef\xcf\xf5\x99C\xea\xcf'), chr(100) + chr(2581 - 2480) + chr(6970 - 6871) + chr(0b1101001 + 0o6) + chr(7455 - 7355) + '\145')('\x75' + chr(0b1110100) + chr(0b1100110) + chr(45) + '\070'))(_3zJfzXGVnPJ[-nzTpIcepk0o8(chr(0b110000) + chr(0b1000011 + 0o54) + chr(49), 8)])
roI3spqORKae(dQIwqFqsHkB0, roI3spqORKae(ES5oEprVxulp(b'nEL\xad\xc6\xef\xcf\xf5\x99C\xea\xcf'), chr(0b1100100) + chr(101) + chr(0b1100011) + chr(0b10100 + 0o133) + chr(529 - 429) + chr(6595 - 6494))(chr(0b1110101) + '\164' + chr(102) + '\055' + '\x38'))(s1mrpKIq1Wpy[-nzTpIcepk0o8('\x30' + '\x6f' + '\061', 8)])
roI3spqORKae(dQIwqFqsHkB0, roI3spqORKae(ES5oEprVxulp(b'nEL\xad\xc6\xef\xcf\xf5\x99C\xea\xcf'), '\144' + chr(0b1100101) + chr(0b11110 + 0o105) + chr(10796 - 10685) + '\x64' + chr(0b1110 + 0o127))(chr(0b1110101) + chr(0b1110100) + chr(102) + '\x2d' + '\070'))(CYatfRWMASzt)
roI3spqORKae(dQIwqFqsHkB0, roI3spqORKae(ES5oEprVxulp(b'nEL\xad\xc6\xef\xcf\xf5\x99C\xea\xcf'), chr(0b1010011 + 0o21) + chr(101) + chr(1214 - 1115) + '\x6f' + chr(100) + chr(0b1100101))(chr(0b100010 + 0o123) + '\164' + '\x66' + '\055' + '\070'))(_3zJfzXGVnPJ[-nzTpIcepk0o8('\060' + chr(2976 - 2865) + chr(2292 - 2243), 8)])
try:
jbliWRK9qZEH = zQBGwUT7UU8L(s1mrpKIq1Wpy[-nzTpIcepk0o8('\060' + chr(111) + chr(49), 8)]) / s1mrpKIq1Wpy[-nzTpIcepk0o8(chr(48) + '\157' + chr(0b1 + 0o60), 8)]
except GA4ANb_Tki5v:
jbliWRK9qZEH = nzTpIcepk0o8(chr(0b110000) + chr(0b100100 + 0o113) + '\061', 8)
roI3spqORKae(dQIwqFqsHkB0, roI3spqORKae(ES5oEprVxulp(b'nEL\xad\xc6\xef\xcf\xf5\x99C\xea\xcf'), chr(0b1100100) + '\x65' + chr(2019 - 1920) + chr(0b1101111) + chr(0b1100100) + chr(0b1100101))(chr(117) + chr(0b1001011 + 0o51) + '\146' + chr(0b101101) + '\x38'))(s1mrpKIq1Wpy[-nzTpIcepk0o8(chr(48) + '\157' + chr(177 - 128), 8)] - jbliWRK9qZEH * 90.0)
roI3spqORKae(dQIwqFqsHkB0, roI3spqORKae(ES5oEprVxulp(b'nEL\xad\xc6\xef\xcf\xf5\x99C\xea\xcf'), chr(100) + chr(3648 - 3547) + chr(99) + '\x6f' + '\144' + chr(0b1100101))(chr(4675 - 4558) + chr(116) + '\x66' + '\055' + '\070'))(mcpiKpsmI_9t)
roI3spqORKae(dQIwqFqsHkB0, roI3spqORKae(ES5oEprVxulp(b'nEL\xad\xc6\xef\xcf\xf5\x99C\xea\xcf'), chr(100) + '\145' + chr(99) + chr(111) + '\x64' + '\x65')('\x75' + '\164' + chr(102) + chr(0b10110 + 0o27) + chr(0b1111 + 0o51)))(_3zJfzXGVnPJ[-nzTpIcepk0o8(chr(48) + chr(5057 - 4946) + chr(0b110001), 8)] + 90.0)
roI3spqORKae(dQIwqFqsHkB0, roI3spqORKae(ES5oEprVxulp(b'nEL\xad\xc6\xef\xcf\xf5\x99C\xea\xcf'), chr(0b1011 + 0o131) + '\145' + chr(0b1010110 + 0o15) + chr(0b1101111) + '\144' + chr(0b1100101))('\165' + chr(0b1110100) + chr(102) + chr(1029 - 984) + '\x38'))(0.0)
roI3spqORKae(mFUklODHEk5L, roI3spqORKae(ES5oEprVxulp(b'nEL\xad\xc6\xef\xcf\xf5\x99C\xea\xcf'), chr(0b1100100) + chr(101) + chr(99) + chr(0b1101111) + chr(0b100000 + 0o104) + '\x65')('\165' + '\x74' + chr(102) + chr(0b10000 + 0o35) + '\x38'))(dQIwqFqsHkB0)
c7FJzf0TKi1V = c7FJzf0TKi1V.kdIDrcwZTCs5(roI3spqORKae(ES5oEprVxulp(b'\x1c'), chr(0b1100100) + '\145' + chr(99) + '\157' + chr(100) + chr(0b1001101 + 0o30))('\x75' + '\x74' + chr(0b1100110) + chr(1189 - 1144) + chr(1356 - 1300)))
KS0fj7r4N6zr = {roI3spqORKae(ES5oEprVxulp(b'Jpk\xf4\xd7\xe6'), chr(3111 - 3011) + chr(0b100 + 0o141) + '\143' + '\x6f' + chr(0b1100100) + chr(101))('\165' + chr(0b1110100) + '\x66' + chr(45) + chr(56)): -nzTpIcepk0o8(chr(0b100000 + 0o20) + chr(0b1101111) + '\061' + '\063' + '\062', 8), roI3spqORKae(ES5oEprVxulp(b'Jpk\xf4\xdf\xf0'), chr(100) + '\145' + chr(744 - 645) + '\x6f' + chr(0b1100100) + '\145')('\165' + chr(10756 - 10640) + '\x66' + '\x2d' + '\070'): nzTpIcepk0o8(chr(48) + chr(11696 - 11585) + chr(550 - 501) + chr(0b110011) + '\x32', 8), roI3spqORKae(ES5oEprVxulp(b'J~q\xf4\xd7\xe6'), '\144' + chr(0b1100101) + chr(0b101111 + 0o64) + '\x6f' + '\144' + chr(7392 - 7291))('\x75' + chr(116) + chr(0b1100110) + chr(1525 - 1480) + chr(0b111000)): 0.0, roI3spqORKae(ES5oEprVxulp(b'J~q\xf4\xdf\xf0'), chr(8724 - 8624) + '\x65' + chr(6549 - 6450) + '\x6f' + chr(100) + chr(0b1100101))('\165' + chr(6163 - 6047) + chr(0b1100110) + chr(1431 - 1386) + '\070'): 360.0, roI3spqORKae(ES5oEprVxulp(b'Jpk\xc6\x8e'), chr(560 - 460) + chr(101) + '\x63' + chr(0b1001011 + 0o44) + chr(100) + '\x65')('\165' + chr(0b11011 + 0o131) + '\x66' + chr(0b0 + 0o55) + '\x38'): vvGqd7Fkqgfw, roI3spqORKae(ES5oEprVxulp(b'J~q\xc6\x8e'), '\x64' + chr(101) + chr(0b1100011) + chr(111) + chr(3633 - 3533) + '\145')('\165' + chr(116) + chr(3108 - 3006) + chr(1667 - 1622) + chr(0b110101 + 0o3)): E7x0t9AdiILk, roI3spqORKae(ES5oEprVxulp(b'Vcp\xf3'), chr(0b1100100) + chr(4461 - 4360) + '\143' + chr(3821 - 3710) + chr(100) + chr(0b1100101))(chr(117) + '\x74' + chr(8090 - 7988) + '\x2d' + chr(0b110101 + 0o3)): yNS8IgQS0ymV, roI3spqORKae(ES5oEprVxulp(b'Uhr'), chr(0b111011 + 0o51) + '\x65' + chr(0b1001111 + 0o24) + chr(111) + '\144' + chr(101))(chr(0b1110101) + chr(0b1110100) + chr(102) + '\055' + chr(0b111000)): roI3spqORKae(ES5oEprVxulp(b'D:'), chr(0b10101 + 0o117) + '\145' + '\x63' + chr(0b1101111) + '\x64' + chr(4831 - 4730))('\x75' + chr(116) + '\x66' + chr(0b101101) + chr(214 - 158)), roI3spqORKae(ES5oEprVxulp(b'Uhr\xea\xd7\xf2\xed'), chr(100) + chr(101) + chr(6816 - 6717) + chr(111) + '\144' + chr(0b1010100 + 0o21))(chr(0b1110101) + '\x74' + '\x66' + chr(0b101100 + 0o1) + chr(0b111000)): nzTpIcepk0o8('\060' + chr(0b1101111) + '\065' + chr(0b11 + 0o55), 8), roI3spqORKae(ES5oEprVxulp(b'V}k\xfe\xcc\xe1\xec'), chr(0b1100100) + '\x65' + chr(0b1100011) + '\157' + chr(2976 - 2876) + '\145')('\x75' + chr(6059 - 5943) + chr(2608 - 2506) + chr(0b101101) + '\x38'): nzTpIcepk0o8(chr(79 - 31) + chr(111) + chr(0b110000), 8), roI3spqORKae(ES5oEprVxulp(b'Ttl'), chr(100) + '\145' + chr(0b1100011) + '\x6f' + chr(0b1001100 + 0o30) + chr(0b11111 + 0o106))('\165' + '\x74' + chr(102) + '\055' + '\x38'): _XdQFJpnzJor, roI3spqORKae(ES5oEprVxulp(b'D~j\xf7\xda\xe1\xe6\xfd\x9fM\xcb'), chr(0b10001 + 0o123) + chr(101) + chr(3597 - 3498) + chr(11773 - 11662) + chr(6473 - 6373) + chr(3060 - 2959))(chr(117) + chr(0b10011 + 0o141) + '\146' + '\055' + '\x38'): 0.0, roI3spqORKae(ES5oEprVxulp(b'Cux\xfc\xdd\xe7\xe4\xf5\x81'), chr(0b110111 + 0o55) + chr(0b10011 + 0o122) + chr(0b1100011) + chr(111) + chr(0b101110 + 0o66) + '\145')('\165' + chr(0b1110100) + chr(0b1100110) + chr(240 - 195) + chr(0b111000 + 0o0)): roI3spqORKae(ES5oEprVxulp(b'@p|\xfc'), chr(0b1100100) + chr(101) + '\143' + chr(0b1100101 + 0o12) + chr(0b1100100) + chr(0b1010100 + 0o21))(chr(0b101000 + 0o115) + chr(0b100001 + 0o123) + chr(102) + '\055' + chr(2955 - 2899))}
KS0fj7r4N6zr[roI3spqORKae(ES5oEprVxulp(b'Btk\xf8\xd7\xe4\xfb'), chr(9723 - 9623) + '\x65' + chr(99) + chr(0b10001 + 0o136) + chr(0b1100100) + chr(0b1100101))(chr(0b0 + 0o165) + chr(2152 - 2036) + chr(0b1100110) + chr(0b11101 + 0o20) + chr(455 - 399))] = {roI3spqORKae(ES5oEprVxulp(b'E~~\xea\xca\xfb'), '\144' + chr(0b1 + 0o144) + '\x63' + '\x6f' + chr(100) + chr(8052 - 7951))('\165' + chr(0b1100101 + 0o17) + chr(102) + chr(1347 - 1302) + '\x38'): nzTpIcepk0o8(chr(1326 - 1278) + '\157' + '\061', 8), roI3spqORKae(ES5oEprVxulp(b'Txi\xfc\xcc\xfb'), chr(6374 - 6274) + chr(101) + chr(0b1000010 + 0o41) + chr(0b111110 + 0o61) + chr(6239 - 6139) + '\145')('\x75' + '\164' + '\146' + chr(481 - 436) + chr(0b111000)): nzTpIcepk0o8(chr(0b110000) + chr(111) + '\060', 8), roI3spqORKae(ES5oEprVxulp(b'Ue~\xed\xdb\xfb'), '\144' + chr(0b1100101) + chr(0b10100 + 0o117) + chr(0b1101111) + chr(0b1001011 + 0o31) + chr(0b1100101))('\x75' + chr(116) + '\x66' + chr(45) + chr(0b10000 + 0o50)): nzTpIcepk0o8('\x30' + chr(111) + chr(0b101 + 0o53), 8), roI3spqORKae(ES5oEprVxulp(b'E~j\xf7\xca\xfa\xe1\xff\x80'), '\x64' + chr(101) + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(0b1100101))(chr(0b101 + 0o160) + '\164' + chr(102) + chr(0b101101) + chr(0b11011 + 0o35)): nzTpIcepk0o8('\060' + '\157' + chr(0b101101 + 0o3), 8), roI3spqORKae(ES5oEprVxulp(b'Irz\xf8\xd0'), chr(0b1000111 + 0o35) + '\145' + chr(99) + '\x6f' + chr(0b1001001 + 0o33) + chr(0b1001011 + 0o32))('\165' + chr(0b1110100) + '\146' + '\x2d' + '\070'): nzTpIcepk0o8(chr(48) + '\157' + '\061', 8), roI3spqORKae(ES5oEprVxulp(b'@pq\xfa\xc7'), chr(6132 - 6032) + chr(0b1100101) + '\143' + chr(0b1001100 + 0o43) + chr(100) + chr(0b1100101))(chr(0b1011111 + 0o26) + '\x74' + '\146' + chr(45) + chr(56)): vVMRKIXM85FE}
g3_0uquqV49i = KS0fj7r4N6zr.copy()
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'V}p\xed\xe1\xe5\xe9\xea'), chr(100) + chr(0b1100101) + chr(0b1100011) + chr(0b1101111) + '\144' + chr(101))(chr(335 - 218) + chr(0b1110011 + 0o1) + chr(191 - 89) + chr(0b100111 + 0o6) + '\x38'))(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'Kpo'), chr(7951 - 7851) + chr(0b110001 + 0o64) + chr(0b10001 + 0o122) + chr(0b1101111) + '\144' + chr(0b1110 + 0o127))('\x75' + '\164' + chr(0b10001 + 0o125) + chr(45) + chr(0b100000 + 0o30))], [90.0], [0.0], KS0fj7r4N6zr)
if yNS8IgQS0ymV == roI3spqORKae(ES5oEprVxulp(b'Ktm\xfa'), '\144' + '\145' + '\143' + chr(0b1101 + 0o142) + '\144' + chr(101))(chr(2112 - 1995) + '\164' + chr(0b1100110) + chr(0b100001 + 0o14) + chr(0b10110 + 0o42)):
KS0fj7r4N6zr[roI3spqORKae(ES5oEprVxulp(b'V}k\xfe\xcc\xe1\xec'), chr(7052 - 6952) + '\x65' + '\x63' + chr(111) + chr(100) + '\145')('\x75' + '\x74' + '\146' + chr(45) + chr(56))] = nzTpIcepk0o8(chr(0b110000 + 0o0) + chr(0b1000010 + 0o55) + chr(0b110001), 8)
KS0fj7r4N6zr[roI3spqORKae(ES5oEprVxulp(b'Uhr'), chr(0b1100100) + chr(101) + chr(99) + chr(0b1101111) + chr(100) + '\145')(chr(0b110010 + 0o103) + '\164' + chr(0b101000 + 0o76) + '\x2d' + '\070')] = ap75Y_eaMZLk
KS0fj7r4N6zr[roI3spqORKae(ES5oEprVxulp(b'Uhr\xea\xd7\xf2\xed'), '\x64' + '\145' + chr(0b11101 + 0o106) + '\157' + '\x64' + chr(0b100101 + 0o100))(chr(117) + chr(116) + '\x66' + chr(0b1001 + 0o44) + chr(924 - 868))] = a6DuPeQDkIk8
if ftfygxgFas5X(_olqupWMJO4N) > nzTpIcepk0o8('\060' + chr(0b1000101 + 0o52) + chr(0b1 + 0o57), 8):
KS0fj7r4N6zr[roI3spqORKae(ES5oEprVxulp(b'Hpr\xfc\xcd'), '\x64' + '\145' + chr(0b1000000 + 0o43) + '\157' + chr(7162 - 7062) + '\145')(chr(6255 - 6138) + chr(116) + chr(8320 - 8218) + chr(0b11001 + 0o24) + '\x38')] = _olqupWMJO4N
if ftfygxgFas5X(s1mrpKIq1Wpy) > nzTpIcepk0o8(chr(48) + '\157' + '\060', 8):
YLByQM5zIq1z = []
TGvWmWRK0DJ9 = []
for (o0eINMlvUImY, Wp2Umairw0XS) in _kV_Bomx8PZ4(s1mrpKIq1Wpy):
OSV4Uwkhpwk6 = _3zJfzXGVnPJ[o0eINMlvUImY]
if Wp2Umairw0XS > nzTpIcepk0o8(chr(327 - 279) + '\x6f' + chr(48), 8):
roI3spqORKae(YLByQM5zIq1z, roI3spqORKae(ES5oEprVxulp(b'nEL\xad\xc6\xef\xcf\xf5\x99C\xea\xcf'), '\144' + chr(0b1010100 + 0o21) + '\x63' + chr(0b100101 + 0o112) + '\x64' + chr(0b1100101))(chr(117) + chr(0b1000110 + 0o56) + chr(0b1100110) + chr(1346 - 1301) + chr(0b101110 + 0o12)))(Wp2Umairw0XS)
roI3spqORKae(TGvWmWRK0DJ9, roI3spqORKae(ES5oEprVxulp(b'nEL\xad\xc6\xef\xcf\xf5\x99C\xea\xcf'), '\x64' + '\x65' + chr(0b1010 + 0o131) + chr(0b1010101 + 0o32) + chr(0b1100100) + chr(101))(chr(0b1110101) + chr(0b1110100) + chr(1772 - 1670) + '\055' + chr(56)))(OSV4Uwkhpwk6)
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'V}p\xed\xe1\xe5\xe9\xea'), chr(2913 - 2813) + chr(0b10001 + 0o124) + chr(0b100011 + 0o100) + '\x6f' + chr(100) + '\145')(chr(0b101001 + 0o114) + chr(0b100 + 0o160) + chr(3872 - 3770) + chr(0b11 + 0o52) + '\x38'))(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'Kpo'), chr(4638 - 4538) + chr(0b1100001 + 0o4) + chr(0b1100011) + '\157' + chr(100) + '\145')('\x75' + chr(0b1110100) + chr(1678 - 1576) + chr(0b101100 + 0o1) + chr(0b1001 + 0o57))], YLByQM5zIq1z, TGvWmWRK0DJ9, KS0fj7r4N6zr)
if ftfygxgFas5X(cM3f9IUfxzKT) > nzTpIcepk0o8('\x30' + chr(0b100111 + 0o110) + chr(0b10101 + 0o33), 8):
IVjd0B0oN3WT = KS0fj7r4N6zr.copy()
IVjd0B0oN3WT[roI3spqORKae(ES5oEprVxulp(b'Uhr'), '\144' + chr(101) + '\x63' + '\x6f' + chr(0b1010110 + 0o16) + '\x65')('\165' + chr(116) + chr(102) + chr(0b101101) + chr(0b111000))] = CUfpDqnTzOda
IVjd0B0oN3WT[roI3spqORKae(ES5oEprVxulp(b'Uhr\xea\xd7\xf2\xed'), chr(4493 - 4393) + '\x65' + chr(0b1011011 + 0o10) + chr(0b101011 + 0o104) + '\144' + '\x65')(chr(0b1000101 + 0o60) + chr(9638 - 9522) + chr(102) + chr(45) + chr(0b111000))] = n15MY9Z3KOSq
IVjd0B0oN3WT[roI3spqORKae(ES5oEprVxulp(b'Cux\xfc\xdd\xe7\xe4\xf5\x81'), chr(0b1001101 + 0o27) + chr(0b10001 + 0o124) + '\x63' + chr(0b1101111) + chr(100) + '\x65')('\x75' + chr(0b10111 + 0o135) + chr(102) + chr(45) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'D}~\xfa\xd5'), chr(100) + chr(757 - 656) + chr(0b1100011) + '\157' + '\144' + chr(0b1100 + 0o131))(chr(0b1100111 + 0o16) + chr(116) + '\x66' + chr(591 - 546) + chr(56))
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'V}p\xed\xe1\xe5\xe9\xea'), '\144' + '\x65' + chr(0b1100011) + chr(1929 - 1818) + chr(100) + chr(101))('\165' + chr(7555 - 7439) + chr(102) + '\x2d' + chr(0b111000)))(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'Kpo'), '\144' + chr(178 - 77) + chr(99) + chr(0b1101111) + '\144' + '\x65')(chr(0b100111 + 0o116) + chr(0b1001 + 0o153) + chr(6243 - 6141) + '\x2d' + chr(808 - 752))], cM3f9IUfxzKT, grJe2AcEoma_, IVjd0B0oN3WT)
KS0fj7r4N6zr[roI3spqORKae(ES5oEprVxulp(b'Hpr\xfc\xcd'), chr(100) + chr(0b1100101) + '\x63' + chr(111) + '\x64' + chr(6306 - 6205))(chr(0b100011 + 0o122) + '\164' + '\x66' + '\x2d' + chr(0b100111 + 0o21))] = []
SzNH87oHZc7X = {}
wR5_YWECjaY7 = {}
if roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'ObL\xfc\xcc\xfe\xed\xe8'), chr(100) + '\145' + chr(513 - 414) + '\157' + chr(0b1001011 + 0o31) + chr(0b111111 + 0o46))(chr(117) + chr(0b1110100) + '\146' + '\055' + chr(0b111000))):
for w5vcgUzFN3bF in bbT2xIe5pzk7(ftfygxgFas5X(s1mrpKIq1Wpy)):
Wp2Umairw0XS = s1mrpKIq1Wpy[w5vcgUzFN3bF]
OSV4Uwkhpwk6 = _3zJfzXGVnPJ[w5vcgUzFN3bF]
HhzOV0aeWFPq = roI3spqORKae(ES5oEprVxulp(b''), chr(0b100010 + 0o102) + '\145' + chr(0b1100011) + chr(111) + chr(0b1100100) + '\x65')(chr(117) + '\x74' + '\x66' + chr(1355 - 1310) + '\070')
if roI3spqORKae(ES5oEprVxulp(b'V~s\xf8\xcc\xe1\xfc\xff\x80'), '\x64' + chr(0b1100101) + '\143' + '\x6f' + chr(0b1100100) + '\x65')(chr(13457 - 13340) + chr(0b1001010 + 0o52) + '\x66' + chr(0b101101) + '\070') in y0cCpS6dh4OT():
HhzOV0aeWFPq = JTtuRnWE4eON[w5vcgUzFN3bF]
HhzOV0aeWFPq = roI3spqORKae(ES5oEprVxulp(b'y'), chr(0b1100100) + chr(101) + '\x63' + chr(111) + chr(0b1100100) + chr(0b111101 + 0o50))(chr(117) + '\x74' + chr(0b1100110) + '\x2d' + '\x38') + HhzOV0aeWFPq if HhzOV0aeWFPq else roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(0b101100 + 0o71) + chr(2733 - 2634) + '\157' + '\x64' + '\145')(chr(0b101101 + 0o110) + chr(11357 - 11241) + chr(0b1100110) + chr(0b1100 + 0o41) + '\070')
y87dwGy_Qoj4 = HVsXCPuCO821[w5vcgUzFN3bF]
rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'Kpo\xc6\xc5\xf5'), chr(6737 - 6637) + chr(101) + '\143' + '\x6f' + '\x64' + chr(6989 - 6888))(chr(0b1110101) + chr(0b1110001 + 0o3) + chr(5581 - 5479) + chr(476 - 431) + chr(0b111000)).q33KG3foQ_CJ(w5vcgUzFN3bF)] = w5vcgUzFN3bF + nzTpIcepk0o8(chr(0b100011 + 0o15) + chr(111) + '\x32', 44337 - 44329)
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'V}p\xed\xe1\xe1\xe6\xf3\x87'), '\x64' + chr(101) + '\143' + chr(0b1101111) + '\144' + chr(0b1001111 + 0o26))('\165' + chr(116) + chr(2308 - 2206) + '\055' + chr(0b1101 + 0o53)))(rKSToK9WUVwu[roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'Kpo\xc6\xc5\xf5'), chr(0b111010 + 0o52) + chr(6369 - 6268) + chr(99) + chr(5045 - 4934) + '\144' + '\x65')('\165' + chr(0b1110100) + chr(102) + '\x2d' + '\x38'), roI3spqORKae(ES5oEprVxulp(b'W",\xd2\xf9\xbb\xee\xf5\xa2s\xfc\xb0'), chr(0b1001110 + 0o26) + chr(0b1010111 + 0o16) + '\x63' + '\x6f' + chr(100) + chr(101))('\165' + chr(10832 - 10716) + chr(102) + chr(1456 - 1411) + chr(0b111000)))(w5vcgUzFN3bF)], nzTpIcepk0o8('\060' + chr(0b1101111) + chr(54), 8), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b10110 + 0o40), 8))
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'V}p\xed\xe1\xe5\xe9\xea'), '\144' + chr(9570 - 9469) + chr(3302 - 3203) + '\157' + chr(8943 - 8843) + '\x65')('\x75' + chr(2220 - 2104) + chr(102) + chr(0b101001 + 0o4) + '\070'))(rKSToK9WUVwu[roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'Kpo\xc6\xc5\xf5'), chr(0b1100100) + chr(8867 - 8766) + '\x63' + chr(0b110 + 0o151) + chr(100) + chr(0b1100101))(chr(2177 - 2060) + chr(0b1110100) + chr(0b1011001 + 0o15) + '\x2d' + chr(56)), roI3spqORKae(ES5oEprVxulp(b'W",\xd2\xf9\xbb\xee\xf5\xa2s\xfc\xb0'), '\144' + chr(0b110000 + 0o65) + chr(99) + '\157' + '\x64' + chr(0b1100101))('\x75' + chr(0b1110100) + '\146' + chr(0b101101) + chr(0b100010 + 0o26)))(w5vcgUzFN3bF)], [90.0], [0.0], g3_0uquqV49i)
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'V}p\xed\xe1\xe5\xe9\xea'), '\144' + chr(0b1011111 + 0o6) + chr(4689 - 4590) + '\x6f' + chr(5762 - 5662) + chr(101))(chr(0b111000 + 0o75) + chr(0b1101111 + 0o5) + '\x66' + chr(45) + chr(56)))(w5vcgUzFN3bF + nzTpIcepk0o8(chr(0b101100 + 0o4) + chr(0b1101011 + 0o4) + '\062', 8), [Wp2Umairw0XS], [OSV4Uwkhpwk6], KS0fj7r4N6zr)
SzNH87oHZc7X[roI3spqORKae(ES5oEprVxulp(b'Kpo\xc6\xc5\xf5'), '\144' + chr(0b111011 + 0o52) + chr(0b1100000 + 0o3) + '\x6f' + '\144' + '\145')(chr(7931 - 7814) + chr(0b1110100) + chr(0b1000110 + 0o40) + chr(1284 - 1239) + '\070').q33KG3foQ_CJ(w5vcgUzFN3bF)] = y87dwGy_Qoj4
if px1MpgT0hYQ9:
jXqxEQuu_5DD = roI3spqORKae(ES5oEprVxulp(b'j^%\xc6\xc5\xf5\xf3\xe7\xacx\xe6\xc0\x88\xe6zw\x8a%6;\xa2|\x9e\xa8\x13\xb8|'), '\x64' + chr(101) + chr(1966 - 1867) + chr(0b101011 + 0o104) + chr(585 - 485) + '\x65')(chr(117) + chr(0b111100 + 0o70) + chr(102) + '\055' + '\x38').q33KG3foQ_CJ(y87dwGy_Qoj4, HhzOV0aeWFPq, px1MpgT0hYQ9, JummcHpaNLEw)
ln3dlcgHbHcC = roI3spqORKae(ES5oEprVxulp(b'j^%\xc6\xc5\xf5\xf3\xe7\xacx\xe6\xc0\x88\xe6zw\x8a%6;\xa2|\x9e\xa8'), chr(0b1100100) + chr(101) + chr(0b1100011) + '\x6f' + chr(100) + chr(101))(chr(11713 - 11596) + chr(3927 - 3811) + chr(6764 - 6662) + '\x2d' + chr(0b111000)).q33KG3foQ_CJ(y87dwGy_Qoj4, HhzOV0aeWFPq, px1MpgT0hYQ9)
else:
jXqxEQuu_5DD = roI3spqORKae(ES5oEprVxulp(b'j^%\xc6\xc5\xf5\xf3\xe7\xacx\xe6\xc0\x88\xe6zw\x8a%6;\xa2\r\x9e\xa8'), chr(0b1010111 + 0o15) + chr(0b101101 + 0o70) + chr(99) + chr(0b1101111) + chr(0b1100100) + chr(6010 - 5909))(chr(0b1110101) + '\164' + chr(0b1011011 + 0o13) + chr(0b101101) + chr(0b111000)).q33KG3foQ_CJ(y87dwGy_Qoj4, HhzOV0aeWFPq, JummcHpaNLEw)
ln3dlcgHbHcC = roI3spqORKae(ES5oEprVxulp(b'j^%\xc6\xc5\xf5\xf3\xe7\xacx\xe6\xc0\x88\xe6zw\x8a%6;\xa2'), chr(0b1100100) + chr(0b1100101) + chr(0b1100011) + '\x6f' + '\x64' + chr(8044 - 7943))(chr(117) + chr(0b1101100 + 0o10) + chr(0b10010 + 0o124) + chr(388 - 343) + chr(0b111000)).q33KG3foQ_CJ(y87dwGy_Qoj4, HhzOV0aeWFPq)
if wR5_YWECjaY7:
jfqeX2ILBy4G = wR5_YWECjaY7.CsodZJH6x9Tx()
TmPnODmE2p9c = [jXqxEQuu_5DD.rsplit(roI3spqORKae(ES5oEprVxulp(b'\x08'), '\x64' + '\145' + chr(99) + chr(2109 - 1998) + chr(100) + chr(101))('\x75' + chr(116) + '\x66' + chr(0b10101 + 0o30) + chr(2665 - 2609)))[nzTpIcepk0o8(chr(0b11100 + 0o24) + '\x6f' + chr(0b110000), 8)] for jXqxEQuu_5DD in jfqeX2ILBy4G]
if ln3dlcgHbHcC in TmPnODmE2p9c:
for pXwvT17vr09s in [N9zlRy29S1SS(NoZxuO7wjArS) for NoZxuO7wjArS in bbT2xIe5pzk7(nzTpIcepk0o8(chr(0b1000 + 0o50) + chr(0b1101111) + chr(2076 - 2027), 8), nzTpIcepk0o8('\060' + chr(111) + chr(0b110001) + '\x32', 58548 - 58540))]:
jXqxEQuu_5DD = ln3dlcgHbHcC + roI3spqORKae(ES5oEprVxulp(b'yjb\xb7'), chr(0b111000 + 0o54) + '\x65' + '\x63' + '\x6f' + '\144' + chr(0b1100101 + 0o0))(chr(0b1100 + 0o151) + chr(0b100101 + 0o117) + chr(0b1100110) + chr(45) + '\070').q33KG3foQ_CJ(pXwvT17vr09s) + JummcHpaNLEw
if jXqxEQuu_5DD not in jfqeX2ILBy4G:
break
wR5_YWECjaY7[roI3spqORKae(ES5oEprVxulp(b'Kpo\xc6\xc5\xf5'), chr(1925 - 1825) + chr(101) + chr(99) + chr(0b1000100 + 0o53) + chr(0b1100100) + '\145')(chr(7279 - 7162) + chr(5723 - 5607) + chr(102) + '\x2d' + chr(56)).q33KG3foQ_CJ(w5vcgUzFN3bF)] = jXqxEQuu_5DD
if ftfygxgFas5X(c7FJzf0TKi1V) > nzTpIcepk0o8('\060' + chr(1152 - 1041) + '\066' + '\x32', 0b1000):
c7FJzf0TKi1V = c7FJzf0TKi1V[:nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\x36' + chr(0b11101 + 0o25), 8)]
if roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'ObL\xfc\xcc\xfe\xed\xe8'), chr(0b110101 + 0o57) + chr(4216 - 4115) + chr(0b1100011) + chr(3356 - 3245) + chr(0b110100 + 0o60) + chr(0b1100101))(chr(0b1110101) + chr(10880 - 10764) + chr(4503 - 4401) + '\x2d' + chr(0b1 + 0o67))):
FBG2MCwkKg3g = roI3spqORKae(ES5oEprVxulp(b''), '\144' + '\x65' + '\143' + chr(0b1101111) + chr(2139 - 2039) + '\145')(chr(0b1110101) + chr(5800 - 5684) + chr(0b1100110) + chr(45) + chr(0b111000))
if roI3spqORKae(ES5oEprVxulp(b'E~q\xed\xcc\xe1\xea\xef\x87E\xd0\x94'), chr(8831 - 8731) + chr(101) + chr(0b1100011) + chr(3753 - 3642) + chr(0b1100100) + '\145')(chr(0b1110101) + '\x74' + '\146' + chr(0b1001 + 0o44) + chr(1687 - 1631)) in roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'qvk\xca\xf4\xd0\xb8\xe9\xbau\xcf\xb6'), '\x64' + chr(0b10101 + 0o120) + '\x63' + chr(0b1000100 + 0o53) + chr(0b1011011 + 0o11) + chr(0b1100101))('\x75' + chr(0b1101110 + 0o6) + chr(102) + '\x2d' + '\x38')):
if roI3spqORKae(ES5oEprVxulp(b'Ou'), '\144' + chr(0b1100101) + chr(0b1100010 + 0o1) + chr(111) + chr(100) + '\x65')(chr(117) + chr(116) + chr(0b1001000 + 0o36) + chr(0b10001 + 0o34) + chr(56)) in roI3spqORKae(D3H9MFOOog2W.tables[roI3spqORKae(ES5oEprVxulp(b'E~q\xed\xcc\xe1\xea\xef\x87E\xd0\x94'), '\x64' + chr(0b110100 + 0o61) + chr(0b1100011) + chr(9934 - 9823) + chr(100) + '\145')(chr(117) + '\x74' + chr(0b100 + 0o142) + chr(540 - 495) + '\x38')].df, roI3spqORKae(ES5oEprVxulp(b's"&\xf3\xed\xe1\xc1\xaf\xc7a\xd3\x8a'), '\x64' + chr(0b110111 + 0o56) + '\x63' + chr(0b1001 + 0o146) + chr(3608 - 3508) + chr(9285 - 9184))(chr(0b1000100 + 0o61) + chr(0b1110100) + chr(2600 - 2498) + chr(1581 - 1536) + '\070')):
FBG2MCwkKg3g = D3H9MFOOog2W.tables[roI3spqORKae(ES5oEprVxulp(b'E~q\xed\xcc\xe1\xea\xef\x87E\xd0\x94'), chr(9594 - 9494) + '\x65' + chr(99) + '\157' + chr(0b1110 + 0o126) + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + chr(45) + '\x38')].df.mj4jMnYn3A2l[nzTpIcepk0o8(chr(0b11001 + 0o27) + chr(0b100111 + 0o110) + chr(48), 8)][roI3spqORKae(ES5oEprVxulp(b'Ou'), '\144' + chr(101) + chr(0b1100011) + chr(111) + chr(0b1011011 + 0o11) + chr(0b1100101))(chr(117) + chr(0b1110100) + '\146' + chr(119 - 74) + chr(1650 - 1594))]
wR5_YWECjaY7[roI3spqORKae(ES5oEprVxulp(b'Kpo'), '\144' + chr(732 - 631) + '\143' + chr(0b1101111 + 0o0) + '\x64' + '\x65')('\165' + chr(116) + chr(102) + '\055' + '\070')] = roI3spqORKae(ES5oEprVxulp(b'kR%\xc6\xc5\xf5\xd7\xce\xaa\x16\xe0\xaa\x98\xfapd\xa2\x1b+\x05\xa9^\xcb\xae@'), '\144' + '\x65' + chr(0b10111 + 0o114) + chr(0b1101111) + '\x64' + chr(8481 - 8380))('\165' + '\x74' + '\146' + chr(0b101101) + chr(56)).q33KG3foQ_CJ(FBG2MCwkKg3g, px1MpgT0hYQ9, JummcHpaNLEw)
else:
wR5_YWECjaY7[roI3spqORKae(ES5oEprVxulp(b'Kpo'), chr(0b1001010 + 0o32) + chr(101) + chr(99) + chr(0b1010010 + 0o35) + chr(7064 - 6964) + chr(0b1001100 + 0o31))('\165' + '\164' + chr(102) + '\055' + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'j^%\xc6'), chr(0b1100100) + chr(0b111011 + 0o52) + '\x63' + chr(111) + '\144' + chr(10196 - 10095))(chr(0b1010000 + 0o45) + chr(12011 - 11895) + chr(0b1001001 + 0o35) + '\x2d' + '\070') + c7FJzf0TKi1V + roI3spqORKae(ES5oEprVxulp(b'yEF\xa3\xe1\xd8\xc7\xd6\xb6s\xd2\x9b\xa7\xe9NF\xe1\x01&'), '\x64' + chr(0b1111 + 0o126) + chr(9058 - 8959) + chr(0b1101111) + chr(100) + chr(101))('\165' + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(3068 - 3012)).q33KG3foQ_CJ(px1MpgT0hYQ9, JummcHpaNLEw)
else:
wR5_YWECjaY7[roI3spqORKae(ES5oEprVxulp(b'Kpo'), chr(0b1100100) + chr(0b11011 + 0o112) + chr(99) + '\157' + '\x64' + chr(8581 - 8480))('\x75' + '\x74' + chr(10400 - 10298) + chr(0b11001 + 0o24) + chr(583 - 527))] = roI3spqORKae(ES5oEprVxulp(b']l@\xc9\xf1\xc4\xcd\xc5\x9eM\xcf\xa5\xac\xcb\x1b@\xb2'), '\x64' + chr(0b1100101) + chr(0b1100011 + 0o0) + '\x6f' + chr(0b1000111 + 0o35) + chr(101))(chr(0b1110101) + chr(0b1110100) + chr(0b1110 + 0o130) + '\x2d' + chr(56)).q33KG3foQ_CJ(c7FJzf0TKi1V, px1MpgT0hYQ9, JummcHpaNLEw)
if f4XDWm__k5ZA and (not roI3spqORKae(NsnRtbLAhqc_, roI3spqORKae(ES5oEprVxulp(b'oB@\xce\xf7\xc6'), chr(0b1100100) + chr(0b1100101) + chr(0b1100011) + chr(0b1011 + 0o144) + chr(7136 - 7036) + chr(1668 - 1567))(chr(5465 - 5348) + '\x74' + chr(0b1100110) + chr(401 - 356) + chr(56)))):
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'Bc~\xee\xe1\xee\xe1\xfd\x80'), '\144' + '\145' + '\143' + '\157' + chr(8447 - 8347) + chr(0b11110 + 0o107))(chr(0b1101011 + 0o12) + '\x74' + '\x66' + '\x2d' + chr(0b100001 + 0o27)))(rKSToK9WUVwu)
if DTJMndqfNEo1:
KS0fj7r4N6zr[roI3spqORKae(ES5oEprVxulp(b'Btk\xf8\xd7\xe4\xfb'), '\x64' + '\145' + chr(1525 - 1426) + chr(6461 - 6350) + chr(100) + chr(5093 - 4992))(chr(2093 - 1976) + chr(3496 - 3380) + chr(0b11000 + 0o116) + '\x2d' + chr(0b110001 + 0o7))] = {roI3spqORKae(ES5oEprVxulp(b'E~~\xea\xca\xfb'), chr(2717 - 2617) + chr(4072 - 3971) + chr(0b1100011) + chr(0b111010 + 0o65) + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + chr(10725 - 10609) + '\146' + chr(650 - 605) + chr(0b110100 + 0o4)): nzTpIcepk0o8(chr(0b100011 + 0o15) + chr(0b1101001 + 0o6) + chr(48), 8), roI3spqORKae(ES5oEprVxulp(b'Txi\xfc\xcc\xfb'), '\144' + '\x65' + '\x63' + chr(8224 - 8113) + chr(100) + chr(101))(chr(5347 - 5230) + chr(116) + '\x66' + chr(661 - 616) + chr(260 - 204)): nzTpIcepk0o8(chr(0b10101 + 0o33) + chr(0b1101111) + chr(1284 - 1236), 8), roI3spqORKae(ES5oEprVxulp(b'Ue~\xed\xdb\xfb'), chr(0b1100100) + '\x65' + '\x63' + chr(111) + chr(4386 - 4286) + chr(0b1100101))('\x75' + chr(116) + chr(0b1010000 + 0o26) + '\x2d' + chr(648 - 592)): nzTpIcepk0o8(chr(48) + chr(0b111 + 0o150) + chr(636 - 588), 8), roI3spqORKae(ES5oEprVxulp(b'E~j\xf7\xca\xfa\xe1\xff\x80'), '\144' + chr(101) + '\143' + chr(818 - 707) + '\x64' + chr(101))(chr(0b10010 + 0o143) + chr(116) + chr(0b1011001 + 0o15) + '\055' + '\x38'): nzTpIcepk0o8(chr(800 - 752) + chr(0b1001100 + 0o43) + chr(0b110000), 8), roI3spqORKae(ES5oEprVxulp(b'Irz\xf8\xd0'), chr(0b1010 + 0o132) + '\145' + chr(5135 - 5036) + '\x6f' + chr(0b1100100) + '\145')(chr(117) + chr(8274 - 8158) + chr(0b1100110) + chr(0b101101) + chr(0b101100 + 0o14)): nzTpIcepk0o8(chr(2034 - 1986) + '\157' + '\x30', 8), roI3spqORKae(ES5oEprVxulp(b'@pq\xfa\xc7'), chr(4561 - 4461) + chr(0b1100101) + '\143' + '\157' + chr(7620 - 7520) + chr(1601 - 1500))(chr(0b101010 + 0o113) + chr(0b10110 + 0o136) + chr(102) + '\x2d' + '\070'): vVMRKIXM85FE}
KS0fj7r4N6zr[roI3spqORKae(ES5oEprVxulp(b'V}k\xfe\xcc\xe1\xec'), chr(5465 - 5365) + chr(101) + chr(0b1100011) + chr(6049 - 5938) + '\x64' + '\145')(chr(0b111100 + 0o71) + '\x74' + chr(0b1100110) + '\x2d' + '\070')] = -nzTpIcepk0o8(chr(48) + chr(111) + chr(1192 - 1143), 8)
KS0fj7r4N6zr[roI3spqORKae(ES5oEprVxulp(b'Uhr\xea\xd7\xf2\xed'), '\x64' + '\x65' + chr(0b100100 + 0o77) + chr(10722 - 10611) + chr(8271 - 8171) + '\x65')(chr(226 - 109) + '\164' + chr(0b1100110) + '\x2d' + chr(0b111 + 0o61))] = nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(843 - 793), 8)
KS0fj7r4N6zr[roI3spqORKae(ES5oEprVxulp(b'Uhr'), chr(0b1011000 + 0o14) + '\x65' + '\143' + chr(111) + chr(4929 - 4829) + chr(6339 - 6238))(chr(1994 - 1877) + '\x74' + '\146' + '\055' + chr(237 - 181))] = roI3spqORKae(ES5oEprVxulp(b'A<'), '\144' + chr(250 - 149) + '\x63' + '\157' + chr(0b1011101 + 0o7) + '\145')('\165' + '\164' + chr(0b11001 + 0o115) + '\055' + '\070')
for dQIwqFqsHkB0 in mFUklODHEk5L:
if dQIwqFqsHkB0[nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\062', 8)] != nzTpIcepk0o8(chr(0b10110 + 0o32) + chr(3790 - 3679) + chr(1625 - 1577), 8):
hyusaJakwK2f = o77KS_r9H7AX.plot_ell(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'Kpo'), chr(0b101101 + 0o67) + chr(0b1100101) + chr(0b1100011) + chr(111) + chr(0b1100100) + chr(101))(chr(0b11101 + 0o130) + '\x74' + chr(0b10100 + 0o122) + chr(1372 - 1327) + '\x38')], dQIwqFqsHkB0, roI3spqORKae(ES5oEprVxulp(b'A?'), '\x64' + chr(0b1100101) + '\143' + chr(0b1101010 + 0o5) + chr(2463 - 2363) + '\x65')(chr(12179 - 12062) + chr(0b1011110 + 0o26) + chr(9933 - 9831) + chr(45) + chr(1295 - 1239)), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(48), 8), nzTpIcepk0o8('\x30' + chr(111) + chr(1750 - 1702), 8))
(gNdfMGvFlJTg, WQHBy718KKkh) = ([], [])
for i9cIicSKupwD in hyusaJakwK2f:
roI3spqORKae(WQHBy718KKkh, roI3spqORKae(ES5oEprVxulp(b'nEL\xad\xc6\xef\xcf\xf5\x99C\xea\xcf'), '\x64' + '\x65' + chr(5647 - 5548) + chr(0b110001 + 0o76) + '\144' + chr(101))(chr(1074 - 957) + chr(0b1000110 + 0o56) + chr(1265 - 1163) + chr(45) + '\x38'))(i9cIicSKupwD[nzTpIcepk0o8('\x30' + '\157' + chr(0b110000), 8)])
roI3spqORKae(gNdfMGvFlJTg, roI3spqORKae(ES5oEprVxulp(b'nEL\xad\xc6\xef\xcf\xf5\x99C\xea\xcf'), '\144' + '\145' + '\x63' + chr(0b10011 + 0o134) + '\144' + chr(101))(chr(117) + '\x74' + '\x66' + '\055' + chr(56)))(i9cIicSKupwD[nzTpIcepk0o8(chr(829 - 781) + '\x6f' + '\061', 8)])
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'V}p\xed\xe1\xe5\xe9\xea'), chr(0b1100100) + chr(101) + chr(99) + chr(5703 - 5592) + chr(100) + chr(101))(chr(0b1110101) + '\x74' + '\146' + chr(79 - 34) + '\x38'))(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'Kpo'), chr(100) + chr(0b0 + 0o145) + chr(0b1001 + 0o132) + chr(0b111 + 0o150) + chr(0b1100100) + chr(2378 - 2277))('\165' + chr(0b1110100) + chr(0b1100110) + '\055' + '\x38')], gNdfMGvFlJTg, WQHBy718KKkh, KS0fj7r4N6zr)
if f4XDWm__k5ZA and (not roI3spqORKae(NsnRtbLAhqc_, roI3spqORKae(ES5oEprVxulp(b'oB@\xce\xf7\xc6'), chr(100) + chr(0b1100101) + '\x63' + '\x6f' + chr(100) + chr(0b1100101))(chr(0b1110101) + '\164' + chr(2325 - 2223) + chr(0b101101) + '\x38'))):
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'Bc~\xee\xe1\xee\xe1\xfd\x80'), '\144' + chr(8533 - 8432) + '\x63' + chr(8102 - 7991) + chr(100) + chr(0b101100 + 0o71))(chr(0b110 + 0o157) + '\x74' + chr(10251 - 10149) + chr(0b101011 + 0o2) + chr(0b1010 + 0o56)))(rKSToK9WUVwu)
if roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'ObL\xfc\xcc\xfe\xed\xe8'), '\144' + '\x65' + chr(1071 - 972) + chr(111) + '\x64' + chr(0b110100 + 0o61))('\x75' + '\164' + chr(102) + chr(716 - 671) + chr(1868 - 1812))):
ZO9i32_He2bR = roI3spqORKae(ES5oEprVxulp(b'\x05!/\xa9\x8e\xb8\xb8'), chr(0b1100100) + '\x65' + chr(99) + chr(0b1101111) + chr(0b1100100) + chr(0b101101 + 0o70))(chr(9916 - 9799) + '\x74' + chr(0b1010110 + 0o20) + '\055' + chr(136 - 80))
pikDWCDWa5T8 = roI3spqORKae(ES5oEprVxulp(b'\x05)/\xa9\x8e\xb0\xb8'), chr(4570 - 4470) + '\145' + '\143' + chr(111) + '\144' + chr(798 - 697))('\x75' + chr(10615 - 10499) + '\x66' + '\055' + chr(1480 - 1424))
SzNH87oHZc7X[roI3spqORKae(ES5oEprVxulp(b'Kpo'), chr(2398 - 2298) + chr(101) + chr(7373 - 7274) + '\x6f' + chr(0b1100100) + chr(0b100010 + 0o103))('\x75' + '\164' + chr(0b10111 + 0o117) + chr(0b10111 + 0o26) + '\070')] = roI3spqORKae(ES5oEprVxulp(b'j^%\xc6'), chr(0b1010101 + 0o17) + chr(0b1100101) + chr(1351 - 1252) + chr(0b1010001 + 0o36) + '\x64' + chr(101))('\165' + chr(7457 - 7341) + '\146' + chr(0b101101) + '\070') + c7FJzf0TKi1V + roI3spqORKae(ES5oEprVxulp(b'yAP\xd5\xfb\xd7\xe5\xfb\x83'), '\144' + chr(0b1010111 + 0o16) + chr(0b100010 + 0o101) + '\157' + '\144' + '\x65')('\165' + '\164' + chr(0b1100110) + chr(0b101101) + chr(0b111000))
FBG2MCwkKg3g = roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + '\145' + chr(99) + chr(0b1011100 + 0o23) + '\144' + chr(6672 - 6571))(chr(0b111 + 0o156) + chr(0b1110100) + chr(0b10100 + 0o122) + chr(431 - 386) + chr(0b111000))
if roI3spqORKae(ES5oEprVxulp(b'E~q\xed\xcc\xe1\xea\xef\x87E\xd0\x94'), chr(0b1001001 + 0o33) + chr(101) + chr(0b1100011) + '\x6f' + '\x64' + '\145')('\165' + chr(0b1110100) + chr(0b1100110) + chr(0b100000 + 0o15) + chr(0b11110 + 0o32)) in roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'qvk\xca\xf4\xd0\xb8\xe9\xbau\xcf\xb6'), '\144' + '\x65' + '\x63' + '\x6f' + chr(0b1100100) + '\x65')(chr(7607 - 7490) + '\164' + chr(0b1100110) + chr(45) + chr(0b111000))):
if roI3spqORKae(ES5oEprVxulp(b'Ou'), chr(4331 - 4231) + chr(3060 - 2959) + '\x63' + chr(111) + chr(0b11011 + 0o111) + '\x65')(chr(117) + chr(0b1110100) + chr(0b111111 + 0o47) + chr(0b101101) + chr(0b100 + 0o64)) in roI3spqORKae(D3H9MFOOog2W.tables[roI3spqORKae(ES5oEprVxulp(b'E~q\xed\xcc\xe1\xea\xef\x87E\xd0\x94'), '\144' + chr(1734 - 1633) + chr(99) + chr(111) + chr(100) + '\145')(chr(0b1110101) + '\164' + '\146' + '\055' + '\070')].df, roI3spqORKae(ES5oEprVxulp(b's"&\xf3\xed\xe1\xc1\xaf\xc7a\xd3\x8a'), chr(100) + '\145' + chr(0b1010010 + 0o21) + chr(111) + chr(0b1100100) + chr(0b1100101))('\x75' + chr(0b1110100) + chr(0b1100110) + '\x2d' + chr(0b111000))):
FBG2MCwkKg3g = D3H9MFOOog2W.tables[roI3spqORKae(ES5oEprVxulp(b'E~q\xed\xcc\xe1\xea\xef\x87E\xd0\x94'), '\144' + '\145' + '\x63' + '\x6f' + chr(100) + '\x65')('\165' + chr(0b1010101 + 0o37) + chr(0b1100110) + chr(45) + '\070')].df.mj4jMnYn3A2l[nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\060', 8)][roI3spqORKae(ES5oEprVxulp(b'Ou'), chr(158 - 58) + '\145' + chr(7067 - 6968) + chr(111) + chr(100) + chr(6892 - 6791))(chr(0b1110101) + '\x74' + chr(0b1111 + 0o127) + chr(0b101101) + chr(0b111000))]
ETlVYP_zuzpw = roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + '\x65' + chr(99) + '\x6f' + '\x64' + chr(0b111110 + 0o47))('\165' + chr(0b1101011 + 0o11) + chr(503 - 401) + chr(45) + chr(0b111000))
if roI3spqORKae(ES5oEprVxulp(b'J~|\xf8\xca\xe1\xe7\xf4\x80'), '\144' + chr(101) + chr(0b1010110 + 0o15) + chr(0b1101111) + chr(0b1100100) + chr(0b101011 + 0o72))(chr(13171 - 13054) + chr(0b1110100) + '\x66' + '\x2d' + chr(56)) in roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'qvk\xca\xf4\xd0\xb8\xe9\xbau\xcf\xb6'), '\144' + '\x65' + chr(99) + chr(0b100101 + 0o112) + chr(0b1100000 + 0o4) + '\145')(chr(117) + chr(7714 - 7598) + chr(0b1100110) + '\055' + chr(0b111000))):
pXQngLRTbIQp = ftfygxgFas5X(D3H9MFOOog2W.tables[roI3spqORKae(ES5oEprVxulp(b'J~|\xf8\xca\xe1\xe7\xf4\x80'), chr(0b1100100) + '\x65' + chr(0b1100011) + chr(0b1101111) + chr(8073 - 7973) + chr(0b101001 + 0o74))(chr(0b1110101) + '\x74' + chr(102) + chr(0b100 + 0o51) + chr(0b101001 + 0o17))].df.index.G3de2eWQaS0D())
ETlVYP_zuzpw = roI3spqORKae(ES5oEprVxulp(b']l?\xf5\xd1\xeb\xe9\xee\x9aC\xd1\x81\xaa'), '\144' + '\x65' + chr(99) + '\157' + '\144' + chr(101))('\165' + chr(0b100110 + 0o116) + chr(0b1001110 + 0o30) + chr(0b10010 + 0o33) + chr(271 - 215)).q33KG3foQ_CJ(pXQngLRTbIQp, roI3spqORKae(ES5oEprVxulp(b'U'), chr(7978 - 7878) + '\x65' + chr(0b1100010 + 0o1) + '\x6f' + '\x64' + chr(0b11001 + 0o114))(chr(0b1101011 + 0o12) + '\x74' + chr(0b10110 + 0o120) + chr(0b100010 + 0o13) + chr(56)) if pXQngLRTbIQp > nzTpIcepk0o8(chr(48) + chr(11959 - 11848) + chr(0b10011 + 0o36), 8) else roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(0b1011001 + 0o14) + chr(0b1000100 + 0o37) + chr(11260 - 11149) + chr(0b1100100) + '\x65')(chr(117) + '\x74' + chr(102) + chr(45) + chr(1065 - 1009)))
sOz7zjhAiMxA = ftfygxgFas5X([Wp2Umairw0XS for Wp2Umairw0XS in s1mrpKIq1Wpy if Wp2Umairw0XS > nzTpIcepk0o8(chr(48) + '\157' + chr(2098 - 2050), 8)])
eXNn29uAibqV = ftfygxgFas5X(cM3f9IUfxzKT)
N4xuWZ5Cj4MN = roI3spqORKae(ES5oEprVxulp(b''), chr(5088 - 4988) + '\145' + chr(0b1100011) + chr(6420 - 6309) + '\x64' + chr(2238 - 2137))('\165' + '\x74' + chr(0b1100110) + chr(45) + chr(0b111000))
dVYOS35uxeRq = roI3spqORKae(ES5oEprVxulp(b''), chr(0b100001 + 0o103) + chr(8505 - 8404) + chr(99) + chr(111) + '\x64' + '\x65')(chr(3245 - 3128) + '\x74' + chr(0b1100110) + chr(0b101101) + chr(56))
if sOz7zjhAiMxA:
N4xuWZ5Cj4MN = roI3spqORKae(ES5oEprVxulp(b']l?\xf7\xd1\xfa\xe5\xfb\x9f\x0c'), '\x64' + '\x65' + chr(99) + chr(0b10001 + 0o136) + '\144' + '\x65')('\165' + '\164' + '\x66' + '\x2d' + chr(56)).q33KG3foQ_CJ(sOz7zjhAiMxA)
if eXNn29uAibqV:
dVYOS35uxeRq = roI3spqORKae(ES5oEprVxulp(b']l?\xeb\xdb\xfe\xed\xe8\x80I'), chr(5499 - 5399) + chr(0b1100101) + '\x63' + chr(0b1101111) + chr(0b1100100) + chr(0b111001 + 0o54))('\x75' + '\164' + '\146' + chr(1833 - 1788) + chr(56)).q33KG3foQ_CJ(eXNn29uAibqV)
if sOz7zjhAiMxA + eXNn29uAibqV > nzTpIcepk0o8('\060' + chr(10469 - 10358) + chr(1500 - 1451), 8):
fIkOEa5SRtCx = roI3spqORKae(ES5oEprVxulp(b'V~s\xfc\xcd'), '\x64' + chr(0b1100101) + chr(99) + '\157' + chr(100) + '\x65')(chr(4961 - 4844) + chr(4665 - 4549) + '\146' + '\x2d' + chr(1295 - 1239))
elif sOz7zjhAiMxA + eXNn29uAibqV == nzTpIcepk0o8('\060' + chr(4271 - 4160) + chr(48), 8):
fIkOEa5SRtCx = roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(0b1000000 + 0o45) + chr(0b10101 + 0o116) + '\x6f' + '\144' + '\145')(chr(117) + '\x74' + chr(0b1010001 + 0o25) + chr(45) + chr(752 - 696))
else:
fIkOEa5SRtCx = roI3spqORKae(ES5oEprVxulp(b'V~s\xfc'), chr(6240 - 6140) + chr(0b1100101) + '\x63' + chr(0b1101111) + '\x64' + chr(0b100011 + 0o102))(chr(0b1101111 + 0o6) + '\164' + chr(102) + chr(0b101101) + chr(0b111000))
OO0tRW9aj_xh = roI3spqORKae(ES5oEprVxulp(b'kpx\xd0\xfd\xa8\xeb\xf5\x9dX\xcd\x93\xb5\xc3AR\xa0\x14{!\xaf)\xc5\xae@\xe3z\xfd\xe2\x98\x99#\x1d'), chr(7021 - 6921) + chr(0b1100001 + 0o4) + chr(0b101001 + 0o72) + chr(0b1101111) + '\144' + '\x65')(chr(0b1110101) + chr(0b111111 + 0o65) + chr(0b1010001 + 0o25) + chr(0b101101 + 0o0) + chr(1062 - 1006)).q33KG3foQ_CJ(FBG2MCwkKg3g, ETlVYP_zuzpw, N4xuWZ5Cj4MN, dVYOS35uxeRq, fIkOEa5SRtCx)
SzNH87oHZc7X[roI3spqORKae(ES5oEprVxulp(b'Kpo'), chr(100) + chr(6686 - 6585) + '\143' + chr(0b1101111) + chr(4432 - 4332) + chr(0b1100101))('\x75' + chr(116) + '\146' + chr(0b1000 + 0o45) + chr(1708 - 1652))] = OO0tRW9aj_xh.E91dbqOZXBpJ(roI3spqORKae(ES5oEprVxulp(b'\x061'), chr(100) + chr(0b1010110 + 0o17) + chr(99) + chr(5924 - 5813) + '\144' + '\145')(chr(0b1101001 + 0o14) + chr(5439 - 5323) + chr(102) + chr(0b101101) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\x06'), '\x64' + chr(0b1100101) + chr(4427 - 4328) + chr(0b1101111) + chr(0b0 + 0o144) + chr(0b1100101))('\165' + chr(0b1110100) + chr(9575 - 9473) + chr(45) + chr(1568 - 1512)))
rKSToK9WUVwu = o77KS_r9H7AX.add_borders(rKSToK9WUVwu, SzNH87oHZc7X, ZO9i32_He2bR, pikDWCDWa5T8, FBG2MCwkKg3g)
n2yX1AgA9ol1 = o77KS_r9H7AX.save_plots(rKSToK9WUVwu, wR5_YWECjaY7)
elif f4XDWm__k5ZA:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'Bc~\xee\xe1\xee\xe1\xfd\x80'), chr(0b1001001 + 0o33) + '\145' + chr(99) + '\x6f' + '\x64' + '\x65')('\x75' + chr(0b1110100) + '\146' + '\055' + chr(389 - 333)))(rKSToK9WUVwu)
CMfsDQitQrpd = QnTXOd5N96r1(roI3spqORKae(ES5oEprVxulp(b'\x06BD\xf8\xe3\xfe\xed\xba\x87C\x9f\x89\xb6\xc0P\x1b\xbf\x164.\xfe\x03\xb7\xb0I\xb6s\xee\xb9\x91\xd6x\x11\xd1\\\x01\xbdq\xc0'), chr(100) + '\x65' + '\x63' + '\157' + chr(0b1100100) + chr(2736 - 2635))(chr(117) + chr(0b1110100) + chr(0b1100110) + '\x2d' + '\x38'))
if CMfsDQitQrpd == roI3spqORKae(ES5oEprVxulp(b'G'), chr(0b1001010 + 0o32) + chr(0b1010101 + 0o20) + chr(0b1100011) + chr(0b1101111) + '\x64' + '\x65')(chr(0b1001011 + 0o52) + '\164' + chr(0b1100110) + chr(45) + chr(0b100000 + 0o30)):
n2yX1AgA9ol1 = o77KS_r9H7AX.save_plots(rKSToK9WUVwu, wR5_YWECjaY7)
else:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'a~p\xfd\x9e\xea\xf1\xff'), chr(0b1011110 + 0o6) + '\145' + chr(0b1100011) + '\x6f' + chr(0b1100100) + '\145')('\x75' + chr(6896 - 6780) + '\x66' + chr(45) + '\070'))
elif bxxuZm4I6LgY:
n2yX1AgA9ol1 = o77KS_r9H7AX.save_plots(rKSToK9WUVwu, wR5_YWECjaY7)
return (nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110001), 8), n2yX1AgA9ol1)
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
chi_magic
|
def chi_magic(infile="measurements.txt", dir_path=".", experiments="",
fmt="svg", save_plots=True, interactive=False, contribution=None):
"""
Parameters
----------
infile : str, default "measurements.txt"
measurement infile
dir_path : str, default "."
input directory
experiments : str, default ""
experiment name to plot
fmt : str, default "svg"
format for figures, ["svg", "jpg", "pdf", "png"]
save_plots : bool, default True
save figures
interactive : bool, default False
if True, interactively plot and display
(this is best used on the command line only)
contribution : cb.Contribution, default None
if provided, use Contribution object instead of reading in
data from files
Returns
---------
(status, output_files) - Tuple : (True or False indicating if conversion was sucessful, file name(s) written)
"""
saved = []
if contribution:
chi_data_all = contribution.tables['measurements'].df
else:
infile = pmag.resolve_file_name(infile, dir_path)
chi_data_all = pd.read_csv(infile, sep='\t', header=1)
if not experiments:
try:
experiments = chi_data_all.experiment.unique()
except Exception as ex:
print(ex)
experiments = ["all"]
else:
experiments = [experiments]
plotnum = 0
figs = {}
fnames = {}
for exp in experiments:
if exp == "all":
chi_data = chi_data_all
chi_data = chi_data_all[chi_data_all.experiment == exp]
if len(chi_data) <= 1:
print('Not enough data to plot {}'.format(exp))
continue
plotnum += 1
if not save_plots:
pmagplotlib.plot_init(plotnum, 5, 5) # set up plot
else:
plt.figure(plotnum)
figs[str(plotnum)] = plotnum
fnames[str(plotnum)] = exp + '_temperature.{}'.format(fmt)
# get arrays of available temps, frequencies and fields
Ts = np.sort(chi_data.meas_temp.unique())
Fs = np.sort(chi_data.meas_freq.unique())
Bs = np.sort(chi_data.meas_field_ac.unique())
# plot chi versus temperature at constant field
b = Bs.max()
for num, f in enumerate(Fs):
this_f = chi_data[chi_data.meas_freq == f]
this_f = this_f[this_f.meas_field_ac == b]
plt.plot(this_f.meas_temp, 1e6*this_f.susc_chi_volume,
label='%i' % (f)+' Hz')
plt.legend()
plt.xlabel('Temperature (K)')
plt.ylabel('$\chi$ ($\mu$SI)')
plt.title('B = '+'%7.2e' % (b) + ' T')
plotnum += 1
figs[str(plotnum)] = plotnum
fnames[str(plotnum)] = exp + '_frequency.{}'.format(fmt)
if not save_plots:
pmagplotlib.plot_init(plotnum, 5, 5) # set up plot
else:
plt.figure(plotnum)
## plot chi versus frequency at constant B
b = Bs.max()
t = Ts.min()
this_t = chi_data[chi_data.meas_temp == t]
this_t = this_t[this_t.meas_field_ac == b]
plt.semilogx(this_t.meas_freq, 1e6 *
this_t.susc_chi_volume, label='%i' % (t)+' K')
plt.legend()
plt.xlabel('Frequency (Hz)')
plt.ylabel('$\chi$ ($\mu$SI)')
plt.title('B = '+'%7.2e' % (b) + ' T')
if interactive:
pmagplotlib.draw_figs(figs)
ans = input(
"enter s[a]ve to save files, [return] to quit ")
if ans == 'a':
saved.extend(pmagplotlib.save_plots(figs, fnames))
else:
return True, []
elif save_plots:
saved.extend(pmagplotlib.save_plots(figs, fnames))
return True, saved
|
python
|
def chi_magic(infile="measurements.txt", dir_path=".", experiments="",
fmt="svg", save_plots=True, interactive=False, contribution=None):
"""
Parameters
----------
infile : str, default "measurements.txt"
measurement infile
dir_path : str, default "."
input directory
experiments : str, default ""
experiment name to plot
fmt : str, default "svg"
format for figures, ["svg", "jpg", "pdf", "png"]
save_plots : bool, default True
save figures
interactive : bool, default False
if True, interactively plot and display
(this is best used on the command line only)
contribution : cb.Contribution, default None
if provided, use Contribution object instead of reading in
data from files
Returns
---------
(status, output_files) - Tuple : (True or False indicating if conversion was sucessful, file name(s) written)
"""
saved = []
if contribution:
chi_data_all = contribution.tables['measurements'].df
else:
infile = pmag.resolve_file_name(infile, dir_path)
chi_data_all = pd.read_csv(infile, sep='\t', header=1)
if not experiments:
try:
experiments = chi_data_all.experiment.unique()
except Exception as ex:
print(ex)
experiments = ["all"]
else:
experiments = [experiments]
plotnum = 0
figs = {}
fnames = {}
for exp in experiments:
if exp == "all":
chi_data = chi_data_all
chi_data = chi_data_all[chi_data_all.experiment == exp]
if len(chi_data) <= 1:
print('Not enough data to plot {}'.format(exp))
continue
plotnum += 1
if not save_plots:
pmagplotlib.plot_init(plotnum, 5, 5) # set up plot
else:
plt.figure(plotnum)
figs[str(plotnum)] = plotnum
fnames[str(plotnum)] = exp + '_temperature.{}'.format(fmt)
# get arrays of available temps, frequencies and fields
Ts = np.sort(chi_data.meas_temp.unique())
Fs = np.sort(chi_data.meas_freq.unique())
Bs = np.sort(chi_data.meas_field_ac.unique())
# plot chi versus temperature at constant field
b = Bs.max()
for num, f in enumerate(Fs):
this_f = chi_data[chi_data.meas_freq == f]
this_f = this_f[this_f.meas_field_ac == b]
plt.plot(this_f.meas_temp, 1e6*this_f.susc_chi_volume,
label='%i' % (f)+' Hz')
plt.legend()
plt.xlabel('Temperature (K)')
plt.ylabel('$\chi$ ($\mu$SI)')
plt.title('B = '+'%7.2e' % (b) + ' T')
plotnum += 1
figs[str(plotnum)] = plotnum
fnames[str(plotnum)] = exp + '_frequency.{}'.format(fmt)
if not save_plots:
pmagplotlib.plot_init(plotnum, 5, 5) # set up plot
else:
plt.figure(plotnum)
## plot chi versus frequency at constant B
b = Bs.max()
t = Ts.min()
this_t = chi_data[chi_data.meas_temp == t]
this_t = this_t[this_t.meas_field_ac == b]
plt.semilogx(this_t.meas_freq, 1e6 *
this_t.susc_chi_volume, label='%i' % (t)+' K')
plt.legend()
plt.xlabel('Frequency (Hz)')
plt.ylabel('$\chi$ ($\mu$SI)')
plt.title('B = '+'%7.2e' % (b) + ' T')
if interactive:
pmagplotlib.draw_figs(figs)
ans = input(
"enter s[a]ve to save files, [return] to quit ")
if ans == 'a':
saved.extend(pmagplotlib.save_plots(figs, fnames))
else:
return True, []
elif save_plots:
saved.extend(pmagplotlib.save_plots(figs, fnames))
return True, saved
|
[
"def",
"chi_magic",
"(",
"infile",
"=",
"\"measurements.txt\"",
",",
"dir_path",
"=",
"\".\"",
",",
"experiments",
"=",
"\"\"",
",",
"fmt",
"=",
"\"svg\"",
",",
"save_plots",
"=",
"True",
",",
"interactive",
"=",
"False",
",",
"contribution",
"=",
"None",
")",
":",
"saved",
"=",
"[",
"]",
"if",
"contribution",
":",
"chi_data_all",
"=",
"contribution",
".",
"tables",
"[",
"'measurements'",
"]",
".",
"df",
"else",
":",
"infile",
"=",
"pmag",
".",
"resolve_file_name",
"(",
"infile",
",",
"dir_path",
")",
"chi_data_all",
"=",
"pd",
".",
"read_csv",
"(",
"infile",
",",
"sep",
"=",
"'\\t'",
",",
"header",
"=",
"1",
")",
"if",
"not",
"experiments",
":",
"try",
":",
"experiments",
"=",
"chi_data_all",
".",
"experiment",
".",
"unique",
"(",
")",
"except",
"Exception",
"as",
"ex",
":",
"print",
"(",
"ex",
")",
"experiments",
"=",
"[",
"\"all\"",
"]",
"else",
":",
"experiments",
"=",
"[",
"experiments",
"]",
"plotnum",
"=",
"0",
"figs",
"=",
"{",
"}",
"fnames",
"=",
"{",
"}",
"for",
"exp",
"in",
"experiments",
":",
"if",
"exp",
"==",
"\"all\"",
":",
"chi_data",
"=",
"chi_data_all",
"chi_data",
"=",
"chi_data_all",
"[",
"chi_data_all",
".",
"experiment",
"==",
"exp",
"]",
"if",
"len",
"(",
"chi_data",
")",
"<=",
"1",
":",
"print",
"(",
"'Not enough data to plot {}'",
".",
"format",
"(",
"exp",
")",
")",
"continue",
"plotnum",
"+=",
"1",
"if",
"not",
"save_plots",
":",
"pmagplotlib",
".",
"plot_init",
"(",
"plotnum",
",",
"5",
",",
"5",
")",
"# set up plot",
"else",
":",
"plt",
".",
"figure",
"(",
"plotnum",
")",
"figs",
"[",
"str",
"(",
"plotnum",
")",
"]",
"=",
"plotnum",
"fnames",
"[",
"str",
"(",
"plotnum",
")",
"]",
"=",
"exp",
"+",
"'_temperature.{}'",
".",
"format",
"(",
"fmt",
")",
"# get arrays of available temps, frequencies and fields",
"Ts",
"=",
"np",
".",
"sort",
"(",
"chi_data",
".",
"meas_temp",
".",
"unique",
"(",
")",
")",
"Fs",
"=",
"np",
".",
"sort",
"(",
"chi_data",
".",
"meas_freq",
".",
"unique",
"(",
")",
")",
"Bs",
"=",
"np",
".",
"sort",
"(",
"chi_data",
".",
"meas_field_ac",
".",
"unique",
"(",
")",
")",
"# plot chi versus temperature at constant field",
"b",
"=",
"Bs",
".",
"max",
"(",
")",
"for",
"num",
",",
"f",
"in",
"enumerate",
"(",
"Fs",
")",
":",
"this_f",
"=",
"chi_data",
"[",
"chi_data",
".",
"meas_freq",
"==",
"f",
"]",
"this_f",
"=",
"this_f",
"[",
"this_f",
".",
"meas_field_ac",
"==",
"b",
"]",
"plt",
".",
"plot",
"(",
"this_f",
".",
"meas_temp",
",",
"1e6",
"*",
"this_f",
".",
"susc_chi_volume",
",",
"label",
"=",
"'%i'",
"%",
"(",
"f",
")",
"+",
"' Hz'",
")",
"plt",
".",
"legend",
"(",
")",
"plt",
".",
"xlabel",
"(",
"'Temperature (K)'",
")",
"plt",
".",
"ylabel",
"(",
"'$\\chi$ ($\\mu$SI)'",
")",
"plt",
".",
"title",
"(",
"'B = '",
"+",
"'%7.2e'",
"%",
"(",
"b",
")",
"+",
"' T'",
")",
"plotnum",
"+=",
"1",
"figs",
"[",
"str",
"(",
"plotnum",
")",
"]",
"=",
"plotnum",
"fnames",
"[",
"str",
"(",
"plotnum",
")",
"]",
"=",
"exp",
"+",
"'_frequency.{}'",
".",
"format",
"(",
"fmt",
")",
"if",
"not",
"save_plots",
":",
"pmagplotlib",
".",
"plot_init",
"(",
"plotnum",
",",
"5",
",",
"5",
")",
"# set up plot",
"else",
":",
"plt",
".",
"figure",
"(",
"plotnum",
")",
"## plot chi versus frequency at constant B",
"b",
"=",
"Bs",
".",
"max",
"(",
")",
"t",
"=",
"Ts",
".",
"min",
"(",
")",
"this_t",
"=",
"chi_data",
"[",
"chi_data",
".",
"meas_temp",
"==",
"t",
"]",
"this_t",
"=",
"this_t",
"[",
"this_t",
".",
"meas_field_ac",
"==",
"b",
"]",
"plt",
".",
"semilogx",
"(",
"this_t",
".",
"meas_freq",
",",
"1e6",
"*",
"this_t",
".",
"susc_chi_volume",
",",
"label",
"=",
"'%i'",
"%",
"(",
"t",
")",
"+",
"' K'",
")",
"plt",
".",
"legend",
"(",
")",
"plt",
".",
"xlabel",
"(",
"'Frequency (Hz)'",
")",
"plt",
".",
"ylabel",
"(",
"'$\\chi$ ($\\mu$SI)'",
")",
"plt",
".",
"title",
"(",
"'B = '",
"+",
"'%7.2e'",
"%",
"(",
"b",
")",
"+",
"' T'",
")",
"if",
"interactive",
":",
"pmagplotlib",
".",
"draw_figs",
"(",
"figs",
")",
"ans",
"=",
"input",
"(",
"\"enter s[a]ve to save files, [return] to quit \"",
")",
"if",
"ans",
"==",
"'a'",
":",
"saved",
".",
"extend",
"(",
"pmagplotlib",
".",
"save_plots",
"(",
"figs",
",",
"fnames",
")",
")",
"else",
":",
"return",
"True",
",",
"[",
"]",
"elif",
"save_plots",
":",
"saved",
".",
"extend",
"(",
"pmagplotlib",
".",
"save_plots",
"(",
"figs",
",",
"fnames",
")",
")",
"return",
"True",
",",
"saved"
] |
Parameters
----------
infile : str, default "measurements.txt"
measurement infile
dir_path : str, default "."
input directory
experiments : str, default ""
experiment name to plot
fmt : str, default "svg"
format for figures, ["svg", "jpg", "pdf", "png"]
save_plots : bool, default True
save figures
interactive : bool, default False
if True, interactively plot and display
(this is best used on the command line only)
contribution : cb.Contribution, default None
if provided, use Contribution object instead of reading in
data from files
Returns
---------
(status, output_files) - Tuple : (True or False indicating if conversion was sucessful, file name(s) written)
|
[
"Parameters",
"----------",
"infile",
":",
"str",
"default",
"measurements",
".",
"txt",
"measurement",
"infile",
"dir_path",
":",
"str",
"default",
".",
"input",
"directory",
"experiments",
":",
"str",
"default",
"experiment",
"name",
"to",
"plot",
"fmt",
":",
"str",
"default",
"svg",
"format",
"for",
"figures",
"[",
"svg",
"jpg",
"pdf",
"png",
"]",
"save_plots",
":",
"bool",
"default",
"True",
"save",
"figures",
"interactive",
":",
"bool",
"default",
"False",
"if",
"True",
"interactively",
"plot",
"and",
"display",
"(",
"this",
"is",
"best",
"used",
"on",
"the",
"command",
"line",
"only",
")",
"contribution",
":",
"cb",
".",
"Contribution",
"default",
"None",
"if",
"provided",
"use",
"Contribution",
"object",
"instead",
"of",
"reading",
"in",
"data",
"from",
"files"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L12183-L12291
|
train
|
This function will convert a single measurement file into a single unique one and plot the data.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b1010 + 0o47) + chr(50) + '\064', 0b1000), nzTpIcepk0o8('\x30' + chr(1573 - 1462) + chr(0b110011) + '\063' + '\064', 57906 - 57898), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b101111 + 0o2) + chr(51) + chr(2658 - 2604), 0o10), nzTpIcepk0o8(chr(468 - 420) + '\x6f' + '\x33' + '\062' + chr(2038 - 1986), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(111) + chr(1136 - 1087) + chr(49) + chr(48), 0b1000), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b110011) + '\x31' + chr(1377 - 1326), 0b1000), nzTpIcepk0o8('\060' + chr(1897 - 1786) + chr(0b110011) + '\x35' + chr(201 - 149), 50801 - 50793), nzTpIcepk0o8(chr(48) + '\x6f' + chr(873 - 824) + chr(54) + chr(0b110010), 49001 - 48993), nzTpIcepk0o8('\x30' + chr(826 - 715) + '\x34' + chr(0b110001 + 0o3), ord("\x08")), nzTpIcepk0o8(chr(0b1 + 0o57) + chr(111) + '\x33' + chr(1448 - 1396) + chr(52), 0b1000), nzTpIcepk0o8('\060' + chr(3936 - 3825) + chr(0b110010) + '\x34' + chr(0b110011), 0o10), nzTpIcepk0o8(chr(0b100001 + 0o17) + chr(3112 - 3001) + chr(0b110111) + chr(0b110100 + 0o2), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b110011) + '\064', 0b1000), nzTpIcepk0o8('\x30' + chr(12099 - 11988) + chr(53) + chr(53), ord("\x08")), nzTpIcepk0o8(chr(1387 - 1339) + chr(0b1101111) + chr(0b110010) + '\066' + '\x33', 0o10), nzTpIcepk0o8(chr(741 - 693) + chr(0b1101111) + chr(1911 - 1860) + chr(0b110010) + chr(0b110100), 8), nzTpIcepk0o8('\060' + chr(5645 - 5534) + chr(0b100011 + 0o17) + chr(55) + chr(0b110010), 0b1000), nzTpIcepk0o8('\060' + '\157' + '\064' + chr(0b110010), ord("\x08")), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110011) + chr(0b110011) + '\x34', 8), nzTpIcepk0o8(chr(0b100011 + 0o15) + chr(111) + chr(51) + '\x31' + '\065', 11973 - 11965), nzTpIcepk0o8('\060' + chr(5363 - 5252) + chr(51) + chr(1684 - 1631) + '\067', 0o10), nzTpIcepk0o8(chr(1757 - 1709) + chr(0b1001 + 0o146) + '\x31' + '\067' + '\x30', 0o10), nzTpIcepk0o8('\060' + chr(0b0 + 0o157) + chr(0b100110 + 0o14) + '\x32' + chr(54), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(2078 - 2029) + chr(54), ord("\x08")), nzTpIcepk0o8('\x30' + '\157' + chr(51) + '\x33' + chr(2939 - 2884), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b110010) + chr(51) + chr(0b101010 + 0o12), 0b1000), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b110011) + '\x37' + '\x30', 51864 - 51856), nzTpIcepk0o8(chr(1205 - 1157) + chr(111) + '\x32' + '\x31' + '\066', 0b1000), nzTpIcepk0o8(chr(0b110000) + '\157' + '\061' + chr(0b11110 + 0o22) + chr(0b110001), 0b1000), nzTpIcepk0o8(chr(1392 - 1344) + '\x6f' + '\x31' + '\x33' + chr(445 - 392), 0b1000), nzTpIcepk0o8(chr(0b11101 + 0o23) + chr(111) + '\x31' + '\060' + chr(0b110101), 0o10), nzTpIcepk0o8('\x30' + chr(0b101101 + 0o102) + chr(2143 - 2092) + chr(52) + '\x35', 0o10), nzTpIcepk0o8(chr(0b11101 + 0o23) + chr(9008 - 8897) + chr(0b1110 + 0o44) + chr(2380 - 2326) + '\067', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(119 - 70) + chr(54) + chr(0b110010), 8), nzTpIcepk0o8('\x30' + chr(111) + chr(0b101000 + 0o12) + chr(0b10110 + 0o32) + '\062', ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(51) + chr(49) + chr(53), 8), nzTpIcepk0o8(chr(48) + chr(0b1010111 + 0o30) + chr(893 - 844) + '\x37' + '\063', 4768 - 4760), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(2076 - 2026) + '\065' + chr(737 - 682), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(1023 - 972) + '\060' + '\x36', 0b1000), nzTpIcepk0o8(chr(299 - 251) + chr(8108 - 7997) + chr(0b110011) + chr(0b101100 + 0o7) + chr(0b110011), ord("\x08"))][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(964 - 916) + chr(0b100101 + 0o112) + '\065' + '\060', 0b1000)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'z'), '\x64' + chr(0b101010 + 0o73) + '\x63' + chr(0b1101111) + '\x64' + '\x65')(chr(0b100101 + 0o120) + '\x74' + chr(102) + chr(0b1010 + 0o43) + '\x38') + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def PJ7NRApDB5Fw(XvbvbiHwSGUb=roI3spqORKae(ES5oEprVxulp(b'9\xb9?\xa7=\xb9\x89\x1fA\x8a\xd7M2Y\xcb\xa0'), '\144' + chr(101) + '\143' + '\157' + '\144' + '\145')(chr(2528 - 2411) + chr(0b1010111 + 0o35) + chr(0b111011 + 0o53) + chr(0b101101) + chr(0b111000)), qjksZ7GK0xkJ=roI3spqORKae(ES5oEprVxulp(b'z'), chr(100) + chr(0b1100101) + chr(0b1100011) + '\157' + chr(919 - 819) + chr(0b1100101))('\x75' + chr(10648 - 10532) + chr(102) + '\055' + chr(0b1 + 0o67)), qHFMaIfpaxXA=roI3spqORKae(ES5oEprVxulp(b''), chr(1485 - 1385) + chr(1212 - 1111) + '\x63' + chr(9707 - 9596) + '\x64' + chr(0b1011 + 0o132))(chr(117) + '\164' + chr(0b1100110) + '\055' + chr(84 - 28)), JummcHpaNLEw=roI3spqORKae(ES5oEprVxulp(b"'\xaa9"), chr(100) + chr(1393 - 1292) + chr(1187 - 1088) + '\157' + chr(0b1100100) + '\145')(chr(0b1110101) + '\164' + '\146' + '\055' + chr(0b1111 + 0o51)), bxxuZm4I6LgY=nzTpIcepk0o8(chr(48) + '\x6f' + chr(49), 0b1000), f4XDWm__k5ZA=nzTpIcepk0o8(chr(1524 - 1476) + chr(0b0 + 0o157) + chr(61 - 13), 22720 - 22712), bSiGoWKHgDdJ=None):
n2yX1AgA9ol1 = []
if bSiGoWKHgDdJ:
oNlTDMN398ab = bSiGoWKHgDdJ.tables[roI3spqORKae(ES5oEprVxulp(b'9\xb9?\xa7=\xb9\x89\x1fA\x8a\xd7M'), '\144' + chr(101) + chr(99) + chr(0b1000000 + 0o57) + chr(100) + '\145')(chr(0b101001 + 0o114) + '\x74' + chr(0b1100110) + chr(682 - 637) + '\x38')].jpOn8DNZxbbx
else:
XvbvbiHwSGUb = hUcsWwAd0nE_.resolve_file_name(XvbvbiHwSGUb, qjksZ7GK0xkJ)
oNlTDMN398ab = HLKt4sa1j9hm.read_csv(XvbvbiHwSGUb, sep=roI3spqORKae(ES5oEprVxulp(b']'), chr(0b110000 + 0o64) + chr(101) + '\x63' + '\157' + chr(6892 - 6792) + chr(0b1100101))('\165' + chr(0b101000 + 0o114) + '\x66' + chr(0b101101) + chr(56)), header=nzTpIcepk0o8(chr(0b111 + 0o51) + chr(3022 - 2911) + '\061', 8))
if not qHFMaIfpaxXA:
try:
qHFMaIfpaxXA = oNlTDMN398ab.experiment.G3de2eWQaS0D()
except zfo2Sgkz3IVJ as dclkBu6Bdnnh:
v8jsMqaYV6U2(dclkBu6Bdnnh)
qHFMaIfpaxXA = [roI3spqORKae(ES5oEprVxulp(b'5\xb02'), chr(0b1100100) + chr(101) + chr(99) + chr(0b1101111) + chr(0b0 + 0o144) + '\x65')(chr(0b1110101) + '\164' + chr(0b1100110) + chr(0b10100 + 0o31) + '\x38')]
else:
qHFMaIfpaxXA = [qHFMaIfpaxXA]
qCaYLIBMA18X = nzTpIcepk0o8(chr(0b100011 + 0o15) + chr(0b110101 + 0o72) + chr(885 - 837), 8)
EZpAVpHmjgmY = {}
HfaqVUK36EUj = {}
for r1dtBD6zLTaS in qHFMaIfpaxXA:
if r1dtBD6zLTaS == roI3spqORKae(ES5oEprVxulp(b'5\xb02'), chr(6523 - 6423) + chr(5390 - 5289) + chr(0b1001010 + 0o31) + '\x6f' + chr(100) + chr(0b1100101))(chr(117) + chr(12002 - 11886) + chr(102) + chr(0b1110 + 0o37) + '\x38'):
XhKxg0s8AfBZ = oNlTDMN398ab
XhKxg0s8AfBZ = oNlTDMN398ab[oNlTDMN398ab.experiment == r1dtBD6zLTaS]
if ftfygxgFas5X(XhKxg0s8AfBZ) <= nzTpIcepk0o8('\x30' + chr(0b110011 + 0o74) + chr(0b110001), 8):
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'\x1a\xb3*\xf4-\xa5\x83\x07C\x8c\x83Z}Y\xd2\xf4\xceM\xfc\xbd\x83\x17\xe2.\xa4\xe1'), '\144' + chr(101) + chr(0b1100011) + '\157' + chr(100) + chr(0b1100101))(chr(0b1110101) + chr(1016 - 900) + chr(0b101101 + 0o71) + chr(0b101101) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'%\xefm\x9f\x0f\xf8\x8a\x1du\xbb\xe0t'), '\144' + chr(0b1100101) + '\x63' + chr(0b1101111) + chr(571 - 471) + '\x65')(chr(0b1110101) + chr(0b10100 + 0o140) + '\146' + chr(45) + chr(899 - 843)))(r1dtBD6zLTaS))
continue
qCaYLIBMA18X += nzTpIcepk0o8(chr(0b11000 + 0o30) + chr(0b10101 + 0o132) + chr(0b11011 + 0o26), 8)
if not bxxuZm4I6LgY:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'$\xb01\xa0\x17\xa2\x82\x1bP'), chr(0b1100100) + '\145' + chr(0b1100011) + '\157' + chr(100) + '\x65')(chr(0b1110101) + '\x74' + chr(0b1100110) + '\055' + '\070'))(qCaYLIBMA18X, nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(53), 0b1000), nzTpIcepk0o8(chr(0b1100 + 0o44) + chr(3556 - 3445) + chr(2305 - 2252), 8))
else:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'1\xafn\x8e~\xaf\x961L\xb7\xef\x0b'), chr(455 - 355) + chr(101) + '\x63' + chr(6932 - 6821) + '\144' + chr(0b11111 + 0o106))('\x75' + chr(116) + chr(0b1100110) + '\x2d' + '\070'))(qCaYLIBMA18X)
EZpAVpHmjgmY[N9zlRy29S1SS(qCaYLIBMA18X)] = qCaYLIBMA18X
HfaqVUK36EUj[N9zlRy29S1SS(qCaYLIBMA18X)] = r1dtBD6zLTaS + roI3spqORKae(ES5oEprVxulp(b'\x0b\xa8;\xb98\xae\x9e\x13P\x91\xd1[2V\xce'), chr(100) + '\x65' + chr(0b1100011) + chr(0b1101111) + chr(0b111001 + 0o53) + chr(101))(chr(0b1110011 + 0o2) + chr(412 - 296) + chr(5476 - 5374) + chr(0b101101) + chr(0b111000)).q33KG3foQ_CJ(JummcHpaNLEw)
tqyVYRfJWofp = nDF4gVNx0u9Q.sort(XhKxg0s8AfBZ.meas_temp.G3de2eWQaS0D())
BVDpbFyb9Kc_ = nDF4gVNx0u9Q.sort(XhKxg0s8AfBZ.meas_freq.G3de2eWQaS0D())
pqLJ7zHZNxCh = nDF4gVNx0u9Q.sort(XhKxg0s8AfBZ.meas_field_ac.G3de2eWQaS0D())
xFDEVQn5qSdh = pqLJ7zHZNxCh.KV9ckIhroIia()
for (o0eINMlvUImY, _R8IKF5IwAfX) in _kV_Bomx8PZ4(BVDpbFyb9Kc_):
wXtTFHVScjnu = XhKxg0s8AfBZ[XhKxg0s8AfBZ.meas_freq == _R8IKF5IwAfX]
wXtTFHVScjnu = wXtTFHVScjnu[wXtTFHVScjnu.meas_field_ac == xFDEVQn5qSdh]
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'$\xb01\xa0'), chr(0b1100100) + chr(0b1100101) + chr(167 - 68) + '\157' + '\144' + '\x65')(chr(117) + '\164' + chr(0b1010101 + 0o21) + chr(1881 - 1836) + chr(0b111000)))(roI3spqORKae(wXtTFHVScjnu, roI3spqORKae(ES5oEprVxulp(b'9\xb9?\xa7\x17\xbf\x89\x1fT'), '\x64' + chr(0b1010001 + 0o24) + chr(0b10100 + 0o117) + chr(10126 - 10015) + '\x64' + chr(0b111100 + 0o51))(chr(0b1110101) + '\x74' + chr(3988 - 3886) + chr(45) + chr(56))), 1000000.0 * roI3spqORKae(wXtTFHVScjnu, roI3spqORKae(ES5oEprVxulp(b"'\xa9-\xb7\x17\xa8\x84\x1b{\x92\xccRi@\xd6"), chr(100) + '\145' + '\143' + chr(0b11000 + 0o127) + chr(100) + '\x65')(chr(0b1110101) + chr(0b1000001 + 0o63) + chr(102) + '\055' + '\070')), label=roI3spqORKae(ES5oEprVxulp(b'q\xb5'), chr(4719 - 4619) + chr(0b111011 + 0o52) + chr(5901 - 5802) + '\157' + chr(3596 - 3496) + chr(0b1100101))(chr(117) + '\x74' + chr(102) + '\055' + chr(0b1101 + 0o53)) % _R8IKF5IwAfX + roI3spqORKae(ES5oEprVxulp(b't\x94$'), chr(8298 - 8198) + '\x65' + chr(0b1000010 + 0o41) + chr(0b1101111) + '\144' + chr(0b101100 + 0o71))(chr(117) + '\x74' + '\x66' + chr(1155 - 1110) + '\x38'))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'8\xb99\xb1&\xaf'), chr(4153 - 4053) + '\145' + chr(0b100011 + 0o100) + chr(6144 - 6033) + '\x64' + '\x65')(chr(117) + chr(116) + chr(0b1010011 + 0o23) + chr(732 - 687) + chr(0b110111 + 0o1)))()
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b',\xb0?\xb6-\xa7'), chr(100) + '\x65' + '\x63' + '\x6f' + chr(0b1010 + 0o132) + chr(0b1100101))(chr(117) + '\x74' + chr(102) + chr(0b100001 + 0o14) + chr(2634 - 2578)))(roI3spqORKae(ES5oEprVxulp(b'\x00\xb93\xa4-\xb9\x8d\x06Q\x96\xc6\x1e4f\x9a'), '\x64' + chr(0b1010110 + 0o17) + '\x63' + chr(0b10110 + 0o131) + '\144' + chr(0b1100101))(chr(2606 - 2489) + '\164' + '\146' + chr(0b1000 + 0o45) + '\x38'))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'-\xb0?\xb6-\xa7'), chr(100) + chr(101) + chr(0b1100011) + chr(11362 - 11251) + chr(0b110100 + 0o60) + '\x65')(chr(0b1110101) + chr(8621 - 8505) + chr(0b1101 + 0o131) + '\055' + chr(2628 - 2572)))(roI3spqORKae(ES5oEprVxulp(b'p\x80=\xbc!\xef\xccZ\x00\xb8\xceK8~\xfa\xfd'), '\144' + chr(0b1001001 + 0o34) + '\143' + '\x6f' + chr(100) + chr(101))('\165' + chr(0b11101 + 0o127) + chr(6968 - 6866) + chr(0b101011 + 0o2) + '\070'))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\x1b\x93n\xa0\x1a\x9c\xd5\x13N\xbb\xdbV'), '\144' + '\x65' + '\143' + chr(0b11001 + 0o126) + chr(6496 - 6396) + chr(2446 - 2345))('\x75' + chr(0b1110100) + chr(102) + chr(111 - 66) + chr(56)))(roI3spqORKae(ES5oEprVxulp(b'\x16\xfcc\xf4'), chr(2614 - 2514) + chr(7162 - 7061) + chr(0b100011 + 0o100) + chr(6527 - 6416) + chr(0b110011 + 0o61) + '\x65')('\x75' + chr(0b111011 + 0o71) + chr(0b1100001 + 0o5) + '\x2d' + '\070') + roI3spqORKae(ES5oEprVxulp(b'q\xebp\xe6-'), chr(8544 - 8444) + chr(101) + chr(0b10111 + 0o114) + chr(0b100100 + 0o113) + chr(0b1100100) + chr(101))(chr(117) + '\x74' + '\146' + chr(45) + '\070') % xFDEVQn5qSdh + roI3spqORKae(ES5oEprVxulp(b't\x88'), '\144' + chr(0b1001101 + 0o30) + '\x63' + chr(0b10100 + 0o133) + chr(0b1100100) + chr(0b1100101))('\x75' + chr(0b1110000 + 0o4) + chr(0b1010100 + 0o22) + '\055' + chr(0b111000)))
qCaYLIBMA18X += nzTpIcepk0o8('\x30' + chr(111) + '\061', 8)
EZpAVpHmjgmY[N9zlRy29S1SS(qCaYLIBMA18X)] = qCaYLIBMA18X
HfaqVUK36EUj[N9zlRy29S1SS(qCaYLIBMA18X)] = r1dtBD6zLTaS + roI3spqORKae(ES5oEprVxulp(b'\x0b\xba,\xb19\xbe\x89\x1cG\x9d\x8dEa'), chr(7161 - 7061) + chr(0b1100101) + chr(0b1100011) + chr(111) + '\144' + chr(101))(chr(9898 - 9781) + chr(0b1110100) + chr(0b1100110) + '\055' + chr(0b11 + 0o65)).q33KG3foQ_CJ(JummcHpaNLEw)
if not bxxuZm4I6LgY:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'$\xb01\xa0\x17\xa2\x82\x1bP'), '\144' + '\145' + chr(99) + chr(111) + '\144' + chr(1072 - 971))(chr(117) + chr(0b1110100) + '\146' + chr(0b101011 + 0o2) + chr(496 - 440)))(qCaYLIBMA18X, nzTpIcepk0o8(chr(0b11110 + 0o22) + '\x6f' + '\065', 8), nzTpIcepk0o8(chr(0b1111 + 0o41) + chr(0b1101111) + chr(0b110101), 8))
else:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'1\xafn\x8e~\xaf\x961L\xb7\xef\x0b'), chr(100) + chr(8551 - 8450) + '\143' + '\x6f' + chr(0b1100100) + chr(4417 - 4316))(chr(2921 - 2804) + chr(0b1000010 + 0o62) + chr(0b1100110) + '\055' + chr(56)))(qCaYLIBMA18X)
xFDEVQn5qSdh = pqLJ7zHZNxCh.KV9ckIhroIia()
h3Vc_4wxEbgd = tqyVYRfJWofp.XURpmPuEWCNF()
oWll6RZo3LIU = XhKxg0s8AfBZ[XhKxg0s8AfBZ.meas_temp == h3Vc_4wxEbgd]
oWll6RZo3LIU = oWll6RZo3LIU[oWll6RZo3LIU.meas_field_ac == xFDEVQn5qSdh]
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b"'\xb93\xbd$\xa4\x8b\n"), chr(0b111001 + 0o53) + '\145' + chr(99) + chr(111) + chr(5716 - 5616) + '\145')(chr(0b1110101) + '\x74' + '\146' + '\055' + chr(56)))(roI3spqORKae(oWll6RZo3LIU, roI3spqORKae(ES5oEprVxulp(b'9\xb9?\xa7\x17\xad\x9e\x17U'), chr(5672 - 5572) + '\x65' + chr(99) + chr(6962 - 6851) + chr(0b1001110 + 0o26) + chr(8858 - 8757))('\165' + '\x74' + chr(0b1001111 + 0o27) + '\055' + chr(0b10110 + 0o42))), 1000000.0 * roI3spqORKae(oWll6RZo3LIU, roI3spqORKae(ES5oEprVxulp(b"'\xa9-\xb7\x17\xa8\x84\x1b{\x92\xccRi@\xd6"), chr(0b1100100) + chr(5208 - 5107) + chr(0b1100011) + '\x6f' + chr(0b1000100 + 0o40) + chr(0b11001 + 0o114))('\165' + chr(5262 - 5146) + chr(102) + chr(1152 - 1107) + '\x38')), label=roI3spqORKae(ES5oEprVxulp(b'q\xb5'), '\144' + chr(0b1100101) + chr(99) + chr(0b100111 + 0o110) + chr(2887 - 2787) + chr(0b1100001 + 0o4))('\165' + chr(116) + chr(0b1100110) + chr(1266 - 1221) + '\070') % h3Vc_4wxEbgd + roI3spqORKae(ES5oEprVxulp(b't\x97'), chr(0b1011 + 0o131) + '\x65' + chr(8826 - 8727) + '\x6f' + chr(0b1000000 + 0o44) + chr(2231 - 2130))(chr(0b1101111 + 0o6) + chr(0b101100 + 0o110) + '\146' + chr(45) + chr(56)))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'8\xb99\xb1&\xaf'), chr(9520 - 9420) + chr(0b1100101) + chr(0b1100011) + chr(4035 - 3924) + chr(3909 - 3809) + chr(0b1100101))('\165' + chr(0b1110100) + '\146' + '\055' + '\070'))()
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b',\xb0?\xb6-\xa7'), chr(0b1011111 + 0o5) + chr(3754 - 3653) + chr(0b11101 + 0o106) + '\157' + '\x64' + '\145')('\x75' + chr(0b1110100) + chr(0b1100110) + '\x2d' + chr(1092 - 1036)))(roI3spqORKae(ES5oEprVxulp(b'\x12\xae;\xa5=\xae\x82\x11]\xc4\x8bvf\x04'), chr(3898 - 3798) + chr(101) + chr(1931 - 1832) + '\157' + '\144' + chr(0b110011 + 0o62))('\x75' + chr(332 - 216) + '\x66' + chr(0b101001 + 0o4) + chr(0b11110 + 0o32)))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'-\xb0?\xb6-\xa7'), chr(1235 - 1135) + chr(0b1000 + 0o135) + chr(0b1100011) + '\x6f' + chr(2120 - 2020) + '\x65')(chr(0b1110101) + chr(2599 - 2483) + '\146' + '\055' + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b'p\x80=\xbc!\xef\xccZ\x00\xb8\xceK8~\xfa\xfd'), chr(0b100110 + 0o76) + chr(7181 - 7080) + chr(0b110000 + 0o63) + chr(111) + chr(100) + chr(430 - 329))('\x75' + chr(0b11000 + 0o134) + chr(102) + chr(852 - 807) + chr(1990 - 1934)))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\x1b\x93n\xa0\x1a\x9c\xd5\x13N\xbb\xdbV'), chr(2242 - 2142) + chr(0b1100101) + chr(0b111000 + 0o53) + '\157' + '\x64' + chr(0b1100101))(chr(0b1110101) + '\x74' + chr(0b1100110) + chr(45) + '\070'))(roI3spqORKae(ES5oEprVxulp(b'\x16\xfcc\xf4'), chr(0b1001100 + 0o30) + '\145' + chr(0b1100011) + '\x6f' + chr(0b1011001 + 0o13) + chr(101))(chr(0b1110101) + chr(0b1110100) + '\x66' + '\x2d' + chr(56)) + roI3spqORKae(ES5oEprVxulp(b'q\xebp\xe6-'), chr(2137 - 2037) + chr(380 - 279) + '\x63' + chr(0b1101111) + chr(0b1100100) + '\x65')('\x75' + '\164' + chr(0b1100110) + chr(0b101101) + '\x38') % xFDEVQn5qSdh + roI3spqORKae(ES5oEprVxulp(b't\x88'), chr(0b100100 + 0o100) + chr(0b100111 + 0o76) + chr(7679 - 7580) + chr(3634 - 3523) + '\x64' + '\x65')(chr(117) + chr(12604 - 12488) + '\x66' + chr(0b10000 + 0o35) + '\070'))
if f4XDWm__k5ZA:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'0\xae?\xa3\x17\xad\x85\x15W'), chr(0b10011 + 0o121) + chr(101) + '\x63' + chr(0b1101111) + chr(0b1100100) + chr(0b101010 + 0o73))(chr(12045 - 11928) + '\164' + chr(0b1000 + 0o136) + chr(45) + chr(56)))(EZpAVpHmjgmY)
CMfsDQitQrpd = QnTXOd5N96r1(roI3spqORKae(ES5oEprVxulp(b'1\xb2*\xb1:\xeb\x9f)E\xb9\xd5[<Y\xdc\xf4\xc9C\xaa\xa8\xcf\x1e\xffb\xba\xef\xd4\xaea\x067\x80\xc3\x07\xf0\xa3&\x8f\xb2\xb4t\xad+\xbd<\xeb'), chr(100) + chr(101) + '\143' + chr(0b1010010 + 0o35) + chr(0b1001 + 0o133) + '\145')('\x75' + chr(0b10001 + 0o143) + '\x66' + '\x2d' + '\070'))
if CMfsDQitQrpd == roI3spqORKae(ES5oEprVxulp(b'5'), chr(100) + chr(101) + chr(6959 - 6860) + '\x6f' + chr(100) + chr(0b100 + 0o141))('\x75' + chr(0b1101001 + 0o13) + '\146' + '\x2d' + chr(0b111000)):
roI3spqORKae(n2yX1AgA9ol1, roI3spqORKae(ES5oEprVxulp(b"\x00\x83m\x99'\xaf\xa0%{\xa6\xc1O"), '\x64' + '\145' + '\x63' + '\x6f' + '\144' + chr(0b1011010 + 0o13))('\x75' + chr(0b1010011 + 0o41) + chr(102) + chr(45) + '\070'))(roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b"'\xbd(\xb1\x17\xbb\x80\x1dP\x97"), chr(0b100001 + 0o103) + chr(0b1100101) + chr(0b1100011) + chr(111) + '\144' + chr(224 - 123))(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + '\x2d' + chr(0b111000)))(EZpAVpHmjgmY, HfaqVUK36EUj))
else:
return (nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x31', 8), [])
elif bxxuZm4I6LgY:
roI3spqORKae(n2yX1AgA9ol1, roI3spqORKae(ES5oEprVxulp(b"\x00\x83m\x99'\xaf\xa0%{\xa6\xc1O"), chr(0b1011 + 0o131) + chr(0b1100101) + chr(0b1001110 + 0o25) + '\x6f' + chr(6800 - 6700) + chr(0b1010010 + 0o23))(chr(0b1 + 0o164) + chr(4119 - 4003) + '\146' + chr(45) + chr(0b111000)))(roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b"'\xbd(\xb1\x17\xbb\x80\x1dP\x97"), '\144' + '\x65' + chr(3385 - 3286) + chr(0b1000110 + 0o51) + chr(100) + chr(101))('\x75' + chr(116) + '\x66' + '\055' + chr(432 - 376)))(EZpAVpHmjgmY, HfaqVUK36EUj))
return (nzTpIcepk0o8('\060' + chr(6104 - 5993) + chr(0b11100 + 0o25), 8), n2yX1AgA9ol1)
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
quick_hyst
|
def quick_hyst(dir_path=".", meas_file="measurements.txt", save_plots=True,
interactive=False, fmt="png", specimen="", verbose=True, n_plots=10,
contribution=None):
"""
makes specimen plots of hysteresis data
Parameters
----------
dir_path : str, default "."
input directory
meas_file : str, default "measurements.txt"
name of MagIC measurement file
save_plots : bool, default True
save figures
interactive : bool, default False
if True, interactively plot and display
(this is best used on the command line only)
fmt : str, default "svg"
format for figures, ["svg", "jpg", "pdf", "png"]
specimen : str, default ""
specific specimen to plot
verbose : bool, default True
if True, print more verbose output
Returns
---------
Tuple : (True or False indicating if conversion was sucessful, output file name(s) written)
"""
if contribution is None:
con = cb.Contribution(dir_path, read_tables=['measurements'],
custom_filenames={'measurements': meas_file})
else:
con = contribution
# get as much name data as possible (used for naming plots)
if 'measurements' not in con.tables:
print("-W- No measurement file found")
return False, []
con.propagate_location_to_measurements()
if 'measurements' not in con.tables:
print(main.__doc__)
print('bad file')
return False, []
meas_container = con.tables['measurements']
#meas_df = meas_container.df
#
# initialize some variables
# define figure numbers for hyst,deltaM,DdeltaM curves
saved = []
HystRecs = []
HDD = {}
HDD['hyst'] = 1
pmagplotlib.plot_init(HDD['hyst'], 5, 5)
#
# get list of unique experiment names and specimen names
#
sids = []
hyst_data = meas_container.get_records_for_code('LP-HYS')
#experiment_names = hyst_data['experiment_name'].unique()
if not len(hyst_data):
print("-W- No hysteresis data found")
return False, []
if 'specimen' not in hyst_data.columns:
print('-W- No specimen names in measurements data, cannot complete quick_hyst.py')
return False, []
sids = hyst_data['specimen'].unique()
# if 'treat_temp' is provided, use that value, otherwise assume 300
hyst_data['treat_temp'].where(
hyst_data['treat_temp'].notnull(), '300', inplace=True)
# start at first specimen, or at provided specimen ('-spc')
k = 0
if specimen:
try:
print(sids)
k = list(sids).index(specimen)
except ValueError:
print('-W- No specimen named: {}.'.format(specimen))
print('-W- Please provide a valid specimen name')
return False, []
intlist = ['magn_moment', 'magn_volume', 'magn_mass']
if len(sids) > n_plots:
sids = sids[:n_plots]
while k < len(sids):
locname, site, sample, synth = '', '', '', ''
s = sids[k]
if verbose:
print(s, k + 1, 'out of ', len(sids))
# B, M for hysteresis, Bdcd,Mdcd for irm-dcd data
B, M = [], []
# get all measurements for this specimen
spec = hyst_data[hyst_data['specimen'] == s]
# get names
if 'location' in spec:
locname = spec['location'].iloc[0]
if 'site' in spec:
site = spec['sample'].iloc[0]
if 'sample' in spec:
sample = spec['sample'].iloc[0]
# get all records with non-blank values in any intlist column
# find intensity data
for int_column in intlist:
if int_column in spec.columns:
int_col = int_column
break
meas_data = spec[spec[int_column].notnull()]
if len(meas_data) == 0:
break
#
c = ['k-', 'b-', 'c-', 'g-', 'm-', 'r-', 'y-']
cnum = 0
Temps = []
xlab, ylab, title = '', '', ''
Temps = meas_data['treat_temp'].unique()
for t in Temps:
print('working on t: ', t)
t_data = meas_data[meas_data['treat_temp'] == t]
m = int_col
B = t_data['meas_field_dc'].astype(float).values
M = t_data[m].astype(float).values
# now plot the hysteresis curve(s)
#
if len(B) > 0:
B = np.array(B)
M = np.array(M)
if t == Temps[-1]:
xlab = 'Field (T)'
ylab = m
title = 'Hysteresis: ' + s
if t == Temps[0]:
pmagplotlib.clearFIG(HDD['hyst'])
pmagplotlib.plot_xy(
HDD['hyst'], B, M, sym=c[cnum], xlab=xlab, ylab=ylab, title=title)
pmagplotlib.plot_xy(HDD['hyst'], [
1.1*B.min(), 1.1*B.max()], [0, 0], sym='k-', xlab=xlab, ylab=ylab, title=title)
pmagplotlib.plot_xy(HDD['hyst'], [0, 0], [
1.1*M.min(), 1.1*M.max()], sym='k-', xlab=xlab, ylab=ylab, title=title)
if not save_plots and not set_env.IS_WIN:
pmagplotlib.draw_figs(HDD)
cnum += 1
if cnum == len(c):
cnum = 0
#
files = {}
if save_plots:
if specimen != "":
s = specimen
for key in list(HDD.keys()):
if pmagplotlib.isServer:
if synth == '':
files[key] = "LO:_"+locname+'_SI:_'+site + \
'_SA:_'+sample+'_SP:_'+s+'_TY:_'+key+'_.'+fmt
else:
files[key] = 'SY:_'+synth+'_TY:_'+key+'_.'+fmt
else:
if synth == '':
filename = ''
for item in [locname, site, sample, s, key]:
if item:
item = item.replace(' ', '_')
filename += item + '_'
if filename.endswith('_'):
filename = filename[:-1]
filename += ".{}".format(fmt)
files[key] = filename
else:
files[key] = "{}_{}.{}".format(synth, key, fmt)
pmagplotlib.save_plots(HDD, files)
saved.extend([value for value in files.values()])
if specimen:
return True, saved
if interactive:
pmagplotlib.draw_figs(HDD)
ans = input(
"S[a]ve plots, [s]pecimen name, [q]uit, <return> to continue\n ")
if ans == "a":
files = {}
for key in list(HDD.keys()):
if pmagplotlib.isServer: # use server plot naming convention
locname = locname if locname else ""
site = site if site else ""
sample = sample if sample else ""
files[key] = "LO:_"+locname+'_SI:_'+site + \
'_SA:_'+sample+'_SP:_'+s+'_TY:_'+key+'_.'+fmt
else: # use more readable plot naming convention
filename = ''
for item in [locname, site, sample, s, key]:
if item:
item = item.replace(' ', '_')
filename += item + '_'
if filename.endswith('_'):
filename = filename[:-1]
filename += ".{}".format(fmt)
files[key] = filename
pmagplotlib.save_plots(HDD, files)
saved.extend([value for value in files.values()])
if ans == '':
k += 1
if ans == "p":
del HystRecs[-1]
k -= 1
if ans == 'q':
print("Good bye")
return True, []
if ans == 's':
keepon = 1
specimen = input(
'Enter desired specimen name (or first part there of): ')
while keepon == 1:
try:
k = list(sids).index(specimen)
keepon = 0
except ValueError:
tmplist = []
for qq in range(len(sids)):
if specimen in sids[qq]:
tmplist.append(sids[qq])
print(specimen, " not found, but this was: ")
print(tmplist)
specimen = input('Select one or try again\n ')
k = list(sids).index(specimen)
else:
k += 1
if not len(B):
if verbose:
print('skipping this one - no hysteresis data')
k += 1
return True, saved
|
python
|
def quick_hyst(dir_path=".", meas_file="measurements.txt", save_plots=True,
interactive=False, fmt="png", specimen="", verbose=True, n_plots=10,
contribution=None):
"""
makes specimen plots of hysteresis data
Parameters
----------
dir_path : str, default "."
input directory
meas_file : str, default "measurements.txt"
name of MagIC measurement file
save_plots : bool, default True
save figures
interactive : bool, default False
if True, interactively plot and display
(this is best used on the command line only)
fmt : str, default "svg"
format for figures, ["svg", "jpg", "pdf", "png"]
specimen : str, default ""
specific specimen to plot
verbose : bool, default True
if True, print more verbose output
Returns
---------
Tuple : (True or False indicating if conversion was sucessful, output file name(s) written)
"""
if contribution is None:
con = cb.Contribution(dir_path, read_tables=['measurements'],
custom_filenames={'measurements': meas_file})
else:
con = contribution
# get as much name data as possible (used for naming plots)
if 'measurements' not in con.tables:
print("-W- No measurement file found")
return False, []
con.propagate_location_to_measurements()
if 'measurements' not in con.tables:
print(main.__doc__)
print('bad file')
return False, []
meas_container = con.tables['measurements']
#meas_df = meas_container.df
#
# initialize some variables
# define figure numbers for hyst,deltaM,DdeltaM curves
saved = []
HystRecs = []
HDD = {}
HDD['hyst'] = 1
pmagplotlib.plot_init(HDD['hyst'], 5, 5)
#
# get list of unique experiment names and specimen names
#
sids = []
hyst_data = meas_container.get_records_for_code('LP-HYS')
#experiment_names = hyst_data['experiment_name'].unique()
if not len(hyst_data):
print("-W- No hysteresis data found")
return False, []
if 'specimen' not in hyst_data.columns:
print('-W- No specimen names in measurements data, cannot complete quick_hyst.py')
return False, []
sids = hyst_data['specimen'].unique()
# if 'treat_temp' is provided, use that value, otherwise assume 300
hyst_data['treat_temp'].where(
hyst_data['treat_temp'].notnull(), '300', inplace=True)
# start at first specimen, or at provided specimen ('-spc')
k = 0
if specimen:
try:
print(sids)
k = list(sids).index(specimen)
except ValueError:
print('-W- No specimen named: {}.'.format(specimen))
print('-W- Please provide a valid specimen name')
return False, []
intlist = ['magn_moment', 'magn_volume', 'magn_mass']
if len(sids) > n_plots:
sids = sids[:n_plots]
while k < len(sids):
locname, site, sample, synth = '', '', '', ''
s = sids[k]
if verbose:
print(s, k + 1, 'out of ', len(sids))
# B, M for hysteresis, Bdcd,Mdcd for irm-dcd data
B, M = [], []
# get all measurements for this specimen
spec = hyst_data[hyst_data['specimen'] == s]
# get names
if 'location' in spec:
locname = spec['location'].iloc[0]
if 'site' in spec:
site = spec['sample'].iloc[0]
if 'sample' in spec:
sample = spec['sample'].iloc[0]
# get all records with non-blank values in any intlist column
# find intensity data
for int_column in intlist:
if int_column in spec.columns:
int_col = int_column
break
meas_data = spec[spec[int_column].notnull()]
if len(meas_data) == 0:
break
#
c = ['k-', 'b-', 'c-', 'g-', 'm-', 'r-', 'y-']
cnum = 0
Temps = []
xlab, ylab, title = '', '', ''
Temps = meas_data['treat_temp'].unique()
for t in Temps:
print('working on t: ', t)
t_data = meas_data[meas_data['treat_temp'] == t]
m = int_col
B = t_data['meas_field_dc'].astype(float).values
M = t_data[m].astype(float).values
# now plot the hysteresis curve(s)
#
if len(B) > 0:
B = np.array(B)
M = np.array(M)
if t == Temps[-1]:
xlab = 'Field (T)'
ylab = m
title = 'Hysteresis: ' + s
if t == Temps[0]:
pmagplotlib.clearFIG(HDD['hyst'])
pmagplotlib.plot_xy(
HDD['hyst'], B, M, sym=c[cnum], xlab=xlab, ylab=ylab, title=title)
pmagplotlib.plot_xy(HDD['hyst'], [
1.1*B.min(), 1.1*B.max()], [0, 0], sym='k-', xlab=xlab, ylab=ylab, title=title)
pmagplotlib.plot_xy(HDD['hyst'], [0, 0], [
1.1*M.min(), 1.1*M.max()], sym='k-', xlab=xlab, ylab=ylab, title=title)
if not save_plots and not set_env.IS_WIN:
pmagplotlib.draw_figs(HDD)
cnum += 1
if cnum == len(c):
cnum = 0
#
files = {}
if save_plots:
if specimen != "":
s = specimen
for key in list(HDD.keys()):
if pmagplotlib.isServer:
if synth == '':
files[key] = "LO:_"+locname+'_SI:_'+site + \
'_SA:_'+sample+'_SP:_'+s+'_TY:_'+key+'_.'+fmt
else:
files[key] = 'SY:_'+synth+'_TY:_'+key+'_.'+fmt
else:
if synth == '':
filename = ''
for item in [locname, site, sample, s, key]:
if item:
item = item.replace(' ', '_')
filename += item + '_'
if filename.endswith('_'):
filename = filename[:-1]
filename += ".{}".format(fmt)
files[key] = filename
else:
files[key] = "{}_{}.{}".format(synth, key, fmt)
pmagplotlib.save_plots(HDD, files)
saved.extend([value for value in files.values()])
if specimen:
return True, saved
if interactive:
pmagplotlib.draw_figs(HDD)
ans = input(
"S[a]ve plots, [s]pecimen name, [q]uit, <return> to continue\n ")
if ans == "a":
files = {}
for key in list(HDD.keys()):
if pmagplotlib.isServer: # use server plot naming convention
locname = locname if locname else ""
site = site if site else ""
sample = sample if sample else ""
files[key] = "LO:_"+locname+'_SI:_'+site + \
'_SA:_'+sample+'_SP:_'+s+'_TY:_'+key+'_.'+fmt
else: # use more readable plot naming convention
filename = ''
for item in [locname, site, sample, s, key]:
if item:
item = item.replace(' ', '_')
filename += item + '_'
if filename.endswith('_'):
filename = filename[:-1]
filename += ".{}".format(fmt)
files[key] = filename
pmagplotlib.save_plots(HDD, files)
saved.extend([value for value in files.values()])
if ans == '':
k += 1
if ans == "p":
del HystRecs[-1]
k -= 1
if ans == 'q':
print("Good bye")
return True, []
if ans == 's':
keepon = 1
specimen = input(
'Enter desired specimen name (or first part there of): ')
while keepon == 1:
try:
k = list(sids).index(specimen)
keepon = 0
except ValueError:
tmplist = []
for qq in range(len(sids)):
if specimen in sids[qq]:
tmplist.append(sids[qq])
print(specimen, " not found, but this was: ")
print(tmplist)
specimen = input('Select one or try again\n ')
k = list(sids).index(specimen)
else:
k += 1
if not len(B):
if verbose:
print('skipping this one - no hysteresis data')
k += 1
return True, saved
|
[
"def",
"quick_hyst",
"(",
"dir_path",
"=",
"\".\"",
",",
"meas_file",
"=",
"\"measurements.txt\"",
",",
"save_plots",
"=",
"True",
",",
"interactive",
"=",
"False",
",",
"fmt",
"=",
"\"png\"",
",",
"specimen",
"=",
"\"\"",
",",
"verbose",
"=",
"True",
",",
"n_plots",
"=",
"10",
",",
"contribution",
"=",
"None",
")",
":",
"if",
"contribution",
"is",
"None",
":",
"con",
"=",
"cb",
".",
"Contribution",
"(",
"dir_path",
",",
"read_tables",
"=",
"[",
"'measurements'",
"]",
",",
"custom_filenames",
"=",
"{",
"'measurements'",
":",
"meas_file",
"}",
")",
"else",
":",
"con",
"=",
"contribution",
"# get as much name data as possible (used for naming plots)",
"if",
"'measurements'",
"not",
"in",
"con",
".",
"tables",
":",
"print",
"(",
"\"-W- No measurement file found\"",
")",
"return",
"False",
",",
"[",
"]",
"con",
".",
"propagate_location_to_measurements",
"(",
")",
"if",
"'measurements'",
"not",
"in",
"con",
".",
"tables",
":",
"print",
"(",
"main",
".",
"__doc__",
")",
"print",
"(",
"'bad file'",
")",
"return",
"False",
",",
"[",
"]",
"meas_container",
"=",
"con",
".",
"tables",
"[",
"'measurements'",
"]",
"#meas_df = meas_container.df",
"#",
"# initialize some variables",
"# define figure numbers for hyst,deltaM,DdeltaM curves",
"saved",
"=",
"[",
"]",
"HystRecs",
"=",
"[",
"]",
"HDD",
"=",
"{",
"}",
"HDD",
"[",
"'hyst'",
"]",
"=",
"1",
"pmagplotlib",
".",
"plot_init",
"(",
"HDD",
"[",
"'hyst'",
"]",
",",
"5",
",",
"5",
")",
"#",
"# get list of unique experiment names and specimen names",
"#",
"sids",
"=",
"[",
"]",
"hyst_data",
"=",
"meas_container",
".",
"get_records_for_code",
"(",
"'LP-HYS'",
")",
"#experiment_names = hyst_data['experiment_name'].unique()",
"if",
"not",
"len",
"(",
"hyst_data",
")",
":",
"print",
"(",
"\"-W- No hysteresis data found\"",
")",
"return",
"False",
",",
"[",
"]",
"if",
"'specimen'",
"not",
"in",
"hyst_data",
".",
"columns",
":",
"print",
"(",
"'-W- No specimen names in measurements data, cannot complete quick_hyst.py'",
")",
"return",
"False",
",",
"[",
"]",
"sids",
"=",
"hyst_data",
"[",
"'specimen'",
"]",
".",
"unique",
"(",
")",
"# if 'treat_temp' is provided, use that value, otherwise assume 300",
"hyst_data",
"[",
"'treat_temp'",
"]",
".",
"where",
"(",
"hyst_data",
"[",
"'treat_temp'",
"]",
".",
"notnull",
"(",
")",
",",
"'300'",
",",
"inplace",
"=",
"True",
")",
"# start at first specimen, or at provided specimen ('-spc')",
"k",
"=",
"0",
"if",
"specimen",
":",
"try",
":",
"print",
"(",
"sids",
")",
"k",
"=",
"list",
"(",
"sids",
")",
".",
"index",
"(",
"specimen",
")",
"except",
"ValueError",
":",
"print",
"(",
"'-W- No specimen named: {}.'",
".",
"format",
"(",
"specimen",
")",
")",
"print",
"(",
"'-W- Please provide a valid specimen name'",
")",
"return",
"False",
",",
"[",
"]",
"intlist",
"=",
"[",
"'magn_moment'",
",",
"'magn_volume'",
",",
"'magn_mass'",
"]",
"if",
"len",
"(",
"sids",
")",
">",
"n_plots",
":",
"sids",
"=",
"sids",
"[",
":",
"n_plots",
"]",
"while",
"k",
"<",
"len",
"(",
"sids",
")",
":",
"locname",
",",
"site",
",",
"sample",
",",
"synth",
"=",
"''",
",",
"''",
",",
"''",
",",
"''",
"s",
"=",
"sids",
"[",
"k",
"]",
"if",
"verbose",
":",
"print",
"(",
"s",
",",
"k",
"+",
"1",
",",
"'out of '",
",",
"len",
"(",
"sids",
")",
")",
"# B, M for hysteresis, Bdcd,Mdcd for irm-dcd data",
"B",
",",
"M",
"=",
"[",
"]",
",",
"[",
"]",
"# get all measurements for this specimen",
"spec",
"=",
"hyst_data",
"[",
"hyst_data",
"[",
"'specimen'",
"]",
"==",
"s",
"]",
"# get names",
"if",
"'location'",
"in",
"spec",
":",
"locname",
"=",
"spec",
"[",
"'location'",
"]",
".",
"iloc",
"[",
"0",
"]",
"if",
"'site'",
"in",
"spec",
":",
"site",
"=",
"spec",
"[",
"'sample'",
"]",
".",
"iloc",
"[",
"0",
"]",
"if",
"'sample'",
"in",
"spec",
":",
"sample",
"=",
"spec",
"[",
"'sample'",
"]",
".",
"iloc",
"[",
"0",
"]",
"# get all records with non-blank values in any intlist column",
"# find intensity data",
"for",
"int_column",
"in",
"intlist",
":",
"if",
"int_column",
"in",
"spec",
".",
"columns",
":",
"int_col",
"=",
"int_column",
"break",
"meas_data",
"=",
"spec",
"[",
"spec",
"[",
"int_column",
"]",
".",
"notnull",
"(",
")",
"]",
"if",
"len",
"(",
"meas_data",
")",
"==",
"0",
":",
"break",
"#",
"c",
"=",
"[",
"'k-'",
",",
"'b-'",
",",
"'c-'",
",",
"'g-'",
",",
"'m-'",
",",
"'r-'",
",",
"'y-'",
"]",
"cnum",
"=",
"0",
"Temps",
"=",
"[",
"]",
"xlab",
",",
"ylab",
",",
"title",
"=",
"''",
",",
"''",
",",
"''",
"Temps",
"=",
"meas_data",
"[",
"'treat_temp'",
"]",
".",
"unique",
"(",
")",
"for",
"t",
"in",
"Temps",
":",
"print",
"(",
"'working on t: '",
",",
"t",
")",
"t_data",
"=",
"meas_data",
"[",
"meas_data",
"[",
"'treat_temp'",
"]",
"==",
"t",
"]",
"m",
"=",
"int_col",
"B",
"=",
"t_data",
"[",
"'meas_field_dc'",
"]",
".",
"astype",
"(",
"float",
")",
".",
"values",
"M",
"=",
"t_data",
"[",
"m",
"]",
".",
"astype",
"(",
"float",
")",
".",
"values",
"# now plot the hysteresis curve(s)",
"#",
"if",
"len",
"(",
"B",
")",
">",
"0",
":",
"B",
"=",
"np",
".",
"array",
"(",
"B",
")",
"M",
"=",
"np",
".",
"array",
"(",
"M",
")",
"if",
"t",
"==",
"Temps",
"[",
"-",
"1",
"]",
":",
"xlab",
"=",
"'Field (T)'",
"ylab",
"=",
"m",
"title",
"=",
"'Hysteresis: '",
"+",
"s",
"if",
"t",
"==",
"Temps",
"[",
"0",
"]",
":",
"pmagplotlib",
".",
"clearFIG",
"(",
"HDD",
"[",
"'hyst'",
"]",
")",
"pmagplotlib",
".",
"plot_xy",
"(",
"HDD",
"[",
"'hyst'",
"]",
",",
"B",
",",
"M",
",",
"sym",
"=",
"c",
"[",
"cnum",
"]",
",",
"xlab",
"=",
"xlab",
",",
"ylab",
"=",
"ylab",
",",
"title",
"=",
"title",
")",
"pmagplotlib",
".",
"plot_xy",
"(",
"HDD",
"[",
"'hyst'",
"]",
",",
"[",
"1.1",
"*",
"B",
".",
"min",
"(",
")",
",",
"1.1",
"*",
"B",
".",
"max",
"(",
")",
"]",
",",
"[",
"0",
",",
"0",
"]",
",",
"sym",
"=",
"'k-'",
",",
"xlab",
"=",
"xlab",
",",
"ylab",
"=",
"ylab",
",",
"title",
"=",
"title",
")",
"pmagplotlib",
".",
"plot_xy",
"(",
"HDD",
"[",
"'hyst'",
"]",
",",
"[",
"0",
",",
"0",
"]",
",",
"[",
"1.1",
"*",
"M",
".",
"min",
"(",
")",
",",
"1.1",
"*",
"M",
".",
"max",
"(",
")",
"]",
",",
"sym",
"=",
"'k-'",
",",
"xlab",
"=",
"xlab",
",",
"ylab",
"=",
"ylab",
",",
"title",
"=",
"title",
")",
"if",
"not",
"save_plots",
"and",
"not",
"set_env",
".",
"IS_WIN",
":",
"pmagplotlib",
".",
"draw_figs",
"(",
"HDD",
")",
"cnum",
"+=",
"1",
"if",
"cnum",
"==",
"len",
"(",
"c",
")",
":",
"cnum",
"=",
"0",
"#",
"files",
"=",
"{",
"}",
"if",
"save_plots",
":",
"if",
"specimen",
"!=",
"\"\"",
":",
"s",
"=",
"specimen",
"for",
"key",
"in",
"list",
"(",
"HDD",
".",
"keys",
"(",
")",
")",
":",
"if",
"pmagplotlib",
".",
"isServer",
":",
"if",
"synth",
"==",
"''",
":",
"files",
"[",
"key",
"]",
"=",
"\"LO:_\"",
"+",
"locname",
"+",
"'_SI:_'",
"+",
"site",
"+",
"'_SA:_'",
"+",
"sample",
"+",
"'_SP:_'",
"+",
"s",
"+",
"'_TY:_'",
"+",
"key",
"+",
"'_.'",
"+",
"fmt",
"else",
":",
"files",
"[",
"key",
"]",
"=",
"'SY:_'",
"+",
"synth",
"+",
"'_TY:_'",
"+",
"key",
"+",
"'_.'",
"+",
"fmt",
"else",
":",
"if",
"synth",
"==",
"''",
":",
"filename",
"=",
"''",
"for",
"item",
"in",
"[",
"locname",
",",
"site",
",",
"sample",
",",
"s",
",",
"key",
"]",
":",
"if",
"item",
":",
"item",
"=",
"item",
".",
"replace",
"(",
"' '",
",",
"'_'",
")",
"filename",
"+=",
"item",
"+",
"'_'",
"if",
"filename",
".",
"endswith",
"(",
"'_'",
")",
":",
"filename",
"=",
"filename",
"[",
":",
"-",
"1",
"]",
"filename",
"+=",
"\".{}\"",
".",
"format",
"(",
"fmt",
")",
"files",
"[",
"key",
"]",
"=",
"filename",
"else",
":",
"files",
"[",
"key",
"]",
"=",
"\"{}_{}.{}\"",
".",
"format",
"(",
"synth",
",",
"key",
",",
"fmt",
")",
"pmagplotlib",
".",
"save_plots",
"(",
"HDD",
",",
"files",
")",
"saved",
".",
"extend",
"(",
"[",
"value",
"for",
"value",
"in",
"files",
".",
"values",
"(",
")",
"]",
")",
"if",
"specimen",
":",
"return",
"True",
",",
"saved",
"if",
"interactive",
":",
"pmagplotlib",
".",
"draw_figs",
"(",
"HDD",
")",
"ans",
"=",
"input",
"(",
"\"S[a]ve plots, [s]pecimen name, [q]uit, <return> to continue\\n \"",
")",
"if",
"ans",
"==",
"\"a\"",
":",
"files",
"=",
"{",
"}",
"for",
"key",
"in",
"list",
"(",
"HDD",
".",
"keys",
"(",
")",
")",
":",
"if",
"pmagplotlib",
".",
"isServer",
":",
"# use server plot naming convention",
"locname",
"=",
"locname",
"if",
"locname",
"else",
"\"\"",
"site",
"=",
"site",
"if",
"site",
"else",
"\"\"",
"sample",
"=",
"sample",
"if",
"sample",
"else",
"\"\"",
"files",
"[",
"key",
"]",
"=",
"\"LO:_\"",
"+",
"locname",
"+",
"'_SI:_'",
"+",
"site",
"+",
"'_SA:_'",
"+",
"sample",
"+",
"'_SP:_'",
"+",
"s",
"+",
"'_TY:_'",
"+",
"key",
"+",
"'_.'",
"+",
"fmt",
"else",
":",
"# use more readable plot naming convention",
"filename",
"=",
"''",
"for",
"item",
"in",
"[",
"locname",
",",
"site",
",",
"sample",
",",
"s",
",",
"key",
"]",
":",
"if",
"item",
":",
"item",
"=",
"item",
".",
"replace",
"(",
"' '",
",",
"'_'",
")",
"filename",
"+=",
"item",
"+",
"'_'",
"if",
"filename",
".",
"endswith",
"(",
"'_'",
")",
":",
"filename",
"=",
"filename",
"[",
":",
"-",
"1",
"]",
"filename",
"+=",
"\".{}\"",
".",
"format",
"(",
"fmt",
")",
"files",
"[",
"key",
"]",
"=",
"filename",
"pmagplotlib",
".",
"save_plots",
"(",
"HDD",
",",
"files",
")",
"saved",
".",
"extend",
"(",
"[",
"value",
"for",
"value",
"in",
"files",
".",
"values",
"(",
")",
"]",
")",
"if",
"ans",
"==",
"''",
":",
"k",
"+=",
"1",
"if",
"ans",
"==",
"\"p\"",
":",
"del",
"HystRecs",
"[",
"-",
"1",
"]",
"k",
"-=",
"1",
"if",
"ans",
"==",
"'q'",
":",
"print",
"(",
"\"Good bye\"",
")",
"return",
"True",
",",
"[",
"]",
"if",
"ans",
"==",
"'s'",
":",
"keepon",
"=",
"1",
"specimen",
"=",
"input",
"(",
"'Enter desired specimen name (or first part there of): '",
")",
"while",
"keepon",
"==",
"1",
":",
"try",
":",
"k",
"=",
"list",
"(",
"sids",
")",
".",
"index",
"(",
"specimen",
")",
"keepon",
"=",
"0",
"except",
"ValueError",
":",
"tmplist",
"=",
"[",
"]",
"for",
"qq",
"in",
"range",
"(",
"len",
"(",
"sids",
")",
")",
":",
"if",
"specimen",
"in",
"sids",
"[",
"qq",
"]",
":",
"tmplist",
".",
"append",
"(",
"sids",
"[",
"qq",
"]",
")",
"print",
"(",
"specimen",
",",
"\" not found, but this was: \"",
")",
"print",
"(",
"tmplist",
")",
"specimen",
"=",
"input",
"(",
"'Select one or try again\\n '",
")",
"k",
"=",
"list",
"(",
"sids",
")",
".",
"index",
"(",
"specimen",
")",
"else",
":",
"k",
"+=",
"1",
"if",
"not",
"len",
"(",
"B",
")",
":",
"if",
"verbose",
":",
"print",
"(",
"'skipping this one - no hysteresis data'",
")",
"k",
"+=",
"1",
"return",
"True",
",",
"saved"
] |
makes specimen plots of hysteresis data
Parameters
----------
dir_path : str, default "."
input directory
meas_file : str, default "measurements.txt"
name of MagIC measurement file
save_plots : bool, default True
save figures
interactive : bool, default False
if True, interactively plot and display
(this is best used on the command line only)
fmt : str, default "svg"
format for figures, ["svg", "jpg", "pdf", "png"]
specimen : str, default ""
specific specimen to plot
verbose : bool, default True
if True, print more verbose output
Returns
---------
Tuple : (True or False indicating if conversion was sucessful, output file name(s) written)
|
[
"makes",
"specimen",
"plots",
"of",
"hysteresis",
"data"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L12294-L12527
|
train
|
This function will take a directory path and a measurement file and plot the hysteresis data.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8('\060' + chr(0b1101111) + chr(50) + chr(0b10111 + 0o34) + chr(51), 0o10), nzTpIcepk0o8(chr(0b11011 + 0o25) + chr(6877 - 6766) + chr(49) + chr(0b101100 + 0o4) + chr(54), 0o10), nzTpIcepk0o8('\060' + '\157' + chr(49) + chr(0b110001), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b101111 + 0o4) + chr(104 - 50) + '\062', 1340 - 1332), nzTpIcepk0o8(chr(0b110000) + chr(0b1011100 + 0o23) + chr(0b110011) + chr(0b110110) + '\063', 47053 - 47045), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\061' + '\x32' + chr(1897 - 1847), 45606 - 45598), nzTpIcepk0o8('\060' + chr(5318 - 5207) + '\x32' + '\061' + chr(2460 - 2408), 0o10), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x31' + '\x34' + '\x33', 0b1000), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110110), 0b1000), nzTpIcepk0o8(chr(0b11011 + 0o25) + '\157' + chr(49) + chr(0b100100 + 0o16) + '\063', ord("\x08")), nzTpIcepk0o8(chr(0b1110 + 0o42) + '\x6f' + chr(51) + chr(51) + '\062', 0b1000), nzTpIcepk0o8(chr(1084 - 1036) + '\157' + chr(49) + '\x33' + chr(0b110000), 0o10), nzTpIcepk0o8(chr(935 - 887) + chr(2134 - 2023) + '\x33', 0o10), nzTpIcepk0o8('\x30' + chr(0b1101111) + '\x33' + chr(0b110110) + chr(54), 0b1000), nzTpIcepk0o8(chr(0b11011 + 0o25) + chr(0b100011 + 0o114) + chr(0b110011) + chr(0b101010 + 0o14) + chr(1870 - 1816), 8), nzTpIcepk0o8('\060' + chr(11966 - 11855) + chr(911 - 860) + chr(0b110101) + chr(0b100101 + 0o22), 0b1000), nzTpIcepk0o8('\060' + '\x6f' + chr(2396 - 2346) + '\065' + chr(0b110010 + 0o5), 0o10), nzTpIcepk0o8(chr(0b100100 + 0o14) + chr(0b1101111) + '\062' + '\x30' + '\x37', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(4721 - 4610) + chr(0b110011) + chr(0b110001 + 0o5) + chr(52), 0o10), nzTpIcepk0o8(chr(48) + '\x6f' + '\062' + chr(2098 - 2050) + '\061', 59965 - 59957), nzTpIcepk0o8('\060' + chr(0b1101111) + '\062' + chr(588 - 539) + chr(0b110010 + 0o2), 8), nzTpIcepk0o8(chr(48) + chr(111) + '\x33' + chr(0b110110) + chr(50), 8), nzTpIcepk0o8(chr(0b110000) + chr(11485 - 11374) + '\063' + chr(0b1100 + 0o53) + chr(0b1100 + 0o45), ord("\x08")), nzTpIcepk0o8(chr(0b110000 + 0o0) + chr(6774 - 6663) + '\061' + chr(0b10010 + 0o42) + '\060', 57322 - 57314), nzTpIcepk0o8(chr(470 - 422) + chr(0b111111 + 0o60) + '\063' + chr(0b1 + 0o61) + '\067', ord("\x08")), nzTpIcepk0o8(chr(692 - 644) + '\157' + chr(0b110011) + '\x36' + '\x30', 25337 - 25329), nzTpIcepk0o8(chr(1782 - 1734) + '\157' + chr(1288 - 1238) + chr(52) + chr(0b110100), 0o10), nzTpIcepk0o8(chr(1328 - 1280) + '\x6f' + chr(0b1000 + 0o57) + '\x37', 0b1000), nzTpIcepk0o8(chr(0b1111 + 0o41) + chr(0b1101111) + '\063' + '\066' + chr(0b110011), 8), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(795 - 744) + '\x31' + '\x36', 223 - 215), nzTpIcepk0o8('\060' + chr(111) + chr(0b100000 + 0o26) + chr(874 - 820), ord("\x08")), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b110110) + chr(0b100001 + 0o22), ord("\x08")), nzTpIcepk0o8(chr(0b1101 + 0o43) + chr(0b1101111) + '\x33' + chr(49) + chr(0b110001 + 0o3), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(2131 - 2020) + chr(0b110101) + '\060', 0o10), nzTpIcepk0o8(chr(780 - 732) + '\x6f' + chr(0b110001) + chr(0b100010 + 0o21), 0b1000), nzTpIcepk0o8(chr(1396 - 1348) + chr(3305 - 3194) + chr(2180 - 2131) + '\060' + '\x33', 6073 - 6065), nzTpIcepk0o8(chr(0b11011 + 0o25) + '\x6f' + '\061' + '\064' + '\062', 30528 - 30520), nzTpIcepk0o8(chr(1956 - 1908) + chr(111) + chr(1757 - 1708) + chr(0b110011), 8), nzTpIcepk0o8(chr(48) + chr(111) + chr(1331 - 1282) + chr(0b110110) + '\x31', 0b1000), nzTpIcepk0o8('\060' + '\157' + chr(0b110010) + '\x35' + '\x30', 0o10)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(0b110000) + chr(1443 - 1332) + '\065' + chr(0b110000), 8)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xb5'), chr(0b1010011 + 0o21) + chr(101) + '\x63' + '\157' + chr(100) + chr(0b1100101))(chr(0b1110101) + '\x74' + chr(0b1100110) + chr(45) + chr(56)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def sQdlLaPw3shL(qjksZ7GK0xkJ=roI3spqORKae(ES5oEprVxulp(b'\xb5'), chr(0b1011001 + 0o13) + chr(0b1100101) + chr(8590 - 8491) + chr(0b10000 + 0o137) + chr(3515 - 3415) + chr(5677 - 5576))('\165' + chr(7189 - 7073) + chr(0b1100110) + chr(45) + '\070'), rHPU8oONrR4n=roI3spqORKae(ES5oEprVxulp(b'\xf6#h\x81\x86 \xe9\x0ec=\xae+-\x82\x8e\x9b'), '\144' + '\145' + chr(0b1100011) + chr(0b1000101 + 0o52) + chr(9039 - 8939) + chr(0b1100101))('\165' + chr(0b1110100) + chr(1664 - 1562) + chr(0b11010 + 0o23) + chr(56)), bxxuZm4I6LgY=nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b110001), 0o10), f4XDWm__k5ZA=nzTpIcepk0o8(chr(48) + chr(0b11100 + 0o123) + chr(562 - 514), 0o10), JummcHpaNLEw=roI3spqORKae(ES5oEprVxulp(b'\xeb(n'), chr(100) + '\x65' + chr(0b1100011) + chr(111) + chr(9792 - 9692) + chr(101))('\x75' + chr(0b1110100) + chr(6151 - 6049) + chr(0b1 + 0o54) + '\x38'), EJPYhrC8WoVb=roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(0b11110 + 0o107) + chr(0b1100011) + chr(0b1000001 + 0o56) + chr(0b1100100) + '\145')(chr(0b1110101) + '\164' + chr(0b1100110) + chr(0b100010 + 0o13) + chr(383 - 327)), TseISVdPlfdM=nzTpIcepk0o8(chr(523 - 475) + chr(0b1101111) + '\x31', 8), LtSarZcSnftR=nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\061' + chr(0b1000 + 0o52), 0o10), bSiGoWKHgDdJ=None):
if bSiGoWKHgDdJ is None:
D3H9MFOOog2W = RYEhqzIVZREo.Contribution(qjksZ7GK0xkJ, read_tables=[roI3spqORKae(ES5oEprVxulp(b'\xf6#h\x81\x86 \xe9\x0ec=\xae+'), chr(0b1100100) + chr(101) + chr(0b1100011) + '\x6f' + chr(0b11000 + 0o114) + chr(0b1111 + 0o126))('\165' + '\x74' + '\x66' + chr(45) + '\x38')], custom_filenames={roI3spqORKae(ES5oEprVxulp(b'\xf6#h\x81\x86 \xe9\x0ec=\xae+'), '\x64' + '\145' + chr(0b1100011) + chr(0b1101111) + '\144' + chr(0b10110 + 0o117))(chr(117) + chr(0b1110100) + '\146' + '\055' + chr(0b11000 + 0o40)): rHPU8oONrR4n})
else:
D3H9MFOOog2W = bSiGoWKHgDdJ
if roI3spqORKae(ES5oEprVxulp(b'\xf6#h\x81\x86 \xe9\x0ec=\xae+'), '\x64' + chr(0b1100101) + chr(0b100101 + 0o76) + chr(0b110101 + 0o72) + '\x64' + chr(101))(chr(117) + chr(4902 - 4786) + '\146' + chr(45) + '\070') not in roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'\xcc!}\xa1\xb9\n\xbc\x10O\n\xaa\x14'), chr(100) + chr(9120 - 9019) + chr(99) + chr(111) + chr(100) + chr(0b1010000 + 0o25))('\165' + '\x74' + chr(0b1000 + 0o136) + chr(0b1000 + 0o45) + chr(0b111000))):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xb6\x11$\xd2\xbd=\xac\x0ec2\xa9-q\x93\x9b\x8a\xc1\xf3\xd4\xe7\xe5\x9e\x9c@\xb1\x9f\xd1Q\x97'), '\144' + chr(101) + '\143' + '\157' + '\144' + chr(0b1100001 + 0o4))(chr(0b1110101) + chr(9135 - 9019) + '\x66' + chr(45) + chr(0b111000)))
return (nzTpIcepk0o8(chr(1603 - 1555) + '\157' + '\060', 8), [])
roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'\xeb4f\x82\x925\xed\x17c\x0c\xb67`\x97\x82\x86\xc0\xe9\xab\xf5\xe3\xad\x94\x05\xb6\x83\xd1M\x96\xa3S]\xb8['), chr(0b1100100) + '\x65' + '\x63' + '\157' + chr(100) + chr(4791 - 4690))(chr(117) + '\164' + chr(0b1100110) + '\x2d' + chr(56)))()
if roI3spqORKae(ES5oEprVxulp(b'\xf6#h\x81\x86 \xe9\x0ec=\xae+'), chr(0b1100100) + chr(0b1100101) + chr(0b1100011) + chr(0b100101 + 0o112) + chr(0b100001 + 0o103) + chr(0b1100101))(chr(117) + '\x74' + '\x66' + '\055' + '\070') not in roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'\xcc!}\xa1\xb9\n\xbc\x10O\n\xaa\x14'), chr(0b1100100) + chr(9263 - 9162) + '\143' + chr(0b1001110 + 0o41) + '\x64' + chr(1897 - 1796))('\165' + chr(1960 - 1844) + '\x66' + chr(1537 - 1492) + chr(0b111000))):
v8jsMqaYV6U2(roI3spqORKae(BXHXH_QeD6rL, roI3spqORKae(ES5oEprVxulp(b'\xe2 L\x97\x82\x03\xe56i"\x8d\x0c'), chr(1550 - 1450) + '\145' + chr(99) + chr(111) + '\144' + chr(101))('\x75' + '\x74' + chr(3940 - 3838) + chr(306 - 261) + chr(0b10001 + 0o47))))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b"\xf9'm\xd2\x95;\xe0\x06"), chr(849 - 749) + chr(0b1100101) + '\143' + chr(111) + chr(0b110001 + 0o63) + '\145')(chr(0b1011111 + 0o26) + chr(0b1110100) + chr(0b1000 + 0o136) + '\x2d' + '\x38'))
return (nzTpIcepk0o8(chr(48) + chr(111) + chr(48), 8), [])
mWQu7Lg8SCXW = D3H9MFOOog2W.WgtSJX0sIYpL[roI3spqORKae(ES5oEprVxulp(b'\xf6#h\x81\x86 \xe9\x0ec=\xae+'), '\144' + '\x65' + '\x63' + chr(0b101110 + 0o101) + chr(0b1100100) + chr(0b110111 + 0o56))(chr(117) + '\x74' + chr(0b101001 + 0o75) + chr(460 - 415) + chr(0b111000))]
n2yX1AgA9ol1 = []
lyyaSLqlyF3P = []
mVI5sGGXVJu2 = {}
mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b'\xf3?z\x86'), chr(100) + chr(3183 - 3082) + chr(2696 - 2597) + '\x6f' + chr(0b110101 + 0o57) + chr(0b1010000 + 0o25))('\x75' + chr(12538 - 12422) + '\x66' + chr(0b101101) + chr(56))] = nzTpIcepk0o8(chr(0b110000) + '\157' + '\x31', 8)
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xeb*f\x86\xac;\xe2\nr'), chr(0b1100100) + chr(0b111110 + 0o47) + chr(6070 - 5971) + '\x6f' + chr(0b1100100) + '\x65')('\x75' + '\164' + chr(0b0 + 0o146) + chr(0b101101) + '\x38'))(mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b'\xf3?z\x86'), chr(100) + chr(101) + chr(99) + chr(0b1101111) + chr(0b1001011 + 0o31) + chr(369 - 268))('\x75' + chr(116) + '\146' + '\055' + chr(405 - 349))], nzTpIcepk0o8('\060' + chr(0b1100001 + 0o16) + chr(0b110101), 17581 - 17573), nzTpIcepk0o8('\x30' + '\x6f' + '\065', 8))
Wbavx5JmRXKA = []
tCdv8qHz1BKS = mWQu7Lg8SCXW.get_records_for_code(roI3spqORKae(ES5oEprVxulp(b'\xd7\x16$\xba\xaa\x01'), chr(100) + chr(101) + '\143' + chr(111) + chr(0b1100100) + chr(0b1100101))('\165' + chr(0b1110100) + '\x66' + '\x2d' + '\x38'))
if not ftfygxgFas5X(tCdv8qHz1BKS):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xb6\x11$\xd2\xbd=\xac\x0b\x7f \xae=q\x93\x85\x86\xdc\xa7\x90\xe0\xf8\x93\xd9\x06\xb8\x85\xca['), '\144' + '\x65' + chr(8040 - 7941) + '\x6f' + chr(6899 - 6799) + '\145')(chr(117) + chr(116) + chr(903 - 801) + chr(0b101011 + 0o2) + chr(0b111000)))
return (nzTpIcepk0o8(chr(0b11010 + 0o26) + chr(0b1101111) + chr(48), 8), [])
if roI3spqORKae(ES5oEprVxulp(b'\xe86l\x91\x9a?\xe9\r'), chr(4164 - 4064) + chr(4380 - 4279) + '\x63' + chr(111) + '\x64' + '\x65')(chr(0b1110101 + 0o0) + chr(0b1110100) + '\146' + chr(0b101101) + '\x38') not in roI3spqORKae(tCdv8qHz1BKS, roI3spqORKae(ES5oEprVxulp(b'\xceu0\x98\xa0;\xc5V2\x1e\xb6('), chr(8782 - 8682) + chr(101) + chr(0b100001 + 0o102) + chr(328 - 217) + '\x64' + chr(3392 - 3291))('\165' + '\x74' + chr(0b1010010 + 0o24) + chr(0b101101) + chr(0b11010 + 0o36))):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b"\xb6\x11$\xd2\xbd=\xac\x10v6\xb91n\x93\x98\xcf\xc1\xe6\x99\xe4\xff\xd2\x90\x0e\xf7\x9d\xc1^\x80\xbbDV\xa1Me7\x11+\x15\xc9\xef'%\xd2\x903\xe2\ri'\xfa;l\x9b\x86\x83\xca\xf3\x91\xa1\xfd\x87\x90\x03\xbc\xaf\xccF\x80\xba\x18C\xb5"), '\x64' + '\x65' + '\x63' + chr(10627 - 10516) + chr(100) + chr(1662 - 1561))('\165' + chr(0b1110100) + '\x66' + chr(0b10101 + 0o30) + '\x38'))
return (nzTpIcepk0o8('\x30' + chr(111) + '\x30', 8), [])
Wbavx5JmRXKA = tCdv8qHz1BKS[roI3spqORKae(ES5oEprVxulp(b'\xe86l\x91\x9a?\xe9\r'), '\x64' + '\145' + chr(99) + '\157' + chr(100) + chr(9920 - 9819))(chr(12588 - 12471) + '\164' + '\x66' + chr(720 - 675) + chr(0b101001 + 0o17))].G3de2eWQaS0D()
roI3spqORKae(tCdv8qHz1BKS[roI3spqORKae(ES5oEprVxulp(b'\xef4l\x93\x87\r\xf8\x06k#'), '\144' + '\x65' + '\143' + chr(0b1000001 + 0o56) + chr(7311 - 7211) + chr(0b1100001 + 0o4))(chr(117) + '\164' + '\x66' + '\x2d' + chr(0b111000))], roI3spqORKae(ES5oEprVxulp(b'\xe3\x11A\xc6\xbee\xc7UW1\xbek'), '\x64' + chr(0b1001011 + 0o32) + chr(4769 - 4670) + chr(9408 - 9297) + chr(0b1100100) + chr(0b1100101))(chr(0b111010 + 0o73) + chr(0b1100101 + 0o17) + chr(102) + chr(1542 - 1497) + chr(0b111000)))(roI3spqORKae(tCdv8qHz1BKS[roI3spqORKae(ES5oEprVxulp(b'\xef4l\x93\x87\r\xf8\x06k#'), chr(1266 - 1166) + chr(1724 - 1623) + chr(0b1000110 + 0o35) + chr(111) + chr(0b11100 + 0o110) + chr(0b111111 + 0o46))(chr(0b1110101) + chr(2389 - 2273) + chr(0b1100110) + chr(45) + chr(56))], roI3spqORKae(ES5oEprVxulp(b'\xf5)}\x9c\x86>\xe0'), chr(100) + chr(0b11110 + 0o107) + '\143' + '\157' + chr(0b101000 + 0o74) + '\145')('\165' + chr(0b1 + 0o163) + chr(6453 - 6351) + chr(0b101100 + 0o1) + '\070'))(), roI3spqORKae(ES5oEprVxulp(b'\xa8v9'), chr(0b1100011 + 0o1) + chr(0b101011 + 0o72) + chr(7508 - 7409) + chr(0b1101111) + chr(0b1100100) + chr(101))(chr(117) + chr(5252 - 5136) + chr(102) + '\x2d' + '\x38'), inplace=nzTpIcepk0o8(chr(48) + chr(2792 - 2681) + chr(2268 - 2219), 8))
B6UAF1zReOyJ = nzTpIcepk0o8(chr(0b110000) + chr(11288 - 11177) + '\x30', 8)
if EJPYhrC8WoVb:
try:
v8jsMqaYV6U2(Wbavx5JmRXKA)
B6UAF1zReOyJ = H4NoA26ON7iG(Wbavx5JmRXKA).ZpfN5tSLaZze(EJPYhrC8WoVb)
except WbNHlDKpyPtQ:
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'\xb6\x11$\xd2\xbd=\xac\x10v6\xb91n\x93\x98\xcf\xc1\xe6\x99\xe4\xe8\xc8\xd9\x1b\xaa\xde'), chr(100) + '\145' + '\143' + chr(4987 - 4876) + chr(100) + chr(0b1100101))(chr(117) + '\164' + '\146' + chr(0b101101) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xeau:\xb9\xb4a\xea\x0cW\x0c\x99\x12'), chr(0b1100100) + '\x65' + '\143' + chr(111) + chr(6399 - 6299) + chr(0b1100101))('\x75' + chr(116) + '\x66' + chr(0b101101) + chr(0b111000)))(EJPYhrC8WoVb))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xb6\x11$\xd2\xa3>\xe9\x02u6\xfa(q\x99\x80\x86\xcb\xe2\xd4\xe0\xac\x84\x98\x0c\xbe\x94\x84L\x83\xabUZ\xa1Mec\x0cj\x1c\xcd'), '\x64' + chr(0b1100101) + chr(0b110111 + 0o54) + chr(0b1101111) + '\144' + chr(0b1001101 + 0o30))(chr(1294 - 1177) + '\x74' + '\x66' + chr(45) + chr(1951 - 1895)))
return (nzTpIcepk0o8(chr(0b110000) + '\157' + '\060', 8), [])
CtVbSzlHGZGP = [roI3spqORKae(ES5oEprVxulp(b"\xf6'n\x9c\xac?\xe3\x0ec=\xae"), '\144' + '\145' + chr(99) + chr(0b1101111) + chr(2056 - 1956) + chr(0b1100101))(chr(0b1110101) + chr(5340 - 5224) + '\146' + chr(45) + '\x38'), roI3spqORKae(ES5oEprVxulp(b"\xf6'n\x9c\xac$\xe3\x0fs>\xbf"), chr(0b1100100) + chr(4730 - 4629) + chr(99) + '\157' + '\144' + chr(5970 - 5869))('\x75' + chr(11735 - 11619) + chr(0b1000010 + 0o44) + chr(0b11111 + 0o16) + '\070'), roI3spqORKae(ES5oEprVxulp(b"\xf6'n\x9c\xac?\xed\x10u"), '\144' + '\x65' + chr(99) + chr(111) + '\x64' + chr(0b1100101))('\165' + chr(0b100001 + 0o123) + chr(5257 - 5155) + chr(45) + chr(0b1100 + 0o54))]
if ftfygxgFas5X(Wbavx5JmRXKA) > LtSarZcSnftR:
Wbavx5JmRXKA = Wbavx5JmRXKA[:LtSarZcSnftR]
while B6UAF1zReOyJ < ftfygxgFas5X(Wbavx5JmRXKA):
(N3wHZjqj3hh1, f9ijNiPCpOFu, wQI2PxGBYMEh, dMICWmxr5_tU) = (roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(0b1100101) + chr(0b1100011) + '\x6f' + '\x64' + chr(0b1100101))(chr(117) + chr(882 - 766) + chr(102) + chr(373 - 328) + '\x38'), roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100000 + 0o4) + chr(309 - 208) + chr(3056 - 2957) + '\157' + chr(3053 - 2953) + '\145')(chr(117) + chr(0b101000 + 0o114) + chr(0b1100110) + chr(79 - 34) + chr(1626 - 1570)), roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100000 + 0o4) + '\145' + chr(0b1100011) + '\157' + chr(100) + '\145')(chr(0b1000 + 0o155) + chr(0b100101 + 0o117) + chr(0b110010 + 0o64) + chr(45) + '\070'), roI3spqORKae(ES5oEprVxulp(b''), '\x64' + '\x65' + '\x63' + chr(11297 - 11186) + chr(0b1100100) + chr(0b1011110 + 0o7))('\x75' + '\x74' + chr(102) + '\055' + chr(0b111000)))
PmE5_h409JAA = Wbavx5JmRXKA[B6UAF1zReOyJ]
if TseISVdPlfdM:
v8jsMqaYV6U2(PmE5_h409JAA, B6UAF1zReOyJ + nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(49), 8), roI3spqORKae(ES5oEprVxulp(b'\xf43}\xd2\x9c4\xac'), '\144' + chr(0b10100 + 0o121) + chr(99) + chr(111) + chr(100) + chr(101))('\x75' + '\164' + '\x66' + chr(0b10 + 0o53) + chr(0b101001 + 0o17)), ftfygxgFas5X(Wbavx5JmRXKA))
(TQ0u0KgwFXN5, lY8v4DfEhTNv) = ([], [])
L66BkZPPV93j = tCdv8qHz1BKS[tCdv8qHz1BKS[roI3spqORKae(ES5oEprVxulp(b'\xe86l\x91\x9a?\xe9\r'), chr(0b110000 + 0o64) + '\x65' + '\143' + chr(0b1101111) + chr(0b1100100) + chr(101))(chr(2277 - 2160) + chr(0b1110100) + chr(9403 - 9301) + '\055' + '\x38')] == PmE5_h409JAA]
if roI3spqORKae(ES5oEprVxulp(b'\xf7)j\x93\x87;\xe3\r'), chr(100) + '\x65' + '\143' + '\x6f' + '\x64' + chr(0b1100 + 0o131))(chr(0b1110101) + '\164' + chr(8465 - 8363) + chr(0b101101) + chr(56)) in L66BkZPPV93j:
N3wHZjqj3hh1 = L66BkZPPV93j[roI3spqORKae(ES5oEprVxulp(b'\xf7)j\x93\x87;\xe3\r'), chr(0b1100100) + chr(101) + chr(0b1100011) + chr(0b110010 + 0o75) + chr(0b1100100) + '\145')('\165' + chr(0b1001010 + 0o52) + chr(0b11 + 0o143) + chr(157 - 112) + '\070')].mj4jMnYn3A2l[nzTpIcepk0o8(chr(48) + chr(111) + chr(48), 8)]
if roI3spqORKae(ES5oEprVxulp(b'\xe8/}\x97'), chr(0b1100100) + chr(0b1100101) + chr(0b1100011) + '\157' + chr(0b1100100) + chr(2889 - 2788))(chr(117) + chr(0b1100010 + 0o22) + chr(3068 - 2966) + '\x2d' + chr(0b100000 + 0o30)) in L66BkZPPV93j:
f9ijNiPCpOFu = L66BkZPPV93j[roI3spqORKae(ES5oEprVxulp(b"\xe8'd\x82\x9f7"), chr(0b11110 + 0o106) + chr(0b1100101) + chr(0b1100011) + chr(0b1001110 + 0o41) + '\144' + chr(0b1100010 + 0o3))('\165' + '\x74' + '\146' + chr(45) + '\070')].mj4jMnYn3A2l[nzTpIcepk0o8('\x30' + chr(0b1101111) + '\060', 8)]
if roI3spqORKae(ES5oEprVxulp(b"\xe8'd\x82\x9f7"), chr(100) + '\x65' + chr(0b1100011) + chr(0b1101111) + '\144' + chr(0b101 + 0o140))('\x75' + '\x74' + chr(4452 - 4350) + '\x2d' + '\x38') in L66BkZPPV93j:
wQI2PxGBYMEh = L66BkZPPV93j[roI3spqORKae(ES5oEprVxulp(b"\xe8'd\x82\x9f7"), '\144' + chr(9016 - 8915) + '\x63' + chr(116 - 5) + chr(0b1100100) + '\x65')('\165' + chr(0b1110100) + chr(3451 - 3349) + '\x2d' + '\x38')].mj4jMnYn3A2l[nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(1210 - 1162), 8)]
for ASREVLBN0GGi in CtVbSzlHGZGP:
if ASREVLBN0GGi in roI3spqORKae(L66BkZPPV93j, roI3spqORKae(ES5oEprVxulp(b'\xceu0\x98\xa0;\xc5V2\x1e\xb6('), chr(100) + chr(101) + chr(7632 - 7533) + chr(0b1001011 + 0o44) + chr(100) + '\145')(chr(0b1110101) + chr(6947 - 6831) + '\x66' + chr(1263 - 1218) + '\x38')):
rAfqjVW7CfpU = ASREVLBN0GGi
break
wx5Y9SFJEaEM = L66BkZPPV93j[L66BkZPPV93j[ASREVLBN0GGi].notnull()]
if ftfygxgFas5X(wx5Y9SFJEaEM) == nzTpIcepk0o8(chr(1093 - 1045) + '\x6f' + chr(0b110000), 8):
break
teUmM7cKWZUa = [roI3spqORKae(ES5oEprVxulp(b'\xf0k'), chr(0b1100100) + chr(7123 - 7022) + '\x63' + chr(0b1101111) + '\144' + chr(3759 - 3658))(chr(117) + '\x74' + chr(102) + chr(0b100 + 0o51) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xf9k'), chr(0b11110 + 0o106) + chr(0b1100101) + '\143' + chr(0b10001 + 0o136) + chr(0b10101 + 0o117) + '\x65')(chr(0b1110101) + '\x74' + chr(102) + '\x2d' + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xf8k'), chr(6471 - 6371) + chr(0b11001 + 0o114) + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + chr(0b111100 + 0o51))(chr(0b111110 + 0o67) + '\x74' + chr(0b1100110) + chr(542 - 497) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xfck'), '\144' + '\x65' + '\143' + '\157' + chr(100) + chr(101))('\x75' + '\x74' + chr(102) + '\055' + chr(187 - 131)), roI3spqORKae(ES5oEprVxulp(b'\xf6k'), chr(5356 - 5256) + chr(0b10 + 0o143) + chr(99) + chr(111) + '\144' + chr(0b1100010 + 0o3))(chr(5011 - 4894) + '\x74' + '\x66' + chr(0b101101) + chr(673 - 617)), roI3spqORKae(ES5oEprVxulp(b'\xe9k'), chr(100) + '\x65' + chr(7233 - 7134) + chr(0b101 + 0o152) + chr(100) + '\x65')(chr(0b10000 + 0o145) + chr(0b1110100) + chr(0b1000001 + 0o45) + chr(1686 - 1641) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xe2k'), '\x64' + chr(0b1010 + 0o133) + '\x63' + chr(4509 - 4398) + chr(0b1000011 + 0o41) + chr(8474 - 8373))(chr(8949 - 8832) + chr(116) + '\x66' + '\055' + chr(2048 - 1992))]
wkdauq2xyu0Z = nzTpIcepk0o8(chr(0b1011 + 0o45) + '\157' + '\x30', 8)
TjnJHwEdiu_i = []
(ikxkW8dy4ZA_, v5E0eutotooZ, OO0tRW9aj_xh) = (roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(0b1100101) + chr(0b111 + 0o134) + '\157' + '\x64' + '\145')(chr(0b1110000 + 0o5) + chr(0b110 + 0o156) + chr(0b110111 + 0o57) + '\x2d' + '\x38'), roI3spqORKae(ES5oEprVxulp(b''), '\x64' + '\145' + '\x63' + chr(551 - 440) + chr(0b1101 + 0o127) + chr(0b1001011 + 0o32))('\x75' + '\x74' + chr(0b1011 + 0o133) + '\x2d' + chr(0b11001 + 0o37)), roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(6683 - 6582) + chr(0b101011 + 0o70) + chr(0b1001100 + 0o43) + chr(0b1100100) + chr(0b1100101))('\x75' + '\164' + '\x66' + chr(45) + '\x38'))
TjnJHwEdiu_i = wx5Y9SFJEaEM[roI3spqORKae(ES5oEprVxulp(b'\xef4l\x93\x87\r\xf8\x06k#'), chr(100) + '\145' + '\143' + chr(0b1101111) + chr(0b1000110 + 0o36) + chr(0b1100101))('\165' + chr(0b100111 + 0o115) + '\x66' + '\x2d' + chr(0b1000 + 0o60))].G3de2eWQaS0D()
for h3Vc_4wxEbgd in TjnJHwEdiu_i:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xec){\x99\x9a<\xebCi=\xfa,9\xd6'), chr(0b1001110 + 0o26) + chr(0b111111 + 0o46) + '\x63' + '\157' + chr(0b1100100) + chr(0b1100101))(chr(8728 - 8611) + '\x74' + chr(4378 - 4276) + chr(0b101101) + chr(0b1010 + 0o56)), h3Vc_4wxEbgd)
rT3omLPzM4jE = wx5Y9SFJEaEM[wx5Y9SFJEaEM[roI3spqORKae(ES5oEprVxulp(b'\xef4l\x93\x87\r\xf8\x06k#'), chr(0b1100100) + chr(0b1100101) + chr(0b1 + 0o142) + chr(0b101011 + 0o104) + '\x64' + '\145')('\x75' + chr(116) + chr(5086 - 4984) + chr(1660 - 1615) + '\x38')] == h3Vc_4wxEbgd]
tF75nqoNENFL = rAfqjVW7CfpU
TQ0u0KgwFXN5 = rT3omLPzM4jE[roI3spqORKae(ES5oEprVxulp(b'\xf6#h\x81\xac4\xe5\x06j7\x85<`'), chr(100) + chr(0b1100101) + chr(0b110110 + 0o55) + chr(9006 - 8895) + '\144' + chr(0b10000 + 0o125))('\x75' + chr(0b1010001 + 0o43) + '\146' + chr(45) + chr(0b111000))].astype(jLW6pRf2DSRk).CsodZJH6x9Tx
lY8v4DfEhTNv = rT3omLPzM4jE[tF75nqoNENFL].astype(jLW6pRf2DSRk).CsodZJH6x9Tx
if ftfygxgFas5X(TQ0u0KgwFXN5) > nzTpIcepk0o8(chr(690 - 642) + '\157' + '\060', 8):
TQ0u0KgwFXN5 = nDF4gVNx0u9Q.Tn6rGr7XTM7t(TQ0u0KgwFXN5)
lY8v4DfEhTNv = nDF4gVNx0u9Q.Tn6rGr7XTM7t(lY8v4DfEhTNv)
if h3Vc_4wxEbgd == TjnJHwEdiu_i[-nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b101010 + 0o7), 8)]:
ikxkW8dy4ZA_ = roI3spqORKae(ES5oEprVxulp(b'\xdd/l\x9e\x97r\xa47/'), chr(100) + '\x65' + chr(3781 - 3682) + chr(5304 - 5193) + chr(0b1100100) + chr(0b110 + 0o137))('\x75' + '\164' + '\x66' + '\x2d' + chr(1504 - 1448))
v5E0eutotooZ = tF75nqoNENFL
OO0tRW9aj_xh = roI3spqORKae(ES5oEprVxulp(b'\xd3?z\x86\x96 \xe9\x10o \xe0x'), chr(0b10001 + 0o123) + '\x65' + chr(99) + chr(111) + chr(100) + chr(0b1100101))(chr(0b1110101) + chr(116) + chr(0b1000100 + 0o42) + '\055' + '\070') + PmE5_h409JAA
if h3Vc_4wxEbgd == TjnJHwEdiu_i[nzTpIcepk0o8('\x30' + chr(3217 - 3106) + chr(0b110000), 8)]:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xf8*l\x93\x81\x14\xc5$'), chr(5914 - 5814) + chr(2148 - 2047) + chr(0b1100011) + chr(0b1010111 + 0o30) + chr(0b1100100) + '\145')(chr(0b1000100 + 0o61) + chr(0b1010111 + 0o35) + chr(102) + chr(1923 - 1878) + '\x38'))(mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b'\xf3?z\x86'), chr(0b10110 + 0o116) + chr(0b1100101) + '\x63' + chr(0b1100100 + 0o13) + chr(0b111110 + 0o46) + '\x65')(chr(967 - 850) + '\x74' + chr(9827 - 9725) + chr(45) + chr(56))])
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xeb*f\x86\xac*\xf5'), chr(0b1100100) + chr(5062 - 4961) + '\x63' + '\157' + chr(100) + chr(0b1100101))(chr(0b1101100 + 0o11) + chr(116) + chr(0b1100011 + 0o3) + chr(45) + chr(322 - 266)))(mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b'\xf3?z\x86'), chr(0b1100100) + chr(0b1100101) + chr(99) + '\157' + chr(6214 - 6114) + chr(0b100010 + 0o103))(chr(0b1110101) + '\164' + '\x66' + '\x2d' + chr(0b111000))], TQ0u0KgwFXN5, lY8v4DfEhTNv, sym=teUmM7cKWZUa[wkdauq2xyu0Z], xlab=ikxkW8dy4ZA_, ylab=v5E0eutotooZ, title=OO0tRW9aj_xh)
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xeb*f\x86\xac*\xf5'), '\x64' + chr(0b101101 + 0o70) + chr(5050 - 4951) + chr(111) + '\x64' + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + chr(0b100100 + 0o102) + '\055' + chr(56)))(mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b'\xf3?z\x86'), '\x64' + '\x65' + chr(0b1100001 + 0o2) + chr(0b100110 + 0o111) + chr(0b100101 + 0o77) + chr(0b10111 + 0o116))('\x75' + chr(4272 - 4156) + '\146' + chr(0b101011 + 0o2) + '\x38')], [1.1 * roI3spqORKae(TQ0u0KgwFXN5, roI3spqORKae(ES5oEprVxulp(b'\xc3\x13[\x82\x9e\x02\xf9&Q\x10\x94\x1e'), chr(100) + '\x65' + '\x63' + chr(712 - 601) + chr(0b1011000 + 0o14) + '\x65')(chr(117) + chr(0b1110011 + 0o1) + '\x66' + '\x2d' + '\x38'))(), 1.1 * roI3spqORKae(TQ0u0KgwFXN5, roI3spqORKae(ES5oEprVxulp(b'\xd0\x100\x91\x98\x1b\xe4\x11i\x1a\xb39'), chr(100) + chr(1219 - 1118) + chr(99) + '\x6f' + chr(100) + '\145')(chr(0b1001100 + 0o51) + '\x74' + '\x66' + chr(0b101101) + '\x38'))()], [nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(48), 8), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b110000), 8)], sym=roI3spqORKae(ES5oEprVxulp(b'\xf0k'), '\x64' + chr(0b1100101) + chr(99) + chr(111) + '\144' + chr(8324 - 8223))(chr(0b101010 + 0o113) + chr(9097 - 8981) + chr(102) + chr(0b10010 + 0o33) + chr(56)), xlab=ikxkW8dy4ZA_, ylab=v5E0eutotooZ, title=OO0tRW9aj_xh)
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xeb*f\x86\xac*\xf5'), chr(8176 - 8076) + chr(0b1000010 + 0o43) + '\x63' + chr(1637 - 1526) + '\144' + chr(101))('\165' + chr(0b1011011 + 0o31) + '\146' + chr(0b101101) + chr(56)))(mVI5sGGXVJu2[roI3spqORKae(ES5oEprVxulp(b'\xf3?z\x86'), '\x64' + chr(9469 - 9368) + chr(0b1011100 + 0o7) + chr(0b1101111) + chr(0b1000011 + 0o41) + '\x65')('\x75' + '\x74' + chr(0b1100110) + chr(883 - 838) + chr(2897 - 2841))], [nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b1110 + 0o42), 8), nzTpIcepk0o8(chr(1081 - 1033) + '\157' + chr(48), 8)], [1.1 * roI3spqORKae(lY8v4DfEhTNv, roI3spqORKae(ES5oEprVxulp(b'\xc3\x13[\x82\x9e\x02\xf9&Q\x10\x94\x1e'), '\144' + chr(6668 - 6567) + chr(99) + '\x6f' + chr(0b1100 + 0o130) + chr(7588 - 7487))(chr(0b1110101) + chr(0b1101111 + 0o5) + chr(0b1010011 + 0o23) + chr(1195 - 1150) + chr(56)))(), 1.1 * roI3spqORKae(lY8v4DfEhTNv, roI3spqORKae(ES5oEprVxulp(b'\xd0\x100\x91\x98\x1b\xe4\x11i\x1a\xb39'), chr(100) + '\x65' + chr(9686 - 9587) + '\x6f' + '\144' + chr(101))(chr(3018 - 2901) + chr(3665 - 3549) + chr(1150 - 1048) + chr(0b101101) + '\x38'))()], sym=roI3spqORKae(ES5oEprVxulp(b'\xf0k'), chr(100) + chr(4634 - 4533) + chr(99) + chr(0b100001 + 0o116) + '\x64' + chr(101))('\165' + chr(116) + '\146' + chr(0b101101) + chr(56)), xlab=ikxkW8dy4ZA_, ylab=v5E0eutotooZ, title=OO0tRW9aj_xh)
if not bxxuZm4I6LgY and (not roI3spqORKae(NsnRtbLAhqc_, roI3spqORKae(ES5oEprVxulp(b'\xd2\x15V\xa5\xba\x1c'), chr(0b1011011 + 0o11) + chr(0b1000 + 0o135) + chr(0b110100 + 0o57) + '\157' + chr(100) + '\145')('\x75' + '\164' + '\x66' + chr(0b101101) + chr(0b111000)))):
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xff4h\x85\xac4\xe5\x04u'), '\x64' + chr(1753 - 1652) + '\143' + chr(0b1100011 + 0o14) + chr(0b1001110 + 0o26) + '\x65')('\x75' + chr(0b1000111 + 0o55) + chr(102) + chr(0b10 + 0o53) + chr(0b10101 + 0o43)))(mVI5sGGXVJu2)
wkdauq2xyu0Z += nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(49), 8)
if wkdauq2xyu0Z == ftfygxgFas5X(teUmM7cKWZUa):
wkdauq2xyu0Z = nzTpIcepk0o8('\x30' + chr(0b1001000 + 0o47) + '\x30', 8)
wR5_YWECjaY7 = {}
if bxxuZm4I6LgY:
if EJPYhrC8WoVb != roI3spqORKae(ES5oEprVxulp(b''), chr(0b1011010 + 0o12) + '\x65' + chr(0b1100011) + chr(7684 - 7573) + '\x64' + '\x65')(chr(0b1101 + 0o150) + '\164' + chr(102) + chr(0b1000 + 0o45) + chr(0b111000)):
PmE5_h409JAA = EJPYhrC8WoVb
for QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(mVI5sGGXVJu2, roI3spqORKae(ES5oEprVxulp(b'\xf0#p\x81'), '\x64' + '\145' + chr(0b1000000 + 0o43) + chr(0b1101111) + chr(0b111101 + 0o47) + chr(0b111110 + 0o47))(chr(0b1110101) + chr(0b1101010 + 0o12) + chr(102) + '\x2d' + chr(56)))()):
if roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xf25Z\x97\x81$\xe9\x11'), '\x64' + chr(0b1011010 + 0o13) + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(0b1100101))(chr(0b110001 + 0o104) + '\164' + chr(102) + chr(302 - 257) + chr(1180 - 1124))):
if dMICWmxr5_tU == roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(101) + chr(0b1001001 + 0o32) + '\x6f' + '\144' + '\145')(chr(0b110101 + 0o100) + chr(116) + chr(0b1000000 + 0o46) + '\055' + chr(56)):
wR5_YWECjaY7[QYodcsDtoGq7] = roI3spqORKae(ES5oEprVxulp(b'\xd7\t3\xad'), chr(100) + chr(0b1100101) + chr(2959 - 2860) + chr(0b1101111) + '\x64' + '\x65')('\x75' + chr(116) + chr(0b1100110) + '\x2d' + '\x38') + N3wHZjqj3hh1 + roI3spqORKae(ES5oEprVxulp(b'\xc4\x15@\xc8\xac'), '\144' + chr(101) + '\x63' + chr(111) + '\x64' + chr(0b101 + 0o140))('\x75' + chr(116) + chr(0b1100110) + chr(45) + chr(0b101101 + 0o13)) + f9ijNiPCpOFu + roI3spqORKae(ES5oEprVxulp(b'\xc4\x15H\xc8\xac'), '\144' + chr(101) + chr(0b1100011) + chr(8950 - 8839) + chr(0b1011 + 0o131) + '\x65')(chr(5238 - 5121) + chr(4765 - 4649) + chr(0b1100110) + '\055' + '\x38') + wQI2PxGBYMEh + roI3spqORKae(ES5oEprVxulp(b'\xc4\x15Y\xc8\xac'), chr(100) + '\145' + chr(0b1111 + 0o124) + '\x6f' + chr(0b111011 + 0o51) + chr(101))(chr(0b0 + 0o165) + chr(0b1110100) + chr(0b1100110) + chr(45) + '\x38') + PmE5_h409JAA + roI3spqORKae(ES5oEprVxulp(b'\xc4\x12P\xc8\xac'), chr(100) + chr(0b101101 + 0o70) + chr(0b1100011) + '\x6f' + '\x64' + chr(6549 - 6448))('\165' + chr(11907 - 11791) + chr(102) + '\x2d' + chr(1376 - 1320)) + QYodcsDtoGq7 + roI3spqORKae(ES5oEprVxulp(b'\xc4h'), chr(0b1100100) + chr(3432 - 3331) + '\x63' + chr(1606 - 1495) + chr(100) + '\145')(chr(4819 - 4702) + '\164' + chr(0b111011 + 0o53) + chr(0b10001 + 0o34) + chr(56)) + JummcHpaNLEw
else:
wR5_YWECjaY7[QYodcsDtoGq7] = roI3spqORKae(ES5oEprVxulp(b'\xc8\x1f3\xad'), chr(0b10001 + 0o123) + '\x65' + chr(0b100001 + 0o102) + '\157' + '\x64' + chr(9884 - 9783))('\x75' + chr(12853 - 12737) + chr(102) + chr(45) + '\x38') + dMICWmxr5_tU + roI3spqORKae(ES5oEprVxulp(b'\xc4\x12P\xc8\xac'), chr(2043 - 1943) + chr(0b1100101) + '\x63' + chr(0b10 + 0o155) + chr(0b1100100) + chr(101))('\165' + '\x74' + chr(1598 - 1496) + '\055' + chr(56)) + QYodcsDtoGq7 + roI3spqORKae(ES5oEprVxulp(b'\xc4h'), '\144' + chr(0b10010 + 0o123) + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(101))(chr(0b1110101) + chr(0b101100 + 0o110) + chr(0b1100110) + '\x2d' + chr(1972 - 1916)) + JummcHpaNLEw
elif dMICWmxr5_tU == roI3spqORKae(ES5oEprVxulp(b''), chr(100) + '\x65' + chr(99) + chr(111) + chr(0b1100100) + '\x65')(chr(0b1110010 + 0o3) + '\164' + chr(0b1100110) + chr(0b101101) + chr(0b111000)):
FxZHtXEolYsL = roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(101) + '\143' + '\157' + '\144' + chr(101))(chr(0b1110101) + chr(116) + chr(0b1001101 + 0o31) + chr(610 - 565) + chr(56))
for IZ1I2J8X1CQz in [N3wHZjqj3hh1, f9ijNiPCpOFu, wQI2PxGBYMEh, PmE5_h409JAA, QYodcsDtoGq7]:
if IZ1I2J8X1CQz:
IZ1I2J8X1CQz = IZ1I2J8X1CQz.E91dbqOZXBpJ(roI3spqORKae(ES5oEprVxulp(b'\xbb'), chr(100) + '\145' + '\143' + '\x6f' + chr(5360 - 5260) + chr(6312 - 6211))(chr(11200 - 11083) + chr(0b1110100) + chr(0b1100110) + chr(0b101010 + 0o3) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xc4'), chr(2951 - 2851) + chr(0b1100101) + '\143' + chr(0b1101110 + 0o1) + chr(0b1011110 + 0o6) + chr(8091 - 7990))(chr(0b1010110 + 0o37) + '\164' + chr(102) + '\055' + '\070'))
FxZHtXEolYsL += IZ1I2J8X1CQz + roI3spqORKae(ES5oEprVxulp(b'\xc4'), chr(100) + chr(4136 - 4035) + '\143' + '\157' + chr(0b1100100) + chr(2930 - 2829))(chr(7734 - 7617) + chr(116) + chr(0b1100110) + '\055' + '\x38')
if roI3spqORKae(FxZHtXEolYsL, roI3spqORKae(ES5oEprVxulp(b'\xd2\x7fo\xb9\xba\x11\xcd/g&\x90*'), chr(100) + chr(0b1100101) + chr(0b1100011) + chr(0b1100100 + 0o13) + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + chr(11433 - 11317) + chr(6745 - 6643) + chr(0b1100 + 0o41) + chr(998 - 942)))(roI3spqORKae(ES5oEprVxulp(b'\xc4'), '\144' + '\145' + '\x63' + chr(0b1101111) + chr(0b1100100) + chr(0b1010110 + 0o17))('\x75' + chr(0b1010010 + 0o42) + chr(0b1100110) + chr(0b101101) + chr(0b111000))):
FxZHtXEolYsL = FxZHtXEolYsL[:-nzTpIcepk0o8('\060' + chr(0b1101111) + '\061', 8)]
FxZHtXEolYsL += roI3spqORKae(ES5oEprVxulp(b'\xb5=t'), '\144' + chr(101) + '\x63' + '\x6f' + chr(100) + '\x65')(chr(117) + chr(0b1110100) + '\146' + chr(1437 - 1392) + chr(0b11011 + 0o35)).q33KG3foQ_CJ(JummcHpaNLEw)
wR5_YWECjaY7[QYodcsDtoGq7] = FxZHtXEolYsL
else:
wR5_YWECjaY7[QYodcsDtoGq7] = roI3spqORKae(ES5oEprVxulp(b'\xe0;V\x89\x8e|\xf7\x1e'), chr(100) + chr(456 - 355) + '\143' + chr(5814 - 5703) + chr(0b10 + 0o142) + chr(101))(chr(0b1000001 + 0o64) + chr(4013 - 3897) + chr(0b10111 + 0o117) + '\x2d' + chr(0b111000)).q33KG3foQ_CJ(dMICWmxr5_tU, QYodcsDtoGq7, JummcHpaNLEw)
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xe8\'\x7f\x97\xac"\xe0\x0cr '), chr(0b1100100) + '\x65' + '\143' + chr(893 - 782) + chr(0b101110 + 0o66) + '\x65')(chr(0b1110101) + chr(0b1110100) + '\146' + chr(1396 - 1351) + chr(387 - 331)))(mVI5sGGXVJu2, wR5_YWECjaY7)
roI3spqORKae(n2yX1AgA9ol1, roI3spqORKae(ES5oEprVxulp(b'\xcf\x19:\xbf\x9c6\xc04Y\x11\xb8)'), chr(100) + chr(0b1100101) + '\x63' + chr(0b1101111) + '\x64' + '\x65')(chr(0b1001000 + 0o55) + chr(0b1001001 + 0o53) + chr(0b1100110) + chr(0b101000 + 0o5) + chr(0b10110 + 0o42)))([uV9iBiw0y_Mp for uV9iBiw0y_Mp in roI3spqORKae(wR5_YWECjaY7, roI3spqORKae(ES5oEprVxulp(b'\xd85f\x96\xa9\x18\xc4U~j\x8e '), '\144' + chr(101) + '\143' + chr(5660 - 5549) + '\x64' + '\145')('\x75' + '\x74' + chr(6803 - 6701) + chr(0b100011 + 0o12) + '\070'))()])
if EJPYhrC8WoVb:
return (nzTpIcepk0o8(chr(48) + chr(111) + chr(0b10100 + 0o35), 8), n2yX1AgA9ol1)
if f4XDWm__k5ZA:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xff4h\x85\xac4\xe5\x04u'), chr(2775 - 2675) + chr(1355 - 1254) + '\143' + chr(5774 - 5663) + '\144' + chr(7174 - 7073))('\165' + chr(11218 - 11102) + chr(0b1100001 + 0o5) + chr(0b10010 + 0o33) + chr(2000 - 1944)))(mVI5sGGXVJu2)
CMfsDQitQrpd = QnTXOd5N96r1(roI3spqORKae(ES5oEprVxulp(b"\xc8\x1dh\xaf\x857\xac\x13j<\xae+/\xd6\xad\x9c\xf2\xf7\x91\xe2\xe5\x9f\x9c\x0e\xf7\x9e\xc5R\x96\xe2\x16h\xbdu~*\x16'Q\x94\xe9#}\x87\x81<\xb2Cr<\xfa;l\x98\x82\x86\xc1\xf2\x91\x8b\xac"), chr(0b11001 + 0o113) + chr(0b10100 + 0o121) + chr(0b1100011) + '\x6f' + '\144' + chr(0b1111 + 0o126))('\165' + chr(116) + chr(2497 - 2395) + chr(352 - 307) + chr(56)))
if CMfsDQitQrpd == roI3spqORKae(ES5oEprVxulp(b'\xfa'), '\144' + chr(434 - 333) + '\x63' + '\157' + chr(0b1100100) + chr(0b1000111 + 0o36))('\165' + chr(0b1000 + 0o154) + chr(0b110001 + 0o65) + '\055' + '\070'):
wR5_YWECjaY7 = {}
for QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(mVI5sGGXVJu2, roI3spqORKae(ES5oEprVxulp(b'\xf0#p\x81'), chr(0b1000 + 0o134) + '\x65' + chr(0b1100011) + '\x6f' + chr(0b110000 + 0o64) + chr(101))(chr(10574 - 10457) + '\x74' + chr(0b1000010 + 0o44) + '\055' + '\070'))()):
if roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xf25Z\x97\x81$\xe9\x11'), '\144' + chr(5889 - 5788) + chr(0b1100011) + '\157' + '\144' + chr(9830 - 9729))(chr(117) + '\x74' + chr(0b1100110) + chr(0b101101) + '\x38')):
N3wHZjqj3hh1 = N3wHZjqj3hh1 if N3wHZjqj3hh1 else roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(0b1100101) + chr(0b1100011) + chr(0b1101111) + chr(2683 - 2583) + chr(0b1010 + 0o133))('\165' + chr(3574 - 3458) + chr(0b1100110) + chr(0b101101) + chr(56))
f9ijNiPCpOFu = f9ijNiPCpOFu if f9ijNiPCpOFu else roI3spqORKae(ES5oEprVxulp(b''), chr(4974 - 4874) + chr(3720 - 3619) + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + chr(0b1000110 + 0o37))(chr(0b100110 + 0o117) + chr(116) + chr(0b1100110) + '\x2d' + '\x38')
wQI2PxGBYMEh = wQI2PxGBYMEh if wQI2PxGBYMEh else roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(7346 - 7245) + chr(154 - 55) + '\x6f' + '\x64' + chr(9114 - 9013))(chr(9588 - 9471) + '\164' + chr(0b1100110) + '\x2d' + chr(0b111000))
wR5_YWECjaY7[QYodcsDtoGq7] = roI3spqORKae(ES5oEprVxulp(b'\xd7\t3\xad'), chr(5713 - 5613) + '\x65' + '\x63' + '\x6f' + chr(0b1100011 + 0o1) + chr(5000 - 4899))(chr(292 - 175) + '\x74' + '\146' + chr(0b101101) + chr(56)) + N3wHZjqj3hh1 + roI3spqORKae(ES5oEprVxulp(b'\xc4\x15@\xc8\xac'), chr(0b1100100) + chr(0b110000 + 0o65) + '\143' + chr(0b1101111) + chr(0b1001101 + 0o27) + '\145')('\x75' + chr(116) + chr(590 - 488) + chr(45) + chr(1018 - 962)) + f9ijNiPCpOFu + roI3spqORKae(ES5oEprVxulp(b'\xc4\x15H\xc8\xac'), '\144' + chr(0b1100101) + '\143' + '\x6f' + '\144' + chr(5364 - 5263))(chr(0b1110101 + 0o0) + chr(4644 - 4528) + '\x66' + '\055' + chr(822 - 766)) + wQI2PxGBYMEh + roI3spqORKae(ES5oEprVxulp(b'\xc4\x15Y\xc8\xac'), '\x64' + chr(5576 - 5475) + chr(99) + '\157' + '\x64' + chr(9283 - 9182))(chr(117) + chr(116) + chr(102) + chr(45) + chr(0b111000)) + PmE5_h409JAA + roI3spqORKae(ES5oEprVxulp(b'\xc4\x12P\xc8\xac'), chr(0b1001101 + 0o27) + '\x65' + chr(0b1010110 + 0o15) + chr(5672 - 5561) + chr(0b10000 + 0o124) + chr(0b1100101))(chr(2262 - 2145) + chr(116) + chr(102) + chr(45) + '\x38') + QYodcsDtoGq7 + roI3spqORKae(ES5oEprVxulp(b'\xc4h'), '\144' + chr(0b1100101) + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + '\x65')(chr(0b1110101) + chr(2293 - 2177) + '\x66' + '\x2d' + '\x38') + JummcHpaNLEw
else:
FxZHtXEolYsL = roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(0b1100101 + 0o0) + chr(0b1100011) + chr(111) + chr(566 - 466) + chr(0b1100101))(chr(0b1110101) + chr(116) + '\x66' + chr(1568 - 1523) + '\x38')
for IZ1I2J8X1CQz in [N3wHZjqj3hh1, f9ijNiPCpOFu, wQI2PxGBYMEh, PmE5_h409JAA, QYodcsDtoGq7]:
if IZ1I2J8X1CQz:
IZ1I2J8X1CQz = IZ1I2J8X1CQz.E91dbqOZXBpJ(roI3spqORKae(ES5oEprVxulp(b'\xbb'), chr(0b110110 + 0o56) + '\145' + chr(553 - 454) + chr(0b1101111) + chr(5441 - 5341) + chr(101))('\165' + '\164' + '\x66' + '\055' + chr(2441 - 2385)), roI3spqORKae(ES5oEprVxulp(b'\xc4'), chr(0b1100100) + chr(4957 - 4856) + chr(1701 - 1602) + '\157' + '\x64' + chr(0b11110 + 0o107))(chr(9265 - 9148) + chr(0b111110 + 0o66) + '\146' + chr(1684 - 1639) + '\070'))
FxZHtXEolYsL += IZ1I2J8X1CQz + roI3spqORKae(ES5oEprVxulp(b'\xc4'), chr(0b1100100) + chr(101) + chr(0b101100 + 0o67) + '\x6f' + chr(668 - 568) + chr(101))(chr(7452 - 7335) + chr(1972 - 1856) + chr(102) + '\x2d' + chr(56))
if roI3spqORKae(FxZHtXEolYsL, roI3spqORKae(ES5oEprVxulp(b'\xd2\x7fo\xb9\xba\x11\xcd/g&\x90*'), chr(100) + chr(0b1000 + 0o135) + '\143' + chr(9031 - 8920) + chr(5991 - 5891) + '\145')(chr(0b1111 + 0o146) + chr(116) + chr(8361 - 8259) + chr(0b100 + 0o51) + '\x38'))(roI3spqORKae(ES5oEprVxulp(b'\xc4'), chr(100) + chr(0b1100101) + '\x63' + chr(0b1101111) + chr(100) + chr(101))(chr(0b10101 + 0o140) + '\164' + chr(0b1100110) + '\055' + chr(1797 - 1741))):
FxZHtXEolYsL = FxZHtXEolYsL[:-nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x31', 8)]
FxZHtXEolYsL += roI3spqORKae(ES5oEprVxulp(b'\xb5=t'), '\144' + chr(101) + chr(5156 - 5057) + chr(0b1000010 + 0o55) + chr(100) + chr(0b1100101))(chr(0b1110 + 0o147) + chr(0b1110100) + '\x66' + '\x2d' + '\x38').q33KG3foQ_CJ(JummcHpaNLEw)
wR5_YWECjaY7[QYodcsDtoGq7] = FxZHtXEolYsL
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xe8\'\x7f\x97\xac"\xe0\x0cr '), chr(3314 - 3214) + chr(1662 - 1561) + '\x63' + chr(8425 - 8314) + '\144' + '\145')(chr(117) + chr(0b1011011 + 0o31) + chr(0b1100110) + chr(1204 - 1159) + chr(0b111000)))(mVI5sGGXVJu2, wR5_YWECjaY7)
roI3spqORKae(n2yX1AgA9ol1, roI3spqORKae(ES5oEprVxulp(b'\xcf\x19:\xbf\x9c6\xc04Y\x11\xb8)'), '\144' + chr(2077 - 1976) + chr(0b110101 + 0o56) + chr(111) + '\144' + chr(0b11010 + 0o113))(chr(0b1110101) + chr(12924 - 12808) + chr(0b101100 + 0o72) + chr(45) + chr(0b111000)))([uV9iBiw0y_Mp for uV9iBiw0y_Mp in roI3spqORKae(wR5_YWECjaY7, roI3spqORKae(ES5oEprVxulp(b'\xd85f\x96\xa9\x18\xc4U~j\x8e '), '\x64' + chr(2535 - 2434) + chr(0b1100011) + '\157' + chr(2664 - 2564) + chr(0b1100101))(chr(11585 - 11468) + chr(5668 - 5552) + chr(102) + chr(0b101101) + chr(0b111000)))()])
if CMfsDQitQrpd == roI3spqORKae(ES5oEprVxulp(b''), chr(147 - 47) + chr(0b1000100 + 0o41) + chr(99) + '\x6f' + chr(100) + chr(7207 - 7106))(chr(0b1110101) + chr(0b1110100) + '\x66' + chr(0b101 + 0o50) + chr(0b10010 + 0o46)):
B6UAF1zReOyJ += nzTpIcepk0o8(chr(0b100011 + 0o15) + chr(0b1101111) + chr(1995 - 1946), 8)
if CMfsDQitQrpd == roI3spqORKae(ES5oEprVxulp(b'\xeb'), '\x64' + chr(3818 - 3717) + chr(9572 - 9473) + chr(0b1101111) + chr(0b1100100) + '\x65')(chr(0b1011 + 0o152) + chr(0b1001 + 0o153) + '\x66' + '\x2d' + chr(0b111000)):
del lyyaSLqlyF3P[-nzTpIcepk0o8(chr(0b110000) + chr(0b111011 + 0o64) + '\x31', 8)]
B6UAF1zReOyJ -= nzTpIcepk0o8(chr(0b110000) + chr(3770 - 3659) + '\x31', 8)
if CMfsDQitQrpd == roI3spqORKae(ES5oEprVxulp(b'\xea'), chr(0b1100100) + chr(5048 - 4947) + chr(0b1100011) + '\157' + '\x64' + chr(0b1001 + 0o134))('\165' + chr(7029 - 6913) + chr(0b1100110) + chr(0b101101) + '\070'):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xdc)f\x96\xd30\xf5\x06'), '\x64' + '\x65' + chr(99) + '\x6f' + chr(4001 - 3901) + '\145')(chr(13258 - 13141) + '\x74' + '\146' + chr(390 - 345) + '\070'))
return (nzTpIcepk0o8(chr(1784 - 1736) + '\x6f' + chr(0b110001), 8), [])
if CMfsDQitQrpd == roI3spqORKae(ES5oEprVxulp(b'\xe8'), chr(0b1010010 + 0o22) + chr(0b100110 + 0o77) + '\143' + chr(3861 - 3750) + '\x64' + chr(101))(chr(0b1000101 + 0o60) + chr(116) + chr(102) + chr(102 - 57) + '\x38'):
cBw3GySTQ02e = nzTpIcepk0o8(chr(0b100100 + 0o14) + '\x6f' + chr(0b110001), 8)
EJPYhrC8WoVb = QnTXOd5N96r1(roI3spqORKae(ES5oEprVxulp(b'\xde(}\x97\x81r\xe8\x06u:\xa8=g\xd6\x85\x9f\xca\xe4\x9d\xec\xe9\x9c\xd9\x0e\xb6\x9d\xc1\x1f\xdb\xa1D\x13\xaaAy0\x16+\x01\xc9\xe92)\x86\x9b7\xfe\x06&<\xbcq9\xd6'), chr(1049 - 949) + chr(0b1000100 + 0o41) + chr(0b1100011) + chr(0b1101111) + chr(100) + '\x65')(chr(0b1110101) + chr(0b1110100) + '\146' + '\x2d' + chr(0b10011 + 0o45)))
while cBw3GySTQ02e == nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(2392 - 2343), 8):
try:
B6UAF1zReOyJ = H4NoA26ON7iG(Wbavx5JmRXKA).ZpfN5tSLaZze(EJPYhrC8WoVb)
cBw3GySTQ02e = nzTpIcepk0o8(chr(48) + chr(111) + '\060', 8)
except WbNHlDKpyPtQ:
RYTsRvdsGVij = []
for Q2Pf3RkCp_9I in bbT2xIe5pzk7(ftfygxgFas5X(Wbavx5JmRXKA)):
if EJPYhrC8WoVb in Wbavx5JmRXKA[Q2Pf3RkCp_9I]:
roI3spqORKae(RYTsRvdsGVij, roI3spqORKae(ES5oEprVxulp(b'\xd3\x12Z\xc6\x8b5\xcb\x0cl<\x8fm'), chr(0b1100100) + '\145' + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(101))(chr(9611 - 9494) + '\164' + chr(1566 - 1464) + chr(0b101101) + chr(0b111000)))(Wbavx5JmRXKA[Q2Pf3RkCp_9I])
v8jsMqaYV6U2(EJPYhrC8WoVb, roI3spqORKae(ES5oEprVxulp(b'\xbb(f\x86\xd34\xe3\x16h7\xf6xa\x83\x82\xcf\xdb\xef\x9d\xf2\xac\x85\x98\x13\xed\xd0'), '\x64' + '\x65' + chr(2541 - 2442) + chr(0b1000100 + 0o53) + chr(0b1100100) + chr(0b1100101))('\x75' + chr(0b1110100) + chr(0b1100110) + chr(1874 - 1829) + '\x38'))
v8jsMqaYV6U2(RYTsRvdsGVij)
EJPYhrC8WoVb = QnTXOd5N96r1(roI3spqORKae(ES5oEprVxulp(b'\xc8#e\x97\x90&\xac\x0ch6\xfa7q\xd6\x82\x9d\xd6\xa7\x95\xe6\xed\x9b\x97j\xf7'), '\144' + '\x65' + chr(99) + '\x6f' + chr(4590 - 4490) + '\145')('\165' + '\164' + chr(0b1100110) + chr(0b1001 + 0o44) + chr(56)))
B6UAF1zReOyJ = H4NoA26ON7iG(Wbavx5JmRXKA).ZpfN5tSLaZze(EJPYhrC8WoVb)
else:
B6UAF1zReOyJ += nzTpIcepk0o8(chr(0b110000) + '\157' + chr(49), 8)
if not ftfygxgFas5X(TQ0u0KgwFXN5):
if TseISVdPlfdM:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xe8-`\x82\x83;\xe2\x04&\'\xb21p\xd6\x99\x81\xca\xa7\xd9\xa1\xe2\x9d\xd9\x08\xae\x83\xd0Z\x81\xabEZ\xbf\x08o"\x16j'), chr(0b10 + 0o142) + '\145' + '\143' + '\x6f' + chr(0b101011 + 0o71) + '\145')(chr(117) + chr(116) + '\x66' + '\x2d' + chr(0b101111 + 0o11)))
B6UAF1zReOyJ += nzTpIcepk0o8('\x30' + chr(0b100001 + 0o116) + '\x31', 8)
return (nzTpIcepk0o8(chr(1748 - 1700) + '\x6f' + chr(0b100110 + 0o13), 8), n2yX1AgA9ol1)
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
vgpmap_magic
|
def vgpmap_magic(dir_path=".", results_file="sites.txt", crd="",
sym='ro', size=8, rsym="g^", rsize=8,
fmt="pdf", res="c", proj="ortho",
flip=False, anti=False, fancy=False,
ell=False, ages=False, lat_0=0, lon_0=0,
save_plots=True, interactive=False, contribution=None):
"""
makes a map of vgps and a95/dp,dm for site means in a sites table
Parameters
----------
dir_path : str, default "."
input directory path
results_file : str, default "sites.txt"
name of MagIC format sites file
crd : str, default ""
coordinate system [g, t] (geographic, tilt_corrected)
sym : str, default "ro"
symbol color and shape, default red circles
(see matplotlib documentation for more color/shape options)
size : int, default 8
symbol size
rsym : str, default "g^"
symbol for plotting reverse poles
(see matplotlib documentation for more color/shape options)
rsize : int, default 8
symbol size for reverse poles
fmt : str, default "pdf"
format for figures, ["svg", "jpg", "pdf", "png"]
res : str, default "c"
resolution [c, l, i, h] (crude, low, intermediate, high)
proj : str, default "ortho"
ortho = orthographic
lcc = lambert conformal
moll = molweide
merc = mercator
flip : bool, default False
if True, flip reverse poles to normal antipode
anti : bool, default False
if True, plot antipodes for each pole
fancy : bool, default False
if True, plot topography (not yet implemented)
ell : bool, default False
if True, plot ellipses
ages : bool, default False
if True, plot ages
lat_0 : float, default 0.
eyeball latitude
lon_0 : float, default 0.
eyeball longitude
save_plots : bool, default True
if True, create and save all requested plots
interactive : bool, default False
if True, interactively plot and display
(this is best used on the command line only)
Returns
---------
(status, output_files) - Tuple : (True or False indicating if conversion was sucessful, file name(s) written)
"""
coord_dict = {'g': 0, 't': 100}
coord = coord_dict[crd] if crd else ""
if contribution is None:
con = cb.Contribution(dir_path, single_file=results_file)
else:
con = contribution
if not list(con.tables.keys()):
print("-W - Couldn't read in data")
return False, []
if 'sites' not in con.tables:
print("-W - No sites data")
return False, []
FIG = {'map': 1}
pmagplotlib.plot_init(FIG['map'], 6, 6)
# read in sites file
lats, lons = [], []
Pars = []
dates, rlats, rlons = [], [], []
site_container = con.tables['sites']
site_container.front_and_backfill(['location'])
site_df = site_container.df
# use records with vgp_lat and vgp_lon
if 'vgp_lat' in site_df.columns and 'vgp_lon' in site_df.columns:
cond1, cond2 = site_df['vgp_lat'].notnull(), site_df['vgp_lon'].notnull()
else:
print ('nothing to plot')
sys.exit()
Results = site_df[cond1 & cond2]
# use tilt correction
if coord and 'dir_tilt_correction' in Results.columns:
Results = Results[Results['dir_tilt_correction'] == coord]
# get location name and average ages
locs = Results['location'].dropna().unique()
if len(locs):
location = ":".join(Results['location'].unique())
else:
location = ""
if 'age' in Results.columns and ages == 1:
dates = Results['age'].unique()
# go through rows and extract data
for ind, row in Results.iterrows():
try:
lat, lon = float(row['vgp_lat']), float(row['vgp_lon'])
except ValueError:
lat = float(str(row['vgp_lat']).replace(' ', '').translate({0x2c: '.', 0xa0: None, 0x2212: '-'}))
lon = float(str(row['vgp_lon']).replace(' ', '').translate({0x2c: '.', 0xa0: None, 0x2212: '-'}))
if anti == 1:
lats.append(-lat)
lon = lon + 180.
if lon > 360:
lon = lon - 360.
lons.append(lon)
elif flip == 0:
lats.append(lat)
lons.append(lon)
elif flip == 1:
if lat < 0:
rlats.append(-lat)
lon = lon + 180.
if lon > 360:
lon = lon - 360
rlons.append(lon)
else:
lats.append(lat)
lons.append(lon)
ppars = []
ppars.append(lon)
ppars.append(lat)
ell1, ell2 = "", ""
if 'vgp_dm' in list(row.keys()) and row['vgp_dm']:
ell1 = float(row['vgp_dm'])
if 'vgp_dp' in list(row.keys()) and row['vgp_dp']:
ell2 = float(row['vgp_dp'])
if 'vgp_alpha95' in list(row.keys()) and (row['vgp_alpha95'] or row['vgp_alpha95'] == 0):
ell1, ell2 = float(row['vgp_alpha95']), float(row['vgp_alpha95'])
if ell1 and ell2:
ppars = []
ppars.append(lons[-1])
ppars.append(lats[-1])
ppars.append(ell1)
ppars.append(lons[-1])
try:
isign = abs(lats[-1]) / lats[-1]
except ZeroDivisionError:
isign = 1
ppars.append(lats[-1] - isign * 90.)
ppars.append(ell2)
ppars.append(lons[-1] + 90.)
ppars.append(0.)
Pars.append(ppars)
location = location.strip(':')
Opts = {'latmin': -90, 'latmax': 90, 'lonmin': 0., 'lonmax': 360.,
'lat_0': lat_0, 'lon_0': lon_0, 'proj': proj, 'sym': 'bs',
'symsize': 3, 'pltgrid': 0, 'res': res, 'boundinglat': 0.}
Opts['details'] = {'coasts': 1, 'rivers': 0, 'states': 0,
'countries': 0, 'ocean': 1, 'fancy': fancy}
# make the base map with a blue triangle at the pole
pmagplotlib.plot_map(FIG['map'], [90.], [0.], Opts)
Opts['pltgrid'] = -1
Opts['sym'] = sym
Opts['symsize'] = size
if len(dates) > 0:
Opts['names'] = dates
if len(lats) > 0:
# add the lats and lons of the poles
pmagplotlib.plot_map(FIG['map'], lats, lons, Opts)
Opts['names'] = []
if len(rlats) > 0:
Opts['sym'] = rsym
Opts['symsize'] = rsize
# add the lats and lons of the poles
pmagplotlib.plot_map(FIG['map'], rlats, rlons, Opts)
if not save_plots and not set_env.IS_WIN:
pmagplotlib.draw_figs(FIG)
if ell == 1: # add ellipses if desired.
Opts['details'] = {'coasts': 0, 'rivers': 0, 'states': 0,
'countries': 0, 'ocean': 0, 'fancy': fancy}
Opts['pltgrid'] = -1 # turn off meridian replotting
Opts['symsize'] = 2
Opts['sym'] = 'g-'
for ppars in Pars:
if ppars[2] != 0:
PTS = pmagplotlib.plot_ell(FIG['map'], ppars, 'g.', 0, 0)
elats, elons = [], []
for pt in PTS:
elons.append(pt[0])
elats.append(pt[1])
# make the base map with a blue triangle at the pole
pmagplotlib.plot_map(FIG['map'], elats, elons, Opts)
if not save_plots and not set_env.IS_WIN:
pmagplotlib.draw_figs(FIG)
files = {}
for key in list(FIG.keys()):
if pmagplotlib.isServer: # use server plot naming convention
files[key] = 'LO:_' + location + '_TY:_VGP_map.' + fmt
con.add_magic_table('contribution')
con_id = con.get_con_id()
if con_id:
files[key] = 'MC:_' + str(con_id) + '_' + files[key]
else: # use more readable naming convention
files[key] = '{}_VGP_map.{}'.format(location, fmt)
if pmagplotlib.isServer:
black = '#000000'
purple = '#800080'
titles = {}
titles['map'] = location + ' VGP map'
FIG = pmagplotlib.add_borders(FIG, titles, black, purple)
pmagplotlib.save_plots(FIG, files)
elif interactive:
pmagplotlib.draw_figs(FIG)
ans = input(" S[a]ve to save plot, Return to quit: ")
if ans == "a":
pmagplotlib.save_plots(FIG, files)
return True, files.values()
else:
print("Good bye")
return True, []
elif save_plots:
pmagplotlib.save_plots(FIG, files)
return True, files.values()
|
python
|
def vgpmap_magic(dir_path=".", results_file="sites.txt", crd="",
sym='ro', size=8, rsym="g^", rsize=8,
fmt="pdf", res="c", proj="ortho",
flip=False, anti=False, fancy=False,
ell=False, ages=False, lat_0=0, lon_0=0,
save_plots=True, interactive=False, contribution=None):
"""
makes a map of vgps and a95/dp,dm for site means in a sites table
Parameters
----------
dir_path : str, default "."
input directory path
results_file : str, default "sites.txt"
name of MagIC format sites file
crd : str, default ""
coordinate system [g, t] (geographic, tilt_corrected)
sym : str, default "ro"
symbol color and shape, default red circles
(see matplotlib documentation for more color/shape options)
size : int, default 8
symbol size
rsym : str, default "g^"
symbol for plotting reverse poles
(see matplotlib documentation for more color/shape options)
rsize : int, default 8
symbol size for reverse poles
fmt : str, default "pdf"
format for figures, ["svg", "jpg", "pdf", "png"]
res : str, default "c"
resolution [c, l, i, h] (crude, low, intermediate, high)
proj : str, default "ortho"
ortho = orthographic
lcc = lambert conformal
moll = molweide
merc = mercator
flip : bool, default False
if True, flip reverse poles to normal antipode
anti : bool, default False
if True, plot antipodes for each pole
fancy : bool, default False
if True, plot topography (not yet implemented)
ell : bool, default False
if True, plot ellipses
ages : bool, default False
if True, plot ages
lat_0 : float, default 0.
eyeball latitude
lon_0 : float, default 0.
eyeball longitude
save_plots : bool, default True
if True, create and save all requested plots
interactive : bool, default False
if True, interactively plot and display
(this is best used on the command line only)
Returns
---------
(status, output_files) - Tuple : (True or False indicating if conversion was sucessful, file name(s) written)
"""
coord_dict = {'g': 0, 't': 100}
coord = coord_dict[crd] if crd else ""
if contribution is None:
con = cb.Contribution(dir_path, single_file=results_file)
else:
con = contribution
if not list(con.tables.keys()):
print("-W - Couldn't read in data")
return False, []
if 'sites' not in con.tables:
print("-W - No sites data")
return False, []
FIG = {'map': 1}
pmagplotlib.plot_init(FIG['map'], 6, 6)
# read in sites file
lats, lons = [], []
Pars = []
dates, rlats, rlons = [], [], []
site_container = con.tables['sites']
site_container.front_and_backfill(['location'])
site_df = site_container.df
# use records with vgp_lat and vgp_lon
if 'vgp_lat' in site_df.columns and 'vgp_lon' in site_df.columns:
cond1, cond2 = site_df['vgp_lat'].notnull(), site_df['vgp_lon'].notnull()
else:
print ('nothing to plot')
sys.exit()
Results = site_df[cond1 & cond2]
# use tilt correction
if coord and 'dir_tilt_correction' in Results.columns:
Results = Results[Results['dir_tilt_correction'] == coord]
# get location name and average ages
locs = Results['location'].dropna().unique()
if len(locs):
location = ":".join(Results['location'].unique())
else:
location = ""
if 'age' in Results.columns and ages == 1:
dates = Results['age'].unique()
# go through rows and extract data
for ind, row in Results.iterrows():
try:
lat, lon = float(row['vgp_lat']), float(row['vgp_lon'])
except ValueError:
lat = float(str(row['vgp_lat']).replace(' ', '').translate({0x2c: '.', 0xa0: None, 0x2212: '-'}))
lon = float(str(row['vgp_lon']).replace(' ', '').translate({0x2c: '.', 0xa0: None, 0x2212: '-'}))
if anti == 1:
lats.append(-lat)
lon = lon + 180.
if lon > 360:
lon = lon - 360.
lons.append(lon)
elif flip == 0:
lats.append(lat)
lons.append(lon)
elif flip == 1:
if lat < 0:
rlats.append(-lat)
lon = lon + 180.
if lon > 360:
lon = lon - 360
rlons.append(lon)
else:
lats.append(lat)
lons.append(lon)
ppars = []
ppars.append(lon)
ppars.append(lat)
ell1, ell2 = "", ""
if 'vgp_dm' in list(row.keys()) and row['vgp_dm']:
ell1 = float(row['vgp_dm'])
if 'vgp_dp' in list(row.keys()) and row['vgp_dp']:
ell2 = float(row['vgp_dp'])
if 'vgp_alpha95' in list(row.keys()) and (row['vgp_alpha95'] or row['vgp_alpha95'] == 0):
ell1, ell2 = float(row['vgp_alpha95']), float(row['vgp_alpha95'])
if ell1 and ell2:
ppars = []
ppars.append(lons[-1])
ppars.append(lats[-1])
ppars.append(ell1)
ppars.append(lons[-1])
try:
isign = abs(lats[-1]) / lats[-1]
except ZeroDivisionError:
isign = 1
ppars.append(lats[-1] - isign * 90.)
ppars.append(ell2)
ppars.append(lons[-1] + 90.)
ppars.append(0.)
Pars.append(ppars)
location = location.strip(':')
Opts = {'latmin': -90, 'latmax': 90, 'lonmin': 0., 'lonmax': 360.,
'lat_0': lat_0, 'lon_0': lon_0, 'proj': proj, 'sym': 'bs',
'symsize': 3, 'pltgrid': 0, 'res': res, 'boundinglat': 0.}
Opts['details'] = {'coasts': 1, 'rivers': 0, 'states': 0,
'countries': 0, 'ocean': 1, 'fancy': fancy}
# make the base map with a blue triangle at the pole
pmagplotlib.plot_map(FIG['map'], [90.], [0.], Opts)
Opts['pltgrid'] = -1
Opts['sym'] = sym
Opts['symsize'] = size
if len(dates) > 0:
Opts['names'] = dates
if len(lats) > 0:
# add the lats and lons of the poles
pmagplotlib.plot_map(FIG['map'], lats, lons, Opts)
Opts['names'] = []
if len(rlats) > 0:
Opts['sym'] = rsym
Opts['symsize'] = rsize
# add the lats and lons of the poles
pmagplotlib.plot_map(FIG['map'], rlats, rlons, Opts)
if not save_plots and not set_env.IS_WIN:
pmagplotlib.draw_figs(FIG)
if ell == 1: # add ellipses if desired.
Opts['details'] = {'coasts': 0, 'rivers': 0, 'states': 0,
'countries': 0, 'ocean': 0, 'fancy': fancy}
Opts['pltgrid'] = -1 # turn off meridian replotting
Opts['symsize'] = 2
Opts['sym'] = 'g-'
for ppars in Pars:
if ppars[2] != 0:
PTS = pmagplotlib.plot_ell(FIG['map'], ppars, 'g.', 0, 0)
elats, elons = [], []
for pt in PTS:
elons.append(pt[0])
elats.append(pt[1])
# make the base map with a blue triangle at the pole
pmagplotlib.plot_map(FIG['map'], elats, elons, Opts)
if not save_plots and not set_env.IS_WIN:
pmagplotlib.draw_figs(FIG)
files = {}
for key in list(FIG.keys()):
if pmagplotlib.isServer: # use server plot naming convention
files[key] = 'LO:_' + location + '_TY:_VGP_map.' + fmt
con.add_magic_table('contribution')
con_id = con.get_con_id()
if con_id:
files[key] = 'MC:_' + str(con_id) + '_' + files[key]
else: # use more readable naming convention
files[key] = '{}_VGP_map.{}'.format(location, fmt)
if pmagplotlib.isServer:
black = '#000000'
purple = '#800080'
titles = {}
titles['map'] = location + ' VGP map'
FIG = pmagplotlib.add_borders(FIG, titles, black, purple)
pmagplotlib.save_plots(FIG, files)
elif interactive:
pmagplotlib.draw_figs(FIG)
ans = input(" S[a]ve to save plot, Return to quit: ")
if ans == "a":
pmagplotlib.save_plots(FIG, files)
return True, files.values()
else:
print("Good bye")
return True, []
elif save_plots:
pmagplotlib.save_plots(FIG, files)
return True, files.values()
|
[
"def",
"vgpmap_magic",
"(",
"dir_path",
"=",
"\".\"",
",",
"results_file",
"=",
"\"sites.txt\"",
",",
"crd",
"=",
"\"\"",
",",
"sym",
"=",
"'ro'",
",",
"size",
"=",
"8",
",",
"rsym",
"=",
"\"g^\"",
",",
"rsize",
"=",
"8",
",",
"fmt",
"=",
"\"pdf\"",
",",
"res",
"=",
"\"c\"",
",",
"proj",
"=",
"\"ortho\"",
",",
"flip",
"=",
"False",
",",
"anti",
"=",
"False",
",",
"fancy",
"=",
"False",
",",
"ell",
"=",
"False",
",",
"ages",
"=",
"False",
",",
"lat_0",
"=",
"0",
",",
"lon_0",
"=",
"0",
",",
"save_plots",
"=",
"True",
",",
"interactive",
"=",
"False",
",",
"contribution",
"=",
"None",
")",
":",
"coord_dict",
"=",
"{",
"'g'",
":",
"0",
",",
"'t'",
":",
"100",
"}",
"coord",
"=",
"coord_dict",
"[",
"crd",
"]",
"if",
"crd",
"else",
"\"\"",
"if",
"contribution",
"is",
"None",
":",
"con",
"=",
"cb",
".",
"Contribution",
"(",
"dir_path",
",",
"single_file",
"=",
"results_file",
")",
"else",
":",
"con",
"=",
"contribution",
"if",
"not",
"list",
"(",
"con",
".",
"tables",
".",
"keys",
"(",
")",
")",
":",
"print",
"(",
"\"-W - Couldn't read in data\"",
")",
"return",
"False",
",",
"[",
"]",
"if",
"'sites'",
"not",
"in",
"con",
".",
"tables",
":",
"print",
"(",
"\"-W - No sites data\"",
")",
"return",
"False",
",",
"[",
"]",
"FIG",
"=",
"{",
"'map'",
":",
"1",
"}",
"pmagplotlib",
".",
"plot_init",
"(",
"FIG",
"[",
"'map'",
"]",
",",
"6",
",",
"6",
")",
"# read in sites file",
"lats",
",",
"lons",
"=",
"[",
"]",
",",
"[",
"]",
"Pars",
"=",
"[",
"]",
"dates",
",",
"rlats",
",",
"rlons",
"=",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
"site_container",
"=",
"con",
".",
"tables",
"[",
"'sites'",
"]",
"site_container",
".",
"front_and_backfill",
"(",
"[",
"'location'",
"]",
")",
"site_df",
"=",
"site_container",
".",
"df",
"# use records with vgp_lat and vgp_lon",
"if",
"'vgp_lat'",
"in",
"site_df",
".",
"columns",
"and",
"'vgp_lon'",
"in",
"site_df",
".",
"columns",
":",
"cond1",
",",
"cond2",
"=",
"site_df",
"[",
"'vgp_lat'",
"]",
".",
"notnull",
"(",
")",
",",
"site_df",
"[",
"'vgp_lon'",
"]",
".",
"notnull",
"(",
")",
"else",
":",
"print",
"(",
"'nothing to plot'",
")",
"sys",
".",
"exit",
"(",
")",
"Results",
"=",
"site_df",
"[",
"cond1",
"&",
"cond2",
"]",
"# use tilt correction",
"if",
"coord",
"and",
"'dir_tilt_correction'",
"in",
"Results",
".",
"columns",
":",
"Results",
"=",
"Results",
"[",
"Results",
"[",
"'dir_tilt_correction'",
"]",
"==",
"coord",
"]",
"# get location name and average ages",
"locs",
"=",
"Results",
"[",
"'location'",
"]",
".",
"dropna",
"(",
")",
".",
"unique",
"(",
")",
"if",
"len",
"(",
"locs",
")",
":",
"location",
"=",
"\":\"",
".",
"join",
"(",
"Results",
"[",
"'location'",
"]",
".",
"unique",
"(",
")",
")",
"else",
":",
"location",
"=",
"\"\"",
"if",
"'age'",
"in",
"Results",
".",
"columns",
"and",
"ages",
"==",
"1",
":",
"dates",
"=",
"Results",
"[",
"'age'",
"]",
".",
"unique",
"(",
")",
"# go through rows and extract data",
"for",
"ind",
",",
"row",
"in",
"Results",
".",
"iterrows",
"(",
")",
":",
"try",
":",
"lat",
",",
"lon",
"=",
"float",
"(",
"row",
"[",
"'vgp_lat'",
"]",
")",
",",
"float",
"(",
"row",
"[",
"'vgp_lon'",
"]",
")",
"except",
"ValueError",
":",
"lat",
"=",
"float",
"(",
"str",
"(",
"row",
"[",
"'vgp_lat'",
"]",
")",
".",
"replace",
"(",
"' '",
",",
"''",
")",
".",
"translate",
"(",
"{",
"0x2c",
":",
"'.'",
",",
"0xa0",
":",
"None",
",",
"0x2212",
":",
"'-'",
"}",
")",
")",
"lon",
"=",
"float",
"(",
"str",
"(",
"row",
"[",
"'vgp_lon'",
"]",
")",
".",
"replace",
"(",
"' '",
",",
"''",
")",
".",
"translate",
"(",
"{",
"0x2c",
":",
"'.'",
",",
"0xa0",
":",
"None",
",",
"0x2212",
":",
"'-'",
"}",
")",
")",
"if",
"anti",
"==",
"1",
":",
"lats",
".",
"append",
"(",
"-",
"lat",
")",
"lon",
"=",
"lon",
"+",
"180.",
"if",
"lon",
">",
"360",
":",
"lon",
"=",
"lon",
"-",
"360.",
"lons",
".",
"append",
"(",
"lon",
")",
"elif",
"flip",
"==",
"0",
":",
"lats",
".",
"append",
"(",
"lat",
")",
"lons",
".",
"append",
"(",
"lon",
")",
"elif",
"flip",
"==",
"1",
":",
"if",
"lat",
"<",
"0",
":",
"rlats",
".",
"append",
"(",
"-",
"lat",
")",
"lon",
"=",
"lon",
"+",
"180.",
"if",
"lon",
">",
"360",
":",
"lon",
"=",
"lon",
"-",
"360",
"rlons",
".",
"append",
"(",
"lon",
")",
"else",
":",
"lats",
".",
"append",
"(",
"lat",
")",
"lons",
".",
"append",
"(",
"lon",
")",
"ppars",
"=",
"[",
"]",
"ppars",
".",
"append",
"(",
"lon",
")",
"ppars",
".",
"append",
"(",
"lat",
")",
"ell1",
",",
"ell2",
"=",
"\"\"",
",",
"\"\"",
"if",
"'vgp_dm'",
"in",
"list",
"(",
"row",
".",
"keys",
"(",
")",
")",
"and",
"row",
"[",
"'vgp_dm'",
"]",
":",
"ell1",
"=",
"float",
"(",
"row",
"[",
"'vgp_dm'",
"]",
")",
"if",
"'vgp_dp'",
"in",
"list",
"(",
"row",
".",
"keys",
"(",
")",
")",
"and",
"row",
"[",
"'vgp_dp'",
"]",
":",
"ell2",
"=",
"float",
"(",
"row",
"[",
"'vgp_dp'",
"]",
")",
"if",
"'vgp_alpha95'",
"in",
"list",
"(",
"row",
".",
"keys",
"(",
")",
")",
"and",
"(",
"row",
"[",
"'vgp_alpha95'",
"]",
"or",
"row",
"[",
"'vgp_alpha95'",
"]",
"==",
"0",
")",
":",
"ell1",
",",
"ell2",
"=",
"float",
"(",
"row",
"[",
"'vgp_alpha95'",
"]",
")",
",",
"float",
"(",
"row",
"[",
"'vgp_alpha95'",
"]",
")",
"if",
"ell1",
"and",
"ell2",
":",
"ppars",
"=",
"[",
"]",
"ppars",
".",
"append",
"(",
"lons",
"[",
"-",
"1",
"]",
")",
"ppars",
".",
"append",
"(",
"lats",
"[",
"-",
"1",
"]",
")",
"ppars",
".",
"append",
"(",
"ell1",
")",
"ppars",
".",
"append",
"(",
"lons",
"[",
"-",
"1",
"]",
")",
"try",
":",
"isign",
"=",
"abs",
"(",
"lats",
"[",
"-",
"1",
"]",
")",
"/",
"lats",
"[",
"-",
"1",
"]",
"except",
"ZeroDivisionError",
":",
"isign",
"=",
"1",
"ppars",
".",
"append",
"(",
"lats",
"[",
"-",
"1",
"]",
"-",
"isign",
"*",
"90.",
")",
"ppars",
".",
"append",
"(",
"ell2",
")",
"ppars",
".",
"append",
"(",
"lons",
"[",
"-",
"1",
"]",
"+",
"90.",
")",
"ppars",
".",
"append",
"(",
"0.",
")",
"Pars",
".",
"append",
"(",
"ppars",
")",
"location",
"=",
"location",
".",
"strip",
"(",
"':'",
")",
"Opts",
"=",
"{",
"'latmin'",
":",
"-",
"90",
",",
"'latmax'",
":",
"90",
",",
"'lonmin'",
":",
"0.",
",",
"'lonmax'",
":",
"360.",
",",
"'lat_0'",
":",
"lat_0",
",",
"'lon_0'",
":",
"lon_0",
",",
"'proj'",
":",
"proj",
",",
"'sym'",
":",
"'bs'",
",",
"'symsize'",
":",
"3",
",",
"'pltgrid'",
":",
"0",
",",
"'res'",
":",
"res",
",",
"'boundinglat'",
":",
"0.",
"}",
"Opts",
"[",
"'details'",
"]",
"=",
"{",
"'coasts'",
":",
"1",
",",
"'rivers'",
":",
"0",
",",
"'states'",
":",
"0",
",",
"'countries'",
":",
"0",
",",
"'ocean'",
":",
"1",
",",
"'fancy'",
":",
"fancy",
"}",
"# make the base map with a blue triangle at the pole",
"pmagplotlib",
".",
"plot_map",
"(",
"FIG",
"[",
"'map'",
"]",
",",
"[",
"90.",
"]",
",",
"[",
"0.",
"]",
",",
"Opts",
")",
"Opts",
"[",
"'pltgrid'",
"]",
"=",
"-",
"1",
"Opts",
"[",
"'sym'",
"]",
"=",
"sym",
"Opts",
"[",
"'symsize'",
"]",
"=",
"size",
"if",
"len",
"(",
"dates",
")",
">",
"0",
":",
"Opts",
"[",
"'names'",
"]",
"=",
"dates",
"if",
"len",
"(",
"lats",
")",
">",
"0",
":",
"# add the lats and lons of the poles",
"pmagplotlib",
".",
"plot_map",
"(",
"FIG",
"[",
"'map'",
"]",
",",
"lats",
",",
"lons",
",",
"Opts",
")",
"Opts",
"[",
"'names'",
"]",
"=",
"[",
"]",
"if",
"len",
"(",
"rlats",
")",
">",
"0",
":",
"Opts",
"[",
"'sym'",
"]",
"=",
"rsym",
"Opts",
"[",
"'symsize'",
"]",
"=",
"rsize",
"# add the lats and lons of the poles",
"pmagplotlib",
".",
"plot_map",
"(",
"FIG",
"[",
"'map'",
"]",
",",
"rlats",
",",
"rlons",
",",
"Opts",
")",
"if",
"not",
"save_plots",
"and",
"not",
"set_env",
".",
"IS_WIN",
":",
"pmagplotlib",
".",
"draw_figs",
"(",
"FIG",
")",
"if",
"ell",
"==",
"1",
":",
"# add ellipses if desired.",
"Opts",
"[",
"'details'",
"]",
"=",
"{",
"'coasts'",
":",
"0",
",",
"'rivers'",
":",
"0",
",",
"'states'",
":",
"0",
",",
"'countries'",
":",
"0",
",",
"'ocean'",
":",
"0",
",",
"'fancy'",
":",
"fancy",
"}",
"Opts",
"[",
"'pltgrid'",
"]",
"=",
"-",
"1",
"# turn off meridian replotting",
"Opts",
"[",
"'symsize'",
"]",
"=",
"2",
"Opts",
"[",
"'sym'",
"]",
"=",
"'g-'",
"for",
"ppars",
"in",
"Pars",
":",
"if",
"ppars",
"[",
"2",
"]",
"!=",
"0",
":",
"PTS",
"=",
"pmagplotlib",
".",
"plot_ell",
"(",
"FIG",
"[",
"'map'",
"]",
",",
"ppars",
",",
"'g.'",
",",
"0",
",",
"0",
")",
"elats",
",",
"elons",
"=",
"[",
"]",
",",
"[",
"]",
"for",
"pt",
"in",
"PTS",
":",
"elons",
".",
"append",
"(",
"pt",
"[",
"0",
"]",
")",
"elats",
".",
"append",
"(",
"pt",
"[",
"1",
"]",
")",
"# make the base map with a blue triangle at the pole",
"pmagplotlib",
".",
"plot_map",
"(",
"FIG",
"[",
"'map'",
"]",
",",
"elats",
",",
"elons",
",",
"Opts",
")",
"if",
"not",
"save_plots",
"and",
"not",
"set_env",
".",
"IS_WIN",
":",
"pmagplotlib",
".",
"draw_figs",
"(",
"FIG",
")",
"files",
"=",
"{",
"}",
"for",
"key",
"in",
"list",
"(",
"FIG",
".",
"keys",
"(",
")",
")",
":",
"if",
"pmagplotlib",
".",
"isServer",
":",
"# use server plot naming convention",
"files",
"[",
"key",
"]",
"=",
"'LO:_'",
"+",
"location",
"+",
"'_TY:_VGP_map.'",
"+",
"fmt",
"con",
".",
"add_magic_table",
"(",
"'contribution'",
")",
"con_id",
"=",
"con",
".",
"get_con_id",
"(",
")",
"if",
"con_id",
":",
"files",
"[",
"key",
"]",
"=",
"'MC:_'",
"+",
"str",
"(",
"con_id",
")",
"+",
"'_'",
"+",
"files",
"[",
"key",
"]",
"else",
":",
"# use more readable naming convention",
"files",
"[",
"key",
"]",
"=",
"'{}_VGP_map.{}'",
".",
"format",
"(",
"location",
",",
"fmt",
")",
"if",
"pmagplotlib",
".",
"isServer",
":",
"black",
"=",
"'#000000'",
"purple",
"=",
"'#800080'",
"titles",
"=",
"{",
"}",
"titles",
"[",
"'map'",
"]",
"=",
"location",
"+",
"' VGP map'",
"FIG",
"=",
"pmagplotlib",
".",
"add_borders",
"(",
"FIG",
",",
"titles",
",",
"black",
",",
"purple",
")",
"pmagplotlib",
".",
"save_plots",
"(",
"FIG",
",",
"files",
")",
"elif",
"interactive",
":",
"pmagplotlib",
".",
"draw_figs",
"(",
"FIG",
")",
"ans",
"=",
"input",
"(",
"\" S[a]ve to save plot, Return to quit: \"",
")",
"if",
"ans",
"==",
"\"a\"",
":",
"pmagplotlib",
".",
"save_plots",
"(",
"FIG",
",",
"files",
")",
"return",
"True",
",",
"files",
".",
"values",
"(",
")",
"else",
":",
"print",
"(",
"\"Good bye\"",
")",
"return",
"True",
",",
"[",
"]",
"elif",
"save_plots",
":",
"pmagplotlib",
".",
"save_plots",
"(",
"FIG",
",",
"files",
")",
"return",
"True",
",",
"files",
".",
"values",
"(",
")"
] |
makes a map of vgps and a95/dp,dm for site means in a sites table
Parameters
----------
dir_path : str, default "."
input directory path
results_file : str, default "sites.txt"
name of MagIC format sites file
crd : str, default ""
coordinate system [g, t] (geographic, tilt_corrected)
sym : str, default "ro"
symbol color and shape, default red circles
(see matplotlib documentation for more color/shape options)
size : int, default 8
symbol size
rsym : str, default "g^"
symbol for plotting reverse poles
(see matplotlib documentation for more color/shape options)
rsize : int, default 8
symbol size for reverse poles
fmt : str, default "pdf"
format for figures, ["svg", "jpg", "pdf", "png"]
res : str, default "c"
resolution [c, l, i, h] (crude, low, intermediate, high)
proj : str, default "ortho"
ortho = orthographic
lcc = lambert conformal
moll = molweide
merc = mercator
flip : bool, default False
if True, flip reverse poles to normal antipode
anti : bool, default False
if True, plot antipodes for each pole
fancy : bool, default False
if True, plot topography (not yet implemented)
ell : bool, default False
if True, plot ellipses
ages : bool, default False
if True, plot ages
lat_0 : float, default 0.
eyeball latitude
lon_0 : float, default 0.
eyeball longitude
save_plots : bool, default True
if True, create and save all requested plots
interactive : bool, default False
if True, interactively plot and display
(this is best used on the command line only)
Returns
---------
(status, output_files) - Tuple : (True or False indicating if conversion was sucessful, file name(s) written)
|
[
"makes",
"a",
"map",
"of",
"vgps",
"and",
"a95",
"/",
"dp",
"dm",
"for",
"site",
"means",
"in",
"a",
"sites",
"table"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L12530-L12756
|
train
|
This function creates a map of vgps and a95 DM for each site means in a site table.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(254 - 206) + '\x6f' + chr(0b110011) + chr(1633 - 1585) + '\x33', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(9617 - 9506) + '\061' + '\066', ord("\x08")), nzTpIcepk0o8('\x30' + chr(8277 - 8166) + '\063' + chr(0b110001) + '\062', 12271 - 12263), nzTpIcepk0o8(chr(0b100010 + 0o16) + '\157' + '\x37', 18708 - 18700), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x33' + chr(1784 - 1736) + chr(53), 10881 - 10873), nzTpIcepk0o8(chr(2111 - 2063) + chr(7958 - 7847) + chr(0b110010) + '\x36' + chr(2503 - 2449), ord("\x08")), nzTpIcepk0o8('\060' + chr(9037 - 8926) + chr(751 - 702) + chr(0b110110) + chr(0b10001 + 0o43), 0o10), nzTpIcepk0o8(chr(48) + '\x6f' + chr(596 - 545) + chr(156 - 102) + chr(0b101101 + 0o4), 0b1000), nzTpIcepk0o8(chr(0b101010 + 0o6) + chr(847 - 736) + chr(0b110011) + chr(155 - 105) + chr(2066 - 2015), ord("\x08")), nzTpIcepk0o8('\060' + '\x6f' + chr(0b0 + 0o62) + chr(0b110111) + '\061', 0o10), nzTpIcepk0o8(chr(0b100001 + 0o17) + chr(0b100110 + 0o111) + '\063' + chr(53) + chr(2692 - 2637), 36781 - 36773), nzTpIcepk0o8('\x30' + chr(111) + chr(0b1110 + 0o44) + '\061' + chr(0b110101), ord("\x08")), nzTpIcepk0o8(chr(0b0 + 0o60) + '\x6f' + chr(251 - 197) + chr(378 - 323), 57178 - 57170), nzTpIcepk0o8(chr(2294 - 2246) + chr(9036 - 8925) + chr(1004 - 953) + chr(0b10010 + 0o41), 56964 - 56956), nzTpIcepk0o8('\x30' + chr(111) + chr(0b101 + 0o55) + chr(1487 - 1438) + '\066', 0b1000), nzTpIcepk0o8('\x30' + '\x6f' + '\063' + chr(0b110100) + chr(51), 62773 - 62765), nzTpIcepk0o8(chr(48) + chr(0b111010 + 0o65) + chr(51) + '\x34' + '\062', 0b1000), nzTpIcepk0o8(chr(0b10000 + 0o40) + chr(0b1000001 + 0o56) + chr(1833 - 1784) + chr(0b1011 + 0o47) + '\066', 0o10), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(1730 - 1679) + chr(0b110000) + chr(1663 - 1611), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\x32' + '\x31' + '\060', 0o10), nzTpIcepk0o8(chr(0b1101 + 0o43) + chr(5267 - 5156) + chr(0b110001) + chr(0b100 + 0o62) + chr(841 - 786), 28765 - 28757), nzTpIcepk0o8(chr(1594 - 1546) + chr(9693 - 9582) + chr(0b110001) + chr(51) + chr(0b10001 + 0o37), 44980 - 44972), nzTpIcepk0o8(chr(48) + chr(0b1001000 + 0o47) + chr(50) + chr(52) + '\064', 0o10), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b11000 + 0o37) + chr(54), 0o10), nzTpIcepk0o8(chr(0b101001 + 0o7) + '\157' + '\x36' + '\x31', 53180 - 53172), nzTpIcepk0o8(chr(0b0 + 0o60) + '\157' + chr(0b100 + 0o57) + chr(0b101 + 0o53) + chr(51), 8), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b110010) + '\067' + chr(0b1100 + 0o51), 0o10), nzTpIcepk0o8('\x30' + '\157' + chr(1384 - 1334) + chr(0b110111), 0o10), nzTpIcepk0o8(chr(48) + '\157' + chr(0b110011) + '\x37' + chr(0b11111 + 0o23), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b1000000 + 0o57) + chr(0b10000 + 0o43), 55755 - 55747), nzTpIcepk0o8(chr(48) + '\157' + chr(0b110010) + '\x33' + chr(51), 0o10), nzTpIcepk0o8('\060' + chr(0b10011 + 0o134) + '\x32' + chr(2253 - 2199) + chr(0b11000 + 0o33), ord("\x08")), nzTpIcepk0o8(chr(0b1000 + 0o50) + chr(793 - 682) + '\x33' + chr(0b110 + 0o52) + chr(0b1001 + 0o53), 8), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x31' + chr(0b100000 + 0o21) + chr(0b110011), 0b1000), nzTpIcepk0o8(chr(356 - 308) + chr(0b1101111) + chr(51) + chr(0b10001 + 0o45) + chr(54), 0b1000), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\065' + '\067', 0o10), nzTpIcepk0o8(chr(0b101111 + 0o1) + chr(0b1101011 + 0o4) + chr(49) + chr(0b110111) + '\x30', ord("\x08")), nzTpIcepk0o8('\x30' + chr(2114 - 2003) + chr(51) + '\062' + chr(0b110011 + 0o1), 0o10), nzTpIcepk0o8('\060' + chr(0b11100 + 0o123) + chr(50) + chr(52), 56770 - 56762), nzTpIcepk0o8(chr(0b1110 + 0o42) + chr(0b1101111) + '\063' + chr(1868 - 1817) + chr(55), 0b1000)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(398 - 350) + '\x6f' + '\065' + '\060', 0o10)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xed'), chr(0b11100 + 0o110) + chr(6040 - 5939) + '\143' + chr(111) + chr(100) + '\x65')('\165' + chr(0b1110 + 0o146) + chr(4272 - 4170) + chr(0b1110 + 0o37) + '\070') + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def Rxtg6tyOySFr(qjksZ7GK0xkJ=roI3spqORKae(ES5oEprVxulp(b'\xed'), chr(0b1100100) + '\145' + '\143' + chr(0b1101111) + chr(0b100000 + 0o104) + chr(101))(chr(0b1110101) + chr(0b10001 + 0o143) + chr(0b1100000 + 0o6) + chr(45) + chr(56)), h7YAtw2BqmjK=roI3spqORKae(ES5oEprVxulp(b'\xb0g\xbeb\xb6\x98\x00\x89\xa7'), chr(3738 - 3638) + chr(0b1100101) + '\x63' + chr(0b1100110 + 0o11) + chr(0b1001110 + 0o26) + '\x65')(chr(0b1001001 + 0o54) + chr(8029 - 7913) + chr(6556 - 6454) + chr(0b101101) + '\070'), px1MpgT0hYQ9=roI3spqORKae(ES5oEprVxulp(b''), chr(0b1010110 + 0o16) + '\145' + chr(4196 - 4097) + '\157' + chr(0b1100100) + '\x65')(chr(9827 - 9710) + '\164' + '\x66' + chr(45) + '\070'), ap75Y_eaMZLk=roI3spqORKae(ES5oEprVxulp(b'\xb1a'), '\x64' + '\145' + chr(0b1100010 + 0o1) + '\x6f' + chr(4098 - 3998) + '\x65')(chr(0b1100110 + 0o17) + chr(0b1110100) + chr(102) + '\055' + '\x38'), e1HrJaQHACnl=nzTpIcepk0o8('\x30' + '\x6f' + chr(467 - 418) + chr(1096 - 1048), ord("\x08")), CUfpDqnTzOda=roI3spqORKae(ES5oEprVxulp(b'\xa4P'), chr(0b1100100) + chr(0b1100101) + chr(0b10001 + 0o122) + '\157' + chr(0b1100100) + '\x65')(chr(0b1110101) + chr(0b1110100) + chr(0b1100011 + 0o3) + '\x2d' + chr(2732 - 2676)), LdXagNqH2NY1=nzTpIcepk0o8(chr(48) + '\x6f' + chr(2340 - 2291) + '\x30', 8), JummcHpaNLEw=roI3spqORKae(ES5oEprVxulp(b'\xb3j\xac'), '\x64' + chr(0b1100101) + chr(0b11100 + 0o107) + chr(7892 - 7781) + chr(0b101010 + 0o72) + chr(101))(chr(117) + '\164' + chr(102) + '\x2d' + chr(0b100010 + 0o26)), _XdQFJpnzJor=roI3spqORKae(ES5oEprVxulp(b'\xa0'), '\x64' + '\145' + chr(0b1100011) + chr(7464 - 7353) + chr(100) + chr(8217 - 8116))(chr(0b0 + 0o165) + chr(8403 - 8287) + '\x66' + chr(45) + '\x38'), yNS8IgQS0ymV=roI3spqORKae(ES5oEprVxulp(b'\xac|\xbeo\xaa'), chr(0b1100100) + chr(4563 - 4462) + '\143' + chr(0b1000010 + 0o55) + chr(673 - 573) + '\145')(chr(117) + chr(116) + '\x66' + chr(45) + '\x38'), LeuPzfhzM9U8=nzTpIcepk0o8(chr(0b100110 + 0o12) + chr(0b1101111) + chr(0b110000), 0o10), wusdF6YTZKJ3=nzTpIcepk0o8('\x30' + '\157' + chr(48), 8), vVMRKIXM85FE=nzTpIcepk0o8('\x30' + chr(111) + '\060', 8), DTJMndqfNEo1=nzTpIcepk0o8(chr(48) + '\x6f' + chr(48), 8), rJXkqb7BR5II=nzTpIcepk0o8('\060' + '\x6f' + chr(0b100100 + 0o14), 8), vvGqd7Fkqgfw=nzTpIcepk0o8(chr(0b101011 + 0o5) + '\x6f' + chr(837 - 789), 8), E7x0t9AdiILk=nzTpIcepk0o8(chr(0b1010 + 0o46) + chr(945 - 834) + chr(48), 8), bxxuZm4I6LgY=nzTpIcepk0o8(chr(0b110000) + '\157' + chr(402 - 353), 0o10), f4XDWm__k5ZA=nzTpIcepk0o8(chr(1878 - 1830) + chr(111) + chr(0b100011 + 0o15), 8), bSiGoWKHgDdJ=None):
KEcEPZOtiWdP = {roI3spqORKae(ES5oEprVxulp(b'\xa4'), chr(100) + chr(0b1100101) + '\143' + '\157' + chr(6112 - 6012) + '\145')(chr(0b1110101) + chr(0b10000 + 0o144) + '\146' + chr(1077 - 1032) + chr(56)): nzTpIcepk0o8(chr(0b110000) + chr(465 - 354) + chr(0b110000), 8), roI3spqORKae(ES5oEprVxulp(b'\xb7'), chr(0b1100100) + chr(0b101010 + 0o73) + chr(99) + '\x6f' + chr(0b1011101 + 0o7) + chr(101))('\x75' + '\x74' + chr(102) + chr(0b101101) + chr(0b111000)): nzTpIcepk0o8(chr(48) + '\157' + chr(49) + chr(0b110010 + 0o2) + chr(0b110100), 56383 - 56375)}
nKUAs3HG0RP8 = KEcEPZOtiWdP[px1MpgT0hYQ9] if px1MpgT0hYQ9 else roI3spqORKae(ES5oEprVxulp(b''), chr(8310 - 8210) + chr(101) + chr(1596 - 1497) + chr(0b1101111) + chr(100) + chr(101))(chr(0b1000001 + 0o64) + chr(12441 - 12325) + '\x66' + chr(0b101101) + chr(56))
if bSiGoWKHgDdJ is None:
D3H9MFOOog2W = RYEhqzIVZREo.Contribution(qjksZ7GK0xkJ, single_file=h7YAtw2BqmjK)
else:
D3H9MFOOog2W = bSiGoWKHgDdJ
if not H4NoA26ON7iG(roI3spqORKae(D3H9MFOOog2W.tables, roI3spqORKae(ES5oEprVxulp(b'\xa8k\xb3t'), chr(6338 - 6238) + chr(6490 - 6389) + chr(0b1000001 + 0o42) + '\157' + '\144' + chr(0b1011 + 0o132))('\x75' + chr(0b1110100) + chr(0b11 + 0o143) + '\055' + chr(0b111000)))()):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xeeY\xea*\xe5\xf5\x1b\x84\xbf\xdd\x81\xaaC;\xfc\x86\x832\xe4\xe1\x19x\xc0_E\xa2'), chr(0b1001010 + 0o32) + chr(0b1010111 + 0o16) + chr(0b1100011) + '\x6f' + chr(100) + chr(0b1100101))(chr(851 - 734) + '\164' + '\146' + '\055' + chr(56)))
return (nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(2246 - 2198), 8), [])
if roI3spqORKae(ES5oEprVxulp(b'\xb0g\xbeb\xb6'), '\x64' + chr(0b110 + 0o137) + chr(204 - 105) + chr(0b1101111) + chr(100) + chr(101))(chr(117) + '\x74' + chr(102) + chr(45) + '\x38') not in roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'\x94i\xbeT\x8f\xeeD\x82\x9a\xe0\x9f\xc1'), chr(0b1011001 + 0o13) + chr(0b110001 + 0o64) + chr(99) + chr(4786 - 4675) + '\144' + '\145')('\165' + '\x74' + '\x66' + chr(0b11001 + 0o24) + chr(0b111000))):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xeeY\xea*\xe5\xf8\x1b\xd1\xa0\xd0\x9b\xe8D;\xea\x82\x967'), '\x64' + chr(101) + '\143' + chr(0b1010110 + 0o31) + chr(100) + chr(7716 - 7615))(chr(0b100100 + 0o121) + chr(4035 - 3919) + chr(0b1100110) + '\x2d' + chr(0b111000)))
return (nzTpIcepk0o8('\x30' + chr(8702 - 8591) + chr(0b110000), 8), [])
rKSToK9WUVwu = {roI3spqORKae(ES5oEprVxulp(b'\xaeo\xba'), chr(100) + '\x65' + chr(0b1001010 + 0o31) + chr(0b1010000 + 0o37) + chr(0b1100100) + '\x65')(chr(0b1010101 + 0o40) + chr(0b1110100) + chr(0b1010011 + 0o23) + chr(45) + chr(0b101110 + 0o12)): nzTpIcepk0o8(chr(433 - 385) + chr(111) + chr(0b100010 + 0o17), 8)}
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xb3b\xa5s\x9a\xdf\x1a\x98\xa7'), '\144' + chr(9409 - 9308) + chr(0b111000 + 0o53) + chr(0b1101111) + chr(0b1011011 + 0o11) + '\145')('\x75' + chr(0b1110100) + chr(0b1010111 + 0o17) + chr(0b101101) + chr(56)))(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'\xaeo\xba'), '\144' + chr(101) + chr(0b1100011) + chr(111) + chr(100) + chr(101))(chr(117) + '\x74' + '\146' + chr(630 - 585) + '\x38')], nzTpIcepk0o8(chr(0b101110 + 0o2) + '\x6f' + '\066', ord("\x08")), nzTpIcepk0o8('\x30' + '\x6f' + '\x36', 8))
(s1mrpKIq1Wpy, _3zJfzXGVnPJ) = ([], [])
mFUklODHEk5L = []
(_olqupWMJO4N, cM3f9IUfxzKT, grJe2AcEoma_) = ([], [], [])
frfLpdEFyPp3 = D3H9MFOOog2W.WgtSJX0sIYpL[roI3spqORKae(ES5oEprVxulp(b'\xb0g\xbeb\xb6'), '\144' + chr(0b1100101) + chr(99) + chr(0b1101111 + 0o0) + '\x64' + '\145')('\x75' + chr(0b101110 + 0o106) + chr(0b1100101 + 0o1) + chr(0b101101) + chr(56))]
roI3spqORKae(frfLpdEFyPp3, roI3spqORKae(ES5oEprVxulp(b'\xa5|\xa5i\xb1\xe9\x15\x9f\xb7\xe6\x8d\xecTp\xe8\x8a\x8e:'), '\144' + chr(0b1100101) + chr(8987 - 8888) + chr(0b1101111) + '\144' + chr(0b1100101))(chr(117) + chr(11408 - 11292) + chr(6934 - 6832) + chr(0b10010 + 0o33) + '\x38'))([roI3spqORKae(ES5oEprVxulp(b'\xafa\xa9f\xb1\xdf\x1b\x9f'), chr(100) + chr(101) + chr(99) + '\x6f' + chr(1000 - 900) + chr(0b11001 + 0o114))(chr(117) + chr(0b1110100) + '\146' + '\055' + chr(0b100111 + 0o21))])
STygsxjvcnha = frfLpdEFyPp3.jpOn8DNZxbbx
if roI3spqORKae(ES5oEprVxulp(b'\xb5i\xbaX\xa9\xd7\x00'), chr(100) + '\145' + chr(0b1100011) + chr(2079 - 1968) + '\x64' + chr(1265 - 1164))(chr(117) + chr(116) + '\146' + chr(45) + chr(0b110101 + 0o3)) in roI3spqORKae(STygsxjvcnha, roI3spqORKae(ES5oEprVxulp(b'\x96=\xf3m\x96\xdf=\xc4\xe7\xf4\x83\xfd'), chr(100) + '\x65' + chr(99) + chr(0b1101111) + '\144' + '\x65')(chr(8272 - 8155) + chr(0b1110100) + '\146' + chr(0b101101) + '\070')) and roI3spqORKae(ES5oEprVxulp(b'\xb5i\xbaX\xa9\xd9\x1a'), chr(100) + '\145' + chr(0b10000 + 0o123) + chr(0b1101111) + chr(0b10101 + 0o117) + '\145')(chr(10259 - 10142) + chr(116) + chr(0b1100110) + chr(45) + '\070') in roI3spqORKae(STygsxjvcnha, roI3spqORKae(ES5oEprVxulp(b'\x96=\xf3m\x96\xdf=\xc4\xe7\xf4\x83\xfd'), chr(100) + '\145' + chr(0b1100011) + chr(0b111011 + 0o64) + '\144' + chr(101))(chr(117) + chr(116) + chr(4326 - 4224) + chr(0b101101) + chr(0b111000))):
(rm1uRQGSygF4, maMDvHzsQ6IR) = (STygsxjvcnha[roI3spqORKae(ES5oEprVxulp(b'\xb5i\xbaX\xa9\xd7\x00'), chr(100) + chr(0b111000 + 0o55) + '\x63' + '\157' + '\x64' + chr(101))(chr(0b1110101) + '\x74' + chr(102) + chr(249 - 204) + chr(0b111000))].notnull(), STygsxjvcnha[roI3spqORKae(ES5oEprVxulp(b'\xb5i\xbaX\xa9\xd9\x1a'), chr(3443 - 3343) + chr(657 - 556) + '\143' + '\x6f' + chr(100) + chr(0b110011 + 0o62))(chr(0b1110101) + '\x74' + chr(2156 - 2054) + chr(45) + chr(0b100110 + 0o22))].notnull())
else:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xada\xbeo\xac\xd8\x13\xd1\xa7\xd6\xcf\xfd[t\xfa'), chr(0b100 + 0o140) + chr(0b1100101) + '\143' + chr(2729 - 2618) + chr(0b1011100 + 0o10) + chr(101))('\x75' + '\x74' + chr(0b1100110) + '\055' + '\x38'))
roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\x99{\xb8m\xa6\xe38\xc0\xa0\xca\xae\xb5'), chr(0b10110 + 0o116) + chr(0b1100101) + '\143' + '\x6f' + chr(100) + '\145')(chr(0b100 + 0o161) + '\164' + '\146' + chr(45) + '\x38'))()
DcqRVwpmRC8n = STygsxjvcnha[rm1uRQGSygF4 & maMDvHzsQ6IR]
if nKUAs3HG0RP8 and roI3spqORKae(ES5oEprVxulp(b'\xa7g\xb8X\xb1\xdf\x18\x85\x8c\xda\x80\xffE~\xed\x97\x8b9\xaa'), '\x64' + chr(9711 - 9610) + '\x63' + chr(758 - 647) + chr(100) + '\145')('\165' + '\x74' + chr(102) + chr(220 - 175) + chr(56)) in roI3spqORKae(DcqRVwpmRC8n, roI3spqORKae(ES5oEprVxulp(b'\x96=\xf3m\x96\xdf=\xc4\xe7\xf4\x83\xfd'), chr(0b111001 + 0o53) + chr(0b1100101) + '\143' + chr(2696 - 2585) + chr(100) + chr(0b1100101))(chr(0b1110101) + '\164' + '\x66' + chr(0b101101 + 0o0) + chr(2198 - 2142))):
DcqRVwpmRC8n = DcqRVwpmRC8n[DcqRVwpmRC8n[roI3spqORKae(ES5oEprVxulp(b'\xa7g\xb8X\xb1\xdf\x18\x85\x8c\xda\x80\xffE~\xed\x97\x8b9\xaa'), chr(100) + chr(101) + '\143' + '\157' + chr(100) + chr(0b1100101))('\x75' + '\x74' + chr(0b101100 + 0o72) + chr(45) + '\x38')] == nKUAs3HG0RP8]
c7RydVE5Qw9u = DcqRVwpmRC8n[roI3spqORKae(ES5oEprVxulp(b'\xafa\xa9f\xb1\xdf\x1b\x9f'), chr(100) + chr(0b1100101) + chr(0b1000000 + 0o43) + chr(111) + '\x64' + chr(7415 - 7314))('\x75' + chr(7487 - 7371) + chr(102) + '\055' + '\070')].dropna().G3de2eWQaS0D()
if ftfygxgFas5X(c7RydVE5Qw9u):
y87dwGy_Qoj4 = roI3spqORKae(ES5oEprVxulp(b'\xf9'), chr(407 - 307) + chr(101) + chr(0b1100011) + '\x6f' + chr(2852 - 2752) + chr(0b111110 + 0o47))(chr(0b1110101) + chr(10022 - 9906) + chr(0b1010111 + 0o17) + '\x2d' + chr(0b111000)).Y4yM9BcfTCNq(DcqRVwpmRC8n[roI3spqORKae(ES5oEprVxulp(b'\xafa\xa9f\xb1\xdf\x1b\x9f'), chr(100) + chr(0b10000 + 0o125) + chr(0b1100011) + chr(144 - 33) + chr(2068 - 1968) + chr(0b100010 + 0o103))('\165' + chr(0b1110100) + chr(8824 - 8722) + '\055' + chr(0b1101 + 0o53))].G3de2eWQaS0D())
else:
y87dwGy_Qoj4 = roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + '\145' + chr(0b1100000 + 0o3) + chr(111) + chr(2260 - 2160) + chr(101))(chr(0b1110101) + '\x74' + chr(102) + '\055' + '\070')
if roI3spqORKae(ES5oEprVxulp(b'\xa2i\xaf'), '\144' + chr(101) + '\143' + chr(0b1110 + 0o141) + chr(9413 - 9313) + chr(0b1100101))(chr(0b1110101) + '\x74' + '\146' + chr(45) + chr(0b111000)) in roI3spqORKae(DcqRVwpmRC8n, roI3spqORKae(ES5oEprVxulp(b'\x96=\xf3m\x96\xdf=\xc4\xe7\xf4\x83\xfd'), chr(0b1011111 + 0o5) + chr(272 - 171) + chr(0b1100011) + chr(10205 - 10094) + chr(4812 - 4712) + chr(0b1000010 + 0o43))(chr(0b1110101) + chr(0b11010 + 0o132) + chr(0b1000101 + 0o41) + '\055' + chr(0b111000))) and rJXkqb7BR5II == nzTpIcepk0o8(chr(48) + chr(0b100001 + 0o116) + chr(2259 - 2210), 8):
_olqupWMJO4N = DcqRVwpmRC8n[roI3spqORKae(ES5oEprVxulp(b'\xa2i\xaf'), chr(100) + '\x65' + chr(1179 - 1080) + chr(0b111010 + 0o65) + '\x64' + '\145')(chr(0b1110101 + 0o0) + chr(548 - 432) + chr(0b10010 + 0o124) + chr(0b1111 + 0o36) + chr(0b111000))].G3de2eWQaS0D()
for (w5vcgUzFN3bF, o6UWUO21mH25) in roI3spqORKae(DcqRVwpmRC8n, roI3spqORKae(ES5oEprVxulp(b'\xaaz\xafu\xb7\xd9\x03\x82'), chr(0b1100100) + '\x65' + '\x63' + '\x6f' + chr(0b1100100) + chr(0b1100101))('\x75' + chr(0b1110100) + chr(0b1100110) + chr(45) + chr(56)))():
try:
(Wp2Umairw0XS, OSV4Uwkhpwk6) = (jLW6pRf2DSRk(o6UWUO21mH25[roI3spqORKae(ES5oEprVxulp(b'\xb5i\xbaX\xa9\xd7\x00'), chr(0b1100100) + chr(1748 - 1647) + '\x63' + chr(0b1001010 + 0o45) + chr(0b1100100) + chr(0b1100101))('\x75' + '\164' + chr(0b1100110) + chr(1101 - 1056) + '\x38')]), jLW6pRf2DSRk(o6UWUO21mH25[roI3spqORKae(ES5oEprVxulp(b'\xb5i\xbaX\xa9\xd9\x1a'), chr(100) + chr(101) + '\143' + chr(6266 - 6155) + chr(6813 - 6713) + '\145')('\165' + '\x74' + chr(0b10110 + 0o120) + '\x2d' + chr(0b100001 + 0o27))]))
except WbNHlDKpyPtQ:
Wp2Umairw0XS = jLW6pRf2DSRk(N9zlRy29S1SS(o6UWUO21mH25[roI3spqORKae(ES5oEprVxulp(b'\xb5i\xbaX\xa9\xd7\x00'), '\x64' + '\145' + chr(1413 - 1314) + '\x6f' + chr(100) + chr(101))(chr(0b1001011 + 0o52) + '\164' + chr(2323 - 2221) + '\055' + chr(3130 - 3074))]).replace(roI3spqORKae(ES5oEprVxulp(b'\xe3'), chr(0b101010 + 0o72) + chr(101) + '\143' + chr(10174 - 10063) + '\x64' + chr(0b1100101))('\x75' + '\x74' + '\x66' + chr(0b11000 + 0o25) + chr(0b110110 + 0o2)), roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(0b111000 + 0o55) + chr(99) + chr(2618 - 2507) + chr(100) + '\x65')('\165' + chr(0b1110100) + chr(0b1100110) + chr(0b100010 + 0o13) + chr(56))).kvuEMq_gEAUS({nzTpIcepk0o8('\x30' + '\x6f' + '\x35' + chr(0b101101 + 0o7), 0o10): roI3spqORKae(ES5oEprVxulp(b'\xed'), chr(0b1100100) + chr(8064 - 7963) + '\x63' + chr(0b1101111) + chr(100) + '\145')('\x75' + chr(5825 - 5709) + chr(6264 - 6162) + '\055' + '\x38'), nzTpIcepk0o8(chr(0b101110 + 0o2) + chr(0b1101111) + chr(0b110010) + chr(0b110100) + chr(0b100010 + 0o16), 0o10): None, nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b0 + 0o62) + chr(829 - 780) + '\x30' + '\x32' + chr(2126 - 2076), 47381 - 47373): roI3spqORKae(ES5oEprVxulp(b'\xee'), '\x64' + chr(0b1100101) + '\x63' + chr(111) + '\x64' + chr(0b101010 + 0o73))(chr(4271 - 4154) + chr(0b1111 + 0o145) + chr(0b0 + 0o146) + chr(0b101101) + chr(56))}))
OSV4Uwkhpwk6 = jLW6pRf2DSRk(N9zlRy29S1SS(o6UWUO21mH25[roI3spqORKae(ES5oEprVxulp(b'\xb5i\xbaX\xa9\xd9\x1a'), '\144' + chr(4110 - 4009) + chr(99) + chr(0b1000001 + 0o56) + '\144' + '\145')(chr(3131 - 3014) + '\x74' + '\x66' + chr(0b101101) + '\x38')]).replace(roI3spqORKae(ES5oEprVxulp(b'\xe3'), chr(100) + chr(0b1100001 + 0o4) + chr(99) + chr(111) + chr(100) + chr(1667 - 1566))(chr(117) + chr(0b1110100) + chr(0b1100110) + '\055' + '\x38'), roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(0b1100101) + '\143' + chr(0b1101111) + '\x64' + chr(0b1010001 + 0o24))(chr(0b1010000 + 0o45) + chr(0b111000 + 0o74) + chr(102) + '\055' + chr(56))).kvuEMq_gEAUS({nzTpIcepk0o8(chr(0b110000 + 0o0) + '\x6f' + '\x35' + chr(2365 - 2313), 8): roI3spqORKae(ES5oEprVxulp(b'\xed'), chr(4173 - 4073) + '\x65' + '\143' + '\x6f' + '\144' + chr(101))('\x75' + '\x74' + chr(0b1100110) + chr(896 - 851) + chr(0b111000)), nzTpIcepk0o8(chr(2054 - 2006) + '\157' + chr(0b110010) + chr(52) + chr(0b110000), 8): None, nzTpIcepk0o8('\060' + '\157' + chr(50) + chr(0b110001) + '\x30' + chr(0b100000 + 0o22) + chr(0b11000 + 0o32), 8): roI3spqORKae(ES5oEprVxulp(b'\xee'), '\x64' + '\x65' + chr(3526 - 3427) + '\x6f' + chr(0b1100100) + chr(6199 - 6098))(chr(117) + '\x74' + chr(102) + '\055' + chr(1051 - 995))}))
if wusdF6YTZKJ3 == nzTpIcepk0o8('\x30' + chr(111) + chr(49), 8):
roI3spqORKae(s1mrpKIq1Wpy, roI3spqORKae(ES5oEprVxulp(b'\x8bZ\x993\xbd\xd13\x9e\xb9\xd6\xba\xb8'), chr(4565 - 4465) + '\145' + '\143' + chr(111) + chr(0b1100100) + chr(8260 - 8159))(chr(0b1110100 + 0o1) + chr(12338 - 12222) + '\146' + chr(45) + chr(56)))(-Wp2Umairw0XS)
OSV4Uwkhpwk6 = OSV4Uwkhpwk6 + 180.0
if OSV4Uwkhpwk6 > nzTpIcepk0o8(chr(0b11 + 0o55) + chr(0b1101111) + chr(1124 - 1071) + chr(0b101101 + 0o10) + '\x30', 0o10):
OSV4Uwkhpwk6 = OSV4Uwkhpwk6 - 360.0
roI3spqORKae(_3zJfzXGVnPJ, roI3spqORKae(ES5oEprVxulp(b'\x8bZ\x993\xbd\xd13\x9e\xb9\xd6\xba\xb8'), '\x64' + chr(7370 - 7269) + chr(0b1100011) + '\157' + '\144' + '\x65')(chr(309 - 192) + '\164' + chr(2781 - 2679) + '\055' + '\x38'))(OSV4Uwkhpwk6)
elif LeuPzfhzM9U8 == nzTpIcepk0o8(chr(2292 - 2244) + chr(0b110011 + 0o74) + chr(0b1101 + 0o43), 8):
roI3spqORKae(s1mrpKIq1Wpy, roI3spqORKae(ES5oEprVxulp(b'\x8bZ\x993\xbd\xd13\x9e\xb9\xd6\xba\xb8'), chr(2656 - 2556) + chr(0b1100101) + chr(0b1011011 + 0o10) + '\157' + chr(603 - 503) + chr(0b100101 + 0o100))('\165' + chr(8814 - 8698) + chr(0b111110 + 0o50) + chr(769 - 724) + '\070'))(Wp2Umairw0XS)
roI3spqORKae(_3zJfzXGVnPJ, roI3spqORKae(ES5oEprVxulp(b'\x8bZ\x993\xbd\xd13\x9e\xb9\xd6\xba\xb8'), chr(100) + '\145' + chr(0b11100 + 0o107) + chr(6020 - 5909) + chr(100) + chr(101))(chr(0b1 + 0o164) + chr(7343 - 7227) + '\146' + '\055' + '\x38'))(OSV4Uwkhpwk6)
elif LeuPzfhzM9U8 == nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b110001), 8):
if Wp2Umairw0XS < nzTpIcepk0o8(chr(882 - 834) + chr(0b1001110 + 0o41) + chr(0b110000), 8):
roI3spqORKae(cM3f9IUfxzKT, roI3spqORKae(ES5oEprVxulp(b'\x8bZ\x993\xbd\xd13\x9e\xb9\xd6\xba\xb8'), chr(0b1100000 + 0o4) + '\145' + chr(99) + chr(0b1101111) + chr(3482 - 3382) + chr(0b1100101))('\x75' + chr(116) + chr(102) + chr(0b101101) + '\070'))(-Wp2Umairw0XS)
OSV4Uwkhpwk6 = OSV4Uwkhpwk6 + 180.0
if OSV4Uwkhpwk6 > nzTpIcepk0o8(chr(48) + '\157' + chr(0b100010 + 0o23) + '\065' + chr(388 - 340), 8):
OSV4Uwkhpwk6 = OSV4Uwkhpwk6 - nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x35' + chr(53) + chr(0b110000), 8)
roI3spqORKae(grJe2AcEoma_, roI3spqORKae(ES5oEprVxulp(b'\x8bZ\x993\xbd\xd13\x9e\xb9\xd6\xba\xb8'), chr(2517 - 2417) + chr(0b11011 + 0o112) + chr(5604 - 5505) + chr(5508 - 5397) + chr(0b1000101 + 0o37) + '\x65')(chr(0b111000 + 0o75) + chr(934 - 818) + '\x66' + chr(0b101101) + chr(2495 - 2439)))(OSV4Uwkhpwk6)
else:
roI3spqORKae(s1mrpKIq1Wpy, roI3spqORKae(ES5oEprVxulp(b'\x8bZ\x993\xbd\xd13\x9e\xb9\xd6\xba\xb8'), chr(3766 - 3666) + '\x65' + chr(0b1100011) + chr(9509 - 9398) + chr(0b1100100) + chr(101))(chr(117) + chr(9935 - 9819) + chr(102) + chr(0b101101) + chr(56)))(Wp2Umairw0XS)
roI3spqORKae(_3zJfzXGVnPJ, roI3spqORKae(ES5oEprVxulp(b'\x8bZ\x993\xbd\xd13\x9e\xb9\xd6\xba\xb8'), '\x64' + '\145' + chr(4186 - 4087) + '\157' + '\x64' + chr(2104 - 2003))('\165' + chr(0b111001 + 0o73) + '\x66' + chr(860 - 815) + chr(2209 - 2153)))(OSV4Uwkhpwk6)
dQIwqFqsHkB0 = []
roI3spqORKae(dQIwqFqsHkB0, roI3spqORKae(ES5oEprVxulp(b'\x8bZ\x993\xbd\xd13\x9e\xb9\xd6\xba\xb8'), chr(0b1011001 + 0o13) + chr(0b1100101) + '\x63' + chr(6562 - 6451) + chr(0b1010111 + 0o15) + chr(4461 - 4360))(chr(10321 - 10204) + chr(5982 - 5866) + '\146' + '\x2d' + chr(0b111000)))(OSV4Uwkhpwk6)
roI3spqORKae(dQIwqFqsHkB0, roI3spqORKae(ES5oEprVxulp(b'\x8bZ\x993\xbd\xd13\x9e\xb9\xd6\xba\xb8'), '\144' + '\x65' + chr(0b1100011) + chr(0b1101111) + chr(6052 - 5952) + chr(0b1100101))(chr(0b110000 + 0o105) + '\164' + chr(0b101 + 0o141) + chr(0b11010 + 0o23) + chr(0b111000)))(Wp2Umairw0XS)
(CYatfRWMASzt, mcpiKpsmI_9t) = (roI3spqORKae(ES5oEprVxulp(b''), '\x64' + '\145' + '\143' + chr(0b1101111) + chr(100) + chr(101))(chr(117) + chr(0b1110100) + chr(0b1100000 + 0o6) + chr(1390 - 1345) + chr(0b10000 + 0o50)), roI3spqORKae(ES5oEprVxulp(b''), chr(4337 - 4237) + chr(0b1100101) + chr(99) + chr(0b1101111) + '\144' + '\145')(chr(117) + chr(0b1110100) + chr(2207 - 2105) + chr(391 - 346) + chr(0b11001 + 0o37)))
if roI3spqORKae(ES5oEprVxulp(b'\xb5i\xbaX\xa1\xdb'), '\144' + chr(6490 - 6389) + chr(8601 - 8502) + '\157' + chr(100) + '\145')(chr(117) + chr(0b1011000 + 0o34) + chr(0b1100010 + 0o4) + '\x2d' + chr(56)) in H4NoA26ON7iG(roI3spqORKae(o6UWUO21mH25, roI3spqORKae(ES5oEprVxulp(b'\xa8k\xb3t'), chr(0b1100100) + '\145' + '\x63' + '\x6f' + chr(0b1011011 + 0o11) + chr(0b1100101))(chr(117) + '\x74' + '\146' + chr(0b101101) + '\070'))()) and o6UWUO21mH25[roI3spqORKae(ES5oEprVxulp(b'\xb5i\xbaX\xa1\xdb'), chr(100) + chr(349 - 248) + chr(0b1100011) + chr(0b1101111) + chr(100) + chr(101))(chr(117) + '\164' + chr(0b1100110) + chr(0b100011 + 0o12) + chr(56))]:
CYatfRWMASzt = jLW6pRf2DSRk(o6UWUO21mH25[roI3spqORKae(ES5oEprVxulp(b'\xb5i\xbaX\xa1\xdb'), chr(0b1100100) + chr(8792 - 8691) + '\x63' + chr(111) + chr(0b1001 + 0o133) + '\x65')('\x75' + chr(0b1100000 + 0o24) + '\x66' + chr(0b101101) + chr(0b111000))])
if roI3spqORKae(ES5oEprVxulp(b'\xb5i\xbaX\xa1\xc6'), chr(3309 - 3209) + chr(0b1100101) + chr(0b1100011) + '\157' + '\x64' + '\145')(chr(11827 - 11710) + '\164' + chr(0b1100110) + '\x2d' + '\x38') in H4NoA26ON7iG(roI3spqORKae(o6UWUO21mH25, roI3spqORKae(ES5oEprVxulp(b'\xa8k\xb3t'), '\144' + '\x65' + '\x63' + chr(0b1101111) + '\x64' + '\x65')('\x75' + chr(0b110010 + 0o102) + chr(102) + chr(203 - 158) + chr(0b101 + 0o63)))()) and o6UWUO21mH25[roI3spqORKae(ES5oEprVxulp(b'\xb5i\xbaX\xa1\xc6'), chr(0b1100100) + chr(4824 - 4723) + chr(0b1100011) + chr(0b1101111) + chr(100) + chr(0b1100 + 0o131))('\x75' + chr(13302 - 13186) + chr(0b1000110 + 0o40) + chr(1426 - 1381) + '\x38')]:
mcpiKpsmI_9t = jLW6pRf2DSRk(o6UWUO21mH25[roI3spqORKae(ES5oEprVxulp(b'\xb5i\xbaX\xa1\xc6'), chr(100) + chr(0b1100101) + chr(0b1011011 + 0o10) + chr(4210 - 4099) + chr(0b1010 + 0o132) + chr(0b1100101))(chr(0b1110101) + chr(0b110011 + 0o101) + chr(0b1100110) + chr(268 - 223) + chr(56))])
if roI3spqORKae(ES5oEprVxulp(b'\xb5i\xbaX\xa4\xda\x04\x99\xb2\x80\xda'), chr(100) + chr(0b1100101) + chr(99) + chr(960 - 849) + chr(0b110001 + 0o63) + '\145')(chr(0b1110101) + '\x74' + chr(102) + chr(1412 - 1367) + chr(478 - 422)) in H4NoA26ON7iG(roI3spqORKae(o6UWUO21mH25, roI3spqORKae(ES5oEprVxulp(b'\xa8k\xb3t'), '\144' + chr(630 - 529) + '\143' + chr(111) + '\x64' + chr(101))('\x75' + '\164' + chr(0b1100110) + chr(45) + '\x38'))()) and (o6UWUO21mH25[roI3spqORKae(ES5oEprVxulp(b'\xb5i\xbaX\xa4\xda\x04\x99\xb2\x80\xda'), chr(605 - 505) + chr(101) + chr(0b1010011 + 0o20) + chr(0b1101111) + '\x64' + chr(0b1100101))(chr(0b1110101) + chr(4634 - 4518) + chr(0b1000100 + 0o42) + chr(0b101101) + '\x38')] or o6UWUO21mH25[roI3spqORKae(ES5oEprVxulp(b'\xb5i\xbaX\xa4\xda\x04\x99\xb2\x80\xda'), chr(536 - 436) + chr(0b1100101) + chr(0b1100011) + '\157' + '\x64' + '\x65')(chr(0b1011101 + 0o30) + '\x74' + chr(7237 - 7135) + chr(45) + chr(0b111000))] == nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\060', 8)):
(CYatfRWMASzt, mcpiKpsmI_9t) = (jLW6pRf2DSRk(o6UWUO21mH25[roI3spqORKae(ES5oEprVxulp(b'\xb5i\xbaX\xa4\xda\x04\x99\xb2\x80\xda'), '\x64' + chr(101) + chr(522 - 423) + '\x6f' + chr(7646 - 7546) + chr(0b1100101))('\x75' + '\164' + '\x66' + chr(0b1101 + 0o40) + '\x38')]), jLW6pRf2DSRk(o6UWUO21mH25[roI3spqORKae(ES5oEprVxulp(b'\xb5i\xbaX\xa4\xda\x04\x99\xb2\x80\xda'), chr(100) + '\x65' + chr(0b1100011) + '\157' + '\x64' + '\x65')('\x75' + chr(0b1110100) + chr(0b101000 + 0o76) + chr(781 - 736) + '\070')]))
if CYatfRWMASzt and mcpiKpsmI_9t:
dQIwqFqsHkB0 = []
roI3spqORKae(dQIwqFqsHkB0, roI3spqORKae(ES5oEprVxulp(b'\x8bZ\x993\xbd\xd13\x9e\xb9\xd6\xba\xb8'), '\x64' + chr(0b100101 + 0o100) + chr(0b1011000 + 0o13) + '\157' + chr(100) + chr(101))(chr(0b1110101) + '\x74' + chr(0b11 + 0o143) + chr(570 - 525) + chr(0b111000)))(_3zJfzXGVnPJ[-nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b101011 + 0o6), 8)])
roI3spqORKae(dQIwqFqsHkB0, roI3spqORKae(ES5oEprVxulp(b'\x8bZ\x993\xbd\xd13\x9e\xb9\xd6\xba\xb8'), '\144' + chr(0b1100101) + chr(0b110110 + 0o55) + '\157' + '\144' + chr(0b1100101))(chr(0b1110101) + '\x74' + '\x66' + chr(45) + chr(56)))(s1mrpKIq1Wpy[-nzTpIcepk0o8(chr(0b110000) + chr(0b1100101 + 0o12) + '\x31', 8)])
roI3spqORKae(dQIwqFqsHkB0, roI3spqORKae(ES5oEprVxulp(b'\x8bZ\x993\xbd\xd13\x9e\xb9\xd6\xba\xb8'), chr(2884 - 2784) + chr(1838 - 1737) + chr(99) + '\157' + chr(100) + chr(0b1000011 + 0o42))(chr(117) + '\x74' + chr(102) + chr(45) + '\x38'))(CYatfRWMASzt)
roI3spqORKae(dQIwqFqsHkB0, roI3spqORKae(ES5oEprVxulp(b'\x8bZ\x993\xbd\xd13\x9e\xb9\xd6\xba\xb8'), chr(100) + '\x65' + chr(0b1100011) + chr(5118 - 5007) + chr(5970 - 5870) + chr(4633 - 4532))(chr(0b1001111 + 0o46) + chr(0b110111 + 0o75) + chr(0b110111 + 0o57) + chr(45) + chr(56)))(_3zJfzXGVnPJ[-nzTpIcepk0o8(chr(48) + '\157' + '\061', 8)])
try:
jbliWRK9qZEH = zQBGwUT7UU8L(s1mrpKIq1Wpy[-nzTpIcepk0o8(chr(0b110000) + '\157' + chr(49), 8)]) / s1mrpKIq1Wpy[-nzTpIcepk0o8(chr(48) + '\157' + chr(0b101110 + 0o3), 8)]
except GA4ANb_Tki5v:
jbliWRK9qZEH = nzTpIcepk0o8('\060' + '\x6f' + '\x31', 8)
roI3spqORKae(dQIwqFqsHkB0, roI3spqORKae(ES5oEprVxulp(b'\x8bZ\x993\xbd\xd13\x9e\xb9\xd6\xba\xb8'), '\144' + chr(7770 - 7669) + chr(99) + '\157' + chr(100) + chr(1819 - 1718))('\x75' + chr(0b1110100) + chr(0b1100110) + '\x2d' + '\x38'))(s1mrpKIq1Wpy[-nzTpIcepk0o8('\060' + chr(3387 - 3276) + chr(0b110001), 8)] - jbliWRK9qZEH * 90.0)
roI3spqORKae(dQIwqFqsHkB0, roI3spqORKae(ES5oEprVxulp(b'\x8bZ\x993\xbd\xd13\x9e\xb9\xd6\xba\xb8'), chr(100) + '\145' + chr(4136 - 4037) + chr(111) + chr(0b1100100) + '\x65')(chr(2136 - 2019) + chr(8663 - 8547) + chr(9141 - 9039) + '\055' + '\x38'))(mcpiKpsmI_9t)
roI3spqORKae(dQIwqFqsHkB0, roI3spqORKae(ES5oEprVxulp(b'\x8bZ\x993\xbd\xd13\x9e\xb9\xd6\xba\xb8'), chr(0b1100100) + chr(0b1100101) + chr(0b1100011) + chr(0b1101 + 0o142) + chr(100) + '\x65')('\165' + '\x74' + '\x66' + chr(1958 - 1913) + chr(0b111000)))(_3zJfzXGVnPJ[-nzTpIcepk0o8('\x30' + '\x6f' + '\x31', 8)] + 90.0)
roI3spqORKae(dQIwqFqsHkB0, roI3spqORKae(ES5oEprVxulp(b'\x8bZ\x993\xbd\xd13\x9e\xb9\xd6\xba\xb8'), '\x64' + chr(0b1100101) + chr(0b1001010 + 0o31) + chr(111) + '\x64' + '\145')(chr(0b1110101) + chr(4008 - 3892) + chr(102) + '\055' + '\070'))(0.0)
roI3spqORKae(mFUklODHEk5L, roI3spqORKae(ES5oEprVxulp(b'\x8bZ\x993\xbd\xd13\x9e\xb9\xd6\xba\xb8'), '\144' + chr(0b1100101) + '\x63' + chr(0b1101111) + chr(0b1100100) + chr(0b1100101))(chr(9499 - 9382) + chr(0b1110100) + chr(102) + '\x2d' + chr(56)))(dQIwqFqsHkB0)
y87dwGy_Qoj4 = y87dwGy_Qoj4.kdIDrcwZTCs5(roI3spqORKae(ES5oEprVxulp(b'\xf9'), chr(3954 - 3854) + '\x65' + '\x63' + chr(6866 - 6755) + chr(1762 - 1662) + chr(0b1100101))(chr(117) + chr(1068 - 952) + chr(102) + '\x2d' + chr(948 - 892)))
KS0fj7r4N6zr = {roI3spqORKae(ES5oEprVxulp(b'\xafo\xbej\xac\xd8'), chr(0b111000 + 0o54) + chr(363 - 262) + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + chr(0b1100101))('\x75' + '\164' + '\x66' + chr(45) + chr(56)): -nzTpIcepk0o8(chr(0b11000 + 0o30) + chr(0b100011 + 0o114) + chr(49) + chr(51) + chr(0b110010), ord("\x08")), roI3spqORKae(ES5oEprVxulp(b'\xafo\xbej\xa4\xce'), '\x64' + chr(0b1100101) + '\x63' + chr(111) + chr(0b10010 + 0o122) + '\x65')(chr(117) + chr(0b111010 + 0o72) + chr(2356 - 2254) + chr(0b100111 + 0o6) + chr(0b111000)): nzTpIcepk0o8(chr(0b1000 + 0o50) + chr(0b1101111) + chr(2160 - 2111) + '\x33' + '\062', 8), roI3spqORKae(ES5oEprVxulp(b'\xafa\xa4j\xac\xd8'), chr(100) + chr(326 - 225) + chr(0b1100011) + chr(0b1101111) + '\144' + '\145')('\165' + chr(11196 - 11080) + chr(0b100010 + 0o104) + '\x2d' + chr(0b111000)): 0.0, roI3spqORKae(ES5oEprVxulp(b'\xafa\xa4j\xa4\xce'), chr(0b1100100) + '\x65' + chr(0b1100011) + chr(0b1000010 + 0o55) + '\x64' + chr(101))('\x75' + chr(0b1110100) + chr(5346 - 5244) + chr(0b10101 + 0o30) + chr(0b111000)): 360.0, roI3spqORKae(ES5oEprVxulp(b'\xafo\xbeX\xf5'), chr(3536 - 3436) + chr(101) + chr(99) + chr(0b1010 + 0o145) + chr(5884 - 5784) + chr(0b1100101))(chr(11942 - 11825) + '\x74' + chr(102) + chr(0b11100 + 0o21) + chr(758 - 702)): vvGqd7Fkqgfw, roI3spqORKae(ES5oEprVxulp(b'\xafa\xa4X\xf5'), chr(100) + chr(101) + chr(0b1000111 + 0o34) + '\157' + chr(100) + '\145')(chr(0b1010111 + 0o36) + '\x74' + chr(0b1100110) + chr(0b11000 + 0o25) + chr(56)): E7x0t9AdiILk, roI3spqORKae(ES5oEprVxulp(b'\xb3|\xa5m'), chr(100) + '\145' + chr(3657 - 3558) + chr(111) + '\144' + chr(101))('\x75' + chr(0b1110100) + chr(6258 - 6156) + '\055' + chr(56)): yNS8IgQS0ymV, roI3spqORKae(ES5oEprVxulp(b'\xb0w\xa7'), chr(1939 - 1839) + '\145' + chr(5399 - 5300) + chr(1106 - 995) + '\144' + chr(0b1011011 + 0o12))(chr(0b1001101 + 0o50) + '\x74' + chr(0b10111 + 0o117) + chr(0b100010 + 0o13) + chr(56)): roI3spqORKae(ES5oEprVxulp(b'\xa1}'), chr(0b1001111 + 0o25) + chr(4403 - 4302) + chr(9307 - 9208) + '\x6f' + chr(100) + chr(8804 - 8703))('\165' + '\x74' + chr(102) + chr(45) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xb0w\xa7t\xac\xcc\x11'), chr(0b111001 + 0o53) + chr(9531 - 9430) + chr(0b1100011) + '\x6f' + chr(0b10 + 0o142) + chr(101))('\165' + '\164' + chr(0b1100110 + 0o0) + chr(1541 - 1496) + chr(56)): nzTpIcepk0o8('\x30' + chr(0b100100 + 0o113) + '\x33', 8), roI3spqORKae(ES5oEprVxulp(b'\xb3b\xbe`\xb7\xdf\x10'), '\144' + chr(3641 - 3540) + '\x63' + chr(3816 - 3705) + chr(0b1100100) + chr(2137 - 2036))(chr(5096 - 4979) + '\164' + chr(0b1100110) + chr(0b11 + 0o52) + chr(822 - 766)): nzTpIcepk0o8(chr(926 - 878) + '\x6f' + chr(48), 8), roI3spqORKae(ES5oEprVxulp(b'\xb1k\xb9'), '\144' + '\x65' + chr(0b1100011) + chr(0b110001 + 0o76) + chr(0b100000 + 0o104) + '\x65')(chr(0b1110101) + chr(3724 - 3608) + chr(5230 - 5128) + '\x2d' + chr(1567 - 1511)): _XdQFJpnzJor, roI3spqORKae(ES5oEprVxulp(b'\xa1a\xbfi\xa1\xdf\x1a\x96\xbf\xd8\x9b'), '\144' + chr(267 - 166) + chr(9046 - 8947) + chr(10388 - 10277) + chr(502 - 402) + chr(101))(chr(117) + chr(8012 - 7896) + chr(0b1100110) + chr(757 - 712) + chr(1081 - 1025)): 0.0}
KS0fj7r4N6zr[roI3spqORKae(ES5oEprVxulp(b'\xa7k\xbef\xac\xda\x07'), '\144' + chr(0b111111 + 0o46) + chr(0b1100011) + '\157' + chr(0b1011101 + 0o7) + '\145')(chr(0b1110101) + '\164' + chr(0b10001 + 0o125) + '\x2d' + chr(0b111000))] = {roI3spqORKae(ES5oEprVxulp(b'\xa0a\xabt\xb1\xc5'), '\x64' + chr(0b100101 + 0o100) + '\x63' + chr(111) + chr(0b1100100) + '\x65')('\165' + chr(12417 - 12301) + chr(7554 - 7452) + '\055' + '\070'): nzTpIcepk0o8('\x30' + chr(7035 - 6924) + chr(111 - 62), 8), roI3spqORKae(ES5oEprVxulp(b'\xb1g\xbcb\xb7\xc5'), chr(4534 - 4434) + '\x65' + chr(0b1000011 + 0o40) + chr(111) + chr(9322 - 9222) + '\x65')(chr(0b1110101) + chr(0b101 + 0o157) + chr(0b11000 + 0o116) + '\x2d' + chr(0b111000)): nzTpIcepk0o8('\060' + '\157' + '\060', 8), roI3spqORKae(ES5oEprVxulp(b'\xb0z\xabs\xa0\xc5'), chr(0b1100100) + chr(101) + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + chr(101))('\x75' + '\x74' + chr(0b1100110) + '\055' + chr(56)): nzTpIcepk0o8(chr(48) + chr(111) + chr(0b100001 + 0o17), 8), roI3spqORKae(ES5oEprVxulp(b'\xa0a\xbfi\xb1\xc4\x1d\x94\xa0'), chr(0b1100100) + chr(0b1000100 + 0o41) + chr(99) + '\157' + '\144' + chr(7574 - 7473))(chr(2753 - 2636) + '\x74' + chr(3337 - 3235) + '\055' + chr(56)): nzTpIcepk0o8(chr(685 - 637) + '\x6f' + chr(48), 8), roI3spqORKae(ES5oEprVxulp(b'\xacm\xaff\xab'), chr(100) + chr(0b1100101) + '\143' + chr(111) + chr(1681 - 1581) + chr(6529 - 6428))(chr(1485 - 1368) + '\x74' + chr(102) + '\x2d' + chr(1138 - 1082)): nzTpIcepk0o8(chr(48) + chr(0b1011110 + 0o21) + chr(0b110001), 8), roI3spqORKae(ES5oEprVxulp(b'\xa5o\xa4d\xbc'), '\x64' + '\x65' + chr(0b1100011) + chr(6655 - 6544) + '\x64' + '\145')(chr(117) + chr(0b1110100) + chr(102) + chr(45) + chr(0b101010 + 0o16)): vVMRKIXM85FE}
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xb3b\xa5s\x9a\xdb\x15\x81'), chr(6598 - 6498) + chr(0b1100101) + chr(0b111111 + 0o44) + '\x6f' + chr(153 - 53) + chr(101))('\x75' + chr(3972 - 3856) + '\x66' + '\055' + '\x38'))(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'\xaeo\xba'), '\144' + chr(0b111101 + 0o50) + chr(0b100000 + 0o103) + chr(0b1011100 + 0o23) + '\144' + chr(0b101101 + 0o70))(chr(117) + '\164' + chr(0b110010 + 0o64) + chr(0b101101) + '\x38')], [90.0], [0.0], KS0fj7r4N6zr)
KS0fj7r4N6zr[roI3spqORKae(ES5oEprVxulp(b'\xb3b\xbe`\xb7\xdf\x10'), chr(100) + chr(0b11000 + 0o115) + chr(0b1100011) + '\157' + '\x64' + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + '\x66' + chr(0b11 + 0o52) + chr(120 - 64))] = -nzTpIcepk0o8('\060' + chr(9699 - 9588) + chr(49), 8)
KS0fj7r4N6zr[roI3spqORKae(ES5oEprVxulp(b'\xb0w\xa7'), '\x64' + chr(0b1000010 + 0o43) + chr(924 - 825) + chr(0b1101111) + chr(0b1100100) + chr(101))('\x75' + chr(4437 - 4321) + '\x66' + chr(0b100000 + 0o15) + chr(0b11001 + 0o37))] = ap75Y_eaMZLk
KS0fj7r4N6zr[roI3spqORKae(ES5oEprVxulp(b'\xb0w\xa7t\xac\xcc\x11'), chr(0b1100100) + chr(101) + chr(0b11000 + 0o113) + chr(7012 - 6901) + '\x64' + chr(8277 - 8176))(chr(9322 - 9205) + '\x74' + '\146' + chr(45) + chr(0b101110 + 0o12))] = e1HrJaQHACnl
if ftfygxgFas5X(_olqupWMJO4N) > nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110000), 8):
KS0fj7r4N6zr[roI3spqORKae(ES5oEprVxulp(b'\xado\xa7b\xb6'), chr(0b10001 + 0o123) + '\145' + '\143' + chr(10500 - 10389) + chr(0b1100100) + chr(0b1000001 + 0o44))('\x75' + chr(6231 - 6115) + chr(0b111111 + 0o47) + chr(0b101101) + chr(2490 - 2434))] = _olqupWMJO4N
if ftfygxgFas5X(s1mrpKIq1Wpy) > nzTpIcepk0o8(chr(48) + '\x6f' + chr(1708 - 1660), 8):
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xb3b\xa5s\x9a\xdb\x15\x81'), chr(100) + chr(2570 - 2469) + chr(0b1100011) + '\x6f' + chr(100) + chr(0b1000011 + 0o42))(chr(10540 - 10423) + chr(0b1110100) + chr(0b1100110) + chr(45) + chr(1369 - 1313)))(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'\xaeo\xba'), '\x64' + chr(0b1100101) + '\x63' + chr(0b1101111) + chr(100) + chr(101))(chr(10049 - 9932) + chr(0b1100 + 0o150) + chr(0b1100110) + chr(45) + chr(0b110 + 0o62))], s1mrpKIq1Wpy, _3zJfzXGVnPJ, KS0fj7r4N6zr)
KS0fj7r4N6zr[roI3spqORKae(ES5oEprVxulp(b'\xado\xa7b\xb6'), '\144' + chr(0b1100101) + chr(0b110001 + 0o62) + chr(111) + '\144' + chr(0b110101 + 0o60))('\x75' + '\x74' + chr(0b1100010 + 0o4) + chr(0b101101) + '\070')] = []
if ftfygxgFas5X(cM3f9IUfxzKT) > nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b100110 + 0o12), 8):
KS0fj7r4N6zr[roI3spqORKae(ES5oEprVxulp(b'\xb0w\xa7'), '\144' + '\145' + chr(0b1000 + 0o133) + chr(0b1101111) + '\144' + '\x65')(chr(117) + chr(116) + chr(102) + chr(1792 - 1747) + '\070')] = CUfpDqnTzOda
KS0fj7r4N6zr[roI3spqORKae(ES5oEprVxulp(b'\xb0w\xa7t\xac\xcc\x11'), chr(1585 - 1485) + '\x65' + chr(99) + chr(0b1101111) + chr(0b1100100) + chr(2096 - 1995))('\165' + chr(0b1110100) + chr(6520 - 6418) + '\x2d' + chr(0b111000))] = LdXagNqH2NY1
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xb3b\xa5s\x9a\xdb\x15\x81'), chr(2401 - 2301) + chr(101) + '\143' + '\x6f' + chr(2775 - 2675) + chr(5745 - 5644))(chr(0b1110101) + '\164' + chr(0b1100110) + chr(847 - 802) + chr(0b111000)))(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'\xaeo\xba'), chr(0b1011000 + 0o14) + '\x65' + '\143' + chr(0b1001000 + 0o47) + chr(0b1001 + 0o133) + chr(101))(chr(117) + '\164' + chr(0b1100110) + chr(959 - 914) + chr(2127 - 2071))], cM3f9IUfxzKT, grJe2AcEoma_, KS0fj7r4N6zr)
if not bxxuZm4I6LgY and (not roI3spqORKae(NsnRtbLAhqc_, roI3spqORKae(ES5oEprVxulp(b'\x8a]\x95P\x8c\xf8'), '\x64' + chr(101) + chr(2997 - 2898) + chr(111) + '\144' + chr(1152 - 1051))(chr(0b1110101) + chr(116) + chr(0b1111 + 0o127) + '\x2d' + '\x38'))):
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xa7|\xabp\x9a\xd0\x1d\x96\xa0'), '\144' + '\145' + '\143' + '\157' + chr(1410 - 1310) + chr(101))('\165' + '\164' + chr(0b1100110) + '\x2d' + chr(56)))(rKSToK9WUVwu)
if DTJMndqfNEo1 == nzTpIcepk0o8('\060' + chr(638 - 527) + '\061', 8):
KS0fj7r4N6zr[roI3spqORKae(ES5oEprVxulp(b'\xa7k\xbef\xac\xda\x07'), chr(0b110 + 0o136) + '\x65' + '\x63' + chr(111) + chr(0b1100100) + chr(2433 - 2332))(chr(0b1010010 + 0o43) + chr(0b1110100) + '\146' + chr(45) + chr(0b111000))] = {roI3spqORKae(ES5oEprVxulp(b'\xa0a\xabt\xb1\xc5'), chr(6141 - 6041) + '\145' + chr(0b1100011) + chr(0b1101111) + '\144' + chr(101))('\165' + chr(0b11000 + 0o134) + '\x66' + chr(881 - 836) + chr(0b101110 + 0o12)): nzTpIcepk0o8('\x30' + chr(9780 - 9669) + '\060', 8), roI3spqORKae(ES5oEprVxulp(b'\xb1g\xbcb\xb7\xc5'), '\x64' + chr(0b1100101) + chr(0b1100011) + chr(11866 - 11755) + '\144' + '\x65')(chr(117) + '\x74' + '\x66' + chr(0b101101) + chr(605 - 549)): nzTpIcepk0o8('\x30' + '\157' + '\060', 8), roI3spqORKae(ES5oEprVxulp(b'\xb0z\xabs\xa0\xc5'), chr(1453 - 1353) + '\x65' + '\x63' + chr(0b1101111) + chr(5402 - 5302) + chr(0b1100101))('\x75' + chr(116) + '\146' + '\055' + chr(56)): nzTpIcepk0o8(chr(266 - 218) + '\157' + '\060', 8), roI3spqORKae(ES5oEprVxulp(b'\xa0a\xbfi\xb1\xc4\x1d\x94\xa0'), chr(100) + '\145' + chr(0b11010 + 0o111) + chr(0b1101111 + 0o0) + chr(0b1100100) + chr(0b1011010 + 0o13))('\165' + chr(0b1110100) + '\x66' + chr(0b101101) + '\070'): nzTpIcepk0o8('\x30' + '\x6f' + '\x30', 8), roI3spqORKae(ES5oEprVxulp(b'\xacm\xaff\xab'), chr(0b110 + 0o136) + chr(0b11111 + 0o106) + chr(0b101000 + 0o73) + chr(0b1101111) + chr(0b1100100) + '\145')('\x75' + chr(0b1110100) + chr(0b1011001 + 0o15) + chr(402 - 357) + '\x38'): nzTpIcepk0o8(chr(0b100100 + 0o14) + '\x6f' + chr(0b110000), 8), roI3spqORKae(ES5oEprVxulp(b'\xa5o\xa4d\xbc'), '\x64' + chr(101) + chr(99) + chr(0b1101111) + chr(0b1010010 + 0o22) + '\x65')(chr(2033 - 1916) + '\x74' + chr(102) + chr(45) + chr(0b111000)): vVMRKIXM85FE}
KS0fj7r4N6zr[roI3spqORKae(ES5oEprVxulp(b'\xb3b\xbe`\xb7\xdf\x10'), chr(100) + chr(101) + chr(0b1010011 + 0o20) + '\x6f' + chr(0b1100100) + '\x65')(chr(13265 - 13148) + '\164' + chr(0b1100110) + chr(0b1001 + 0o44) + chr(0b111000))] = -nzTpIcepk0o8('\060' + chr(111) + chr(49), 8)
KS0fj7r4N6zr[roI3spqORKae(ES5oEprVxulp(b'\xb0w\xa7t\xac\xcc\x11'), chr(100) + '\x65' + chr(99) + chr(111) + chr(8533 - 8433) + chr(0b1100101))('\165' + chr(0b1000 + 0o154) + chr(0b1100110) + chr(0b100011 + 0o12) + chr(56))] = nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b110010), 51554 - 51546)
KS0fj7r4N6zr[roI3spqORKae(ES5oEprVxulp(b'\xb0w\xa7'), chr(0b1100100) + '\145' + chr(0b1100011) + chr(8241 - 8130) + chr(2048 - 1948) + '\x65')(chr(0b1110101) + chr(7709 - 7593) + '\x66' + '\x2d' + chr(2934 - 2878))] = roI3spqORKae(ES5oEprVxulp(b'\xa4#'), '\144' + '\x65' + chr(0b1100011) + chr(111) + '\x64' + chr(7490 - 7389))(chr(117) + chr(1263 - 1147) + '\146' + chr(0b11110 + 0o17) + chr(56))
for dQIwqFqsHkB0 in mFUklODHEk5L:
if dQIwqFqsHkB0[nzTpIcepk0o8('\x30' + '\x6f' + '\x32', 8)] != nzTpIcepk0o8('\x30' + chr(0b1111 + 0o140) + '\060', 8):
hyusaJakwK2f = o77KS_r9H7AX.plot_ell(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'\xaeo\xba'), '\144' + chr(101) + chr(7892 - 7793) + '\x6f' + chr(0b101111 + 0o65) + chr(101))('\x75' + chr(116) + chr(0b1100110) + chr(45) + chr(256 - 200))], dQIwqFqsHkB0, roI3spqORKae(ES5oEprVxulp(b'\xa4 '), '\x64' + '\145' + '\x63' + '\157' + '\x64' + chr(6471 - 6370))(chr(0b1110011 + 0o2) + chr(9692 - 9576) + chr(0b1011010 + 0o14) + '\x2d' + chr(0b111 + 0o61)), nzTpIcepk0o8('\x30' + chr(0b1101111) + '\060', 8), nzTpIcepk0o8('\060' + chr(111) + '\x30', 8))
(gNdfMGvFlJTg, WQHBy718KKkh) = ([], [])
for i9cIicSKupwD in hyusaJakwK2f:
roI3spqORKae(WQHBy718KKkh, roI3spqORKae(ES5oEprVxulp(b'\x8bZ\x993\xbd\xd13\x9e\xb9\xd6\xba\xb8'), chr(0b1100100) + '\145' + chr(0b11010 + 0o111) + chr(111) + '\x64' + '\145')(chr(117) + chr(5591 - 5475) + chr(102) + chr(0b101000 + 0o5) + chr(0b111000)))(i9cIicSKupwD[nzTpIcepk0o8(chr(0b101111 + 0o1) + chr(0b1101111) + chr(0b10111 + 0o31), 8)])
roI3spqORKae(gNdfMGvFlJTg, roI3spqORKae(ES5oEprVxulp(b'\x8bZ\x993\xbd\xd13\x9e\xb9\xd6\xba\xb8'), chr(0b1100100) + '\145' + '\143' + chr(0b1110 + 0o141) + chr(6034 - 5934) + '\145')(chr(1401 - 1284) + chr(0b1110100) + '\146' + chr(0b101101) + '\x38'))(i9cIicSKupwD[nzTpIcepk0o8(chr(0b100000 + 0o20) + chr(0b1101111) + '\x31', 8)])
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xb3b\xa5s\x9a\xdb\x15\x81'), '\144' + chr(991 - 890) + chr(8494 - 8395) + '\x6f' + chr(0b1100100) + chr(101))('\x75' + chr(116) + chr(0b100010 + 0o104) + chr(0b111 + 0o46) + '\070'))(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'\xaeo\xba'), chr(100) + chr(0b1100101) + '\x63' + chr(0b1000001 + 0o56) + chr(0b111011 + 0o51) + '\x65')(chr(6645 - 6528) + chr(116) + chr(0b10100 + 0o122) + '\055' + chr(1791 - 1735))], gNdfMGvFlJTg, WQHBy718KKkh, KS0fj7r4N6zr)
if not bxxuZm4I6LgY and (not roI3spqORKae(NsnRtbLAhqc_, roI3spqORKae(ES5oEprVxulp(b'\x8a]\x95P\x8c\xf8'), chr(100) + chr(0b1100101) + '\143' + '\157' + chr(3837 - 3737) + chr(1954 - 1853))('\165' + chr(0b1110100) + chr(102) + chr(0b1001 + 0o44) + chr(56)))):
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xa7|\xabp\x9a\xd0\x1d\x96\xa0'), chr(3942 - 3842) + chr(2328 - 2227) + '\143' + chr(2149 - 2038) + chr(3037 - 2937) + chr(0b1100010 + 0o3))('\165' + chr(3836 - 3720) + '\x66' + '\x2d' + '\x38'))(rKSToK9WUVwu)
wR5_YWECjaY7 = {}
for QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(rKSToK9WUVwu, roI3spqORKae(ES5oEprVxulp(b'\xa8k\xb3t'), chr(3693 - 3593) + '\145' + '\143' + '\x6f' + chr(0b110100 + 0o60) + chr(7596 - 7495))(chr(12128 - 12011) + chr(0b1110100) + chr(0b1100110) + chr(0b10001 + 0o34) + chr(0b1010 + 0o56)))()):
if roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xaa}\x99b\xb7\xc0\x11\x83'), '\x64' + chr(101) + chr(4810 - 4711) + chr(111) + chr(0b1101 + 0o127) + chr(8949 - 8848))('\x75' + '\164' + '\146' + chr(0b1100 + 0o41) + chr(443 - 387))):
wR5_YWECjaY7[QYodcsDtoGq7] = roI3spqORKae(ES5oEprVxulp(b'\x8fA\xf0X'), chr(1644 - 1544) + chr(1548 - 1447) + chr(8707 - 8608) + chr(11230 - 11119) + chr(0b1001111 + 0o25) + '\145')(chr(0b1111 + 0o146) + '\164' + chr(6580 - 6478) + chr(0b101101) + chr(56)) + y87dwGy_Qoj4 + roI3spqORKae(ES5oEprVxulp(b'\x9cZ\x93=\x9a\xe03\xa1\x8c\xd4\x8e\xfd\x19'), chr(100) + '\x65' + '\x63' + '\x6f' + chr(0b10010 + 0o122) + chr(0b1100101))(chr(12257 - 12140) + '\x74' + '\146' + chr(0b101101) + '\x38') + JummcHpaNLEw
roI3spqORKae(D3H9MFOOog2W, roI3spqORKae(ES5oEprVxulp(b'\xa2j\xaeX\xa8\xd7\x13\x98\xb0\xe6\x9b\xecUw\xeb'), chr(0b11001 + 0o113) + chr(0b1000010 + 0o43) + '\143' + chr(9639 - 9528) + chr(1757 - 1657) + chr(804 - 703))(chr(117) + chr(2951 - 2835) + chr(102) + chr(300 - 255) + '\x38'))(roI3spqORKae(ES5oEprVxulp(b'\xa0a\xa4s\xb7\xdf\x16\x84\xa7\xd0\x80\xe3'), '\144' + chr(0b1100101) + '\143' + '\x6f' + '\x64' + '\x65')(chr(0b1110101) + chr(116) + chr(0b1100110) + '\055' + '\070'))
FBG2MCwkKg3g = D3H9MFOOog2W.get_con_id()
if FBG2MCwkKg3g:
wR5_YWECjaY7[QYodcsDtoGq7] = roI3spqORKae(ES5oEprVxulp(b'\x8eM\xf0X'), chr(0b1100100) + '\145' + chr(99) + '\157' + chr(0b10011 + 0o121) + chr(0b100 + 0o141))(chr(0b1110101) + chr(3032 - 2916) + '\146' + '\x2d' + chr(0b110110 + 0o2)) + N9zlRy29S1SS(FBG2MCwkKg3g) + roI3spqORKae(ES5oEprVxulp(b'\x9c'), '\144' + '\x65' + chr(99) + '\157' + chr(100) + chr(0b1100101))('\165' + chr(0b1110100) + '\x66' + '\x2d' + '\070') + wR5_YWECjaY7[QYodcsDtoGq7]
else:
wR5_YWECjaY7[QYodcsDtoGq7] = roI3spqORKae(ES5oEprVxulp(b'\xb8s\x95Q\x82\xe6+\x9c\xb2\xc9\xc1\xf6J'), '\x64' + '\x65' + chr(0b1100 + 0o127) + chr(0b1101111) + '\144' + '\x65')('\x75' + '\164' + chr(0b1100110) + '\055' + chr(0b111000)).q33KG3foQ_CJ(y87dwGy_Qoj4, JummcHpaNLEw)
if roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xaa}\x99b\xb7\xc0\x11\x83'), '\144' + chr(0b10001 + 0o124) + '\143' + chr(2403 - 2292) + '\144' + '\x65')('\165' + '\x74' + '\x66' + '\x2d' + '\070')):
ZO9i32_He2bR = roI3spqORKae(ES5oEprVxulp(b'\xe0>\xfa7\xf5\x86D'), chr(0b110111 + 0o55) + '\x65' + chr(99) + chr(8144 - 8033) + '\144' + chr(3399 - 3298))(chr(117) + chr(116) + '\x66' + chr(126 - 81) + chr(56))
pikDWCDWa5T8 = roI3spqORKae(ES5oEprVxulp(b'\xe06\xfa7\xf5\x8eD'), chr(4507 - 4407) + chr(101) + '\143' + '\x6f' + chr(0b1010010 + 0o22) + chr(6105 - 6004))(chr(0b1110101) + '\164' + chr(0b1100110) + chr(1793 - 1748) + '\x38')
SzNH87oHZc7X = {}
SzNH87oHZc7X[roI3spqORKae(ES5oEprVxulp(b'\xaeo\xba'), chr(100) + chr(6757 - 6656) + chr(99) + chr(1435 - 1324) + chr(968 - 868) + '\x65')(chr(0b110 + 0o157) + chr(0b1110100) + chr(102) + chr(45) + chr(0b110111 + 0o1))] = y87dwGy_Qoj4 + roI3spqORKae(ES5oEprVxulp(b'\xe3X\x8dW\xe5\xdb\x15\x81'), chr(100) + chr(101) + '\x63' + chr(0b1000101 + 0o52) + chr(0b1100100) + chr(0b1100101))(chr(0b100000 + 0o125) + '\164' + chr(102) + chr(0b10000 + 0o35) + chr(0b11000 + 0o40))
rKSToK9WUVwu = o77KS_r9H7AX.add_borders(rKSToK9WUVwu, SzNH87oHZc7X, ZO9i32_He2bR, pikDWCDWa5T8)
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xb0o\xbcb\x9a\xc6\x18\x9e\xa7\xca'), chr(0b1100100) + chr(0b1100101) + '\143' + chr(0b1101111) + chr(0b1010110 + 0o16) + chr(0b1100101))(chr(0b1110101) + chr(116) + '\x66' + '\x2d' + chr(56)))(rKSToK9WUVwu, wR5_YWECjaY7)
elif f4XDWm__k5ZA:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xa7|\xabp\x9a\xd0\x1d\x96\xa0'), '\x64' + '\145' + chr(0b110010 + 0o61) + chr(0b11011 + 0o124) + chr(6843 - 6743) + '\145')('\165' + chr(116) + chr(102) + chr(0b101101) + '\070'))(rKSToK9WUVwu)
CMfsDQitQrpd = QnTXOd5N96r1(roI3spqORKae(ES5oEprVxulp(b'\xe3]\x91f\x98\xc0\x11\xd1\xa7\xd6\xcf\xfeVm\xeb\xc3\x92:\xab\xfc[x\xf6[E\xb6\xcfy\xdaw\xf4\x93\xb5>\x9f[B\xf44'), '\144' + chr(0b1111 + 0o126) + chr(0b1100011) + '\157' + chr(0b1100100) + chr(5993 - 5892))('\165' + '\x74' + chr(2509 - 2407) + chr(0b101101) + chr(0b111000)))
if CMfsDQitQrpd == roI3spqORKae(ES5oEprVxulp(b'\xa2'), '\x64' + '\x65' + chr(0b1100010 + 0o1) + chr(111) + chr(0b1001111 + 0o25) + chr(0b1100101))(chr(0b1110101) + chr(116) + chr(102) + '\x2d' + chr(0b111000)):
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xb0o\xbcb\x9a\xc6\x18\x9e\xa7\xca'), '\144' + chr(7653 - 7552) + chr(0b1100011) + chr(0b1101111) + chr(100) + chr(0b1100101))(chr(0b1110101) + chr(0b1100 + 0o150) + '\146' + chr(0b100010 + 0o13) + chr(0b110010 + 0o6)))(rKSToK9WUVwu, wR5_YWECjaY7)
return (nzTpIcepk0o8(chr(0b110000) + chr(4310 - 4199) + '\061', 8), roI3spqORKae(wR5_YWECjaY7, roI3spqORKae(ES5oEprVxulp(b'\x80}\xa5c\x9f\xfc<\xc7\xab\x80\xbb\xf5'), '\144' + '\x65' + chr(0b1100011) + chr(0b1101010 + 0o5) + chr(7311 - 7211) + chr(0b111010 + 0o53))(chr(0b1110101) + chr(0b1010111 + 0o35) + '\x66' + '\x2d' + chr(1128 - 1072)))())
else:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x84a\xa5c\xe5\xd4\r\x94'), chr(7234 - 7134) + chr(101) + chr(0b1001010 + 0o31) + chr(111) + chr(0b1100100) + '\x65')(chr(117) + chr(0b110000 + 0o104) + '\146' + '\x2d' + chr(0b11 + 0o65)))
return (nzTpIcepk0o8(chr(0b101011 + 0o5) + chr(0b1101111) + chr(49), 8), [])
elif bxxuZm4I6LgY:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xb0o\xbcb\x9a\xc6\x18\x9e\xa7\xca'), chr(100) + chr(4268 - 4167) + chr(0b1100011) + chr(111) + chr(0b1100100) + chr(101))('\x75' + chr(0b101100 + 0o110) + chr(0b100010 + 0o104) + '\055' + chr(0b111000)))(rKSToK9WUVwu, wR5_YWECjaY7)
return (nzTpIcepk0o8('\060' + chr(111) + chr(0b110001), 8), roI3spqORKae(wR5_YWECjaY7, roI3spqORKae(ES5oEprVxulp(b'\x80}\xa5c\x9f\xfc<\xc7\xab\x80\xbb\xf5'), chr(0b1100100) + '\x65' + chr(0b1001 + 0o132) + chr(8921 - 8810) + chr(0b111110 + 0o46) + chr(0b1100101))('\165' + '\x74' + chr(0b1100110) + chr(0b101 + 0o50) + chr(0b11111 + 0o31)))())
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
histplot
|
def histplot(infile="", data=(), outfile="",
xlab='x', binsize=False, norm=1,
fmt='svg', save_plots=True, interactive=False):
"""
makes histograms for data
Parameters
----------
infile : str, default ""
input file name
format: single variable
data : list-like, default ()
list/array of values to plot if infile is not provided
outfile : str, default ""
name for plot, if not provided defaults to hist.FMT
xlab : str, default 'x'
label for x axis
binsize : int, default False
desired binsize. if not specified, an appropriate binsize will be calculated.
norm : int, default 1
1: norm, 0: don't norm, -1: show normed and non-normed axes
fmt : str, default "svg"
format for figures, ["svg", "jpg", "pdf", "png"]
save_plots : bool, default True
if True, create and save all requested plots
interactive : bool, default False
interactively plot and display
(this is best used on the command line only)
"""
# set outfile name
if outfile:
fmt = ""
else:
outfile = 'hist.'+fmt
# read in data from infile or use data argument
if os.path.exists(infile):
D = np.loadtxt(infile)
else:
D = np.array(data)
try:
if not len(D):
print('-W- No data found')
return False, []
except ValueError:
pass
fig = pmagplotlib.plot_init(1, 8, 7)
try:
len(D)
except TypeError:
D = np.array([D])
if len(D) < 5:
print("-W- Not enough points to plot histogram ({} point(s) provided, 5 required)".format(len(D)))
return False, []
# if binsize not provided, calculate reasonable binsize
if not binsize:
binsize = int(np.around(1 + 3.22 * np.log(len(D))))
binsize = int(binsize)
Nbins = int(len(D) / binsize)
ax = fig.add_subplot(111)
if norm == 1:
print('normalizing')
n, bins, patches = ax.hist(
D, bins=Nbins, facecolor='#D3D3D3', histtype='stepfilled', color='black', density=True)
ax.set_ylabel('Frequency')
elif norm == 0:
print('not normalizing')
n, bins, patches = ax.hist(
D, bins=Nbins, facecolor='#D3D3D3', histtype='stepfilled', color='black', density=False)
ax.set_ylabel('Number')
elif norm == -1:
#print('trying twin')
n, bins, patches = ax.hist(
D, bins=Nbins, facecolor='#D3D3D3', histtype='stepfilled', color='black', density=True)
ax.set_ylabel('Frequency')
ax2 = ax.twinx()
n, bins, patches = ax2.hist(
D, bins=Nbins, facecolor='#D3D3D3', histtype='stepfilled', color='black', density=False)
ax2.set_ylabel('Number', rotation=-90)
plt.axis([D.min(), D.max(), 0, n.max()+.1*n.max()])
ax.set_xlabel(xlab)
name = 'N = ' + str(len(D))
plt.title(name)
if interactive:
pmagplotlib.draw_figs({1: 'hist'})
p = input('s[a]ve to save plot, [q]uit to exit without saving ')
if p != 'a':
return True, []
plt.savefig(outfile)
print('plot saved in ', outfile)
return True, [outfile]
if pmagplotlib.isServer:
pmagplotlib.add_borders({'hist': 1}, {'hist': 'Intensity Histogram'})
if save_plots:
plt.savefig(outfile)
print('plot saved in ', outfile)
return True, [outfile]
|
python
|
def histplot(infile="", data=(), outfile="",
xlab='x', binsize=False, norm=1,
fmt='svg', save_plots=True, interactive=False):
"""
makes histograms for data
Parameters
----------
infile : str, default ""
input file name
format: single variable
data : list-like, default ()
list/array of values to plot if infile is not provided
outfile : str, default ""
name for plot, if not provided defaults to hist.FMT
xlab : str, default 'x'
label for x axis
binsize : int, default False
desired binsize. if not specified, an appropriate binsize will be calculated.
norm : int, default 1
1: norm, 0: don't norm, -1: show normed and non-normed axes
fmt : str, default "svg"
format for figures, ["svg", "jpg", "pdf", "png"]
save_plots : bool, default True
if True, create and save all requested plots
interactive : bool, default False
interactively plot and display
(this is best used on the command line only)
"""
# set outfile name
if outfile:
fmt = ""
else:
outfile = 'hist.'+fmt
# read in data from infile or use data argument
if os.path.exists(infile):
D = np.loadtxt(infile)
else:
D = np.array(data)
try:
if not len(D):
print('-W- No data found')
return False, []
except ValueError:
pass
fig = pmagplotlib.plot_init(1, 8, 7)
try:
len(D)
except TypeError:
D = np.array([D])
if len(D) < 5:
print("-W- Not enough points to plot histogram ({} point(s) provided, 5 required)".format(len(D)))
return False, []
# if binsize not provided, calculate reasonable binsize
if not binsize:
binsize = int(np.around(1 + 3.22 * np.log(len(D))))
binsize = int(binsize)
Nbins = int(len(D) / binsize)
ax = fig.add_subplot(111)
if norm == 1:
print('normalizing')
n, bins, patches = ax.hist(
D, bins=Nbins, facecolor='#D3D3D3', histtype='stepfilled', color='black', density=True)
ax.set_ylabel('Frequency')
elif norm == 0:
print('not normalizing')
n, bins, patches = ax.hist(
D, bins=Nbins, facecolor='#D3D3D3', histtype='stepfilled', color='black', density=False)
ax.set_ylabel('Number')
elif norm == -1:
#print('trying twin')
n, bins, patches = ax.hist(
D, bins=Nbins, facecolor='#D3D3D3', histtype='stepfilled', color='black', density=True)
ax.set_ylabel('Frequency')
ax2 = ax.twinx()
n, bins, patches = ax2.hist(
D, bins=Nbins, facecolor='#D3D3D3', histtype='stepfilled', color='black', density=False)
ax2.set_ylabel('Number', rotation=-90)
plt.axis([D.min(), D.max(), 0, n.max()+.1*n.max()])
ax.set_xlabel(xlab)
name = 'N = ' + str(len(D))
plt.title(name)
if interactive:
pmagplotlib.draw_figs({1: 'hist'})
p = input('s[a]ve to save plot, [q]uit to exit without saving ')
if p != 'a':
return True, []
plt.savefig(outfile)
print('plot saved in ', outfile)
return True, [outfile]
if pmagplotlib.isServer:
pmagplotlib.add_borders({'hist': 1}, {'hist': 'Intensity Histogram'})
if save_plots:
plt.savefig(outfile)
print('plot saved in ', outfile)
return True, [outfile]
|
[
"def",
"histplot",
"(",
"infile",
"=",
"\"\"",
",",
"data",
"=",
"(",
")",
",",
"outfile",
"=",
"\"\"",
",",
"xlab",
"=",
"'x'",
",",
"binsize",
"=",
"False",
",",
"norm",
"=",
"1",
",",
"fmt",
"=",
"'svg'",
",",
"save_plots",
"=",
"True",
",",
"interactive",
"=",
"False",
")",
":",
"# set outfile name",
"if",
"outfile",
":",
"fmt",
"=",
"\"\"",
"else",
":",
"outfile",
"=",
"'hist.'",
"+",
"fmt",
"# read in data from infile or use data argument",
"if",
"os",
".",
"path",
".",
"exists",
"(",
"infile",
")",
":",
"D",
"=",
"np",
".",
"loadtxt",
"(",
"infile",
")",
"else",
":",
"D",
"=",
"np",
".",
"array",
"(",
"data",
")",
"try",
":",
"if",
"not",
"len",
"(",
"D",
")",
":",
"print",
"(",
"'-W- No data found'",
")",
"return",
"False",
",",
"[",
"]",
"except",
"ValueError",
":",
"pass",
"fig",
"=",
"pmagplotlib",
".",
"plot_init",
"(",
"1",
",",
"8",
",",
"7",
")",
"try",
":",
"len",
"(",
"D",
")",
"except",
"TypeError",
":",
"D",
"=",
"np",
".",
"array",
"(",
"[",
"D",
"]",
")",
"if",
"len",
"(",
"D",
")",
"<",
"5",
":",
"print",
"(",
"\"-W- Not enough points to plot histogram ({} point(s) provided, 5 required)\"",
".",
"format",
"(",
"len",
"(",
"D",
")",
")",
")",
"return",
"False",
",",
"[",
"]",
"# if binsize not provided, calculate reasonable binsize",
"if",
"not",
"binsize",
":",
"binsize",
"=",
"int",
"(",
"np",
".",
"around",
"(",
"1",
"+",
"3.22",
"*",
"np",
".",
"log",
"(",
"len",
"(",
"D",
")",
")",
")",
")",
"binsize",
"=",
"int",
"(",
"binsize",
")",
"Nbins",
"=",
"int",
"(",
"len",
"(",
"D",
")",
"/",
"binsize",
")",
"ax",
"=",
"fig",
".",
"add_subplot",
"(",
"111",
")",
"if",
"norm",
"==",
"1",
":",
"print",
"(",
"'normalizing'",
")",
"n",
",",
"bins",
",",
"patches",
"=",
"ax",
".",
"hist",
"(",
"D",
",",
"bins",
"=",
"Nbins",
",",
"facecolor",
"=",
"'#D3D3D3'",
",",
"histtype",
"=",
"'stepfilled'",
",",
"color",
"=",
"'black'",
",",
"density",
"=",
"True",
")",
"ax",
".",
"set_ylabel",
"(",
"'Frequency'",
")",
"elif",
"norm",
"==",
"0",
":",
"print",
"(",
"'not normalizing'",
")",
"n",
",",
"bins",
",",
"patches",
"=",
"ax",
".",
"hist",
"(",
"D",
",",
"bins",
"=",
"Nbins",
",",
"facecolor",
"=",
"'#D3D3D3'",
",",
"histtype",
"=",
"'stepfilled'",
",",
"color",
"=",
"'black'",
",",
"density",
"=",
"False",
")",
"ax",
".",
"set_ylabel",
"(",
"'Number'",
")",
"elif",
"norm",
"==",
"-",
"1",
":",
"#print('trying twin')",
"n",
",",
"bins",
",",
"patches",
"=",
"ax",
".",
"hist",
"(",
"D",
",",
"bins",
"=",
"Nbins",
",",
"facecolor",
"=",
"'#D3D3D3'",
",",
"histtype",
"=",
"'stepfilled'",
",",
"color",
"=",
"'black'",
",",
"density",
"=",
"True",
")",
"ax",
".",
"set_ylabel",
"(",
"'Frequency'",
")",
"ax2",
"=",
"ax",
".",
"twinx",
"(",
")",
"n",
",",
"bins",
",",
"patches",
"=",
"ax2",
".",
"hist",
"(",
"D",
",",
"bins",
"=",
"Nbins",
",",
"facecolor",
"=",
"'#D3D3D3'",
",",
"histtype",
"=",
"'stepfilled'",
",",
"color",
"=",
"'black'",
",",
"density",
"=",
"False",
")",
"ax2",
".",
"set_ylabel",
"(",
"'Number'",
",",
"rotation",
"=",
"-",
"90",
")",
"plt",
".",
"axis",
"(",
"[",
"D",
".",
"min",
"(",
")",
",",
"D",
".",
"max",
"(",
")",
",",
"0",
",",
"n",
".",
"max",
"(",
")",
"+",
".1",
"*",
"n",
".",
"max",
"(",
")",
"]",
")",
"ax",
".",
"set_xlabel",
"(",
"xlab",
")",
"name",
"=",
"'N = '",
"+",
"str",
"(",
"len",
"(",
"D",
")",
")",
"plt",
".",
"title",
"(",
"name",
")",
"if",
"interactive",
":",
"pmagplotlib",
".",
"draw_figs",
"(",
"{",
"1",
":",
"'hist'",
"}",
")",
"p",
"=",
"input",
"(",
"'s[a]ve to save plot, [q]uit to exit without saving '",
")",
"if",
"p",
"!=",
"'a'",
":",
"return",
"True",
",",
"[",
"]",
"plt",
".",
"savefig",
"(",
"outfile",
")",
"print",
"(",
"'plot saved in '",
",",
"outfile",
")",
"return",
"True",
",",
"[",
"outfile",
"]",
"if",
"pmagplotlib",
".",
"isServer",
":",
"pmagplotlib",
".",
"add_borders",
"(",
"{",
"'hist'",
":",
"1",
"}",
",",
"{",
"'hist'",
":",
"'Intensity Histogram'",
"}",
")",
"if",
"save_plots",
":",
"plt",
".",
"savefig",
"(",
"outfile",
")",
"print",
"(",
"'plot saved in '",
",",
"outfile",
")",
"return",
"True",
",",
"[",
"outfile",
"]"
] |
makes histograms for data
Parameters
----------
infile : str, default ""
input file name
format: single variable
data : list-like, default ()
list/array of values to plot if infile is not provided
outfile : str, default ""
name for plot, if not provided defaults to hist.FMT
xlab : str, default 'x'
label for x axis
binsize : int, default False
desired binsize. if not specified, an appropriate binsize will be calculated.
norm : int, default 1
1: norm, 0: don't norm, -1: show normed and non-normed axes
fmt : str, default "svg"
format for figures, ["svg", "jpg", "pdf", "png"]
save_plots : bool, default True
if True, create and save all requested plots
interactive : bool, default False
interactively plot and display
(this is best used on the command line only)
|
[
"makes",
"histograms",
"for",
"data"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L12759-L12855
|
train
|
Function that plots a histogram of the data in infile.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\x32' + chr(54) + chr(0b110111), 29371 - 29363), nzTpIcepk0o8(chr(0b110000) + '\157' + '\063' + '\x33' + '\067', ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(640 - 590) + '\066', 14484 - 14476), nzTpIcepk0o8('\x30' + chr(0b101101 + 0o102) + '\063' + '\x33' + chr(1605 - 1557), 57326 - 57318), nzTpIcepk0o8('\x30' + '\157' + chr(0b110011) + chr(0b110100 + 0o0) + '\063', 0b1000), nzTpIcepk0o8(chr(0b100 + 0o54) + '\157' + chr(499 - 449) + '\x33' + chr(55), 0o10), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b110001) + chr(221 - 172) + chr(1787 - 1733), 0b1000), nzTpIcepk0o8(chr(2090 - 2042) + chr(0b11001 + 0o126) + chr(0b110001 + 0o2) + chr(925 - 877) + chr(1073 - 1020), ord("\x08")), nzTpIcepk0o8(chr(1932 - 1884) + '\x6f' + chr(0b110111 + 0o0) + chr(2113 - 2061), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(2618 - 2564) + '\062', 32184 - 32176), nzTpIcepk0o8(chr(48) + '\x6f' + '\x32' + '\x34' + chr(53), 29225 - 29217), nzTpIcepk0o8(chr(0b100000 + 0o20) + chr(111) + chr(49) + '\061' + '\x34', 0b1000), nzTpIcepk0o8(chr(0b1010 + 0o46) + chr(0b1101111) + '\061' + '\x36' + '\x33', 0b1000), nzTpIcepk0o8(chr(329 - 281) + chr(0b1101111 + 0o0) + chr(1384 - 1335) + '\061' + chr(2298 - 2250), ord("\x08")), nzTpIcepk0o8('\x30' + '\157' + '\065' + '\061', 0o10), nzTpIcepk0o8(chr(0b101100 + 0o4) + chr(0b1101111) + chr(78 - 27) + '\x36' + chr(351 - 302), 0o10), nzTpIcepk0o8(chr(2226 - 2178) + '\157' + '\x32' + '\065' + '\x30', ord("\x08")), nzTpIcepk0o8(chr(0b100011 + 0o15) + '\157' + '\062' + '\066' + '\062', 0b1000), nzTpIcepk0o8('\x30' + chr(8632 - 8521) + '\x32' + chr(48) + chr(0b110010), 0b1000), nzTpIcepk0o8('\060' + chr(10411 - 10300) + chr(305 - 255) + '\x35' + chr(0b101111 + 0o1), 8), nzTpIcepk0o8('\x30' + chr(0b1101001 + 0o6) + '\061' + '\066' + chr(0b110011), 8), nzTpIcepk0o8('\060' + chr(0b11100 + 0o123) + '\062', 0b1000), nzTpIcepk0o8(chr(48) + chr(0b1000 + 0o147) + '\x33' + chr(0b11110 + 0o31), 0o10), nzTpIcepk0o8(chr(0b1110 + 0o42) + chr(111) + '\x32' + chr(0b110110) + chr(2351 - 2301), 8), nzTpIcepk0o8(chr(0b11100 + 0o24) + chr(0b1101111) + '\x31' + chr(53) + chr(53), ord("\x08")), nzTpIcepk0o8(chr(1670 - 1622) + chr(111) + chr(0b110001) + chr(0b1111 + 0o47) + '\x33', 8), nzTpIcepk0o8(chr(0b1 + 0o57) + chr(0b111100 + 0o63) + chr(49) + chr(0b100010 + 0o25), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(111) + '\061' + chr(0b110000) + '\064', ord("\x08")), nzTpIcepk0o8(chr(1480 - 1432) + '\x6f' + chr(49) + '\x32', 0b1000), nzTpIcepk0o8('\x30' + chr(11046 - 10935) + '\x33' + '\x31' + chr(49), 0o10), nzTpIcepk0o8('\x30' + '\x6f' + '\063' + chr(0b110011) + chr(48), 8), nzTpIcepk0o8(chr(1346 - 1298) + chr(0b1101111) + chr(0b11110 + 0o25) + chr(0b1010 + 0o50) + chr(0b101010 + 0o14), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(9443 - 9332) + '\x37' + chr(0b110001), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\063' + chr(2048 - 1993) + chr(0b10100 + 0o35), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(8259 - 8148) + '\061' + '\x33', 0b1000), nzTpIcepk0o8(chr(1862 - 1814) + '\157' + chr(51) + chr(0b11011 + 0o26) + '\x35', ord("\x08")), nzTpIcepk0o8(chr(48) + chr(111) + chr(52) + chr(0b110111), 0b1000), nzTpIcepk0o8(chr(1703 - 1655) + chr(111) + chr(49) + '\066' + chr(336 - 288), 0b1000), nzTpIcepk0o8(chr(672 - 624) + chr(111) + chr(0b100111 + 0o15) + '\064', 26450 - 26442), nzTpIcepk0o8('\x30' + chr(0b1101110 + 0o1) + chr(0b110001) + chr(0b110000) + '\066', ord("\x08"))][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(2009 - 1961) + chr(111) + '\065' + chr(48), 1778 - 1770)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\x99'), chr(0b1100100) + chr(0b1001010 + 0o33) + chr(0b11110 + 0o105) + chr(0b100010 + 0o115) + chr(8557 - 8457) + chr(0b1100010 + 0o3))(chr(117) + chr(0b110010 + 0o102) + '\146' + chr(347 - 302) + chr(1713 - 1657)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def _pY_TnPdClCx(XvbvbiHwSGUb=roI3spqORKae(ES5oEprVxulp(b''), chr(1219 - 1119) + chr(0b100101 + 0o100) + chr(99) + chr(0b101110 + 0o101) + chr(0b11 + 0o141) + chr(487 - 386))(chr(0b1110101) + chr(116) + '\146' + '\055' + '\070'), FfKOThdpoDTb=(), neY2HPRd1pS4=roI3spqORKae(ES5oEprVxulp(b''), chr(9765 - 9665) + chr(101) + chr(0b110000 + 0o63) + '\157' + chr(0b101111 + 0o65) + chr(0b1100101))(chr(0b1001010 + 0o53) + chr(0b1010110 + 0o36) + chr(3029 - 2927) + chr(45) + chr(0b1 + 0o67)), ikxkW8dy4ZA_=roI3spqORKae(ES5oEprVxulp(b'\xcf'), chr(0b1100100) + chr(9510 - 9409) + '\x63' + chr(0b110010 + 0o75) + '\x64' + chr(0b1100101))(chr(0b1110101) + chr(0b111 + 0o155) + '\x66' + '\x2d' + chr(56)), NqzkZmTDjLQn=nzTpIcepk0o8(chr(959 - 911) + chr(0b1010111 + 0o30) + chr(0b10101 + 0o33), 39696 - 39688), xBFFJFaziFDU=nzTpIcepk0o8('\060' + '\157' + '\x31', 34184 - 34176), JummcHpaNLEw=roI3spqORKae(ES5oEprVxulp(b'\xc4\xa9q'), '\x64' + chr(0b110011 + 0o62) + chr(0b1010001 + 0o22) + chr(1076 - 965) + chr(0b101101 + 0o67) + '\145')(chr(0b1011 + 0o152) + chr(5349 - 5233) + chr(102) + '\055' + chr(640 - 584)), bxxuZm4I6LgY=nzTpIcepk0o8(chr(0b10100 + 0o34) + chr(0b1101111) + chr(0b101010 + 0o7), 8), f4XDWm__k5ZA=nzTpIcepk0o8('\x30' + chr(111) + chr(407 - 359), 8)):
if neY2HPRd1pS4:
JummcHpaNLEw = roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(101) + chr(99) + '\157' + chr(100) + '\145')('\x75' + chr(0b11011 + 0o131) + chr(3363 - 3261) + chr(45) + chr(1004 - 948))
else:
neY2HPRd1pS4 = roI3spqORKae(ES5oEprVxulp(b'\xdf\xb6e\xac\xcd'), chr(100) + '\x65' + chr(0b1010 + 0o131) + chr(0b1101111 + 0o0) + chr(0b1100100) + '\145')(chr(117) + chr(0b1110100) + chr(7532 - 7430) + chr(0b101101) + chr(0b111000)) + JummcHpaNLEw
if roI3spqORKae(aHUqKstZLeS6.path, roI3spqORKae(ES5oEprVxulp(b'\xcd\x8c_\xa1\x8d\xcf;\x80J^\xf4x'), '\144' + chr(8344 - 8243) + chr(0b1000101 + 0o36) + chr(111) + '\144' + chr(0b1011000 + 0o15))(chr(4198 - 4081) + chr(915 - 799) + chr(9717 - 9615) + '\055' + '\x38'))(XvbvbiHwSGUb):
hOjrMKpaybfC = nDF4gVNx0u9Q.loadtxt(XvbvbiHwSGUb)
else:
hOjrMKpaybfC = nDF4gVNx0u9Q.Tn6rGr7XTM7t(FfKOThdpoDTb)
try:
if not ftfygxgFas5X(hOjrMKpaybfC):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b"\x9a\x88;\xf8\xad\xf0n\xa1]F\xc4l\x15'\\\x9f\xcc"), chr(0b1100100) + chr(0b1100101) + chr(0b1100011) + chr(111) + chr(0b1000100 + 0o40) + '\x65')(chr(0b1110101) + chr(2941 - 2825) + '\146' + chr(0b101101) + '\070'))
return (nzTpIcepk0o8(chr(0b1110 + 0o42) + '\x6f' + chr(48), 8), [])
except WbNHlDKpyPtQ:
pass
ux0XlXMUdKbX = o77KS_r9H7AX.plot_init(nzTpIcepk0o8('\x30' + chr(0b1000001 + 0o56) + '\061', 8), nzTpIcepk0o8(chr(0b10100 + 0o34) + chr(111) + '\061' + chr(48), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\067', 0o10))
try:
ftfygxgFas5X(hOjrMKpaybfC)
except jZIjKu8IFANs:
hOjrMKpaybfC = nDF4gVNx0u9Q.Tn6rGr7XTM7t([hOjrMKpaybfC])
if ftfygxgFas5X(hOjrMKpaybfC) < nzTpIcepk0o8('\060' + '\x6f' + chr(441 - 388), ord("\x08")):
v8jsMqaYV6U2(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'\x9a\x88;\xf8\xad\xf0:\xe5Y\\\xca9\x14 \t\x81\xc7\xdb\xec\xdc\x00"k\xddM\x03c+~\xe9\xb0\xbfJ\x8dd\xaaU\x11If\x9f\xa4k\xf8\x93\xf0\'\xabH\x1a\xd6eS8[\x9e\xde\xdb\xe6\xcd\x17.?\x87M\x01j5\x7f\xa0\xaa\xb3]\xd0'), chr(0b1100100) + '\x65' + '\x63' + chr(111) + '\144' + chr(0b100010 + 0o103))('\165' + chr(0b1110100) + '\146' + chr(45) + chr(2057 - 2001)), roI3spqORKae(ES5oEprVxulp(b'\xc6\xec%\x93\xa4\xac(\xaamm\xe6\x06'), chr(100) + chr(0b1100101) + '\143' + chr(0b1101111) + chr(0b101111 + 0o65) + chr(0b101 + 0o140))(chr(117) + chr(116) + chr(0b1000 + 0o136) + '\x2d' + chr(0b111000)))(ftfygxgFas5X(hOjrMKpaybfC)))
return (nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\x30', 8), [])
if not NqzkZmTDjLQn:
NqzkZmTDjLQn = nzTpIcepk0o8(nDF4gVNx0u9Q.around(nzTpIcepk0o8(chr(1000 - 952) + chr(1230 - 1119) + chr(49), 8) + 3.22 * nDF4gVNx0u9Q.lmiGj7TonZgV(ftfygxgFas5X(hOjrMKpaybfC))))
NqzkZmTDjLQn = nzTpIcepk0o8(NqzkZmTDjLQn)
cfPGUg0zQ6R2 = nzTpIcepk0o8(ftfygxgFas5X(hOjrMKpaybfC) / NqzkZmTDjLQn)
ZtB7KOLCW2Hk = ux0XlXMUdKbX.add_subplot(nzTpIcepk0o8('\060' + chr(0b1101111) + chr(49) + chr(747 - 694) + chr(0b110111), 7239 - 7231))
if xBFFJFaziFDU == nzTpIcepk0o8('\x30' + chr(5425 - 5314) + chr(2243 - 2194), 8):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b"\xd9\xb0d\xb5\x82\xf3'\xbfU\\\xc2"), chr(0b1100100) + chr(101) + chr(0b1100011) + '\x6f' + chr(6702 - 6602) + chr(8261 - 8160))(chr(117) + '\164' + chr(0b10001 + 0o125) + chr(45) + chr(0b100011 + 0o25)))
(NoZxuO7wjArS, LfioTTi_I2sD, ApwUqwLyYqjg) = ZtB7KOLCW2Hk.vGufN7sLKJ4I(hOjrMKpaybfC, bins=cfPGUg0zQ6R2, facecolor=roI3spqORKae(ES5oEprVxulp(b'\x94\x9b%\x9c\xd0\xdb}'), chr(0b1100100) + '\145' + chr(0b1100011) + '\x6f' + '\144' + chr(0b10011 + 0o122))(chr(0b1110101) + '\x74' + chr(3596 - 3494) + chr(0b101101) + chr(2040 - 1984)), histtype=roI3spqORKae(ES5oEprVxulp(b'\xc4\xabs\xa8\x85\xf6"\xa9YV'), chr(0b1010010 + 0o22) + chr(101) + chr(0b0 + 0o143) + chr(0b1101111) + chr(0b110110 + 0o56) + chr(146 - 45))('\165' + '\164' + chr(0b1100110) + chr(0b1000 + 0o45) + chr(1862 - 1806)), color=roI3spqORKae(ES5oEprVxulp(b'\xd5\xb3w\xbb\x88'), chr(0b1100100) + chr(0b1100101) + chr(0b100001 + 0o102) + chr(0b1101111) + chr(0b10100 + 0o120) + '\145')(chr(0b1110101) + chr(11824 - 11708) + chr(0b1100110) + chr(221 - 176) + '\070'), density=nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x31', 8))
roI3spqORKae(ZtB7KOLCW2Hk, roI3spqORKae(ES5oEprVxulp(b'\xc4\xbab\x87\x9a\xf3/\xa7Y^'), chr(0b1100100) + chr(0b1100101) + '\x63' + '\157' + '\x64' + chr(0b1011111 + 0o6))(chr(0b1110101) + '\x74' + '\x66' + chr(1078 - 1033) + chr(0b11100 + 0o34)))(roI3spqORKae(ES5oEprVxulp(b'\xf1\xads\xa9\x96\xfa \xa6E'), '\144' + chr(101) + '\x63' + chr(7148 - 7037) + chr(0b1000000 + 0o44) + chr(0b10001 + 0o124))(chr(0b111101 + 0o70) + chr(0b1110100) + chr(9997 - 9895) + '\055' + chr(56)))
elif xBFFJFaziFDU == nzTpIcepk0o8('\x30' + chr(8167 - 8056) + chr(48), 8):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xd9\xb0b\xf8\x8d\xf0<\xa8]^\xcc6\x1a&N'), chr(0b1100100) + chr(133 - 32) + chr(0b1100011) + chr(737 - 626) + chr(0b1100100) + '\145')(chr(0b1110101) + '\x74' + '\146' + '\055' + chr(56)))
(NoZxuO7wjArS, LfioTTi_I2sD, ApwUqwLyYqjg) = ZtB7KOLCW2Hk.vGufN7sLKJ4I(hOjrMKpaybfC, bins=cfPGUg0zQ6R2, facecolor=roI3spqORKae(ES5oEprVxulp(b'\x94\x9b%\x9c\xd0\xdb}'), '\144' + '\145' + chr(1107 - 1008) + '\157' + chr(0b101011 + 0o71) + chr(0b1100101))(chr(117) + '\164' + chr(7544 - 7442) + chr(0b101101 + 0o0) + chr(0b100111 + 0o21)), histtype=roI3spqORKae(ES5oEprVxulp(b'\xc4\xabs\xa8\x85\xf6"\xa9YV'), '\144' + chr(0b1100101) + chr(1714 - 1615) + chr(4433 - 4322) + chr(3847 - 3747) + '\x65')(chr(117) + '\x74' + chr(0b101100 + 0o72) + chr(45) + chr(56)), color=roI3spqORKae(ES5oEprVxulp(b'\xd5\xb3w\xbb\x88'), chr(100) + chr(7510 - 7409) + chr(0b1000000 + 0o43) + chr(0b1101111) + chr(0b1010101 + 0o17) + '\145')('\x75' + '\164' + chr(0b1100 + 0o132) + chr(522 - 477) + '\x38'), density=nzTpIcepk0o8(chr(0b110000) + chr(7434 - 7323) + chr(48), 8))
roI3spqORKae(ZtB7KOLCW2Hk, roI3spqORKae(ES5oEprVxulp(b'\xc4\xbab\x87\x9a\xf3/\xa7Y^'), chr(0b1100100) + chr(0b1100101) + chr(0b11000 + 0o113) + '\157' + '\144' + '\145')('\165' + chr(116) + chr(0b1100110) + chr(0b101101) + '\070'))(roI3spqORKae(ES5oEprVxulp(b'\xf9\xaa{\xba\x86\xed'), chr(100) + chr(0b1100101) + chr(0b1100011) + chr(0b1101111) + chr(0b1000100 + 0o40) + chr(0b1100101))(chr(12657 - 12540) + chr(116) + '\x66' + chr(45) + chr(56)))
elif xBFFJFaziFDU == -nzTpIcepk0o8('\060' + chr(0b1100011 + 0o14) + '\x31', 8):
(NoZxuO7wjArS, LfioTTi_I2sD, ApwUqwLyYqjg) = ZtB7KOLCW2Hk.vGufN7sLKJ4I(hOjrMKpaybfC, bins=cfPGUg0zQ6R2, facecolor=roI3spqORKae(ES5oEprVxulp(b'\x94\x9b%\x9c\xd0\xdb}'), chr(100) + chr(101) + '\143' + chr(0b11010 + 0o125) + chr(0b1100100) + chr(0b1010001 + 0o24))(chr(7388 - 7271) + chr(11712 - 11596) + '\x66' + '\055' + chr(0b111000)), histtype=roI3spqORKae(ES5oEprVxulp(b'\xc4\xabs\xa8\x85\xf6"\xa9YV'), chr(0b1100100) + '\145' + chr(99) + chr(0b1101111) + '\x64' + chr(0b111 + 0o136))(chr(0b1000 + 0o155) + '\x74' + '\x66' + '\x2d' + chr(1026 - 970)), color=roI3spqORKae(ES5oEprVxulp(b'\xd5\xb3w\xbb\x88'), chr(0b1100100) + '\x65' + '\143' + chr(400 - 289) + '\144' + '\x65')(chr(0b1110101) + chr(0b10110 + 0o136) + '\x66' + chr(0b10001 + 0o34) + '\070'), density=nzTpIcepk0o8(chr(48) + '\157' + chr(163 - 114), 8))
roI3spqORKae(ZtB7KOLCW2Hk, roI3spqORKae(ES5oEprVxulp(b'\xc4\xbab\x87\x9a\xf3/\xa7Y^'), '\144' + '\x65' + chr(0b100 + 0o137) + chr(11878 - 11767) + chr(100) + chr(0b1100101))('\x75' + chr(0b1110100) + chr(8745 - 8643) + '\055' + '\x38'))(roI3spqORKae(ES5oEprVxulp(b'\xf1\xads\xa9\x96\xfa \xa6E'), chr(0b1100100) + chr(0b1100101) + chr(99) + chr(3065 - 2954) + chr(4290 - 4190) + '\x65')('\x75' + chr(0b110 + 0o156) + '\146' + chr(0b11111 + 0o16) + '\x38'))
PovpLx9Ei7oG = ZtB7KOLCW2Hk.twinx()
(NoZxuO7wjArS, LfioTTi_I2sD, ApwUqwLyYqjg) = PovpLx9Ei7oG.vGufN7sLKJ4I(hOjrMKpaybfC, bins=cfPGUg0zQ6R2, facecolor=roI3spqORKae(ES5oEprVxulp(b'\x94\x9b%\x9c\xd0\xdb}'), chr(0b1100100) + chr(0b1100101) + chr(99) + '\157' + '\144' + '\145')(chr(0b1001001 + 0o54) + '\x74' + chr(0b1100110) + chr(0b101101) + chr(0b100011 + 0o25)), histtype=roI3spqORKae(ES5oEprVxulp(b'\xc4\xabs\xa8\x85\xf6"\xa9YV'), chr(0b111011 + 0o51) + '\145' + '\x63' + '\x6f' + chr(100) + chr(0b111100 + 0o51))('\165' + '\164' + '\146' + chr(45) + '\070'), color=roI3spqORKae(ES5oEprVxulp(b'\xd5\xb3w\xbb\x88'), chr(0b1100100) + chr(8720 - 8619) + chr(0b1001001 + 0o32) + chr(0b1101111) + '\144' + '\x65')('\165' + '\x74' + '\x66' + chr(45) + '\070'), density=nzTpIcepk0o8('\x30' + chr(111) + '\060', 8))
roI3spqORKae(PovpLx9Ei7oG, roI3spqORKae(ES5oEprVxulp(b'\xc4\xbab\x87\x9a\xf3/\xa7Y^'), '\x64' + chr(5346 - 5245) + chr(0b101 + 0o136) + chr(0b1101111) + chr(9706 - 9606) + chr(101))('\165' + chr(116) + '\x66' + chr(0b101101) + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b'\xf9\xaa{\xba\x86\xed'), chr(100) + '\145' + chr(0b111011 + 0o50) + chr(3143 - 3032) + chr(0b1000100 + 0o40) + chr(101))('\165' + '\164' + '\146' + chr(45) + '\x38'), rotation=-nzTpIcepk0o8('\060' + '\x6f' + chr(0b11001 + 0o30) + chr(51) + chr(0b110010), 0b1000))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\xfd\x9b/\xe8\xd1\xef8\xbc\x7f~\xed}'), chr(8125 - 8025) + chr(0b1011001 + 0o14) + chr(0b1100011) + chr(111) + chr(0b1100100) + chr(0b10000 + 0o125))(chr(0b1110101) + chr(0b1011000 + 0o34) + chr(102) + chr(45) + '\x38'))([roI3spqORKae(hOjrMKpaybfC, roI3spqORKae(ES5oEprVxulp(b'\xef\x8aD\xa8\x8e\xcf;\x80kq\xeb\n'), '\x64' + chr(101) + '\143' + '\x6f' + '\x64' + chr(0b1000100 + 0o41))(chr(0b1110101) + '\x74' + '\146' + '\055' + chr(268 - 212)))(), roI3spqORKae(hOjrMKpaybfC, roI3spqORKae(ES5oEprVxulp(b'\xfc\x89/\xbb\x88\xd6&\xb7S{\xcc-'), '\144' + chr(101) + chr(0b1100011) + chr(0b1001110 + 0o41) + chr(0b1100100) + '\145')(chr(117) + '\164' + chr(0b1100110) + '\x2d' + chr(0b111000)))(), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110000), 8), roI3spqORKae(NoZxuO7wjArS, roI3spqORKae(ES5oEprVxulp(b'\xfc\x89/\xbb\x88\xd6&\xb7S{\xcc-'), chr(0b1100100) + '\145' + chr(4099 - 4000) + '\x6f' + chr(0b1100100) + '\145')(chr(117) + '\164' + '\146' + '\055' + chr(2792 - 2736)))() + 0.1 * roI3spqORKae(NoZxuO7wjArS, roI3spqORKae(ES5oEprVxulp(b'\xfc\x89/\xbb\x88\xd6&\xb7S{\xcc-'), chr(0b1100100) + '\145' + chr(0b110011 + 0o60) + chr(111) + chr(100) + chr(0b11111 + 0o106))(chr(0b1011001 + 0o34) + chr(10326 - 10210) + '\x66' + chr(45) + '\x38'))()])
roI3spqORKae(ZtB7KOLCW2Hk, roI3spqORKae(ES5oEprVxulp(b'\xc4\xbab\x87\x9b\xf3/\xa7Y^'), chr(0b1100100) + chr(0b1100101) + chr(0b11 + 0o140) + chr(0b1101111) + chr(9844 - 9744) + chr(0b1100101))('\x75' + chr(13033 - 12917) + '\x66' + '\055' + chr(1595 - 1539)))(ikxkW8dy4ZA_)
SLVB2BPA_mIe = roI3spqORKae(ES5oEprVxulp(b'\xf9\xff+\xf8'), chr(0b1001101 + 0o27) + chr(101) + '\x63' + chr(0b1101111) + chr(0b1100100) + '\x65')('\165' + '\164' + chr(4359 - 4257) + '\055' + chr(56)) + N9zlRy29S1SS(ftfygxgFas5X(hOjrMKpaybfC))
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\xf8\x90&\xac\xb1\xc8w\xa4Vm\xdd$'), '\144' + chr(0b1100 + 0o131) + chr(99) + chr(7457 - 7346) + chr(0b10 + 0o142) + '\145')(chr(117) + '\x74' + chr(0b1100110) + chr(0b101101) + '\070'))(SLVB2BPA_mIe)
if f4XDWm__k5ZA:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b"\xd3\xadw\xaf\xbc\xf9'\xa2O"), chr(100) + '\145' + chr(5157 - 5058) + chr(0b1101111) + chr(0b1100100) + '\x65')(chr(8252 - 8135) + chr(10569 - 10453) + '\x66' + '\x2d' + chr(2123 - 2067)))({nzTpIcepk0o8(chr(0b110000) + '\157' + '\061', 8): roI3spqORKae(ES5oEprVxulp(b'\xdf\xb6e\xac'), chr(0b1100100) + '\145' + '\x63' + chr(0b100001 + 0o116) + '\144' + chr(101))('\x75' + chr(0b1110100) + chr(102) + chr(0b100101 + 0o10) + '\x38')})
fSdw5wwLo9MO = QnTXOd5N96r1(roI3spqORKae(ES5oEprVxulp(b'\xc4\x84w\x85\x95\xfan\xb1S\x12\xd6-\x05-\t\x81\xc4\xdd\xf6\x84SYn\xef\x18\x1a{d~\xa6\xf8\xb3A\x90\x7f\xedP\x19P.\xd8\xaab\xf8\x90\xfe8\xacRU\x85l'), '\144' + chr(0b0 + 0o145) + chr(0b1100011) + '\157' + chr(9281 - 9181) + chr(101))(chr(0b11100 + 0o131) + '\164' + chr(102) + chr(122 - 77) + chr(0b111000)))
if fSdw5wwLo9MO != roI3spqORKae(ES5oEprVxulp(b'\xd6'), chr(0b1100100) + chr(4239 - 4138) + chr(0b1100011) + '\157' + chr(2942 - 2842) + '\x65')(chr(0b10111 + 0o136) + '\x74' + chr(102) + chr(0b101101) + chr(0b111000)):
return (nzTpIcepk0o8(chr(0b110000) + chr(0b100011 + 0o114) + chr(2394 - 2345), 8), [])
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\xc4\xbe`\xbd\x85\xf6)'), '\x64' + chr(101) + chr(0b1100011) + chr(111) + chr(0b1100010 + 0o2) + '\x65')(chr(0b110001 + 0o104) + chr(116) + '\x66' + chr(45) + chr(1012 - 956)))(neY2HPRd1pS4)
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xc7\xb3y\xac\xc3\xec/\xb3YV\x85%\x1dh'), '\x64' + chr(0b1100101) + chr(99) + chr(0b1101111) + chr(100) + '\145')(chr(13306 - 13189) + chr(0b1110100) + chr(102) + '\055' + '\070'), neY2HPRd1pS4)
return (nzTpIcepk0o8('\x30' + chr(0b11 + 0o154) + chr(0b101101 + 0o4), 8), [neY2HPRd1pS4])
if roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xde\xacE\xbd\x91\xe9+\xb7'), chr(5323 - 5223) + chr(101) + chr(0b11110 + 0o105) + '\157' + '\144' + '\x65')(chr(117) + '\164' + '\x66' + chr(45) + chr(732 - 676))):
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\xd6\xbbr\x87\x81\xf0<\xa1Y@\xd6'), chr(3712 - 3612) + '\145' + chr(0b110110 + 0o55) + chr(111) + chr(0b1100100) + chr(0b1100101))(chr(117) + chr(0b1110100) + chr(102) + chr(1512 - 1467) + chr(56)))({roI3spqORKae(ES5oEprVxulp(b'\xdf\xb6e\xac'), chr(0b1001010 + 0o32) + chr(101) + chr(0b1100011) + '\157' + chr(0b1100100) + chr(0b101011 + 0o72))(chr(0b1110101) + chr(6760 - 6644) + chr(0b101101 + 0o71) + chr(0b101 + 0o50) + chr(2678 - 2622)): nzTpIcepk0o8(chr(0b110000) + '\157' + chr(49), 8)}, {roI3spqORKae(ES5oEprVxulp(b'\xdf\xb6e\xac'), '\x64' + '\x65' + chr(0b1100011) + chr(8067 - 7956) + chr(0b1010010 + 0o22) + chr(1069 - 968))('\x75' + '\164' + '\146' + chr(0b101101) + chr(56)): roI3spqORKae(ES5oEprVxulp(b"\xfe\xb1b\xbd\x8d\xec'\xb1E\x12\xed%\x00<F\x96\xda\xd3\xef"), chr(100) + chr(0b1001100 + 0o31) + '\143' + chr(0b110011 + 0o74) + '\144' + chr(101))('\x75' + chr(0b100110 + 0o116) + chr(0b110101 + 0o61) + '\055' + chr(0b10111 + 0o41))})
if bxxuZm4I6LgY:
roI3spqORKae(Z7HGgmIyegqz, roI3spqORKae(ES5oEprVxulp(b'\xc4\xbe`\xbd\x85\xf6)'), chr(0b1100100) + '\145' + chr(2825 - 2726) + '\157' + '\x64' + chr(0b100011 + 0o102))(chr(6829 - 6712) + chr(0b1110100) + chr(0b100100 + 0o102) + chr(45) + chr(0b111000)))(neY2HPRd1pS4)
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xc7\xb3y\xac\xc3\xec/\xb3YV\x85%\x1dh'), '\x64' + chr(0b1100101) + chr(0b101 + 0o136) + chr(0b1000101 + 0o52) + chr(0b11 + 0o141) + chr(0b1100101))('\x75' + chr(0b1110100) + chr(0b1100110) + chr(432 - 387) + '\x38'), neY2HPRd1pS4)
return (nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b101100 + 0o5), 8), [neY2HPRd1pS4])
|
PmagPy/PmagPy
|
pmagpy/ipmag.py
|
Site.parse_fits
|
def parse_fits(self, fit_name):
'''USE PARSE_ALL_FITS unless otherwise necessary
Isolate fits by the name of the fit; we also set 'specimen_tilt_correction' to zero in order
to only include data in geographic coordinates - THIS NEEDS TO BE GENERALIZED
'''
fits = self.fits.loc[self.fits.specimen_comp_name ==
fit_name].loc[self.fits.specimen_tilt_correction == 0]
fits.reset_index(inplace=True)
means = self.means.loc[self.means.site_comp_name ==
fit_name].loc[self.means.site_tilt_correction == 0]
means.reset_index(inplace=True)
mean_name = str(fit_name) + "_mean"
setattr(self, fit_name, fits)
setattr(self, mean_name, means)
|
python
|
def parse_fits(self, fit_name):
'''USE PARSE_ALL_FITS unless otherwise necessary
Isolate fits by the name of the fit; we also set 'specimen_tilt_correction' to zero in order
to only include data in geographic coordinates - THIS NEEDS TO BE GENERALIZED
'''
fits = self.fits.loc[self.fits.specimen_comp_name ==
fit_name].loc[self.fits.specimen_tilt_correction == 0]
fits.reset_index(inplace=True)
means = self.means.loc[self.means.site_comp_name ==
fit_name].loc[self.means.site_tilt_correction == 0]
means.reset_index(inplace=True)
mean_name = str(fit_name) + "_mean"
setattr(self, fit_name, fits)
setattr(self, mean_name, means)
|
[
"def",
"parse_fits",
"(",
"self",
",",
"fit_name",
")",
":",
"fits",
"=",
"self",
".",
"fits",
".",
"loc",
"[",
"self",
".",
"fits",
".",
"specimen_comp_name",
"==",
"fit_name",
"]",
".",
"loc",
"[",
"self",
".",
"fits",
".",
"specimen_tilt_correction",
"==",
"0",
"]",
"fits",
".",
"reset_index",
"(",
"inplace",
"=",
"True",
")",
"means",
"=",
"self",
".",
"means",
".",
"loc",
"[",
"self",
".",
"means",
".",
"site_comp_name",
"==",
"fit_name",
"]",
".",
"loc",
"[",
"self",
".",
"means",
".",
"site_tilt_correction",
"==",
"0",
"]",
"means",
".",
"reset_index",
"(",
"inplace",
"=",
"True",
")",
"mean_name",
"=",
"str",
"(",
"fit_name",
")",
"+",
"\"_mean\"",
"setattr",
"(",
"self",
",",
"fit_name",
",",
"fits",
")",
"setattr",
"(",
"self",
",",
"mean_name",
",",
"means",
")"
] |
USE PARSE_ALL_FITS unless otherwise necessary
Isolate fits by the name of the fit; we also set 'specimen_tilt_correction' to zero in order
to only include data in geographic coordinates - THIS NEEDS TO BE GENERALIZED
|
[
"USE",
"PARSE_ALL_FITS",
"unless",
"otherwise",
"necessary",
"Isolate",
"fits",
"by",
"the",
"name",
"of",
"the",
"fit",
";",
"we",
"also",
"set",
"specimen_tilt_correction",
"to",
"zero",
"in",
"order",
"to",
"only",
"include",
"data",
"in",
"geographic",
"coordinates",
"-",
"THIS",
"NEEDS",
"TO",
"BE",
"GENERALIZED"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/pmagpy/ipmag.py#L6411-L6424
|
train
|
USE PARSE_ALL_FITS unless otherwise necessary
Isolate fits by the name of the fit ; we also set specimen_tilt_correction to zero in order
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b110010) + chr(1720 - 1666) + '\x37', 0o10), nzTpIcepk0o8('\060' + '\x6f' + chr(0b101100 + 0o5) + chr(50) + chr(611 - 560), 0b1000), nzTpIcepk0o8('\060' + chr(0b1101111) + '\x37' + chr(91 - 42), ord("\x08")), nzTpIcepk0o8(chr(0b100111 + 0o11) + chr(4668 - 4557) + '\x32' + '\x35' + '\064', ord("\x08")), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b11011 + 0o30) + chr(1300 - 1250) + '\064', 53787 - 53779), nzTpIcepk0o8(chr(0b10000 + 0o40) + '\157' + chr(0b110011) + '\x31' + chr(0b110101), 0b1000), nzTpIcepk0o8(chr(772 - 724) + '\157' + chr(50) + chr(0b110001) + '\x37', ord("\x08")), nzTpIcepk0o8('\x30' + '\x6f' + '\x31' + chr(53) + chr(52), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(49) + '\x33' + '\x35', 59388 - 59380), nzTpIcepk0o8('\060' + '\x6f' + chr(0b110001) + '\067' + chr(0b10110 + 0o32), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(6613 - 6502) + chr(50) + '\061' + '\064', 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b110110 + 0o71) + chr(0b1100 + 0o46) + '\061' + chr(0b10011 + 0o36), 25068 - 25060), nzTpIcepk0o8(chr(2197 - 2149) + '\157' + chr(0b100100 + 0o15) + '\063' + chr(48), ord("\x08")), nzTpIcepk0o8('\060' + chr(111) + chr(0b110001) + '\x37' + chr(1951 - 1896), 0o10), nzTpIcepk0o8(chr(0b100 + 0o54) + chr(0b1101111) + chr(49) + chr(48) + chr(0b110111), ord("\x08")), nzTpIcepk0o8(chr(1164 - 1116) + '\157' + '\066' + chr(0b101001 + 0o13), 15325 - 15317), nzTpIcepk0o8(chr(924 - 876) + chr(8193 - 8082) + chr(1746 - 1696) + '\x34' + chr(0b110100), 0b1000), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110101) + '\x35', 0o10), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\x35' + '\x35', 8), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(1697 - 1647) + chr(49), 0o10), nzTpIcepk0o8(chr(1523 - 1475) + chr(1790 - 1679) + chr(49) + '\061' + chr(844 - 792), 0b1000), nzTpIcepk0o8(chr(0b10001 + 0o37) + chr(0b101001 + 0o106) + '\062' + chr(0b10100 + 0o35) + '\x35', 42658 - 42650), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b100000 + 0o21) + chr(55) + chr(50), 0o10), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b110011) + chr(2017 - 1966) + chr(49), 0o10), nzTpIcepk0o8('\x30' + chr(111) + chr(0b110011) + chr(0b110000) + chr(55), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b101011 + 0o104) + chr(956 - 905) + chr(55) + chr(0b100110 + 0o21), 0b1000), nzTpIcepk0o8('\060' + chr(0b1111 + 0o140) + chr(49) + chr(0b1011 + 0o52) + '\066', 8132 - 8124), nzTpIcepk0o8(chr(48) + chr(0b1000 + 0o147) + '\062' + chr(0b1101 + 0o43) + chr(53), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(49) + '\x32' + chr(53), 0b1000), nzTpIcepk0o8(chr(48) + chr(12185 - 12074) + chr(0b110111) + chr(48), 0b1000), nzTpIcepk0o8('\060' + '\157' + chr(0b110110), 8988 - 8980), nzTpIcepk0o8(chr(0b11010 + 0o26) + '\157' + chr(0b110010) + chr(0b10111 + 0o40) + chr(51), 0b1000), nzTpIcepk0o8('\x30' + '\157' + '\063' + chr(719 - 669) + chr(1440 - 1392), 39547 - 39539), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(51) + '\x33' + chr(0b11000 + 0o33), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(51) + '\060' + chr(0b0 + 0o64), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b1100 + 0o143) + chr(261 - 211) + chr(171 - 117) + chr(0b100110 + 0o12), 19042 - 19034), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(735 - 685) + '\x34', 33435 - 33427), nzTpIcepk0o8(chr(0b11111 + 0o21) + chr(0b1001111 + 0o40) + '\061' + chr(0b110111) + chr(553 - 498), 8), nzTpIcepk0o8(chr(0b1101 + 0o43) + '\157' + chr(0b110001) + chr(0b0 + 0o62) + chr(0b100111 + 0o20), 0o10), nzTpIcepk0o8(chr(973 - 925) + '\157' + '\x32' + '\x37' + chr(0b100001 + 0o17), 0o10)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(0b100110 + 0o12) + '\157' + chr(53) + '\060', 0o10)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\x99'), chr(100) + chr(0b1100101) + chr(99) + chr(11448 - 11337) + chr(0b1010101 + 0o17) + '\145')('\165' + chr(0b111111 + 0o65) + chr(0b1011100 + 0o12) + chr(0b101101) + chr(1149 - 1093)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def sZVDSAQpoQW7(hXMPsSrOQzbh, m9tKkVsoYFyk):
yC5r3H4I6Uvb = hXMPsSrOQzbh.fits.loc[hXMPsSrOQzbh.fits.specimen_comp_name == m9tKkVsoYFyk].UQ8hRiBoHcn5[hXMPsSrOQzbh.fits.specimen_tilt_correction == nzTpIcepk0o8(chr(1879 - 1831) + chr(11573 - 11462) + '\x30', 30690 - 30682)]
roI3spqORKae(yC5r3H4I6Uvb, roI3spqORKae(ES5oEprVxulp(b'\xc56J\xc9\xa0\x92\xe6\x029\x1d\xf4'), '\x64' + '\145' + '\x63' + chr(5687 - 5576) + chr(100) + chr(0b1100101))(chr(117) + chr(0b1110100) + '\146' + '\055' + chr(0b111000)))(inplace=nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\x31', ord("\x08")))
rDdMWTyGVpQb = hXMPsSrOQzbh.means.loc[hXMPsSrOQzbh.means.site_comp_name == m9tKkVsoYFyk].UQ8hRiBoHcn5[hXMPsSrOQzbh.means.site_tilt_correction == nzTpIcepk0o8('\x30' + chr(111) + '\x30', 8)]
roI3spqORKae(rDdMWTyGVpQb, roI3spqORKae(ES5oEprVxulp(b'\xc56J\xc9\xa0\x92\xe6\x029\x1d\xf4'), chr(0b111011 + 0o51) + '\x65' + chr(0b1000 + 0o133) + '\157' + chr(3521 - 3421) + chr(101))(chr(117) + '\x74' + '\146' + '\x2d' + chr(0b111000)))(inplace=nzTpIcepk0o8(chr(0b100 + 0o54) + chr(2349 - 2238) + '\061', 8))
Lgm3FNwq8xNQ = N9zlRy29S1SS(m9tKkVsoYFyk) + roI3spqORKae(ES5oEprVxulp(b'\xe8>\\\xcd\xba'), chr(0b1100100) + chr(2464 - 2363) + chr(99) + chr(6296 - 6185) + '\x64' + chr(5808 - 5707))(chr(0b1110011 + 0o2) + '\164' + chr(102) + chr(45) + chr(0b111000))
lCf1uzpaIUMv(hXMPsSrOQzbh, m9tKkVsoYFyk, yC5r3H4I6Uvb)
lCf1uzpaIUMv(hXMPsSrOQzbh, Lgm3FNwq8xNQ, rDdMWTyGVpQb)
|
PmagPy/PmagPy
|
programs/deprecated/measurements_normalize.py
|
main
|
def main():
"""
NAME
measurements_normalize.py
DESCRIPTION
takes magic_measurements file and normalized moment by sample_weight and sample_volume in the er_specimens table
SYNTAX
measurements_normalize.py [command line options]
OPTIONS
-f FILE: specify input file, default is: magic_measurements.txt
-fsp FILE: specify input specimen file, default is: er_specimens.txt
-F FILE: specify output measurements, default is to overwrite input file
"""
#
# initialize variables
#
#
#
dir_path='.'
if "-WD" in sys.argv:
ind=sys.argv.index("-WD")
dir_path=sys.argv[ind+1]
meas_file,spec_file= dir_path+"/magic_measurements.txt",dir_path+"/er_specimens.txt"
out_file=meas_file
MeasRecs,SpecRecs=[],[]
OutRecs=[]
if "-h" in sys.argv:
print(main.__doc__)
sys.exit()
if "-f" in sys.argv:
ind=sys.argv.index("-f")
meas_file=dir_path+'/'+sys.argv[ind+1]
if "-fsp" in sys.argv:
ind=sys.argv.index("-fsp")
spec_file=dir_path+'/'+sys.argv[ind+1]
if "-F" in sys.argv:
ind=sys.argv.index("-F")
out_file=dir_path+'/'+sys.argv[ind+1]
MeasRecs,file_type=pmag.magic_read(meas_file)
Specs,file_type=pmag.magic_read(spec_file)
for rec in MeasRecs:
if 'measurement_magn_moment' in list(rec.keys()) and rec['measurement_magn_moment'] != "":
for spec in Specs:
if spec['er_specimen_name']==rec['er_specimen_name']:
if 'specimen_weight' in list(spec.keys()) and spec['specimen_weight']!="":
rec['measurement_magn_mass']='%e'%(old_div(float(rec['measurement_magn_moment']),float(spec['specimen_weight'])))
if 'specimen_volume' in list(spec.keys()) and spec['specimen_volume']!="":
rec['measurement_magn_volume']='%e'%(old_div(float(rec['measurement_magn_moment']),float(spec['specimen_volume'])))
break
if 'measurement_magn_volume' not in list(rec.keys()): rec['measurement_magn_volume']=''
if 'measurement_magn_mass' not in list(rec.keys()): rec['measurement_magn_mass']=''
OutRecs.append(rec)
pmag.magic_write(out_file,OutRecs,"magic_measurements")
print("Data saved in ", out_file)
|
python
|
def main():
"""
NAME
measurements_normalize.py
DESCRIPTION
takes magic_measurements file and normalized moment by sample_weight and sample_volume in the er_specimens table
SYNTAX
measurements_normalize.py [command line options]
OPTIONS
-f FILE: specify input file, default is: magic_measurements.txt
-fsp FILE: specify input specimen file, default is: er_specimens.txt
-F FILE: specify output measurements, default is to overwrite input file
"""
#
# initialize variables
#
#
#
dir_path='.'
if "-WD" in sys.argv:
ind=sys.argv.index("-WD")
dir_path=sys.argv[ind+1]
meas_file,spec_file= dir_path+"/magic_measurements.txt",dir_path+"/er_specimens.txt"
out_file=meas_file
MeasRecs,SpecRecs=[],[]
OutRecs=[]
if "-h" in sys.argv:
print(main.__doc__)
sys.exit()
if "-f" in sys.argv:
ind=sys.argv.index("-f")
meas_file=dir_path+'/'+sys.argv[ind+1]
if "-fsp" in sys.argv:
ind=sys.argv.index("-fsp")
spec_file=dir_path+'/'+sys.argv[ind+1]
if "-F" in sys.argv:
ind=sys.argv.index("-F")
out_file=dir_path+'/'+sys.argv[ind+1]
MeasRecs,file_type=pmag.magic_read(meas_file)
Specs,file_type=pmag.magic_read(spec_file)
for rec in MeasRecs:
if 'measurement_magn_moment' in list(rec.keys()) and rec['measurement_magn_moment'] != "":
for spec in Specs:
if spec['er_specimen_name']==rec['er_specimen_name']:
if 'specimen_weight' in list(spec.keys()) and spec['specimen_weight']!="":
rec['measurement_magn_mass']='%e'%(old_div(float(rec['measurement_magn_moment']),float(spec['specimen_weight'])))
if 'specimen_volume' in list(spec.keys()) and spec['specimen_volume']!="":
rec['measurement_magn_volume']='%e'%(old_div(float(rec['measurement_magn_moment']),float(spec['specimen_volume'])))
break
if 'measurement_magn_volume' not in list(rec.keys()): rec['measurement_magn_volume']=''
if 'measurement_magn_mass' not in list(rec.keys()): rec['measurement_magn_mass']=''
OutRecs.append(rec)
pmag.magic_write(out_file,OutRecs,"magic_measurements")
print("Data saved in ", out_file)
|
[
"def",
"main",
"(",
")",
":",
"#",
"# initialize variables",
"#",
"#",
"#",
"dir_path",
"=",
"'.'",
"if",
"\"-WD\"",
"in",
"sys",
".",
"argv",
":",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"\"-WD\"",
")",
"dir_path",
"=",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
"meas_file",
",",
"spec_file",
"=",
"dir_path",
"+",
"\"/magic_measurements.txt\"",
",",
"dir_path",
"+",
"\"/er_specimens.txt\"",
"out_file",
"=",
"meas_file",
"MeasRecs",
",",
"SpecRecs",
"=",
"[",
"]",
",",
"[",
"]",
"OutRecs",
"=",
"[",
"]",
"if",
"\"-h\"",
"in",
"sys",
".",
"argv",
":",
"print",
"(",
"main",
".",
"__doc__",
")",
"sys",
".",
"exit",
"(",
")",
"if",
"\"-f\"",
"in",
"sys",
".",
"argv",
":",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"\"-f\"",
")",
"meas_file",
"=",
"dir_path",
"+",
"'/'",
"+",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
"if",
"\"-fsp\"",
"in",
"sys",
".",
"argv",
":",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"\"-fsp\"",
")",
"spec_file",
"=",
"dir_path",
"+",
"'/'",
"+",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
"if",
"\"-F\"",
"in",
"sys",
".",
"argv",
":",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"\"-F\"",
")",
"out_file",
"=",
"dir_path",
"+",
"'/'",
"+",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
"MeasRecs",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"meas_file",
")",
"Specs",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"spec_file",
")",
"for",
"rec",
"in",
"MeasRecs",
":",
"if",
"'measurement_magn_moment'",
"in",
"list",
"(",
"rec",
".",
"keys",
"(",
")",
")",
"and",
"rec",
"[",
"'measurement_magn_moment'",
"]",
"!=",
"\"\"",
":",
"for",
"spec",
"in",
"Specs",
":",
"if",
"spec",
"[",
"'er_specimen_name'",
"]",
"==",
"rec",
"[",
"'er_specimen_name'",
"]",
":",
"if",
"'specimen_weight'",
"in",
"list",
"(",
"spec",
".",
"keys",
"(",
")",
")",
"and",
"spec",
"[",
"'specimen_weight'",
"]",
"!=",
"\"\"",
":",
"rec",
"[",
"'measurement_magn_mass'",
"]",
"=",
"'%e'",
"%",
"(",
"old_div",
"(",
"float",
"(",
"rec",
"[",
"'measurement_magn_moment'",
"]",
")",
",",
"float",
"(",
"spec",
"[",
"'specimen_weight'",
"]",
")",
")",
")",
"if",
"'specimen_volume'",
"in",
"list",
"(",
"spec",
".",
"keys",
"(",
")",
")",
"and",
"spec",
"[",
"'specimen_volume'",
"]",
"!=",
"\"\"",
":",
"rec",
"[",
"'measurement_magn_volume'",
"]",
"=",
"'%e'",
"%",
"(",
"old_div",
"(",
"float",
"(",
"rec",
"[",
"'measurement_magn_moment'",
"]",
")",
",",
"float",
"(",
"spec",
"[",
"'specimen_volume'",
"]",
")",
")",
")",
"break",
"if",
"'measurement_magn_volume'",
"not",
"in",
"list",
"(",
"rec",
".",
"keys",
"(",
")",
")",
":",
"rec",
"[",
"'measurement_magn_volume'",
"]",
"=",
"''",
"if",
"'measurement_magn_mass'",
"not",
"in",
"list",
"(",
"rec",
".",
"keys",
"(",
")",
")",
":",
"rec",
"[",
"'measurement_magn_mass'",
"]",
"=",
"''",
"OutRecs",
".",
"append",
"(",
"rec",
")",
"pmag",
".",
"magic_write",
"(",
"out_file",
",",
"OutRecs",
",",
"\"magic_measurements\"",
")",
"print",
"(",
"\"Data saved in \"",
",",
"out_file",
")"
] |
NAME
measurements_normalize.py
DESCRIPTION
takes magic_measurements file and normalized moment by sample_weight and sample_volume in the er_specimens table
SYNTAX
measurements_normalize.py [command line options]
OPTIONS
-f FILE: specify input file, default is: magic_measurements.txt
-fsp FILE: specify input specimen file, default is: er_specimens.txt
-F FILE: specify output measurements, default is to overwrite input file
|
[
"NAME",
"measurements_normalize",
".",
"py",
"DESCRIPTION",
"takes",
"magic_measurements",
"file",
"and",
"normalized",
"moment",
"by",
"sample_weight",
"and",
"sample_volume",
"in",
"the",
"er_specimens",
"table",
"SYNTAX",
"measurements_normalize",
".",
"py",
"[",
"command",
"line",
"options",
"]"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/programs/deprecated/measurements_normalize.py#L9-L66
|
train
|
NAME measurements_normalize. py DESCRIPTION
takes magic_measurements file and normalized moment by sample weight and sample volume in the er_specimens table
returns a list of dicts each containing the name of the unique item in the table that contains the unique item in the order they appear in the measurements file.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8('\060' + '\157' + chr(51) + chr(2693 - 2641) + chr(0b111 + 0o60), 0b1000), nzTpIcepk0o8(chr(0b10001 + 0o37) + chr(155 - 44) + '\x32' + '\067' + chr(2008 - 1960), 14051 - 14043), nzTpIcepk0o8(chr(48) + chr(0b11001 + 0o126) + chr(49) + chr(0b110000) + chr(0b101110 + 0o10), 0o10), nzTpIcepk0o8('\x30' + '\x6f' + chr(51) + chr(51) + chr(49), 62755 - 62747), nzTpIcepk0o8(chr(0b100110 + 0o12) + chr(0b1101111) + chr(51) + chr(337 - 286) + chr(0b110111), 12567 - 12559), nzTpIcepk0o8(chr(0b1100 + 0o44) + chr(9674 - 9563) + chr(0b101110 + 0o5) + chr(1752 - 1698) + '\x36', 0b1000), nzTpIcepk0o8(chr(1488 - 1440) + chr(0b1101111) + chr(49) + '\x33' + '\x37', 0o10), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x31' + chr(364 - 315) + '\064', 0o10), nzTpIcepk0o8('\x30' + chr(0b100 + 0o153) + chr(0b110010) + chr(51), 0o10), nzTpIcepk0o8(chr(48) + chr(111) + chr(0b110011) + chr(1675 - 1627) + '\x33', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1000 + 0o147) + chr(49) + '\x30' + '\061', 0o10), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(51) + '\064' + chr(0b1110 + 0o50), 26418 - 26410), nzTpIcepk0o8('\060' + chr(0b1101000 + 0o7) + chr(1499 - 1446) + '\x37', 10097 - 10089), nzTpIcepk0o8('\060' + chr(2311 - 2200) + '\062', 0b1000), nzTpIcepk0o8(chr(0b10101 + 0o33) + chr(6484 - 6373) + chr(0b11110 + 0o23) + chr(372 - 319) + chr(311 - 259), 0o10), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b110101) + '\x37', 8), nzTpIcepk0o8(chr(48) + '\x6f' + chr(1828 - 1779) + '\067' + chr(48), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(4707 - 4596) + chr(1719 - 1669) + '\065', 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b1001 + 0o52) + '\x34' + chr(50), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1001100 + 0o43) + '\061' + chr(0b110101) + chr(0b110101), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b111000 + 0o67) + chr(1936 - 1887) + chr(2882 - 2827), ord("\x08")), nzTpIcepk0o8(chr(48) + '\x6f' + chr(716 - 667) + chr(277 - 226) + chr(0b110100), 0b1000), nzTpIcepk0o8(chr(2025 - 1977) + '\157' + chr(49) + chr(2399 - 2344) + '\061', 0b1000), nzTpIcepk0o8('\x30' + chr(2222 - 2111) + chr(0b110001) + chr(51) + chr(55), 8), nzTpIcepk0o8('\x30' + chr(111) + '\063' + chr(54) + chr(0b110 + 0o57), 24144 - 24136), nzTpIcepk0o8(chr(48) + chr(111) + chr(53) + '\066', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\063' + chr(1623 - 1575) + '\060', ord("\x08")), nzTpIcepk0o8('\060' + chr(111) + '\063' + chr(53) + '\x36', 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b101101 + 0o6) + chr(1593 - 1538) + '\064', 10090 - 10082), nzTpIcepk0o8('\060' + '\157' + '\x31' + chr(0b110001) + chr(0b110101), 0b1000), nzTpIcepk0o8(chr(48) + '\x6f' + '\x32' + '\066' + chr(0b110000), 0o10), nzTpIcepk0o8(chr(0b11 + 0o55) + '\x6f' + chr(273 - 224) + chr(0b110000) + chr(2264 - 2214), 45478 - 45470), nzTpIcepk0o8(chr(48) + '\157' + chr(2394 - 2345) + chr(0b110100) + chr(48), 0b1000), nzTpIcepk0o8('\060' + '\x6f' + chr(0b110011) + chr(49) + chr(0b0 + 0o67), 52177 - 52169), nzTpIcepk0o8('\x30' + chr(111) + chr(51) + chr(51) + chr(50), 0o10), nzTpIcepk0o8(chr(1316 - 1268) + '\157' + chr(0b110010) + chr(2705 - 2652) + chr(2088 - 2037), 0b1000), nzTpIcepk0o8(chr(0b100100 + 0o14) + '\x6f' + chr(50) + chr(48) + chr(0b110110 + 0o1), ord("\x08")), nzTpIcepk0o8(chr(0b10110 + 0o32) + chr(4973 - 4862) + chr(55) + chr(0b101100 + 0o5), ord("\x08")), nzTpIcepk0o8(chr(0b10111 + 0o31) + chr(0b1101111) + chr(55) + '\x37', 59649 - 59641), nzTpIcepk0o8(chr(1081 - 1033) + chr(0b100110 + 0o111) + '\x32' + '\x34' + '\x35', 0o10)][ZlbFMSG8gCoF % nzTpIcepk0o8('\x30' + '\x6f' + chr(2346 - 2293) + chr(0b110000), 65461 - 65453)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xc9'), chr(0b1101 + 0o127) + chr(101) + chr(99) + chr(0b1101111) + '\x64' + '\145')(chr(117) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(0b110010 + 0o6)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def BXHXH_QeD6rL():
qjksZ7GK0xkJ = roI3spqORKae(ES5oEprVxulp(b'\xc9'), chr(0b1100100 + 0o0) + chr(101) + chr(0b1100011) + chr(111) + chr(100) + chr(0b1100101))(chr(0b100011 + 0o122) + '\164' + chr(102) + '\x2d' + '\x38')
if roI3spqORKae(ES5oEprVxulp(b'\xca\xef\x02'), '\144' + chr(0b1100101) + '\143' + chr(8184 - 8073) + chr(100) + chr(0b1100000 + 0o5))('\165' + '\164' + chr(0b1100110) + chr(0b1100 + 0o41) + chr(0b101100 + 0o14)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\x86\xd2\x0f\x9d\x88\x8f\x07\x01Q\xa2r\x84'), chr(0b110001 + 0o63) + chr(0b1100101) + '\x63' + '\x6f' + '\x64' + chr(101))('\x75' + chr(116) + chr(4525 - 4423) + '\055' + chr(0b100010 + 0o26))):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\xca\xef\x02'), chr(100) + '\x65' + chr(0b1001111 + 0o24) + chr(1639 - 1528) + chr(0b1010001 + 0o23) + '\x65')('\165' + chr(0b1110100) + chr(4605 - 4503) + '\x2d' + chr(0b101110 + 0o12)))
qjksZ7GK0xkJ = bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x31', 32060 - 32052)]
(rHPU8oONrR4n, QJgeTIOanow9) = (qjksZ7GK0xkJ + roI3spqORKae(ES5oEprVxulp(b"\xc8\xd5'\xbe\xb6\x95\x00!v\xa22\x93]g\x01J\x16a\x91C{$\r"), chr(6702 - 6602) + '\x65' + chr(0b11101 + 0o106) + '\157' + chr(0b1100100) + '\145')(chr(2252 - 2135) + '\x74' + chr(102) + '\055' + '\x38'), qjksZ7GK0xkJ + roI3spqORKae(ES5oEprVxulp(b'\xc8\xdd4\x86\xac\x86:/z\xae$\x88\\,\x18W\x0c'), chr(0b111001 + 0o53) + chr(10056 - 9955) + chr(4523 - 4424) + '\x6f' + '\144' + chr(0b1 + 0o144))('\165' + chr(0b110111 + 0o75) + chr(102) + '\x2d' + '\x38'))
vqkvTUJsdUtb = rHPU8oONrR4n
(UC2SooMZGNQU, ats0aw_IRz86) = ([], [])
rTDcaX4BgRcF = []
if roI3spqORKae(ES5oEprVxulp(b'\xca\xd0'), '\144' + chr(101) + chr(9534 - 9435) + chr(111) + '\x64' + chr(0b1100101))('\x75' + '\x74' + '\x66' + chr(0b101101) + chr(0b10 + 0o66)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\x86\xd2\x0f\x9d\x88\x8f\x07\x01Q\xa2r\x84'), chr(0b1100100) + '\145' + chr(7225 - 7126) + chr(111) + '\x64' + chr(9620 - 9519))('\165' + chr(0b1110100) + chr(102) + '\055' + '\070')):
v8jsMqaYV6U2(roI3spqORKae(BXHXH_QeD6rL, roI3spqORKae(ES5oEprVxulp(b'\x9e\xde\x03\xbc\xae\xa76\x19|\xb2\x16\xb2'), '\144' + chr(0b1100001 + 0o4) + chr(99) + '\157' + '\x64' + '\145')(chr(2190 - 2073) + '\164' + chr(7382 - 7280) + '\055' + chr(56))))
roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\xbd\xcd4\xb3\xbc\xa3\x13}`\xb0\x00\xde'), chr(3582 - 3482) + '\145' + '\143' + chr(0b1011101 + 0o22) + chr(100) + '\145')(chr(13132 - 13015) + chr(0b101100 + 0o110) + '\146' + chr(992 - 947) + chr(0b111000)))()
if roI3spqORKae(ES5oEprVxulp(b'\xca\xde'), chr(100) + chr(101) + chr(4712 - 4613) + '\x6f' + chr(1332 - 1232) + chr(101))('\165' + '\164' + '\146' + '\055' + chr(0b1 + 0o67)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\x86\xd2\x0f\x9d\x88\x8f\x07\x01Q\xa2r\x84'), chr(0b1100100) + '\145' + chr(0b1100011) + '\157' + chr(0b1000110 + 0o36) + chr(0b1100101))('\165' + chr(0b111010 + 0o72) + '\146' + chr(0b101101) + '\x38')):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\xca\xde'), '\144' + chr(101) + chr(0b1100011) + chr(0b1101111) + chr(5497 - 5397) + '\145')(chr(117) + chr(116) + '\x66' + chr(0b101101) + chr(56)))
rHPU8oONrR4n = qjksZ7GK0xkJ + roI3spqORKae(ES5oEprVxulp(b'\xc8'), '\x64' + '\x65' + chr(99) + chr(0b1100001 + 0o16) + chr(0b1100100) + '\x65')('\x75' + '\164' + '\146' + chr(664 - 619) + chr(0b111000)) + bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8(chr(0b110000) + chr(10051 - 9940) + '\061', 8)]
if roI3spqORKae(ES5oEprVxulp(b'\xca\xde5\xa9'), chr(577 - 477) + chr(101) + chr(3389 - 3290) + chr(6314 - 6203) + chr(100) + chr(101))(chr(0b11010 + 0o133) + chr(9942 - 9826) + chr(102) + chr(0b101101) + '\x38') in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\x86\xd2\x0f\x9d\x88\x8f\x07\x01Q\xa2r\x84'), '\x64' + chr(101) + '\143' + chr(111) + chr(100) + '\x65')(chr(913 - 796) + chr(7344 - 7228) + chr(0b1100110) + chr(45) + '\070')):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\xca\xde5\xa9'), chr(100) + '\x65' + '\143' + chr(111) + chr(100) + chr(101))(chr(117) + chr(0b1011010 + 0o32) + '\x66' + chr(0b101101) + chr(0b1001 + 0o57)))
QJgeTIOanow9 = qjksZ7GK0xkJ + roI3spqORKae(ES5oEprVxulp(b'\xc8'), chr(100) + chr(6052 - 5951) + '\x63' + chr(4548 - 4437) + '\144' + chr(101))(chr(9632 - 9515) + '\x74' + '\x66' + chr(0b1100 + 0o41) + chr(0b11000 + 0o40)) + bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8(chr(1710 - 1662) + chr(0b1100110 + 0o11) + chr(1640 - 1591), 8)]
if roI3spqORKae(ES5oEprVxulp(b'\xca\xfe'), chr(0b1001110 + 0o26) + '\145' + chr(8303 - 8204) + chr(0b1010111 + 0o30) + '\x64' + '\x65')(chr(0b101100 + 0o111) + '\x74' + chr(102) + chr(584 - 539) + chr(2621 - 2565)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\x86\xd2\x0f\x9d\x88\x8f\x07\x01Q\xa2r\x84'), chr(2327 - 2227) + chr(7491 - 7390) + '\x63' + chr(5557 - 5446) + '\144' + chr(0b1100101))(chr(117) + '\164' + '\146' + '\055' + chr(0b101100 + 0o14))):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\xca\xfe'), chr(0b1000011 + 0o41) + chr(5153 - 5052) + '\143' + chr(0b1101111) + '\x64' + chr(7328 - 7227))('\165' + '\x74' + chr(0b1100110) + chr(0b100111 + 0o6) + '\070'))
vqkvTUJsdUtb = qjksZ7GK0xkJ + roI3spqORKae(ES5oEprVxulp(b'\xc8'), '\x64' + '\x65' + chr(99) + chr(0b1101111) + chr(5541 - 5441) + '\145')('\165' + chr(4408 - 4292) + chr(102) + '\055' + chr(0b101100 + 0o14)) + bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\x31', 8)]
(UC2SooMZGNQU, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(rHPU8oONrR4n)
(JlNPC9Ow4uxx, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(QJgeTIOanow9)
for FKO_XxLfWbYt in UC2SooMZGNQU:
if roI3spqORKae(ES5oEprVxulp(b"\x8a\xdd'\xaa\xaa\x84:!v\xad5\xb9Bc\x0bA'x\x8d\x00j2\r"), chr(100) + '\145' + '\x63' + chr(12052 - 11941) + chr(100) + chr(649 - 548))('\165' + chr(116) + chr(0b1100110) + chr(0b101101) + '\x38') in H4NoA26ON7iG(roI3spqORKae(FKO_XxLfWbYt, roI3spqORKae(ES5oEprVxulp(b'\x8c\xdd?\xaa'), chr(4606 - 4506) + chr(0b101110 + 0o67) + '\143' + '\x6f' + chr(100) + chr(101))(chr(0b1110101) + chr(2639 - 2523) + chr(102) + '\055' + chr(0b0 + 0o70)))()) and FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b"\x8a\xdd'\xaa\xaa\x84:!v\xad5\xb9Bc\x0bA'x\x8d\x00j2\r"), chr(100) + chr(8882 - 8781) + chr(5357 - 5258) + chr(111) + '\x64' + chr(852 - 751))(chr(11187 - 11070) + chr(0b101001 + 0o113) + chr(949 - 847) + '\x2d' + chr(0b1000 + 0o60))] != roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + '\145' + chr(99) + chr(111) + '\x64' + chr(101))(chr(117) + chr(0b1010111 + 0o35) + chr(0b1010010 + 0o24) + '\055' + chr(0b110000 + 0o10)):
for L66BkZPPV93j in JlNPC9Ow4uxx:
if L66BkZPPV93j[roI3spqORKae(ES5oEprVxulp(b'\x82\xca\x19\xaa\xaf\x93<%~\xa6/\xb9Ac\x01J'), chr(100) + chr(101) + chr(0b111100 + 0o47) + '\157' + '\x64' + '\145')(chr(6559 - 6442) + '\164' + chr(0b1001111 + 0o27) + '\x2d' + '\070')] == FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b'\x82\xca\x19\xaa\xaf\x93<%~\xa6/\xb9Ac\x01J'), chr(0b1110 + 0o126) + chr(0b1100101) + chr(99) + chr(111) + '\144' + chr(101))(chr(0b1110101) + '\164' + '\146' + '\x2d' + chr(2348 - 2292))]:
if roI3spqORKae(ES5oEprVxulp(b'\x94\xc8#\xba\xb6\x9b:"L\xb4$\x8fHj\x18'), '\x64' + chr(0b1001100 + 0o31) + '\143' + chr(0b1101111) + chr(0b1100100) + chr(0b1100101))('\x75' + chr(116) + chr(1631 - 1529) + chr(0b101101) + '\070') in H4NoA26ON7iG(roI3spqORKae(L66BkZPPV93j, roI3spqORKae(ES5oEprVxulp(b'\x8c\xdd?\xaa'), chr(100) + '\145' + chr(3560 - 3461) + '\157' + chr(0b1100100) + chr(9684 - 9583))(chr(0b1101100 + 0o11) + chr(8193 - 8077) + chr(0b1100110) + '\x2d' + '\x38'))()) and L66BkZPPV93j[roI3spqORKae(ES5oEprVxulp(b'\x94\xc8#\xba\xb6\x9b:"L\xb4$\x8fHj\x18'), chr(0b10110 + 0o116) + chr(0b100000 + 0o105) + chr(0b1011110 + 0o5) + chr(0b1101111) + chr(100) + chr(101))(chr(0b1110101) + chr(116) + chr(0b11100 + 0o112) + '\055' + chr(56))] != roI3spqORKae(ES5oEprVxulp(b''), chr(100) + '\145' + '\143' + '\157' + '\144' + chr(1969 - 1868))(chr(117) + chr(5237 - 5121) + '\x66' + chr(45) + chr(0b111000)):
FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b"\x8a\xdd'\xaa\xaa\x84:!v\xad5\xb9Bc\x0bA'x\x83\x1e|"), chr(0b1100100) + '\145' + chr(99) + chr(111) + '\144' + chr(4190 - 4089))('\165' + chr(116) + '\146' + chr(0b101101) + '\070')] = roI3spqORKae(ES5oEprVxulp(b'\xc2\xdd'), '\x64' + chr(0b1100101) + '\x63' + chr(111) + '\x64' + chr(0b1011110 + 0o7))('\x75' + '\x74' + chr(102) + chr(660 - 615) + chr(0b1000 + 0o60)) % SVfYwQaP38MC(jLW6pRf2DSRk(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b"\x8a\xdd'\xaa\xaa\x84:!v\xad5\xb9Bc\x0bA'x\x8d\x00j2\r"), chr(0b1100100) + '\145' + chr(99) + '\157' + '\144' + chr(6004 - 5903))(chr(117) + chr(0b111001 + 0o73) + chr(102) + chr(45) + chr(0b11 + 0o65))]), jLW6pRf2DSRk(L66BkZPPV93j[roI3spqORKae(ES5oEprVxulp(b'\x94\xc8#\xba\xb6\x9b:"L\xb4$\x8fHj\x18'), chr(0b1000001 + 0o43) + chr(0b1100101) + chr(0b1100011) + chr(111) + chr(0b1100100) + chr(101))(chr(0b1110101) + '\x74' + '\146' + chr(1980 - 1935) + chr(56))]))
if roI3spqORKae(ES5oEprVxulp(b'\x94\xc8#\xba\xb6\x9b:"L\xb5.\x8aZo\t'), chr(5373 - 5273) + chr(0b100100 + 0o101) + '\143' + chr(0b10 + 0o155) + chr(0b1011100 + 0o10) + chr(7742 - 7641))('\165' + chr(0b110100 + 0o100) + chr(0b11111 + 0o107) + '\055' + '\070') in H4NoA26ON7iG(roI3spqORKae(L66BkZPPV93j, roI3spqORKae(ES5oEprVxulp(b'\x8c\xdd?\xaa'), chr(9849 - 9749) + chr(4601 - 4500) + chr(0b1100011) + chr(111) + chr(0b1100100) + chr(101))(chr(0b11000 + 0o135) + '\164' + chr(102) + '\x2d' + '\x38'))()) and L66BkZPPV93j[roI3spqORKae(ES5oEprVxulp(b'\x94\xc8#\xba\xb6\x9b:"L\xb5.\x8aZo\t'), chr(0b1100100) + chr(101) + '\143' + chr(11960 - 11849) + chr(0b1100100) + '\145')(chr(12831 - 12714) + chr(0b1110100) + chr(102) + chr(1438 - 1393) + chr(0b111000))] != roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(0b1100101) + chr(6319 - 6220) + chr(10940 - 10829) + chr(0b1000010 + 0o42) + chr(0b111111 + 0o46))(chr(0b1110101) + '\164' + chr(0b1100110) + chr(0b1011 + 0o42) + chr(0b11100 + 0o34)):
FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b"\x8a\xdd'\xaa\xaa\x84:!v\xad5\xb9Bc\x0bA'c\x8d\x01z1\x1c"), chr(0b1100100) + chr(101) + chr(3810 - 3711) + chr(10351 - 10240) + chr(6500 - 6400) + chr(101))(chr(0b1110101) + '\164' + chr(4591 - 4489) + chr(0b100110 + 0o7) + chr(1814 - 1758))] = roI3spqORKae(ES5oEprVxulp(b'\xc2\xdd'), chr(0b1010110 + 0o16) + chr(101) + chr(99) + chr(0b1101110 + 0o1) + '\x64' + '\145')('\x75' + chr(116) + chr(0b1100110) + chr(45) + chr(56)) % SVfYwQaP38MC(jLW6pRf2DSRk(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b"\x8a\xdd'\xaa\xaa\x84:!v\xad5\xb9Bc\x0bA'x\x8d\x00j2\r"), '\x64' + '\x65' + '\x63' + '\x6f' + chr(2058 - 1958) + '\x65')('\165' + chr(0b1110 + 0o146) + '\146' + chr(0b101101) + '\070')]), jLW6pRf2DSRk(L66BkZPPV93j[roI3spqORKae(ES5oEprVxulp(b'\x94\xc8#\xba\xb6\x9b:"L\xb5.\x8aZo\t'), chr(0b1100100) + chr(0b1011111 + 0o6) + chr(99) + chr(0b1101111) + chr(0b1010111 + 0o15) + '\145')(chr(0b1110101) + '\164' + chr(0b110011 + 0o63) + chr(0b1110 + 0o37) + chr(56))]))
break
if roI3spqORKae(ES5oEprVxulp(b"\x8a\xdd'\xaa\xaa\x84:!v\xad5\xb9Bc\x0bA'c\x8d\x01z1\x1c"), chr(9723 - 9623) + chr(10089 - 9988) + '\x63' + '\157' + chr(6025 - 5925) + '\x65')('\x75' + chr(0b1011010 + 0o32) + chr(0b101 + 0o141) + '\055' + '\070') not in H4NoA26ON7iG(roI3spqORKae(FKO_XxLfWbYt, roI3spqORKae(ES5oEprVxulp(b'\x8c\xdd?\xaa'), chr(5243 - 5143) + chr(7668 - 7567) + chr(0b1 + 0o142) + chr(6919 - 6808) + chr(0b100100 + 0o100) + chr(101))(chr(0b1110101) + chr(5255 - 5139) + chr(102) + '\055' + '\x38'))()):
FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b"\x8a\xdd'\xaa\xaa\x84:!v\xad5\xb9Bc\x0bA'c\x8d\x01z1\x1c"), '\144' + chr(101) + chr(99) + chr(111) + chr(100) + chr(1088 - 987))('\x75' + chr(1670 - 1554) + chr(9780 - 9678) + chr(0b10110 + 0o27) + chr(56))] = roI3spqORKae(ES5oEprVxulp(b''), chr(2727 - 2627) + '\x65' + chr(0b1100011) + '\157' + chr(0b1100100) + chr(0b1100101))('\165' + '\164' + chr(1697 - 1595) + chr(661 - 616) + '\070')
if roI3spqORKae(ES5oEprVxulp(b"\x8a\xdd'\xaa\xaa\x84:!v\xad5\xb9Bc\x0bA'x\x83\x1e|"), chr(100) + chr(5542 - 5441) + '\x63' + chr(8792 - 8681) + chr(0b101111 + 0o65) + chr(4154 - 4053))(chr(0b10001 + 0o144) + '\x74' + chr(3808 - 3706) + chr(1582 - 1537) + '\x38') not in H4NoA26ON7iG(roI3spqORKae(FKO_XxLfWbYt, roI3spqORKae(ES5oEprVxulp(b'\x8c\xdd?\xaa'), chr(0b110010 + 0o62) + chr(101) + '\x63' + chr(111) + chr(0b1110 + 0o126) + chr(0b1100001 + 0o4))(chr(0b1110101) + chr(0b1 + 0o163) + chr(2653 - 2551) + chr(0b110 + 0o47) + chr(0b111000)))()):
FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b"\x8a\xdd'\xaa\xaa\x84:!v\xad5\xb9Bc\x0bA'x\x83\x1e|"), '\144' + chr(0b1010 + 0o133) + chr(0b100100 + 0o77) + '\x6f' + '\144' + chr(0b1100101))('\x75' + '\x74' + '\146' + chr(0b10011 + 0o32) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b''), chr(4411 - 4311) + '\x65' + '\x63' + '\157' + '\x64' + '\x65')('\x75' + chr(0b1110100) + chr(102) + chr(0b100111 + 0o6) + chr(0b11101 + 0o33))
roI3spqORKae(rTDcaX4BgRcF, roI3spqORKae(ES5oEprVxulp(b'\xaf\xec\x15\xed\xa7\x91\x18#y\xac\x14\xd3'), chr(8839 - 8739) + chr(9852 - 9751) + chr(1452 - 1353) + chr(9791 - 9680) + chr(8003 - 7903) + chr(0b1100101))('\165' + chr(116) + chr(0b10100 + 0o122) + chr(45) + chr(0b111000)))(FKO_XxLfWbYt)
roI3spqORKae(hUcsWwAd0nE_, roI3spqORKae(ES5oEprVxulp(b'\x8a\xd9!\xb0\xbc\xa9(>z\xb7$'), '\x64' + '\x65' + chr(99) + chr(0b1011 + 0o144) + chr(0b1011011 + 0o11) + '\145')(chr(0b1010100 + 0o41) + chr(12909 - 12793) + chr(0b10011 + 0o123) + chr(0b11110 + 0o17) + '\x38'))(vqkvTUJsdUtb, rTDcaX4BgRcF, roI3spqORKae(ES5oEprVxulp(b'\x8a\xd9!\xb0\xbc\xa92)r\xb04\x94Jo\tA\x0cf'), chr(9154 - 9054) + '\145' + chr(1285 - 1186) + '\x6f' + chr(5780 - 5680) + chr(101))('\165' + '\164' + '\146' + chr(0b1111 + 0o36) + chr(56)))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xa3\xd92\xb8\xff\x85>:v\xa7a\x8fA"'), chr(7647 - 7547) + chr(101) + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(0b100111 + 0o76))(chr(8545 - 8428) + chr(0b1110100) + '\x66' + chr(45) + chr(452 - 396)), vqkvTUJsdUtb)
|
PmagPy/PmagPy
|
dialogs/pmag_gui_menu3.py
|
MagICMenu.on_quit
|
def on_quit(self, event, wind=None):
"""
shut down application if in the main frame.
otherwise, destroy the top window (wind) and restore
the main frame.
"""
if wind:
wind.Destroy()
if not self.parent.IsShown():
self.on_show_mainframe(None)
# re-do the quit binding
self.parent.Bind(wx.EVT_MENU, self.on_quit, self.file_quit)
else:
self.parent.Close()
|
python
|
def on_quit(self, event, wind=None):
"""
shut down application if in the main frame.
otherwise, destroy the top window (wind) and restore
the main frame.
"""
if wind:
wind.Destroy()
if not self.parent.IsShown():
self.on_show_mainframe(None)
# re-do the quit binding
self.parent.Bind(wx.EVT_MENU, self.on_quit, self.file_quit)
else:
self.parent.Close()
|
[
"def",
"on_quit",
"(",
"self",
",",
"event",
",",
"wind",
"=",
"None",
")",
":",
"if",
"wind",
":",
"wind",
".",
"Destroy",
"(",
")",
"if",
"not",
"self",
".",
"parent",
".",
"IsShown",
"(",
")",
":",
"self",
".",
"on_show_mainframe",
"(",
"None",
")",
"# re-do the quit binding",
"self",
".",
"parent",
".",
"Bind",
"(",
"wx",
".",
"EVT_MENU",
",",
"self",
".",
"on_quit",
",",
"self",
".",
"file_quit",
")",
"else",
":",
"self",
".",
"parent",
".",
"Close",
"(",
")"
] |
shut down application if in the main frame.
otherwise, destroy the top window (wind) and restore
the main frame.
|
[
"shut",
"down",
"application",
"if",
"in",
"the",
"main",
"frame",
".",
"otherwise",
"destroy",
"the",
"top",
"window",
"(",
"wind",
")",
"and",
"restore",
"the",
"main",
"frame",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/dialogs/pmag_gui_menu3.py#L146-L159
|
train
|
quit event handler
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8('\060' + chr(0b1101111) + '\067' + '\x31', 0o10), nzTpIcepk0o8(chr(48) + '\x6f' + chr(2529 - 2474), 15915 - 15907), nzTpIcepk0o8(chr(0b11000 + 0o30) + '\157' + chr(0b10110 + 0o35) + '\062' + chr(53), 28660 - 28652), nzTpIcepk0o8(chr(48) + chr(7416 - 7305) + chr(1577 - 1528) + '\x37' + '\061', 0o10), nzTpIcepk0o8(chr(48) + chr(6192 - 6081) + chr(51) + chr(0b100 + 0o62), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b1011 + 0o144) + chr(0b110001) + chr(748 - 693) + chr(50), ord("\x08")), nzTpIcepk0o8(chr(958 - 910) + chr(0b1100 + 0o143) + chr(0b10001 + 0o40) + chr(1078 - 1025) + chr(0b110100), 10536 - 10528), nzTpIcepk0o8(chr(1745 - 1697) + chr(0b1100100 + 0o13) + chr(2468 - 2417) + '\x33' + '\060', 0o10), nzTpIcepk0o8(chr(1990 - 1942) + chr(0b1101111) + '\067' + chr(0b110111), 3707 - 3699), nzTpIcepk0o8('\060' + chr(111) + chr(53) + chr(0b101111 + 0o3), 36121 - 36113), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(50) + chr(68 - 13) + '\067', 0b1000), nzTpIcepk0o8(chr(0b1110 + 0o42) + chr(0b111011 + 0o64) + '\x32' + chr(0b110011) + '\x33', 34026 - 34018), nzTpIcepk0o8(chr(48) + chr(11390 - 11279) + chr(0b110010) + chr(1204 - 1155) + chr(0b10100 + 0o34), 0o10), nzTpIcepk0o8(chr(48) + chr(7522 - 7411) + '\x32' + '\x34' + chr(51), 59266 - 59258), nzTpIcepk0o8('\060' + '\x6f' + chr(51) + chr(0b110001) + chr(50), 0o10), nzTpIcepk0o8(chr(923 - 875) + chr(0b101101 + 0o102) + chr(0b110011) + chr(50) + '\x30', 9777 - 9769), nzTpIcepk0o8(chr(48) + chr(0b110010 + 0o75) + chr(1843 - 1794) + chr(0b110101), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(10937 - 10826) + chr(51) + chr(0b110101) + chr(50), 48600 - 48592), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b100001 + 0o22), 0b1000), nzTpIcepk0o8(chr(0b111 + 0o51) + chr(0b1011001 + 0o26) + chr(0b110001) + chr(54) + chr(0b101110 + 0o2), 0o10), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(52) + chr(698 - 644), 0o10), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\x33' + chr(0b110000), ord("\x08")), nzTpIcepk0o8('\060' + '\157' + '\064' + chr(0b110010), 53432 - 53424), nzTpIcepk0o8(chr(0b1001 + 0o47) + chr(0b110111 + 0o70) + '\064' + chr(787 - 737), 8), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(51) + chr(0b1 + 0o60) + chr(53), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(8305 - 8194) + chr(51) + chr(542 - 494) + chr(410 - 357), 2906 - 2898), nzTpIcepk0o8(chr(48) + '\157' + chr(0b11100 + 0o32) + '\064', 0b1000), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(49) + chr(54) + '\060', 8), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(1853 - 1802) + chr(50) + '\067', 49699 - 49691), nzTpIcepk0o8('\x30' + chr(1407 - 1296) + '\x33' + chr(2341 - 2290) + '\067', 0o10), nzTpIcepk0o8(chr(1871 - 1823) + chr(0b10000 + 0o137) + chr(1928 - 1877) + chr(49) + '\x35', 8), nzTpIcepk0o8(chr(0b110000) + chr(11091 - 10980) + chr(0b11110 + 0o23) + chr(54) + chr(0b110011), 43872 - 43864), nzTpIcepk0o8('\x30' + chr(111) + chr(407 - 356) + chr(0b111 + 0o51) + '\x32', 0o10), nzTpIcepk0o8(chr(0b101000 + 0o10) + chr(10008 - 9897) + '\x31' + chr(0b110101) + chr(49), 32002 - 31994), nzTpIcepk0o8(chr(0b1010 + 0o46) + chr(0b11011 + 0o124) + chr(0b110001) + chr(1328 - 1273) + chr(53), 0o10), nzTpIcepk0o8(chr(48) + chr(111) + '\x33' + chr(0b1001 + 0o50), ord("\x08")), nzTpIcepk0o8(chr(0b11000 + 0o30) + '\x6f' + chr(51) + '\x34' + chr(0b110100), 0b1000), nzTpIcepk0o8(chr(48) + '\x6f' + '\x32' + '\x35' + chr(0b101 + 0o56), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(1964 - 1853) + chr(0b11110 + 0o23), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\x31' + chr(0b110110) + '\066', 0b1000)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(0b101001 + 0o7) + chr(0b1001111 + 0o40) + chr(0b110101) + chr(0b11 + 0o55), 0o10)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\x17'), chr(0b1000000 + 0o44) + '\x65' + chr(99) + chr(4715 - 4604) + '\x64' + chr(6563 - 6462))('\x75' + chr(116) + chr(0b1100110) + '\055' + '\x38') + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def ap2TrFE6P1tl(hXMPsSrOQzbh, D4ybylS07yGH, NStcDksP1S9L=None):
if NStcDksP1S9L:
roI3spqORKae(NStcDksP1S9L, roI3spqORKae(ES5oEprVxulp(b'}b\xa6\rl\x15\x15'), '\144' + chr(0b11010 + 0o113) + chr(0b1100011) + chr(6648 - 6537) + '\x64' + '\x65')(chr(0b10100 + 0o141) + chr(0b10010 + 0o142) + chr(102) + chr(0b1 + 0o54) + chr(0b111000)))()
if not roI3spqORKae(hXMPsSrOQzbh.parent, roI3spqORKae(ES5oEprVxulp(b'pt\x86\x11q\r\x02'), '\144' + chr(0b1100101) + chr(0b1100011) + chr(0b1101111) + chr(8312 - 8212) + '\x65')('\165' + '\164' + chr(102) + chr(0b101101) + chr(0b111000 + 0o0)))():
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'Vi\x8a\nv\x15\x1b\x87RK\xd6\xf5\xee\xd1\xab\xbdh'), chr(6201 - 6101) + chr(541 - 440) + chr(5610 - 5511) + '\157' + chr(0b1100100) + chr(0b1100101))('\x75' + chr(0b10010 + 0o142) + chr(0b1100110) + chr(0b101101) + chr(56)))(None)
roI3spqORKae(hXMPsSrOQzbh.parent, roI3spqORKae(ES5oEprVxulp(b'{n\xbb\x1d'), '\x64' + chr(0b101010 + 0o73) + chr(0b1100011) + chr(0b11110 + 0o121) + chr(0b1100100) + '\x65')(chr(0b1110101) + chr(0b1110100) + chr(0b110100 + 0o62) + chr(668 - 623) + chr(56)))(roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'|Q\x81&S?"\x8d'), chr(0b1100100) + chr(0b1100101) + '\143' + chr(0b1101111) + chr(4797 - 4697) + '\145')('\x75' + chr(0b101011 + 0o111) + '\146' + chr(45) + chr(0b110 + 0o62))), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'Vi\x8a\x08k\x13\x18'), chr(100) + chr(3163 - 3062) + chr(0b1100011) + chr(111) + chr(8880 - 8780) + '\145')(chr(117) + chr(0b1110 + 0o146) + chr(0b1100110) + chr(0b101101) + '\x38')), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'_n\xb9\x1cA\x0b\x19\xb1K'), chr(100) + chr(101) + chr(99) + chr(0b11011 + 0o124) + chr(0b1100100) + chr(0b1100001 + 0o4))(chr(0b1101010 + 0o13) + chr(0b1110100) + chr(0b101000 + 0o76) + '\055' + chr(56))))
else:
roI3spqORKae(hXMPsSrOQzbh.parent, roI3spqORKae(ES5oEprVxulp(b'zk\xba\n{'), chr(0b1001001 + 0o33) + '\x65' + '\143' + chr(0b1101111) + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + chr(116) + chr(0b101101 + 0o71) + chr(45) + chr(0b111000 + 0o0)))()
|
PmagPy/PmagPy
|
dialogs/pmag_gui_menu3.py
|
MagICMenu.on_show_mainframe
|
def on_show_mainframe(self, event):
"""
Show mainframe window
"""
self.parent.Enable()
self.parent.Show()
self.parent.Raise()
|
python
|
def on_show_mainframe(self, event):
"""
Show mainframe window
"""
self.parent.Enable()
self.parent.Show()
self.parent.Raise()
|
[
"def",
"on_show_mainframe",
"(",
"self",
",",
"event",
")",
":",
"self",
".",
"parent",
".",
"Enable",
"(",
")",
"self",
".",
"parent",
".",
"Show",
"(",
")",
"self",
".",
"parent",
".",
"Raise",
"(",
")"
] |
Show mainframe window
|
[
"Show",
"mainframe",
"window"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/dialogs/pmag_gui_menu3.py#L162-L168
|
train
|
Show mainframe window
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(626 - 578) + '\157' + '\065' + chr(189 - 140), ord("\x08")), nzTpIcepk0o8('\060' + chr(0b110 + 0o151) + chr(1097 - 1046) + chr(0b11111 + 0o30) + chr(0b11011 + 0o25), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(5545 - 5434) + '\x35' + chr(0b110110), 0o10), nzTpIcepk0o8(chr(751 - 703) + chr(0b10 + 0o155) + chr(1900 - 1850) + '\x32' + '\061', 0b1000), nzTpIcepk0o8(chr(0b1010 + 0o46) + chr(10759 - 10648) + chr(0b110001) + chr(0b100001 + 0o21) + chr(0b110100), 0o10), nzTpIcepk0o8('\x30' + chr(0b1101111) + '\x32' + '\x35' + chr(1173 - 1120), 0o10), nzTpIcepk0o8('\060' + '\157' + '\063' + chr(0b101 + 0o55) + chr(2147 - 2096), 38098 - 38090), nzTpIcepk0o8(chr(585 - 537) + chr(8778 - 8667) + chr(0b110001) + chr(0b110110) + chr(53), 55105 - 55097), nzTpIcepk0o8(chr(48) + chr(111) + chr(0b10110 + 0o40) + chr(1636 - 1587), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x33' + chr(0b110010 + 0o3) + chr(0b10000 + 0o41), 47355 - 47347), nzTpIcepk0o8('\x30' + '\x6f' + '\061' + chr(51) + chr(0b110111), 0b1000), nzTpIcepk0o8('\x30' + '\x6f' + '\x30', 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b1011001 + 0o26) + '\064', 0o10), nzTpIcepk0o8(chr(0b1110 + 0o42) + '\157' + '\x31' + chr(2610 - 2557) + chr(1994 - 1939), 47334 - 47326), nzTpIcepk0o8(chr(0b110000) + chr(0b100010 + 0o115) + chr(0b110011) + chr(50) + chr(2329 - 2277), 0o10), nzTpIcepk0o8(chr(0b10001 + 0o37) + '\157' + '\x33' + chr(2466 - 2411), 22609 - 22601), nzTpIcepk0o8(chr(48) + chr(5770 - 5659) + chr(51) + chr(49) + '\x35', 44730 - 44722), nzTpIcepk0o8(chr(0b11111 + 0o21) + '\157' + chr(1133 - 1085), 8), nzTpIcepk0o8(chr(0b100100 + 0o14) + '\x6f' + chr(1404 - 1353) + chr(48) + '\061', 0b1000), nzTpIcepk0o8('\060' + '\157' + chr(0b11011 + 0o26) + chr(0b110111) + chr(2525 - 2472), 579 - 571), nzTpIcepk0o8(chr(48) + chr(111) + chr(1267 - 1217) + chr(0b100100 + 0o22) + chr(0b10101 + 0o42), 0o10), nzTpIcepk0o8('\060' + chr(10794 - 10683) + chr(0b110010) + chr(53) + chr(0b110111), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b1100011 + 0o14) + chr(0b110001) + '\x34' + chr(0b110011), 0o10), nzTpIcepk0o8('\060' + chr(5316 - 5205) + chr(49) + chr(0b110111) + chr(2097 - 2047), 0b1000), nzTpIcepk0o8('\x30' + chr(0b1101100 + 0o3) + chr(0b110011) + chr(2185 - 2137) + chr(0b110000), 50904 - 50896), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b110010) + chr(50) + '\067', 0b1000), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(1060 - 1007), 0o10), nzTpIcepk0o8('\x30' + chr(0b110 + 0o151) + chr(50) + chr(48) + chr(0b110101), 51281 - 51273), nzTpIcepk0o8('\x30' + chr(8183 - 8072) + chr(50) + chr(54) + chr(0b110101), 0b1000), nzTpIcepk0o8(chr(513 - 465) + '\x6f' + chr(0b1 + 0o60) + chr(0b110110) + '\064', ord("\x08")), nzTpIcepk0o8(chr(1216 - 1168) + '\x6f' + chr(0b110011) + chr(52) + '\062', 56874 - 56866), nzTpIcepk0o8('\x30' + chr(0b111101 + 0o62) + chr(50) + '\x37' + chr(0b110110), 29745 - 29737), nzTpIcepk0o8(chr(1526 - 1478) + chr(1014 - 903) + chr(0b110010) + chr(0b110110) + chr(48), 0b1000), nzTpIcepk0o8(chr(1029 - 981) + '\x6f' + chr(2383 - 2333) + chr(0b110000) + chr(0b110110), 0b1000), nzTpIcepk0o8('\060' + chr(3567 - 3456) + '\063' + chr(54) + chr(0b11101 + 0o32), 0b1000), nzTpIcepk0o8('\x30' + '\157' + '\061' + '\061' + '\x35', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b11101 + 0o26) + chr(1246 - 1191) + chr(0b11001 + 0o31), 0b1000), nzTpIcepk0o8(chr(339 - 291) + '\x6f' + chr(455 - 400) + chr(0b110011), ord("\x08")), nzTpIcepk0o8(chr(0b101010 + 0o6) + '\x6f' + chr(0b110010) + chr(0b110101) + chr(0b1011 + 0o47), 0o10), nzTpIcepk0o8(chr(508 - 460) + chr(111) + chr(0b110011) + chr(0b110100) + '\063', 0o10)][ZlbFMSG8gCoF % nzTpIcepk0o8('\x30' + chr(5804 - 5693) + '\x35' + chr(48), 0o10)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\x07'), chr(0b1100100) + '\145' + '\143' + chr(0b1001010 + 0o45) + chr(0b1100100) + chr(5593 - 5492))(chr(117) + chr(116) + chr(0b1100110) + chr(1918 - 1873) + chr(955 - 899)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def Jo4RKvdPUqYL(hXMPsSrOQzbh, D4ybylS07yGH):
roI3spqORKae(hXMPsSrOQzbh.parent, roI3spqORKae(ES5oEprVxulp(b'l\x96O\xf38\xc8'), '\x64' + '\145' + chr(6915 - 6816) + '\x6f' + chr(2954 - 2854) + '\x65')(chr(8657 - 8540) + chr(116) + chr(102) + chr(0b10100 + 0o31) + chr(1383 - 1327)))()
roI3spqORKae(hXMPsSrOQzbh.parent, roI3spqORKae(ES5oEprVxulp(b'z\x90A\xe6'), chr(0b1100100) + chr(0b0 + 0o145) + chr(99) + chr(6023 - 5912) + chr(0b1100100) + chr(0b1100101))('\x75' + chr(0b1110100) + chr(0b1100110) + chr(45) + '\x38'))()
roI3spqORKae(hXMPsSrOQzbh.parent, roI3spqORKae(ES5oEprVxulp(b'{\x99G\xe21'), chr(4868 - 4768) + chr(0b0 + 0o145) + '\143' + '\157' + chr(100) + chr(101))(chr(4262 - 4145) + '\x74' + chr(102) + chr(551 - 506) + '\x38'))()
|
PmagPy/PmagPy
|
dialogs/pmag_gui_menu3.py
|
MagICMenu.on_clear
|
def on_clear(self, event):
"""
initialize window to allow user to empty the working directory
"""
dia = pmag_menu_dialogs.ClearWD(self.parent, self.parent.WD)
clear = dia.do_clear()
if clear:
# clear directory, but use previously acquired data_model
if self.data_model_num == 2.5:
self.parent.er_magic = builder.ErMagicBuilder(self.parent.WD, self.parent.er_magic.data_model)
elif self.data_model_num == 3:
self.parent.contribution = cb.Contribution(self.parent.WD,
dmodel=self.parent.contribution.data_model)
|
python
|
def on_clear(self, event):
"""
initialize window to allow user to empty the working directory
"""
dia = pmag_menu_dialogs.ClearWD(self.parent, self.parent.WD)
clear = dia.do_clear()
if clear:
# clear directory, but use previously acquired data_model
if self.data_model_num == 2.5:
self.parent.er_magic = builder.ErMagicBuilder(self.parent.WD, self.parent.er_magic.data_model)
elif self.data_model_num == 3:
self.parent.contribution = cb.Contribution(self.parent.WD,
dmodel=self.parent.contribution.data_model)
|
[
"def",
"on_clear",
"(",
"self",
",",
"event",
")",
":",
"dia",
"=",
"pmag_menu_dialogs",
".",
"ClearWD",
"(",
"self",
".",
"parent",
",",
"self",
".",
"parent",
".",
"WD",
")",
"clear",
"=",
"dia",
".",
"do_clear",
"(",
")",
"if",
"clear",
":",
"# clear directory, but use previously acquired data_model",
"if",
"self",
".",
"data_model_num",
"==",
"2.5",
":",
"self",
".",
"parent",
".",
"er_magic",
"=",
"builder",
".",
"ErMagicBuilder",
"(",
"self",
".",
"parent",
".",
"WD",
",",
"self",
".",
"parent",
".",
"er_magic",
".",
"data_model",
")",
"elif",
"self",
".",
"data_model_num",
"==",
"3",
":",
"self",
".",
"parent",
".",
"contribution",
"=",
"cb",
".",
"Contribution",
"(",
"self",
".",
"parent",
".",
"WD",
",",
"dmodel",
"=",
"self",
".",
"parent",
".",
"contribution",
".",
"data_model",
")"
] |
initialize window to allow user to empty the working directory
|
[
"initialize",
"window",
"to",
"allow",
"user",
"to",
"empty",
"the",
"working",
"directory"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/dialogs/pmag_gui_menu3.py#L171-L183
|
train
|
clear the working directory
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(48) + chr(0b1101 + 0o142) + '\062' + chr(51) + '\063', 0o10), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b100100 + 0o16) + '\x31' + chr(51), 46534 - 46526), nzTpIcepk0o8(chr(0b110000) + chr(0b1000001 + 0o56) + chr(2079 - 2029) + chr(51) + chr(0b10010 + 0o44), 0b1000), nzTpIcepk0o8(chr(0b100 + 0o54) + '\157' + chr(53) + chr(53), 0o10), nzTpIcepk0o8(chr(598 - 550) + '\157' + chr(1232 - 1183) + '\067' + chr(50), 60699 - 60691), nzTpIcepk0o8(chr(1657 - 1609) + chr(0b1101111) + chr(1868 - 1819) + chr(0b1010 + 0o47) + '\x31', 4666 - 4658), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110101) + chr(0b110111), 61240 - 61232), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\067' + '\064', 0o10), nzTpIcepk0o8(chr(1023 - 975) + chr(111) + '\062' + chr(0b11111 + 0o27) + chr(1050 - 997), ord("\x08")), nzTpIcepk0o8(chr(2286 - 2238) + '\157' + chr(0b0 + 0o63) + '\x33' + chr(2162 - 2110), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b101000 + 0o107) + chr(1808 - 1758) + chr(0b1011 + 0o52) + chr(51), 0b1000), nzTpIcepk0o8(chr(48) + '\157' + chr(0b110010) + chr(0b110101) + '\x35', 51755 - 51747), nzTpIcepk0o8('\060' + chr(0b110000 + 0o77) + chr(0b110010) + chr(895 - 846), 0b1000), nzTpIcepk0o8('\x30' + chr(0b1101011 + 0o4) + '\062' + chr(0b110010) + '\062', 0o10), nzTpIcepk0o8(chr(0b101010 + 0o6) + chr(3388 - 3277) + '\x32', 0b1000), nzTpIcepk0o8(chr(0b101101 + 0o3) + chr(0b1101111) + chr(0b110011) + chr(0b10011 + 0o42) + chr(2390 - 2336), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b110001 + 0o76) + chr(0b110 + 0o54) + chr(0b110110) + '\064', 0b1000), nzTpIcepk0o8('\060' + '\x6f' + chr(1318 - 1267) + chr(1971 - 1922) + chr(51), 0b1000), nzTpIcepk0o8(chr(0b1110 + 0o42) + '\157' + '\x31' + '\x30' + chr(0b110000), 0o10), nzTpIcepk0o8(chr(0b1011 + 0o45) + '\157' + chr(1225 - 1176) + chr(1390 - 1337) + chr(54), 15153 - 15145), nzTpIcepk0o8(chr(48) + '\157' + '\x31' + '\067' + chr(0b110101), 0o10), nzTpIcepk0o8('\060' + chr(0b100100 + 0o113) + chr(50) + '\x36' + chr(2188 - 2135), 8), nzTpIcepk0o8('\x30' + chr(0b1111 + 0o140) + chr(0b110101), 0b1000), nzTpIcepk0o8(chr(439 - 391) + '\x6f' + '\x33' + chr(0b110110) + '\x37', 10407 - 10399), nzTpIcepk0o8(chr(0b110000) + chr(0b100110 + 0o111) + chr(0b110011) + chr(2680 - 2625) + chr(982 - 927), 37411 - 37403), nzTpIcepk0o8(chr(48) + '\x6f' + chr(304 - 253) + '\x31' + chr(2797 - 2744), ord("\x08")), nzTpIcepk0o8(chr(676 - 628) + chr(0b1101111) + '\063' + chr(52) + '\x30', 0o10), nzTpIcepk0o8('\x30' + chr(111) + chr(0b1010 + 0o51) + chr(0b110000) + chr(0b100001 + 0o20), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b1000010 + 0o55) + '\063' + chr(48) + chr(0b110100), ord("\x08")), nzTpIcepk0o8('\x30' + chr(111) + chr(53), 8), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(54) + chr(0b110000), 0b1000), nzTpIcepk0o8(chr(1076 - 1028) + chr(0b101001 + 0o106) + chr(0b10001 + 0o42) + chr(0b1110 + 0o44) + chr(0b110001), ord("\x08")), nzTpIcepk0o8(chr(0b10111 + 0o31) + chr(947 - 836) + chr(0b110010) + chr(0b10000 + 0o42) + chr(0b11011 + 0o26), 20039 - 20031), nzTpIcepk0o8('\x30' + chr(5283 - 5172) + chr(582 - 533) + chr(515 - 460) + chr(51), 5141 - 5133), nzTpIcepk0o8(chr(48) + chr(0b101111 + 0o100) + '\063' + '\061' + chr(0b10000 + 0o40), ord("\x08")), nzTpIcepk0o8(chr(0b101001 + 0o7) + chr(0b1101111) + '\x33' + '\061' + chr(0b101101 + 0o7), 0o10), nzTpIcepk0o8(chr(0b110000) + '\157' + '\x34' + chr(0b110000), ord("\x08")), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110010) + '\x30' + chr(49), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b10111 + 0o33) + '\066' + chr(0b110111), 54291 - 54283), nzTpIcepk0o8(chr(1470 - 1422) + chr(0b1101111) + chr(0b110001) + chr(55) + '\x30', 0o10)][ZlbFMSG8gCoF % nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(490 - 437) + '\x30', 0o10)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xb5'), chr(100) + '\x65' + '\143' + chr(0b1101111) + '\144' + chr(918 - 817))(chr(0b1110101) + chr(0b100001 + 0o123) + chr(102) + chr(321 - 276) + chr(2096 - 2040)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def nt8hS9wySMP2(hXMPsSrOQzbh, D4ybylS07yGH):
k1471SZ1ik69 = K3eM7qtCl3Uz.ClearWD(hXMPsSrOQzbh.aY0lxtg5akD2, hXMPsSrOQzbh.parent.GP1zEShDyCxL)
kcJ2iJI2a5HJ = k1471SZ1ik69.do_clear()
if kcJ2iJI2a5HJ:
if roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xff\xea\xeaL%$@X\xd0\xb0\xf4\xc3d\xff'), '\144' + chr(101) + chr(7108 - 7009) + chr(111) + chr(0b1100100) + chr(6001 - 5900))(chr(6728 - 6611) + chr(12099 - 11983) + chr(7126 - 7024) + '\x2d' + chr(0b111000))) == 2.5:
hXMPsSrOQzbh.parent.FrbBJuDrvwdK = sLLZkJwG1FOq.ErMagicBuilder(hXMPsSrOQzbh.parent.GP1zEShDyCxL, hXMPsSrOQzbh.parent.er_magic.data_model)
elif roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xff\xea\xeaL%$@X\xd0\xb0\xf4\xc3d\xff'), '\x64' + '\145' + chr(0b1100011) + '\157' + chr(100) + '\x65')('\165' + chr(0b111100 + 0o70) + chr(5472 - 5370) + chr(0b1110 + 0o37) + chr(1322 - 1266))) == nzTpIcepk0o8(chr(48) + '\x6f' + chr(1652 - 1601), ord("\x08")):
hXMPsSrOQzbh.parent.bSiGoWKHgDdJ = RYEhqzIVZREo.Contribution(hXMPsSrOQzbh.parent.GP1zEShDyCxL, dmodel=hXMPsSrOQzbh.parent.contribution.data_model)
|
PmagPy/PmagPy
|
programs/deprecated/plotxy_magic.py
|
main
|
def main():
"""
NAME
plotxy_magic.py
DESCRIPTION
Makes simple X,Y plots
INPUT FORMAT
Any MagIC formatted file
SYNTAX
plotxy_magic.py [command line options]
OPTIONS
-h prints this help message
-f FILE to set file name on command rec
-c col1 col2 specify columns names to plot
-sym SYM SIZE specify symbol and size to plot: default is red dots
-S don't plot symbols
-xlab XLAB
-ylab YLAB
-l connect symbols with lines
-b xmin xmax ymin ymax, sets bounds
# -b [key:max:min,key:max:min,etc.] leave or min blank for no cutoff
"""
col1,col2=0,1
sym,size = 'ro',20
xlab,ylab='',''
lines=0
if '-h' in sys.argv:
print(main.__doc__)
sys.exit()
if '-f' in sys.argv:
ind=sys.argv.index('-f')
file=sys.argv[ind+1]
else:
'-f option is a required field'
print(main.__doc__)
sys.exit()
if '-c' in sys.argv:
ind=sys.argv.index('-c')
col1=sys.argv[ind+1]
col2=sys.argv[ind+2]
else:
'Column headers a required field'
print(main.__doc__)
sys.exit()
if '-xlab' in sys.argv:
ind=sys.argv.index('-xlab')
xlab=sys.argv[ind+1]
if '-ylab' in sys.argv:
ind=sys.argv.index('-ylab')
ylab=sys.argv[ind+1]
# if '-b' in sys.argv:
# ind=sys.argv.index('-b')
# bounds=sys.argv[ind+1].split(',')
if '-b' in sys.argv:
ind=sys.argv.index('-b')
xmin=float(sys.argv[ind+1])
xmax=float(sys.argv[ind+2])
ymin=float(sys.argv[ind+3])
ymax=float(sys.argv[ind+4])
if '-sym' in sys.argv:
ind=sys.argv.index('-sym')
sym=sys.argv[ind+1]
size=int(sys.argv[ind+2])
if '-l' in sys.argv: lines=1
if '-S' in sys.argv: sym=''
X,Y=[],[]
data,file_type=pmag.magic_read(file)
print(file_type)
for rec in data:
if col1 not in list(rec.keys()) or col2 not in list(rec.keys()):
print(col1,' and/or ',col2, ' not in file headers')
print('try again')
sys.exit()
if rec[col1]!='' and rec[col2]!='':
skip=0
if '-crit' in sys.argv:
for crit in bounds:
crits=crit.split(':')
crit_key=crits[0]
crit_min=crits[1]
crit_max=crits[2]
if rec[crit_key]=="":
skip=1
else:
if crit_min!="" and float(rec[crit_key])<float(crit_min):skip=1
if crit_max!="" and float(rec[crit_key])>float(crit_min):skip=1
if skip==0:
X.append(float(rec[col1]))
Y.append(float(rec[col2]))
if len(X)==0:
print(col1,' and/or ',col2, ' have no data ')
print('try again')
sys.exit()
else:
print(len(X),' data points')
if sym!='':pylab.scatter(X,Y,c=sym[0],marker=sym[1],s=size)
if xlab!='':pylab.xlabel(xlab)
if ylab!='':pylab.ylabel(ylab)
if lines==1:pylab.plot(X,Y,'k-')
if '-b' in sys.argv:pylab.axis([xmin,xmax,ymin,ymax])
pylab.draw()
ans=input("Press return to quit ")
sys.exit()
|
python
|
def main():
"""
NAME
plotxy_magic.py
DESCRIPTION
Makes simple X,Y plots
INPUT FORMAT
Any MagIC formatted file
SYNTAX
plotxy_magic.py [command line options]
OPTIONS
-h prints this help message
-f FILE to set file name on command rec
-c col1 col2 specify columns names to plot
-sym SYM SIZE specify symbol and size to plot: default is red dots
-S don't plot symbols
-xlab XLAB
-ylab YLAB
-l connect symbols with lines
-b xmin xmax ymin ymax, sets bounds
# -b [key:max:min,key:max:min,etc.] leave or min blank for no cutoff
"""
col1,col2=0,1
sym,size = 'ro',20
xlab,ylab='',''
lines=0
if '-h' in sys.argv:
print(main.__doc__)
sys.exit()
if '-f' in sys.argv:
ind=sys.argv.index('-f')
file=sys.argv[ind+1]
else:
'-f option is a required field'
print(main.__doc__)
sys.exit()
if '-c' in sys.argv:
ind=sys.argv.index('-c')
col1=sys.argv[ind+1]
col2=sys.argv[ind+2]
else:
'Column headers a required field'
print(main.__doc__)
sys.exit()
if '-xlab' in sys.argv:
ind=sys.argv.index('-xlab')
xlab=sys.argv[ind+1]
if '-ylab' in sys.argv:
ind=sys.argv.index('-ylab')
ylab=sys.argv[ind+1]
# if '-b' in sys.argv:
# ind=sys.argv.index('-b')
# bounds=sys.argv[ind+1].split(',')
if '-b' in sys.argv:
ind=sys.argv.index('-b')
xmin=float(sys.argv[ind+1])
xmax=float(sys.argv[ind+2])
ymin=float(sys.argv[ind+3])
ymax=float(sys.argv[ind+4])
if '-sym' in sys.argv:
ind=sys.argv.index('-sym')
sym=sys.argv[ind+1]
size=int(sys.argv[ind+2])
if '-l' in sys.argv: lines=1
if '-S' in sys.argv: sym=''
X,Y=[],[]
data,file_type=pmag.magic_read(file)
print(file_type)
for rec in data:
if col1 not in list(rec.keys()) or col2 not in list(rec.keys()):
print(col1,' and/or ',col2, ' not in file headers')
print('try again')
sys.exit()
if rec[col1]!='' and rec[col2]!='':
skip=0
if '-crit' in sys.argv:
for crit in bounds:
crits=crit.split(':')
crit_key=crits[0]
crit_min=crits[1]
crit_max=crits[2]
if rec[crit_key]=="":
skip=1
else:
if crit_min!="" and float(rec[crit_key])<float(crit_min):skip=1
if crit_max!="" and float(rec[crit_key])>float(crit_min):skip=1
if skip==0:
X.append(float(rec[col1]))
Y.append(float(rec[col2]))
if len(X)==0:
print(col1,' and/or ',col2, ' have no data ')
print('try again')
sys.exit()
else:
print(len(X),' data points')
if sym!='':pylab.scatter(X,Y,c=sym[0],marker=sym[1],s=size)
if xlab!='':pylab.xlabel(xlab)
if ylab!='':pylab.ylabel(ylab)
if lines==1:pylab.plot(X,Y,'k-')
if '-b' in sys.argv:pylab.axis([xmin,xmax,ymin,ymax])
pylab.draw()
ans=input("Press return to quit ")
sys.exit()
|
[
"def",
"main",
"(",
")",
":",
"col1",
",",
"col2",
"=",
"0",
",",
"1",
"sym",
",",
"size",
"=",
"'ro'",
",",
"20",
"xlab",
",",
"ylab",
"=",
"''",
",",
"''",
"lines",
"=",
"0",
"if",
"'-h'",
"in",
"sys",
".",
"argv",
":",
"print",
"(",
"main",
".",
"__doc__",
")",
"sys",
".",
"exit",
"(",
")",
"if",
"'-f'",
"in",
"sys",
".",
"argv",
":",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"'-f'",
")",
"file",
"=",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
"else",
":",
"'-f option is a required field'",
"print",
"(",
"main",
".",
"__doc__",
")",
"sys",
".",
"exit",
"(",
")",
"if",
"'-c'",
"in",
"sys",
".",
"argv",
":",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"'-c'",
")",
"col1",
"=",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
"col2",
"=",
"sys",
".",
"argv",
"[",
"ind",
"+",
"2",
"]",
"else",
":",
"'Column headers a required field'",
"print",
"(",
"main",
".",
"__doc__",
")",
"sys",
".",
"exit",
"(",
")",
"if",
"'-xlab'",
"in",
"sys",
".",
"argv",
":",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"'-xlab'",
")",
"xlab",
"=",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
"if",
"'-ylab'",
"in",
"sys",
".",
"argv",
":",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"'-ylab'",
")",
"ylab",
"=",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
"# if '-b' in sys.argv:",
"# ind=sys.argv.index('-b')",
"# bounds=sys.argv[ind+1].split(',')",
"if",
"'-b'",
"in",
"sys",
".",
"argv",
":",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"'-b'",
")",
"xmin",
"=",
"float",
"(",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
")",
"xmax",
"=",
"float",
"(",
"sys",
".",
"argv",
"[",
"ind",
"+",
"2",
"]",
")",
"ymin",
"=",
"float",
"(",
"sys",
".",
"argv",
"[",
"ind",
"+",
"3",
"]",
")",
"ymax",
"=",
"float",
"(",
"sys",
".",
"argv",
"[",
"ind",
"+",
"4",
"]",
")",
"if",
"'-sym'",
"in",
"sys",
".",
"argv",
":",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"'-sym'",
")",
"sym",
"=",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
"size",
"=",
"int",
"(",
"sys",
".",
"argv",
"[",
"ind",
"+",
"2",
"]",
")",
"if",
"'-l'",
"in",
"sys",
".",
"argv",
":",
"lines",
"=",
"1",
"if",
"'-S'",
"in",
"sys",
".",
"argv",
":",
"sym",
"=",
"''",
"X",
",",
"Y",
"=",
"[",
"]",
",",
"[",
"]",
"data",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"file",
")",
"print",
"(",
"file_type",
")",
"for",
"rec",
"in",
"data",
":",
"if",
"col1",
"not",
"in",
"list",
"(",
"rec",
".",
"keys",
"(",
")",
")",
"or",
"col2",
"not",
"in",
"list",
"(",
"rec",
".",
"keys",
"(",
")",
")",
":",
"print",
"(",
"col1",
",",
"' and/or '",
",",
"col2",
",",
"' not in file headers'",
")",
"print",
"(",
"'try again'",
")",
"sys",
".",
"exit",
"(",
")",
"if",
"rec",
"[",
"col1",
"]",
"!=",
"''",
"and",
"rec",
"[",
"col2",
"]",
"!=",
"''",
":",
"skip",
"=",
"0",
"if",
"'-crit'",
"in",
"sys",
".",
"argv",
":",
"for",
"crit",
"in",
"bounds",
":",
"crits",
"=",
"crit",
".",
"split",
"(",
"':'",
")",
"crit_key",
"=",
"crits",
"[",
"0",
"]",
"crit_min",
"=",
"crits",
"[",
"1",
"]",
"crit_max",
"=",
"crits",
"[",
"2",
"]",
"if",
"rec",
"[",
"crit_key",
"]",
"==",
"\"\"",
":",
"skip",
"=",
"1",
"else",
":",
"if",
"crit_min",
"!=",
"\"\"",
"and",
"float",
"(",
"rec",
"[",
"crit_key",
"]",
")",
"<",
"float",
"(",
"crit_min",
")",
":",
"skip",
"=",
"1",
"if",
"crit_max",
"!=",
"\"\"",
"and",
"float",
"(",
"rec",
"[",
"crit_key",
"]",
")",
">",
"float",
"(",
"crit_min",
")",
":",
"skip",
"=",
"1",
"if",
"skip",
"==",
"0",
":",
"X",
".",
"append",
"(",
"float",
"(",
"rec",
"[",
"col1",
"]",
")",
")",
"Y",
".",
"append",
"(",
"float",
"(",
"rec",
"[",
"col2",
"]",
")",
")",
"if",
"len",
"(",
"X",
")",
"==",
"0",
":",
"print",
"(",
"col1",
",",
"' and/or '",
",",
"col2",
",",
"' have no data '",
")",
"print",
"(",
"'try again'",
")",
"sys",
".",
"exit",
"(",
")",
"else",
":",
"print",
"(",
"len",
"(",
"X",
")",
",",
"' data points'",
")",
"if",
"sym",
"!=",
"''",
":",
"pylab",
".",
"scatter",
"(",
"X",
",",
"Y",
",",
"c",
"=",
"sym",
"[",
"0",
"]",
",",
"marker",
"=",
"sym",
"[",
"1",
"]",
",",
"s",
"=",
"size",
")",
"if",
"xlab",
"!=",
"''",
":",
"pylab",
".",
"xlabel",
"(",
"xlab",
")",
"if",
"ylab",
"!=",
"''",
":",
"pylab",
".",
"ylabel",
"(",
"ylab",
")",
"if",
"lines",
"==",
"1",
":",
"pylab",
".",
"plot",
"(",
"X",
",",
"Y",
",",
"'k-'",
")",
"if",
"'-b'",
"in",
"sys",
".",
"argv",
":",
"pylab",
".",
"axis",
"(",
"[",
"xmin",
",",
"xmax",
",",
"ymin",
",",
"ymax",
"]",
")",
"pylab",
".",
"draw",
"(",
")",
"ans",
"=",
"input",
"(",
"\"Press return to quit \"",
")",
"sys",
".",
"exit",
"(",
")"
] |
NAME
plotxy_magic.py
DESCRIPTION
Makes simple X,Y plots
INPUT FORMAT
Any MagIC formatted file
SYNTAX
plotxy_magic.py [command line options]
OPTIONS
-h prints this help message
-f FILE to set file name on command rec
-c col1 col2 specify columns names to plot
-sym SYM SIZE specify symbol and size to plot: default is red dots
-S don't plot symbols
-xlab XLAB
-ylab YLAB
-l connect symbols with lines
-b xmin xmax ymin ymax, sets bounds
# -b [key:max:min,key:max:min,etc.] leave or min blank for no cutoff
|
[
"NAME",
"plotxy_magic",
".",
"py"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/programs/deprecated/plotxy_magic.py#L11-L117
|
train
|
This function is the entry point for the simple X Y and Y plots.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(1734 - 1685) + chr(2702 - 2650) + '\x34', 0o10), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110011) + chr(377 - 329) + '\x36', 0b1000), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\062' + '\x35' + '\061', 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b110110) + chr(0b110 + 0o56), 0o10), nzTpIcepk0o8(chr(0b110000) + '\157' + '\x33' + chr(0b1011 + 0o53), 5223 - 5215), nzTpIcepk0o8(chr(48) + chr(111) + '\x32' + '\x30' + chr(0b110101), 0o10), nzTpIcepk0o8(chr(48) + '\157' + chr(0b110100) + chr(0b110001 + 0o4), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b100111 + 0o110) + chr(591 - 540) + chr(49) + '\x36', ord("\x08")), nzTpIcepk0o8(chr(0b1100 + 0o44) + '\x6f' + chr(51) + chr(874 - 822) + '\x34', 21220 - 21212), nzTpIcepk0o8('\060' + chr(0b1101111) + '\063' + '\x37' + '\067', 0b1000), nzTpIcepk0o8('\x30' + '\157' + chr(49) + chr(2019 - 1971) + chr(0b110010), 55289 - 55281), nzTpIcepk0o8(chr(130 - 82) + chr(6394 - 6283) + '\x32' + '\x33' + '\060', 0b1000), nzTpIcepk0o8('\x30' + '\x6f' + '\x32' + '\x32' + '\x34', 1802 - 1794), nzTpIcepk0o8(chr(0b11011 + 0o25) + chr(111) + '\062' + '\x31' + chr(0b110100), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\062' + '\062' + '\063', 0b1000), nzTpIcepk0o8('\060' + '\157' + '\x32' + chr(620 - 568) + '\060', 0o10), nzTpIcepk0o8(chr(0b0 + 0o60) + chr(0b1011101 + 0o22) + chr(2460 - 2410) + chr(0b110101) + chr(0b110101), 0o10), nzTpIcepk0o8(chr(0b110000) + '\157' + '\x36' + '\x31', 0o10), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\063' + chr(54), 8), nzTpIcepk0o8('\x30' + '\x6f' + chr(2027 - 1975) + '\x31', 0o10), nzTpIcepk0o8(chr(417 - 369) + chr(0b1010111 + 0o30) + chr(0b1101 + 0o52) + '\066', 14888 - 14880), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110001) + chr(55) + '\067', 0o10), nzTpIcepk0o8(chr(0b100001 + 0o17) + chr(1217 - 1106) + chr(0b110001) + chr(50) + chr(0b110111), ord("\x08")), nzTpIcepk0o8(chr(0b100100 + 0o14) + chr(111) + chr(0b110001), 11554 - 11546), nzTpIcepk0o8('\x30' + chr(3576 - 3465) + '\063' + '\x35' + chr(55), 18666 - 18658), nzTpIcepk0o8(chr(0b0 + 0o60) + chr(9403 - 9292) + chr(50) + chr(0b101001 + 0o10) + chr(369 - 319), 0b1000), nzTpIcepk0o8(chr(48) + chr(9048 - 8937) + chr(1421 - 1372) + chr(53) + chr(54), 0o10), nzTpIcepk0o8('\x30' + chr(111) + chr(0b100101 + 0o15) + '\060' + chr(0b11110 + 0o25), 5395 - 5387), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(1526 - 1477) + chr(0b110011) + chr(2645 - 2593), ord("\x08")), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(51) + chr(52) + '\x33', 0o10), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(51) + chr(0b10 + 0o62) + chr(0b110011), 8), nzTpIcepk0o8(chr(1586 - 1538) + chr(1664 - 1553) + chr(51) + chr(0b110000) + chr(0b110000), 0b1000), nzTpIcepk0o8(chr(0b1100 + 0o44) + '\x6f' + chr(0b11111 + 0o22) + '\x30' + '\x36', 0b1000), nzTpIcepk0o8(chr(275 - 227) + chr(11977 - 11866) + chr(53) + '\060', 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\061' + chr(0b1011 + 0o45) + chr(0b100010 + 0o21), ord("\x08")), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b110011) + chr(54) + '\063', 0o10), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b110001) + chr(0b110000) + chr(0b101001 + 0o7), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(9646 - 9535) + '\063' + chr(0b10101 + 0o34), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(10179 - 10068) + '\062' + '\x31' + chr(1843 - 1795), 0b1000), nzTpIcepk0o8(chr(1809 - 1761) + '\157' + chr(95 - 45) + chr(50) + '\x37', 9941 - 9933)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b110101) + chr(0b10001 + 0o37), 8)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'J'), chr(100) + '\145' + chr(99) + '\x6f' + chr(0b111011 + 0o51) + chr(1250 - 1149))(chr(2913 - 2796) + chr(116) + chr(102) + '\055' + '\x38') + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def BXHXH_QeD6rL():
(qkhx4CUELyOf, jwW41FaTKKH7) = (nzTpIcepk0o8(chr(0b11111 + 0o21) + chr(0b1101111) + '\060', 0b1000), nzTpIcepk0o8(chr(0b100011 + 0o15) + chr(0b1101111) + chr(49), 8))
(ap75Y_eaMZLk, e1HrJaQHACnl) = (roI3spqORKae(ES5oEprVxulp(b'\x16\xa9'), chr(0b1001 + 0o133) + chr(101) + '\143' + chr(9196 - 9085) + chr(0b1010111 + 0o15) + chr(0b1100101))(chr(117) + '\x74' + chr(975 - 873) + chr(0b101101) + chr(0b1110 + 0o52)), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(50) + chr(0b110100), 0b1000))
(ikxkW8dy4ZA_, v5E0eutotooZ) = (roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + '\x65' + chr(0b1100011) + '\x6f' + '\x64' + chr(0b1100101))(chr(0b1001010 + 0o53) + chr(12320 - 12204) + chr(0b1100110) + chr(1309 - 1264) + chr(2515 - 2459)), roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(5771 - 5670) + '\x63' + '\157' + '\x64' + chr(8158 - 8057))(chr(7721 - 7604) + chr(116) + '\146' + '\x2d' + chr(2671 - 2615)))
vniSnlI09HNg = nzTpIcepk0o8('\x30' + chr(551 - 440) + chr(0b110000), 8)
if roI3spqORKae(ES5oEprVxulp(b'I\xae'), chr(7002 - 6902) + chr(101) + chr(2709 - 2610) + chr(111) + '\144' + '\145')(chr(0b1101001 + 0o14) + chr(0b1110100) + '\146' + chr(0b101101) + chr(56)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\x05\xac\xe0pI\xfc}\x83\xa6\x9eq\xfa'), chr(0b1111 + 0o125) + chr(0b1010110 + 0o17) + '\x63' + chr(0b1101111) + '\144' + chr(4738 - 4637))(chr(10093 - 9976) + chr(0b1110100) + chr(0b0 + 0o146) + chr(0b101101) + '\070')):
v8jsMqaYV6U2(roI3spqORKae(BXHXH_QeD6rL, roI3spqORKae(ES5oEprVxulp(b'\x1d\xa0\xecQo\xd4L\x9b\x8b\x8e\x15\xcc'), chr(0b100001 + 0o103) + chr(101) + chr(99) + chr(0b101 + 0o152) + chr(0b1100100) + '\145')('\165' + chr(10368 - 10252) + chr(0b10010 + 0o124) + chr(45) + chr(0b111000))))
roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'>\xb3\xdb^}\xd0i\xff\x97\x8c\x03\xa0'), chr(0b1100100) + chr(0b1011011 + 0o12) + chr(0b1100011) + '\157' + chr(100) + chr(9045 - 8944))(chr(0b1110101) + '\x74' + chr(102) + '\055' + chr(0b100 + 0o64)))()
if roI3spqORKae(ES5oEprVxulp(b'I\xa0'), chr(920 - 820) + '\145' + chr(0b110100 + 0o57) + chr(0b1011010 + 0o25) + chr(2604 - 2504) + '\x65')(chr(0b1110101) + chr(0b1110100) + chr(1889 - 1787) + chr(0b101101) + '\070') in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\x05\xac\xe0pI\xfc}\x83\xa6\x9eq\xfa'), chr(0b1100100) + chr(101) + chr(0b1100011) + '\157' + '\144' + '\x65')('\x75' + chr(116) + chr(0b1000101 + 0o41) + chr(0b101101) + chr(2645 - 2589))):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'I\xa0'), '\x64' + chr(0b1100101) + chr(99) + '\157' + chr(0b11100 + 0o110) + chr(0b1100101))('\x75' + chr(10524 - 10408) + chr(0b100 + 0o142) + chr(0b11010 + 0o23) + chr(56)))
GtsVUCYulgYX = bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8(chr(452 - 404) + '\157' + chr(49), 8)]
else:
roI3spqORKae(ES5oEprVxulp(b'I\xa0\x89[n\xf1L\xa1\x8a\xdf+\xeb\xb4\xed\xb3\xd2\xc8@kHL\x1a3!\x89\xe3\x0b\xef8'), chr(0b1100100) + '\145' + '\x63' + chr(8423 - 8312) + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + chr(0b1000000 + 0o46) + chr(0b11101 + 0o20) + chr(56))
v8jsMqaYV6U2(roI3spqORKae(BXHXH_QeD6rL, roI3spqORKae(ES5oEprVxulp(b'\x1d\xa0\xecQo\xd4L\x9b\x8b\x8e\x15\xcc'), '\144' + chr(0b1100101) + chr(99) + chr(111) + '\144' + '\145')(chr(0b111011 + 0o72) + '\x74' + '\146' + chr(0b100000 + 0o15) + chr(0b111000))))
roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'>\xb3\xdb^}\xd0i\xff\x97\x8c\x03\xa0'), chr(0b1100100) + '\x65' + chr(99) + '\157' + chr(0b1100011 + 0o1) + chr(0b1100101))(chr(2230 - 2113) + chr(0b100110 + 0o116) + chr(0b1100110) + chr(45) + chr(0b111000)))()
if roI3spqORKae(ES5oEprVxulp(b'I\xa5'), '\x64' + chr(0b1000100 + 0o41) + chr(0b1001001 + 0o32) + chr(0b111011 + 0o64) + chr(7903 - 7803) + chr(0b110011 + 0o62))(chr(117) + '\164' + chr(0b110 + 0o140) + chr(45) + '\070') in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\x05\xac\xe0pI\xfc}\x83\xa6\x9eq\xfa'), chr(5740 - 5640) + chr(2305 - 2204) + '\x63' + chr(0b1101111) + chr(100) + chr(101))(chr(117) + '\x74' + chr(6072 - 5970) + '\x2d' + '\x38')):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'I\xa5'), chr(102 - 2) + chr(0b1100101) + '\x63' + chr(111) + '\144' + chr(101))(chr(117) + chr(116) + chr(0b1100110) + '\x2d' + chr(56)))
qkhx4CUELyOf = bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8('\x30' + chr(111) + chr(0b11011 + 0o26), 8)]
jwW41FaTKKH7 = bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b1001 + 0o51), 0o10)]
else:
roI3spqORKae(ES5oEprVxulp(b"'\xa9\xc5As\xeb\x05\xa6\x81\x9e&\xfd\xe6\xff\xb3\xc1\x8dC{PK\x16%d\x8b\xaa\x08\xea9\x8f\x87"), chr(9187 - 9087) + chr(101) + chr(0b1100 + 0o127) + chr(111) + '\144' + '\x65')(chr(5538 - 5421) + chr(116) + chr(5602 - 5500) + '\x2d' + chr(0b100010 + 0o26))
v8jsMqaYV6U2(roI3spqORKae(BXHXH_QeD6rL, roI3spqORKae(ES5oEprVxulp(b'\x1d\xa0\xecQo\xd4L\x9b\x8b\x8e\x15\xcc'), chr(5126 - 5026) + '\145' + '\143' + chr(661 - 550) + '\x64' + chr(101))('\x75' + '\164' + chr(0b1100110) + chr(0b100 + 0o51) + chr(0b101100 + 0o14))))
roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'>\xb3\xdb^}\xd0i\xff\x97\x8c\x03\xa0'), chr(8133 - 8033) + chr(101) + chr(99) + chr(0b1000001 + 0o56) + chr(100) + '\x65')(chr(7706 - 7589) + chr(0b1010 + 0o152) + '\x66' + '\x2d' + '\x38'))()
if roI3spqORKae(ES5oEprVxulp(b'I\xbe\xc5U|'), chr(6750 - 6650) + '\x65' + '\x63' + chr(0b11111 + 0o120) + chr(0b1100100) + '\x65')(chr(8565 - 8448) + chr(116) + chr(102) + chr(1650 - 1605) + chr(56)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\x05\xac\xe0pI\xfc}\x83\xa6\x9eq\xfa'), chr(100) + '\x65' + '\x63' + '\x6f' + chr(100) + chr(0b1011000 + 0o15))('\165' + chr(0b1110100) + '\146' + chr(0b101000 + 0o5) + chr(0b111000))):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'I\xbe\xc5U|'), chr(100) + chr(0b10 + 0o143) + chr(0b1100011) + chr(0b1101111) + chr(0b111100 + 0o50) + chr(0b1100101))(chr(0b1110101) + '\x74' + chr(8824 - 8722) + chr(0b101101) + chr(0b1011 + 0o55)))
ikxkW8dy4ZA_ = bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8(chr(0b11101 + 0o23) + chr(1062 - 951) + chr(49), 8)]
if roI3spqORKae(ES5oEprVxulp(b'I\xbf\xc5U|'), chr(1081 - 981) + '\x65' + chr(0b1100011) + '\157' + chr(0b1100100) + chr(101))(chr(117) + chr(0b1110100) + chr(0b1000111 + 0o37) + '\055' + chr(0b101110 + 0o12)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\x05\xac\xe0pI\xfc}\x83\xa6\x9eq\xfa'), chr(5587 - 5487) + '\x65' + '\143' + chr(0b1000010 + 0o55) + chr(0b10010 + 0o122) + chr(0b1100101))(chr(0b1110101) + chr(0b100 + 0o160) + chr(0b1100110) + chr(1575 - 1530) + chr(56))):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'I\xbf\xc5U|'), chr(100) + chr(3362 - 3261) + chr(1794 - 1695) + '\x6f' + chr(0b1100100) + '\145')(chr(117) + chr(116) + chr(0b1100110) + chr(45) + '\x38'))
v5E0eutotooZ = bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8('\x30' + '\157' + chr(0b10110 + 0o33), 8)]
if roI3spqORKae(ES5oEprVxulp(b'I\xa4'), chr(6385 - 6285) + chr(101) + chr(7101 - 7002) + '\x6f' + chr(0b1001001 + 0o33) + chr(0b110100 + 0o61))(chr(0b1010111 + 0o36) + '\164' + chr(102) + chr(0b101101) + '\x38') in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\x05\xac\xe0pI\xfc}\x83\xa6\x9eq\xfa'), chr(7103 - 7003) + '\x65' + chr(0b101111 + 0o64) + chr(0b111010 + 0o65) + chr(0b10101 + 0o117) + chr(3834 - 3733))(chr(117) + chr(0b1110100) + '\146' + chr(0b100001 + 0o14) + chr(0b111000))):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'I\xa4'), '\144' + chr(0b1001111 + 0o26) + chr(0b1100011) + chr(111) + chr(0b100100 + 0o100) + '\145')(chr(117) + '\x74' + chr(10203 - 10101) + chr(0b11010 + 0o23) + '\x38'))
xq9Cm2xGJKft = jLW6pRf2DSRk(bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8('\x30' + chr(0b11001 + 0o126) + chr(0b110001), 8)])
itamR4vvwOYz = jLW6pRf2DSRk(bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8(chr(0b1010 + 0o46) + chr(2674 - 2563) + '\062', 8)])
mCaMyVzpRrSv = jLW6pRf2DSRk(bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8(chr(48) + '\x6f' + chr(1096 - 1045), 0b1000)])
QkDkhkOaO1Wm = jLW6pRf2DSRk(bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8(chr(299 - 251) + chr(10893 - 10782) + chr(52), ord("\x08"))])
if roI3spqORKae(ES5oEprVxulp(b'I\xb5\xd0Y'), chr(0b1011110 + 0o6) + chr(6823 - 6722) + chr(99) + chr(6535 - 6424) + '\x64' + chr(5752 - 5651))(chr(0b1010001 + 0o44) + chr(3972 - 3856) + '\146' + '\x2d' + chr(0b111000)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\x05\xac\xe0pI\xfc}\x83\xa6\x9eq\xfa'), '\x64' + '\145' + '\143' + '\157' + '\x64' + chr(3332 - 3231))(chr(0b1110101) + chr(9720 - 9604) + '\146' + chr(0b11010 + 0o23) + chr(0b111000))):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'I\xb5\xd0Y'), '\x64' + chr(101) + chr(99) + chr(0b1101111) + chr(100) + chr(0b101100 + 0o71))(chr(0b1110101) + chr(116) + '\x66' + '\x2d' + chr(0b111000)))
ap75Y_eaMZLk = bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8('\060' + chr(111) + chr(0b11 + 0o56), 8)]
e1HrJaQHACnl = nzTpIcepk0o8(bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8('\060' + '\157' + '\062', 8)])
if roI3spqORKae(ES5oEprVxulp(b'I\xaa'), '\144' + chr(0b1100101) + chr(0b10010 + 0o121) + chr(0b1101111) + chr(0b1000000 + 0o44) + '\145')('\165' + '\164' + chr(0b101100 + 0o72) + chr(45) + chr(0b111000)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\x05\xac\xe0pI\xfc}\x83\xa6\x9eq\xfa'), chr(100) + chr(0b1100101) + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + '\145')(chr(117) + chr(8545 - 8429) + '\x66' + chr(88 - 43) + '\070')):
vniSnlI09HNg = nzTpIcepk0o8(chr(0b101010 + 0o6) + chr(0b1100111 + 0o10) + chr(0b0 + 0o61), 8)
if roI3spqORKae(ES5oEprVxulp(b'I\x95'), chr(100) + chr(7206 - 7105) + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(4896 - 4795))('\165' + chr(116) + chr(0b1100110) + chr(177 - 132) + chr(0b111000)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\x05\xac\xe0pI\xfc}\x83\xa6\x9eq\xfa'), '\144' + chr(6468 - 6367) + chr(0b1001100 + 0o27) + chr(4817 - 4706) + chr(0b10000 + 0o124) + chr(0b1100101))(chr(117) + chr(116) + '\146' + chr(1725 - 1680) + chr(56))):
ap75Y_eaMZLk = roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(3828 - 3727) + chr(99) + '\157' + chr(4592 - 4492) + chr(0b1011100 + 0o11))('\x75' + '\x74' + chr(0b1100110) + chr(0b1000 + 0o45) + chr(0b101010 + 0o16))
(mxhyDqTAMpMC, zWIjrOExuyqC) = ([], [])
(FfKOThdpoDTb, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(GtsVUCYulgYX)
v8jsMqaYV6U2(mWsDpG3yRGLz)
for FKO_XxLfWbYt in FfKOThdpoDTb:
if qkhx4CUELyOf not in H4NoA26ON7iG(roI3spqORKae(FKO_XxLfWbYt, roI3spqORKae(ES5oEprVxulp(b'\x0f\xa3\xd0G'), '\x64' + chr(101) + chr(99) + chr(0b1101111) + chr(7218 - 7118) + chr(2597 - 2496))(chr(2507 - 2390) + chr(3688 - 3572) + '\146' + chr(0b101101) + chr(2764 - 2708)))()) or jwW41FaTKKH7 not in H4NoA26ON7iG(roI3spqORKae(FKO_XxLfWbYt, roI3spqORKae(ES5oEprVxulp(b'\x0f\xa3\xd0G'), '\144' + chr(204 - 103) + '\143' + chr(111) + '\x64' + '\x65')('\x75' + '\x74' + '\146' + chr(0b101101) + chr(220 - 164)))()):
v8jsMqaYV6U2(qkhx4CUELyOf, roI3spqORKae(ES5oEprVxulp(b'D\xa7\xc7P1\xeaW\xee'), chr(0b1100100) + chr(7373 - 7272) + chr(0b1100011) + chr(111) + '\144' + chr(0b1100101))('\x75' + chr(0b1011100 + 0o30) + '\x66' + chr(1397 - 1352) + chr(0b10010 + 0o46)), jwW41FaTKKH7, roI3spqORKae(ES5oEprVxulp(b'D\xa8\xc6@>\xecK\xee\x82\x96.\xfd\xb4\xe4\xf6\xc1\xc9TlR'), chr(866 - 766) + chr(0b101110 + 0o67) + chr(5286 - 5187) + chr(0b100001 + 0o116) + chr(0b1001001 + 0o33) + chr(101))(chr(0b11000 + 0o135) + chr(0b1110100) + chr(102) + '\055' + chr(0b11000 + 0o40)))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x10\xb4\xd0\x14\x7f\xe2D\xa7\x8a'), '\144' + '\145' + chr(4866 - 4767) + chr(111) + chr(6905 - 6805) + chr(101))(chr(0b100111 + 0o116) + '\164' + chr(0b1101 + 0o131) + '\055' + '\x38'))
roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'>\xb3\xdb^}\xd0i\xff\x97\x8c\x03\xa0'), chr(0b1000010 + 0o42) + chr(0b10110 + 0o117) + '\x63' + '\157' + chr(0b11110 + 0o106) + '\145')(chr(0b1101011 + 0o12) + chr(116) + chr(1593 - 1491) + '\055' + chr(0b111000)))()
if FKO_XxLfWbYt[qkhx4CUELyOf] != roI3spqORKae(ES5oEprVxulp(b''), chr(0b101 + 0o137) + chr(9965 - 9864) + chr(969 - 870) + '\x6f' + chr(100) + chr(0b1010010 + 0o23))(chr(10667 - 10550) + chr(3169 - 3053) + '\146' + chr(0b100111 + 0o6) + '\x38') and FKO_XxLfWbYt[jwW41FaTKKH7] != roI3spqORKae(ES5oEprVxulp(b''), '\144' + '\x65' + chr(3814 - 3715) + chr(111) + chr(9948 - 9848) + '\x65')(chr(12691 - 12574) + chr(4020 - 3904) + '\x66' + chr(45) + chr(0b111000)):
mi8KHiEXG5cT = nzTpIcepk0o8(chr(1068 - 1020) + chr(2330 - 2219) + chr(0b110000), 8)
if roI3spqORKae(ES5oEprVxulp(b'I\xa5\xdb]j'), chr(0b1100100) + '\145' + chr(4671 - 4572) + '\157' + chr(0b100011 + 0o101) + chr(101))(chr(0b1110101) + '\164' + chr(0b10101 + 0o121) + '\x2d' + chr(0b110101 + 0o3)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\x05\xac\xe0pI\xfc}\x83\xa6\x9eq\xfa'), chr(0b1001010 + 0o32) + chr(101) + '\143' + chr(111) + chr(100) + chr(5759 - 5658))(chr(653 - 536) + '\164' + chr(958 - 856) + '\x2d' + '\070')):
for CdDbps1C4JkW in QUsJCkmxIy8o:
aT8nrmrfJmwq = CdDbps1C4JkW.LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'^'), chr(0b1100100) + '\x65' + '\143' + '\x6f' + chr(0b1100100) + chr(0b100101 + 0o100))(chr(0b1110101) + chr(116) + '\x66' + chr(45) + chr(0b11110 + 0o32)))
FxQeNiMLy7yk = aT8nrmrfJmwq[nzTpIcepk0o8('\x30' + chr(111) + chr(48), 8)]
i4uGzsfa8kDO = aT8nrmrfJmwq[nzTpIcepk0o8('\060' + chr(111) + chr(0b110001), 8)]
mj1LDjBTppTl = aT8nrmrfJmwq[nzTpIcepk0o8(chr(0b11010 + 0o26) + chr(198 - 87) + chr(0b11 + 0o57), 8)]
if FKO_XxLfWbYt[FxQeNiMLy7yk] == roI3spqORKae(ES5oEprVxulp(b''), '\x64' + '\145' + '\x63' + chr(0b1101111) + '\x64' + chr(788 - 687))(chr(0b1011010 + 0o33) + chr(0b1110100) + chr(0b11101 + 0o111) + '\055' + chr(0b10001 + 0o47)):
mi8KHiEXG5cT = nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b110001), 8)
else:
if i4uGzsfa8kDO != roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(101) + chr(907 - 808) + chr(11194 - 11083) + chr(0b1000110 + 0o36) + chr(0b10011 + 0o122))('\165' + chr(7863 - 7747) + chr(0b1100110) + chr(1736 - 1691) + '\x38') and jLW6pRf2DSRk(FKO_XxLfWbYt[FxQeNiMLy7yk]) < jLW6pRf2DSRk(i4uGzsfa8kDO):
mi8KHiEXG5cT = nzTpIcepk0o8(chr(0b100000 + 0o20) + '\x6f' + chr(0b100110 + 0o13), 8)
if mj1LDjBTppTl != roI3spqORKae(ES5oEprVxulp(b''), '\144' + '\x65' + chr(0b110100 + 0o57) + chr(0b1100000 + 0o17) + '\x64' + chr(0b1100101))('\165' + chr(0b11110 + 0o126) + '\146' + chr(640 - 595) + chr(0b110101 + 0o3)) and jLW6pRf2DSRk(FKO_XxLfWbYt[FxQeNiMLy7yk]) > jLW6pRf2DSRk(i4uGzsfa8kDO):
mi8KHiEXG5cT = nzTpIcepk0o8('\x30' + chr(111) + chr(909 - 860), 8)
if mi8KHiEXG5cT == nzTpIcepk0o8(chr(0b111 + 0o51) + chr(0b101011 + 0o104) + '\060', 8):
roI3spqORKae(mxhyDqTAMpMC, roI3spqORKae(ES5oEprVxulp(b',\x92\xfa\x00f\xe2b\xa1\x8e\x90\x17\xad'), '\x64' + chr(9350 - 9249) + chr(0b100110 + 0o75) + chr(0b1101111) + chr(100) + chr(9210 - 9109))('\x75' + chr(0b1100100 + 0o20) + chr(243 - 141) + chr(829 - 784) + chr(0b100010 + 0o26)))(jLW6pRf2DSRk(FKO_XxLfWbYt[qkhx4CUELyOf]))
roI3spqORKae(zWIjrOExuyqC, roI3spqORKae(ES5oEprVxulp(b',\x92\xfa\x00f\xe2b\xa1\x8e\x90\x17\xad'), chr(100) + chr(0b1100101) + chr(0b0 + 0o143) + chr(111) + '\x64' + chr(8815 - 8714))(chr(12899 - 12782) + chr(3241 - 3125) + chr(0b1000001 + 0o45) + chr(0b10001 + 0o34) + chr(0b11011 + 0o35)))(jLW6pRf2DSRk(FKO_XxLfWbYt[jwW41FaTKKH7]))
if ftfygxgFas5X(mxhyDqTAMpMC) == nzTpIcepk0o8('\060' + chr(0b1001001 + 0o46) + chr(48), 8):
v8jsMqaYV6U2(qkhx4CUELyOf, roI3spqORKae(ES5oEprVxulp(b'D\xa7\xc7P1\xeaW\xee'), chr(0b1100100) + chr(3347 - 3246) + chr(0b1010110 + 0o15) + chr(4787 - 4676) + '\x64' + chr(101))(chr(117) + chr(0b100010 + 0o122) + '\x66' + chr(1037 - 992) + chr(325 - 269)), jwW41FaTKKH7, roI3spqORKae(ES5oEprVxulp(b'D\xae\xc8B{\xa5K\xa1\xc4\x9b#\xec\xf5\xac'), chr(100) + chr(101) + chr(0b1100011) + chr(111) + chr(100) + chr(0b111111 + 0o46))(chr(117) + '\164' + chr(0b1011110 + 0o10) + chr(0b100011 + 0o12) + '\x38'))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x10\xb4\xd0\x14\x7f\xe2D\xa7\x8a'), '\144' + chr(0b1100101) + chr(2441 - 2342) + chr(0b10111 + 0o130) + '\x64' + chr(101))(chr(0b1110101 + 0o0) + '\x74' + chr(0b110110 + 0o60) + chr(45) + chr(0b111000)))
roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'>\xb3\xdb^}\xd0i\xff\x97\x8c\x03\xa0'), chr(6382 - 6282) + chr(0b1100101) + '\143' + chr(0b1101111) + chr(0b1100100) + chr(904 - 803))(chr(0b1010110 + 0o37) + '\164' + '\x66' + chr(0b10101 + 0o30) + chr(2747 - 2691)))()
else:
v8jsMqaYV6U2(ftfygxgFas5X(mxhyDqTAMpMC), roI3spqORKae(ES5oEprVxulp(b'D\xa2\xc8@\x7f\xa5U\xa1\x8d\x916\xeb'), chr(1617 - 1517) + '\145' + chr(1606 - 1507) + chr(111) + chr(0b1100100) + chr(0b111111 + 0o46))(chr(5785 - 5668) + chr(0b1110100) + chr(1750 - 1648) + chr(0b11110 + 0o17) + chr(0b111000)))
if ap75Y_eaMZLk != roI3spqORKae(ES5oEprVxulp(b''), '\144' + '\145' + '\143' + chr(3202 - 3091) + '\144' + '\145')('\165' + chr(0b1110100) + '\146' + chr(45) + '\070'):
roI3spqORKae(s895axJpHMpz, roI3spqORKae(ES5oEprVxulp(b'>\x8e\x99]f\xb7C\xa3\xb0\x88*\xf9'), '\144' + chr(101) + '\143' + '\157' + chr(0b1100011 + 0o1) + chr(0b1100101))(chr(117) + chr(0b1110100) + chr(0b1100110) + chr(0b100000 + 0o15) + chr(3119 - 3063)))(mxhyDqTAMpMC, zWIjrOExuyqC, c=ap75Y_eaMZLk[nzTpIcepk0o8(chr(0b101010 + 0o6) + '\x6f' + chr(48), 8)], marker=ap75Y_eaMZLk[nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(1395 - 1346), 8)], s=e1HrJaQHACnl)
if ikxkW8dy4ZA_ != roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(0b100111 + 0o76) + '\x63' + chr(111) + '\x64' + chr(958 - 857))(chr(117) + chr(0b1110100) + chr(102) + chr(1111 - 1066) + '\070'):
roI3spqORKae(s895axJpHMpz, roI3spqORKae(ES5oEprVxulp(b'\x1c\xaa\xc8V{\xe9'), chr(0b100111 + 0o75) + '\x65' + '\143' + '\157' + chr(0b1100100) + '\x65')(chr(0b1100010 + 0o23) + chr(116) + chr(102) + chr(45) + chr(56)))(ikxkW8dy4ZA_)
if v5E0eutotooZ != roI3spqORKae(ES5oEprVxulp(b''), '\x64' + '\x65' + '\x63' + '\157' + chr(9391 - 9291) + chr(101))('\x75' + chr(0b1110100) + '\x66' + chr(45) + '\070'):
roI3spqORKae(s895axJpHMpz, roI3spqORKae(ES5oEprVxulp(b'\x1d\xaa\xc8V{\xe9'), '\144' + chr(0b1100101) + '\143' + chr(0b1101111) + '\144' + chr(0b11111 + 0o106))(chr(0b1110101) + chr(0b110000 + 0o104) + chr(102) + chr(0b101101) + chr(0b111000)))(v5E0eutotooZ)
if vniSnlI09HNg == nzTpIcepk0o8(chr(48) + '\157' + '\061', 8):
roI3spqORKae(s895axJpHMpz, roI3spqORKae(ES5oEprVxulp(b'\x14\xaa\xc6@'), '\144' + chr(7130 - 7029) + '\x63' + chr(11602 - 11491) + chr(0b111000 + 0o54) + chr(0b1100101))(chr(0b1110101) + '\x74' + '\x66' + '\x2d' + '\070'))(mxhyDqTAMpMC, zWIjrOExuyqC, roI3spqORKae(ES5oEprVxulp(b'\x0f\xeb'), '\x64' + chr(0b1100101) + chr(0b11111 + 0o104) + chr(111) + chr(0b1100100) + '\x65')(chr(0b1001000 + 0o55) + chr(2859 - 2743) + '\146' + '\x2d' + '\070'))
if roI3spqORKae(ES5oEprVxulp(b'I\xa4'), chr(3089 - 2989) + chr(2384 - 2283) + chr(0b1100011) + '\157' + chr(0b100110 + 0o76) + chr(3833 - 3732))(chr(117) + chr(0b1110100) + '\x66' + chr(0b0 + 0o55) + chr(56)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\x05\xac\xe0pI\xfc}\x83\xa6\x9eq\xfa'), chr(0b1100100) + chr(0b1100101) + chr(99) + chr(111) + chr(3525 - 3425) + chr(0b1000100 + 0o41))(chr(9925 - 9808) + chr(116) + chr(102) + chr(538 - 493) + chr(56))):
roI3spqORKae(s895axJpHMpz, roI3spqORKae(ES5oEprVxulp(b'.\x82\x90\x04,\xf5S\xb7\xa7\xb3\n\xa9'), chr(100) + chr(101) + '\x63' + '\x6f' + '\144' + '\x65')(chr(0b1110101) + '\x74' + '\x66' + '\x2d' + chr(0b101100 + 0o14)))([xq9Cm2xGJKft, itamR4vvwOYz, mCaMyVzpRrSv, QkDkhkOaO1Wm])
roI3spqORKae(s895axJpHMpz, roI3spqORKae(ES5oEprVxulp(b'\x00\xb4\xc8C'), chr(100) + '\x65' + chr(0b1011101 + 0o6) + '\x6f' + chr(0b111100 + 0o50) + chr(6326 - 6225))(chr(0b1100100 + 0o21) + chr(0b10110 + 0o136) + chr(0b1100110) + chr(660 - 615) + '\x38'))()
CMfsDQitQrpd = QnTXOd5N96r1(roI3spqORKae(ES5oEprVxulp(b'4\xb4\xccGm\xa5W\xab\x90\x8a0\xf6\xb4\xf8\xfc\x80\xdcDwU\x1e_'), chr(4791 - 4691) + chr(2722 - 2621) + chr(0b1100011) + '\157' + chr(0b1100100) + chr(8185 - 8084))('\165' + '\164' + chr(0b1100110) + '\055' + chr(56)))
roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'>\xb3\xdb^}\xd0i\xff\x97\x8c\x03\xa0'), chr(100) + '\145' + chr(0b1100011) + '\157' + '\x64' + '\x65')(chr(0b1110101) + '\164' + '\146' + chr(0b1101 + 0o40) + '\x38'))()
|
PmagPy/PmagPy
|
programs/lowrie.py
|
main
|
def main():
"""
NAME
lowrie.py
DESCRIPTION
plots intensity decay curves for Lowrie experiments
SYNTAX
lowrie -h [command line options]
INPUT
takes SIO formatted input files
OPTIONS
-h prints help message and quits
-f FILE: specify input file
-N do not normalize by maximum magnetization
-fmt [svg, pdf, eps, png] specify fmt, default is svg
-sav save plots and quit
"""
fmt, plot = 'svg', 0
FIG = {} # plot dictionary
FIG['lowrie'] = 1 # demag is figure 1
pmagplotlib.plot_init(FIG['lowrie'], 6, 6)
norm = 1 # default is to normalize by maximum axis
if len(sys.argv) > 1:
if '-h' in sys.argv:
print(main.__doc__)
sys.exit()
if '-N' in sys.argv:
norm = 0 # don't normalize
if '-sav' in sys.argv:
plot = 1 # don't normalize
if '-fmt' in sys.argv: # sets input filename
ind = sys.argv.index("-fmt")
fmt = sys.argv[ind + 1]
if '-f' in sys.argv: # sets input filename
ind = sys.argv.index("-f")
in_file = sys.argv[ind + 1]
else:
print(main.__doc__)
print('you must supply a file name')
sys.exit()
else:
print(main.__doc__)
print('you must supply a file name')
sys.exit()
data = pmag.open_file(in_file)
PmagRecs = [] # set up a list for the results
keys = ['specimen', 'treatment', 'csd', 'M', 'dec', 'inc']
for line in data:
PmagRec = {}
rec = line.replace('\n', '').split()
for k in range(len(keys)):
PmagRec[keys[k]] = rec[k]
PmagRecs.append(PmagRec)
specs = pmag.get_dictkey(PmagRecs, 'specimen', '')
sids = []
for spec in specs:
if spec not in sids:
sids.append(spec) # get list of unique specimen names
for spc in sids: # step through the specimen names
pmagplotlib.plot_init(FIG['lowrie'], 6, 6)
print(spc)
specdata = pmag.get_dictitem(
PmagRecs, 'specimen', spc, 'T') # get all this one's data
DIMs, Temps = [], []
for dat in specdata: # step through the data
DIMs.append([float(dat['dec']), float(
dat['inc']), float(dat['M']) * 1e-3])
Temps.append(float(dat['treatment']))
carts = pmag.dir2cart(DIMs).transpose()
# if norm==1: # want to normalize
# nrm=max(max(abs(carts[0])),max(abs(carts[1])),max(abs(carts[2]))) # by maximum of x,y,z values
# ylab="M/M_max"
if norm == 1: # want to normalize
nrm = (DIMs[0][2]) # normalize by NRM
ylab = "M/M_o"
else:
nrm = 1. # don't normalize
ylab = "Magnetic moment (Am^2)"
xlab = "Temperature (C)"
pmagplotlib.plot_xy(FIG['lowrie'], Temps, old_div(
abs(carts[0]), nrm), sym='r-')
pmagplotlib.plot_xy(FIG['lowrie'], Temps, old_div(
abs(carts[0]), nrm), sym='ro') # X direction
pmagplotlib.plot_xy(FIG['lowrie'], Temps, old_div(
abs(carts[1]), nrm), sym='c-')
pmagplotlib.plot_xy(FIG['lowrie'], Temps, old_div(
abs(carts[1]), nrm), sym='cs') # Y direction
pmagplotlib.plot_xy(FIG['lowrie'], Temps, old_div(
abs(carts[2]), nrm), sym='k-')
pmagplotlib.plot_xy(FIG['lowrie'], Temps, old_div(
abs(carts[2]), nrm), sym='k^', title=spc, xlab=xlab, ylab=ylab) # Z direction
files = {'lowrie': 'lowrie:_' + spc + '_.' + fmt}
if plot == 0:
pmagplotlib.draw_figs(FIG)
ans = input('S[a]ve figure? [q]uit, <return> to continue ')
if ans == 'a':
pmagplotlib.save_plots(FIG, files)
elif ans == 'q':
sys.exit()
else:
pmagplotlib.save_plots(FIG, files)
pmagplotlib.clearFIG(FIG['lowrie'])
|
python
|
def main():
"""
NAME
lowrie.py
DESCRIPTION
plots intensity decay curves for Lowrie experiments
SYNTAX
lowrie -h [command line options]
INPUT
takes SIO formatted input files
OPTIONS
-h prints help message and quits
-f FILE: specify input file
-N do not normalize by maximum magnetization
-fmt [svg, pdf, eps, png] specify fmt, default is svg
-sav save plots and quit
"""
fmt, plot = 'svg', 0
FIG = {} # plot dictionary
FIG['lowrie'] = 1 # demag is figure 1
pmagplotlib.plot_init(FIG['lowrie'], 6, 6)
norm = 1 # default is to normalize by maximum axis
if len(sys.argv) > 1:
if '-h' in sys.argv:
print(main.__doc__)
sys.exit()
if '-N' in sys.argv:
norm = 0 # don't normalize
if '-sav' in sys.argv:
plot = 1 # don't normalize
if '-fmt' in sys.argv: # sets input filename
ind = sys.argv.index("-fmt")
fmt = sys.argv[ind + 1]
if '-f' in sys.argv: # sets input filename
ind = sys.argv.index("-f")
in_file = sys.argv[ind + 1]
else:
print(main.__doc__)
print('you must supply a file name')
sys.exit()
else:
print(main.__doc__)
print('you must supply a file name')
sys.exit()
data = pmag.open_file(in_file)
PmagRecs = [] # set up a list for the results
keys = ['specimen', 'treatment', 'csd', 'M', 'dec', 'inc']
for line in data:
PmagRec = {}
rec = line.replace('\n', '').split()
for k in range(len(keys)):
PmagRec[keys[k]] = rec[k]
PmagRecs.append(PmagRec)
specs = pmag.get_dictkey(PmagRecs, 'specimen', '')
sids = []
for spec in specs:
if spec not in sids:
sids.append(spec) # get list of unique specimen names
for spc in sids: # step through the specimen names
pmagplotlib.plot_init(FIG['lowrie'], 6, 6)
print(spc)
specdata = pmag.get_dictitem(
PmagRecs, 'specimen', spc, 'T') # get all this one's data
DIMs, Temps = [], []
for dat in specdata: # step through the data
DIMs.append([float(dat['dec']), float(
dat['inc']), float(dat['M']) * 1e-3])
Temps.append(float(dat['treatment']))
carts = pmag.dir2cart(DIMs).transpose()
# if norm==1: # want to normalize
# nrm=max(max(abs(carts[0])),max(abs(carts[1])),max(abs(carts[2]))) # by maximum of x,y,z values
# ylab="M/M_max"
if norm == 1: # want to normalize
nrm = (DIMs[0][2]) # normalize by NRM
ylab = "M/M_o"
else:
nrm = 1. # don't normalize
ylab = "Magnetic moment (Am^2)"
xlab = "Temperature (C)"
pmagplotlib.plot_xy(FIG['lowrie'], Temps, old_div(
abs(carts[0]), nrm), sym='r-')
pmagplotlib.plot_xy(FIG['lowrie'], Temps, old_div(
abs(carts[0]), nrm), sym='ro') # X direction
pmagplotlib.plot_xy(FIG['lowrie'], Temps, old_div(
abs(carts[1]), nrm), sym='c-')
pmagplotlib.plot_xy(FIG['lowrie'], Temps, old_div(
abs(carts[1]), nrm), sym='cs') # Y direction
pmagplotlib.plot_xy(FIG['lowrie'], Temps, old_div(
abs(carts[2]), nrm), sym='k-')
pmagplotlib.plot_xy(FIG['lowrie'], Temps, old_div(
abs(carts[2]), nrm), sym='k^', title=spc, xlab=xlab, ylab=ylab) # Z direction
files = {'lowrie': 'lowrie:_' + spc + '_.' + fmt}
if plot == 0:
pmagplotlib.draw_figs(FIG)
ans = input('S[a]ve figure? [q]uit, <return> to continue ')
if ans == 'a':
pmagplotlib.save_plots(FIG, files)
elif ans == 'q':
sys.exit()
else:
pmagplotlib.save_plots(FIG, files)
pmagplotlib.clearFIG(FIG['lowrie'])
|
[
"def",
"main",
"(",
")",
":",
"fmt",
",",
"plot",
"=",
"'svg'",
",",
"0",
"FIG",
"=",
"{",
"}",
"# plot dictionary",
"FIG",
"[",
"'lowrie'",
"]",
"=",
"1",
"# demag is figure 1",
"pmagplotlib",
".",
"plot_init",
"(",
"FIG",
"[",
"'lowrie'",
"]",
",",
"6",
",",
"6",
")",
"norm",
"=",
"1",
"# default is to normalize by maximum axis",
"if",
"len",
"(",
"sys",
".",
"argv",
")",
">",
"1",
":",
"if",
"'-h'",
"in",
"sys",
".",
"argv",
":",
"print",
"(",
"main",
".",
"__doc__",
")",
"sys",
".",
"exit",
"(",
")",
"if",
"'-N'",
"in",
"sys",
".",
"argv",
":",
"norm",
"=",
"0",
"# don't normalize",
"if",
"'-sav'",
"in",
"sys",
".",
"argv",
":",
"plot",
"=",
"1",
"# don't normalize",
"if",
"'-fmt'",
"in",
"sys",
".",
"argv",
":",
"# sets input filename",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"\"-fmt\"",
")",
"fmt",
"=",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
"if",
"'-f'",
"in",
"sys",
".",
"argv",
":",
"# sets input filename",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"\"-f\"",
")",
"in_file",
"=",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
"else",
":",
"print",
"(",
"main",
".",
"__doc__",
")",
"print",
"(",
"'you must supply a file name'",
")",
"sys",
".",
"exit",
"(",
")",
"else",
":",
"print",
"(",
"main",
".",
"__doc__",
")",
"print",
"(",
"'you must supply a file name'",
")",
"sys",
".",
"exit",
"(",
")",
"data",
"=",
"pmag",
".",
"open_file",
"(",
"in_file",
")",
"PmagRecs",
"=",
"[",
"]",
"# set up a list for the results",
"keys",
"=",
"[",
"'specimen'",
",",
"'treatment'",
",",
"'csd'",
",",
"'M'",
",",
"'dec'",
",",
"'inc'",
"]",
"for",
"line",
"in",
"data",
":",
"PmagRec",
"=",
"{",
"}",
"rec",
"=",
"line",
".",
"replace",
"(",
"'\\n'",
",",
"''",
")",
".",
"split",
"(",
")",
"for",
"k",
"in",
"range",
"(",
"len",
"(",
"keys",
")",
")",
":",
"PmagRec",
"[",
"keys",
"[",
"k",
"]",
"]",
"=",
"rec",
"[",
"k",
"]",
"PmagRecs",
".",
"append",
"(",
"PmagRec",
")",
"specs",
"=",
"pmag",
".",
"get_dictkey",
"(",
"PmagRecs",
",",
"'specimen'",
",",
"''",
")",
"sids",
"=",
"[",
"]",
"for",
"spec",
"in",
"specs",
":",
"if",
"spec",
"not",
"in",
"sids",
":",
"sids",
".",
"append",
"(",
"spec",
")",
"# get list of unique specimen names",
"for",
"spc",
"in",
"sids",
":",
"# step through the specimen names",
"pmagplotlib",
".",
"plot_init",
"(",
"FIG",
"[",
"'lowrie'",
"]",
",",
"6",
",",
"6",
")",
"print",
"(",
"spc",
")",
"specdata",
"=",
"pmag",
".",
"get_dictitem",
"(",
"PmagRecs",
",",
"'specimen'",
",",
"spc",
",",
"'T'",
")",
"# get all this one's data",
"DIMs",
",",
"Temps",
"=",
"[",
"]",
",",
"[",
"]",
"for",
"dat",
"in",
"specdata",
":",
"# step through the data",
"DIMs",
".",
"append",
"(",
"[",
"float",
"(",
"dat",
"[",
"'dec'",
"]",
")",
",",
"float",
"(",
"dat",
"[",
"'inc'",
"]",
")",
",",
"float",
"(",
"dat",
"[",
"'M'",
"]",
")",
"*",
"1e-3",
"]",
")",
"Temps",
".",
"append",
"(",
"float",
"(",
"dat",
"[",
"'treatment'",
"]",
")",
")",
"carts",
"=",
"pmag",
".",
"dir2cart",
"(",
"DIMs",
")",
".",
"transpose",
"(",
")",
"# if norm==1: # want to normalize",
"# nrm=max(max(abs(carts[0])),max(abs(carts[1])),max(abs(carts[2]))) # by maximum of x,y,z values",
"# ylab=\"M/M_max\"",
"if",
"norm",
"==",
"1",
":",
"# want to normalize",
"nrm",
"=",
"(",
"DIMs",
"[",
"0",
"]",
"[",
"2",
"]",
")",
"# normalize by NRM",
"ylab",
"=",
"\"M/M_o\"",
"else",
":",
"nrm",
"=",
"1.",
"# don't normalize",
"ylab",
"=",
"\"Magnetic moment (Am^2)\"",
"xlab",
"=",
"\"Temperature (C)\"",
"pmagplotlib",
".",
"plot_xy",
"(",
"FIG",
"[",
"'lowrie'",
"]",
",",
"Temps",
",",
"old_div",
"(",
"abs",
"(",
"carts",
"[",
"0",
"]",
")",
",",
"nrm",
")",
",",
"sym",
"=",
"'r-'",
")",
"pmagplotlib",
".",
"plot_xy",
"(",
"FIG",
"[",
"'lowrie'",
"]",
",",
"Temps",
",",
"old_div",
"(",
"abs",
"(",
"carts",
"[",
"0",
"]",
")",
",",
"nrm",
")",
",",
"sym",
"=",
"'ro'",
")",
"# X direction",
"pmagplotlib",
".",
"plot_xy",
"(",
"FIG",
"[",
"'lowrie'",
"]",
",",
"Temps",
",",
"old_div",
"(",
"abs",
"(",
"carts",
"[",
"1",
"]",
")",
",",
"nrm",
")",
",",
"sym",
"=",
"'c-'",
")",
"pmagplotlib",
".",
"plot_xy",
"(",
"FIG",
"[",
"'lowrie'",
"]",
",",
"Temps",
",",
"old_div",
"(",
"abs",
"(",
"carts",
"[",
"1",
"]",
")",
",",
"nrm",
")",
",",
"sym",
"=",
"'cs'",
")",
"# Y direction",
"pmagplotlib",
".",
"plot_xy",
"(",
"FIG",
"[",
"'lowrie'",
"]",
",",
"Temps",
",",
"old_div",
"(",
"abs",
"(",
"carts",
"[",
"2",
"]",
")",
",",
"nrm",
")",
",",
"sym",
"=",
"'k-'",
")",
"pmagplotlib",
".",
"plot_xy",
"(",
"FIG",
"[",
"'lowrie'",
"]",
",",
"Temps",
",",
"old_div",
"(",
"abs",
"(",
"carts",
"[",
"2",
"]",
")",
",",
"nrm",
")",
",",
"sym",
"=",
"'k^'",
",",
"title",
"=",
"spc",
",",
"xlab",
"=",
"xlab",
",",
"ylab",
"=",
"ylab",
")",
"# Z direction",
"files",
"=",
"{",
"'lowrie'",
":",
"'lowrie:_'",
"+",
"spc",
"+",
"'_.'",
"+",
"fmt",
"}",
"if",
"plot",
"==",
"0",
":",
"pmagplotlib",
".",
"draw_figs",
"(",
"FIG",
")",
"ans",
"=",
"input",
"(",
"'S[a]ve figure? [q]uit, <return> to continue '",
")",
"if",
"ans",
"==",
"'a'",
":",
"pmagplotlib",
".",
"save_plots",
"(",
"FIG",
",",
"files",
")",
"elif",
"ans",
"==",
"'q'",
":",
"sys",
".",
"exit",
"(",
")",
"else",
":",
"pmagplotlib",
".",
"save_plots",
"(",
"FIG",
",",
"files",
")",
"pmagplotlib",
".",
"clearFIG",
"(",
"FIG",
"[",
"'lowrie'",
"]",
")"
] |
NAME
lowrie.py
DESCRIPTION
plots intensity decay curves for Lowrie experiments
SYNTAX
lowrie -h [command line options]
INPUT
takes SIO formatted input files
OPTIONS
-h prints help message and quits
-f FILE: specify input file
-N do not normalize by maximum magnetization
-fmt [svg, pdf, eps, png] specify fmt, default is svg
-sav save plots and quit
|
[
"NAME",
"lowrie",
".",
"py"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/programs/lowrie.py#L17-L122
|
train
|
NAME
aptcha. py is the main function for the Lowrie experiment.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(48) + chr(111) + chr(0b101011 + 0o10) + chr(55) + chr(1192 - 1142), ord("\x08")), nzTpIcepk0o8('\x30' + chr(111) + '\x34' + chr(1538 - 1489), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b110110) + chr(0b110011), 0b1000), nzTpIcepk0o8(chr(980 - 932) + '\x6f' + chr(280 - 231) + '\x35' + '\063', 0o10), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\064' + '\064', 31421 - 31413), nzTpIcepk0o8('\x30' + chr(111) + chr(51) + '\065' + '\063', 0o10), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(1416 - 1364) + chr(48), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(9527 - 9416) + chr(0b110010) + chr(0b110011) + chr(0b110110), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b11111 + 0o22) + '\x33', ord("\x08")), nzTpIcepk0o8(chr(0b11111 + 0o21) + chr(2970 - 2859) + chr(49) + chr(48) + chr(2489 - 2436), 0b1000), nzTpIcepk0o8('\060' + chr(111) + chr(0b110011) + '\065', ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1101111) + '\x31' + chr(49) + chr(1134 - 1079), 61436 - 61428), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b100010 + 0o25) + '\x32', 0o10), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b110010) + chr(0b1011 + 0o50), 0o10), nzTpIcepk0o8(chr(48) + chr(4516 - 4405) + chr(0b100111 + 0o13) + chr(0b110110) + '\067', ord("\x08")), nzTpIcepk0o8(chr(783 - 735) + chr(111) + '\x32', 19244 - 19236), nzTpIcepk0o8(chr(48) + chr(0b1001101 + 0o42) + chr(0b0 + 0o62) + '\064' + '\066', ord("\x08")), nzTpIcepk0o8(chr(1415 - 1367) + '\157' + chr(0b110001) + chr(0b110101) + chr(226 - 177), ord("\x08")), nzTpIcepk0o8('\060' + '\x6f' + chr(56 - 7) + chr(1448 - 1397) + '\x35', 20968 - 20960), nzTpIcepk0o8(chr(48) + '\157' + chr(51) + '\061' + chr(0b110011), 0o10), nzTpIcepk0o8('\x30' + chr(0b1101111) + '\x31' + '\064' + chr(52), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(49) + chr(0b110 + 0o54) + '\062', 21045 - 21037), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110011) + chr(0b11110 + 0o22) + chr(0b110110), 0b1000), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(50) + chr(744 - 692) + chr(0b100001 + 0o25), 8), nzTpIcepk0o8(chr(0b100111 + 0o11) + chr(5469 - 5358) + '\065' + chr(0b110000), ord("\x08")), nzTpIcepk0o8('\060' + chr(0b1011101 + 0o22) + chr(0b110001) + '\x36' + '\063', ord("\x08")), nzTpIcepk0o8(chr(48) + '\157' + chr(0b1010 + 0o55) + '\062', 8), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b11011 + 0o30) + chr(0b101011 + 0o13) + chr(1645 - 1594), 25151 - 25143), nzTpIcepk0o8(chr(1898 - 1850) + chr(111) + chr(0b11010 + 0o30) + chr(0b110011) + chr(0b110001), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b110001) + chr(48) + '\066', 0o10), nzTpIcepk0o8(chr(212 - 164) + chr(993 - 882) + '\x33' + '\067' + chr(1764 - 1712), 48657 - 48649), nzTpIcepk0o8(chr(0b10111 + 0o31) + chr(0b0 + 0o157) + '\x37', ord("\x08")), nzTpIcepk0o8(chr(48) + chr(111) + chr(0b101 + 0o54) + '\067' + chr(789 - 739), 0o10), nzTpIcepk0o8(chr(0b100001 + 0o17) + chr(0b1011100 + 0o23) + chr(54) + chr(218 - 163), 0b1000), nzTpIcepk0o8(chr(0b10001 + 0o37) + chr(111) + chr(327 - 277) + '\063', 8), nzTpIcepk0o8(chr(339 - 291) + chr(0b1101111) + '\062' + chr(0b110000) + chr(55), 0o10), nzTpIcepk0o8(chr(48) + chr(111) + '\x31' + chr(909 - 854) + chr(0b110010), 8), nzTpIcepk0o8(chr(0b100010 + 0o16) + chr(0b1101111) + chr(0b110011), ord("\x08")), nzTpIcepk0o8(chr(1531 - 1483) + chr(111) + chr(49) + chr(843 - 795) + chr(1077 - 1024), 8), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b110010) + '\062' + '\067', ord("\x08"))][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(2138 - 2085) + '\060', 8)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xd4'), chr(9127 - 9027) + chr(5584 - 5483) + '\x63' + chr(6452 - 6341) + chr(100) + '\145')(chr(0b1110101) + chr(2922 - 2806) + chr(0b1011101 + 0o11) + chr(1142 - 1097) + '\070') + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def BXHXH_QeD6rL():
(JummcHpaNLEw, mocO8sWgkzH7) = (roI3spqORKae(ES5oEprVxulp(b'\x89WT'), chr(0b1100100) + chr(0b1100101) + '\x63' + chr(0b1101111) + chr(100) + '\x65')(chr(1087 - 970) + chr(116) + chr(102) + '\x2d' + chr(1536 - 1480)), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b101001 + 0o7), ord("\x08")))
rKSToK9WUVwu = {}
rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'\x96ND\x19M\x8e'), '\144' + chr(101) + chr(0b1100011) + chr(111) + chr(100) + chr(101))('\x75' + chr(1981 - 1865) + chr(0b1100110) + '\x2d' + chr(0b111000))] = nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b100101 + 0o14), 0o10)
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\x8aM\\\x1f{\x82N\xf7\x7f'), '\144' + chr(101) + '\x63' + '\x6f' + chr(0b1100100) + '\145')('\x75' + chr(399 - 283) + chr(9570 - 9468) + '\x2d' + chr(0b111000)))(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'\x96ND\x19M\x8e'), '\144' + chr(0b1010001 + 0o24) + chr(99) + chr(111) + chr(0b1100100) + '\145')(chr(117) + chr(0b11010 + 0o132) + chr(0b1100110) + chr(0b100001 + 0o14) + chr(0b111000))], nzTpIcepk0o8(chr(728 - 680) + chr(753 - 642) + chr(54), 17831 - 17823), nzTpIcepk0o8(chr(1694 - 1646) + chr(0b1011 + 0o144) + chr(54), 8))
xBFFJFaziFDU = nzTpIcepk0o8(chr(512 - 464) + '\157' + '\x31', 8)
if ftfygxgFas5X(roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\x9bKz/s\x92x\xd3I$.-'), chr(921 - 821) + '\145' + '\143' + '\157' + chr(0b1100100) + chr(101))(chr(3772 - 3655) + chr(0b11111 + 0o125) + chr(0b1100110) + '\055' + chr(2328 - 2272)))) > nzTpIcepk0o8(chr(1798 - 1750) + chr(0b1101111) + '\x31', 8):
if roI3spqORKae(ES5oEprVxulp(b'\xd7I'), '\144' + chr(9098 - 8997) + '\143' + chr(11593 - 11482) + '\x64' + chr(0b1100101))(chr(5412 - 5295) + '\x74' + chr(0b1100110) + chr(45) + chr(3006 - 2950)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\x9bKz/s\x92x\xd3I$.-'), '\144' + chr(101) + '\143' + chr(111) + chr(0b1100100) + '\x65')('\x75' + chr(0b100110 + 0o116) + chr(0b11111 + 0o107) + '\x2d' + chr(0b1110 + 0o52))):
v8jsMqaYV6U2(roI3spqORKae(BXHXH_QeD6rL, roI3spqORKae(ES5oEprVxulp(b'\x83Gv\x0eU\xbaI\xcbd4J\x1b'), chr(5548 - 5448) + chr(7841 - 7740) + '\143' + chr(0b100 + 0o153) + chr(0b1100100) + chr(0b1001100 + 0o31))(chr(9409 - 9292) + chr(0b1110100) + chr(1392 - 1290) + '\055' + chr(56))))
roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\xa0TA\x01G\xbel\xafx6\\w'), chr(0b1100100) + '\145' + chr(9066 - 8967) + chr(0b1101111) + chr(0b1100100) + chr(9743 - 9642))(chr(0b1110101) + chr(0b101111 + 0o105) + chr(102) + chr(178 - 133) + '\x38'))()
if roI3spqORKae(ES5oEprVxulp(b'\xd7o'), chr(100) + '\x65' + chr(0b1100011) + chr(111) + '\144' + chr(0b1100101))(chr(9651 - 9534) + '\x74' + chr(0b1100110) + '\x2d' + '\070') in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\x9bKz/s\x92x\xd3I$.-'), chr(0b1100100) + chr(101) + chr(99) + chr(0b1101111) + chr(0b101101 + 0o67) + chr(4837 - 4736))('\165' + '\164' + chr(9634 - 9532) + '\x2d' + chr(0b111000))):
xBFFJFaziFDU = nzTpIcepk0o8('\060' + chr(0b1101111) + chr(1361 - 1313), 8)
if roI3spqORKae(ES5oEprVxulp(b'\xd7RR\x1d'), chr(0b110110 + 0o56) + chr(0b1100101) + chr(0b1100011) + chr(0b1011001 + 0o26) + chr(9910 - 9810) + '\x65')(chr(117) + chr(0b1110100) + '\x66' + '\x2d' + chr(56)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\x9bKz/s\x92x\xd3I$.-'), chr(9248 - 9148) + chr(0b1011000 + 0o15) + chr(0b1100011) + '\x6f' + '\144' + chr(3161 - 3060))(chr(0b1100000 + 0o25) + chr(0b1110100) + '\146' + '\x2d' + chr(0b111000))):
mocO8sWgkzH7 = nzTpIcepk0o8(chr(48) + chr(111) + '\x31', 8)
if roI3spqORKae(ES5oEprVxulp(b'\xd7G^\x1f'), chr(0b1100100) + '\145' + chr(6774 - 6675) + chr(111) + chr(0b1000100 + 0o40) + chr(0b1000000 + 0o45))(chr(0b100010 + 0o123) + chr(4706 - 4590) + chr(0b1100110) + chr(0b1100 + 0o41) + chr(0b11111 + 0o31)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\x9bKz/s\x92x\xd3I$.-'), '\144' + chr(101) + '\x63' + chr(0b101000 + 0o107) + chr(0b1100100) + chr(101))('\165' + '\x74' + '\146' + chr(0b101101) + chr(2044 - 1988))):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\xd7G^\x1f'), chr(0b11011 + 0o111) + chr(0b111010 + 0o53) + chr(99) + '\x6f' + '\x64' + chr(101))(chr(0b1010100 + 0o41) + '\164' + chr(1767 - 1665) + chr(0b101101) + chr(0b1 + 0o67)))
JummcHpaNLEw = bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8(chr(1991 - 1943) + chr(111) + chr(0b1100 + 0o45), 8)]
if roI3spqORKae(ES5oEprVxulp(b'\xd7G'), '\x64' + chr(0b1100101) + chr(0b1100011) + chr(111) + chr(100) + chr(0b1001011 + 0o32))('\x75' + chr(0b1010001 + 0o43) + chr(0b1100110 + 0o0) + chr(45) + '\x38') in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\x9bKz/s\x92x\xd3I$.-'), chr(1808 - 1708) + chr(101) + chr(2596 - 2497) + chr(7746 - 7635) + '\x64' + chr(101))(chr(0b101111 + 0o106) + chr(0b1000001 + 0o63) + chr(0b1100110) + chr(240 - 195) + chr(0b11101 + 0o33))):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\xd7G'), chr(100) + '\145' + chr(0b11000 + 0o113) + chr(0b111101 + 0o62) + chr(2959 - 2859) + '\145')('\x75' + '\164' + '\x66' + chr(0b101101) + chr(0b111000)))
bORHD_jakCEx = bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b110001), 8)]
else:
v8jsMqaYV6U2(roI3spqORKae(BXHXH_QeD6rL, roI3spqORKae(ES5oEprVxulp(b'\x83Gv\x0eU\xbaI\xcbd4J\x1b'), chr(100) + '\x65' + '\143' + chr(5651 - 5540) + '\144' + chr(7938 - 7837))('\x75' + '\x74' + chr(1661 - 1559) + chr(0b1101 + 0o40) + chr(0b110111 + 0o1))))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x83NFKI\x9eS\xea+6h?J\x7f\xce"\xc7I;\xa2\x087\xe6\xc8I\x1e_'), chr(0b1101 + 0o127) + chr(0b11100 + 0o111) + '\x63' + chr(0b1101111) + chr(9260 - 9160) + chr(0b1100101))('\165' + chr(0b1010001 + 0o43) + chr(102) + chr(1899 - 1854) + chr(639 - 583)))
roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\xa0TA\x01G\xbel\xafx6\\w'), chr(0b1100100) + chr(1385 - 1284) + chr(0b11010 + 0o111) + '\157' + chr(100) + chr(1027 - 926))('\165' + chr(116) + chr(0b1100110) + chr(45) + chr(0b111000)))()
else:
v8jsMqaYV6U2(roI3spqORKae(BXHXH_QeD6rL, roI3spqORKae(ES5oEprVxulp(b'\x83Gv\x0eU\xbaI\xcbd4J\x1b'), '\144' + chr(8922 - 8821) + chr(99) + '\157' + chr(100) + chr(101))('\165' + chr(0b1110100) + chr(102) + chr(45) + chr(0b101 + 0o63))))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x83NFKI\x9eS\xea+6h?J\x7f\xce"\xc7I;\xa2\x087\xe6\xc8I\x1e_'), chr(100) + chr(3726 - 3625) + chr(8728 - 8629) + chr(217 - 106) + '\x64' + chr(1956 - 1855))(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + chr(0b100 + 0o51) + chr(56)))
roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\xa0TA\x01G\xbel\xafx6\\w'), chr(0b1010110 + 0o16) + chr(2239 - 2138) + chr(1353 - 1254) + chr(0b1101111) + '\144' + '\145')('\x75' + chr(0b1110100) + chr(8179 - 8077) + chr(0b101101) + '\x38'))()
FfKOThdpoDTb = hUcsWwAd0nE_.GXeaJPoSsqx4(bORHD_jakCEx)
F84pw7Bt38Dj = []
HOp0ZjSPeQln = [roI3spqORKae(ES5oEprVxulp(b'\x89QV\x08M\x86E\xf0'), '\x64' + '\145' + chr(0b101 + 0o136) + chr(0b1101111) + chr(9656 - 9556) + '\145')('\165' + chr(639 - 523) + chr(102) + chr(0b100100 + 0o11) + chr(2463 - 2407)), roI3spqORKae(ES5oEprVxulp(b'\x8eSV\nP\x86E\xf0\x7f'), '\144' + chr(0b1011101 + 0o10) + chr(0b1000110 + 0o35) + chr(0b1101111) + chr(1017 - 917) + chr(0b1100101))('\165' + '\x74' + chr(102) + chr(1893 - 1848) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\x99RW'), '\144' + chr(101) + '\x63' + '\x6f' + chr(100) + '\145')(chr(0b111010 + 0o73) + '\164' + '\146' + chr(45) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xb7'), chr(0b1100100) + chr(0b1100000 + 0o5) + '\143' + chr(0b11110 + 0o121) + chr(4637 - 4537) + '\145')('\165' + '\x74' + chr(102) + chr(0b101010 + 0o3) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\x9eDP'), chr(0b1100100) + chr(0b1100101) + chr(0b1100011) + chr(4465 - 4354) + chr(0b100001 + 0o103) + '\x65')(chr(0b1110101) + '\164' + chr(0b1100110) + chr(45) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\x93OP'), '\x64' + chr(0b0 + 0o145) + '\x63' + chr(0b1001001 + 0o46) + chr(100) + chr(0b101001 + 0o74))('\165' + chr(116) + '\x66' + chr(0b101101) + chr(56))]
for ffiOpFBWGmZU in FfKOThdpoDTb:
BlSntSWDY8bg = {}
FKO_XxLfWbYt = ffiOpFBWGmZU.replace(roI3spqORKae(ES5oEprVxulp(b'\xf0'), chr(6904 - 6804) + chr(0b1000001 + 0o44) + '\143' + '\157' + '\144' + chr(9346 - 9245))(chr(11778 - 11661) + '\x74' + '\146' + chr(337 - 292) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(4928 - 4827) + chr(0b11 + 0o140) + '\x6f' + chr(100) + chr(0b11 + 0o142))('\x75' + '\164' + chr(2457 - 2355) + chr(45) + chr(0b110111 + 0o1))).LfRrQOxuDvnC()
for B6UAF1zReOyJ in bbT2xIe5pzk7(ftfygxgFas5X(HOp0ZjSPeQln)):
BlSntSWDY8bg[HOp0ZjSPeQln[B6UAF1zReOyJ]] = FKO_XxLfWbYt[B6UAF1zReOyJ]
roI3spqORKae(F84pw7Bt38Dj, roI3spqORKae(ES5oEprVxulp(b'\xb2u`_\\\x8cg\xf1a*Hz'), chr(0b1100010 + 0o2) + chr(345 - 244) + '\143' + chr(111) + '\x64' + chr(0b1100101))('\165' + chr(0b1001 + 0o153) + chr(0b1100110) + chr(1799 - 1754) + chr(0b111000)))(BlSntSWDY8bg)
o53SjI9laMAg = hUcsWwAd0nE_.get_dictkey(F84pw7Bt38Dj, roI3spqORKae(ES5oEprVxulp(b'\x89QV\x08M\x86E\xf0'), '\144' + chr(7953 - 7852) + '\x63' + chr(111) + chr(0b1100100) + chr(0b1001 + 0o134))(chr(7690 - 7573) + chr(0b1000 + 0o154) + '\x66' + '\x2d' + '\070'), roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + '\x65' + chr(0b1100011) + '\x6f' + chr(100) + chr(0b1011111 + 0o6))(chr(0b101100 + 0o111) + '\164' + chr(102) + '\x2d' + chr(0b111000)))
Wbavx5JmRXKA = []
for L66BkZPPV93j in o53SjI9laMAg:
if L66BkZPPV93j not in Wbavx5JmRXKA:
roI3spqORKae(Wbavx5JmRXKA, roI3spqORKae(ES5oEprVxulp(b'\xb2u`_\\\x8cg\xf1a*Hz'), '\x64' + chr(0b1100101) + '\143' + chr(0b1101111) + chr(3073 - 2973) + '\145')(chr(0b1010100 + 0o41) + '\164' + '\x66' + '\x2d' + chr(56)))(L66BkZPPV93j)
for WBwPtPVEzw7G in Wbavx5JmRXKA:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\x8aM\\\x1f{\x82N\xf7\x7f'), '\144' + chr(1271 - 1170) + chr(0b1100011) + chr(111) + '\x64' + '\x65')(chr(8153 - 8036) + '\x74' + chr(4508 - 4406) + chr(45) + chr(0b111000)))(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'\x96ND\x19M\x8e'), chr(0b1100100) + chr(0b101000 + 0o75) + chr(0b110011 + 0o60) + chr(111) + '\x64' + chr(0b1100101))(chr(0b1110101) + chr(116) + chr(5597 - 5495) + chr(45) + '\x38')], nzTpIcepk0o8(chr(0b110000) + chr(863 - 752) + chr(0b110110), 8), nzTpIcepk0o8(chr(0b100100 + 0o14) + '\x6f' + '\066', 8))
v8jsMqaYV6U2(WBwPtPVEzw7G)
Vx7XDlhozexJ = hUcsWwAd0nE_.get_dictitem(F84pw7Bt38Dj, roI3spqORKae(ES5oEprVxulp(b'\x89QV\x08M\x86E\xf0'), chr(0b1001000 + 0o34) + chr(101) + chr(0b1010111 + 0o14) + chr(111) + chr(0b1011010 + 0o12) + chr(7163 - 7062))(chr(117) + '\164' + chr(0b1010 + 0o134) + chr(45) + chr(0b110001 + 0o7)), WBwPtPVEzw7G, roI3spqORKae(ES5oEprVxulp(b'\xae'), '\144' + '\x65' + chr(9123 - 9024) + chr(0b1101111) + chr(0b100100 + 0o100) + chr(2651 - 2550))('\x75' + chr(10859 - 10743) + chr(0b111 + 0o137) + chr(537 - 492) + '\070'))
(Iil7mVOO5LSy, TjnJHwEdiu_i) = ([], [])
for LMcCiF4czwpp in Vx7XDlhozexJ:
roI3spqORKae(Iil7mVOO5LSy, roI3spqORKae(ES5oEprVxulp(b'\xb2u`_\\\x8cg\xf1a*Hz'), '\144' + chr(0b1100101) + '\143' + '\x6f' + chr(0b1100100) + chr(4141 - 4040))('\165' + '\164' + chr(0b1100110) + '\055' + chr(56)))([jLW6pRf2DSRk(LMcCiF4czwpp[roI3spqORKae(ES5oEprVxulp(b'\x9eDP'), '\x64' + '\x65' + '\143' + '\x6f' + chr(100) + chr(0b101110 + 0o67))(chr(0b100001 + 0o124) + chr(0b1110100) + chr(102) + '\x2d' + chr(0b111000))]), jLW6pRf2DSRk(LMcCiF4czwpp[roI3spqORKae(ES5oEprVxulp(b'\x93OP'), chr(0b110011 + 0o61) + '\x65' + chr(9331 - 9232) + chr(0b110110 + 0o71) + '\144' + chr(2338 - 2237))(chr(117) + '\164' + chr(0b1100110) + '\055' + chr(56))]), jLW6pRf2DSRk(LMcCiF4czwpp[roI3spqORKae(ES5oEprVxulp(b'\xb7'), '\x64' + chr(0b1100101) + chr(0b1100011) + chr(4364 - 4253) + '\144' + chr(6726 - 6625))(chr(0b101100 + 0o111) + chr(0b1000010 + 0o62) + '\146' + '\x2d' + chr(0b111000))]) * 0.001])
roI3spqORKae(TjnJHwEdiu_i, roI3spqORKae(ES5oEprVxulp(b'\xb2u`_\\\x8cg\xf1a*Hz'), '\144' + chr(0b1100101) + '\143' + '\x6f' + chr(860 - 760) + chr(4369 - 4268))('\165' + chr(11358 - 11242) + '\x66' + chr(1361 - 1316) + chr(0b111000)))(jLW6pRf2DSRk(LMcCiF4czwpp[roI3spqORKae(ES5oEprVxulp(b'\x8eSV\nP\x86E\xf0\x7f'), chr(100) + chr(0b1100101) + '\x63' + '\x6f' + '\144' + '\145')(chr(117) + chr(116) + chr(102) + chr(45) + chr(56))]))
clmZBMqk8BxH = hUcsWwAd0nE_.dir2cart(Iil7mVOO5LSy).transpose()
if xBFFJFaziFDU == nzTpIcepk0o8(chr(2060 - 2012) + chr(9577 - 9466) + chr(604 - 555), 8):
xL8ARFIkesQn = Iil7mVOO5LSy[nzTpIcepk0o8(chr(0b110000) + '\157' + chr(955 - 907), 8)][nzTpIcepk0o8('\060' + chr(111) + chr(50), 8)]
v5E0eutotooZ = roI3spqORKae(ES5oEprVxulp(b'\xb7\x0e~4K'), chr(100) + chr(101) + chr(0b1100011) + '\157' + '\144' + chr(7751 - 7650))(chr(117) + chr(5060 - 4944) + chr(0b10111 + 0o117) + chr(0b1001 + 0o44) + chr(56))
else:
xL8ARFIkesQn = 1.0
v5E0eutotooZ = roI3spqORKae(ES5oEprVxulp(b'\xb7@T\x05A\x9fI\xfd+(r"_}\xc3"\x8e(0\x95V{'), chr(0b1100100) + chr(751 - 650) + chr(0b1100011) + chr(111) + '\144' + chr(7283 - 7182))(chr(0b110 + 0o157) + '\x74' + chr(0b100001 + 0o105) + chr(0b11010 + 0o23) + chr(0b110111 + 0o1))
ikxkW8dy4ZA_ = roI3spqORKae(ES5oEprVxulp(b'\xaeD^\x1bA\x99A\xea~7xo\x12P\x9e'), chr(0b1100000 + 0o4) + chr(101) + '\143' + '\157' + '\144' + chr(0b1100101))('\x75' + chr(0b1110100) + chr(1619 - 1517) + '\055' + chr(0b111000))
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\x8aM\\\x1f{\x93Y'), chr(1713 - 1613) + '\145' + '\143' + '\x6f' + chr(7897 - 7797) + chr(0b1100101))(chr(0b1110101) + '\164' + '\x66' + '\055' + '\x38'))(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'\x96ND\x19M\x8e'), '\x64' + chr(0b1100101) + chr(0b1000111 + 0o34) + chr(6159 - 6048) + chr(0b1010011 + 0o21) + '\145')(chr(9643 - 9526) + chr(0b1110100) + chr(0b1100110) + '\x2d' + chr(0b1100 + 0o54))], TjnJHwEdiu_i, SVfYwQaP38MC(zQBGwUT7UU8L(clmZBMqk8BxH[nzTpIcepk0o8(chr(0b101111 + 0o1) + chr(111) + '\x30', 8)]), xL8ARFIkesQn), sym=roI3spqORKae(ES5oEprVxulp(b'\x88\x0c'), chr(0b11011 + 0o111) + chr(0b1100101) + '\x63' + chr(11775 - 11664) + chr(0b11010 + 0o112) + chr(2790 - 2689))(chr(117) + chr(0b1110100) + chr(0b1000111 + 0o37) + '\055' + '\x38'))
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\x8aM\\\x1f{\x93Y'), chr(0b1010010 + 0o22) + chr(101) + chr(0b1001111 + 0o24) + '\157' + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + chr(0b10010 + 0o142) + '\x66' + chr(45) + chr(0b1010 + 0o56)))(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'\x96ND\x19M\x8e'), chr(1659 - 1559) + '\x65' + chr(3174 - 3075) + '\157' + '\144' + '\145')('\x75' + chr(0b111000 + 0o74) + chr(1828 - 1726) + '\055' + chr(2440 - 2384))], TjnJHwEdiu_i, SVfYwQaP38MC(zQBGwUT7UU8L(clmZBMqk8BxH[nzTpIcepk0o8(chr(0b10101 + 0o33) + chr(6147 - 6036) + '\x30', 8)]), xL8ARFIkesQn), sym=roI3spqORKae(ES5oEprVxulp(b'\x88N'), '\x64' + chr(0b1100101) + chr(99) + chr(0b1101111) + '\144' + chr(199 - 98))(chr(0b11110 + 0o127) + '\164' + '\146' + '\055' + '\070'))
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\x8aM\\\x1f{\x93Y'), chr(100) + chr(0b1100101) + '\143' + '\157' + chr(0b1100100) + chr(101))('\x75' + chr(0b1010001 + 0o43) + chr(9715 - 9613) + chr(0b101101) + chr(0b110011 + 0o5)))(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'\x96ND\x19M\x8e'), '\x64' + chr(101) + chr(3006 - 2907) + '\x6f' + chr(0b1100100) + chr(0b1100101))('\165' + '\164' + chr(102) + chr(0b101101) + chr(1780 - 1724))], TjnJHwEdiu_i, SVfYwQaP38MC(zQBGwUT7UU8L(clmZBMqk8BxH[nzTpIcepk0o8(chr(2143 - 2095) + chr(0b101101 + 0o102) + chr(0b100010 + 0o17), 8)]), xL8ARFIkesQn), sym=roI3spqORKae(ES5oEprVxulp(b'\x99\x0c'), chr(0b1001010 + 0o32) + chr(101) + chr(0b100101 + 0o76) + '\x6f' + chr(5372 - 5272) + chr(0b1000 + 0o135))(chr(117) + chr(116) + '\x66' + chr(0b101101) + '\070'))
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\x8aM\\\x1f{\x93Y'), chr(410 - 310) + '\x65' + '\x63' + chr(0b11001 + 0o126) + chr(0b1100100) + '\145')('\x75' + '\x74' + chr(102) + chr(1761 - 1716) + chr(0b100011 + 0o25)))(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'\x96ND\x19M\x8e'), chr(0b1100100) + chr(0b1001000 + 0o35) + chr(8347 - 8248) + chr(10275 - 10164) + '\x64' + '\x65')(chr(117) + chr(0b1110100) + '\x66' + chr(45) + '\x38')], TjnJHwEdiu_i, SVfYwQaP38MC(zQBGwUT7UU8L(clmZBMqk8BxH[nzTpIcepk0o8('\x30' + chr(8837 - 8726) + chr(0b110001), 8)]), xL8ARFIkesQn), sym=roI3spqORKae(ES5oEprVxulp(b'\x99R'), chr(100) + '\145' + chr(0b1100011) + chr(0b1101111) + '\144' + chr(10193 - 10092))(chr(117) + chr(0b1 + 0o163) + '\x66' + chr(0b101100 + 0o1) + chr(2228 - 2172)))
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\x8aM\\\x1f{\x93Y'), '\144' + chr(0b1100101) + chr(99) + chr(111) + '\144' + chr(4554 - 4453))(chr(2335 - 2218) + chr(116) + chr(0b1100110) + chr(1428 - 1383) + chr(56)))(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'\x96ND\x19M\x8e'), '\x64' + '\145' + chr(3147 - 3048) + chr(111) + '\x64' + '\x65')('\x75' + chr(116) + chr(102) + chr(0b101011 + 0o2) + chr(56))], TjnJHwEdiu_i, SVfYwQaP38MC(zQBGwUT7UU8L(clmZBMqk8BxH[nzTpIcepk0o8(chr(753 - 705) + chr(0b11111 + 0o120) + chr(50), 8)]), xL8ARFIkesQn), sym=roI3spqORKae(ES5oEprVxulp(b'\x91\x0c'), '\x64' + '\145' + chr(99) + chr(0b1011101 + 0o22) + '\144' + '\145')(chr(117) + '\164' + chr(487 - 385) + '\x2d' + chr(0b100101 + 0o23)))
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\x8aM\\\x1f{\x93Y'), chr(0b10000 + 0o124) + chr(101) + '\x63' + chr(0b1101000 + 0o7) + chr(8019 - 7919) + '\x65')(chr(0b100 + 0o161) + chr(116) + '\x66' + '\x2d' + chr(56)))(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'\x96ND\x19M\x8e'), chr(100) + '\145' + chr(0b1000 + 0o133) + '\157' + '\x64' + chr(0b111110 + 0o47))(chr(0b1110101) + chr(0b1110100) + chr(0b1001010 + 0o34) + chr(532 - 487) + chr(0b111000))], TjnJHwEdiu_i, SVfYwQaP38MC(zQBGwUT7UU8L(clmZBMqk8BxH[nzTpIcepk0o8('\060' + chr(111) + chr(50), 8)]), xL8ARFIkesQn), sym=roI3spqORKae(ES5oEprVxulp(b'\x91\x7f'), chr(0b1100100) + '\145' + chr(0b1100011) + '\x6f' + '\x64' + '\x65')(chr(8328 - 8211) + chr(0b1110100) + '\x66' + '\055' + '\x38'), title=WBwPtPVEzw7G, xlab=ikxkW8dy4ZA_, ylab=v5E0eutotooZ)
wR5_YWECjaY7 = {roI3spqORKae(ES5oEprVxulp(b'\x96ND\x19M\x8e'), chr(0b1100100) + chr(2125 - 2024) + '\x63' + chr(0b1011000 + 0o27) + '\144' + chr(7751 - 7650))('\x75' + chr(0b111 + 0o155) + chr(102) + chr(0b101101) + chr(0b111000)): roI3spqORKae(ES5oEprVxulp(b'\x96ND\x19M\x8e\x1a\xc1'), '\144' + chr(101) + chr(0b1001111 + 0o24) + '\x6f' + chr(8043 - 7943) + chr(0b1100101 + 0o0))(chr(0b1000101 + 0o60) + chr(116) + chr(0b1100110) + chr(1588 - 1543) + '\070') + WBwPtPVEzw7G + roI3spqORKae(ES5oEprVxulp(b'\xa5\x0f'), chr(100) + '\x65' + chr(0b1100011) + '\x6f' + chr(0b1100100) + chr(0b1100101))(chr(2954 - 2837) + '\x74' + '\x66' + '\x2d' + '\x38') + JummcHpaNLEw}
if mocO8sWgkzH7 == nzTpIcepk0o8(chr(1126 - 1078) + '\x6f' + chr(0b110000), 8):
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\x9eSR\x1c{\x8dI\xf9x'), chr(0b1001 + 0o133) + '\x65' + chr(99) + chr(11091 - 10980) + chr(3124 - 3024) + '\145')(chr(0b1110101) + chr(116) + '\x66' + chr(0b101101) + chr(0b111000)))(rKSToK9WUVwu)
CMfsDQitQrpd = QnTXOd5N96r1(roI3spqORKae(ES5oEprVxulp(b'\xa9zR6R\x8e\x00\xf8b"h=_,\x97Y\xd74(\xa2\x10~\xe6\x9aZ\x16N\x86\xeb(\xc2\'\x0eX3\xe4\x15m1\xfe\x94TVK\x04\xcb'), '\144' + '\145' + chr(0b1100011) + chr(111) + chr(6952 - 6852) + chr(0b1100101))('\165' + chr(4285 - 4169) + chr(0b1100110) + chr(0b100111 + 0o6) + '\070'))
if CMfsDQitQrpd == roI3spqORKae(ES5oEprVxulp(b'\x9b'), chr(0b1100100) + '\x65' + chr(0b1000100 + 0o37) + chr(771 - 660) + chr(100) + chr(0b1100101))(chr(0b111110 + 0o67) + chr(0b1110 + 0o146) + chr(102) + '\x2d' + chr(56)):
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\x89@E\x0e{\x9bL\xf1\x7f6'), '\144' + chr(0b10010 + 0o123) + '\143' + '\157' + chr(0b1001110 + 0o26) + '\x65')(chr(117) + chr(0b1110100) + '\x66' + chr(1991 - 1946) + '\x38'))(rKSToK9WUVwu, wR5_YWECjaY7)
elif CMfsDQitQrpd == roI3spqORKae(ES5oEprVxulp(b'\x8b'), '\x64' + chr(0b101111 + 0o66) + '\143' + '\157' + chr(0b1100100) + chr(0b1010000 + 0o25))(chr(8122 - 8005) + chr(116) + chr(0b1100110) + chr(0b101101) + '\070'):
roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\xa0TA\x01G\xbel\xafx6\\w'), chr(200 - 100) + chr(101) + chr(0b1100 + 0o127) + chr(0b1101111) + '\x64' + '\x65')(chr(0b1101000 + 0o15) + chr(116) + chr(0b1001011 + 0o33) + chr(45) + chr(0b101111 + 0o11)))()
else:
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\x89@E\x0e{\x9bL\xf1\x7f6'), '\x64' + chr(0b101100 + 0o71) + '\x63' + chr(111) + chr(7443 - 7343) + chr(0b1011111 + 0o6))(chr(0b100 + 0o161) + chr(0b1011010 + 0o32) + chr(0b111011 + 0o53) + chr(45) + chr(0b10101 + 0o43)))(rKSToK9WUVwu, wR5_YWECjaY7)
roI3spqORKae(o77KS_r9H7AX, roI3spqORKae(ES5oEprVxulp(b'\x99MV\nV\xadi\xd9'), chr(0b1100100) + chr(101) + '\143' + '\157' + chr(0b1100100) + '\x65')(chr(0b11010 + 0o133) + chr(0b1110100) + '\x66' + chr(1226 - 1181) + chr(3102 - 3046)))(rKSToK9WUVwu[roI3spqORKae(ES5oEprVxulp(b'\x96ND\x19M\x8e'), chr(0b100001 + 0o103) + '\x65' + chr(0b1100011) + chr(0b1101111) + chr(5261 - 5161) + chr(101))(chr(117) + chr(0b101100 + 0o110) + chr(0b1001110 + 0o30) + '\x2d' + '\x38')])
|
PmagPy/PmagPy
|
programs/apwp.py
|
main
|
def main():
"""
NAME
apwp.py
DESCRIPTION
returns predicted paleolatitudes, directions and pole latitude/longitude
from apparent polar wander paths of Besse and Courtillot (2002).
SYNTAX
apwp.py [command line options][< filename]
OPTIONS
-h prints help message and quits
-i allows interactive data entry
f file: read plate, lat, lon, age data from file
-F output_file: write output to output_file
-P [NA, SA, AF, IN, EU, AU, ANT, GL] plate
-lat LAT specify present latitude (positive = North; negative=South)
-lon LON specify present longitude (positive = East, negative=West)
-age AGE specify Age in Ma
Note: must have all -P, -lat, -lon, -age or none.
OUTPUT
Age Paleolat. Dec. Inc. Pole_lat. Pole_Long.
"""
infile,outfile,data,indata="","",[],[]
if '-h' in sys.argv:
print(main.__doc__)
sys.exit()
if '-F' in sys.argv:
ind=sys.argv.index('-F')
outfile=sys.argv[ind+1]
out=open(outfile,'w')
if '-i' in sys.argv:
print("Welcome to paleolatitude calculator\n")
while 1:
data=[]
print("pick a plate: NA, SA, AF, IN, EU, AU, ANT, GL \n cntl-D to quit")
try:
plate=input("Plate\n").upper()
except:
print("Goodbye \n")
sys.exit()
lat=float(input( "Site latitude\n"))
lon=float(input(" Site longitude\n"))
age=float(input(" Age\n"))
data=[plate,lat,lon,age]
print("Age Paleolat. Dec. Inc. Pole_lat. Pole_Long.")
print(spitout(data))
elif '-f' in sys.argv:
ind=sys.argv.index('-f')
infile=sys.argv[ind+1]
f=open(infile,'r')
inp=f.readlines()
elif '-P' in sys.argv:
ind=sys.argv.index('-P')
plate=sys.argv[ind+1].upper()
if '-lat' in sys.argv:
ind=sys.argv.index('-lat')
lat=float(sys.argv[ind+1])
else:
print(main.__doc__)
sys.exit()
if '-lon' in sys.argv:
ind=sys.argv.index('-lon')
lon=float(sys.argv[ind+1])
else:
print(main.__doc__)
sys.exit()
if '-age' in sys.argv:
ind=sys.argv.index('-age')
age=float(sys.argv[ind+1])
else:
print(main.__doc__)
sys.exit()
data=[plate,lat,lon,age]
outstring=spitout(data)
if outfile=="":
print("Age Paleolat. Dec. Inc. Pole_lat. Pole_Long.")
print(outstring)
else:
out.write(outstring)
sys.exit()
else:
inp=sys.stdin.readlines() # read from standard input
if len(inp)>0:
for line in inp:
data=[]
rec=line.split()
data.append(rec[0])
for k in range(1,4): data.append(float(rec[k]))
indata.append(data)
if len(indata)>0:
for line in indata:
outstring=spitout(line)
if outfile=="":
print(outstring)
else:
out.write(outstring)
else:
print('no input data')
sys.exit()
|
python
|
def main():
"""
NAME
apwp.py
DESCRIPTION
returns predicted paleolatitudes, directions and pole latitude/longitude
from apparent polar wander paths of Besse and Courtillot (2002).
SYNTAX
apwp.py [command line options][< filename]
OPTIONS
-h prints help message and quits
-i allows interactive data entry
f file: read plate, lat, lon, age data from file
-F output_file: write output to output_file
-P [NA, SA, AF, IN, EU, AU, ANT, GL] plate
-lat LAT specify present latitude (positive = North; negative=South)
-lon LON specify present longitude (positive = East, negative=West)
-age AGE specify Age in Ma
Note: must have all -P, -lat, -lon, -age or none.
OUTPUT
Age Paleolat. Dec. Inc. Pole_lat. Pole_Long.
"""
infile,outfile,data,indata="","",[],[]
if '-h' in sys.argv:
print(main.__doc__)
sys.exit()
if '-F' in sys.argv:
ind=sys.argv.index('-F')
outfile=sys.argv[ind+1]
out=open(outfile,'w')
if '-i' in sys.argv:
print("Welcome to paleolatitude calculator\n")
while 1:
data=[]
print("pick a plate: NA, SA, AF, IN, EU, AU, ANT, GL \n cntl-D to quit")
try:
plate=input("Plate\n").upper()
except:
print("Goodbye \n")
sys.exit()
lat=float(input( "Site latitude\n"))
lon=float(input(" Site longitude\n"))
age=float(input(" Age\n"))
data=[plate,lat,lon,age]
print("Age Paleolat. Dec. Inc. Pole_lat. Pole_Long.")
print(spitout(data))
elif '-f' in sys.argv:
ind=sys.argv.index('-f')
infile=sys.argv[ind+1]
f=open(infile,'r')
inp=f.readlines()
elif '-P' in sys.argv:
ind=sys.argv.index('-P')
plate=sys.argv[ind+1].upper()
if '-lat' in sys.argv:
ind=sys.argv.index('-lat')
lat=float(sys.argv[ind+1])
else:
print(main.__doc__)
sys.exit()
if '-lon' in sys.argv:
ind=sys.argv.index('-lon')
lon=float(sys.argv[ind+1])
else:
print(main.__doc__)
sys.exit()
if '-age' in sys.argv:
ind=sys.argv.index('-age')
age=float(sys.argv[ind+1])
else:
print(main.__doc__)
sys.exit()
data=[plate,lat,lon,age]
outstring=spitout(data)
if outfile=="":
print("Age Paleolat. Dec. Inc. Pole_lat. Pole_Long.")
print(outstring)
else:
out.write(outstring)
sys.exit()
else:
inp=sys.stdin.readlines() # read from standard input
if len(inp)>0:
for line in inp:
data=[]
rec=line.split()
data.append(rec[0])
for k in range(1,4): data.append(float(rec[k]))
indata.append(data)
if len(indata)>0:
for line in indata:
outstring=spitout(line)
if outfile=="":
print(outstring)
else:
out.write(outstring)
else:
print('no input data')
sys.exit()
|
[
"def",
"main",
"(",
")",
":",
"infile",
",",
"outfile",
",",
"data",
",",
"indata",
"=",
"\"\"",
",",
"\"\"",
",",
"[",
"]",
",",
"[",
"]",
"if",
"'-h'",
"in",
"sys",
".",
"argv",
":",
"print",
"(",
"main",
".",
"__doc__",
")",
"sys",
".",
"exit",
"(",
")",
"if",
"'-F'",
"in",
"sys",
".",
"argv",
":",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"'-F'",
")",
"outfile",
"=",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
"out",
"=",
"open",
"(",
"outfile",
",",
"'w'",
")",
"if",
"'-i'",
"in",
"sys",
".",
"argv",
":",
"print",
"(",
"\"Welcome to paleolatitude calculator\\n\"",
")",
"while",
"1",
":",
"data",
"=",
"[",
"]",
"print",
"(",
"\"pick a plate: NA, SA, AF, IN, EU, AU, ANT, GL \\n cntl-D to quit\"",
")",
"try",
":",
"plate",
"=",
"input",
"(",
"\"Plate\\n\"",
")",
".",
"upper",
"(",
")",
"except",
":",
"print",
"(",
"\"Goodbye \\n\"",
")",
"sys",
".",
"exit",
"(",
")",
"lat",
"=",
"float",
"(",
"input",
"(",
"\"Site latitude\\n\"",
")",
")",
"lon",
"=",
"float",
"(",
"input",
"(",
"\" Site longitude\\n\"",
")",
")",
"age",
"=",
"float",
"(",
"input",
"(",
"\" Age\\n\"",
")",
")",
"data",
"=",
"[",
"plate",
",",
"lat",
",",
"lon",
",",
"age",
"]",
"print",
"(",
"\"Age Paleolat. Dec. Inc. Pole_lat. Pole_Long.\"",
")",
"print",
"(",
"spitout",
"(",
"data",
")",
")",
"elif",
"'-f'",
"in",
"sys",
".",
"argv",
":",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"'-f'",
")",
"infile",
"=",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
"f",
"=",
"open",
"(",
"infile",
",",
"'r'",
")",
"inp",
"=",
"f",
".",
"readlines",
"(",
")",
"elif",
"'-P'",
"in",
"sys",
".",
"argv",
":",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"'-P'",
")",
"plate",
"=",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
".",
"upper",
"(",
")",
"if",
"'-lat'",
"in",
"sys",
".",
"argv",
":",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"'-lat'",
")",
"lat",
"=",
"float",
"(",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
")",
"else",
":",
"print",
"(",
"main",
".",
"__doc__",
")",
"sys",
".",
"exit",
"(",
")",
"if",
"'-lon'",
"in",
"sys",
".",
"argv",
":",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"'-lon'",
")",
"lon",
"=",
"float",
"(",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
")",
"else",
":",
"print",
"(",
"main",
".",
"__doc__",
")",
"sys",
".",
"exit",
"(",
")",
"if",
"'-age'",
"in",
"sys",
".",
"argv",
":",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"'-age'",
")",
"age",
"=",
"float",
"(",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
")",
"else",
":",
"print",
"(",
"main",
".",
"__doc__",
")",
"sys",
".",
"exit",
"(",
")",
"data",
"=",
"[",
"plate",
",",
"lat",
",",
"lon",
",",
"age",
"]",
"outstring",
"=",
"spitout",
"(",
"data",
")",
"if",
"outfile",
"==",
"\"\"",
":",
"print",
"(",
"\"Age Paleolat. Dec. Inc. Pole_lat. Pole_Long.\"",
")",
"print",
"(",
"outstring",
")",
"else",
":",
"out",
".",
"write",
"(",
"outstring",
")",
"sys",
".",
"exit",
"(",
")",
"else",
":",
"inp",
"=",
"sys",
".",
"stdin",
".",
"readlines",
"(",
")",
"# read from standard input",
"if",
"len",
"(",
"inp",
")",
">",
"0",
":",
"for",
"line",
"in",
"inp",
":",
"data",
"=",
"[",
"]",
"rec",
"=",
"line",
".",
"split",
"(",
")",
"data",
".",
"append",
"(",
"rec",
"[",
"0",
"]",
")",
"for",
"k",
"in",
"range",
"(",
"1",
",",
"4",
")",
":",
"data",
".",
"append",
"(",
"float",
"(",
"rec",
"[",
"k",
"]",
")",
")",
"indata",
".",
"append",
"(",
"data",
")",
"if",
"len",
"(",
"indata",
")",
">",
"0",
":",
"for",
"line",
"in",
"indata",
":",
"outstring",
"=",
"spitout",
"(",
"line",
")",
"if",
"outfile",
"==",
"\"\"",
":",
"print",
"(",
"outstring",
")",
"else",
":",
"out",
".",
"write",
"(",
"outstring",
")",
"else",
":",
"print",
"(",
"'no input data'",
")",
"sys",
".",
"exit",
"(",
")"
] |
NAME
apwp.py
DESCRIPTION
returns predicted paleolatitudes, directions and pole latitude/longitude
from apparent polar wander paths of Besse and Courtillot (2002).
SYNTAX
apwp.py [command line options][< filename]
OPTIONS
-h prints help message and quits
-i allows interactive data entry
f file: read plate, lat, lon, age data from file
-F output_file: write output to output_file
-P [NA, SA, AF, IN, EU, AU, ANT, GL] plate
-lat LAT specify present latitude (positive = North; negative=South)
-lon LON specify present longitude (positive = East, negative=West)
-age AGE specify Age in Ma
Note: must have all -P, -lat, -lon, -age or none.
OUTPUT
Age Paleolat. Dec. Inc. Pole_lat. Pole_Long.
|
[
"NAME",
"apwp",
".",
"py"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/programs/apwp.py#L13-L117
|
train
|
This function is the entry point for the paleolatitude calculator. It is a command line tool that reads in input file and returns predicted paleolatitudes directions and pole latitude and longitude of the entry.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8('\060' + chr(4857 - 4746) + chr(0b110011) + chr(0b100001 + 0o22) + chr(0b1 + 0o64), 46249 - 46241), nzTpIcepk0o8(chr(48) + '\x6f' + chr(995 - 945) + chr(0b10100 + 0o35) + chr(0b101011 + 0o14), 0b1000), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\061' + '\064' + chr(0b110 + 0o53), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b10100 + 0o133) + chr(0b110010) + chr(48) + chr(49), 14614 - 14606), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(1280 - 1230) + chr(2034 - 1985) + chr(50), 0b1000), nzTpIcepk0o8(chr(0b110000 + 0o0) + chr(111) + chr(50) + chr(55) + chr(0b110111), 39533 - 39525), nzTpIcepk0o8('\060' + '\x6f' + chr(50), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\061' + chr(0b110000 + 0o0) + '\063', 0o10), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b0 + 0o62) + '\066', 0b1000), nzTpIcepk0o8(chr(48) + '\157' + chr(0b110 + 0o56), 23854 - 23846), nzTpIcepk0o8('\060' + chr(3340 - 3229) + '\061' + chr(0b110101), 0b1000), nzTpIcepk0o8(chr(0b0 + 0o60) + '\x6f' + '\x32' + '\062' + chr(1540 - 1489), 44738 - 44730), nzTpIcepk0o8(chr(422 - 374) + chr(2464 - 2353) + chr(237 - 187) + chr(0b100101 + 0o22) + chr(55), 8), nzTpIcepk0o8('\x30' + chr(0b111100 + 0o63) + '\061' + chr(53) + '\067', 61520 - 61512), nzTpIcepk0o8('\x30' + '\157' + chr(0b10111 + 0o32) + '\060' + chr(0b0 + 0o64), 0b1000), nzTpIcepk0o8('\x30' + '\157' + chr(0b11110 + 0o24) + chr(1832 - 1780) + chr(52), 0o10), nzTpIcepk0o8(chr(48) + '\157' + '\061' + chr(0b110100) + chr(0b110000), ord("\x08")), nzTpIcepk0o8('\x30' + '\157' + chr(203 - 151) + chr(53), 0b1000), nzTpIcepk0o8(chr(48) + chr(111) + chr(0b100100 + 0o17) + chr(53) + chr(0b110110), 55505 - 55497), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b100111 + 0o13) + chr(48) + '\x31', 8), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110011 + 0o0) + '\x30' + '\x30', 0b1000), nzTpIcepk0o8(chr(0b11001 + 0o27) + chr(111) + '\061' + chr(0b110100) + '\060', 8), nzTpIcepk0o8(chr(1931 - 1883) + chr(5442 - 5331) + chr(0b110001) + chr(0b1111 + 0o43) + chr(0b100011 + 0o20), ord("\x08")), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b11110 + 0o27) + '\x31', 0b1000), nzTpIcepk0o8(chr(0b11011 + 0o25) + chr(111) + chr(0b110010) + '\x32' + chr(0b101000 + 0o15), 0o10), nzTpIcepk0o8('\060' + chr(10089 - 9978) + chr(51) + chr(0b100111 + 0o17) + chr(901 - 849), 16018 - 16010), nzTpIcepk0o8(chr(0b110000) + chr(0b1111 + 0o140) + chr(51) + chr(2496 - 2443) + '\064', 63288 - 63280), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(2013 - 1962) + '\065', ord("\x08")), nzTpIcepk0o8(chr(48) + chr(111) + '\061' + chr(0b110101) + chr(53), 54141 - 54133), nzTpIcepk0o8('\x30' + chr(9405 - 9294) + '\x31' + '\x30' + chr(300 - 251), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(5378 - 5267) + chr(50) + chr(1429 - 1375), 8), nzTpIcepk0o8(chr(48) + '\157' + '\x33' + '\x30' + chr(0b1011 + 0o52), 0o10), nzTpIcepk0o8(chr(0b11011 + 0o25) + chr(111) + chr(0b110011) + chr(0b110000) + '\x37', 5500 - 5492), nzTpIcepk0o8('\060' + chr(1219 - 1108) + chr(51) + '\062' + '\x30', 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b1 + 0o64), 0o10), nzTpIcepk0o8('\060' + '\x6f' + chr(0b1000 + 0o52) + chr(0b110000) + chr(0b110011), 0b1000), nzTpIcepk0o8(chr(1651 - 1603) + chr(0b1101111) + '\x33' + chr(0b110111) + chr(52), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(8577 - 8466) + chr(0b110010) + chr(48) + chr(0b110000), 0o10), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\x31' + '\x33', 0o10), nzTpIcepk0o8(chr(1486 - 1438) + chr(0b1101111) + '\062', 8)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(0b100010 + 0o16) + '\157' + chr(53) + chr(48), ord("\x08"))] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xf3'), chr(3585 - 3485) + chr(2705 - 2604) + '\x63' + '\x6f' + chr(0b1100100) + chr(6197 - 6096))(chr(0b1110101) + chr(116) + chr(0b1110 + 0o130) + '\x2d' + '\x38') + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def BXHXH_QeD6rL():
(XvbvbiHwSGUb, neY2HPRd1pS4, FfKOThdpoDTb, lg8NuMErWDJj) = (roI3spqORKae(ES5oEprVxulp(b''), chr(6674 - 6574) + chr(0b10111 + 0o116) + '\143' + chr(0b10010 + 0o135) + '\144' + chr(9395 - 9294))(chr(117) + '\x74' + chr(0b11 + 0o143) + '\x2d' + chr(2249 - 2193)), roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(0b1100101) + chr(99) + chr(0b100111 + 0o110) + chr(100) + chr(101))(chr(0b1110101) + '\164' + chr(102) + '\055' + '\070'), [], [])
if roI3spqORKae(ES5oEprVxulp(b'\xf0\xe7'), chr(0b1100100) + chr(0b1100101) + '\x63' + chr(0b10100 + 0o133) + chr(0b110100 + 0o60) + '\x65')(chr(8962 - 8845) + '\x74' + chr(0b1100110) + '\055' + chr(3025 - 2969)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\xbc\xe5(\xc5\xdd\xc6Z\x0eTe>\xf1'), chr(100) + chr(6046 - 5945) + '\143' + chr(111) + chr(3843 - 3743) + '\x65')(chr(117) + chr(116) + '\x66' + '\055' + '\x38')):
v8jsMqaYV6U2(roI3spqORKae(BXHXH_QeD6rL, roI3spqORKae(ES5oEprVxulp(b'\xa4\xe9$\xe4\xfb\xeek\x16yuZ\xc7'), '\144' + chr(0b11 + 0o142) + '\x63' + '\157' + chr(0b1100100) + chr(0b1100101))(chr(0b111101 + 0o70) + chr(0b1110100) + chr(5829 - 5727) + '\x2d' + chr(0b111000))))
roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\x87\xfa\x13\xeb\xe9\xeaNrewL\xab'), chr(0b11 + 0o141) + chr(101) + chr(9205 - 9106) + chr(0b1101111) + chr(5197 - 5097) + chr(101))(chr(9239 - 9122) + chr(0b1110100) + '\146' + chr(841 - 796) + '\070'))()
if roI3spqORKae(ES5oEprVxulp(b'\xf0\xc9'), chr(100) + '\x65' + '\x63' + chr(0b1101111) + '\x64' + chr(6510 - 6409))(chr(4373 - 4256) + chr(0b1110100) + chr(0b1000000 + 0o46) + chr(0b101101) + chr(0b11101 + 0o33)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\xbc\xe5(\xc5\xdd\xc6Z\x0eTe>\xf1'), chr(0b1100100) + '\x65' + chr(0b1100011) + chr(0b101111 + 0o100) + chr(0b1100100) + chr(101))(chr(7109 - 6992) + '\x74' + chr(0b110110 + 0o60) + '\055' + '\070')):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\xf0\xc9'), '\144' + '\x65' + '\x63' + chr(0b1001111 + 0o40) + '\144' + '\145')(chr(0b101000 + 0o115) + '\164' + chr(0b1100110) + chr(1987 - 1942) + chr(0b10111 + 0o41)))
neY2HPRd1pS4 = bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8(chr(48) + chr(111) + chr(0b110001), 2944 - 2936)]
VwOu8WkJ9cpc = DnU3Rq9N5ala(neY2HPRd1pS4, roI3spqORKae(ES5oEprVxulp(b'\xaa'), '\144' + '\x65' + chr(9583 - 9484) + chr(6805 - 6694) + chr(0b1011001 + 0o13) + '\145')('\165' + '\x74' + chr(102) + chr(45) + '\x38'))
if roI3spqORKae(ES5oEprVxulp(b'\xf0\xe6'), chr(100) + chr(0b1100101) + chr(7413 - 7314) + chr(5519 - 5408) + chr(7997 - 7897) + chr(6709 - 6608))(chr(0b1000101 + 0o60) + chr(1734 - 1618) + chr(102) + chr(45) + '\070') in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\xbc\xe5(\xc5\xdd\xc6Z\x0eTe>\xf1'), chr(0b11011 + 0o111) + chr(0b101101 + 0o70) + '\x63' + chr(0b1101111) + chr(0b1 + 0o143) + chr(101))('\165' + chr(0b101111 + 0o105) + '\x66' + '\x2d' + chr(56))):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x8a\xea\r\xe2\xe5\xd2gcbk-\xe3\xde\x03!\xcb\x0cD\x9a\xe8\xb4\x157L\xb5\x97\x8dq\x0e4z\xa4\xb3\xbfw\x89'), '\144' + '\145' + chr(6857 - 6758) + chr(0b1101111) + chr(0b111101 + 0o47) + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + chr(4555 - 4453) + chr(317 - 272) + '\x38'))
while nzTpIcepk0o8('\x30' + chr(111) + chr(49), 8):
FfKOThdpoDTb = []
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xad\xe6\x02\xea\xaa\xde"3zey\xf6\x85O\n\xe5L\x05\xbd\xc0\xec@\x12o\xb9\xd4\xa5SAaS\x90\xeb\xf0D\xd6\xd0\xa0JL\x89\xa3A\xc6\xc6\x9f\x08c6$n\xfd\xcb\x03i\xe0@Q\x81\xa1\xb1\x15:]'), chr(100) + chr(4857 - 4756) + '\x63' + chr(0b1101111) + chr(8088 - 7988) + '\x65')(chr(117) + chr(116) + chr(1081 - 979) + chr(1595 - 1550) + chr(0b111000)))
try:
aLpKsCAiGhRH = QnTXOd5N96r1(roI3spqORKae(ES5oEprVxulp(b'\x8d\xe3\x00\xf5\xef\xb5'), chr(100) + chr(101) + '\x63' + chr(811 - 700) + chr(0b1100100) + '\x65')(chr(4300 - 4183) + chr(5529 - 5413) + '\x66' + chr(1680 - 1635) + '\070')).iq1mNMefb1Zd()
except UtiWT6f6p9yZ:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x9a\xe0\x0e\xe5\xe8\xc6gc\x1c'), chr(0b1001110 + 0o26) + chr(101) + chr(4633 - 4534) + chr(0b1101111) + chr(0b1100100) + chr(101))('\165' + chr(0b1011111 + 0o25) + chr(0b1100110) + '\055' + chr(0b100100 + 0o24)))
roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\x87\xfa\x13\xeb\xe9\xeaNrewL\xab'), chr(0b1011011 + 0o11) + chr(7843 - 7742) + chr(3191 - 3092) + chr(111) + chr(100) + chr(101))(chr(11785 - 11668) + '\x74' + '\146' + '\x2d' + chr(56)))()
Wp2Umairw0XS = jLW6pRf2DSRk(QnTXOd5N96r1(roI3spqORKae(ES5oEprVxulp(b'\x8e\xe6\x15\xe4\xaa\xd3c7\x7fpx\xf7\xdae'), chr(0b1001011 + 0o31) + chr(4791 - 4690) + chr(99) + '\157' + '\x64' + chr(101))(chr(117) + chr(0b1110100) + chr(102) + chr(45) + '\070')))
OSV4Uwkhpwk6 = jLW6pRf2DSRk(QnTXOd5N96r1(roI3spqORKae(ES5oEprVxulp(b'\xfd\xdc\x08\xf5\xef\x9fn,xcd\xe7\xca\x0b!\xae'), chr(100) + chr(2904 - 2803) + chr(99) + chr(3196 - 3085) + '\144' + chr(3901 - 3800))(chr(2728 - 2611) + chr(116) + chr(5482 - 5380) + chr(45) + chr(0b111000))))
JfUtNjxJCfe3 = jLW6pRf2DSRk(QnTXOd5N96r1(roI3spqORKae(ES5oEprVxulp(b'\xfd\xce\x06\xe4\x80'), chr(100) + chr(0b110001 + 0o64) + chr(1717 - 1618) + chr(0b1101111) + '\144' + '\x65')(chr(0b1101111 + 0o6) + '\164' + chr(0b1000111 + 0o37) + chr(0b101101) + '\070')))
FfKOThdpoDTb = [aLpKsCAiGhRH, Wp2Umairw0XS, OSV4Uwkhpwk6, JfUtNjxJCfe3]
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x9c\xe8\x04\xa1\xaa\xefc/ska\xf2\xcbAd\x84$@\x8d\xaf\xe0@\x1aG\xf6\xda\xcc==.z\xa0\x98\xbcd\xf7\xd2\xa0+R\xb2\xe3\x04\xde\xc6\xd0l$8'), '\x64' + chr(0b1010000 + 0o25) + chr(99) + chr(0b1101111) + chr(0b1100100) + '\x65')('\x75' + chr(116) + chr(1020 - 918) + chr(0b101101) + chr(0b111000)))
v8jsMqaYV6U2(MfBiPDpMEPLG(FfKOThdpoDTb))
elif roI3spqORKae(ES5oEprVxulp(b'\xf0\xe9'), chr(0b110000 + 0o64) + chr(3701 - 3600) + '\143' + chr(6562 - 6451) + '\144' + chr(1314 - 1213))(chr(0b1011111 + 0o26) + '\x74' + chr(102) + chr(0b101101) + chr(0b111000 + 0o0)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\xbc\xe5(\xc5\xdd\xc6Z\x0eTe>\xf1'), chr(0b1100100) + '\x65' + chr(0b1100011) + '\x6f' + '\x64' + '\145')('\x75' + chr(0b1011 + 0o151) + chr(2807 - 2705) + chr(0b1110 + 0o37) + '\x38')):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\xf0\xe9'), chr(0b1001010 + 0o32) + chr(0b10101 + 0o120) + '\143' + '\x6f' + chr(6457 - 6357) + chr(0b1100000 + 0o5))(chr(117) + '\x74' + '\146' + '\x2d' + chr(0b11100 + 0o34)))
XvbvbiHwSGUb = bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8(chr(0b1111 + 0o41) + chr(3519 - 3408) + chr(0b110001), 8)]
_R8IKF5IwAfX = DnU3Rq9N5ala(XvbvbiHwSGUb, roI3spqORKae(ES5oEprVxulp(b'\xaf'), '\144' + '\145' + chr(4690 - 4591) + '\x6f' + '\144' + chr(437 - 336))(chr(0b1110101) + '\164' + chr(3110 - 3008) + chr(45) + chr(639 - 583)))
kTVXhBR0AFNQ = _R8IKF5IwAfX.TKmlmUjNQ4dY()
elif roI3spqORKae(ES5oEprVxulp(b'\xf0\xdf'), chr(0b111011 + 0o51) + chr(0b11101 + 0o110) + chr(4540 - 4441) + chr(0b1101111) + chr(7885 - 7785) + '\145')(chr(117) + chr(116) + chr(0b1010010 + 0o24) + '\x2d' + chr(1469 - 1413)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\xbc\xe5(\xc5\xdd\xc6Z\x0eTe>\xf1'), '\x64' + chr(101) + chr(0b1100011) + '\157' + chr(0b1100100) + chr(0b1001001 + 0o34))(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + '\055' + '\070')):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\xf0\xdf'), chr(0b1100100) + chr(0b1100101) + '\x63' + chr(9212 - 9101) + chr(0b1100100) + chr(101))(chr(0b1110101) + chr(3729 - 3613) + chr(0b1100110) + '\x2d' + '\x38'))
aLpKsCAiGhRH = bpyfpu4kTbwL.argv[w5vcgUzFN3bF + nzTpIcepk0o8(chr(0b1101 + 0o43) + chr(767 - 656) + chr(1459 - 1410), 8)].iq1mNMefb1Zd()
if roI3spqORKae(ES5oEprVxulp(b'\xf0\xe3\x00\xf5'), '\x64' + chr(0b10110 + 0o117) + '\143' + '\x6f' + chr(262 - 162) + '\145')('\165' + chr(0b1110100) + chr(0b1100110) + '\x2d' + chr(0b111000)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\xbc\xe5(\xc5\xdd\xc6Z\x0eTe>\xf1'), chr(6993 - 6893) + '\x65' + chr(99) + chr(4678 - 4567) + '\x64' + chr(0b1100101))(chr(0b1100101 + 0o20) + '\x74' + chr(0b1100011 + 0o3) + chr(0b11001 + 0o24) + '\x38')):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\xf0\xe3\x00\xf5'), chr(0b1001110 + 0o26) + chr(8374 - 8273) + '\x63' + '\x6f' + chr(0b1010111 + 0o15) + chr(10183 - 10082))(chr(8054 - 7937) + chr(0b1110100) + chr(102) + '\055' + '\070'))
Wp2Umairw0XS = jLW6pRf2DSRk(bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8('\060' + chr(0b1101111) + '\x31', 8)])
else:
v8jsMqaYV6U2(roI3spqORKae(BXHXH_QeD6rL, roI3spqORKae(ES5oEprVxulp(b'\xa4\xe9$\xe4\xfb\xeek\x16yuZ\xc7'), chr(0b1100100) + '\x65' + '\x63' + chr(0b101111 + 0o100) + '\x64' + '\x65')(chr(0b110 + 0o157) + chr(116) + chr(0b1100110) + chr(0b10100 + 0o31) + chr(0b11100 + 0o34))))
roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\x87\xfa\x13\xeb\xe9\xeaNrewL\xab'), chr(9801 - 9701) + '\145' + chr(99) + chr(0b1101111) + chr(7280 - 7180) + '\x65')(chr(117) + chr(0b1001000 + 0o54) + chr(0b1100110) + chr(0b101101) + chr(3054 - 2998)))()
if roI3spqORKae(ES5oEprVxulp(b'\xf0\xe3\x0e\xef'), '\144' + chr(0b100101 + 0o100) + chr(0b11000 + 0o113) + chr(0b1101111) + chr(0b1100100) + chr(101))(chr(0b1001 + 0o154) + '\164' + '\146' + chr(1357 - 1312) + '\x38') in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\xbc\xe5(\xc5\xdd\xc6Z\x0eTe>\xf1'), '\144' + chr(640 - 539) + chr(1901 - 1802) + '\157' + chr(100) + chr(0b1100101))(chr(0b1000001 + 0o64) + chr(1847 - 1731) + chr(0b1100110) + chr(0b101101 + 0o0) + '\x38')):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\xf0\xe3\x0e\xef'), chr(100) + '\x65' + '\x63' + chr(0b101110 + 0o101) + chr(9631 - 9531) + '\x65')(chr(117) + chr(5453 - 5337) + chr(0b1100110) + chr(974 - 929) + chr(949 - 893)))
OSV4Uwkhpwk6 = jLW6pRf2DSRk(bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8(chr(0b1100 + 0o44) + '\x6f' + '\061', 8)])
else:
v8jsMqaYV6U2(roI3spqORKae(BXHXH_QeD6rL, roI3spqORKae(ES5oEprVxulp(b'\xa4\xe9$\xe4\xfb\xeek\x16yuZ\xc7'), chr(100) + chr(1333 - 1232) + '\143' + chr(111) + chr(100) + '\145')(chr(0b11 + 0o162) + chr(116) + chr(102) + chr(1849 - 1804) + '\070')))
roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\x87\xfa\x13\xeb\xe9\xeaNrewL\xab'), chr(100) + chr(0b1001001 + 0o34) + '\143' + chr(0b1101111) + '\144' + chr(0b1100101))(chr(0b11010 + 0o133) + chr(0b1110100) + chr(0b1100110) + chr(298 - 253) + chr(0b111000)))()
if roI3spqORKae(ES5oEprVxulp(b'\xf0\xee\x06\xe4'), '\x64' + chr(101) + chr(0b1100011) + '\x6f' + chr(100) + chr(0b1100101))(chr(12830 - 12713) + chr(0b1100100 + 0o20) + chr(0b1100110) + chr(634 - 589) + '\x38') in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\xbc\xe5(\xc5\xdd\xc6Z\x0eTe>\xf1'), chr(100) + chr(0b101101 + 0o70) + chr(99) + '\x6f' + '\144' + '\145')(chr(0b1110 + 0o147) + chr(5751 - 5635) + chr(2178 - 2076) + chr(0b101101) + '\x38')):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\xf0\xee\x06\xe4'), '\144' + chr(0b10011 + 0o122) + chr(99) + chr(4269 - 4158) + '\144' + chr(2009 - 1908))('\x75' + chr(0b1110100) + chr(102) + '\055' + chr(56)))
JfUtNjxJCfe3 = jLW6pRf2DSRk(bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8(chr(48) + chr(6966 - 6855) + chr(0b11001 + 0o30), 8)])
else:
v8jsMqaYV6U2(roI3spqORKae(BXHXH_QeD6rL, roI3spqORKae(ES5oEprVxulp(b'\xa4\xe9$\xe4\xfb\xeek\x16yuZ\xc7'), chr(1269 - 1169) + chr(0b1010111 + 0o16) + chr(0b1010 + 0o131) + '\x6f' + '\x64' + '\x65')(chr(0b100001 + 0o124) + chr(0b1101000 + 0o14) + '\146' + '\x2d' + '\070')))
roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\x87\xfa\x13\xeb\xe9\xeaNrewL\xab'), chr(0b1100100) + chr(9003 - 8902) + chr(7901 - 7802) + chr(10472 - 10361) + chr(0b1100100) + '\x65')(chr(117) + '\x74' + chr(0b1011001 + 0o15) + '\x2d' + chr(56)))()
FfKOThdpoDTb = [aLpKsCAiGhRH, Wp2Umairw0XS, OSV4Uwkhpwk6, JfUtNjxJCfe3]
d9IYhOYAA219 = MfBiPDpMEPLG(FfKOThdpoDTb)
if neY2HPRd1pS4 == roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(0b1100101) + chr(0b11101 + 0o106) + '\x6f' + chr(100) + chr(5063 - 4962))('\x75' + chr(0b1110100) + '\146' + chr(289 - 244) + '\070'):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x9c\xe8\x04\xa1\xaa\xefc/ska\xf2\xcbAd\x84$@\x8d\xaf\xe0@\x1aG\xf6\xda\xcc==.z\xa0\x98\xbcd\xf7\xd2\xa0+R\xb2\xe3\x04\xde\xc6\xd0l$8'), chr(0b1011101 + 0o7) + chr(2263 - 2162) + chr(0b1101 + 0o126) + chr(0b10101 + 0o132) + chr(0b1100100) + chr(3591 - 3490))(chr(0b1110101) + '\x74' + '\x66' + chr(0b101101) + '\x38'))
v8jsMqaYV6U2(d9IYhOYAA219)
else:
roI3spqORKae(VwOu8WkJ9cpc, roI3spqORKae(ES5oEprVxulp(b'\xb0\xe3Q\xe9\xe2\xcftrZt|\xa1'), chr(0b10010 + 0o122) + chr(6710 - 6609) + '\x63' + chr(111) + chr(0b0 + 0o144) + '\145')(chr(0b100111 + 0o116) + chr(116) + '\x66' + '\x2d' + chr(1740 - 1684)))(d9IYhOYAA219)
roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\x87\xfa\x13\xeb\xe9\xeaNrewL\xab'), chr(100) + chr(0b101101 + 0o70) + chr(0b1100011) + chr(9796 - 9685) + chr(0b1100100) + chr(5456 - 5355))(chr(0b1110101) + chr(0b1110100) + '\x66' + chr(45) + chr(56)))()
else:
kTVXhBR0AFNQ = bpyfpu4kTbwL.stdin.TKmlmUjNQ4dY()
if ftfygxgFas5X(kTVXhBR0AFNQ) > nzTpIcepk0o8('\060' + '\157' + chr(0b11101 + 0o23), 0o10):
for ffiOpFBWGmZU in kTVXhBR0AFNQ:
FfKOThdpoDTb = []
FKO_XxLfWbYt = ffiOpFBWGmZU.LfRrQOxuDvnC()
roI3spqORKae(FfKOThdpoDTb, roI3spqORKae(ES5oEprVxulp(b'\x95\xdb2\xb5\xf2\xd8E,|kX\xa6'), chr(100) + '\145' + chr(99) + '\157' + chr(100) + chr(101))(chr(129 - 12) + '\x74' + chr(102) + chr(730 - 685) + chr(0b110000 + 0o10)))(FKO_XxLfWbYt[nzTpIcepk0o8('\x30' + chr(111) + chr(0b110000), 8)])
for B6UAF1zReOyJ in bbT2xIe5pzk7(nzTpIcepk0o8(chr(48) + '\157' + '\x31', 8), nzTpIcepk0o8('\060' + chr(0b1100001 + 0o16) + '\064', 8)):
roI3spqORKae(FfKOThdpoDTb, roI3spqORKae(ES5oEprVxulp(b'\x95\xdb2\xb5\xf2\xd8E,|kX\xa6'), chr(100) + '\145' + '\143' + chr(0b1101111) + chr(100) + '\x65')(chr(0b1110101) + chr(0b10 + 0o162) + '\146' + '\055' + chr(56)))(jLW6pRf2DSRk(FKO_XxLfWbYt[B6UAF1zReOyJ]))
roI3spqORKae(lg8NuMErWDJj, roI3spqORKae(ES5oEprVxulp(b'\x95\xdb2\xb5\xf2\xd8E,|kX\xa6'), chr(0b1100100) + '\145' + chr(0b1100011) + chr(0b1101111) + chr(4184 - 4084) + '\x65')('\x75' + chr(0b1000101 + 0o57) + '\146' + '\x2d' + '\070'))(FfKOThdpoDTb)
if ftfygxgFas5X(lg8NuMErWDJj) > nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b1111 + 0o41), 8):
for ffiOpFBWGmZU in lg8NuMErWDJj:
d9IYhOYAA219 = MfBiPDpMEPLG(ffiOpFBWGmZU)
if neY2HPRd1pS4 == roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(0b1 + 0o144) + chr(0b1100011) + chr(111) + '\x64' + chr(0b101000 + 0o75))('\x75' + chr(0b1110100) + chr(0b1100110) + chr(0b111 + 0o46) + chr(56)):
v8jsMqaYV6U2(d9IYhOYAA219)
else:
roI3spqORKae(VwOu8WkJ9cpc, roI3spqORKae(ES5oEprVxulp(b'\xb0\xe3Q\xe9\xe2\xcftrZt|\xa1'), chr(2697 - 2597) + chr(0b110110 + 0o57) + chr(99) + '\x6f' + '\144' + chr(9694 - 9593))('\x75' + chr(116) + chr(0b1100110) + chr(701 - 656) + chr(696 - 640)))(d9IYhOYAA219)
else:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xb3\xe0A\xe8\xe4\xcfw76`l\xe7\xde'), chr(100) + chr(0b111111 + 0o46) + chr(99) + chr(0b1101111) + chr(100) + chr(2514 - 2413))(chr(0b1110101) + '\x74' + chr(0b1100110) + '\x2d' + '\070'))
roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\x87\xfa\x13\xeb\xe9\xeaNrewL\xab'), chr(100) + '\145' + '\x63' + '\157' + chr(4366 - 4266) + chr(101))('\x75' + '\164' + '\x66' + chr(0b101101) + chr(56)))()
|
PmagPy/PmagPy
|
SPD/lib/lib_directional_statistics.py
|
tauV
|
def tauV(T):
"""
gets the eigenvalues (tau) and eigenvectors (V) from matrix T
"""
t,V,tr=[],[],0.
ind1,ind2,ind3=0,1,2
evalues,evectmps=numpy.linalg.eig(T)
evectors=numpy.transpose(evectmps) # to make compatible with Numeric convention
for tau in evalues:
tr += tau # tr totals tau values
if tr != 0:
for i in range(3):
evalues[i]=old_div(evalues[i], tr) # convention is norming eigenvalues so they sum to 1.
else:
return t,V # if eigenvalues add up to zero, no sorting is needed
# sort evalues,evectors
t1, t2, t3 = 0., 0., 1.
for k in range(3):
if evalues[k] > t1:
t1,ind1 = evalues[k],k
if evalues[k] < t3:
t3,ind3 = evalues[k],k
for k in range(3):
if evalues[k] != t1 and evalues[k] != t3:
t2,ind2=evalues[k],k
V.append(evectors[ind1])
V.append(evectors[ind2])
V.append(evectors[ind3])
t.append(t1)
t.append(t2)
t.append(t3)
return t,V
|
python
|
def tauV(T):
"""
gets the eigenvalues (tau) and eigenvectors (V) from matrix T
"""
t,V,tr=[],[],0.
ind1,ind2,ind3=0,1,2
evalues,evectmps=numpy.linalg.eig(T)
evectors=numpy.transpose(evectmps) # to make compatible with Numeric convention
for tau in evalues:
tr += tau # tr totals tau values
if tr != 0:
for i in range(3):
evalues[i]=old_div(evalues[i], tr) # convention is norming eigenvalues so they sum to 1.
else:
return t,V # if eigenvalues add up to zero, no sorting is needed
# sort evalues,evectors
t1, t2, t3 = 0., 0., 1.
for k in range(3):
if evalues[k] > t1:
t1,ind1 = evalues[k],k
if evalues[k] < t3:
t3,ind3 = evalues[k],k
for k in range(3):
if evalues[k] != t1 and evalues[k] != t3:
t2,ind2=evalues[k],k
V.append(evectors[ind1])
V.append(evectors[ind2])
V.append(evectors[ind3])
t.append(t1)
t.append(t2)
t.append(t3)
return t,V
|
[
"def",
"tauV",
"(",
"T",
")",
":",
"t",
",",
"V",
",",
"tr",
"=",
"[",
"]",
",",
"[",
"]",
",",
"0.",
"ind1",
",",
"ind2",
",",
"ind3",
"=",
"0",
",",
"1",
",",
"2",
"evalues",
",",
"evectmps",
"=",
"numpy",
".",
"linalg",
".",
"eig",
"(",
"T",
")",
"evectors",
"=",
"numpy",
".",
"transpose",
"(",
"evectmps",
")",
"# to make compatible with Numeric convention",
"for",
"tau",
"in",
"evalues",
":",
"tr",
"+=",
"tau",
"# tr totals tau values",
"if",
"tr",
"!=",
"0",
":",
"for",
"i",
"in",
"range",
"(",
"3",
")",
":",
"evalues",
"[",
"i",
"]",
"=",
"old_div",
"(",
"evalues",
"[",
"i",
"]",
",",
"tr",
")",
"# convention is norming eigenvalues so they sum to 1.",
"else",
":",
"return",
"t",
",",
"V",
"# if eigenvalues add up to zero, no sorting is needed",
"# sort evalues,evectors ",
"t1",
",",
"t2",
",",
"t3",
"=",
"0.",
",",
"0.",
",",
"1.",
"for",
"k",
"in",
"range",
"(",
"3",
")",
":",
"if",
"evalues",
"[",
"k",
"]",
">",
"t1",
":",
"t1",
",",
"ind1",
"=",
"evalues",
"[",
"k",
"]",
",",
"k",
"if",
"evalues",
"[",
"k",
"]",
"<",
"t3",
":",
"t3",
",",
"ind3",
"=",
"evalues",
"[",
"k",
"]",
",",
"k",
"for",
"k",
"in",
"range",
"(",
"3",
")",
":",
"if",
"evalues",
"[",
"k",
"]",
"!=",
"t1",
"and",
"evalues",
"[",
"k",
"]",
"!=",
"t3",
":",
"t2",
",",
"ind2",
"=",
"evalues",
"[",
"k",
"]",
",",
"k",
"V",
".",
"append",
"(",
"evectors",
"[",
"ind1",
"]",
")",
"V",
".",
"append",
"(",
"evectors",
"[",
"ind2",
"]",
")",
"V",
".",
"append",
"(",
"evectors",
"[",
"ind3",
"]",
")",
"t",
".",
"append",
"(",
"t1",
")",
"t",
".",
"append",
"(",
"t2",
")",
"t",
".",
"append",
"(",
"t3",
")",
"return",
"t",
",",
"V"
] |
gets the eigenvalues (tau) and eigenvectors (V) from matrix T
|
[
"gets",
"the",
"eigenvalues",
"(",
"tau",
")",
"and",
"eigenvectors",
"(",
"V",
")",
"from",
"matrix",
"T"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/SPD/lib/lib_directional_statistics.py#L48-L79
|
train
|
Get the eigenvalues and eigenvectors of a single object from a matrix T
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8('\060' + chr(111) + chr(1486 - 1436) + chr(0b10111 + 0o37) + chr(1054 - 1006), 39484 - 39476), nzTpIcepk0o8(chr(827 - 779) + '\x6f' + chr(0b10111 + 0o33) + '\x30' + chr(48), 0b1000), nzTpIcepk0o8('\x30' + chr(0b1011001 + 0o26) + '\067' + chr(0b110001), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b100000 + 0o117) + chr(1770 - 1719) + chr(0b1011 + 0o46) + '\060', 0o10), nzTpIcepk0o8(chr(0b11 + 0o55) + chr(0b1101010 + 0o5) + chr(51) + chr(0b110010) + chr(164 - 111), 61523 - 61515), nzTpIcepk0o8('\060' + chr(0b1110 + 0o141) + chr(0b101011 + 0o10) + chr(0b110000) + chr(1247 - 1199), 8647 - 8639), nzTpIcepk0o8(chr(48) + '\x6f' + '\x35' + chr(0b110101), 0o10), nzTpIcepk0o8(chr(634 - 586) + '\x6f' + chr(0b10011 + 0o40) + chr(0b110110) + chr(51), 56400 - 56392), nzTpIcepk0o8('\060' + chr(11369 - 11258) + chr(2303 - 2253) + '\x31' + chr(0b110111), ord("\x08")), nzTpIcepk0o8('\x30' + '\x6f' + '\x33' + chr(0b110110) + chr(2192 - 2144), 19048 - 19040), nzTpIcepk0o8('\060' + '\157' + chr(0b110001) + '\063' + chr(50), ord("\x08")), nzTpIcepk0o8(chr(0b1110 + 0o42) + '\157' + chr(0b111 + 0o55) + '\x35', 0o10), nzTpIcepk0o8('\060' + chr(7836 - 7725) + chr(0b10001 + 0o44) + chr(961 - 913), 16488 - 16480), nzTpIcepk0o8(chr(1367 - 1319) + chr(0b0 + 0o157) + chr(0b10011 + 0o37) + chr(51) + chr(1396 - 1347), 0o10), nzTpIcepk0o8('\060' + '\x6f' + chr(0b10011 + 0o36) + chr(52) + chr(0b110110), 0b1000), nzTpIcepk0o8('\060' + chr(111) + '\x32' + chr(54) + chr(55), ord("\x08")), nzTpIcepk0o8(chr(0b11110 + 0o22) + '\157' + chr(0b110 + 0o53) + '\063' + chr(0b10101 + 0o35), 8), nzTpIcepk0o8('\060' + '\157' + chr(51) + '\x35', 0b1000), nzTpIcepk0o8(chr(0b10 + 0o56) + '\157' + chr(0b10101 + 0o35) + chr(1476 - 1422) + chr(0b111 + 0o55), 0o10), nzTpIcepk0o8(chr(0b1110 + 0o42) + chr(0b1010011 + 0o34) + chr(1799 - 1748) + '\061' + '\067', 0o10), nzTpIcepk0o8(chr(0b0 + 0o60) + chr(111) + '\062', 51300 - 51292), nzTpIcepk0o8(chr(48) + '\157' + chr(54) + '\067', 0b1000), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(50) + chr(0b110000) + chr(0b110100), 0o10), nzTpIcepk0o8(chr(0b110 + 0o52) + '\x6f' + '\x33' + '\x34' + chr(0b110110), 0o10), nzTpIcepk0o8(chr(1378 - 1330) + '\157' + chr(0b11111 + 0o23) + chr(0b11001 + 0o31) + chr(48), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(1210 - 1161) + '\x32', ord("\x08")), nzTpIcepk0o8(chr(0b11 + 0o55) + chr(0b1 + 0o156) + '\061' + '\061' + chr(51), 47189 - 47181), nzTpIcepk0o8('\x30' + chr(111) + chr(0b110001) + chr(0b110000) + '\062', ord("\x08")), nzTpIcepk0o8(chr(0b101111 + 0o1) + chr(3851 - 3740) + '\061' + chr(1402 - 1354), ord("\x08")), nzTpIcepk0o8(chr(2094 - 2046) + chr(3606 - 3495) + chr(0b110001) + chr(0b100001 + 0o21) + chr(0b100011 + 0o16), 13825 - 13817), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(50) + chr(51) + chr(0b1101 + 0o52), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(52) + chr(0b110111), ord("\x08")), nzTpIcepk0o8('\x30' + chr(168 - 57) + chr(1237 - 1184) + chr(1704 - 1649), 64134 - 64126), nzTpIcepk0o8(chr(1434 - 1386) + chr(0b1101111) + chr(0b10100 + 0o35) + '\064' + '\x37', 0o10), nzTpIcepk0o8('\060' + chr(4424 - 4313) + '\063' + '\x37' + chr(52), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(49) + '\066' + '\065', ord("\x08")), nzTpIcepk0o8(chr(48) + chr(111) + chr(235 - 186) + chr(2878 - 2824) + '\062', 0o10), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b110111) + '\067', 0b1000), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b100101 + 0o16) + chr(51) + chr(0b11110 + 0o27), 0o10), nzTpIcepk0o8('\x30' + chr(0b1101100 + 0o3) + '\x32' + chr(0b110101) + chr(0b110110), 16440 - 16432)][ZlbFMSG8gCoF % nzTpIcepk0o8('\060' + chr(0b1101111) + '\065' + '\x30', 8)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\x9e'), chr(2907 - 2807) + '\145' + chr(0b1100011) + chr(111) + chr(465 - 365) + '\145')(chr(0b110100 + 0o101) + chr(116) + chr(0b100 + 0o142) + '\x2d' + chr(0b1000 + 0o60)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def tkNJs4m7ak97(hq6XE4_Nhd6R):
(h3Vc_4wxEbgd, C6LOzGNdNRfI, lKSl3irCMAog) = ([], [], 0.0)
(i3HhBfelYRMT, BYPqEXcmiSJc, yLuh5QOvDdWU) = (nzTpIcepk0o8('\x30' + chr(111) + chr(1022 - 974), 53954 - 53946), nzTpIcepk0o8(chr(0b110000) + chr(9678 - 9567) + chr(0b110001), 33348 - 33340), nzTpIcepk0o8(chr(2173 - 2125) + '\157' + chr(0b10 + 0o60), 8))
(y0I9qfAm4_tM, jsHTlRjzAkf3) = L6YB9g87uxKh.linalg.eig(hq6XE4_Nhd6R)
qpb88hnZ5E7_ = L6YB9g87uxKh.transpose(jsHTlRjzAkf3)
for OzjfUPwYt9n6 in y0I9qfAm4_tM:
lKSl3irCMAog += OzjfUPwYt9n6
if lKSl3irCMAog != nzTpIcepk0o8(chr(517 - 469) + chr(1783 - 1672) + chr(2182 - 2134), 8):
for ZlbFMSG8gCoF in bbT2xIe5pzk7(nzTpIcepk0o8('\060' + '\x6f' + chr(0b111 + 0o54), ord("\x08"))):
y0I9qfAm4_tM[ZlbFMSG8gCoF] = SVfYwQaP38MC(y0I9qfAm4_tM[ZlbFMSG8gCoF], lKSl3irCMAog)
else:
return (h3Vc_4wxEbgd, C6LOzGNdNRfI)
(Ro8rYvaBXnpq, JxuoNpiaD8tS, oe6kOUTTJa8a) = (0.0, 0.0, 1.0)
for B6UAF1zReOyJ in bbT2xIe5pzk7(nzTpIcepk0o8('\x30' + chr(111) + chr(2118 - 2067), 8)):
if y0I9qfAm4_tM[B6UAF1zReOyJ] > Ro8rYvaBXnpq:
(Ro8rYvaBXnpq, i3HhBfelYRMT) = (y0I9qfAm4_tM[B6UAF1zReOyJ], B6UAF1zReOyJ)
if y0I9qfAm4_tM[B6UAF1zReOyJ] < oe6kOUTTJa8a:
(oe6kOUTTJa8a, yLuh5QOvDdWU) = (y0I9qfAm4_tM[B6UAF1zReOyJ], B6UAF1zReOyJ)
for B6UAF1zReOyJ in bbT2xIe5pzk7(nzTpIcepk0o8(chr(0b0 + 0o60) + chr(0b1101111) + chr(51), 8)):
if y0I9qfAm4_tM[B6UAF1zReOyJ] != Ro8rYvaBXnpq and y0I9qfAm4_tM[B6UAF1zReOyJ] != oe6kOUTTJa8a:
(JxuoNpiaD8tS, BYPqEXcmiSJc) = (y0I9qfAm4_tM[B6UAF1zReOyJ], B6UAF1zReOyJ)
roI3spqORKae(C6LOzGNdNRfI, roI3spqORKae(ES5oEprVxulp(b'\xf8\xd4j\xfc\xad\xa7j\x9c\xe5\x9f\x0f\x10'), chr(0b1100100) + chr(9799 - 9698) + chr(0b1100011) + chr(0b1101111) + '\x64' + '\x65')(chr(0b110000 + 0o105) + chr(116) + '\146' + chr(0b10000 + 0o35) + chr(56)))(qpb88hnZ5E7_[i3HhBfelYRMT])
roI3spqORKae(C6LOzGNdNRfI, roI3spqORKae(ES5oEprVxulp(b'\xf8\xd4j\xfc\xad\xa7j\x9c\xe5\x9f\x0f\x10'), '\144' + chr(0b1100101) + chr(0b1011000 + 0o13) + chr(111) + '\x64' + chr(0b1100101))('\165' + chr(116) + chr(0b1100110) + chr(0b11001 + 0o24) + '\070'))(qpb88hnZ5E7_[BYPqEXcmiSJc])
roI3spqORKae(C6LOzGNdNRfI, roI3spqORKae(ES5oEprVxulp(b'\xf8\xd4j\xfc\xad\xa7j\x9c\xe5\x9f\x0f\x10'), '\144' + '\145' + chr(99) + chr(0b1101101 + 0o2) + chr(0b1100100) + '\x65')(chr(117) + chr(1965 - 1849) + chr(10401 - 10299) + '\x2d' + chr(56)))(qpb88hnZ5E7_[yLuh5QOvDdWU])
roI3spqORKae(h3Vc_4wxEbgd, roI3spqORKae(ES5oEprVxulp(b'\xf8\xd4j\xfc\xad\xa7j\x9c\xe5\x9f\x0f\x10'), chr(0b110101 + 0o57) + chr(2611 - 2510) + '\x63' + '\x6f' + chr(0b1010100 + 0o20) + '\x65')(chr(117) + chr(116) + chr(0b1011111 + 0o7) + chr(0b101101) + chr(1836 - 1780)))(Ro8rYvaBXnpq)
roI3spqORKae(h3Vc_4wxEbgd, roI3spqORKae(ES5oEprVxulp(b'\xf8\xd4j\xfc\xad\xa7j\x9c\xe5\x9f\x0f\x10'), chr(0b10100 + 0o120) + chr(101) + chr(99) + '\x6f' + '\144' + chr(101))(chr(0b1000010 + 0o63) + '\x74' + '\146' + chr(45) + '\x38'))(JxuoNpiaD8tS)
roI3spqORKae(h3Vc_4wxEbgd, roI3spqORKae(ES5oEprVxulp(b'\xf8\xd4j\xfc\xad\xa7j\x9c\xe5\x9f\x0f\x10'), chr(0b1100100) + '\x65' + '\143' + '\x6f' + chr(0b1100100) + chr(0b1100101))(chr(117) + chr(0b1110100) + chr(9283 - 9181) + chr(0b101101) + chr(1659 - 1603)))(oe6kOUTTJa8a)
return (h3Vc_4wxEbgd, C6LOzGNdNRfI)
|
PmagPy/PmagPy
|
SPD/lib/lib_directional_statistics.py
|
get_PD_direction
|
def get_PD_direction(X1_prime, X2_prime, X3_prime, PD):
"""takes arrays of X1_prime, X2_prime, X3_prime, and the PD.
checks that the PD vector direction is correct"""
n = len(X1_prime) - 1
X1 = X1_prime[0] - X1_prime[n]
X2 = X2_prime[0] - X2_prime[n]
X3 = X3_prime[0] - X3_prime[n]
R= numpy.array([X1, X2, X3])
#print 'R (reference vector for PD direction)', R
dot = numpy.dot(PD, R) # dot product of reference vector and the principal axis of the V matrix
#print 'dot (dot of PD and R)', dot
if dot < -1:
dot = -1
elif dot > 1:
dot = 1
if numpy.arccos(dot) > old_div(numpy.pi, 2.):
#print 'numpy.arccos(dot) {} > numpy.pi / 2. {}'.format(numpy.arccos(dot), numpy.pi / 2)
#print 'correcting PD direction'
PD = -1. * numpy.array(PD)
#print 'PD after get PD direction', PD
return PD
|
python
|
def get_PD_direction(X1_prime, X2_prime, X3_prime, PD):
"""takes arrays of X1_prime, X2_prime, X3_prime, and the PD.
checks that the PD vector direction is correct"""
n = len(X1_prime) - 1
X1 = X1_prime[0] - X1_prime[n]
X2 = X2_prime[0] - X2_prime[n]
X3 = X3_prime[0] - X3_prime[n]
R= numpy.array([X1, X2, X3])
#print 'R (reference vector for PD direction)', R
dot = numpy.dot(PD, R) # dot product of reference vector and the principal axis of the V matrix
#print 'dot (dot of PD and R)', dot
if dot < -1:
dot = -1
elif dot > 1:
dot = 1
if numpy.arccos(dot) > old_div(numpy.pi, 2.):
#print 'numpy.arccos(dot) {} > numpy.pi / 2. {}'.format(numpy.arccos(dot), numpy.pi / 2)
#print 'correcting PD direction'
PD = -1. * numpy.array(PD)
#print 'PD after get PD direction', PD
return PD
|
[
"def",
"get_PD_direction",
"(",
"X1_prime",
",",
"X2_prime",
",",
"X3_prime",
",",
"PD",
")",
":",
"n",
"=",
"len",
"(",
"X1_prime",
")",
"-",
"1",
"X1",
"=",
"X1_prime",
"[",
"0",
"]",
"-",
"X1_prime",
"[",
"n",
"]",
"X2",
"=",
"X2_prime",
"[",
"0",
"]",
"-",
"X2_prime",
"[",
"n",
"]",
"X3",
"=",
"X3_prime",
"[",
"0",
"]",
"-",
"X3_prime",
"[",
"n",
"]",
"R",
"=",
"numpy",
".",
"array",
"(",
"[",
"X1",
",",
"X2",
",",
"X3",
"]",
")",
"#print 'R (reference vector for PD direction)', R",
"dot",
"=",
"numpy",
".",
"dot",
"(",
"PD",
",",
"R",
")",
"# dot product of reference vector and the principal axis of the V matrix",
"#print 'dot (dot of PD and R)', dot",
"if",
"dot",
"<",
"-",
"1",
":",
"dot",
"=",
"-",
"1",
"elif",
"dot",
">",
"1",
":",
"dot",
"=",
"1",
"if",
"numpy",
".",
"arccos",
"(",
"dot",
")",
">",
"old_div",
"(",
"numpy",
".",
"pi",
",",
"2.",
")",
":",
"#print 'numpy.arccos(dot) {} > numpy.pi / 2. {}'.format(numpy.arccos(dot), numpy.pi / 2)",
"#print 'correcting PD direction'",
"PD",
"=",
"-",
"1.",
"*",
"numpy",
".",
"array",
"(",
"PD",
")",
"#print 'PD after get PD direction', PD",
"return",
"PD"
] |
takes arrays of X1_prime, X2_prime, X3_prime, and the PD.
checks that the PD vector direction is correct
|
[
"takes",
"arrays",
"of",
"X1_prime",
"X2_prime",
"X3_prime",
"and",
"the",
"PD",
".",
"checks",
"that",
"the",
"PD",
"vector",
"direction",
"is",
"correct"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/SPD/lib/lib_directional_statistics.py#L81-L101
|
train
|
takes arrays of X1_prime X2_prime X3_prime and the PD.
checks that the PD vector direction is correct
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(0b11000 + 0o30) + chr(0b11000 + 0o127) + chr(0b11110 + 0o25) + chr(1371 - 1320), 16212 - 16204), nzTpIcepk0o8(chr(0b101010 + 0o6) + '\x6f' + chr(0b110011) + '\x34' + chr(52), 0o10), nzTpIcepk0o8(chr(0b11001 + 0o27) + '\157' + chr(1200 - 1147) + '\061', ord("\x08")), nzTpIcepk0o8('\060' + chr(111) + chr(78 - 27) + chr(0b1111 + 0o47), ord("\x08")), nzTpIcepk0o8(chr(48) + '\x6f' + '\063' + chr(971 - 918) + chr(54), 0b1000), nzTpIcepk0o8(chr(48) + '\x6f' + chr(1787 - 1736) + chr(0b10010 + 0o41) + chr(0b110011), ord("\x08")), nzTpIcepk0o8('\x30' + chr(111) + '\063' + chr(0b110110) + chr(55), 27937 - 27929), nzTpIcepk0o8(chr(48) + chr(0b1011101 + 0o22) + '\063' + chr(0b110101) + '\x35', 0o10), nzTpIcepk0o8(chr(48) + chr(0b1001 + 0o146) + chr(50) + chr(0b110010) + '\067', 65394 - 65386), nzTpIcepk0o8(chr(0b11101 + 0o23) + '\157' + chr(1707 - 1655) + '\065', 0o10), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(51) + '\x34' + chr(52), 8), nzTpIcepk0o8(chr(1896 - 1848) + chr(111) + chr(50) + '\x33' + chr(0b101010 + 0o6), 0o10), nzTpIcepk0o8(chr(2208 - 2160) + chr(0b10101 + 0o132) + chr(0b10 + 0o60) + '\060' + chr(2081 - 2032), 0o10), nzTpIcepk0o8('\060' + chr(5450 - 5339) + chr(71 - 22) + '\064' + chr(54), 14196 - 14188), nzTpIcepk0o8(chr(48) + chr(111) + chr(49) + '\062' + chr(55), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b1100110 + 0o11) + chr(2148 - 2098) + '\x34' + chr(0b110000), 12575 - 12567), nzTpIcepk0o8(chr(48) + chr(1750 - 1639) + '\x33' + chr(0b101000 + 0o16) + chr(49), 0o10), nzTpIcepk0o8('\060' + chr(111) + '\x34' + '\066', 0b1000), nzTpIcepk0o8('\060' + chr(6285 - 6174) + '\061' + '\x34', 0o10), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b110010) + chr(0b110110), ord("\x08")), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110011) + chr(49), 0o10), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\x32' + '\065', 61149 - 61141), nzTpIcepk0o8(chr(0b110000) + chr(0b1001101 + 0o42) + chr(50) + chr(51), ord("\x08")), nzTpIcepk0o8('\060' + chr(111) + chr(0b110010) + chr(1038 - 988) + chr(0b110010), ord("\x08")), nzTpIcepk0o8('\060' + chr(7809 - 7698) + chr(2020 - 1971) + chr(502 - 450) + chr(579 - 527), 0o10), nzTpIcepk0o8(chr(0b1111 + 0o41) + '\157' + chr(779 - 729) + chr(54), 8), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b10 + 0o61) + '\x30' + chr(55), ord("\x08")), nzTpIcepk0o8('\060' + '\157' + chr(49) + chr(51) + '\x34', 0o10), nzTpIcepk0o8(chr(2286 - 2238) + chr(0b10101 + 0o132) + '\x31' + '\x35' + '\062', ord("\x08")), nzTpIcepk0o8('\060' + '\x6f' + '\062' + '\x32' + chr(913 - 865), ord("\x08")), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b110010) + '\063' + chr(0b110100), 61439 - 61431), nzTpIcepk0o8(chr(48) + chr(0b1100101 + 0o12) + chr(50) + '\062' + chr(49), 0o10), nzTpIcepk0o8('\x30' + chr(111) + chr(0b1000 + 0o51) + chr(0b110111) + chr(2585 - 2531), 0b1000), nzTpIcepk0o8(chr(48) + chr(3940 - 3829) + '\x31' + '\066' + chr(54), ord("\x08")), nzTpIcepk0o8(chr(0b0 + 0o60) + chr(0b0 + 0o157) + chr(0b110011) + chr(0b110000) + chr(53), 0b1000), nzTpIcepk0o8(chr(378 - 330) + chr(11709 - 11598) + chr(0b101010 + 0o10) + chr(0b101001 + 0o16) + '\067', ord("\x08")), nzTpIcepk0o8(chr(0b10111 + 0o31) + chr(930 - 819) + '\x36' + chr(51), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(7146 - 7035) + '\063' + '\x36' + chr(0b11110 + 0o31), 8), nzTpIcepk0o8(chr(0b110000) + chr(9561 - 9450) + '\x33' + chr(1464 - 1412) + '\064', 8), nzTpIcepk0o8(chr(1595 - 1547) + chr(9574 - 9463) + chr(0b1010 + 0o46), 0b1000)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(453 - 405) + '\157' + chr(53) + '\x30', 0o10)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'5'), '\144' + '\145' + chr(0b11000 + 0o113) + chr(0b1101111) + '\144' + chr(7476 - 7375))(chr(122 - 5) + chr(0b1110100) + '\146' + chr(45) + chr(0b10100 + 0o44)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def IaRbXYtRFbCL(fmWeUlrNv1xK, LNsuDw7RUTPT, YvvRiwqATqGV, oz_JWVvLA9VX):
NoZxuO7wjArS = ftfygxgFas5X(fmWeUlrNv1xK) - nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b1011 + 0o46), 0b1000)
RGWlbYrtcNif = fmWeUlrNv1xK[nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(48), 8)] - fmWeUlrNv1xK[NoZxuO7wjArS]
ZR1p6dphXlR8 = LNsuDw7RUTPT[nzTpIcepk0o8(chr(377 - 329) + chr(0b1101111) + '\060', 8)] - LNsuDw7RUTPT[NoZxuO7wjArS]
Tvgf2EdNgTg4 = YvvRiwqATqGV[nzTpIcepk0o8(chr(48) + chr(111) + chr(0b100010 + 0o16), 8)] - YvvRiwqATqGV[NoZxuO7wjArS]
stVGsv3MKjDy = L6YB9g87uxKh.Tn6rGr7XTM7t([RGWlbYrtcNif, ZR1p6dphXlR8, Tvgf2EdNgTg4])
AWsk_UUx2oJH = L6YB9g87uxKh.dot(oz_JWVvLA9VX, stVGsv3MKjDy)
if AWsk_UUx2oJH < -nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110001), 8):
AWsk_UUx2oJH = -nzTpIcepk0o8(chr(48) + chr(3776 - 3665) + '\061', 8)
elif AWsk_UUx2oJH > nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(1979 - 1930), 8):
AWsk_UUx2oJH = nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(2164 - 2115), 8)
if roI3spqORKae(L6YB9g87uxKh, roI3spqORKae(ES5oEprVxulp(b'z\x96J}\x81\xa8'), '\x64' + chr(0b1100101) + '\x63' + chr(111) + chr(100) + chr(0b101010 + 0o73))('\x75' + chr(0b1011010 + 0o32) + chr(8108 - 8006) + chr(0b101101) + chr(0b100111 + 0o21)))(AWsk_UUx2oJH) > SVfYwQaP38MC(roI3spqORKae(L6YB9g87uxKh, roI3spqORKae(ES5oEprVxulp(b'u\xa9[F\x85\x89\x87\xb9\xc6\x1c\xab\xf7'), chr(100) + '\145' + '\143' + chr(0b1001100 + 0o43) + '\144' + '\145')(chr(13325 - 13208) + chr(681 - 565) + chr(0b1100110) + '\055' + chr(0b111000))), 2.0):
oz_JWVvLA9VX = -1.0 * L6YB9g87uxKh.Tn6rGr7XTM7t(oz_JWVvLA9VX)
return oz_JWVvLA9VX
|
PmagPy/PmagPy
|
SPD/lib/lib_directional_statistics.py
|
get_MAD
|
def get_MAD(tau):
"""
input: eigenvalues of PCA matrix
output: Maximum Angular Deviation
"""
# tau is ordered so that tau[0] > tau[1] > tau[2]
for t in tau:
if isinstance(t, complex):
return -999
MAD = math.degrees(numpy.arctan(numpy.sqrt(old_div((tau[1] + tau[2]), tau[0]))) )
return MAD
|
python
|
def get_MAD(tau):
"""
input: eigenvalues of PCA matrix
output: Maximum Angular Deviation
"""
# tau is ordered so that tau[0] > tau[1] > tau[2]
for t in tau:
if isinstance(t, complex):
return -999
MAD = math.degrees(numpy.arctan(numpy.sqrt(old_div((tau[1] + tau[2]), tau[0]))) )
return MAD
|
[
"def",
"get_MAD",
"(",
"tau",
")",
":",
"# tau is ordered so that tau[0] > tau[1] > tau[2]",
"for",
"t",
"in",
"tau",
":",
"if",
"isinstance",
"(",
"t",
",",
"complex",
")",
":",
"return",
"-",
"999",
"MAD",
"=",
"math",
".",
"degrees",
"(",
"numpy",
".",
"arctan",
"(",
"numpy",
".",
"sqrt",
"(",
"old_div",
"(",
"(",
"tau",
"[",
"1",
"]",
"+",
"tau",
"[",
"2",
"]",
")",
",",
"tau",
"[",
"0",
"]",
")",
")",
")",
")",
"return",
"MAD"
] |
input: eigenvalues of PCA matrix
output: Maximum Angular Deviation
|
[
"input",
":",
"eigenvalues",
"of",
"PCA",
"matrix",
"output",
":",
"Maximum",
"Angular",
"Deviation"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/SPD/lib/lib_directional_statistics.py#L140-L150
|
train
|
Calculates the maximum angular deviation of a PCA matrix
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8('\x30' + chr(111) + chr(0b110001) + chr(49) + '\x34', ord("\x08")), nzTpIcepk0o8(chr(0b1001 + 0o47) + chr(0b1101111) + chr(0b110001) + chr(0b11111 + 0o24) + '\x35', 0o10), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b110000 + 0o7) + chr(0b110111), ord("\x08")), nzTpIcepk0o8('\060' + chr(111) + '\x31' + chr(0b11100 + 0o30) + chr(0b100100 + 0o16), 0o10), nzTpIcepk0o8(chr(1414 - 1366) + chr(0b101001 + 0o106) + '\x32' + '\066', 0b1000), nzTpIcepk0o8(chr(1233 - 1185) + chr(0b1101111) + chr(0b110000 + 0o1) + chr(0b110000) + chr(50), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b1 + 0o156) + chr(0b10110 + 0o33) + chr(0b110110), 0o10), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b100001 + 0o20) + chr(0b110010) + '\x34', ord("\x08")), nzTpIcepk0o8('\060' + '\x6f' + chr(51) + chr(0b1001 + 0o55) + '\063', 0o10), nzTpIcepk0o8('\x30' + '\157' + '\x33' + chr(1863 - 1815) + chr(54), 0b1000), nzTpIcepk0o8(chr(0b10011 + 0o35) + '\x6f' + chr(0b110001) + chr(86 - 37) + chr(54), 0b1000), nzTpIcepk0o8('\x30' + chr(4636 - 4525) + '\063' + '\x32' + chr(617 - 567), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(49) + chr(0b110001) + '\064', 8), nzTpIcepk0o8('\x30' + chr(9239 - 9128) + '\061' + chr(0b101000 + 0o16) + '\060', 0b1000), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b0 + 0o67) + chr(0b110001 + 0o6), 8), nzTpIcepk0o8(chr(48) + chr(1073 - 962) + '\x34' + chr(0b10100 + 0o34), ord("\x08")), nzTpIcepk0o8(chr(48) + '\157' + chr(51) + chr(50) + chr(2078 - 2029), 0o10), nzTpIcepk0o8(chr(48) + chr(111) + chr(50) + '\060' + '\063', 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b10111 + 0o130) + chr(0b10010 + 0o37) + chr(0b110010) + '\x32', ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b10101 + 0o34) + chr(1048 - 996) + chr(0b110100), 0o10), nzTpIcepk0o8(chr(48) + chr(0b1010 + 0o145) + chr(50) + chr(49) + chr(51), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\x31' + '\x36' + chr(716 - 663), 29638 - 29630), nzTpIcepk0o8(chr(48) + chr(1468 - 1357) + '\x31' + chr(55) + '\x33', 0o10), nzTpIcepk0o8('\x30' + chr(9427 - 9316) + chr(0b110111) + chr(0b110001), 44985 - 44977), nzTpIcepk0o8('\060' + chr(0b1100101 + 0o12) + chr(2336 - 2286) + '\067' + chr(48), 0b1000), nzTpIcepk0o8(chr(0b11101 + 0o23) + chr(924 - 813) + chr(2051 - 2000), 0b1000), nzTpIcepk0o8('\060' + chr(0b1101110 + 0o1) + '\x32' + '\064' + chr(2205 - 2152), 0b1000), nzTpIcepk0o8(chr(1472 - 1424) + '\x6f' + '\062' + chr(0b110100) + chr(0b10100 + 0o40), 0b1000), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(1908 - 1859) + '\065' + chr(48), ord("\x08")), nzTpIcepk0o8(chr(707 - 659) + chr(0b1100 + 0o143) + '\x32' + chr(2048 - 1995) + chr(0b110110), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b11100 + 0o123) + '\067' + chr(150 - 98), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1101 + 0o142) + chr(0b110010) + '\x30' + chr(1730 - 1682), ord("\x08")), nzTpIcepk0o8('\x30' + '\157' + chr(0b110011) + '\x31', 0o10), nzTpIcepk0o8('\060' + chr(7079 - 6968) + '\x32' + chr(49) + chr(51), 8), nzTpIcepk0o8('\060' + chr(11318 - 11207) + '\x34' + chr(1941 - 1892), 21970 - 21962), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b110010) + chr(0b100001 + 0o22) + '\061', 0b1000), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(49) + chr(52), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111 + 0o0) + chr(0b110010) + '\x31' + chr(0b110 + 0o53), ord("\x08")), nzTpIcepk0o8(chr(306 - 258) + '\157' + '\061' + '\061' + '\x30', 0o10), nzTpIcepk0o8(chr(1043 - 995) + chr(0b1101111) + '\061' + chr(0b11111 + 0o26), 16423 - 16415)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(48) + chr(11011 - 10900) + chr(160 - 107) + '\x30', ord("\x08"))] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'b'), '\144' + '\145' + '\143' + '\157' + '\144' + chr(0b1100101))('\x75' + chr(8645 - 8529) + chr(102) + '\x2d' + chr(2667 - 2611)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def l15U7gFw1F9b(OzjfUPwYt9n6):
for h3Vc_4wxEbgd in OzjfUPwYt9n6:
if suIjIS24Zkqw(h3Vc_4wxEbgd, AtYHTsImz86v):
return -nzTpIcepk0o8('\060' + chr(111) + '\061' + chr(0b110000 + 0o7) + chr(1256 - 1204) + chr(0b110111), 0o10)
EI5_EtuCgyE_ = aQg01EfWg1cd.degrees(L6YB9g87uxKh.arctan(L6YB9g87uxKh.sqrt(SVfYwQaP38MC(OzjfUPwYt9n6[nzTpIcepk0o8(chr(0b110000) + chr(11388 - 11277) + '\x31', 0o10)] + OzjfUPwYt9n6[nzTpIcepk0o8(chr(743 - 695) + chr(111) + chr(0b11 + 0o57), 0b1000)], OzjfUPwYt9n6[nzTpIcepk0o8('\060' + chr(0b1101111) + chr(48), ord("\x08"))]))))
return EI5_EtuCgyE_
|
PmagPy/PmagPy
|
SPD/lib/lib_directional_statistics.py
|
dir2cart
|
def dir2cart(d): # from pmag.py
"""converts list or array of vector directions, in degrees, to array of cartesian coordinates, in x,y,z form """
ints = numpy.ones(len(d)).transpose() # get an array of ones to plug into dec,inc pairs
d = numpy.array(d)
rad = old_div(numpy.pi, 180.)
if len(d.shape) > 1: # array of vectors
decs, incs = d[:,0] * rad, d[:,1] * rad
if d.shape[1] == 3: ints = d[:,2] # take the given lengths
else: # single vector
decs, incs = numpy.array(d[0]) * rad, numpy.array(d[1]) * rad
if len(d) == 3:
ints = numpy.array(d[2])
else:
ints = numpy.array([1.])
cart = numpy.array([ints * numpy.cos(decs) * numpy.cos(incs),
ints * numpy.sin(decs) * numpy.cos(incs),
ints * numpy.sin(incs)
]).transpose()
return cart
|
python
|
def dir2cart(d): # from pmag.py
"""converts list or array of vector directions, in degrees, to array of cartesian coordinates, in x,y,z form """
ints = numpy.ones(len(d)).transpose() # get an array of ones to plug into dec,inc pairs
d = numpy.array(d)
rad = old_div(numpy.pi, 180.)
if len(d.shape) > 1: # array of vectors
decs, incs = d[:,0] * rad, d[:,1] * rad
if d.shape[1] == 3: ints = d[:,2] # take the given lengths
else: # single vector
decs, incs = numpy.array(d[0]) * rad, numpy.array(d[1]) * rad
if len(d) == 3:
ints = numpy.array(d[2])
else:
ints = numpy.array([1.])
cart = numpy.array([ints * numpy.cos(decs) * numpy.cos(incs),
ints * numpy.sin(decs) * numpy.cos(incs),
ints * numpy.sin(incs)
]).transpose()
return cart
|
[
"def",
"dir2cart",
"(",
"d",
")",
":",
"# from pmag.py",
"ints",
"=",
"numpy",
".",
"ones",
"(",
"len",
"(",
"d",
")",
")",
".",
"transpose",
"(",
")",
"# get an array of ones to plug into dec,inc pairs ",
"d",
"=",
"numpy",
".",
"array",
"(",
"d",
")",
"rad",
"=",
"old_div",
"(",
"numpy",
".",
"pi",
",",
"180.",
")",
"if",
"len",
"(",
"d",
".",
"shape",
")",
">",
"1",
":",
"# array of vectors ",
"decs",
",",
"incs",
"=",
"d",
"[",
":",
",",
"0",
"]",
"*",
"rad",
",",
"d",
"[",
":",
",",
"1",
"]",
"*",
"rad",
"if",
"d",
".",
"shape",
"[",
"1",
"]",
"==",
"3",
":",
"ints",
"=",
"d",
"[",
":",
",",
"2",
"]",
"# take the given lengths ",
"else",
":",
"# single vector ",
"decs",
",",
"incs",
"=",
"numpy",
".",
"array",
"(",
"d",
"[",
"0",
"]",
")",
"*",
"rad",
",",
"numpy",
".",
"array",
"(",
"d",
"[",
"1",
"]",
")",
"*",
"rad",
"if",
"len",
"(",
"d",
")",
"==",
"3",
":",
"ints",
"=",
"numpy",
".",
"array",
"(",
"d",
"[",
"2",
"]",
")",
"else",
":",
"ints",
"=",
"numpy",
".",
"array",
"(",
"[",
"1.",
"]",
")",
"cart",
"=",
"numpy",
".",
"array",
"(",
"[",
"ints",
"*",
"numpy",
".",
"cos",
"(",
"decs",
")",
"*",
"numpy",
".",
"cos",
"(",
"incs",
")",
",",
"ints",
"*",
"numpy",
".",
"sin",
"(",
"decs",
")",
"*",
"numpy",
".",
"cos",
"(",
"incs",
")",
",",
"ints",
"*",
"numpy",
".",
"sin",
"(",
"incs",
")",
"]",
")",
".",
"transpose",
"(",
")",
"return",
"cart"
] |
converts list or array of vector directions, in degrees, to array of cartesian coordinates, in x,y,z form
|
[
"converts",
"list",
"or",
"array",
"of",
"vector",
"directions",
"in",
"degrees",
"to",
"array",
"of",
"cartesian",
"coordinates",
"in",
"x",
"y",
"z",
"form"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/SPD/lib/lib_directional_statistics.py#L152-L170
|
train
|
converts list or array of vector directions in degrees to array of cartesian coordinates in x y z form
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(0b101001 + 0o7) + '\157' + chr(0b110011) + chr(1570 - 1517) + chr(869 - 815), 51209 - 51201), nzTpIcepk0o8(chr(0b110000) + chr(11803 - 11692) + chr(635 - 585) + '\x32' + chr(536 - 485), 0o10), nzTpIcepk0o8(chr(0b101011 + 0o5) + chr(0b1101111) + chr(0b10111 + 0o36) + chr(1558 - 1509), 21620 - 21612), nzTpIcepk0o8(chr(2055 - 2007) + '\157' + '\061' + '\060', ord("\x08")), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(2859 - 2805) + '\065', 0b1000), nzTpIcepk0o8('\x30' + '\157' + chr(0b110010) + chr(0b11011 + 0o26) + chr(1932 - 1878), 39466 - 39458), nzTpIcepk0o8(chr(0b0 + 0o60) + chr(111) + chr(0b110001 + 0o0) + '\x33' + chr(55), ord("\x08")), nzTpIcepk0o8('\060' + '\x6f' + chr(0b1100 + 0o47) + '\067' + chr(0b110110), ord("\x08")), nzTpIcepk0o8(chr(2201 - 2153) + chr(0b1101 + 0o142) + chr(1999 - 1949) + '\063' + chr(0b110110), 0b1000), nzTpIcepk0o8(chr(1205 - 1157) + chr(111) + chr(51) + '\x31' + chr(0b110111), 0o10), nzTpIcepk0o8('\060' + chr(0b1010011 + 0o34) + chr(0b100001 + 0o22) + chr(0b110010 + 0o5) + chr(0b110011), ord("\x08")), nzTpIcepk0o8(chr(122 - 74) + '\157' + '\061' + chr(0b101010 + 0o11) + chr(2526 - 2474), 0o10), nzTpIcepk0o8(chr(0b10 + 0o56) + chr(11966 - 11855) + chr(54) + '\x31', ord("\x08")), nzTpIcepk0o8(chr(0b10011 + 0o35) + chr(0b110100 + 0o73) + chr(0b110011) + chr(1390 - 1336) + '\061', 0b1000), nzTpIcepk0o8(chr(1447 - 1399) + '\x6f' + chr(0b110010) + chr(0b1001 + 0o54) + chr(0b10001 + 0o43), 0b1000), nzTpIcepk0o8(chr(0b10111 + 0o31) + '\157' + '\x36' + '\x32', 0b1000), nzTpIcepk0o8(chr(1519 - 1471) + chr(111) + chr(0b110010) + '\x35' + '\065', ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1001100 + 0o43) + '\x32' + '\060' + chr(0b110100), 39705 - 39697), nzTpIcepk0o8(chr(250 - 202) + chr(1765 - 1654) + chr(0b110001) + '\066' + '\063', 33374 - 33366), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\x33' + chr(53), 0o10), nzTpIcepk0o8(chr(48) + chr(0b1011001 + 0o26) + chr(0b11110 + 0o23) + chr(0b110011), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(50) + '\063' + '\x31', 0b1000), nzTpIcepk0o8('\060' + '\157' + chr(0b100111 + 0o14) + chr(55) + chr(0b11011 + 0o33), 8), nzTpIcepk0o8(chr(0b11111 + 0o21) + chr(4093 - 3982) + chr(0b110011) + '\x37' + chr(54), 8), nzTpIcepk0o8('\x30' + chr(2120 - 2009) + '\062' + '\x32', 29281 - 29273), nzTpIcepk0o8('\060' + '\157' + chr(0b1000 + 0o52) + '\x30' + '\066', 23993 - 23985), nzTpIcepk0o8(chr(1662 - 1614) + '\x6f' + chr(2516 - 2465) + chr(52) + chr(619 - 565), ord("\x08")), nzTpIcepk0o8('\x30' + chr(111) + chr(0b110001) + '\x36' + chr(54), 0b1000), nzTpIcepk0o8(chr(0b10101 + 0o33) + '\x6f' + chr(52), ord("\x08")), nzTpIcepk0o8('\x30' + '\157' + '\061' + chr(1695 - 1645) + '\066', 0o10), nzTpIcepk0o8(chr(0b10011 + 0o35) + chr(4192 - 4081) + chr(0b10110 + 0o34) + '\x36' + '\062', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b110001) + '\x31' + '\066', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(2940 - 2829) + chr(0b10000 + 0o42) + '\066' + chr(0b110101), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b1101101 + 0o2) + '\x31' + chr(0b101111 + 0o2) + chr(0b110000), 0o10), nzTpIcepk0o8(chr(48) + '\157' + chr(0b110011) + '\x36' + chr(0b10011 + 0o36), 8), nzTpIcepk0o8('\x30' + '\157' + '\062' + chr(51) + '\067', ord("\x08")), nzTpIcepk0o8(chr(621 - 573) + '\x6f' + chr(50) + chr(354 - 303) + '\x36', 8), nzTpIcepk0o8(chr(0b101010 + 0o6) + chr(12271 - 12160) + '\x31' + chr(0b100 + 0o55), 31514 - 31506), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(2285 - 2235) + chr(48), 0b1000), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b110011) + chr(0b101010 + 0o15) + chr(1927 - 1872), 0b1000)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(0b101101 + 0o3) + '\x6f' + chr(0b110101) + chr(0b101111 + 0o1), 0o10)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xc0'), chr(0b1100100) + chr(8755 - 8654) + chr(99) + chr(111) + chr(0b111101 + 0o47) + chr(0b111110 + 0o47))('\x75' + chr(6202 - 6086) + chr(0b100001 + 0o105) + chr(0b100010 + 0o13) + chr(0b110000 + 0o10)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def JT_0uLJTrepd(vPPlOXQgR3SM):
yzPG9uwGKGjF = L6YB9g87uxKh.ones(ftfygxgFas5X(vPPlOXQgR3SM)).transpose()
vPPlOXQgR3SM = L6YB9g87uxKh.Tn6rGr7XTM7t(vPPlOXQgR3SM)
wJpOqKauo9id = SVfYwQaP38MC(L6YB9g87uxKh.nMrXkRpTQ9Oo, 180.0)
if ftfygxgFas5X(roI3spqORKae(vPPlOXQgR3SM, roI3spqORKae(ES5oEprVxulp(b'\x82\xfbKE\x05\xb7m\xbf\xd8\x98\xc3:'), chr(100) + chr(0b1100101) + chr(0b1100011) + chr(0b101000 + 0o107) + chr(0b1000001 + 0o43) + chr(101))(chr(4187 - 4070) + chr(116) + '\x66' + chr(45) + chr(1207 - 1151)))) > nzTpIcepk0o8(chr(48) + '\157' + '\061', 6608 - 6600):
(bTXCzeMYqEu3, xH_LrvA17fl7) = (vPPlOXQgR3SM[:, nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(2244 - 2196), 0b1000)] * wJpOqKauo9id, vPPlOXQgR3SM[:, nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(2399 - 2350), 8)] * wJpOqKauo9id)
if roI3spqORKae(vPPlOXQgR3SM, roI3spqORKae(ES5oEprVxulp(b'\x82\xfbKE\x05\xb7m\xbf\xd8\x98\xc3:'), '\144' + chr(7717 - 7616) + '\143' + chr(111) + '\x64' + chr(0b1100101))('\x75' + chr(10592 - 10476) + chr(0b1010111 + 0o17) + chr(0b10110 + 0o27) + chr(2199 - 2143)))[nzTpIcepk0o8(chr(48) + '\157' + chr(485 - 436), 8)] == nzTpIcepk0o8(chr(0b10 + 0o56) + chr(0b11011 + 0o124) + chr(0b110011), 0b1000):
yzPG9uwGKGjF = vPPlOXQgR3SM[:, nzTpIcepk0o8('\060' + chr(4122 - 4011) + chr(0b110010), 0o10)]
else:
(bTXCzeMYqEu3, xH_LrvA17fl7) = (L6YB9g87uxKh.Tn6rGr7XTM7t(vPPlOXQgR3SM[nzTpIcepk0o8('\x30' + chr(0b1100111 + 0o10) + chr(48), 8)]) * wJpOqKauo9id, L6YB9g87uxKh.Tn6rGr7XTM7t(vPPlOXQgR3SM[nzTpIcepk0o8(chr(0b10001 + 0o37) + chr(111) + '\x31', 8)]) * wJpOqKauo9id)
if ftfygxgFas5X(vPPlOXQgR3SM) == nzTpIcepk0o8(chr(48) + chr(0b1000 + 0o147) + chr(1368 - 1317), 8):
yzPG9uwGKGjF = L6YB9g87uxKh.Tn6rGr7XTM7t(vPPlOXQgR3SM[nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b11100 + 0o26), 8)])
else:
yzPG9uwGKGjF = L6YB9g87uxKh.Tn6rGr7XTM7t([1.0])
Gkr3gHkJnnl7 = L6YB9g87uxKh.array([yzPG9uwGKGjF * L6YB9g87uxKh.cos(bTXCzeMYqEu3) * L6YB9g87uxKh.cos(xH_LrvA17fl7), yzPG9uwGKGjF * L6YB9g87uxKh.sin(bTXCzeMYqEu3) * L6YB9g87uxKh.cos(xH_LrvA17fl7), yzPG9uwGKGjF * L6YB9g87uxKh.sin(xH_LrvA17fl7)]).transpose()
return Gkr3gHkJnnl7
|
PmagPy/PmagPy
|
SPD/lib/lib_directional_statistics.py
|
pmag_angle
|
def pmag_angle(D1,D2): # use this
"""
finds the angle between lists of two directions D1,D2
"""
D1 = numpy.array(D1)
if len(D1.shape) > 1:
D1 = D1[:,0:2] # strip off intensity
else: D1 = D1[:2]
D2 = numpy.array(D2)
if len(D2.shape) > 1:
D2 = D2[:,0:2] # strip off intensity
else: D2 = D2[:2]
X1 = dir2cart(D1) # convert to cartesian from polar
X2 = dir2cart(D2)
angles = [] # set up a list for angles
for k in range(X1.shape[0]): # single vector
angle = numpy.arccos(numpy.dot(X1[k],X2[k]))*180./numpy.pi # take the dot product
angle = angle%360.
angles.append(angle)
return numpy.array(angles)
|
python
|
def pmag_angle(D1,D2): # use this
"""
finds the angle between lists of two directions D1,D2
"""
D1 = numpy.array(D1)
if len(D1.shape) > 1:
D1 = D1[:,0:2] # strip off intensity
else: D1 = D1[:2]
D2 = numpy.array(D2)
if len(D2.shape) > 1:
D2 = D2[:,0:2] # strip off intensity
else: D2 = D2[:2]
X1 = dir2cart(D1) # convert to cartesian from polar
X2 = dir2cart(D2)
angles = [] # set up a list for angles
for k in range(X1.shape[0]): # single vector
angle = numpy.arccos(numpy.dot(X1[k],X2[k]))*180./numpy.pi # take the dot product
angle = angle%360.
angles.append(angle)
return numpy.array(angles)
|
[
"def",
"pmag_angle",
"(",
"D1",
",",
"D2",
")",
":",
"# use this ",
"D1",
"=",
"numpy",
".",
"array",
"(",
"D1",
")",
"if",
"len",
"(",
"D1",
".",
"shape",
")",
">",
"1",
":",
"D1",
"=",
"D1",
"[",
":",
",",
"0",
":",
"2",
"]",
"# strip off intensity",
"else",
":",
"D1",
"=",
"D1",
"[",
":",
"2",
"]",
"D2",
"=",
"numpy",
".",
"array",
"(",
"D2",
")",
"if",
"len",
"(",
"D2",
".",
"shape",
")",
">",
"1",
":",
"D2",
"=",
"D2",
"[",
":",
",",
"0",
":",
"2",
"]",
"# strip off intensity",
"else",
":",
"D2",
"=",
"D2",
"[",
":",
"2",
"]",
"X1",
"=",
"dir2cart",
"(",
"D1",
")",
"# convert to cartesian from polar",
"X2",
"=",
"dir2cart",
"(",
"D2",
")",
"angles",
"=",
"[",
"]",
"# set up a list for angles",
"for",
"k",
"in",
"range",
"(",
"X1",
".",
"shape",
"[",
"0",
"]",
")",
":",
"# single vector",
"angle",
"=",
"numpy",
".",
"arccos",
"(",
"numpy",
".",
"dot",
"(",
"X1",
"[",
"k",
"]",
",",
"X2",
"[",
"k",
"]",
")",
")",
"*",
"180.",
"/",
"numpy",
".",
"pi",
"# take the dot product",
"angle",
"=",
"angle",
"%",
"360.",
"angles",
".",
"append",
"(",
"angle",
")",
"return",
"numpy",
".",
"array",
"(",
"angles",
")"
] |
finds the angle between lists of two directions D1,D2
|
[
"finds",
"the",
"angle",
"between",
"lists",
"of",
"two",
"directions",
"D1",
"D2"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/SPD/lib/lib_directional_statistics.py#L172-L191
|
train
|
returns the angle between two lists of two directions D1 D2
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(1864 - 1813) + chr(54) + chr(51), 0b1000), nzTpIcepk0o8(chr(0b10001 + 0o37) + '\157' + chr(0b110010) + chr(54), ord("\x08")), nzTpIcepk0o8('\060' + '\x6f' + '\062' + chr(0b1011 + 0o46), 0b1000), nzTpIcepk0o8(chr(2197 - 2149) + chr(12232 - 12121) + '\x32' + '\x33' + chr(0b110001 + 0o4), ord("\x08")), nzTpIcepk0o8(chr(0b10111 + 0o31) + chr(0b10001 + 0o136) + '\061' + chr(0b110010) + chr(52), 0o10), nzTpIcepk0o8(chr(0b100111 + 0o11) + chr(1149 - 1038) + '\062' + chr(0b110101) + chr(0b11001 + 0o31), ord("\x08")), nzTpIcepk0o8(chr(0b1000 + 0o50) + '\x6f' + chr(0b110111) + '\x32', 38325 - 38317), nzTpIcepk0o8('\x30' + chr(111) + chr(0b110001) + chr(55) + chr(53), 0b1000), nzTpIcepk0o8(chr(786 - 738) + chr(111) + '\x32' + chr(0b101100 + 0o13) + chr(54), 0o10), nzTpIcepk0o8(chr(837 - 789) + '\x6f' + chr(0b110010) + chr(50) + '\x31', 0b1000), nzTpIcepk0o8('\060' + '\157' + '\063' + chr(1554 - 1502) + chr(49), ord("\x08")), nzTpIcepk0o8('\060' + chr(111) + chr(0b110011) + chr(0b110100) + '\061', 8), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(50), 0o10), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110001) + chr(0b11000 + 0o31) + chr(0b11100 + 0o25), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\067' + chr(483 - 428), 0o10), nzTpIcepk0o8(chr(0b1100 + 0o44) + chr(0b1101111) + '\x33' + '\x32' + chr(49), ord("\x08")), nzTpIcepk0o8('\060' + '\157' + chr(0b110001) + chr(49) + '\x34', 0b1000), nzTpIcepk0o8(chr(48) + chr(3608 - 3497) + chr(0b110011) + '\064' + chr(52), 0b1000), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\061' + chr(0b110110) + chr(0b1110 + 0o42), 0b1000), nzTpIcepk0o8('\060' + '\x6f' + chr(49) + chr(0b110000), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(2198 - 2087) + '\061' + '\x35' + '\066', 0o10), nzTpIcepk0o8(chr(272 - 224) + chr(8397 - 8286) + chr(0b11100 + 0o27) + '\062' + chr(48), ord("\x08")), nzTpIcepk0o8('\060' + '\157' + '\061' + chr(1059 - 1006) + '\063', ord("\x08")), nzTpIcepk0o8('\x30' + chr(111) + '\063' + chr(0b110101) + chr(0b10 + 0o61), ord("\x08")), nzTpIcepk0o8('\060' + '\157' + '\x33' + chr(0b110000) + chr(48), 0b1000), nzTpIcepk0o8(chr(0b100000 + 0o20) + chr(0b1011 + 0o144) + '\x32' + chr(0b110000) + '\x35', 0b1000), nzTpIcepk0o8(chr(1341 - 1293) + '\x6f' + '\065' + chr(348 - 300), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(10015 - 9904) + chr(1720 - 1667), 0o10), nzTpIcepk0o8('\x30' + '\157' + '\063' + chr(55) + chr(48), ord("\x08")), nzTpIcepk0o8('\060' + '\x6f' + chr(51) + chr(54 - 4) + chr(0b1001 + 0o55), 29015 - 29007), nzTpIcepk0o8(chr(0b10111 + 0o31) + '\x6f' + chr(50) + chr(0b110100) + chr(0b110111), 0o10), nzTpIcepk0o8('\x30' + '\x6f' + '\x33' + chr(52) + '\066', 0b1000), nzTpIcepk0o8('\x30' + chr(10066 - 9955) + chr(1718 - 1667), ord("\x08")), nzTpIcepk0o8(chr(1068 - 1020) + chr(111) + chr(49) + chr(48) + chr(0b10101 + 0o34), 0o10), nzTpIcepk0o8('\060' + chr(0b1101111) + '\x31' + chr(0b110000) + chr(2143 - 2094), 8), nzTpIcepk0o8('\060' + chr(11779 - 11668) + chr(55) + chr(1046 - 997), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(51) + chr(2061 - 2013) + chr(1761 - 1712), 0o10), nzTpIcepk0o8(chr(48) + '\157' + '\061' + '\x31' + '\x32', 0b1000), nzTpIcepk0o8('\x30' + chr(2145 - 2034) + '\x33' + '\062', 0b1000), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b11010 + 0o31) + '\x31' + chr(1057 - 1006), 0o10)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(48) + chr(2607 - 2496) + '\065' + chr(48), 8)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xdd'), chr(0b10 + 0o142) + chr(0b101000 + 0o75) + '\x63' + '\x6f' + chr(0b1100100) + chr(1684 - 1583))(chr(117) + chr(0b111000 + 0o74) + chr(0b1100110) + chr(0b101101) + '\070') + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def JRgLNyWgmflU(x4DXMgGqA_Tp, TxxPBtAGNf86):
x4DXMgGqA_Tp = L6YB9g87uxKh.Tn6rGr7XTM7t(x4DXMgGqA_Tp)
if ftfygxgFas5X(roI3spqORKae(x4DXMgGqA_Tp, roI3spqORKae(ES5oEprVxulp(b'\x9f~s\xd0d\x93\x08<\xf8\xc6\xd9\x87'), '\x64' + chr(0b1001001 + 0o34) + chr(0b1100011) + chr(111) + chr(0b1100100) + '\x65')(chr(11492 - 11375) + chr(116) + chr(102) + '\x2d' + chr(0b111000)))) > nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110001), 43857 - 43849):
x4DXMgGqA_Tp = x4DXMgGqA_Tp[:, nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(48), 17544 - 17536):nzTpIcepk0o8(chr(1647 - 1599) + chr(0b1101111) + chr(0b101 + 0o55), 8)]
else:
x4DXMgGqA_Tp = x4DXMgGqA_Tp[:nzTpIcepk0o8('\x30' + chr(894 - 783) + chr(0b110010), 8)]
TxxPBtAGNf86 = L6YB9g87uxKh.Tn6rGr7XTM7t(TxxPBtAGNf86)
if ftfygxgFas5X(roI3spqORKae(TxxPBtAGNf86, roI3spqORKae(ES5oEprVxulp(b'\x9f~s\xd0d\x93\x08<\xf8\xc6\xd9\x87'), chr(0b100001 + 0o103) + '\x65' + '\143' + chr(0b101110 + 0o101) + '\144' + chr(0b1100101))('\165' + chr(0b1110100) + '\146' + chr(0b101101) + '\x38'))) > nzTpIcepk0o8(chr(48) + '\x6f' + chr(232 - 183), 8):
TxxPBtAGNf86 = TxxPBtAGNf86[:, nzTpIcepk0o8('\x30' + chr(0b1100 + 0o143) + chr(48), 8):nzTpIcepk0o8('\x30' + chr(0b10010 + 0o135) + '\x32', 8)]
else:
TxxPBtAGNf86 = TxxPBtAGNf86[:nzTpIcepk0o8(chr(48) + chr(7544 - 7433) + chr(0b10110 + 0o34), 8)]
RGWlbYrtcNif = JT_0uLJTrepd(x4DXMgGqA_Tp)
ZR1p6dphXlR8 = JT_0uLJTrepd(TxxPBtAGNf86)
nxiKAmNULRrF = []
for B6UAF1zReOyJ in bbT2xIe5pzk7(roI3spqORKae(RGWlbYrtcNif, roI3spqORKae(ES5oEprVxulp(b'\x9f~s\xd0d\x93\x08<\xf8\xc6\xd9\x87'), '\144' + chr(0b1100101) + chr(8181 - 8082) + chr(0b1101111 + 0o0) + chr(0b1100100) + chr(101))(chr(0b1010011 + 0o42) + chr(2392 - 2276) + chr(0b1100110) + chr(0b10111 + 0o26) + '\070'))[nzTpIcepk0o8(chr(0b100 + 0o54) + chr(111) + chr(0b110000), 8)]):
aO7VavFy3Xvk = L6YB9g87uxKh.arccos(L6YB9g87uxKh.dot(RGWlbYrtcNif[B6UAF1zReOyJ], ZR1p6dphXlR8[B6UAF1zReOyJ])) * 180.0 / L6YB9g87uxKh.nMrXkRpTQ9Oo
aO7VavFy3Xvk = aO7VavFy3Xvk % 360.0
roI3spqORKae(nxiKAmNULRrF, roI3spqORKae(ES5oEprVxulp(b'\xbbBB\xa9,\xcd}\x12\xd4\xfe\xb4\xd4'), chr(0b110011 + 0o61) + '\145' + '\x63' + '\157' + chr(0b1100100) + chr(0b1100101))('\165' + chr(0b1110011 + 0o1) + chr(9785 - 9683) + chr(0b10 + 0o53) + chr(0b10000 + 0o50)))(aO7VavFy3Xvk)
return roI3spqORKae(L6YB9g87uxKh, roI3spqORKae(ES5oEprVxulp(b"\xa7x'\xef\x13\xd8\r%\xea\xdc\xd6\x95"), '\x64' + chr(101) + chr(99) + chr(0b1101111) + '\144' + chr(0b10011 + 0o122))(chr(8833 - 8716) + chr(116) + chr(0b1100010 + 0o4) + '\x2d' + chr(0b11010 + 0o36)))(nxiKAmNULRrF)
|
PmagPy/PmagPy
|
SPD/lib/lib_directional_statistics.py
|
new_get_angle_diff
|
def new_get_angle_diff(v1,v2):
"""returns angular difference in degrees between two vectors. may be more precise in certain cases. see SPD"""
v1 = numpy.array(v1)
v2 = numpy.array(v2)
angle = numpy.arctan2(numpy.linalg.norm(numpy.cross(v1, v2)), numpy.dot(v1, v2))
return math.degrees(angle)
|
python
|
def new_get_angle_diff(v1,v2):
"""returns angular difference in degrees between two vectors. may be more precise in certain cases. see SPD"""
v1 = numpy.array(v1)
v2 = numpy.array(v2)
angle = numpy.arctan2(numpy.linalg.norm(numpy.cross(v1, v2)), numpy.dot(v1, v2))
return math.degrees(angle)
|
[
"def",
"new_get_angle_diff",
"(",
"v1",
",",
"v2",
")",
":",
"v1",
"=",
"numpy",
".",
"array",
"(",
"v1",
")",
"v2",
"=",
"numpy",
".",
"array",
"(",
"v2",
")",
"angle",
"=",
"numpy",
".",
"arctan2",
"(",
"numpy",
".",
"linalg",
".",
"norm",
"(",
"numpy",
".",
"cross",
"(",
"v1",
",",
"v2",
")",
")",
",",
"numpy",
".",
"dot",
"(",
"v1",
",",
"v2",
")",
")",
"return",
"math",
".",
"degrees",
"(",
"angle",
")"
] |
returns angular difference in degrees between two vectors. may be more precise in certain cases. see SPD
|
[
"returns",
"angular",
"difference",
"in",
"degrees",
"between",
"two",
"vectors",
".",
"may",
"be",
"more",
"precise",
"in",
"certain",
"cases",
".",
"see",
"SPD"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/SPD/lib/lib_directional_statistics.py#L193-L198
|
train
|
returns angular difference in degrees between two vectors. may be more precise in certain cases.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(959 - 911) + '\157' + chr(51) + chr(49) + '\x32', 0o10), nzTpIcepk0o8('\x30' + chr(0b1001101 + 0o42) + chr(53) + chr(0b10111 + 0o34), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(7906 - 7795) + chr(2338 - 2289) + chr(80 - 29) + chr(0b1010 + 0o52), 58302 - 58294), nzTpIcepk0o8(chr(0b11 + 0o55) + chr(4739 - 4628) + '\x32' + chr(52) + '\063', 63208 - 63200), nzTpIcepk0o8('\060' + chr(0b1101111) + '\x33' + chr(55) + '\061', ord("\x08")), nzTpIcepk0o8(chr(48) + chr(111) + chr(0b10011 + 0o40) + chr(48) + chr(0b101110 + 0o11), 59687 - 59679), nzTpIcepk0o8(chr(0b110000) + chr(0b1000000 + 0o57) + chr(1351 - 1301) + chr(0b110010) + chr(48), ord("\x08")), nzTpIcepk0o8('\x30' + '\x6f' + chr(53) + chr(0b11010 + 0o32), 0o10), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b110011) + '\066' + chr(51), ord("\x08")), nzTpIcepk0o8('\060' + chr(0b1011011 + 0o24) + chr(0b110010) + chr(55) + chr(0b11111 + 0o26), 52281 - 52273), nzTpIcepk0o8('\x30' + chr(842 - 731) + '\x35' + chr(0b11111 + 0o27), 0o10), nzTpIcepk0o8(chr(48) + '\157' + chr(2362 - 2313) + '\066' + chr(0b100001 + 0o25), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1000000 + 0o57) + '\061' + chr(53) + chr(1415 - 1364), 0o10), nzTpIcepk0o8('\060' + '\157' + '\x31' + chr(147 - 95) + '\066', 0b1000), nzTpIcepk0o8(chr(48) + '\x6f' + chr(49) + '\x34' + chr(52), 3558 - 3550), nzTpIcepk0o8(chr(48) + chr(0b1001001 + 0o46) + chr(0b110010) + chr(0b110110), ord("\x08")), nzTpIcepk0o8('\x30' + '\157' + chr(1456 - 1405) + '\x31' + chr(861 - 813), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b110001 + 0o76) + chr(0b10001 + 0o41) + chr(2332 - 2283) + chr(0b100 + 0o56), ord("\x08")), nzTpIcepk0o8('\x30' + '\157' + chr(0b110010) + '\064' + '\x30', 63239 - 63231), nzTpIcepk0o8('\060' + chr(111) + '\063' + '\x32' + '\x36', 0o10), nzTpIcepk0o8(chr(48) + '\157' + '\x32' + '\x34' + chr(2580 - 2529), 8), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\061' + '\x32' + '\067', 27171 - 27163), nzTpIcepk0o8(chr(0b10111 + 0o31) + '\x6f' + chr(0b10111 + 0o33) + '\062' + chr(0b110100), 0b1000), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110011) + '\x35', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(597 - 547) + chr(2385 - 2333) + chr(0b110000), 8), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(1953 - 1902) + '\x34', 27136 - 27128), nzTpIcepk0o8(chr(48) + '\157' + '\061' + chr(0b110110) + chr(0b110010), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b110110 + 0o71) + chr(0b100101 + 0o15) + '\x37' + chr(48), 0b1000), nzTpIcepk0o8(chr(48) + chr(10707 - 10596) + chr(49) + chr(0b110001) + chr(0b110100), 0b1000), nzTpIcepk0o8(chr(48) + '\x6f' + '\x31' + chr(51) + '\067', 54823 - 54815), nzTpIcepk0o8(chr(0b11000 + 0o30) + chr(9291 - 9180) + '\x33' + chr(48) + '\065', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1001011 + 0o44) + chr(0b100011 + 0o16) + chr(0b110110) + chr(817 - 762), 0b1000), nzTpIcepk0o8('\060' + chr(111) + chr(0b110011) + chr(229 - 176) + chr(2144 - 2094), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1100100 + 0o13) + '\x33' + chr(53) + chr(49), ord("\x08")), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110001) + chr(686 - 638) + chr(0b110010), 41376 - 41368), nzTpIcepk0o8(chr(48) + chr(0b1010101 + 0o32) + '\x32' + chr(0b110100), 0o10), nzTpIcepk0o8(chr(0b100001 + 0o17) + chr(7297 - 7186) + chr(0b110010) + chr(2302 - 2250) + '\063', 8), nzTpIcepk0o8('\060' + chr(5454 - 5343) + chr(1317 - 1267) + '\x37' + chr(0b110111), 58297 - 58289), nzTpIcepk0o8(chr(248 - 200) + chr(11722 - 11611) + chr(184 - 135) + chr(0b11101 + 0o24) + chr(0b110001), 0o10), nzTpIcepk0o8(chr(48) + chr(2630 - 2519) + chr(0b1001 + 0o52) + chr(192 - 144) + chr(0b110101), 8)][ZlbFMSG8gCoF % nzTpIcepk0o8('\x30' + chr(0b1101111) + '\x35' + chr(0b100 + 0o54), ord("\x08"))] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xe4'), chr(100) + chr(4320 - 4219) + chr(0b1001000 + 0o33) + chr(10877 - 10766) + chr(3485 - 3385) + chr(0b1011100 + 0o11))(chr(0b1101100 + 0o11) + chr(0b1101100 + 0o10) + chr(0b1000100 + 0o42) + chr(0b10111 + 0o26) + '\x38') + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def QJUo6e4sSLMw(pDhUq4x6UMmH, uFA9Lk4IxvMH):
pDhUq4x6UMmH = L6YB9g87uxKh.Tn6rGr7XTM7t(pDhUq4x6UMmH)
uFA9Lk4IxvMH = L6YB9g87uxKh.Tn6rGr7XTM7t(uFA9Lk4IxvMH)
aO7VavFy3Xvk = L6YB9g87uxKh.arctan2(L6YB9g87uxKh.linalg.xBFFJFaziFDU(L6YB9g87uxKh.cross(pDhUq4x6UMmH, uFA9Lk4IxvMH)), L6YB9g87uxKh.dot(pDhUq4x6UMmH, uFA9Lk4IxvMH))
return roI3spqORKae(aQg01EfWg1cd, roI3spqORKae(ES5oEprVxulp(b'\xaeN;\xd1\x9c\xa2\xe3'), chr(0b1100100) + chr(0b1001011 + 0o32) + '\x63' + '\157' + '\x64' + '\145')(chr(0b1110101) + chr(0b110110 + 0o76) + '\x66' + '\x2d' + chr(0b111000)))(aO7VavFy3Xvk)
|
PmagPy/PmagPy
|
SPD/lib/lib_directional_statistics.py
|
get_angle_difference
|
def get_angle_difference(v1, v2):
"""returns angular difference in degrees between two vectors. takes in cartesian coordinates."""
v1 = numpy.array(v1)
v2 = numpy.array(v2)
angle=numpy.arccos(old_div((numpy.dot(v1, v2) ), (numpy.sqrt(math.fsum(v1**2)) * numpy.sqrt(math.fsum(v2**2)))))
return math.degrees(angle)
|
python
|
def get_angle_difference(v1, v2):
"""returns angular difference in degrees between two vectors. takes in cartesian coordinates."""
v1 = numpy.array(v1)
v2 = numpy.array(v2)
angle=numpy.arccos(old_div((numpy.dot(v1, v2) ), (numpy.sqrt(math.fsum(v1**2)) * numpy.sqrt(math.fsum(v2**2)))))
return math.degrees(angle)
|
[
"def",
"get_angle_difference",
"(",
"v1",
",",
"v2",
")",
":",
"v1",
"=",
"numpy",
".",
"array",
"(",
"v1",
")",
"v2",
"=",
"numpy",
".",
"array",
"(",
"v2",
")",
"angle",
"=",
"numpy",
".",
"arccos",
"(",
"old_div",
"(",
"(",
"numpy",
".",
"dot",
"(",
"v1",
",",
"v2",
")",
")",
",",
"(",
"numpy",
".",
"sqrt",
"(",
"math",
".",
"fsum",
"(",
"v1",
"**",
"2",
")",
")",
"*",
"numpy",
".",
"sqrt",
"(",
"math",
".",
"fsum",
"(",
"v2",
"**",
"2",
")",
")",
")",
")",
")",
"return",
"math",
".",
"degrees",
"(",
"angle",
")"
] |
returns angular difference in degrees between two vectors. takes in cartesian coordinates.
|
[
"returns",
"angular",
"difference",
"in",
"degrees",
"between",
"two",
"vectors",
".",
"takes",
"in",
"cartesian",
"coordinates",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/SPD/lib/lib_directional_statistics.py#L201-L206
|
train
|
returns angular difference in degrees between two vectors. takes in cartesian coordinates
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8('\060' + chr(0b110000 + 0o77) + '\x32' + '\x31' + chr(0b101111 + 0o3), 50944 - 50936), nzTpIcepk0o8(chr(0b11011 + 0o25) + '\157' + chr(1762 - 1713) + '\x36' + chr(0b110111), ord("\x08")), nzTpIcepk0o8(chr(0b1101 + 0o43) + chr(0b110100 + 0o73) + '\062' + '\x37' + chr(0b111 + 0o55), 45993 - 45985), nzTpIcepk0o8('\x30' + '\x6f' + '\x34' + chr(0b110010), 0b1000), nzTpIcepk0o8(chr(48) + '\x6f' + chr(49) + '\062' + '\062', 48303 - 48295), nzTpIcepk0o8(chr(2241 - 2193) + '\157' + '\x34' + '\x32', 8), nzTpIcepk0o8(chr(0b110000) + chr(0b110000 + 0o77) + '\x37' + '\x32', 0o10), nzTpIcepk0o8(chr(1010 - 962) + chr(0b110100 + 0o73) + chr(196 - 146) + chr(1466 - 1414) + chr(0b100100 + 0o16), 0b1000), nzTpIcepk0o8(chr(1370 - 1322) + chr(0b10111 + 0o130) + chr(54), 0o10), nzTpIcepk0o8(chr(0b1010 + 0o46) + '\x6f' + chr(49) + chr(0b110000) + '\x34', 41756 - 41748), nzTpIcepk0o8(chr(0b100100 + 0o14) + chr(111) + chr(0b110011) + '\x36' + chr(0b10100 + 0o35), 0b1000), nzTpIcepk0o8(chr(48) + chr(111) + chr(54) + chr(1231 - 1179), 0o10), nzTpIcepk0o8(chr(1468 - 1420) + '\x6f' + '\x32' + chr(0b101101 + 0o7) + '\063', 40960 - 40952), nzTpIcepk0o8(chr(0b110000) + chr(0b100001 + 0o116) + chr(50) + chr(0b110011) + chr(51), 3400 - 3392), nzTpIcepk0o8(chr(0b100110 + 0o12) + chr(111) + chr(0b10000 + 0o42) + chr(50) + '\x36', 0o10), nzTpIcepk0o8('\x30' + chr(0b1011100 + 0o23) + '\x31', 62371 - 62363), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(51) + chr(0b11110 + 0o30) + '\064', ord("\x08")), nzTpIcepk0o8(chr(1506 - 1458) + chr(111) + chr(0b110010) + chr(0b101011 + 0o7) + '\x30', 0o10), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\x32' + '\062', 0o10), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b110011) + chr(0b100100 + 0o16) + '\061', ord("\x08")), nzTpIcepk0o8(chr(966 - 918) + chr(0b1001101 + 0o42) + '\x36' + chr(49), 43537 - 43529), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(50) + chr(48) + chr(0b110010), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(50) + '\065' + chr(53), 0b1000), nzTpIcepk0o8(chr(0b1000 + 0o50) + chr(0b1101111) + chr(2420 - 2370) + chr(0b110100) + chr(159 - 106), 0b1000), nzTpIcepk0o8(chr(48) + '\157' + '\x33' + chr(0b110111) + '\x30', ord("\x08")), nzTpIcepk0o8(chr(0b1100 + 0o44) + chr(3470 - 3359) + '\063' + '\x33' + '\060', 0o10), nzTpIcepk0o8('\x30' + '\x6f' + chr(50) + '\064' + chr(0b110100), 44563 - 44555), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x31' + chr(53) + '\063', ord("\x08")), nzTpIcepk0o8(chr(0b10010 + 0o36) + '\x6f' + chr(677 - 627) + chr(0b110100) + chr(51), 8), nzTpIcepk0o8('\060' + chr(0b11100 + 0o123) + chr(0b100010 + 0o22), ord("\x08")), nzTpIcepk0o8(chr(1779 - 1731) + '\157' + chr(0b101011 + 0o7) + chr(53) + '\x37', ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\065' + '\060', 8678 - 8670), nzTpIcepk0o8('\060' + '\157' + chr(51) + chr(1455 - 1403) + chr(0b110010), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\062' + '\x37' + '\061', 42098 - 42090), nzTpIcepk0o8(chr(120 - 72) + chr(111) + chr(0b110011) + chr(53) + chr(0b110010), 29602 - 29594), nzTpIcepk0o8('\x30' + '\x6f' + chr(50) + '\x36' + '\x34', ord("\x08")), nzTpIcepk0o8(chr(2190 - 2142) + chr(0b101010 + 0o105) + '\067' + chr(0b110001 + 0o6), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1100 + 0o143) + chr(2001 - 1951) + '\x31' + chr(0b0 + 0o64), ord("\x08")), nzTpIcepk0o8('\x30' + '\157' + chr(51) + '\x30' + chr(55), 0b1000), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(1790 - 1739) + chr(53) + chr(0b110111), 51548 - 51540)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(1898 - 1850) + chr(4650 - 4539) + chr(53) + chr(0b110000), 8)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xa4'), chr(100) + chr(4932 - 4831) + chr(0b110010 + 0o61) + chr(0b110011 + 0o74) + chr(0b1100100) + chr(101))(chr(0b1110101) + chr(0b1011011 + 0o31) + '\x66' + chr(45) + chr(0b111000)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def lRH2O69chKa8(pDhUq4x6UMmH, uFA9Lk4IxvMH):
pDhUq4x6UMmH = L6YB9g87uxKh.Tn6rGr7XTM7t(pDhUq4x6UMmH)
uFA9Lk4IxvMH = L6YB9g87uxKh.Tn6rGr7XTM7t(uFA9Lk4IxvMH)
aO7VavFy3Xvk = L6YB9g87uxKh.arccos(SVfYwQaP38MC(L6YB9g87uxKh.dot(pDhUq4x6UMmH, uFA9Lk4IxvMH), L6YB9g87uxKh.sqrt(aQg01EfWg1cd.fsum(pDhUq4x6UMmH ** nzTpIcepk0o8(chr(48) + chr(4584 - 4473) + '\x32', 0b1000))) * L6YB9g87uxKh.sqrt(aQg01EfWg1cd.fsum(uFA9Lk4IxvMH ** nzTpIcepk0o8('\060' + chr(0b1001011 + 0o44) + chr(1690 - 1640), 8)))))
return roI3spqORKae(aQg01EfWg1cd, roI3spqORKae(ES5oEprVxulp(b'\xee\x12\xdbP7GI'), chr(100) + chr(4531 - 4430) + chr(0b100100 + 0o77) + chr(0b1101111) + '\x64' + chr(0b11010 + 0o113))(chr(7977 - 7860) + '\x74' + chr(0b1100110) + chr(0b10110 + 0o27) + chr(2107 - 2051)))(aO7VavFy3Xvk)
|
PmagPy/PmagPy
|
SPD/lib/lib_directional_statistics.py
|
get_ptrms_angle
|
def get_ptrms_angle(ptrms_best_fit_vector, B_lab_vector):
"""
gives angle between principal direction of the ptrm data and the b_lab vector. this is NOT in SPD, but taken from Ron Shaar's old thellier_gui.py code. see PmagPy on github
"""
ptrms_angle = math.degrees(math.acos(old_div(numpy.dot(ptrms_best_fit_vector,B_lab_vector),(numpy.sqrt(sum(ptrms_best_fit_vector**2)) * numpy.sqrt(sum(B_lab_vector**2)))))) # from old thellier_gui.py code
return ptrms_angle
|
python
|
def get_ptrms_angle(ptrms_best_fit_vector, B_lab_vector):
"""
gives angle between principal direction of the ptrm data and the b_lab vector. this is NOT in SPD, but taken from Ron Shaar's old thellier_gui.py code. see PmagPy on github
"""
ptrms_angle = math.degrees(math.acos(old_div(numpy.dot(ptrms_best_fit_vector,B_lab_vector),(numpy.sqrt(sum(ptrms_best_fit_vector**2)) * numpy.sqrt(sum(B_lab_vector**2)))))) # from old thellier_gui.py code
return ptrms_angle
|
[
"def",
"get_ptrms_angle",
"(",
"ptrms_best_fit_vector",
",",
"B_lab_vector",
")",
":",
"ptrms_angle",
"=",
"math",
".",
"degrees",
"(",
"math",
".",
"acos",
"(",
"old_div",
"(",
"numpy",
".",
"dot",
"(",
"ptrms_best_fit_vector",
",",
"B_lab_vector",
")",
",",
"(",
"numpy",
".",
"sqrt",
"(",
"sum",
"(",
"ptrms_best_fit_vector",
"**",
"2",
")",
")",
"*",
"numpy",
".",
"sqrt",
"(",
"sum",
"(",
"B_lab_vector",
"**",
"2",
")",
")",
")",
")",
")",
")",
"# from old thellier_gui.py code ",
"return",
"ptrms_angle"
] |
gives angle between principal direction of the ptrm data and the b_lab vector. this is NOT in SPD, but taken from Ron Shaar's old thellier_gui.py code. see PmagPy on github
|
[
"gives",
"angle",
"between",
"principal",
"direction",
"of",
"the",
"ptrm",
"data",
"and",
"the",
"b_lab",
"vector",
".",
"this",
"is",
"NOT",
"in",
"SPD",
"but",
"taken",
"from",
"Ron",
"Shaar",
"s",
"old",
"thellier_gui",
".",
"py",
"code",
".",
"see",
"PmagPy",
"on",
"github"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/SPD/lib/lib_directional_statistics.py#L236-L241
|
train
|
get_angle gives angle between principal direction of the ptrm data and the b_lab vector
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(0b110000) + chr(563 - 452) + chr(0b11001 + 0o31) + chr(2368 - 2317) + chr(2339 - 2290), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\x33' + chr(0b100100 + 0o23) + chr(0b100001 + 0o23), 10975 - 10967), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\x34' + '\064', ord("\x08")), nzTpIcepk0o8(chr(1804 - 1756) + chr(111) + '\x31' + chr(0b110111) + chr(48), ord("\x08")), nzTpIcepk0o8(chr(0b1100 + 0o44) + chr(0b1101111) + '\x31' + '\x35' + chr(0b10011 + 0o43), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(51) + '\x30' + '\061', 60626 - 60618), nzTpIcepk0o8('\x30' + chr(0b101111 + 0o100) + '\062' + chr(0b101100 + 0o13) + chr(0b110001), 0o10), nzTpIcepk0o8('\060' + '\157' + chr(52) + '\060', 0o10), nzTpIcepk0o8('\x30' + chr(0b1011101 + 0o22) + chr(0b110001) + chr(117 - 67) + chr(979 - 929), 0b1000), nzTpIcepk0o8('\x30' + chr(0b1101010 + 0o5) + '\x33' + chr(54), 0b1000), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b11001 + 0o32) + chr(0b110010) + chr(50), 0o10), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(49) + chr(0b101000 + 0o13) + '\065', 0b1000), nzTpIcepk0o8(chr(0b1 + 0o57) + '\x6f' + chr(49) + '\x33' + '\x31', ord("\x08")), nzTpIcepk0o8('\x30' + chr(770 - 659) + '\x31' + '\x35' + chr(0b1011 + 0o54), 28656 - 28648), nzTpIcepk0o8('\060' + chr(111) + '\x31' + '\x36' + chr(52), ord("\x08")), nzTpIcepk0o8(chr(0b1000 + 0o50) + '\157' + chr(51) + chr(0b110110) + chr(0b110010), 0o10), nzTpIcepk0o8(chr(0b100111 + 0o11) + chr(0b1000100 + 0o53) + '\x32' + chr(49) + '\x33', ord("\x08")), nzTpIcepk0o8('\060' + chr(0b1000110 + 0o51) + '\061' + chr(719 - 666) + '\x32', 0b1000), nzTpIcepk0o8(chr(48) + chr(111) + chr(1294 - 1243) + '\x35' + '\062', 58338 - 58330), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(1644 - 1594) + '\x34' + '\x34', 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\x31' + '\x31' + chr(670 - 622), 0o10), nzTpIcepk0o8('\060' + '\157' + chr(0b110011) + chr(0b110101) + chr(0b110101), 0o10), nzTpIcepk0o8('\x30' + chr(111) + '\x31' + chr(0b0 + 0o67) + chr(0b10 + 0o60), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1000001 + 0o56) + chr(532 - 481) + '\064', 39634 - 39626), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(51) + chr(0b10010 + 0o42) + chr(0b101011 + 0o7), 5228 - 5220), nzTpIcepk0o8(chr(0b110000) + chr(0b10000 + 0o137) + chr(51) + chr(0b100000 + 0o27) + '\x37', 0o10), nzTpIcepk0o8(chr(48) + '\157' + chr(0b100 + 0o56) + chr(2021 - 1967) + chr(0b110111), 0o10), nzTpIcepk0o8('\060' + chr(111) + chr(51) + chr(2297 - 2245) + chr(0b110000), 32790 - 32782), nzTpIcepk0o8(chr(0b110000) + '\157' + '\063' + chr(55) + '\067', 8), nzTpIcepk0o8(chr(0b110000) + chr(0b1011000 + 0o27) + '\063' + '\061' + chr(0b110101), ord("\x08")), nzTpIcepk0o8('\060' + chr(111) + chr(0b100011 + 0o16) + chr(0b110100) + '\060', ord("\x08")), nzTpIcepk0o8(chr(0b1010 + 0o46) + chr(0b111111 + 0o60) + chr(2081 - 2032) + '\060' + '\x35', 41889 - 41881), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(49) + chr(0b1011 + 0o51) + chr(365 - 313), 48673 - 48665), nzTpIcepk0o8(chr(0b110000) + chr(0b1011011 + 0o24) + chr(0b1110 + 0o47) + chr(133 - 80), ord("\x08")), nzTpIcepk0o8('\060' + '\x6f' + '\x31' + chr(0b110011) + chr(0b101000 + 0o11), 8), nzTpIcepk0o8(chr(0b110000) + chr(0b111000 + 0o67) + '\062' + '\064' + chr(0b101111 + 0o5), 8), nzTpIcepk0o8(chr(0b10101 + 0o33) + chr(0b1101111) + '\x33' + '\063' + '\063', 0o10), nzTpIcepk0o8(chr(48) + '\x6f' + chr(49) + chr(2730 - 2676) + chr(0b10001 + 0o37), 0b1000), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110001) + '\x33' + '\067', 0b1000), nzTpIcepk0o8(chr(48) + chr(111) + chr(0b1001 + 0o53) + chr(0b110000), 8)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b110101) + chr(48), ord("\x08"))] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xb7'), chr(6837 - 6737) + chr(0b1000111 + 0o36) + chr(99) + chr(0b1101111) + chr(0b11110 + 0o106) + chr(0b1100101))('\x75' + '\x74' + chr(0b1100110) + chr(0b101101) + chr(56)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def HDRiFzUDa4Mw(sgSbVRF6v1XD, KFJyCcgDodKv):
OU38Yaut5RvI = aQg01EfWg1cd.degrees(aQg01EfWg1cd.acos(SVfYwQaP38MC(L6YB9g87uxKh.dot(sgSbVRF6v1XD, KFJyCcgDodKv), L6YB9g87uxKh.sqrt(oclC8DLjA_lV(sgSbVRF6v1XD ** nzTpIcepk0o8('\x30' + chr(111) + chr(0b1010 + 0o50), 23982 - 23974))) * L6YB9g87uxKh.sqrt(oclC8DLjA_lV(KFJyCcgDodKv ** nzTpIcepk0o8('\060' + chr(0b1101111) + chr(50), 8))))))
return OU38Yaut5RvI
|
PmagPy/PmagPy
|
programs/remove_bad_chars.py
|
main
|
def main():
"""
Take out dos problem characters from any file
"""
filename = pmag.get_named_arg('-f')
if not filename:
return
with open(filename, 'rb+') as f:
content = f.read()
f.seek(0)
f.write(content.replace(b'\r', b''))
f.truncate()
|
python
|
def main():
"""
Take out dos problem characters from any file
"""
filename = pmag.get_named_arg('-f')
if not filename:
return
with open(filename, 'rb+') as f:
content = f.read()
f.seek(0)
f.write(content.replace(b'\r', b''))
f.truncate()
|
[
"def",
"main",
"(",
")",
":",
"filename",
"=",
"pmag",
".",
"get_named_arg",
"(",
"'-f'",
")",
"if",
"not",
"filename",
":",
"return",
"with",
"open",
"(",
"filename",
",",
"'rb+'",
")",
"as",
"f",
":",
"content",
"=",
"f",
".",
"read",
"(",
")",
"f",
".",
"seek",
"(",
"0",
")",
"f",
".",
"write",
"(",
"content",
".",
"replace",
"(",
"b'\\r'",
",",
"b''",
")",
")",
"f",
".",
"truncate",
"(",
")"
] |
Take out dos problem characters from any file
|
[
"Take",
"out",
"dos",
"problem",
"characters",
"from",
"any",
"file"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/programs/remove_bad_chars.py#L5-L16
|
train
|
Take out dos problem characters from any file
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8('\x30' + chr(0b1000001 + 0o56) + chr(0b110110) + '\066', 0o10), nzTpIcepk0o8('\060' + '\x6f' + chr(0b1001 + 0o50) + chr(0b101100 + 0o11) + '\067', 0b1000), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b110001 + 0o2) + '\x36' + chr(0b101111 + 0o5), ord("\x08")), nzTpIcepk0o8(chr(62 - 14) + chr(4159 - 4048) + chr(51), 0o10), nzTpIcepk0o8('\060' + chr(111) + chr(0b10000 + 0o43) + chr(0b100111 + 0o13) + '\066', ord("\x08")), nzTpIcepk0o8('\060' + '\157' + chr(0b110011) + '\x34' + chr(50), 61073 - 61065), nzTpIcepk0o8('\x30' + chr(0b1 + 0o156) + '\064' + chr(976 - 921), ord("\x08")), nzTpIcepk0o8(chr(48) + '\157' + chr(2310 - 2261) + chr(0b110110) + chr(0b100010 + 0o23), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b1010000 + 0o37) + chr(0b110001) + chr(0b110100) + chr(53), 12186 - 12178), nzTpIcepk0o8('\060' + chr(0b1110 + 0o141) + chr(51) + chr(0b110011) + chr(0b101011 + 0o6), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b10101 + 0o132) + chr(0b110 + 0o53) + chr(0b110010) + chr(55), 55833 - 55825), nzTpIcepk0o8(chr(0b10110 + 0o32) + chr(0b10111 + 0o130) + chr(0b110001) + chr(0b101010 + 0o13) + '\x33', ord("\x08")), nzTpIcepk0o8('\060' + chr(158 - 47) + chr(0b100010 + 0o21) + '\066' + '\x35', ord("\x08")), nzTpIcepk0o8(chr(1777 - 1729) + '\x6f' + chr(298 - 247) + '\x31' + chr(54), 34770 - 34762), nzTpIcepk0o8(chr(1594 - 1546) + chr(7720 - 7609) + chr(0b11011 + 0o30) + chr(55) + chr(0b110010), ord("\x08")), nzTpIcepk0o8(chr(610 - 562) + chr(0b1101111) + chr(0b100111 + 0o12) + '\x31', ord("\x08")), nzTpIcepk0o8(chr(0b1011 + 0o45) + chr(111) + chr(0b1100 + 0o46) + chr(0b110110) + chr(1062 - 1010), 0b1000), nzTpIcepk0o8(chr(48) + '\157' + chr(613 - 562) + chr(1408 - 1354) + '\x33', 8907 - 8899), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(2398 - 2348) + '\x37' + '\066', 0o10), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\x31' + '\063' + chr(968 - 919), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1010 + 0o145) + '\064' + chr(0b101101 + 0o3), 0b1000), nzTpIcepk0o8(chr(48) + chr(11931 - 11820) + '\x34' + chr(0b100001 + 0o23), ord("\x08")), nzTpIcepk0o8(chr(0b10100 + 0o34) + chr(111) + chr(0b110011) + chr(0b10100 + 0o34), ord("\x08")), nzTpIcepk0o8('\x30' + '\x6f' + chr(53) + chr(51), ord("\x08")), nzTpIcepk0o8(chr(0b101100 + 0o4) + chr(111) + '\067' + chr(0b110100), ord("\x08")), nzTpIcepk0o8(chr(0b10000 + 0o40) + chr(0b1101111) + chr(0b110001) + chr(1041 - 989), ord("\x08")), nzTpIcepk0o8(chr(1746 - 1698) + chr(0b1101111) + chr(0b10110 + 0o34) + chr(0b100 + 0o62) + '\x32', 0o10), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x31' + chr(0b100110 + 0o14) + '\x33', 0o10), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(1925 - 1875) + chr(0b100111 + 0o12) + '\063', ord("\x08")), nzTpIcepk0o8(chr(1701 - 1653) + chr(8821 - 8710) + chr(0b110010) + '\x33' + chr(0b100111 + 0o12), 20036 - 20028), nzTpIcepk0o8('\x30' + chr(0b1011011 + 0o24) + chr(0b110010) + chr(126 - 78) + chr(0b10001 + 0o37), 7231 - 7223), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\060', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\x32' + chr(0b100110 + 0o15) + chr(0b1110 + 0o50), 0o10), nzTpIcepk0o8(chr(1507 - 1459) + chr(0b1101111) + chr(0b100001 + 0o22) + chr(0b110 + 0o55) + chr(1063 - 1008), ord("\x08")), nzTpIcepk0o8(chr(968 - 920) + '\x6f' + '\062' + chr(0b100010 + 0o16) + chr(0b110001), 0b1000), nzTpIcepk0o8(chr(355 - 307) + chr(111) + chr(0b101011 + 0o7) + chr(389 - 338) + chr(1449 - 1399), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(111) + '\067' + chr(1817 - 1762), ord("\x08")), nzTpIcepk0o8(chr(0b1110 + 0o42) + chr(10434 - 10323) + '\x31' + chr(1639 - 1591), 58779 - 58771), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(765 - 715) + '\063' + '\066', 8), nzTpIcepk0o8('\060' + chr(111) + '\x37' + '\x30', ord("\x08"))][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(0b110000) + chr(5629 - 5518) + chr(1340 - 1287) + chr(0b110000), ord("\x08"))] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\x18'), chr(100) + chr(6085 - 5984) + chr(99) + '\157' + chr(0b110001 + 0o63) + chr(7399 - 7298))(chr(3174 - 3057) + chr(3894 - 3778) + '\x66' + '\055' + chr(56)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def BXHXH_QeD6rL():
FxZHtXEolYsL = hUcsWwAd0nE_.get_named_arg(roI3spqORKae(ES5oEprVxulp(b'\x1b\t'), chr(0b111101 + 0o47) + '\x65' + '\143' + chr(2541 - 2430) + chr(0b1100100) + chr(1101 - 1000))('\x75' + chr(0b1110100) + chr(102) + '\x2d' + chr(0b10100 + 0o44)))
if not FxZHtXEolYsL:
return
with DnU3Rq9N5ala(FxZHtXEolYsL, roI3spqORKae(ES5oEprVxulp(b'D\r\xdf'), chr(0b1100100) + chr(886 - 785) + chr(0b1100011) + chr(0b1011100 + 0o23) + '\x64' + chr(0b10000 + 0o125))(chr(893 - 776) + chr(12479 - 12363) + chr(0b1100110) + chr(0b101101) + chr(919 - 863))) as _R8IKF5IwAfX:
M0YikwrsEpm5 = _R8IKF5IwAfX.eoXknH7XUn7m()
roI3spqORKae(_R8IKF5IwAfX, roI3spqORKae(ES5oEprVxulp(b'E\n\x91h'), chr(100) + '\x65' + chr(7443 - 7344) + chr(0b10011 + 0o134) + chr(3831 - 3731) + chr(4722 - 4621))('\x75' + chr(0b1011 + 0o151) + chr(5109 - 5007) + '\055' + '\070'))(nzTpIcepk0o8('\060' + chr(0b111111 + 0o60) + chr(48), 8))
roI3spqORKae(_R8IKF5IwAfX, roI3spqORKae(ES5oEprVxulp(b'[\x03\xc4k\xbe\x92QD)\xa9&Y'), '\x64' + '\x65' + chr(99) + chr(12069 - 11958) + chr(100) + '\x65')(chr(0b1110011 + 0o2) + chr(3439 - 3323) + chr(0b1100110) + chr(0b11101 + 0o20) + '\070'))(roI3spqORKae(M0YikwrsEpm5, roI3spqORKae(ES5oEprVxulp(b"sV\xc5g\xb4\x93h/=\x9b'!"), chr(0b1100100) + chr(101) + '\143' + chr(10680 - 10569) + '\144' + chr(6304 - 6203))('\x75' + '\164' + chr(0b1010100 + 0o22) + chr(0b101001 + 0o4) + chr(0b111000)))(ES5oEprVxulp(b';'), ES5oEprVxulp(b'')))
roI3spqORKae(_R8IKF5IwAfX, roI3spqORKae(ES5oEprVxulp(b'B\x1d\x81m\xb5\x83S\x10'), chr(0b1100100) + chr(5140 - 5039) + '\143' + chr(0b1000010 + 0o55) + '\x64' + chr(9151 - 9050))(chr(0b1110101) + '\164' + chr(0b1001000 + 0o36) + chr(45) + chr(0b100010 + 0o26)))()
|
PmagPy/PmagPy
|
dialogs/pmag_menu_dialogs.py
|
add_thellier_gui_criteria
|
def add_thellier_gui_criteria(acceptance_criteria):
'''criteria used only in thellier gui
these criteria are not written to pmag_criteria.txt
'''
category="thellier_gui"
for crit in ['sample_int_n_outlier_check','site_int_n_outlier_check']:
acceptance_criteria[crit]={}
acceptance_criteria[crit]['category']=category
acceptance_criteria[crit]['criterion_name']=crit
acceptance_criteria[crit]['value']=-999
acceptance_criteria[crit]['threshold_type']="low"
acceptance_criteria[crit]['decimal_points']=0
for crit in ['sample_int_interval_uT','sample_int_interval_perc',\
'site_int_interval_uT','site_int_interval_perc',\
'sample_int_BS_68_uT','sample_int_BS_95_uT','sample_int_BS_68_perc','sample_int_BS_95_perc','specimen_int_max_slope_diff']:
acceptance_criteria[crit]={}
acceptance_criteria[crit]['category']=category
acceptance_criteria[crit]['criterion_name']=crit
acceptance_criteria[crit]['value']=-999
acceptance_criteria[crit]['threshold_type']="high"
if crit in ['specimen_int_max_slope_diff']:
acceptance_criteria[crit]['decimal_points']=-999
else:
acceptance_criteria[crit]['decimal_points']=1
acceptance_criteria[crit]['comments']="thellier_gui_only"
for crit in ['average_by_sample_or_site','interpreter_method']:
acceptance_criteria[crit]={}
acceptance_criteria[crit]['category']=category
acceptance_criteria[crit]['criterion_name']=crit
if crit in ['average_by_sample_or_site']:
acceptance_criteria[crit]['value']='sample'
if crit in ['interpreter_method']:
acceptance_criteria[crit]['value']='stdev_opt'
acceptance_criteria[crit]['threshold_type']="flag"
acceptance_criteria[crit]['decimal_points']=-999
for crit in ['include_nrm']:
acceptance_criteria[crit]={}
acceptance_criteria[crit]['category']=category
acceptance_criteria[crit]['criterion_name']=crit
acceptance_criteria[crit]['value']=True
acceptance_criteria[crit]['threshold_type']="bool"
acceptance_criteria[crit]['decimal_points']=-999
|
python
|
def add_thellier_gui_criteria(acceptance_criteria):
'''criteria used only in thellier gui
these criteria are not written to pmag_criteria.txt
'''
category="thellier_gui"
for crit in ['sample_int_n_outlier_check','site_int_n_outlier_check']:
acceptance_criteria[crit]={}
acceptance_criteria[crit]['category']=category
acceptance_criteria[crit]['criterion_name']=crit
acceptance_criteria[crit]['value']=-999
acceptance_criteria[crit]['threshold_type']="low"
acceptance_criteria[crit]['decimal_points']=0
for crit in ['sample_int_interval_uT','sample_int_interval_perc',\
'site_int_interval_uT','site_int_interval_perc',\
'sample_int_BS_68_uT','sample_int_BS_95_uT','sample_int_BS_68_perc','sample_int_BS_95_perc','specimen_int_max_slope_diff']:
acceptance_criteria[crit]={}
acceptance_criteria[crit]['category']=category
acceptance_criteria[crit]['criterion_name']=crit
acceptance_criteria[crit]['value']=-999
acceptance_criteria[crit]['threshold_type']="high"
if crit in ['specimen_int_max_slope_diff']:
acceptance_criteria[crit]['decimal_points']=-999
else:
acceptance_criteria[crit]['decimal_points']=1
acceptance_criteria[crit]['comments']="thellier_gui_only"
for crit in ['average_by_sample_or_site','interpreter_method']:
acceptance_criteria[crit]={}
acceptance_criteria[crit]['category']=category
acceptance_criteria[crit]['criterion_name']=crit
if crit in ['average_by_sample_or_site']:
acceptance_criteria[crit]['value']='sample'
if crit in ['interpreter_method']:
acceptance_criteria[crit]['value']='stdev_opt'
acceptance_criteria[crit]['threshold_type']="flag"
acceptance_criteria[crit]['decimal_points']=-999
for crit in ['include_nrm']:
acceptance_criteria[crit]={}
acceptance_criteria[crit]['category']=category
acceptance_criteria[crit]['criterion_name']=crit
acceptance_criteria[crit]['value']=True
acceptance_criteria[crit]['threshold_type']="bool"
acceptance_criteria[crit]['decimal_points']=-999
|
[
"def",
"add_thellier_gui_criteria",
"(",
"acceptance_criteria",
")",
":",
"category",
"=",
"\"thellier_gui\"",
"for",
"crit",
"in",
"[",
"'sample_int_n_outlier_check'",
",",
"'site_int_n_outlier_check'",
"]",
":",
"acceptance_criteria",
"[",
"crit",
"]",
"=",
"{",
"}",
"acceptance_criteria",
"[",
"crit",
"]",
"[",
"'category'",
"]",
"=",
"category",
"acceptance_criteria",
"[",
"crit",
"]",
"[",
"'criterion_name'",
"]",
"=",
"crit",
"acceptance_criteria",
"[",
"crit",
"]",
"[",
"'value'",
"]",
"=",
"-",
"999",
"acceptance_criteria",
"[",
"crit",
"]",
"[",
"'threshold_type'",
"]",
"=",
"\"low\"",
"acceptance_criteria",
"[",
"crit",
"]",
"[",
"'decimal_points'",
"]",
"=",
"0",
"for",
"crit",
"in",
"[",
"'sample_int_interval_uT'",
",",
"'sample_int_interval_perc'",
",",
"'site_int_interval_uT'",
",",
"'site_int_interval_perc'",
",",
"'sample_int_BS_68_uT'",
",",
"'sample_int_BS_95_uT'",
",",
"'sample_int_BS_68_perc'",
",",
"'sample_int_BS_95_perc'",
",",
"'specimen_int_max_slope_diff'",
"]",
":",
"acceptance_criteria",
"[",
"crit",
"]",
"=",
"{",
"}",
"acceptance_criteria",
"[",
"crit",
"]",
"[",
"'category'",
"]",
"=",
"category",
"acceptance_criteria",
"[",
"crit",
"]",
"[",
"'criterion_name'",
"]",
"=",
"crit",
"acceptance_criteria",
"[",
"crit",
"]",
"[",
"'value'",
"]",
"=",
"-",
"999",
"acceptance_criteria",
"[",
"crit",
"]",
"[",
"'threshold_type'",
"]",
"=",
"\"high\"",
"if",
"crit",
"in",
"[",
"'specimen_int_max_slope_diff'",
"]",
":",
"acceptance_criteria",
"[",
"crit",
"]",
"[",
"'decimal_points'",
"]",
"=",
"-",
"999",
"else",
":",
"acceptance_criteria",
"[",
"crit",
"]",
"[",
"'decimal_points'",
"]",
"=",
"1",
"acceptance_criteria",
"[",
"crit",
"]",
"[",
"'comments'",
"]",
"=",
"\"thellier_gui_only\"",
"for",
"crit",
"in",
"[",
"'average_by_sample_or_site'",
",",
"'interpreter_method'",
"]",
":",
"acceptance_criteria",
"[",
"crit",
"]",
"=",
"{",
"}",
"acceptance_criteria",
"[",
"crit",
"]",
"[",
"'category'",
"]",
"=",
"category",
"acceptance_criteria",
"[",
"crit",
"]",
"[",
"'criterion_name'",
"]",
"=",
"crit",
"if",
"crit",
"in",
"[",
"'average_by_sample_or_site'",
"]",
":",
"acceptance_criteria",
"[",
"crit",
"]",
"[",
"'value'",
"]",
"=",
"'sample'",
"if",
"crit",
"in",
"[",
"'interpreter_method'",
"]",
":",
"acceptance_criteria",
"[",
"crit",
"]",
"[",
"'value'",
"]",
"=",
"'stdev_opt'",
"acceptance_criteria",
"[",
"crit",
"]",
"[",
"'threshold_type'",
"]",
"=",
"\"flag\"",
"acceptance_criteria",
"[",
"crit",
"]",
"[",
"'decimal_points'",
"]",
"=",
"-",
"999",
"for",
"crit",
"in",
"[",
"'include_nrm'",
"]",
":",
"acceptance_criteria",
"[",
"crit",
"]",
"=",
"{",
"}",
"acceptance_criteria",
"[",
"crit",
"]",
"[",
"'category'",
"]",
"=",
"category",
"acceptance_criteria",
"[",
"crit",
"]",
"[",
"'criterion_name'",
"]",
"=",
"crit",
"acceptance_criteria",
"[",
"crit",
"]",
"[",
"'value'",
"]",
"=",
"True",
"acceptance_criteria",
"[",
"crit",
"]",
"[",
"'threshold_type'",
"]",
"=",
"\"bool\"",
"acceptance_criteria",
"[",
"crit",
"]",
"[",
"'decimal_points'",
"]",
"=",
"-",
"999"
] |
criteria used only in thellier gui
these criteria are not written to pmag_criteria.txt
|
[
"criteria",
"used",
"only",
"in",
"thellier",
"gui",
"these",
"criteria",
"are",
"not",
"written",
"to",
"pmag_criteria",
".",
"txt"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/dialogs/pmag_menu_dialogs.py#L1435-L1479
|
train
|
add criteria used only in thellier gui only
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8('\060' + '\157' + '\x32' + '\063' + '\063', 0o10), nzTpIcepk0o8(chr(48) + chr(0b110111 + 0o70) + chr(0b10010 + 0o41) + chr(0b11011 + 0o27) + chr(613 - 560), 0o10), nzTpIcepk0o8(chr(48) + chr(0b1011000 + 0o27) + chr(50) + chr(0b100000 + 0o20) + chr(49), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(1370 - 1320), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b100110 + 0o111) + '\063' + chr(0b10011 + 0o43) + '\x35', 0b1000), nzTpIcepk0o8('\x30' + chr(122 - 11) + '\061' + '\x32' + chr(281 - 232), 0b1000), nzTpIcepk0o8('\x30' + chr(111) + chr(50) + chr(52) + '\065', 50114 - 50106), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111 + 0o0) + chr(1074 - 1023) + '\x34' + chr(0b110111), 0o10), nzTpIcepk0o8(chr(0b11000 + 0o30) + '\x6f' + '\063' + chr(1505 - 1452) + '\063', 20314 - 20306), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(49) + '\064' + '\065', 0o10), nzTpIcepk0o8(chr(48) + chr(3308 - 3197) + '\066' + chr(0b101110 + 0o3), ord("\x08")), nzTpIcepk0o8('\x30' + chr(9104 - 8993) + '\x31' + chr(0b11111 + 0o24), 24388 - 24380), nzTpIcepk0o8(chr(0b101110 + 0o2) + chr(0b1000100 + 0o53) + chr(50) + '\x33' + chr(1717 - 1664), 0b1000), nzTpIcepk0o8(chr(0b10 + 0o56) + '\157' + chr(50) + chr(0b10000 + 0o40) + '\x36', 0o10), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(1002 - 953) + chr(435 - 382), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(111) + chr(0b101000 + 0o13) + chr(48) + chr(0b110110), 0b1000), nzTpIcepk0o8('\060' + chr(10689 - 10578) + '\062' + chr(356 - 303), 65400 - 65392), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(600 - 546) + chr(1821 - 1770), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\063' + chr(0b110000) + '\060', 12635 - 12627), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\x32' + chr(0b110000) + '\x37', 0o10), nzTpIcepk0o8(chr(0b100000 + 0o20) + chr(4492 - 4381) + '\065' + chr(2097 - 2049), 44149 - 44141), nzTpIcepk0o8('\x30' + chr(0b1111 + 0o140) + '\x32' + '\061' + chr(0b110100), 0b1000), nzTpIcepk0o8(chr(0b10010 + 0o36) + '\x6f' + chr(860 - 810) + '\x35' + chr(0b110100), 0o10), nzTpIcepk0o8(chr(617 - 569) + chr(7092 - 6981) + chr(51) + '\067' + '\x31', 0o10), nzTpIcepk0o8('\060' + chr(111) + chr(0b11001 + 0o31) + '\065', 8), nzTpIcepk0o8(chr(48) + chr(10593 - 10482) + '\062' + '\064' + chr(0b11011 + 0o26), ord("\x08")), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b101010 + 0o12) + chr(667 - 618), 60343 - 60335), nzTpIcepk0o8(chr(0b10 + 0o56) + chr(2610 - 2499) + chr(0b10011 + 0o36) + '\061' + chr(0b110101), 0o10), nzTpIcepk0o8(chr(48) + chr(111) + chr(0b1000 + 0o53) + chr(0b110101) + '\061', 0b1000), nzTpIcepk0o8(chr(388 - 340) + chr(0b1000010 + 0o55) + chr(0b110011) + '\x35' + chr(0b110 + 0o60), 13512 - 13504), nzTpIcepk0o8('\060' + '\x6f' + '\064' + chr(54), 0o10), nzTpIcepk0o8(chr(0b0 + 0o60) + chr(789 - 678) + '\x33' + chr(136 - 83), 26890 - 26882), nzTpIcepk0o8(chr(48) + chr(0b101010 + 0o105) + chr(55) + '\x35', 0o10), nzTpIcepk0o8('\x30' + chr(0b111 + 0o150) + '\061' + chr(52) + chr(48), ord("\x08")), nzTpIcepk0o8('\060' + chr(387 - 276) + chr(1193 - 1144) + '\066' + chr(0b1010 + 0o53), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\x33' + chr(55) + chr(51), 0o10), nzTpIcepk0o8(chr(48) + '\157' + chr(163 - 114) + '\x35' + '\066', 29871 - 29863), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(54) + '\066', 0o10), nzTpIcepk0o8('\x30' + chr(0b101010 + 0o105) + chr(0b1111 + 0o47) + '\062', 0o10), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(50) + '\064' + chr(0b101001 + 0o11), 0o10)][ZlbFMSG8gCoF % nzTpIcepk0o8('\x30' + chr(0b10111 + 0o130) + chr(0b110101) + chr(48), 8)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xb5'), chr(7090 - 6990) + chr(597 - 496) + chr(99) + chr(111) + chr(0b1011011 + 0o11) + '\x65')(chr(0b1110101) + chr(116) + '\x66' + chr(0b101101) + chr(56)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def leIvjZIF3MGb(MpLYV5cxpZrJ):
BSrC2NWCyUqG = roI3spqORKae(ES5oEprVxulp(b'\xef\xbd\xe4n\x998\xc0\x95\xb4\x02Db'), chr(0b1100100) + chr(0b101111 + 0o66) + chr(0b11110 + 0o105) + '\x6f' + '\144' + '\x65')(chr(0b1110101) + '\164' + chr(102) + chr(0b101000 + 0o5) + chr(0b100110 + 0o22))
for CdDbps1C4JkW in [roI3spqORKae(ES5oEprVxulp(b'\xe8\xb4\xecr\x994\xfa\x8e\x85\x11ne\xc2\xe9x\xb2yZ\xa5\xf5w\xef\xc4\x9cv\xca'), chr(0b1100100) + '\x65' + chr(0b1100011) + chr(0b1011111 + 0o20) + '\x64' + '\x65')('\165' + chr(10023 - 9907) + '\x66' + chr(504 - 459) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xe8\xbc\xf5g\xaa8\xcb\x93\xb4\x0bnd\xe8\xf2a\xafpA\x9f\xe4@\xe9\xcf\x92'), chr(0b101010 + 0o72) + chr(5229 - 5128) + '\143' + chr(7194 - 7083) + '\x64' + '\x65')(chr(5716 - 5599) + '\x74' + chr(0b1000111 + 0o37) + '\x2d' + chr(1887 - 1831))]:
MpLYV5cxpZrJ[CdDbps1C4JkW] = {}
MpLYV5cxpZrJ[CdDbps1C4JkW][roI3spqORKae(ES5oEprVxulp(b'\xf8\xb4\xf5g\x92>\xd7\x9e'), chr(0b1111 + 0o125) + chr(0b1001111 + 0o26) + chr(0b1100011) + chr(111) + '\x64' + chr(0b1001001 + 0o34))(chr(9476 - 9359) + chr(116) + chr(0b1100110) + chr(0b101100 + 0o1) + chr(2722 - 2666))] = BSrC2NWCyUqG
MpLYV5cxpZrJ[CdDbps1C4JkW][roI3spqORKae(ES5oEprVxulp(b'\xf8\xa7\xe8v\x90#\xcc\x88\x85:_j\xf0\xe3'), '\144' + chr(101) + chr(6486 - 6387) + '\157' + '\x64' + '\145')(chr(8654 - 8537) + chr(121 - 5) + '\x66' + chr(1480 - 1435) + chr(0b111000))] = CdDbps1C4JkW
MpLYV5cxpZrJ[CdDbps1C4JkW][roI3spqORKae(ES5oEprVxulp(b'\xed\xb4\xedw\x90'), chr(0b1100100) + '\x65' + chr(99) + '\x6f' + chr(100) + chr(0b100111 + 0o76))(chr(117) + '\x74' + '\x66' + '\x2d' + '\x38')] = -nzTpIcepk0o8('\060' + chr(111) + chr(0b11001 + 0o30) + '\x37' + chr(0b110000 + 0o4) + chr(0b110111), 0b1000)
MpLYV5cxpZrJ[CdDbps1C4JkW][roI3spqORKae(ES5oEprVxulp(b'\xef\xbd\xf3g\x869\xca\x8b\x8f:Er\xed\xe3'), chr(0b1100100) + chr(0b1100101) + '\x63' + '\x6f' + '\x64' + chr(0b101110 + 0o67))(chr(0b11101 + 0o130) + chr(2665 - 2549) + chr(0b1100110) + '\055' + chr(56))] = roI3spqORKae(ES5oEprVxulp(b'\xf7\xba\xf6'), chr(6484 - 6384) + chr(101) + chr(0b110110 + 0o55) + '\x6f' + chr(100) + chr(6835 - 6734))('\x75' + chr(116) + '\146' + chr(1020 - 975) + chr(56))
MpLYV5cxpZrJ[CdDbps1C4JkW][roI3spqORKae(ES5oEprVxulp(b'\xff\xb0\xe2k\x980\xc9\xb8\x9b\nXe\xe9\xf5'), chr(0b1000011 + 0o41) + '\x65' + chr(99) + chr(111) + '\144' + '\145')(chr(0b100000 + 0o125) + chr(0b1111 + 0o145) + '\146' + chr(0b11000 + 0o25) + chr(56))] = nzTpIcepk0o8(chr(0b110000) + '\157' + '\x30', 17210 - 17202)
for CdDbps1C4JkW in [roI3spqORKae(ES5oEprVxulp(b'\xe8\xb4\xecr\x994\xfa\x8e\x85\x11nb\xf3\xf2h\xb4cR\xac\xd8]\xd8'), chr(2302 - 2202) + chr(5281 - 5180) + chr(99) + chr(111) + chr(2882 - 2782) + '\x65')(chr(117) + '\x74' + '\x66' + chr(1436 - 1391) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xe8\xb4\xecr\x994\xfa\x8e\x85\x11nb\xf3\xf2h\xb4cR\xac\xd8X\xe9\xde\x9a'), chr(0b1100100) + '\145' + chr(0b1100011 + 0o0) + chr(0b1101111) + chr(0b1100100) + chr(0b1100000 + 0o5))('\x75' + chr(116) + chr(3874 - 3772) + chr(0b101101) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xe8\xbc\xf5g\xaa8\xcb\x93\xb4\x0c_\x7f\xf8\xf4{\xa7yl\xb5\xd3'), chr(0b1100100) + chr(5525 - 5424) + '\x63' + '\x6f' + chr(0b1100100) + '\x65')(chr(0b1110101) + chr(0b1110100) + chr(0b110000 + 0o66) + chr(0b101101) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xe8\xbc\xf5g\xaa8\xcb\x93\xb4\x0c_\x7f\xf8\xf4{\xa7yl\xb0\xe2Z\xef'), '\x64' + chr(0b1001110 + 0o27) + '\143' + chr(0b1101000 + 0o7) + chr(0b1100100) + chr(0b101001 + 0o74))(chr(3048 - 2931) + '\164' + chr(0b1100110) + '\055' + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xe8\xb4\xecr\x994\xfa\x8e\x85\x11nI\xce\xd9;\xfeJF\x94'), '\144' + chr(0b1100101) + chr(99) + '\x6f' + chr(100) + chr(0b1100 + 0o131))(chr(3427 - 3310) + chr(116) + chr(0b110010 + 0o64) + chr(0b1101 + 0o40) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xe8\xb4\xecr\x994\xfa\x8e\x85\x11nI\xce\xd94\xf3JF\x94'), '\144' + '\145' + chr(6686 - 6587) + chr(111) + chr(9091 - 8991) + chr(0b1011100 + 0o11))(chr(0b111010 + 0o73) + chr(0b100101 + 0o117) + '\146' + chr(0b101101) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xe8\xb4\xecr\x994\xfa\x8e\x85\x11nI\xce\xd9;\xfeJC\xa5\xf5K'), chr(0b1001011 + 0o31) + chr(101) + chr(99) + chr(1526 - 1415) + chr(0b1100100) + chr(101))(chr(117) + chr(116) + '\x66' + chr(1659 - 1614) + chr(0b11111 + 0o31)), roI3spqORKae(ES5oEprVxulp(b'\xe8\xb4\xecr\x994\xfa\x8e\x85\x11nI\xce\xd94\xf3JC\xa5\xf5K'), '\144' + chr(0b101011 + 0o72) + '\143' + chr(0b100101 + 0o112) + chr(348 - 248) + chr(101))(chr(0b1010011 + 0o42) + chr(116) + chr(0b0 + 0o146) + '\x2d' + chr(509 - 453)), roI3spqORKae(ES5oEprVxulp(b'\xe8\xa5\xe4a\x9c<\xc0\x89\xb4\x0c_\x7f\xc2\xebl\xbeJ@\xac\xe8X\xe9\xf3\x9d|\xc7G'), chr(8266 - 8166) + '\x65' + '\x63' + '\157' + '\144' + chr(0b1100101))(chr(0b1110101) + chr(0b1010100 + 0o40) + chr(0b1100110) + chr(45) + chr(0b111000))]:
MpLYV5cxpZrJ[CdDbps1C4JkW] = {}
MpLYV5cxpZrJ[CdDbps1C4JkW][roI3spqORKae(ES5oEprVxulp(b'\xf8\xb4\xf5g\x92>\xd7\x9e'), chr(8053 - 7953) + '\x65' + chr(0b1100011) + '\157' + chr(3472 - 3372) + chr(0b1100101))(chr(117) + chr(116) + chr(0b1100110) + chr(45) + chr(2210 - 2154))] = BSrC2NWCyUqG
MpLYV5cxpZrJ[CdDbps1C4JkW][roI3spqORKae(ES5oEprVxulp(b'\xf8\xa7\xe8v\x90#\xcc\x88\x85:_j\xf0\xe3'), '\144' + chr(0b1100101) + chr(7135 - 7036) + chr(111) + '\x64' + '\x65')(chr(117) + chr(116) + chr(0b101 + 0o141) + chr(0b0 + 0o55) + chr(0b111000))] = CdDbps1C4JkW
MpLYV5cxpZrJ[CdDbps1C4JkW][roI3spqORKae(ES5oEprVxulp(b'\xed\xb4\xedw\x90'), '\144' + '\145' + chr(6288 - 6189) + chr(0b1101 + 0o142) + chr(794 - 694) + '\x65')(chr(0b10100 + 0o141) + '\164' + chr(102) + '\055' + chr(0b101011 + 0o15))] = -nzTpIcepk0o8(chr(48) + '\157' + '\061' + '\067' + '\x34' + '\x37', 8)
MpLYV5cxpZrJ[CdDbps1C4JkW][roI3spqORKae(ES5oEprVxulp(b'\xef\xbd\xf3g\x869\xca\x8b\x8f:Er\xed\xe3'), chr(5847 - 5747) + chr(9161 - 9060) + chr(7517 - 7418) + chr(0b10011 + 0o134) + chr(100) + chr(0b1100001 + 0o4))(chr(0b1001110 + 0o47) + '\x74' + '\146' + '\055' + chr(56))] = roI3spqORKae(ES5oEprVxulp(b'\xf3\xbc\xe6j'), '\144' + chr(9214 - 9113) + chr(99) + '\157' + '\x64' + chr(0b1010 + 0o133))(chr(0b1001011 + 0o52) + '\164' + '\146' + chr(0b10001 + 0o34) + '\070')
if CdDbps1C4JkW in [roI3spqORKae(ES5oEprVxulp(b'\xe8\xa5\xe4a\x9c<\xc0\x89\xb4\x0c_\x7f\xc2\xebl\xbeJ@\xac\xe8X\xe9\xf3\x9d|\xc7G'), chr(0b1001000 + 0o34) + chr(101) + '\143' + chr(0b1101111) + chr(0b1100100) + chr(0b1100101))(chr(117) + '\164' + '\x66' + chr(1905 - 1860) + '\x38')]:
MpLYV5cxpZrJ[CdDbps1C4JkW][roI3spqORKae(ES5oEprVxulp(b'\xff\xb0\xe2k\x980\xc9\xb8\x9b\nXe\xe9\xf5'), '\144' + chr(0b1011101 + 0o10) + chr(0b1010000 + 0o23) + chr(0b101110 + 0o101) + chr(0b1001010 + 0o32) + chr(5583 - 5482))('\165' + chr(116) + chr(0b1100110) + chr(681 - 636) + chr(0b111000))] = -nzTpIcepk0o8('\x30' + '\157' + chr(0b110001) + chr(116 - 61) + chr(52) + chr(896 - 841), 8)
else:
MpLYV5cxpZrJ[CdDbps1C4JkW][roI3spqORKae(ES5oEprVxulp(b'\xff\xb0\xe2k\x980\xc9\xb8\x9b\nXe\xe9\xf5'), chr(0b1000010 + 0o42) + chr(0b1100101) + '\143' + '\x6f' + chr(100) + chr(101))('\165' + chr(0b1110100) + chr(0b1100110) + '\x2d' + '\x38')] = nzTpIcepk0o8(chr(48) + chr(3669 - 3558) + chr(1793 - 1744), ord("\x08"))
MpLYV5cxpZrJ[CdDbps1C4JkW][roI3spqORKae(ES5oEprVxulp(b'\xf8\xba\xeco\x90?\xd1\x94'), chr(6106 - 6006) + '\x65' + chr(0b1000100 + 0o37) + chr(0b1101111) + chr(100) + chr(6625 - 6524))('\x75' + chr(0b110 + 0o156) + chr(0b10110 + 0o120) + chr(690 - 645) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\xef\xbd\xe4n\x998\xc0\x95\xb4\x02Db\xc2\xe9c\xaal'), chr(100) + chr(101) + chr(99) + '\157' + chr(0b1100100) + chr(4060 - 3959))(chr(0b100 + 0o161) + '\164' + '\146' + chr(1699 - 1654) + chr(0b111000))
for CdDbps1C4JkW in [roI3spqORKae(ES5oEprVxulp(b'\xfa\xa3\xe4p\x946\xc0\xb8\x89\x1cnx\xfc\xeb}\xaapl\xaf\xf5w\xff\xc5\x8dp'), chr(100) + chr(4865 - 4764) + chr(5999 - 5900) + '\x6f' + chr(100) + '\145')(chr(0b1110101) + chr(0b1110100) + chr(0b111 + 0o137) + chr(1381 - 1336) + chr(1118 - 1062)), roI3spqORKae(ES5oEprVxulp(b'\xf2\xbb\xf5g\x87!\xd7\x82\x9f\x00CT\xf0\xe3y\xaezW'), '\x64' + chr(538 - 437) + chr(99) + chr(0b110000 + 0o77) + chr(0b1011100 + 0o10) + '\x65')(chr(117) + chr(0b1110100) + '\x66' + '\055' + chr(0b110 + 0o62))]:
MpLYV5cxpZrJ[CdDbps1C4JkW] = {}
MpLYV5cxpZrJ[CdDbps1C4JkW][roI3spqORKae(ES5oEprVxulp(b'\xf8\xb4\xf5g\x92>\xd7\x9e'), '\x64' + '\x65' + chr(99) + '\157' + chr(100) + chr(101))('\165' + chr(116) + chr(102) + chr(896 - 851) + chr(0b111000))] = BSrC2NWCyUqG
MpLYV5cxpZrJ[CdDbps1C4JkW][roI3spqORKae(ES5oEprVxulp(b'\xf8\xa7\xe8v\x90#\xcc\x88\x85:_j\xf0\xe3'), chr(0b1001010 + 0o32) + '\145' + '\143' + chr(0b10010 + 0o135) + '\x64' + chr(0b101100 + 0o71))(chr(8038 - 7921) + '\x74' + chr(102) + chr(45) + chr(56))] = CdDbps1C4JkW
if CdDbps1C4JkW in [roI3spqORKae(ES5oEprVxulp(b'\xfa\xa3\xe4p\x946\xc0\xb8\x89\x1cnx\xfc\xeb}\xaapl\xaf\xf5w\xff\xc5\x8dp'), '\x64' + chr(0b1100101) + chr(0b1100011) + chr(111) + chr(0b1100100) + '\145')(chr(0b1110101) + chr(0b101 + 0o157) + chr(6310 - 6208) + '\055' + chr(56))]:
MpLYV5cxpZrJ[CdDbps1C4JkW][roI3spqORKae(ES5oEprVxulp(b'\xed\xb4\xedw\x90'), chr(100) + chr(0b1100010 + 0o3) + chr(6541 - 6442) + chr(1619 - 1508) + chr(4480 - 4380) + '\145')(chr(0b1110101) + '\x74' + chr(0b1100110) + '\x2d' + chr(0b111000 + 0o0))] = roI3spqORKae(ES5oEprVxulp(b'\xe8\xb4\xecr\x994'), chr(5367 - 5267) + '\145' + '\143' + chr(111) + '\x64' + chr(101))(chr(0b1110101) + '\x74' + chr(102) + chr(250 - 205) + chr(56))
if CdDbps1C4JkW in [roI3spqORKae(ES5oEprVxulp(b'\xf2\xbb\xf5g\x87!\xd7\x82\x9f\x00CT\xf0\xe3y\xaezW'), '\x64' + chr(101) + chr(0b1011001 + 0o12) + chr(111) + '\x64' + chr(0b1100101))(chr(0b1110101) + chr(3905 - 3789) + '\x66' + chr(0b101101) + chr(0b111000))]:
MpLYV5cxpZrJ[CdDbps1C4JkW][roI3spqORKae(ES5oEprVxulp(b'\xed\xb4\xedw\x90'), '\x64' + '\145' + chr(5995 - 5896) + chr(0b1101111) + '\144' + chr(101))(chr(0b110110 + 0o77) + '\164' + '\146' + chr(45) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\xe8\xa1\xe5g\x83\x0e\xca\x97\x9f'), chr(3232 - 3132) + chr(101) + chr(99) + '\157' + chr(100) + chr(101))(chr(117) + chr(0b1110100) + chr(10387 - 10285) + '\055' + chr(56))
MpLYV5cxpZrJ[CdDbps1C4JkW][roI3spqORKae(ES5oEprVxulp(b'\xef\xbd\xf3g\x869\xca\x8b\x8f:Er\xed\xe3'), chr(0b1111 + 0o125) + chr(101) + '\x63' + '\x6f' + chr(0b1100100) + '\x65')(chr(12388 - 12271) + chr(0b1110100) + '\x66' + '\055' + chr(56))] = roI3spqORKae(ES5oEprVxulp(b'\xfd\xb9\xe0e'), '\x64' + chr(101) + '\x63' + chr(0b10010 + 0o135) + '\144' + chr(0b1100101))(chr(0b1110101) + chr(0b111110 + 0o66) + chr(102) + chr(0b101101) + '\070')
MpLYV5cxpZrJ[CdDbps1C4JkW][roI3spqORKae(ES5oEprVxulp(b'\xff\xb0\xe2k\x980\xc9\xb8\x9b\nXe\xe9\xf5'), chr(100) + '\x65' + '\x63' + '\x6f' + chr(0b1000100 + 0o40) + chr(8678 - 8577))('\165' + chr(0b1110011 + 0o1) + chr(0b1100110) + chr(0b101101) + chr(3123 - 3067))] = -nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b11001 + 0o30) + chr(541 - 486) + '\x34' + chr(55), 8)
for CdDbps1C4JkW in [roI3spqORKae(ES5oEprVxulp(b'\xf2\xbb\xe2n\x805\xc0\xb8\x85\x17\\'), chr(100) + '\145' + chr(99) + chr(4648 - 4537) + '\144' + '\145')(chr(10463 - 10346) + '\164' + chr(102) + '\x2d' + chr(2287 - 2231))]:
MpLYV5cxpZrJ[CdDbps1C4JkW] = {}
MpLYV5cxpZrJ[CdDbps1C4JkW][roI3spqORKae(ES5oEprVxulp(b'\xf8\xb4\xf5g\x92>\xd7\x9e'), chr(100) + chr(0b1100101) + chr(0b100110 + 0o75) + chr(111) + chr(100) + chr(0b1100101))(chr(12287 - 12170) + chr(116) + chr(6838 - 6736) + chr(0b101101) + chr(56))] = BSrC2NWCyUqG
MpLYV5cxpZrJ[CdDbps1C4JkW][roI3spqORKae(ES5oEprVxulp(b'\xf8\xa7\xe8v\x90#\xcc\x88\x85:_j\xf0\xe3'), chr(7390 - 7290) + '\145' + '\143' + chr(111) + '\144' + '\145')(chr(0b100111 + 0o116) + '\x74' + chr(102) + chr(45) + chr(56))] = CdDbps1C4JkW
MpLYV5cxpZrJ[CdDbps1C4JkW][roI3spqORKae(ES5oEprVxulp(b'\xed\xb4\xedw\x90'), chr(100) + chr(0b11101 + 0o110) + chr(99) + '\x6f' + chr(0b11011 + 0o111) + '\x65')(chr(0b1110101) + chr(0b11010 + 0o132) + chr(9653 - 9551) + chr(45) + chr(0b11 + 0o65))] = nzTpIcepk0o8(chr(0b100 + 0o54) + chr(111) + chr(0b101 + 0o54), 8)
MpLYV5cxpZrJ[CdDbps1C4JkW][roI3spqORKae(ES5oEprVxulp(b'\xef\xbd\xf3g\x869\xca\x8b\x8f:Er\xed\xe3'), chr(100) + chr(0b1000000 + 0o45) + chr(272 - 173) + chr(7304 - 7193) + chr(923 - 823) + chr(0b1100101))(chr(117) + '\164' + chr(102) + chr(0b10001 + 0o34) + chr(56))] = roI3spqORKae(ES5oEprVxulp(b'\xf9\xba\xeen'), '\144' + chr(101) + '\x63' + chr(10743 - 10632) + chr(0b101000 + 0o74) + chr(0b1100101))(chr(0b1110101) + chr(0b1100111 + 0o15) + chr(102) + chr(45) + chr(0b111000))
MpLYV5cxpZrJ[CdDbps1C4JkW][roI3spqORKae(ES5oEprVxulp(b'\xff\xb0\xe2k\x980\xc9\xb8\x9b\nXe\xe9\xf5'), chr(0b110000 + 0o64) + chr(0b100 + 0o141) + chr(99) + '\157' + chr(0b1100100) + chr(0b1100101))('\165' + '\x74' + chr(5051 - 4949) + '\055' + '\x38')] = -nzTpIcepk0o8(chr(344 - 296) + '\x6f' + chr(49) + '\067' + '\x34' + chr(55), 8)
|
PmagPy/PmagPy
|
dialogs/pmag_menu_dialogs.py
|
Core_depthplot.on_okButton
|
def on_okButton(self, event):
"""
meas_file # -f magic_measurements_file
samp_file #-fsa er_samples_file
age_file # -fa er_ages_file
depth_scale # -ds scale
dmin, dmax # -d 1 50 # depth to plot
timescale, amin, amax (also sets pTS, pcol, width) = # -ts scale min max
sym, size # -sym symbol size
method, step (also may set suc_key) # -LP protocol step
pltDec (also sets pcol, pel, width)# -D (don't plot dec)
pltInc (also sets pcol, pel, width)# -I (don't plot inc)
pltMag (also sets pcol, pel, width)# -M (don't plot intensity)
logit # -log ( plot log scale)
fmt # -fmt format
"""
def check_input_dir_path(input_dir_path, new_dir_path):
if input_dir_path and input_dir_path != new_dir_path:
pw.simple_warning("Please make sure that all input files come from the same directory")
return False
if not input_dir_path and new_dir_path:
return new_dir_path
elif input_dir_path == new_dir_path:
return input_dir_path
wait = wx.BusyInfo('Making plots, please wait...')
wx.SafeYield()
os.chdir(self.WD)
input_dir_path = None
meas_file = self.bSizer0.return_value()
if meas_file:
input_dir_path, meas_file = os.path.split(meas_file)
pmag_spec_file = self.bSizer0a.return_value()
if pmag_spec_file:
new_dir_path, pmag_spec_file = os.path.split(pmag_spec_file)
input_dir_path = check_input_dir_path(input_dir_path, new_dir_path)
if not input_dir_path:
del wait
return False
sum_file = self.bSizer2.return_value()
if sum_file:
new_dir_path, sum_file = os.path.split(sum_file)
input_dir_path = check_input_dir_path(input_dir_path, new_dir_path)
if not input_dir_path:
del wait
return False
spec_sym, spec_sym_shape, spec_sym_color, spec_sym_size = "", "", "", ""
if pmag_spec_file:
# get symbol/size for dots
spec_sym_shape = self.shape_choices_dict[self.bSizer0a2.return_value()]
spec_sym_color = self.bSizer0a1.return_value()[0]
spec_sym_size = self.bSizer0a3.return_value()
spec_sym = str(spec_sym_color) + str(spec_sym_shape)
use_sampfile = self.bSizer1a.return_value()
if use_sampfile:
new_dir_path, samp_file = os.path.split(str(self.bSizer1.return_value()))
age_file = ''
input_dir_path = check_input_dir_path(input_dir_path, new_dir_path)
if not input_dir_path:
del wait
return False
else:
samp_file = ''
new_dir_path, age_file = os.path.split(self.bSizer1.return_value())
input_dir_path = check_input_dir_path(input_dir_path, new_dir_path)
if not input_dir_path:
del wait
return False
depth_scale = self.bSizer8.return_value()
if age_file:
depth_scale='age'
elif depth_scale:
depth_scale = 'sample_core_depth' #'mbsf'
else:
depth_scale = 'sample_composite_depth' #'mcd'
dmin = self.bSizer6.return_value()
dmax = self.bSizer7.return_value()
if self.bSizer9.return_value(): # if plot GPTS is checked
pltTime = 1
timescale = self.bSizer10.return_value()
amin = self.bSizer11.return_value()
amax = self.bSizer12.return_value()
if not amin or not amax:
del wait
pw.simple_warning("If plotting timescale, you must provide both a lower and an upper bound.\nIf you don't want to plot timescale, uncheck the 'Plot GPTS' checkbox")
return False
else: # if plot GPTS is not checked
pltTime, timescale, amin, amax = 0, '', -1, -1
sym_shape = self.shape_choices_dict[self.bSizer5.return_value()]
sym_color = self.bSizer4.return_value()[0]
sym = sym_color + sym_shape
size = self.bSizer5a.return_value()
pltLine = self.bSizer5b.return_value()
if pltLine:
pltLine = 1
else:
pltLine = 0
method = str(self.bSizer13.return_value())
step = self.bSizer14.return_value()
if not step:
step = 0
method = 'LT-NO'
#if not step:
# #-LP [AF,T,ARM,IRM, X] step [in mT,C,mT,mT, mass/vol] to plot
# units_dict = {'AF': 'millitesla', 'T': 'degrees C', 'ARM': 'millitesla', 'IRM': 'millitesla', 'X': 'mass/vol'}
#unit = units_dict[method]
#pw.simple_warning("You must provide the experiment step in {}".format(unit))
#return False
pltDec, pltInc, pltMag, logit = 0, 0, 0, 0
for val in self.bSizer3.return_value():
if 'declination' in val:
pltDec = 1
if 'inclination' in val:
pltInc = 1
if 'magnetization' in val:
pltMag = 1
if 'log' in val:
logit = 1
#pltSus = self.bSizer15.return_value()
#if pltSus:
# pltSus = 0
#else:
# pltSus = 1
fmt = self.bSizer16.return_value()
#print "meas_file", meas_file, "pmag_spec_file", pmag_spec_file, "spec_sym_shape", spec_sym_shape, "spec_sym_color", spec_sym_color, "spec_sym_size", spec_sym_size, "samp_file", samp_file, "age_file", age_file, "depth_scale", depth_scale, "dmin", dmin, "dmax", dmax, "timescale", timescale, "amin", amin, "amax", amax, "sym", sym, "size", size, "method", method, "step", step, "pltDec", pltDec, "pltInc", pltInc, "pltMag", pltMag, "pltTime", pltTime, "logit", logit, "fmt", fmt
# for use as module:
#print "pltLine:", pltLine
#print "pltSus:", pltSus
fig, figname = ipmag.core_depthplot(input_dir_path or self.WD, meas_file, pmag_spec_file, samp_file, age_file, sum_file, '', depth_scale, dmin, dmax, sym, size, spec_sym, spec_sym_size, method, step, fmt, pltDec, pltInc, pltMag, pltLine, 1, logit, pltTime, timescale, amin, amax)
if fig:
self.Destroy()
dpi = fig.get_dpi()
pixel_width = dpi * fig.get_figwidth()
pixel_height = dpi * fig.get_figheight()
plot_frame = PlotFrame((pixel_width, pixel_height + 50), fig, figname)
del wait
return plot_frame
else:
del wait
pw.simple_warning("No data points met your criteria - try again\nError message: {}".format(figname))
return False
# for use as command_line:
if meas_file:
meas_file = os.path.split(meas_file)[1]
meas_file = pmag.add_flag(meas_file, '-f')
if pmag_spec_file:
pmag_spec_file = os.path.split(pmag_spec_file)[1]
pmag_spec_file = pmag.add_flag(pmag_spec_file, '-fsp')
pmag_spec_file = pmag_spec_file + ' ' + spec_sym_color + spec_sym_shape + ' ' + str(spec_sym_size)
sym = '-sym ' + sym + ' ' + str(size)
if samp_file:
samp_file = os.path.split(samp_file)[1]
samp_file = pmag.add_flag(samp_file, '-fsa')
if age_file:
age_file = os.path.split(age_file)[1]
age_file = pmag.add_flag(age_file, '-fa')
depth_scale = pmag.add_flag(depth_scale, '-ds')
depth_range = ''
if dmin and dmax:
depth_range = '-d ' + str(dmin) + ' ' + str(dmax)
if pltTime and amin and amax:
timescale = '-ts ' + timescale + ' ' + str(amin) + ' ' + str(amax)
else:
timescale = ''
method = pmag.add_flag(method, '-LP') + ' ' + str(step)
#if not pltSus:
# pltSus = "-L"
#else:
# pltSus = ''
if not pltDec:
pltDec = "-D"
else:
pltDec = ''
if not pltInc:
pltInc = "-I"
else:
pltInc = ''
if not pltMag:
pltMag = "-M"
else:
pltMag = ''
if pltLine:
pltLine = ""
else:
pltLine = '-L' # suppress line
if logit:
logit = "-log"
else:
logit = ''
fmt = pmag.add_flag(fmt, '-fmt')
COMMAND = "core_depthplot.py {meas_file} {pmag_spec_file} {sym} {samp_file} {age_file} {depth_scale} {depth_range} {timescale} {method} {pltDec} {pltInc} {pltMag} {logit} {fmt} {pltLine} -WD {WD}".format(meas_file=meas_file, pmag_spec_file=pmag_spec_file, sym=sym, samp_file=samp_file, age_file=age_file, depth_scale=depth_scale, depth_range=depth_range, timescale=timescale, method=method, pltDec=pltDec, pltInc=pltInc, pltMag=pltMag, logit=logit, fmt=fmt, pltLine=pltLine, WD=self.WD)
print(COMMAND)
#os.system(COMMAND)
"""
haven't done these options yet
wt_file (also sets norm)# -n specimen_filename
spc_file, spc_sym, spc_size # -fsp spec_file symbol_shape symbol_size
res_file, res_sym, res_size # -fres pmag_results_file symbol_shape symbol_size
wig_file (also sets pcol, width) # -fwig wiggle_file(???)
sum_file # -fsum IODP_core_summary_csv_file
(sets plots & verbose) # -sav
"""
|
python
|
def on_okButton(self, event):
"""
meas_file # -f magic_measurements_file
samp_file #-fsa er_samples_file
age_file # -fa er_ages_file
depth_scale # -ds scale
dmin, dmax # -d 1 50 # depth to plot
timescale, amin, amax (also sets pTS, pcol, width) = # -ts scale min max
sym, size # -sym symbol size
method, step (also may set suc_key) # -LP protocol step
pltDec (also sets pcol, pel, width)# -D (don't plot dec)
pltInc (also sets pcol, pel, width)# -I (don't plot inc)
pltMag (also sets pcol, pel, width)# -M (don't plot intensity)
logit # -log ( plot log scale)
fmt # -fmt format
"""
def check_input_dir_path(input_dir_path, new_dir_path):
if input_dir_path and input_dir_path != new_dir_path:
pw.simple_warning("Please make sure that all input files come from the same directory")
return False
if not input_dir_path and new_dir_path:
return new_dir_path
elif input_dir_path == new_dir_path:
return input_dir_path
wait = wx.BusyInfo('Making plots, please wait...')
wx.SafeYield()
os.chdir(self.WD)
input_dir_path = None
meas_file = self.bSizer0.return_value()
if meas_file:
input_dir_path, meas_file = os.path.split(meas_file)
pmag_spec_file = self.bSizer0a.return_value()
if pmag_spec_file:
new_dir_path, pmag_spec_file = os.path.split(pmag_spec_file)
input_dir_path = check_input_dir_path(input_dir_path, new_dir_path)
if not input_dir_path:
del wait
return False
sum_file = self.bSizer2.return_value()
if sum_file:
new_dir_path, sum_file = os.path.split(sum_file)
input_dir_path = check_input_dir_path(input_dir_path, new_dir_path)
if not input_dir_path:
del wait
return False
spec_sym, spec_sym_shape, spec_sym_color, spec_sym_size = "", "", "", ""
if pmag_spec_file:
# get symbol/size for dots
spec_sym_shape = self.shape_choices_dict[self.bSizer0a2.return_value()]
spec_sym_color = self.bSizer0a1.return_value()[0]
spec_sym_size = self.bSizer0a3.return_value()
spec_sym = str(spec_sym_color) + str(spec_sym_shape)
use_sampfile = self.bSizer1a.return_value()
if use_sampfile:
new_dir_path, samp_file = os.path.split(str(self.bSizer1.return_value()))
age_file = ''
input_dir_path = check_input_dir_path(input_dir_path, new_dir_path)
if not input_dir_path:
del wait
return False
else:
samp_file = ''
new_dir_path, age_file = os.path.split(self.bSizer1.return_value())
input_dir_path = check_input_dir_path(input_dir_path, new_dir_path)
if not input_dir_path:
del wait
return False
depth_scale = self.bSizer8.return_value()
if age_file:
depth_scale='age'
elif depth_scale:
depth_scale = 'sample_core_depth' #'mbsf'
else:
depth_scale = 'sample_composite_depth' #'mcd'
dmin = self.bSizer6.return_value()
dmax = self.bSizer7.return_value()
if self.bSizer9.return_value(): # if plot GPTS is checked
pltTime = 1
timescale = self.bSizer10.return_value()
amin = self.bSizer11.return_value()
amax = self.bSizer12.return_value()
if not amin or not amax:
del wait
pw.simple_warning("If plotting timescale, you must provide both a lower and an upper bound.\nIf you don't want to plot timescale, uncheck the 'Plot GPTS' checkbox")
return False
else: # if plot GPTS is not checked
pltTime, timescale, amin, amax = 0, '', -1, -1
sym_shape = self.shape_choices_dict[self.bSizer5.return_value()]
sym_color = self.bSizer4.return_value()[0]
sym = sym_color + sym_shape
size = self.bSizer5a.return_value()
pltLine = self.bSizer5b.return_value()
if pltLine:
pltLine = 1
else:
pltLine = 0
method = str(self.bSizer13.return_value())
step = self.bSizer14.return_value()
if not step:
step = 0
method = 'LT-NO'
#if not step:
# #-LP [AF,T,ARM,IRM, X] step [in mT,C,mT,mT, mass/vol] to plot
# units_dict = {'AF': 'millitesla', 'T': 'degrees C', 'ARM': 'millitesla', 'IRM': 'millitesla', 'X': 'mass/vol'}
#unit = units_dict[method]
#pw.simple_warning("You must provide the experiment step in {}".format(unit))
#return False
pltDec, pltInc, pltMag, logit = 0, 0, 0, 0
for val in self.bSizer3.return_value():
if 'declination' in val:
pltDec = 1
if 'inclination' in val:
pltInc = 1
if 'magnetization' in val:
pltMag = 1
if 'log' in val:
logit = 1
#pltSus = self.bSizer15.return_value()
#if pltSus:
# pltSus = 0
#else:
# pltSus = 1
fmt = self.bSizer16.return_value()
#print "meas_file", meas_file, "pmag_spec_file", pmag_spec_file, "spec_sym_shape", spec_sym_shape, "spec_sym_color", spec_sym_color, "spec_sym_size", spec_sym_size, "samp_file", samp_file, "age_file", age_file, "depth_scale", depth_scale, "dmin", dmin, "dmax", dmax, "timescale", timescale, "amin", amin, "amax", amax, "sym", sym, "size", size, "method", method, "step", step, "pltDec", pltDec, "pltInc", pltInc, "pltMag", pltMag, "pltTime", pltTime, "logit", logit, "fmt", fmt
# for use as module:
#print "pltLine:", pltLine
#print "pltSus:", pltSus
fig, figname = ipmag.core_depthplot(input_dir_path or self.WD, meas_file, pmag_spec_file, samp_file, age_file, sum_file, '', depth_scale, dmin, dmax, sym, size, spec_sym, spec_sym_size, method, step, fmt, pltDec, pltInc, pltMag, pltLine, 1, logit, pltTime, timescale, amin, amax)
if fig:
self.Destroy()
dpi = fig.get_dpi()
pixel_width = dpi * fig.get_figwidth()
pixel_height = dpi * fig.get_figheight()
plot_frame = PlotFrame((pixel_width, pixel_height + 50), fig, figname)
del wait
return plot_frame
else:
del wait
pw.simple_warning("No data points met your criteria - try again\nError message: {}".format(figname))
return False
# for use as command_line:
if meas_file:
meas_file = os.path.split(meas_file)[1]
meas_file = pmag.add_flag(meas_file, '-f')
if pmag_spec_file:
pmag_spec_file = os.path.split(pmag_spec_file)[1]
pmag_spec_file = pmag.add_flag(pmag_spec_file, '-fsp')
pmag_spec_file = pmag_spec_file + ' ' + spec_sym_color + spec_sym_shape + ' ' + str(spec_sym_size)
sym = '-sym ' + sym + ' ' + str(size)
if samp_file:
samp_file = os.path.split(samp_file)[1]
samp_file = pmag.add_flag(samp_file, '-fsa')
if age_file:
age_file = os.path.split(age_file)[1]
age_file = pmag.add_flag(age_file, '-fa')
depth_scale = pmag.add_flag(depth_scale, '-ds')
depth_range = ''
if dmin and dmax:
depth_range = '-d ' + str(dmin) + ' ' + str(dmax)
if pltTime and amin and amax:
timescale = '-ts ' + timescale + ' ' + str(amin) + ' ' + str(amax)
else:
timescale = ''
method = pmag.add_flag(method, '-LP') + ' ' + str(step)
#if not pltSus:
# pltSus = "-L"
#else:
# pltSus = ''
if not pltDec:
pltDec = "-D"
else:
pltDec = ''
if not pltInc:
pltInc = "-I"
else:
pltInc = ''
if not pltMag:
pltMag = "-M"
else:
pltMag = ''
if pltLine:
pltLine = ""
else:
pltLine = '-L' # suppress line
if logit:
logit = "-log"
else:
logit = ''
fmt = pmag.add_flag(fmt, '-fmt')
COMMAND = "core_depthplot.py {meas_file} {pmag_spec_file} {sym} {samp_file} {age_file} {depth_scale} {depth_range} {timescale} {method} {pltDec} {pltInc} {pltMag} {logit} {fmt} {pltLine} -WD {WD}".format(meas_file=meas_file, pmag_spec_file=pmag_spec_file, sym=sym, samp_file=samp_file, age_file=age_file, depth_scale=depth_scale, depth_range=depth_range, timescale=timescale, method=method, pltDec=pltDec, pltInc=pltInc, pltMag=pltMag, logit=logit, fmt=fmt, pltLine=pltLine, WD=self.WD)
print(COMMAND)
#os.system(COMMAND)
"""
haven't done these options yet
wt_file (also sets norm)# -n specimen_filename
spc_file, spc_sym, spc_size # -fsp spec_file symbol_shape symbol_size
res_file, res_sym, res_size # -fres pmag_results_file symbol_shape symbol_size
wig_file (also sets pcol, width) # -fwig wiggle_file(???)
sum_file # -fsum IODP_core_summary_csv_file
(sets plots & verbose) # -sav
"""
|
[
"def",
"on_okButton",
"(",
"self",
",",
"event",
")",
":",
"def",
"check_input_dir_path",
"(",
"input_dir_path",
",",
"new_dir_path",
")",
":",
"if",
"input_dir_path",
"and",
"input_dir_path",
"!=",
"new_dir_path",
":",
"pw",
".",
"simple_warning",
"(",
"\"Please make sure that all input files come from the same directory\"",
")",
"return",
"False",
"if",
"not",
"input_dir_path",
"and",
"new_dir_path",
":",
"return",
"new_dir_path",
"elif",
"input_dir_path",
"==",
"new_dir_path",
":",
"return",
"input_dir_path",
"wait",
"=",
"wx",
".",
"BusyInfo",
"(",
"'Making plots, please wait...'",
")",
"wx",
".",
"SafeYield",
"(",
")",
"os",
".",
"chdir",
"(",
"self",
".",
"WD",
")",
"input_dir_path",
"=",
"None",
"meas_file",
"=",
"self",
".",
"bSizer0",
".",
"return_value",
"(",
")",
"if",
"meas_file",
":",
"input_dir_path",
",",
"meas_file",
"=",
"os",
".",
"path",
".",
"split",
"(",
"meas_file",
")",
"pmag_spec_file",
"=",
"self",
".",
"bSizer0a",
".",
"return_value",
"(",
")",
"if",
"pmag_spec_file",
":",
"new_dir_path",
",",
"pmag_spec_file",
"=",
"os",
".",
"path",
".",
"split",
"(",
"pmag_spec_file",
")",
"input_dir_path",
"=",
"check_input_dir_path",
"(",
"input_dir_path",
",",
"new_dir_path",
")",
"if",
"not",
"input_dir_path",
":",
"del",
"wait",
"return",
"False",
"sum_file",
"=",
"self",
".",
"bSizer2",
".",
"return_value",
"(",
")",
"if",
"sum_file",
":",
"new_dir_path",
",",
"sum_file",
"=",
"os",
".",
"path",
".",
"split",
"(",
"sum_file",
")",
"input_dir_path",
"=",
"check_input_dir_path",
"(",
"input_dir_path",
",",
"new_dir_path",
")",
"if",
"not",
"input_dir_path",
":",
"del",
"wait",
"return",
"False",
"spec_sym",
",",
"spec_sym_shape",
",",
"spec_sym_color",
",",
"spec_sym_size",
"=",
"\"\"",
",",
"\"\"",
",",
"\"\"",
",",
"\"\"",
"if",
"pmag_spec_file",
":",
"# get symbol/size for dots",
"spec_sym_shape",
"=",
"self",
".",
"shape_choices_dict",
"[",
"self",
".",
"bSizer0a2",
".",
"return_value",
"(",
")",
"]",
"spec_sym_color",
"=",
"self",
".",
"bSizer0a1",
".",
"return_value",
"(",
")",
"[",
"0",
"]",
"spec_sym_size",
"=",
"self",
".",
"bSizer0a3",
".",
"return_value",
"(",
")",
"spec_sym",
"=",
"str",
"(",
"spec_sym_color",
")",
"+",
"str",
"(",
"spec_sym_shape",
")",
"use_sampfile",
"=",
"self",
".",
"bSizer1a",
".",
"return_value",
"(",
")",
"if",
"use_sampfile",
":",
"new_dir_path",
",",
"samp_file",
"=",
"os",
".",
"path",
".",
"split",
"(",
"str",
"(",
"self",
".",
"bSizer1",
".",
"return_value",
"(",
")",
")",
")",
"age_file",
"=",
"''",
"input_dir_path",
"=",
"check_input_dir_path",
"(",
"input_dir_path",
",",
"new_dir_path",
")",
"if",
"not",
"input_dir_path",
":",
"del",
"wait",
"return",
"False",
"else",
":",
"samp_file",
"=",
"''",
"new_dir_path",
",",
"age_file",
"=",
"os",
".",
"path",
".",
"split",
"(",
"self",
".",
"bSizer1",
".",
"return_value",
"(",
")",
")",
"input_dir_path",
"=",
"check_input_dir_path",
"(",
"input_dir_path",
",",
"new_dir_path",
")",
"if",
"not",
"input_dir_path",
":",
"del",
"wait",
"return",
"False",
"depth_scale",
"=",
"self",
".",
"bSizer8",
".",
"return_value",
"(",
")",
"if",
"age_file",
":",
"depth_scale",
"=",
"'age'",
"elif",
"depth_scale",
":",
"depth_scale",
"=",
"'sample_core_depth'",
"#'mbsf'",
"else",
":",
"depth_scale",
"=",
"'sample_composite_depth'",
"#'mcd'",
"dmin",
"=",
"self",
".",
"bSizer6",
".",
"return_value",
"(",
")",
"dmax",
"=",
"self",
".",
"bSizer7",
".",
"return_value",
"(",
")",
"if",
"self",
".",
"bSizer9",
".",
"return_value",
"(",
")",
":",
"# if plot GPTS is checked",
"pltTime",
"=",
"1",
"timescale",
"=",
"self",
".",
"bSizer10",
".",
"return_value",
"(",
")",
"amin",
"=",
"self",
".",
"bSizer11",
".",
"return_value",
"(",
")",
"amax",
"=",
"self",
".",
"bSizer12",
".",
"return_value",
"(",
")",
"if",
"not",
"amin",
"or",
"not",
"amax",
":",
"del",
"wait",
"pw",
".",
"simple_warning",
"(",
"\"If plotting timescale, you must provide both a lower and an upper bound.\\nIf you don't want to plot timescale, uncheck the 'Plot GPTS' checkbox\"",
")",
"return",
"False",
"else",
":",
"# if plot GPTS is not checked",
"pltTime",
",",
"timescale",
",",
"amin",
",",
"amax",
"=",
"0",
",",
"''",
",",
"-",
"1",
",",
"-",
"1",
"sym_shape",
"=",
"self",
".",
"shape_choices_dict",
"[",
"self",
".",
"bSizer5",
".",
"return_value",
"(",
")",
"]",
"sym_color",
"=",
"self",
".",
"bSizer4",
".",
"return_value",
"(",
")",
"[",
"0",
"]",
"sym",
"=",
"sym_color",
"+",
"sym_shape",
"size",
"=",
"self",
".",
"bSizer5a",
".",
"return_value",
"(",
")",
"pltLine",
"=",
"self",
".",
"bSizer5b",
".",
"return_value",
"(",
")",
"if",
"pltLine",
":",
"pltLine",
"=",
"1",
"else",
":",
"pltLine",
"=",
"0",
"method",
"=",
"str",
"(",
"self",
".",
"bSizer13",
".",
"return_value",
"(",
")",
")",
"step",
"=",
"self",
".",
"bSizer14",
".",
"return_value",
"(",
")",
"if",
"not",
"step",
":",
"step",
"=",
"0",
"method",
"=",
"'LT-NO'",
"#if not step:",
"# #-LP [AF,T,ARM,IRM, X] step [in mT,C,mT,mT, mass/vol] to plot",
"# units_dict = {'AF': 'millitesla', 'T': 'degrees C', 'ARM': 'millitesla', 'IRM': 'millitesla', 'X': 'mass/vol'}",
"#unit = units_dict[method]",
"#pw.simple_warning(\"You must provide the experiment step in {}\".format(unit))",
"#return False",
"pltDec",
",",
"pltInc",
",",
"pltMag",
",",
"logit",
"=",
"0",
",",
"0",
",",
"0",
",",
"0",
"for",
"val",
"in",
"self",
".",
"bSizer3",
".",
"return_value",
"(",
")",
":",
"if",
"'declination'",
"in",
"val",
":",
"pltDec",
"=",
"1",
"if",
"'inclination'",
"in",
"val",
":",
"pltInc",
"=",
"1",
"if",
"'magnetization'",
"in",
"val",
":",
"pltMag",
"=",
"1",
"if",
"'log'",
"in",
"val",
":",
"logit",
"=",
"1",
"#pltSus = self.bSizer15.return_value()",
"#if pltSus:",
"# pltSus = 0",
"#else:",
"# pltSus = 1",
"fmt",
"=",
"self",
".",
"bSizer16",
".",
"return_value",
"(",
")",
"#print \"meas_file\", meas_file, \"pmag_spec_file\", pmag_spec_file, \"spec_sym_shape\", spec_sym_shape, \"spec_sym_color\", spec_sym_color, \"spec_sym_size\", spec_sym_size, \"samp_file\", samp_file, \"age_file\", age_file, \"depth_scale\", depth_scale, \"dmin\", dmin, \"dmax\", dmax, \"timescale\", timescale, \"amin\", amin, \"amax\", amax, \"sym\", sym, \"size\", size, \"method\", method, \"step\", step, \"pltDec\", pltDec, \"pltInc\", pltInc, \"pltMag\", pltMag, \"pltTime\", pltTime, \"logit\", logit, \"fmt\", fmt",
"# for use as module:",
"#print \"pltLine:\", pltLine",
"#print \"pltSus:\", pltSus",
"fig",
",",
"figname",
"=",
"ipmag",
".",
"core_depthplot",
"(",
"input_dir_path",
"or",
"self",
".",
"WD",
",",
"meas_file",
",",
"pmag_spec_file",
",",
"samp_file",
",",
"age_file",
",",
"sum_file",
",",
"''",
",",
"depth_scale",
",",
"dmin",
",",
"dmax",
",",
"sym",
",",
"size",
",",
"spec_sym",
",",
"spec_sym_size",
",",
"method",
",",
"step",
",",
"fmt",
",",
"pltDec",
",",
"pltInc",
",",
"pltMag",
",",
"pltLine",
",",
"1",
",",
"logit",
",",
"pltTime",
",",
"timescale",
",",
"amin",
",",
"amax",
")",
"if",
"fig",
":",
"self",
".",
"Destroy",
"(",
")",
"dpi",
"=",
"fig",
".",
"get_dpi",
"(",
")",
"pixel_width",
"=",
"dpi",
"*",
"fig",
".",
"get_figwidth",
"(",
")",
"pixel_height",
"=",
"dpi",
"*",
"fig",
".",
"get_figheight",
"(",
")",
"plot_frame",
"=",
"PlotFrame",
"(",
"(",
"pixel_width",
",",
"pixel_height",
"+",
"50",
")",
",",
"fig",
",",
"figname",
")",
"del",
"wait",
"return",
"plot_frame",
"else",
":",
"del",
"wait",
"pw",
".",
"simple_warning",
"(",
"\"No data points met your criteria - try again\\nError message: {}\"",
".",
"format",
"(",
"figname",
")",
")",
"return",
"False",
"# for use as command_line:",
"if",
"meas_file",
":",
"meas_file",
"=",
"os",
".",
"path",
".",
"split",
"(",
"meas_file",
")",
"[",
"1",
"]",
"meas_file",
"=",
"pmag",
".",
"add_flag",
"(",
"meas_file",
",",
"'-f'",
")",
"if",
"pmag_spec_file",
":",
"pmag_spec_file",
"=",
"os",
".",
"path",
".",
"split",
"(",
"pmag_spec_file",
")",
"[",
"1",
"]",
"pmag_spec_file",
"=",
"pmag",
".",
"add_flag",
"(",
"pmag_spec_file",
",",
"'-fsp'",
")",
"pmag_spec_file",
"=",
"pmag_spec_file",
"+",
"' '",
"+",
"spec_sym_color",
"+",
"spec_sym_shape",
"+",
"' '",
"+",
"str",
"(",
"spec_sym_size",
")",
"sym",
"=",
"'-sym '",
"+",
"sym",
"+",
"' '",
"+",
"str",
"(",
"size",
")",
"if",
"samp_file",
":",
"samp_file",
"=",
"os",
".",
"path",
".",
"split",
"(",
"samp_file",
")",
"[",
"1",
"]",
"samp_file",
"=",
"pmag",
".",
"add_flag",
"(",
"samp_file",
",",
"'-fsa'",
")",
"if",
"age_file",
":",
"age_file",
"=",
"os",
".",
"path",
".",
"split",
"(",
"age_file",
")",
"[",
"1",
"]",
"age_file",
"=",
"pmag",
".",
"add_flag",
"(",
"age_file",
",",
"'-fa'",
")",
"depth_scale",
"=",
"pmag",
".",
"add_flag",
"(",
"depth_scale",
",",
"'-ds'",
")",
"depth_range",
"=",
"''",
"if",
"dmin",
"and",
"dmax",
":",
"depth_range",
"=",
"'-d '",
"+",
"str",
"(",
"dmin",
")",
"+",
"' '",
"+",
"str",
"(",
"dmax",
")",
"if",
"pltTime",
"and",
"amin",
"and",
"amax",
":",
"timescale",
"=",
"'-ts '",
"+",
"timescale",
"+",
"' '",
"+",
"str",
"(",
"amin",
")",
"+",
"' '",
"+",
"str",
"(",
"amax",
")",
"else",
":",
"timescale",
"=",
"''",
"method",
"=",
"pmag",
".",
"add_flag",
"(",
"method",
",",
"'-LP'",
")",
"+",
"' '",
"+",
"str",
"(",
"step",
")",
"#if not pltSus:",
"# pltSus = \"-L\"",
"#else:",
"# pltSus = ''",
"if",
"not",
"pltDec",
":",
"pltDec",
"=",
"\"-D\"",
"else",
":",
"pltDec",
"=",
"''",
"if",
"not",
"pltInc",
":",
"pltInc",
"=",
"\"-I\"",
"else",
":",
"pltInc",
"=",
"''",
"if",
"not",
"pltMag",
":",
"pltMag",
"=",
"\"-M\"",
"else",
":",
"pltMag",
"=",
"''",
"if",
"pltLine",
":",
"pltLine",
"=",
"\"\"",
"else",
":",
"pltLine",
"=",
"'-L'",
"# suppress line",
"if",
"logit",
":",
"logit",
"=",
"\"-log\"",
"else",
":",
"logit",
"=",
"''",
"fmt",
"=",
"pmag",
".",
"add_flag",
"(",
"fmt",
",",
"'-fmt'",
")",
"COMMAND",
"=",
"\"core_depthplot.py {meas_file} {pmag_spec_file} {sym} {samp_file} {age_file} {depth_scale} {depth_range} {timescale} {method} {pltDec} {pltInc} {pltMag} {logit} {fmt} {pltLine} -WD {WD}\"",
".",
"format",
"(",
"meas_file",
"=",
"meas_file",
",",
"pmag_spec_file",
"=",
"pmag_spec_file",
",",
"sym",
"=",
"sym",
",",
"samp_file",
"=",
"samp_file",
",",
"age_file",
"=",
"age_file",
",",
"depth_scale",
"=",
"depth_scale",
",",
"depth_range",
"=",
"depth_range",
",",
"timescale",
"=",
"timescale",
",",
"method",
"=",
"method",
",",
"pltDec",
"=",
"pltDec",
",",
"pltInc",
"=",
"pltInc",
",",
"pltMag",
"=",
"pltMag",
",",
"logit",
"=",
"logit",
",",
"fmt",
"=",
"fmt",
",",
"pltLine",
"=",
"pltLine",
",",
"WD",
"=",
"self",
".",
"WD",
")",
"print",
"(",
"COMMAND",
")",
"#os.system(COMMAND)",
"\"\"\"\n haven't done these options yet\n wt_file (also sets norm)# -n specimen_filename\n spc_file, spc_sym, spc_size # -fsp spec_file symbol_shape symbol_size\n res_file, res_sym, res_size # -fres pmag_results_file symbol_shape symbol_size\n wig_file (also sets pcol, width) # -fwig wiggle_file(???)\n sum_file # -fsum IODP_core_summary_csv_file\n\n (sets plots & verbose) # -sav\n \"\"\""
] |
meas_file # -f magic_measurements_file
samp_file #-fsa er_samples_file
age_file # -fa er_ages_file
depth_scale # -ds scale
dmin, dmax # -d 1 50 # depth to plot
timescale, amin, amax (also sets pTS, pcol, width) = # -ts scale min max
sym, size # -sym symbol size
method, step (also may set suc_key) # -LP protocol step
pltDec (also sets pcol, pel, width)# -D (don't plot dec)
pltInc (also sets pcol, pel, width)# -I (don't plot inc)
pltMag (also sets pcol, pel, width)# -M (don't plot intensity)
logit # -log ( plot log scale)
fmt # -fmt format
|
[
"meas_file",
"#",
"-",
"f",
"magic_measurements_file",
"samp_file",
"#",
"-",
"fsa",
"er_samples_file",
"age_file",
"#",
"-",
"fa",
"er_ages_file",
"depth_scale",
"#",
"-",
"ds",
"scale",
"dmin",
"dmax",
"#",
"-",
"d",
"1",
"50",
"#",
"depth",
"to",
"plot",
"timescale",
"amin",
"amax",
"(",
"also",
"sets",
"pTS",
"pcol",
"width",
")",
"=",
"#",
"-",
"ts",
"scale",
"min",
"max",
"sym",
"size",
"#",
"-",
"sym",
"symbol",
"size",
"method",
"step",
"(",
"also",
"may",
"set",
"suc_key",
")",
"#",
"-",
"LP",
"protocol",
"step",
"pltDec",
"(",
"also",
"sets",
"pcol",
"pel",
"width",
")",
"#",
"-",
"D",
"(",
"don",
"t",
"plot",
"dec",
")",
"pltInc",
"(",
"also",
"sets",
"pcol",
"pel",
"width",
")",
"#",
"-",
"I",
"(",
"don",
"t",
"plot",
"inc",
")",
"pltMag",
"(",
"also",
"sets",
"pcol",
"pel",
"width",
")",
"#",
"-",
"M",
"(",
"don",
"t",
"plot",
"intensity",
")",
"logit",
"#",
"-",
"log",
"(",
"plot",
"log",
"scale",
")",
"fmt",
"#",
"-",
"fmt",
"format"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/dialogs/pmag_menu_dialogs.py#L1877-L2093
|
train
|
Function called when OK button is clicked
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(49) + chr(52) + chr(0b10110 + 0o36), ord("\x08")), nzTpIcepk0o8(chr(1657 - 1609) + chr(111) + chr(51) + '\063' + '\x33', 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b110100) + chr(0b110101), 56607 - 56599), nzTpIcepk0o8('\060' + chr(111) + '\x32' + chr(0b110010) + chr(0b100101 + 0o14), 0b1000), nzTpIcepk0o8('\060' + chr(3843 - 3732) + chr(53), 25747 - 25739), nzTpIcepk0o8('\060' + '\157' + chr(0b100000 + 0o22) + chr(51) + chr(50), 53320 - 53312), nzTpIcepk0o8(chr(805 - 757) + chr(0b1101111) + '\063' + chr(2304 - 2251) + chr(2221 - 2167), 41067 - 41059), nzTpIcepk0o8(chr(48) + chr(12253 - 12142) + chr(50) + '\x36' + '\x37', 64680 - 64672), nzTpIcepk0o8(chr(48) + '\x6f' + '\063' + '\x33' + chr(0b110100), 0o10), nzTpIcepk0o8(chr(0b100101 + 0o13) + '\x6f' + chr(0b10010 + 0o41) + chr(52) + chr(0b110010), 56261 - 56253), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(676 - 622) + chr(0b110111), 31185 - 31177), nzTpIcepk0o8(chr(0b11010 + 0o26) + chr(111) + chr(49) + chr(0b101101 + 0o10) + chr(0b110010), 57158 - 57150), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b110011) + chr(1388 - 1339) + chr(0b110100), ord("\x08")), nzTpIcepk0o8('\x30' + chr(111) + '\x32' + chr(2087 - 2035) + '\063', 8609 - 8601), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b110011) + chr(0b100101 + 0o15) + '\063', 0o10), nzTpIcepk0o8('\x30' + chr(111) + chr(0b0 + 0o61) + chr(1245 - 1197) + chr(0b110100), 64107 - 64099), nzTpIcepk0o8('\x30' + '\157' + '\x35' + chr(247 - 198), 61008 - 61000), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b10011 + 0o36) + chr(127 - 72) + '\x33', 59248 - 59240), nzTpIcepk0o8('\x30' + chr(0b1101111) + '\x36', 53984 - 53976), nzTpIcepk0o8(chr(0b101011 + 0o5) + '\157' + '\063', 0o10), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110011) + chr(52) + chr(453 - 402), 7295 - 7287), nzTpIcepk0o8('\x30' + chr(0b1101111) + '\061' + '\x37' + chr(2690 - 2635), 53111 - 53103), nzTpIcepk0o8(chr(868 - 820) + '\x6f' + '\x35', 8), nzTpIcepk0o8('\x30' + chr(0b1101110 + 0o1) + '\063' + '\067' + '\x30', 0b1000), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\061' + '\063' + '\060', 0o10), nzTpIcepk0o8('\060' + chr(10395 - 10284) + chr(2508 - 2457) + chr(48) + '\x37', 0o10), nzTpIcepk0o8(chr(48) + chr(111) + '\x32' + '\x37' + '\067', 55341 - 55333), nzTpIcepk0o8(chr(1466 - 1418) + chr(0b1101111) + chr(2302 - 2247) + '\063', 0b1000), nzTpIcepk0o8('\060' + chr(111) + '\x33' + chr(2704 - 2651) + chr(0b10100 + 0o34), 0o10), nzTpIcepk0o8(chr(0b100100 + 0o14) + chr(0b1100110 + 0o11) + chr(51) + '\063' + chr(52), 8), nzTpIcepk0o8(chr(48) + '\x6f' + chr(858 - 807) + '\x31' + chr(0b110000), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(2959 - 2848) + chr(0b110 + 0o53) + chr(54) + chr(0b101110 + 0o4), 8205 - 8197), nzTpIcepk0o8(chr(0b10111 + 0o31) + chr(111) + chr(0b1100 + 0o45) + chr(0b10000 + 0o40) + chr(0b110111), 0b1000), nzTpIcepk0o8(chr(1875 - 1827) + chr(0b110111 + 0o70) + '\061' + chr(1069 - 1015) + '\x34', 0b1000), nzTpIcepk0o8(chr(0b111 + 0o51) + chr(0b1101111) + chr(0b11100 + 0o27) + chr(987 - 939) + chr(0b110110), 8363 - 8355), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b100001 + 0o22) + chr(0b11000 + 0o36) + chr(0b110111), ord("\x08")), nzTpIcepk0o8('\x30' + chr(7459 - 7348) + chr(0b110010) + '\x32' + '\064', 59728 - 59720), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110001) + '\x31' + chr(55), 0b1000), nzTpIcepk0o8(chr(1028 - 980) + '\157' + chr(50) + '\067', 23212 - 23204), nzTpIcepk0o8('\x30' + chr(111) + chr(0b110101) + chr(0b110111), ord("\x08"))][ZlbFMSG8gCoF % nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(616 - 563) + chr(0b100101 + 0o13), 0o10)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'J'), chr(0b1100100) + chr(7689 - 7588) + chr(0b110100 + 0o57) + chr(0b1101111) + chr(100) + '\x65')(chr(0b1110101) + chr(116) + chr(7857 - 7755) + '\x2d' + chr(0b111000 + 0o0)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def r73aRPXtP4cZ(hXMPsSrOQzbh, D4ybylS07yGH):
def ghm4bNJqkOe3(KADebXAR9grB, lSQTC4tZTL3x):
if KADebXAR9grB and KADebXAR9grB != lSQTC4tZTL3x:
roI3spqORKae(saCGFe0zE73j, roI3spqORKae(ES5oEprVxulp(b'\x17\xb2H\xe1i\xff\xb1\xc0\xbd\x90Y\x03\xa2\xc4'), '\144' + '\x65' + '\143' + chr(111) + '\x64' + chr(2399 - 2298))('\x75' + '\x74' + chr(0b110 + 0o140) + chr(0b11010 + 0o23) + '\070'))(roI3spqORKae(ES5oEprVxulp(b'4\xb7@\xf0v\xff\xce\xda\xbd\x89RJ\xbf\xd6\xa1!\t\x0fnb\x97_d\x944\xe7\xd6U\x98\xa9\xbcR!\x1d\xaa\x92\xe7ot@\t\xbe\x05\xf7w\xf5\x83\x97\xa8\x8aRJ\xbf\xc2\xbe!\t\x1foq\x86\x1cq\x97*\xbe'), chr(100) + chr(0b1100101) + chr(273 - 174) + '\157' + chr(0b10001 + 0o123) + chr(0b101001 + 0o74))(chr(117) + '\x74' + chr(9021 - 8919) + chr(0b0 + 0o55) + chr(2051 - 1995)))
return nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\060', ord("\x08"))
if not KADebXAR9grB and lSQTC4tZTL3x:
return lSQTC4tZTL3x
elif KADebXAR9grB == lSQTC4tZTL3x:
return KADebXAR9grB
VBnaM0jy14aO = FHAk5xm055cs.BusyInfo(roI3spqORKae(ES5oEprVxulp(b')\xbaN\xf8k\xfd\xce\xc7\xb0\x8dC\x19\xe0\x83\xa3(L\x1auf\xc3\x08d\x91,\xe9\x91\x15'), chr(100) + chr(1973 - 1872) + '\x63' + chr(111) + chr(1481 - 1381) + chr(0b11000 + 0o115))(chr(0b10001 + 0o144) + '\164' + chr(102) + chr(462 - 417) + chr(0b111000)))
roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'7\xbaC\xf4\\\xf3\x8b\xdb\xb8'), '\x64' + '\x65' + chr(0b1100011) + chr(111) + chr(100) + chr(0b1100101))(chr(10725 - 10608) + chr(0b100011 + 0o121) + chr(0b1011110 + 0o10) + '\x2d' + chr(0b100010 + 0o26)))()
roI3spqORKae(aHUqKstZLeS6, roI3spqORKae(ES5oEprVxulp(b'\x07\xb3A\xf8w'), '\x64' + chr(101) + chr(0b1100011) + chr(11986 - 11875) + chr(100) + chr(0b101100 + 0o71))(chr(117) + chr(10277 - 10161) + '\146' + chr(1731 - 1686) + chr(0b110111 + 0o1)))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'#\x8b\x14\xeb@\xc9\x86\xf3\xa5\xa1O&'), chr(0b1100100) + chr(208 - 107) + '\x63' + chr(0b101110 + 0o101) + '\144' + chr(101))(chr(0b1110101) + chr(116) + chr(592 - 490) + chr(45) + chr(1425 - 1369))))
KADebXAR9grB = None
rHPU8oONrR4n = hXMPsSrOQzbh.bSizer0.GM61QPomHOyP()
if rHPU8oONrR4n:
(KADebXAR9grB, rHPU8oONrR4n) = aHUqKstZLeS6.path.LfRrQOxuDvnC(rHPU8oONrR4n)
irf6wtVugokD = hXMPsSrOQzbh.bSizer0a.GM61QPomHOyP()
if irf6wtVugokD:
(lSQTC4tZTL3x, irf6wtVugokD) = aHUqKstZLeS6.path.LfRrQOxuDvnC(irf6wtVugokD)
KADebXAR9grB = ghm4bNJqkOe3(KADebXAR9grB, lSQTC4tZTL3x)
if not KADebXAR9grB:
del VBnaM0jy14aO
return nzTpIcepk0o8(chr(0b10110 + 0o32) + chr(0b1101111) + chr(48), 8)
cuJmomB0XH13 = hXMPsSrOQzbh.bSizer2.GM61QPomHOyP()
if cuJmomB0XH13:
(lSQTC4tZTL3x, cuJmomB0XH13) = aHUqKstZLeS6.path.LfRrQOxuDvnC(cuJmomB0XH13)
KADebXAR9grB = ghm4bNJqkOe3(KADebXAR9grB, lSQTC4tZTL3x)
if not KADebXAR9grB:
del VBnaM0jy14aO
return nzTpIcepk0o8(chr(0b110000 + 0o0) + chr(111) + chr(0b11 + 0o55), 8)
(GbIvlkpZ4Kaz, Rw2WQscpqawP, AqZlVrrxSzjB, ByjOmeS2Wswa) = (roI3spqORKae(ES5oEprVxulp(b''), '\x64' + '\x65' + chr(0b1100011) + chr(111) + '\144' + chr(0b11001 + 0o114))(chr(9800 - 9683) + chr(0b101 + 0o157) + chr(5887 - 5785) + chr(0b101101) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(0b1100101) + chr(0b1100011) + '\157' + chr(0b1010110 + 0o16) + chr(7598 - 7497))(chr(6704 - 6587) + chr(116) + chr(9279 - 9177) + '\x2d' + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b''), chr(0b1000011 + 0o41) + '\x65' + '\x63' + '\x6f' + '\x64' + chr(101))(chr(0b1110101) + '\x74' + chr(0b11010 + 0o114) + '\x2d' + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b''), chr(0b10100 + 0o120) + '\145' + '\x63' + chr(111) + chr(100) + '\x65')('\x75' + chr(116) + chr(102) + '\x2d' + chr(0b110001 + 0o7)))
if irf6wtVugokD:
Rw2WQscpqawP = hXMPsSrOQzbh.shape_choices_dict[hXMPsSrOQzbh.bSizer0a2.GM61QPomHOyP()]
AqZlVrrxSzjB = hXMPsSrOQzbh.bSizer0a1.GM61QPomHOyP()[nzTpIcepk0o8(chr(0b110000) + chr(0b111 + 0o150) + '\x30', 8)]
ByjOmeS2Wswa = hXMPsSrOQzbh.bSizer0a3.GM61QPomHOyP()
GbIvlkpZ4Kaz = N9zlRy29S1SS(AqZlVrrxSzjB) + N9zlRy29S1SS(Rw2WQscpqawP)
VflJ4uqJWUDo = hXMPsSrOQzbh.bSizer1a.GM61QPomHOyP()
if VflJ4uqJWUDo:
(lSQTC4tZTL3x, bqpTUs8apVqb) = aHUqKstZLeS6.path.LfRrQOxuDvnC(N9zlRy29S1SS(hXMPsSrOQzbh.bSizer1.GM61QPomHOyP()))
_FpkWd4wvvaT = roI3spqORKae(ES5oEprVxulp(b''), chr(1074 - 974) + '\145' + '\x63' + chr(0b1101111) + chr(100) + chr(6685 - 6584))(chr(0b1110101) + chr(0b10 + 0o162) + '\x66' + chr(1048 - 1003) + '\070')
KADebXAR9grB = ghm4bNJqkOe3(KADebXAR9grB, lSQTC4tZTL3x)
if not KADebXAR9grB:
del VBnaM0jy14aO
return nzTpIcepk0o8('\x30' + '\157' + chr(0b10011 + 0o35), 8)
else:
bqpTUs8apVqb = roI3spqORKae(ES5oEprVxulp(b''), chr(0b1010011 + 0o21) + '\x65' + '\x63' + chr(0b1101111) + chr(0b110111 + 0o55) + chr(101))(chr(0b1110101) + chr(0b1110100) + chr(102) + '\x2d' + '\070')
(lSQTC4tZTL3x, _FpkWd4wvvaT) = aHUqKstZLeS6.path.LfRrQOxuDvnC(hXMPsSrOQzbh.bSizer1.GM61QPomHOyP())
KADebXAR9grB = ghm4bNJqkOe3(KADebXAR9grB, lSQTC4tZTL3x)
if not KADebXAR9grB:
del VBnaM0jy14aO
return nzTpIcepk0o8(chr(0b10100 + 0o34) + chr(0b111011 + 0o64) + '\x30', 8)
H1WMyWd7nBfT = hXMPsSrOQzbh.bSizer8.GM61QPomHOyP()
if _FpkWd4wvvaT:
H1WMyWd7nBfT = roI3spqORKae(ES5oEprVxulp(b'\x05\xbc@'), '\144' + chr(0b1100101) + chr(2699 - 2600) + chr(0b1011010 + 0o25) + '\x64' + chr(0b11001 + 0o114))('\x75' + chr(5366 - 5250) + '\x66' + chr(0b100010 + 0o13) + '\x38')
elif H1WMyWd7nBfT:
H1WMyWd7nBfT = roI3spqORKae(ES5oEprVxulp(b'\x17\xbaH\xe1i\xff\xb1\xd4\xb3\x90R5\xa8\xc6\xa30A'), '\144' + chr(4769 - 4668) + chr(0b11111 + 0o104) + chr(0b1101111) + chr(0b110100 + 0o60) + chr(101))(chr(0b1110101) + chr(0b1110100) + chr(0b1100101 + 0o1) + chr(45) + '\x38')
else:
H1WMyWd7nBfT = roI3spqORKae(ES5oEprVxulp(b'\x17\xbaH\xe1i\xff\xb1\xd4\xb3\x8fG\x05\xbf\xca\xa7!v\x1fcs\x97\x17'), chr(0b10 + 0o142) + chr(1746 - 1645) + chr(0b11011 + 0o110) + chr(0b1110 + 0o141) + chr(0b1100100) + chr(0b1100101))(chr(12567 - 12450) + chr(0b10010 + 0o142) + chr(0b1100110) + chr(45) + chr(0b111000))
Hg_KJkMRv5EQ = hXMPsSrOQzbh.bSizer6.GM61QPomHOyP()
vrYAlPlCS8EO = hXMPsSrOQzbh.bSizer7.GM61QPomHOyP()
if roI3spqORKae(hXMPsSrOQzbh.bSizer9, roI3spqORKae(ES5oEprVxulp(b'#\x96\x13\xa0T\xca\x81\xda\x94\xadN:'), chr(0b1100100) + chr(101) + chr(99) + chr(823 - 712) + chr(100) + chr(1045 - 944))(chr(2715 - 2598) + chr(0b1110100) + '\x66' + '\x2d' + '\070'))():
qya8ioruVZil = nzTpIcepk0o8('\x30' + '\x6f' + '\x31', 0b1000)
TLcnrOQdCE7h = hXMPsSrOQzbh.bSizer10.GM61QPomHOyP()
RYdkBUje3R81 = hXMPsSrOQzbh.bSizer11.GM61QPomHOyP()
o3SuW33uOWrs = hXMPsSrOQzbh.bSizer12.GM61QPomHOyP()
if not RYdkBUje3R81 or not o3SuW33uOWrs:
del VBnaM0jy14aO
roI3spqORKae(saCGFe0zE73j, roI3spqORKae(ES5oEprVxulp(b'\x17\xb2H\xe1i\xff\xb1\xc0\xbd\x90Y\x03\xa2\xc4'), chr(0b1011111 + 0o5) + '\x65' + '\x63' + chr(0b1010 + 0o145) + chr(0b1001100 + 0o30) + chr(10121 - 10020))('\165' + chr(116) + '\146' + chr(0b101101) + '\x38'))(roI3spqORKae(ES5oEprVxulp(b'-\xbd\x05\xe1i\xf5\x9a\xc3\xb5\x8cPJ\xb8\xca\xbe!Z\x18go\x86S%\x817\xb2\x9fV\x9d\xaf\xbcR7\x06\xa9\x81\xfd+r\x0f\x06\xb4Q\xf9%\xfb\xce\xdb\xb3\x95R\x18\xec\xc2\xbd \t\x1ah#\x96\x0fu\x9d*\xe7\xddT\x9d\xb2\xac\\M=\xa0\xd7\xed b\x0f\x00\xb4K\xb6q\xba\x99\xd6\xb2\x96\x17\x1e\xa3\x83\xa3(F\x0f&w\x8a\x12`\x8b;\xa6\xd3^\xc4\xfc\xbd\x1c$\x1c\xa3\x94\xffocG\x01\xfb\x02\xc1i\xf5\x9a\x97\x9b\xb2c9\xeb\x83\xb0,L\x18ma\x8c\x07'), chr(3289 - 3189) + '\145' + chr(0b1001 + 0o132) + '\x6f' + chr(8348 - 8248) + chr(0b1100101))(chr(117) + chr(4766 - 4650) + chr(610 - 508) + chr(45) + '\070'))
return nzTpIcepk0o8(chr(48) + '\157' + chr(1222 - 1174), 8)
else:
(qya8ioruVZil, TLcnrOQdCE7h, RYdkBUje3R81, o3SuW33uOWrs) = (nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110000), 8), roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(0b111000 + 0o55) + '\x63' + chr(0b1101111) + chr(1735 - 1635) + chr(8117 - 8016))(chr(117) + chr(116) + chr(0b1100110) + '\x2d' + chr(56)), -nzTpIcepk0o8(chr(48) + chr(111) + chr(49), 8), -nzTpIcepk0o8('\060' + chr(111) + chr(1457 - 1408), 8))
ibC0jKTChrfb = hXMPsSrOQzbh.shape_choices_dict[hXMPsSrOQzbh.bSizer5.GM61QPomHOyP()]
hfjqtiK9avPe = hXMPsSrOQzbh.bSizer4.GM61QPomHOyP()[nzTpIcepk0o8(chr(804 - 756) + '\157' + '\x30', 8)]
ap75Y_eaMZLk = hfjqtiK9avPe + ibC0jKTChrfb
e1HrJaQHACnl = hXMPsSrOQzbh.bSizer5a.GM61QPomHOyP()
dVGywM8ePC9u = hXMPsSrOQzbh.bSizer5b.GM61QPomHOyP()
if dVGywM8ePC9u:
dVGywM8ePC9u = nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(49), 8)
else:
dVGywM8ePC9u = nzTpIcepk0o8(chr(48) + '\x6f' + chr(48), 8)
e5rcHW8hR5dL = N9zlRy29S1SS(hXMPsSrOQzbh.bSizer13.GM61QPomHOyP())
ZiKB99Xs91Lo = hXMPsSrOQzbh.bSizer14.GM61QPomHOyP()
if not ZiKB99Xs91Lo:
ZiKB99Xs91Lo = nzTpIcepk0o8('\060' + chr(111) + '\x30', 8)
e5rcHW8hR5dL = roI3spqORKae(ES5oEprVxulp(b'(\x8f\x08\xdfJ'), chr(100) + '\145' + '\x63' + chr(0b1000000 + 0o57) + chr(0b10100 + 0o120) + chr(7458 - 7357))(chr(117) + chr(116) + chr(0b1011110 + 0o10) + '\x2d' + '\x38')
(pMZEnc91gpWS, sc4pJ_rhAw00, S8gUNkFK3Z7g, ZqCHlSR6dDCx) = (nzTpIcepk0o8('\060' + chr(9958 - 9847) + chr(0b101110 + 0o2), 8), nzTpIcepk0o8('\x30' + chr(0b1100110 + 0o11) + chr(0b101010 + 0o6), 8), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b110000), 8), nzTpIcepk0o8('\x30' + '\157' + chr(394 - 346), 8))
for pXwvT17vr09s in roI3spqORKae(hXMPsSrOQzbh.bSizer3, roI3spqORKae(ES5oEprVxulp(b'#\x96\x13\xa0T\xca\x81\xda\x94\xadN:'), chr(0b1100100) + chr(563 - 462) + chr(0b100011 + 0o100) + chr(111) + '\144' + chr(0b1100101))(chr(0b1110101) + chr(9961 - 9845) + '\146' + '\x2d' + chr(0b110011 + 0o5)))():
if roI3spqORKae(ES5oEprVxulp(b'\x00\xbeF\xfdl\xf4\x8f\xc3\xb5\x8dY'), chr(0b1100100) + chr(2355 - 2254) + chr(0b1001111 + 0o24) + '\x6f' + '\x64' + chr(0b1100101))(chr(0b100111 + 0o116) + chr(279 - 163) + chr(9003 - 8901) + chr(45) + '\070') in pXwvT17vr09s:
pMZEnc91gpWS = nzTpIcepk0o8(chr(1930 - 1882) + '\157' + chr(0b110001), 8)
if roI3spqORKae(ES5oEprVxulp(b'\r\xb5F\xfdl\xf4\x8f\xc3\xb5\x8dY'), chr(7410 - 7310) + '\145' + chr(0b11000 + 0o113) + '\157' + chr(187 - 87) + chr(0b110001 + 0o64))('\x75' + chr(116) + chr(0b1100110) + '\055' + '\070') in pXwvT17vr09s:
sc4pJ_rhAw00 = nzTpIcepk0o8(chr(48) + chr(0b1 + 0o156) + chr(1875 - 1826), 8)
if roI3spqORKae(ES5oEprVxulp(b'\t\xbaB\xff`\xee\x87\xcd\xbd\x96^\x05\xa2'), chr(0b1100100) + chr(0b1100101) + chr(0b1100011) + chr(7570 - 7459) + chr(2744 - 2644) + chr(10134 - 10033))('\165' + '\164' + chr(0b1011110 + 0o10) + '\x2d' + chr(56)) in pXwvT17vr09s:
S8gUNkFK3Z7g = nzTpIcepk0o8(chr(0b10000 + 0o40) + chr(6520 - 6409) + chr(0b10010 + 0o37), 8)
if roI3spqORKae(ES5oEprVxulp(b'\x08\xb4B'), chr(0b1011011 + 0o11) + chr(0b1001111 + 0o26) + '\143' + chr(0b1101111) + chr(0b1010101 + 0o17) + chr(0b1100101))(chr(0b1110101) + chr(0b101011 + 0o111) + chr(0b1100110) + chr(1034 - 989) + '\070') in pXwvT17vr09s:
ZqCHlSR6dDCx = nzTpIcepk0o8(chr(0b110000) + chr(0b1000111 + 0o50) + '\x31', 8)
JummcHpaNLEw = hXMPsSrOQzbh.bSizer16.GM61QPomHOyP()
(ux0XlXMUdKbX, xJavm5QUxHPO) = GL09QZtbvKPg.core_depthplot(KADebXAR9grB or hXMPsSrOQzbh.GP1zEShDyCxL, rHPU8oONrR4n, irf6wtVugokD, bqpTUs8apVqb, _FpkWd4wvvaT, cuJmomB0XH13, roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(9237 - 9136) + '\x63' + chr(0b100000 + 0o117) + '\144' + chr(0b1100101))(chr(117) + chr(1752 - 1636) + '\x66' + chr(0b101101) + chr(0b111000)), H1WMyWd7nBfT, Hg_KJkMRv5EQ, vrYAlPlCS8EO, ap75Y_eaMZLk, e1HrJaQHACnl, GbIvlkpZ4Kaz, ByjOmeS2Wswa, e5rcHW8hR5dL, ZiKB99Xs91Lo, JummcHpaNLEw, pMZEnc91gpWS, sc4pJ_rhAw00, S8gUNkFK3Z7g, dVGywM8ePC9u, nzTpIcepk0o8('\x30' + chr(3360 - 3249) + chr(284 - 235), 8), ZqCHlSR6dDCx, qya8ioruVZil, TLcnrOQdCE7h, RYdkBUje3R81, o3SuW33uOWrs)
if ux0XlXMUdKbX:
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b' \xbeV\xe5w\xf5\x97'), chr(2543 - 2443) + '\145' + chr(99) + chr(3003 - 2892) + chr(0b110010 + 0o62) + chr(0b1100101))('\165' + chr(0b1110100) + chr(102) + chr(0b101101) + chr(56)))()
tBMIUInSaqoo = ux0XlXMUdKbX.get_dpi()
B4BhEz_erTKs = tBMIUInSaqoo * ux0XlXMUdKbX.get_figwidth()
lPx3_uIwe49t = tBMIUInSaqoo * ux0XlXMUdKbX.get_figheight()
Jg16P97zoS46 = m_aKv_kltgUH((B4BhEz_erTKs, lPx3_uIwe49t + nzTpIcepk0o8(chr(0b1111 + 0o41) + '\157' + chr(0b110110) + chr(1314 - 1264), 0o10)), ux0XlXMUdKbX, xJavm5QUxHPO)
del VBnaM0jy14aO
return Jg16P97zoS46
else:
del VBnaM0jy14aO
roI3spqORKae(saCGFe0zE73j, roI3spqORKae(ES5oEprVxulp(b'\x17\xb2H\xe1i\xff\xb1\xc0\xbd\x90Y\x03\xa2\xc4'), chr(0b1100100) + '\x65' + '\x63' + chr(0b100 + 0o153) + '\x64' + '\145')(chr(0b1110101) + chr(2011 - 1895) + '\x66' + '\x2d' + '\070'))(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'*\xb4\x05\xf5d\xee\x8f\x97\xac\x8d^\x04\xb8\xd0\xf3)L\x0f&z\x8c\nw\xd8;\xb5\xd6O\x8d\xae\xa1\x13gY\xe6\x83\xe667N\x03\xbaL\xff\x0f\xdf\x9c\xc5\xb3\x90\x17\x07\xa9\xd0\xa0%N\x1e<#\x98\x02'), '\144' + chr(0b1100101) + '\143' + '\157' + chr(100) + chr(9433 - 9332))(chr(0b10111 + 0o136) + chr(116) + '\x66' + chr(0b10000 + 0o35) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\x15\xe8\x16\xdaB\xa9\x88\xd8\x8d\xbdt '), '\x64' + chr(0b1100101) + '\143' + chr(0b1010100 + 0o33) + '\x64' + '\145')(chr(117) + '\x74' + chr(0b1100110) + chr(0b101101) + chr(0b111000)))(xJavm5QUxHPO))
return nzTpIcepk0o8(chr(756 - 708) + chr(0b101100 + 0o103) + chr(48), 8)
if rHPU8oONrR4n:
rHPU8oONrR4n = aHUqKstZLeS6.path.LfRrQOxuDvnC(rHPU8oONrR4n)[nzTpIcepk0o8(chr(0b0 + 0o60) + '\157' + chr(49), 8)]
rHPU8oONrR4n = hUcsWwAd0nE_.add_flag(rHPU8oONrR4n, roI3spqORKae(ES5oEprVxulp(b'I\xbd'), chr(0b11110 + 0o106) + chr(0b1100101) + '\x63' + '\157' + chr(3685 - 3585) + chr(101))('\165' + chr(0b1110100) + chr(0b1100110) + chr(45) + '\070'))
if irf6wtVugokD:
irf6wtVugokD = aHUqKstZLeS6.path.LfRrQOxuDvnC(irf6wtVugokD)[nzTpIcepk0o8('\x30' + chr(0b1101111) + '\061', 8)]
irf6wtVugokD = hUcsWwAd0nE_.add_flag(irf6wtVugokD, roI3spqORKae(ES5oEprVxulp(b'I\xbdV\xe1'), chr(100) + chr(0b111011 + 0o52) + '\143' + '\157' + chr(7341 - 7241) + '\x65')(chr(0b1110101) + '\164' + chr(7259 - 7157) + chr(45) + chr(56)))
irf6wtVugokD = irf6wtVugokD + roI3spqORKae(ES5oEprVxulp(b'D'), chr(0b110011 + 0o61) + chr(0b1100101) + chr(0b11110 + 0o105) + chr(0b1 + 0o156) + chr(0b1100100) + '\x65')(chr(117) + chr(0b1110100) + chr(0b1100110) + chr(696 - 651) + '\x38') + AqZlVrrxSzjB + Rw2WQscpqawP + roI3spqORKae(ES5oEprVxulp(b'D'), chr(0b1011001 + 0o13) + chr(2230 - 2129) + chr(9055 - 8956) + chr(111) + chr(0b1100100) + '\x65')(chr(8000 - 7883) + chr(0b10001 + 0o143) + '\x66' + '\055' + chr(0b1001 + 0o57)) + N9zlRy29S1SS(ByjOmeS2Wswa)
ap75Y_eaMZLk = roI3spqORKae(ES5oEprVxulp(b'I\xa8\\\xfc%'), chr(5663 - 5563) + chr(9136 - 9035) + chr(8097 - 7998) + chr(0b1100 + 0o143) + '\144' + '\145')(chr(117) + chr(116) + chr(0b11111 + 0o107) + chr(0b101101) + '\070') + ap75Y_eaMZLk + roI3spqORKae(ES5oEprVxulp(b'D'), chr(0b1100100) + chr(101) + chr(0b1100011) + '\157' + '\x64' + chr(0b100100 + 0o101))('\165' + chr(0b1110100) + chr(0b1100110) + chr(45) + chr(56)) + N9zlRy29S1SS(e1HrJaQHACnl)
if bqpTUs8apVqb:
bqpTUs8apVqb = aHUqKstZLeS6.path.LfRrQOxuDvnC(bqpTUs8apVqb)[nzTpIcepk0o8(chr(0b110000) + chr(3635 - 3524) + chr(0b100110 + 0o13), 8)]
bqpTUs8apVqb = hUcsWwAd0nE_.add_flag(bqpTUs8apVqb, roI3spqORKae(ES5oEprVxulp(b'I\xbdV\xf0'), chr(2447 - 2347) + chr(0b1010000 + 0o25) + chr(7176 - 7077) + '\x6f' + '\x64' + chr(0b1100101))('\x75' + chr(116) + chr(0b110011 + 0o63) + chr(45) + chr(56)))
if _FpkWd4wvvaT:
_FpkWd4wvvaT = aHUqKstZLeS6.path.LfRrQOxuDvnC(_FpkWd4wvvaT)[nzTpIcepk0o8(chr(0b110000) + '\157' + '\061', 8)]
_FpkWd4wvvaT = hUcsWwAd0nE_.add_flag(_FpkWd4wvvaT, roI3spqORKae(ES5oEprVxulp(b'I\xbdD'), chr(1572 - 1472) + chr(0b1100101) + '\143' + chr(0b1000010 + 0o55) + chr(0b1100000 + 0o4) + '\145')(chr(0b110110 + 0o77) + '\x74' + chr(0b11001 + 0o115) + chr(45) + chr(0b1001 + 0o57)))
H1WMyWd7nBfT = hUcsWwAd0nE_.add_flag(H1WMyWd7nBfT, roI3spqORKae(ES5oEprVxulp(b'I\xbfV'), chr(100) + chr(101) + chr(99) + '\157' + chr(0b1100100) + chr(3371 - 3270))(chr(0b1011101 + 0o30) + chr(0b110001 + 0o103) + chr(0b1100110) + chr(0b101101) + chr(0b11011 + 0o35)))
Y7SQYEYsk_4G = roI3spqORKae(ES5oEprVxulp(b''), chr(0b1011000 + 0o14) + chr(101) + chr(0b1100011) + '\157' + '\144' + chr(101))(chr(0b1110101) + '\164' + chr(102) + '\055' + chr(529 - 473))
if Hg_KJkMRv5EQ and vrYAlPlCS8EO:
Y7SQYEYsk_4G = roI3spqORKae(ES5oEprVxulp(b'I\xbf\x05'), chr(0b111010 + 0o52) + chr(0b110000 + 0o65) + '\x63' + chr(111) + '\144' + '\x65')(chr(0b1010010 + 0o43) + chr(0b1110100) + chr(102) + chr(0b101101) + chr(0b100011 + 0o25)) + N9zlRy29S1SS(Hg_KJkMRv5EQ) + roI3spqORKae(ES5oEprVxulp(b'D'), chr(0b1100100) + '\x65' + chr(0b1100011) + '\157' + '\x64' + '\x65')(chr(13675 - 13558) + chr(3232 - 3116) + chr(9898 - 9796) + chr(45) + '\070') + N9zlRy29S1SS(vrYAlPlCS8EO)
if qya8ioruVZil and RYdkBUje3R81 and o3SuW33uOWrs:
TLcnrOQdCE7h = roI3spqORKae(ES5oEprVxulp(b'I\xafV\xb1'), '\x64' + chr(0b1100101) + chr(99) + '\157' + chr(4264 - 4164) + '\x65')('\165' + '\164' + chr(8894 - 8792) + chr(45) + chr(0b111000)) + TLcnrOQdCE7h + roI3spqORKae(ES5oEprVxulp(b'D'), '\x64' + chr(0b1010100 + 0o21) + '\143' + chr(0b1011001 + 0o26) + chr(3310 - 3210) + chr(0b101010 + 0o73))(chr(0b110011 + 0o102) + chr(0b1110100) + chr(102) + '\x2d' + chr(0b111000)) + N9zlRy29S1SS(RYdkBUje3R81) + roI3spqORKae(ES5oEprVxulp(b'D'), chr(0b1001111 + 0o25) + chr(7688 - 7587) + chr(4762 - 4663) + chr(2701 - 2590) + '\144' + chr(3668 - 3567))('\165' + chr(0b1000101 + 0o57) + chr(102) + chr(0b101101) + chr(56)) + N9zlRy29S1SS(o3SuW33uOWrs)
else:
TLcnrOQdCE7h = roI3spqORKae(ES5oEprVxulp(b''), chr(100) + '\145' + chr(0b1100011) + '\x6f' + chr(8483 - 8383) + chr(0b100000 + 0o105))('\165' + '\x74' + chr(0b1100110) + '\x2d' + '\070')
e5rcHW8hR5dL = hUcsWwAd0nE_.add_flag(e5rcHW8hR5dL, roI3spqORKae(ES5oEprVxulp(b'I\x97u'), chr(2236 - 2136) + chr(101) + chr(99) + chr(111) + chr(0b101011 + 0o71) + '\x65')('\x75' + chr(0b100001 + 0o123) + '\x66' + '\x2d' + '\070')) + roI3spqORKae(ES5oEprVxulp(b'D'), chr(8937 - 8837) + chr(101) + '\143' + chr(0b1101111) + chr(100) + chr(101))(chr(0b1110101) + chr(0b1000001 + 0o63) + chr(102) + chr(2010 - 1965) + '\x38') + N9zlRy29S1SS(ZiKB99Xs91Lo)
if not pMZEnc91gpWS:
pMZEnc91gpWS = roI3spqORKae(ES5oEprVxulp(b'I\x9f'), '\144' + chr(0b111110 + 0o47) + chr(0b1100011) + chr(111) + chr(100) + chr(0b1000001 + 0o44))(chr(0b1101101 + 0o10) + '\164' + chr(1363 - 1261) + chr(932 - 887) + chr(56))
else:
pMZEnc91gpWS = roI3spqORKae(ES5oEprVxulp(b''), '\x64' + '\145' + chr(6715 - 6616) + chr(316 - 205) + '\x64' + chr(0b1000011 + 0o42))(chr(0b1110101) + chr(7275 - 7159) + '\x66' + chr(0b101101) + chr(56))
if not sc4pJ_rhAw00:
sc4pJ_rhAw00 = roI3spqORKae(ES5oEprVxulp(b'I\x92'), '\144' + chr(0b1010101 + 0o20) + '\143' + chr(0b1101111) + '\x64' + chr(0b10001 + 0o124))(chr(2375 - 2258) + '\x74' + '\x66' + chr(0b10010 + 0o33) + chr(0b111000))
else:
sc4pJ_rhAw00 = roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(0b1100101) + chr(99) + chr(4392 - 4281) + chr(3779 - 3679) + chr(7475 - 7374))(chr(0b1110101) + chr(12071 - 11955) + '\x66' + '\x2d' + '\070')
if not S8gUNkFK3Z7g:
S8gUNkFK3Z7g = roI3spqORKae(ES5oEprVxulp(b'I\x96'), chr(780 - 680) + chr(0b11001 + 0o114) + chr(0b1100011) + '\x6f' + chr(0b100110 + 0o76) + chr(3481 - 3380))(chr(3073 - 2956) + chr(0b1110100) + chr(3261 - 3159) + chr(946 - 901) + '\x38')
else:
S8gUNkFK3Z7g = roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(3889 - 3788) + '\x63' + chr(3797 - 3686) + '\x64' + chr(0b1001010 + 0o33))(chr(0b1110101) + chr(116) + '\x66' + '\x2d' + chr(0b111000))
if dVGywM8ePC9u:
dVGywM8ePC9u = roI3spqORKae(ES5oEprVxulp(b''), chr(0b100001 + 0o103) + chr(8409 - 8308) + chr(0b1100011) + chr(8351 - 8240) + chr(0b1100100) + chr(7224 - 7123))(chr(117) + chr(0b10111 + 0o135) + '\146' + '\055' + '\070')
else:
dVGywM8ePC9u = roI3spqORKae(ES5oEprVxulp(b'I\x97'), chr(0b1100100) + chr(101) + '\x63' + chr(9004 - 8893) + chr(0b1111 + 0o125) + chr(0b1100101))(chr(0b1110101) + '\164' + chr(0b1100110) + '\x2d' + chr(0b111000))
if ZqCHlSR6dDCx:
ZqCHlSR6dDCx = roI3spqORKae(ES5oEprVxulp(b'I\xb7J\xf6'), chr(0b1000000 + 0o44) + '\x65' + chr(6758 - 6659) + chr(0b1101111) + chr(0b1100100) + chr(101))(chr(0b1111 + 0o146) + chr(3704 - 3588) + chr(0b1101 + 0o131) + chr(0b101101) + chr(2760 - 2704))
else:
ZqCHlSR6dDCx = roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(0b100001 + 0o104) + chr(0b100111 + 0o74) + '\157' + chr(1792 - 1692) + '\x65')(chr(0b1110101) + chr(116) + chr(102) + chr(0b101101) + '\070')
JummcHpaNLEw = hUcsWwAd0nE_.add_flag(JummcHpaNLEw, roI3spqORKae(ES5oEprVxulp(b'I\xbdH\xe5'), '\144' + chr(101) + chr(2654 - 2555) + '\x6f' + chr(100) + chr(0b111101 + 0o50))('\x75' + chr(116) + chr(3975 - 3873) + chr(45) + chr(56)))
vniUefO70Z3f = roI3spqORKae(ES5oEprVxulp(b'\x07\xb4W\xf4Z\xfe\x8b\xc7\xa8\x8aG\x06\xa3\xd7\xfd4P[}n\x86\x1ev\xa7>\xae\xd3^\x95\xfc\xb3\x02*\x15\xa1\xa8\xe7?rL;\xbdL\xfd`\xe7\xce\xcc\xaf\x9bZ\x17\xec\xd8\xa0%D\x0bYe\x8a\x13`\x85x\xbc\xde\\\x8d\x83\xae\x1b+\x11\xbb\xd7\xef+r_\x10\xb3z\xe2f\xfb\x82\xd2\xa1\xc2L\x0e\xa9\xd3\xa7,v\tgm\x84\x1ax\xd8#\xb3\xd6V\x8d\xaf\xab\x13+\x11\xbb\xd7\xef"r[\x0c\xb4A\xec%\xe1\x9e\xdb\xa8\xa6R\t\xb1\x83\xa84E\x0fOm\x80\x02%\x83(\xab\xcbv\x89\xbb\xb5R<\x18\xa9\x90\xfd;j\x0f\x1f\xbdH\xe5x\xba\x95\xc7\xb0\x96{\x03\xa2\xc6\xaed\x04,B#\x98(A\x85'), '\x64' + chr(9695 - 9594) + chr(0b1100011) + chr(12166 - 12055) + '\x64' + '\145')('\x75' + '\x74' + chr(0b110111 + 0o57) + chr(1745 - 1700) + '\x38').q33KG3foQ_CJ(meas_file=rHPU8oONrR4n, pmag_spec_file=irf6wtVugokD, sym=ap75Y_eaMZLk, samp_file=bqpTUs8apVqb, age_file=_FpkWd4wvvaT, depth_scale=H1WMyWd7nBfT, depth_range=Y7SQYEYsk_4G, timescale=TLcnrOQdCE7h, method=e5rcHW8hR5dL, pltDec=pMZEnc91gpWS, pltInc=sc4pJ_rhAw00, pltMag=S8gUNkFK3Z7g, logit=ZqCHlSR6dDCx, fmt=JummcHpaNLEw, pltLine=dVGywM8ePC9u, WD=hXMPsSrOQzbh.GP1zEShDyCxL)
v8jsMqaYV6U2(vniUefO70Z3f)
|
PmagPy/PmagPy
|
programs/deprecated/odp_srm_magic.py
|
main
|
def main():
"""
NAME
odp_srm_magic.py
DESCRIPTION
converts ODP measurement format files to magic_measurements format files
SYNTAX
odp_srm_magic.py [command line options]
OPTIONS
-h: prints the help message and quits.
-F FILE: specify output measurements file, default is magic_measurements.txt
-Fsa FILE: specify output er_sample.txt file, default is er_sample.txt
-A : don't average replicate measurements
INPUT
put data from a single core into a directory. depths will be below core top
"""
#
#
version_num=pmag.get_version()
meas_file='magic_measurements.txt'
samp_file='er_samples.txt'
ErSpecs,ErSamps,ErSites,ErLocs,ErCits=[],[],[],[],[]
MagRecs=[]
citation="This study"
dir_path,demag='.','NRM'
args=sys.argv
noave=0,
if '-WD' in args:
ind=args.index("-WD")
dir_path=args[ind+1]
if "-h" in args:
print(main.__doc__)
sys.exit()
if "-A" in args: noave=1
if '-F' in args:
ind=args.index("-F")
meas_file=args[ind+1]
if '-Fsa' in args:
ind=args.index("-Fsa")
samp_file=args[ind+1]
if '-LP' in args:
ind=args.index("-LP")
codelist=args[ind+1]
codes=codelist.split(':')
if "AF" in codes:
demag='AF'
if'-dc' not in args: methcode="LT-AF-Z"
if'-dc' in args: methcode="LT-AF-I"
if "T" in codes:
demag="T"
if '-dc' not in args: methcode="LT-T-Z"
if '-dc' in args: methcode="LT-T-I"
if "I" in codes:
methcode="LP-IRM"
if "S" in codes:
demag="S"
methcode="LP-PI-TRM:LP-PI-ALT-AFARM"
trm_labfield=labfield
ans=input("DC lab field for ARM step: [50uT] ")
if ans=="":
arm_labfield=50e-6
else:
arm_labfield=float(ans)*1e-6
ans=input("temperature for total trm step: [600 C] ")
if ans=="":
trm_peakT=600+273 # convert to kelvin
else:
trm_peakT=float(ans)+273 # convert to kelvin
if "G" in codes: methcode="LT-AF-G"
if "D" in codes: methcode="LT-AF-D"
if "TRM" in codes:
demag="T"
trm=1
if demag=="T" and "ANI" in codes:
methcode="LP-AN-TRM"
if demag=="AF" and "ANI" in codes:
methcode="LP-AN-ARM"
if labfield==0: labfield=50e-6
if peakfield==0: peakfield=.180
samp_file=dir_path+'/'+samp_file
meas_file=dir_path+'/'+meas_file
filelist=os.listdir(dir_path) # read in list of files to import
specimens,samples,sites=[],[],[]
MagRecs,SpecRecs,SampRecs=[],[],[]
for file in filelist: # parse each file
if file[-3:].lower()=='srm':
print('processing: ',file)
Nfo=file.split('_')[0].split('-')
try:
sect=int(Nfo[3][:-1])
except:
sect=1
input=open(file,'r').readlines()
MagRec,SpecRec,SampRec={},{},{}
alt_spec,treatment_type,treatment_value,user="","","",""
inst="ODP-SRM"
SampRec['sample_azimuth']='0'
SampRec['sample_dip']='0'
SampRec['magic_method_code']='FS-C-DRILL-IODP:SP-SS-C'
MagRec['er_analyst_mail_names']=user
MagRec['magic_method_codes']='LT-NO'
MagRec['magic_software_packages']=version_num
MagRec["treatment_temp"]='%8.3e' % (273) # room temp in kelvin
MagRec["measurement_temp"]='%8.3e' % (273) # room temp in kelvin
MagRec["treatment_ac_field"]='0'
MagRec["treatment_dc_field"]='0'
MagRec["treatment_dc_field_phi"]='0'
MagRec["treatment_dc_field_theta"]='0'
MagRec["measurement_flag"]='g' # assume all data are "good"
MagRec["measurement_standard"]='u' # assume all data are "good"
MagRec["measurement_csd"]='' # set csd to blank
SpecRec['er_specimen_alternatives']=alt_spec
vol=7e-6 # assume 7 cc samples
datestamp=input[1].split() # date time is second line of file
mmddyy=datestamp[0].split('/') # break into month day year
date=mmddyy[2]+':'+mmddyy[0]+":"+mmddyy[1] +':' +datestamp[1]
MagRec["measurement_date"]=date
treatment_value,inst="","ODP-SRM"
k=0
while 1:
fields= input[k].replace('\n','').split("=")
if 'treatment_type' in fields[0]:
if "Alternating Frequency Demagnetization" in fields[1]:
MagRec['magic_method_codes'] = 'LT-AF-Z'
inst=inst+':ODP-DTECH' # measured on shipboard AF DTECH D2000
if "treatment_value" in fields[0]:
value=fields[1]
if value!=" ":
treatment_value=float(value)*1e-3
MagRec["treatment_ac_field"]='%8.3e'%(treatment_value) # AF demag in treat mT => T
if 'user' in fields[0]:
user=fields[-1]
MagRec["er_analyst_mail_names"]=user
MagRec["measurement_standard"]='u' # assume all data are "good"
if 'sample_area' in fields[0]: vol=float(fields[1])*1e-6 # takes volume (cc) and converts to m^3
if 'run_number' in fields[0]:
MagRec['external_database_ids']=fields[1] # run number is the LIMS measurement number
MagRec['external_database_names']='LIMS'
k+=1
if input[k][0:7]=='<MULTI>':
break
while 1:
k+=1
line = input[k]
if line[0:5]=='<RAW>':
break
treatment_value=""
rec=line.replace('\n','').split(',') # list of data
if len(rec)>2:
MeasRec,SampRec={},{'core_depth':'0','er_sample_name':'0','er_site_name':'0','er_location_name':'location'}
for key in list(MagRec.keys()):MeasRec[key]=MagRec[key]
for item in rec:
items=item.split('=')
if 'demag_level' in items[0]:
treat= float(items[1])
if treat!=0:
MeasRec['magic_method_codes']='LT-AF-Z'
inst=inst+':ODP-SRM-AF'
MeasRec["treatment_ac_field"]='%8.3e'%(treat*1e-3) # AF demag in treat mT => T
if 'inclination_w_tray_w_bkgrd' in items[0]: MeasRec['measurement_inc']=items[1]
if 'declination_w_tray_w_bkgrd' in items[0]: MeasRec['measurement_dec']=items[1]
if 'intensity_w_tray_w_bkgrd' in items[0]: MeasRec['measurement_magn_moment']='%8.3e'%(float(items[1])*vol) # convert intensity from A/m to Am^2 using vol
MeasRec['magic_instrument_codes']=inst
if 'offset' in items[0]:
depth='%7.3f'%(float(sect-1)*1.5+float(items[1]))
SampRec['core_depth']=depth
MeasRec['er_specimen_name']=depth
MeasRec['er_sample_name']=depth
MeasRec['er_site_name']=depth
MeasRec['er_location_name']='location'
SampRec['er_sample_name']=depth
SampRec['er_site_name']=depth
SampRec['er_location_name']='location'
MeasRec['measurement_number']='1'
SampRecs.append(SampRec)
MagRecs.append(MeasRec)
pmag.magic_write(samp_file,SampRecs,'er_samples')
print('samples stored in ',samp_file)
Fixed=pmag.measurements_methods(MagRecs,noave)
pmag.magic_write(meas_file,Fixed,'magic_measurements')
print('data stored in ',meas_file)
|
python
|
def main():
"""
NAME
odp_srm_magic.py
DESCRIPTION
converts ODP measurement format files to magic_measurements format files
SYNTAX
odp_srm_magic.py [command line options]
OPTIONS
-h: prints the help message and quits.
-F FILE: specify output measurements file, default is magic_measurements.txt
-Fsa FILE: specify output er_sample.txt file, default is er_sample.txt
-A : don't average replicate measurements
INPUT
put data from a single core into a directory. depths will be below core top
"""
#
#
version_num=pmag.get_version()
meas_file='magic_measurements.txt'
samp_file='er_samples.txt'
ErSpecs,ErSamps,ErSites,ErLocs,ErCits=[],[],[],[],[]
MagRecs=[]
citation="This study"
dir_path,demag='.','NRM'
args=sys.argv
noave=0,
if '-WD' in args:
ind=args.index("-WD")
dir_path=args[ind+1]
if "-h" in args:
print(main.__doc__)
sys.exit()
if "-A" in args: noave=1
if '-F' in args:
ind=args.index("-F")
meas_file=args[ind+1]
if '-Fsa' in args:
ind=args.index("-Fsa")
samp_file=args[ind+1]
if '-LP' in args:
ind=args.index("-LP")
codelist=args[ind+1]
codes=codelist.split(':')
if "AF" in codes:
demag='AF'
if'-dc' not in args: methcode="LT-AF-Z"
if'-dc' in args: methcode="LT-AF-I"
if "T" in codes:
demag="T"
if '-dc' not in args: methcode="LT-T-Z"
if '-dc' in args: methcode="LT-T-I"
if "I" in codes:
methcode="LP-IRM"
if "S" in codes:
demag="S"
methcode="LP-PI-TRM:LP-PI-ALT-AFARM"
trm_labfield=labfield
ans=input("DC lab field for ARM step: [50uT] ")
if ans=="":
arm_labfield=50e-6
else:
arm_labfield=float(ans)*1e-6
ans=input("temperature for total trm step: [600 C] ")
if ans=="":
trm_peakT=600+273 # convert to kelvin
else:
trm_peakT=float(ans)+273 # convert to kelvin
if "G" in codes: methcode="LT-AF-G"
if "D" in codes: methcode="LT-AF-D"
if "TRM" in codes:
demag="T"
trm=1
if demag=="T" and "ANI" in codes:
methcode="LP-AN-TRM"
if demag=="AF" and "ANI" in codes:
methcode="LP-AN-ARM"
if labfield==0: labfield=50e-6
if peakfield==0: peakfield=.180
samp_file=dir_path+'/'+samp_file
meas_file=dir_path+'/'+meas_file
filelist=os.listdir(dir_path) # read in list of files to import
specimens,samples,sites=[],[],[]
MagRecs,SpecRecs,SampRecs=[],[],[]
for file in filelist: # parse each file
if file[-3:].lower()=='srm':
print('processing: ',file)
Nfo=file.split('_')[0].split('-')
try:
sect=int(Nfo[3][:-1])
except:
sect=1
input=open(file,'r').readlines()
MagRec,SpecRec,SampRec={},{},{}
alt_spec,treatment_type,treatment_value,user="","","",""
inst="ODP-SRM"
SampRec['sample_azimuth']='0'
SampRec['sample_dip']='0'
SampRec['magic_method_code']='FS-C-DRILL-IODP:SP-SS-C'
MagRec['er_analyst_mail_names']=user
MagRec['magic_method_codes']='LT-NO'
MagRec['magic_software_packages']=version_num
MagRec["treatment_temp"]='%8.3e' % (273) # room temp in kelvin
MagRec["measurement_temp"]='%8.3e' % (273) # room temp in kelvin
MagRec["treatment_ac_field"]='0'
MagRec["treatment_dc_field"]='0'
MagRec["treatment_dc_field_phi"]='0'
MagRec["treatment_dc_field_theta"]='0'
MagRec["measurement_flag"]='g' # assume all data are "good"
MagRec["measurement_standard"]='u' # assume all data are "good"
MagRec["measurement_csd"]='' # set csd to blank
SpecRec['er_specimen_alternatives']=alt_spec
vol=7e-6 # assume 7 cc samples
datestamp=input[1].split() # date time is second line of file
mmddyy=datestamp[0].split('/') # break into month day year
date=mmddyy[2]+':'+mmddyy[0]+":"+mmddyy[1] +':' +datestamp[1]
MagRec["measurement_date"]=date
treatment_value,inst="","ODP-SRM"
k=0
while 1:
fields= input[k].replace('\n','').split("=")
if 'treatment_type' in fields[0]:
if "Alternating Frequency Demagnetization" in fields[1]:
MagRec['magic_method_codes'] = 'LT-AF-Z'
inst=inst+':ODP-DTECH' # measured on shipboard AF DTECH D2000
if "treatment_value" in fields[0]:
value=fields[1]
if value!=" ":
treatment_value=float(value)*1e-3
MagRec["treatment_ac_field"]='%8.3e'%(treatment_value) # AF demag in treat mT => T
if 'user' in fields[0]:
user=fields[-1]
MagRec["er_analyst_mail_names"]=user
MagRec["measurement_standard"]='u' # assume all data are "good"
if 'sample_area' in fields[0]: vol=float(fields[1])*1e-6 # takes volume (cc) and converts to m^3
if 'run_number' in fields[0]:
MagRec['external_database_ids']=fields[1] # run number is the LIMS measurement number
MagRec['external_database_names']='LIMS'
k+=1
if input[k][0:7]=='<MULTI>':
break
while 1:
k+=1
line = input[k]
if line[0:5]=='<RAW>':
break
treatment_value=""
rec=line.replace('\n','').split(',') # list of data
if len(rec)>2:
MeasRec,SampRec={},{'core_depth':'0','er_sample_name':'0','er_site_name':'0','er_location_name':'location'}
for key in list(MagRec.keys()):MeasRec[key]=MagRec[key]
for item in rec:
items=item.split('=')
if 'demag_level' in items[0]:
treat= float(items[1])
if treat!=0:
MeasRec['magic_method_codes']='LT-AF-Z'
inst=inst+':ODP-SRM-AF'
MeasRec["treatment_ac_field"]='%8.3e'%(treat*1e-3) # AF demag in treat mT => T
if 'inclination_w_tray_w_bkgrd' in items[0]: MeasRec['measurement_inc']=items[1]
if 'declination_w_tray_w_bkgrd' in items[0]: MeasRec['measurement_dec']=items[1]
if 'intensity_w_tray_w_bkgrd' in items[0]: MeasRec['measurement_magn_moment']='%8.3e'%(float(items[1])*vol) # convert intensity from A/m to Am^2 using vol
MeasRec['magic_instrument_codes']=inst
if 'offset' in items[0]:
depth='%7.3f'%(float(sect-1)*1.5+float(items[1]))
SampRec['core_depth']=depth
MeasRec['er_specimen_name']=depth
MeasRec['er_sample_name']=depth
MeasRec['er_site_name']=depth
MeasRec['er_location_name']='location'
SampRec['er_sample_name']=depth
SampRec['er_site_name']=depth
SampRec['er_location_name']='location'
MeasRec['measurement_number']='1'
SampRecs.append(SampRec)
MagRecs.append(MeasRec)
pmag.magic_write(samp_file,SampRecs,'er_samples')
print('samples stored in ',samp_file)
Fixed=pmag.measurements_methods(MagRecs,noave)
pmag.magic_write(meas_file,Fixed,'magic_measurements')
print('data stored in ',meas_file)
|
[
"def",
"main",
"(",
")",
":",
"#",
"#",
"version_num",
"=",
"pmag",
".",
"get_version",
"(",
")",
"meas_file",
"=",
"'magic_measurements.txt'",
"samp_file",
"=",
"'er_samples.txt'",
"ErSpecs",
",",
"ErSamps",
",",
"ErSites",
",",
"ErLocs",
",",
"ErCits",
"=",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
"MagRecs",
"=",
"[",
"]",
"citation",
"=",
"\"This study\"",
"dir_path",
",",
"demag",
"=",
"'.'",
",",
"'NRM'",
"args",
"=",
"sys",
".",
"argv",
"noave",
"=",
"0",
",",
"if",
"'-WD'",
"in",
"args",
":",
"ind",
"=",
"args",
".",
"index",
"(",
"\"-WD\"",
")",
"dir_path",
"=",
"args",
"[",
"ind",
"+",
"1",
"]",
"if",
"\"-h\"",
"in",
"args",
":",
"print",
"(",
"main",
".",
"__doc__",
")",
"sys",
".",
"exit",
"(",
")",
"if",
"\"-A\"",
"in",
"args",
":",
"noave",
"=",
"1",
"if",
"'-F'",
"in",
"args",
":",
"ind",
"=",
"args",
".",
"index",
"(",
"\"-F\"",
")",
"meas_file",
"=",
"args",
"[",
"ind",
"+",
"1",
"]",
"if",
"'-Fsa'",
"in",
"args",
":",
"ind",
"=",
"args",
".",
"index",
"(",
"\"-Fsa\"",
")",
"samp_file",
"=",
"args",
"[",
"ind",
"+",
"1",
"]",
"if",
"'-LP'",
"in",
"args",
":",
"ind",
"=",
"args",
".",
"index",
"(",
"\"-LP\"",
")",
"codelist",
"=",
"args",
"[",
"ind",
"+",
"1",
"]",
"codes",
"=",
"codelist",
".",
"split",
"(",
"':'",
")",
"if",
"\"AF\"",
"in",
"codes",
":",
"demag",
"=",
"'AF'",
"if",
"'-dc'",
"not",
"in",
"args",
":",
"methcode",
"=",
"\"LT-AF-Z\"",
"if",
"'-dc'",
"in",
"args",
":",
"methcode",
"=",
"\"LT-AF-I\"",
"if",
"\"T\"",
"in",
"codes",
":",
"demag",
"=",
"\"T\"",
"if",
"'-dc'",
"not",
"in",
"args",
":",
"methcode",
"=",
"\"LT-T-Z\"",
"if",
"'-dc'",
"in",
"args",
":",
"methcode",
"=",
"\"LT-T-I\"",
"if",
"\"I\"",
"in",
"codes",
":",
"methcode",
"=",
"\"LP-IRM\"",
"if",
"\"S\"",
"in",
"codes",
":",
"demag",
"=",
"\"S\"",
"methcode",
"=",
"\"LP-PI-TRM:LP-PI-ALT-AFARM\"",
"trm_labfield",
"=",
"labfield",
"ans",
"=",
"input",
"(",
"\"DC lab field for ARM step: [50uT] \"",
")",
"if",
"ans",
"==",
"\"\"",
":",
"arm_labfield",
"=",
"50e-6",
"else",
":",
"arm_labfield",
"=",
"float",
"(",
"ans",
")",
"*",
"1e-6",
"ans",
"=",
"input",
"(",
"\"temperature for total trm step: [600 C] \"",
")",
"if",
"ans",
"==",
"\"\"",
":",
"trm_peakT",
"=",
"600",
"+",
"273",
"# convert to kelvin",
"else",
":",
"trm_peakT",
"=",
"float",
"(",
"ans",
")",
"+",
"273",
"# convert to kelvin",
"if",
"\"G\"",
"in",
"codes",
":",
"methcode",
"=",
"\"LT-AF-G\"",
"if",
"\"D\"",
"in",
"codes",
":",
"methcode",
"=",
"\"LT-AF-D\"",
"if",
"\"TRM\"",
"in",
"codes",
":",
"demag",
"=",
"\"T\"",
"trm",
"=",
"1",
"if",
"demag",
"==",
"\"T\"",
"and",
"\"ANI\"",
"in",
"codes",
":",
"methcode",
"=",
"\"LP-AN-TRM\"",
"if",
"demag",
"==",
"\"AF\"",
"and",
"\"ANI\"",
"in",
"codes",
":",
"methcode",
"=",
"\"LP-AN-ARM\"",
"if",
"labfield",
"==",
"0",
":",
"labfield",
"=",
"50e-6",
"if",
"peakfield",
"==",
"0",
":",
"peakfield",
"=",
".180",
"samp_file",
"=",
"dir_path",
"+",
"'/'",
"+",
"samp_file",
"meas_file",
"=",
"dir_path",
"+",
"'/'",
"+",
"meas_file",
"filelist",
"=",
"os",
".",
"listdir",
"(",
"dir_path",
")",
"# read in list of files to import",
"specimens",
",",
"samples",
",",
"sites",
"=",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
"MagRecs",
",",
"SpecRecs",
",",
"SampRecs",
"=",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
"for",
"file",
"in",
"filelist",
":",
"# parse each file",
"if",
"file",
"[",
"-",
"3",
":",
"]",
".",
"lower",
"(",
")",
"==",
"'srm'",
":",
"print",
"(",
"'processing: '",
",",
"file",
")",
"Nfo",
"=",
"file",
".",
"split",
"(",
"'_'",
")",
"[",
"0",
"]",
".",
"split",
"(",
"'-'",
")",
"try",
":",
"sect",
"=",
"int",
"(",
"Nfo",
"[",
"3",
"]",
"[",
":",
"-",
"1",
"]",
")",
"except",
":",
"sect",
"=",
"1",
"input",
"=",
"open",
"(",
"file",
",",
"'r'",
")",
".",
"readlines",
"(",
")",
"MagRec",
",",
"SpecRec",
",",
"SampRec",
"=",
"{",
"}",
",",
"{",
"}",
",",
"{",
"}",
"alt_spec",
",",
"treatment_type",
",",
"treatment_value",
",",
"user",
"=",
"\"\"",
",",
"\"\"",
",",
"\"\"",
",",
"\"\"",
"inst",
"=",
"\"ODP-SRM\"",
"SampRec",
"[",
"'sample_azimuth'",
"]",
"=",
"'0'",
"SampRec",
"[",
"'sample_dip'",
"]",
"=",
"'0'",
"SampRec",
"[",
"'magic_method_code'",
"]",
"=",
"'FS-C-DRILL-IODP:SP-SS-C'",
"MagRec",
"[",
"'er_analyst_mail_names'",
"]",
"=",
"user",
"MagRec",
"[",
"'magic_method_codes'",
"]",
"=",
"'LT-NO'",
"MagRec",
"[",
"'magic_software_packages'",
"]",
"=",
"version_num",
"MagRec",
"[",
"\"treatment_temp\"",
"]",
"=",
"'%8.3e'",
"%",
"(",
"273",
")",
"# room temp in kelvin",
"MagRec",
"[",
"\"measurement_temp\"",
"]",
"=",
"'%8.3e'",
"%",
"(",
"273",
")",
"# room temp in kelvin",
"MagRec",
"[",
"\"treatment_ac_field\"",
"]",
"=",
"'0'",
"MagRec",
"[",
"\"treatment_dc_field\"",
"]",
"=",
"'0'",
"MagRec",
"[",
"\"treatment_dc_field_phi\"",
"]",
"=",
"'0'",
"MagRec",
"[",
"\"treatment_dc_field_theta\"",
"]",
"=",
"'0'",
"MagRec",
"[",
"\"measurement_flag\"",
"]",
"=",
"'g'",
"# assume all data are \"good\"",
"MagRec",
"[",
"\"measurement_standard\"",
"]",
"=",
"'u'",
"# assume all data are \"good\"",
"MagRec",
"[",
"\"measurement_csd\"",
"]",
"=",
"''",
"# set csd to blank",
"SpecRec",
"[",
"'er_specimen_alternatives'",
"]",
"=",
"alt_spec",
"vol",
"=",
"7e-6",
"# assume 7 cc samples",
"datestamp",
"=",
"input",
"[",
"1",
"]",
".",
"split",
"(",
")",
"# date time is second line of file",
"mmddyy",
"=",
"datestamp",
"[",
"0",
"]",
".",
"split",
"(",
"'/'",
")",
"# break into month day year",
"date",
"=",
"mmddyy",
"[",
"2",
"]",
"+",
"':'",
"+",
"mmddyy",
"[",
"0",
"]",
"+",
"\":\"",
"+",
"mmddyy",
"[",
"1",
"]",
"+",
"':'",
"+",
"datestamp",
"[",
"1",
"]",
"MagRec",
"[",
"\"measurement_date\"",
"]",
"=",
"date",
"treatment_value",
",",
"inst",
"=",
"\"\"",
",",
"\"ODP-SRM\"",
"k",
"=",
"0",
"while",
"1",
":",
"fields",
"=",
"input",
"[",
"k",
"]",
".",
"replace",
"(",
"'\\n'",
",",
"''",
")",
".",
"split",
"(",
"\"=\"",
")",
"if",
"'treatment_type'",
"in",
"fields",
"[",
"0",
"]",
":",
"if",
"\"Alternating Frequency Demagnetization\"",
"in",
"fields",
"[",
"1",
"]",
":",
"MagRec",
"[",
"'magic_method_codes'",
"]",
"=",
"'LT-AF-Z'",
"inst",
"=",
"inst",
"+",
"':ODP-DTECH'",
"# measured on shipboard AF DTECH D2000",
"if",
"\"treatment_value\"",
"in",
"fields",
"[",
"0",
"]",
":",
"value",
"=",
"fields",
"[",
"1",
"]",
"if",
"value",
"!=",
"\" \"",
":",
"treatment_value",
"=",
"float",
"(",
"value",
")",
"*",
"1e-3",
"MagRec",
"[",
"\"treatment_ac_field\"",
"]",
"=",
"'%8.3e'",
"%",
"(",
"treatment_value",
")",
"# AF demag in treat mT => T",
"if",
"'user'",
"in",
"fields",
"[",
"0",
"]",
":",
"user",
"=",
"fields",
"[",
"-",
"1",
"]",
"MagRec",
"[",
"\"er_analyst_mail_names\"",
"]",
"=",
"user",
"MagRec",
"[",
"\"measurement_standard\"",
"]",
"=",
"'u'",
"# assume all data are \"good\"",
"if",
"'sample_area'",
"in",
"fields",
"[",
"0",
"]",
":",
"vol",
"=",
"float",
"(",
"fields",
"[",
"1",
"]",
")",
"*",
"1e-6",
"# takes volume (cc) and converts to m^3",
"if",
"'run_number'",
"in",
"fields",
"[",
"0",
"]",
":",
"MagRec",
"[",
"'external_database_ids'",
"]",
"=",
"fields",
"[",
"1",
"]",
"# run number is the LIMS measurement number",
"MagRec",
"[",
"'external_database_names'",
"]",
"=",
"'LIMS'",
"k",
"+=",
"1",
"if",
"input",
"[",
"k",
"]",
"[",
"0",
":",
"7",
"]",
"==",
"'<MULTI>'",
":",
"break",
"while",
"1",
":",
"k",
"+=",
"1",
"line",
"=",
"input",
"[",
"k",
"]",
"if",
"line",
"[",
"0",
":",
"5",
"]",
"==",
"'<RAW>'",
":",
"break",
"treatment_value",
"=",
"\"\"",
"rec",
"=",
"line",
".",
"replace",
"(",
"'\\n'",
",",
"''",
")",
".",
"split",
"(",
"','",
")",
"# list of data",
"if",
"len",
"(",
"rec",
")",
">",
"2",
":",
"MeasRec",
",",
"SampRec",
"=",
"{",
"}",
",",
"{",
"'core_depth'",
":",
"'0'",
",",
"'er_sample_name'",
":",
"'0'",
",",
"'er_site_name'",
":",
"'0'",
",",
"'er_location_name'",
":",
"'location'",
"}",
"for",
"key",
"in",
"list",
"(",
"MagRec",
".",
"keys",
"(",
")",
")",
":",
"MeasRec",
"[",
"key",
"]",
"=",
"MagRec",
"[",
"key",
"]",
"for",
"item",
"in",
"rec",
":",
"items",
"=",
"item",
".",
"split",
"(",
"'='",
")",
"if",
"'demag_level'",
"in",
"items",
"[",
"0",
"]",
":",
"treat",
"=",
"float",
"(",
"items",
"[",
"1",
"]",
")",
"if",
"treat",
"!=",
"0",
":",
"MeasRec",
"[",
"'magic_method_codes'",
"]",
"=",
"'LT-AF-Z'",
"inst",
"=",
"inst",
"+",
"':ODP-SRM-AF'",
"MeasRec",
"[",
"\"treatment_ac_field\"",
"]",
"=",
"'%8.3e'",
"%",
"(",
"treat",
"*",
"1e-3",
")",
"# AF demag in treat mT => T",
"if",
"'inclination_w_tray_w_bkgrd'",
"in",
"items",
"[",
"0",
"]",
":",
"MeasRec",
"[",
"'measurement_inc'",
"]",
"=",
"items",
"[",
"1",
"]",
"if",
"'declination_w_tray_w_bkgrd'",
"in",
"items",
"[",
"0",
"]",
":",
"MeasRec",
"[",
"'measurement_dec'",
"]",
"=",
"items",
"[",
"1",
"]",
"if",
"'intensity_w_tray_w_bkgrd'",
"in",
"items",
"[",
"0",
"]",
":",
"MeasRec",
"[",
"'measurement_magn_moment'",
"]",
"=",
"'%8.3e'",
"%",
"(",
"float",
"(",
"items",
"[",
"1",
"]",
")",
"*",
"vol",
")",
"# convert intensity from A/m to Am^2 using vol",
"MeasRec",
"[",
"'magic_instrument_codes'",
"]",
"=",
"inst",
"if",
"'offset'",
"in",
"items",
"[",
"0",
"]",
":",
"depth",
"=",
"'%7.3f'",
"%",
"(",
"float",
"(",
"sect",
"-",
"1",
")",
"*",
"1.5",
"+",
"float",
"(",
"items",
"[",
"1",
"]",
")",
")",
"SampRec",
"[",
"'core_depth'",
"]",
"=",
"depth",
"MeasRec",
"[",
"'er_specimen_name'",
"]",
"=",
"depth",
"MeasRec",
"[",
"'er_sample_name'",
"]",
"=",
"depth",
"MeasRec",
"[",
"'er_site_name'",
"]",
"=",
"depth",
"MeasRec",
"[",
"'er_location_name'",
"]",
"=",
"'location'",
"SampRec",
"[",
"'er_sample_name'",
"]",
"=",
"depth",
"SampRec",
"[",
"'er_site_name'",
"]",
"=",
"depth",
"SampRec",
"[",
"'er_location_name'",
"]",
"=",
"'location'",
"MeasRec",
"[",
"'measurement_number'",
"]",
"=",
"'1'",
"SampRecs",
".",
"append",
"(",
"SampRec",
")",
"MagRecs",
".",
"append",
"(",
"MeasRec",
")",
"pmag",
".",
"magic_write",
"(",
"samp_file",
",",
"SampRecs",
",",
"'er_samples'",
")",
"print",
"(",
"'samples stored in '",
",",
"samp_file",
")",
"Fixed",
"=",
"pmag",
".",
"measurements_methods",
"(",
"MagRecs",
",",
"noave",
")",
"pmag",
".",
"magic_write",
"(",
"meas_file",
",",
"Fixed",
",",
"'magic_measurements'",
")",
"print",
"(",
"'data stored in '",
",",
"meas_file",
")"
] |
NAME
odp_srm_magic.py
DESCRIPTION
converts ODP measurement format files to magic_measurements format files
SYNTAX
odp_srm_magic.py [command line options]
OPTIONS
-h: prints the help message and quits.
-F FILE: specify output measurements file, default is magic_measurements.txt
-Fsa FILE: specify output er_sample.txt file, default is er_sample.txt
-A : don't average replicate measurements
INPUT
put data from a single core into a directory. depths will be below core top
|
[
"NAME",
"odp_srm_magic",
".",
"py"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/programs/deprecated/odp_srm_magic.py#L8-L192
|
train
|
This function is the main function for the odp_srm_magic. py script. It is the main function for the odp_srm_magic. py script.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(0b11100 + 0o24) + chr(6108 - 5997) + chr(0b110011) + '\063' + chr(0b11011 + 0o33), 38517 - 38509), nzTpIcepk0o8(chr(277 - 229) + '\x6f' + '\066' + chr(0b110010 + 0o4), 0o10), nzTpIcepk0o8('\060' + chr(0b1101111) + '\x34', 0b1000), nzTpIcepk0o8(chr(907 - 859) + '\157' + chr(1911 - 1862) + chr(452 - 404) + chr(49), 0o10), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x32' + '\x34' + chr(54), 0b1000), nzTpIcepk0o8(chr(0b110000) + '\157' + '\x32' + '\x34' + chr(55), 0b1000), nzTpIcepk0o8(chr(48) + chr(3761 - 3650) + chr(178 - 127) + chr(0b110000), 0o10), nzTpIcepk0o8('\x30' + chr(111) + '\x33' + chr(0b110000) + chr(473 - 424), 0o10), nzTpIcepk0o8(chr(0b100 + 0o54) + chr(0b1101111) + chr(49) + '\067' + chr(55), 48880 - 48872), nzTpIcepk0o8('\x30' + chr(2801 - 2690) + chr(324 - 274) + chr(54) + chr(2765 - 2711), 25290 - 25282), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\x32' + chr(613 - 563) + chr(0b11100 + 0o32), 0o10), nzTpIcepk0o8(chr(0b101000 + 0o10) + chr(111) + chr(50) + '\x30' + chr(0b10000 + 0o41), 0o10), nzTpIcepk0o8(chr(0b111 + 0o51) + chr(7662 - 7551) + '\x32' + chr(0b100000 + 0o26) + chr(0b110101), 0o10), nzTpIcepk0o8('\x30' + chr(9897 - 9786) + chr(2033 - 1984) + chr(664 - 613) + '\060', 0o10), nzTpIcepk0o8('\x30' + chr(111) + '\061' + '\060' + '\060', 34142 - 34134), nzTpIcepk0o8(chr(48) + '\x6f' + chr(54) + chr(50), 0b1000), nzTpIcepk0o8(chr(48) + chr(3492 - 3381) + '\x31' + '\064' + chr(0b110011), 0b1000), nzTpIcepk0o8(chr(891 - 843) + chr(0b1101111) + '\x37' + chr(0b100110 + 0o13), 0b1000), nzTpIcepk0o8('\x30' + '\157' + '\x31' + '\x31' + '\x34', 36832 - 36824), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110010) + chr(0b1001 + 0o53) + '\x31', ord("\x08")), nzTpIcepk0o8('\060' + chr(111) + '\067' + '\x35', ord("\x08")), nzTpIcepk0o8(chr(1999 - 1951) + chr(0b1101111) + '\061' + chr(0b100011 + 0o23), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b110010) + '\x37' + '\060', ord("\x08")), nzTpIcepk0o8(chr(2249 - 2201) + '\157' + chr(1008 - 959) + chr(53) + chr(1591 - 1542), 52495 - 52487), nzTpIcepk0o8(chr(0b110000) + chr(0b111101 + 0o62) + '\x31' + '\x33' + '\x32', 0o10), nzTpIcepk0o8(chr(0b110000) + chr(580 - 469) + chr(51) + chr(1963 - 1912) + chr(52), 14739 - 14731), nzTpIcepk0o8(chr(48) + chr(0b110011 + 0o74) + '\062' + chr(0b110100), 43313 - 43305), nzTpIcepk0o8(chr(0b101000 + 0o10) + '\157' + chr(49) + chr(53) + chr(1492 - 1438), 0b1000), nzTpIcepk0o8(chr(48 - 0) + '\157' + '\x32' + chr(0b110001), 0o10), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b1000 + 0o54) + '\x32', 1036 - 1028), nzTpIcepk0o8('\060' + '\157' + chr(0b1001 + 0o51) + chr(369 - 320) + chr(0b1111 + 0o45), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(11862 - 11751) + '\062' + chr(48), 0b1000), nzTpIcepk0o8(chr(48) + '\157' + chr(0b110001) + chr(0b110 + 0o53) + '\x35', ord("\x08")), nzTpIcepk0o8(chr(48) + chr(111) + chr(50) + chr(50) + '\x30', 0o10), nzTpIcepk0o8('\x30' + '\157' + chr(2080 - 2031) + chr(0b1110 + 0o44) + chr(0b110011 + 0o0), 27016 - 27008), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b10110 + 0o35) + chr(0b11110 + 0o24) + chr(2539 - 2488), 16205 - 16197), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(2218 - 2168) + '\067' + chr(0b110100), 51786 - 51778), nzTpIcepk0o8(chr(0b11011 + 0o25) + chr(0b1101111) + chr(50) + chr(1930 - 1875) + '\060', 8), nzTpIcepk0o8(chr(379 - 331) + chr(5050 - 4939) + chr(51) + '\064' + chr(1717 - 1665), 0o10), nzTpIcepk0o8(chr(442 - 394) + chr(0b10011 + 0o134) + chr(0b1010 + 0o54) + '\x31', 0b1000)][ZlbFMSG8gCoF % nzTpIcepk0o8('\060' + chr(111) + chr(0b100001 + 0o24) + chr(48), 0o10)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xf0'), '\144' + '\145' + chr(0b1100011) + '\x6f' + '\144' + chr(0b1100101))(chr(0b1110101) + '\164' + '\x66' + chr(0b1111 + 0o36) + chr(56)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def BXHXH_QeD6rL():
uNg9Yeq376oN = hUcsWwAd0nE_.get_version()
rHPU8oONrR4n = roI3spqORKae(ES5oEprVxulp(b'\xb3Wc(\xc5\xf8u\xa4\x1e\xc5\xe3\xf3\xd05%\\\x17Jb\xd5Ez'), chr(9042 - 8942) + chr(101) + chr(0b1100011) + chr(8796 - 8685) + chr(0b1100100) + chr(101))(chr(0b1110101) + '\x74' + '\146' + '\x2d' + '\070')
bqpTUs8apVqb = roI3spqORKae(ES5oEprVxulp(b'\xbbD[2\xc7\xcah\xad\x1a\xc5\xb8\xf5\xcd,'), chr(8406 - 8306) + chr(0b1100101) + '\x63' + chr(4348 - 4237) + chr(0b1100100) + chr(1586 - 1485))(chr(0b1110001 + 0o4) + chr(0b1110100) + chr(0b1010011 + 0o23) + chr(0b101101) + chr(56))
(IPWYJkPchH9g, f9YF__twMi1G, AyzVmmsFDmAH, KBh6NhOo6NS0, mCTJcooWYxUF) = ([], [], [], [], [])
pat92IisfQkU = []
_NuwPUBWY7oy = roI3spqORKae(ES5oEprVxulp(b'\x8a^m2\x86\xd4l\xb4\x1b\xcf'), '\144' + '\145' + chr(0b1100011) + chr(111) + chr(0b0 + 0o144) + chr(0b100010 + 0o103))(chr(0b1110101) + chr(0b100101 + 0o117) + chr(102) + chr(0b101101) + chr(931 - 875))
(qjksZ7GK0xkJ, HsExji6d7tC1) = (roI3spqORKae(ES5oEprVxulp(b'\xf0'), chr(7675 - 7575) + '\x65' + chr(0b1100011) + chr(5358 - 5247) + chr(3511 - 3411) + chr(10112 - 10011))(chr(117) + chr(0b110100 + 0o100) + chr(0b1001010 + 0o34) + '\055' + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\x90dI'), chr(100) + '\x65' + '\x63' + chr(9087 - 8976) + chr(100) + '\x65')(chr(117) + chr(116) + '\x66' + chr(0b101001 + 0o4) + chr(0b110101 + 0o3)))
eemPYp2vtTSr = bpyfpu4kTbwL.ajIDWyXMBa3b
NdBgRJDyurSB = (nzTpIcepk0o8('\060' + chr(0b1101111) + '\x30', ord("\x08")),)
if roI3spqORKae(ES5oEprVxulp(b'\xf3a@'), chr(6256 - 6156) + '\x65' + '\x63' + chr(111) + '\x64' + chr(0b1010001 + 0o24))(chr(0b1010101 + 0o40) + chr(0b1110100) + chr(0b100001 + 0o105) + '\x2d' + '\070') in eemPYp2vtTSr:
w5vcgUzFN3bF = eemPYp2vtTSr.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\xf3a@'), chr(3524 - 3424) + '\145' + '\x63' + chr(8560 - 8449) + chr(100) + '\145')(chr(8996 - 8879) + chr(116) + chr(4199 - 4097) + chr(45) + chr(0b111000)))
qjksZ7GK0xkJ = eemPYp2vtTSr[w5vcgUzFN3bF + nzTpIcepk0o8(chr(1301 - 1253) + chr(0b111110 + 0o61) + chr(49), 0b1000)]
if roI3spqORKae(ES5oEprVxulp(b'\xf3^'), chr(100) + chr(101) + chr(99) + '\x6f' + '\144' + chr(0b100000 + 0o105))(chr(0b1110101) + chr(116) + chr(0b1100110) + chr(0b101010 + 0o3) + '\x38') in eemPYp2vtTSr:
v8jsMqaYV6U2(roI3spqORKae(BXHXH_QeD6rL, roI3spqORKae(ES5oEprVxulp(b'\xa7PA$\xd7\xf6q\x94\x10\xc7\xc1\xd5'), chr(0b101111 + 0o65) + chr(0b1100101) + '\x63' + chr(111) + '\x64' + chr(8552 - 8451))(chr(5682 - 5565) + chr(3725 - 3609) + chr(0b1100110) + '\x2d' + '\x38')))
roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\x84Cv+\xc5\xf2T\xf0\x0c\xc5\xd7\xb9'), chr(5314 - 5214) + chr(101) + chr(99) + chr(3359 - 3248) + '\144' + chr(101))('\165' + chr(0b1101000 + 0o14) + chr(7865 - 7763) + chr(1257 - 1212) + '\070'))()
if roI3spqORKae(ES5oEprVxulp(b'\xf3w'), chr(9121 - 9021) + chr(101) + '\x63' + chr(111) + '\144' + chr(0b11110 + 0o107))('\x75' + '\x74' + chr(0b1100110) + '\055' + '\x38') in eemPYp2vtTSr:
NdBgRJDyurSB = nzTpIcepk0o8(chr(0b1100 + 0o44) + chr(111) + chr(0b11111 + 0o22), 8)
if roI3spqORKae(ES5oEprVxulp(b'\xf3p'), chr(5804 - 5704) + '\145' + '\143' + chr(111) + '\x64' + chr(101))(chr(12833 - 12716) + chr(0b101100 + 0o110) + '\x66' + chr(0b10100 + 0o31) + chr(1260 - 1204)) in eemPYp2vtTSr:
w5vcgUzFN3bF = eemPYp2vtTSr.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\xf3p'), chr(100) + chr(2272 - 2171) + chr(5084 - 4985) + chr(4555 - 4444) + '\x64' + '\145')(chr(0b1110101) + chr(0b1110100) + chr(8354 - 8252) + '\055' + chr(56)))
rHPU8oONrR4n = eemPYp2vtTSr[w5vcgUzFN3bF + nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(1537 - 1488), 8)]
if roI3spqORKae(ES5oEprVxulp(b'\xf3pw '), chr(100) + chr(0b1100101) + chr(3361 - 3262) + chr(0b110100 + 0o73) + '\144' + chr(101))('\x75' + '\x74' + chr(0b1100110) + '\x2d' + '\070') in eemPYp2vtTSr:
w5vcgUzFN3bF = eemPYp2vtTSr.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\xf3pw '), '\x64' + '\145' + '\143' + '\157' + chr(0b10000 + 0o124) + '\145')(chr(117) + chr(0b1100111 + 0o15) + chr(102) + '\x2d' + chr(56)))
bqpTUs8apVqb = eemPYp2vtTSr[w5vcgUzFN3bF + nzTpIcepk0o8(chr(2097 - 2049) + chr(0b1101111) + '\x31', 8)]
if roI3spqORKae(ES5oEprVxulp(b'\xf3zT'), '\x64' + chr(101) + '\143' + chr(3840 - 3729) + '\x64' + '\x65')(chr(0b1110010 + 0o3) + chr(116) + '\x66' + chr(1365 - 1320) + chr(0b111000)) in eemPYp2vtTSr:
w5vcgUzFN3bF = eemPYp2vtTSr.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\xf3zT'), '\144' + '\x65' + chr(0b11011 + 0o110) + chr(0b110000 + 0o77) + '\144' + chr(0b1000110 + 0o37))(chr(0b1011000 + 0o35) + '\164' + chr(7402 - 7300) + chr(0b101001 + 0o4) + chr(914 - 858)))
kSgdIN0MzqOp = eemPYp2vtTSr[w5vcgUzFN3bF + nzTpIcepk0o8(chr(0b110000) + chr(11887 - 11776) + chr(0b1111 + 0o42), 8)]
wXNZi6rDt0jg = kSgdIN0MzqOp.LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\xe4'), chr(100) + chr(101) + chr(0b110001 + 0o62) + '\157' + '\x64' + '\x65')('\x75' + chr(116) + chr(102) + '\x2d' + chr(0b111 + 0o61)))
if roI3spqORKae(ES5oEprVxulp(b'\x9fp'), chr(100) + chr(101) + chr(773 - 674) + chr(0b1101111) + chr(100) + '\145')('\x75' + chr(13078 - 12962) + chr(6806 - 6704) + chr(45) + chr(0b10000 + 0o50)) in wXNZi6rDt0jg:
HsExji6d7tC1 = roI3spqORKae(ES5oEprVxulp(b'\x9fp'), '\144' + '\145' + '\143' + '\157' + '\x64' + chr(101))('\165' + chr(0b1110100) + chr(10364 - 10262) + chr(364 - 319) + '\070')
if roI3spqORKae(ES5oEprVxulp(b'\xf3Rg'), chr(100) + chr(0b10101 + 0o120) + chr(0b11100 + 0o107) + chr(0b1101111) + chr(4316 - 4216) + chr(0b1001 + 0o134))('\x75' + chr(1336 - 1220) + '\x66' + '\x2d' + '\x38') not in eemPYp2vtTSr:
fBsoIoeG_eRQ = roI3spqORKae(ES5oEprVxulp(b'\x92b)\x00\xe0\x8aB'), chr(100) + chr(0b1100101) + chr(0b1010101 + 0o16) + chr(111) + chr(9808 - 9708) + chr(0b1100101))(chr(3529 - 3412) + chr(116) + '\x66' + chr(0b101101) + '\x38')
if roI3spqORKae(ES5oEprVxulp(b'\xf3Rg'), chr(100) + '\145' + chr(99) + chr(111) + chr(100) + chr(101))('\x75' + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(0b110000 + 0o10)) in eemPYp2vtTSr:
fBsoIoeG_eRQ = roI3spqORKae(ES5oEprVxulp(b'\x92b)\x00\xe0\x8aQ'), chr(9102 - 9002) + '\145' + chr(0b1100011) + chr(8622 - 8511) + chr(100) + chr(0b110000 + 0o65))('\165' + chr(116) + chr(10045 - 9943) + '\055' + '\070')
if roI3spqORKae(ES5oEprVxulp(b'\x8a'), chr(1287 - 1187) + chr(101) + chr(8023 - 7924) + chr(0b1101111) + chr(0b100000 + 0o104) + chr(101))(chr(0b11010 + 0o133) + chr(3352 - 3236) + chr(4590 - 4488) + chr(45) + chr(56)) in wXNZi6rDt0jg:
HsExji6d7tC1 = roI3spqORKae(ES5oEprVxulp(b'\x8a'), chr(1883 - 1783) + chr(101) + chr(0b1100011) + chr(0b1101111) + chr(0b1000000 + 0o44) + chr(101))(chr(12005 - 11888) + chr(0b1110100) + chr(0b1000010 + 0o44) + '\055' + chr(56))
if roI3spqORKae(ES5oEprVxulp(b'\xf3Rg'), '\x64' + chr(0b101110 + 0o67) + '\143' + '\157' + '\x64' + chr(0b1100101))(chr(8021 - 7904) + chr(3745 - 3629) + '\146' + '\055' + chr(0b1100 + 0o54)) not in eemPYp2vtTSr:
fBsoIoeG_eRQ = roI3spqORKae(ES5oEprVxulp(b'\x92b)\x15\x8b\xfd'), chr(0b100110 + 0o76) + '\145' + chr(99) + chr(0b1000001 + 0o56) + '\144' + chr(0b1100101))(chr(0b1110101) + chr(116) + chr(2392 - 2290) + '\x2d' + '\x38')
if roI3spqORKae(ES5oEprVxulp(b'\xf3Rg'), chr(8878 - 8778) + '\145' + chr(0b1000100 + 0o37) + chr(8276 - 8165) + '\144' + '\145')(chr(1921 - 1804) + chr(0b1001000 + 0o54) + chr(0b110100 + 0o62) + chr(45) + chr(2954 - 2898)) in eemPYp2vtTSr:
fBsoIoeG_eRQ = roI3spqORKae(ES5oEprVxulp(b'\x92b)\x15\x8b\xee'), '\x64' + chr(101) + chr(0b1010110 + 0o15) + chr(0b1101111) + '\x64' + '\x65')(chr(10177 - 10060) + '\164' + '\x66' + chr(866 - 821) + '\x38')
if roI3spqORKae(ES5oEprVxulp(b'\x97'), '\x64' + chr(0b1100101) + '\143' + '\x6f' + '\x64' + chr(1983 - 1882))(chr(5101 - 4984) + chr(425 - 309) + chr(102) + '\055' + chr(56)) in wXNZi6rDt0jg:
fBsoIoeG_eRQ = roI3spqORKae(ES5oEprVxulp(b'\x92f)\x08\xf4\xea'), chr(5777 - 5677) + chr(0b1001100 + 0o31) + '\x63' + chr(8449 - 8338) + chr(0b1100100) + chr(0b1100101))(chr(7103 - 6986) + '\164' + chr(0b101100 + 0o72) + chr(45) + chr(0b110010 + 0o6))
if roI3spqORKae(ES5oEprVxulp(b'\x8d'), chr(1604 - 1504) + chr(0b1100101) + chr(2267 - 2168) + chr(2632 - 2521) + chr(100) + chr(0b1100101))('\x75' + chr(116) + chr(0b1100010 + 0o4) + '\x2d' + chr(1583 - 1527)) in wXNZi6rDt0jg:
HsExji6d7tC1 = roI3spqORKae(ES5oEprVxulp(b'\x8d'), chr(0b11101 + 0o107) + chr(0b1100101) + '\143' + chr(111) + chr(100) + chr(0b1100101))(chr(4931 - 4814) + '\x74' + chr(0b1100110) + chr(0b101101) + chr(0b101000 + 0o20))
fBsoIoeG_eRQ = roI3spqORKae(ES5oEprVxulp(b'\x92f)\x11\xef\x8aL\x932\x8c\xda\xd1\x98\x08\t\x1f"u\x18\x8c|H\xf9;\x17'), chr(100) + chr(0b110 + 0o137) + '\x63' + chr(111) + '\144' + chr(3618 - 3517))('\x75' + '\164' + '\x66' + '\055' + chr(56))
cg2QU5q7Ixzo = _OaSP3sMznOY
CMfsDQitQrpd = QnTXOd5N96r1(roI3spqORKae(ES5oEprVxulp(b'\x9au$-\xc7\xc58\xa7\x16\xd3\xfa\xe5\x95>/@Cx\x1e\xec\x1d}\xcc\x0c*\xe645$\x12\xf9D\x10\xb0'), '\144' + chr(0b10100 + 0o121) + '\143' + '\157' + chr(0b1100100) + chr(6413 - 6312))('\165' + chr(116) + '\146' + '\x2d' + '\070'))
if CMfsDQitQrpd == roI3spqORKae(ES5oEprVxulp(b''), '\x64' + '\x65' + chr(0b111001 + 0o52) + chr(0b1000101 + 0o52) + '\x64' + '\145')('\x75' + chr(0b1110100) + chr(0b1100100 + 0o2) + chr(0b101101) + '\070'):
ORW8J19YsL8H = 5e-05
else:
ORW8J19YsL8H = jLW6pRf2DSRk(CMfsDQitQrpd) * 1e-06
CMfsDQitQrpd = QnTXOd5N96r1(roI3spqORKae(ES5oEprVxulp(b'\xaaSi1\xc3\xd5y\xb5\n\xc4\xf3\xa1\xd372\x12\x17V8\xc0Q.\xcc\x1b7\xfcg\x1atR\xb60\x16\xa6c\xe3\x9c\xfb\xb9\x11'), chr(7198 - 7098) + '\145' + chr(8613 - 8514) + '\157' + '\x64' + chr(0b10011 + 0o122))('\x75' + chr(0b1100001 + 0o23) + chr(0b1100110) + chr(591 - 546) + chr(559 - 503)))
if CMfsDQitQrpd == roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(0b1100101) + '\x63' + '\x6f' + chr(0b1100100) + '\145')('\x75' + chr(0b1110100) + chr(0b10111 + 0o117) + chr(0b101101) + chr(2725 - 2669)):
drrqTaYV3rE7 = nzTpIcepk0o8(chr(48) + '\157' + chr(0b10010 + 0o37) + chr(423 - 374) + '\063' + chr(0b110000), 0o10) + nzTpIcepk0o8(chr(0b110000) + '\157' + '\064' + chr(0b110010) + chr(911 - 862), ord("\x08"))
else:
drrqTaYV3rE7 = jLW6pRf2DSRk(CMfsDQitQrpd) + nzTpIcepk0o8(chr(48) + chr(111) + '\064' + chr(0b110010) + chr(1803 - 1754), 8)
if roI3spqORKae(ES5oEprVxulp(b'\x99'), chr(0b1100100) + chr(6000 - 5899) + '\143' + '\x6f' + chr(100) + '\145')('\165' + '\164' + chr(0b101111 + 0o67) + chr(0b101101) + chr(0b110100 + 0o4)) in wXNZi6rDt0jg:
fBsoIoeG_eRQ = roI3spqORKae(ES5oEprVxulp(b'\x92b)\x00\xe0\x8a_'), chr(0b1110 + 0o126) + chr(4038 - 3937) + chr(0b1010111 + 0o14) + chr(0b1101111) + chr(100) + chr(0b1000001 + 0o44))(chr(117) + chr(116) + chr(0b100001 + 0o105) + '\x2d' + chr(2086 - 2030))
if roI3spqORKae(ES5oEprVxulp(b'\x9a'), '\144' + chr(0b1001110 + 0o27) + chr(99) + chr(0b111010 + 0o65) + '\x64' + chr(3209 - 3108))(chr(7159 - 7042) + chr(1565 - 1449) + chr(102) + '\055' + chr(0b11000 + 0o40)) in wXNZi6rDt0jg:
fBsoIoeG_eRQ = roI3spqORKae(ES5oEprVxulp(b'\x92b)\x00\xe0\x8a\\'), chr(100) + '\145' + chr(0b1100011) + '\x6f' + chr(0b1100100) + chr(1562 - 1461))(chr(0b100001 + 0o124) + chr(0b1110100) + chr(102) + chr(0b101101) + chr(0b111000))
if roI3spqORKae(ES5oEprVxulp(b'\x8adI'), '\x64' + chr(0b1100101) + '\143' + '\157' + chr(100) + '\x65')(chr(117) + chr(9750 - 9634) + chr(102) + chr(1997 - 1952) + '\x38') in wXNZi6rDt0jg:
HsExji6d7tC1 = roI3spqORKae(ES5oEprVxulp(b'\x8a'), '\144' + chr(1756 - 1655) + '\143' + chr(1325 - 1214) + chr(0b1001100 + 0o30) + chr(8621 - 8520))(chr(0b11001 + 0o134) + chr(0b1101001 + 0o13) + chr(102) + chr(45) + '\x38')
ztCwr6MUeq7n = nzTpIcepk0o8(chr(1519 - 1471) + chr(111) + chr(49), 8)
if HsExji6d7tC1 == roI3spqORKae(ES5oEprVxulp(b'\x8a'), chr(100) + '\145' + chr(991 - 892) + chr(111) + '\144' + '\145')('\165' + chr(0b1000011 + 0o61) + '\x66' + chr(45) + chr(0b111000)) and roI3spqORKae(ES5oEprVxulp(b'\x9fxM'), chr(0b100001 + 0o103) + '\x65' + chr(99) + chr(0b111 + 0o150) + '\144' + '\145')('\165' + chr(0b11010 + 0o132) + chr(0b1100110) + chr(0b101101) + chr(1517 - 1461)) in wXNZi6rDt0jg:
fBsoIoeG_eRQ = roI3spqORKae(ES5oEprVxulp(b'\x92f)\x00\xe8\x8aL\x932'), chr(3689 - 3589) + chr(101) + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(101))(chr(9673 - 9556) + '\164' + chr(102) + '\055' + '\070')
if HsExji6d7tC1 == roI3spqORKae(ES5oEprVxulp(b'\x9fp'), chr(0b10110 + 0o116) + '\x65' + '\143' + chr(0b11011 + 0o124) + chr(0b1100100) + '\x65')(chr(3615 - 3498) + chr(0b1010001 + 0o43) + chr(102) + chr(45) + chr(0b100111 + 0o21)) and roI3spqORKae(ES5oEprVxulp(b'\x9fxM'), chr(7941 - 7841) + chr(101) + chr(7342 - 7243) + chr(0b1100011 + 0o14) + '\x64' + '\145')(chr(117) + '\x74' + chr(102) + '\x2d' + chr(0b111000)) in wXNZi6rDt0jg:
fBsoIoeG_eRQ = roI3spqORKae(ES5oEprVxulp(b'\x92f)\x00\xe8\x8aY\x932'), '\x64' + chr(0b1100101) + chr(8636 - 8537) + chr(7390 - 7279) + chr(7988 - 7888) + chr(0b11101 + 0o110))(chr(0b11011 + 0o132) + chr(0b10 + 0o162) + '\x66' + chr(45) + chr(0b11100 + 0o34))
if _OaSP3sMznOY == nzTpIcepk0o8(chr(0b100110 + 0o12) + chr(2837 - 2726) + chr(0b10 + 0o56), 8):
_OaSP3sMznOY = 5e-05
if XrSglziO_kwd == nzTpIcepk0o8('\x30' + '\x6f' + '\060', 8):
XrSglziO_kwd = 0.18
bqpTUs8apVqb = qjksZ7GK0xkJ + roI3spqORKae(ES5oEprVxulp(b'\xf1'), chr(0b1100100) + '\x65' + '\x63' + '\157' + chr(100) + chr(0b111101 + 0o50))(chr(0b1110101) + '\x74' + chr(1572 - 1470) + chr(1372 - 1327) + chr(56)) + bqpTUs8apVqb
rHPU8oONrR4n = qjksZ7GK0xkJ + roI3spqORKae(ES5oEprVxulp(b'\xf1'), chr(0b1100100) + chr(101) + chr(0b1100011) + chr(0b1101111) + chr(2332 - 2232) + chr(7936 - 7835))('\165' + '\164' + chr(102) + chr(0b100001 + 0o14) + chr(56)) + rHPU8oONrR4n
sBaTQsuLTkQn = aHUqKstZLeS6.listdir(qjksZ7GK0xkJ)
(lkkkypP_QyDJ, BSbljhMZAGaC, SDKwNkUm3Omo) = ([], [], [])
(pat92IisfQkU, ats0aw_IRz86, Z4JD24rWWYSJ) = ([], [], [])
for GtsVUCYulgYX in sBaTQsuLTkQn:
if roI3spqORKae(GtsVUCYulgYX[-nzTpIcepk0o8('\060' + '\x6f' + '\063', 10349 - 10341):], roI3spqORKae(ES5oEprVxulp(b'\x86X<\x04\xe8\xf0U\x9b\x1b\xff\xc4\xf5'), '\144' + chr(7895 - 7794) + chr(0b110100 + 0o57) + chr(111) + chr(0b1100100) + '\x65')('\165' + chr(116) + chr(0b11 + 0o143) + '\055' + '\070'))() == roI3spqORKae(ES5oEprVxulp(b'\xadDi'), chr(100) + chr(0b1100000 + 0o5) + chr(0b1100011) + '\157' + '\144' + '\145')(chr(117) + chr(116) + chr(0b1100110) + '\055' + chr(56)):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xaeDk"\xc3\xd4k\xa8\x11\xd1\xac\xa1'), chr(9110 - 9010) + '\x65' + chr(99) + '\157' + '\x64' + chr(0b11100 + 0o111))(chr(0b101100 + 0o111) + '\x74' + chr(102) + chr(0b101101) + chr(56)), GtsVUCYulgYX)
hpbqk1wF1O9M = GtsVUCYulgYX.split(roI3spqORKae(ES5oEprVxulp(b'\x81'), chr(0b1100100) + '\145' + chr(0b1 + 0o142) + chr(0b111000 + 0o67) + chr(100) + chr(2058 - 1957))('\x75' + chr(6894 - 6778) + '\x66' + chr(45) + '\x38'))[nzTpIcepk0o8(chr(48) + chr(0b1001000 + 0o47) + '\x30', 8)].LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\xf3'), chr(2767 - 2667) + chr(6770 - 6669) + chr(0b111111 + 0o44) + chr(111) + chr(0b101110 + 0o66) + chr(6575 - 6474))(chr(1985 - 1868) + chr(0b11011 + 0o131) + chr(5895 - 5793) + '\x2d' + chr(0b1000 + 0o60)))
try:
MModbk7O2z2a = nzTpIcepk0o8(hpbqk1wF1O9M[nzTpIcepk0o8(chr(2134 - 2086) + '\x6f' + '\063', 8)][:-nzTpIcepk0o8(chr(1039 - 991) + '\157' + chr(0b110001), 8)])
except UtiWT6f6p9yZ:
MModbk7O2z2a = nzTpIcepk0o8(chr(578 - 530) + '\157' + chr(49), 8)
QnTXOd5N96r1 = DnU3Rq9N5ala(GtsVUCYulgYX, roI3spqORKae(ES5oEprVxulp(b'\xac'), chr(5876 - 5776) + chr(7687 - 7586) + chr(0b1111 + 0o124) + chr(0b1101111) + chr(100) + chr(0b1001 + 0o134))('\165' + chr(116) + chr(102) + '\x2d' + chr(56))).TKmlmUjNQ4dY()
(fGxDbmBdBlCw, BbqEDPeIt2aA, q9UHVMIWIQq0) = ({}, {}, {})
(hbydnopaIbDE, W5qjSf200JlX, YDg5goHnvhaQ, E63X9RhwfuOn) = (roI3spqORKae(ES5oEprVxulp(b''), chr(5779 - 5679) + chr(0b100100 + 0o101) + '\x63' + chr(111) + chr(100) + chr(0b1100101))('\x75' + chr(116) + '\146' + chr(0b100 + 0o51) + chr(0b110 + 0o62)), roI3spqORKae(ES5oEprVxulp(b''), chr(5500 - 5400) + chr(0b1101 + 0o130) + chr(4669 - 4570) + chr(111) + chr(619 - 519) + chr(4943 - 4842))(chr(117) + chr(0b1110100) + chr(0b101110 + 0o70) + '\055' + '\070'), roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(101) + chr(99) + chr(111) + chr(4635 - 4535) + '\x65')(chr(0b1110101) + '\164' + '\146' + chr(45) + chr(56)), roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(101) + chr(0b101010 + 0o71) + chr(0b1101111) + chr(5909 - 5809) + chr(101))('\165' + chr(0b1110100) + '\146' + chr(0b101101) + chr(56)))
wDEIk17vEWwT = roI3spqORKae(ES5oEprVxulp(b'\x91rTl\xf5\xf5U'), chr(0b1100100) + '\145' + '\143' + chr(0b100001 + 0o116) + chr(9995 - 9895) + chr(101))(chr(117) + chr(0b1110100) + chr(5898 - 5796) + '\x2d' + chr(0b111000))
q9UHVMIWIQq0[roI3spqORKae(ES5oEprVxulp(b'\xadWi1\xca\xc2G\xa0\x05\xdf\xfb\xf4\xc10'), chr(0b1000001 + 0o43) + chr(101) + chr(0b111011 + 0o50) + chr(111) + '\x64' + chr(0b1100101))(chr(0b101101 + 0o110) + '\x74' + '\x66' + chr(45) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\xee'), chr(0b1100100) + chr(0b1100100 + 0o1) + chr(381 - 282) + '\157' + chr(100) + chr(0b1100101))(chr(0b110101 + 0o100) + chr(116) + chr(0b1011010 + 0o14) + chr(45) + chr(148 - 92))
q9UHVMIWIQq0[roI3spqORKae(ES5oEprVxulp(b'\xadWi1\xca\xc2G\xa5\x16\xc6'), '\144' + '\x65' + '\x63' + chr(2789 - 2678) + chr(0b11101 + 0o107) + chr(0b1100000 + 0o5))(chr(2973 - 2856) + '\x74' + chr(0b1001100 + 0o32) + '\055' + chr(56))] = roI3spqORKae(ES5oEprVxulp(b'\xee'), chr(0b1001001 + 0o33) + chr(0b1001010 + 0o33) + '\143' + '\157' + '\144' + '\x65')(chr(0b1110101) + chr(0b1110100) + '\146' + chr(45) + chr(0b110111 + 0o1))
q9UHVMIWIQq0[roI3spqORKae(ES5oEprVxulp(b'\xb3Wc(\xc5\xf8u\xa4\x0b\xde\xf9\xe5\xea;/V\x06'), chr(100) + '\145' + '\x63' + chr(111) + chr(0b1100100) + '\145')(chr(0b1101101 + 0o10) + chr(0b1110100) + chr(0b110110 + 0o60) + chr(0b101101) + chr(1970 - 1914))] = roI3spqORKae(ES5oEprVxulp(b'\x98e)\x02\x8b\xe3J\x883\xfa\xbb\xc8\xfa\x1c\x10\x080ia\xf2n#\xfb'), '\144' + chr(7008 - 6907) + chr(0b1100011) + chr(0b1000010 + 0o55) + chr(9305 - 9205) + '\x65')('\165' + chr(116) + '\146' + chr(0b100000 + 0o15) + '\070')
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xbbD[ \xc8\xc6t\xb8\x0c\xc2\xc9\xec\xd41,m\rX!\xc4N'), '\x64' + chr(0b1100101) + '\143' + chr(0b1101111) + chr(6443 - 6343) + chr(0b1011110 + 0o7))('\165' + chr(116) + '\146' + chr(0b101101) + chr(0b111000))] = E63X9RhwfuOn
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xb3Wc(\xc5\xf8u\xa4\x0b\xde\xf9\xe5\xea;/V\x06J'), '\144' + chr(721 - 620) + chr(483 - 384) + chr(4535 - 4424) + chr(0b1100100) + chr(0b1100101))(chr(0b10 + 0o163) + chr(0b111010 + 0o72) + chr(0b1100110) + chr(0b1111 + 0o36) + '\070')] = roI3spqORKae(ES5oEprVxulp(b'\x92b)\x0f\xe9'), chr(0b1100100) + chr(0b100 + 0o141) + chr(99) + chr(111) + chr(100) + chr(0b1100101))(chr(0b11101 + 0o130) + '\164' + chr(102) + chr(0b11000 + 0o25) + '\070')
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b"\xb3Wc(\xc5\xf8k\xae\x19\xc2\xe1\xe0\xc7=\x1fB\x02Z'\xc0Zk\xcb"), chr(1181 - 1081) + '\145' + chr(0b111110 + 0o45) + '\x6f' + '\x64' + chr(0b1100101))(chr(0b1110101) + chr(0b1101110 + 0o6) + chr(0b1100110) + chr(0b10111 + 0o26) + chr(56))] = uNg9Yeq376oN
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xaaDa \xd2\xca}\xaf\x0b\xe9\xe2\xe4\xd8('), '\x64' + chr(0b1100101) + '\143' + chr(0b10101 + 0o132) + chr(0b101011 + 0o71) + '\x65')(chr(0b1010001 + 0o44) + '\x74' + chr(0b100101 + 0o101) + '\x2d' + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\xfb\x0e*r\xc3'), chr(1495 - 1395) + chr(0b1100101) + '\x63' + chr(4031 - 3920) + chr(100) + chr(0b11111 + 0o106))(chr(0b1110101) + chr(0b1110100) + '\146' + chr(0b101101) + chr(2251 - 2195)) % nzTpIcepk0o8(chr(0b10101 + 0o33) + chr(0b1101111) + chr(52) + '\x32' + chr(0b100011 + 0o16), 8)
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xb3Se2\xd3\xd5}\xac\x1a\xd8\xe2\xde\xc1=-B'), chr(0b111101 + 0o47) + chr(5290 - 5189) + '\x63' + '\157' + chr(0b1011 + 0o131) + '\145')(chr(8739 - 8622) + '\x74' + '\x66' + '\055' + chr(1575 - 1519))] = roI3spqORKae(ES5oEprVxulp(b'\xfb\x0e*r\xc3'), chr(100) + chr(3294 - 3193) + '\x63' + chr(0b1101111) + chr(3651 - 3551) + chr(0b1100101))(chr(117) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(0b11110 + 0o32)) % nzTpIcepk0o8(chr(0b110000) + chr(4557 - 4446) + '\064' + '\062' + '\x31', 8)
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xaaDa \xd2\xca}\xaf\x0b\xe9\xf7\xe2\xea>)W\x0f]'), chr(100) + chr(0b1001 + 0o134) + chr(99) + chr(0b1101111) + '\144' + chr(465 - 364))(chr(0b1110101) + chr(116) + '\146' + chr(45) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\xee'), chr(0b10 + 0o142) + chr(0b1100101) + '\x63' + chr(0b1101111) + chr(0b100100 + 0o100) + '\x65')(chr(1585 - 1468) + chr(2465 - 2349) + '\x66' + chr(0b11101 + 0o20) + chr(1666 - 1610))
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xaaDa \xd2\xca}\xaf\x0b\xe9\xf2\xe2\xea>)W\x0f]'), chr(100) + '\145' + chr(8837 - 8738) + '\x6f' + '\x64' + '\x65')('\165' + '\x74' + '\146' + chr(0b101101) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\xee'), '\x64' + '\145' + chr(5639 - 5540) + chr(0b1101111) + chr(0b1100100) + chr(0b1010100 + 0o21))(chr(7556 - 7439) + '\164' + '\146' + chr(45) + chr(731 - 675))
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xaaDa \xd2\xca}\xaf\x0b\xe9\xf2\xe2\xea>)W\x0f]\x13\xd1Ug'), '\144' + chr(101) + '\x63' + '\x6f' + chr(0b1100100) + '\145')('\x75' + chr(116) + chr(4557 - 4455) + chr(45) + chr(0b101111 + 0o11))] = roI3spqORKae(ES5oEprVxulp(b'\xee'), chr(0b1100100) + '\x65' + chr(99) + '\157' + '\144' + chr(0b1100101))(chr(0b1110101) + chr(0b1010111 + 0o35) + chr(0b1010001 + 0o25) + chr(0b101101) + chr(3113 - 3057))
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xaaDa \xd2\xca}\xaf\x0b\xe9\xf2\xe2\xea>)W\x0f]\x13\xd5Uk\xcc\x08'), chr(100) + chr(101) + '\x63' + chr(5013 - 4902) + chr(0b1001101 + 0o27) + chr(4222 - 4121))('\x75' + chr(116) + '\146' + chr(0b10 + 0o53) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\xee'), '\x64' + chr(101) + chr(6308 - 6209) + chr(0b111110 + 0o61) + chr(100) + '\145')(chr(9543 - 9426) + '\164' + chr(2493 - 2391) + chr(1115 - 1070) + chr(0b111000))
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xb3Se2\xd3\xd5}\xac\x1a\xd8\xe2\xde\xd34!U'), '\x64' + chr(7134 - 7033) + chr(5350 - 5251) + chr(111) + '\144' + '\x65')(chr(11739 - 11622) + chr(0b11 + 0o161) + '\x66' + chr(1182 - 1137) + chr(56))] = roI3spqORKae(ES5oEprVxulp(b'\xb9'), '\144' + chr(101) + chr(99) + '\157' + chr(100) + chr(0b1000110 + 0o37))('\x75' + '\164' + '\146' + chr(0b101101) + '\070')
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xb3Se2\xd3\xd5}\xac\x1a\xd8\xe2\xde\xc6,!\\\x07X>\xc5'), '\x64' + chr(0b101010 + 0o73) + chr(99) + chr(3835 - 3724) + chr(100) + chr(0b1000000 + 0o45))(chr(10704 - 10587) + '\164' + chr(1535 - 1433) + chr(0b101101) + chr(56))] = roI3spqORKae(ES5oEprVxulp(b'\xab'), '\x64' + chr(3638 - 3537) + chr(0b1011101 + 0o6) + chr(8251 - 8140) + chr(100) + '\145')('\x75' + chr(0b1110100) + '\146' + chr(971 - 926) + chr(56))
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xb3Se2\xd3\xd5}\xac\x1a\xd8\xe2\xde\xd6+$'), '\x64' + '\145' + chr(0b1100011) + chr(0b1101101 + 0o2) + '\x64' + '\x65')('\165' + chr(0b1110100) + chr(2485 - 2383) + chr(45) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b''), '\x64' + '\145' + chr(0b110111 + 0o54) + '\157' + chr(0b1100100) + '\145')(chr(117) + '\x74' + chr(0b1100110) + chr(45) + chr(0b111000))
BbqEDPeIt2aA[roI3spqORKae(ES5oEprVxulp(b'\xbbD[2\xd6\xc2{\xa8\x12\xd3\xf8\xde\xd444W\x11W-\xd5Tx\xdd\x1a'), chr(0b1001000 + 0o34) + chr(2004 - 1903) + '\x63' + chr(0b1101111) + chr(100) + '\x65')('\165' + '\164' + '\x66' + chr(0b1000 + 0o45) + '\x38')] = hbydnopaIbDE
RPCRorQZSDUy = 7e-06
b5DVgdlkehLp = QnTXOd5N96r1[nzTpIcepk0o8('\x30' + chr(111) + chr(1094 - 1045), 8)].LfRrQOxuDvnC()
MdcP3wX3arVj = b5DVgdlkehLp[nzTpIcepk0o8(chr(106 - 58) + '\157' + chr(2220 - 2172), 8)].LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\xf1'), '\x64' + '\x65' + '\143' + chr(0b1101111) + chr(0b1100100) + chr(4051 - 3950))('\165' + '\164' + chr(0b10110 + 0o120) + chr(1947 - 1902) + '\x38'))
Q4ZiDCds3gUR = MdcP3wX3arVj[nzTpIcepk0o8('\060' + '\157' + '\062', 0o10)] + roI3spqORKae(ES5oEprVxulp(b'\xe4'), chr(1354 - 1254) + chr(0b1000000 + 0o45) + '\x63' + chr(0b110101 + 0o72) + '\x64' + chr(7813 - 7712))(chr(3584 - 3467) + '\164' + chr(102) + chr(45) + chr(0b1001 + 0o57)) + MdcP3wX3arVj[nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110000), 8)] + roI3spqORKae(ES5oEprVxulp(b'\xe4'), chr(0b1100100) + '\145' + '\x63' + '\157' + chr(0b111110 + 0o46) + chr(8936 - 8835))(chr(6790 - 6673) + '\164' + '\146' + '\055' + chr(0b111000)) + MdcP3wX3arVj[nzTpIcepk0o8(chr(48) + '\157' + '\061', 8)] + roI3spqORKae(ES5oEprVxulp(b'\xe4'), chr(6885 - 6785) + chr(0b1100101) + '\x63' + chr(9678 - 9567) + '\x64' + chr(9570 - 9469))(chr(117) + chr(0b1110100) + '\146' + chr(0b101101) + '\x38') + b5DVgdlkehLp[nzTpIcepk0o8('\x30' + chr(4735 - 4624) + chr(1852 - 1803), 8)]
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xb3Se2\xd3\xd5}\xac\x1a\xd8\xe2\xde\xd194W'), chr(1084 - 984) + chr(4469 - 4368) + '\143' + chr(8937 - 8826) + chr(0b1010 + 0o132) + chr(0b10100 + 0o121))(chr(0b1110101) + '\x74' + chr(102) + chr(0b1011 + 0o42) + chr(0b111000))] = Q4ZiDCds3gUR
(YDg5goHnvhaQ, wDEIk17vEWwT) = (roI3spqORKae(ES5oEprVxulp(b''), chr(1672 - 1572) + chr(101) + chr(2490 - 2391) + '\x6f' + chr(7690 - 7590) + chr(0b1100101))(chr(9384 - 9267) + chr(0b1110100) + chr(0b1011010 + 0o14) + '\055' + chr(0b100000 + 0o30)), roI3spqORKae(ES5oEprVxulp(b'\x91rTl\xf5\xf5U'), chr(0b1100100) + '\x65' + '\x63' + '\157' + chr(100) + '\145')(chr(117) + chr(0b1110100) + '\x66' + chr(0b101101) + '\x38'))
B6UAF1zReOyJ = nzTpIcepk0o8('\060' + '\x6f' + '\x30', 8)
while nzTpIcepk0o8(chr(0b1011 + 0o45) + chr(0b11000 + 0o127) + chr(0b10011 + 0o36), 8):
ZXDdzgbdtBfz = QnTXOd5N96r1[B6UAF1zReOyJ].replace(roI3spqORKae(ES5oEprVxulp(b'\xd4'), chr(7655 - 7555) + chr(0b101000 + 0o75) + chr(99) + '\157' + chr(0b1100100) + chr(101))(chr(117) + chr(0b1010100 + 0o40) + '\146' + chr(0b101101) + '\x38'), roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(3788 - 3687) + '\x63' + '\157' + '\x64' + '\145')('\165' + '\164' + chr(0b101110 + 0o70) + chr(0b101101) + chr(56))).LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\xe3'), '\x64' + '\x65' + chr(0b1000 + 0o133) + chr(0b1101111) + chr(100) + '\x65')(chr(0b1011010 + 0o33) + chr(0b1101101 + 0o7) + '\146' + chr(1620 - 1575) + chr(56)))
if roI3spqORKae(ES5oEprVxulp(b'\xaaDa \xd2\xca}\xaf\x0b\xe9\xe2\xf8\xc5='), chr(100) + '\145' + '\143' + chr(7420 - 7309) + chr(0b1100100) + chr(0b1100101))(chr(7569 - 7452) + chr(0b1110100) + '\x66' + chr(45) + '\070') in ZXDdzgbdtBfz[nzTpIcepk0o8(chr(961 - 913) + chr(111) + chr(1530 - 1482), 8)]:
if roI3spqORKae(ES5oEprVxulp(b'\x9fZp$\xd4\xc9y\xb5\x16\xd8\xf1\xa1\xf3*%C\x16\\"\xc2D.\xfc\x0c7\xbds\x00tV\xe5j,\xe4:\xbc\xd2'), chr(0b10101 + 0o117) + chr(8856 - 8755) + chr(99) + chr(0b101010 + 0o105) + chr(0b1100100) + chr(0b1100101))('\x75' + chr(0b1110100) + chr(0b1100110) + chr(800 - 755) + '\x38') in ZXDdzgbdtBfz[nzTpIcepk0o8(chr(677 - 629) + chr(0b1011011 + 0o24) + chr(0b110001), 8)]:
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xb3Wc(\xc5\xf8u\xa4\x0b\xde\xf9\xe5\xea;/V\x06J'), '\144' + chr(6117 - 6016) + '\143' + '\157' + chr(100) + '\145')(chr(117) + '\164' + chr(0b1100110) + '\055' + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\x92b)\x00\xe0\x8aB'), chr(100) + chr(0b1100101) + chr(0b1001100 + 0o27) + chr(0b1000 + 0o147) + chr(5259 - 5159) + chr(101))(chr(0b101100 + 0o111) + '\x74' + chr(102) + chr(0b100 + 0o51) + chr(0b111000))
wDEIk17vEWwT = wDEIk17vEWwT + roI3spqORKae(ES5oEprVxulp(b'\xe4y@\x11\x8b\xe3L\x84<\xfe'), chr(8931 - 8831) + '\x65' + chr(5552 - 5453) + chr(7861 - 7750) + chr(100) + chr(0b1100101))(chr(117) + chr(0b1010111 + 0o35) + chr(0b1000001 + 0o45) + chr(0b11101 + 0o20) + '\x38')
if roI3spqORKae(ES5oEprVxulp(b'\xaaDa \xd2\xca}\xaf\x0b\xe9\xe0\xe0\xd9-%'), '\144' + '\x65' + chr(1123 - 1024) + '\x6f' + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + '\x74' + chr(0b1100110) + '\055' + chr(1191 - 1135)) in ZXDdzgbdtBfz[nzTpIcepk0o8(chr(1803 - 1755) + '\157' + chr(0b100 + 0o54), 8)]:
uV9iBiw0y_Mp = ZXDdzgbdtBfz[nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x31', 8)]
if uV9iBiw0y_Mp != roI3spqORKae(ES5oEprVxulp(b'\xfe'), '\144' + chr(9662 - 9561) + chr(99) + chr(0b101100 + 0o103) + chr(100) + chr(0b1010001 + 0o24))(chr(117) + chr(1870 - 1754) + '\146' + '\x2d' + chr(2245 - 2189)):
YDg5goHnvhaQ = jLW6pRf2DSRk(uV9iBiw0y_Mp) * 0.001
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xaaDa \xd2\xca}\xaf\x0b\xe9\xf7\xe2\xea>)W\x0f]'), chr(0b0 + 0o144) + '\145' + chr(0b1100011) + '\x6f' + chr(1301 - 1201) + chr(0b1100101))(chr(7912 - 7795) + chr(0b1001 + 0o153) + chr(0b11000 + 0o116) + chr(0b101101) + chr(1296 - 1240))] = roI3spqORKae(ES5oEprVxulp(b'\xfb\x0e*r\xc3'), '\x64' + chr(101) + chr(3712 - 3613) + chr(4367 - 4256) + chr(7390 - 7290) + '\145')(chr(117) + chr(0b111001 + 0o73) + '\x66' + '\x2d' + chr(0b1 + 0o67)) % YDg5goHnvhaQ
if roI3spqORKae(ES5oEprVxulp(b'\xabEa3'), chr(7725 - 7625) + chr(0b1010001 + 0o24) + chr(0b1100011) + chr(0b100110 + 0o111) + chr(0b1100100) + chr(9605 - 9504))(chr(117) + '\x74' + '\x66' + chr(0b100010 + 0o13) + chr(56)) in ZXDdzgbdtBfz[nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\x30', 8)]:
E63X9RhwfuOn = ZXDdzgbdtBfz[-nzTpIcepk0o8(chr(183 - 135) + chr(5310 - 5199) + '\x31', 8)]
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xbbD[ \xc8\xc6t\xb8\x0c\xc2\xc9\xec\xd41,m\rX!\xc4N'), chr(0b1000100 + 0o40) + chr(101) + chr(99) + chr(8122 - 8011) + '\144' + chr(101))(chr(0b1110101) + chr(116) + chr(102) + chr(45) + chr(0b111000))] = E63X9RhwfuOn
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xb3Se2\xd3\xd5}\xac\x1a\xd8\xe2\xde\xc6,!\\\x07X>\xc5'), chr(100) + chr(10183 - 10082) + chr(0b100100 + 0o77) + '\x6f' + '\x64' + '\x65')(chr(0b101000 + 0o115) + chr(0b110001 + 0o103) + '\146' + chr(1366 - 1321) + chr(0b1011 + 0o55))] = roI3spqORKae(ES5oEprVxulp(b'\xab'), '\x64' + chr(0b1100101) + '\143' + chr(9016 - 8905) + chr(100) + '\145')(chr(0b1110101) + chr(0b1110100) + chr(102) + chr(45) + chr(0b111000))
if roI3spqORKae(ES5oEprVxulp(b'\xadWi1\xca\xc2G\xa0\r\xd3\xf7'), chr(0b1100100) + chr(101) + '\143' + chr(111) + chr(9067 - 8967) + chr(101))(chr(117) + chr(116) + '\x66' + chr(0b101101 + 0o0) + chr(0b101110 + 0o12)) in ZXDdzgbdtBfz[nzTpIcepk0o8(chr(1371 - 1323) + '\157' + chr(0b110000), 8)]:
RPCRorQZSDUy = jLW6pRf2DSRk(ZXDdzgbdtBfz[nzTpIcepk0o8('\x30' + chr(111) + '\x31', 8)]) * 1e-06
if roI3spqORKae(ES5oEprVxulp(b'\xacCj\x1e\xc8\xd2u\xa3\x1a\xc4'), '\144' + chr(8406 - 8305) + chr(4911 - 4812) + '\157' + chr(100) + chr(101))('\x75' + '\x74' + chr(102) + chr(0b1000 + 0o45) + chr(0b111000)) in ZXDdzgbdtBfz[nzTpIcepk0o8('\060' + '\x6f' + chr(0b101000 + 0o10), 8)]:
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xbbNp$\xd4\xc9y\xad \xd2\xf7\xf5\xd4:!A\x06f%\xc5N'), chr(6890 - 6790) + '\145' + '\x63' + chr(111) + chr(100) + chr(101))(chr(3588 - 3471) + '\164' + '\146' + '\055' + chr(0b10000 + 0o50))] = ZXDdzgbdtBfz[nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b11100 + 0o25), 8)]
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xbbNp$\xd4\xc9y\xad \xd2\xf7\xf5\xd4:!A\x06f"\xc0Pk\xcb'), chr(0b1100100) + chr(2337 - 2236) + chr(99) + chr(3699 - 3588) + chr(510 - 410) + '\145')('\x75' + chr(116) + chr(102) + '\x2d' + '\070')] = roI3spqORKae(ES5oEprVxulp(b'\x92\x7fI\x12'), '\144' + '\145' + chr(0b11111 + 0o104) + chr(0b1101111) + chr(2609 - 2509) + chr(0b1100101))(chr(117) + chr(0b1001100 + 0o50) + chr(7930 - 7828) + chr(0b0 + 0o55) + chr(0b11100 + 0o34))
B6UAF1zReOyJ += nzTpIcepk0o8(chr(533 - 485) + chr(0b1101111) + '\x31', 8)
if QnTXOd5N96r1[B6UAF1zReOyJ][nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(331 - 283), 8):nzTpIcepk0o8(chr(48) + '\x6f' + '\067', 0o10)] == roI3spqORKae(ES5oEprVxulp(b'\xe2{Q\r\xf2\xee&'), '\144' + chr(0b1100101) + chr(1040 - 941) + '\157' + '\144' + chr(0b1100101))(chr(1951 - 1834) + chr(116) + '\x66' + '\055' + '\x38'):
break
while nzTpIcepk0o8(chr(0b110000) + chr(2978 - 2867) + chr(0b11100 + 0o25), 8):
B6UAF1zReOyJ += nzTpIcepk0o8('\x30' + chr(9209 - 9098) + chr(49), 8)
ffiOpFBWGmZU = QnTXOd5N96r1[B6UAF1zReOyJ]
if ffiOpFBWGmZU[nzTpIcepk0o8(chr(48) + '\157' + '\060', 8):nzTpIcepk0o8(chr(0b11111 + 0o21) + '\157' + chr(53), 0b1000)] == roI3spqORKae(ES5oEprVxulp(b'\xe2dE\x16\x98'), '\144' + chr(0b101 + 0o140) + '\x63' + chr(0b1000 + 0o147) + chr(0b1100100) + '\145')(chr(117) + '\164' + chr(0b1100110) + '\x2d' + chr(0b101011 + 0o15)):
break
YDg5goHnvhaQ = roI3spqORKae(ES5oEprVxulp(b''), '\x64' + '\145' + '\143' + chr(0b1101111) + chr(100) + '\x65')(chr(0b1110101) + chr(5035 - 4919) + chr(0b1100110) + chr(0b101101) + '\x38')
FKO_XxLfWbYt = ffiOpFBWGmZU.replace(roI3spqORKae(ES5oEprVxulp(b'\xd4'), '\x64' + chr(5423 - 5322) + chr(0b1100011) + chr(111) + chr(100) + chr(0b1100101))('\x75' + chr(0b11001 + 0o133) + '\x66' + chr(45) + chr(0b100 + 0o64)), roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(101) + chr(0b100001 + 0o102) + '\157' + '\x64' + chr(2353 - 2252))(chr(13451 - 13334) + chr(3725 - 3609) + '\x66' + chr(0b101101) + '\x38')).LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\xf2'), chr(0b1001110 + 0o26) + chr(101) + chr(0b1100011) + chr(0b101001 + 0o106) + '\144' + chr(0b1000010 + 0o43))(chr(0b1100 + 0o151) + chr(0b1110100) + chr(1410 - 1308) + chr(1909 - 1864) + chr(0b111000)))
if ftfygxgFas5X(FKO_XxLfWbYt) > nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(471 - 421), 8):
(MGgKkGHuMKxD, q9UHVMIWIQq0) = ({}, {roI3spqORKae(ES5oEprVxulp(b'\xbdYv$\xf9\xc3}\xb1\x0b\xde'), '\x64' + chr(9589 - 9488) + chr(0b1001001 + 0o32) + chr(0b1101111) + chr(7979 - 7879) + chr(0b1100101))(chr(8867 - 8750) + chr(2696 - 2580) + chr(0b111 + 0o137) + '\x2d' + chr(0b111000)): roI3spqORKae(ES5oEprVxulp(b'\xee'), chr(0b1001000 + 0o34) + chr(7555 - 7454) + chr(4833 - 4734) + chr(10980 - 10869) + chr(0b1100100) + '\x65')(chr(117) + '\x74' + chr(102) + '\x2d' + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xbbD[2\xc7\xcah\xad\x1a\xe9\xf8\xe0\xd8='), chr(100) + '\x65' + '\x63' + chr(0b11000 + 0o127) + chr(100) + chr(9577 - 9476))('\x75' + chr(4218 - 4102) + chr(102) + chr(0b101101) + chr(0b111000)): roI3spqORKae(ES5oEprVxulp(b'\xee'), chr(5299 - 5199) + chr(101) + chr(0b1100011) + chr(111) + chr(7236 - 7136) + chr(0b100110 + 0o77))(chr(310 - 193) + '\164' + chr(2792 - 2690) + chr(126 - 81) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xbbD[2\xcf\xd3}\x9e\x11\xd7\xfb\xe4'), '\x64' + '\145' + chr(0b1100011) + chr(111) + chr(100) + chr(173 - 72))(chr(0b1110101) + '\164' + chr(0b1100110) + chr(0b111 + 0o46) + chr(0b111000)): roI3spqORKae(ES5oEprVxulp(b'\xee'), chr(100) + '\x65' + chr(4600 - 4501) + chr(111) + '\144' + chr(0b1100101))(chr(8507 - 8390) + chr(12595 - 12479) + chr(0b1100110) + chr(0b101101) + chr(0b101010 + 0o16)), roI3spqORKae(ES5oEprVxulp(b'\xbbD[-\xc9\xc4y\xb5\x16\xd9\xf8\xde\xdb9-W'), chr(8865 - 8765) + chr(0b1000000 + 0o45) + chr(390 - 291) + '\157' + '\144' + '\x65')(chr(0b1111 + 0o146) + chr(0b1110100) + '\146' + chr(45) + chr(0b11000 + 0o40)): roI3spqORKae(ES5oEprVxulp(b'\xb2Yg \xd2\xcew\xaf'), chr(0b1100100) + chr(0b1010110 + 0o17) + '\x63' + chr(0b1011101 + 0o22) + '\x64' + '\145')('\x75' + '\164' + chr(0b101100 + 0o72) + chr(45) + '\070')})
for QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(fGxDbmBdBlCw, roI3spqORKae(ES5oEprVxulp(b'\xb5S}2'), '\144' + '\145' + chr(99) + chr(0b1101111) + chr(9177 - 9077) + chr(0b100100 + 0o101))('\x75' + '\164' + '\146' + chr(0b101101) + '\070'))()):
MGgKkGHuMKxD[QYodcsDtoGq7] = fGxDbmBdBlCw[QYodcsDtoGq7]
for IZ1I2J8X1CQz in FKO_XxLfWbYt:
Y_nNEzH43vXi = IZ1I2J8X1CQz.LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\xe3'), '\144' + '\145' + chr(0b1110 + 0o125) + chr(0b100011 + 0o114) + chr(100) + chr(4342 - 4241))(chr(6327 - 6210) + chr(9337 - 9221) + '\x66' + chr(359 - 314) + chr(0b111000)))
if roI3spqORKae(ES5oEprVxulp(b'\xbaSi \xc1\xf8t\xa4\t\xd3\xfa'), chr(0b110110 + 0o56) + chr(9152 - 9051) + '\x63' + chr(0b1011000 + 0o27) + '\x64' + '\x65')(chr(0b110010 + 0o103) + chr(0b1100111 + 0o15) + chr(102) + chr(0b101101) + chr(56)) in Y_nNEzH43vXi[nzTpIcepk0o8(chr(1329 - 1281) + chr(111) + chr(653 - 605), 8)]:
cwMmVhWUM3ZC = jLW6pRf2DSRk(Y_nNEzH43vXi[nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b110001), 8)])
if cwMmVhWUM3ZC != nzTpIcepk0o8(chr(48) + chr(11991 - 11880) + '\060', 8):
MGgKkGHuMKxD[roI3spqORKae(ES5oEprVxulp(b'\xb3Wc(\xc5\xf8u\xa4\x0b\xde\xf9\xe5\xea;/V\x06J'), chr(0b101 + 0o137) + '\145' + chr(0b101000 + 0o73) + chr(6217 - 6106) + chr(100) + '\145')(chr(0b1101 + 0o150) + chr(7501 - 7385) + chr(0b111011 + 0o53) + chr(1231 - 1186) + chr(56))] = roI3spqORKae(ES5oEprVxulp(b'\x92b)\x00\xe0\x8aB'), '\x64' + chr(0b1011 + 0o132) + chr(5432 - 5333) + '\157' + chr(0b1100100) + chr(101))(chr(13170 - 13053) + chr(8635 - 8519) + '\146' + chr(0b100000 + 0o15) + '\x38')
wDEIk17vEWwT = wDEIk17vEWwT + roI3spqORKae(ES5oEprVxulp(b'\xe4y@\x11\x8b\xf4J\x8cR\xf7\xd0'), '\144' + '\x65' + chr(6464 - 6365) + '\157' + chr(0b1000001 + 0o43) + chr(0b1100101))('\165' + chr(0b100 + 0o160) + '\146' + '\055' + chr(0b111000))
MGgKkGHuMKxD[roI3spqORKae(ES5oEprVxulp(b'\xaaDa \xd2\xca}\xaf\x0b\xe9\xf7\xe2\xea>)W\x0f]'), chr(1281 - 1181) + chr(0b11100 + 0o111) + '\x63' + chr(0b1101111) + chr(0b1100100) + '\x65')(chr(0b10001 + 0o144) + chr(116) + chr(7119 - 7017) + '\055' + '\070')] = roI3spqORKae(ES5oEprVxulp(b'\xfb\x0e*r\xc3'), chr(0b11110 + 0o106) + chr(0b1100101) + chr(0b1100000 + 0o3) + chr(0b1101111) + '\144' + chr(101))(chr(0b1110101) + '\164' + '\146' + chr(45) + chr(0b111000)) % (cwMmVhWUM3ZC * 0.001)
if roI3spqORKae(ES5oEprVxulp(b'\xb7Xg-\xcf\xc9y\xb5\x16\xd9\xf8\xde\xc2\x074@\x02@\x13\xd6bl\xd3\x0e(\xb8'), chr(0b101111 + 0o65) + '\x65' + chr(0b1011000 + 0o13) + chr(0b1101111) + chr(0b1100000 + 0o4) + chr(2016 - 1915))(chr(8226 - 8109) + chr(116) + chr(102) + chr(1281 - 1236) + chr(1064 - 1008)) in Y_nNEzH43vXi[nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b110000), 8)]:
MGgKkGHuMKxD[roI3spqORKae(ES5oEprVxulp(b'\xb3Se2\xd3\xd5}\xac\x1a\xd8\xe2\xde\xdc6#'), '\x64' + '\145' + chr(0b111010 + 0o51) + chr(0b100110 + 0o111) + '\144' + chr(0b1100101))('\x75' + chr(0b110110 + 0o76) + chr(102) + chr(45) + chr(56))] = Y_nNEzH43vXi[nzTpIcepk0o8(chr(0b1111 + 0o41) + chr(0b1101111) + '\061', 8)]
if roI3spqORKae(ES5oEprVxulp(b'\xbaSg-\xcf\xc9y\xb5\x16\xd9\xf8\xde\xc2\x074@\x02@\x13\xd6bl\xd3\x0e(\xb8'), '\144' + '\x65' + chr(0b1100011) + '\x6f' + chr(7800 - 7700) + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + chr(2485 - 2383) + chr(1562 - 1517) + '\070') in Y_nNEzH43vXi[nzTpIcepk0o8('\060' + '\157' + chr(0b110000), 8)]:
MGgKkGHuMKxD[roI3spqORKae(ES5oEprVxulp(b'\xb3Se2\xd3\xd5}\xac\x1a\xd8\xe2\xde\xd1=#'), chr(0b1100100) + chr(6093 - 5992) + '\x63' + '\157' + chr(0b111100 + 0o50) + chr(101))('\165' + chr(116) + '\146' + chr(0b101001 + 0o4) + '\x38')] = Y_nNEzH43vXi[nzTpIcepk0o8(chr(48) + chr(0b1011111 + 0o20) + chr(0b100100 + 0o15), 8)]
if roI3spqORKae(ES5oEprVxulp(b'\xb7Xp$\xc8\xd4q\xb5\x06\xe9\xe1\xde\xc1*!K<N\x13\xc3Vi\xca\r'), chr(0b1111 + 0o125) + chr(7299 - 7198) + chr(0b11011 + 0o110) + chr(7504 - 7393) + chr(0b11011 + 0o111) + chr(0b1100101))(chr(117) + '\x74' + '\x66' + chr(280 - 235) + chr(0b11011 + 0o35)) in Y_nNEzH43vXi[nzTpIcepk0o8('\060' + chr(5347 - 5236) + chr(0b110000), 8)]:
MGgKkGHuMKxD[roI3spqORKae(ES5oEprVxulp(b"\xb3Se2\xd3\xd5}\xac\x1a\xd8\xe2\xde\xd89'\\<T#\xccX`\xcc"), chr(0b1100100) + '\145' + chr(0b111101 + 0o46) + '\157' + '\x64' + chr(0b10110 + 0o117))('\x75' + '\164' + '\x66' + chr(0b101101) + chr(1333 - 1277))] = roI3spqORKae(ES5oEprVxulp(b'\xfb\x0e*r\xc3'), chr(0b1000110 + 0o36) + '\145' + '\x63' + chr(111) + '\x64' + chr(0b1100101))('\x75' + chr(0b1110100) + '\x66' + chr(0b10011 + 0o32) + chr(0b100 + 0o64)) % (jLW6pRf2DSRk(Y_nNEzH43vXi[nzTpIcepk0o8(chr(0b110000) + chr(111) + '\x31', 8)]) * RPCRorQZSDUy)
MGgKkGHuMKxD[roI3spqORKae(ES5oEprVxulp(b'\xb3Wc(\xc5\xf8q\xaf\x0c\xc2\xe4\xf4\xd8=.F<Z#\xc5X}'), '\144' + '\x65' + chr(0b1001110 + 0o25) + '\x6f' + '\x64' + chr(0b1100101))('\x75' + chr(116) + chr(102) + chr(0b100101 + 0o10) + chr(419 - 363))] = wDEIk17vEWwT
if roI3spqORKae(ES5oEprVxulp(b'\xb1Pb2\xc3\xd3'), chr(9957 - 9857) + chr(0b1100101) + chr(0b1100011) + '\157' + '\x64' + '\145')('\x75' + '\x74' + chr(156 - 54) + chr(45) + chr(0b111000)) in Y_nNEzH43vXi[nzTpIcepk0o8(chr(1164 - 1116) + chr(5942 - 5831) + '\x30', 8)]:
UH0YjwuI_XzX = roI3spqORKae(ES5oEprVxulp(b'\xfb\x01*r\xc0'), '\x64' + chr(101) + '\143' + chr(3997 - 3886) + chr(100) + '\x65')('\165' + chr(0b1110100) + chr(1719 - 1617) + chr(0b101101) + chr(0b100001 + 0o27)) % (jLW6pRf2DSRk(MModbk7O2z2a - nzTpIcepk0o8(chr(0b110000) + '\157' + chr(49), 8)) * 1.5 + jLW6pRf2DSRk(Y_nNEzH43vXi[nzTpIcepk0o8(chr(0b11001 + 0o27) + chr(0b1011010 + 0o25) + chr(49), 8)]))
q9UHVMIWIQq0[roI3spqORKae(ES5oEprVxulp(b'\xbdYv$\xf9\xc3}\xb1\x0b\xde'), chr(9055 - 8955) + chr(718 - 617) + chr(6677 - 6578) + chr(0b1101111) + chr(0b111111 + 0o45) + chr(6080 - 5979))(chr(0b100011 + 0o122) + chr(116) + chr(102) + chr(1404 - 1359) + chr(0b111000))] = UH0YjwuI_XzX
MGgKkGHuMKxD[roI3spqORKae(ES5oEprVxulp(b'\xbbD[2\xd6\xc2{\xa8\x12\xd3\xf8\xde\xdb9-W'), chr(7578 - 7478) + chr(5164 - 5063) + chr(0b1100011) + chr(111) + chr(6536 - 6436) + chr(101))(chr(10562 - 10445) + '\164' + '\x66' + '\x2d' + chr(0b111000))] = UH0YjwuI_XzX
MGgKkGHuMKxD[roI3spqORKae(ES5oEprVxulp(b'\xbbD[2\xc7\xcah\xad\x1a\xe9\xf8\xe0\xd8='), chr(3660 - 3560) + chr(0b1100101) + chr(5808 - 5709) + chr(0b1101111) + chr(100) + chr(0b10 + 0o143))(chr(6299 - 6182) + chr(116) + chr(102) + '\055' + chr(2041 - 1985))] = UH0YjwuI_XzX
MGgKkGHuMKxD[roI3spqORKae(ES5oEprVxulp(b'\xbbD[2\xcf\xd3}\x9e\x11\xd7\xfb\xe4'), chr(0b1010110 + 0o16) + chr(2387 - 2286) + chr(99) + '\157' + chr(0b10111 + 0o115) + chr(101))(chr(117) + chr(116) + chr(3461 - 3359) + chr(45) + chr(376 - 320))] = UH0YjwuI_XzX
MGgKkGHuMKxD[roI3spqORKae(ES5oEprVxulp(b'\xbbD[-\xc9\xc4y\xb5\x16\xd9\xf8\xde\xdb9-W'), chr(4068 - 3968) + chr(5434 - 5333) + chr(0b111000 + 0o53) + chr(0b100101 + 0o112) + chr(2880 - 2780) + chr(0b110001 + 0o64))(chr(127 - 10) + chr(0b1100011 + 0o21) + chr(4672 - 4570) + chr(45) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\xb2Yg \xd2\xcew\xaf'), chr(100) + chr(0b111111 + 0o46) + chr(3080 - 2981) + '\x6f' + chr(100) + chr(0b1100101))(chr(0b1110001 + 0o4) + chr(116) + '\146' + '\x2d' + chr(0b1001 + 0o57))
q9UHVMIWIQq0[roI3spqORKae(ES5oEprVxulp(b'\xbbD[2\xc7\xcah\xad\x1a\xe9\xf8\xe0\xd8='), '\144' + chr(0b1100101) + chr(99) + chr(111) + chr(9301 - 9201) + '\145')(chr(0b1101 + 0o150) + chr(0b1101000 + 0o14) + chr(8912 - 8810) + chr(0b10010 + 0o33) + '\x38')] = UH0YjwuI_XzX
q9UHVMIWIQq0[roI3spqORKae(ES5oEprVxulp(b'\xbbD[2\xcf\xd3}\x9e\x11\xd7\xfb\xe4'), '\x64' + chr(101) + chr(0b1100011) + chr(111) + '\x64' + '\x65')(chr(117) + '\164' + '\146' + '\055' + chr(56))] = UH0YjwuI_XzX
q9UHVMIWIQq0[roI3spqORKae(ES5oEprVxulp(b'\xbbD[-\xc9\xc4y\xb5\x16\xd9\xf8\xde\xdb9-W'), '\144' + chr(0b1100101) + '\143' + chr(111) + chr(0b10100 + 0o120) + chr(101))('\x75' + chr(0b110100 + 0o100) + chr(7172 - 7070) + '\x2d' + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\xb2Yg \xd2\xcew\xaf'), chr(0b1100100) + chr(0b1001100 + 0o31) + chr(2227 - 2128) + '\157' + chr(3648 - 3548) + chr(0b110001 + 0o64))(chr(0b10110 + 0o137) + chr(0b1101011 + 0o11) + '\146' + chr(0b1 + 0o54) + chr(0b101000 + 0o20))
MGgKkGHuMKxD[roI3spqORKae(ES5oEprVxulp(b'\xb3Se2\xd3\xd5}\xac\x1a\xd8\xe2\xde\xdb--P\x06K'), chr(0b0 + 0o144) + chr(3066 - 2965) + chr(99) + '\157' + chr(0b1100100) + '\x65')(chr(0b0 + 0o165) + '\x74' + '\x66' + '\x2d' + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\xef'), chr(971 - 871) + chr(0b1000 + 0o135) + '\143' + chr(0b1110 + 0o141) + chr(1817 - 1717) + chr(0b1100101))(chr(117) + '\x74' + chr(0b1100110) + chr(0b101101) + '\x38')
roI3spqORKae(Z4JD24rWWYSJ, roI3spqORKae(ES5oEprVxulp(b'\x96bWu\xde\xc0_\xae\x15\xd9\xc3\xb4'), chr(7077 - 6977) + chr(0b1100101) + chr(99) + '\157' + chr(0b101111 + 0o65) + chr(0b1010101 + 0o20))(chr(0b1110101) + '\164' + chr(0b110000 + 0o66) + '\x2d' + chr(0b1011 + 0o55)))(q9UHVMIWIQq0)
roI3spqORKae(pat92IisfQkU, roI3spqORKae(ES5oEprVxulp(b'\x96bWu\xde\xc0_\xae\x15\xd9\xc3\xb4'), '\x64' + chr(0b1100101) + chr(99) + chr(111) + chr(0b10101 + 0o117) + chr(101))(chr(3460 - 3343) + chr(0b11 + 0o161) + '\146' + chr(1350 - 1305) + chr(2686 - 2630)))(MGgKkGHuMKxD)
roI3spqORKae(hUcsWwAd0nE_, roI3spqORKae(ES5oEprVxulp(b'\xb3Wc(\xc5\xf8o\xb3\x16\xc2\xf3'), chr(5182 - 5082) + chr(0b111110 + 0o47) + chr(0b1100011) + chr(323 - 212) + chr(6906 - 6806) + chr(101))(chr(8855 - 8738) + '\164' + chr(0b1100110) + chr(862 - 817) + chr(0b101110 + 0o12)))(bqpTUs8apVqb, Z4JD24rWWYSJ, roI3spqORKae(ES5oEprVxulp(b'\xbbD[2\xc7\xcah\xad\x1a\xc5'), '\x64' + chr(101) + '\x63' + '\157' + '\x64' + '\x65')(chr(117) + '\164' + '\146' + chr(0b1110 + 0o37) + chr(2745 - 2689)))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xadWi1\xca\xc2k\xe1\x0c\xc2\xf9\xf3\xd0<`[\r\x19'), chr(100) + chr(0b1100101) + '\x63' + chr(0b1101111) + chr(0b1010011 + 0o21) + '\x65')('\165' + chr(116) + chr(102) + chr(45) + chr(0b111000)), bqpTUs8apVqb)
EbIbMz_wswWc = hUcsWwAd0nE_.measurements_methods(pat92IisfQkU, NdBgRJDyurSB)
roI3spqORKae(hUcsWwAd0nE_, roI3spqORKae(ES5oEprVxulp(b'\xb3Wc(\xc5\xf8o\xb3\x16\xc2\xf3'), '\x64' + chr(0b1100101) + chr(0b1100011) + '\157' + chr(100) + chr(0b1100101))(chr(0b1101101 + 0o10) + chr(116) + chr(8131 - 8029) + '\055' + chr(56)))(rHPU8oONrR4n, EbIbMz_wswWc, roI3spqORKae(ES5oEprVxulp(b'\xb3Wc(\xc5\xf8u\xa4\x1e\xc5\xe3\xf3\xd05%\\\x17J'), '\144' + '\145' + '\143' + '\x6f' + chr(100) + chr(101))(chr(1623 - 1506) + chr(2989 - 2873) + chr(102) + chr(45) + chr(0b0 + 0o70)))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xbaWp \x86\xd4l\xae\r\xd3\xf2\xa1\xdc6`'), chr(6606 - 6506) + '\145' + chr(99) + '\157' + chr(2333 - 2233) + chr(1184 - 1083))(chr(3104 - 2987) + chr(116) + '\x66' + chr(0b101101) + chr(240 - 184)), rHPU8oONrR4n)
|
PmagPy/PmagPy
|
programs/conversion_scripts/kly4s_magic.py
|
main
|
def main():
"""
NAME
kly4s_magic.py
DESCRIPTION
converts files generated by SIO kly4S labview program to MagIC formated
files for use with PmagPy plotting software
SYNTAX
kly4s_magic.py -h [command line options]
OPTIONS
-h: prints the help message and quits
-f FILE: specify .ams input file name
-fad AZDIP: specify AZDIP file with orientations, will create er_samples.txt file
-fsa SFILE: specify existing er_samples.txt file with orientation information
-fsp SPFILE: specify existing er_specimens.txt file for appending
-F MFILE: specify magic_measurements output file
-Fa AFILE: specify rmag_anisotropy output file
-ocn ORCON: specify orientation convention: default is #3 below -only with AZDIP file
-usr USER: specify who made the measurements
-loc LOC: specify location name for study
-ins INST: specify instrument used
-spc SPEC: specify number of characters to specify specimen from sample
-ncn NCON: specify naming convention: default is #1 below
DEFAULTS
MFILE: magic_measurements.txt
AFILE: rmag_anisotropy.txt
SPFILE: create new er_specimens.txt file
USER: ""
LOC: "unknown"
INST: "SIO-KLY4S"
SPEC: 1 specimen name is same as sample (if SPEC is 1, sample is all but last character)
NOTES:
Sample naming convention:
[1] XXXXY: where XXXX is an arbitrary length site designation and Y
is the single character sample designation. e.g., TG001a is the
first sample from site TG001. [default]
[2] XXXX-YY: YY sample from site XXXX (XXX, YY of arbitary length)
[3] XXXX.YY: YY sample from site XXXX (XXX, YY of arbitary length)
[4-Z] XXXXYYY: YYY is sample designation with Z characters from site XXX
[5] site name = sample name
[6] site name entered in site_name column in the orient.txt format input file -- NOT CURRENTLY SUPPORTED
[7-Z] [XXX]YYY: XXX is site designation with Z characters from samples XXXYYY
NB: all others you will have to either customize your
self or e-mail ltauxe@ucsd.edu for help.
Orientation convention:
[1] Lab arrow azimuth= azimuth; Lab arrow dip=-dip
i.e., dip is degrees from vertical down - the hade [default]
[2] Lab arrow azimuth = azimuth-90; Lab arrow dip = -dip
i.e., azimuth is strike and dip is hade
[3] Lab arrow azimuth = azimuth; Lab arrow dip = dip-90
e.g. dip is degrees from horizontal of drill direction
[4] Lab arrow azimuth = azimuth; Lab arrow dip = dip
[5] Lab arrow azimuth = azimuth; Lab arrow dip = 90-dip
[6] all others you will have to either customize your
self or e-mail ltauxe@ucsd.edu for help.
"""
args = sys.argv
if '-h' in args:
print(main.__doc__)
sys.exit()
dataframe = extractor.command_line_dataframe([['f', True, ''], ['fad', False, ''],
['fsa', False, ''], ['fsp', False, ''],
['Fsp', False, 'specimens.txt'], ['F', False, 'measurements.txt'],
['Fa', False, 'rmag_anisotropy.txt'], ['ocn', False, '3'],
['usr', False, ''], ['loc', False, ''],
['ins', False, 'SIO-KLY4S'], ['spc', False, 0],
['ncn', False, '1'], ['WD', False, '.'],
['ID', False, '.'], ['DM', False, 3 ]])
checked_args = extractor.extract_and_check_args(args, dataframe)
infile, azdip_infile, samp_infile, spec_infile, spec_outfile, measfile, aniso_outfile, or_con, user, locname, inst, specnum, samp_con, output_dir_path, input_dir_path, data_model_num = extractor.get_vars(['f', 'fad', 'fsa', 'fsp', 'Fsp', 'F', 'Fa', 'ocn', 'usr', 'loc', 'ins', 'spc', 'ncn', 'WD', 'ID', 'DM'], checked_args)
convert.kly4s(infile, specnum=specnum, locname=locname, inst=inst,
user=user, measfile=measfile,or_con=or_con,
samp_con=samp_con, aniso_outfile=aniso_outfile,
samp_infile=samp_infile, spec_infile=spec_infile,
spec_outfile=spec_outfile, azdip_infile=azdip_infile,
dir_path=output_dir_path, input_dir_path=input_dir_path,
data_model_num=data_model_num)
|
python
|
def main():
"""
NAME
kly4s_magic.py
DESCRIPTION
converts files generated by SIO kly4S labview program to MagIC formated
files for use with PmagPy plotting software
SYNTAX
kly4s_magic.py -h [command line options]
OPTIONS
-h: prints the help message and quits
-f FILE: specify .ams input file name
-fad AZDIP: specify AZDIP file with orientations, will create er_samples.txt file
-fsa SFILE: specify existing er_samples.txt file with orientation information
-fsp SPFILE: specify existing er_specimens.txt file for appending
-F MFILE: specify magic_measurements output file
-Fa AFILE: specify rmag_anisotropy output file
-ocn ORCON: specify orientation convention: default is #3 below -only with AZDIP file
-usr USER: specify who made the measurements
-loc LOC: specify location name for study
-ins INST: specify instrument used
-spc SPEC: specify number of characters to specify specimen from sample
-ncn NCON: specify naming convention: default is #1 below
DEFAULTS
MFILE: magic_measurements.txt
AFILE: rmag_anisotropy.txt
SPFILE: create new er_specimens.txt file
USER: ""
LOC: "unknown"
INST: "SIO-KLY4S"
SPEC: 1 specimen name is same as sample (if SPEC is 1, sample is all but last character)
NOTES:
Sample naming convention:
[1] XXXXY: where XXXX is an arbitrary length site designation and Y
is the single character sample designation. e.g., TG001a is the
first sample from site TG001. [default]
[2] XXXX-YY: YY sample from site XXXX (XXX, YY of arbitary length)
[3] XXXX.YY: YY sample from site XXXX (XXX, YY of arbitary length)
[4-Z] XXXXYYY: YYY is sample designation with Z characters from site XXX
[5] site name = sample name
[6] site name entered in site_name column in the orient.txt format input file -- NOT CURRENTLY SUPPORTED
[7-Z] [XXX]YYY: XXX is site designation with Z characters from samples XXXYYY
NB: all others you will have to either customize your
self or e-mail ltauxe@ucsd.edu for help.
Orientation convention:
[1] Lab arrow azimuth= azimuth; Lab arrow dip=-dip
i.e., dip is degrees from vertical down - the hade [default]
[2] Lab arrow azimuth = azimuth-90; Lab arrow dip = -dip
i.e., azimuth is strike and dip is hade
[3] Lab arrow azimuth = azimuth; Lab arrow dip = dip-90
e.g. dip is degrees from horizontal of drill direction
[4] Lab arrow azimuth = azimuth; Lab arrow dip = dip
[5] Lab arrow azimuth = azimuth; Lab arrow dip = 90-dip
[6] all others you will have to either customize your
self or e-mail ltauxe@ucsd.edu for help.
"""
args = sys.argv
if '-h' in args:
print(main.__doc__)
sys.exit()
dataframe = extractor.command_line_dataframe([['f', True, ''], ['fad', False, ''],
['fsa', False, ''], ['fsp', False, ''],
['Fsp', False, 'specimens.txt'], ['F', False, 'measurements.txt'],
['Fa', False, 'rmag_anisotropy.txt'], ['ocn', False, '3'],
['usr', False, ''], ['loc', False, ''],
['ins', False, 'SIO-KLY4S'], ['spc', False, 0],
['ncn', False, '1'], ['WD', False, '.'],
['ID', False, '.'], ['DM', False, 3 ]])
checked_args = extractor.extract_and_check_args(args, dataframe)
infile, azdip_infile, samp_infile, spec_infile, spec_outfile, measfile, aniso_outfile, or_con, user, locname, inst, specnum, samp_con, output_dir_path, input_dir_path, data_model_num = extractor.get_vars(['f', 'fad', 'fsa', 'fsp', 'Fsp', 'F', 'Fa', 'ocn', 'usr', 'loc', 'ins', 'spc', 'ncn', 'WD', 'ID', 'DM'], checked_args)
convert.kly4s(infile, specnum=specnum, locname=locname, inst=inst,
user=user, measfile=measfile,or_con=or_con,
samp_con=samp_con, aniso_outfile=aniso_outfile,
samp_infile=samp_infile, spec_infile=spec_infile,
spec_outfile=spec_outfile, azdip_infile=azdip_infile,
dir_path=output_dir_path, input_dir_path=input_dir_path,
data_model_num=data_model_num)
|
[
"def",
"main",
"(",
")",
":",
"args",
"=",
"sys",
".",
"argv",
"if",
"'-h'",
"in",
"args",
":",
"print",
"(",
"main",
".",
"__doc__",
")",
"sys",
".",
"exit",
"(",
")",
"dataframe",
"=",
"extractor",
".",
"command_line_dataframe",
"(",
"[",
"[",
"'f'",
",",
"True",
",",
"''",
"]",
",",
"[",
"'fad'",
",",
"False",
",",
"''",
"]",
",",
"[",
"'fsa'",
",",
"False",
",",
"''",
"]",
",",
"[",
"'fsp'",
",",
"False",
",",
"''",
"]",
",",
"[",
"'Fsp'",
",",
"False",
",",
"'specimens.txt'",
"]",
",",
"[",
"'F'",
",",
"False",
",",
"'measurements.txt'",
"]",
",",
"[",
"'Fa'",
",",
"False",
",",
"'rmag_anisotropy.txt'",
"]",
",",
"[",
"'ocn'",
",",
"False",
",",
"'3'",
"]",
",",
"[",
"'usr'",
",",
"False",
",",
"''",
"]",
",",
"[",
"'loc'",
",",
"False",
",",
"''",
"]",
",",
"[",
"'ins'",
",",
"False",
",",
"'SIO-KLY4S'",
"]",
",",
"[",
"'spc'",
",",
"False",
",",
"0",
"]",
",",
"[",
"'ncn'",
",",
"False",
",",
"'1'",
"]",
",",
"[",
"'WD'",
",",
"False",
",",
"'.'",
"]",
",",
"[",
"'ID'",
",",
"False",
",",
"'.'",
"]",
",",
"[",
"'DM'",
",",
"False",
",",
"3",
"]",
"]",
")",
"checked_args",
"=",
"extractor",
".",
"extract_and_check_args",
"(",
"args",
",",
"dataframe",
")",
"infile",
",",
"azdip_infile",
",",
"samp_infile",
",",
"spec_infile",
",",
"spec_outfile",
",",
"measfile",
",",
"aniso_outfile",
",",
"or_con",
",",
"user",
",",
"locname",
",",
"inst",
",",
"specnum",
",",
"samp_con",
",",
"output_dir_path",
",",
"input_dir_path",
",",
"data_model_num",
"=",
"extractor",
".",
"get_vars",
"(",
"[",
"'f'",
",",
"'fad'",
",",
"'fsa'",
",",
"'fsp'",
",",
"'Fsp'",
",",
"'F'",
",",
"'Fa'",
",",
"'ocn'",
",",
"'usr'",
",",
"'loc'",
",",
"'ins'",
",",
"'spc'",
",",
"'ncn'",
",",
"'WD'",
",",
"'ID'",
",",
"'DM'",
"]",
",",
"checked_args",
")",
"convert",
".",
"kly4s",
"(",
"infile",
",",
"specnum",
"=",
"specnum",
",",
"locname",
"=",
"locname",
",",
"inst",
"=",
"inst",
",",
"user",
"=",
"user",
",",
"measfile",
"=",
"measfile",
",",
"or_con",
"=",
"or_con",
",",
"samp_con",
"=",
"samp_con",
",",
"aniso_outfile",
"=",
"aniso_outfile",
",",
"samp_infile",
"=",
"samp_infile",
",",
"spec_infile",
"=",
"spec_infile",
",",
"spec_outfile",
"=",
"spec_outfile",
",",
"azdip_infile",
"=",
"azdip_infile",
",",
"dir_path",
"=",
"output_dir_path",
",",
"input_dir_path",
"=",
"input_dir_path",
",",
"data_model_num",
"=",
"data_model_num",
")"
] |
NAME
kly4s_magic.py
DESCRIPTION
converts files generated by SIO kly4S labview program to MagIC formated
files for use with PmagPy plotting software
SYNTAX
kly4s_magic.py -h [command line options]
OPTIONS
-h: prints the help message and quits
-f FILE: specify .ams input file name
-fad AZDIP: specify AZDIP file with orientations, will create er_samples.txt file
-fsa SFILE: specify existing er_samples.txt file with orientation information
-fsp SPFILE: specify existing er_specimens.txt file for appending
-F MFILE: specify magic_measurements output file
-Fa AFILE: specify rmag_anisotropy output file
-ocn ORCON: specify orientation convention: default is #3 below -only with AZDIP file
-usr USER: specify who made the measurements
-loc LOC: specify location name for study
-ins INST: specify instrument used
-spc SPEC: specify number of characters to specify specimen from sample
-ncn NCON: specify naming convention: default is #1 below
DEFAULTS
MFILE: magic_measurements.txt
AFILE: rmag_anisotropy.txt
SPFILE: create new er_specimens.txt file
USER: ""
LOC: "unknown"
INST: "SIO-KLY4S"
SPEC: 1 specimen name is same as sample (if SPEC is 1, sample is all but last character)
NOTES:
Sample naming convention:
[1] XXXXY: where XXXX is an arbitrary length site designation and Y
is the single character sample designation. e.g., TG001a is the
first sample from site TG001. [default]
[2] XXXX-YY: YY sample from site XXXX (XXX, YY of arbitary length)
[3] XXXX.YY: YY sample from site XXXX (XXX, YY of arbitary length)
[4-Z] XXXXYYY: YYY is sample designation with Z characters from site XXX
[5] site name = sample name
[6] site name entered in site_name column in the orient.txt format input file -- NOT CURRENTLY SUPPORTED
[7-Z] [XXX]YYY: XXX is site designation with Z characters from samples XXXYYY
NB: all others you will have to either customize your
self or e-mail ltauxe@ucsd.edu for help.
Orientation convention:
[1] Lab arrow azimuth= azimuth; Lab arrow dip=-dip
i.e., dip is degrees from vertical down - the hade [default]
[2] Lab arrow azimuth = azimuth-90; Lab arrow dip = -dip
i.e., azimuth is strike and dip is hade
[3] Lab arrow azimuth = azimuth; Lab arrow dip = dip-90
e.g. dip is degrees from horizontal of drill direction
[4] Lab arrow azimuth = azimuth; Lab arrow dip = dip
[5] Lab arrow azimuth = azimuth; Lab arrow dip = 90-dip
[6] all others you will have to either customize your
self or e-mail ltauxe@ucsd.edu for help.
|
[
"NAME",
"kly4s_magic",
".",
"py"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/programs/conversion_scripts/kly4s_magic.py#L6-L89
|
train
|
This function is the main entry point for the kly4S labview program. It is the main entry point for the kly4S labview program.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8('\x30' + chr(0b10010 + 0o135) + chr(0b110010) + '\x34' + chr(0b110111), ord("\x08")), nzTpIcepk0o8('\060' + '\157' + '\061' + '\x31' + '\x32', ord("\x08")), nzTpIcepk0o8(chr(0b1100 + 0o44) + '\157' + chr(52) + chr(52), 0b1000), nzTpIcepk0o8(chr(1303 - 1255) + chr(0b1101111) + '\061' + '\x30' + chr(0b110010), 11363 - 11355), nzTpIcepk0o8(chr(2250 - 2202) + chr(111) + '\061' + '\x36' + chr(536 - 484), ord("\x08")), nzTpIcepk0o8('\x30' + '\157' + '\063' + '\x32' + chr(49), ord("\x08")), nzTpIcepk0o8('\060' + chr(11244 - 11133) + chr(0b1000 + 0o51) + '\062' + chr(0b110000), ord("\x08")), nzTpIcepk0o8('\x30' + '\157' + chr(0b110010) + '\x33' + '\064', 0o10), nzTpIcepk0o8(chr(594 - 546) + '\x6f' + '\x31' + '\x35' + chr(49), 0o10), nzTpIcepk0o8(chr(301 - 253) + chr(0b1101111) + '\x33' + '\x36' + chr(53), 0o10), nzTpIcepk0o8(chr(48) + '\x6f' + '\064' + '\065', ord("\x08")), nzTpIcepk0o8(chr(48) + chr(2731 - 2620) + '\x33' + chr(0b110101) + chr(167 - 112), 0o10), nzTpIcepk0o8(chr(0b1101 + 0o43) + chr(111) + chr(0b1011 + 0o50) + '\x32' + '\061', 8), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(50) + chr(0b1011 + 0o47) + chr(0b10000 + 0o42), 0b1000), nzTpIcepk0o8(chr(0b1000 + 0o50) + chr(111) + chr(0b110010) + '\067' + chr(1322 - 1273), 0o10), nzTpIcepk0o8(chr(48) + '\157' + chr(0b101011 + 0o10) + '\065' + '\066', 0b1000), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b10001 + 0o42) + chr(1722 - 1667) + chr(0b110 + 0o54), ord("\x08")), nzTpIcepk0o8('\x30' + '\157' + chr(0b101110 + 0o3) + chr(1028 - 976) + chr(53), 0b1000), nzTpIcepk0o8('\x30' + chr(1313 - 1202) + chr(2493 - 2443) + '\066', ord("\x08")), nzTpIcepk0o8(chr(696 - 648) + chr(4946 - 4835) + chr(2043 - 1993) + '\x32' + chr(0b110010), 8), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(599 - 549) + '\x36' + chr(53), ord("\x08")), nzTpIcepk0o8(chr(1722 - 1674) + '\157' + '\067' + chr(0b10010 + 0o42), 10558 - 10550), nzTpIcepk0o8(chr(0b11011 + 0o25) + chr(111) + chr(50) + '\x30' + chr(0b110111), ord("\x08")), nzTpIcepk0o8('\060' + chr(7202 - 7091) + chr(2426 - 2376) + '\x32' + chr(0b110100), 0b1000), nzTpIcepk0o8(chr(2210 - 2162) + chr(111) + '\061' + chr(0b110011) + chr(0b110110), 0o10), nzTpIcepk0o8('\x30' + chr(1795 - 1684) + chr(0b11001 + 0o32) + '\066' + chr(0b110110), 0b1000), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b110000 + 0o6) + chr(48), 34365 - 34357), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\061' + '\065' + chr(1274 - 1220), 0o10), nzTpIcepk0o8('\060' + '\x6f' + '\062' + chr(763 - 710) + chr(683 - 634), 0b1000), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\063' + '\063' + chr(1555 - 1504), 47320 - 47312), nzTpIcepk0o8('\x30' + chr(111) + chr(0b110001) + chr(0b101110 + 0o3) + chr(0b101110 + 0o11), 53561 - 53553), nzTpIcepk0o8('\x30' + chr(0b100001 + 0o116) + chr(1927 - 1878) + chr(51) + chr(0b1111 + 0o44), 0b1000), nzTpIcepk0o8('\x30' + chr(0b10111 + 0o130) + chr(1665 - 1612) + chr(0b10110 + 0o33), 0o10), nzTpIcepk0o8(chr(1375 - 1327) + chr(111) + chr(53), 0o10), nzTpIcepk0o8(chr(48) + chr(111) + chr(0b11000 + 0o32) + chr(1019 - 971) + chr(2537 - 2486), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(50) + chr(0b110110) + chr(0b100100 + 0o16), ord("\x08")), nzTpIcepk0o8(chr(1996 - 1948) + '\157' + chr(0b110010) + chr(0b11110 + 0o26) + chr(0b110011), 0b1000), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\x33' + chr(48) + chr(0b110100), 0o10), nzTpIcepk0o8(chr(2105 - 2057) + chr(0b101010 + 0o105) + chr(0b10001 + 0o40) + chr(49) + chr(0b100111 + 0o20), 8), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\x32' + chr(0b1010 + 0o47) + '\x30', 36782 - 36774)][ZlbFMSG8gCoF % nzTpIcepk0o8('\060' + chr(0b111110 + 0o61) + '\065' + chr(0b11010 + 0o26), 0o10)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\x89'), chr(100) + chr(101) + chr(99) + '\157' + chr(0b110000 + 0o64) + chr(101))(chr(117) + chr(116) + chr(0b1001101 + 0o31) + chr(195 - 150) + '\070') + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def BXHXH_QeD6rL():
eemPYp2vtTSr = bpyfpu4kTbwL.ajIDWyXMBa3b
if roI3spqORKae(ES5oEprVxulp(b'\x8a"'), chr(0b11100 + 0o110) + '\x65' + chr(0b1100011) + '\157' + chr(0b1010 + 0o132) + chr(5413 - 5312))('\165' + '\x74' + chr(0b1 + 0o145) + chr(45) + chr(0b111000)) in eemPYp2vtTSr:
v8jsMqaYV6U2(roI3spqORKae(BXHXH_QeD6rL, roI3spqORKae(ES5oEprVxulp(b"\xde,a'\x05\x809\xc9\x06\x84r\xbb"), chr(0b111111 + 0o45) + '\x65' + '\143' + chr(8796 - 8685) + chr(100) + '\145')('\x75' + chr(0b10 + 0o162) + chr(0b1011 + 0o133) + chr(0b1010 + 0o43) + chr(0b111000))))
roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\xfd?V(\x17\x84\x1c\xad\x1a\x86d\xd7'), '\144' + chr(0b11101 + 0o110) + chr(0b1100011) + chr(11345 - 11234) + chr(0b0 + 0o144) + chr(0b10001 + 0o124))(chr(0b1110101) + '\164' + chr(0b1100110) + chr(192 - 147) + chr(2747 - 2691)))()
JGOfJ3ibSnmm = Sc5_ZljaM4Vn.command_line_dataframe([[roI3spqORKae(ES5oEprVxulp(b'\xc1'), chr(2043 - 1943) + '\145' + chr(99) + '\157' + chr(100) + '\145')(chr(1073 - 956) + chr(0b1110100) + '\x66' + chr(45) + '\070'), nzTpIcepk0o8(chr(474 - 426) + '\157' + chr(1157 - 1108), ord("\x08")), roI3spqORKae(ES5oEprVxulp(b''), chr(3604 - 3504) + '\145' + '\x63' + '\x6f' + chr(6880 - 6780) + chr(0b1000011 + 0o42))('\x75' + '\x74' + chr(917 - 815) + chr(0b101101) + chr(0b10000 + 0o50))], [roI3spqORKae(ES5oEprVxulp(b'\xc1+@'), '\x64' + '\x65' + chr(0b1100011) + chr(0b1011011 + 0o24) + '\x64' + '\145')(chr(0b1100011 + 0o22) + '\164' + '\x66' + '\055' + chr(0b11001 + 0o37)), nzTpIcepk0o8(chr(48) + chr(6743 - 6632) + chr(2286 - 2238), 0o10), roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(101) + chr(99) + chr(0b1101111) + '\144' + '\145')('\165' + chr(0b1011111 + 0o25) + chr(102) + chr(0b101101) + chr(2098 - 2042))], [roI3spqORKae(ES5oEprVxulp(b'\xc19E'), chr(0b1010010 + 0o22) + chr(0b1100101) + chr(99) + chr(111) + chr(100) + chr(0b1100101))(chr(0b1110101) + '\x74' + chr(0b1100110) + chr(0b101101) + chr(133 - 77)), nzTpIcepk0o8('\x30' + chr(0b1010101 + 0o32) + '\060', 8), roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(0b100 + 0o141) + '\143' + '\157' + '\x64' + chr(0b1100101))(chr(117) + chr(3622 - 3506) + chr(9195 - 9093) + '\055' + '\070')], [roI3spqORKae(ES5oEprVxulp(b'\xc19T'), '\144' + '\145' + '\x63' + '\x6f' + chr(100) + '\x65')(chr(0b1110101) + '\x74' + chr(0b1100110) + '\x2d' + '\070'), nzTpIcepk0o8(chr(48) + chr(0b11 + 0o154) + chr(0b110000), 8), roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(2192 - 2091) + '\x63' + '\x6f' + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + chr(165 - 49) + '\146' + chr(1991 - 1946) + '\x38')], [roI3spqORKae(ES5oEprVxulp(b'\xe19T'), '\144' + chr(0b1100101) + chr(1913 - 1814) + chr(0b1101111) + chr(6571 - 6471) + chr(101))(chr(0b10101 + 0o140) + '\x74' + chr(0b111010 + 0o54) + chr(0b101101) + chr(2387 - 2331)), nzTpIcepk0o8(chr(0b110000) + chr(0b1010010 + 0o35) + chr(48), 8), roI3spqORKae(ES5oEprVxulp(b'\xd4:A!\x1d\xbc5\xf2\x1a\xdbQ\x97\xa5'), chr(100) + chr(0b1100101) + chr(0b1100011) + chr(0b111001 + 0o66) + chr(0b110000 + 0o64) + chr(0b1100101))('\165' + chr(3058 - 2942) + chr(0b1100110) + chr(0b1011 + 0o42) + chr(1167 - 1111))], [roI3spqORKae(ES5oEprVxulp(b'\xe1'), chr(0b1001 + 0o133) + chr(8728 - 8627) + chr(0b1100011) + chr(111) + chr(7404 - 7304) + chr(0b1100101))('\x75' + '\x74' + chr(0b1000100 + 0o42) + chr(0b101101) + '\070'), nzTpIcepk0o8(chr(0b110000) + chr(0b100001 + 0o116) + chr(0b110000), 8), roI3spqORKae(ES5oEprVxulp(b'\xca/E1\x01\xa35\xf1\x0c\x9bQ\x9c\xff\xe6\xc1\x9a'), '\x64' + chr(101) + chr(99) + '\157' + chr(3732 - 3632) + chr(101))(chr(117) + chr(116) + chr(0b10010 + 0o124) + chr(0b10100 + 0o31) + '\x38')], [roI3spqORKae(ES5oEprVxulp(b'\xe1+'), chr(0b1100100) + chr(0b10101 + 0o120) + chr(3611 - 3512) + chr(111) + chr(0b101 + 0o137) + '\x65')(chr(117) + chr(0b1001111 + 0o45) + chr(8748 - 8646) + chr(0b101101) + '\070'), nzTpIcepk0o8('\060' + chr(3485 - 3374) + chr(0b1011 + 0o45), 8), roI3spqORKae(ES5oEprVxulp(b"\xd5'E%+\xb0>\xf5\x1a\x9aQ\x9d\xbe\xe2\xc0\xc0\x8e\x1db"), '\144' + chr(6916 - 6815) + chr(99) + chr(111) + chr(5066 - 4966) + chr(101))('\165' + chr(0b1110100) + chr(0b1110 + 0o130) + chr(373 - 328) + chr(2028 - 1972))], [roI3spqORKae(ES5oEprVxulp(b'\xc8)J'), '\x64' + chr(0b1100101) + chr(1614 - 1515) + chr(0b10000 + 0o137) + '\144' + '\145')(chr(117) + chr(116) + '\x66' + '\055' + '\x38'), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b110000), 8), roI3spqORKae(ES5oEprVxulp(b'\x94'), '\x64' + chr(101) + chr(0b1100011) + chr(111) + chr(0b1100100) + chr(0b1100101))(chr(117) + '\x74' + chr(0b1100110) + '\055' + chr(169 - 113))], [roI3spqORKae(ES5oEprVxulp(b'\xd29V'), chr(0b1100100) + chr(0b1100101) + '\x63' + '\157' + chr(0b1100100) + chr(101))(chr(117) + '\x74' + chr(0b1100110) + '\055' + chr(0b111000)), nzTpIcepk0o8('\x30' + chr(111) + chr(0b11110 + 0o22), 8), roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(5554 - 5453) + chr(99) + chr(0b1101100 + 0o3) + '\x64' + chr(101))('\x75' + chr(0b1110010 + 0o2) + chr(102) + chr(639 - 594) + chr(0b10001 + 0o47))], [roI3spqORKae(ES5oEprVxulp(b'\xcb%G'), '\144' + chr(0b1010 + 0o133) + '\x63' + chr(11967 - 11856) + '\x64' + chr(4848 - 4747))(chr(3130 - 3013) + chr(12446 - 12330) + '\146' + chr(0b100101 + 0o10) + '\x38'), nzTpIcepk0o8('\x30' + '\157' + chr(264 - 216), 8), roI3spqORKae(ES5oEprVxulp(b''), chr(0b111110 + 0o46) + chr(8390 - 8289) + chr(0b1010010 + 0o21) + '\x6f' + chr(0b1100100) + '\145')(chr(10081 - 9964) + '\164' + '\x66' + chr(0b100010 + 0o13) + '\070')], [roI3spqORKae(ES5oEprVxulp(b'\xce$W'), chr(0b0 + 0o144) + chr(0b1100101) + chr(4601 - 4502) + '\x6f' + chr(100) + chr(5551 - 5450))(chr(4401 - 4284) + chr(0b1110100) + chr(0b110 + 0o140) + chr(45) + chr(0b1100 + 0o54)), nzTpIcepk0o8('\060' + '\x6f' + '\x30', 8), roI3spqORKae(ES5oEprVxulp(b'\xf4\x03ko?\x9d\t\xa8:'), chr(0b1100100) + chr(3069 - 2968) + '\143' + '\x6f' + '\144' + '\x65')('\x75' + '\x74' + chr(0b100001 + 0o105) + chr(86 - 41) + chr(961 - 905))], [roI3spqORKae(ES5oEprVxulp(b'\xd4:G'), chr(0b1100100) + chr(0b1100101) + chr(0b0 + 0o143) + chr(0b100001 + 0o116) + chr(0b1100100) + chr(823 - 722))(chr(13083 - 12966) + chr(116) + chr(102) + chr(0b10111 + 0o26) + chr(56)), nzTpIcepk0o8(chr(0b110000) + chr(971 - 860) + '\060', 8), nzTpIcepk0o8('\060' + '\157' + chr(2174 - 2126), 8)], [roI3spqORKae(ES5oEprVxulp(b'\xc9)J'), '\144' + chr(4588 - 4487) + chr(99) + chr(111) + chr(2655 - 2555) + '\145')(chr(0b101011 + 0o112) + '\164' + chr(102) + '\x2d' + '\x38'), nzTpIcepk0o8(chr(0b11011 + 0o25) + '\x6f' + chr(48), 8), roI3spqORKae(ES5oEprVxulp(b'\x96'), chr(0b1100100) + chr(3506 - 3405) + '\x63' + chr(0b1101111) + '\x64' + chr(5485 - 5384))(chr(0b1000011 + 0o62) + '\164' + '\146' + chr(45) + chr(56))], [roI3spqORKae(ES5oEprVxulp(b'\xf0\x0e'), '\x64' + chr(0b1100101) + '\x63' + chr(111) + chr(3744 - 3644) + chr(0b101110 + 0o67))('\165' + '\x74' + '\x66' + '\055' + '\070'), nzTpIcepk0o8(chr(0b110000) + chr(3866 - 3755) + '\060', 8), roI3spqORKae(ES5oEprVxulp(b'\x89'), '\x64' + chr(0b1100101) + chr(0b1100001 + 0o2) + chr(0b1101111) + '\144' + '\x65')('\165' + chr(116) + '\x66' + '\055' + chr(0b111000))], [roI3spqORKae(ES5oEprVxulp(b'\xee\x0e'), chr(5346 - 5246) + chr(0b101010 + 0o73) + chr(0b1100011) + chr(0b1101000 + 0o7) + chr(0b1100100) + chr(0b11110 + 0o107))('\165' + chr(5275 - 5159) + chr(4931 - 4829) + '\055' + chr(765 - 709)), nzTpIcepk0o8(chr(0b1000 + 0o50) + chr(0b1101111) + chr(0b1110 + 0o42), 8), roI3spqORKae(ES5oEprVxulp(b'\x89'), chr(0b1111 + 0o125) + chr(0b1101 + 0o130) + chr(99) + '\157' + chr(100) + chr(0b1100101))(chr(117) + chr(0b1110001 + 0o3) + '\x66' + chr(0b101101) + chr(0b101011 + 0o15))], [roI3spqORKae(ES5oEprVxulp(b'\xe3\x07'), chr(0b1100100) + chr(0b1100101) + chr(1614 - 1515) + chr(0b1101111) + chr(100) + chr(101))(chr(0b1110101) + '\164' + chr(102) + chr(784 - 739) + '\070'), nzTpIcepk0o8('\x30' + chr(0b1101111) + '\060', 8), nzTpIcepk0o8(chr(77 - 29) + chr(3830 - 3719) + '\063', 0b1000)]])
LlvVQ5dTBlbp = Sc5_ZljaM4Vn.extract_and_check_args(eemPYp2vtTSr, JGOfJ3ibSnmm)
(XvbvbiHwSGUb, F8ZuKgAzcgnK, ZsCw5D6R0uXJ, zE7GfS62oZq3, H9K7Tqihv8gn, A2Ff6DSRgBqA, tL9nBzHdXKc8, NNwYJkefQ0vs, E63X9RhwfuOn, N3wHZjqj3hh1, wDEIk17vEWwT, M7GWgFE4VK5D, hLIySoEW0NmV, YtDhZvF7VzwC, KADebXAR9grB, Z5dKAC9uv0qA) = Sc5_ZljaM4Vn.get_vars([roI3spqORKae(ES5oEprVxulp(b'\xc1'), '\144' + chr(0b1011101 + 0o10) + '\143' + chr(0b1 + 0o156) + chr(8117 - 8017) + '\x65')(chr(0b1110101) + '\164' + chr(0b1100110) + '\055' + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xc1+@'), chr(0b1100100) + chr(0b1000001 + 0o44) + chr(0b1011101 + 0o6) + chr(0b1101111) + chr(0b1100100) + chr(0b1100101))(chr(6849 - 6732) + chr(0b1110100) + chr(0b1100110) + '\055' + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xc19E'), '\x64' + chr(101) + chr(0b1100011) + chr(1572 - 1461) + '\144' + chr(0b1100101))(chr(117) + '\164' + chr(102) + chr(0b100010 + 0o13) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xc19T'), chr(0b1100100) + chr(101) + chr(0b1001100 + 0o27) + chr(0b1101111) + chr(0b1100001 + 0o3) + chr(7071 - 6970))('\165' + chr(0b110000 + 0o104) + '\146' + chr(1767 - 1722) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xe19T'), chr(2939 - 2839) + chr(3415 - 3314) + chr(0b101001 + 0o72) + chr(0b1001011 + 0o44) + chr(8462 - 8362) + '\145')(chr(11095 - 10978) + chr(0b1110100) + chr(0b100101 + 0o101) + chr(0b10101 + 0o30) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xe1'), '\144' + chr(7951 - 7850) + chr(99) + chr(8766 - 8655) + '\x64' + chr(0b1100101))('\165' + chr(116) + '\x66' + chr(0b1010 + 0o43) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xe1+'), chr(0b101000 + 0o74) + '\145' + chr(1153 - 1054) + chr(0b1001000 + 0o47) + chr(0b0 + 0o144) + chr(9200 - 9099))(chr(0b101000 + 0o115) + chr(0b1000100 + 0o60) + '\146' + chr(0b100010 + 0o13) + chr(426 - 370)), roI3spqORKae(ES5oEprVxulp(b'\xc8)J'), chr(0b1100100) + '\145' + chr(0b111101 + 0o46) + chr(0b1101111) + chr(0b1100100) + chr(3100 - 2999))('\165' + chr(116) + chr(0b1100110) + chr(0b101101) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xd29V'), chr(0b1000011 + 0o41) + '\x65' + chr(4407 - 4308) + chr(0b1101111) + chr(100) + chr(101))('\x75' + chr(0b1100000 + 0o24) + '\146' + '\055' + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xcb%G'), '\144' + chr(0b1001101 + 0o30) + chr(0b1100011) + chr(0b1101111) + '\144' + chr(0b1011010 + 0o13))('\x75' + '\x74' + chr(0b1100110) + chr(45) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xce$W'), '\144' + chr(0b10000 + 0o125) + '\x63' + chr(111) + chr(100) + '\x65')(chr(0b1110101) + chr(116) + '\x66' + '\x2d' + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xd4:G'), chr(100) + chr(5624 - 5523) + '\143' + chr(111) + chr(0b1100100) + chr(0b1100101))(chr(7605 - 7488) + chr(0b1110100) + chr(0b1011001 + 0o15) + chr(45) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xc9)J'), chr(0b1000011 + 0o41) + chr(0b1100101) + chr(288 - 189) + '\x6f' + chr(6669 - 6569) + chr(101))(chr(117) + '\164' + '\146' + chr(134 - 89) + chr(2003 - 1947)), roI3spqORKae(ES5oEprVxulp(b'\xf0\x0e'), chr(0b1010001 + 0o23) + '\145' + chr(0b1010 + 0o131) + chr(111) + chr(0b1001010 + 0o32) + '\145')(chr(0b1110101) + '\x74' + '\146' + '\055' + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xee\x0e'), chr(1196 - 1096) + '\145' + chr(0b11111 + 0o104) + '\x6f' + chr(7455 - 7355) + chr(0b1100101))('\165' + chr(116) + chr(0b1100110) + chr(0b10011 + 0o32) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xe3\x07'), chr(100) + chr(101) + chr(99) + chr(0b1101111) + chr(0b1100100) + chr(0b1000000 + 0o45))(chr(0b10100 + 0o141) + chr(10619 - 10503) + chr(102) + chr(722 - 677) + chr(0b111000))], LlvVQ5dTBlbp)
roI3spqORKae(Ke7SAGs_qhbe, roI3spqORKae(ES5oEprVxulp(b'\xcc&]v\x07'), chr(100) + chr(0b1100101) + chr(99) + chr(0b1011010 + 0o25) + chr(0b1100100) + chr(0b1100101))(chr(9113 - 8996) + chr(0b1110100) + '\146' + '\x2d' + chr(0b101011 + 0o15)))(XvbvbiHwSGUb, specnum=M7GWgFE4VK5D, locname=N3wHZjqj3hh1, inst=wDEIk17vEWwT, user=E63X9RhwfuOn, measfile=A2Ff6DSRgBqA, or_con=NNwYJkefQ0vs, samp_con=hLIySoEW0NmV, aniso_outfile=tL9nBzHdXKc8, samp_infile=ZsCw5D6R0uXJ, spec_infile=zE7GfS62oZq3, spec_outfile=H9K7Tqihv8gn, azdip_infile=F8ZuKgAzcgnK, dir_path=YtDhZvF7VzwC, input_dir_path=KADebXAR9grB, data_model_num=Z5dKAC9uv0qA)
|
PmagPy/PmagPy
|
programs/plotxy.py
|
main
|
def main():
"""
NAME
plotXY.py
DESCRIPTION
Makes simple X,Y plots
INPUT FORMAT
X,Y data in columns
SYNTAX
plotxy.py [command line options]
OPTIONS
-h prints this help message
-f FILE to set file name on command line
-c col1 col2 specify columns to plot
-xsig col3 specify xsigma if desired
-ysig col4 specify xsigma if desired
-b xmin xmax ymin ymax, sets bounds
-sym SYM SIZE specify symbol to plot: default is red dots, 10 pt
-S don't plot the symbols
-xlab XLAB
-ylab YLAB
-l connect symbols with lines
-fmt [svg,png,pdf,eps] specify output format, default is svg
-sav saves plot and quits
-poly X plot a degree X polynomial through the data
-skip n Number of lines to skip before reading in data
"""
fmt,plot='svg',0
col1,col2=0,1
sym,size = 'ro',50
xlab,ylab='',''
lines=0
if '-h' in sys.argv:
print(main.__doc__)
sys.exit()
if '-f' in sys.argv:
ind=sys.argv.index('-f')
file=sys.argv[ind+1]
if '-fmt' in sys.argv:
ind=sys.argv.index('-fmt')
fmt=sys.argv[ind+1]
if '-sav' in sys.argv:plot=1
if '-c' in sys.argv:
ind=sys.argv.index('-c')
col1=int(sys.argv[ind+1])-1
col2=int(sys.argv[ind+2])-1
if '-xsig' in sys.argv:
ind=sys.argv.index('-xsig')
col3=int(sys.argv[ind+1])-1
if '-ysig' in sys.argv:
ind=sys.argv.index('-ysig')
col4=int(sys.argv[ind+1])-1
if '-xlab' in sys.argv:
ind=sys.argv.index('-xlab')
xlab=sys.argv[ind+1]
if '-ylab' in sys.argv:
ind=sys.argv.index('-ylab')
ylab=sys.argv[ind+1]
if '-b' in sys.argv:
ind=sys.argv.index('-b')
xmin=float(sys.argv[ind+1])
xmax=float(sys.argv[ind+2])
ymin=float(sys.argv[ind+3])
ymax=float(sys.argv[ind+4])
if '-poly' in sys.argv:
ind=sys.argv.index('-poly')
degr=sys.argv[ind+1]
if '-sym' in sys.argv:
ind=sys.argv.index('-sym')
sym=sys.argv[ind+1]
size=int(sys.argv[ind+2])
if '-l' in sys.argv: lines=1
if '-S' in sys.argv: sym=''
skip = int(pmag.get_named_arg('-skip', default_val=0))
X,Y=[],[]
Xerrs,Yerrs=[],[]
f=open(file,'r')
for num in range(skip):
f.readline()
data=f.readlines()
for line in data:
line.replace('\n','')
line.replace('\t',' ')
rec=line.split()
X.append(float(rec[col1]))
Y.append(float(rec[col2]))
if '-xsig' in sys.argv:Xerrs.append(float(rec[col3]))
if '-ysig' in sys.argv:Yerrs.append(float(rec[col4]))
if '-poly' in sys.argv:
pylab.plot(xs,ys)
coeffs=numpy.polyfit(X,Y,degr)
correl=numpy.corrcoef(X,Y)**2
polynomial=numpy.poly1d(coeffs)
xs=numpy.linspace(numpy.min(X),numpy.max(X),10)
ys=polynomial(xs)
pylab.plot(xs,ys)
print(polynomial)
if degr=='1': print('R-square value =', '%5.4f'%(correl[0,1]))
if sym!='':
pylab.scatter(X,Y,marker=sym[1],c=sym[0],s=size)
else:
pylab.plot(X,Y)
if '-xsig' in sys.argv and '-ysig' in sys.argv:
pylab.errorbar(X,Y,xerr=Xerrs,yerr=Yerrs,fmt=None)
if '-xsig' in sys.argv and '-ysig' not in sys.argv:
pylab.errorbar(X,Y,xerr=Xerrs,fmt=None)
if '-xsig' not in sys.argv and '-ysig' in sys.argv:
pylab.errorbar(X,Y,yerr=Yerrs,fmt=None)
if xlab!='':pylab.xlabel(xlab)
if ylab!='':pylab.ylabel(ylab)
if lines==1:pylab.plot(X,Y,'k-')
if '-b' in sys.argv:pylab.axis([xmin,xmax,ymin,ymax])
if plot==0:
pylab.show()
else:
pylab.savefig('plotXY.'+fmt)
print('Figure saved as ','plotXY.'+fmt)
sys.exit()
|
python
|
def main():
"""
NAME
plotXY.py
DESCRIPTION
Makes simple X,Y plots
INPUT FORMAT
X,Y data in columns
SYNTAX
plotxy.py [command line options]
OPTIONS
-h prints this help message
-f FILE to set file name on command line
-c col1 col2 specify columns to plot
-xsig col3 specify xsigma if desired
-ysig col4 specify xsigma if desired
-b xmin xmax ymin ymax, sets bounds
-sym SYM SIZE specify symbol to plot: default is red dots, 10 pt
-S don't plot the symbols
-xlab XLAB
-ylab YLAB
-l connect symbols with lines
-fmt [svg,png,pdf,eps] specify output format, default is svg
-sav saves plot and quits
-poly X plot a degree X polynomial through the data
-skip n Number of lines to skip before reading in data
"""
fmt,plot='svg',0
col1,col2=0,1
sym,size = 'ro',50
xlab,ylab='',''
lines=0
if '-h' in sys.argv:
print(main.__doc__)
sys.exit()
if '-f' in sys.argv:
ind=sys.argv.index('-f')
file=sys.argv[ind+1]
if '-fmt' in sys.argv:
ind=sys.argv.index('-fmt')
fmt=sys.argv[ind+1]
if '-sav' in sys.argv:plot=1
if '-c' in sys.argv:
ind=sys.argv.index('-c')
col1=int(sys.argv[ind+1])-1
col2=int(sys.argv[ind+2])-1
if '-xsig' in sys.argv:
ind=sys.argv.index('-xsig')
col3=int(sys.argv[ind+1])-1
if '-ysig' in sys.argv:
ind=sys.argv.index('-ysig')
col4=int(sys.argv[ind+1])-1
if '-xlab' in sys.argv:
ind=sys.argv.index('-xlab')
xlab=sys.argv[ind+1]
if '-ylab' in sys.argv:
ind=sys.argv.index('-ylab')
ylab=sys.argv[ind+1]
if '-b' in sys.argv:
ind=sys.argv.index('-b')
xmin=float(sys.argv[ind+1])
xmax=float(sys.argv[ind+2])
ymin=float(sys.argv[ind+3])
ymax=float(sys.argv[ind+4])
if '-poly' in sys.argv:
ind=sys.argv.index('-poly')
degr=sys.argv[ind+1]
if '-sym' in sys.argv:
ind=sys.argv.index('-sym')
sym=sys.argv[ind+1]
size=int(sys.argv[ind+2])
if '-l' in sys.argv: lines=1
if '-S' in sys.argv: sym=''
skip = int(pmag.get_named_arg('-skip', default_val=0))
X,Y=[],[]
Xerrs,Yerrs=[],[]
f=open(file,'r')
for num in range(skip):
f.readline()
data=f.readlines()
for line in data:
line.replace('\n','')
line.replace('\t',' ')
rec=line.split()
X.append(float(rec[col1]))
Y.append(float(rec[col2]))
if '-xsig' in sys.argv:Xerrs.append(float(rec[col3]))
if '-ysig' in sys.argv:Yerrs.append(float(rec[col4]))
if '-poly' in sys.argv:
pylab.plot(xs,ys)
coeffs=numpy.polyfit(X,Y,degr)
correl=numpy.corrcoef(X,Y)**2
polynomial=numpy.poly1d(coeffs)
xs=numpy.linspace(numpy.min(X),numpy.max(X),10)
ys=polynomial(xs)
pylab.plot(xs,ys)
print(polynomial)
if degr=='1': print('R-square value =', '%5.4f'%(correl[0,1]))
if sym!='':
pylab.scatter(X,Y,marker=sym[1],c=sym[0],s=size)
else:
pylab.plot(X,Y)
if '-xsig' in sys.argv and '-ysig' in sys.argv:
pylab.errorbar(X,Y,xerr=Xerrs,yerr=Yerrs,fmt=None)
if '-xsig' in sys.argv and '-ysig' not in sys.argv:
pylab.errorbar(X,Y,xerr=Xerrs,fmt=None)
if '-xsig' not in sys.argv and '-ysig' in sys.argv:
pylab.errorbar(X,Y,yerr=Yerrs,fmt=None)
if xlab!='':pylab.xlabel(xlab)
if ylab!='':pylab.ylabel(ylab)
if lines==1:pylab.plot(X,Y,'k-')
if '-b' in sys.argv:pylab.axis([xmin,xmax,ymin,ymax])
if plot==0:
pylab.show()
else:
pylab.savefig('plotXY.'+fmt)
print('Figure saved as ','plotXY.'+fmt)
sys.exit()
|
[
"def",
"main",
"(",
")",
":",
"fmt",
",",
"plot",
"=",
"'svg'",
",",
"0",
"col1",
",",
"col2",
"=",
"0",
",",
"1",
"sym",
",",
"size",
"=",
"'ro'",
",",
"50",
"xlab",
",",
"ylab",
"=",
"''",
",",
"''",
"lines",
"=",
"0",
"if",
"'-h'",
"in",
"sys",
".",
"argv",
":",
"print",
"(",
"main",
".",
"__doc__",
")",
"sys",
".",
"exit",
"(",
")",
"if",
"'-f'",
"in",
"sys",
".",
"argv",
":",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"'-f'",
")",
"file",
"=",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
"if",
"'-fmt'",
"in",
"sys",
".",
"argv",
":",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"'-fmt'",
")",
"fmt",
"=",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
"if",
"'-sav'",
"in",
"sys",
".",
"argv",
":",
"plot",
"=",
"1",
"if",
"'-c'",
"in",
"sys",
".",
"argv",
":",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"'-c'",
")",
"col1",
"=",
"int",
"(",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
")",
"-",
"1",
"col2",
"=",
"int",
"(",
"sys",
".",
"argv",
"[",
"ind",
"+",
"2",
"]",
")",
"-",
"1",
"if",
"'-xsig'",
"in",
"sys",
".",
"argv",
":",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"'-xsig'",
")",
"col3",
"=",
"int",
"(",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
")",
"-",
"1",
"if",
"'-ysig'",
"in",
"sys",
".",
"argv",
":",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"'-ysig'",
")",
"col4",
"=",
"int",
"(",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
")",
"-",
"1",
"if",
"'-xlab'",
"in",
"sys",
".",
"argv",
":",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"'-xlab'",
")",
"xlab",
"=",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
"if",
"'-ylab'",
"in",
"sys",
".",
"argv",
":",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"'-ylab'",
")",
"ylab",
"=",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
"if",
"'-b'",
"in",
"sys",
".",
"argv",
":",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"'-b'",
")",
"xmin",
"=",
"float",
"(",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
")",
"xmax",
"=",
"float",
"(",
"sys",
".",
"argv",
"[",
"ind",
"+",
"2",
"]",
")",
"ymin",
"=",
"float",
"(",
"sys",
".",
"argv",
"[",
"ind",
"+",
"3",
"]",
")",
"ymax",
"=",
"float",
"(",
"sys",
".",
"argv",
"[",
"ind",
"+",
"4",
"]",
")",
"if",
"'-poly'",
"in",
"sys",
".",
"argv",
":",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"'-poly'",
")",
"degr",
"=",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
"if",
"'-sym'",
"in",
"sys",
".",
"argv",
":",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"'-sym'",
")",
"sym",
"=",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
"size",
"=",
"int",
"(",
"sys",
".",
"argv",
"[",
"ind",
"+",
"2",
"]",
")",
"if",
"'-l'",
"in",
"sys",
".",
"argv",
":",
"lines",
"=",
"1",
"if",
"'-S'",
"in",
"sys",
".",
"argv",
":",
"sym",
"=",
"''",
"skip",
"=",
"int",
"(",
"pmag",
".",
"get_named_arg",
"(",
"'-skip'",
",",
"default_val",
"=",
"0",
")",
")",
"X",
",",
"Y",
"=",
"[",
"]",
",",
"[",
"]",
"Xerrs",
",",
"Yerrs",
"=",
"[",
"]",
",",
"[",
"]",
"f",
"=",
"open",
"(",
"file",
",",
"'r'",
")",
"for",
"num",
"in",
"range",
"(",
"skip",
")",
":",
"f",
".",
"readline",
"(",
")",
"data",
"=",
"f",
".",
"readlines",
"(",
")",
"for",
"line",
"in",
"data",
":",
"line",
".",
"replace",
"(",
"'\\n'",
",",
"''",
")",
"line",
".",
"replace",
"(",
"'\\t'",
",",
"' '",
")",
"rec",
"=",
"line",
".",
"split",
"(",
")",
"X",
".",
"append",
"(",
"float",
"(",
"rec",
"[",
"col1",
"]",
")",
")",
"Y",
".",
"append",
"(",
"float",
"(",
"rec",
"[",
"col2",
"]",
")",
")",
"if",
"'-xsig'",
"in",
"sys",
".",
"argv",
":",
"Xerrs",
".",
"append",
"(",
"float",
"(",
"rec",
"[",
"col3",
"]",
")",
")",
"if",
"'-ysig'",
"in",
"sys",
".",
"argv",
":",
"Yerrs",
".",
"append",
"(",
"float",
"(",
"rec",
"[",
"col4",
"]",
")",
")",
"if",
"'-poly'",
"in",
"sys",
".",
"argv",
":",
"pylab",
".",
"plot",
"(",
"xs",
",",
"ys",
")",
"coeffs",
"=",
"numpy",
".",
"polyfit",
"(",
"X",
",",
"Y",
",",
"degr",
")",
"correl",
"=",
"numpy",
".",
"corrcoef",
"(",
"X",
",",
"Y",
")",
"**",
"2",
"polynomial",
"=",
"numpy",
".",
"poly1d",
"(",
"coeffs",
")",
"xs",
"=",
"numpy",
".",
"linspace",
"(",
"numpy",
".",
"min",
"(",
"X",
")",
",",
"numpy",
".",
"max",
"(",
"X",
")",
",",
"10",
")",
"ys",
"=",
"polynomial",
"(",
"xs",
")",
"pylab",
".",
"plot",
"(",
"xs",
",",
"ys",
")",
"print",
"(",
"polynomial",
")",
"if",
"degr",
"==",
"'1'",
":",
"print",
"(",
"'R-square value ='",
",",
"'%5.4f'",
"%",
"(",
"correl",
"[",
"0",
",",
"1",
"]",
")",
")",
"if",
"sym",
"!=",
"''",
":",
"pylab",
".",
"scatter",
"(",
"X",
",",
"Y",
",",
"marker",
"=",
"sym",
"[",
"1",
"]",
",",
"c",
"=",
"sym",
"[",
"0",
"]",
",",
"s",
"=",
"size",
")",
"else",
":",
"pylab",
".",
"plot",
"(",
"X",
",",
"Y",
")",
"if",
"'-xsig'",
"in",
"sys",
".",
"argv",
"and",
"'-ysig'",
"in",
"sys",
".",
"argv",
":",
"pylab",
".",
"errorbar",
"(",
"X",
",",
"Y",
",",
"xerr",
"=",
"Xerrs",
",",
"yerr",
"=",
"Yerrs",
",",
"fmt",
"=",
"None",
")",
"if",
"'-xsig'",
"in",
"sys",
".",
"argv",
"and",
"'-ysig'",
"not",
"in",
"sys",
".",
"argv",
":",
"pylab",
".",
"errorbar",
"(",
"X",
",",
"Y",
",",
"xerr",
"=",
"Xerrs",
",",
"fmt",
"=",
"None",
")",
"if",
"'-xsig'",
"not",
"in",
"sys",
".",
"argv",
"and",
"'-ysig'",
"in",
"sys",
".",
"argv",
":",
"pylab",
".",
"errorbar",
"(",
"X",
",",
"Y",
",",
"yerr",
"=",
"Yerrs",
",",
"fmt",
"=",
"None",
")",
"if",
"xlab",
"!=",
"''",
":",
"pylab",
".",
"xlabel",
"(",
"xlab",
")",
"if",
"ylab",
"!=",
"''",
":",
"pylab",
".",
"ylabel",
"(",
"ylab",
")",
"if",
"lines",
"==",
"1",
":",
"pylab",
".",
"plot",
"(",
"X",
",",
"Y",
",",
"'k-'",
")",
"if",
"'-b'",
"in",
"sys",
".",
"argv",
":",
"pylab",
".",
"axis",
"(",
"[",
"xmin",
",",
"xmax",
",",
"ymin",
",",
"ymax",
"]",
")",
"if",
"plot",
"==",
"0",
":",
"pylab",
".",
"show",
"(",
")",
"else",
":",
"pylab",
".",
"savefig",
"(",
"'plotXY.'",
"+",
"fmt",
")",
"print",
"(",
"'Figure saved as '",
",",
"'plotXY.'",
"+",
"fmt",
")",
"sys",
".",
"exit",
"(",
")"
] |
NAME
plotXY.py
DESCRIPTION
Makes simple X,Y plots
INPUT FORMAT
X,Y data in columns
SYNTAX
plotxy.py [command line options]
OPTIONS
-h prints this help message
-f FILE to set file name on command line
-c col1 col2 specify columns to plot
-xsig col3 specify xsigma if desired
-ysig col4 specify xsigma if desired
-b xmin xmax ymin ymax, sets bounds
-sym SYM SIZE specify symbol to plot: default is red dots, 10 pt
-S don't plot the symbols
-xlab XLAB
-ylab YLAB
-l connect symbols with lines
-fmt [svg,png,pdf,eps] specify output format, default is svg
-sav saves plot and quits
-poly X plot a degree X polynomial through the data
-skip n Number of lines to skip before reading in data
|
[
"NAME",
"plotXY",
".",
"py"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/programs/plotxy.py#L14-L135
|
train
|
NAME add_simple_X_Y_to_plotXY_base. py
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8('\060' + chr(0b111 + 0o150) + chr(1220 - 1168) + chr(50), 0b1000), nzTpIcepk0o8('\060' + '\x6f' + chr(49) + chr(414 - 359) + chr(0b11110 + 0o25), 0o10), nzTpIcepk0o8('\x30' + chr(0b1101111) + '\x33' + '\067' + '\x35', 0b1000), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x35' + chr(49), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b110010) + '\066' + chr(53), 0o10), nzTpIcepk0o8('\x30' + chr(0b110100 + 0o73) + '\062' + chr(977 - 926), 0b1000), nzTpIcepk0o8('\x30' + chr(1815 - 1704) + chr(0b110001) + chr(1758 - 1709) + chr(0b110011), 0o10), nzTpIcepk0o8(chr(0b100111 + 0o11) + '\157' + chr(0b110011) + chr(49) + '\x35', ord("\x08")), nzTpIcepk0o8(chr(0b11110 + 0o22) + chr(11688 - 11577) + chr(0b1111 + 0o50) + '\x36', 64434 - 64426), nzTpIcepk0o8(chr(48) + chr(0b1100101 + 0o12) + '\x33', 0b1000), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b11001 + 0o30) + '\063' + chr(50), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(1992 - 1881) + chr(0b110010) + '\065', 0b1000), nzTpIcepk0o8(chr(93 - 45) + chr(0b11100 + 0o123) + '\x32' + chr(2004 - 1955) + chr(406 - 355), 42002 - 41994), nzTpIcepk0o8(chr(0b100010 + 0o16) + '\157' + '\x33' + '\066' + chr(54), 0o10), nzTpIcepk0o8(chr(0b101111 + 0o1) + chr(2399 - 2288) + '\061' + chr(0b100110 + 0o17) + chr(0b110000 + 0o2), 0b1000), nzTpIcepk0o8(chr(1859 - 1811) + chr(111) + chr(49) + chr(2176 - 2126) + chr(55), 0b1000), nzTpIcepk0o8(chr(0b11110 + 0o22) + '\x6f' + chr(0b110010) + '\x37', 0b1000), nzTpIcepk0o8(chr(0b100100 + 0o14) + '\157' + chr(50) + chr(55) + '\062', 0o10), nzTpIcepk0o8('\x30' + '\157' + chr(0b11111 + 0o24) + '\065', 57460 - 57452), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b11 + 0o60) + chr(55) + chr(0b110100), 0o10), nzTpIcepk0o8('\060' + '\157' + '\062' + '\x37' + '\x32', 8), nzTpIcepk0o8('\x30' + chr(0b1100101 + 0o12) + chr(0b110101) + chr(52), 0b1000), nzTpIcepk0o8('\x30' + '\157' + chr(0b110010) + chr(208 - 158) + '\x33', 58863 - 58855), nzTpIcepk0o8(chr(0b110000) + '\157' + '\067' + chr(0b110110), 8), nzTpIcepk0o8('\x30' + '\157' + chr(0b110001) + '\x32' + chr(0b10 + 0o61), 0b1000), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x32' + chr(0b11110 + 0o30) + chr(0b110010 + 0o2), 0b1000), nzTpIcepk0o8(chr(0b111 + 0o51) + '\x6f' + chr(51) + chr(501 - 446) + chr(1499 - 1446), 8), nzTpIcepk0o8(chr(0b110000) + chr(0b1000110 + 0o51) + chr(0b110001 + 0o1) + chr(1568 - 1517) + '\x32', ord("\x08")), nzTpIcepk0o8(chr(48) + chr(10650 - 10539) + chr(1786 - 1737) + chr(55) + chr(53), ord("\x08")), nzTpIcepk0o8(chr(678 - 630) + chr(0b1101111) + chr(0b110001) + chr(2523 - 2470) + chr(54), 11201 - 11193), nzTpIcepk0o8(chr(48) + chr(8519 - 8408) + chr(0b110001) + chr(49) + '\x36', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b1 + 0o61) + chr(2577 - 2526) + chr(0b110110), 0b1000), nzTpIcepk0o8(chr(0b100010 + 0o16) + chr(111) + chr(0b100 + 0o57) + chr(0b1111 + 0o43) + chr(0b110011), 0b1000), nzTpIcepk0o8(chr(959 - 911) + chr(7464 - 7353) + chr(0b11001 + 0o32) + chr(2094 - 2042) + chr(48), 0o10), nzTpIcepk0o8(chr(1415 - 1367) + '\x6f' + '\x33' + chr(0b110101), 8), nzTpIcepk0o8(chr(343 - 295) + chr(0b1101111) + '\x31' + '\065' + '\x35', ord("\x08")), nzTpIcepk0o8(chr(0b100110 + 0o12) + chr(111) + '\x31' + chr(120 - 68) + chr(1274 - 1220), 0o10), nzTpIcepk0o8(chr(48) + '\157' + chr(51) + '\x31' + '\x33', 0b1000), nzTpIcepk0o8(chr(0b100010 + 0o16) + chr(0b1101111) + chr(51) + '\067' + '\x37', 0o10), nzTpIcepk0o8(chr(48) + '\x6f' + chr(51) + chr(0b110001) + chr(0b110101), 8)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(48) + '\157' + chr(0b110101) + '\x30', 0b1000)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\x0c'), chr(100) + chr(101) + chr(99) + chr(111) + '\144' + chr(0b1010010 + 0o23))('\x75' + chr(116) + chr(0b1100110) + '\055' + chr(56)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def BXHXH_QeD6rL():
(JummcHpaNLEw, mocO8sWgkzH7) = (roI3spqORKae(ES5oEprVxulp(b'Q\r\x9a'), chr(6747 - 6647) + '\x65' + '\143' + chr(605 - 494) + chr(7505 - 7405) + chr(0b110010 + 0o63))(chr(0b100111 + 0o116) + chr(0b1001000 + 0o54) + chr(0b1011100 + 0o12) + chr(0b1001 + 0o44) + '\x38'), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(48), ord("\x08")))
(qkhx4CUELyOf, jwW41FaTKKH7) = (nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b1101 + 0o43), 8), nzTpIcepk0o8(chr(48) + chr(111) + chr(0b11110 + 0o23), 0b1000))
(ap75Y_eaMZLk, e1HrJaQHACnl) = (roI3spqORKae(ES5oEprVxulp(b'P\x14'), chr(0b1100100) + '\x65' + chr(0b1001001 + 0o32) + chr(9651 - 9540) + chr(100) + '\x65')(chr(117) + chr(116) + '\x66' + '\055' + '\x38'), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b110110) + chr(160 - 110), ord("\x08")))
(ikxkW8dy4ZA_, v5E0eutotooZ) = (roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(0b1100101) + chr(0b1100011) + chr(10746 - 10635) + chr(100) + chr(6873 - 6772))(chr(0b111110 + 0o67) + chr(0b1101 + 0o147) + '\x66' + chr(45) + '\070'), roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(101) + chr(0b1100011) + '\157' + chr(8587 - 8487) + chr(0b1010010 + 0o23))(chr(0b1110101) + chr(8037 - 7921) + chr(0b1100001 + 0o5) + chr(0b101101) + chr(0b111000)))
vniSnlI09HNg = nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b11110 + 0o22), 8)
if roI3spqORKae(ES5oEprVxulp(b'\x0f\x13'), '\144' + '\145' + chr(0b1011101 + 0o6) + chr(0b1101111) + '\144' + chr(0b1010000 + 0o25))(chr(0b1110101) + chr(0b1110100) + chr(0b1100010 + 0o4) + chr(45) + chr(56)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'C\x11\xb4m\xe2j\x13\x80|biw'), chr(0b111001 + 0o53) + chr(101) + '\x63' + '\x6f' + '\144' + chr(0b1100011 + 0o2))('\165' + '\164' + chr(0b1100110) + chr(0b101101) + chr(0b100010 + 0o26))):
v8jsMqaYV6U2(roI3spqORKae(BXHXH_QeD6rL, roI3spqORKae(ES5oEprVxulp(b'[\x1d\xb8L\xc4B"\x98Qr\rA'), chr(9185 - 9085) + '\145' + '\143' + chr(0b1101111) + chr(0b1001100 + 0o30) + chr(1160 - 1059))(chr(117) + chr(116) + chr(0b1100110) + '\x2d' + chr(0b111000))))
roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'x\x0e\x8fC\xd6F\x07\xfcMp\x1b-'), '\x64' + chr(0b1100101) + chr(0b1110 + 0o125) + chr(0b1101001 + 0o6) + '\144' + '\145')(chr(0b110001 + 0o104) + chr(116) + chr(0b1100110) + chr(0b101101) + chr(1436 - 1380)))()
if roI3spqORKae(ES5oEprVxulp(b'\x0f\x1d'), chr(0b1100100) + chr(0b1100101) + chr(6056 - 5957) + chr(0b1101111) + '\144' + '\x65')('\x75' + chr(12368 - 12252) + chr(102) + chr(45) + chr(1252 - 1196)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'C\x11\xb4m\xe2j\x13\x80|biw'), chr(6310 - 6210) + '\145' + chr(99) + '\157' + chr(1721 - 1621) + '\145')('\165' + chr(9191 - 9075) + chr(2024 - 1922) + chr(0b101101) + chr(0b1 + 0o67))):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\x0f\x1d'), chr(4081 - 3981) + chr(0b1100101) + '\x63' + chr(111) + chr(0b1110 + 0o126) + chr(0b1100101))(chr(10373 - 10256) + chr(0b1000101 + 0o57) + chr(0b1100110) + chr(733 - 688) + '\070'))
GtsVUCYulgYX = bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8(chr(0b110000) + chr(8579 - 8468) + chr(0b10011 + 0o36), 8)]
if roI3spqORKae(ES5oEprVxulp(b'\x0f\x1d\x90]'), '\x64' + chr(101) + chr(0b111 + 0o134) + chr(5777 - 5666) + '\144' + '\145')('\x75' + chr(0b1110100 + 0o0) + chr(9620 - 9518) + chr(0b101101) + chr(56)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'C\x11\xb4m\xe2j\x13\x80|biw'), chr(100) + chr(0b1100101) + chr(0b1100011) + '\157' + '\144' + chr(101))('\165' + chr(0b1101100 + 0o10) + '\x66' + chr(0b101101) + chr(0b10111 + 0o41))):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\x0f\x1d\x90]'), '\x64' + chr(101) + '\x63' + '\157' + chr(0b111001 + 0o53) + chr(0b1001 + 0o134))(chr(117) + '\x74' + chr(102) + '\055' + '\070'))
JummcHpaNLEw = bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8(chr(0b110000) + chr(0b1010101 + 0o32) + '\061', 8)]
if roI3spqORKae(ES5oEprVxulp(b'\x0f\x08\x9c_'), chr(0b1010111 + 0o15) + chr(0b110000 + 0o65) + chr(0b1100011) + chr(5371 - 5260) + chr(5142 - 5042) + chr(0b110110 + 0o57))('\x75' + '\164' + chr(102) + '\x2d' + chr(0b110011 + 0o5)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'C\x11\xb4m\xe2j\x13\x80|biw'), chr(0b1000101 + 0o37) + chr(0b11110 + 0o107) + chr(0b11110 + 0o105) + chr(0b1011011 + 0o24) + chr(8675 - 8575) + '\145')('\165' + chr(11124 - 11008) + chr(0b1100110) + chr(45) + chr(1888 - 1832))):
mocO8sWgkzH7 = nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b100101 + 0o14), 8)
if roI3spqORKae(ES5oEprVxulp(b'\x0f\x18'), chr(7669 - 7569) + chr(101) + '\x63' + '\157' + chr(0b1100100) + '\x65')(chr(0b1110101) + '\x74' + chr(2152 - 2050) + chr(45) + chr(0b111000)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'C\x11\xb4m\xe2j\x13\x80|biw'), '\x64' + chr(7150 - 7049) + '\x63' + '\x6f' + chr(0b110001 + 0o63) + chr(1914 - 1813))(chr(5936 - 5819) + chr(8426 - 8310) + chr(4013 - 3911) + chr(0b101101) + chr(1481 - 1425))):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\x0f\x18'), chr(0b1100100) + chr(101) + '\x63' + chr(0b1101111) + '\144' + '\145')(chr(117) + '\x74' + chr(0b110011 + 0o63) + chr(0b11111 + 0o16) + chr(0b111000)))
qkhx4CUELyOf = nzTpIcepk0o8(bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8('\060' + chr(7125 - 7014) + chr(49), 8)]) - nzTpIcepk0o8(chr(1562 - 1514) + chr(0b1010000 + 0o37) + chr(49), 8)
jwW41FaTKKH7 = nzTpIcepk0o8(bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8(chr(0b100 + 0o54) + '\157' + chr(2148 - 2098), 0o10)]) - nzTpIcepk0o8(chr(969 - 921) + chr(0b1101111) + '\x31', 8)
if roI3spqORKae(ES5oEprVxulp(b'\x0f\x03\x8e@\xd2'), chr(0b110111 + 0o55) + chr(101) + chr(0b1011011 + 0o10) + chr(8143 - 8032) + '\x64' + chr(0b1001110 + 0o27))(chr(0b100110 + 0o117) + chr(0b1001101 + 0o47) + '\146' + '\x2d' + chr(0b10111 + 0o41)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'C\x11\xb4m\xe2j\x13\x80|biw'), chr(0b1100100) + chr(0b111001 + 0o54) + chr(0b1100011) + chr(111) + chr(0b1100100) + '\x65')(chr(0b1110101) + chr(10572 - 10456) + chr(102) + chr(0b10 + 0o53) + '\x38')):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\x0f\x03\x8e@\xd2'), chr(0b1100100) + chr(0b1001110 + 0o27) + chr(0b1100011) + chr(0b1101111) + '\x64' + '\x65')(chr(142 - 25) + chr(11985 - 11869) + chr(0b1100110) + chr(0b101101) + chr(0b100001 + 0o27)))
SgpNG71aP9X7 = nzTpIcepk0o8(bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8(chr(0b1110 + 0o42) + '\157' + chr(49), 8)]) - nzTpIcepk0o8(chr(48) + chr(0b110101 + 0o72) + '\061', 8)
if roI3spqORKae(ES5oEprVxulp(b'\x0f\x02\x8e@\xd2'), chr(0b1100011 + 0o1) + chr(0b1101 + 0o130) + '\x63' + chr(0b1101111) + '\x64' + '\x65')(chr(117) + chr(7960 - 7844) + chr(7971 - 7869) + chr(0b101 + 0o50) + '\x38') in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'C\x11\xb4m\xe2j\x13\x80|biw'), chr(8026 - 7926) + chr(0b1001010 + 0o33) + '\x63' + '\x6f' + chr(100) + chr(0b11001 + 0o114))(chr(0b1100010 + 0o23) + '\164' + '\x66' + chr(0b1110 + 0o37) + '\x38')):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\x0f\x02\x8e@\xd2'), chr(100) + chr(0b1100101) + chr(8107 - 8008) + '\157' + chr(100) + chr(0b1100101))(chr(0b1100100 + 0o21) + '\x74' + '\146' + chr(0b11010 + 0o23) + chr(0b111000)))
mj3Xe5sDyVk4 = nzTpIcepk0o8(bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(1222 - 1173), 8)]) - nzTpIcepk0o8(chr(1547 - 1499) + '\x6f' + chr(353 - 304), 8)
if roI3spqORKae(ES5oEprVxulp(b'\x0f\x03\x91H\xd7'), chr(0b10100 + 0o120) + '\145' + chr(0b10110 + 0o115) + chr(111) + chr(0b11 + 0o141) + chr(101))(chr(7924 - 7807) + chr(0b1110100) + '\x66' + chr(1150 - 1105) + chr(56)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'C\x11\xb4m\xe2j\x13\x80|biw'), chr(0b1100100) + chr(0b1100101) + '\143' + chr(0b1101111) + '\x64' + '\145')('\165' + chr(116) + '\x66' + chr(0b101101) + chr(0b10001 + 0o47))):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\x0f\x03\x91H\xd7'), chr(100) + chr(101) + '\143' + '\x6f' + chr(0b100110 + 0o76) + chr(0b1100101))(chr(3823 - 3706) + '\x74' + chr(0b111111 + 0o47) + '\055' + chr(838 - 782)))
ikxkW8dy4ZA_ = bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8(chr(48) + chr(4629 - 4518) + chr(519 - 470), 8)]
if roI3spqORKae(ES5oEprVxulp(b'\x0f\x02\x91H\xd7'), chr(0b1100100) + chr(0b1110 + 0o127) + chr(797 - 698) + '\x6f' + chr(0b110101 + 0o57) + chr(6193 - 6092))(chr(5052 - 4935) + chr(11169 - 11053) + chr(0b1100110) + '\x2d' + chr(0b111000)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'C\x11\xb4m\xe2j\x13\x80|biw'), chr(0b11000 + 0o114) + '\x65' + '\x63' + chr(10513 - 10402) + '\x64' + chr(0b100111 + 0o76))(chr(0b1110010 + 0o3) + chr(0b111001 + 0o73) + '\x66' + chr(0b11011 + 0o22) + chr(0b111000))):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\x0f\x02\x91H\xd7'), chr(100) + '\145' + '\x63' + chr(111) + '\x64' + chr(0b1100101))(chr(117) + chr(7170 - 7054) + chr(7137 - 7035) + chr(0b10011 + 0o32) + chr(1909 - 1853)))
v5E0eutotooZ = bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8(chr(0b1011 + 0o45) + chr(6961 - 6850) + chr(0b110001), 8)]
if roI3spqORKae(ES5oEprVxulp(b'\x0f\x19'), '\x64' + chr(10141 - 10040) + chr(8787 - 8688) + chr(0b1101111) + '\144' + chr(101))('\x75' + chr(0b10111 + 0o135) + chr(102) + chr(0b101101) + '\x38') in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'C\x11\xb4m\xe2j\x13\x80|biw'), '\x64' + chr(9789 - 9688) + chr(99) + chr(10976 - 10865) + '\x64' + chr(0b1100101))('\165' + '\x74' + '\x66' + chr(531 - 486) + chr(56))):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\x0f\x19'), chr(0b10 + 0o142) + chr(0b110011 + 0o62) + chr(0b1000111 + 0o34) + chr(0b101111 + 0o100) + chr(0b1100100) + '\x65')(chr(117) + chr(116) + chr(2850 - 2748) + '\055' + chr(56)))
xq9Cm2xGJKft = jLW6pRf2DSRk(bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8(chr(343 - 295) + '\x6f' + chr(0b101001 + 0o10), 8)])
itamR4vvwOYz = jLW6pRf2DSRk(bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8(chr(0b10001 + 0o37) + chr(111) + chr(2230 - 2180), 8)])
mCaMyVzpRrSv = jLW6pRf2DSRk(bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8(chr(0b1001 + 0o47) + chr(1398 - 1287) + '\x33', 8)])
QkDkhkOaO1Wm = jLW6pRf2DSRk(bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8(chr(0b110000) + chr(3494 - 3383) + chr(0b11101 + 0o27), 17343 - 17335)])
if roI3spqORKae(ES5oEprVxulp(b'\x0f\x0b\x92E\xcc'), chr(100) + chr(0b1100101) + '\143' + chr(0b1101111) + chr(100) + chr(0b1100101))('\165' + chr(1999 - 1883) + chr(0b1100110) + chr(0b101101) + '\070') in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'C\x11\xb4m\xe2j\x13\x80|biw'), chr(0b1100100) + '\145' + '\143' + chr(0b111101 + 0o62) + chr(2731 - 2631) + '\145')('\x75' + chr(116) + chr(102) + '\x2d' + chr(56))):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\x0f\x0b\x92E\xcc'), chr(100) + '\x65' + '\143' + chr(111) + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + chr(2388 - 2272) + chr(2398 - 2296) + '\055' + '\x38'))
auUjWNdSm3bD = bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8(chr(0b110000) + '\157' + '\061', 8)]
if roI3spqORKae(ES5oEprVxulp(b'\x0f\x08\x84D'), chr(0b1100001 + 0o3) + '\x65' + chr(0b100110 + 0o75) + chr(0b100 + 0o153) + chr(1858 - 1758) + chr(101))('\x75' + chr(0b1110100) + chr(9557 - 9455) + chr(0b10010 + 0o33) + '\x38') in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'C\x11\xb4m\xe2j\x13\x80|biw'), chr(5941 - 5841) + '\145' + chr(0b100110 + 0o75) + chr(0b1000000 + 0o57) + '\144' + chr(6948 - 6847))(chr(0b110100 + 0o101) + chr(116) + '\146' + chr(0b1101 + 0o40) + chr(0b111000))):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\x0f\x08\x84D'), chr(100) + chr(699 - 598) + chr(1092 - 993) + chr(0b1101111) + chr(7228 - 7128) + chr(0b110 + 0o137))('\x75' + chr(0b1110100) + chr(9241 - 9139) + chr(0b101101) + chr(56)))
ap75Y_eaMZLk = bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8('\060' + chr(111) + chr(1727 - 1678), 8)]
e1HrJaQHACnl = nzTpIcepk0o8(bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8('\x30' + '\157' + chr(1165 - 1115), 8)])
if roI3spqORKae(ES5oEprVxulp(b'\x0f\x17'), chr(100) + chr(101) + chr(1079 - 980) + '\157' + chr(0b1011011 + 0o11) + '\x65')(chr(3245 - 3128) + '\164' + '\146' + chr(0b101101) + chr(1391 - 1335)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'C\x11\xb4m\xe2j\x13\x80|biw'), chr(100) + '\145' + '\x63' + '\157' + '\x64' + chr(0b1010010 + 0o23))(chr(117) + chr(10962 - 10846) + chr(5474 - 5372) + '\055' + chr(0b10 + 0o66))):
vniSnlI09HNg = nzTpIcepk0o8(chr(0b110000 + 0o0) + '\x6f' + chr(0b110001), 8)
if roI3spqORKae(ES5oEprVxulp(b'\x0f('), '\144' + '\145' + chr(6662 - 6563) + chr(111) + chr(0b100100 + 0o100) + chr(101))('\x75' + '\164' + '\x66' + '\055' + '\x38') in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'C\x11\xb4m\xe2j\x13\x80|biw'), chr(3029 - 2929) + chr(0b1100101) + '\143' + chr(0b1101111) + chr(1837 - 1737) + chr(0b1100101))(chr(7113 - 6996) + chr(7865 - 7749) + chr(6181 - 6079) + '\x2d' + chr(0b110010 + 0o6))):
ap75Y_eaMZLk = roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(0b1000 + 0o135) + chr(99) + chr(0b1101111) + '\x64' + chr(101))(chr(9358 - 9241) + '\x74' + chr(0b1100110) + chr(0b1100 + 0o41) + chr(916 - 860))
mi8KHiEXG5cT = nzTpIcepk0o8(hUcsWwAd0nE_.get_named_arg(roI3spqORKae(ES5oEprVxulp(b'\x0f\x08\x96@\xc5'), '\144' + chr(9118 - 9017) + chr(4794 - 4695) + '\157' + chr(100) + '\145')('\x75' + '\164' + chr(0b1100110) + chr(411 - 366) + chr(0b10100 + 0o44)), default_val=nzTpIcepk0o8('\x30' + chr(111) + chr(0b110000), 8)))
(mxhyDqTAMpMC, zWIjrOExuyqC) = ([], [])
(sPPZSb51KbeS, RmJHY6_mcwyX) = ([], [])
_R8IKF5IwAfX = DnU3Rq9N5ala(GtsVUCYulgYX, roI3spqORKae(ES5oEprVxulp(b'P'), chr(100) + '\145' + '\x63' + chr(1937 - 1826) + '\x64' + '\145')('\x75' + '\x74' + '\x66' + '\055' + chr(56)))
for o0eINMlvUImY in bbT2xIe5pzk7(mi8KHiEXG5cT):
roI3spqORKae(_R8IKF5IwAfX, roI3spqORKae(ES5oEprVxulp(b'm8\xb1Z\xc1!\x02\xb8tQ\x05^'), chr(1805 - 1705) + chr(3304 - 3203) + chr(0b1100010 + 0o1) + '\x6f' + chr(0b1100100) + chr(5481 - 5380))(chr(0b111 + 0o156) + chr(116) + chr(0b1000111 + 0o37) + chr(45) + chr(0b111000)))()
FfKOThdpoDTb = _R8IKF5IwAfX.TKmlmUjNQ4dY()
for ffiOpFBWGmZU in FfKOThdpoDTb:
roI3spqORKae(ffiOpFBWGmZU, roI3spqORKae(ES5oEprVxulp(b'gB\xccM\xd7b\x04\x97fA*_'), chr(4044 - 3944) + '\x65' + chr(0b100101 + 0o76) + chr(0b1000011 + 0o54) + chr(100) + chr(101))(chr(0b1110101) + chr(0b11111 + 0o125) + '\x66' + '\055' + '\070'))(roI3spqORKae(ES5oEprVxulp(b'('), '\144' + chr(7083 - 6982) + '\143' + '\x6f' + chr(0b110 + 0o136) + chr(0b1100101))(chr(117) + '\x74' + chr(102) + '\x2d' + chr(56)), roI3spqORKae(ES5oEprVxulp(b''), chr(0b11 + 0o141) + '\x65' + '\143' + chr(6779 - 6668) + '\144' + chr(0b100000 + 0o105))(chr(0b100111 + 0o116) + '\164' + chr(4513 - 4411) + '\x2d' + '\x38'))
roI3spqORKae(ffiOpFBWGmZU, roI3spqORKae(ES5oEprVxulp(b'gB\xccM\xd7b\x04\x97fA*_'), chr(100) + chr(0b101001 + 0o74) + chr(99) + chr(9041 - 8930) + '\144' + chr(101))(chr(0b1000101 + 0o60) + chr(5973 - 5857) + chr(102) + chr(0b101101) + '\x38'))(roI3spqORKae(ES5oEprVxulp(b'+'), chr(100) + chr(101) + '\143' + chr(111) + '\x64' + '\145')(chr(117) + chr(140 - 24) + chr(0b1100110) + '\055' + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\x02'), '\144' + chr(1145 - 1044) + chr(0b1100011) + chr(0b1101111) + chr(0b1010101 + 0o17) + chr(101))(chr(0b101001 + 0o114) + chr(0b1110100) + chr(3484 - 3382) + chr(49 - 4) + '\070'))
FKO_XxLfWbYt = ffiOpFBWGmZU.LfRrQOxuDvnC()
roI3spqORKae(mxhyDqTAMpMC, roI3spqORKae(ES5oEprVxulp(b'j/\xae\x1d\xcdt\x0c\xa2Tl\x0f '), chr(0b1100100) + '\x65' + '\143' + chr(111) + chr(100) + chr(101))('\x75' + '\164' + '\146' + '\055' + chr(1433 - 1377)))(jLW6pRf2DSRk(FKO_XxLfWbYt[qkhx4CUELyOf]))
roI3spqORKae(zWIjrOExuyqC, roI3spqORKae(ES5oEprVxulp(b'j/\xae\x1d\xcdt\x0c\xa2Tl\x0f '), '\x64' + chr(0b110101 + 0o60) + '\143' + '\x6f' + chr(100) + '\145')('\x75' + chr(116) + chr(0b1010110 + 0o20) + '\x2d' + chr(0b111000)))(jLW6pRf2DSRk(FKO_XxLfWbYt[jwW41FaTKKH7]))
if roI3spqORKae(ES5oEprVxulp(b'\x0f\x03\x8e@\xd2'), chr(0b1100100) + '\145' + chr(99) + chr(0b1010111 + 0o30) + chr(100) + chr(853 - 752))(chr(13297 - 13180) + chr(116) + '\146' + chr(45) + chr(3107 - 3051)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'C\x11\xb4m\xe2j\x13\x80|biw'), '\144' + chr(0b1111 + 0o126) + chr(99) + chr(0b1101111) + '\144' + chr(0b11 + 0o142))(chr(0b1011110 + 0o27) + chr(0b10001 + 0o143) + '\146' + '\x2d' + '\x38')):
roI3spqORKae(sPPZSb51KbeS, roI3spqORKae(ES5oEprVxulp(b'j/\xae\x1d\xcdt\x0c\xa2Tl\x0f '), chr(1328 - 1228) + chr(0b1100101) + '\x63' + chr(0b1101111 + 0o0) + '\144' + '\145')(chr(6997 - 6880) + chr(116) + chr(102) + chr(0b1100 + 0o41) + '\x38'))(jLW6pRf2DSRk(FKO_XxLfWbYt[SgpNG71aP9X7]))
if roI3spqORKae(ES5oEprVxulp(b'\x0f\x02\x8e@\xd2'), chr(0b1 + 0o143) + chr(8563 - 8462) + chr(8844 - 8745) + '\157' + chr(0b1100100) + '\145')('\x75' + chr(116) + '\x66' + chr(0b11111 + 0o16) + chr(56)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'C\x11\xb4m\xe2j\x13\x80|biw'), '\x64' + chr(6774 - 6673) + chr(0b1001100 + 0o27) + chr(0b1101111) + '\144' + chr(0b1100101))(chr(0b11100 + 0o131) + chr(0b100101 + 0o117) + '\146' + chr(45) + chr(56))):
roI3spqORKae(RmJHY6_mcwyX, roI3spqORKae(ES5oEprVxulp(b'j/\xae\x1d\xcdt\x0c\xa2Tl\x0f '), '\144' + chr(0b1100101) + chr(0b1100011) + chr(0b11011 + 0o124) + '\x64' + chr(2852 - 2751))(chr(0b1001110 + 0o47) + '\164' + chr(0b110010 + 0o64) + chr(45) + '\x38'))(jLW6pRf2DSRk(FKO_XxLfWbYt[mj3Xe5sDyVk4]))
if roI3spqORKae(ES5oEprVxulp(b'\x0f\x0b\x92E\xcc'), chr(0b10000 + 0o124) + chr(0b1100101) + chr(99) + '\x6f' + '\144' + '\145')('\165' + chr(1375 - 1259) + '\146' + chr(0b1001 + 0o44) + chr(0b111000)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'C\x11\xb4m\xe2j\x13\x80|biw'), chr(488 - 388) + '\145' + chr(99) + '\x6f' + '\144' + '\x65')(chr(0b1110101) + chr(0b1001010 + 0o52) + chr(102) + chr(890 - 845) + '\x38')):
roI3spqORKae(s895axJpHMpz, roI3spqORKae(ES5oEprVxulp(b'R\x17\x92]'), '\x64' + '\x65' + '\143' + chr(8684 - 8573) + chr(100) + chr(0b1100101))('\x75' + chr(116) + chr(7529 - 7427) + chr(0b101101) + chr(0b11001 + 0o37)))(hyJ0JzFCbHEy, pqGkQyQ4cxJw)
YXJdO8mZ2gbg = L6YB9g87uxKh.polyfit(mxhyDqTAMpMC, zWIjrOExuyqC, auUjWNdSm3bD)
T9HBffHRuLmG = L6YB9g87uxKh.corrcoef(mxhyDqTAMpMC, zWIjrOExuyqC) ** nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b110010), 8)
haJ9jj6sArKj = L6YB9g87uxKh.poly1d(YXJdO8mZ2gbg)
hyJ0JzFCbHEy = L6YB9g87uxKh.G2CdtdchVPQE(L6YB9g87uxKh.XURpmPuEWCNF(mxhyDqTAMpMC), L6YB9g87uxKh.KV9ckIhroIia(mxhyDqTAMpMC), nzTpIcepk0o8(chr(0b11110 + 0o22) + chr(0b111011 + 0o64) + chr(358 - 309) + chr(0b110010), 48633 - 48625))
pqGkQyQ4cxJw = haJ9jj6sArKj(hyJ0JzFCbHEy)
roI3spqORKae(s895axJpHMpz, roI3spqORKae(ES5oEprVxulp(b'R\x17\x92]'), chr(9054 - 8954) + '\145' + '\143' + chr(0b1101111) + chr(0b1100100) + chr(101))(chr(117) + chr(9667 - 9551) + '\146' + '\x2d' + chr(2144 - 2088)))(hyJ0JzFCbHEy, pqGkQyQ4cxJw)
v8jsMqaYV6U2(haJ9jj6sArKj)
if auUjWNdSm3bD == roI3spqORKae(ES5oEprVxulp(b'\x13'), chr(0b1000100 + 0o40) + chr(0b100110 + 0o77) + chr(0b1001000 + 0o33) + chr(3781 - 3670) + '\x64' + chr(0b1100101))('\165' + '\164' + '\146' + chr(0b10110 + 0o27) + chr(0b1011 + 0o55)):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'pV\x8eX\xc0r9\xa8\x1eu;y\xfe\x93Jj'), chr(0b1001001 + 0o33) + chr(9759 - 9658) + chr(0b1100011) + chr(7682 - 7571) + chr(100) + chr(0b1100101))('\x75' + chr(2428 - 2312) + '\146' + chr(0b101101) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\x07N\xd3\x1d\xd3'), chr(2950 - 2850) + chr(8383 - 8282) + chr(7604 - 7505) + chr(0b1101111) + chr(0b1100100) + '\145')(chr(4219 - 4102) + '\x74' + chr(102) + chr(816 - 771) + '\070') % T9HBffHRuLmG[nzTpIcepk0o8(chr(77 - 29) + '\x6f' + chr(651 - 603), 8), nzTpIcepk0o8(chr(0b110000) + chr(7445 - 7334) + chr(608 - 559), 8)])
if ap75Y_eaMZLk != roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(0b1100101) + '\x63' + chr(0b111111 + 0o60) + chr(0b1000010 + 0o42) + '\145')(chr(0b1110101) + chr(2510 - 2394) + '\x66' + chr(0b0 + 0o55) + chr(0b111000)):
roI3spqORKae(s895axJpHMpz, roI3spqORKae(ES5oEprVxulp(b'x3\xcd@\xcd!-\xa0jt2t'), '\144' + '\145' + '\143' + chr(0b101110 + 0o101) + chr(0b1001011 + 0o31) + '\x65')(chr(117) + chr(0b1110100) + chr(588 - 486) + chr(0b101101) + '\070'))(mxhyDqTAMpMC, zWIjrOExuyqC, marker=ap75Y_eaMZLk[nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(49), 8)], c=ap75Y_eaMZLk[nzTpIcepk0o8(chr(766 - 718) + '\x6f' + '\x30', 8)], s=e1HrJaQHACnl)
else:
roI3spqORKae(s895axJpHMpz, roI3spqORKae(ES5oEprVxulp(b'R\x17\x92]'), chr(100) + chr(5195 - 5094) + '\x63' + '\x6f' + chr(6709 - 6609) + chr(9962 - 9861))(chr(1091 - 974) + chr(116) + chr(789 - 687) + chr(1126 - 1081) + chr(1937 - 1881)))(mxhyDqTAMpMC, zWIjrOExuyqC)
if roI3spqORKae(ES5oEprVxulp(b'\x0f\x03\x8e@\xd2'), '\x64' + chr(101) + chr(0b1100011) + chr(0b1101111) + chr(4743 - 4643) + '\x65')(chr(117) + chr(0b1110100) + chr(0b11010 + 0o114) + '\x2d' + chr(0b111000)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'C\x11\xb4m\xe2j\x13\x80|biw'), chr(100) + chr(101) + chr(2128 - 2029) + chr(0b1101111) + '\x64' + '\x65')(chr(117) + chr(0b1011011 + 0o31) + chr(0b1100110) + chr(558 - 513) + chr(0b111000))) and roI3spqORKae(ES5oEprVxulp(b'\x0f\x02\x8e@\xd2'), chr(0b1100100) + chr(1918 - 1817) + '\x63' + chr(0b10010 + 0o135) + chr(100) + '\x65')(chr(0b11 + 0o162) + chr(116) + '\x66' + '\055' + '\070') in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'C\x11\xb4m\xe2j\x13\x80|biw'), chr(0b1100100) + chr(0b100011 + 0o102) + chr(0b110001 + 0o62) + chr(0b1000011 + 0o54) + chr(100) + chr(2322 - 2221))('\165' + chr(116) + chr(3796 - 3694) + '\x2d' + '\x38')):
roI3spqORKae(s895axJpHMpz, roI3spqORKae(ES5oEprVxulp(b'G\t\x8fF\xc7q*\xbf'), '\x64' + chr(101) + chr(99) + chr(0b1101111) + '\x64' + chr(0b1100101))('\165' + chr(116) + chr(1103 - 1001) + '\055' + chr(56)))(mxhyDqTAMpMC, zWIjrOExuyqC, xerr=sPPZSb51KbeS, yerr=RmJHY6_mcwyX, fmt=None)
if roI3spqORKae(ES5oEprVxulp(b'\x0f\x03\x8e@\xd2'), chr(0b10010 + 0o122) + chr(0b1100101) + chr(0b111011 + 0o50) + '\x6f' + chr(0b1001110 + 0o26) + chr(0b1001101 + 0o30))(chr(3144 - 3027) + chr(11719 - 11603) + '\x66' + chr(0b101101) + '\070') in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'C\x11\xb4m\xe2j\x13\x80|biw'), '\144' + '\x65' + chr(99) + '\157' + chr(100) + '\145')(chr(117) + chr(116) + '\x66' + chr(614 - 569) + chr(0b110010 + 0o6))) and roI3spqORKae(ES5oEprVxulp(b'\x0f\x02\x8e@\xd2'), chr(9242 - 9142) + chr(0b1011000 + 0o15) + chr(0b1100011) + chr(0b1101111) + chr(0b1100100 + 0o0) + '\145')(chr(0b111010 + 0o73) + chr(0b1110100) + chr(2363 - 2261) + chr(0b101101) + chr(0b110001 + 0o7)) not in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'C\x11\xb4m\xe2j\x13\x80|biw'), chr(0b1100100) + chr(101) + chr(0b1011100 + 0o7) + '\x6f' + '\144' + chr(8151 - 8050))(chr(117) + chr(8438 - 8322) + chr(0b1100110) + '\055' + chr(2964 - 2908))):
roI3spqORKae(s895axJpHMpz, roI3spqORKae(ES5oEprVxulp(b'G\t\x8fF\xc7q*\xbf'), '\144' + '\145' + chr(0b1100011) + '\157' + chr(7045 - 6945) + chr(9206 - 9105))('\165' + '\x74' + '\146' + chr(1511 - 1466) + '\070'))(mxhyDqTAMpMC, zWIjrOExuyqC, xerr=sPPZSb51KbeS, fmt=None)
if roI3spqORKae(ES5oEprVxulp(b'\x0f\x03\x8e@\xd2'), '\x64' + '\x65' + '\143' + chr(0b1100101 + 0o12) + chr(0b110000 + 0o64) + chr(503 - 402))(chr(0b1101001 + 0o14) + chr(0b1110100) + '\x66' + chr(0b101 + 0o50) + chr(56)) not in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'C\x11\xb4m\xe2j\x13\x80|biw'), chr(0b110110 + 0o56) + '\145' + chr(99) + '\157' + chr(0b110011 + 0o61) + '\x65')('\165' + '\x74' + chr(102) + '\x2d' + chr(1754 - 1698))) and roI3spqORKae(ES5oEprVxulp(b'\x0f\x02\x8e@\xd2'), chr(0b1100011 + 0o1) + chr(0b1000011 + 0o42) + chr(1018 - 919) + '\157' + chr(1927 - 1827) + chr(0b1100101))('\x75' + chr(13087 - 12971) + chr(0b1100010 + 0o4) + chr(735 - 690) + chr(56)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'C\x11\xb4m\xe2j\x13\x80|biw'), '\x64' + chr(101) + chr(0b1100011) + '\x6f' + chr(0b1000110 + 0o36) + chr(0b1100100 + 0o1))(chr(0b1101 + 0o150) + chr(0b1110100) + chr(102) + '\x2d' + '\x38')):
roI3spqORKae(s895axJpHMpz, roI3spqORKae(ES5oEprVxulp(b'G\t\x8fF\xc7q*\xbf'), '\144' + chr(3658 - 3557) + chr(99) + chr(111) + chr(0b10 + 0o142) + chr(9488 - 9387))(chr(117) + '\164' + chr(0b1100110) + chr(1631 - 1586) + chr(56)))(mxhyDqTAMpMC, zWIjrOExuyqC, yerr=RmJHY6_mcwyX, fmt=None)
if ikxkW8dy4ZA_ != roI3spqORKae(ES5oEprVxulp(b''), chr(100) + '\145' + chr(0b1100011) + '\x6f' + chr(0b1000000 + 0o44) + chr(363 - 262))(chr(0b1110101) + '\164' + chr(102) + chr(0b101101) + chr(56)):
roI3spqORKae(s895axJpHMpz, roI3spqORKae(ES5oEprVxulp(b'Z\x17\x9cK\xd0\x7f'), chr(0b10 + 0o142) + '\145' + '\x63' + chr(3865 - 3754) + '\144' + chr(0b110011 + 0o62))(chr(117) + '\x74' + chr(102) + chr(45) + chr(0b111000)))(ikxkW8dy4ZA_)
if v5E0eutotooZ != roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(101) + chr(99) + '\x6f' + '\144' + chr(101))(chr(117) + chr(116) + '\146' + '\055' + chr(56)):
roI3spqORKae(s895axJpHMpz, roI3spqORKae(ES5oEprVxulp(b'[\x17\x9cK\xd0\x7f'), chr(0b1100 + 0o130) + '\x65' + '\143' + chr(0b1101111) + chr(100) + '\x65')(chr(2331 - 2214) + chr(291 - 175) + chr(2473 - 2371) + chr(0b10110 + 0o27) + chr(0b111000)))(v5E0eutotooZ)
if vniSnlI09HNg == nzTpIcepk0o8(chr(48) + '\x6f' + '\x31', 8):
roI3spqORKae(s895axJpHMpz, roI3spqORKae(ES5oEprVxulp(b'R\x17\x92]'), '\144' + '\145' + '\x63' + chr(0b1101111) + chr(0b1100100) + chr(163 - 62))(chr(0b1011111 + 0o26) + '\164' + chr(0b1100110) + '\055' + chr(1221 - 1165)))(mxhyDqTAMpMC, zWIjrOExuyqC, roI3spqORKae(ES5oEprVxulp(b'IV'), '\144' + chr(3775 - 3674) + '\x63' + '\x6f' + '\x64' + chr(0b1100101))('\165' + '\164' + chr(102) + chr(0b101101) + chr(0b111000)))
if roI3spqORKae(ES5oEprVxulp(b'\x0f\x19'), chr(0b100001 + 0o103) + chr(0b10000 + 0o125) + chr(0b1100011 + 0o0) + '\157' + chr(100) + chr(101))('\165' + '\164' + chr(0b1100110) + chr(0b101000 + 0o5) + chr(0b10101 + 0o43)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'C\x11\xb4m\xe2j\x13\x80|biw'), chr(9448 - 9348) + chr(7521 - 7420) + chr(0b100111 + 0o74) + '\x6f' + '\x64' + chr(0b11110 + 0o107))(chr(0b1110101) + '\164' + '\146' + chr(0b101101) + chr(376 - 320))):
roI3spqORKae(s895axJpHMpz, roI3spqORKae(ES5oEprVxulp(b'h?\xc4\x19\x87c=\xb4}O\x12$'), chr(1369 - 1269) + '\145' + chr(0b111111 + 0o44) + '\x6f' + chr(100) + chr(101))(chr(0b1110101) + chr(0b1110100) + chr(0b111001 + 0o55) + chr(45) + '\x38'))([xq9Cm2xGJKft, itamR4vvwOYz, mCaMyVzpRrSv, QkDkhkOaO1Wm])
if mocO8sWgkzH7 == nzTpIcepk0o8(chr(988 - 940) + '\157' + chr(1598 - 1550), 8):
roI3spqORKae(s895axJpHMpz, roI3spqORKae(ES5oEprVxulp(b'D,\xb8D\xd0[\x1c\xb9a\\\x16o'), chr(0b1100100) + chr(8221 - 8120) + chr(8141 - 8042) + '\x6f' + chr(100) + chr(2466 - 2365))(chr(5130 - 5013) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(56)))()
else:
roI3spqORKae(s895axJpHMpz, roI3spqORKae(ES5oEprVxulp(b'Q\x1a\x8bL\xd3z,'), chr(0b1100100) + chr(880 - 779) + chr(99) + chr(7036 - 6925) + chr(0b100000 + 0o104) + chr(0b110 + 0o137))('\165' + '\164' + '\x66' + '\x2d' + '\x38'))(roI3spqORKae(ES5oEprVxulp(b'R\x17\x92]\xedJe'), chr(0b101101 + 0o67) + '\x65' + '\143' + '\157' + chr(100) + '\x65')('\165' + chr(11409 - 11293) + '\x66' + chr(0b101000 + 0o5) + chr(0b111000)) + JummcHpaNLEw)
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'd\x12\x9a\\\xc7vk\xbe_u?q\xab\x97\x19w'), '\x64' + chr(0b100001 + 0o104) + chr(0b100001 + 0o102) + '\x6f' + chr(2956 - 2856) + '\145')('\x75' + chr(0b1001100 + 0o50) + chr(102) + '\x2d' + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'R\x17\x92]\xedJe'), chr(100) + chr(223 - 122) + '\x63' + '\157' + chr(0b111101 + 0o47) + chr(101))(chr(0b1111 + 0o146) + chr(0b1110100) + '\x66' + '\055' + chr(0b10110 + 0o42)) + JummcHpaNLEw)
roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'x\x0e\x8fC\xd6F\x07\xfcMp\x1b-'), chr(100) + '\145' + chr(99) + chr(0b1000111 + 0o50) + '\144' + chr(6295 - 6194))(chr(0b110100 + 0o101) + chr(8605 - 8489) + '\x66' + '\055' + chr(56)))()
|
PmagPy/PmagPy
|
programs/sort_specimens.py
|
main
|
def main():
"""
NAME
sort_specimens.py
DESCRIPTION
Reads in a pmag_specimen formatted file and separates it into different components (A,B...etc.)
SYNTAX
sort_specimens.py [-h] [command line options]
INPUT
takes pmag_specimens.txt formatted input file
OPTIONS
-h: prints help message and quits
-f FILE: specify input file, default is 'pmag_specimens.txt'
OUTPUT
makes pmag_specimen formatted files with input filename plus _X_Y
where X is the component name and Y is s,g,t for coordinate system
"""
dir_path='.'
inspec="pmag_specimens.txt"
if '-WD' in sys.argv:
ind=sys.argv.index('-WD')
dir_path=sys.argv[ind+1]
if '-h' in sys.argv:
print(main.__doc__)
sys.exit()
if '-f' in sys.argv:
ind=sys.argv.index('-f')
inspec=sys.argv[ind+1]
basename=inspec.split('.')[:-1]
inspec=dir_path+"/"+inspec
ofile_base=dir_path+"/"+basename[0]
#
# read in data
#
prior_spec_data,file_type=pmag.magic_read(inspec)
if file_type != 'pmag_specimens':
print(file_type, " this is not a valid pmag_specimens file")
sys.exit()
# get list of specimens in file, components, coordinate systems available
specs,comps,coords=[],[],[]
for spec in prior_spec_data:
if spec['er_specimen_name'] not in specs:specs.append(spec['er_specimen_name'])
if 'specimen_comp_name' not in list(spec.keys()):spec['specimen_comp_name']='A'
if 'specimen_tilt_correction' not in list(spec.keys()):spec['tilt_correction']='-1' # assume specimen coordinates
if spec['specimen_comp_name'] not in comps:comps.append(spec['specimen_comp_name'])
if spec['specimen_tilt_correction'] not in coords:coords.append(spec['specimen_tilt_correction'])
# work on separating out components, coordinate systems by specimen
for coord in coords:
print(coord)
for comp in comps:
print(comp)
speclist=[]
for spec in prior_spec_data:
if spec['specimen_tilt_correction']==coord and spec['specimen_comp_name']==comp:speclist.append(spec)
ofile=ofile_base+'_'+coord+'_'+comp+'.txt'
pmag.magic_write(ofile,speclist,'pmag_specimens')
print('coordinate system: ',coord,' component name: ',comp,' saved in ',ofile)
|
python
|
def main():
"""
NAME
sort_specimens.py
DESCRIPTION
Reads in a pmag_specimen formatted file and separates it into different components (A,B...etc.)
SYNTAX
sort_specimens.py [-h] [command line options]
INPUT
takes pmag_specimens.txt formatted input file
OPTIONS
-h: prints help message and quits
-f FILE: specify input file, default is 'pmag_specimens.txt'
OUTPUT
makes pmag_specimen formatted files with input filename plus _X_Y
where X is the component name and Y is s,g,t for coordinate system
"""
dir_path='.'
inspec="pmag_specimens.txt"
if '-WD' in sys.argv:
ind=sys.argv.index('-WD')
dir_path=sys.argv[ind+1]
if '-h' in sys.argv:
print(main.__doc__)
sys.exit()
if '-f' in sys.argv:
ind=sys.argv.index('-f')
inspec=sys.argv[ind+1]
basename=inspec.split('.')[:-1]
inspec=dir_path+"/"+inspec
ofile_base=dir_path+"/"+basename[0]
#
# read in data
#
prior_spec_data,file_type=pmag.magic_read(inspec)
if file_type != 'pmag_specimens':
print(file_type, " this is not a valid pmag_specimens file")
sys.exit()
# get list of specimens in file, components, coordinate systems available
specs,comps,coords=[],[],[]
for spec in prior_spec_data:
if spec['er_specimen_name'] not in specs:specs.append(spec['er_specimen_name'])
if 'specimen_comp_name' not in list(spec.keys()):spec['specimen_comp_name']='A'
if 'specimen_tilt_correction' not in list(spec.keys()):spec['tilt_correction']='-1' # assume specimen coordinates
if spec['specimen_comp_name'] not in comps:comps.append(spec['specimen_comp_name'])
if spec['specimen_tilt_correction'] not in coords:coords.append(spec['specimen_tilt_correction'])
# work on separating out components, coordinate systems by specimen
for coord in coords:
print(coord)
for comp in comps:
print(comp)
speclist=[]
for spec in prior_spec_data:
if spec['specimen_tilt_correction']==coord and spec['specimen_comp_name']==comp:speclist.append(spec)
ofile=ofile_base+'_'+coord+'_'+comp+'.txt'
pmag.magic_write(ofile,speclist,'pmag_specimens')
print('coordinate system: ',coord,' component name: ',comp,' saved in ',ofile)
|
[
"def",
"main",
"(",
")",
":",
"dir_path",
"=",
"'.'",
"inspec",
"=",
"\"pmag_specimens.txt\"",
"if",
"'-WD'",
"in",
"sys",
".",
"argv",
":",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"'-WD'",
")",
"dir_path",
"=",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
"if",
"'-h'",
"in",
"sys",
".",
"argv",
":",
"print",
"(",
"main",
".",
"__doc__",
")",
"sys",
".",
"exit",
"(",
")",
"if",
"'-f'",
"in",
"sys",
".",
"argv",
":",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"'-f'",
")",
"inspec",
"=",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
"basename",
"=",
"inspec",
".",
"split",
"(",
"'.'",
")",
"[",
":",
"-",
"1",
"]",
"inspec",
"=",
"dir_path",
"+",
"\"/\"",
"+",
"inspec",
"ofile_base",
"=",
"dir_path",
"+",
"\"/\"",
"+",
"basename",
"[",
"0",
"]",
"#",
"# read in data",
"#",
"prior_spec_data",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"inspec",
")",
"if",
"file_type",
"!=",
"'pmag_specimens'",
":",
"print",
"(",
"file_type",
",",
"\" this is not a valid pmag_specimens file\"",
")",
"sys",
".",
"exit",
"(",
")",
"# get list of specimens in file, components, coordinate systems available",
"specs",
",",
"comps",
",",
"coords",
"=",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
"for",
"spec",
"in",
"prior_spec_data",
":",
"if",
"spec",
"[",
"'er_specimen_name'",
"]",
"not",
"in",
"specs",
":",
"specs",
".",
"append",
"(",
"spec",
"[",
"'er_specimen_name'",
"]",
")",
"if",
"'specimen_comp_name'",
"not",
"in",
"list",
"(",
"spec",
".",
"keys",
"(",
")",
")",
":",
"spec",
"[",
"'specimen_comp_name'",
"]",
"=",
"'A'",
"if",
"'specimen_tilt_correction'",
"not",
"in",
"list",
"(",
"spec",
".",
"keys",
"(",
")",
")",
":",
"spec",
"[",
"'tilt_correction'",
"]",
"=",
"'-1'",
"# assume specimen coordinates",
"if",
"spec",
"[",
"'specimen_comp_name'",
"]",
"not",
"in",
"comps",
":",
"comps",
".",
"append",
"(",
"spec",
"[",
"'specimen_comp_name'",
"]",
")",
"if",
"spec",
"[",
"'specimen_tilt_correction'",
"]",
"not",
"in",
"coords",
":",
"coords",
".",
"append",
"(",
"spec",
"[",
"'specimen_tilt_correction'",
"]",
")",
"# work on separating out components, coordinate systems by specimen",
"for",
"coord",
"in",
"coords",
":",
"print",
"(",
"coord",
")",
"for",
"comp",
"in",
"comps",
":",
"print",
"(",
"comp",
")",
"speclist",
"=",
"[",
"]",
"for",
"spec",
"in",
"prior_spec_data",
":",
"if",
"spec",
"[",
"'specimen_tilt_correction'",
"]",
"==",
"coord",
"and",
"spec",
"[",
"'specimen_comp_name'",
"]",
"==",
"comp",
":",
"speclist",
".",
"append",
"(",
"spec",
")",
"ofile",
"=",
"ofile_base",
"+",
"'_'",
"+",
"coord",
"+",
"'_'",
"+",
"comp",
"+",
"'.txt'",
"pmag",
".",
"magic_write",
"(",
"ofile",
",",
"speclist",
",",
"'pmag_specimens'",
")",
"print",
"(",
"'coordinate system: '",
",",
"coord",
",",
"' component name: '",
",",
"comp",
",",
"' saved in '",
",",
"ofile",
")"
] |
NAME
sort_specimens.py
DESCRIPTION
Reads in a pmag_specimen formatted file and separates it into different components (A,B...etc.)
SYNTAX
sort_specimens.py [-h] [command line options]
INPUT
takes pmag_specimens.txt formatted input file
OPTIONS
-h: prints help message and quits
-f FILE: specify input file, default is 'pmag_specimens.txt'
OUTPUT
makes pmag_specimen formatted files with input filename plus _X_Y
where X is the component name and Y is s,g,t for coordinate system
|
[
"NAME",
"sort_specimens",
".",
"py"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/programs/sort_specimens.py#L6-L67
|
train
|
NAME sort_specimens. py DESCRIPTION Reads in a pmag_specimen formatted file and separates it into different components and coordinate systems
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(0b101100 + 0o4) + '\x6f' + chr(51) + chr(1511 - 1463) + chr(0b1100 + 0o47), 38086 - 38078), nzTpIcepk0o8(chr(0b101 + 0o53) + '\157' + chr(50) + chr(0b110001) + chr(0b110110 + 0o1), 0b1000), nzTpIcepk0o8(chr(48) + chr(0b10 + 0o155) + chr(0b110001) + chr(53), 19987 - 19979), nzTpIcepk0o8(chr(48) + chr(0b10010 + 0o135) + chr(297 - 246) + '\064' + chr(0b110111), 0o10), nzTpIcepk0o8(chr(0b1011 + 0o45) + '\157' + chr(0b10010 + 0o40) + chr(1359 - 1306) + chr(776 - 725), 0b1000), nzTpIcepk0o8(chr(0b10100 + 0o34) + chr(8084 - 7973) + chr(411 - 362) + '\062' + chr(54), 0o10), nzTpIcepk0o8(chr(0b11 + 0o55) + chr(5680 - 5569) + '\x32' + chr(0b110010) + chr(0b101001 + 0o14), ord("\x08")), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b1010 + 0o50) + '\x32' + chr(0b11001 + 0o33), 34542 - 34534), nzTpIcepk0o8(chr(48) + '\157' + '\063' + '\x37' + '\x32', 0b1000), nzTpIcepk0o8(chr(48) + chr(12163 - 12052) + '\x33' + chr(50) + chr(0b110111), 33657 - 33649), nzTpIcepk0o8(chr(48) + chr(0b110001 + 0o76) + chr(50) + chr(0b110011 + 0o1) + chr(449 - 394), 21436 - 21428), nzTpIcepk0o8(chr(0b110000) + '\157' + '\x33' + chr(0b11001 + 0o31) + chr(0b110111), 8), nzTpIcepk0o8('\060' + chr(111) + '\062' + '\x33' + chr(0b110000), 0o10), nzTpIcepk0o8('\x30' + chr(0b1101111) + '\x32' + '\x32' + chr(0b101100 + 0o6), 0b1000), nzTpIcepk0o8('\060' + chr(111) + '\063' + '\x31' + '\x37', 0o10), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(2912 - 2857) + chr(0b1011 + 0o45), 0o10), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(51) + chr(1806 - 1752) + chr(2741 - 2687), 0o10), nzTpIcepk0o8(chr(48) + chr(11547 - 11436) + '\063' + chr(0b110010) + '\067', 8), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(50) + chr(0b100101 + 0o13) + chr(0b100100 + 0o21), 2147 - 2139), nzTpIcepk0o8('\x30' + chr(10836 - 10725) + '\x33' + chr(0b110010) + chr(0b110001), 0o10), nzTpIcepk0o8('\060' + '\x6f' + '\x36' + '\063', 15926 - 15918), nzTpIcepk0o8(chr(48) + chr(0b1011111 + 0o20) + chr(0b0 + 0o61) + chr(0b110000), 0o10), nzTpIcepk0o8(chr(0b101101 + 0o3) + '\x6f' + '\x33' + '\063' + '\065', 0o10), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(644 - 594) + chr(0b101111 + 0o4) + chr(50), 0b1000), nzTpIcepk0o8(chr(155 - 107) + '\x6f' + '\062' + chr(731 - 677) + '\x36', 0o10), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110011) + chr(2439 - 2387) + chr(2162 - 2107), 8), nzTpIcepk0o8('\060' + chr(0b1101111) + '\x33' + chr(2372 - 2319) + chr(0b110111), 0o10), nzTpIcepk0o8('\x30' + '\x6f' + chr(687 - 638) + chr(0b110111) + chr(0b101111 + 0o1), 3635 - 3627), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(51) + chr(0b110110) + chr(53), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(50) + chr(48) + chr(0b101 + 0o54), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(2214 - 2164) + chr(0b110000 + 0o3) + chr(842 - 787), 0o10), nzTpIcepk0o8(chr(48) + '\157' + chr(0b1000 + 0o51) + chr(0b110001) + '\x37', ord("\x08")), nzTpIcepk0o8('\060' + chr(2377 - 2266) + '\064' + '\x32', 0o10), nzTpIcepk0o8('\x30' + chr(10104 - 9993) + chr(49) + chr(0b101000 + 0o10) + chr(1034 - 984), 0b1000), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110001) + chr(0b101011 + 0o10) + chr(0b101000 + 0o13), 6420 - 6412), nzTpIcepk0o8('\x30' + '\157' + chr(0b1010 + 0o50) + chr(66 - 13) + chr(2672 - 2619), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b1011 + 0o50) + chr(0b11111 + 0o30) + chr(0b110011 + 0o1), 0b1000), nzTpIcepk0o8('\060' + chr(111) + '\x33' + chr(0b110011), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\x33' + chr(51) + '\064', 0o10), nzTpIcepk0o8('\060' + chr(0b1100000 + 0o17) + chr(848 - 797) + chr(49) + chr(0b110001), ord("\x08"))][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(0b0 + 0o60) + chr(0b1101111) + chr(2681 - 2628) + '\060', ord("\x08"))] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xed'), '\144' + '\x65' + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(0b11100 + 0o111))(chr(117) + '\164' + chr(102) + chr(0b10000 + 0o35) + '\x38') + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def BXHXH_QeD6rL():
qjksZ7GK0xkJ = roI3spqORKae(ES5oEprVxulp(b'\xed'), '\x64' + chr(0b111001 + 0o54) + chr(0b1100011) + chr(0b1010001 + 0o36) + '\144' + chr(101))('\165' + '\x74' + chr(102) + chr(0b101101) + '\070')
XG2BdJwYSWVZ = roI3spqORKae(ES5oEprVxulp(b'\xb3\xe2l\x80\xf4%\xe5\xf1\x99\xbe\xca\xb2\xf6\xe1\xe1L\x8e\xa3'), chr(0b1100100) + '\x65' + chr(2149 - 2050) + '\157' + chr(0b1100100) + chr(0b1100101))(chr(117) + '\164' + chr(0b1001001 + 0o35) + '\x2d' + chr(0b111000))
if roI3spqORKae(ES5oEprVxulp(b'\xee\xd8I'), '\x64' + chr(0b1100101) + chr(0b10111 + 0o114) + chr(0b10011 + 0o134) + chr(100) + chr(0b10 + 0o143))(chr(0b1110101 + 0o0) + chr(116) + chr(5457 - 5355) + chr(0b101101) + chr(0b111000)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\xa2\xe5D\xa3\xfc/\xcd\xd9\xb8\xb6\x94\xb5'), chr(2698 - 2598) + '\145' + '\x63' + chr(0b1100001 + 0o16) + '\x64' + chr(0b1100101))(chr(0b1010100 + 0o41) + chr(0b1110100) + '\146' + chr(645 - 600) + chr(0b101000 + 0o20))):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\xee\xd8I'), chr(0b1100100) + chr(6135 - 6034) + '\143' + '\157' + chr(3845 - 3745) + '\x65')(chr(0b1110101) + '\x74' + '\146' + '\055' + '\x38'))
qjksZ7GK0xkJ = bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8(chr(0b10001 + 0o37) + '\157' + chr(0b100111 + 0o12), 51344 - 51336)]
if roI3spqORKae(ES5oEprVxulp(b'\xee\xe7'), chr(0b111000 + 0o54) + '\145' + '\143' + '\157' + '\x64' + chr(101))(chr(117) + '\x74' + chr(0b1000110 + 0o40) + chr(45) + '\070') in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\xa2\xe5D\xa3\xfc/\xcd\xd9\xb8\xb6\x94\xb5'), '\x64' + chr(0b1100101) + chr(0b1100011) + '\157' + chr(7811 - 7711) + chr(0b100111 + 0o76))(chr(10941 - 10824) + chr(12496 - 12380) + '\x66' + '\055' + chr(2633 - 2577))):
v8jsMqaYV6U2(roI3spqORKae(BXHXH_QeD6rL, roI3spqORKae(ES5oEprVxulp(b'\xba\xe9H\x82\xda\x07\xfc\xc1\x95\xa6\xf0\x83'), chr(6320 - 6220) + chr(0b1100101) + chr(1798 - 1699) + '\157' + '\144' + chr(8765 - 8664))(chr(117) + '\164' + chr(102) + chr(45) + chr(56))))
roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\x99\xfa\x7f\x8d\xc8\x03\xd9\xa5\x89\xa4\xe6\xef'), '\144' + chr(7883 - 7782) + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(7762 - 7661))(chr(0b1110101) + chr(116) + chr(102) + '\055' + chr(0b11100 + 0o34)))()
if roI3spqORKae(ES5oEprVxulp(b'\xee\xe9'), '\x64' + chr(101) + '\x63' + chr(1718 - 1607) + chr(0b1100100) + chr(101))(chr(11868 - 11751) + chr(278 - 162) + '\146' + '\055' + '\x38') in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\xa2\xe5D\xa3\xfc/\xcd\xd9\xb8\xb6\x94\xb5'), chr(100) + chr(0b1100101) + chr(7356 - 7257) + '\157' + chr(9863 - 9763) + chr(101))(chr(7398 - 7281) + '\x74' + '\146' + '\055' + '\070')):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\xee\xe9'), '\144' + chr(0b1100101) + chr(9571 - 9472) + chr(111) + '\x64' + chr(0b1100101))(chr(117) + chr(0b101101 + 0o107) + chr(102) + chr(0b101101) + '\x38'))
XG2BdJwYSWVZ = bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8(chr(936 - 888) + chr(111) + chr(353 - 304), 8)]
pLvIyXSV7qW5 = XG2BdJwYSWVZ.LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\xed'), chr(0b111 + 0o135) + '\x65' + chr(0b11010 + 0o111) + chr(0b1101111) + chr(0b1000011 + 0o41) + '\x65')('\165' + chr(116) + chr(0b110000 + 0o66) + '\x2d' + '\x38'))[:-nzTpIcepk0o8(chr(48) + '\157' + chr(0b110001), 8)]
XG2BdJwYSWVZ = qjksZ7GK0xkJ + roI3spqORKae(ES5oEprVxulp(b'\xec'), chr(440 - 340) + '\145' + chr(99) + chr(11546 - 11435) + chr(100) + chr(101))('\165' + chr(11065 - 10949) + '\x66' + chr(0b100110 + 0o7) + chr(0b111000)) + XG2BdJwYSWVZ
Jhh0uKWi4HQh = qjksZ7GK0xkJ + roI3spqORKae(ES5oEprVxulp(b'\xec'), '\144' + '\145' + '\143' + chr(0b1101111) + chr(7408 - 7308) + '\145')(chr(0b1110101) + '\164' + chr(0b1100110) + chr(0b101101) + '\x38') + pLvIyXSV7qW5[nzTpIcepk0o8('\x30' + chr(10985 - 10874) + chr(0b110000), ord("\x08"))]
(NakH0BIhYUEb, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(XG2BdJwYSWVZ)
if mWsDpG3yRGLz != roI3spqORKae(ES5oEprVxulp(b'\xb3\xe2l\x80\xf4%\xe5\xf1\x99\xbe\xca\xb2\xf6\xe1'), '\144' + '\145' + chr(3840 - 3741) + chr(1575 - 1464) + '\x64' + chr(5406 - 5305))('\x75' + '\x74' + chr(0b1100110) + chr(0b101101) + chr(178 - 122)):
v8jsMqaYV6U2(mWsDpG3yRGLz, roI3spqORKae(ES5oEprVxulp(b'\xe3\xfbe\x8e\xd8v\xfc\xe7\xda\xb9\xc8\xa3\xb8\xf3\xefN\x97\xbb\xec\xb5\x13x\xb0\xfb\xd1\xb8\x9c\x08\x90\xe2\xf6"G,(\x8d\x9ar\xb0\xac'), chr(5387 - 5287) + chr(101) + chr(99) + chr(111) + chr(3868 - 3768) + '\x65')(chr(117) + chr(0b1110100) + chr(8260 - 8158) + chr(0b11000 + 0o25) + chr(963 - 907)))
roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\x99\xfa\x7f\x8d\xc8\x03\xd9\xa5\x89\xa4\xe6\xef'), chr(100) + chr(101) + chr(0b1100011) + chr(6930 - 6819) + chr(0b1100100) + '\x65')('\165' + '\x74' + chr(5437 - 5335) + '\055' + chr(0b111000)))()
(o53SjI9laMAg, qf1KvcCZvkpr, mpRHCKgMnohP) = ([], [], [])
for L66BkZPPV93j in NakH0BIhYUEb:
if L66BkZPPV93j[roI3spqORKae(ES5oEprVxulp(b'\xa6\xfdR\x94\xdb3\xf6\xfd\x97\xb2\xc9\x88\xf6\xf3\xa2]'), chr(100) + '\145' + chr(0b110000 + 0o63) + chr(0b110000 + 0o77) + chr(100) + chr(573 - 472))(chr(0b1110101) + chr(12807 - 12691) + '\x66' + '\x2d' + chr(0b111000))] not in o53SjI9laMAg:
roI3spqORKae(o53SjI9laMAg, roI3spqORKae(ES5oEprVxulp(b'\x8b\xdb^\xd3\xd31\xd2\xfb\x90\xb8\xf2\xe2'), chr(100) + chr(0b100000 + 0o105) + chr(99) + chr(0b1010000 + 0o37) + '\x64' + chr(101))('\x75' + chr(0b1110100) + '\146' + chr(1772 - 1727) + '\070'))(L66BkZPPV93j[roI3spqORKae(ES5oEprVxulp(b'\xa6\xfdR\x94\xdb3\xf6\xfd\x97\xb2\xc9\x88\xf6\xf3\xa2]'), '\144' + chr(0b1011110 + 0o7) + '\143' + '\x6f' + chr(0b1100100) + '\x65')('\x75' + chr(0b1110100) + '\146' + '\055' + chr(0b111000))])
if roI3spqORKae(ES5oEprVxulp(b'\xb0\xffh\x84\xc2;\xf0\xfa\xa5\xb4\xc8\xba\xe8\xcd\xa1Y\x9b\xb2'), '\x64' + chr(4421 - 4320) + chr(0b1100011) + '\157' + '\144' + '\145')('\x75' + chr(3117 - 3001) + chr(1649 - 1547) + '\x2d' + chr(56)) not in H4NoA26ON7iG(roI3spqORKae(L66BkZPPV93j, roI3spqORKae(ES5oEprVxulp(b'\xa8\xeat\x94'), chr(0b1 + 0o143) + chr(3206 - 3105) + '\x63' + '\157' + '\144' + chr(0b1100101))(chr(117) + '\x74' + chr(0b1100001 + 0o5) + '\055' + chr(2534 - 2478)))()):
L66BkZPPV93j[roI3spqORKae(ES5oEprVxulp(b'\xb0\xffh\x84\xc2;\xf0\xfa\xa5\xb4\xc8\xba\xe8\xcd\xa1Y\x9b\xb2'), chr(0b100000 + 0o104) + chr(0b11111 + 0o106) + '\x63' + chr(0b11110 + 0o121) + chr(0b1100100) + '\145')('\x75' + chr(0b1110100) + chr(9683 - 9581) + chr(1494 - 1449) + chr(0b11 + 0o65))] = roI3spqORKae(ES5oEprVxulp(b'\x82'), '\144' + chr(0b1000010 + 0o43) + '\x63' + chr(0b1101111) + '\x64' + chr(101))('\x75' + '\164' + chr(1377 - 1275) + chr(1394 - 1349) + chr(56))
if roI3spqORKae(ES5oEprVxulp(b'\xb0\xffh\x84\xc2;\xf0\xfa\xa5\xa3\xce\xbb\xec\xcd\xacW\x84\xa5\xe0\xb2Ga\xb2\xf4'), chr(9860 - 9760) + '\x65' + chr(0b1100011) + chr(0b101101 + 0o102) + chr(1046 - 946) + chr(0b1100101))('\165' + '\x74' + '\146' + chr(188 - 143) + chr(552 - 496)) not in H4NoA26ON7iG(roI3spqORKae(L66BkZPPV93j, roI3spqORKae(ES5oEprVxulp(b'\xa8\xeat\x94'), chr(0b101110 + 0o66) + chr(0b110101 + 0o60) + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(8515 - 8414))(chr(0b1110101) + chr(0b1110100) + chr(7089 - 6987) + chr(0b100001 + 0o14) + chr(0b111000)))()):
L66BkZPPV93j[roI3spqORKae(ES5oEprVxulp(b'\xb7\xe6a\x93\xf45\xfa\xe6\x88\xb2\xc4\xa3\xf1\xfd\xa1'), chr(0b101011 + 0o71) + chr(0b1100101) + chr(0b111101 + 0o46) + chr(111) + '\x64' + chr(0b1100101))('\x75' + chr(0b1110100) + '\146' + chr(45) + chr(0b11011 + 0o35))] = roI3spqORKae(ES5oEprVxulp(b'\xee\xbe'), '\x64' + chr(101) + chr(2311 - 2212) + chr(7218 - 7107) + '\x64' + chr(0b1100101))(chr(7557 - 7440) + '\x74' + chr(102) + chr(0b101101) + chr(0b1111 + 0o51))
if L66BkZPPV93j[roI3spqORKae(ES5oEprVxulp(b'\xb0\xffh\x84\xc2;\xf0\xfa\xa5\xb4\xc8\xba\xe8\xcd\xa1Y\x9b\xb2'), chr(0b1100100) + chr(4260 - 4159) + '\x63' + chr(0b1101111) + chr(0b1100100) + '\x65')(chr(0b0 + 0o165) + chr(0b1110100) + '\x66' + '\x2d' + '\070')] not in qf1KvcCZvkpr:
roI3spqORKae(qf1KvcCZvkpr, roI3spqORKae(ES5oEprVxulp(b'\x8b\xdb^\xd3\xd31\xd2\xfb\x90\xb8\xf2\xe2'), chr(100) + chr(7343 - 7242) + chr(99) + chr(0b1100100 + 0o13) + '\x64' + chr(101))('\165' + '\x74' + chr(0b1100110) + '\x2d' + '\x38'))(L66BkZPPV93j[roI3spqORKae(ES5oEprVxulp(b'\xb0\xffh\x84\xc2;\xf0\xfa\xa5\xb4\xc8\xba\xe8\xcd\xa1Y\x9b\xb2'), chr(0b1100100) + '\145' + chr(0b111000 + 0o53) + chr(8735 - 8624) + chr(9245 - 9145) + '\x65')('\x75' + '\164' + chr(4462 - 4360) + chr(1612 - 1567) + chr(1432 - 1376))])
if L66BkZPPV93j[roI3spqORKae(ES5oEprVxulp(b'\xb0\xffh\x84\xc2;\xf0\xfa\xa5\xa3\xce\xbb\xec\xcd\xacW\x84\xa5\xe0\xb2Ga\xb2\xf4'), '\x64' + chr(0b1100101) + '\x63' + '\x6f' + '\144' + chr(101))('\165' + chr(116) + chr(4092 - 3990) + '\055' + chr(1826 - 1770))] not in mpRHCKgMnohP:
roI3spqORKae(mpRHCKgMnohP, roI3spqORKae(ES5oEprVxulp(b'\x8b\xdb^\xd3\xd31\xd2\xfb\x90\xb8\xf2\xe2'), chr(6357 - 6257) + chr(101) + chr(0b1100011) + chr(0b1010101 + 0o32) + chr(836 - 736) + chr(0b1001111 + 0o26))(chr(0b10011 + 0o142) + chr(0b1110100) + chr(0b1100110) + '\x2d' + chr(0b111000)))(L66BkZPPV93j[roI3spqORKae(ES5oEprVxulp(b'\xb0\xffh\x84\xc2;\xf0\xfa\xa5\xa3\xce\xbb\xec\xcd\xacW\x84\xa5\xe0\xb2Ga\xb2\xf4'), '\144' + chr(101) + chr(0b10110 + 0o115) + chr(0b1101111) + chr(0b1011000 + 0o14) + chr(101))(chr(117) + '\x74' + chr(102) + chr(1888 - 1843) + chr(2032 - 1976))])
for nKUAs3HG0RP8 in mpRHCKgMnohP:
v8jsMqaYV6U2(nKUAs3HG0RP8)
for B881keGOXOsp in qf1KvcCZvkpr:
v8jsMqaYV6U2(B881keGOXOsp)
FAMIMpvZT5Dm = []
for L66BkZPPV93j in NakH0BIhYUEb:
if L66BkZPPV93j[roI3spqORKae(ES5oEprVxulp(b'\xb0\xffh\x84\xc2;\xf0\xfa\xa5\xa3\xce\xbb\xec\xcd\xacW\x84\xa5\xe0\xb2Ga\xb2\xf4'), chr(100) + chr(0b1100101) + '\x63' + '\x6f' + chr(0b1100100) + chr(0b100001 + 0o104))(chr(117) + chr(11800 - 11684) + '\146' + chr(367 - 322) + chr(0b111000))] == nKUAs3HG0RP8 and L66BkZPPV93j[roI3spqORKae(ES5oEprVxulp(b'\xb0\xffh\x84\xc2;\xf0\xfa\xa5\xb4\xc8\xba\xe8\xcd\xa1Y\x9b\xb2'), chr(100) + chr(0b1100101) + '\143' + chr(111) + '\x64' + chr(0b1100100 + 0o1))(chr(10969 - 10852) + chr(116) + chr(0b1100110) + chr(0b1000 + 0o45) + chr(1671 - 1615))] == B881keGOXOsp:
roI3spqORKae(FAMIMpvZT5Dm, roI3spqORKae(ES5oEprVxulp(b'\x8b\xdb^\xd3\xd31\xd2\xfb\x90\xb8\xf2\xe2'), chr(0b111000 + 0o54) + chr(0b1100101) + chr(325 - 226) + chr(111) + chr(0b1100100) + chr(101))(chr(9877 - 9760) + '\x74' + '\x66' + '\055' + '\070'))(L66BkZPPV93j)
ucgtpUSoC3xd = Jhh0uKWi4HQh + roI3spqORKae(ES5oEprVxulp(b'\x9c'), chr(100) + chr(0b0 + 0o145) + chr(0b11000 + 0o113) + chr(111) + '\x64' + chr(0b1100101))('\x75' + '\x74' + chr(5344 - 5242) + chr(0b101100 + 0o1) + chr(56)) + nKUAs3HG0RP8 + roI3spqORKae(ES5oEprVxulp(b'\x9c'), '\144' + chr(0b101100 + 0o71) + '\143' + chr(111) + chr(0b1100100) + chr(0b1010100 + 0o21))(chr(3282 - 3165) + '\x74' + chr(0b101001 + 0o75) + chr(0b11000 + 0o25) + chr(0b1111 + 0o51)) + B881keGOXOsp + roI3spqORKae(ES5oEprVxulp(b'\xed\xfbu\x93'), chr(0b1100100) + chr(0b1100101) + '\143' + '\x6f' + '\144' + chr(5934 - 5833))(chr(117) + chr(116) + chr(2435 - 2333) + chr(0b11000 + 0o25) + chr(0b1101 + 0o53))
roI3spqORKae(hUcsWwAd0nE_, roI3spqORKae(ES5oEprVxulp(b'\xae\xeej\x8e\xc8\t\xe2\xe6\x93\xa3\xc2'), chr(0b1010010 + 0o22) + '\145' + chr(99) + chr(10427 - 10316) + chr(0b1100100) + chr(0b10101 + 0o120))(chr(0b1001100 + 0o51) + chr(116) + chr(0b1100110) + chr(1450 - 1405) + chr(0b111000)))(ucgtpUSoC3xd, FAMIMpvZT5Dm, roI3spqORKae(ES5oEprVxulp(b'\xb3\xe2l\x80\xf4%\xe5\xf1\x99\xbe\xca\xb2\xf6\xe1'), chr(100) + chr(101) + '\x63' + chr(0b1101111) + chr(0b1100100) + chr(101))('\165' + chr(0b1110100) + '\x66' + '\055' + '\x38'))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xa0\xe0b\x95\xcf?\xfb\xf5\x8e\xb2\x87\xa4\xe1\xe1\xbb]\x9b\xed\xa5'), chr(0b110100 + 0o60) + '\145' + chr(99) + chr(111) + chr(0b1011001 + 0o13) + chr(0b111100 + 0o51))('\165' + chr(9083 - 8967) + chr(0b110011 + 0o63) + '\055' + chr(0b10010 + 0o46)), nKUAs3HG0RP8, roI3spqORKae(ES5oEprVxulp(b'\xe3\xecb\x8a\xdb9\xfb\xf1\x94\xa3\x87\xb9\xf9\xff\xaa\x02\xd6'), chr(100) + chr(0b1100101) + '\143' + '\x6f' + chr(0b1100100) + '\x65')(chr(7517 - 7400) + '\164' + '\146' + '\055' + chr(0b10011 + 0o45)), B881keGOXOsp, roI3spqORKae(ES5oEprVxulp(b'\xe3\xfcl\x91\xce2\xb5\xfd\x94\xf7'), chr(0b1001000 + 0o34) + chr(2150 - 2049) + chr(99) + chr(0b11 + 0o154) + chr(0b1100100) + chr(0b1100101))(chr(0b1101101 + 0o10) + '\x74' + chr(102) + chr(0b101101) + chr(0b111000)), ucgtpUSoC3xd)
|
PmagPy/PmagPy
|
programs/conversion_scripts/livdb_magic.py
|
convert_livdb_files_to_MagIC.create_menu
|
def create_menu(self):
""" Create menu
"""
self.menubar = wx.MenuBar()
menu_about = wx.Menu()
menu_help = menu_about.Append(-1, "&Some notes", "")
self.Bind(wx.EVT_MENU, self.on_menu_help, menu_help)
self.menubar.Append(menu_about, "& Instructions")
self.SetMenuBar(self.menubar)
|
python
|
def create_menu(self):
""" Create menu
"""
self.menubar = wx.MenuBar()
menu_about = wx.Menu()
menu_help = menu_about.Append(-1, "&Some notes", "")
self.Bind(wx.EVT_MENU, self.on_menu_help, menu_help)
self.menubar.Append(menu_about, "& Instructions")
self.SetMenuBar(self.menubar)
|
[
"def",
"create_menu",
"(",
"self",
")",
":",
"self",
".",
"menubar",
"=",
"wx",
".",
"MenuBar",
"(",
")",
"menu_about",
"=",
"wx",
".",
"Menu",
"(",
")",
"menu_help",
"=",
"menu_about",
".",
"Append",
"(",
"-",
"1",
",",
"\"&Some notes\"",
",",
"\"\"",
")",
"self",
".",
"Bind",
"(",
"wx",
".",
"EVT_MENU",
",",
"self",
".",
"on_menu_help",
",",
"menu_help",
")",
"self",
".",
"menubar",
".",
"Append",
"(",
"menu_about",
",",
"\"& Instructions\"",
")",
"self",
".",
"SetMenuBar",
"(",
"self",
".",
"menubar",
")"
] |
Create menu
|
[
"Create",
"menu"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/programs/conversion_scripts/livdb_magic.py#L48-L59
|
train
|
Create menu
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8('\060' + chr(111) + chr(0b110011) + chr(0b110000) + chr(48), 26205 - 26197), nzTpIcepk0o8(chr(1664 - 1616) + chr(0b1101111) + chr(0b110011 + 0o0) + chr(0b110001) + '\060', 0b1000), nzTpIcepk0o8('\x30' + '\157' + chr(1105 - 1052), ord("\x08")), nzTpIcepk0o8(chr(2081 - 2033) + '\x6f' + chr(0b110011) + chr(0b110100), 0b1000), nzTpIcepk0o8(chr(0b100100 + 0o14) + '\x6f' + '\x33' + chr(0b110101) + chr(0b110010), ord("\x08")), nzTpIcepk0o8(chr(0b1100 + 0o44) + chr(3427 - 3316) + chr(49) + '\067' + chr(0b1011 + 0o52), 26016 - 26008), nzTpIcepk0o8('\060' + '\157' + '\062' + chr(0b110110) + chr(742 - 687), ord("\x08")), nzTpIcepk0o8(chr(1704 - 1656) + '\x6f' + chr(0b10001 + 0o40) + '\x36', 0o10), nzTpIcepk0o8(chr(0b110000) + chr(4517 - 4406) + chr(1790 - 1739) + chr(0b110100 + 0o3), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(461 - 411) + '\x37' + chr(0b100010 + 0o22), 50160 - 50152), nzTpIcepk0o8('\060' + '\157' + '\061' + chr(0b110110) + '\x31', ord("\x08")), nzTpIcepk0o8('\x30' + chr(2153 - 2042) + '\x33' + '\060' + chr(1891 - 1839), 0b1000), nzTpIcepk0o8('\x30' + '\157' + chr(0b110010) + chr(99 - 50) + chr(0b101000 + 0o14), 0o10), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(54) + chr(2321 - 2272), ord("\x08")), nzTpIcepk0o8('\060' + chr(4427 - 4316) + '\x31' + chr(0b1010 + 0o51) + chr(0b110110), 0b1000), nzTpIcepk0o8(chr(48) + chr(0b1100000 + 0o17) + chr(0b110010) + chr(0b110010) + chr(0b100001 + 0o25), 0b1000), nzTpIcepk0o8('\060' + '\x6f' + chr(0b1000 + 0o51) + chr(52) + chr(534 - 484), 35496 - 35488), nzTpIcepk0o8('\x30' + chr(0b1010111 + 0o30) + chr(1323 - 1273) + chr(51) + '\x36', 0b1000), nzTpIcepk0o8('\x30' + chr(1209 - 1098) + chr(50) + '\x30' + chr(2571 - 2516), ord("\x08")), nzTpIcepk0o8('\060' + chr(9631 - 9520) + chr(51) + chr(0b110101) + chr(144 - 93), 47226 - 47218), nzTpIcepk0o8(chr(1776 - 1728) + chr(111) + chr(214 - 161) + chr(920 - 872), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\157' + '\x31' + '\060' + chr(52), 0o10), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(54) + chr(53), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(8758 - 8647) + '\x31' + chr(0b101011 + 0o14) + chr(0b110100), 0b1000), nzTpIcepk0o8(chr(346 - 298) + chr(9308 - 9197) + chr(0b1010 + 0o52) + chr(0b101 + 0o56), 0o10), nzTpIcepk0o8('\x30' + chr(111) + '\x31' + chr(119 - 69) + chr(1040 - 986), 0o10), nzTpIcepk0o8('\x30' + chr(111) + '\x33' + chr(0b110111) + chr(0b110111), 0o10), nzTpIcepk0o8('\x30' + chr(2091 - 1980) + chr(1752 - 1702) + chr(0b110110) + chr(48), ord("\x08")), nzTpIcepk0o8(chr(0b1111 + 0o41) + chr(2098 - 1987) + chr(0b110100) + chr(1602 - 1553), 0b1000), nzTpIcepk0o8(chr(0b1001 + 0o47) + chr(111) + chr(0b1001 + 0o50) + chr(50) + chr(288 - 236), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b100111 + 0o13) + chr(54) + '\063', 41133 - 41125), nzTpIcepk0o8(chr(1529 - 1481) + chr(111) + '\063' + chr(0b101111 + 0o2) + '\x36', 0b1000), nzTpIcepk0o8(chr(0b101100 + 0o4) + '\x6f' + chr(0b10111 + 0o34) + '\x36' + '\x31', ord("\x08")), nzTpIcepk0o8('\060' + '\157' + chr(2308 - 2257) + chr(1238 - 1185) + '\066', 0b1000), nzTpIcepk0o8('\x30' + '\x6f' + '\x33' + chr(52), 8), nzTpIcepk0o8(chr(220 - 172) + '\157' + chr(205 - 152) + '\x32', 0o10), nzTpIcepk0o8(chr(906 - 858) + '\157' + chr(582 - 533) + chr(0b111 + 0o53) + chr(195 - 143), 8), nzTpIcepk0o8(chr(0b1110 + 0o42) + chr(10956 - 10845) + '\x33' + '\067' + '\062', 62403 - 62395), nzTpIcepk0o8('\x30' + chr(0b110110 + 0o71) + '\062' + chr(0b110111) + '\060', 0o10), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b110001) + '\067' + '\061', 0o10)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(0b100001 + 0o17) + chr(0b1101111) + '\065' + chr(48), 8)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xee'), chr(100) + chr(101) + chr(841 - 742) + chr(8808 - 8697) + '\144' + chr(0b1100101))(chr(4608 - 4491) + '\164' + '\146' + chr(0b101101) + chr(1136 - 1080)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def inICQStHv7Xn(hXMPsSrOQzbh):
hXMPsSrOQzbh.BJbLFMbCf3Is = FHAk5xm055cs.MenuBar()
gs6UMLjz8Ze1 = FHAk5xm055cs.Menu()
oJI19w0m_H2l = gs6UMLjz8Ze1.Append(-nzTpIcepk0o8('\060' + chr(0b1101111) + chr(49), 5206 - 5198), roI3spqORKae(ES5oEprVxulp(b'\xe6\x9bjq\x8f]\xd9ak\xd9\x02'), '\144' + '\145' + chr(0b1100011) + chr(0b111011 + 0o64) + '\144' + '\x65')(chr(0b1110101 + 0o0) + '\x74' + chr(102) + chr(0b0 + 0o55) + chr(56)), roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(9688 - 9587) + chr(99) + '\x6f' + chr(100) + chr(3562 - 3461))(chr(3468 - 3351) + chr(116) + '\x66' + chr(0b101 + 0o50) + '\x38'))
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x82\xa1kx'), chr(0b1011100 + 0o10) + chr(0b1100101) + chr(0b1011010 + 0o11) + chr(0b11011 + 0o124) + '\x64' + chr(4189 - 4088))(chr(0b1000000 + 0o65) + chr(0b1110100) + chr(0b1100110) + chr(1992 - 1947) + chr(56)))(roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\x85\x9eQC\xa78\xf9['), chr(0b1100100) + chr(1468 - 1367) + '\143' + chr(0b1101111) + '\x64' + chr(0b1100101))(chr(0b1110101) + '\164' + chr(0b1100110) + '\x2d' + chr(1706 - 1650))), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xaf\xa6Zq\x8f\x13\xc2Qw\xd9\x1d\xb4'), chr(0b1100100) + chr(0b1010011 + 0o22) + chr(9630 - 9531) + chr(0b1101111) + '\144' + chr(101))(chr(0b1001111 + 0o46) + '\164' + '\146' + chr(614 - 569) + '\x38')), oJI19w0m_H2l)
roI3spqORKae(hXMPsSrOQzbh.menubar, roI3spqORKae(ES5oEprVxulp(b'\x81\xb8uy\x84\x19'), chr(100) + chr(0b1100101) + chr(99) + chr(2750 - 2639) + '\144' + chr(5302 - 5201))(chr(117) + '\164' + chr(6810 - 6708) + '\x2d' + chr(0b111000)))(gs6UMLjz8Ze1, roI3spqORKae(ES5oEprVxulp(b'\xe6\xe8Lr\x99\t\xc5{|\xc8\x18\xab\xe2B'), '\144' + chr(0b1011101 + 0o10) + chr(99) + chr(11206 - 11095) + '\x64' + '\145')('\x75' + chr(11578 - 11462) + chr(0b1010011 + 0o23) + chr(0b1011 + 0o42) + chr(56)))
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x93\xadqQ\x8f\x13\xc2L~\xce'), '\144' + chr(101) + chr(8624 - 8525) + chr(111) + '\x64' + chr(0b1100101))(chr(117) + chr(0b1110100) + chr(0b1100110) + '\x2d' + chr(0b110110 + 0o2)))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x82\x82gP\xac0\xd5My\x8f8\xb7'), chr(6267 - 6167) + chr(0b1100101) + chr(0b1011000 + 0o13) + chr(0b1010011 + 0o34) + chr(0b1100100) + chr(0b1100101))('\x75' + chr(0b101101 + 0o107) + chr(7130 - 7028) + '\055' + '\070')))
|
PmagPy/PmagPy
|
dialogs/pmag_er_magic_dialogs.py
|
ErMagicCheckFrame3.InitSpecCheck
|
def InitSpecCheck(self):
"""
make an interactive grid in which users can edit specimen names
as well as which sample a specimen belongs to
"""
#wait = wx.BusyInfo("Please wait, working...")
#wx.SafeYield()
self.contribution.propagate_lithology_cols()
spec_df = self.contribution.tables['specimens'].df
self.panel = wx.Panel(self, style=wx.SIMPLE_BORDER)
self.grid_frame = grid_frame3.GridFrame(self.contribution, self.WD,
'specimens', 'specimens', self.panel,
main_frame=self.main_frame)
# redefine default 'save & exit grid' button to go to next dialog instead
self.grid_frame.exitButton.SetLabel('Save and continue')
grid = self.grid_frame.grid
self.grid_frame.Bind(wx.EVT_BUTTON,
lambda event: self.onContinue(event, grid, self.InitSampCheck),
self.grid_frame.exitButton)
# add back button
self.backButton = wx.Button(self.grid_frame.panel, id=-1, label='Back',
name='back_btn')
self.backButton.Disable()
self.grid_frame.main_btn_vbox.Add(self.backButton, flag=wx.ALL, border=5)
# re-do fit
self.grid_frame.do_fit(None, self.min_size)
# center
self.grid_frame.Centre()
return
|
python
|
def InitSpecCheck(self):
"""
make an interactive grid in which users can edit specimen names
as well as which sample a specimen belongs to
"""
#wait = wx.BusyInfo("Please wait, working...")
#wx.SafeYield()
self.contribution.propagate_lithology_cols()
spec_df = self.contribution.tables['specimens'].df
self.panel = wx.Panel(self, style=wx.SIMPLE_BORDER)
self.grid_frame = grid_frame3.GridFrame(self.contribution, self.WD,
'specimens', 'specimens', self.panel,
main_frame=self.main_frame)
# redefine default 'save & exit grid' button to go to next dialog instead
self.grid_frame.exitButton.SetLabel('Save and continue')
grid = self.grid_frame.grid
self.grid_frame.Bind(wx.EVT_BUTTON,
lambda event: self.onContinue(event, grid, self.InitSampCheck),
self.grid_frame.exitButton)
# add back button
self.backButton = wx.Button(self.grid_frame.panel, id=-1, label='Back',
name='back_btn')
self.backButton.Disable()
self.grid_frame.main_btn_vbox.Add(self.backButton, flag=wx.ALL, border=5)
# re-do fit
self.grid_frame.do_fit(None, self.min_size)
# center
self.grid_frame.Centre()
return
|
[
"def",
"InitSpecCheck",
"(",
"self",
")",
":",
"#wait = wx.BusyInfo(\"Please wait, working...\")",
"#wx.SafeYield()",
"self",
".",
"contribution",
".",
"propagate_lithology_cols",
"(",
")",
"spec_df",
"=",
"self",
".",
"contribution",
".",
"tables",
"[",
"'specimens'",
"]",
".",
"df",
"self",
".",
"panel",
"=",
"wx",
".",
"Panel",
"(",
"self",
",",
"style",
"=",
"wx",
".",
"SIMPLE_BORDER",
")",
"self",
".",
"grid_frame",
"=",
"grid_frame3",
".",
"GridFrame",
"(",
"self",
".",
"contribution",
",",
"self",
".",
"WD",
",",
"'specimens'",
",",
"'specimens'",
",",
"self",
".",
"panel",
",",
"main_frame",
"=",
"self",
".",
"main_frame",
")",
"# redefine default 'save & exit grid' button to go to next dialog instead",
"self",
".",
"grid_frame",
".",
"exitButton",
".",
"SetLabel",
"(",
"'Save and continue'",
")",
"grid",
"=",
"self",
".",
"grid_frame",
".",
"grid",
"self",
".",
"grid_frame",
".",
"Bind",
"(",
"wx",
".",
"EVT_BUTTON",
",",
"lambda",
"event",
":",
"self",
".",
"onContinue",
"(",
"event",
",",
"grid",
",",
"self",
".",
"InitSampCheck",
")",
",",
"self",
".",
"grid_frame",
".",
"exitButton",
")",
"# add back button",
"self",
".",
"backButton",
"=",
"wx",
".",
"Button",
"(",
"self",
".",
"grid_frame",
".",
"panel",
",",
"id",
"=",
"-",
"1",
",",
"label",
"=",
"'Back'",
",",
"name",
"=",
"'back_btn'",
")",
"self",
".",
"backButton",
".",
"Disable",
"(",
")",
"self",
".",
"grid_frame",
".",
"main_btn_vbox",
".",
"Add",
"(",
"self",
".",
"backButton",
",",
"flag",
"=",
"wx",
".",
"ALL",
",",
"border",
"=",
"5",
")",
"# re-do fit",
"self",
".",
"grid_frame",
".",
"do_fit",
"(",
"None",
",",
"self",
".",
"min_size",
")",
"# center",
"self",
".",
"grid_frame",
".",
"Centre",
"(",
")",
"return"
] |
make an interactive grid in which users can edit specimen names
as well as which sample a specimen belongs to
|
[
"make",
"an",
"interactive",
"grid",
"in",
"which",
"users",
"can",
"edit",
"specimen",
"names",
"as",
"well",
"as",
"which",
"sample",
"a",
"specimen",
"belongs",
"to"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/dialogs/pmag_er_magic_dialogs.py#L36-L65
|
train
|
Initialize the specimen names and grids for the current specimen
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(1613 - 1565) + '\157' + chr(1114 - 1065) + '\x36' + '\063', 0o10), nzTpIcepk0o8(chr(48) + chr(10109 - 9998) + chr(0b101000 + 0o12) + chr(0b1011 + 0o53) + chr(0b110101), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b100110 + 0o14) + chr(0b100010 + 0o22) + chr(50), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110001) + chr(0b10101 + 0o40) + chr(0b110001), 0o10), nzTpIcepk0o8(chr(362 - 314) + chr(2384 - 2273) + '\x31' + '\x37' + chr(0b11001 + 0o30), 47143 - 47135), nzTpIcepk0o8(chr(0b1111 + 0o41) + chr(0b1101111) + chr(0b110010) + chr(52) + chr(1602 - 1550), 0b1000), nzTpIcepk0o8(chr(651 - 603) + '\x6f' + '\x32' + chr(703 - 654) + '\067', ord("\x08")), nzTpIcepk0o8(chr(0b110000 + 0o0) + chr(10047 - 9936) + chr(0b110 + 0o55) + '\x36', ord("\x08")), nzTpIcepk0o8('\x30' + '\157' + '\x33' + chr(0b100100 + 0o23) + chr(0b110001), 0o10), nzTpIcepk0o8(chr(804 - 756) + '\157' + '\x33' + chr(0b101011 + 0o11) + chr(51), 0o10), nzTpIcepk0o8(chr(48) + chr(0b1001 + 0o146) + chr(0b10100 + 0o35) + chr(0b1 + 0o60) + chr(226 - 177), 63544 - 63536), nzTpIcepk0o8('\060' + chr(0b100101 + 0o112) + chr(52) + '\065', 0o10), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(51) + '\061' + '\065', 40595 - 40587), nzTpIcepk0o8(chr(48) + chr(0b110111 + 0o70) + '\x35' + chr(534 - 486), 0o10), nzTpIcepk0o8(chr(1010 - 962) + '\157' + chr(1760 - 1710) + chr(50) + chr(48), 0b1000), nzTpIcepk0o8('\060' + chr(6085 - 5974) + '\x32' + chr(0b110100), 47141 - 47133), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(289 - 239) + chr(0b110011) + '\067', 0b1000), nzTpIcepk0o8('\060' + chr(0b111111 + 0o60) + chr(2299 - 2250), 0o10), nzTpIcepk0o8('\060' + '\157' + chr(55) + chr(101 - 46), 0o10), nzTpIcepk0o8('\x30' + chr(0b1101111) + '\x36' + '\063', 36217 - 36209), nzTpIcepk0o8('\x30' + '\157' + chr(49) + '\x30' + chr(55), 65394 - 65386), nzTpIcepk0o8(chr(0b100110 + 0o12) + chr(0b1100000 + 0o17) + chr(0b110011) + chr(52) + chr(2174 - 2122), ord("\x08")), nzTpIcepk0o8(chr(319 - 271) + '\x6f' + chr(0b101010 + 0o7) + chr(0b10111 + 0o37) + '\x30', 0o10), nzTpIcepk0o8(chr(0b1010 + 0o46) + chr(0b1101111) + '\061' + chr(688 - 640) + chr(0b110101), 0b1000), nzTpIcepk0o8(chr(0b11001 + 0o27) + '\x6f' + chr(0b110111) + chr(0b11001 + 0o34), ord("\x08")), nzTpIcepk0o8(chr(1606 - 1558) + '\x6f' + chr(668 - 618) + chr(0b111 + 0o51) + chr(52), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b101011 + 0o7) + chr(185 - 137) + chr(0b100001 + 0o26), 16536 - 16528), nzTpIcepk0o8(chr(0b11101 + 0o23) + chr(11087 - 10976) + chr(1248 - 1199) + chr(562 - 510) + chr(0b110000), 0o10), nzTpIcepk0o8('\x30' + chr(3417 - 3306) + chr(0b110010) + chr(0b110101) + '\x30', 0o10), nzTpIcepk0o8(chr(0b110 + 0o52) + chr(111) + '\x32' + '\x33' + '\x30', 0o10), nzTpIcepk0o8('\060' + chr(0b1101111) + '\067' + chr(54), 20510 - 20502), nzTpIcepk0o8(chr(48) + '\157' + '\x32' + chr(0b110101) + chr(0b110001), 0o10), nzTpIcepk0o8('\060' + chr(111) + chr(0b110011) + chr(0b101000 + 0o14) + '\x37', 0b1000), nzTpIcepk0o8('\x30' + chr(8874 - 8763) + chr(0b101111 + 0o10) + chr(0b110100), ord("\x08")), nzTpIcepk0o8(chr(122 - 74) + chr(10100 - 9989) + chr(0b100 + 0o62) + chr(0b10110 + 0o40), 28966 - 28958), nzTpIcepk0o8(chr(0b100110 + 0o12) + chr(111) + chr(0b110010) + chr(2532 - 2480) + '\x33', 0o10), nzTpIcepk0o8(chr(0b110000 + 0o0) + chr(111) + chr(50) + chr(52) + chr(0b11110 + 0o27), ord("\x08")), nzTpIcepk0o8(chr(0b1011 + 0o45) + '\157' + chr(79 - 29) + chr(1334 - 1286) + chr(0b100001 + 0o20), 31092 - 31084), nzTpIcepk0o8(chr(0b0 + 0o60) + chr(0b1101111) + chr(51) + chr(52) + chr(0b110000), 57830 - 57822), nzTpIcepk0o8(chr(48) + '\x6f' + chr(51) + '\x31', 0o10)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b110101) + '\060', 8)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b']'), chr(0b1100100) + '\145' + chr(0b1100011) + '\157' + chr(0b1001001 + 0o33) + '\x65')(chr(117) + chr(0b1110001 + 0o3) + '\146' + '\x2d' + chr(0b111000)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def GjTmpP5lL5p2(hXMPsSrOQzbh):
roI3spqORKae(hXMPsSrOQzbh.contribution, roI3spqORKae(ES5oEprVxulp(b'\x03\xc7\xcd\x19\x18\xc3\xeej\x9c\xbc%L\xb9@\xffx\xf0fFl$\x8b\x1c6'), chr(3739 - 3639) + '\145' + chr(99) + '\x6f' + '\144' + '\x65')('\165' + chr(116) + chr(102) + '\x2d' + chr(0b10110 + 0o42)))()
YtA_2u8ugCIV = hXMPsSrOQzbh.contribution.tables[roI3spqORKae(ES5oEprVxulp(b'\x00\xc5\xc7\n\x10\xc9\xeap\x8a'), chr(100) + chr(101) + chr(3416 - 3317) + chr(0b100110 + 0o111) + chr(100) + '\145')(chr(0b1110101) + '\x74' + chr(0b10010 + 0o124) + '\055' + '\x38')].jpOn8DNZxbbx
hXMPsSrOQzbh.tqXV8VwoxdNA = FHAk5xm055cs.Panel(hXMPsSrOQzbh, style=FHAk5xm055cs.SIMPLE_BORDER)
hXMPsSrOQzbh.RMJhrnxxE28l = SXkAcofDK92l.GridFrame(hXMPsSrOQzbh.bSiGoWKHgDdJ, hXMPsSrOQzbh.GP1zEShDyCxL, roI3spqORKae(ES5oEprVxulp(b'\x00\xc5\xc7\n\x10\xc9\xeap\x8a'), chr(100) + '\145' + chr(9299 - 9200) + chr(0b1010 + 0o145) + '\144' + chr(0b110110 + 0o57))(chr(2952 - 2835) + '\x74' + chr(0b1100110) + chr(45) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\x00\xc5\xc7\n\x10\xc9\xeap\x8a'), '\144' + '\145' + '\143' + chr(0b11010 + 0o125) + '\144' + chr(9713 - 9612))(chr(9562 - 9445) + chr(0b1110100) + '\146' + chr(0b100110 + 0o7) + chr(56)), hXMPsSrOQzbh.tqXV8VwoxdNA, main_frame=hXMPsSrOQzbh.main_frame)
roI3spqORKae(hXMPsSrOQzbh.grid_frame.exitButton, roI3spqORKae(ES5oEprVxulp(b' \xd0\xd6%\x18\xc6\xear'), chr(0b1100100) + chr(0b1100101) + chr(0b100111 + 0o74) + chr(0b1101111) + '\144' + chr(553 - 452))('\165' + chr(0b11010 + 0o132) + chr(0b1100110) + '\x2d' + '\x38'))(roI3spqORKae(ES5oEprVxulp(b' \xd4\xd4\x0cY\xc5\xe1z\xd9\x80&K\xb9A\xfea\xfa'), chr(0b1100100) + chr(2647 - 2546) + chr(0b1100011) + chr(111) + '\144' + '\x65')(chr(0b1011100 + 0o31) + chr(0b1110100) + '\x66' + '\055' + chr(56)))
xiP5QxYWlEkW = hXMPsSrOQzbh.grid_frame.xiP5QxYWlEkW
roI3spqORKae(hXMPsSrOQzbh.grid_frame, roI3spqORKae(ES5oEprVxulp(b'1\xdc\xcc\r'), chr(0b11100 + 0o110) + chr(101) + chr(0b11111 + 0o104) + '\157' + chr(0b110000 + 0o64) + '\145')('\x75' + chr(116) + chr(0b1001 + 0o135) + '\x2d' + chr(56)))(roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'6\xe3\xf66;\xf1\xdbJ\xb6\xad'), '\144' + '\145' + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(2263 - 2162))('\165' + chr(0b101001 + 0o113) + '\146' + chr(0b101101) + '\x38')), lambda D4ybylS07yGH: roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x1c\xdb\xe1\x06\x17\xd0\xe6p\x8c\x86'), chr(100) + chr(9101 - 9000) + chr(0b1000000 + 0o43) + '\x6f' + chr(0b1011 + 0o131) + chr(0b1100101))(chr(117) + chr(5407 - 5291) + chr(0b1100110) + '\x2d' + chr(0b111000)))(D4ybylS07yGH, xiP5QxYWlEkW, roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b':\xdb\xcb\x1d*\xc5\xe2n\xba\x8b,F\xa6'), chr(8131 - 8031) + chr(671 - 570) + chr(0b1100011) + chr(4874 - 4763) + chr(4844 - 4744) + '\x65')('\165' + '\x74' + chr(6949 - 6847) + chr(0b101101) + chr(56)))), roI3spqORKae(hXMPsSrOQzbh.grid_frame, roI3spqORKae(ES5oEprVxulp(b'\x16\xcd\xcb\x1d;\xd1\xfbj\x96\x8d'), '\144' + chr(101) + chr(0b110100 + 0o57) + chr(4744 - 4633) + chr(0b1100100) + chr(1815 - 1714))(chr(117) + chr(116) + chr(102) + chr(0b101101) + '\x38')))
hXMPsSrOQzbh.AqaSmitgeYHw = FHAk5xm055cs.Button(hXMPsSrOQzbh.grid_frame.tqXV8VwoxdNA, id=-nzTpIcepk0o8(chr(887 - 839) + chr(111) + chr(0b101010 + 0o7), 8), label=roI3spqORKae(ES5oEprVxulp(b'1\xd4\xc1\x02'), '\x64' + chr(101) + chr(0b101100 + 0o67) + chr(0b1101111) + chr(0b1100100) + chr(101))(chr(117) + chr(116) + chr(0b1100110) + chr(1824 - 1779) + chr(56)), name=roI3spqORKae(ES5oEprVxulp(b'\x11\xd4\xc1\x02&\xc6\xfbp'), chr(0b110010 + 0o62) + '\145' + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + chr(0b1001001 + 0o34))('\165' + chr(116) + '\x66' + chr(0b1110 + 0o37) + chr(0b111000)))
roI3spqORKae(hXMPsSrOQzbh.backButton, roI3spqORKae(ES5oEprVxulp(b'7\xdc\xd1\x08\x1b\xc8\xea'), chr(0b1 + 0o143) + '\145' + chr(0b1100011) + chr(0b10100 + 0o133) + '\x64' + chr(101))(chr(0b1110101) + chr(0b1110100) + chr(102) + chr(1264 - 1219) + chr(0b111000)))()
roI3spqORKae(hXMPsSrOQzbh.grid_frame.main_btn_vbox, roI3spqORKae(ES5oEprVxulp(b'2\xd1\xc6'), chr(8685 - 8585) + chr(0b1100 + 0o131) + chr(99) + '\157' + chr(0b1100100) + chr(101))(chr(0b1000101 + 0o60) + '\x74' + '\x66' + '\055' + chr(2783 - 2727)))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'2\xc4\xc3:\x14\xcd\xfby\x9c\xba\x01R'), '\144' + chr(0b1100101) + chr(0b1100011) + '\157' + '\x64' + '\145')(chr(117) + chr(116) + '\146' + chr(664 - 619) + '\070')), flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'2\xf9\xee'), chr(0b10011 + 0o121) + '\145' + '\x63' + '\x6f' + '\144' + chr(0b1100101))(chr(0b1110101) + chr(0b1100011 + 0o21) + '\x66' + '\x2d' + chr(0b111000))), border=nzTpIcepk0o8(chr(0b1101 + 0o43) + chr(0b1001000 + 0o47) + '\065', 0b1000))
roI3spqORKae(hXMPsSrOQzbh.grid_frame, roI3spqORKae(ES5oEprVxulp(b'\x17\xda\xfd\x0f\x10\xd0'), '\x64' + chr(0b1100101) + chr(0b1011 + 0o130) + chr(0b110001 + 0o76) + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + chr(0b111100 + 0o70) + chr(102) + chr(0b101101) + chr(2313 - 2257)))(None, roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x1e\xdc\xcc6\n\xcd\xf5{'), chr(0b1100100) + chr(101) + '\x63' + chr(111) + '\144' + '\x65')(chr(0b1110101) + '\164' + chr(0b1100110) + chr(587 - 542) + chr(1103 - 1047))))
roI3spqORKae(hXMPsSrOQzbh.grid_frame, roI3spqORKae(ES5oEprVxulp(b'0\xd0\xcc\x1d\x0b\xc1'), chr(3370 - 3270) + chr(0b10101 + 0o120) + '\x63' + chr(5987 - 5876) + chr(0b1100100) + '\x65')(chr(2543 - 2426) + chr(0b1110100) + chr(102) + '\055' + chr(0b111000)))()
return
|
PmagPy/PmagPy
|
dialogs/pmag_er_magic_dialogs.py
|
ErMagicCheckFrame3.InitSiteCheck
|
def InitSiteCheck(self):
"""
make an interactive grid in which users can edit site names
as well as which location a site belongs to
"""
# propagate average lat/lon info from samples table if
# available in samples and missing in sites
self.contribution.propagate_average_up(cols=['lat', 'lon', 'height'],
target_df_name='sites',
source_df_name='samples')
# propagate lithology columns
self.contribution.propagate_lithology_cols()
site_df = self.contribution.tables['sites'].df
self.panel = wx.Panel(self, style=wx.SIMPLE_BORDER)
self.grid_frame = grid_frame3.GridFrame(self.contribution, self.WD,
'sites', 'sites', self.panel,
main_frame=self.main_frame)
# redefine default 'save & exit grid' button to go to next dialog instead
self.grid_frame.exitButton.SetLabel('Save and continue')
grid = self.grid_frame.grid
self.grid_frame.Bind(wx.EVT_BUTTON,
lambda event: self.onContinue(event, grid, self.InitLocCheck),
self.grid_frame.exitButton)
# add back button
self.backButton = wx.Button(self.grid_frame.panel, id=-1, label='Back',
name='back_btn')
self.Bind(wx.EVT_BUTTON,
lambda event: self.onbackButton(event, self.InitSampCheck),
self.backButton)
self.grid_frame.main_btn_vbox.Add(self.backButton, flag=wx.ALL, border=5)
# re-do fit
self.grid_frame.do_fit(None, self.min_size)
# center
self.grid_frame.Centre()
return
|
python
|
def InitSiteCheck(self):
"""
make an interactive grid in which users can edit site names
as well as which location a site belongs to
"""
# propagate average lat/lon info from samples table if
# available in samples and missing in sites
self.contribution.propagate_average_up(cols=['lat', 'lon', 'height'],
target_df_name='sites',
source_df_name='samples')
# propagate lithology columns
self.contribution.propagate_lithology_cols()
site_df = self.contribution.tables['sites'].df
self.panel = wx.Panel(self, style=wx.SIMPLE_BORDER)
self.grid_frame = grid_frame3.GridFrame(self.contribution, self.WD,
'sites', 'sites', self.panel,
main_frame=self.main_frame)
# redefine default 'save & exit grid' button to go to next dialog instead
self.grid_frame.exitButton.SetLabel('Save and continue')
grid = self.grid_frame.grid
self.grid_frame.Bind(wx.EVT_BUTTON,
lambda event: self.onContinue(event, grid, self.InitLocCheck),
self.grid_frame.exitButton)
# add back button
self.backButton = wx.Button(self.grid_frame.panel, id=-1, label='Back',
name='back_btn')
self.Bind(wx.EVT_BUTTON,
lambda event: self.onbackButton(event, self.InitSampCheck),
self.backButton)
self.grid_frame.main_btn_vbox.Add(self.backButton, flag=wx.ALL, border=5)
# re-do fit
self.grid_frame.do_fit(None, self.min_size)
# center
self.grid_frame.Centre()
return
|
[
"def",
"InitSiteCheck",
"(",
"self",
")",
":",
"# propagate average lat/lon info from samples table if",
"# available in samples and missing in sites",
"self",
".",
"contribution",
".",
"propagate_average_up",
"(",
"cols",
"=",
"[",
"'lat'",
",",
"'lon'",
",",
"'height'",
"]",
",",
"target_df_name",
"=",
"'sites'",
",",
"source_df_name",
"=",
"'samples'",
")",
"# propagate lithology columns",
"self",
".",
"contribution",
".",
"propagate_lithology_cols",
"(",
")",
"site_df",
"=",
"self",
".",
"contribution",
".",
"tables",
"[",
"'sites'",
"]",
".",
"df",
"self",
".",
"panel",
"=",
"wx",
".",
"Panel",
"(",
"self",
",",
"style",
"=",
"wx",
".",
"SIMPLE_BORDER",
")",
"self",
".",
"grid_frame",
"=",
"grid_frame3",
".",
"GridFrame",
"(",
"self",
".",
"contribution",
",",
"self",
".",
"WD",
",",
"'sites'",
",",
"'sites'",
",",
"self",
".",
"panel",
",",
"main_frame",
"=",
"self",
".",
"main_frame",
")",
"# redefine default 'save & exit grid' button to go to next dialog instead",
"self",
".",
"grid_frame",
".",
"exitButton",
".",
"SetLabel",
"(",
"'Save and continue'",
")",
"grid",
"=",
"self",
".",
"grid_frame",
".",
"grid",
"self",
".",
"grid_frame",
".",
"Bind",
"(",
"wx",
".",
"EVT_BUTTON",
",",
"lambda",
"event",
":",
"self",
".",
"onContinue",
"(",
"event",
",",
"grid",
",",
"self",
".",
"InitLocCheck",
")",
",",
"self",
".",
"grid_frame",
".",
"exitButton",
")",
"# add back button",
"self",
".",
"backButton",
"=",
"wx",
".",
"Button",
"(",
"self",
".",
"grid_frame",
".",
"panel",
",",
"id",
"=",
"-",
"1",
",",
"label",
"=",
"'Back'",
",",
"name",
"=",
"'back_btn'",
")",
"self",
".",
"Bind",
"(",
"wx",
".",
"EVT_BUTTON",
",",
"lambda",
"event",
":",
"self",
".",
"onbackButton",
"(",
"event",
",",
"self",
".",
"InitSampCheck",
")",
",",
"self",
".",
"backButton",
")",
"self",
".",
"grid_frame",
".",
"main_btn_vbox",
".",
"Add",
"(",
"self",
".",
"backButton",
",",
"flag",
"=",
"wx",
".",
"ALL",
",",
"border",
"=",
"5",
")",
"# re-do fit",
"self",
".",
"grid_frame",
".",
"do_fit",
"(",
"None",
",",
"self",
".",
"min_size",
")",
"# center",
"self",
".",
"grid_frame",
".",
"Centre",
"(",
")",
"return"
] |
make an interactive grid in which users can edit site names
as well as which location a site belongs to
|
[
"make",
"an",
"interactive",
"grid",
"in",
"which",
"users",
"can",
"edit",
"site",
"names",
"as",
"well",
"as",
"which",
"location",
"a",
"site",
"belongs",
"to"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/dialogs/pmag_er_magic_dialogs.py#L103-L138
|
train
|
This method creates an interactive grid in which users can edit site names and locations a site belongs to.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(1483 - 1435) + chr(0b1101111) + chr(0b110010) + chr(49) + chr(53), 0o10), nzTpIcepk0o8(chr(48) + chr(11268 - 11157) + chr(1156 - 1101) + chr(0b110111), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b1011010 + 0o25) + chr(0b1001 + 0o54) + chr(55), 54561 - 54553), nzTpIcepk0o8(chr(1171 - 1123) + '\x6f' + chr(51) + chr(1393 - 1339), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(111) + '\063' + chr(741 - 689) + '\x31', ord("\x08")), nzTpIcepk0o8(chr(0b101101 + 0o3) + '\x6f' + '\x32' + chr(0b10010 + 0o44) + chr(54), 5361 - 5353), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\x33' + chr(1012 - 962) + chr(0b101010 + 0o6), 0b1000), nzTpIcepk0o8('\x30' + chr(8896 - 8785) + '\x32' + chr(0b11100 + 0o30) + '\x31', 0b1000), nzTpIcepk0o8(chr(0b11111 + 0o21) + chr(0b110 + 0o151) + chr(0b110100) + chr(0b110110), 18623 - 18615), nzTpIcepk0o8(chr(48) + chr(9234 - 9123) + '\x32' + chr(0b110011) + '\061', 34617 - 34609), nzTpIcepk0o8(chr(0b110000 + 0o0) + chr(0b1101111) + chr(0b1 + 0o61), 40781 - 40773), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(51) + chr(173 - 119) + chr(1640 - 1588), 31286 - 31278), nzTpIcepk0o8(chr(48) + chr(4090 - 3979) + chr(51) + chr(0b1111 + 0o47) + chr(0b11110 + 0o31), ord("\x08")), nzTpIcepk0o8(chr(0b100001 + 0o17) + chr(0b1011011 + 0o24) + chr(0b110001) + '\066' + chr(2009 - 1960), 60363 - 60355), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(2165 - 2115) + '\x33' + chr(0b1011 + 0o45), 18257 - 18249), nzTpIcepk0o8('\060' + chr(6758 - 6647) + chr(0b110011) + chr(0b110110) + chr(830 - 782), 0b1000), nzTpIcepk0o8(chr(0b11100 + 0o24) + '\157' + chr(0b110001) + chr(0b101001 + 0o10), 45378 - 45370), nzTpIcepk0o8(chr(48) + chr(2606 - 2495) + '\067' + '\x35', 0b1000), nzTpIcepk0o8('\x30' + chr(10588 - 10477) + chr(0b110011) + '\067' + chr(0b10101 + 0o35), 0b1000), nzTpIcepk0o8(chr(1686 - 1638) + chr(8752 - 8641) + chr(0b110001) + chr(52) + chr(54), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1100 + 0o143) + '\x36' + '\x32', 0o10), nzTpIcepk0o8(chr(48) + chr(4669 - 4558) + chr(1796 - 1746) + chr(53), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(1720 - 1665) + chr(0b110000), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\062' + chr(54) + '\060', ord("\x08")), nzTpIcepk0o8('\060' + '\157' + '\x33' + chr(0b110000), 0o10), nzTpIcepk0o8(chr(0b100111 + 0o11) + chr(111) + chr(0b110001) + chr(434 - 385) + '\060', 32769 - 32761), nzTpIcepk0o8(chr(1728 - 1680) + chr(0b1101111) + chr(0b101001 + 0o12) + chr(0b110010) + chr(1723 - 1668), 0o10), nzTpIcepk0o8('\060' + chr(9709 - 9598) + '\x33' + '\065' + '\x34', 11064 - 11056), nzTpIcepk0o8(chr(0b110000) + '\157' + '\063' + chr(0b110010) + '\x30', 8), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(1890 - 1841) + chr(0b110000 + 0o3) + chr(2340 - 2291), ord("\x08")), nzTpIcepk0o8(chr(1362 - 1314) + '\157' + '\063' + chr(0b101000 + 0o16) + '\067', 8), nzTpIcepk0o8(chr(0b110000) + chr(0b11011 + 0o124) + chr(52) + chr(48), 329 - 321), nzTpIcepk0o8('\060' + chr(4104 - 3993) + '\x33' + '\067' + '\x31', ord("\x08")), nzTpIcepk0o8(chr(0b11001 + 0o27) + '\x6f' + chr(0b1010 + 0o47) + chr(0b110011) + chr(55), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(111) + chr(0b110001) + chr(121 - 73) + '\066', 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b110101 + 0o72) + chr(55) + '\066', 7238 - 7230), nzTpIcepk0o8('\x30' + '\x6f' + '\x33' + chr(0b110010) + '\062', 0o10), nzTpIcepk0o8(chr(48) + chr(0b10010 + 0o135) + chr(49) + chr(0b110011) + chr(1767 - 1717), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b110 + 0o151) + chr(49) + '\064' + chr(51), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(111) + chr(49) + chr(50) + chr(54), ord("\x08"))][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(53) + chr(48), 0o10)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xa3'), '\144' + '\x65' + chr(99) + '\x6f' + '\x64' + chr(101))(chr(0b1101100 + 0o11) + '\164' + '\146' + chr(45) + chr(0b110101 + 0o3)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def _26epsTrXO1Y(hXMPsSrOQzbh):
roI3spqORKae(hXMPsSrOQzbh.contribution, roI3spqORKae(ES5oEprVxulp(b'\xfdM@n\x80\xd1\xb1\xd5C\xc6c\x82\x92\x03\xf9\x97lb\x8f\x16'), '\144' + chr(9289 - 9188) + chr(99) + chr(111) + chr(0b101100 + 0o70) + chr(101))('\x75' + '\x74' + chr(8963 - 8861) + '\055' + chr(56)))(cols=[roI3spqORKae(ES5oEprVxulp(b'\xe1^['), chr(100) + chr(0b1100000 + 0o5) + chr(4461 - 4362) + chr(111) + '\144' + chr(101))('\165' + chr(2332 - 2216) + chr(0b1010001 + 0o25) + chr(120 - 75) + chr(0b10 + 0o66)), roI3spqORKae(ES5oEprVxulp(b'\xe1PA'), chr(0b1100100) + chr(101) + chr(0b101100 + 0o67) + chr(0b1010101 + 0o32) + chr(0b100100 + 0o100) + chr(7902 - 7801))('\x75' + '\164' + '\146' + chr(45) + chr(0b11000 + 0o40)), roI3spqORKae(ES5oEprVxulp(b'\xe5ZFy\x89\xc2'), chr(100) + chr(0b1000111 + 0o36) + chr(1624 - 1525) + '\157' + '\x64' + chr(0b11011 + 0o112))('\165' + '\x74' + chr(0b1010101 + 0o21) + chr(677 - 632) + '\070')], target_df_name=roI3spqORKae(ES5oEprVxulp(b'\xfeV[{\x92'), chr(0b111111 + 0o45) + chr(0b1100101) + '\x63' + chr(0b1101111) + chr(100) + '\145')('\x75' + chr(0b1110100) + '\x66' + '\x2d' + chr(56)), source_df_name=roI3spqORKae(ES5oEprVxulp(b'\xfe^Bn\x8d\xd3\xa3'), chr(4344 - 4244) + chr(669 - 568) + '\143' + chr(0b1101111) + chr(0b10111 + 0o115) + chr(0b1100101))('\165' + chr(116) + chr(0b100110 + 0o100) + chr(45) + chr(56)))
roI3spqORKae(hXMPsSrOQzbh.contribution, roI3spqORKae(ES5oEprVxulp(b'\xfdM@n\x80\xd1\xb1\xd5C\xc6n\x9d\x83\x19\xf7\x9cfZ\x839QzT\xc3'), chr(0b110010 + 0o62) + chr(101) + chr(0b1100011) + chr(0b1011 + 0o144) + chr(0b11001 + 0o113) + chr(5641 - 5540))('\165' + chr(0b1110100) + chr(3508 - 3406) + chr(45) + chr(788 - 732)))()
STygsxjvcnha = hXMPsSrOQzbh.contribution.tables[roI3spqORKae(ES5oEprVxulp(b'\xfeV[{\x92'), chr(7833 - 7733) + '\145' + '\x63' + chr(111) + chr(0b111100 + 0o50) + chr(0b1100101))(chr(117) + chr(0b1110100) + chr(102) + '\x2d' + chr(0b10 + 0o66))].jpOn8DNZxbbx
hXMPsSrOQzbh.tqXV8VwoxdNA = FHAk5xm055cs.Panel(hXMPsSrOQzbh, style=FHAk5xm055cs.SIMPLE_BORDER)
hXMPsSrOQzbh.RMJhrnxxE28l = SXkAcofDK92l.GridFrame(hXMPsSrOQzbh.bSiGoWKHgDdJ, hXMPsSrOQzbh.GP1zEShDyCxL, roI3spqORKae(ES5oEprVxulp(b'\xfeV[{\x92'), '\x64' + chr(0b1011101 + 0o10) + chr(99) + '\x6f' + chr(9973 - 9873) + chr(101))(chr(117) + chr(0b1110100) + chr(0b110001 + 0o65) + chr(0b101100 + 0o1) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xfeV[{\x92'), '\x64' + chr(9272 - 9171) + '\143' + '\157' + '\x64' + chr(101))(chr(0b1110101) + '\x74' + chr(0b1011111 + 0o7) + '\x2d' + chr(0b111000)), hXMPsSrOQzbh.tqXV8VwoxdNA, main_frame=hXMPsSrOQzbh.main_frame)
roI3spqORKae(hXMPsSrOQzbh.grid_frame.exitButton, roI3spqORKae(ES5oEprVxulp(b'\xdeZ[R\x80\xd4\xb5\xcd'), chr(100) + chr(0b1100101) + chr(99) + chr(111) + chr(8472 - 8372) + '\145')(chr(10010 - 9893) + '\x74' + '\x66' + '\x2d' + '\070'))(roI3spqORKae(ES5oEprVxulp(b'\xde^Y{\xc1\xd7\xbe\xc5\x06\xfam\x9a\x83\x18\xf6\x85l'), chr(100) + chr(0b111 + 0o136) + chr(0b1100011 + 0o0) + '\x6f' + chr(9895 - 9795) + '\x65')(chr(4802 - 4685) + chr(12979 - 12863) + chr(0b1000 + 0o136) + chr(94 - 49) + chr(56)))
xiP5QxYWlEkW = hXMPsSrOQzbh.grid_frame.xiP5QxYWlEkW
roI3spqORKae(hXMPsSrOQzbh.grid_frame, roI3spqORKae(ES5oEprVxulp(b'\xcfVAz'), chr(4430 - 4330) + chr(101) + '\x63' + chr(0b1101111) + chr(0b1100100) + chr(0b11000 + 0o115))(chr(0b100110 + 0o117) + chr(0b1000010 + 0o62) + chr(0b1010101 + 0o21) + chr(45) + '\070'))(roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xc8i{A\xa3\xe3\x84\xf5i\xd7'), chr(0b1100100) + '\145' + chr(682 - 583) + '\x6f' + chr(0b1000011 + 0o41) + chr(7100 - 6999))(chr(117) + chr(0b1110100) + '\146' + chr(0b100010 + 0o13) + chr(56))), lambda D4ybylS07yGH: roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xe2Qlq\x8f\xc2\xb9\xcfS\xfc'), '\144' + chr(0b1100101) + chr(2734 - 2635) + '\157' + chr(760 - 660) + chr(953 - 852))(chr(117) + chr(116) + chr(0b10011 + 0o123) + chr(0b101100 + 0o1) + chr(1941 - 1885)))(D4ybylS07yGH, xiP5QxYWlEkW, roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xc4QFj\xad\xd9\xb3\xe2N\xfca\x9f'), '\144' + chr(0b1001011 + 0o32) + '\x63' + '\x6f' + chr(0b101110 + 0o66) + chr(0b1100101))(chr(6354 - 6237) + chr(4540 - 4424) + chr(102) + chr(0b101101) + chr(56)))), roI3spqORKae(hXMPsSrOQzbh.grid_frame, roI3spqORKae(ES5oEprVxulp(b'\xe8GFj\xa3\xc3\xa4\xd5I\xf7'), chr(0b1010001 + 0o23) + '\145' + chr(0b1 + 0o142) + chr(2042 - 1931) + chr(283 - 183) + '\x65')('\x75' + '\x74' + chr(4645 - 4543) + chr(0b101101) + '\x38')))
hXMPsSrOQzbh.AqaSmitgeYHw = FHAk5xm055cs.Button(hXMPsSrOQzbh.grid_frame.tqXV8VwoxdNA, id=-nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110001), 45797 - 45789), label=roI3spqORKae(ES5oEprVxulp(b'\xcf^Lu'), chr(0b1100100) + '\x65' + chr(0b1100011) + '\x6f' + '\144' + chr(0b100011 + 0o102))(chr(0b1110001 + 0o4) + chr(0b1001001 + 0o53) + chr(0b111011 + 0o53) + chr(0b101101) + chr(0b110 + 0o62)), name=roI3spqORKae(ES5oEprVxulp(b'\xef^Lu\xbe\xd4\xa4\xcf'), '\x64' + chr(0b1100101) + chr(3711 - 3612) + chr(0b1101111) + chr(100) + chr(101))(chr(0b1110101) + chr(3008 - 2892) + chr(0b1100110) + chr(45) + chr(0b111000)))
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xcfVAz'), chr(6979 - 6879) + chr(0b1100101) + chr(0b1100011) + chr(111) + chr(730 - 630) + chr(0b1100101))(chr(0b1110101) + '\164' + chr(102) + chr(45) + chr(56)))(roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xc8i{A\xa3\xe3\x84\xf5i\xd7'), '\x64' + chr(0b1100101) + chr(6774 - 6675) + chr(111) + chr(7635 - 7535) + '\145')(chr(1405 - 1288) + '\x74' + '\146' + '\x2d' + chr(0b100 + 0o64))), lambda D4ybylS07yGH: roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xe2QM\x7f\x82\xdd\x92\xd4R\xedm\x9a'), chr(0b101001 + 0o73) + chr(101) + '\143' + chr(0b11110 + 0o121) + chr(0b1100100) + '\145')(chr(0b1110101) + chr(0b1110100) + chr(0b1011100 + 0o12) + chr(45) + chr(2433 - 2377)))(D4ybylS07yGH, roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xc4QFj\xb2\xd7\xbd\xd1e\xf1g\x97\x9c'), chr(0b111101 + 0o47) + chr(101) + chr(0b101101 + 0o66) + '\x6f' + '\x64' + '\145')('\165' + chr(116) + '\x66' + chr(0b101101) + chr(0b101101 + 0o13)))), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xccNNM\x8c\xdf\xa4\xc6C\xc0J\x83'), chr(100) + '\145' + '\143' + chr(111) + chr(0b1100100) + chr(0b1100101))(chr(117) + chr(116) + chr(102) + chr(0b11111 + 0o16) + chr(0b111000))))
roI3spqORKae(hXMPsSrOQzbh.grid_frame.main_btn_vbox, roI3spqORKae(ES5oEprVxulp(b'\xcc[K'), chr(100) + chr(101) + chr(0b1100011) + '\x6f' + chr(100) + chr(0b1100101))('\165' + chr(0b1 + 0o163) + chr(0b1100110) + chr(1606 - 1561) + chr(1539 - 1483)))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xccNNM\x8c\xdf\xa4\xc6C\xc0J\x83'), chr(100) + chr(0b1100101) + chr(0b1100000 + 0o3) + '\x6f' + chr(0b1100100) + chr(101))(chr(0b10001 + 0o144) + '\x74' + '\x66' + chr(45) + chr(0b101001 + 0o17))), flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xccsc'), chr(9035 - 8935) + '\145' + chr(0b1100011) + chr(8329 - 8218) + chr(5927 - 5827) + chr(4890 - 4789))('\165' + chr(116) + chr(102) + '\055' + chr(56))), border=nzTpIcepk0o8(chr(48) + chr(111) + chr(53), 0b1000))
roI3spqORKae(hXMPsSrOQzbh.grid_frame, roI3spqORKae(ES5oEprVxulp(b'\xe9Ppx\x88\xc2'), chr(5657 - 5557) + chr(101) + '\143' + chr(0b1110 + 0o141) + '\x64' + chr(101))(chr(0b1001011 + 0o52) + chr(116) + chr(9296 - 9194) + chr(261 - 216) + chr(0b110100 + 0o4)))(None, roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xe0VAA\x92\xdf\xaa\xc4'), chr(0b1100100) + chr(0b1100101) + chr(1400 - 1301) + chr(111) + '\x64' + chr(4015 - 3914))(chr(0b1110101) + chr(13279 - 13163) + '\146' + '\055' + '\070')))
roI3spqORKae(hXMPsSrOQzbh.grid_frame, roI3spqORKae(ES5oEprVxulp(b'\xceZAj\x93\xd3'), '\144' + chr(0b1100101) + chr(0b1100011) + chr(6839 - 6728) + chr(100) + chr(1367 - 1266))(chr(0b111100 + 0o71) + '\x74' + '\x66' + chr(0b11000 + 0o25) + chr(0b111000)))()
return
|
PmagPy/PmagPy
|
dialogs/pmag_er_magic_dialogs.py
|
ErMagicCheckFrame3.InitLocCheck
|
def InitLocCheck(self):
"""
make an interactive grid in which users can edit locations
"""
# if there is a location without a name, name it 'unknown'
self.contribution.rename_item('locations', 'nan', 'unknown')
# propagate lat/lon values from sites table
self.contribution.get_min_max_lat_lon()
# propagate lithologies & geologic classes from sites table
self.contribution.propagate_cols_up(['lithologies',
'geologic_classes'], 'locations', 'sites')
res = self.contribution.propagate_min_max_up()
if cb.not_null(res):
self.contribution.propagate_cols_up(['age_unit'], 'locations', 'sites')
# set up frame
self.panel = wx.Panel(self, style=wx.SIMPLE_BORDER)
self.grid_frame = grid_frame3.GridFrame(self.contribution, self.WD,
'locations', 'locations', self.panel,
main_frame=self.main_frame)
# redefine default 'save & exit grid' button to go to next dialog instead
self.grid_frame.exitButton.SetLabel('Save and continue')
grid = self.grid_frame.grid
self.grid_frame.Bind(wx.EVT_BUTTON,
lambda event: self.onContinue(event, grid, self.InitAgeCheck),
self.grid_frame.exitButton)
# add back button
self.backButton = wx.Button(self.grid_frame.panel, id=-1, label='Back',
name='back_btn')
self.Bind(wx.EVT_BUTTON,
lambda event: self.onbackButton(event, self.InitSiteCheck),
self.backButton)
self.grid_frame.main_btn_vbox.Add(self.backButton, flag=wx.ALL, border=5)
# re-do fit
self.grid_frame.do_fit(None, min_size=self.min_size)
# center
self.grid_frame.Centre()
return
|
python
|
def InitLocCheck(self):
"""
make an interactive grid in which users can edit locations
"""
# if there is a location without a name, name it 'unknown'
self.contribution.rename_item('locations', 'nan', 'unknown')
# propagate lat/lon values from sites table
self.contribution.get_min_max_lat_lon()
# propagate lithologies & geologic classes from sites table
self.contribution.propagate_cols_up(['lithologies',
'geologic_classes'], 'locations', 'sites')
res = self.contribution.propagate_min_max_up()
if cb.not_null(res):
self.contribution.propagate_cols_up(['age_unit'], 'locations', 'sites')
# set up frame
self.panel = wx.Panel(self, style=wx.SIMPLE_BORDER)
self.grid_frame = grid_frame3.GridFrame(self.contribution, self.WD,
'locations', 'locations', self.panel,
main_frame=self.main_frame)
# redefine default 'save & exit grid' button to go to next dialog instead
self.grid_frame.exitButton.SetLabel('Save and continue')
grid = self.grid_frame.grid
self.grid_frame.Bind(wx.EVT_BUTTON,
lambda event: self.onContinue(event, grid, self.InitAgeCheck),
self.grid_frame.exitButton)
# add back button
self.backButton = wx.Button(self.grid_frame.panel, id=-1, label='Back',
name='back_btn')
self.Bind(wx.EVT_BUTTON,
lambda event: self.onbackButton(event, self.InitSiteCheck),
self.backButton)
self.grid_frame.main_btn_vbox.Add(self.backButton, flag=wx.ALL, border=5)
# re-do fit
self.grid_frame.do_fit(None, min_size=self.min_size)
# center
self.grid_frame.Centre()
return
|
[
"def",
"InitLocCheck",
"(",
"self",
")",
":",
"# if there is a location without a name, name it 'unknown'",
"self",
".",
"contribution",
".",
"rename_item",
"(",
"'locations'",
",",
"'nan'",
",",
"'unknown'",
")",
"# propagate lat/lon values from sites table",
"self",
".",
"contribution",
".",
"get_min_max_lat_lon",
"(",
")",
"# propagate lithologies & geologic classes from sites table",
"self",
".",
"contribution",
".",
"propagate_cols_up",
"(",
"[",
"'lithologies'",
",",
"'geologic_classes'",
"]",
",",
"'locations'",
",",
"'sites'",
")",
"res",
"=",
"self",
".",
"contribution",
".",
"propagate_min_max_up",
"(",
")",
"if",
"cb",
".",
"not_null",
"(",
"res",
")",
":",
"self",
".",
"contribution",
".",
"propagate_cols_up",
"(",
"[",
"'age_unit'",
"]",
",",
"'locations'",
",",
"'sites'",
")",
"# set up frame",
"self",
".",
"panel",
"=",
"wx",
".",
"Panel",
"(",
"self",
",",
"style",
"=",
"wx",
".",
"SIMPLE_BORDER",
")",
"self",
".",
"grid_frame",
"=",
"grid_frame3",
".",
"GridFrame",
"(",
"self",
".",
"contribution",
",",
"self",
".",
"WD",
",",
"'locations'",
",",
"'locations'",
",",
"self",
".",
"panel",
",",
"main_frame",
"=",
"self",
".",
"main_frame",
")",
"# redefine default 'save & exit grid' button to go to next dialog instead",
"self",
".",
"grid_frame",
".",
"exitButton",
".",
"SetLabel",
"(",
"'Save and continue'",
")",
"grid",
"=",
"self",
".",
"grid_frame",
".",
"grid",
"self",
".",
"grid_frame",
".",
"Bind",
"(",
"wx",
".",
"EVT_BUTTON",
",",
"lambda",
"event",
":",
"self",
".",
"onContinue",
"(",
"event",
",",
"grid",
",",
"self",
".",
"InitAgeCheck",
")",
",",
"self",
".",
"grid_frame",
".",
"exitButton",
")",
"# add back button",
"self",
".",
"backButton",
"=",
"wx",
".",
"Button",
"(",
"self",
".",
"grid_frame",
".",
"panel",
",",
"id",
"=",
"-",
"1",
",",
"label",
"=",
"'Back'",
",",
"name",
"=",
"'back_btn'",
")",
"self",
".",
"Bind",
"(",
"wx",
".",
"EVT_BUTTON",
",",
"lambda",
"event",
":",
"self",
".",
"onbackButton",
"(",
"event",
",",
"self",
".",
"InitSiteCheck",
")",
",",
"self",
".",
"backButton",
")",
"self",
".",
"grid_frame",
".",
"main_btn_vbox",
".",
"Add",
"(",
"self",
".",
"backButton",
",",
"flag",
"=",
"wx",
".",
"ALL",
",",
"border",
"=",
"5",
")",
"# re-do fit",
"self",
".",
"grid_frame",
".",
"do_fit",
"(",
"None",
",",
"min_size",
"=",
"self",
".",
"min_size",
")",
"# center",
"self",
".",
"grid_frame",
".",
"Centre",
"(",
")",
"return"
] |
make an interactive grid in which users can edit locations
|
[
"make",
"an",
"interactive",
"grid",
"in",
"which",
"users",
"can",
"edit",
"locations"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/dialogs/pmag_er_magic_dialogs.py#L141-L178
|
train
|
Initialize the locations grid
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(1996 - 1948) + chr(111) + chr(51) + chr(0b110001) + chr(1661 - 1611), 0o10), nzTpIcepk0o8(chr(1934 - 1886) + chr(111) + '\x31' + chr(535 - 483) + '\064', 0b1000), nzTpIcepk0o8(chr(1876 - 1828) + chr(0b10000 + 0o137) + chr(0b101000 + 0o11) + '\064' + '\064', 8), nzTpIcepk0o8('\060' + chr(6583 - 6472) + chr(851 - 802) + '\x31' + '\x33', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\062' + chr(0b110010) + '\x33', 0b1000), nzTpIcepk0o8('\x30' + '\157' + chr(321 - 271) + '\067' + chr(0b110111), 0b1000), nzTpIcepk0o8('\x30' + '\157' + '\063' + '\066' + chr(52), 0b1000), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b110001) + chr(1584 - 1535) + '\063', 8), nzTpIcepk0o8(chr(0b100111 + 0o11) + chr(0b1101111) + chr(0b110010) + chr(0b110000), ord("\x08")), nzTpIcepk0o8('\x30' + '\x6f' + '\x32' + chr(2155 - 2106), 27146 - 27138), nzTpIcepk0o8(chr(48) + chr(0b1011110 + 0o21) + chr(0b110011) + '\x36', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b10 + 0o61) + chr(54) + chr(49), 38526 - 38518), nzTpIcepk0o8('\x30' + '\x6f' + chr(51) + '\x35' + chr(0b100001 + 0o25), 0b1000), nzTpIcepk0o8(chr(0b10111 + 0o31) + chr(10118 - 10007) + '\x32' + chr(0b110001) + chr(0b110011), 61701 - 61693), nzTpIcepk0o8(chr(475 - 427) + '\157' + chr(1322 - 1271) + chr(0b110011) + chr(50), 0o10), nzTpIcepk0o8(chr(48) + '\x6f' + '\x31' + chr(50) + chr(297 - 247), 0b1000), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b110001) + '\x31' + '\063', 8), nzTpIcepk0o8(chr(1743 - 1695) + chr(111) + chr(843 - 794) + chr(51), 0b1000), nzTpIcepk0o8(chr(48) + chr(111) + chr(50) + chr(958 - 909), 8), nzTpIcepk0o8(chr(0b110000) + chr(3050 - 2939) + chr(50) + chr(135 - 85), 64366 - 64358), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\x35' + chr(49), 17296 - 17288), nzTpIcepk0o8(chr(1716 - 1668) + chr(0b1101111) + chr(51) + '\x36' + '\x35', 0b1000), nzTpIcepk0o8(chr(0b100101 + 0o13) + chr(0b1101111) + '\062' + '\061', 8), nzTpIcepk0o8(chr(0b1111 + 0o41) + '\x6f' + chr(0b110011) + chr(2227 - 2174) + '\x30', 0o10), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110010) + chr(0b11100 + 0o27) + chr(0b11 + 0o57), 49104 - 49096), nzTpIcepk0o8('\x30' + chr(111) + '\062' + chr(918 - 866) + '\061', 0b1000), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b110011) + '\060' + '\x32', 0b1000), nzTpIcepk0o8(chr(295 - 247) + chr(0b1101111) + '\x35' + chr(0b100101 + 0o17), 36435 - 36427), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b100111 + 0o12) + chr(51) + chr(1934 - 1884), 64361 - 64353), nzTpIcepk0o8('\x30' + chr(111) + chr(1487 - 1437) + chr(1279 - 1226) + chr(0b1 + 0o57), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b11010 + 0o125) + chr(0b110101) + chr(2470 - 2420), 25051 - 25043), nzTpIcepk0o8(chr(48) + chr(0b1000101 + 0o52) + chr(418 - 367) + chr(0b10101 + 0o33) + chr(50), 8), nzTpIcepk0o8('\x30' + chr(111) + chr(0b100100 + 0o16) + chr(0b110110) + chr(48), 11454 - 11446), nzTpIcepk0o8('\060' + chr(111) + '\x31' + chr(48) + '\x31', 0o10), nzTpIcepk0o8('\x30' + '\157' + chr(0b11110 + 0o24) + '\065' + chr(55), 0b1000), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\065' + chr(852 - 804), 4297 - 4289), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b100010 + 0o21) + chr(0b110010) + '\067', ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1100100 + 0o13) + chr(408 - 359) + chr(0b110011) + chr(0b10001 + 0o46), ord("\x08")), nzTpIcepk0o8(chr(1340 - 1292) + chr(0b1101111) + chr(0b110001) + chr(0b101111 + 0o7) + '\x31', 0b1000), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(49) + chr(0b10010 + 0o40), 0b1000)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(2189 - 2141) + chr(11319 - 11208) + chr(474 - 421) + chr(0b110000), 8)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xe4'), chr(0b1100100) + '\x65' + '\143' + '\x6f' + chr(8869 - 8769) + '\145')(chr(117) + chr(116) + chr(102) + '\055' + chr(1434 - 1378)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def m0enwqfTfbrC(hXMPsSrOQzbh):
roI3spqORKae(hXMPsSrOQzbh.contribution, roI3spqORKae(ES5oEprVxulp(b'\xb8\x01\n*\xfe\xda\xab"dts'), '\x64' + '\x65' + '\143' + '\157' + chr(0b111000 + 0o54) + chr(0b101 + 0o140))(chr(573 - 456) + chr(0b1001100 + 0o50) + '\x66' + chr(45) + chr(0b1 + 0o67)))(roI3spqORKae(ES5oEprVxulp(b'\xa6\x0b\x07*\xe7\xd6\x9b%c'), chr(0b1100100) + '\x65' + chr(0b1100011) + chr(111) + chr(100) + chr(0b101110 + 0o67))('\x75' + '\164' + '\x66' + chr(45) + chr(0b101001 + 0o17)), roI3spqORKae(ES5oEprVxulp(b'\xa4\x05\n'), chr(100) + '\145' + chr(0b11100 + 0o107) + chr(0b1101111) + '\144' + chr(7497 - 7396))(chr(13324 - 13207) + chr(0b1110100) + chr(4459 - 4357) + chr(0b101101) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xbf\n\x0f%\xfc\xc8\x9a'), chr(100) + '\145' + chr(3723 - 3624) + chr(10157 - 10046) + chr(0b10110 + 0o116) + '\145')(chr(0b11011 + 0o132) + '\164' + '\x66' + '\x2d' + chr(0b111000)))
roI3spqORKae(hXMPsSrOQzbh.contribution, roI3spqORKae(ES5oEprVxulp(b"\xad\x01\x10\x14\xfe\xd6\x9a\x14}pf\xae\x82\xea\xae\r'd\x7f"), chr(100) + chr(0b101111 + 0o66) + chr(99) + chr(111) + chr(0b0 + 0o144) + '\145')(chr(5942 - 5825) + '\164' + chr(102) + '\x2d' + chr(0b111000)))()
roI3spqORKae(hXMPsSrOQzbh.contribution, roI3spqORKae(ES5oEprVxulp(b"\xba\x16\x0b;\xf2\xd8\x95?uN}\x9e\x82\xf8\x85';"), chr(100) + chr(3133 - 3032) + chr(0b101 + 0o136) + '\157' + chr(0b1011011 + 0o11) + chr(9684 - 9583))(chr(10669 - 10552) + '\x74' + chr(1768 - 1666) + chr(0b1 + 0o54) + chr(56)))([roI3spqORKae(ES5oEprVxulp(b'\xa6\r\x10#\xfc\xd3\x9b,ytm'), '\144' + chr(0b1010111 + 0o16) + chr(7875 - 7776) + '\157' + chr(0b111101 + 0o47) + '\145')(chr(0b1110101) + chr(873 - 757) + chr(0b1100110) + chr(0b101101) + '\070'), roI3spqORKae(ES5oEprVxulp(b"\xad\x01\x0b'\xfc\xd8\x9d(Orr\x90\x9d\xf8\xbf!"), '\x64' + chr(572 - 471) + chr(0b1000010 + 0o41) + chr(111) + chr(100) + chr(0b101100 + 0o71))(chr(0b1110101) + '\164' + chr(0b111111 + 0o47) + chr(266 - 221) + chr(0b101 + 0o63))], roI3spqORKae(ES5oEprVxulp(b'\xa6\x0b\x07*\xe7\xd6\x9b%c'), chr(0b1100100) + chr(0b1100101) + '\x63' + chr(4714 - 4603) + chr(100) + chr(101))(chr(2422 - 2305) + chr(2808 - 2692) + '\146' + chr(45) + chr(0b10001 + 0o47)), roI3spqORKae(ES5oEprVxulp(b'\xb9\r\x10.\xe0'), '\144' + '\145' + chr(0b101010 + 0o71) + chr(111) + chr(0b1100100) + chr(0b1000010 + 0o43))(chr(0b10110 + 0o137) + chr(0b1110100) + chr(0b1011 + 0o133) + chr(0b11101 + 0o20) + '\070'))
_XdQFJpnzJor = hXMPsSrOQzbh.contribution.propagate_min_max_up()
if roI3spqORKae(RYEhqzIVZREo, roI3spqORKae(ES5oEprVxulp(b'\x854\x00%\xd0\xec\xa3%H\\U\xbc'), '\x64' + '\145' + '\x63' + chr(0b11000 + 0o127) + chr(100) + chr(0b1001110 + 0o27))(chr(117) + '\x74' + chr(0b1100110) + chr(763 - 718) + chr(270 - 214)))(_XdQFJpnzJor):
roI3spqORKae(hXMPsSrOQzbh.contribution, roI3spqORKae(ES5oEprVxulp(b"\xba\x16\x0b;\xf2\xd8\x95?uN}\x9e\x82\xf8\x85';"), chr(0b1100100) + '\x65' + '\x63' + '\157' + '\144' + chr(101))('\x75' + chr(0b1110100) + chr(0b111000 + 0o56) + chr(715 - 670) + '\070'))([roI3spqORKae(ES5oEprVxulp(b'\xab\x03\x01\x14\xe6\xd1\x9d?'), chr(0b1100011 + 0o1) + '\x65' + '\x63' + '\x6f' + '\144' + '\145')('\165' + chr(0b1100111 + 0o15) + chr(0b1011010 + 0o14) + '\055' + chr(0b100001 + 0o27))], roI3spqORKae(ES5oEprVxulp(b'\xa6\x0b\x07*\xe7\xd6\x9b%c'), chr(0b110011 + 0o61) + chr(101) + '\143' + '\157' + chr(0b1100100) + '\x65')('\x75' + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(692 - 636)), roI3spqORKae(ES5oEprVxulp(b'\xb9\r\x10.\xe0'), chr(4300 - 4200) + '\145' + chr(99) + chr(8812 - 8701) + chr(6066 - 5966) + '\145')(chr(0b1110101) + chr(149 - 33) + chr(6066 - 5964) + chr(45) + '\070'))
hXMPsSrOQzbh.tqXV8VwoxdNA = FHAk5xm055cs.Panel(hXMPsSrOQzbh, style=FHAk5xm055cs.SIMPLE_BORDER)
hXMPsSrOQzbh.RMJhrnxxE28l = SXkAcofDK92l.GridFrame(hXMPsSrOQzbh.bSiGoWKHgDdJ, hXMPsSrOQzbh.GP1zEShDyCxL, roI3spqORKae(ES5oEprVxulp(b'\xa6\x0b\x07*\xe7\xd6\x9b%c'), chr(324 - 224) + chr(9057 - 8956) + '\x63' + chr(111) + '\144' + chr(0b1100101))('\x75' + chr(0b1110100) + chr(102) + '\055' + chr(976 - 920)), roI3spqORKae(ES5oEprVxulp(b'\xa6\x0b\x07*\xe7\xd6\x9b%c'), chr(100) + chr(101) + chr(0b1001000 + 0o33) + chr(0b1101111) + chr(982 - 882) + '\x65')('\165' + chr(116) + chr(0b100001 + 0o105) + chr(0b11110 + 0o17) + '\070'), hXMPsSrOQzbh.tqXV8VwoxdNA, main_frame=hXMPsSrOQzbh.main_frame)
roI3spqORKae(hXMPsSrOQzbh.grid_frame.exitButton, roI3spqORKae(ES5oEprVxulp(b"\x99\x01\x10\x07\xf2\xdd\x91'"), chr(100) + '\145' + chr(99) + '\157' + '\144' + '\145')(chr(0b1110101) + chr(0b1011100 + 0o30) + chr(0b1010111 + 0o17) + chr(772 - 727) + chr(56)))(roI3spqORKae(ES5oEprVxulp(b"\x99\x05\x12.\xb3\xde\x9a/0rq\x9f\x9a\xe2\xb4'."), '\x64' + chr(6991 - 6890) + chr(99) + chr(0b1101111) + chr(0b1100100) + chr(7061 - 6960))(chr(0b1110101) + chr(0b1100 + 0o150) + '\x66' + chr(646 - 601) + chr(176 - 120)))
xiP5QxYWlEkW = hXMPsSrOQzbh.grid_frame.xiP5QxYWlEkW
roI3spqORKae(hXMPsSrOQzbh.grid_frame, roI3spqORKae(ES5oEprVxulp(b'\x88\r\n/'), chr(100) + '\x65' + '\143' + chr(0b1100101 + 0o12) + chr(2421 - 2321) + '\x65')('\165' + chr(116) + chr(5621 - 5519) + chr(0b11 + 0o52) + chr(803 - 747)))(roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\x8f20\x14\xd1\xea\xa0\x1f__'), chr(9213 - 9113) + chr(101) + '\143' + '\x6f' + '\x64' + chr(0b1100101))(chr(4807 - 4690) + chr(716 - 600) + chr(0b1011010 + 0o14) + chr(626 - 581) + chr(1039 - 983))), lambda D4ybylS07yGH: roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b"\xa5\n'$\xfd\xcb\x9d%et"), '\144' + '\x65' + '\143' + chr(111) + chr(100) + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + chr(0b1011111 + 0o7) + chr(0b101101) + chr(2507 - 2451)))(D4ybylS07yGH, xiP5QxYWlEkW, roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x83\n\r?\xd2\xd8\x91\x08xt}\x9a'), '\144' + chr(0b1100101) + chr(0b1100011) + chr(0b1101111) + '\x64' + '\x65')('\165' + '\x74' + '\146' + '\055' + chr(0b1010 + 0o56)))), roI3spqORKae(hXMPsSrOQzbh.grid_frame, roI3spqORKae(ES5oEprVxulp(b'\xaf\x1c\r?\xd1\xca\x80?\x7f\x7f'), '\x64' + '\x65' + '\x63' + chr(5891 - 5780) + chr(0b1101 + 0o127) + '\x65')(chr(0b1110101) + chr(116) + chr(0b1001011 + 0o33) + chr(0b101101) + chr(56))))
hXMPsSrOQzbh.AqaSmitgeYHw = FHAk5xm055cs.Button(hXMPsSrOQzbh.grid_frame.tqXV8VwoxdNA, id=-nzTpIcepk0o8('\060' + '\157' + chr(49), 0b1000), label=roI3spqORKae(ES5oEprVxulp(b'\x88\x05\x07 '), chr(0b1100100) + '\145' + chr(0b1011100 + 0o7) + '\157' + chr(0b1000010 + 0o42) + chr(1928 - 1827))(chr(3895 - 3778) + '\164' + chr(102) + chr(270 - 225) + chr(0b100101 + 0o23)), name=roI3spqORKae(ES5oEprVxulp(b'\xa8\x05\x07 \xcc\xdd\x80%'), '\144' + chr(101) + chr(7721 - 7622) + chr(0b1101111) + chr(0b101001 + 0o73) + chr(0b1100101))('\165' + '\x74' + chr(0b1000110 + 0o40) + chr(45) + chr(0b111000)))
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x88\r\n/'), chr(100) + '\145' + '\x63' + chr(421 - 310) + '\x64' + '\x65')('\x75' + '\x74' + chr(0b11 + 0o143) + '\055' + chr(2632 - 2576)))(roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\x8f20\x14\xd1\xea\xa0\x1f__'), chr(1075 - 975) + chr(101) + chr(99) + chr(111) + '\144' + chr(0b1100 + 0o131))(chr(8912 - 8795) + '\164' + chr(0b10 + 0o144) + '\x2d' + chr(0b111000))), lambda D4ybylS07yGH: roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xa5\n\x06*\xf0\xd4\xb6>deq\x9f'), chr(100) + '\x65' + chr(0b1100011) + chr(0b1001011 + 0o44) + chr(0b1010110 + 0o16) + chr(101))(chr(0b1 + 0o164) + '\x74' + chr(3556 - 3454) + chr(0b100001 + 0o14) + chr(0b11111 + 0o31)))(D4ybylS07yGH, roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x83\n\r?\xc0\xd6\x80.Sy{\x92\x85'), chr(0b11010 + 0o112) + chr(101) + '\143' + chr(0b1010000 + 0o37) + chr(0b1100100) + chr(0b1100101))('\x75' + '\164' + chr(0b1100110) + '\x2d' + '\x38'))), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x8b\x15\x05\x18\xfe\xd6\x80,uHV\x86'), chr(8493 - 8393) + chr(0b1100101) + chr(99) + chr(0b1101111) + '\144' + '\145')(chr(9972 - 9855) + chr(0b1110100) + '\146' + chr(45) + chr(56))))
roI3spqORKae(hXMPsSrOQzbh.grid_frame.main_btn_vbox, roI3spqORKae(ES5oEprVxulp(b'\x8b\x00\x00'), '\144' + '\x65' + chr(4280 - 4181) + '\x6f' + chr(0b11101 + 0o107) + chr(101))(chr(13607 - 13490) + chr(6118 - 6002) + '\146' + '\055' + chr(3093 - 3037)))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x8b\x15\x05\x18\xfe\xd6\x80,uHV\x86'), chr(100) + chr(101) + '\143' + chr(3866 - 3755) + '\144' + '\145')(chr(0b11101 + 0o130) + '\x74' + chr(102) + chr(0b1010 + 0o43) + chr(56))), flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\x8b(('), '\x64' + chr(0b101010 + 0o73) + '\143' + chr(0b1101111) + chr(0b11110 + 0o106) + '\145')(chr(0b1110101) + '\164' + '\x66' + chr(0b101101) + chr(177 - 121))), border=nzTpIcepk0o8('\060' + chr(111) + '\x35', 0o10))
roI3spqORKae(hXMPsSrOQzbh.grid_frame, roI3spqORKae(ES5oEprVxulp(b'\xae\x0b;-\xfa\xcb'), chr(0b11110 + 0o106) + chr(2974 - 2873) + chr(2943 - 2844) + '\157' + chr(0b1100100) + '\145')(chr(0b1001000 + 0o55) + chr(116) + '\146' + '\055' + chr(56)))(None, min_size=roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xa7\r\n\x14\xe0\xd6\x8e.'), '\x64' + chr(101) + '\x63' + chr(7161 - 7050) + chr(0b111011 + 0o51) + chr(101))(chr(9698 - 9581) + '\164' + '\x66' + chr(0b101101) + chr(0b100 + 0o64))))
roI3spqORKae(hXMPsSrOQzbh.grid_frame, roI3spqORKae(ES5oEprVxulp(b'\x89\x01\n?\xe1\xda'), chr(7874 - 7774) + chr(2028 - 1927) + chr(99) + '\x6f' + chr(446 - 346) + '\x65')(chr(0b1000001 + 0o64) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(0b10000 + 0o50)))()
return
|
PmagPy/PmagPy
|
dialogs/pmag_er_magic_dialogs.py
|
ErMagicCheckFrame3.InitAgeCheck
|
def InitAgeCheck(self):
"""make an interactive grid in which users can edit ages"""
age_df = self.contribution.tables['ages'].df
self.panel = wx.Panel(self, style=wx.SIMPLE_BORDER)
self.grid_frame = grid_frame3.GridFrame(self.contribution, self.WD,
'ages', 'ages', self.panel,
main_frame=self.main_frame)
self.grid_frame.exitButton.SetLabel('Save and continue')
grid = self.grid_frame.grid
self.grid_frame.Bind(wx.EVT_BUTTON, lambda event: self.onContinue(event, grid, None),
self.grid_frame.exitButton)
# add back button
self.backButton = wx.Button(self.grid_frame.panel, id=-1, label='Back',
name='back_btn')
self.Bind(wx.EVT_BUTTON,
lambda event: self.onbackButton(event, self.InitLocCheck),
self.backButton)
self.grid_frame.main_btn_vbox.Add(self.backButton, flag=wx.ALL, border=5)
# re-do fit
self.grid_frame.do_fit(None, self.min_size)
# center
self.grid_frame.Centre()
return
|
python
|
def InitAgeCheck(self):
"""make an interactive grid in which users can edit ages"""
age_df = self.contribution.tables['ages'].df
self.panel = wx.Panel(self, style=wx.SIMPLE_BORDER)
self.grid_frame = grid_frame3.GridFrame(self.contribution, self.WD,
'ages', 'ages', self.panel,
main_frame=self.main_frame)
self.grid_frame.exitButton.SetLabel('Save and continue')
grid = self.grid_frame.grid
self.grid_frame.Bind(wx.EVT_BUTTON, lambda event: self.onContinue(event, grid, None),
self.grid_frame.exitButton)
# add back button
self.backButton = wx.Button(self.grid_frame.panel, id=-1, label='Back',
name='back_btn')
self.Bind(wx.EVT_BUTTON,
lambda event: self.onbackButton(event, self.InitLocCheck),
self.backButton)
self.grid_frame.main_btn_vbox.Add(self.backButton, flag=wx.ALL, border=5)
# re-do fit
self.grid_frame.do_fit(None, self.min_size)
# center
self.grid_frame.Centre()
return
|
[
"def",
"InitAgeCheck",
"(",
"self",
")",
":",
"age_df",
"=",
"self",
".",
"contribution",
".",
"tables",
"[",
"'ages'",
"]",
".",
"df",
"self",
".",
"panel",
"=",
"wx",
".",
"Panel",
"(",
"self",
",",
"style",
"=",
"wx",
".",
"SIMPLE_BORDER",
")",
"self",
".",
"grid_frame",
"=",
"grid_frame3",
".",
"GridFrame",
"(",
"self",
".",
"contribution",
",",
"self",
".",
"WD",
",",
"'ages'",
",",
"'ages'",
",",
"self",
".",
"panel",
",",
"main_frame",
"=",
"self",
".",
"main_frame",
")",
"self",
".",
"grid_frame",
".",
"exitButton",
".",
"SetLabel",
"(",
"'Save and continue'",
")",
"grid",
"=",
"self",
".",
"grid_frame",
".",
"grid",
"self",
".",
"grid_frame",
".",
"Bind",
"(",
"wx",
".",
"EVT_BUTTON",
",",
"lambda",
"event",
":",
"self",
".",
"onContinue",
"(",
"event",
",",
"grid",
",",
"None",
")",
",",
"self",
".",
"grid_frame",
".",
"exitButton",
")",
"# add back button",
"self",
".",
"backButton",
"=",
"wx",
".",
"Button",
"(",
"self",
".",
"grid_frame",
".",
"panel",
",",
"id",
"=",
"-",
"1",
",",
"label",
"=",
"'Back'",
",",
"name",
"=",
"'back_btn'",
")",
"self",
".",
"Bind",
"(",
"wx",
".",
"EVT_BUTTON",
",",
"lambda",
"event",
":",
"self",
".",
"onbackButton",
"(",
"event",
",",
"self",
".",
"InitLocCheck",
")",
",",
"self",
".",
"backButton",
")",
"self",
".",
"grid_frame",
".",
"main_btn_vbox",
".",
"Add",
"(",
"self",
".",
"backButton",
",",
"flag",
"=",
"wx",
".",
"ALL",
",",
"border",
"=",
"5",
")",
"# re-do fit",
"self",
".",
"grid_frame",
".",
"do_fit",
"(",
"None",
",",
"self",
".",
"min_size",
")",
"# center",
"self",
".",
"grid_frame",
".",
"Centre",
"(",
")",
"return"
] |
make an interactive grid in which users can edit ages
|
[
"make",
"an",
"interactive",
"grid",
"in",
"which",
"users",
"can",
"edit",
"ages"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/dialogs/pmag_er_magic_dialogs.py#L181-L203
|
train
|
make an interactive grid in which users can edit ages
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(0b10101 + 0o33) + '\157' + chr(0b110 + 0o60) + chr(0b10100 + 0o41), 50852 - 50844), nzTpIcepk0o8('\x30' + chr(0b1010001 + 0o36) + chr(0b1100 + 0o45) + chr(0b110101) + chr(0b1110 + 0o44), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(9912 - 9801) + chr(0b110000 + 0o3) + '\x33' + chr(0b110011), 0o10), nzTpIcepk0o8(chr(0b100000 + 0o20) + '\x6f' + chr(0b11001 + 0o30) + chr(55) + chr(54), 26834 - 26826), nzTpIcepk0o8(chr(0b11 + 0o55) + chr(0b100111 + 0o110) + chr(2144 - 2094) + chr(1379 - 1328) + chr(0b110111), 56815 - 56807), nzTpIcepk0o8('\060' + chr(2920 - 2809) + '\x32' + chr(1525 - 1474) + '\x31', 0b1000), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(2038 - 1988) + '\x33' + chr(0b110111), 8), nzTpIcepk0o8(chr(0b110000) + chr(11543 - 11432) + chr(49) + '\060' + chr(0b110100), 0o10), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\064' + chr(2114 - 2060), 0o10), nzTpIcepk0o8('\x30' + chr(6203 - 6092) + chr(0b110100) + '\x31', 0o10), nzTpIcepk0o8('\x30' + chr(735 - 624) + chr(0b11111 + 0o23) + '\x31' + '\060', 47452 - 47444), nzTpIcepk0o8(chr(0b110000) + chr(8907 - 8796) + chr(0b10010 + 0o37) + '\x36' + chr(0b1 + 0o65), 0b1000), nzTpIcepk0o8(chr(0b100011 + 0o15) + chr(111) + chr(0b110 + 0o55) + '\067', 0o10), nzTpIcepk0o8(chr(0b1010 + 0o46) + chr(4185 - 4074) + '\063' + chr(0b100011 + 0o22) + chr(49), 43456 - 43448), nzTpIcepk0o8(chr(979 - 931) + chr(0b1000 + 0o147) + chr(766 - 717) + '\066' + '\x30', 13220 - 13212), nzTpIcepk0o8(chr(0b11 + 0o55) + chr(0b1 + 0o156) + '\062' + chr(0b100100 + 0o23) + chr(0b110011), ord("\x08")), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b10011 + 0o36) + '\065', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\062' + chr(0b110011) + chr(0b110000), 22527 - 22519), nzTpIcepk0o8(chr(0b101010 + 0o6) + chr(0b1011 + 0o144) + chr(0b101010 + 0o11) + chr(50) + chr(0b11001 + 0o33), 0o10), nzTpIcepk0o8(chr(48) + '\157' + chr(0b11 + 0o57), 0b1000), nzTpIcepk0o8(chr(2161 - 2113) + chr(0b110101 + 0o72) + chr(1747 - 1698) + chr(458 - 410) + '\x32', 0b1000), nzTpIcepk0o8('\060' + '\157' + '\061' + '\065' + chr(0b110000), 0b1000), nzTpIcepk0o8(chr(0b1111 + 0o41) + '\x6f' + chr(51) + chr(0b110001) + chr(55), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b111101 + 0o62) + chr(50) + chr(2153 - 2100) + '\x31', ord("\x08")), nzTpIcepk0o8(chr(1605 - 1557) + chr(3307 - 3196) + chr(165 - 112) + chr(53), 0b1000), nzTpIcepk0o8(chr(0b10110 + 0o32) + '\x6f' + '\061' + chr(0b110100) + '\x32', 0o10), nzTpIcepk0o8('\x30' + '\157' + chr(0b110011) + chr(0b110001) + '\065', 0o10), nzTpIcepk0o8(chr(0b1111 + 0o41) + '\157' + chr(0b100011 + 0o21) + chr(85 - 37), 51651 - 51643), nzTpIcepk0o8(chr(48) + '\157' + chr(51) + chr(0b110100) + chr(0b101010 + 0o7), 0o10), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x31' + '\064' + chr(0b1111 + 0o44), 0b1000), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(2379 - 2329) + '\062', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(1170 - 1120) + chr(0b110110) + chr(0b1000 + 0o57), 23700 - 23692), nzTpIcepk0o8(chr(0b100111 + 0o11) + chr(5251 - 5140) + chr(830 - 780) + '\063' + chr(0b110010), 0b1000), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b110011) + chr(396 - 343) + chr(0b110100), 0o10), nzTpIcepk0o8(chr(0b101111 + 0o1) + chr(0b1001000 + 0o47) + chr(0b110001) + '\067' + '\064', 0b1000), nzTpIcepk0o8('\060' + chr(9174 - 9063) + chr(0b110011) + '\x30', ord("\x08")), nzTpIcepk0o8(chr(395 - 347) + chr(0b1001101 + 0o42) + chr(0b110010) + chr(0b110101) + chr(2222 - 2169), 0b1000), nzTpIcepk0o8(chr(1602 - 1554) + '\157' + chr(2241 - 2191) + '\x31', ord("\x08")), nzTpIcepk0o8(chr(0b10001 + 0o37) + chr(0b1101111) + chr(0b110011) + chr(580 - 530) + chr(1943 - 1889), 0o10), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b10011 + 0o37) + '\063' + '\060', 8)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(0b1100 + 0o44) + chr(8834 - 8723) + chr(53) + chr(0b110000), ord("\x08"))] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\x1b'), '\x64' + chr(0b1100101) + '\143' + chr(0b1101111) + chr(3663 - 3563) + chr(3537 - 3436))(chr(9240 - 9123) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(0b111000)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def pTguzNK5iVxl(hXMPsSrOQzbh):
tY6EvmKKyC30 = hXMPsSrOQzbh.contribution.tables[roI3spqORKae(ES5oEprVxulp(b'T\r\xbe\r'), chr(0b1100100) + chr(101) + chr(0b1100011) + chr(0b1101011 + 0o4) + chr(1487 - 1387) + '\145')('\x75' + chr(11095 - 10979) + '\x66' + chr(0b101101) + chr(2744 - 2688))].jpOn8DNZxbbx
hXMPsSrOQzbh.tqXV8VwoxdNA = FHAk5xm055cs.Panel(hXMPsSrOQzbh, style=FHAk5xm055cs.SIMPLE_BORDER)
hXMPsSrOQzbh.RMJhrnxxE28l = SXkAcofDK92l.GridFrame(hXMPsSrOQzbh.bSiGoWKHgDdJ, hXMPsSrOQzbh.GP1zEShDyCxL, roI3spqORKae(ES5oEprVxulp(b'T\r\xbe\r'), '\x64' + '\x65' + chr(0b1100011) + chr(111) + chr(0b1000111 + 0o35) + chr(101))(chr(3718 - 3601) + '\x74' + '\146' + chr(45) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'T\r\xbe\r'), chr(0b1100100) + '\145' + '\143' + '\157' + chr(0b1110 + 0o126) + chr(3648 - 3547))(chr(6992 - 6875) + chr(5502 - 5386) + chr(7899 - 7797) + chr(1899 - 1854) + chr(0b111000)), hXMPsSrOQzbh.tqXV8VwoxdNA, main_frame=hXMPsSrOQzbh.main_frame)
roI3spqORKae(hXMPsSrOQzbh.grid_frame.exitButton, roI3spqORKae(ES5oEprVxulp(b'f\x0f\xaf2\xfe\xfb\xfa('), chr(0b111011 + 0o51) + chr(0b1100101) + chr(99) + chr(5683 - 5572) + '\144' + chr(0b111100 + 0o51))(chr(117) + chr(2992 - 2876) + chr(0b1100110) + chr(0b100011 + 0o12) + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b'f\x0b\xad\x1b\xbf\xf8\xf1 \x06B\xe7\x18k\x80\x1e\xceh'), chr(0b11110 + 0o106) + '\x65' + chr(0b1100011) + chr(0b111011 + 0o64) + chr(3246 - 3146) + chr(0b10111 + 0o116))(chr(0b1110101 + 0o0) + '\164' + chr(7507 - 7405) + chr(463 - 418) + '\070'))
xiP5QxYWlEkW = hXMPsSrOQzbh.grid_frame.xiP5QxYWlEkW
roI3spqORKae(hXMPsSrOQzbh.grid_frame, roI3spqORKae(ES5oEprVxulp(b'w\x03\xb5\x1a'), chr(0b110100 + 0o60) + chr(3644 - 3543) + chr(0b1001101 + 0o26) + '\x6f' + chr(0b111 + 0o135) + '\x65')(chr(117) + chr(9503 - 9387) + chr(102) + '\x2d' + '\x38'))(roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'p<\x8f!\xdd\xcc\xcb\x10io'), chr(5195 - 5095) + chr(4002 - 3901) + chr(0b1100011) + chr(0b1101111) + '\144' + chr(0b1100101))(chr(0b1101011 + 0o12) + '\164' + chr(8413 - 8311) + '\055' + chr(0b11110 + 0o32))), lambda D4ybylS07yGH: roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'Z\x04\x98\x11\xf1\xed\xf6*SD'), chr(0b1100100) + '\145' + chr(0b1100011) + chr(0b1101111) + chr(0b1010000 + 0o24) + '\145')(chr(9782 - 9665) + chr(116) + chr(9951 - 9849) + chr(0b101101) + '\070'))(D4ybylS07yGH, xiP5QxYWlEkW, None), roI3spqORKae(hXMPsSrOQzbh.grid_frame, roI3spqORKae(ES5oEprVxulp(b'P\x12\xb2\n\xdd\xec\xeb0IO'), '\144' + chr(101) + '\x63' + '\x6f' + '\x64' + chr(4208 - 4107))(chr(9863 - 9746) + chr(0b1110100) + chr(7878 - 7776) + chr(0b11100 + 0o21) + chr(0b10011 + 0o45))))
hXMPsSrOQzbh.AqaSmitgeYHw = FHAk5xm055cs.Button(hXMPsSrOQzbh.grid_frame.tqXV8VwoxdNA, id=-nzTpIcepk0o8('\x30' + chr(7696 - 7585) + '\x31', 0o10), label=roI3spqORKae(ES5oEprVxulp(b'w\x0b\xb8\x15'), chr(1496 - 1396) + '\145' + chr(4477 - 4378) + '\x6f' + chr(399 - 299) + chr(0b1100101))(chr(5171 - 5054) + chr(0b11100 + 0o130) + '\146' + chr(0b11 + 0o52) + chr(0b111000)), name=roI3spqORKae(ES5oEprVxulp(b'W\x0b\xb8\x15\xc0\xfb\xeb*'), chr(0b1100100) + '\145' + chr(0b1100011) + chr(111) + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + chr(116) + '\146' + chr(0b101101) + '\x38'))
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'w\x03\xb5\x1a'), '\144' + chr(101) + chr(99) + chr(0b111 + 0o150) + '\x64' + '\x65')(chr(117) + chr(0b1010111 + 0o35) + chr(4235 - 4133) + '\x2d' + '\070'))(roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'p<\x8f!\xdd\xcc\xcb\x10io'), '\144' + '\145' + '\143' + '\157' + chr(0b1100100) + chr(101))('\165' + chr(0b110110 + 0o76) + '\x66' + chr(0b101101) + '\x38')), lambda D4ybylS07yGH: roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'Z\x04\xb9\x1f\xfc\xf2\xdd1RU\xe7\x18'), chr(100) + chr(0b100111 + 0o76) + chr(0b1100011) + '\157' + chr(0b1000101 + 0o37) + chr(4551 - 4450))(chr(0b100000 + 0o125) + chr(11139 - 11023) + chr(102) + chr(45) + chr(1895 - 1839)))(D4ybylS07yGH, roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'|\x04\xb2\n\xd3\xf6\xfc\x07ND\xeb\x1d'), chr(6837 - 6737) + chr(0b11010 + 0o113) + '\143' + chr(5394 - 5283) + chr(100) + '\145')(chr(117) + chr(0b1110100) + chr(0b1100110) + chr(514 - 469) + chr(56)))), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b't\x1b\xba-\xf2\xf0\xeb#Cx\xc0\x01'), chr(100) + '\145' + '\x63' + chr(0b1101111) + chr(0b1100100) + chr(101))('\165' + '\x74' + chr(605 - 503) + chr(0b100011 + 0o12) + chr(0b1011 + 0o55))))
roI3spqORKae(hXMPsSrOQzbh.grid_frame.main_btn_vbox, roI3spqORKae(ES5oEprVxulp(b't\x0e\xbf'), '\144' + chr(0b1100101) + '\x63' + chr(0b100010 + 0o115) + chr(8346 - 8246) + chr(0b1100101))(chr(0b1110101) + chr(0b1101100 + 0o10) + '\146' + '\x2d' + '\x38'))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b't\x1b\xba-\xf2\xf0\xeb#Cx\xc0\x01'), '\144' + '\x65' + '\143' + '\x6f' + '\144' + chr(0b1100101))(chr(117) + '\x74' + chr(0b11000 + 0o116) + '\x2d' + '\x38')), flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b't&\x97'), chr(100) + chr(3374 - 3273) + chr(0b1100011) + '\x6f' + chr(100) + chr(101))(chr(0b101010 + 0o113) + '\x74' + chr(6790 - 6688) + chr(0b101101) + chr(0b101 + 0o63))), border=nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b110101), 0b1000))
roI3spqORKae(hXMPsSrOQzbh.grid_frame, roI3spqORKae(ES5oEprVxulp(b'Q\x05\x84\x18\xf6\xed'), chr(100) + chr(0b111 + 0o136) + chr(0b10000 + 0o123) + '\157' + '\x64' + chr(0b1100101))(chr(6418 - 6301) + chr(6478 - 6362) + '\146' + '\055' + '\x38'))(None, roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'X\x03\xb5!\xec\xf0\xe5!'), chr(420 - 320) + '\x65' + chr(5389 - 5290) + '\x6f' + chr(100) + '\x65')('\x75' + chr(116) + '\146' + chr(45) + '\070')))
roI3spqORKae(hXMPsSrOQzbh.grid_frame, roI3spqORKae(ES5oEprVxulp(b'v\x0f\xb5\n\xed\xfc'), chr(0b1100100) + chr(101) + '\143' + '\157' + chr(100) + chr(3704 - 3603))('\165' + chr(0b1110100) + chr(0b100001 + 0o105) + chr(45) + '\x38'))()
return
|
PmagPy/PmagPy
|
dialogs/pmag_er_magic_dialogs.py
|
ErMagicCheckFrame3.onContinue
|
def onContinue(self, event, grid, next_dia=None):#, age_data_type='site'):
"""
Save grid data in the data object
"""
# deselect column, including remove 'EDIT ALL' label
if self.grid_frame.drop_down_menu:
self.grid_frame.drop_down_menu.clean_up()
# remove '**' and '^^' from col names
#self.remove_starred_labels(grid)
grid.remove_starred_labels()
grid.SaveEditControlValue() # locks in value in cell currently edited
grid_name = str(grid.GetName())
# save all changes to data object and write to file
self.grid_frame.grid_builder.save_grid_data()
# check that all required data are present
validation_errors = self.validate(grid)
if validation_errors:
warn_string = ""
for error_name, error_cols in list(validation_errors.items()):
if error_cols:
warn_string += "You have {}: {}.\n\n".format(error_name, ", ".join(error_cols))
warn_string += "Are you sure you want to continue?"
result = pw.warning_with_override(warn_string)
if result == wx.ID_YES:
pass
else:
return False
else:
wx.MessageBox('Saved!', 'Info',
style=wx.OK | wx.ICON_INFORMATION)
self.panel.Destroy()
if next_dia:
next_dia()
else:
# propagate any type/lithology/class data from sites to samples table
# will only overwrite if sample values are blank or "Not Specified"
self.contribution.propagate_lithology_cols()
wx.MessageBox('Done!', 'Info',
style=wx.OK | wx.ICON_INFORMATION)
|
python
|
def onContinue(self, event, grid, next_dia=None):#, age_data_type='site'):
"""
Save grid data in the data object
"""
# deselect column, including remove 'EDIT ALL' label
if self.grid_frame.drop_down_menu:
self.grid_frame.drop_down_menu.clean_up()
# remove '**' and '^^' from col names
#self.remove_starred_labels(grid)
grid.remove_starred_labels()
grid.SaveEditControlValue() # locks in value in cell currently edited
grid_name = str(grid.GetName())
# save all changes to data object and write to file
self.grid_frame.grid_builder.save_grid_data()
# check that all required data are present
validation_errors = self.validate(grid)
if validation_errors:
warn_string = ""
for error_name, error_cols in list(validation_errors.items()):
if error_cols:
warn_string += "You have {}: {}.\n\n".format(error_name, ", ".join(error_cols))
warn_string += "Are you sure you want to continue?"
result = pw.warning_with_override(warn_string)
if result == wx.ID_YES:
pass
else:
return False
else:
wx.MessageBox('Saved!', 'Info',
style=wx.OK | wx.ICON_INFORMATION)
self.panel.Destroy()
if next_dia:
next_dia()
else:
# propagate any type/lithology/class data from sites to samples table
# will only overwrite if sample values are blank or "Not Specified"
self.contribution.propagate_lithology_cols()
wx.MessageBox('Done!', 'Info',
style=wx.OK | wx.ICON_INFORMATION)
|
[
"def",
"onContinue",
"(",
"self",
",",
"event",
",",
"grid",
",",
"next_dia",
"=",
"None",
")",
":",
"#, age_data_type='site'):",
"# deselect column, including remove 'EDIT ALL' label",
"if",
"self",
".",
"grid_frame",
".",
"drop_down_menu",
":",
"self",
".",
"grid_frame",
".",
"drop_down_menu",
".",
"clean_up",
"(",
")",
"# remove '**' and '^^' from col names",
"#self.remove_starred_labels(grid)",
"grid",
".",
"remove_starred_labels",
"(",
")",
"grid",
".",
"SaveEditControlValue",
"(",
")",
"# locks in value in cell currently edited",
"grid_name",
"=",
"str",
"(",
"grid",
".",
"GetName",
"(",
")",
")",
"# save all changes to data object and write to file",
"self",
".",
"grid_frame",
".",
"grid_builder",
".",
"save_grid_data",
"(",
")",
"# check that all required data are present",
"validation_errors",
"=",
"self",
".",
"validate",
"(",
"grid",
")",
"if",
"validation_errors",
":",
"warn_string",
"=",
"\"\"",
"for",
"error_name",
",",
"error_cols",
"in",
"list",
"(",
"validation_errors",
".",
"items",
"(",
")",
")",
":",
"if",
"error_cols",
":",
"warn_string",
"+=",
"\"You have {}: {}.\\n\\n\"",
".",
"format",
"(",
"error_name",
",",
"\", \"",
".",
"join",
"(",
"error_cols",
")",
")",
"warn_string",
"+=",
"\"Are you sure you want to continue?\"",
"result",
"=",
"pw",
".",
"warning_with_override",
"(",
"warn_string",
")",
"if",
"result",
"==",
"wx",
".",
"ID_YES",
":",
"pass",
"else",
":",
"return",
"False",
"else",
":",
"wx",
".",
"MessageBox",
"(",
"'Saved!'",
",",
"'Info'",
",",
"style",
"=",
"wx",
".",
"OK",
"|",
"wx",
".",
"ICON_INFORMATION",
")",
"self",
".",
"panel",
".",
"Destroy",
"(",
")",
"if",
"next_dia",
":",
"next_dia",
"(",
")",
"else",
":",
"# propagate any type/lithology/class data from sites to samples table",
"# will only overwrite if sample values are blank or \"Not Specified\"",
"self",
".",
"contribution",
".",
"propagate_lithology_cols",
"(",
")",
"wx",
".",
"MessageBox",
"(",
"'Done!'",
",",
"'Info'",
",",
"style",
"=",
"wx",
".",
"OK",
"|",
"wx",
".",
"ICON_INFORMATION",
")"
] |
Save grid data in the data object
|
[
"Save",
"grid",
"data",
"in",
"the",
"data",
"object"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/dialogs/pmag_er_magic_dialogs.py#L209-L252
|
train
|
Save grid data in the data object and save it to file
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(0b11110 + 0o22) + '\157' + chr(0b110010) + chr(48) + '\x32', 34895 - 34887), nzTpIcepk0o8(chr(48) + chr(0b111111 + 0o60) + chr(0b110001) + chr(52) + chr(50), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(11765 - 11654) + chr(0b110101) + chr(52), ord("\x08")), nzTpIcepk0o8(chr(48) + '\x6f' + '\061' + chr(0b100110 + 0o17), 0b1000), nzTpIcepk0o8('\060' + chr(111) + chr(2531 - 2480) + '\066', ord("\x08")), nzTpIcepk0o8(chr(0b11101 + 0o23) + chr(0b1101111) + chr(51) + '\x33' + '\x32', 0o10), nzTpIcepk0o8('\x30' + chr(4029 - 3918) + '\065' + '\064', 8), nzTpIcepk0o8('\060' + '\157' + chr(51) + '\x37' + '\x30', ord("\x08")), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b101000 + 0o12) + chr(52) + chr(52), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(7887 - 7776) + chr(1596 - 1546) + chr(863 - 810) + '\x37', ord("\x08")), nzTpIcepk0o8(chr(0b10101 + 0o33) + chr(0b1 + 0o156) + '\062' + chr(0b110010 + 0o2) + chr(0b1000 + 0o57), ord("\x08")), nzTpIcepk0o8(chr(0b10000 + 0o40) + chr(111) + '\063' + chr(0b101001 + 0o16) + chr(0b110101), 9932 - 9924), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b110011) + '\065' + chr(0b10010 + 0o37), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1011101 + 0o22) + chr(51) + chr(51) + chr(1848 - 1795), 10770 - 10762), nzTpIcepk0o8(chr(0b100101 + 0o13) + chr(0b1011110 + 0o21) + chr(119 - 69) + chr(48) + chr(0b111 + 0o55), 50316 - 50308), nzTpIcepk0o8(chr(1506 - 1458) + '\x6f' + chr(0b110001) + chr(2436 - 2383) + '\065', 0b1000), nzTpIcepk0o8(chr(1644 - 1596) + '\157' + chr(0b110010) + chr(2084 - 2036) + chr(0b101001 + 0o15), 1917 - 1909), nzTpIcepk0o8(chr(0b10011 + 0o35) + chr(0b1101111) + '\x33' + chr(0b11100 + 0o31) + chr(0b110001), 8), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\x36' + chr(0b1001 + 0o47), 44334 - 44326), nzTpIcepk0o8('\x30' + chr(3648 - 3537) + chr(1293 - 1243) + chr(0b110000), 0o10), nzTpIcepk0o8(chr(1992 - 1944) + '\x6f' + chr(2222 - 2170) + chr(840 - 790), 0o10), nzTpIcepk0o8('\x30' + chr(9182 - 9071) + '\061' + chr(1996 - 1947) + chr(0b1010 + 0o54), 0o10), nzTpIcepk0o8('\x30' + '\x6f' + chr(49) + '\x31' + chr(0b110000), 0o10), nzTpIcepk0o8(chr(0b10011 + 0o35) + chr(111) + chr(847 - 797) + '\x34' + '\x36', 0b1000), nzTpIcepk0o8(chr(0b10111 + 0o31) + chr(0b1100010 + 0o15) + chr(0b111 + 0o53) + chr(0b101001 + 0o11) + '\061', 12759 - 12751), nzTpIcepk0o8(chr(0b1000 + 0o50) + chr(0b11111 + 0o120) + chr(0b110001) + chr(52) + chr(53), 48960 - 48952), nzTpIcepk0o8(chr(0b101010 + 0o6) + '\x6f' + chr(50) + '\062' + chr(1879 - 1825), 12717 - 12709), nzTpIcepk0o8(chr(0b110000) + chr(0b11010 + 0o125) + '\x37' + chr(0b10010 + 0o37), 9073 - 9065), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\064' + chr(0b110111), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b101110 + 0o101) + chr(0b110010) + '\060' + '\066', 8), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(923 - 872) + '\065', 0o10), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b110110) + '\061', ord("\x08")), nzTpIcepk0o8('\060' + chr(0b1100010 + 0o15) + chr(50) + chr(281 - 233) + chr(0b110101), ord("\x08")), nzTpIcepk0o8('\060' + chr(0b11010 + 0o125) + '\062' + '\062' + '\064', 0b1000), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(258 - 209) + chr(48) + chr(0b11011 + 0o30), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(2929 - 2818) + '\062' + '\x35' + chr(0b1010 + 0o52), 0b1000), nzTpIcepk0o8(chr(907 - 859) + chr(442 - 331) + '\066' + '\x34', 0o10), nzTpIcepk0o8(chr(48) + chr(111) + '\061' + chr(0b110001) + chr(2672 - 2619), 41552 - 41544), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(50) + chr(0b101010 + 0o13), ord("\x08")), nzTpIcepk0o8(chr(48) + '\x6f' + '\063' + '\066' + chr(1588 - 1535), ord("\x08"))][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(1065 - 1017) + '\157' + '\065' + chr(0b0 + 0o60), 0o10)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xac'), chr(100) + chr(0b1100101) + chr(9291 - 9192) + chr(111) + '\x64' + chr(4223 - 4122))('\x75' + chr(10203 - 10087) + '\146' + chr(0b10000 + 0o35) + chr(0b111000)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def kPjPeBFdMX5V(hXMPsSrOQzbh, D4ybylS07yGH, xiP5QxYWlEkW, Pp0GQ4IchjXL=None):
if roI3spqORKae(hXMPsSrOQzbh.grid_frame, roI3spqORKae(ES5oEprVxulp(b'\xe0\x07yfT\x8fZ\xc1\xea\xc9\xf0\xbe'), '\144' + chr(0b1100101) + '\143' + chr(0b101011 + 0o104) + chr(4594 - 4494) + chr(0b1011100 + 0o11))(chr(12974 - 12857) + chr(6725 - 6609) + chr(102) + chr(45) + '\x38')):
roI3spqORKae(hXMPsSrOQzbh.grid_frame.drop_down_menu, roI3spqORKae(ES5oEprVxulp(b'\xe1\x0eIlp\x85Y\x88'), chr(0b1100100) + '\145' + '\x63' + '\x6f' + '\x64' + chr(0b1100101 + 0o0))('\x75' + '\164' + chr(0b1100100 + 0o2) + chr(0b101101) + chr(0b111000)))()
roI3spqORKae(xiP5QxYWlEkW, roI3spqORKae(ES5oEprVxulp(b'\xf0\x07Abh\xbfs\x8b\xd0\xce\xd5\x8f\x8c\xb9\xdb\x01\xe7\x8bU|Q'), '\x64' + chr(0b1100101) + chr(0b10100 + 0o117) + chr(0b100001 + 0o116) + chr(100) + chr(622 - 521))('\165' + '\x74' + chr(3526 - 3424) + '\x2d' + chr(0b11000 + 0o40)))()
roI3spqORKae(xiP5QxYWlEkW, roI3spqORKae(ES5oEprVxulp(b'\xd1\x03Zh[\xbeE\x8c\xe7\xc0\xc9\x89\x9b\xb2\xe8;\xe7\x85Eu'), chr(100) + chr(0b10011 + 0o122) + chr(0b110111 + 0o54) + '\157' + chr(100) + '\145')('\x75' + chr(0b1110100) + chr(102) + chr(45) + chr(1138 - 1082)))()
ufJVF7WOU8dC = N9zlRy29S1SS(xiP5QxYWlEkW.vs088p4r1szs())
roI3spqORKae(hXMPsSrOQzbh.grid_frame.grid_builder, roI3spqORKae(ES5oEprVxulp(b'\xf1\x03ZhA\xbd^\x91\xc0\xf0\xc3\x9c\x9d\xbc'), '\x64' + chr(0b101111 + 0o66) + chr(0b1100011) + chr(0b1011110 + 0o21) + '\x64' + '\x65')('\x75' + chr(0b1110100) + chr(0b1010101 + 0o21) + chr(0b101101 + 0o0) + chr(2126 - 2070)))()
neH13jU960Qi = hXMPsSrOQzbh.G40dcSccAFaB(xiP5QxYWlEkW)
if neH13jU960Qi:
ZYOyqAcEzfvK = roI3spqORKae(ES5oEprVxulp(b''), chr(9326 - 9226) + chr(101) + chr(0b1100011) + chr(11717 - 11606) + chr(0b1100100) + chr(101))(chr(117) + '\164' + chr(9497 - 9395) + chr(45) + chr(0b1110 + 0o52))
for (e_39k6bzSqi9, cr_kVsWz5q_j) in H4NoA26ON7iG(roI3spqORKae(neH13jU960Qi, roI3spqORKae(ES5oEprVxulp(b'\xdb=BC[\xa0d\xcc\x97\xd9\xff\x94'), '\144' + chr(10085 - 9984) + chr(99) + '\157' + '\x64' + chr(2419 - 2318))('\x75' + '\x74' + chr(0b1100110) + chr(0b101101) + chr(56)))()):
if cr_kVsWz5q_j:
ZYOyqAcEzfvK += roI3spqORKae(ES5oEprVxulp(b'\xdb\rY-v\xbbZ\x9d\x84\xd4\xda\xc7\xc9\xa6\xf9C\x8c\xe3'), chr(0b101111 + 0o65) + '\145' + '\143' + chr(111) + '\x64' + '\x65')('\x75' + chr(116) + '\x66' + chr(1549 - 1504) + chr(56)).q33KG3foQ_CJ(e_39k6bzSqi9, roI3spqORKae(ES5oEprVxulp(b'\xaeB'), '\x64' + chr(101) + chr(99) + chr(111) + chr(5900 - 5800) + '\145')('\165' + '\x74' + '\x66' + chr(0b11110 + 0o17) + chr(2803 - 2747)).Y4yM9BcfTCNq(cr_kVsWz5q_j))
ZYOyqAcEzfvK += roI3spqORKae(ES5oEprVxulp(b'\xc3\x10I-g\xb5Y\xd8\xd7\xda\xd5\x98\xc9\xa4\xeb\x18\xa6\x9eQ~Vn<\xc9\xb1\x06\xf9WS\xefsD\xe0\xab'), '\x64' + '\145' + chr(1988 - 1889) + chr(0b10101 + 0o132) + chr(0b1010100 + 0o20) + chr(0b1000101 + 0o40))('\x75' + chr(116) + '\146' + chr(1572 - 1527) + '\070')
POx95m7SPOVy = saCGFe0zE73j.warning_with_override(ZYOyqAcEzfvK)
if POx95m7SPOVy == roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xcb&sT[\x89'), chr(0b1100100) + chr(101) + chr(0b101011 + 0o70) + chr(0b1101111) + chr(0b1100100) + chr(0b1100101))(chr(117) + '\164' + '\x66' + chr(0b101101) + chr(0b101101 + 0o13))):
pass
else:
return nzTpIcepk0o8('\x30' + chr(0b101011 + 0o104) + chr(48), 20035 - 20027)
else:
roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xcf\x07_~\x7f\xbdI\xba\xcb\xd7'), chr(0b1100100) + chr(101) + chr(99) + chr(10587 - 10476) + chr(0b1100011 + 0o1) + chr(101))(chr(0b1110101) + chr(2045 - 1929) + chr(102) + chr(0b100001 + 0o14) + chr(1841 - 1785)))(roI3spqORKae(ES5oEprVxulp(b'\xd1\x03Zhz\xfb'), chr(0b10 + 0o142) + chr(4537 - 4436) + '\x63' + chr(0b110010 + 0o75) + chr(2517 - 2417) + chr(0b1100101))(chr(3432 - 3315) + '\x74' + chr(0b1100110) + chr(0b101101) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b'\xcb\x0cJb'), chr(0b11010 + 0o112) + '\x65' + chr(0b110000 + 0o63) + '\157' + '\x64' + chr(7547 - 7446))(chr(5986 - 5869) + '\x74' + chr(0b1100110) + chr(0b11 + 0o52) + chr(56)), style=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xcd)'), chr(100) + chr(0b1100101) + chr(99) + chr(3671 - 3560) + '\x64' + chr(0b1100101))(chr(342 - 225) + '\164' + chr(0b1100110) + chr(0b101101) + '\070')) | roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xcb!cCA\x93b\xbe\xeb\xfd\xea\xbc\xbd\x94\xcb#'), '\x64' + chr(101) + '\143' + chr(7078 - 6967) + chr(1508 - 1408) + chr(2588 - 2487))('\165' + chr(0b101011 + 0o111) + '\x66' + chr(713 - 668) + chr(0b111000))))
roI3spqORKae(hXMPsSrOQzbh.panel, roI3spqORKae(ES5oEprVxulp(b'\xc6\x07_yl\xb5U'), chr(0b110100 + 0o60) + '\145' + chr(0b1100011) + '\157' + chr(100) + chr(0b1011111 + 0o6))(chr(0b1110101) + chr(116) + chr(0b1100110) + '\055' + '\x38'))()
if Pp0GQ4IchjXL:
Pp0GQ4IchjXL()
else:
roI3spqORKae(hXMPsSrOQzbh.contribution, roI3spqORKae(ES5oEprVxulp(b'\xf2\x10C}\x7f\xbdM\x8c\xc1\xf0\xcb\x94\x9d\xb5\xeb\x01\xe9\x8eIOA!$\xd5'), chr(0b1100100) + '\x65' + '\x63' + chr(111) + chr(0b1100100) + '\145')(chr(0b1110101) + '\164' + '\x66' + chr(45) + chr(0b111000)))()
roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xcf\x07_~\x7f\xbdI\xba\xcb\xd7'), chr(0b100001 + 0o103) + chr(5030 - 4929) + '\x63' + chr(3759 - 3648) + chr(0b1100100) + chr(0b1100101))(chr(8181 - 8064) + chr(12637 - 12521) + chr(0b1100110) + '\x2d' + chr(0b100000 + 0o30)))(roI3spqORKae(ES5oEprVxulp(b'\xc6\rBh?'), '\x64' + chr(101) + chr(0b1000011 + 0o40) + chr(12105 - 11994) + '\x64' + chr(0b100 + 0o141))(chr(117) + '\164' + '\146' + '\055' + chr(1947 - 1891)), roI3spqORKae(ES5oEprVxulp(b'\xcb\x0cJb'), '\x64' + chr(101) + chr(99) + chr(0b1101111) + chr(0b111000 + 0o54) + chr(0b1100101))(chr(3842 - 3725) + '\164' + '\146' + chr(0b101101) + chr(0b111000)), style=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xcd)'), chr(0b1100100) + '\145' + chr(99) + '\x6f' + '\x64' + '\145')(chr(5151 - 5034) + '\x74' + '\x66' + chr(0b101100 + 0o1) + chr(0b111000))) | roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xcb!cCA\x93b\xbe\xeb\xfd\xea\xbc\xbd\x94\xcb#'), chr(0b1100010 + 0o2) + chr(0b1000111 + 0o36) + chr(9348 - 9249) + chr(2378 - 2267) + '\144' + chr(0b1100101))(chr(10985 - 10868) + '\x74' + chr(0b100100 + 0o102) + chr(966 - 921) + '\070')))
|
PmagPy/PmagPy
|
dialogs/pmag_er_magic_dialogs.py
|
ErMagicCheckFrame3.validate
|
def validate(self, grid):
"""
Using the MagIC data model, generate validation errors on a MagicGrid.
Parameters
----------
grid : dialogs.magic_grid3.MagicGrid
The MagicGrid to be validated
Returns
---------
warnings: dict
Empty dict if no warnings, otherwise a dict with format {name of problem: [problem_columns]}
"""
grid_name = str(grid.GetName())
dmodel = self.contribution.dmodel
reqd_headers = dmodel.get_reqd_headers(grid_name)
df = self.contribution.tables[grid_name].df
df = df.replace('', np.nan) # python does not view empty strings as null
if df.empty:
return {}
col_names = set(df.columns)
missing_headers = set(reqd_headers) - col_names
present_headers = set(reqd_headers) - set(missing_headers)
non_null_headers = df.dropna(how='all', axis='columns').columns
null_reqd_headers = present_headers - set(non_null_headers)
if any(missing_headers) or any (null_reqd_headers):
warnings = {'missing required column(s)': sorted(missing_headers),
'no data in required column(s)': sorted(null_reqd_headers)}
else:
warnings = {}
return warnings
|
python
|
def validate(self, grid):
"""
Using the MagIC data model, generate validation errors on a MagicGrid.
Parameters
----------
grid : dialogs.magic_grid3.MagicGrid
The MagicGrid to be validated
Returns
---------
warnings: dict
Empty dict if no warnings, otherwise a dict with format {name of problem: [problem_columns]}
"""
grid_name = str(grid.GetName())
dmodel = self.contribution.dmodel
reqd_headers = dmodel.get_reqd_headers(grid_name)
df = self.contribution.tables[grid_name].df
df = df.replace('', np.nan) # python does not view empty strings as null
if df.empty:
return {}
col_names = set(df.columns)
missing_headers = set(reqd_headers) - col_names
present_headers = set(reqd_headers) - set(missing_headers)
non_null_headers = df.dropna(how='all', axis='columns').columns
null_reqd_headers = present_headers - set(non_null_headers)
if any(missing_headers) or any (null_reqd_headers):
warnings = {'missing required column(s)': sorted(missing_headers),
'no data in required column(s)': sorted(null_reqd_headers)}
else:
warnings = {}
return warnings
|
[
"def",
"validate",
"(",
"self",
",",
"grid",
")",
":",
"grid_name",
"=",
"str",
"(",
"grid",
".",
"GetName",
"(",
")",
")",
"dmodel",
"=",
"self",
".",
"contribution",
".",
"dmodel",
"reqd_headers",
"=",
"dmodel",
".",
"get_reqd_headers",
"(",
"grid_name",
")",
"df",
"=",
"self",
".",
"contribution",
".",
"tables",
"[",
"grid_name",
"]",
".",
"df",
"df",
"=",
"df",
".",
"replace",
"(",
"''",
",",
"np",
".",
"nan",
")",
"# python does not view empty strings as null",
"if",
"df",
".",
"empty",
":",
"return",
"{",
"}",
"col_names",
"=",
"set",
"(",
"df",
".",
"columns",
")",
"missing_headers",
"=",
"set",
"(",
"reqd_headers",
")",
"-",
"col_names",
"present_headers",
"=",
"set",
"(",
"reqd_headers",
")",
"-",
"set",
"(",
"missing_headers",
")",
"non_null_headers",
"=",
"df",
".",
"dropna",
"(",
"how",
"=",
"'all'",
",",
"axis",
"=",
"'columns'",
")",
".",
"columns",
"null_reqd_headers",
"=",
"present_headers",
"-",
"set",
"(",
"non_null_headers",
")",
"if",
"any",
"(",
"missing_headers",
")",
"or",
"any",
"(",
"null_reqd_headers",
")",
":",
"warnings",
"=",
"{",
"'missing required column(s)'",
":",
"sorted",
"(",
"missing_headers",
")",
",",
"'no data in required column(s)'",
":",
"sorted",
"(",
"null_reqd_headers",
")",
"}",
"else",
":",
"warnings",
"=",
"{",
"}",
"return",
"warnings"
] |
Using the MagIC data model, generate validation errors on a MagicGrid.
Parameters
----------
grid : dialogs.magic_grid3.MagicGrid
The MagicGrid to be validated
Returns
---------
warnings: dict
Empty dict if no warnings, otherwise a dict with format {name of problem: [problem_columns]}
|
[
"Using",
"the",
"MagIC",
"data",
"model",
"generate",
"validation",
"errors",
"on",
"a",
"MagicGrid",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/dialogs/pmag_er_magic_dialogs.py#L265-L296
|
train
|
Validate the MagIC data model for a specific MagIC grid.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(1118 - 1070) + chr(0b1101000 + 0o7) + chr(51) + chr(52) + '\066', ord("\x08")), nzTpIcepk0o8('\060' + '\x6f' + chr(0b100110 + 0o15) + '\x34' + chr(0b110000), 0o10), nzTpIcepk0o8(chr(0b10000 + 0o40) + chr(0b111111 + 0o60) + '\067' + '\061', 0o10), nzTpIcepk0o8('\060' + chr(4562 - 4451) + '\062' + '\x31' + '\x37', 0o10), nzTpIcepk0o8(chr(0b1001 + 0o47) + '\x6f' + '\x33' + chr(0b10010 + 0o43) + chr(0b1001 + 0o53), 4166 - 4158), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b110011) + '\067' + '\060', ord("\x08")), nzTpIcepk0o8('\060' + chr(111) + '\x33' + chr(0b110100) + chr(2342 - 2291), 0b1000), nzTpIcepk0o8(chr(1574 - 1526) + chr(0b1000111 + 0o50) + chr(0b101100 + 0o5) + '\x35', 0o10), nzTpIcepk0o8(chr(48) + '\157' + chr(0b110011) + '\066' + '\063', 0b1000), nzTpIcepk0o8(chr(0b10011 + 0o35) + chr(0b100110 + 0o111) + chr(0b110010) + chr(0b110111) + chr(211 - 162), 0b1000), nzTpIcepk0o8(chr(1165 - 1117) + chr(0b11111 + 0o120) + '\x34' + chr(0b110001), 28298 - 28290), nzTpIcepk0o8(chr(48) + '\157' + chr(51) + chr(0b110010) + chr(2294 - 2240), 0b1000), nzTpIcepk0o8(chr(0b11101 + 0o23) + chr(0b1100001 + 0o16) + '\067' + chr(0b110000 + 0o6), 7474 - 7466), nzTpIcepk0o8('\x30' + chr(111) + chr(0b110 + 0o61) + '\061', 8), nzTpIcepk0o8(chr(891 - 843) + chr(0b1011101 + 0o22) + '\062' + '\x37' + '\x36', ord("\x08")), nzTpIcepk0o8(chr(1745 - 1697) + chr(0b1101111) + '\063', 0o10), nzTpIcepk0o8('\060' + chr(4776 - 4665) + chr(51) + '\x37' + chr(52), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b11001 + 0o126) + '\x33' + chr(0b1001 + 0o52) + chr(0b10000 + 0o40), 0b1000), nzTpIcepk0o8('\x30' + chr(0b100010 + 0o115) + chr(49) + chr(0b110000) + chr(1290 - 1240), 0b1000), nzTpIcepk0o8('\x30' + '\157' + '\x31' + chr(0b110011) + '\x30', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(5236 - 5125) + chr(0b101000 + 0o13) + chr(0b11000 + 0o30) + '\063', ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1001101 + 0o42) + '\062' + '\063' + chr(1918 - 1865), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(111) + chr(51) + chr(0b110011) + chr(2327 - 2275), ord("\x08")), nzTpIcepk0o8(chr(48) + '\x6f' + chr(905 - 855) + '\061' + chr(49), 0o10), nzTpIcepk0o8(chr(0b100100 + 0o14) + '\157' + chr(745 - 695) + chr(0b110100) + chr(0b110110), ord("\x08")), nzTpIcepk0o8(chr(1770 - 1722) + chr(111) + chr(0b110011) + chr(0b110110) + '\062', 0o10), nzTpIcepk0o8(chr(0b11001 + 0o27) + chr(3725 - 3614) + '\063' + chr(0b110111) + '\x36', ord("\x08")), nzTpIcepk0o8('\060' + '\x6f' + '\x33' + chr(2130 - 2076), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b101111 + 0o6) + chr(51), ord("\x08")), nzTpIcepk0o8(chr(48) + '\157' + '\062' + '\064' + chr(2375 - 2325), 3458 - 3450), nzTpIcepk0o8(chr(48) + '\x6f' + chr(930 - 880) + chr(0b110000) + '\x37', 51244 - 51236), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b1011 + 0o50) + chr(50) + chr(0b110101 + 0o0), 0b1000), nzTpIcepk0o8(chr(48) + '\157' + chr(1076 - 1026) + chr(55) + chr(1310 - 1260), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b111100 + 0o63) + chr(0b101 + 0o56) + chr(50) + chr(0b11111 + 0o25), ord("\x08")), nzTpIcepk0o8(chr(133 - 85) + chr(3968 - 3857) + '\062' + chr(158 - 109) + chr(0b110000), 0o10), nzTpIcepk0o8(chr(0b10011 + 0o35) + chr(5965 - 5854) + '\061' + '\066' + '\066', 0b1000), nzTpIcepk0o8(chr(1819 - 1771) + chr(2951 - 2840) + '\x33' + chr(475 - 422) + chr(0b110100), 8), nzTpIcepk0o8(chr(48) + chr(111) + chr(51) + '\x33' + '\066', ord("\x08")), nzTpIcepk0o8(chr(0b101110 + 0o2) + chr(7208 - 7097) + chr(1559 - 1508) + chr(0b110010) + chr(0b110110), 8), nzTpIcepk0o8('\x30' + '\x6f' + '\067' + chr(374 - 326), 31410 - 31402)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(0b100 + 0o54) + chr(5875 - 5764) + chr(1228 - 1175) + '\060', 29457 - 29449)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xc8'), chr(100) + chr(0b1011001 + 0o14) + '\143' + chr(9800 - 9689) + chr(100) + chr(0b11100 + 0o111))(chr(117) + '\164' + chr(0b1100 + 0o132) + chr(45) + chr(2282 - 2226)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def G40dcSccAFaB(hXMPsSrOQzbh, xiP5QxYWlEkW):
ufJVF7WOU8dC = N9zlRy29S1SS(xiP5QxYWlEkW.vs088p4r1szs())
nW1eiNbQ6wqr = hXMPsSrOQzbh.contribution.dmodel
x0MW_WAxbcKE = nW1eiNbQ6wqr.get_reqd_headers(ufJVF7WOU8dC)
jpOn8DNZxbbx = hXMPsSrOQzbh.contribution.tables[ufJVF7WOU8dC].jpOn8DNZxbbx
jpOn8DNZxbbx = jpOn8DNZxbbx.E91dbqOZXBpJ(roI3spqORKae(ES5oEprVxulp(b''), '\144' + '\x65' + chr(0b1100011) + chr(111) + '\144' + '\x65')('\165' + chr(0b1110100) + chr(102) + chr(0b1010 + 0o43) + chr(56)), nDF4gVNx0u9Q.nan)
if roI3spqORKae(jpOn8DNZxbbx, roI3spqORKae(ES5oEprVxulp(b'\xa3\xa5U\xbf\xbc\x8a\x9a5\x85\xc3u\xa6'), '\x64' + chr(0b111110 + 0o47) + '\143' + '\157' + chr(0b11110 + 0o106) + '\x65')('\165' + chr(0b1110100) + chr(0b1100110) + chr(45) + chr(0b110010 + 0o6))):
return {}
rlxfQfdSHlRp = Bvi71nNyvlqO(jpOn8DNZxbbx.U39jSiI54Mlp)
OR1zGNc6Yhm1 = Bvi71nNyvlqO(x0MW_WAxbcKE) - rlxfQfdSHlRp
KR8BoHgQjZ9X = Bvi71nNyvlqO(x0MW_WAxbcKE) - Bvi71nNyvlqO(OR1zGNc6Yhm1)
UZn38WXHkZoY = jpOn8DNZxbbx.dropna(how=roI3spqORKae(ES5oEprVxulp(b'\x87\x8cU'), chr(6038 - 5938) + chr(0b1100101) + '\x63' + chr(111) + '\x64' + '\x65')(chr(13539 - 13422) + chr(0b1011111 + 0o25) + '\146' + '\x2d' + chr(0b111000)), axis=roI3spqORKae(ES5oEprVxulp(b'\x85\x8fU\xfa\x81\x96\x90'), chr(0b101 + 0o137) + chr(6184 - 6083) + chr(0b1100011 + 0o0) + chr(111) + chr(0b1100100) + chr(101))(chr(7486 - 7369) + chr(7568 - 7452) + chr(102) + '\x2d' + chr(656 - 600))).U39jSiI54Mlp
qxBN5jAQZpC5 = KR8BoHgQjZ9X - Bvi71nNyvlqO(UZn38WXHkZoY)
if VF4pKOObtlPc(OR1zGNc6Yhm1) or VF4pKOObtlPc(qxBN5jAQZpC5):
EyN62Frii5S5 = {roI3spqORKae(ES5oEprVxulp(b'\x8b\x89J\xfc\x85\x96\x84-\x81\xdcP\xa3WK\xdbg\xdc\xbb-4\xb6\xf0\xb2\xa1\xd5\xdb'), chr(100) + '\x65' + chr(99) + '\x6f' + '\x64' + '\145')(chr(5056 - 4939) + chr(0b1110100) + chr(0b10001 + 0o125) + '\x2d' + chr(0b111000)): V3OlOVg98A85(OR1zGNc6Yhm1), roI3spqORKae(ES5oEprVxulp(b'\x88\x8f\x19\xeb\x8d\x8c\x82-\x9a\xd7\x01\xa4[H\xcbj\x8e\xbd&x\xa0\xf2\xb0\xfc\xcb\x9c\xd6m\x02'), chr(3536 - 3436) + chr(0b110100 + 0o61) + chr(99) + chr(0b1101111) + chr(0b1000001 + 0o43) + '\x65')('\165' + chr(116) + '\x66' + chr(45) + chr(56)): V3OlOVg98A85(qxBN5jAQZpC5)}
else:
EyN62Frii5S5 = {}
return EyN62Frii5S5
|
PmagPy/PmagPy
|
dialogs/pmag_er_magic_dialogs.py
|
ErMagicCheckFrame3.on_saveButton
|
def on_saveButton(self, event, grid):
"""saves any editing of the grid but does not continue to the next window"""
wait = wx.BusyInfo("Please wait, working...")
wx.SafeYield()
if self.grid_frame.drop_down_menu: # unhighlight selected columns, etc.
self.grid_frame.drop_down_menu.clean_up()
# remove '**' and '^^' from col labels
starred_cols, hatted_cols = grid.remove_starred_labels()
grid.SaveEditControlValue() # locks in value in cell currently edited
grid.HideCellEditControl() # removes focus from cell that was being edited
if grid.changes:
self.onSave(grid)
for col in starred_cols:
label = grid.GetColLabelValue(col)
grid.SetColLabelValue(col, label + '**')
for col in hatted_cols:
label = grid.GetColLabelValue(col)
grid.SetColLabelValue(col, label + '^^')
del wait
|
python
|
def on_saveButton(self, event, grid):
"""saves any editing of the grid but does not continue to the next window"""
wait = wx.BusyInfo("Please wait, working...")
wx.SafeYield()
if self.grid_frame.drop_down_menu: # unhighlight selected columns, etc.
self.grid_frame.drop_down_menu.clean_up()
# remove '**' and '^^' from col labels
starred_cols, hatted_cols = grid.remove_starred_labels()
grid.SaveEditControlValue() # locks in value in cell currently edited
grid.HideCellEditControl() # removes focus from cell that was being edited
if grid.changes:
self.onSave(grid)
for col in starred_cols:
label = grid.GetColLabelValue(col)
grid.SetColLabelValue(col, label + '**')
for col in hatted_cols:
label = grid.GetColLabelValue(col)
grid.SetColLabelValue(col, label + '^^')
del wait
|
[
"def",
"on_saveButton",
"(",
"self",
",",
"event",
",",
"grid",
")",
":",
"wait",
"=",
"wx",
".",
"BusyInfo",
"(",
"\"Please wait, working...\"",
")",
"wx",
".",
"SafeYield",
"(",
")",
"if",
"self",
".",
"grid_frame",
".",
"drop_down_menu",
":",
"# unhighlight selected columns, etc.",
"self",
".",
"grid_frame",
".",
"drop_down_menu",
".",
"clean_up",
"(",
")",
"# remove '**' and '^^' from col labels",
"starred_cols",
",",
"hatted_cols",
"=",
"grid",
".",
"remove_starred_labels",
"(",
")",
"grid",
".",
"SaveEditControlValue",
"(",
")",
"# locks in value in cell currently edited",
"grid",
".",
"HideCellEditControl",
"(",
")",
"# removes focus from cell that was being edited",
"if",
"grid",
".",
"changes",
":",
"self",
".",
"onSave",
"(",
"grid",
")",
"for",
"col",
"in",
"starred_cols",
":",
"label",
"=",
"grid",
".",
"GetColLabelValue",
"(",
"col",
")",
"grid",
".",
"SetColLabelValue",
"(",
"col",
",",
"label",
"+",
"'**'",
")",
"for",
"col",
"in",
"hatted_cols",
":",
"label",
"=",
"grid",
".",
"GetColLabelValue",
"(",
"col",
")",
"grid",
".",
"SetColLabelValue",
"(",
"col",
",",
"label",
"+",
"'^^'",
")",
"del",
"wait"
] |
saves any editing of the grid but does not continue to the next window
|
[
"saves",
"any",
"editing",
"of",
"the",
"grid",
"but",
"does",
"not",
"continue",
"to",
"the",
"next",
"window"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/dialogs/pmag_er_magic_dialogs.py#L299-L322
|
train
|
saves any editing of the grid but does not continue to the next window
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(0b101011 + 0o5) + chr(0b111011 + 0o64) + '\x32' + chr(1772 - 1721) + chr(0b110100), 42895 - 42887), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\x32' + '\x31' + chr(50), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(5240 - 5129) + chr(51) + chr(0b10 + 0o56), ord("\x08")), nzTpIcepk0o8('\x30' + chr(111) + chr(0b110010) + chr(53) + chr(0b110000 + 0o0), 0b1000), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b110010) + chr(1484 - 1434) + '\067', ord("\x08")), nzTpIcepk0o8('\060' + chr(111) + chr(0b110001) + chr(494 - 440) + '\x32', 14707 - 14699), nzTpIcepk0o8(chr(73 - 25) + chr(0b111010 + 0o65) + chr(52) + chr(867 - 818), ord("\x08")), nzTpIcepk0o8(chr(0b101011 + 0o5) + '\x6f' + chr(0b110011) + '\x33' + '\x32', 0o10), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\062' + chr(52) + '\064', 0b1000), nzTpIcepk0o8('\x30' + chr(111) + '\x31' + chr(0b110000) + chr(55), 4014 - 4006), nzTpIcepk0o8(chr(953 - 905) + '\157' + chr(1563 - 1513) + chr(54) + chr(130 - 79), ord("\x08")), nzTpIcepk0o8(chr(0b101110 + 0o2) + chr(0b1101111) + chr(0b110110 + 0o1) + chr(2537 - 2485), ord("\x08")), nzTpIcepk0o8(chr(645 - 597) + '\x6f' + chr(0b110101) + '\x34', 50970 - 50962), nzTpIcepk0o8(chr(0b10000 + 0o40) + chr(0b1111 + 0o140) + chr(0b11101 + 0o25) + chr(0b110010) + '\060', 29409 - 29401), nzTpIcepk0o8(chr(0b11 + 0o55) + '\x6f' + chr(0b110011) + '\x32' + chr(53), 0b1000), nzTpIcepk0o8(chr(48) + chr(2641 - 2530) + '\061' + chr(0b10010 + 0o45) + chr(0b110010), 0b1000), nzTpIcepk0o8(chr(0b10010 + 0o36) + chr(111) + '\x37' + chr(1802 - 1752), ord("\x08")), nzTpIcepk0o8('\x30' + chr(111) + '\061' + '\060' + chr(55), 8), nzTpIcepk0o8(chr(0b111 + 0o51) + '\157' + chr(0b110001) + '\x34', 3962 - 3954), nzTpIcepk0o8(chr(48) + chr(0b10001 + 0o136) + chr(0b110111) + chr(0b110010), 8), nzTpIcepk0o8(chr(0b100 + 0o54) + '\157' + '\x33' + chr(2109 - 2058) + '\062', 8), nzTpIcepk0o8(chr(1775 - 1727) + '\x6f' + '\x33' + chr(0b100101 + 0o14) + chr(835 - 781), 0b1000), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(50) + chr(49) + chr(0b100 + 0o57), ord("\x08")), nzTpIcepk0o8(chr(0b1011 + 0o45) + chr(111) + chr(51) + chr(264 - 213) + chr(0b100010 + 0o20), 8), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b10000 + 0o44), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b10010 + 0o135) + chr(728 - 679) + chr(794 - 745) + '\063', 1669 - 1661), nzTpIcepk0o8(chr(1714 - 1666) + chr(0b1111 + 0o140) + chr(1182 - 1133) + '\063' + chr(0b110011), 9328 - 9320), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(140 - 90) + chr(0b11110 + 0o26) + '\x37', 0b1000), nzTpIcepk0o8(chr(0b1111 + 0o41) + chr(0b1001101 + 0o42) + chr(0b110001) + chr(1773 - 1719) + '\066', 57630 - 57622), nzTpIcepk0o8(chr(2183 - 2135) + '\157' + chr(488 - 436) + chr(0b11001 + 0o34), 0b1000), nzTpIcepk0o8(chr(321 - 273) + chr(0b1101111) + '\x31' + chr(0b10011 + 0o40) + chr(1004 - 950), 0o10), nzTpIcepk0o8('\060' + chr(111) + '\x31' + chr(1850 - 1800) + chr(2045 - 1990), 0o10), nzTpIcepk0o8('\060' + chr(2504 - 2393) + '\063' + '\x30' + chr(0b10111 + 0o37), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b101110 + 0o6) + '\x33', 0b1000), nzTpIcepk0o8(chr(1692 - 1644) + '\x6f' + '\062' + chr(0b110001) + '\x33', 8), nzTpIcepk0o8(chr(983 - 935) + chr(111) + chr(0b110100) + '\063', 8), nzTpIcepk0o8(chr(0b11000 + 0o30) + '\157' + chr(0b11110 + 0o24) + chr(0b110001) + chr(869 - 814), ord("\x08")), nzTpIcepk0o8('\060' + '\157' + chr(251 - 200) + chr(55) + chr(1446 - 1395), 0o10), nzTpIcepk0o8('\060' + '\157' + chr(847 - 796) + '\x31' + chr(1319 - 1266), 0o10), nzTpIcepk0o8(chr(1694 - 1646) + chr(4396 - 4285) + chr(548 - 495), 0b1000)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(48) + chr(3930 - 3819) + chr(1053 - 1000) + '\060', 9311 - 9303)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xb2'), chr(0b1011 + 0o131) + chr(0b1100101) + '\x63' + chr(0b1101111) + '\x64' + '\145')(chr(117) + chr(0b1110100) + chr(9103 - 9001) + chr(0b101101) + chr(2780 - 2724)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def UkEGIg4ls0g4(hXMPsSrOQzbh, D4ybylS07yGH, xiP5QxYWlEkW):
VBnaM0jy14aO = FHAk5xm055cs.BusyInfo(roI3spqORKae(ES5oEprVxulp(b'\xcc\xe6}\xc9\xe4\x17\x01\xad\xc5.\xc7\x10\x0c\xe7\xba\x08Q.b]\xf4\xe0\xa5'), chr(0b110111 + 0o55) + chr(1423 - 1322) + chr(99) + chr(0b1101111) + '\144' + chr(0b1010101 + 0o20))(chr(0b1110101) + chr(0b110011 + 0o101) + '\x66' + '\x2d' + chr(2036 - 1980)))
roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xcf\xeb~\xcd\xce\x1bD\xb6\xc0'), '\144' + chr(101) + '\x63' + chr(0b1101111) + '\x64' + '\145')(chr(0b1100 + 0o151) + chr(1808 - 1692) + chr(0b111101 + 0o51) + chr(0b100100 + 0o11) + chr(0b110 + 0o62)))()
if roI3spqORKae(hXMPsSrOQzbh.grid_frame, roI3spqORKae(ES5oEprVxulp(b"\xfe\xefM\xc3\xdd'W\xe3\xea!\xe4\x7f"), chr(0b1100100) + chr(0b11000 + 0o115) + chr(0b1100011) + chr(0b1101111) + '\x64' + '\x65')(chr(0b1110101) + '\164' + chr(0b1100110) + '\055' + chr(0b111000))):
roI3spqORKae(hXMPsSrOQzbh.grid_frame.drop_down_menu, roI3spqORKae(ES5oEprVxulp(b'\xff\xe6}\xc9\xf9-T\xaa'), chr(0b1100100) + '\x65' + '\143' + chr(111) + chr(5492 - 5392) + chr(0b1100101))('\165' + chr(12479 - 12363) + chr(0b100001 + 0o105) + chr(983 - 938) + chr(0b111000)))()
(Af3C35JiWGd8, VrXSVBbU6Ezn) = xiP5QxYWlEkW.remove_starred_labels()
roI3spqORKae(xiP5QxYWlEkW, roI3spqORKae(ES5oEprVxulp(b'\xcf\xebn\xcd\xd2\x16H\xae\xe7(\xddH^\xff\xb9,[+y_'), chr(0b110010 + 0o62) + '\x65' + chr(99) + chr(0b1101111) + chr(0b1010101 + 0o17) + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + chr(0b101111 + 0o67) + chr(45) + chr(2951 - 2895)))()
roI3spqORKae(xiP5QxYWlEkW, roI3spqORKae(ES5oEprVxulp(b'\xd4\xe3|\xcd\xd4\x17M\xb6\xe1#\xdaHo\xff\xbb\x0eH(`'), chr(3020 - 2920) + '\x65' + chr(0b1100011) + chr(0b1101111) + '\x64' + '\x65')(chr(0b1110101) + chr(1136 - 1020) + chr(102) + '\055' + '\070'))()
if roI3spqORKae(xiP5QxYWlEkW, roI3spqORKae(ES5oEprVxulp(b'\xc6\xd5]\xee\xff7g\xb5\xc0\n\xd7\x04'), '\x64' + chr(1605 - 1504) + chr(99) + chr(7720 - 7609) + chr(5569 - 5469) + '\145')(chr(9882 - 9765) + chr(0b11000 + 0o134) + chr(0b1000011 + 0o43) + chr(0b101101) + '\x38')):
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xf3\xe4K\xc9\xe1\x17'), chr(9379 - 9279) + chr(101) + chr(2449 - 2350) + chr(0b1101111) + '\144' + chr(0b110110 + 0o57))(chr(12025 - 11908) + '\x74' + chr(0b1001111 + 0o27) + '\x2d' + chr(56)))(xiP5QxYWlEkW)
for hRTUxJgvuslu in Af3C35JiWGd8:
OkDIn6t2Cke6 = xiP5QxYWlEkW.GetColLabelValue(hRTUxJgvuslu)
roI3spqORKae(xiP5QxYWlEkW, roI3spqORKae(ES5oEprVxulp(b'\xcf\xefl\xeb\xf8\x1em\xbb\xc6"\xdfjM\xfc\xa0\x1f'), '\144' + chr(0b1001001 + 0o34) + '\x63' + chr(0b1000100 + 0o53) + chr(100) + chr(0b1011000 + 0o15))('\165' + chr(0b1110100) + chr(0b1100110) + '\055' + chr(56)))(hRTUxJgvuslu, OkDIn6t2Cke6 + roI3spqORKae(ES5oEprVxulp(b'\xb6\xa0'), '\x64' + chr(101) + '\x63' + chr(0b1101111) + chr(873 - 773) + chr(0b11001 + 0o114))('\x75' + chr(0b1110100) + chr(0b1000100 + 0o42) + '\055' + '\x38'))
for hRTUxJgvuslu in VrXSVBbU6Ezn:
OkDIn6t2Cke6 = xiP5QxYWlEkW.GetColLabelValue(hRTUxJgvuslu)
roI3spqORKae(xiP5QxYWlEkW, roI3spqORKae(ES5oEprVxulp(b'\xcf\xefl\xeb\xf8\x1em\xbb\xc6"\xdfjM\xfc\xa0\x1f'), chr(2414 - 2314) + chr(101) + chr(0b10100 + 0o117) + chr(111) + chr(8350 - 8250) + '\145')(chr(0b10110 + 0o137) + chr(116) + chr(0b10000 + 0o126) + chr(0b10011 + 0o32) + '\x38'))(hRTUxJgvuslu, OkDIn6t2Cke6 + roI3spqORKae(ES5oEprVxulp(b'\xc2\xd4'), chr(100) + chr(0b1100101) + chr(99) + chr(0b1101111) + chr(0b1010101 + 0o17) + '\145')(chr(0b1110101) + chr(0b1110100) + '\146' + chr(45) + chr(0b10010 + 0o46)))
del VBnaM0jy14aO
|
PmagPy/PmagPy
|
dialogs/pmag_er_magic_dialogs.py
|
ErMagicCheckFrame.InitSpecCheck
|
def InitSpecCheck(self):
"""make an interactive grid in which users can edit specimen names
as well as which sample a specimen belongs to"""
self.panel = wx.Panel(self, style=wx.SIMPLE_BORDER)
#import wx.lib.scrolledpanel as libpanel # does not work well
#self.panel = libpanel.ScrolledPanel(self, style=wx.SIMPLE_BORDER)
text = """Step 1:
Check that all specimens belong to the correct sample
(if sample name is simply wrong, that will be fixed in step 2)"""
label = wx.StaticText(self.panel, label=text)
self.grid_builder = grid_frame2.GridBuilder(self.er_magic_data, 'specimen',
self.er_magic_data.headers, self.panel,
'sample')
self.spec_grid = self.grid_builder.make_grid(incl_pmag=False)
self.grid = self.spec_grid
self.spec_grid.InitUI()
self.grid_builder.add_data_to_grid(self.spec_grid, 'specimen', incl_pmag=False)
samples = self.er_magic_data.make_name_list(self.er_magic_data.samples)
self.drop_down_menu = drop_down_menus.Menus("specimen", self, self.spec_grid, samples)
#### Create Buttons ####
hbox_one = wx.BoxSizer(wx.HORIZONTAL)
self.addSampleButton = wx.Button(self.panel, label="Add a new sample")
self.samples = [name for name in self.er_magic_data.samples]
self.Bind(wx.EVT_BUTTON, self.on_addSampleButton, self.addSampleButton)
self.helpButton = wx.Button(self.panel, label="Help")
self.Bind(wx.EVT_BUTTON, lambda event: self.on_helpButton(event, "ErMagicSpecimenHelp.html"), self.helpButton)
hbox_one.Add(self.addSampleButton, flag=wx.ALIGN_LEFT|wx.RIGHT, border=10)
hbox_one.Add(self.helpButton)
#
hboxok = wx.BoxSizer(wx.HORIZONTAL)
self.saveButton = wx.Button(self.panel, id=-1, label='Save')
self.Bind(wx.EVT_BUTTON, lambda event: self.on_saveButton(event, self.spec_grid), self.saveButton)
self.cancelButton = wx.Button(self.panel, wx.ID_CANCEL, '&Cancel')
self.Bind(wx.EVT_BUTTON, self.on_cancelButton, self.cancelButton)
self.continueButton = wx.Button(self.panel, id=-1, label='Save and continue')
self.Bind(wx.EVT_BUTTON, lambda event: self.on_continueButton(event, self.spec_grid, next_dia=self.InitSampCheck), self.continueButton)
hboxok.Add(self.saveButton, flag=wx.ALIGN_LEFT|wx.RIGHT, border=10)
hboxok.Add(self.cancelButton, flag=wx.ALIGN_LEFT|wx.RIGHT, border=10)
hboxok.Add(self.continueButton, flag=wx.ALIGN_LEFT)
#
hboxgrid = pw.hbox_grid(self.panel, self.onDeleteRow, 'specimen', self.grid)
self.deleteRowButton = hboxgrid.deleteRowButton
self.panel.Bind(wx.grid.EVT_GRID_LABEL_LEFT_CLICK, self.onLeftClickLabel, self.grid)
### Create Containers ###
vbox = wx.BoxSizer(wx.VERTICAL)
vbox.AddSpacer(10)
vbox.Add(label, flag=wx.ALIGN_CENTER|wx.TOP|wx.BOTTOM, border=10)
vbox.Add(hbox_one, flag=wx.TOP|wx.LEFT|wx.BOTTOM, border=10)
vbox.Add(hboxok, flag=wx.BOTTOM|wx.LEFT, border=10)
vbox.Add(hboxgrid, flag=wx.BOTTOM|wx.LEFT, border=10)
vbox.Add(self.spec_grid, flag=wx.ALL, border=10)#|wx.EXPAND, border=30)
vbox.AddSpacer(20)
self.hbox_all = wx.BoxSizer(wx.HORIZONTAL)
self.hbox_all.AddSpacer(20)
self.hbox_all.Add(vbox)
self.hbox_all.AddSpacer(20)
self.panel.SetSizer(self.hbox_all)
#self.panel.SetScrollbars(20, 20, 50, 50)
self.hbox_all.Fit(self)
self.Centre()
self.Show()
self.Hide()
self.Show()
|
python
|
def InitSpecCheck(self):
"""make an interactive grid in which users can edit specimen names
as well as which sample a specimen belongs to"""
self.panel = wx.Panel(self, style=wx.SIMPLE_BORDER)
#import wx.lib.scrolledpanel as libpanel # does not work well
#self.panel = libpanel.ScrolledPanel(self, style=wx.SIMPLE_BORDER)
text = """Step 1:
Check that all specimens belong to the correct sample
(if sample name is simply wrong, that will be fixed in step 2)"""
label = wx.StaticText(self.panel, label=text)
self.grid_builder = grid_frame2.GridBuilder(self.er_magic_data, 'specimen',
self.er_magic_data.headers, self.panel,
'sample')
self.spec_grid = self.grid_builder.make_grid(incl_pmag=False)
self.grid = self.spec_grid
self.spec_grid.InitUI()
self.grid_builder.add_data_to_grid(self.spec_grid, 'specimen', incl_pmag=False)
samples = self.er_magic_data.make_name_list(self.er_magic_data.samples)
self.drop_down_menu = drop_down_menus.Menus("specimen", self, self.spec_grid, samples)
#### Create Buttons ####
hbox_one = wx.BoxSizer(wx.HORIZONTAL)
self.addSampleButton = wx.Button(self.panel, label="Add a new sample")
self.samples = [name for name in self.er_magic_data.samples]
self.Bind(wx.EVT_BUTTON, self.on_addSampleButton, self.addSampleButton)
self.helpButton = wx.Button(self.panel, label="Help")
self.Bind(wx.EVT_BUTTON, lambda event: self.on_helpButton(event, "ErMagicSpecimenHelp.html"), self.helpButton)
hbox_one.Add(self.addSampleButton, flag=wx.ALIGN_LEFT|wx.RIGHT, border=10)
hbox_one.Add(self.helpButton)
#
hboxok = wx.BoxSizer(wx.HORIZONTAL)
self.saveButton = wx.Button(self.panel, id=-1, label='Save')
self.Bind(wx.EVT_BUTTON, lambda event: self.on_saveButton(event, self.spec_grid), self.saveButton)
self.cancelButton = wx.Button(self.panel, wx.ID_CANCEL, '&Cancel')
self.Bind(wx.EVT_BUTTON, self.on_cancelButton, self.cancelButton)
self.continueButton = wx.Button(self.panel, id=-1, label='Save and continue')
self.Bind(wx.EVT_BUTTON, lambda event: self.on_continueButton(event, self.spec_grid, next_dia=self.InitSampCheck), self.continueButton)
hboxok.Add(self.saveButton, flag=wx.ALIGN_LEFT|wx.RIGHT, border=10)
hboxok.Add(self.cancelButton, flag=wx.ALIGN_LEFT|wx.RIGHT, border=10)
hboxok.Add(self.continueButton, flag=wx.ALIGN_LEFT)
#
hboxgrid = pw.hbox_grid(self.panel, self.onDeleteRow, 'specimen', self.grid)
self.deleteRowButton = hboxgrid.deleteRowButton
self.panel.Bind(wx.grid.EVT_GRID_LABEL_LEFT_CLICK, self.onLeftClickLabel, self.grid)
### Create Containers ###
vbox = wx.BoxSizer(wx.VERTICAL)
vbox.AddSpacer(10)
vbox.Add(label, flag=wx.ALIGN_CENTER|wx.TOP|wx.BOTTOM, border=10)
vbox.Add(hbox_one, flag=wx.TOP|wx.LEFT|wx.BOTTOM, border=10)
vbox.Add(hboxok, flag=wx.BOTTOM|wx.LEFT, border=10)
vbox.Add(hboxgrid, flag=wx.BOTTOM|wx.LEFT, border=10)
vbox.Add(self.spec_grid, flag=wx.ALL, border=10)#|wx.EXPAND, border=30)
vbox.AddSpacer(20)
self.hbox_all = wx.BoxSizer(wx.HORIZONTAL)
self.hbox_all.AddSpacer(20)
self.hbox_all.Add(vbox)
self.hbox_all.AddSpacer(20)
self.panel.SetSizer(self.hbox_all)
#self.panel.SetScrollbars(20, 20, 50, 50)
self.hbox_all.Fit(self)
self.Centre()
self.Show()
self.Hide()
self.Show()
|
[
"def",
"InitSpecCheck",
"(",
"self",
")",
":",
"self",
".",
"panel",
"=",
"wx",
".",
"Panel",
"(",
"self",
",",
"style",
"=",
"wx",
".",
"SIMPLE_BORDER",
")",
"#import wx.lib.scrolledpanel as libpanel # does not work well",
"#self.panel = libpanel.ScrolledPanel(self, style=wx.SIMPLE_BORDER)",
"text",
"=",
"\"\"\"Step 1:\nCheck that all specimens belong to the correct sample\n(if sample name is simply wrong, that will be fixed in step 2)\"\"\"",
"label",
"=",
"wx",
".",
"StaticText",
"(",
"self",
".",
"panel",
",",
"label",
"=",
"text",
")",
"self",
".",
"grid_builder",
"=",
"grid_frame2",
".",
"GridBuilder",
"(",
"self",
".",
"er_magic_data",
",",
"'specimen'",
",",
"self",
".",
"er_magic_data",
".",
"headers",
",",
"self",
".",
"panel",
",",
"'sample'",
")",
"self",
".",
"spec_grid",
"=",
"self",
".",
"grid_builder",
".",
"make_grid",
"(",
"incl_pmag",
"=",
"False",
")",
"self",
".",
"grid",
"=",
"self",
".",
"spec_grid",
"self",
".",
"spec_grid",
".",
"InitUI",
"(",
")",
"self",
".",
"grid_builder",
".",
"add_data_to_grid",
"(",
"self",
".",
"spec_grid",
",",
"'specimen'",
",",
"incl_pmag",
"=",
"False",
")",
"samples",
"=",
"self",
".",
"er_magic_data",
".",
"make_name_list",
"(",
"self",
".",
"er_magic_data",
".",
"samples",
")",
"self",
".",
"drop_down_menu",
"=",
"drop_down_menus",
".",
"Menus",
"(",
"\"specimen\"",
",",
"self",
",",
"self",
".",
"spec_grid",
",",
"samples",
")",
"#### Create Buttons ####",
"hbox_one",
"=",
"wx",
".",
"BoxSizer",
"(",
"wx",
".",
"HORIZONTAL",
")",
"self",
".",
"addSampleButton",
"=",
"wx",
".",
"Button",
"(",
"self",
".",
"panel",
",",
"label",
"=",
"\"Add a new sample\"",
")",
"self",
".",
"samples",
"=",
"[",
"name",
"for",
"name",
"in",
"self",
".",
"er_magic_data",
".",
"samples",
"]",
"self",
".",
"Bind",
"(",
"wx",
".",
"EVT_BUTTON",
",",
"self",
".",
"on_addSampleButton",
",",
"self",
".",
"addSampleButton",
")",
"self",
".",
"helpButton",
"=",
"wx",
".",
"Button",
"(",
"self",
".",
"panel",
",",
"label",
"=",
"\"Help\"",
")",
"self",
".",
"Bind",
"(",
"wx",
".",
"EVT_BUTTON",
",",
"lambda",
"event",
":",
"self",
".",
"on_helpButton",
"(",
"event",
",",
"\"ErMagicSpecimenHelp.html\"",
")",
",",
"self",
".",
"helpButton",
")",
"hbox_one",
".",
"Add",
"(",
"self",
".",
"addSampleButton",
",",
"flag",
"=",
"wx",
".",
"ALIGN_LEFT",
"|",
"wx",
".",
"RIGHT",
",",
"border",
"=",
"10",
")",
"hbox_one",
".",
"Add",
"(",
"self",
".",
"helpButton",
")",
"#",
"hboxok",
"=",
"wx",
".",
"BoxSizer",
"(",
"wx",
".",
"HORIZONTAL",
")",
"self",
".",
"saveButton",
"=",
"wx",
".",
"Button",
"(",
"self",
".",
"panel",
",",
"id",
"=",
"-",
"1",
",",
"label",
"=",
"'Save'",
")",
"self",
".",
"Bind",
"(",
"wx",
".",
"EVT_BUTTON",
",",
"lambda",
"event",
":",
"self",
".",
"on_saveButton",
"(",
"event",
",",
"self",
".",
"spec_grid",
")",
",",
"self",
".",
"saveButton",
")",
"self",
".",
"cancelButton",
"=",
"wx",
".",
"Button",
"(",
"self",
".",
"panel",
",",
"wx",
".",
"ID_CANCEL",
",",
"'&Cancel'",
")",
"self",
".",
"Bind",
"(",
"wx",
".",
"EVT_BUTTON",
",",
"self",
".",
"on_cancelButton",
",",
"self",
".",
"cancelButton",
")",
"self",
".",
"continueButton",
"=",
"wx",
".",
"Button",
"(",
"self",
".",
"panel",
",",
"id",
"=",
"-",
"1",
",",
"label",
"=",
"'Save and continue'",
")",
"self",
".",
"Bind",
"(",
"wx",
".",
"EVT_BUTTON",
",",
"lambda",
"event",
":",
"self",
".",
"on_continueButton",
"(",
"event",
",",
"self",
".",
"spec_grid",
",",
"next_dia",
"=",
"self",
".",
"InitSampCheck",
")",
",",
"self",
".",
"continueButton",
")",
"hboxok",
".",
"Add",
"(",
"self",
".",
"saveButton",
",",
"flag",
"=",
"wx",
".",
"ALIGN_LEFT",
"|",
"wx",
".",
"RIGHT",
",",
"border",
"=",
"10",
")",
"hboxok",
".",
"Add",
"(",
"self",
".",
"cancelButton",
",",
"flag",
"=",
"wx",
".",
"ALIGN_LEFT",
"|",
"wx",
".",
"RIGHT",
",",
"border",
"=",
"10",
")",
"hboxok",
".",
"Add",
"(",
"self",
".",
"continueButton",
",",
"flag",
"=",
"wx",
".",
"ALIGN_LEFT",
")",
"#",
"hboxgrid",
"=",
"pw",
".",
"hbox_grid",
"(",
"self",
".",
"panel",
",",
"self",
".",
"onDeleteRow",
",",
"'specimen'",
",",
"self",
".",
"grid",
")",
"self",
".",
"deleteRowButton",
"=",
"hboxgrid",
".",
"deleteRowButton",
"self",
".",
"panel",
".",
"Bind",
"(",
"wx",
".",
"grid",
".",
"EVT_GRID_LABEL_LEFT_CLICK",
",",
"self",
".",
"onLeftClickLabel",
",",
"self",
".",
"grid",
")",
"### Create Containers ###",
"vbox",
"=",
"wx",
".",
"BoxSizer",
"(",
"wx",
".",
"VERTICAL",
")",
"vbox",
".",
"AddSpacer",
"(",
"10",
")",
"vbox",
".",
"Add",
"(",
"label",
",",
"flag",
"=",
"wx",
".",
"ALIGN_CENTER",
"|",
"wx",
".",
"TOP",
"|",
"wx",
".",
"BOTTOM",
",",
"border",
"=",
"10",
")",
"vbox",
".",
"Add",
"(",
"hbox_one",
",",
"flag",
"=",
"wx",
".",
"TOP",
"|",
"wx",
".",
"LEFT",
"|",
"wx",
".",
"BOTTOM",
",",
"border",
"=",
"10",
")",
"vbox",
".",
"Add",
"(",
"hboxok",
",",
"flag",
"=",
"wx",
".",
"BOTTOM",
"|",
"wx",
".",
"LEFT",
",",
"border",
"=",
"10",
")",
"vbox",
".",
"Add",
"(",
"hboxgrid",
",",
"flag",
"=",
"wx",
".",
"BOTTOM",
"|",
"wx",
".",
"LEFT",
",",
"border",
"=",
"10",
")",
"vbox",
".",
"Add",
"(",
"self",
".",
"spec_grid",
",",
"flag",
"=",
"wx",
".",
"ALL",
",",
"border",
"=",
"10",
")",
"#|wx.EXPAND, border=30)",
"vbox",
".",
"AddSpacer",
"(",
"20",
")",
"self",
".",
"hbox_all",
"=",
"wx",
".",
"BoxSizer",
"(",
"wx",
".",
"HORIZONTAL",
")",
"self",
".",
"hbox_all",
".",
"AddSpacer",
"(",
"20",
")",
"self",
".",
"hbox_all",
".",
"Add",
"(",
"vbox",
")",
"self",
".",
"hbox_all",
".",
"AddSpacer",
"(",
"20",
")",
"self",
".",
"panel",
".",
"SetSizer",
"(",
"self",
".",
"hbox_all",
")",
"#self.panel.SetScrollbars(20, 20, 50, 50)",
"self",
".",
"hbox_all",
".",
"Fit",
"(",
"self",
")",
"self",
".",
"Centre",
"(",
")",
"self",
".",
"Show",
"(",
")",
"self",
".",
"Hide",
"(",
")",
"self",
".",
"Show",
"(",
")"
] |
make an interactive grid in which users can edit specimen names
as well as which sample a specimen belongs to
|
[
"make",
"an",
"interactive",
"grid",
"in",
"which",
"users",
"can",
"edit",
"specimen",
"names",
"as",
"well",
"as",
"which",
"sample",
"a",
"specimen",
"belongs",
"to"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/dialogs/pmag_er_magic_dialogs.py#L380-L457
|
train
|
Initialize the specimen check dialog
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b100110 + 0o13) + chr(0b110010) + chr(1827 - 1773), 0o10), nzTpIcepk0o8(chr(48) + '\157' + chr(0b110001) + chr(0b110100) + chr(1412 - 1362), 0b1000), nzTpIcepk0o8(chr(0b100001 + 0o17) + chr(0b10110 + 0o131) + '\062' + '\060' + chr(0b110010), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1000011 + 0o54) + '\x32' + chr(55) + chr(0b110111), 18619 - 18611), nzTpIcepk0o8('\060' + chr(0b111100 + 0o63) + '\x31' + chr(0b101110 + 0o6) + chr(1843 - 1793), 8), nzTpIcepk0o8('\x30' + '\x6f' + '\x33' + '\x34' + '\x33', 0b1000), nzTpIcepk0o8(chr(48) + '\157' + '\x33' + chr(0b10010 + 0o36) + '\060', 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(1301 - 1251) + chr(188 - 134) + chr(54), ord("\x08")), nzTpIcepk0o8(chr(1346 - 1298) + '\x6f' + chr(0b11101 + 0o26) + chr(50) + '\062', 0b1000), nzTpIcepk0o8('\x30' + chr(0b101001 + 0o106) + chr(49) + chr(51) + '\062', 0b1000), nzTpIcepk0o8(chr(1399 - 1351) + chr(10353 - 10242) + chr(2024 - 1975) + chr(0b11001 + 0o36) + chr(547 - 497), 20567 - 20559), nzTpIcepk0o8('\x30' + chr(111) + chr(0b110111) + '\x33', 0o10), nzTpIcepk0o8('\060' + '\157' + '\062' + chr(2334 - 2282) + chr(49), 0b1000), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\063' + '\x33' + '\064', 57568 - 57560), nzTpIcepk0o8('\060' + chr(0b1101111) + '\x32' + chr(1289 - 1234) + chr(49), 27266 - 27258), nzTpIcepk0o8(chr(1706 - 1658) + chr(0b10100 + 0o133) + chr(50) + chr(50) + chr(0b0 + 0o66), 0b1000), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b100100 + 0o16) + chr(0b1011 + 0o50) + chr(53), 50122 - 50114), nzTpIcepk0o8(chr(1964 - 1916) + '\x6f' + '\x31' + '\064' + chr(0b10010 + 0o42), 0o10), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(51) + '\065' + '\064', 0o10), nzTpIcepk0o8('\x30' + '\157' + '\067' + chr(0b1000 + 0o53), 8), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b110011) + chr(1673 - 1625) + '\067', 0b1000), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b110010) + '\x33' + '\x31', 0o10), nzTpIcepk0o8(chr(0b100 + 0o54) + '\x6f' + chr(0b110010) + chr(50) + '\062', 44409 - 44401), nzTpIcepk0o8(chr(0b10001 + 0o37) + chr(0b1101111) + chr(2317 - 2264) + chr(48), 0o10), nzTpIcepk0o8(chr(433 - 385) + chr(0b1101111) + chr(0b110101) + '\066', 0o10), nzTpIcepk0o8('\060' + '\157' + '\061' + chr(0b110010) + chr(0b110100), ord("\x08")), nzTpIcepk0o8(chr(2267 - 2219) + '\x6f' + '\x33' + chr(0b110111) + chr(0b1111 + 0o50), 0o10), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(51) + chr(2438 - 2388) + chr(51), 0o10), nzTpIcepk0o8(chr(1230 - 1182) + chr(0b1101101 + 0o2) + chr(2026 - 1975) + '\063' + chr(0b101000 + 0o11), 0o10), nzTpIcepk0o8(chr(48) + chr(0b1000101 + 0o52) + chr(51) + '\062' + chr(53), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b1000101 + 0o52) + chr(1543 - 1494) + chr(0b110111) + chr(53), 0b1000), nzTpIcepk0o8(chr(938 - 890) + chr(0b10010 + 0o135) + chr(1939 - 1890) + '\x30' + chr(0b110000), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b1110 + 0o44) + '\x35' + '\x37', 38723 - 38715), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b110011) + chr(1119 - 1065) + chr(0b110001), 0o10), nzTpIcepk0o8(chr(0b1010 + 0o46) + chr(111) + '\x33' + chr(0b110100) + chr(0b1000 + 0o57), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x31' + chr(48) + chr(51), 0b1000), nzTpIcepk0o8(chr(48) + chr(0b1001101 + 0o42) + '\061' + chr(0b110101) + chr(0b101110 + 0o5), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\x32' + chr(50) + chr(48), 0b1000), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b110001) + chr(55) + chr(50), 8), nzTpIcepk0o8(chr(48) + chr(0b11001 + 0o126) + chr(0b110010) + chr(53) + chr(0b11111 + 0o25), 64399 - 64391)][ZlbFMSG8gCoF % nzTpIcepk0o8('\x30' + '\x6f' + '\065' + chr(424 - 376), 8)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'x'), chr(0b1100100) + chr(1420 - 1319) + chr(99) + '\x6f' + '\144' + '\145')(chr(0b1000110 + 0o57) + chr(0b1011111 + 0o25) + chr(3489 - 3387) + '\x2d' + chr(0b100000 + 0o30)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def GjTmpP5lL5p2(hXMPsSrOQzbh):
hXMPsSrOQzbh.tqXV8VwoxdNA = FHAk5xm055cs.Panel(hXMPsSrOQzbh, style=FHAk5xm055cs.SIMPLE_BORDER)
cpStk7cY1TJd = roI3spqORKae(ES5oEprVxulp(b'\x05\x16\xe7\xcfB\xd2\xfa\xbc\x912\x1fX\xca\xfc\xcd\xfe\xfc\x10\xccZ\xab\xf5\xb2[^1\x9c\xba\xb4\xb0\x133\x8f\x93\x82/\x04\xfe\x1d\x8c"\r\xa2\xcb\n\x86\xe0\xd5\xbd(\x08^\xc2\xa8\x99\xe5\xfc\t\x9cW\xa2\x93\xbaAHt\x8c\xb2\xb4\xa5\x11%\x8f\x9f\x86.\x0e\xb0\x13\xdfv\x11\xeb\xd2\x12\x8f\xb9\x96\xa5(\x15U\xc6\xf0\x99\xe2\xf5\x05\x98\x1b\xb0\xf0\xfeD\x0e6\x9a\xf3\xbf\xbc\x05%\xcb\xd1\x8e-K\xe3\x0e\xc9&B\xb0\x96'), chr(0b1100001 + 0o3) + '\145' + chr(6004 - 5905) + chr(111) + chr(100) + '\145')(chr(0b1110101) + chr(116) + chr(0b1000101 + 0o41) + chr(45) + chr(0b101000 + 0o20))
OkDIn6t2Cke6 = FHAk5xm055cs.StaticText(hXMPsSrOQzbh.tqXV8VwoxdNA, label=cpStk7cY1TJd)
hXMPsSrOQzbh.W1YFLWHF2P72 = kSQQsh1rBLdC.GridBuilder(hXMPsSrOQzbh.er_magic_data, roI3spqORKae(ES5oEprVxulp(b'%\x12\xe7\xdc\x0b\x8e\xa5\xd8'), '\144' + '\145' + chr(1121 - 1022) + chr(111) + '\x64' + chr(0b1100101))(chr(0b1110101) + '\164' + '\146' + chr(45) + chr(0b11101 + 0o33)), hXMPsSrOQzbh.er_magic_data.UyworZfslHjc, hXMPsSrOQzbh.tqXV8VwoxdNA, roI3spqORKae(ES5oEprVxulp(b'%\x03\xef\xcf\x0e\x86'), chr(100) + chr(0b1100101) + chr(8072 - 7973) + chr(111) + chr(100) + '\x65')(chr(4126 - 4009) + chr(9243 - 9127) + chr(0b1100110) + '\x2d' + '\x38'))
hXMPsSrOQzbh.gwvVTUhKHNkd = hXMPsSrOQzbh.grid_builder.make_grid(incl_pmag=nzTpIcepk0o8('\060' + '\x6f' + '\x30', 0b1000))
hXMPsSrOQzbh.xiP5QxYWlEkW = hXMPsSrOQzbh.gwvVTUhKHNkd
roI3spqORKae(hXMPsSrOQzbh.spec_grid, roI3spqORKae(ES5oEprVxulp(b'\x1f\x0c\xeb\xcb7\xaa'), '\144' + '\x65' + '\143' + chr(1222 - 1111) + chr(0b1011111 + 0o5) + chr(101))('\165' + '\164' + '\x66' + '\055' + '\x38'))()
roI3spqORKae(hXMPsSrOQzbh.grid_builder, roI3spqORKae(ES5oEprVxulp(b'7\x06\xe6\xe0\x06\x82\xb4\xd7\x8d.\x15d\xc6\xae\xd0\xf2'), chr(0b1011011 + 0o11) + chr(7680 - 7579) + chr(0b11000 + 0o113) + chr(0b1101111) + '\x64' + '\145')('\165' + chr(0b100001 + 0o123) + chr(0b100101 + 0o101) + chr(1152 - 1107) + '\070'))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'1\x15\xf4\xe96\xb6\xa8\xfd\x9a\x14\x11_'), chr(3549 - 3449) + chr(0b1000 + 0o135) + chr(0b1010001 + 0o22) + chr(111) + '\144' + chr(738 - 637))(chr(5382 - 5265) + chr(0b1110100) + chr(6562 - 6460) + chr(787 - 742) + chr(0b111000))), roI3spqORKae(ES5oEprVxulp(b'%\x12\xe7\xdc\x0b\x8e\xa5\xd8'), chr(100) + chr(101) + '\x63' + chr(111) + chr(100) + '\145')(chr(117) + chr(0b1110100) + chr(1561 - 1459) + chr(45) + '\070'), incl_pmag=nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(48), 8))
BSbljhMZAGaC = hXMPsSrOQzbh.er_magic_data.make_name_list(hXMPsSrOQzbh.er_magic_data.samples)
hXMPsSrOQzbh.beUkJUv9NfWC = VcRxcF379N_E.Menus(roI3spqORKae(ES5oEprVxulp(b'%\x12\xe7\xdc\x0b\x8e\xa5\xd8'), chr(8273 - 8173) + chr(1650 - 1549) + chr(0b111100 + 0o47) + chr(916 - 805) + '\x64' + chr(0b1100101))('\x75' + '\x74' + '\146' + chr(0b0 + 0o55) + chr(0b111000)), hXMPsSrOQzbh, hXMPsSrOQzbh.gwvVTUhKHNkd, BSbljhMZAGaC)
JKtZmCyzIAeO = FHAk5xm055cs.BoxSizer(FHAk5xm055cs.HORIZONTAL)
hXMPsSrOQzbh.Xpti5ecRCYeG = FHAk5xm055cs.Button(hXMPsSrOQzbh.tqXV8VwoxdNA, label=roI3spqORKae(ES5oEprVxulp(b'\x17\x06\xe6\x9f\x03\xc3\xae\xd3\xa5z\tZ\xcc\xac\xd5\xf3'), chr(217 - 117) + chr(0b1100101) + chr(0b10101 + 0o116) + chr(111) + chr(4986 - 4886) + '\x65')(chr(117) + '\164' + '\146' + chr(0b101101) + chr(898 - 842)))
hXMPsSrOQzbh.BSbljhMZAGaC = [SLVB2BPA_mIe for SLVB2BPA_mIe in hXMPsSrOQzbh.er_magic_data.BSbljhMZAGaC]
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x14\x0b\xec\xdb'), chr(0b1100100) + chr(0b1100101 + 0o0) + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + '\145')(chr(6481 - 6364) + chr(0b1110011 + 0o1) + chr(6931 - 6829) + chr(484 - 439) + chr(0b11101 + 0o33)))(roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\x134\xd6\xe0 \xb6\x94\xe2\x9d\x14'), chr(4572 - 4472) + chr(0b1100101) + '\143' + '\x6f' + chr(2105 - 2005) + chr(6154 - 6053))(chr(0b1000010 + 0o63) + '\x74' + chr(0b111000 + 0o56) + chr(277 - 232) + chr(0b111000))), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'9\x0c\xdd\xde\x06\x87\x93\xd7\xbf*\x16^\xe3\xa9\xcd\xe2\xf2\n'), '\x64' + '\145' + '\143' + '\x6f' + chr(3389 - 3289) + '\145')(chr(117) + chr(0b1001001 + 0o53) + chr(102) + '\x2d' + '\070')), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x0e\x12\xf6\xd6W\x86\xa3\xe4\x91\x03\x1f|'), chr(0b1100100) + chr(8554 - 8453) + chr(0b1100011) + chr(0b1101111) + chr(100) + '\x65')('\165' + chr(116) + '\146' + '\055' + '\070')))
hXMPsSrOQzbh.W55E6UjS9vVB = FHAk5xm055cs.Button(hXMPsSrOQzbh.tqXV8VwoxdNA, label=roI3spqORKae(ES5oEprVxulp(b'\x1e\x07\xee\xcf'), '\144' + chr(0b1100101) + chr(99) + '\157' + chr(4312 - 4212) + '\145')('\x75' + '\164' + chr(102) + '\x2d' + '\x38'))
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x14\x0b\xec\xdb'), chr(100) + '\145' + chr(0b1100011) + '\157' + chr(100) + '\x65')('\165' + chr(116) + chr(0b1100110) + '\x2d' + chr(1212 - 1156)))(roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\x134\xd6\xe0 \xb6\x94\xe2\x9d\x14'), '\x64' + '\x65' + chr(0b1011101 + 0o6) + '\157' + chr(0b1100100) + '\x65')('\165' + chr(172 - 56) + '\x66' + '\055' + chr(1932 - 1876))), lambda D4ybylS07yGH: roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'9\x0c\xdd\xd7\x07\x8f\xb0\xf4\xa7.\x0eT\xcf'), chr(0b10111 + 0o115) + '\x65' + '\x63' + chr(0b110010 + 0o75) + chr(0b1100100) + '\x65')('\x75' + chr(9553 - 9437) + chr(6910 - 6808) + chr(0b101101) + chr(0b10110 + 0o42)))(D4ybylS07yGH, roI3spqORKae(ES5oEprVxulp(b'\x13\x10\xcf\xde\x05\x8a\xa3\xe5\xa2?\x19R\xcc\xb9\xd7\xde\xf8\x08\x9c\x15\xaf\xed\xffD'), '\144' + '\x65' + '\143' + chr(10449 - 10338) + chr(100) + '\145')(chr(0b1110101) + chr(11288 - 11172) + '\146' + chr(668 - 623) + chr(500 - 444))), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x01W\xb7\xfaT\xb6\xaa\xe5\xeb,,y'), chr(100) + '\145' + chr(0b1100011) + chr(0b1100011 + 0o14) + chr(0b1100100) + chr(101))(chr(117) + '\x74' + chr(0b1100110) + chr(0b101101) + '\070')))
roI3spqORKae(JKtZmCyzIAeO, roI3spqORKae(ES5oEprVxulp(b'\x17\x06\xe6'), chr(0b1100100) + '\x65' + chr(99) + '\157' + chr(100) + '\145')(chr(12383 - 12266) + '\x74' + chr(102) + chr(45) + chr(56)))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x0e\x12\xf6\xd6W\x86\xa3\xe4\x91\x03\x1f|'), chr(7870 - 7770) + chr(0b10110 + 0o117) + '\x63' + chr(11944 - 11833) + chr(3373 - 3273) + chr(0b1110 + 0o127))(chr(0b1001011 + 0o52) + '\x74' + chr(0b1010001 + 0o25) + '\x2d' + '\x38')), flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\x17.\xcb\xf8,\xbc\x8c\xf3\x94\x0e'), chr(0b110100 + 0o60) + chr(7992 - 7891) + chr(99) + '\x6f' + '\144' + '\145')('\x75' + chr(0b1010101 + 0o37) + chr(0b11 + 0o143) + chr(0b1111 + 0o36) + chr(56))) | roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\x04+\xc5\xf76'), chr(0b1100100) + chr(0b1100 + 0o131) + chr(99) + '\x6f' + chr(1866 - 1766) + '\x65')(chr(0b1110101) + chr(0b1110100) + '\x66' + '\x2d' + chr(0b111000))), border=nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b110001) + '\x32', ord("\x08")))
roI3spqORKae(JKtZmCyzIAeO, roI3spqORKae(ES5oEprVxulp(b'\x17\x06\xe6'), chr(0b100111 + 0o75) + chr(1718 - 1617) + '\143' + chr(461 - 350) + chr(2101 - 2001) + '\x65')('\165' + chr(0b111010 + 0o72) + '\146' + chr(0b101101) + '\070'))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x01W\xb7\xfaT\xb6\xaa\xe5\xeb,,y'), chr(4098 - 3998) + chr(0b111011 + 0o52) + '\x63' + chr(0b1101111) + '\144' + '\x65')(chr(0b101 + 0o160) + chr(0b1110100) + '\146' + '\055' + '\070')))
bwojCi6IuwsQ = FHAk5xm055cs.BoxSizer(FHAk5xm055cs.HORIZONTAL)
hXMPsSrOQzbh.m2I3HKmqciwZ = FHAk5xm055cs.Button(hXMPsSrOQzbh.tqXV8VwoxdNA, id=-nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b1000 + 0o51), 3838 - 3830), label=roI3spqORKae(ES5oEprVxulp(b'\x05\x03\xf4\xda'), chr(0b11111 + 0o105) + chr(101) + chr(99) + chr(0b1101111) + chr(0b1100100) + chr(6667 - 6566))('\x75' + chr(0b1110100) + chr(102) + chr(45) + chr(0b111000)))
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x14\x0b\xec\xdb'), chr(0b1011001 + 0o13) + '\145' + chr(0b1100011) + '\x6f' + '\144' + chr(0b1010111 + 0o16))('\165' + '\164' + chr(0b110 + 0o140) + chr(160 - 115) + chr(1915 - 1859)))(roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\x134\xd6\xe0 \xb6\x94\xe2\x9d\x14'), chr(0b1100100) + '\145' + chr(0b1100011) + chr(5240 - 5129) + chr(0b1100100) + chr(101))(chr(0b1110101) + chr(0b1110100) + '\x66' + '\x2d' + chr(2374 - 2318))), lambda D4ybylS07yGH: roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'9\x0c\xdd\xcc\x03\x95\xa5\xf4\xa7.\x0eT\xcf'), '\144' + '\145' + chr(0b1100011) + '\157' + '\x64' + '\145')('\x75' + '\x74' + '\146' + chr(633 - 588) + chr(0b1111 + 0o51)))(D4ybylS07yGH, roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'1\x15\xf4\xe96\xb6\xa8\xfd\x9a\x14\x11_'), chr(100) + chr(0b1100101) + chr(0b1100011) + chr(111) + chr(0b1100100) + chr(3439 - 3338))(chr(0b1101 + 0o150) + chr(0b1110100 + 0o0) + chr(0b111100 + 0o52) + chr(425 - 380) + chr(2138 - 2082)))), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b';P\xcb\x8c*\xa8\xad\xc7\xb13\ra'), '\144' + '\x65' + chr(827 - 728) + chr(111) + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + '\x66' + chr(0b101101) + '\070')))
hXMPsSrOQzbh.CxTJSLD15mva = FHAk5xm055cs.Button(hXMPsSrOQzbh.tqXV8VwoxdNA, FHAk5xm055cs.ID_CANCEL, roI3spqORKae(ES5oEprVxulp(b'p!\xe3\xd1\x01\x86\xac'), chr(0b100010 + 0o102) + '\145' + '\143' + chr(0b1101111) + '\144' + chr(101))(chr(117) + '\x74' + '\x66' + '\x2d' + chr(1439 - 1383)))
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x14\x0b\xec\xdb'), chr(100) + chr(10002 - 9901) + chr(0b1001111 + 0o24) + chr(7876 - 7765) + '\x64' + chr(2539 - 2438))(chr(117) + chr(8273 - 8157) + chr(0b1100110) + chr(977 - 932) + chr(56)))(roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\x134\xd6\xe0 \xb6\x94\xe2\x9d\x14'), chr(0b1100100) + chr(0b111011 + 0o52) + '\143' + chr(0b111010 + 0o65) + chr(3387 - 3287) + chr(0b10100 + 0o121))(chr(0b10100 + 0o141) + '\164' + chr(0b1000001 + 0o45) + '\x2d' + chr(0b111000))), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'9\x0c\xdd\xdc\x03\x8d\xa3\xd3\xbe\x18\x0fO\xd5\xb3\xd7'), chr(100) + chr(3834 - 3733) + chr(9321 - 9222) + chr(0b100011 + 0o114) + chr(0b1001101 + 0o27) + '\145')(chr(0b101000 + 0o115) + chr(1304 - 1188) + chr(102) + chr(945 - 900) + '\070')), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x15\x1a\xd6\xf51\xaf\x84\x87\xe77\x0cZ'), chr(0b1100100) + chr(0b1100101) + '\143' + chr(11126 - 11015) + chr(100) + '\x65')('\165' + '\164' + chr(0b1100110) + chr(0b10010 + 0o33) + chr(906 - 850))))
hXMPsSrOQzbh.LzXnStd_2DBe = FHAk5xm055cs.Button(hXMPsSrOQzbh.tqXV8VwoxdNA, id=-nzTpIcepk0o8('\x30' + chr(111) + '\x31', 8), label=roI3spqORKae(ES5oEprVxulp(b'\x05\x03\xf4\xdaB\x82\xae\xd2\xf29\x15U\xd5\xb5\xd7\xe3\xf8'), chr(0b1001111 + 0o25) + chr(1716 - 1615) + chr(0b1101 + 0o126) + chr(10940 - 10829) + '\x64' + '\145')('\165' + chr(116) + chr(9102 - 9000) + chr(0b1111 + 0o36) + '\x38'))
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x14\x0b\xec\xdb'), chr(3086 - 2986) + chr(2872 - 2771) + '\143' + chr(9974 - 9863) + chr(100) + chr(0b1100101))(chr(3349 - 3232) + chr(116) + chr(102) + chr(45) + chr(0b111000)))(roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\x134\xd6\xe0 \xb6\x94\xe2\x9d\x14'), chr(0b100 + 0o140) + '\145' + chr(5548 - 5449) + '\x6f' + chr(0b110011 + 0o61) + '\x65')(chr(0b110111 + 0o76) + chr(0b11000 + 0o134) + chr(10031 - 9929) + chr(1447 - 1402) + chr(0b111000))), lambda D4ybylS07yGH: roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'9\x0c\xdd\xdc\r\x8d\xb4\xdf\xbc/\x1fy\xd4\xa8\xcd\xf9\xf3'), chr(9631 - 9531) + chr(0b1100101) + chr(99) + '\157' + chr(0b1000001 + 0o43) + '\x65')(chr(0b1110101) + '\164' + '\x66' + chr(0b101101) + chr(56)))(D4ybylS07yGH, roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'1\x15\xf4\xe96\xb6\xa8\xfd\x9a\x14\x11_'), chr(7159 - 7059) + chr(1292 - 1191) + chr(0b1100 + 0o127) + '\x6f' + '\144' + '\145')(chr(0b1110101) + '\x74' + chr(102) + chr(45) + chr(0b111000))), next_dia=roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x1f\x0c\xeb\xcb1\x82\xad\xc6\x912\x1fX\xca'), chr(100) + chr(101) + '\x63' + '\157' + chr(4244 - 4144) + chr(0b1100101))('\x75' + chr(0b1010000 + 0o44) + '\x66' + '\x2d' + '\070'))), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x1a\x18\xda\xd11\x97\xa4\xe9\xe0\x1e8^'), '\144' + '\145' + chr(99) + chr(5303 - 5192) + chr(0b11 + 0o141) + '\x65')(chr(0b1110101) + '\x74' + chr(0b101 + 0o141) + chr(0b11111 + 0o16) + '\070')))
roI3spqORKae(bwojCi6IuwsQ, roI3spqORKae(ES5oEprVxulp(b'\x17\x06\xe6'), '\144' + chr(8186 - 8085) + '\143' + chr(8742 - 8631) + '\144' + chr(101))('\165' + chr(7060 - 6944) + chr(102) + '\x2d' + chr(112 - 56)))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b';P\xcb\x8c*\xa8\xad\xc7\xb13\ra'), chr(100) + '\145' + '\x63' + chr(0b1101111) + chr(100) + chr(9386 - 9285))('\165' + '\164' + chr(102) + '\x2d' + '\x38')), flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\x17.\xcb\xf8,\xbc\x8c\xf3\x94\x0e'), chr(0b1001100 + 0o30) + chr(0b1100101 + 0o0) + chr(0b1100011) + chr(0b1101111) + '\144' + chr(2803 - 2702))(chr(0b1110101) + chr(0b1010 + 0o152) + chr(102) + chr(0b11101 + 0o20) + chr(0b110100 + 0o4))) | roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\x04+\xc5\xf76'), chr(100) + '\x65' + chr(99) + chr(111) + chr(0b101010 + 0o72) + chr(101))('\165' + chr(2839 - 2723) + '\x66' + chr(0b101101) + chr(0b111000))), border=nzTpIcepk0o8(chr(555 - 507) + '\x6f' + chr(0b110001) + chr(0b110010), 8))
roI3spqORKae(bwojCi6IuwsQ, roI3spqORKae(ES5oEprVxulp(b'\x17\x06\xe6'), '\x64' + chr(0b1010010 + 0o23) + chr(5545 - 5446) + chr(0b101011 + 0o104) + chr(100) + chr(101))('\165' + chr(0b110 + 0o156) + chr(102) + chr(45) + chr(0b10011 + 0o45)))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x15\x1a\xd6\xf51\xaf\x84\x87\xe77\x0cZ'), chr(0b1100100) + chr(0b1100101) + chr(0b1010100 + 0o17) + '\x6f' + chr(100) + chr(5312 - 5211))(chr(0b110100 + 0o101) + chr(0b10101 + 0o137) + chr(0b101100 + 0o72) + '\055' + '\070')), flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\x17.\xcb\xf8,\xbc\x8c\xf3\x94\x0e'), chr(0b111111 + 0o45) + chr(0b1100101) + chr(0b110001 + 0o62) + '\157' + chr(0b1100100) + '\x65')(chr(4360 - 4243) + chr(11254 - 11138) + chr(3479 - 3377) + chr(45) + '\x38')) | roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\x04+\xc5\xf76'), chr(0b1100100) + chr(5104 - 5003) + chr(0b10001 + 0o122) + chr(111) + '\x64' + '\145')(chr(117) + chr(0b1110100) + '\x66' + chr(0b101101) + '\x38')), border=nzTpIcepk0o8('\x30' + chr(0b1100010 + 0o15) + '\x31' + chr(0b1110 + 0o44), 8))
roI3spqORKae(bwojCi6IuwsQ, roI3spqORKae(ES5oEprVxulp(b'\x17\x06\xe6'), chr(5437 - 5337) + chr(0b1100101) + chr(99) + '\157' + chr(5623 - 5523) + chr(4072 - 3971))('\x75' + chr(617 - 501) + '\x66' + chr(0b0 + 0o55) + chr(0b111000)))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x1a\x18\xda\xd11\x97\xa4\xe9\xe0\x1e8^'), chr(100) + chr(0b111000 + 0o55) + chr(0b0 + 0o143) + chr(111) + '\x64' + chr(4444 - 4343))(chr(1018 - 901) + chr(0b1110100) + chr(0b1100110) + '\x2d' + chr(0b111000))), flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\x17.\xcb\xf8,\xbc\x8c\xf3\x94\x0e'), chr(100) + chr(9985 - 9884) + '\x63' + '\157' + '\x64' + chr(101))('\165' + chr(0b101 + 0o157) + chr(0b1011111 + 0o7) + chr(45) + chr(0b111000))))
YtxUIAgokoEJ = saCGFe0zE73j.hbox_grid(hXMPsSrOQzbh.tqXV8VwoxdNA, hXMPsSrOQzbh.onDeleteRow, roI3spqORKae(ES5oEprVxulp(b'%\x12\xe7\xdc\x0b\x8e\xa5\xd8'), chr(100) + chr(9902 - 9801) + chr(0b1100001 + 0o2) + chr(11475 - 11364) + '\144' + chr(0b10000 + 0o125))('\x75' + chr(7632 - 7516) + chr(0b11101 + 0o111) + chr(45) + '\070'), hXMPsSrOQzbh.xiP5QxYWlEkW)
hXMPsSrOQzbh.wl01LRemEZlu = YtxUIAgokoEJ.wl01LRemEZlu
roI3spqORKae(hXMPsSrOQzbh.panel, roI3spqORKae(ES5oEprVxulp(b'\x14\x0b\xec\xdb'), '\144' + '\x65' + chr(0b1100011) + chr(0b1101111) + chr(9516 - 9416) + '\x65')(chr(117) + chr(0b1100 + 0o150) + '\x66' + chr(0b101101) + chr(1566 - 1510)))(roI3spqORKae(FHAk5xm055cs.grid, roI3spqORKae(ES5oEprVxulp(b'\x134\xd6\xe0%\xb1\x89\xf2\x8d\x16;y\xe4\x90\xe6\xda\xd8"\xb8d\x84\xd5\xdbke'), chr(0b1100100) + '\x65' + '\143' + chr(111) + chr(9731 - 9631) + chr(585 - 484))('\x75' + chr(12503 - 12387) + '\146' + chr(1953 - 1908) + chr(496 - 440))), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'9\x0c\xce\xda\x04\x97\x83\xda\xbb9\x11w\xc0\xbe\xdc\xfa'), chr(0b101111 + 0o65) + chr(9523 - 9422) + '\x63' + '\x6f' + chr(0b1100 + 0o130) + chr(0b1100101))('\165' + chr(11824 - 11708) + chr(0b1100110) + chr(0b101101) + chr(0b1011 + 0o55))), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'.\x0b\xd2\x8a3\x9b\x99\xe1\xbe\x1f\x11l'), '\144' + '\x65' + '\x63' + chr(0b10011 + 0o134) + '\x64' + chr(9953 - 9852))('\165' + chr(0b1010111 + 0o35) + '\146' + chr(0b10100 + 0o31) + chr(841 - 785))))
ATU5rnBLE1hw = FHAk5xm055cs.BoxSizer(FHAk5xm055cs.VERTICAL)
roI3spqORKae(ATU5rnBLE1hw, roI3spqORKae(ES5oEprVxulp(b'\x17\x06\xe6\xec\x12\x82\xa3\xd3\xa0'), '\x64' + '\145' + chr(2804 - 2705) + chr(0b1101111) + chr(4796 - 4696) + chr(10004 - 9903))(chr(8298 - 8181) + chr(0b1110100) + '\x66' + '\x2d' + chr(0b1111 + 0o51)))(nzTpIcepk0o8(chr(0b101000 + 0o10) + '\157' + '\x31' + chr(50), 8))
roI3spqORKae(ATU5rnBLE1hw, roI3spqORKae(ES5oEprVxulp(b'\x17\x06\xe6'), chr(0b1100100) + chr(0b111111 + 0o46) + chr(0b1100011) + chr(0b110010 + 0o75) + chr(100) + chr(6566 - 6465))(chr(117) + '\x74' + chr(0b1111 + 0o127) + '\055' + chr(0b1111 + 0o51)))(OkDIn6t2Cke6, flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\x17.\xcb\xf8,\xbc\x83\xf3\x9c\x0e?i'), chr(100) + chr(101) + chr(99) + chr(7501 - 7390) + chr(0b1100100) + chr(101))('\x75' + chr(4529 - 4413) + '\146' + '\x2d' + chr(2079 - 2023))) | roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\x02-\xd2'), chr(3000 - 2900) + chr(101) + chr(4592 - 4493) + '\157' + '\144' + chr(0b101110 + 0o67))(chr(13585 - 13468) + chr(116) + chr(0b1010 + 0o134) + chr(45) + chr(2344 - 2288))) | roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\x14-\xd6\xeb-\xae'), chr(100) + '\x65' + chr(0b1100011) + chr(0b100001 + 0o116) + chr(4664 - 4564) + chr(101))('\x75' + '\164' + '\146' + chr(0b101101) + chr(0b101 + 0o63))), border=nzTpIcepk0o8('\x30' + chr(111) + '\061' + '\062', 8))
roI3spqORKae(ATU5rnBLE1hw, roI3spqORKae(ES5oEprVxulp(b'\x17\x06\xe6'), chr(0b110000 + 0o64) + chr(0b1100101) + chr(0b100000 + 0o103) + '\x6f' + chr(100) + '\x65')(chr(0b1101 + 0o150) + chr(10850 - 10734) + chr(102) + '\x2d' + chr(56)))(JKtZmCyzIAeO, flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\x02-\xd2'), chr(100) + '\x65' + chr(0b1010010 + 0o21) + chr(0b1000000 + 0o57) + '\144' + '\x65')('\x75' + chr(116) + chr(10059 - 9957) + chr(0b11001 + 0o24) + chr(0b11100 + 0o34))) | roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b"\x1a'\xc4\xeb"), chr(2505 - 2405) + chr(0b1100101) + chr(0b1100011) + '\x6f' + '\144' + chr(101))(chr(0b111010 + 0o73) + chr(0b111000 + 0o74) + chr(0b111010 + 0o54) + chr(0b101101) + '\070')) | roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\x14-\xd6\xeb-\xae'), '\x64' + '\x65' + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(5815 - 5714))(chr(0b110111 + 0o76) + chr(0b1110100) + chr(102) + chr(0b110 + 0o47) + '\x38')), border=nzTpIcepk0o8('\060' + chr(111) + chr(116 - 67) + chr(0b110010), 8))
roI3spqORKae(ATU5rnBLE1hw, roI3spqORKae(ES5oEprVxulp(b'\x17\x06\xe6'), chr(100) + chr(101) + chr(0b1100011) + chr(111) + chr(0b1100100) + '\145')('\x75' + chr(0b1110100) + chr(0b101010 + 0o74) + chr(0b1101 + 0o40) + '\x38'))(bwojCi6IuwsQ, flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\x14-\xd6\xeb-\xae'), '\x64' + chr(9156 - 9055) + chr(0b1100011) + chr(4324 - 4213) + '\144' + chr(101))(chr(7729 - 7612) + chr(0b1110100) + chr(0b100010 + 0o104) + chr(1581 - 1536) + chr(0b111000))) | roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b"\x1a'\xc4\xeb"), '\144' + '\x65' + '\143' + chr(0b1101111) + chr(5219 - 5119) + chr(0b0 + 0o145))('\165' + chr(2974 - 2858) + '\x66' + chr(1985 - 1940) + '\070')), border=nzTpIcepk0o8(chr(2187 - 2139) + chr(0b1000010 + 0o55) + chr(49) + chr(0b11100 + 0o26), 8))
roI3spqORKae(ATU5rnBLE1hw, roI3spqORKae(ES5oEprVxulp(b'\x17\x06\xe6'), chr(0b1100100) + chr(101) + chr(0b1100011) + chr(111) + chr(0b101010 + 0o72) + '\x65')(chr(0b1110101) + chr(0b100 + 0o160) + chr(0b1100110) + chr(0b101101) + chr(2578 - 2522)))(YtxUIAgokoEJ, flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\x14-\xd6\xeb-\xae'), chr(0b1010000 + 0o24) + chr(2607 - 2506) + chr(9689 - 9590) + '\x6f' + chr(4344 - 4244) + chr(1822 - 1721))('\x75' + '\x74' + chr(0b1010111 + 0o17) + chr(45) + chr(0b111000))) | roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b"\x1a'\xc4\xeb"), '\x64' + chr(101) + chr(0b10110 + 0o115) + chr(0b10010 + 0o135) + '\144' + chr(0b101101 + 0o70))('\x75' + '\x74' + chr(0b1100110) + '\055' + chr(299 - 243))), border=nzTpIcepk0o8(chr(0b110000) + chr(0b11001 + 0o126) + chr(0b110000 + 0o1) + chr(0b110010), 8))
roI3spqORKae(ATU5rnBLE1hw, roI3spqORKae(ES5oEprVxulp(b'\x17\x06\xe6'), chr(0b101010 + 0o72) + chr(101) + '\143' + chr(0b111001 + 0o66) + '\144' + '\x65')('\165' + chr(7938 - 7822) + chr(0b1100110) + chr(45) + chr(56)))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'1\x15\xf4\xe96\xb6\xa8\xfd\x9a\x14\x11_'), chr(0b1100100) + chr(1043 - 942) + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(0b1100101))('\165' + chr(116) + chr(0b1100110) + chr(45) + '\x38')), flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\x17.\xce'), '\x64' + '\x65' + chr(3633 - 3534) + '\157' + '\x64' + chr(101))('\x75' + chr(0b1010110 + 0o36) + chr(5433 - 5331) + '\055' + chr(227 - 171))), border=nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b110001) + '\x32', 8))
roI3spqORKae(ATU5rnBLE1hw, roI3spqORKae(ES5oEprVxulp(b'\x17\x06\xe6\xec\x12\x82\xa3\xd3\xa0'), chr(8549 - 8449) + chr(483 - 382) + '\143' + '\157' + chr(0b1100100) + chr(101))(chr(117) + chr(0b1110100) + chr(0b11111 + 0o107) + chr(0b101101) + chr(0b1101 + 0o53)))(nzTpIcepk0o8(chr(0b110000) + '\157' + '\062' + '\064', 0o10))
hXMPsSrOQzbh.pH5XcejHv7fz = FHAk5xm055cs.BoxSizer(FHAk5xm055cs.HORIZONTAL)
roI3spqORKae(hXMPsSrOQzbh.hbox_all, roI3spqORKae(ES5oEprVxulp(b'\x17\x06\xe6\xec\x12\x82\xa3\xd3\xa0'), chr(100) + '\145' + '\143' + '\x6f' + chr(100) + '\x65')(chr(12459 - 12342) + chr(170 - 54) + chr(0b10001 + 0o125) + chr(0b100100 + 0o11) + '\x38'))(nzTpIcepk0o8('\060' + '\157' + chr(0b100011 + 0o17) + chr(52), 8))
roI3spqORKae(hXMPsSrOQzbh.hbox_all, roI3spqORKae(ES5oEprVxulp(b'\x17\x06\xe6'), chr(512 - 412) + '\x65' + '\x63' + chr(111) + '\x64' + chr(0b1001 + 0o134))('\165' + '\x74' + chr(102) + chr(0b101101) + chr(0b111000)))(ATU5rnBLE1hw)
roI3spqORKae(hXMPsSrOQzbh.hbox_all, roI3spqORKae(ES5oEprVxulp(b'\x17\x06\xe6\xec\x12\x82\xa3\xd3\xa0'), chr(100) + '\x65' + chr(0b1100011) + '\x6f' + '\144' + chr(0b1100101))(chr(117) + chr(0b10100 + 0o140) + chr(0b1100110) + '\055' + chr(1966 - 1910)))(nzTpIcepk0o8(chr(1327 - 1279) + chr(111) + chr(0b1001 + 0o51) + chr(0b11100 + 0o30), 8))
roI3spqORKae(hXMPsSrOQzbh.panel, roI3spqORKae(ES5oEprVxulp(b'\x05\x07\xf6\xec\x0b\x99\xa5\xc4'), chr(7141 - 7041) + chr(0b1100101) + '\143' + '\157' + chr(100) + chr(0b1100101))(chr(0b101000 + 0o115) + chr(0b1000011 + 0o61) + '\x66' + '\x2d' + '\x38'))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'&*\xb7\xe7\x01\x86\xaa\xfe\xa4m\x1cA'), chr(0b1100100) + chr(0b1001111 + 0o26) + '\143' + chr(0b1101110 + 0o1) + chr(100) + chr(0b1100101))(chr(0b1110101) + '\164' + '\x66' + chr(1732 - 1687) + chr(0b111000))))
roI3spqORKae(hXMPsSrOQzbh.hbox_all, roI3spqORKae(ES5oEprVxulp(b'\x10\x0b\xf6'), '\144' + chr(0b10011 + 0o122) + '\x63' + chr(0b10010 + 0o135) + chr(4361 - 4261) + chr(0b1010110 + 0o17))(chr(11966 - 11849) + chr(0b1110100) + chr(0b1100110) + chr(1359 - 1314) + chr(56)))(hXMPsSrOQzbh)
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x15\x07\xec\xcb\x10\x86'), chr(100) + '\x65' + chr(0b1100011) + chr(1939 - 1828) + chr(100) + '\145')(chr(271 - 154) + chr(0b1001111 + 0o45) + chr(2263 - 2161) + chr(45) + '\070'))()
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x05\n\xed\xc8'), '\144' + chr(0b1111 + 0o126) + chr(0b1000101 + 0o36) + chr(111) + chr(100) + chr(101))(chr(0b110111 + 0o76) + '\x74' + '\x66' + chr(1651 - 1606) + '\x38'))()
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x1e\x0b\xe6\xda'), chr(0b1001110 + 0o26) + '\145' + '\x63' + '\157' + chr(0b1100100) + chr(0b1100101))(chr(0b1011000 + 0o35) + chr(116) + chr(102) + chr(45) + chr(0b110010 + 0o6)))()
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x05\n\xed\xc8'), chr(100) + '\145' + chr(0b1100011) + '\157' + chr(0b100011 + 0o101) + '\145')(chr(0b100011 + 0o122) + chr(0b1110100) + chr(0b1001101 + 0o31) + chr(0b100001 + 0o14) + chr(0b100001 + 0o27)))()
|
PmagPy/PmagPy
|
dialogs/pmag_er_magic_dialogs.py
|
ErMagicCheckFrame.InitSampCheck
|
def InitSampCheck(self):
"""make an interactive grid in which users can edit sample names
as well as which site a sample belongs to"""
self.sample_window += 1
self.panel = wx.Panel(self, style=wx.SIMPLE_BORDER)
if self.sample_window == 1:
text = """Step 2:
Check that all samples are correctly named,
and that they belong to the correct site
(if site name is simply wrong, that will be fixed in step 3)"""
step_label = wx.StaticText(self.panel, label=text)#, size=(900, 100))
else:
text = """Step 4:
Some of the data from the er_sites table has propogated into er_samples.
Check that these data are correct, and fill in missing cells using controlled vocabularies.
The columns for class, lithology, and type can take multiple values in the form of a colon-delimited list.
You may use the drop-down menus to add as many values as needed in these columns.
(see Help button for more details)\n\n** Denotes controlled vocabulary"""
step_label = wx.StaticText(self.panel, label=text)#, size=(900, 100))
if self.sample_window == 1:
# provide no extra headers
headers = {'sample': {'er': [[], [], []],
'pmag': [[], [], []]}}
self.grid_builder = grid_frame2.GridBuilder(self.er_magic_data, 'sample',
headers, self.panel,
'site')
if self.sample_window > 1:
self.grid_builder = grid_frame2.GridBuilder(self.er_magic_data, 'sample',
self.er_magic_data.headers, self.panel,
'site')
self.samp_grid = self.grid_builder.make_grid(incl_pmag=False)
self.samp_grid.InitUI()
self.grid_builder.add_data_to_grid(self.samp_grid, 'sample', incl_pmag=False)
self.grid = self.samp_grid
sites = sorted(self.er_magic_data.make_name_list(self.er_magic_data.sites))
self.drop_down_menu = drop_down_menus.Menus("sample", self, self.samp_grid, sites) # initialize all needed drop-down menus
### Create Buttons ###
hbox_one = wx.BoxSizer(wx.HORIZONTAL)
self.addSiteButton = wx.Button(self.panel, label="Add a new site")
self.Bind(wx.EVT_BUTTON, self.on_addSiteButton, self.addSiteButton)
hbox_one.Add(self.addSiteButton, flag=wx.RIGHT, border=10)
if self.sample_window == 1:
html_help = "ErMagicSampleHelp1.html"
if self.sample_window > 1:
html_help = "ErMagicSampleHelp.html"
self.helpButton = wx.Button(self.panel, label="Help")
self.Bind(wx.EVT_BUTTON, lambda event: self.on_helpButton(event, html_help), self.helpButton)
hbox_one.Add(self.helpButton)
hboxok = wx.BoxSizer(wx.HORIZONTAL)
self.saveButton = wx.Button(self.panel, id=-1, label='Save')
self.Bind(wx.EVT_BUTTON, lambda event: self.on_saveButton(event, self.samp_grid), self.saveButton)
self.cancelButton = wx.Button(self.panel, wx.ID_CANCEL, '&Cancel')
self.Bind(wx.EVT_BUTTON, self.on_cancelButton, self.cancelButton)
self.continueButton = wx.Button(self.panel, id=-1, label='Save and continue')
next_dia = self.InitSiteCheck if self.sample_window < 2 else self.InitLocCheck
self.Bind(wx.EVT_BUTTON, lambda event: self.on_continueButton(event, self.samp_grid, next_dia=next_dia), self.continueButton)
self.backButton = wx.Button(self.panel, wx.ID_ANY, "&Back")
previous_dia = self.InitSpecCheck if self.sample_window < 2 else self.InitSiteCheck
self.Bind(wx.EVT_BUTTON, lambda event: self.on_backButton(event, previous_dia=previous_dia), self.backButton)
hboxok.Add(self.saveButton, flag=wx.RIGHT, border=10)
hboxok.Add(self.cancelButton, flag=wx.RIGHT, border=10)
hboxok.Add(self.continueButton, flag=wx.RIGHT, border=10)
hboxok.Add(self.backButton)
hboxgrid = pw.hbox_grid(self.panel, self.onDeleteRow, 'sample', self.grid)
self.deleteRowButton = hboxgrid.deleteRowButton
self.Bind(wx.grid.EVT_GRID_LABEL_LEFT_CLICK, self.onLeftClickLabel, self.grid)
### Make Containers ###
vbox = wx.BoxSizer(wx.VERTICAL)
vbox.Add(step_label, flag=wx.ALIGN_LEFT|wx.TOP|wx.BOTTOM, border=20)
vbox.Add(hbox_one, flag=wx.BOTTOM|wx.LEFT, border=10)
vbox.Add(hboxok, flag=wx.BOTTOM|wx.LEFT, border=10)
vbox.Add(hboxgrid, flag=wx.BOTTOM|wx.LEFT, border=10)
vbox.Add(self.samp_grid, flag=wx.ALL, border=10) # using wx.EXPAND or not does not affect re-size problem
vbox.AddSpacer(20)
self.hbox_all = wx.BoxSizer(wx.HORIZONTAL)
self.hbox_all.AddSpacer(20)
self.hbox_all.Add(vbox)
self.hbox_all.AddSpacer(20)
self.panel.SetSizer(self.hbox_all)
#if sys.platform in ['win32', 'win64']:
# self.panel.SetScrollbars(20, 20, 50, 50)
self.hbox_all.Fit(self)
self.Centre()
self.Show()
## this combination may prevent a display error that (without the fix) only resolves on manually resizing the window
self.panel.Refresh()
self.samp_grid.ForceRefresh()
self.panel.Refresh()
self.Refresh()
# this prevents display errors
self.Hide()
self.Show()
|
python
|
def InitSampCheck(self):
"""make an interactive grid in which users can edit sample names
as well as which site a sample belongs to"""
self.sample_window += 1
self.panel = wx.Panel(self, style=wx.SIMPLE_BORDER)
if self.sample_window == 1:
text = """Step 2:
Check that all samples are correctly named,
and that they belong to the correct site
(if site name is simply wrong, that will be fixed in step 3)"""
step_label = wx.StaticText(self.panel, label=text)#, size=(900, 100))
else:
text = """Step 4:
Some of the data from the er_sites table has propogated into er_samples.
Check that these data are correct, and fill in missing cells using controlled vocabularies.
The columns for class, lithology, and type can take multiple values in the form of a colon-delimited list.
You may use the drop-down menus to add as many values as needed in these columns.
(see Help button for more details)\n\n** Denotes controlled vocabulary"""
step_label = wx.StaticText(self.panel, label=text)#, size=(900, 100))
if self.sample_window == 1:
# provide no extra headers
headers = {'sample': {'er': [[], [], []],
'pmag': [[], [], []]}}
self.grid_builder = grid_frame2.GridBuilder(self.er_magic_data, 'sample',
headers, self.panel,
'site')
if self.sample_window > 1:
self.grid_builder = grid_frame2.GridBuilder(self.er_magic_data, 'sample',
self.er_magic_data.headers, self.panel,
'site')
self.samp_grid = self.grid_builder.make_grid(incl_pmag=False)
self.samp_grid.InitUI()
self.grid_builder.add_data_to_grid(self.samp_grid, 'sample', incl_pmag=False)
self.grid = self.samp_grid
sites = sorted(self.er_magic_data.make_name_list(self.er_magic_data.sites))
self.drop_down_menu = drop_down_menus.Menus("sample", self, self.samp_grid, sites) # initialize all needed drop-down menus
### Create Buttons ###
hbox_one = wx.BoxSizer(wx.HORIZONTAL)
self.addSiteButton = wx.Button(self.panel, label="Add a new site")
self.Bind(wx.EVT_BUTTON, self.on_addSiteButton, self.addSiteButton)
hbox_one.Add(self.addSiteButton, flag=wx.RIGHT, border=10)
if self.sample_window == 1:
html_help = "ErMagicSampleHelp1.html"
if self.sample_window > 1:
html_help = "ErMagicSampleHelp.html"
self.helpButton = wx.Button(self.panel, label="Help")
self.Bind(wx.EVT_BUTTON, lambda event: self.on_helpButton(event, html_help), self.helpButton)
hbox_one.Add(self.helpButton)
hboxok = wx.BoxSizer(wx.HORIZONTAL)
self.saveButton = wx.Button(self.panel, id=-1, label='Save')
self.Bind(wx.EVT_BUTTON, lambda event: self.on_saveButton(event, self.samp_grid), self.saveButton)
self.cancelButton = wx.Button(self.panel, wx.ID_CANCEL, '&Cancel')
self.Bind(wx.EVT_BUTTON, self.on_cancelButton, self.cancelButton)
self.continueButton = wx.Button(self.panel, id=-1, label='Save and continue')
next_dia = self.InitSiteCheck if self.sample_window < 2 else self.InitLocCheck
self.Bind(wx.EVT_BUTTON, lambda event: self.on_continueButton(event, self.samp_grid, next_dia=next_dia), self.continueButton)
self.backButton = wx.Button(self.panel, wx.ID_ANY, "&Back")
previous_dia = self.InitSpecCheck if self.sample_window < 2 else self.InitSiteCheck
self.Bind(wx.EVT_BUTTON, lambda event: self.on_backButton(event, previous_dia=previous_dia), self.backButton)
hboxok.Add(self.saveButton, flag=wx.RIGHT, border=10)
hboxok.Add(self.cancelButton, flag=wx.RIGHT, border=10)
hboxok.Add(self.continueButton, flag=wx.RIGHT, border=10)
hboxok.Add(self.backButton)
hboxgrid = pw.hbox_grid(self.panel, self.onDeleteRow, 'sample', self.grid)
self.deleteRowButton = hboxgrid.deleteRowButton
self.Bind(wx.grid.EVT_GRID_LABEL_LEFT_CLICK, self.onLeftClickLabel, self.grid)
### Make Containers ###
vbox = wx.BoxSizer(wx.VERTICAL)
vbox.Add(step_label, flag=wx.ALIGN_LEFT|wx.TOP|wx.BOTTOM, border=20)
vbox.Add(hbox_one, flag=wx.BOTTOM|wx.LEFT, border=10)
vbox.Add(hboxok, flag=wx.BOTTOM|wx.LEFT, border=10)
vbox.Add(hboxgrid, flag=wx.BOTTOM|wx.LEFT, border=10)
vbox.Add(self.samp_grid, flag=wx.ALL, border=10) # using wx.EXPAND or not does not affect re-size problem
vbox.AddSpacer(20)
self.hbox_all = wx.BoxSizer(wx.HORIZONTAL)
self.hbox_all.AddSpacer(20)
self.hbox_all.Add(vbox)
self.hbox_all.AddSpacer(20)
self.panel.SetSizer(self.hbox_all)
#if sys.platform in ['win32', 'win64']:
# self.panel.SetScrollbars(20, 20, 50, 50)
self.hbox_all.Fit(self)
self.Centre()
self.Show()
## this combination may prevent a display error that (without the fix) only resolves on manually resizing the window
self.panel.Refresh()
self.samp_grid.ForceRefresh()
self.panel.Refresh()
self.Refresh()
# this prevents display errors
self.Hide()
self.Show()
|
[
"def",
"InitSampCheck",
"(",
"self",
")",
":",
"self",
".",
"sample_window",
"+=",
"1",
"self",
".",
"panel",
"=",
"wx",
".",
"Panel",
"(",
"self",
",",
"style",
"=",
"wx",
".",
"SIMPLE_BORDER",
")",
"if",
"self",
".",
"sample_window",
"==",
"1",
":",
"text",
"=",
"\"\"\"Step 2:\nCheck that all samples are correctly named,\nand that they belong to the correct site\n(if site name is simply wrong, that will be fixed in step 3)\"\"\"",
"step_label",
"=",
"wx",
".",
"StaticText",
"(",
"self",
".",
"panel",
",",
"label",
"=",
"text",
")",
"#, size=(900, 100))",
"else",
":",
"text",
"=",
"\"\"\"Step 4:\nSome of the data from the er_sites table has propogated into er_samples.\nCheck that these data are correct, and fill in missing cells using controlled vocabularies.\nThe columns for class, lithology, and type can take multiple values in the form of a colon-delimited list.\nYou may use the drop-down menus to add as many values as needed in these columns.\n(see Help button for more details)\\n\\n** Denotes controlled vocabulary\"\"\"",
"step_label",
"=",
"wx",
".",
"StaticText",
"(",
"self",
".",
"panel",
",",
"label",
"=",
"text",
")",
"#, size=(900, 100))",
"if",
"self",
".",
"sample_window",
"==",
"1",
":",
"# provide no extra headers",
"headers",
"=",
"{",
"'sample'",
":",
"{",
"'er'",
":",
"[",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
"]",
",",
"'pmag'",
":",
"[",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
"]",
"}",
"}",
"self",
".",
"grid_builder",
"=",
"grid_frame2",
".",
"GridBuilder",
"(",
"self",
".",
"er_magic_data",
",",
"'sample'",
",",
"headers",
",",
"self",
".",
"panel",
",",
"'site'",
")",
"if",
"self",
".",
"sample_window",
">",
"1",
":",
"self",
".",
"grid_builder",
"=",
"grid_frame2",
".",
"GridBuilder",
"(",
"self",
".",
"er_magic_data",
",",
"'sample'",
",",
"self",
".",
"er_magic_data",
".",
"headers",
",",
"self",
".",
"panel",
",",
"'site'",
")",
"self",
".",
"samp_grid",
"=",
"self",
".",
"grid_builder",
".",
"make_grid",
"(",
"incl_pmag",
"=",
"False",
")",
"self",
".",
"samp_grid",
".",
"InitUI",
"(",
")",
"self",
".",
"grid_builder",
".",
"add_data_to_grid",
"(",
"self",
".",
"samp_grid",
",",
"'sample'",
",",
"incl_pmag",
"=",
"False",
")",
"self",
".",
"grid",
"=",
"self",
".",
"samp_grid",
"sites",
"=",
"sorted",
"(",
"self",
".",
"er_magic_data",
".",
"make_name_list",
"(",
"self",
".",
"er_magic_data",
".",
"sites",
")",
")",
"self",
".",
"drop_down_menu",
"=",
"drop_down_menus",
".",
"Menus",
"(",
"\"sample\"",
",",
"self",
",",
"self",
".",
"samp_grid",
",",
"sites",
")",
"# initialize all needed drop-down menus",
"### Create Buttons ###",
"hbox_one",
"=",
"wx",
".",
"BoxSizer",
"(",
"wx",
".",
"HORIZONTAL",
")",
"self",
".",
"addSiteButton",
"=",
"wx",
".",
"Button",
"(",
"self",
".",
"panel",
",",
"label",
"=",
"\"Add a new site\"",
")",
"self",
".",
"Bind",
"(",
"wx",
".",
"EVT_BUTTON",
",",
"self",
".",
"on_addSiteButton",
",",
"self",
".",
"addSiteButton",
")",
"hbox_one",
".",
"Add",
"(",
"self",
".",
"addSiteButton",
",",
"flag",
"=",
"wx",
".",
"RIGHT",
",",
"border",
"=",
"10",
")",
"if",
"self",
".",
"sample_window",
"==",
"1",
":",
"html_help",
"=",
"\"ErMagicSampleHelp1.html\"",
"if",
"self",
".",
"sample_window",
">",
"1",
":",
"html_help",
"=",
"\"ErMagicSampleHelp.html\"",
"self",
".",
"helpButton",
"=",
"wx",
".",
"Button",
"(",
"self",
".",
"panel",
",",
"label",
"=",
"\"Help\"",
")",
"self",
".",
"Bind",
"(",
"wx",
".",
"EVT_BUTTON",
",",
"lambda",
"event",
":",
"self",
".",
"on_helpButton",
"(",
"event",
",",
"html_help",
")",
",",
"self",
".",
"helpButton",
")",
"hbox_one",
".",
"Add",
"(",
"self",
".",
"helpButton",
")",
"hboxok",
"=",
"wx",
".",
"BoxSizer",
"(",
"wx",
".",
"HORIZONTAL",
")",
"self",
".",
"saveButton",
"=",
"wx",
".",
"Button",
"(",
"self",
".",
"panel",
",",
"id",
"=",
"-",
"1",
",",
"label",
"=",
"'Save'",
")",
"self",
".",
"Bind",
"(",
"wx",
".",
"EVT_BUTTON",
",",
"lambda",
"event",
":",
"self",
".",
"on_saveButton",
"(",
"event",
",",
"self",
".",
"samp_grid",
")",
",",
"self",
".",
"saveButton",
")",
"self",
".",
"cancelButton",
"=",
"wx",
".",
"Button",
"(",
"self",
".",
"panel",
",",
"wx",
".",
"ID_CANCEL",
",",
"'&Cancel'",
")",
"self",
".",
"Bind",
"(",
"wx",
".",
"EVT_BUTTON",
",",
"self",
".",
"on_cancelButton",
",",
"self",
".",
"cancelButton",
")",
"self",
".",
"continueButton",
"=",
"wx",
".",
"Button",
"(",
"self",
".",
"panel",
",",
"id",
"=",
"-",
"1",
",",
"label",
"=",
"'Save and continue'",
")",
"next_dia",
"=",
"self",
".",
"InitSiteCheck",
"if",
"self",
".",
"sample_window",
"<",
"2",
"else",
"self",
".",
"InitLocCheck",
"self",
".",
"Bind",
"(",
"wx",
".",
"EVT_BUTTON",
",",
"lambda",
"event",
":",
"self",
".",
"on_continueButton",
"(",
"event",
",",
"self",
".",
"samp_grid",
",",
"next_dia",
"=",
"next_dia",
")",
",",
"self",
".",
"continueButton",
")",
"self",
".",
"backButton",
"=",
"wx",
".",
"Button",
"(",
"self",
".",
"panel",
",",
"wx",
".",
"ID_ANY",
",",
"\"&Back\"",
")",
"previous_dia",
"=",
"self",
".",
"InitSpecCheck",
"if",
"self",
".",
"sample_window",
"<",
"2",
"else",
"self",
".",
"InitSiteCheck",
"self",
".",
"Bind",
"(",
"wx",
".",
"EVT_BUTTON",
",",
"lambda",
"event",
":",
"self",
".",
"on_backButton",
"(",
"event",
",",
"previous_dia",
"=",
"previous_dia",
")",
",",
"self",
".",
"backButton",
")",
"hboxok",
".",
"Add",
"(",
"self",
".",
"saveButton",
",",
"flag",
"=",
"wx",
".",
"RIGHT",
",",
"border",
"=",
"10",
")",
"hboxok",
".",
"Add",
"(",
"self",
".",
"cancelButton",
",",
"flag",
"=",
"wx",
".",
"RIGHT",
",",
"border",
"=",
"10",
")",
"hboxok",
".",
"Add",
"(",
"self",
".",
"continueButton",
",",
"flag",
"=",
"wx",
".",
"RIGHT",
",",
"border",
"=",
"10",
")",
"hboxok",
".",
"Add",
"(",
"self",
".",
"backButton",
")",
"hboxgrid",
"=",
"pw",
".",
"hbox_grid",
"(",
"self",
".",
"panel",
",",
"self",
".",
"onDeleteRow",
",",
"'sample'",
",",
"self",
".",
"grid",
")",
"self",
".",
"deleteRowButton",
"=",
"hboxgrid",
".",
"deleteRowButton",
"self",
".",
"Bind",
"(",
"wx",
".",
"grid",
".",
"EVT_GRID_LABEL_LEFT_CLICK",
",",
"self",
".",
"onLeftClickLabel",
",",
"self",
".",
"grid",
")",
"### Make Containers ###",
"vbox",
"=",
"wx",
".",
"BoxSizer",
"(",
"wx",
".",
"VERTICAL",
")",
"vbox",
".",
"Add",
"(",
"step_label",
",",
"flag",
"=",
"wx",
".",
"ALIGN_LEFT",
"|",
"wx",
".",
"TOP",
"|",
"wx",
".",
"BOTTOM",
",",
"border",
"=",
"20",
")",
"vbox",
".",
"Add",
"(",
"hbox_one",
",",
"flag",
"=",
"wx",
".",
"BOTTOM",
"|",
"wx",
".",
"LEFT",
",",
"border",
"=",
"10",
")",
"vbox",
".",
"Add",
"(",
"hboxok",
",",
"flag",
"=",
"wx",
".",
"BOTTOM",
"|",
"wx",
".",
"LEFT",
",",
"border",
"=",
"10",
")",
"vbox",
".",
"Add",
"(",
"hboxgrid",
",",
"flag",
"=",
"wx",
".",
"BOTTOM",
"|",
"wx",
".",
"LEFT",
",",
"border",
"=",
"10",
")",
"vbox",
".",
"Add",
"(",
"self",
".",
"samp_grid",
",",
"flag",
"=",
"wx",
".",
"ALL",
",",
"border",
"=",
"10",
")",
"# using wx.EXPAND or not does not affect re-size problem",
"vbox",
".",
"AddSpacer",
"(",
"20",
")",
"self",
".",
"hbox_all",
"=",
"wx",
".",
"BoxSizer",
"(",
"wx",
".",
"HORIZONTAL",
")",
"self",
".",
"hbox_all",
".",
"AddSpacer",
"(",
"20",
")",
"self",
".",
"hbox_all",
".",
"Add",
"(",
"vbox",
")",
"self",
".",
"hbox_all",
".",
"AddSpacer",
"(",
"20",
")",
"self",
".",
"panel",
".",
"SetSizer",
"(",
"self",
".",
"hbox_all",
")",
"#if sys.platform in ['win32', 'win64']:",
"# self.panel.SetScrollbars(20, 20, 50, 50)",
"self",
".",
"hbox_all",
".",
"Fit",
"(",
"self",
")",
"self",
".",
"Centre",
"(",
")",
"self",
".",
"Show",
"(",
")",
"## this combination may prevent a display error that (without the fix) only resolves on manually resizing the window",
"self",
".",
"panel",
".",
"Refresh",
"(",
")",
"self",
".",
"samp_grid",
".",
"ForceRefresh",
"(",
")",
"self",
".",
"panel",
".",
"Refresh",
"(",
")",
"self",
".",
"Refresh",
"(",
")",
"# this prevents display errors",
"self",
".",
"Hide",
"(",
")",
"self",
".",
"Show",
"(",
")"
] |
make an interactive grid in which users can edit sample names
as well as which site a sample belongs to
|
[
"make",
"an",
"interactive",
"grid",
"in",
"which",
"users",
"can",
"edit",
"sample",
"names",
"as",
"well",
"as",
"which",
"site",
"a",
"sample",
"belongs",
"to"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/dialogs/pmag_er_magic_dialogs.py#L460-L568
|
train
|
Initialize the main sample check dialog
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(1768 - 1720) + '\x6f' + '\x33' + '\x35' + chr(0b1 + 0o66), 0o10), nzTpIcepk0o8(chr(0b110000) + '\157' + '\061' + chr(0b11001 + 0o34) + chr(0b10011 + 0o37), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(49) + chr(0b110110) + '\067', 0b1000), nzTpIcepk0o8('\060' + chr(2856 - 2745) + chr(0b110001) + chr(54) + '\x30', 0b1000), nzTpIcepk0o8(chr(0b11000 + 0o30) + chr(5884 - 5773) + chr(0b110010) + chr(55) + chr(1886 - 1837), 0o10), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b110001) + '\062', 0b1000), nzTpIcepk0o8('\x30' + chr(111) + '\x31' + '\067' + '\x32', ord("\x08")), nzTpIcepk0o8(chr(0b10011 + 0o35) + chr(4193 - 4082) + chr(50) + chr(55) + chr(0b110011), 39248 - 39240), nzTpIcepk0o8(chr(1889 - 1841) + chr(0b1101111) + chr(2594 - 2542) + chr(50), 0b1000), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(160 - 111), 0o10), nzTpIcepk0o8(chr(447 - 399) + chr(111) + chr(2210 - 2161) + chr(0b101010 + 0o14) + '\060', 8), nzTpIcepk0o8('\x30' + '\157' + '\x31' + chr(54) + chr(389 - 334), 8), nzTpIcepk0o8('\060' + chr(0b101001 + 0o106) + chr(0b100110 + 0o20) + chr(48), ord("\x08")), nzTpIcepk0o8(chr(0b11110 + 0o22) + '\157' + chr(0b101011 + 0o10) + '\x36', ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b1000001 + 0o56) + chr(931 - 877) + chr(1882 - 1832), 4542 - 4534), nzTpIcepk0o8('\x30' + chr(6576 - 6465) + '\x32', ord("\x08")), nzTpIcepk0o8(chr(2072 - 2024) + '\157' + chr(0b110011 + 0o0) + chr(51) + chr(52), ord("\x08")), nzTpIcepk0o8('\060' + chr(111) + '\x31' + chr(48) + '\x35', 0o10), nzTpIcepk0o8(chr(48) + chr(0b110111 + 0o70) + chr(0b110111) + chr(2213 - 2162), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(7409 - 7298) + '\062' + chr(704 - 651), 0o10), nzTpIcepk0o8(chr(0b1111 + 0o41) + '\157' + chr(0b1000 + 0o51) + '\064' + chr(0b110110), ord("\x08")), nzTpIcepk0o8('\060' + '\x6f' + '\061' + '\066', 59375 - 59367), nzTpIcepk0o8('\060' + chr(111) + chr(51) + chr(2048 - 1999) + '\x30', 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b10110 + 0o131) + chr(0b11001 + 0o36) + chr(0b100001 + 0o17), ord("\x08")), nzTpIcepk0o8('\060' + '\x6f' + '\x32' + chr(0b111 + 0o57), 0b1000), nzTpIcepk0o8(chr(1543 - 1495) + '\157' + chr(0b11111 + 0o22) + chr(0b110011) + chr(50), 46999 - 46991), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(49) + chr(0b110111) + '\x30', ord("\x08")), nzTpIcepk0o8(chr(1253 - 1205) + chr(0b101100 + 0o103) + '\x33' + chr(0b101010 + 0o14) + '\x30', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\x32' + chr(49) + chr(0b110110), 62225 - 62217), nzTpIcepk0o8(chr(2123 - 2075) + chr(840 - 729) + chr(2474 - 2420) + chr(2190 - 2139), ord("\x08")), nzTpIcepk0o8(chr(330 - 282) + chr(7501 - 7390) + chr(0b110010) + chr(55) + chr(49), 8), nzTpIcepk0o8(chr(59 - 11) + chr(111) + chr(0b10 + 0o56), 0o10), nzTpIcepk0o8('\060' + chr(0b10110 + 0o131) + chr(51) + chr(1823 - 1770) + chr(0b110001), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(11070 - 10959) + '\x36', ord("\x08")), nzTpIcepk0o8(chr(0b1010 + 0o46) + '\157' + chr(50) + '\066' + chr(49), 0b1000), nzTpIcepk0o8('\x30' + chr(111) + '\x34' + '\x35', 0o10), nzTpIcepk0o8(chr(0b1001 + 0o47) + '\157' + chr(1911 - 1859) + chr(0b1100 + 0o47), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(1081 - 1028) + chr(50), 0o10), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b10 + 0o63) + chr(0b110100), 0b1000), nzTpIcepk0o8(chr(0b10001 + 0o37) + '\x6f' + chr(319 - 269) + '\x34' + chr(1951 - 1896), 11192 - 11184)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(0b110000) + '\157' + '\065' + chr(48), 0o10)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xc1'), '\144' + chr(101) + '\143' + chr(0b1101111) + '\x64' + chr(101))(chr(0b100101 + 0o120) + chr(0b1001101 + 0o47) + '\x66' + chr(0b101101) + chr(0b101110 + 0o12)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def zAIklE_tuzrV(hXMPsSrOQzbh):
hXMPsSrOQzbh.GXTdrKippSOI += nzTpIcepk0o8(chr(0b110000 + 0o0) + '\157' + chr(0b101101 + 0o4), 8)
hXMPsSrOQzbh.tqXV8VwoxdNA = FHAk5xm055cs.Panel(hXMPsSrOQzbh, style=FHAk5xm055cs.SIMPLE_BORDER)
if roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xa82#\x14\xcbA\x13\xcbRR?>'), '\x64' + chr(0b1100101) + '\x63' + chr(0b1001110 + 0o41) + '\x64' + '\x65')(chr(0b1110101) + chr(0b1110100) + '\x66' + '\055' + chr(56))) == nzTpIcepk0o8(chr(48) + '\157' + chr(49), 8):
cpStk7cY1TJd = roI3spqORKae(ES5oEprVxulp(b'\xbc\x1e\x12\x00\x998@\xb1ai\x15\x14[>Fj\xbd1\x1bt\nb\xe8Kw7\x08\x9c\xeb@\x99a\x9bc\x91FLX^\xc2\x8c\x1e\x1b\t\x99d\x1b\xd6Ge\\}QpV"\xa8-ZaFz\xa0]oz\x1a\x95\xe2\\\xd7g\xc9r\xde\x05WBI\x87\x8c\x05\x05\x02\xdci\x0e\x9bQh\x04\x12:6[d\xfc6Ra\x03.\xa6Y{?X\x99\xfd\x13\xcai\x84v\xdd\\\x03]^\xc8\x81\r[P\xcdb\x1b\xcf\x02v\x19\x1b\\>Pg\xfc#Rm\x03j\xe8Qxz\x0b\x84\xebC\x993\xc0'), '\x64' + chr(4988 - 4887) + chr(0b1100011) + chr(0b100 + 0o153) + chr(8287 - 8187) + chr(8190 - 8089))(chr(7763 - 7646) + chr(116) + chr(0b1100110) + chr(0b101101) + chr(56))
leUmiuVnAsgy = FHAk5xm055cs.StaticText(hXMPsSrOQzbh.tqXV8VwoxdNA, label=cpStk7cY1TJd)
else:
cpStk7cY1TJd = roI3spqORKae(ES5oEprVxulp(b'\xbc\x1e\x12\x00\x99>@\xb1qn\x1d\x12\x10qT"\xa8-^5\x02o\xbcY6<\n\x9f\xe3\x13\xcdh\x8c&\xd4W|YE\xd3\x8a\x19W\x04\xd8h\x16\xde\x02i\x11\x04\x10n@m\xac*\\t\x12k\xac\x18\x7f4\x0c\x9f\xaeV\xcb_\x9ag\xdcUOO_\x89\xe5)\x1f\x15\xdaaZ\xcfJ`\x04WDvWq\xb9e_t\x12o\xe8Yd?X\x93\xe1A\xcbe\x8ar\x9d\x05BDH\x87\x89\x03\x1b\x1c\x99c\x14\x9bOh\x03\x04YpU"\xbf Wy\x15.\xbdK\x7f4\x1f\xd0\xed\\\xd7t\x9bi\xddIFN\x0c\xd1\x80\t\x16\x12\xccf\x1b\xc9Kd\x03Y:JZg\xfc&Ty\x13c\xa6K6<\x17\x82\xaeP\xd5a\x9au\x9d\x05OCX\xcf\x80\x06\x18\x17\xc0&Z\xdaLeP\x03InW"\xbf$U5\x12o\xa3]67\r\x9c\xfaZ\xc9l\x8c&\xc7DO_I\xd4\xcf\x03\x19P\xcdb\x1f\x9bDn\x02\x1a\x10qT"\xbdeXz\na\xa6\x15r?\x14\x99\xe3Z\xcde\x8d&\xddLP^\x02\xad\xb6\x05\x02P\xd4k\x03\x9bWr\x15WDvW"\xb87TeKj\xa7Oxz\x15\x95\xe0F\xca \x9di\x91DGN\x0c\xc6\x9cJ\x1a\x11\xd7sZ\xcdCm\x05\x12C>Sq\xfc+^p\x02k\xac\x18\x7f4X\x84\xe6V\xcae\xc9e\xdeIVGB\xd4\xc1`_\x03\xdcoZ\xf3Gm\x00WRkFv\xb3+\x1bs\t|\xe8Uy(\x1d\xd0\xeaV\xcda\x80j\xc2\x0c) \x06\x8d\xcf.\x12\x1e\xd6~\x1f\xc8\x02b\x1f\x19Dl]n\xb0 _5\x10a\xabYt/\x14\x91\xfcJ'), chr(0b1011 + 0o131) + '\x65' + chr(0b1100011) + '\x6f' + chr(100) + chr(0b1100101))(chr(0b11010 + 0o133) + chr(7159 - 7043) + chr(0b1100110) + '\055' + chr(0b111000))
leUmiuVnAsgy = FHAk5xm055cs.StaticText(hXMPsSrOQzbh.tqXV8VwoxdNA, label=cpStk7cY1TJd)
if roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xa82#\x14\xcbA\x13\xcbRR?>'), chr(0b11010 + 0o112) + chr(0b1100101) + '\143' + chr(3578 - 3467) + chr(0b1100100) + chr(0b1100101))(chr(0b1001001 + 0o54) + chr(116) + chr(0b111111 + 0o47) + chr(0b101001 + 0o4) + chr(0b111000))) == nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110001), 8):
UyworZfslHjc = {roI3spqORKae(ES5oEprVxulp(b'\x9c\x0b\x1a\x00\xd5o'), '\x64' + '\x65' + '\143' + chr(0b1011001 + 0o26) + chr(9674 - 9574) + chr(101))(chr(4818 - 4701) + '\164' + '\146' + '\x2d' + '\x38'): {roI3spqORKae(ES5oEprVxulp(b'\x8a\x18'), chr(100) + '\145' + chr(6031 - 5932) + chr(111) + chr(1252 - 1152) + chr(101))(chr(0b1110100 + 0o1) + '\164' + chr(0b1100110) + chr(0b101101) + chr(0b1100 + 0o54)): [[], [], []], roI3spqORKae(ES5oEprVxulp(b'\x9f\x07\x16\x17'), chr(0b111000 + 0o54) + '\x65' + chr(0b1011100 + 0o7) + '\x6f' + chr(100) + chr(3763 - 3662))(chr(0b1110101) + chr(0b1110100) + chr(0b10010 + 0o124) + chr(998 - 953) + chr(56)): [[], [], []]}}
hXMPsSrOQzbh.W1YFLWHF2P72 = kSQQsh1rBLdC.GridBuilder(hXMPsSrOQzbh.er_magic_data, roI3spqORKae(ES5oEprVxulp(b'\x9c\x0b\x1a\x00\xd5o'), chr(997 - 897) + '\x65' + chr(0b110011 + 0o60) + chr(0b1101111) + chr(5420 - 5320) + chr(101))('\165' + chr(1814 - 1698) + chr(0b1100101 + 0o1) + chr(0b100 + 0o51) + '\070'), UyworZfslHjc, hXMPsSrOQzbh.tqXV8VwoxdNA, roI3spqORKae(ES5oEprVxulp(b'\x9c\x03\x03\x15'), chr(100) + chr(0b1100101) + chr(9046 - 8947) + chr(7494 - 7383) + chr(0b1010011 + 0o21) + chr(101))(chr(0b1110101) + '\164' + chr(102) + chr(1192 - 1147) + chr(0b111000)))
if roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xa82#\x14\xcbA\x13\xcbRR?>'), chr(0b101001 + 0o73) + chr(0b1100101) + chr(99) + chr(0b111110 + 0o61) + '\x64' + chr(101))(chr(0b1001001 + 0o54) + chr(116) + '\146' + '\x2d' + chr(1177 - 1121))) > nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(49), 8):
hXMPsSrOQzbh.W1YFLWHF2P72 = kSQQsh1rBLdC.GridBuilder(hXMPsSrOQzbh.er_magic_data, roI3spqORKae(ES5oEprVxulp(b'\x9c\x0b\x1a\x00\xd5o'), '\144' + '\145' + chr(1353 - 1254) + chr(0b111010 + 0o65) + chr(100) + '\145')('\x75' + '\x74' + chr(102) + '\055' + chr(0b1110 + 0o52)), hXMPsSrOQzbh.er_magic_data.UyworZfslHjc, hXMPsSrOQzbh.tqXV8VwoxdNA, roI3spqORKae(ES5oEprVxulp(b'\x9c\x03\x03\x15'), chr(0b1011101 + 0o7) + chr(101) + chr(0b1011010 + 0o11) + '\x6f' + '\144' + chr(101))(chr(117) + chr(0b1110100) + chr(102) + chr(1676 - 1631) + chr(0b101111 + 0o11)))
hXMPsSrOQzbh.Wl6jd45Fw1aZ = hXMPsSrOQzbh.grid_builder.make_grid(incl_pmag=nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b110000), 8))
roI3spqORKae(hXMPsSrOQzbh.samp_grid, roI3spqORKae(ES5oEprVxulp(b'\xa6\x04\x1e\x04\xecC'), '\144' + chr(101) + '\x63' + '\x6f' + chr(0b1100100) + chr(0b1010001 + 0o24))(chr(0b1110101) + '\x74' + chr(0b1100110) + chr(45) + chr(0b0 + 0o70)))()
roI3spqORKae(hXMPsSrOQzbh.grid_builder, roI3spqORKae(ES5oEprVxulp(b'\x8e\x0e\x13/\xddk\x0e\xda}u\x1f(Wl[f'), chr(0b1100100) + chr(101) + chr(0b1100011) + chr(6078 - 5967) + chr(6974 - 6874) + chr(9264 - 9163))('\165' + chr(0b1110100) + chr(10037 - 9935) + '\x2d' + '\x38'))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xb8\x06A\x1a\xdd>O\xfdU0\x11-'), '\144' + chr(0b1111 + 0o126) + chr(5756 - 5657) + '\x6f' + chr(0b1100010 + 0o2) + '\x65')(chr(0b1110101 + 0o0) + '\164' + chr(0b1100110) + chr(0b101101) + '\070')), roI3spqORKae(ES5oEprVxulp(b'\x9c\x0b\x1a\x00\xd5o'), '\x64' + '\145' + '\143' + chr(0b1011 + 0o144) + '\x64' + chr(101))(chr(117) + chr(11157 - 11041) + '\146' + chr(0b101101) + chr(0b1000 + 0o60)), incl_pmag=nzTpIcepk0o8(chr(447 - 399) + chr(111) + chr(1982 - 1934), 8))
hXMPsSrOQzbh.xiP5QxYWlEkW = hXMPsSrOQzbh.Wl6jd45Fw1aZ
SDKwNkUm3Omo = V3OlOVg98A85(hXMPsSrOQzbh.er_magic_data.make_name_list(hXMPsSrOQzbh.er_magic_data.SDKwNkUm3Omo))
hXMPsSrOQzbh.beUkJUv9NfWC = VcRxcF379N_E.Menus(roI3spqORKae(ES5oEprVxulp(b'\x9c\x0b\x1a\x00\xd5o'), chr(0b1100100) + chr(0b1100101 + 0o0) + '\143' + chr(0b11110 + 0o121) + chr(100) + '\x65')(chr(6253 - 6136) + '\x74' + '\x66' + chr(0b101101) + chr(56)), hXMPsSrOQzbh, hXMPsSrOQzbh.Wl6jd45Fw1aZ, SDKwNkUm3Omo)
JKtZmCyzIAeO = FHAk5xm055cs.BoxSizer(FHAk5xm055cs.HORIZONTAL)
hXMPsSrOQzbh.JUJEg6AOpQRK = FHAk5xm055cs.Button(hXMPsSrOQzbh.tqXV8VwoxdNA, label=roI3spqORKae(ES5oEprVxulp(b'\xae\x0e\x13P\xd8*\x14\xdeU!\x03\x1eD{'), chr(0b11100 + 0o110) + '\x65' + chr(0b1100011) + chr(8986 - 8875) + chr(100) + '\x65')(chr(7130 - 7013) + chr(0b1000111 + 0o55) + '\146' + chr(0b11010 + 0o23) + '\x38'))
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xad\x03\x19\x14'), chr(100) + chr(0b1100101) + chr(2306 - 2207) + chr(111) + chr(3955 - 3855) + chr(101))('\165' + chr(0b1100011 + 0o21) + '\146' + chr(0b11100 + 0o21) + '\070'))(roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xaa<#/\xfb_.\xefmO'), '\x64' + chr(9675 - 9574) + chr(0b1100011) + chr(10196 - 10085) + chr(0b1011000 + 0o14) + chr(1227 - 1126))('\x75' + '\x74' + chr(0b1100110) + chr(45) + chr(56))), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x80\x04(\x11\xddn)\xd2Vd2\x02Dj]l'), '\x64' + chr(0b1100101) + '\x63' + '\157' + chr(0b11101 + 0o107) + '\x65')('\x75' + '\x74' + '\146' + chr(0b101101) + '\070')), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xa5?=5\xde<;\xf4RP"<'), chr(0b1000001 + 0o43) + chr(0b1011100 + 0o11) + '\x63' + chr(0b1101111) + chr(5965 - 5865) + '\145')(chr(0b1 + 0o164) + chr(116) + '\146' + chr(45) + chr(0b110111 + 0o1))))
roI3spqORKae(JKtZmCyzIAeO, roI3spqORKae(ES5oEprVxulp(b'\xae\x0e\x13'), chr(0b101110 + 0o66) + chr(0b1100101) + '\x63' + chr(111) + '\144' + '\145')(chr(4028 - 3911) + chr(116) + chr(102) + '\x2d' + chr(1200 - 1144)))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xa5?=5\xde<;\xf4RP"<'), chr(100) + chr(101) + chr(0b100011 + 0o100) + '\x6f' + '\144' + chr(3921 - 3820))('\x75' + chr(116) + chr(0b1100110) + '\055' + chr(176 - 120))), flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xbd#08\xed'), '\144' + chr(101) + '\143' + chr(1849 - 1738) + '\144' + chr(0b1100011 + 0o2))('\165' + chr(0b111100 + 0o70) + chr(102) + chr(0b101101) + chr(0b10110 + 0o42))), border=nzTpIcepk0o8(chr(725 - 677) + chr(9120 - 9009) + '\x31' + '\062', 8))
if roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xa82#\x14\xcbA\x13\xcbRR?>'), '\x64' + chr(0b1100101 + 0o0) + chr(99) + '\157' + chr(0b11110 + 0o106) + '\145')(chr(11763 - 11646) + chr(0b110100 + 0o100) + chr(9412 - 9310) + chr(1862 - 1817) + chr(56))) == nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(49), 8):
lmMtzkCfKByB = roI3spqORKae(ES5oEprVxulp(b'\xaa\x18:\x11\xdec\x19\xe8Cl\x00\x1bUVWn\xact\x15}\x12c\xa4'), '\x64' + '\x65' + chr(0b1100011) + chr(111) + '\144' + '\x65')(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(0b110011 + 0o5))
if roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xa82#\x14\xcbA\x13\xcbRR?>'), chr(0b1100100) + chr(0b1000001 + 0o44) + '\x63' + chr(0b11001 + 0o126) + '\x64' + chr(9449 - 9348))(chr(0b1110101) + chr(10830 - 10714) + '\146' + chr(0b11101 + 0o20) + '\070')) > nzTpIcepk0o8(chr(0b110000) + '\157' + '\x31', 8):
lmMtzkCfKByB = roI3spqORKae(ES5oEprVxulp(b'\xaa\x18:\x11\xdec\x19\xe8Cl\x00\x1bUVWn\xackSa\x0bb'), chr(100) + chr(5991 - 5890) + chr(99) + '\157' + '\x64' + '\145')(chr(10310 - 10193) + chr(0b1110100) + chr(0b1110 + 0o130) + chr(45) + '\070')
hXMPsSrOQzbh.W55E6UjS9vVB = FHAk5xm055cs.Button(hXMPsSrOQzbh.tqXV8VwoxdNA, label=roI3spqORKae(ES5oEprVxulp(b'\xa7\x0f\x1b\x00'), '\144' + '\145' + chr(0b110101 + 0o56) + '\157' + '\x64' + '\x65')('\165' + chr(116) + chr(7140 - 7038) + chr(0b101101) + chr(0b1011 + 0o55)))
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xad\x03\x19\x14'), '\144' + '\x65' + chr(0b11011 + 0o110) + chr(0b110011 + 0o74) + chr(0b1010110 + 0o16) + chr(0b100011 + 0o102))(chr(7033 - 6916) + chr(5943 - 5827) + chr(1720 - 1618) + chr(45) + chr(2883 - 2827)))(roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xaa<#/\xfb_.\xefmO'), chr(100) + chr(903 - 802) + chr(586 - 487) + '\x6f' + chr(100) + chr(0b1100101))(chr(0b1110101) + '\164' + chr(0b1100110) + chr(0b100 + 0o51) + '\070')), lambda D4ybylS07yGH: roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x80\x04(\x18\xdcf\n\xf9Wu\x04\x18^'), chr(0b1010011 + 0o21) + chr(101) + chr(0b1100011) + chr(0b1101111) + '\144' + chr(0b110110 + 0o57))(chr(8330 - 8213) + chr(116) + chr(0b1100 + 0o132) + chr(179 - 134) + '\070'))(D4ybylS07yGH, lmMtzkCfKByB), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xb8_B5\x8f_\x10\xe8\x1bw&5'), chr(100) + chr(2774 - 2673) + chr(0b110100 + 0o57) + '\x6f' + chr(0b1011110 + 0o6) + '\145')('\165' + chr(10925 - 10809) + chr(102) + chr(45) + chr(2407 - 2351))))
roI3spqORKae(JKtZmCyzIAeO, roI3spqORKae(ES5oEprVxulp(b'\xae\x0e\x13'), chr(9635 - 9535) + chr(2342 - 2241) + '\143' + '\x6f' + chr(5548 - 5448) + chr(0b1100101))('\x75' + chr(4114 - 3998) + chr(0b1100110) + '\x2d' + '\x38'))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xb8_B5\x8f_\x10\xe8\x1bw&5'), chr(0b1011110 + 0o6) + chr(0b1100101) + chr(0b1001000 + 0o33) + chr(0b10101 + 0o132) + chr(100) + chr(101))('\165' + chr(0b1011001 + 0o33) + '\146' + chr(342 - 297) + chr(1274 - 1218))))
bwojCi6IuwsQ = FHAk5xm055cs.BoxSizer(FHAk5xm055cs.HORIZONTAL)
hXMPsSrOQzbh.m2I3HKmqciwZ = FHAk5xm055cs.Button(hXMPsSrOQzbh.tqXV8VwoxdNA, id=-nzTpIcepk0o8(chr(0b101 + 0o53) + '\157' + chr(0b100010 + 0o17), 8), label=roI3spqORKae(ES5oEprVxulp(b'\xbc\x0b\x01\x15'), chr(100) + chr(0b1010 + 0o133) + chr(99) + '\157' + chr(100) + chr(101))(chr(0b1110101) + chr(0b1110100) + chr(102) + '\x2d' + chr(0b100011 + 0o25)))
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xad\x03\x19\x14'), '\x64' + chr(2009 - 1908) + '\143' + '\157' + '\x64' + chr(101))(chr(0b1001100 + 0o51) + '\x74' + chr(0b1100110) + chr(0b101101) + chr(0b111000)))(roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xaa<#/\xfb_.\xefmO'), '\x64' + '\x65' + chr(0b1100011) + chr(0b10001 + 0o136) + chr(0b1100100) + '\145')(chr(117) + chr(0b1110100) + '\146' + chr(0b101101) + chr(598 - 542))), lambda D4ybylS07yGH: roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x80\x04(\x03\xd8|\x1f\xf9Wu\x04\x18^'), chr(0b1100100) + '\x65' + chr(353 - 254) + '\157' + chr(100) + chr(0b1100101))(chr(0b1101001 + 0o14) + '\x74' + chr(0b1010011 + 0o23) + '\055' + '\070'))(D4ybylS07yGH, roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xb8\x06A\x1a\xdd>O\xfdU0\x11-'), '\x64' + chr(9543 - 9442) + chr(7669 - 7570) + chr(0b11001 + 0o126) + chr(100) + chr(0b1100101))(chr(0b1110101) + chr(0b11100 + 0o130) + chr(102) + chr(1806 - 1761) + chr(910 - 854)))), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x82X>C\xf1A\x17\xcaAh\x07-'), chr(0b100111 + 0o75) + '\x65' + '\143' + chr(0b11 + 0o154) + chr(0b1001 + 0o133) + '\x65')(chr(0b1110101) + chr(116) + chr(6492 - 6390) + '\055' + '\x38')))
hXMPsSrOQzbh.CxTJSLD15mva = FHAk5xm055cs.Button(hXMPsSrOQzbh.tqXV8VwoxdNA, FHAk5xm055cs.ID_CANCEL, roI3spqORKae(ES5oEprVxulp(b'\xc9)\x16\x1e\xdao\x16'), chr(0b11100 + 0o110) + chr(101) + chr(0b1100011) + chr(111) + chr(100) + '\x65')('\165' + chr(116) + '\x66' + '\x2d' + chr(56)))
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xad\x03\x19\x14'), chr(100) + chr(101) + chr(0b1000100 + 0o37) + '\x6f' + '\144' + '\145')(chr(0b1100 + 0o151) + chr(116) + chr(0b1100110) + '\055' + chr(541 - 485)))(roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xaa<#/\xfb_.\xefmO'), chr(1769 - 1669) + '\x65' + '\143' + chr(111) + chr(0b1100100) + chr(101))(chr(117) + chr(0b1110100) + chr(0b1100110) + '\x2d' + '\x38')), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x80\x04(\x13\xd8d\x19\xdeNC\x05\x03Dq\\'), chr(0b110001 + 0o63) + '\145' + chr(99) + '\x6f' + chr(100) + chr(0b1100101))(chr(1405 - 1288) + chr(0b1110100) + chr(0b1100110) + '\x2d' + chr(0b111000))), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xac\x12#:\xeaF>\x8a\x17l\x06\x16'), '\144' + chr(2126 - 2025) + chr(0b11011 + 0o110) + chr(5038 - 4927) + chr(0b1001110 + 0o26) + '\x65')(chr(6388 - 6271) + chr(0b101010 + 0o112) + '\x66' + chr(45) + chr(56))))
hXMPsSrOQzbh.LzXnStd_2DBe = FHAk5xm055cs.Button(hXMPsSrOQzbh.tqXV8VwoxdNA, id=-nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b1100 + 0o45), 8), label=roI3spqORKae(ES5oEprVxulp(b'\xbc\x0b\x01\x15\x99k\x14\xdf\x02b\x1f\x19Dw\\w\xb9'), chr(100) + chr(0b1001 + 0o134) + '\x63' + chr(0b1101111) + chr(5157 - 5057) + chr(10191 - 10090))(chr(0b10100 + 0o141) + chr(0b1110100) + chr(7588 - 7486) + chr(0b101101) + chr(0b10010 + 0o46)))
Pp0GQ4IchjXL = hXMPsSrOQzbh.InitSiteCheck if hXMPsSrOQzbh.GXTdrKippSOI < nzTpIcepk0o8(chr(0b1101 + 0o43) + '\157' + '\x32', 8) else hXMPsSrOQzbh.InitLocCheck
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xad\x03\x19\x14'), chr(0b1100100) + chr(0b101111 + 0o66) + chr(99) + '\x6f' + '\x64' + '\x65')(chr(0b100001 + 0o124) + '\x74' + chr(102) + '\055' + chr(0b111000)))(roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xaa<#/\xfb_.\xefmO'), chr(100) + chr(101) + chr(0b1100011) + chr(836 - 725) + chr(3137 - 3037) + '\x65')(chr(7917 - 7800) + chr(2753 - 2637) + chr(8545 - 8443) + '\055' + chr(1491 - 1435))), lambda D4ybylS07yGH: roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x80\x04(\x13\xd6d\x0e\xd2Lt\x155EjFm\xb2'), chr(1173 - 1073) + '\145' + '\143' + chr(111) + chr(0b101011 + 0o71) + chr(0b1 + 0o144))('\x75' + '\164' + '\146' + '\055' + chr(0b111000)))(D4ybylS07yGH, roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xb8\x06A\x1a\xdd>O\xfdU0\x11-'), chr(0b1001110 + 0o26) + '\x65' + '\x63' + chr(111) + '\x64' + '\x65')(chr(4636 - 4519) + chr(8685 - 8569) + chr(0b101100 + 0o72) + chr(45) + '\070')), next_dia=Pp0GQ4IchjXL), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xa3\x10/\x1e\xea~\x1e\xe4\x10E2\x12'), chr(7208 - 7108) + chr(0b100111 + 0o76) + '\143' + chr(1815 - 1704) + chr(0b1000111 + 0o35) + chr(0b1100010 + 0o3))(chr(0b1110101) + chr(116) + '\146' + chr(0b101101) + chr(56))))
hXMPsSrOQzbh.AqaSmitgeYHw = FHAk5xm055cs.Button(hXMPsSrOQzbh.tqXV8VwoxdNA, FHAk5xm055cs.ID_ANY, roI3spqORKae(ES5oEprVxulp(b'\xc9(\x16\x13\xd2'), chr(1916 - 1816) + '\x65' + '\143' + '\157' + chr(0b1100100) + chr(101))(chr(117) + chr(116) + '\x66' + '\055' + chr(0b1100 + 0o54)))
f22H9akrhZ34 = hXMPsSrOQzbh.InitSpecCheck if hXMPsSrOQzbh.GXTdrKippSOI < nzTpIcepk0o8('\060' + chr(0b1001010 + 0o45) + chr(778 - 728), 8) else hXMPsSrOQzbh.InitSiteCheck
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xad\x03\x19\x14'), chr(0b1100100) + chr(8419 - 8318) + chr(0b1011110 + 0o5) + chr(3175 - 3064) + '\x64' + chr(8770 - 8669))('\165' + chr(116) + chr(0b1011000 + 0o16) + chr(0b10001 + 0o34) + '\070'))(roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xaa<#/\xfb_.\xefmO'), '\x64' + chr(101) + chr(99) + chr(4813 - 4702) + '\144' + '\145')('\165' + '\x74' + chr(102) + chr(0b1011 + 0o42) + chr(56))), lambda D4ybylS07yGH: roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x80\x04(\x12\xd8i\x11\xf9Wu\x04\x18^'), chr(0b1100100) + chr(0b1100101) + chr(99) + '\x6f' + chr(100) + '\145')(chr(7935 - 7818) + chr(2217 - 2101) + '\146' + '\055' + chr(0b111000)))(D4ybylS07yGH, previous_dia=f22H9akrhZ34), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xae\x1b\x16#\xd4c\x0e\xdcGX8\x00'), '\144' + '\145' + chr(0b1010100 + 0o17) + '\x6f' + chr(0b1100100) + chr(504 - 403))(chr(4009 - 3892) + '\164' + chr(0b1100110) + chr(1861 - 1816) + chr(56))))
roI3spqORKae(bwojCi6IuwsQ, roI3spqORKae(ES5oEprVxulp(b'\xae\x0e\x13'), chr(100) + '\145' + chr(8868 - 8769) + chr(111) + '\144' + chr(0b1100101))('\165' + chr(4220 - 4104) + chr(0b1100000 + 0o6) + '\055' + chr(56)))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x82X>C\xf1A\x17\xcaAh\x07-'), chr(9561 - 9461) + '\x65' + chr(99) + chr(12198 - 12087) + chr(100) + chr(4980 - 4879))(chr(117) + chr(0b111101 + 0o67) + chr(102) + chr(1313 - 1268) + chr(0b111000))), flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xbd#08\xed'), chr(3970 - 3870) + '\x65' + '\143' + '\x6f' + '\144' + chr(0b1100101))(chr(0b1000101 + 0o60) + chr(0b1100011 + 0o21) + '\146' + chr(45) + '\070')), border=nzTpIcepk0o8(chr(0b11000 + 0o30) + chr(11794 - 11683) + chr(0b1111 + 0o42) + '\062', 8))
roI3spqORKae(bwojCi6IuwsQ, roI3spqORKae(ES5oEprVxulp(b'\xae\x0e\x13'), chr(100) + '\145' + '\143' + '\157' + '\144' + chr(0b1100101))(chr(0b1110101) + '\164' + chr(0b11111 + 0o107) + chr(0b10001 + 0o34) + chr(0b11110 + 0o32)))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xac\x12#:\xeaF>\x8a\x17l\x06\x16'), chr(0b1100100) + '\x65' + '\143' + chr(0b1101111) + chr(100) + '\x65')('\165' + '\x74' + '\x66' + chr(45) + chr(816 - 760))), flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xbd#08\xed'), chr(100) + chr(0b101001 + 0o74) + '\143' + '\157' + chr(0b1100100) + chr(7070 - 6969))(chr(117) + chr(116) + chr(0b1100110) + '\055' + chr(56))), border=nzTpIcepk0o8(chr(0b110000) + '\157' + chr(1521 - 1472) + chr(0b100011 + 0o17), 8))
roI3spqORKae(bwojCi6IuwsQ, roI3spqORKae(ES5oEprVxulp(b'\xae\x0e\x13'), chr(0b1100100) + chr(0b1011101 + 0o10) + '\143' + chr(111) + '\x64' + chr(1268 - 1167))(chr(117) + chr(0b1110100) + chr(9231 - 9129) + chr(0b101001 + 0o4) + '\070'))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xa3\x10/\x1e\xea~\x1e\xe4\x10E2\x12'), chr(0b101001 + 0o73) + chr(769 - 668) + chr(0b101001 + 0o72) + chr(4534 - 4423) + chr(2158 - 2058) + chr(2298 - 2197))('\x75' + chr(2376 - 2260) + '\x66' + chr(1081 - 1036) + chr(0b111000))), flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xbd#08\xed'), '\144' + chr(7771 - 7670) + '\x63' + chr(111) + chr(6212 - 6112) + '\145')(chr(2242 - 2125) + chr(0b1101000 + 0o14) + chr(1482 - 1380) + '\x2d' + chr(56))), border=nzTpIcepk0o8('\060' + '\157' + '\x31' + '\x32', 8))
roI3spqORKae(bwojCi6IuwsQ, roI3spqORKae(ES5oEprVxulp(b'\xae\x0e\x13'), '\x64' + chr(0b1010010 + 0o23) + '\x63' + chr(111) + chr(100) + chr(5574 - 5473))('\x75' + chr(9140 - 9024) + '\146' + chr(0b100000 + 0o15) + chr(0b111000)))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xae\x1b\x16#\xd4c\x0e\xdcGX8\x00'), chr(0b0 + 0o144) + chr(101) + chr(2234 - 2135) + chr(111) + '\144' + '\x65')('\x75' + '\164' + chr(0b1001011 + 0o33) + '\055' + chr(2648 - 2592))))
YtxUIAgokoEJ = saCGFe0zE73j.hbox_grid(hXMPsSrOQzbh.tqXV8VwoxdNA, hXMPsSrOQzbh.onDeleteRow, roI3spqORKae(ES5oEprVxulp(b'\x9c\x0b\x1a\x00\xd5o'), chr(6112 - 6012) + chr(0b111 + 0o136) + '\143' + chr(0b1101111) + chr(0b1100100) + chr(0b101101 + 0o70))(chr(5268 - 5151) + '\x74' + chr(7419 - 7317) + chr(0b101001 + 0o4) + chr(0b110011 + 0o5)), hXMPsSrOQzbh.xiP5QxYWlEkW)
hXMPsSrOQzbh.wl01LRemEZlu = YtxUIAgokoEJ.wl01LRemEZlu
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xad\x03\x19\x14'), '\144' + '\145' + '\x63' + chr(111) + chr(7729 - 7629) + chr(0b1000101 + 0o40))('\x75' + chr(7155 - 7039) + chr(5539 - 5437) + chr(0b100011 + 0o12) + chr(56)))(roI3spqORKae(FHAk5xm055cs.grid, roI3spqORKae(ES5oEprVxulp(b'\xaa<#/\xfeX3\xff}M15uRmN\x99\x03oJ%B\x81{]'), chr(0b1100100) + chr(2396 - 2295) + chr(99) + chr(0b1010011 + 0o34) + chr(4762 - 4662) + chr(8855 - 8754))(chr(0b1110101) + '\x74' + chr(9191 - 9089) + '\x2d' + chr(2648 - 2592))), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x80\x04;\x15\xdf~9\xd7Kb\x1b;Q|Wn'), chr(0b1100100) + chr(0b110000 + 0o65) + '\143' + '\x6f' + '\x64' + '\145')('\165' + chr(0b110101 + 0o77) + '\146' + '\x2d' + '\070')), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b"\x97\x03'E\xe8r#\xecND\x1b "), '\x64' + chr(0b101011 + 0o72) + '\x63' + chr(0b1000001 + 0o56) + chr(0b110110 + 0o56) + chr(3445 - 3344))('\165' + chr(6373 - 6257) + chr(0b1100110) + '\055' + chr(0b111000))))
ATU5rnBLE1hw = FHAk5xm055cs.BoxSizer(FHAk5xm055cs.VERTICAL)
roI3spqORKae(ATU5rnBLE1hw, roI3spqORKae(ES5oEprVxulp(b'\xae\x0e\x13'), chr(100) + chr(3102 - 3001) + chr(5732 - 5633) + '\x6f' + '\x64' + '\145')(chr(117) + chr(0b100100 + 0o120) + chr(0b1100110) + chr(0b101101) + '\x38'))(leUmiuVnAsgy, flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xae&>7\xf7U6\xfedU'), chr(0b1010000 + 0o24) + '\x65' + chr(99) + '\x6f' + chr(0b1001100 + 0o30) + chr(0b1100101))(chr(6164 - 6047) + '\164' + '\146' + chr(45) + '\070')) | roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b"\xbb%'"), chr(0b1000001 + 0o43) + chr(101) + chr(4158 - 4059) + '\x6f' + chr(100) + chr(0b111010 + 0o53))(chr(9835 - 9718) + chr(0b1110100) + chr(0b1100110) + chr(460 - 415) + chr(0b100001 + 0o27))) | roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xad%#$\xf6G'), chr(1207 - 1107) + '\x65' + '\143' + '\x6f' + chr(0b1100100) + chr(101))('\165' + '\164' + '\x66' + chr(0b101001 + 0o4) + '\070')), border=nzTpIcepk0o8('\060' + chr(2771 - 2660) + chr(1718 - 1668) + chr(1144 - 1092), ord("\x08")))
roI3spqORKae(ATU5rnBLE1hw, roI3spqORKae(ES5oEprVxulp(b'\xae\x0e\x13'), '\144' + chr(0b1010111 + 0o16) + chr(0b11000 + 0o113) + chr(111) + '\144' + '\x65')(chr(117) + '\x74' + '\146' + '\055' + chr(0b110011 + 0o5)))(JKtZmCyzIAeO, flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xad%#$\xf6G'), '\x64' + '\145' + '\x63' + chr(0b1001100 + 0o43) + '\144' + chr(6386 - 6285))(chr(117) + chr(1905 - 1789) + chr(7060 - 6958) + chr(0b101101) + chr(56))) | roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xa3/1$'), chr(100) + chr(0b1011011 + 0o12) + chr(5914 - 5815) + '\157' + chr(0b1 + 0o143) + chr(0b1100101))(chr(0b111111 + 0o66) + chr(116) + chr(0b101110 + 0o70) + chr(0b101101) + '\070')), border=nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(49) + chr(0b11011 + 0o27), 8))
roI3spqORKae(ATU5rnBLE1hw, roI3spqORKae(ES5oEprVxulp(b'\xae\x0e\x13'), chr(0b1100100) + chr(0b1100101) + chr(99) + '\157' + '\x64' + '\x65')('\x75' + chr(0b1110100) + chr(0b1000 + 0o136) + '\055' + '\070'))(bwojCi6IuwsQ, flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xad%#$\xf6G'), '\144' + chr(3887 - 3786) + '\143' + '\157' + chr(0b110 + 0o136) + chr(4457 - 4356))('\x75' + chr(3190 - 3074) + chr(102) + chr(0b101101) + chr(56))) | roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xa3/1$'), chr(100) + chr(101) + chr(4174 - 4075) + '\157' + chr(0b1100100) + '\x65')('\165' + chr(0b1001010 + 0o52) + chr(3197 - 3095) + chr(0b101101) + '\x38')), border=nzTpIcepk0o8(chr(48) + chr(111) + chr(0b101100 + 0o5) + chr(50), 8))
roI3spqORKae(ATU5rnBLE1hw, roI3spqORKae(ES5oEprVxulp(b'\xae\x0e\x13'), '\x64' + chr(0b111100 + 0o51) + '\x63' + chr(0b110100 + 0o73) + '\x64' + chr(0b1100101))('\165' + '\x74' + chr(6984 - 6882) + chr(0b101101) + chr(0b111000)))(YtxUIAgokoEJ, flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xad%#$\xf6G'), chr(0b1011001 + 0o13) + chr(0b1100101) + chr(0b1100011) + chr(111) + chr(0b1000 + 0o134) + chr(0b1011100 + 0o11))('\x75' + '\164' + '\146' + chr(45) + chr(2757 - 2701))) | roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xa3/1$'), chr(9660 - 9560) + chr(410 - 309) + chr(0b100000 + 0o103) + chr(8761 - 8650) + chr(0b101001 + 0o73) + chr(7386 - 7285))('\x75' + chr(0b1010111 + 0o35) + '\146' + chr(45) + chr(230 - 174))), border=nzTpIcepk0o8(chr(0b110000) + chr(0b1001101 + 0o42) + chr(0b100101 + 0o14) + '\x32', 8))
roI3spqORKae(ATU5rnBLE1hw, roI3spqORKae(ES5oEprVxulp(b'\xae\x0e\x13'), '\144' + chr(101) + chr(99) + '\157' + chr(0b1100100) + '\x65')('\165' + chr(0b1110100) + chr(102) + chr(602 - 557) + '\x38'))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xb8\x06A\x1a\xdd>O\xfdU0\x11-'), chr(0b101011 + 0o71) + chr(101) + '\x63' + chr(0b111100 + 0o63) + chr(100) + '\x65')(chr(9166 - 9049) + '\x74' + chr(0b1001 + 0o135) + '\x2d' + chr(0b1110 + 0o52))), flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xae&;'), chr(100) + chr(0b1011101 + 0o10) + chr(0b1100011) + '\x6f' + chr(971 - 871) + chr(0b101110 + 0o67))('\x75' + '\164' + '\x66' + chr(45) + '\x38')), border=nzTpIcepk0o8(chr(1736 - 1688) + chr(111) + chr(1774 - 1725) + '\062', 8))
roI3spqORKae(ATU5rnBLE1hw, roI3spqORKae(ES5oEprVxulp(b'\xae\x0e\x13#\xc9k\x19\xdeP'), chr(0b111010 + 0o52) + '\x65' + '\x63' + '\157' + chr(3154 - 3054) + chr(0b1100000 + 0o5))(chr(0b1110101) + chr(0b1110100) + chr(0b1000001 + 0o45) + chr(880 - 835) + chr(0b111000)))(nzTpIcepk0o8(chr(48) + chr(1933 - 1822) + '\x32' + '\x34', 8))
hXMPsSrOQzbh.pH5XcejHv7fz = FHAk5xm055cs.BoxSizer(FHAk5xm055cs.HORIZONTAL)
roI3spqORKae(hXMPsSrOQzbh.hbox_all, roI3spqORKae(ES5oEprVxulp(b'\xae\x0e\x13#\xc9k\x19\xdeP'), '\144' + chr(0b1100101) + '\x63' + chr(0b100011 + 0o114) + '\x64' + '\x65')(chr(6972 - 6855) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + '\x38'))(nzTpIcepk0o8(chr(48) + chr(111) + '\x32' + chr(2151 - 2099), 8))
roI3spqORKae(hXMPsSrOQzbh.hbox_all, roI3spqORKae(ES5oEprVxulp(b'\xae\x0e\x13'), chr(0b1011111 + 0o5) + '\145' + chr(99) + chr(3678 - 3567) + '\x64' + '\145')(chr(117) + chr(116) + chr(102) + '\x2d' + chr(0b110001 + 0o7)))(ATU5rnBLE1hw)
roI3spqORKae(hXMPsSrOQzbh.hbox_all, roI3spqORKae(ES5oEprVxulp(b'\xae\x0e\x13#\xc9k\x19\xdeP'), chr(4834 - 4734) + '\x65' + chr(0b1010111 + 0o14) + '\x6f' + chr(6391 - 6291) + '\145')(chr(0b1110101) + chr(116) + '\x66' + '\055' + chr(1316 - 1260)))(nzTpIcepk0o8(chr(0b10 + 0o56) + chr(0b11001 + 0o126) + chr(0b110010) + '\x34', 8))
roI3spqORKae(hXMPsSrOQzbh.panel, roI3spqORKae(ES5oEprVxulp(b'\xbc\x0f\x03#\xd0p\x1f\xc9'), '\x64' + chr(0b1010101 + 0o20) + chr(0b111 + 0o134) + chr(111) + '\x64' + chr(0b10 + 0o143))('\165' + chr(0b1110100) + chr(102) + chr(45) + '\x38'))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x9f"B(\xdao\x10\xf3T6\x16\r'), chr(100) + chr(6258 - 6157) + chr(1766 - 1667) + chr(4982 - 4871) + chr(4894 - 4794) + '\x65')(chr(3157 - 3040) + chr(116) + '\146' + chr(0b101101) + chr(288 - 232))))
roI3spqORKae(hXMPsSrOQzbh.hbox_all, roI3spqORKae(ES5oEprVxulp(b'\xa9\x03\x03'), '\144' + chr(0b1100101) + '\143' + chr(0b1101111) + chr(100) + '\x65')('\165' + chr(0b1101011 + 0o11) + chr(102) + chr(0b10010 + 0o33) + chr(0b111000 + 0o0)))(hXMPsSrOQzbh)
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xac\x0f\x19\x04\xcbo'), chr(0b1100100) + '\145' + chr(0b111010 + 0o51) + chr(6612 - 6501) + chr(6103 - 6003) + chr(9055 - 8954))(chr(0b1110101) + chr(0b111111 + 0o65) + chr(102) + '\x2d' + '\070'))()
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xbc\x02\x18\x07'), '\144' + '\145' + chr(0b10101 + 0o116) + '\157' + '\x64' + '\145')(chr(7514 - 7397) + chr(116) + chr(0b0 + 0o146) + '\x2d' + '\070'))()
roI3spqORKae(hXMPsSrOQzbh.panel, roI3spqORKae(ES5oEprVxulp(b'\xbd\x0f\x11\x02\xdcy\x12'), chr(100) + '\x65' + chr(0b1100011) + chr(0b1001000 + 0o47) + '\x64' + chr(7139 - 7038))('\165' + chr(918 - 802) + chr(102) + chr(367 - 322) + chr(56)))()
roI3spqORKae(hXMPsSrOQzbh.samp_grid, roI3spqORKae(ES5oEprVxulp(b'\xa9\x05\x05\x13\xdcX\x1f\xddPd\x03\x1f'), '\144' + '\145' + chr(3682 - 3583) + '\x6f' + chr(0b1100001 + 0o3) + chr(101))(chr(117) + chr(8744 - 8628) + '\x66' + chr(0b101011 + 0o2) + chr(56)))()
roI3spqORKae(hXMPsSrOQzbh.panel, roI3spqORKae(ES5oEprVxulp(b'\xbd\x0f\x11\x02\xdcy\x12'), chr(0b1100100) + chr(3691 - 3590) + chr(99) + '\x6f' + '\144' + '\145')(chr(117) + chr(0b10000 + 0o144) + '\x66' + chr(0b101101) + '\x38'))()
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xbd\x0f\x11\x02\xdcy\x12'), '\144' + chr(1379 - 1278) + chr(99) + '\x6f' + '\x64' + chr(101))(chr(0b1010010 + 0o43) + chr(116) + chr(102) + '\055' + chr(0b111000)))()
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xa7\x03\x13\x15'), chr(8987 - 8887) + '\145' + chr(99) + chr(111) + chr(100) + '\x65')('\x75' + '\x74' + chr(0b1001011 + 0o33) + chr(45) + '\x38'))()
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xbc\x02\x18\x07'), chr(0b1101 + 0o127) + chr(0b110101 + 0o60) + chr(0b111010 + 0o51) + '\157' + '\144' + chr(4664 - 4563))(chr(0b1110101) + chr(116) + '\146' + '\055' + chr(0b111000)))()
|
PmagPy/PmagPy
|
dialogs/pmag_er_magic_dialogs.py
|
ErMagicCheckFrame.InitSiteCheck
|
def InitSiteCheck(self):
"""make an interactive grid in which users can edit site names
as well as which location a site belongs to"""
self.panel = wx.Panel(self, style=wx.SIMPLE_BORDER)
text = """Step 3:
Check that all sites are correctly named, and that they belong to the correct location.
Fill in the additional columns with controlled vocabularies.
The columns for class, lithology, and type can take multiple values in the form of a colon-delimited list.
You may use the drop-down menus to add as many values as needed in these columns.
(see the help button for more details)
note: Changes to site_class, site_lithology, or site_type will overwrite er_samples.txt
However, you will be able to edit sample_class, sample_lithology, and sample_type in step 4
**Denotes controlled vocabulary"""
label = wx.StaticText(self.panel, label=text)
#self.Data_hierarchy = self.ErMagic.Data_hierarchy
self.sites = sorted(self.er_magic_data.make_name_list(self.er_magic_data.sites))
#for val in ['er_citation_names', 'er_location_name', 'er_site_name', 'site_class', 'site_lithology', 'site_type', 'site_definition', 'site_lat', 'site_lon']: #
# try:
# self.er_magic_data.headers['site']['er'][0].remove(val)
# except ValueError:
# pass
self.grid_builder = grid_frame2.GridBuilder(self.er_magic_data, 'site',
self.er_magic_data.headers, self.panel,
'location')
self.site_grid = self.grid_builder.make_grid(incl_pmag=False)
self.site_grid.InitUI()
self.grid_builder.add_data_to_grid(self.site_grid, 'site', incl_pmag=False)
self.grid = self.site_grid
# populate site_definition as 's' by default if no value is provided (indicates that site is single, not composite)
rows = self.site_grid.GetNumberRows()
col = 6
for row in range(rows):
cell = self.site_grid.GetCellValue(row, col)
if not cell:
self.site_grid.SetCellValue(row, col, 's')
# initialize all needed drop-down menus
locations = sorted(self.er_magic_data.make_name_list(self.er_magic_data.locations))
self.drop_down_menu = drop_down_menus.Menus("site", self, self.site_grid, locations)
### Create Buttons ###
hbox_one = wx.BoxSizer(wx.HORIZONTAL)
self.addLocButton = wx.Button(self.panel, label="Add a new location")
self.Bind(wx.EVT_BUTTON, self.on_addLocButton, self.addLocButton)
hbox_one.Add(self.addLocButton, flag=wx.RIGHT, border=10)
self.helpButton = wx.Button(self.panel, label="Help")
self.Bind(wx.EVT_BUTTON, lambda event: self.on_helpButton(event, "ErMagicSiteHelp.html"), self.helpButton)
hbox_one.Add(self.helpButton)
hboxok = wx.BoxSizer(wx.HORIZONTAL)
self.saveButton = wx.Button(self.panel, id=-1, label='Save')
self.Bind(wx.EVT_BUTTON, lambda event: self.on_saveButton(event, self.site_grid), self.saveButton)
self.cancelButton = wx.Button(self.panel, wx.ID_CANCEL, '&Cancel')
self.Bind(wx.EVT_BUTTON, self.on_cancelButton, self.cancelButton)
self.continueButton = wx.Button(self.panel, id=-1, label='Save and continue')
self.Bind(wx.EVT_BUTTON, lambda event: self.on_continueButton(event, self.site_grid, next_dia=self.InitSampCheck), self.continueButton)
self.backButton = wx.Button(self.panel, wx.ID_ANY, "&Back")
previous_dia = self.InitSampCheck
self.Bind(wx.EVT_BUTTON, lambda event: self.on_backButton(event, previous_dia=previous_dia), self.backButton)
hboxok.Add(self.saveButton, flag=wx.RIGHT, border=10)
hboxok.Add(self.cancelButton, flag=wx.RIGHT, border=10)
hboxok.Add(self.continueButton, flag=wx.RIGHT, border=10)
hboxok.Add(self.backButton)
#
hboxgrid = pw.hbox_grid(self.panel, self.onDeleteRow, 'site', self.grid)
self.deleteRowButton = hboxgrid.deleteRowButton
self.Bind(wx.grid.EVT_GRID_LABEL_LEFT_CLICK, self.onLeftClickLabel, self.grid)
### Make Containers ###
vbox = wx.BoxSizer(wx.VERTICAL)
vbox.Add(label, flag=wx.ALIGN_CENTER|wx.BOTTOM|wx.TOP, border=20)
vbox.Add(hbox_one, flag=wx.BOTTOM|wx.LEFT, border=10)
vbox.Add(hboxok, flag=wx.BOTTOM|wx.LEFT, border=10)
vbox.Add(hboxgrid, flag=wx.BOTTOM|wx.LEFT, border=10)
vbox.Add(self.site_grid, flag=wx.ALL|wx.EXPAND, border=10) # EXPAND ??
vbox.AddSpacer(20)
self.hbox_all = wx.BoxSizer(wx.HORIZONTAL)
self.hbox_all.AddSpacer(20)
self.hbox_all.Add(vbox)
self.hbox_all.AddSpacer(20)
self.panel.SetSizer(self.hbox_all)
#if sys.platform in ['win32', 'win64']:
# self.panel.SetScrollbars(20, 20, 50, 50)
self.hbox_all.Fit(self)
self.Centre()
self.Show()
# this combination prevents a display error that (without the fix) only resolves on manually resizing the window
self.site_grid.ForceRefresh()
self.panel.Refresh()
self.Hide()
self.Show()
|
python
|
def InitSiteCheck(self):
"""make an interactive grid in which users can edit site names
as well as which location a site belongs to"""
self.panel = wx.Panel(self, style=wx.SIMPLE_BORDER)
text = """Step 3:
Check that all sites are correctly named, and that they belong to the correct location.
Fill in the additional columns with controlled vocabularies.
The columns for class, lithology, and type can take multiple values in the form of a colon-delimited list.
You may use the drop-down menus to add as many values as needed in these columns.
(see the help button for more details)
note: Changes to site_class, site_lithology, or site_type will overwrite er_samples.txt
However, you will be able to edit sample_class, sample_lithology, and sample_type in step 4
**Denotes controlled vocabulary"""
label = wx.StaticText(self.panel, label=text)
#self.Data_hierarchy = self.ErMagic.Data_hierarchy
self.sites = sorted(self.er_magic_data.make_name_list(self.er_magic_data.sites))
#for val in ['er_citation_names', 'er_location_name', 'er_site_name', 'site_class', 'site_lithology', 'site_type', 'site_definition', 'site_lat', 'site_lon']: #
# try:
# self.er_magic_data.headers['site']['er'][0].remove(val)
# except ValueError:
# pass
self.grid_builder = grid_frame2.GridBuilder(self.er_magic_data, 'site',
self.er_magic_data.headers, self.panel,
'location')
self.site_grid = self.grid_builder.make_grid(incl_pmag=False)
self.site_grid.InitUI()
self.grid_builder.add_data_to_grid(self.site_grid, 'site', incl_pmag=False)
self.grid = self.site_grid
# populate site_definition as 's' by default if no value is provided (indicates that site is single, not composite)
rows = self.site_grid.GetNumberRows()
col = 6
for row in range(rows):
cell = self.site_grid.GetCellValue(row, col)
if not cell:
self.site_grid.SetCellValue(row, col, 's')
# initialize all needed drop-down menus
locations = sorted(self.er_magic_data.make_name_list(self.er_magic_data.locations))
self.drop_down_menu = drop_down_menus.Menus("site", self, self.site_grid, locations)
### Create Buttons ###
hbox_one = wx.BoxSizer(wx.HORIZONTAL)
self.addLocButton = wx.Button(self.panel, label="Add a new location")
self.Bind(wx.EVT_BUTTON, self.on_addLocButton, self.addLocButton)
hbox_one.Add(self.addLocButton, flag=wx.RIGHT, border=10)
self.helpButton = wx.Button(self.panel, label="Help")
self.Bind(wx.EVT_BUTTON, lambda event: self.on_helpButton(event, "ErMagicSiteHelp.html"), self.helpButton)
hbox_one.Add(self.helpButton)
hboxok = wx.BoxSizer(wx.HORIZONTAL)
self.saveButton = wx.Button(self.panel, id=-1, label='Save')
self.Bind(wx.EVT_BUTTON, lambda event: self.on_saveButton(event, self.site_grid), self.saveButton)
self.cancelButton = wx.Button(self.panel, wx.ID_CANCEL, '&Cancel')
self.Bind(wx.EVT_BUTTON, self.on_cancelButton, self.cancelButton)
self.continueButton = wx.Button(self.panel, id=-1, label='Save and continue')
self.Bind(wx.EVT_BUTTON, lambda event: self.on_continueButton(event, self.site_grid, next_dia=self.InitSampCheck), self.continueButton)
self.backButton = wx.Button(self.panel, wx.ID_ANY, "&Back")
previous_dia = self.InitSampCheck
self.Bind(wx.EVT_BUTTON, lambda event: self.on_backButton(event, previous_dia=previous_dia), self.backButton)
hboxok.Add(self.saveButton, flag=wx.RIGHT, border=10)
hboxok.Add(self.cancelButton, flag=wx.RIGHT, border=10)
hboxok.Add(self.continueButton, flag=wx.RIGHT, border=10)
hboxok.Add(self.backButton)
#
hboxgrid = pw.hbox_grid(self.panel, self.onDeleteRow, 'site', self.grid)
self.deleteRowButton = hboxgrid.deleteRowButton
self.Bind(wx.grid.EVT_GRID_LABEL_LEFT_CLICK, self.onLeftClickLabel, self.grid)
### Make Containers ###
vbox = wx.BoxSizer(wx.VERTICAL)
vbox.Add(label, flag=wx.ALIGN_CENTER|wx.BOTTOM|wx.TOP, border=20)
vbox.Add(hbox_one, flag=wx.BOTTOM|wx.LEFT, border=10)
vbox.Add(hboxok, flag=wx.BOTTOM|wx.LEFT, border=10)
vbox.Add(hboxgrid, flag=wx.BOTTOM|wx.LEFT, border=10)
vbox.Add(self.site_grid, flag=wx.ALL|wx.EXPAND, border=10) # EXPAND ??
vbox.AddSpacer(20)
self.hbox_all = wx.BoxSizer(wx.HORIZONTAL)
self.hbox_all.AddSpacer(20)
self.hbox_all.Add(vbox)
self.hbox_all.AddSpacer(20)
self.panel.SetSizer(self.hbox_all)
#if sys.platform in ['win32', 'win64']:
# self.panel.SetScrollbars(20, 20, 50, 50)
self.hbox_all.Fit(self)
self.Centre()
self.Show()
# this combination prevents a display error that (without the fix) only resolves on manually resizing the window
self.site_grid.ForceRefresh()
self.panel.Refresh()
self.Hide()
self.Show()
|
[
"def",
"InitSiteCheck",
"(",
"self",
")",
":",
"self",
".",
"panel",
"=",
"wx",
".",
"Panel",
"(",
"self",
",",
"style",
"=",
"wx",
".",
"SIMPLE_BORDER",
")",
"text",
"=",
"\"\"\"Step 3:\nCheck that all sites are correctly named, and that they belong to the correct location.\nFill in the additional columns with controlled vocabularies.\nThe columns for class, lithology, and type can take multiple values in the form of a colon-delimited list.\nYou may use the drop-down menus to add as many values as needed in these columns.\n(see the help button for more details)\nnote: Changes to site_class, site_lithology, or site_type will overwrite er_samples.txt\nHowever, you will be able to edit sample_class, sample_lithology, and sample_type in step 4\n\n**Denotes controlled vocabulary\"\"\"",
"label",
"=",
"wx",
".",
"StaticText",
"(",
"self",
".",
"panel",
",",
"label",
"=",
"text",
")",
"#self.Data_hierarchy = self.ErMagic.Data_hierarchy",
"self",
".",
"sites",
"=",
"sorted",
"(",
"self",
".",
"er_magic_data",
".",
"make_name_list",
"(",
"self",
".",
"er_magic_data",
".",
"sites",
")",
")",
"#for val in ['er_citation_names', 'er_location_name', 'er_site_name', 'site_class', 'site_lithology', 'site_type', 'site_definition', 'site_lat', 'site_lon']: #",
"# try:",
"# self.er_magic_data.headers['site']['er'][0].remove(val)",
"# except ValueError:",
"# pass",
"self",
".",
"grid_builder",
"=",
"grid_frame2",
".",
"GridBuilder",
"(",
"self",
".",
"er_magic_data",
",",
"'site'",
",",
"self",
".",
"er_magic_data",
".",
"headers",
",",
"self",
".",
"panel",
",",
"'location'",
")",
"self",
".",
"site_grid",
"=",
"self",
".",
"grid_builder",
".",
"make_grid",
"(",
"incl_pmag",
"=",
"False",
")",
"self",
".",
"site_grid",
".",
"InitUI",
"(",
")",
"self",
".",
"grid_builder",
".",
"add_data_to_grid",
"(",
"self",
".",
"site_grid",
",",
"'site'",
",",
"incl_pmag",
"=",
"False",
")",
"self",
".",
"grid",
"=",
"self",
".",
"site_grid",
"# populate site_definition as 's' by default if no value is provided (indicates that site is single, not composite)",
"rows",
"=",
"self",
".",
"site_grid",
".",
"GetNumberRows",
"(",
")",
"col",
"=",
"6",
"for",
"row",
"in",
"range",
"(",
"rows",
")",
":",
"cell",
"=",
"self",
".",
"site_grid",
".",
"GetCellValue",
"(",
"row",
",",
"col",
")",
"if",
"not",
"cell",
":",
"self",
".",
"site_grid",
".",
"SetCellValue",
"(",
"row",
",",
"col",
",",
"'s'",
")",
"# initialize all needed drop-down menus",
"locations",
"=",
"sorted",
"(",
"self",
".",
"er_magic_data",
".",
"make_name_list",
"(",
"self",
".",
"er_magic_data",
".",
"locations",
")",
")",
"self",
".",
"drop_down_menu",
"=",
"drop_down_menus",
".",
"Menus",
"(",
"\"site\"",
",",
"self",
",",
"self",
".",
"site_grid",
",",
"locations",
")",
"### Create Buttons ###",
"hbox_one",
"=",
"wx",
".",
"BoxSizer",
"(",
"wx",
".",
"HORIZONTAL",
")",
"self",
".",
"addLocButton",
"=",
"wx",
".",
"Button",
"(",
"self",
".",
"panel",
",",
"label",
"=",
"\"Add a new location\"",
")",
"self",
".",
"Bind",
"(",
"wx",
".",
"EVT_BUTTON",
",",
"self",
".",
"on_addLocButton",
",",
"self",
".",
"addLocButton",
")",
"hbox_one",
".",
"Add",
"(",
"self",
".",
"addLocButton",
",",
"flag",
"=",
"wx",
".",
"RIGHT",
",",
"border",
"=",
"10",
")",
"self",
".",
"helpButton",
"=",
"wx",
".",
"Button",
"(",
"self",
".",
"panel",
",",
"label",
"=",
"\"Help\"",
")",
"self",
".",
"Bind",
"(",
"wx",
".",
"EVT_BUTTON",
",",
"lambda",
"event",
":",
"self",
".",
"on_helpButton",
"(",
"event",
",",
"\"ErMagicSiteHelp.html\"",
")",
",",
"self",
".",
"helpButton",
")",
"hbox_one",
".",
"Add",
"(",
"self",
".",
"helpButton",
")",
"hboxok",
"=",
"wx",
".",
"BoxSizer",
"(",
"wx",
".",
"HORIZONTAL",
")",
"self",
".",
"saveButton",
"=",
"wx",
".",
"Button",
"(",
"self",
".",
"panel",
",",
"id",
"=",
"-",
"1",
",",
"label",
"=",
"'Save'",
")",
"self",
".",
"Bind",
"(",
"wx",
".",
"EVT_BUTTON",
",",
"lambda",
"event",
":",
"self",
".",
"on_saveButton",
"(",
"event",
",",
"self",
".",
"site_grid",
")",
",",
"self",
".",
"saveButton",
")",
"self",
".",
"cancelButton",
"=",
"wx",
".",
"Button",
"(",
"self",
".",
"panel",
",",
"wx",
".",
"ID_CANCEL",
",",
"'&Cancel'",
")",
"self",
".",
"Bind",
"(",
"wx",
".",
"EVT_BUTTON",
",",
"self",
".",
"on_cancelButton",
",",
"self",
".",
"cancelButton",
")",
"self",
".",
"continueButton",
"=",
"wx",
".",
"Button",
"(",
"self",
".",
"panel",
",",
"id",
"=",
"-",
"1",
",",
"label",
"=",
"'Save and continue'",
")",
"self",
".",
"Bind",
"(",
"wx",
".",
"EVT_BUTTON",
",",
"lambda",
"event",
":",
"self",
".",
"on_continueButton",
"(",
"event",
",",
"self",
".",
"site_grid",
",",
"next_dia",
"=",
"self",
".",
"InitSampCheck",
")",
",",
"self",
".",
"continueButton",
")",
"self",
".",
"backButton",
"=",
"wx",
".",
"Button",
"(",
"self",
".",
"panel",
",",
"wx",
".",
"ID_ANY",
",",
"\"&Back\"",
")",
"previous_dia",
"=",
"self",
".",
"InitSampCheck",
"self",
".",
"Bind",
"(",
"wx",
".",
"EVT_BUTTON",
",",
"lambda",
"event",
":",
"self",
".",
"on_backButton",
"(",
"event",
",",
"previous_dia",
"=",
"previous_dia",
")",
",",
"self",
".",
"backButton",
")",
"hboxok",
".",
"Add",
"(",
"self",
".",
"saveButton",
",",
"flag",
"=",
"wx",
".",
"RIGHT",
",",
"border",
"=",
"10",
")",
"hboxok",
".",
"Add",
"(",
"self",
".",
"cancelButton",
",",
"flag",
"=",
"wx",
".",
"RIGHT",
",",
"border",
"=",
"10",
")",
"hboxok",
".",
"Add",
"(",
"self",
".",
"continueButton",
",",
"flag",
"=",
"wx",
".",
"RIGHT",
",",
"border",
"=",
"10",
")",
"hboxok",
".",
"Add",
"(",
"self",
".",
"backButton",
")",
"#",
"hboxgrid",
"=",
"pw",
".",
"hbox_grid",
"(",
"self",
".",
"panel",
",",
"self",
".",
"onDeleteRow",
",",
"'site'",
",",
"self",
".",
"grid",
")",
"self",
".",
"deleteRowButton",
"=",
"hboxgrid",
".",
"deleteRowButton",
"self",
".",
"Bind",
"(",
"wx",
".",
"grid",
".",
"EVT_GRID_LABEL_LEFT_CLICK",
",",
"self",
".",
"onLeftClickLabel",
",",
"self",
".",
"grid",
")",
"### Make Containers ###",
"vbox",
"=",
"wx",
".",
"BoxSizer",
"(",
"wx",
".",
"VERTICAL",
")",
"vbox",
".",
"Add",
"(",
"label",
",",
"flag",
"=",
"wx",
".",
"ALIGN_CENTER",
"|",
"wx",
".",
"BOTTOM",
"|",
"wx",
".",
"TOP",
",",
"border",
"=",
"20",
")",
"vbox",
".",
"Add",
"(",
"hbox_one",
",",
"flag",
"=",
"wx",
".",
"BOTTOM",
"|",
"wx",
".",
"LEFT",
",",
"border",
"=",
"10",
")",
"vbox",
".",
"Add",
"(",
"hboxok",
",",
"flag",
"=",
"wx",
".",
"BOTTOM",
"|",
"wx",
".",
"LEFT",
",",
"border",
"=",
"10",
")",
"vbox",
".",
"Add",
"(",
"hboxgrid",
",",
"flag",
"=",
"wx",
".",
"BOTTOM",
"|",
"wx",
".",
"LEFT",
",",
"border",
"=",
"10",
")",
"vbox",
".",
"Add",
"(",
"self",
".",
"site_grid",
",",
"flag",
"=",
"wx",
".",
"ALL",
"|",
"wx",
".",
"EXPAND",
",",
"border",
"=",
"10",
")",
"# EXPAND ??",
"vbox",
".",
"AddSpacer",
"(",
"20",
")",
"self",
".",
"hbox_all",
"=",
"wx",
".",
"BoxSizer",
"(",
"wx",
".",
"HORIZONTAL",
")",
"self",
".",
"hbox_all",
".",
"AddSpacer",
"(",
"20",
")",
"self",
".",
"hbox_all",
".",
"Add",
"(",
"vbox",
")",
"self",
".",
"hbox_all",
".",
"AddSpacer",
"(",
"20",
")",
"self",
".",
"panel",
".",
"SetSizer",
"(",
"self",
".",
"hbox_all",
")",
"#if sys.platform in ['win32', 'win64']:",
"# self.panel.SetScrollbars(20, 20, 50, 50)",
"self",
".",
"hbox_all",
".",
"Fit",
"(",
"self",
")",
"self",
".",
"Centre",
"(",
")",
"self",
".",
"Show",
"(",
")",
"# this combination prevents a display error that (without the fix) only resolves on manually resizing the window",
"self",
".",
"site_grid",
".",
"ForceRefresh",
"(",
")",
"self",
".",
"panel",
".",
"Refresh",
"(",
")",
"self",
".",
"Hide",
"(",
")",
"self",
".",
"Show",
"(",
")"
] |
make an interactive grid in which users can edit site names
as well as which location a site belongs to
|
[
"make",
"an",
"interactive",
"grid",
"in",
"which",
"users",
"can",
"edit",
"site",
"names",
"as",
"well",
"as",
"which",
"location",
"a",
"site",
"belongs",
"to"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/dialogs/pmag_er_magic_dialogs.py#L577-L681
|
train
|
Initialize the site check dialog
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(0b110000 + 0o0) + chr(0b111100 + 0o63) + '\066' + chr(0b110110), 2267 - 2259), nzTpIcepk0o8(chr(48) + '\157' + chr(0b11000 + 0o33) + chr(0b110100) + chr(0b110100), ord("\x08")), nzTpIcepk0o8(chr(1420 - 1372) + chr(0b1101111) + '\063' + chr(0b11110 + 0o24) + '\x35', 0b1000), nzTpIcepk0o8(chr(48) + '\157' + chr(0b110001 + 0o2) + '\x37' + chr(0b110100), 0b1000), nzTpIcepk0o8('\060' + chr(0b100001 + 0o116) + '\x33' + chr(55) + chr(52), 8), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(2203 - 2152) + chr(54) + '\061', 0o10), nzTpIcepk0o8('\060' + chr(0b1101111) + '\x36' + chr(576 - 528), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x36', ord("\x08")), nzTpIcepk0o8('\060' + chr(4028 - 3917) + '\061' + chr(53) + chr(0b111 + 0o57), 0o10), nzTpIcepk0o8('\x30' + '\x6f' + '\062' + chr(51) + '\x33', 0b1000), nzTpIcepk0o8('\x30' + '\x6f' + chr(49) + '\062' + chr(861 - 811), 31254 - 31246), nzTpIcepk0o8(chr(131 - 83) + '\157' + chr(49) + '\060' + '\x36', 0o10), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(1510 - 1461) + '\061' + chr(55), 0b1000), nzTpIcepk0o8('\060' + chr(1608 - 1497) + chr(49) + chr(0b110001) + chr(0b10101 + 0o36), 0o10), nzTpIcepk0o8(chr(1608 - 1560) + '\157' + chr(0b10000 + 0o43) + '\x30' + '\065', 43971 - 43963), nzTpIcepk0o8(chr(105 - 57) + '\157' + chr(0b11111 + 0o24) + chr(0b110110) + chr(1549 - 1498), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b110011) + chr(0b101010 + 0o12) + chr(272 - 217), ord("\x08")), nzTpIcepk0o8(chr(1121 - 1073) + chr(0b10111 + 0o130) + '\x31' + chr(0b110101) + chr(0b101110 + 0o5), 38585 - 38577), nzTpIcepk0o8(chr(48) + '\157' + '\x33' + chr(53) + chr(53), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b11011 + 0o27) + chr(0b110111) + chr(50), 0b1000), nzTpIcepk0o8(chr(0b11111 + 0o21) + '\x6f' + chr(2463 - 2413) + '\067' + '\x34', 0o10), nzTpIcepk0o8(chr(0b10101 + 0o33) + '\x6f' + chr(0b110001) + chr(2686 - 2633) + '\066', 8), nzTpIcepk0o8(chr(515 - 467) + chr(0b1101111) + '\x31' + chr(2491 - 2441) + '\x35', 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b11 + 0o60) + chr(0b110000) + '\067', 59730 - 59722), nzTpIcepk0o8('\060' + chr(2499 - 2388) + chr(0b10000 + 0o42) + '\060' + chr(48), 0b1000), nzTpIcepk0o8(chr(0b101010 + 0o6) + chr(0b1101111) + chr(0b101110 + 0o6) + '\x33', 6668 - 6660), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(365 - 315) + chr(0b110010) + chr(0b110010), 0b1000), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x36' + chr(0b1101 + 0o51), 8), nzTpIcepk0o8(chr(857 - 809) + chr(8795 - 8684) + chr(51) + chr(0b110111) + chr(0b110111), 0b1000), nzTpIcepk0o8('\x30' + chr(0b11101 + 0o122) + chr(1511 - 1461) + chr(0b110100) + chr(1518 - 1464), 0o10), nzTpIcepk0o8(chr(48) + '\157' + chr(1476 - 1426) + '\x36' + chr(2182 - 2131), 0b1000), nzTpIcepk0o8('\060' + chr(111) + chr(0b1110 + 0o43) + chr(52) + '\066', 60975 - 60967), nzTpIcepk0o8(chr(0b100000 + 0o20) + '\x6f' + chr(0b100101 + 0o14) + '\064' + chr(0b110 + 0o61), 41588 - 41580), nzTpIcepk0o8('\x30' + chr(0b111000 + 0o67) + chr(0b101 + 0o61) + chr(51), 0b1000), nzTpIcepk0o8(chr(0b11101 + 0o23) + '\x6f' + '\x32' + chr(0b110000) + '\066', 0b1000), nzTpIcepk0o8('\x30' + chr(111) + chr(0b10000 + 0o45) + chr(0b110111), 59610 - 59602), nzTpIcepk0o8(chr(48) + chr(0b100001 + 0o116) + chr(51) + chr(49) + '\x34', 0b1000), nzTpIcepk0o8(chr(0b10 + 0o56) + chr(0b1101 + 0o142) + '\x36' + chr(0b110111), 0b1000), nzTpIcepk0o8(chr(48) + '\157' + '\062' + chr(2285 - 2232) + '\x30', ord("\x08")), nzTpIcepk0o8('\x30' + '\157' + chr(2449 - 2399) + chr(0b110010), 0b1000)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(1934 - 1886) + '\x6f' + '\x35' + chr(0b110000 + 0o0), 0o10)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\x18'), chr(0b1100100) + '\x65' + chr(99) + chr(11815 - 11704) + '\144' + '\x65')(chr(1509 - 1392) + chr(116) + chr(0b1100110) + chr(289 - 244) + chr(0b10110 + 0o42)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def _26epsTrXO1Y(hXMPsSrOQzbh):
hXMPsSrOQzbh.tqXV8VwoxdNA = FHAk5xm055cs.Panel(hXMPsSrOQzbh, style=FHAk5xm055cs.SIMPLE_BORDER)
cpStk7cY1TJd = roI3spqORKae(ES5oEprVxulp(b'e\x90\xb0\x8c\xdc\xc2\n\x0c-\xf37%$k\xb1\x9b\x86\x1f\xcd\xdb\xd0\x02u\xb4\xe9W\xf7E\xdf\xc7\xc1\x03GP\xe9]\xbeR\xcbfZ\x9d\xf5\x92\x9d\x9cUbB\xbb3(+k\xb1\x9b\x86\x1f\xcd\xce\xd4\x0b,\xe7\xe2F\xfeY\x91\xc1\x93\x12\x08\x13\xf2G\xa9\x17\xcb}D\x96\xb0\x9f\x88\xd1\\i\r\xfa&/ %\xeb\xf9\xa1\x02\x81\xd6\x9c\x07;\xe7\xf4K\xf7\x16\x9e\xc2\xd7\x0f\x13Z\xe9A\xad[\x88qY\x88\xa0\x91\x92\x82\x10q\x07\xef:f,$\xab\x87\x95\x04\x81\xd6\xd9\nu\xb1\xef@\xf3T\x8a\xca\xd2\x14\x0eV\xf5\x01\xc6c\xc0w\x16\x87\xba\x90\x89\x9c^uN\xfd=4o(\xa9\x92\x94\x18\xc1\x9a\xd0\x07!\xaf\xefO\xfdQ\x86\x8a\x93\x07\tW\xa6[\xb5G\xcd2U\x85\xbb\xdc\x88\x90[cN\xf6\'*;"\xb5\x9f\x82K\x9b\xdb\xd0\x1b0\xb4\xa0J\xfc\x16\x8b\xce\xd6F\x01\\\xf4B\xecX\xce2W\xc4\xb6\x93\x90\x9e^+\n\xfe>/""\xb1\x96\x83K\x81\xd3\xcf\x1a{\xcd\xd9L\xe7\x16\x92\xc7\xcaF\x12@\xe3\x0f\xb8_\xcd2R\x96\xba\x8c\xd1\x95_q\x00\xbb?#!>\xb6\xd3\x93\x04\xcd\xdb\xd8\nu\xa6\xf3\x03\xffW\x91\xdf\x93\x10\x06_\xf3J\xbf\x17\xc9a\x16\x8a\xb0\x99\x98\x94T&\x07\xf5r2\'.\xb6\x96\xc7\x08\x82\xd6\xc9\x03;\xb4\xae)\xbaE\x9a\xc3\x93\x12\x0fV\xa6G\xa9[\xd82T\x91\xa1\x88\x93\x9f\x10`\x01\xe9r+ 9\xa0\xd3\x83\x0e\x99\xdb\xd5\x02&\xee\x8aM\xfdB\x9a\x9c\x93%\x0fR\xe8H\xa9D\x88fY\xc4\xa6\x95\x88\x94oe\x02\xfa!5ck\xb6\x9a\x93\x0e\xb2\xd6\xd5\x1a=\xa8\xecL\xf5O\xd3\x86\xdc\x14G@\xef[\xa9h\xdckF\x81\xf5\x8b\x95\x9d\\&\x01\xed7489\xac\x87\x82K\x88\xc8\xe3\x1d4\xaa\xf0O\xf7E\xd1\xd2\xcb\x12m{\xe9X\xa9A\xcd`\x1a\xc4\xac\x93\x89\xd1Go\x02\xf7r$*k\xa4\x91\x8b\x0e\xcd\xce\xd3N0\xa3\xe9W\xb2E\x9e\xcb\xc3\n\x02l\xe5C\xadD\xdb>\x16\x97\xb4\x91\x8c\x9dUY\x02\xf2&. \'\xaa\x94\x9eG\xcd\xdb\xd2\nu\xb4\xe1N\xe2Z\x9a\xf9\xc7\x1f\x17V\xa6F\xa2\x17\xdbfS\x94\xf5\xc8\xf6\xfb\x1a,*\xfe<);.\xb6\xd3\x84\x04\x83\xce\xce\x019\xab\xe5G\xb2@\x90\xc5\xd2\x04\x12_\xe7]\xb5'), chr(0b111000 + 0o54) + '\145' + '\143' + '\x6f' + chr(100) + chr(0b11011 + 0o112))(chr(117) + chr(0b1110100) + chr(102) + chr(883 - 838) + chr(0b111000))
OkDIn6t2Cke6 = FHAk5xm055cs.StaticText(hXMPsSrOQzbh.tqXV8VwoxdNA, label=cpStk7cY1TJd)
hXMPsSrOQzbh.SDKwNkUm3Omo = V3OlOVg98A85(hXMPsSrOQzbh.er_magic_data.make_name_list(hXMPsSrOQzbh.er_magic_data.SDKwNkUm3Omo))
hXMPsSrOQzbh.W1YFLWHF2P72 = kSQQsh1rBLdC.GridBuilder(hXMPsSrOQzbh.er_magic_data, roI3spqORKae(ES5oEprVxulp(b'E\x8d\xa1\x99'), chr(0b1100100) + chr(0b1100101) + chr(99) + '\x6f' + chr(100) + chr(3616 - 3515))('\165' + '\164' + chr(102) + chr(1839 - 1794) + chr(0b10000 + 0o50)), hXMPsSrOQzbh.er_magic_data.UyworZfslHjc, hXMPsSrOQzbh.tqXV8VwoxdNA, roI3spqORKae(ES5oEprVxulp(b'Z\x8b\xb6\x9d\x88\x98_h'), chr(0b1100100) + '\145' + chr(99) + '\x6f' + chr(7571 - 7471) + chr(0b1100101))('\x75' + chr(0b1110100) + chr(9696 - 9594) + chr(0b1011 + 0o42) + chr(0b111000)))
hXMPsSrOQzbh._jprCMrvrRf4 = hXMPsSrOQzbh.grid_builder.make_grid(incl_pmag=nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b100001 + 0o17), 0b1000))
roI3spqORKae(hXMPsSrOQzbh.site_grid, roI3spqORKae(ES5oEprVxulp(b'\x7f\x8a\xbc\x88\xa9\xb8'), chr(529 - 429) + '\145' + chr(0b1100011) + chr(111) + chr(0b1100100) + chr(101))(chr(0b1110101) + chr(116) + chr(9582 - 9480) + chr(45) + '\070'))()
roI3spqORKae(hXMPsSrOQzbh.grid_builder, roI3spqORKae(ES5oEprVxulp(b'W\x80\xb1\xa3\x98\x90Dg1\xef=\x19(9\xac\x97'), chr(100) + '\145' + chr(4054 - 3955) + '\x6f' + chr(100) + chr(0b1100101))('\x75' + chr(0b1110100) + '\x66' + chr(0b101101) + '\x38'))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'i\x8e\xa5\x8e\xbf\xbcBp\x1c\xc94r'), chr(7950 - 7850) + '\x65' + '\x63' + chr(0b1101000 + 0o7) + chr(100) + chr(0b1100101))(chr(0b1110101) + '\164' + chr(0b1010100 + 0o22) + chr(0b101101) + '\x38')), roI3spqORKae(ES5oEprVxulp(b'E\x8d\xa1\x99'), '\x64' + '\x65' + chr(0b11011 + 0o110) + chr(12037 - 11926) + '\x64' + chr(7623 - 7522))(chr(9884 - 9767) + chr(0b1000001 + 0o63) + '\x66' + chr(621 - 576) + chr(0b100100 + 0o24)), incl_pmag=nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b110000), 8))
hXMPsSrOQzbh.xiP5QxYWlEkW = hXMPsSrOQzbh._jprCMrvrRf4
AUW_CJJJXKka = hXMPsSrOQzbh.site_grid.GetNumberRows()
hRTUxJgvuslu = nzTpIcepk0o8(chr(1623 - 1575) + chr(11380 - 11269) + chr(0b11000 + 0o36), 8)
for o6UWUO21mH25 in bbT2xIe5pzk7(AUW_CJJJXKka):
rbRF4PDvaTGt = hXMPsSrOQzbh.site_grid.GetCellValue(o6UWUO21mH25, hRTUxJgvuslu)
if not rbRF4PDvaTGt:
roI3spqORKae(hXMPsSrOQzbh.site_grid, roI3spqORKae(ES5oEprVxulp(b"e\x81\xa1\xbf\x99\x9d\\P\x0f\xf7'#"), chr(0b10101 + 0o117) + chr(0b1001101 + 0o30) + chr(0b1100011) + chr(3519 - 3408) + chr(6485 - 6385) + '\x65')(chr(117) + chr(1018 - 902) + chr(102) + chr(0b101101) + chr(56)))(o6UWUO21mH25, hRTUxJgvuslu, roI3spqORKae(ES5oEprVxulp(b'E'), '\144' + chr(984 - 883) + chr(99) + chr(4328 - 4217) + chr(100) + chr(0b1000101 + 0o40))(chr(0b1110101) + chr(0b1110100) + chr(0b1100011 + 0o3) + '\055' + chr(56)))
c7FJzf0TKi1V = V3OlOVg98A85(hXMPsSrOQzbh.er_magic_data.make_name_list(hXMPsSrOQzbh.er_magic_data.locations))
hXMPsSrOQzbh.beUkJUv9NfWC = VcRxcF379N_E.Menus(roI3spqORKae(ES5oEprVxulp(b'E\x8d\xa1\x99'), '\x64' + '\145' + '\143' + '\x6f' + '\x64' + chr(101))('\x75' + chr(2053 - 1937) + '\x66' + chr(281 - 236) + chr(2303 - 2247)), hXMPsSrOQzbh, hXMPsSrOQzbh._jprCMrvrRf4, c7FJzf0TKi1V)
JKtZmCyzIAeO = FHAk5xm055cs.BoxSizer(FHAk5xm055cs.HORIZONTAL)
hXMPsSrOQzbh.pT_lTskt_5U9 = FHAk5xm055cs.Button(hXMPsSrOQzbh.tqXV8VwoxdNA, label=roI3spqORKae(ES5oEprVxulp(b'w\x80\xb1\xdc\x9d\xd1^c\x19\xbb>),*\xb1\x9a\x88\x05'), '\144' + '\145' + chr(0b1000 + 0o133) + chr(0b0 + 0o157) + chr(0b110 + 0o136) + '\145')(chr(0b1110011 + 0o2) + chr(0b101 + 0o157) + chr(7514 - 7412) + chr(0b10101 + 0o30) + '\070'))
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b't\x8d\xbb\x98'), chr(7865 - 7765) + chr(2586 - 2485) + chr(0b1100011) + '\x6f' + chr(100) + '\x65')(chr(0b110110 + 0o77) + '\x74' + chr(10263 - 10161) + chr(45) + chr(0b111000)))(roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b's\xb2\x81\xa3\xbe\xa4dR!\xd5'), chr(1018 - 918) + chr(0b100010 + 0o103) + chr(9779 - 9680) + chr(111) + '\x64' + chr(6687 - 6586))(chr(0b1110101) + chr(0b111101 + 0o67) + chr(5870 - 5768) + chr(45) + chr(56))), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b"Y\x8a\x8a\x9d\x98\x95|i\r\xd9'2;$\xab"), chr(100) + '\145' + '\143' + '\157' + chr(0b1100100) + '\x65')(chr(0b1101001 + 0o14) + '\x74' + chr(0b1100110) + chr(45) + '\070')), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'F\xb0\x8a\x90\xa8\x82[r1\xae\x07\x7f'), chr(0b1100100) + '\145' + chr(0b11100 + 0o107) + chr(0b1101111) + '\144' + chr(101))(chr(0b101000 + 0o115) + chr(13326 - 13210) + chr(0b1100110) + '\055' + chr(0b100001 + 0o27))))
roI3spqORKae(JKtZmCyzIAeO, roI3spqORKae(ES5oEprVxulp(b'w\x80\xb1'), chr(0b110110 + 0o56) + '\145' + '\x63' + chr(0b1011001 + 0o26) + '\x64' + '\145')(chr(117) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(0b110101 + 0o3)))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'F\xb0\x8a\x90\xa8\x82[r1\xae\x07\x7f'), '\x64' + chr(0b110 + 0o137) + chr(0b1100011) + '\157' + chr(0b11001 + 0o113) + chr(0b111100 + 0o51))(chr(0b1110101) + chr(0b1110100) + chr(102) + chr(0b101101) + '\070')), flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'd\xad\x92\xb4\xa8'), '\144' + '\145' + chr(0b1011011 + 0o10) + chr(111) + chr(5107 - 5007) + '\x65')(chr(0b1110101 + 0o0) + chr(0b1000110 + 0o56) + chr(0b101110 + 0o70) + chr(1794 - 1749) + chr(56))), border=nzTpIcepk0o8(chr(1829 - 1781) + chr(4277 - 4166) + chr(0b110000 + 0o1) + chr(0b101000 + 0o12), ord("\x08")))
hXMPsSrOQzbh.W55E6UjS9vVB = FHAk5xm055cs.Button(hXMPsSrOQzbh.tqXV8VwoxdNA, label=roI3spqORKae(ES5oEprVxulp(b'~\x81\xb9\x8c'), '\144' + chr(101) + chr(99) + chr(0b1011101 + 0o22) + chr(100) + '\145')('\x75' + '\164' + '\x66' + '\x2d' + '\x38'))
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b't\x8d\xbb\x98'), chr(0b10 + 0o142) + chr(101) + chr(9030 - 8931) + chr(0b1101111) + chr(0b1010101 + 0o17) + chr(0b1100101))(chr(117) + chr(116) + '\x66' + chr(0b101101) + chr(0b11011 + 0o35)))(roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b's\xb2\x81\xa3\xbe\xa4dR!\xd5'), '\144' + chr(0b10110 + 0o117) + '\143' + '\x6f' + chr(100) + chr(5341 - 5240))(chr(0b1110101) + '\x74' + chr(10328 - 10226) + chr(0b101101) + chr(0b10001 + 0o47))), lambda D4ybylS07yGH: roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'Y\x8a\x8a\x94\x99\x9d@D\x1b\xef&)!'), chr(0b1100100) + chr(0b1100101) + '\143' + chr(0b1001110 + 0o41) + chr(100) + chr(101))('\x75' + chr(0b1000111 + 0o55) + chr(102) + chr(45) + '\070'))(D4ybylS07yGH, roI3spqORKae(ES5oEprVxulp(b"s\x96\x98\x9d\x9b\x98SU\x07\xef7\x0e*'\xb5\xdd\x8f\x1f\x80\xd6"), chr(100) + chr(3291 - 3190) + chr(1230 - 1131) + chr(0b11111 + 0o120) + chr(0b1100100) + chr(4556 - 4455))('\x75' + chr(0b1110100) + '\146' + chr(0b100 + 0o51) + '\x38')), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'a\xd1\xe0\xb9\xca\xa4ZUW\xed\x04\x04'), chr(7996 - 7896) + chr(101) + chr(7181 - 7082) + chr(0b1001111 + 0o40) + chr(0b1100100) + chr(0b1100101))(chr(0b110111 + 0o76) + chr(0b1110100) + '\x66' + chr(45) + chr(0b10110 + 0o42))))
roI3spqORKae(JKtZmCyzIAeO, roI3spqORKae(ES5oEprVxulp(b'w\x80\xb1'), chr(2592 - 2492) + chr(7878 - 7777) + '\143' + chr(0b1101111) + '\x64' + chr(0b1000001 + 0o44))(chr(0b101000 + 0o115) + chr(900 - 784) + '\x66' + chr(0b101101) + chr(0b111000)))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'a\xd1\xe0\xb9\xca\xa4ZUW\xed\x04\x04'), chr(0b1100100) + chr(0b1100101) + '\x63' + chr(0b1001001 + 0o46) + '\144' + chr(101))(chr(0b1110101) + chr(0b1100111 + 0o15) + chr(102) + chr(0b11001 + 0o24) + '\x38')))
bwojCi6IuwsQ = FHAk5xm055cs.BoxSizer(FHAk5xm055cs.HORIZONTAL)
hXMPsSrOQzbh.m2I3HKmqciwZ = FHAk5xm055cs.Button(hXMPsSrOQzbh.tqXV8VwoxdNA, id=-nzTpIcepk0o8('\060' + chr(111) + chr(2394 - 2345), 2232 - 2224), label=roI3spqORKae(ES5oEprVxulp(b'e\x85\xa3\x99'), '\x64' + chr(0b1001110 + 0o27) + chr(0b1100011) + chr(0b1010110 + 0o31) + chr(162 - 62) + '\x65')('\165' + chr(116) + chr(0b1100110) + chr(0b10000 + 0o35) + '\070'))
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b't\x8d\xbb\x98'), chr(0b100001 + 0o103) + '\145' + chr(3243 - 3144) + chr(111) + chr(100) + '\145')(chr(10207 - 10090) + chr(0b1010101 + 0o37) + chr(6022 - 5920) + chr(0b100001 + 0o14) + chr(0b111000)))(roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b's\xb2\x81\xa3\xbe\xa4dR!\xd5'), chr(100) + chr(0b1011101 + 0o10) + chr(4893 - 4794) + chr(7095 - 6984) + chr(0b1100100) + '\x65')('\165' + '\164' + '\x66' + chr(45) + '\x38')), lambda D4ybylS07yGH: roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'Y\x8a\x8a\x8f\x9d\x87UD\x1b\xef&)!'), '\x64' + '\x65' + chr(3671 - 3572) + chr(9019 - 8908) + chr(0b1011001 + 0o13) + chr(101))('\x75' + chr(9562 - 9446) + '\x66' + chr(0b100110 + 0o7) + chr(0b111000)))(D4ybylS07yGH, roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'i\x8e\xa5\x8e\xbf\xbcBp\x1c\xc94r'), '\x64' + chr(0b1100101) + chr(0b101000 + 0o73) + chr(0b1101111) + chr(0b1100100) + '\x65')(chr(117) + chr(116) + '\x66' + '\x2d' + chr(0b110101 + 0o3)))), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'[\xd6\x9c\xcf\xb4\xba]w\r\xf2%\x1c'), '\144' + '\145' + '\x63' + chr(3516 - 3405) + chr(8056 - 7956) + '\x65')(chr(0b1110101) + chr(116) + chr(1620 - 1518) + chr(0b101101) + chr(56))))
hXMPsSrOQzbh.CxTJSLD15mva = FHAk5xm055cs.Button(hXMPsSrOQzbh.tqXV8VwoxdNA, FHAk5xm055cs.ID_CANCEL, roI3spqORKae(ES5oEprVxulp(b'\x10\xa7\xb4\x92\x9f\x94\\'), '\144' + chr(6740 - 6639) + chr(5785 - 5686) + chr(111) + '\x64' + chr(0b101001 + 0o74))(chr(11554 - 11437) + '\x74' + chr(0b1110 + 0o130) + chr(45) + '\x38'))
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b't\x8d\xbb\x98'), chr(0b100 + 0o140) + '\x65' + chr(723 - 624) + chr(0b1101111) + '\x64' + '\x65')(chr(6909 - 6792) + '\x74' + chr(8447 - 8345) + '\x2d' + '\x38'))(roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b's\xb2\x81\xa3\xbe\xa4dR!\xd5'), '\x64' + chr(101) + chr(0b1100011) + chr(111) + chr(100) + chr(551 - 450))(chr(0b1110101) + '\x74' + chr(102) + chr(45) + chr(56))), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b"Y\x8a\x8a\x9f\x9d\x9fSc\x02\xd9'2;$\xab"), chr(0b101000 + 0o74) + '\145' + chr(0b10010 + 0o121) + chr(0b1010110 + 0o31) + chr(0b1100100) + '\145')('\165' + chr(11369 - 11253) + chr(0b1010011 + 0o23) + chr(144 - 99) + chr(141 - 85))), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b"u\x9c\x81\xb6\xaf\xbdt7[\xf6$'"), chr(0b1100100) + chr(101) + chr(0b100001 + 0o102) + '\x6f' + chr(0b1010100 + 0o20) + chr(3853 - 3752))('\x75' + chr(0b111011 + 0o71) + chr(3391 - 3289) + chr(0b11110 + 0o17) + chr(2728 - 2672))))
hXMPsSrOQzbh.LzXnStd_2DBe = FHAk5xm055cs.Button(hXMPsSrOQzbh.tqXV8VwoxdNA, id=-nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110001), 8), label=roI3spqORKae(ES5oEprVxulp(b'e\x85\xa3\x99\xdc\x90^bN\xf8=(;"\xab\x86\x82'), chr(100) + chr(6331 - 6230) + '\x63' + '\157' + '\x64' + chr(0b1100101))(chr(0b1110101) + '\164' + '\146' + '\055' + chr(0b111000)))
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b't\x8d\xbb\x98'), '\x64' + chr(101) + chr(0b1100011) + chr(7694 - 7583) + chr(4899 - 4799) + chr(0b1100101))(chr(0b1101011 + 0o12) + chr(6863 - 6747) + chr(102) + chr(0b101101) + chr(0b100110 + 0o22)))(roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b's\xb2\x81\xa3\xbe\xa4dR!\xd5'), chr(100) + '\x65' + chr(0b1100011) + chr(111) + '\x64' + '\x65')(chr(117) + chr(0b1110100) + '\146' + chr(0b101101) + chr(2862 - 2806))), lambda D4ybylS07yGH: roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'Y\x8a\x8a\x9f\x93\x9fDo\x00\xee7\x04:?\xb1\x9c\x89'), chr(0b1100100) + '\145' + chr(1982 - 1883) + chr(111) + chr(2439 - 2339) + '\x65')('\165' + chr(0b11111 + 0o125) + chr(3563 - 3461) + chr(45) + '\070'))(D4ybylS07yGH, roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'i\x8e\xa5\x8e\xbf\xbcBp\x1c\xc94r'), '\144' + chr(0b111 + 0o136) + chr(0b1100011) + chr(6333 - 6222) + chr(7880 - 7780) + '\145')(chr(11286 - 11169) + '\x74' + '\x66' + chr(45) + chr(0b111000))), next_dia=roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x7f\x8a\xbc\x88\xaf\x90]v-\xf37%$'), chr(7966 - 7866) + '\145' + chr(0b101011 + 0o70) + '\x6f' + chr(100) + '\145')(chr(117) + '\164' + chr(0b1100110) + chr(1800 - 1755) + chr(0b111000)))), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'z\x9e\x8d\x92\xaf\x85TY\\\xdf\x10#'), chr(100) + '\145' + '\143' + chr(0b1101111) + chr(0b110100 + 0o60) + chr(0b1100101))(chr(0b11101 + 0o130) + chr(0b111111 + 0o65) + chr(102) + chr(0b100001 + 0o14) + chr(2603 - 2547))))
hXMPsSrOQzbh.AqaSmitgeYHw = FHAk5xm055cs.Button(hXMPsSrOQzbh.tqXV8VwoxdNA, FHAk5xm055cs.ID_ANY, roI3spqORKae(ES5oEprVxulp(b'\x10\xa6\xb4\x9f\x97'), '\x64' + chr(6697 - 6596) + '\x63' + chr(7974 - 7863) + '\144' + '\x65')('\165' + chr(0b1110100) + chr(102) + chr(0b11001 + 0o24) + '\x38'))
f22H9akrhZ34 = hXMPsSrOQzbh.InitSampCheck
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b't\x8d\xbb\x98'), chr(0b1100100) + chr(0b1100101) + '\x63' + chr(0b1000 + 0o147) + chr(2254 - 2154) + chr(101))(chr(8964 - 8847) + chr(0b1110100) + chr(0b1100 + 0o132) + chr(0b10100 + 0o31) + chr(0b111000)))(roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b's\xb2\x81\xa3\xbe\xa4dR!\xd5'), chr(0b1100100) + '\x65' + chr(4877 - 4778) + '\157' + '\x64' + chr(0b1100101))('\x75' + '\164' + chr(102) + chr(45) + chr(2869 - 2813))), lambda D4ybylS07yGH: roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'Y\x8a\x8a\x9e\x9d\x92[D\x1b\xef&)!'), chr(0b1100100) + chr(0b1100101) + chr(0b10010 + 0o121) + chr(0b1101111) + chr(0b111101 + 0o47) + chr(0b1100101))(chr(0b1110010 + 0o3) + chr(0b100110 + 0o116) + chr(0b1011110 + 0o10) + chr(576 - 531) + chr(0b111000)))(D4ybylS07yGH, previous_dia=f22H9akrhZ34), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'w\x95\xb4\xaf\x91\x98Da\x0b\xc2\x1a1'), chr(100) + '\145' + chr(99) + chr(6951 - 6840) + chr(0b111111 + 0o45) + '\x65')(chr(0b1110101) + chr(2764 - 2648) + chr(0b1100110) + chr(0b11 + 0o52) + chr(0b111000))))
roI3spqORKae(bwojCi6IuwsQ, roI3spqORKae(ES5oEprVxulp(b'w\x80\xb1'), '\144' + chr(0b1100101) + chr(8396 - 8297) + chr(7775 - 7664) + '\x64' + chr(101))(chr(3194 - 3077) + '\x74' + '\146' + chr(0b101101) + chr(0b111000)))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'[\xd6\x9c\xcf\xb4\xba]w\r\xf2%\x1c'), '\x64' + chr(4388 - 4287) + chr(0b1100011) + '\x6f' + chr(0b111101 + 0o47) + '\145')('\165' + '\x74' + chr(0b1100110) + chr(0b101101) + '\x38')), flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'd\xad\x92\xb4\xa8'), chr(0b1010100 + 0o20) + '\x65' + chr(0b110001 + 0o62) + chr(0b1101111) + chr(0b1100100) + '\145')(chr(10183 - 10066) + chr(116) + chr(5474 - 5372) + chr(802 - 757) + chr(0b110111 + 0o1))), border=nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(2158 - 2109) + chr(0b110010), 8))
roI3spqORKae(bwojCi6IuwsQ, roI3spqORKae(ES5oEprVxulp(b'w\x80\xb1'), '\144' + chr(0b1100101) + '\x63' + chr(111) + chr(8952 - 8852) + chr(6756 - 6655))(chr(0b10101 + 0o140) + chr(6004 - 5888) + chr(102) + '\x2d' + chr(0b111000)))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b"u\x9c\x81\xb6\xaf\xbdt7[\xf6$'"), chr(7556 - 7456) + chr(0b1100101) + '\x63' + '\x6f' + chr(0b1111 + 0o125) + '\x65')('\x75' + '\x74' + chr(102) + chr(410 - 365) + chr(1930 - 1874))), flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'd\xad\x92\xb4\xa8'), chr(100) + '\145' + chr(0b1100011) + chr(0b1101111) + '\x64' + '\x65')('\165' + chr(365 - 249) + '\146' + chr(45) + chr(56))), border=nzTpIcepk0o8('\060' + chr(0b100101 + 0o112) + chr(1471 - 1422) + chr(0b10110 + 0o34), 8))
roI3spqORKae(bwojCi6IuwsQ, roI3spqORKae(ES5oEprVxulp(b'w\x80\xb1'), '\144' + '\145' + chr(0b111000 + 0o53) + chr(0b100 + 0o153) + '\144' + chr(0b1100010 + 0o3))('\165' + chr(116) + chr(1348 - 1246) + chr(45) + chr(56)))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'z\x9e\x8d\x92\xaf\x85TY\\\xdf\x10#'), '\x64' + chr(0b1100101) + chr(0b1100010 + 0o1) + chr(0b1101111) + chr(0b1100100) + '\145')('\165' + chr(0b1110100) + chr(2797 - 2695) + chr(0b101101) + chr(56))), flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'd\xad\x92\xb4\xa8'), '\x64' + '\145' + chr(99) + chr(0b1101111) + chr(0b1100100) + '\145')(chr(117) + chr(0b1001110 + 0o46) + chr(0b1100110) + chr(760 - 715) + '\x38')), border=nzTpIcepk0o8(chr(1080 - 1032) + chr(0b0 + 0o157) + chr(0b100011 + 0o16) + chr(50), 8))
roI3spqORKae(bwojCi6IuwsQ, roI3spqORKae(ES5oEprVxulp(b'w\x80\xb1'), chr(2780 - 2680) + '\145' + chr(0b1100011) + '\x6f' + chr(9709 - 9609) + '\x65')(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + chr(45) + chr(56)))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'w\x95\xb4\xaf\x91\x98Da\x0b\xc2\x1a1'), chr(0b1010011 + 0o21) + chr(0b1100101) + chr(569 - 470) + chr(5520 - 5409) + '\144' + '\x65')('\x75' + '\x74' + '\x66' + '\055' + chr(0b111000))))
YtxUIAgokoEJ = saCGFe0zE73j.hbox_grid(hXMPsSrOQzbh.tqXV8VwoxdNA, hXMPsSrOQzbh.onDeleteRow, roI3spqORKae(ES5oEprVxulp(b'E\x8d\xa1\x99'), chr(0b1100100) + chr(0b1100101) + chr(8951 - 8852) + chr(1671 - 1560) + chr(0b1010101 + 0o17) + '\x65')(chr(0b1110101) + chr(0b1110100) + '\x66' + '\x2d' + chr(56)), hXMPsSrOQzbh.xiP5QxYWlEkW)
hXMPsSrOQzbh.wl01LRemEZlu = YtxUIAgokoEJ.wl01LRemEZlu
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b't\x8d\xbb\x98'), chr(1921 - 1821) + chr(452 - 351) + chr(3883 - 3784) + chr(111) + chr(0b1100100) + chr(736 - 635))(chr(6780 - 6663) + '\164' + chr(0b111110 + 0o50) + chr(45) + chr(0b10111 + 0o41)))(roI3spqORKae(FHAk5xm055cs.grid, roI3spqORKae(ES5oEprVxulp(b's\xb2\x81\xa3\xbb\xa3yB1\xd7\x13\x04\n\x07\x9a\xbf\xa2-\xb9\xe5\xff"\x1c\x84\xcb'), '\144' + chr(9697 - 9596) + chr(3541 - 3442) + chr(0b1010100 + 0o33) + '\144' + chr(450 - 349))('\x75' + chr(12037 - 11921) + '\x66' + chr(45) + chr(0b111000))), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'Y\x8a\x99\x99\x9a\x85sj\x07\xf89\n.)\xa0\x9f'), chr(0b111100 + 0o50) + chr(0b1100101) + chr(0b100101 + 0o76) + chr(1749 - 1638) + '\144' + chr(101))(chr(0b1110101) + '\164' + '\x66' + chr(0b10100 + 0o31) + chr(0b111000))), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'N\x8d\x85\xc9\xad\x89iQ\x02\xde9\x11'), chr(100) + chr(3794 - 3693) + '\x63' + chr(5359 - 5248) + '\144' + '\x65')(chr(8174 - 8057) + '\x74' + '\146' + chr(0b101101) + chr(1094 - 1038))))
ATU5rnBLE1hw = FHAk5xm055cs.BoxSizer(FHAk5xm055cs.VERTICAL)
roI3spqORKae(ATU5rnBLE1hw, roI3spqORKae(ES5oEprVxulp(b'w\x80\xb1'), '\144' + chr(0b101001 + 0o74) + '\x63' + '\157' + chr(100) + chr(4197 - 4096))(chr(13117 - 13000) + chr(0b1110100) + chr(2374 - 2272) + '\x2d' + chr(56)))(OkDIn6t2Cke6, flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'w\xa8\x9c\xbb\xb2\xaesC \xcf\x17\x14'), '\x64' + '\x65' + chr(0b11001 + 0o112) + '\x6f' + '\x64' + '\145')('\x75' + chr(7169 - 7053) + chr(0b1100001 + 0o5) + chr(45) + '\070')) | roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b't\xab\x81\xa8\xb3\xbc'), chr(100) + chr(3975 - 3874) + '\x63' + '\157' + chr(0b1100100) + '\145')(chr(117) + chr(0b1110100) + chr(102) + '\x2d' + chr(56))) | roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'b\xab\x85'), '\x64' + '\x65' + '\x63' + chr(0b1101111) + chr(0b1000111 + 0o35) + chr(101))('\165' + '\164' + '\146' + chr(1606 - 1561) + '\x38')), border=nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(481 - 431) + chr(0b110100), 38808 - 38800))
roI3spqORKae(ATU5rnBLE1hw, roI3spqORKae(ES5oEprVxulp(b'w\x80\xb1'), chr(100) + '\x65' + '\143' + '\157' + '\x64' + chr(0b1100101))('\x75' + '\x74' + chr(4786 - 4684) + '\055' + chr(0b111 + 0o61)))(JKtZmCyzIAeO, flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b't\xab\x81\xa8\xb3\xbc'), '\x64' + chr(5534 - 5433) + '\143' + chr(9290 - 9179) + chr(5533 - 5433) + chr(0b1100101))(chr(117) + chr(0b1110100) + '\146' + chr(45) + '\070')) | roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'z\xa1\x93\xa8'), chr(100) + '\145' + chr(0b100010 + 0o101) + chr(111) + chr(100) + chr(101))('\x75' + '\164' + '\146' + chr(45) + chr(1469 - 1413))), border=nzTpIcepk0o8(chr(48) + chr(11610 - 11499) + '\x31' + '\062', 8))
roI3spqORKae(ATU5rnBLE1hw, roI3spqORKae(ES5oEprVxulp(b'w\x80\xb1'), '\144' + chr(101) + chr(8494 - 8395) + chr(0b1101111) + chr(8920 - 8820) + chr(101))(chr(0b1110101) + chr(7668 - 7552) + chr(0b1 + 0o145) + '\055' + chr(2249 - 2193)))(bwojCi6IuwsQ, flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b't\xab\x81\xa8\xb3\xbc'), chr(100) + chr(0b11000 + 0o115) + chr(99) + '\x6f' + '\144' + chr(3036 - 2935))(chr(0b10110 + 0o137) + chr(0b1110100) + chr(0b110110 + 0o60) + chr(0b1001 + 0o44) + chr(56))) | roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'z\xa1\x93\xa8'), '\144' + chr(4744 - 4643) + '\143' + chr(0b1101111) + chr(100) + chr(0b1100101))('\165' + '\164' + chr(0b1100110) + chr(0b101101) + chr(56))), border=nzTpIcepk0o8(chr(48) + chr(111) + chr(240 - 191) + chr(0b101100 + 0o6), 8))
roI3spqORKae(ATU5rnBLE1hw, roI3spqORKae(ES5oEprVxulp(b'w\x80\xb1'), '\144' + '\x65' + chr(99) + '\157' + chr(7200 - 7100) + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + chr(102) + chr(0b101101) + chr(0b10111 + 0o41)))(YtxUIAgokoEJ, flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b't\xab\x81\xa8\xb3\xbc'), chr(9438 - 9338) + chr(101) + chr(0b1010011 + 0o20) + chr(7466 - 7355) + chr(0b101011 + 0o71) + chr(0b11101 + 0o110))(chr(0b1110101) + chr(10443 - 10327) + chr(0b1101 + 0o131) + chr(0b101101) + '\x38')) | roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'z\xa1\x93\xa8'), chr(0b1100100) + chr(0b1100101) + '\143' + chr(2296 - 2185) + chr(0b11011 + 0o111) + chr(0b111111 + 0o46))(chr(0b1010010 + 0o43) + chr(116) + chr(0b1100110) + chr(45) + chr(56))), border=nzTpIcepk0o8('\060' + chr(0b1101111) + '\x31' + chr(50), 8))
roI3spqORKae(ATU5rnBLE1hw, roI3spqORKae(ES5oEprVxulp(b'w\x80\xb1'), chr(100) + chr(1210 - 1109) + '\143' + '\157' + '\144' + chr(101))(chr(0b110110 + 0o77) + '\x74' + chr(0b1100101 + 0o1) + '\x2d' + chr(0b100000 + 0o30)))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'i\x8e\xa5\x8e\xbf\xbcBp\x1c\xc94r'), chr(0b101100 + 0o70) + '\145' + chr(0b1100011) + chr(12294 - 12183) + chr(100) + chr(0b1100101))(chr(0b1110101) + chr(116) + '\146' + '\x2d' + chr(1279 - 1223))), flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'w\xa8\x99'), chr(0b1010101 + 0o17) + chr(0b1010000 + 0o25) + chr(0b1000100 + 0o37) + chr(0b1101010 + 0o5) + '\x64' + '\x65')(chr(0b1101 + 0o150) + chr(9130 - 9014) + chr(102) + chr(0b101101) + chr(0b100000 + 0o30))) | roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b's\xbc\x85\xbd\xb2\xb5'), chr(0b1100100) + chr(0b1100101) + chr(0b1100011) + chr(111) + chr(3103 - 3003) + chr(101))('\x75' + '\x74' + chr(102) + '\055' + chr(0b101010 + 0o16))), border=nzTpIcepk0o8(chr(0b110000) + chr(111) + '\061' + chr(2046 - 1996), 8))
roI3spqORKae(ATU5rnBLE1hw, roI3spqORKae(ES5oEprVxulp(b'w\x80\xb1\xaf\x8c\x90Sc\x1c'), chr(0b1100100) + chr(0b1010101 + 0o20) + chr(0b1001010 + 0o31) + chr(111) + '\144' + chr(4484 - 4383))('\165' + '\x74' + chr(102) + '\055' + chr(0b11110 + 0o32)))(nzTpIcepk0o8('\x30' + chr(111) + chr(455 - 405) + chr(52), 8))
hXMPsSrOQzbh.pH5XcejHv7fz = FHAk5xm055cs.BoxSizer(FHAk5xm055cs.HORIZONTAL)
roI3spqORKae(hXMPsSrOQzbh.hbox_all, roI3spqORKae(ES5oEprVxulp(b'w\x80\xb1\xaf\x8c\x90Sc\x1c'), '\144' + '\x65' + '\x63' + chr(0b1001001 + 0o46) + '\144' + chr(0b1100101))(chr(0b100100 + 0o121) + chr(116) + chr(4545 - 4443) + chr(0b1111 + 0o36) + chr(0b101011 + 0o15)))(nzTpIcepk0o8('\x30' + chr(2283 - 2172) + chr(0b11000 + 0o32) + '\064', 8))
roI3spqORKae(hXMPsSrOQzbh.hbox_all, roI3spqORKae(ES5oEprVxulp(b'w\x80\xb1'), chr(2287 - 2187) + chr(5326 - 5225) + chr(2758 - 2659) + '\157' + chr(980 - 880) + '\145')(chr(0b1110101) + chr(4810 - 4694) + chr(0b1101 + 0o131) + chr(360 - 315) + chr(0b1110 + 0o52)))(ATU5rnBLE1hw)
roI3spqORKae(hXMPsSrOQzbh.hbox_all, roI3spqORKae(ES5oEprVxulp(b'w\x80\xb1\xaf\x8c\x90Sc\x1c'), chr(0b1010111 + 0o15) + '\x65' + chr(0b1100011) + '\157' + '\144' + '\x65')(chr(0b101101 + 0o110) + '\164' + chr(4274 - 4172) + chr(1962 - 1917) + chr(0b111000)))(nzTpIcepk0o8(chr(48) + chr(111) + chr(0b110001 + 0o1) + chr(1168 - 1116), 8))
roI3spqORKae(hXMPsSrOQzbh.panel, roI3spqORKae(ES5oEprVxulp(b'e\x81\xa1\xaf\x95\x8bUt'), chr(9767 - 9667) + chr(0b1100101) + chr(8964 - 8865) + chr(2822 - 2711) + '\144' + chr(0b11111 + 0o106))(chr(117) + chr(10067 - 9951) + chr(102) + '\x2d' + '\070'))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'F\xac\xe0\xa4\x9f\x94ZN\x18\xac4<'), '\144' + chr(0b1100101) + '\143' + '\x6f' + chr(0b1100100) + chr(101))(chr(0b111101 + 0o70) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(56))))
roI3spqORKae(hXMPsSrOQzbh.hbox_all, roI3spqORKae(ES5oEprVxulp(b'p\x8d\xa1'), chr(5025 - 4925) + chr(101) + chr(4649 - 4550) + chr(111) + chr(0b1100100) + '\145')(chr(0b1011010 + 0o33) + chr(0b1110100) + chr(0b1000100 + 0o42) + '\055' + chr(0b110011 + 0o5)))(hXMPsSrOQzbh)
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'u\x81\xbb\x88\x8e\x94'), chr(995 - 895) + chr(0b1001 + 0o134) + chr(99) + chr(0b101001 + 0o106) + chr(7856 - 7756) + '\145')('\165' + '\164' + chr(0b10011 + 0o123) + '\055' + chr(56)))()
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'e\x8c\xba\x8b'), chr(0b1100100) + chr(0b1100101) + chr(99) + chr(0b1101010 + 0o5) + chr(0b1100100) + chr(2027 - 1926))('\165' + '\x74' + chr(9180 - 9078) + '\x2d' + chr(0b111000)))()
roI3spqORKae(hXMPsSrOQzbh.site_grid, roI3spqORKae(ES5oEprVxulp(b'p\x8b\xa7\x9f\x99\xa3U`\x1c\xfe!.'), chr(0b1100100) + '\145' + chr(0b1100011) + chr(0b111010 + 0o65) + chr(100) + chr(0b10000 + 0o125))(chr(0b1110101) + chr(11021 - 10905) + '\x66' + chr(0b111 + 0o46) + chr(0b100010 + 0o26)))()
roI3spqORKae(hXMPsSrOQzbh.panel, roI3spqORKae(ES5oEprVxulp(b'd\x81\xb3\x8e\x99\x82X'), '\144' + chr(1329 - 1228) + chr(0b1100011) + chr(2777 - 2666) + chr(100) + chr(101))('\165' + chr(0b110110 + 0o76) + '\x66' + '\055' + '\x38'))()
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'~\x8d\xb1\x99'), chr(9110 - 9010) + chr(101) + '\143' + chr(0b1101111) + chr(0b10011 + 0o121) + '\145')(chr(117) + chr(0b1010001 + 0o43) + chr(0b111001 + 0o55) + '\x2d' + '\070'))()
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'e\x8c\xba\x8b'), chr(0b1100100) + chr(101) + chr(0b1100011) + chr(0b1101111) + chr(8146 - 8046) + chr(101))('\x75' + chr(116) + '\x66' + chr(0b100111 + 0o6) + chr(569 - 513)))()
|
PmagPy/PmagPy
|
dialogs/pmag_er_magic_dialogs.py
|
ErMagicCheckFrame.InitLocCheck
|
def InitLocCheck(self):
"""make an interactive grid in which users can edit specimen names
as well as which sample a specimen belongs to"""
self.panel = wx.Panel(self, style=wx.SIMPLE_BORDER)
text = """Step 5:
Check that locations are correctly named.
Fill in any blank cells using controlled vocabularies.
(See Help button for details)
** Denotes controlled vocabulary"""
label = wx.StaticText(self.panel, label=text)
#self.Data_hierarchy = self.ErMagic.Data_hierarchy
self.locations = self.er_magic_data.locations
#
if not self.er_magic_data.locations:
msg = "You have no data in er_locations, so we are skipping step 5.\n Note that location names must be entered at the measurements level,so you may need to re-import your data, or you can add a location in step 3"
dlg = wx.MessageDialog(None, caption="Message:", message=msg, style=wx.OK|wx.ICON_INFORMATION)
dlg.ShowModal()
dlg.Destroy()
self.panel.Destroy()
self.InitAgeCheck()
return
self.grid_builder = grid_frame2.GridBuilder(self.er_magic_data, 'location',
self.er_magic_data.headers, self.panel)
self.loc_grid = self.grid_builder.make_grid(incl_pmag=False)
self.loc_grid.InitUI()
self.grid_builder.add_data_to_grid(self.loc_grid, 'location', incl_pmag=False)
self.grid = self.loc_grid
# initialize all needed drop-down menus
self.drop_down_menu = drop_down_menus.Menus("location", self,
self.loc_grid, None)
# need to find max/min lat/lon here IF they were added in the previous grid
sites = self.er_magic_data.sites
location_lat_lon = self.er_magic_data.get_min_max_lat_lon(self.er_magic_data.locations)
col_names = ('location_begin_lat', 'location_end_lat', 'location_begin_lon', 'location_end_lon')
col_inds = [self.grid.col_labels.index(name) for name in col_names]
col_info = list(zip(col_names, col_inds))
for loc in self.er_magic_data.locations:
row_ind = self.grid.row_labels.index(loc.name)
for col_name, col_ind in col_info:
info = location_lat_lon[loc.name][col_name]
self.grid.SetCellValue(row_ind, col_ind, str(info))
### Create Buttons ###
hbox_one = wx.BoxSizer(wx.HORIZONTAL)
self.helpButton = wx.Button(self.panel, label="Help")
self.Bind(wx.EVT_BUTTON, lambda event: self.on_helpButton(event, "ErMagicLocationHelp.html"), self.helpButton)
hbox_one.Add(self.helpButton)
hboxok = wx.BoxSizer(wx.HORIZONTAL)
self.saveButton = wx.Button(self.panel, id=-1, label='Save')
self.Bind(wx.EVT_BUTTON, lambda event: self.on_saveButton(event, self.loc_grid), self.saveButton)
self.cancelButton = wx.Button(self.panel, wx.ID_CANCEL, '&Cancel')
self.Bind(wx.EVT_BUTTON, self.on_cancelButton, self.cancelButton)
self.continueButton = wx.Button(self.panel, id=-1, label='Save and continue')
self.Bind(wx.EVT_BUTTON, lambda event: self.on_continueButton(event, self.loc_grid, next_dia=self.InitAgeCheck), self.continueButton)
self.backButton = wx.Button(self.panel, wx.ID_ANY, "&Back")
previous_dia = self.InitSampCheck
self.Bind(wx.EVT_BUTTON, lambda event: self.on_backButton(event, previous_dia, current_dia=self.InitLocCheck), self.backButton)
hboxok.Add(self.saveButton, flag=wx.RIGHT, border=10)
hboxok.Add(self.cancelButton, flag=wx.RIGHT, border=10)
hboxok.Add(self.continueButton, flag=wx.RIGHT, border=10)
hboxok.Add(self.backButton)
#
hboxgrid = pw.hbox_grid(self.panel, self.onDeleteRow, 'location', self.grid)
self.deleteRowButton = hboxgrid.deleteRowButton
self.Bind(wx.grid.EVT_GRID_LABEL_LEFT_CLICK, self.onLeftClickLabel, self.grid)
### Make Containers ###
vbox = wx.BoxSizer(wx.VERTICAL)
vbox.Add(label, flag=wx.ALIGN_CENTER|wx.TOP|wx.BOTTOM, border=20)
vbox.Add(hbox_one, flag=wx.BOTTOM|wx.ALIGN_LEFT, border=10)
vbox.Add(hboxok, flag=wx.BOTTOM|wx.ALIGN_LEFT, border=10)
vbox.Add(hboxgrid, flag=wx.BOTTOM|wx.ALIGN_LEFT, border=10)
vbox.Add(self.loc_grid, flag=wx.TOP|wx.BOTTOM, border=10)
vbox.AddSpacer(20)
self.hbox_all = wx.BoxSizer(wx.HORIZONTAL)
self.hbox_all.AddSpacer(20)
self.hbox_all.Add(vbox)
self.hbox_all.AddSpacer(20)
self.panel.SetSizer(self.hbox_all)
#if sys.platform in ['win32', 'win64']:
# self.panel.SetScrollbars(20, 20, 50, 50)
self.hbox_all.Fit(self)
self.Centre()
self.Show()
self.Hide()
self.Show()
|
python
|
def InitLocCheck(self):
"""make an interactive grid in which users can edit specimen names
as well as which sample a specimen belongs to"""
self.panel = wx.Panel(self, style=wx.SIMPLE_BORDER)
text = """Step 5:
Check that locations are correctly named.
Fill in any blank cells using controlled vocabularies.
(See Help button for details)
** Denotes controlled vocabulary"""
label = wx.StaticText(self.panel, label=text)
#self.Data_hierarchy = self.ErMagic.Data_hierarchy
self.locations = self.er_magic_data.locations
#
if not self.er_magic_data.locations:
msg = "You have no data in er_locations, so we are skipping step 5.\n Note that location names must be entered at the measurements level,so you may need to re-import your data, or you can add a location in step 3"
dlg = wx.MessageDialog(None, caption="Message:", message=msg, style=wx.OK|wx.ICON_INFORMATION)
dlg.ShowModal()
dlg.Destroy()
self.panel.Destroy()
self.InitAgeCheck()
return
self.grid_builder = grid_frame2.GridBuilder(self.er_magic_data, 'location',
self.er_magic_data.headers, self.panel)
self.loc_grid = self.grid_builder.make_grid(incl_pmag=False)
self.loc_grid.InitUI()
self.grid_builder.add_data_to_grid(self.loc_grid, 'location', incl_pmag=False)
self.grid = self.loc_grid
# initialize all needed drop-down menus
self.drop_down_menu = drop_down_menus.Menus("location", self,
self.loc_grid, None)
# need to find max/min lat/lon here IF they were added in the previous grid
sites = self.er_magic_data.sites
location_lat_lon = self.er_magic_data.get_min_max_lat_lon(self.er_magic_data.locations)
col_names = ('location_begin_lat', 'location_end_lat', 'location_begin_lon', 'location_end_lon')
col_inds = [self.grid.col_labels.index(name) for name in col_names]
col_info = list(zip(col_names, col_inds))
for loc in self.er_magic_data.locations:
row_ind = self.grid.row_labels.index(loc.name)
for col_name, col_ind in col_info:
info = location_lat_lon[loc.name][col_name]
self.grid.SetCellValue(row_ind, col_ind, str(info))
### Create Buttons ###
hbox_one = wx.BoxSizer(wx.HORIZONTAL)
self.helpButton = wx.Button(self.panel, label="Help")
self.Bind(wx.EVT_BUTTON, lambda event: self.on_helpButton(event, "ErMagicLocationHelp.html"), self.helpButton)
hbox_one.Add(self.helpButton)
hboxok = wx.BoxSizer(wx.HORIZONTAL)
self.saveButton = wx.Button(self.panel, id=-1, label='Save')
self.Bind(wx.EVT_BUTTON, lambda event: self.on_saveButton(event, self.loc_grid), self.saveButton)
self.cancelButton = wx.Button(self.panel, wx.ID_CANCEL, '&Cancel')
self.Bind(wx.EVT_BUTTON, self.on_cancelButton, self.cancelButton)
self.continueButton = wx.Button(self.panel, id=-1, label='Save and continue')
self.Bind(wx.EVT_BUTTON, lambda event: self.on_continueButton(event, self.loc_grid, next_dia=self.InitAgeCheck), self.continueButton)
self.backButton = wx.Button(self.panel, wx.ID_ANY, "&Back")
previous_dia = self.InitSampCheck
self.Bind(wx.EVT_BUTTON, lambda event: self.on_backButton(event, previous_dia, current_dia=self.InitLocCheck), self.backButton)
hboxok.Add(self.saveButton, flag=wx.RIGHT, border=10)
hboxok.Add(self.cancelButton, flag=wx.RIGHT, border=10)
hboxok.Add(self.continueButton, flag=wx.RIGHT, border=10)
hboxok.Add(self.backButton)
#
hboxgrid = pw.hbox_grid(self.panel, self.onDeleteRow, 'location', self.grid)
self.deleteRowButton = hboxgrid.deleteRowButton
self.Bind(wx.grid.EVT_GRID_LABEL_LEFT_CLICK, self.onLeftClickLabel, self.grid)
### Make Containers ###
vbox = wx.BoxSizer(wx.VERTICAL)
vbox.Add(label, flag=wx.ALIGN_CENTER|wx.TOP|wx.BOTTOM, border=20)
vbox.Add(hbox_one, flag=wx.BOTTOM|wx.ALIGN_LEFT, border=10)
vbox.Add(hboxok, flag=wx.BOTTOM|wx.ALIGN_LEFT, border=10)
vbox.Add(hboxgrid, flag=wx.BOTTOM|wx.ALIGN_LEFT, border=10)
vbox.Add(self.loc_grid, flag=wx.TOP|wx.BOTTOM, border=10)
vbox.AddSpacer(20)
self.hbox_all = wx.BoxSizer(wx.HORIZONTAL)
self.hbox_all.AddSpacer(20)
self.hbox_all.Add(vbox)
self.hbox_all.AddSpacer(20)
self.panel.SetSizer(self.hbox_all)
#if sys.platform in ['win32', 'win64']:
# self.panel.SetScrollbars(20, 20, 50, 50)
self.hbox_all.Fit(self)
self.Centre()
self.Show()
self.Hide()
self.Show()
|
[
"def",
"InitLocCheck",
"(",
"self",
")",
":",
"self",
".",
"panel",
"=",
"wx",
".",
"Panel",
"(",
"self",
",",
"style",
"=",
"wx",
".",
"SIMPLE_BORDER",
")",
"text",
"=",
"\"\"\"Step 5:\nCheck that locations are correctly named.\nFill in any blank cells using controlled vocabularies.\n(See Help button for details)\n\n** Denotes controlled vocabulary\"\"\"",
"label",
"=",
"wx",
".",
"StaticText",
"(",
"self",
".",
"panel",
",",
"label",
"=",
"text",
")",
"#self.Data_hierarchy = self.ErMagic.Data_hierarchy",
"self",
".",
"locations",
"=",
"self",
".",
"er_magic_data",
".",
"locations",
"#",
"if",
"not",
"self",
".",
"er_magic_data",
".",
"locations",
":",
"msg",
"=",
"\"You have no data in er_locations, so we are skipping step 5.\\n Note that location names must be entered at the measurements level,so you may need to re-import your data, or you can add a location in step 3\"",
"dlg",
"=",
"wx",
".",
"MessageDialog",
"(",
"None",
",",
"caption",
"=",
"\"Message:\"",
",",
"message",
"=",
"msg",
",",
"style",
"=",
"wx",
".",
"OK",
"|",
"wx",
".",
"ICON_INFORMATION",
")",
"dlg",
".",
"ShowModal",
"(",
")",
"dlg",
".",
"Destroy",
"(",
")",
"self",
".",
"panel",
".",
"Destroy",
"(",
")",
"self",
".",
"InitAgeCheck",
"(",
")",
"return",
"self",
".",
"grid_builder",
"=",
"grid_frame2",
".",
"GridBuilder",
"(",
"self",
".",
"er_magic_data",
",",
"'location'",
",",
"self",
".",
"er_magic_data",
".",
"headers",
",",
"self",
".",
"panel",
")",
"self",
".",
"loc_grid",
"=",
"self",
".",
"grid_builder",
".",
"make_grid",
"(",
"incl_pmag",
"=",
"False",
")",
"self",
".",
"loc_grid",
".",
"InitUI",
"(",
")",
"self",
".",
"grid_builder",
".",
"add_data_to_grid",
"(",
"self",
".",
"loc_grid",
",",
"'location'",
",",
"incl_pmag",
"=",
"False",
")",
"self",
".",
"grid",
"=",
"self",
".",
"loc_grid",
"# initialize all needed drop-down menus",
"self",
".",
"drop_down_menu",
"=",
"drop_down_menus",
".",
"Menus",
"(",
"\"location\"",
",",
"self",
",",
"self",
".",
"loc_grid",
",",
"None",
")",
"# need to find max/min lat/lon here IF they were added in the previous grid",
"sites",
"=",
"self",
".",
"er_magic_data",
".",
"sites",
"location_lat_lon",
"=",
"self",
".",
"er_magic_data",
".",
"get_min_max_lat_lon",
"(",
"self",
".",
"er_magic_data",
".",
"locations",
")",
"col_names",
"=",
"(",
"'location_begin_lat'",
",",
"'location_end_lat'",
",",
"'location_begin_lon'",
",",
"'location_end_lon'",
")",
"col_inds",
"=",
"[",
"self",
".",
"grid",
".",
"col_labels",
".",
"index",
"(",
"name",
")",
"for",
"name",
"in",
"col_names",
"]",
"col_info",
"=",
"list",
"(",
"zip",
"(",
"col_names",
",",
"col_inds",
")",
")",
"for",
"loc",
"in",
"self",
".",
"er_magic_data",
".",
"locations",
":",
"row_ind",
"=",
"self",
".",
"grid",
".",
"row_labels",
".",
"index",
"(",
"loc",
".",
"name",
")",
"for",
"col_name",
",",
"col_ind",
"in",
"col_info",
":",
"info",
"=",
"location_lat_lon",
"[",
"loc",
".",
"name",
"]",
"[",
"col_name",
"]",
"self",
".",
"grid",
".",
"SetCellValue",
"(",
"row_ind",
",",
"col_ind",
",",
"str",
"(",
"info",
")",
")",
"### Create Buttons ###",
"hbox_one",
"=",
"wx",
".",
"BoxSizer",
"(",
"wx",
".",
"HORIZONTAL",
")",
"self",
".",
"helpButton",
"=",
"wx",
".",
"Button",
"(",
"self",
".",
"panel",
",",
"label",
"=",
"\"Help\"",
")",
"self",
".",
"Bind",
"(",
"wx",
".",
"EVT_BUTTON",
",",
"lambda",
"event",
":",
"self",
".",
"on_helpButton",
"(",
"event",
",",
"\"ErMagicLocationHelp.html\"",
")",
",",
"self",
".",
"helpButton",
")",
"hbox_one",
".",
"Add",
"(",
"self",
".",
"helpButton",
")",
"hboxok",
"=",
"wx",
".",
"BoxSizer",
"(",
"wx",
".",
"HORIZONTAL",
")",
"self",
".",
"saveButton",
"=",
"wx",
".",
"Button",
"(",
"self",
".",
"panel",
",",
"id",
"=",
"-",
"1",
",",
"label",
"=",
"'Save'",
")",
"self",
".",
"Bind",
"(",
"wx",
".",
"EVT_BUTTON",
",",
"lambda",
"event",
":",
"self",
".",
"on_saveButton",
"(",
"event",
",",
"self",
".",
"loc_grid",
")",
",",
"self",
".",
"saveButton",
")",
"self",
".",
"cancelButton",
"=",
"wx",
".",
"Button",
"(",
"self",
".",
"panel",
",",
"wx",
".",
"ID_CANCEL",
",",
"'&Cancel'",
")",
"self",
".",
"Bind",
"(",
"wx",
".",
"EVT_BUTTON",
",",
"self",
".",
"on_cancelButton",
",",
"self",
".",
"cancelButton",
")",
"self",
".",
"continueButton",
"=",
"wx",
".",
"Button",
"(",
"self",
".",
"panel",
",",
"id",
"=",
"-",
"1",
",",
"label",
"=",
"'Save and continue'",
")",
"self",
".",
"Bind",
"(",
"wx",
".",
"EVT_BUTTON",
",",
"lambda",
"event",
":",
"self",
".",
"on_continueButton",
"(",
"event",
",",
"self",
".",
"loc_grid",
",",
"next_dia",
"=",
"self",
".",
"InitAgeCheck",
")",
",",
"self",
".",
"continueButton",
")",
"self",
".",
"backButton",
"=",
"wx",
".",
"Button",
"(",
"self",
".",
"panel",
",",
"wx",
".",
"ID_ANY",
",",
"\"&Back\"",
")",
"previous_dia",
"=",
"self",
".",
"InitSampCheck",
"self",
".",
"Bind",
"(",
"wx",
".",
"EVT_BUTTON",
",",
"lambda",
"event",
":",
"self",
".",
"on_backButton",
"(",
"event",
",",
"previous_dia",
",",
"current_dia",
"=",
"self",
".",
"InitLocCheck",
")",
",",
"self",
".",
"backButton",
")",
"hboxok",
".",
"Add",
"(",
"self",
".",
"saveButton",
",",
"flag",
"=",
"wx",
".",
"RIGHT",
",",
"border",
"=",
"10",
")",
"hboxok",
".",
"Add",
"(",
"self",
".",
"cancelButton",
",",
"flag",
"=",
"wx",
".",
"RIGHT",
",",
"border",
"=",
"10",
")",
"hboxok",
".",
"Add",
"(",
"self",
".",
"continueButton",
",",
"flag",
"=",
"wx",
".",
"RIGHT",
",",
"border",
"=",
"10",
")",
"hboxok",
".",
"Add",
"(",
"self",
".",
"backButton",
")",
"#",
"hboxgrid",
"=",
"pw",
".",
"hbox_grid",
"(",
"self",
".",
"panel",
",",
"self",
".",
"onDeleteRow",
",",
"'location'",
",",
"self",
".",
"grid",
")",
"self",
".",
"deleteRowButton",
"=",
"hboxgrid",
".",
"deleteRowButton",
"self",
".",
"Bind",
"(",
"wx",
".",
"grid",
".",
"EVT_GRID_LABEL_LEFT_CLICK",
",",
"self",
".",
"onLeftClickLabel",
",",
"self",
".",
"grid",
")",
"### Make Containers ###",
"vbox",
"=",
"wx",
".",
"BoxSizer",
"(",
"wx",
".",
"VERTICAL",
")",
"vbox",
".",
"Add",
"(",
"label",
",",
"flag",
"=",
"wx",
".",
"ALIGN_CENTER",
"|",
"wx",
".",
"TOP",
"|",
"wx",
".",
"BOTTOM",
",",
"border",
"=",
"20",
")",
"vbox",
".",
"Add",
"(",
"hbox_one",
",",
"flag",
"=",
"wx",
".",
"BOTTOM",
"|",
"wx",
".",
"ALIGN_LEFT",
",",
"border",
"=",
"10",
")",
"vbox",
".",
"Add",
"(",
"hboxok",
",",
"flag",
"=",
"wx",
".",
"BOTTOM",
"|",
"wx",
".",
"ALIGN_LEFT",
",",
"border",
"=",
"10",
")",
"vbox",
".",
"Add",
"(",
"hboxgrid",
",",
"flag",
"=",
"wx",
".",
"BOTTOM",
"|",
"wx",
".",
"ALIGN_LEFT",
",",
"border",
"=",
"10",
")",
"vbox",
".",
"Add",
"(",
"self",
".",
"loc_grid",
",",
"flag",
"=",
"wx",
".",
"TOP",
"|",
"wx",
".",
"BOTTOM",
",",
"border",
"=",
"10",
")",
"vbox",
".",
"AddSpacer",
"(",
"20",
")",
"self",
".",
"hbox_all",
"=",
"wx",
".",
"BoxSizer",
"(",
"wx",
".",
"HORIZONTAL",
")",
"self",
".",
"hbox_all",
".",
"AddSpacer",
"(",
"20",
")",
"self",
".",
"hbox_all",
".",
"Add",
"(",
"vbox",
")",
"self",
".",
"hbox_all",
".",
"AddSpacer",
"(",
"20",
")",
"self",
".",
"panel",
".",
"SetSizer",
"(",
"self",
".",
"hbox_all",
")",
"#if sys.platform in ['win32', 'win64']:",
"# self.panel.SetScrollbars(20, 20, 50, 50)",
"self",
".",
"hbox_all",
".",
"Fit",
"(",
"self",
")",
"self",
".",
"Centre",
"(",
")",
"self",
".",
"Show",
"(",
")",
"self",
".",
"Hide",
"(",
")",
"self",
".",
"Show",
"(",
")"
] |
make an interactive grid in which users can edit specimen names
as well as which sample a specimen belongs to
|
[
"make",
"an",
"interactive",
"grid",
"in",
"which",
"users",
"can",
"edit",
"specimen",
"names",
"as",
"well",
"as",
"which",
"sample",
"a",
"specimen",
"belongs",
"to"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/dialogs/pmag_er_magic_dialogs.py#L684-L781
|
train
|
Initialize locations and locations grid
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8('\060' + chr(111) + '\063' + chr(0b110100) + '\062', 21053 - 21045), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b11010 + 0o27) + chr(0b100011 + 0o17) + '\x33', ord("\x08")), nzTpIcepk0o8(chr(0b100010 + 0o16) + chr(111) + chr(0b110010) + chr(0b111 + 0o53) + '\064', 46021 - 46013), nzTpIcepk0o8(chr(48) + '\157' + chr(0b100110 + 0o15) + '\060' + chr(0b110000), 0b1000), nzTpIcepk0o8('\x30' + chr(0b1011011 + 0o24) + chr(1507 - 1456) + chr(0b110000) + chr(0b100010 + 0o23), 0b1000), nzTpIcepk0o8(chr(0b1110 + 0o42) + chr(111) + '\x32' + '\063' + '\066', ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b110010 + 0o75) + '\063' + chr(0b110111) + '\064', 0b1000), nzTpIcepk0o8('\060' + '\x6f' + '\x34' + chr(51), ord("\x08")), nzTpIcepk0o8(chr(0b11000 + 0o30) + chr(0b1101111) + '\063' + chr(0b1001 + 0o54) + chr(48), 0b1000), nzTpIcepk0o8('\060' + chr(111) + chr(0b110011 + 0o1) + chr(2506 - 2452), 0o10), nzTpIcepk0o8('\060' + '\x6f' + chr(0b110010) + '\065' + chr(0b110011), 0o10), nzTpIcepk0o8('\060' + chr(5136 - 5025) + chr(53) + '\x32', 0o10), nzTpIcepk0o8(chr(2090 - 2042) + '\x6f' + chr(256 - 204) + chr(52), 0o10), nzTpIcepk0o8(chr(48) + '\x6f' + chr(49) + '\x37' + chr(0b110011), 0o10), nzTpIcepk0o8(chr(0b11010 + 0o26) + chr(0b1101111) + chr(0b101011 + 0o6) + chr(1617 - 1565), 57386 - 57378), nzTpIcepk0o8(chr(0b10010 + 0o36) + chr(0b110 + 0o151) + '\062' + '\064' + chr(50), 0o10), nzTpIcepk0o8(chr(0b11101 + 0o23) + chr(0b1101111) + chr(248 - 199) + chr(0b110101) + '\x31', ord("\x08")), nzTpIcepk0o8('\x30' + '\157' + chr(2257 - 2206) + '\x34' + '\060', 0b1000), nzTpIcepk0o8(chr(2014 - 1966) + chr(3028 - 2917) + chr(51) + chr(0b11110 + 0o31) + chr(0b110100), 8), nzTpIcepk0o8('\060' + chr(0b1011000 + 0o27) + chr(0b101111 + 0o4) + chr(0b111 + 0o54) + '\x36', 0b1000), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b10101 + 0o35) + chr(2073 - 2025) + chr(0b10010 + 0o42), 0b1000), nzTpIcepk0o8(chr(48) + chr(0b100010 + 0o115) + chr(0b110001) + '\066' + chr(0b101000 + 0o16), ord("\x08")), nzTpIcepk0o8('\x30' + '\157' + '\x33' + '\067' + chr(0b110010), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1011010 + 0o25) + chr(1156 - 1104) + chr(0b110111), 0b1000), nzTpIcepk0o8('\060' + '\157' + chr(50) + chr(48), 21729 - 21721), nzTpIcepk0o8('\x30' + chr(111) + chr(0b1011 + 0o50) + '\066' + '\066', ord("\x08")), nzTpIcepk0o8('\x30' + chr(8395 - 8284) + chr(1628 - 1579) + chr(49), 10752 - 10744), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b110011) + '\x35' + '\064', 0b1000), nzTpIcepk0o8(chr(48) + chr(0b1101101 + 0o2) + chr(0b1001 + 0o53) + chr(2977 - 2922), 8), nzTpIcepk0o8(chr(48) + chr(111) + '\x32' + chr(0b110101) + '\x31', 56699 - 56691), nzTpIcepk0o8('\060' + '\157' + '\x32' + chr(0b10110 + 0o40) + chr(48), 0o10), nzTpIcepk0o8('\060' + chr(9624 - 9513) + chr(0b1111 + 0o43) + chr(265 - 212) + '\x30', 48784 - 48776), nzTpIcepk0o8('\x30' + chr(0b1101111) + '\061' + chr(684 - 633) + chr(48), ord("\x08")), nzTpIcepk0o8(chr(0b11010 + 0o26) + chr(111) + '\061' + '\067' + chr(0b110100), ord("\x08")), nzTpIcepk0o8('\x30' + chr(3123 - 3012) + chr(0b101 + 0o56) + chr(0b101100 + 0o4) + chr(0b110011), 33263 - 33255), nzTpIcepk0o8('\x30' + chr(10023 - 9912) + chr(49) + chr(50) + '\062', ord("\x08")), nzTpIcepk0o8(chr(0b1001 + 0o47) + chr(111) + chr(730 - 680) + chr(53) + chr(50), 42260 - 42252), nzTpIcepk0o8(chr(0b10110 + 0o32) + chr(111) + '\x31' + '\060' + chr(0b1001 + 0o55), ord("\x08")), nzTpIcepk0o8(chr(730 - 682) + chr(111) + '\x35' + '\x30', 33566 - 33558), nzTpIcepk0o8(chr(48) + chr(111) + chr(819 - 768) + chr(0b110001 + 0o4) + chr(0b110111), 0o10)][ZlbFMSG8gCoF % nzTpIcepk0o8('\x30' + '\x6f' + chr(0b1000 + 0o55) + chr(0b110000), 8)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xcc'), '\x64' + chr(0b1100010 + 0o3) + chr(0b11100 + 0o107) + chr(0b10001 + 0o136) + chr(0b111011 + 0o51) + chr(101))(chr(117) + chr(0b1101100 + 0o10) + '\x66' + '\055' + '\070') + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def m0enwqfTfbrC(hXMPsSrOQzbh):
hXMPsSrOQzbh.tqXV8VwoxdNA = FHAk5xm055cs.Panel(hXMPsSrOQzbh, style=FHAk5xm055cs.SIMPLE_BORDER)
cpStk7cY1TJd = roI3spqORKae(ES5oEprVxulp(b"\xb1'\xf1\xb0\xe5\xab\xc6)\xabN\xceIO[x\xca\x08\x94\xdc\xb2\xeb\x15\x9bSy\x99g\x9f\x07\xc8\xc2\xcdx\x1f\xac \xd8#K\x9b\x8e*\xb4\xae\xa4\xf3\x99G\xc6,\xedCH\x17,\xcb\x07\xc0\x9d\xb0\xfdV\x98Kq\x98b\xccD\xcc\xdc\xc4+\\\xb6!\xc3(O\xcf\x81<\xfa\xb4\xb7\xf1\x90O\x8dB\x8b\\K\x18m\xc0\x1c\x8c\x9d\xac\xed\x13\x89\t\x1a\xdeZ\x89B\x89\xf8\xcd4\x0c\xe30\xdf2\\\x80\x8cs\xf2\xaf\xb7\xbe\x98F\x9cG\xc2FWR\x06\xa8C\xca\xdc\x9a\xe1\x18\x95Su\x85)\x8fH\xc7\xc4\xda7\x10\xaf7\xcef^\x80\x812\xf6\xb5\xa9\xff\x8eZ"), chr(7338 - 7238) + chr(0b1100101) + '\x63' + chr(111) + chr(0b1100100) + '\145')('\165' + chr(3389 - 3273) + '\146' + chr(45) + chr(0b111000))
OkDIn6t2Cke6 = FHAk5xm055cs.StaticText(hXMPsSrOQzbh.tqXV8VwoxdNA, label=cpStk7cY1TJd)
hXMPsSrOQzbh.c7FJzf0TKi1V = hXMPsSrOQzbh.er_magic_data.c7FJzf0TKi1V
if not roI3spqORKae(hXMPsSrOQzbh.er_magic_data, roI3spqORKae(ES5oEprVxulp(b'\x81d\xd2\x8a\xbf\xf8\xccw\xa3O\x9a|'), chr(0b1100100) + chr(101) + chr(99) + chr(0b1011001 + 0o26) + '\x64' + '\145')('\165' + chr(0b1110100) + chr(0b1100110) + chr(45) + chr(56))):
sldzbHve8G1S = roI3spqORKae(ES5oEprVxulp(b'\xbb<\xe1\xe0\xad\xff\x8aF\xc8H\xc4\n@\x1ax\xc3I\x89\x92\xfe\xe1\x04\xa5K\x7f\x95h\x98N\xc6\xde\xdbt\\\xb0=\x8a1M\xcf\x83!\xf1\xe0\xb6\xf5\x95S\x98O\xc5M\x04\x08x\xc7\x19\xc0\xc9\xf0\x8eV\xb4Hd\x93)\x98O\xc8\xc4\x884\x13\xa03\xde/G\x81\xc2=\xf5\xad\xa0\xed\xdcN\x9dU\xdf\nF\x1e,\xc7\x07\x94\x99\xac\xe1\x12\xdaFd\xd6}\x84B\x89\xdd\xcd9\x0f\xb6 \xcf+M\x81\x96 \xb4\xac\xa0\xe8\x99O\xc4U\xc4\n]\x14y\x82\x04\x81\x85\xfe\xea\x13\x9fC0\x82f\xccU\xcc\x9d\xc15\x0c\xac \xdefQ\x80\x97!\xb4\xa4\xa4\xea\x9d\x0f\xc8I\xd9\n]\x14y\x82\n\x81\x92\xfe\xe5\x12\x9e\x07q\xd6e\x83D\xc8\xc4\xc17\x12\xe3;\xc4f[\x9b\x87#\xb4\xf3'), chr(8308 - 8208) + '\145' + chr(0b1100011) + chr(0b1101111) + chr(0b10001 + 0o123) + chr(0b1100101))(chr(117) + chr(8078 - 7962) + '\x66' + '\055' + chr(1519 - 1463))
mUA0duScFTh1 = FHAk5xm055cs.MessageDialog(None, caption=roI3spqORKae(ES5oEprVxulp(b'\xaf6\xe7\xb3\xa4\xf9\x99\x19'), chr(5385 - 5285) + '\145' + '\143' + '\x6f' + chr(7331 - 7231) + chr(0b1100001 + 0o4))(chr(10521 - 10404) + chr(116) + '\146' + '\055' + '\x38'), message=sldzbHve8G1S, style=FHAk5xm055cs.OK | FHAk5xm055cs.ICON_INFORMATION)
roI3spqORKae(mUA0duScFTh1, roI3spqORKae(ES5oEprVxulp(b'\xb1;\xfb\xb7\x88\xf1\x98B\x84'), '\144' + '\145' + chr(0b101001 + 0o72) + chr(0b1101111) + chr(0b1100100) + chr(0b1100101))('\x75' + '\164' + '\146' + chr(0b10101 + 0o30) + chr(0b111000)))()
roI3spqORKae(mUA0duScFTh1, roI3spqORKae(ES5oEprVxulp(b'\xa66\xe7\xb4\xb7\xf1\x85'), '\x64' + chr(101) + chr(99) + chr(4869 - 4758) + chr(0b1100100) + chr(0b1000100 + 0o41))(chr(117) + chr(0b1010011 + 0o41) + chr(0b110010 + 0o64) + '\x2d' + '\x38'))()
roI3spqORKae(hXMPsSrOQzbh.panel, roI3spqORKae(ES5oEprVxulp(b'\xa66\xe7\xb4\xb7\xf1\x85'), '\x64' + chr(101) + chr(0b100111 + 0o74) + chr(111) + chr(100) + chr(0b1100101))('\x75' + chr(0b110001 + 0o103) + '\146' + chr(263 - 218) + '\070'))()
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xab=\xfd\xb4\x84\xf9\x99`\x80C\xc8A'), '\144' + '\x65' + chr(7403 - 7304) + chr(0b1101111) + chr(0b111010 + 0o52) + chr(101))('\x75' + chr(176 - 60) + chr(0b101001 + 0o75) + chr(45) + '\070'))()
return
hXMPsSrOQzbh.W1YFLWHF2P72 = kSQQsh1rBLdC.GridBuilder(hXMPsSrOQzbh.er_magic_data, roI3spqORKae(ES5oEprVxulp(b'\x8e<\xf7\xa1\xb1\xf7\x93M'), chr(0b1110 + 0o126) + chr(101) + chr(0b1000001 + 0o42) + '\157' + chr(6020 - 5920) + '\145')(chr(0b1110101) + '\164' + chr(102) + chr(0b101 + 0o50) + chr(1705 - 1649)), hXMPsSrOQzbh.er_magic_data.UyworZfslHjc, hXMPsSrOQzbh.tqXV8VwoxdNA)
hXMPsSrOQzbh.vFEb4dbjfXaN = hXMPsSrOQzbh.grid_builder.make_grid(incl_pmag=nzTpIcepk0o8(chr(48) + '\157' + '\060', ord("\x08")))
roI3spqORKae(hXMPsSrOQzbh.loc_grid, roI3spqORKae(ES5oEprVxulp(b'\xab=\xfd\xb4\x90\xd7'), chr(0b1100100) + '\145' + chr(0b1000110 + 0o35) + chr(8456 - 8345) + chr(0b111011 + 0o51) + '\145')(chr(117) + '\x74' + chr(102) + chr(570 - 525) + chr(56)))()
roI3spqORKae(hXMPsSrOQzbh.grid_builder, roI3spqORKae(ES5oEprVxulp(b'\x837\xf0\x9f\xa1\xff\x88B\xb7R\xc4uC\te\xc6'), '\x64' + chr(0b1100101) + chr(0b1100011) + chr(0b1000000 + 0o57) + chr(0b1100100) + '\x65')(chr(117) + chr(0b101001 + 0o113) + chr(0b1100110) + chr(0b101101) + chr(56)))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x94\x15\xd1\xa2\xf1\xfa\x9eI\x8e~\xcad'), chr(100) + chr(0b1100101) + '\x63' + chr(0b1101010 + 0o5) + chr(0b101101 + 0o67) + chr(0b111001 + 0o54))(chr(0b111100 + 0o71) + '\164' + chr(0b1000000 + 0o46) + chr(0b100111 + 0o6) + chr(2790 - 2734))), roI3spqORKae(ES5oEprVxulp(b'\x8e<\xf7\xa1\xb1\xf7\x93M'), chr(0b10100 + 0o120) + chr(101) + '\x63' + chr(9944 - 9833) + '\x64' + '\x65')('\x75' + chr(116) + chr(102) + chr(0b1101 + 0o40) + chr(751 - 695)), incl_pmag=nzTpIcepk0o8(chr(0b10110 + 0o32) + '\157' + '\060', 8))
hXMPsSrOQzbh.xiP5QxYWlEkW = hXMPsSrOQzbh.vFEb4dbjfXaN
hXMPsSrOQzbh.beUkJUv9NfWC = VcRxcF379N_E.Menus(roI3spqORKae(ES5oEprVxulp(b'\x8e<\xf7\xa1\xb1\xf7\x93M'), chr(0b1100100) + chr(0b1100101) + chr(3708 - 3609) + chr(7794 - 7683) + '\144' + '\x65')('\x75' + chr(0b1110100) + chr(7205 - 7103) + '\x2d' + chr(0b110101 + 0o3)), hXMPsSrOQzbh, hXMPsSrOQzbh.vFEb4dbjfXaN, None)
SDKwNkUm3Omo = hXMPsSrOQzbh.er_magic_data.SDKwNkUm3Omo
CmpTDtpPijMH = hXMPsSrOQzbh.er_magic_data.get_min_max_lat_lon(hXMPsSrOQzbh.er_magic_data.c7FJzf0TKi1V)
rlxfQfdSHlRp = (roI3spqORKae(ES5oEprVxulp(b'\x8e<\xf7\xa1\xb1\xf7\x93M\xb7D\xceMM\x15S\xce\x08\x94'), chr(0b1100100) + '\x65' + chr(0b1100011) + chr(0b1101111) + '\144' + chr(0b1100101))(chr(7627 - 7510) + '\164' + '\x66' + '\055' + chr(0b100011 + 0o25)), roI3spqORKae(ES5oEprVxulp(b'\x8e<\xf7\xa1\xb1\xf7\x93M\xb7C\xc5N{\x17m\xd6'), chr(100) + chr(101) + '\x63' + chr(9448 - 9337) + chr(0b1100001 + 0o3) + '\x65')(chr(6336 - 6219) + chr(116) + '\146' + chr(0b10 + 0o53) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\x8e<\xf7\xa1\xb1\xf7\x93M\xb7D\xceMM\x15S\xce\x06\x8e'), chr(0b100110 + 0o76) + chr(10190 - 10089) + '\143' + '\157' + '\144' + chr(0b1000011 + 0o42))('\x75' + chr(12546 - 12430) + chr(3023 - 2921) + '\x2d' + chr(0b10101 + 0o43)), roI3spqORKae(ES5oEprVxulp(b'\x8e<\xf7\xa1\xb1\xf7\x93M\xb7C\xc5N{\x17c\xcc'), '\144' + '\145' + '\x63' + chr(0b1101111) + chr(1024 - 924) + chr(8905 - 8804))(chr(0b1110101) + '\164' + '\146' + chr(609 - 564) + chr(0b111000)))
QQU2IJ4k3SOI = [hXMPsSrOQzbh.grid.col_labels.ZpfN5tSLaZze(SLVB2BPA_mIe) for SLVB2BPA_mIe in rlxfQfdSHlRp]
WtV4up0C940W = H4NoA26ON7iG(TxMFWa_Xzviv(rlxfQfdSHlRp, QQU2IJ4k3SOI))
for UQ8hRiBoHcn5 in roI3spqORKae(hXMPsSrOQzbh.er_magic_data, roI3spqORKae(ES5oEprVxulp(b'\x81d\xd2\x8a\xbf\xf8\xccw\xa3O\x9a|'), '\x64' + chr(101) + chr(0b1111 + 0o124) + chr(0b1101111) + chr(0b1001100 + 0o30) + chr(0b110010 + 0o63))('\x75' + chr(0b1110100) + chr(0b1100110) + '\x2d' + chr(0b1101 + 0o53))):
zmbsYORDawsp = hXMPsSrOQzbh.grid.row_labels.ZpfN5tSLaZze(UQ8hRiBoHcn5.SLVB2BPA_mIe)
for (VuRTNmVdcYm1, LzgSSkT0xSZf) in WtV4up0C940W:
ixNx9Lw_1grO = CmpTDtpPijMH[UQ8hRiBoHcn5.SLVB2BPA_mIe][VuRTNmVdcYm1]
roI3spqORKae(hXMPsSrOQzbh.grid, roI3spqORKae(ES5oEprVxulp(b'\xb16\xe0\x83\xa0\xf2\x90u\x89J\xdeO'), chr(8338 - 8238) + chr(9558 - 9457) + chr(0b111011 + 0o50) + chr(0b1010011 + 0o34) + '\x64' + chr(101))('\165' + chr(0b100001 + 0o123) + '\x66' + chr(45) + chr(0b111000)))(zmbsYORDawsp, LzgSSkT0xSZf, N9zlRy29S1SS(ixNx9Lw_1grO))
JKtZmCyzIAeO = FHAk5xm055cs.BoxSizer(FHAk5xm055cs.HORIZONTAL)
hXMPsSrOQzbh.W55E6UjS9vVB = FHAk5xm055cs.Button(hXMPsSrOQzbh.tqXV8VwoxdNA, label=roI3spqORKae(ES5oEprVxulp(b'\xaa6\xf8\xb0'), '\x64' + '\145' + '\143' + chr(0b110111 + 0o70) + chr(0b1100100) + chr(0b1100101))(chr(2650 - 2533) + chr(0b1110100) + '\x66' + chr(45) + '\x38'))
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xa0:\xfa\xa4'), '\x64' + '\x65' + '\143' + chr(0b1011001 + 0o26) + chr(0b1100100) + '\145')(chr(0b1001101 + 0o50) + chr(0b1110100) + '\146' + chr(0b101101) + chr(0b10110 + 0o42)))(roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xa7\x05\xc0\x9f\x87\xcb\xa8w\xa7h'), '\144' + chr(9501 - 9400) + chr(0b1100011) + chr(111) + chr(0b100011 + 0o101) + chr(1747 - 1646))('\165' + chr(6758 - 6642) + chr(0b101 + 0o141) + chr(317 - 272) + chr(2642 - 2586))), lambda D4ybylS07yGH: roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x8d=\xcb\xa8\xa0\xf2\x8ca\x9dR\xdfEJ'), '\x64' + '\145' + '\143' + '\x6f' + chr(6695 - 6595) + chr(0b1000110 + 0o37))(chr(117) + chr(4326 - 4210) + '\x66' + chr(0b10111 + 0o26) + chr(495 - 439)))(D4ybylS07yGH, roI3spqORKae(ES5oEprVxulp(b'\xa7!\xd9\xa1\xa2\xf7\x9fo\x87E\xca^M\x14b\xea\x0c\x8c\x8c\xf0\xec\x02\x97K'), chr(1239 - 1139) + chr(101) + '\x63' + chr(0b110100 + 0o73) + chr(6415 - 6315) + chr(8822 - 8721))(chr(0b1110101) + '\164' + chr(0b1011111 + 0o7) + chr(1100 - 1055) + chr(0b111000))), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xb5f\xa1\x85\xf3\xcb\x96p\xd1P\xfdh'), chr(0b1100100) + chr(8621 - 8520) + '\143' + chr(0b1001101 + 0o42) + chr(0b111011 + 0o51) + '\145')(chr(117) + chr(116) + '\146' + chr(45) + '\x38')))
roI3spqORKae(JKtZmCyzIAeO, roI3spqORKae(ES5oEprVxulp(b'\xa37\xf0'), chr(0b1100001 + 0o3) + chr(0b10111 + 0o116) + '\x63' + chr(0b1101111) + '\x64' + chr(8446 - 8345))(chr(0b1110101) + chr(0b1110100) + chr(0b111011 + 0o53) + chr(1412 - 1367) + '\070'))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xb5f\xa1\x85\xf3\xcb\x96p\xd1P\xfdh'), chr(100) + chr(0b1100101) + chr(5068 - 4969) + chr(0b1011111 + 0o20) + chr(0b1010100 + 0o20) + chr(101))('\165' + chr(0b1110100) + chr(2925 - 2823) + '\055' + chr(1786 - 1730))))
bwojCi6IuwsQ = FHAk5xm055cs.BoxSizer(FHAk5xm055cs.HORIZONTAL)
hXMPsSrOQzbh.m2I3HKmqciwZ = FHAk5xm055cs.Button(hXMPsSrOQzbh.tqXV8VwoxdNA, id=-nzTpIcepk0o8(chr(1121 - 1073) + chr(818 - 707) + '\x31', 51380 - 51372), label=roI3spqORKae(ES5oEprVxulp(b'\xb12\xe2\xa5'), chr(0b1100100) + '\145' + '\x63' + chr(0b1101111) + '\144' + '\x65')('\165' + '\164' + chr(0b1100110 + 0o0) + chr(0b10100 + 0o31) + chr(0b100110 + 0o22)))
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xa0:\xfa\xa4'), '\x64' + chr(0b101011 + 0o72) + chr(0b1100011) + '\157' + chr(100) + chr(0b1100100 + 0o1))(chr(0b11000 + 0o135) + chr(0b111000 + 0o74) + '\x66' + chr(989 - 944) + chr(0b11 + 0o65)))(roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xa7\x05\xc0\x9f\x87\xcb\xa8w\xa7h'), '\144' + chr(0b101001 + 0o74) + chr(0b1100011) + chr(384 - 273) + chr(0b1100100) + chr(0b1100101))('\x75' + chr(116) + '\x66' + '\055' + chr(56))), lambda D4ybylS07yGH: roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x8d=\xcb\xb3\xa4\xe8\x99a\x9dR\xdfEJ'), chr(8416 - 8316) + chr(0b1001000 + 0o35) + '\143' + chr(9948 - 9837) + chr(0b101111 + 0o65) + chr(0b100100 + 0o101))('\x75' + '\x74' + '\x66' + chr(0b101101) + chr(1104 - 1048)))(D4ybylS07yGH, roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x94\x15\xd1\xa2\xf1\xfa\x9eI\x8e~\xcad'), chr(0b1100100) + '\x65' + chr(6032 - 5933) + '\157' + chr(100) + chr(0b10101 + 0o120))('\x75' + chr(0b1110100) + chr(7188 - 7086) + '\055' + chr(0b111000)))), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x8fa\xdd\xf3\x8d\xd5\x91R\x8bO\xdcp'), chr(0b1001100 + 0o30) + chr(101) + chr(99) + chr(0b10011 + 0o134) + chr(0b1100100) + chr(0b1100101))(chr(117) + chr(0b1110100) + chr(102) + '\055' + chr(0b110011 + 0o5))))
hXMPsSrOQzbh.CxTJSLD15mva = FHAk5xm055cs.Button(hXMPsSrOQzbh.tqXV8VwoxdNA, FHAk5xm055cs.ID_CANCEL, roI3spqORKae(ES5oEprVxulp(b'\xc4\x10\xf5\xae\xa6\xfb\x90'), chr(100) + chr(101) + chr(0b1100011) + chr(5539 - 5428) + '\144' + chr(101))('\165' + '\x74' + chr(102) + '\055' + chr(0b101011 + 0o15)))
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xa0:\xfa\xa4'), chr(439 - 339) + chr(0b1000001 + 0o44) + '\x63' + '\x6f' + chr(0b10000 + 0o124) + chr(6950 - 6849))(chr(6880 - 6763) + '\x74' + '\x66' + chr(1273 - 1228) + '\070'))(roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xa7\x05\xc0\x9f\x87\xcb\xa8w\xa7h'), chr(100) + chr(0b11100 + 0o111) + chr(0b101001 + 0o72) + chr(0b101101 + 0o102) + chr(100) + chr(0b1100101))('\165' + '\x74' + chr(0b1100110) + '\055' + chr(1698 - 1642))), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x8d=\xcb\xa3\xa4\xf0\x9fF\x84d\xde^P\x14b'), chr(2917 - 2817) + '\145' + chr(99) + chr(111) + chr(100) + '\145')('\x75' + '\x74' + chr(2564 - 2462) + '\055' + '\x38')), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xa1+\xc0\x8a\x96\xd2\xb8\x12\xddK\xddK'), chr(0b1100100) + chr(101) + chr(259 - 160) + chr(0b1010101 + 0o32) + chr(0b1100100) + '\145')(chr(0b1110101) + '\x74' + chr(102) + '\055' + '\x38')))
hXMPsSrOQzbh.LzXnStd_2DBe = FHAk5xm055cs.Button(hXMPsSrOQzbh.tqXV8VwoxdNA, id=-nzTpIcepk0o8(chr(1931 - 1883) + '\157' + chr(0b110001), 8), label=roI3spqORKae(ES5oEprVxulp(b'\xb12\xe2\xa5\xe5\xff\x92G\xc8E\xc4DP\x12b\xd7\x0c'), chr(0b10101 + 0o117) + '\x65' + '\143' + '\157' + chr(0b1100100) + chr(0b1010000 + 0o25))(chr(0b11010 + 0o133) + '\x74' + chr(5763 - 5661) + chr(1155 - 1110) + '\x38'))
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xa0:\xfa\xa4'), '\x64' + '\145' + '\143' + '\x6f' + chr(0b1100100) + chr(0b1010111 + 0o16))(chr(0b1110101) + chr(0b0 + 0o164) + chr(0b1100110) + chr(0b101101) + chr(795 - 739)))(roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xa7\x05\xc0\x9f\x87\xcb\xa8w\xa7h'), chr(0b1101 + 0o127) + '\145' + chr(0b1100011) + '\157' + chr(9592 - 9492) + '\145')(chr(0b1110101) + chr(0b111000 + 0o74) + '\146' + '\x2d' + chr(56))), lambda D4ybylS07yGH: roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x8d=\xcb\xa3\xaa\xf0\x88J\x86S\xcehQ\x0fx\xcd\x07'), chr(0b1000101 + 0o37) + chr(8181 - 8080) + '\x63' + chr(0b1010101 + 0o32) + '\144' + chr(10167 - 10066))(chr(1282 - 1165) + chr(4567 - 4451) + chr(0b10011 + 0o123) + chr(0b101001 + 0o4) + '\070'))(D4ybylS07yGH, roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x94\x15\xd1\xa2\xf1\xfa\x9eI\x8e~\xcad'), '\144' + '\145' + chr(0b1010110 + 0o15) + chr(0b1101111) + chr(100) + chr(101))(chr(0b111 + 0o156) + chr(116) + chr(0b1100110) + chr(0b101101) + chr(0b111000))), next_dia=roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xab=\xfd\xb4\x84\xf9\x99`\x80C\xc8A'), '\x64' + chr(0b1111 + 0o126) + chr(99) + '\157' + '\x64' + chr(9810 - 9709))('\165' + chr(9228 - 9112) + chr(0b1100110) + '\055' + chr(342 - 286)))), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xae)\xcc\xae\x96\xea\x98|\xdab\xe9O'), '\144' + chr(0b1100101) + chr(0b1100011) + '\x6f' + chr(0b11011 + 0o111) + chr(101))(chr(162 - 45) + chr(0b1110100) + chr(102) + '\055' + chr(0b101110 + 0o12))))
hXMPsSrOQzbh.AqaSmitgeYHw = FHAk5xm055cs.Button(hXMPsSrOQzbh.tqXV8VwoxdNA, FHAk5xm055cs.ID_ANY, roI3spqORKae(ES5oEprVxulp(b'\xc4\x11\xf5\xa3\xae'), '\x64' + chr(0b1100101) + chr(99) + chr(0b1001011 + 0o44) + '\x64' + chr(101))(chr(0b1110101) + chr(0b11101 + 0o127) + chr(0b1010000 + 0o26) + chr(0b100010 + 0o13) + chr(0b111000)))
f22H9akrhZ34 = hXMPsSrOQzbh.InitSampCheck
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xa0:\xfa\xa4'), chr(3388 - 3288) + chr(101) + chr(99) + '\157' + '\x64' + chr(101))(chr(1019 - 902) + chr(0b110110 + 0o76) + '\146' + chr(0b101101) + chr(127 - 71)))(roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xa7\x05\xc0\x9f\x87\xcb\xa8w\xa7h'), chr(0b1000111 + 0o35) + '\145' + chr(951 - 852) + chr(12281 - 12170) + chr(0b1100100) + chr(0b1100101))('\x75' + chr(0b100101 + 0o117) + chr(0b1010101 + 0o21) + '\055' + '\x38')), lambda D4ybylS07yGH: roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x8d=\xcb\xa2\xa4\xfd\x97a\x9dR\xdfEJ'), chr(1412 - 1312) + chr(6619 - 6518) + chr(0b10110 + 0o115) + chr(111) + chr(0b1100100) + '\x65')(chr(7966 - 7849) + chr(0b1110100) + '\146' + '\x2d' + '\070'))(D4ybylS07yGH, f22H9akrhZ34, current_dia=roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xab=\xfd\xb4\x89\xf1\x9f`\x80C\xc8A'), chr(0b1100011 + 0o1) + chr(4046 - 3945) + chr(0b1100011) + chr(8696 - 8585) + '\x64' + '\x65')('\165' + '\x74' + chr(0b1100110) + chr(1229 - 1184) + chr(56)))), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xa3"\xf5\x93\xa8\xf7\x88D\x8d\x7f\xe3]'), chr(100) + chr(0b1010000 + 0o25) + chr(0b1100011) + chr(111) + chr(0b1100100) + chr(0b1100101))(chr(117) + chr(0b1000110 + 0o56) + chr(2988 - 2886) + '\055' + chr(0b111000))))
roI3spqORKae(bwojCi6IuwsQ, roI3spqORKae(ES5oEprVxulp(b'\xa37\xf0'), '\x64' + '\x65' + '\143' + '\157' + chr(100) + chr(4862 - 4761))(chr(117) + '\164' + chr(102) + '\x2d' + '\x38'))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x8fa\xdd\xf3\x8d\xd5\x91R\x8bO\xdcp'), chr(0b1100100) + '\x65' + '\x63' + chr(5855 - 5744) + chr(0b1100100) + chr(0b1100101))(chr(13659 - 13542) + chr(116) + chr(0b1100110) + chr(0b10 + 0o53) + '\x38')), flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xb0\x1a\xd3\x88\x91'), chr(100) + chr(0b100001 + 0o104) + chr(0b1100011) + chr(0b10110 + 0o131) + chr(100) + chr(101))(chr(117) + '\164' + chr(2891 - 2789) + '\x2d' + '\x38')), border=nzTpIcepk0o8(chr(48) + chr(111) + '\x31' + chr(50), 0o10))
roI3spqORKae(bwojCi6IuwsQ, roI3spqORKae(ES5oEprVxulp(b'\xa37\xf0'), chr(4895 - 4795) + chr(0b1100101) + chr(99) + '\x6f' + chr(0b1011100 + 0o10) + chr(101))(chr(0b1110101) + '\x74' + chr(102) + chr(45) + chr(0b10110 + 0o42)))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xa1+\xc0\x8a\x96\xd2\xb8\x12\xddK\xddK'), chr(8990 - 8890) + '\145' + chr(0b1010101 + 0o16) + chr(0b1101111) + chr(0b1100100) + chr(0b111101 + 0o50))('\165' + '\164' + chr(0b1100110) + '\055' + '\070')), flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xb0\x1a\xd3\x88\x91'), chr(0b1011100 + 0o10) + chr(101) + chr(6846 - 6747) + chr(111) + chr(0b1001101 + 0o27) + chr(0b10010 + 0o123))(chr(0b1001010 + 0o53) + chr(116) + chr(102) + chr(0b101101) + chr(0b111000))), border=nzTpIcepk0o8('\060' + chr(111) + chr(327 - 278) + chr(50), 8))
roI3spqORKae(bwojCi6IuwsQ, roI3spqORKae(ES5oEprVxulp(b'\xa37\xf0'), '\x64' + chr(101) + '\143' + chr(4982 - 4871) + chr(0b100011 + 0o101) + chr(101))('\165' + chr(0b1110100) + '\146' + chr(1105 - 1060) + '\070'))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xae)\xcc\xae\x96\xea\x98|\xdab\xe9O'), chr(100) + chr(0b1100101) + chr(1648 - 1549) + chr(111) + '\144' + chr(0b1100101))('\165' + chr(6630 - 6514) + chr(2329 - 2227) + '\055' + '\070')), flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xb0\x1a\xd3\x88\x91'), chr(0b1100100 + 0o0) + chr(0b1100101) + chr(0b1000101 + 0o36) + '\x6f' + '\144' + '\x65')('\165' + '\x74' + chr(0b1100001 + 0o5) + chr(1392 - 1347) + chr(307 - 251))), border=nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b110001) + chr(0b110010), 8))
roI3spqORKae(bwojCi6IuwsQ, roI3spqORKae(ES5oEprVxulp(b'\xa37\xf0'), '\x64' + chr(0b111111 + 0o46) + chr(0b1010110 + 0o15) + chr(111) + chr(100) + chr(2479 - 2378))('\x75' + chr(11399 - 11283) + chr(0b1001010 + 0o34) + chr(938 - 893) + chr(1401 - 1345)))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xa3"\xf5\x93\xa8\xf7\x88D\x8d\x7f\xe3]'), '\x64' + chr(9154 - 9053) + chr(0b1100011) + '\157' + '\x64' + chr(101))(chr(0b1000 + 0o155) + chr(0b1110100) + chr(0b1100110) + chr(45) + '\x38')))
YtxUIAgokoEJ = saCGFe0zE73j.hbox_grid(hXMPsSrOQzbh.tqXV8VwoxdNA, hXMPsSrOQzbh.onDeleteRow, roI3spqORKae(ES5oEprVxulp(b'\x8e<\xf7\xa1\xb1\xf7\x93M'), chr(0b100110 + 0o76) + chr(101) + '\143' + chr(0b1100011 + 0o14) + '\144' + chr(0b10110 + 0o117))(chr(0b1110101) + chr(116) + chr(1053 - 951) + chr(0b101101) + chr(56)), hXMPsSrOQzbh.xiP5QxYWlEkW)
hXMPsSrOQzbh.wl01LRemEZlu = YtxUIAgokoEJ.wl01LRemEZlu
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xa0:\xfa\xa4'), chr(0b1010101 + 0o17) + chr(0b1100101) + chr(0b100000 + 0o103) + chr(111) + chr(0b101101 + 0o67) + '\145')('\165' + chr(116) + chr(6847 - 6745) + chr(0b1 + 0o54) + '\x38'))(roI3spqORKae(FHAk5xm055cs.grid, roI3spqORKae(ES5oEprVxulp(b'\xa7\x05\xc0\x9f\x82\xcc\xb5g\xb7j\xeaha7S\xee,\xa6\xa8\x81\xc7:\xb3d['), '\x64' + '\x65' + chr(99) + chr(3696 - 3585) + '\x64' + chr(101))('\165' + '\164' + chr(1717 - 1615) + chr(1838 - 1793) + chr(56))), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x8d=\xd8\xa5\xa3\xea\xbfO\x81E\xc0fE\x19i\xce'), '\144' + '\145' + chr(0b1100011) + '\x6f' + chr(100) + chr(1813 - 1712))('\165' + '\164' + '\146' + chr(45) + chr(2112 - 2056))), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x9a:\xc4\xf5\x94\xe6\xa5t\x84c\xc0}'), chr(0b1000100 + 0o40) + '\145' + '\x63' + chr(111) + chr(1993 - 1893) + chr(101))('\165' + chr(0b1110100) + '\146' + chr(0b11111 + 0o16) + chr(0b111000))))
ATU5rnBLE1hw = FHAk5xm055cs.BoxSizer(FHAk5xm055cs.VERTICAL)
roI3spqORKae(ATU5rnBLE1hw, roI3spqORKae(ES5oEprVxulp(b'\xa37\xf0'), chr(100) + chr(0b1001101 + 0o30) + chr(970 - 871) + chr(0b1100110 + 0o11) + chr(0b1100100) + chr(0b1011000 + 0o15))(chr(0b110011 + 0o102) + chr(0b1110100) + '\146' + chr(0b10111 + 0o26) + chr(0b110011 + 0o5)))(OkDIn6t2Cke6, flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xa3\x1f\xdd\x87\x8b\xc1\xbff\xa6r\xeex'), chr(0b1100100) + '\x65' + '\143' + chr(0b1001111 + 0o40) + '\144' + '\x65')('\165' + chr(116) + chr(0b11010 + 0o114) + chr(0b101101) + chr(0b0 + 0o70))) | roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xb6\x1c\xc4'), chr(100) + '\x65' + chr(99) + '\x6f' + chr(0b1100000 + 0o4) + chr(0b110011 + 0o62))(chr(0b1100110 + 0o17) + chr(116) + '\x66' + '\x2d' + chr(56))) | roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xa0\x1c\xc0\x94\x8a\xd3'), '\144' + chr(0b1100101) + chr(0b100110 + 0o75) + chr(111) + chr(100) + chr(2091 - 1990))(chr(0b101111 + 0o106) + '\x74' + chr(0b1100110) + chr(45) + '\x38')), border=nzTpIcepk0o8('\x30' + '\x6f' + chr(2479 - 2429) + chr(52), 0b1000))
roI3spqORKae(ATU5rnBLE1hw, roI3spqORKae(ES5oEprVxulp(b'\xa37\xf0'), chr(100) + chr(0b1100101) + chr(99) + chr(0b1101111) + '\144' + chr(124 - 23))(chr(0b1110011 + 0o2) + chr(116) + chr(102) + chr(753 - 708) + '\070'))(JKtZmCyzIAeO, flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xa0\x1c\xc0\x94\x8a\xd3'), chr(0b11001 + 0o113) + chr(7905 - 7804) + '\143' + chr(111) + '\x64' + chr(0b1100101))('\x75' + chr(12093 - 11977) + chr(7055 - 6953) + '\x2d' + chr(0b110111 + 0o1))) | roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xa3\x1f\xdd\x87\x8b\xc1\xb0f\xaer'), '\x64' + chr(5303 - 5202) + '\x63' + chr(0b1101111) + chr(0b111100 + 0o50) + chr(0b1100101))(chr(117) + chr(10181 - 10065) + chr(0b1100110) + chr(45) + chr(729 - 673))), border=nzTpIcepk0o8(chr(0b1 + 0o57) + chr(111) + '\061' + chr(0b10111 + 0o33), 8))
roI3spqORKae(ATU5rnBLE1hw, roI3spqORKae(ES5oEprVxulp(b'\xa37\xf0'), chr(100) + chr(5351 - 5250) + '\x63' + chr(111) + '\x64' + chr(0b1100101))(chr(0b1110101) + '\x74' + '\146' + chr(0b101101) + chr(2821 - 2765)))(bwojCi6IuwsQ, flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xa0\x1c\xc0\x94\x8a\xd3'), chr(0b1100100) + '\145' + chr(2337 - 2238) + '\x6f' + chr(0b11000 + 0o114) + '\x65')('\x75' + chr(0b1010100 + 0o40) + chr(0b1100110) + '\055' + chr(56))) | roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xa3\x1f\xdd\x87\x8b\xc1\xb0f\xaer'), chr(100) + '\x65' + chr(0b1100011) + chr(0b100110 + 0o111) + chr(9357 - 9257) + '\145')(chr(117) + chr(0b1110100) + chr(6308 - 6206) + chr(45) + chr(2297 - 2241))), border=nzTpIcepk0o8(chr(0b110000) + chr(0b100110 + 0o111) + chr(49) + '\062', 8))
roI3spqORKae(ATU5rnBLE1hw, roI3spqORKae(ES5oEprVxulp(b'\xa37\xf0'), '\x64' + chr(0b1100100 + 0o1) + chr(6415 - 6316) + chr(111) + '\144' + '\x65')('\165' + chr(0b1101011 + 0o11) + chr(102) + '\055' + chr(56)))(YtxUIAgokoEJ, flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xa0\x1c\xc0\x94\x8a\xd3'), chr(100) + chr(0b1100101) + chr(0b11101 + 0o106) + '\157' + '\x64' + '\145')(chr(0b1110101) + chr(116) + '\146' + chr(0b10011 + 0o32) + chr(2772 - 2716))) | roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xa3\x1f\xdd\x87\x8b\xc1\xb0f\xaer'), chr(8194 - 8094) + chr(1782 - 1681) + chr(7540 - 7441) + chr(111) + chr(1700 - 1600) + chr(101))(chr(0b100001 + 0o124) + '\x74' + chr(0b1100110) + '\x2d' + '\070')), border=nzTpIcepk0o8(chr(114 - 66) + '\x6f' + chr(2040 - 1991) + chr(50), 8))
roI3spqORKae(ATU5rnBLE1hw, roI3spqORKae(ES5oEprVxulp(b'\xa37\xf0'), chr(3837 - 3737) + '\x65' + chr(585 - 486) + '\x6f' + chr(0b1100100) + chr(101))(chr(117) + chr(0b1110100) + chr(0b1100110) + chr(45) + chr(56)))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x94\x15\xd1\xa2\xf1\xfa\x9eI\x8e~\xcad'), chr(0b1011001 + 0o13) + '\145' + '\143' + chr(0b111001 + 0o66) + chr(0b1100100) + chr(101))(chr(117) + chr(11948 - 11832) + '\146' + chr(656 - 611) + chr(0b111000 + 0o0))), flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xb6\x1c\xc4'), chr(0b1100100) + chr(7379 - 7278) + '\143' + chr(111) + '\x64' + '\x65')(chr(117) + '\164' + '\x66' + chr(0b101000 + 0o5) + chr(2897 - 2841))) | roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xa0\x1c\xc0\x94\x8a\xd3'), chr(8785 - 8685) + '\x65' + chr(0b1100011) + chr(111) + '\x64' + chr(0b10111 + 0o116))('\165' + chr(0b1110100) + chr(0b11101 + 0o111) + '\x2d' + chr(2217 - 2161))), border=nzTpIcepk0o8(chr(1549 - 1501) + chr(111) + '\061' + chr(1834 - 1784), 8))
roI3spqORKae(ATU5rnBLE1hw, roI3spqORKae(ES5oEprVxulp(b'\xa37\xf0\x93\xb5\xff\x9fF\x9a'), chr(9698 - 9598) + chr(7489 - 7388) + chr(0b101001 + 0o72) + chr(0b1000001 + 0o56) + '\x64' + chr(0b1100101))('\165' + '\x74' + '\146' + chr(122 - 77) + '\070'))(nzTpIcepk0o8(chr(0b110000) + chr(3807 - 3696) + '\x32' + chr(0b10111 + 0o35), 8))
hXMPsSrOQzbh.pH5XcejHv7fz = FHAk5xm055cs.BoxSizer(FHAk5xm055cs.HORIZONTAL)
roI3spqORKae(hXMPsSrOQzbh.hbox_all, roI3spqORKae(ES5oEprVxulp(b'\xa37\xf0\x93\xb5\xff\x9fF\x9a'), '\x64' + chr(0b111010 + 0o53) + chr(0b1100011) + chr(0b1010 + 0o145) + chr(0b100100 + 0o100) + chr(2388 - 2287))(chr(117) + '\164' + '\146' + chr(931 - 886) + chr(0b111000)))(nzTpIcepk0o8('\x30' + '\157' + chr(50) + '\x34', 8))
roI3spqORKae(hXMPsSrOQzbh.hbox_all, roI3spqORKae(ES5oEprVxulp(b'\xa37\xf0'), '\144' + chr(101) + '\143' + '\x6f' + '\144' + '\x65')(chr(0b1110101) + '\x74' + chr(2937 - 2835) + chr(1390 - 1345) + '\070'))(ATU5rnBLE1hw)
roI3spqORKae(hXMPsSrOQzbh.hbox_all, roI3spqORKae(ES5oEprVxulp(b'\xa37\xf0\x93\xb5\xff\x9fF\x9a'), chr(100) + chr(0b1001001 + 0o34) + chr(99) + chr(111) + chr(7559 - 7459) + '\145')('\165' + chr(0b1110001 + 0o3) + chr(0b10111 + 0o117) + chr(217 - 172) + chr(0b100000 + 0o30)))(nzTpIcepk0o8('\x30' + chr(6564 - 6453) + chr(0b110010) + chr(52), 8))
roI3spqORKae(hXMPsSrOQzbh.panel, roI3spqORKae(ES5oEprVxulp(b'\xb16\xe0\x93\xac\xe4\x99Q'), chr(100) + chr(0b1100101) + chr(0b1100011) + chr(0b1100100 + 0o13) + chr(100) + chr(5291 - 5190))(chr(0b1011110 + 0o27) + chr(116) + chr(102) + chr(0b101101) + chr(0b11000 + 0o40)))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x92\x1b\xa1\x98\xa6\xfb\x96k\x9e\x11\xcdP'), chr(0b110001 + 0o63) + '\x65' + chr(0b1001101 + 0o26) + chr(0b1101100 + 0o3) + chr(100) + chr(101))('\165' + chr(1542 - 1426) + chr(0b110011 + 0o63) + chr(990 - 945) + '\070')))
roI3spqORKae(hXMPsSrOQzbh.hbox_all, roI3spqORKae(ES5oEprVxulp(b'\xa4:\xe0'), '\144' + chr(101) + chr(0b1100011) + chr(0b11110 + 0o121) + chr(0b1100100) + chr(0b1100101))('\x75' + '\164' + chr(9004 - 8902) + chr(1520 - 1475) + chr(0b11000 + 0o40)))(hXMPsSrOQzbh)
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xa16\xfa\xb4\xb7\xfb'), '\144' + chr(101) + '\143' + chr(111) + '\144' + chr(0b1000000 + 0o45))(chr(9292 - 9175) + chr(0b11001 + 0o133) + chr(3630 - 3528) + '\055' + '\070'))()
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xb1;\xfb\xb7'), chr(100) + '\x65' + chr(0b1010100 + 0o17) + '\x6f' + '\x64' + chr(101))('\165' + chr(8789 - 8673) + '\x66' + '\x2d' + chr(2709 - 2653)))()
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xaa:\xf0\xa5'), '\x64' + chr(0b1100101) + '\143' + '\x6f' + '\x64' + chr(408 - 307))('\165' + chr(116) + '\146' + chr(803 - 758) + '\070'))()
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xb1;\xfb\xb7'), chr(0b1100100) + '\145' + '\x63' + '\x6f' + chr(0b1010001 + 0o23) + chr(101))('\x75' + '\164' + chr(9536 - 9434) + chr(0b101101) + chr(56)))()
|
PmagPy/PmagPy
|
dialogs/pmag_er_magic_dialogs.py
|
ErMagicCheckFrame.InitAgeCheck
|
def InitAgeCheck(self):
"""make an interactive grid in which users can edit ages"""
self.panel = wx.Panel(self, style=wx.SIMPLE_BORDER)
text = """Step 6:
Fill in or correct any cells with information about ages.
The column for magic_method_codes can take multiple values in the form of a colon-delimited list.
You may use the drop-down menus to add as many values as needed in these columns.
(See Help button for details)
**Denotes controlled vocabulary """
label = wx.StaticText(self.panel, label=text)
self.items = self.er_magic_data.data_lists[self.er_magic_data.age_type][0]
self.grid_builder = grid_frame2.GridBuilder(self.er_magic_data, 'age',
self.er_magic_data.headers, self.panel, 'location')
self.age_grid = self.grid_builder.make_grid(incl_pmag=False)
self.age_grid.InitUI()
self.grid_builder.add_data_to_grid(self.age_grid, 'age', incl_pmag=False)
self.grid_builder.add_age_data_to_grid()
self.grid = self.age_grid
#
# make it impossible to edit the 1st and 3rd columns
for row in range(self.age_grid.GetNumberRows()):
for col in (0, 2):
self.age_grid.SetReadOnly(row, col, True)
# initialize all needed drop-down menus
self.drop_down_menu = drop_down_menus.Menus("age", self, self.age_grid, None)
# re-set first column name
self.age_grid.SetColLabelValue(0, 'er_site_name')
### Create Buttons ###
hbox_one = wx.BoxSizer(wx.HORIZONTAL)
self.helpButton = wx.Button(self.panel, label="Help")
self.Bind(wx.EVT_BUTTON, lambda event: self.on_helpButton(event, "ErMagicAgeHelp.html"), self.helpButton)
hbox_one.Add(self.helpButton)
hboxok = wx.BoxSizer(wx.HORIZONTAL)
self.saveButton = wx.Button(self.panel, id=-1, label='Save')
self.Bind(wx.EVT_BUTTON, lambda event: self.on_saveButton(event, self.age_grid), self.saveButton)
self.cancelButton = wx.Button(self.panel, wx.ID_CANCEL, '&Cancel')
self.Bind(wx.EVT_BUTTON, self.on_cancelButton, self.cancelButton)
self.continueButton = wx.Button(self.panel, id=-1, label='Save and continue')
self.Bind(wx.EVT_BUTTON, lambda event: self.on_continueButton(event, self.age_grid, next_dia=None), self.continueButton)
self.backButton = wx.Button(self.panel, wx.ID_ANY, "&Back")
previous_dia = self.InitLocCheck
self.Bind(wx.EVT_BUTTON, lambda event: self.on_backButton(event, previous_dia), self.backButton)
self.panel.Bind(wx.grid.EVT_GRID_LABEL_LEFT_CLICK, self.onLeftClickLabel, self.grid)
hboxok.Add(self.saveButton, flag=wx.RIGHT, border=10)
hboxok.Add(self.cancelButton, flag=wx.RIGHT, border=10)
hboxok.Add(self.continueButton, flag=wx.RIGHT, border=10)
hboxok.Add(self.backButton)
### Make Containers ###
vbox = wx.BoxSizer(wx.VERTICAL)
vbox.Add(label, flag=wx.ALIGN_CENTER|wx.TOP|wx.BOTTOM, border=20)#, flag=wx.ALIGN_LEFT|wx.BOTTOM, border=20)
vbox.Add(hbox_one, flag=wx.BOTTOM, border=10)
vbox.Add(hboxok, flag=wx.BOTTOM, border=10)
vbox.Add(self.age_grid, flag=wx.TOP|wx.BOTTOM, border=10) # EXPAND ??
vbox.AddSpacer(20)
self.hbox_all = wx.BoxSizer(wx.HORIZONTAL)
self.hbox_all.AddSpacer(20)
self.hbox_all.Add(vbox)
self.hbox_all.AddSpacer(20)
self.panel.SetSizer(self.hbox_all)
#if sys.platform in ['win32', 'win64']:
# self.panel.SetScrollbars(20, 20, 50, 50)
self.hbox_all.Fit(self)
self.Centre()
self.Show()
self.Hide()
self.Show()
|
python
|
def InitAgeCheck(self):
"""make an interactive grid in which users can edit ages"""
self.panel = wx.Panel(self, style=wx.SIMPLE_BORDER)
text = """Step 6:
Fill in or correct any cells with information about ages.
The column for magic_method_codes can take multiple values in the form of a colon-delimited list.
You may use the drop-down menus to add as many values as needed in these columns.
(See Help button for details)
**Denotes controlled vocabulary """
label = wx.StaticText(self.panel, label=text)
self.items = self.er_magic_data.data_lists[self.er_magic_data.age_type][0]
self.grid_builder = grid_frame2.GridBuilder(self.er_magic_data, 'age',
self.er_magic_data.headers, self.panel, 'location')
self.age_grid = self.grid_builder.make_grid(incl_pmag=False)
self.age_grid.InitUI()
self.grid_builder.add_data_to_grid(self.age_grid, 'age', incl_pmag=False)
self.grid_builder.add_age_data_to_grid()
self.grid = self.age_grid
#
# make it impossible to edit the 1st and 3rd columns
for row in range(self.age_grid.GetNumberRows()):
for col in (0, 2):
self.age_grid.SetReadOnly(row, col, True)
# initialize all needed drop-down menus
self.drop_down_menu = drop_down_menus.Menus("age", self, self.age_grid, None)
# re-set first column name
self.age_grid.SetColLabelValue(0, 'er_site_name')
### Create Buttons ###
hbox_one = wx.BoxSizer(wx.HORIZONTAL)
self.helpButton = wx.Button(self.panel, label="Help")
self.Bind(wx.EVT_BUTTON, lambda event: self.on_helpButton(event, "ErMagicAgeHelp.html"), self.helpButton)
hbox_one.Add(self.helpButton)
hboxok = wx.BoxSizer(wx.HORIZONTAL)
self.saveButton = wx.Button(self.panel, id=-1, label='Save')
self.Bind(wx.EVT_BUTTON, lambda event: self.on_saveButton(event, self.age_grid), self.saveButton)
self.cancelButton = wx.Button(self.panel, wx.ID_CANCEL, '&Cancel')
self.Bind(wx.EVT_BUTTON, self.on_cancelButton, self.cancelButton)
self.continueButton = wx.Button(self.panel, id=-1, label='Save and continue')
self.Bind(wx.EVT_BUTTON, lambda event: self.on_continueButton(event, self.age_grid, next_dia=None), self.continueButton)
self.backButton = wx.Button(self.panel, wx.ID_ANY, "&Back")
previous_dia = self.InitLocCheck
self.Bind(wx.EVT_BUTTON, lambda event: self.on_backButton(event, previous_dia), self.backButton)
self.panel.Bind(wx.grid.EVT_GRID_LABEL_LEFT_CLICK, self.onLeftClickLabel, self.grid)
hboxok.Add(self.saveButton, flag=wx.RIGHT, border=10)
hboxok.Add(self.cancelButton, flag=wx.RIGHT, border=10)
hboxok.Add(self.continueButton, flag=wx.RIGHT, border=10)
hboxok.Add(self.backButton)
### Make Containers ###
vbox = wx.BoxSizer(wx.VERTICAL)
vbox.Add(label, flag=wx.ALIGN_CENTER|wx.TOP|wx.BOTTOM, border=20)#, flag=wx.ALIGN_LEFT|wx.BOTTOM, border=20)
vbox.Add(hbox_one, flag=wx.BOTTOM, border=10)
vbox.Add(hboxok, flag=wx.BOTTOM, border=10)
vbox.Add(self.age_grid, flag=wx.TOP|wx.BOTTOM, border=10) # EXPAND ??
vbox.AddSpacer(20)
self.hbox_all = wx.BoxSizer(wx.HORIZONTAL)
self.hbox_all.AddSpacer(20)
self.hbox_all.Add(vbox)
self.hbox_all.AddSpacer(20)
self.panel.SetSizer(self.hbox_all)
#if sys.platform in ['win32', 'win64']:
# self.panel.SetScrollbars(20, 20, 50, 50)
self.hbox_all.Fit(self)
self.Centre()
self.Show()
self.Hide()
self.Show()
|
[
"def",
"InitAgeCheck",
"(",
"self",
")",
":",
"self",
".",
"panel",
"=",
"wx",
".",
"Panel",
"(",
"self",
",",
"style",
"=",
"wx",
".",
"SIMPLE_BORDER",
")",
"text",
"=",
"\"\"\"Step 6:\nFill in or correct any cells with information about ages.\nThe column for magic_method_codes can take multiple values in the form of a colon-delimited list.\nYou may use the drop-down menus to add as many values as needed in these columns.\n(See Help button for details)\n\n**Denotes controlled vocabulary \"\"\"",
"label",
"=",
"wx",
".",
"StaticText",
"(",
"self",
".",
"panel",
",",
"label",
"=",
"text",
")",
"self",
".",
"items",
"=",
"self",
".",
"er_magic_data",
".",
"data_lists",
"[",
"self",
".",
"er_magic_data",
".",
"age_type",
"]",
"[",
"0",
"]",
"self",
".",
"grid_builder",
"=",
"grid_frame2",
".",
"GridBuilder",
"(",
"self",
".",
"er_magic_data",
",",
"'age'",
",",
"self",
".",
"er_magic_data",
".",
"headers",
",",
"self",
".",
"panel",
",",
"'location'",
")",
"self",
".",
"age_grid",
"=",
"self",
".",
"grid_builder",
".",
"make_grid",
"(",
"incl_pmag",
"=",
"False",
")",
"self",
".",
"age_grid",
".",
"InitUI",
"(",
")",
"self",
".",
"grid_builder",
".",
"add_data_to_grid",
"(",
"self",
".",
"age_grid",
",",
"'age'",
",",
"incl_pmag",
"=",
"False",
")",
"self",
".",
"grid_builder",
".",
"add_age_data_to_grid",
"(",
")",
"self",
".",
"grid",
"=",
"self",
".",
"age_grid",
"#",
"# make it impossible to edit the 1st and 3rd columns",
"for",
"row",
"in",
"range",
"(",
"self",
".",
"age_grid",
".",
"GetNumberRows",
"(",
")",
")",
":",
"for",
"col",
"in",
"(",
"0",
",",
"2",
")",
":",
"self",
".",
"age_grid",
".",
"SetReadOnly",
"(",
"row",
",",
"col",
",",
"True",
")",
"# initialize all needed drop-down menus",
"self",
".",
"drop_down_menu",
"=",
"drop_down_menus",
".",
"Menus",
"(",
"\"age\"",
",",
"self",
",",
"self",
".",
"age_grid",
",",
"None",
")",
"# re-set first column name",
"self",
".",
"age_grid",
".",
"SetColLabelValue",
"(",
"0",
",",
"'er_site_name'",
")",
"### Create Buttons ###",
"hbox_one",
"=",
"wx",
".",
"BoxSizer",
"(",
"wx",
".",
"HORIZONTAL",
")",
"self",
".",
"helpButton",
"=",
"wx",
".",
"Button",
"(",
"self",
".",
"panel",
",",
"label",
"=",
"\"Help\"",
")",
"self",
".",
"Bind",
"(",
"wx",
".",
"EVT_BUTTON",
",",
"lambda",
"event",
":",
"self",
".",
"on_helpButton",
"(",
"event",
",",
"\"ErMagicAgeHelp.html\"",
")",
",",
"self",
".",
"helpButton",
")",
"hbox_one",
".",
"Add",
"(",
"self",
".",
"helpButton",
")",
"hboxok",
"=",
"wx",
".",
"BoxSizer",
"(",
"wx",
".",
"HORIZONTAL",
")",
"self",
".",
"saveButton",
"=",
"wx",
".",
"Button",
"(",
"self",
".",
"panel",
",",
"id",
"=",
"-",
"1",
",",
"label",
"=",
"'Save'",
")",
"self",
".",
"Bind",
"(",
"wx",
".",
"EVT_BUTTON",
",",
"lambda",
"event",
":",
"self",
".",
"on_saveButton",
"(",
"event",
",",
"self",
".",
"age_grid",
")",
",",
"self",
".",
"saveButton",
")",
"self",
".",
"cancelButton",
"=",
"wx",
".",
"Button",
"(",
"self",
".",
"panel",
",",
"wx",
".",
"ID_CANCEL",
",",
"'&Cancel'",
")",
"self",
".",
"Bind",
"(",
"wx",
".",
"EVT_BUTTON",
",",
"self",
".",
"on_cancelButton",
",",
"self",
".",
"cancelButton",
")",
"self",
".",
"continueButton",
"=",
"wx",
".",
"Button",
"(",
"self",
".",
"panel",
",",
"id",
"=",
"-",
"1",
",",
"label",
"=",
"'Save and continue'",
")",
"self",
".",
"Bind",
"(",
"wx",
".",
"EVT_BUTTON",
",",
"lambda",
"event",
":",
"self",
".",
"on_continueButton",
"(",
"event",
",",
"self",
".",
"age_grid",
",",
"next_dia",
"=",
"None",
")",
",",
"self",
".",
"continueButton",
")",
"self",
".",
"backButton",
"=",
"wx",
".",
"Button",
"(",
"self",
".",
"panel",
",",
"wx",
".",
"ID_ANY",
",",
"\"&Back\"",
")",
"previous_dia",
"=",
"self",
".",
"InitLocCheck",
"self",
".",
"Bind",
"(",
"wx",
".",
"EVT_BUTTON",
",",
"lambda",
"event",
":",
"self",
".",
"on_backButton",
"(",
"event",
",",
"previous_dia",
")",
",",
"self",
".",
"backButton",
")",
"self",
".",
"panel",
".",
"Bind",
"(",
"wx",
".",
"grid",
".",
"EVT_GRID_LABEL_LEFT_CLICK",
",",
"self",
".",
"onLeftClickLabel",
",",
"self",
".",
"grid",
")",
"hboxok",
".",
"Add",
"(",
"self",
".",
"saveButton",
",",
"flag",
"=",
"wx",
".",
"RIGHT",
",",
"border",
"=",
"10",
")",
"hboxok",
".",
"Add",
"(",
"self",
".",
"cancelButton",
",",
"flag",
"=",
"wx",
".",
"RIGHT",
",",
"border",
"=",
"10",
")",
"hboxok",
".",
"Add",
"(",
"self",
".",
"continueButton",
",",
"flag",
"=",
"wx",
".",
"RIGHT",
",",
"border",
"=",
"10",
")",
"hboxok",
".",
"Add",
"(",
"self",
".",
"backButton",
")",
"### Make Containers ###",
"vbox",
"=",
"wx",
".",
"BoxSizer",
"(",
"wx",
".",
"VERTICAL",
")",
"vbox",
".",
"Add",
"(",
"label",
",",
"flag",
"=",
"wx",
".",
"ALIGN_CENTER",
"|",
"wx",
".",
"TOP",
"|",
"wx",
".",
"BOTTOM",
",",
"border",
"=",
"20",
")",
"#, flag=wx.ALIGN_LEFT|wx.BOTTOM, border=20)",
"vbox",
".",
"Add",
"(",
"hbox_one",
",",
"flag",
"=",
"wx",
".",
"BOTTOM",
",",
"border",
"=",
"10",
")",
"vbox",
".",
"Add",
"(",
"hboxok",
",",
"flag",
"=",
"wx",
".",
"BOTTOM",
",",
"border",
"=",
"10",
")",
"vbox",
".",
"Add",
"(",
"self",
".",
"age_grid",
",",
"flag",
"=",
"wx",
".",
"TOP",
"|",
"wx",
".",
"BOTTOM",
",",
"border",
"=",
"10",
")",
"# EXPAND ??",
"vbox",
".",
"AddSpacer",
"(",
"20",
")",
"self",
".",
"hbox_all",
"=",
"wx",
".",
"BoxSizer",
"(",
"wx",
".",
"HORIZONTAL",
")",
"self",
".",
"hbox_all",
".",
"AddSpacer",
"(",
"20",
")",
"self",
".",
"hbox_all",
".",
"Add",
"(",
"vbox",
")",
"self",
".",
"hbox_all",
".",
"AddSpacer",
"(",
"20",
")",
"self",
".",
"panel",
".",
"SetSizer",
"(",
"self",
".",
"hbox_all",
")",
"#if sys.platform in ['win32', 'win64']:",
"# self.panel.SetScrollbars(20, 20, 50, 50)",
"self",
".",
"hbox_all",
".",
"Fit",
"(",
"self",
")",
"self",
".",
"Centre",
"(",
")",
"self",
".",
"Show",
"(",
")",
"self",
".",
"Hide",
"(",
")",
"self",
".",
"Show",
"(",
")"
] |
make an interactive grid in which users can edit ages
|
[
"make",
"an",
"interactive",
"grid",
"in",
"which",
"users",
"can",
"edit",
"ages"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/dialogs/pmag_er_magic_dialogs.py#L784-L863
|
train
|
Initialize the age check dialog
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8('\x30' + chr(111) + '\x32' + '\x31' + '\x30', 0b1000), nzTpIcepk0o8(chr(1793 - 1745) + chr(0b1100010 + 0o15) + '\x34' + '\063', 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\061' + chr(0b10011 + 0o42) + chr(0b11101 + 0o27), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b110001) + chr(54) + chr(2277 - 2225), 0b1000), nzTpIcepk0o8(chr(48) + '\157' + chr(1552 - 1502) + chr(744 - 695) + '\x37', 0b1000), nzTpIcepk0o8(chr(0b100001 + 0o17) + chr(111) + chr(0b100110 + 0o13) + chr(261 - 206) + '\x33', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1010111 + 0o30) + '\063' + chr(0b100100 + 0o16) + '\x33', 0b1000), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110001) + chr(0b100010 + 0o23) + chr(51), ord("\x08")), nzTpIcepk0o8('\x30' + chr(111) + chr(0b110001) + chr(1275 - 1226) + chr(0b110100 + 0o0), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b110000 + 0o2) + chr(636 - 587) + '\062', 0o10), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\x33' + '\064' + chr(51), 59878 - 59870), nzTpIcepk0o8('\060' + chr(0b1101111) + '\x37' + chr(376 - 327), ord("\x08")), nzTpIcepk0o8(chr(1821 - 1773) + '\x6f' + chr(0b110010) + chr(2534 - 2481) + '\x30', ord("\x08")), nzTpIcepk0o8('\x30' + chr(111) + '\061' + chr(0b110101 + 0o1), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b101011 + 0o104) + '\061' + chr(0b100100 + 0o14) + '\062', 5040 - 5032), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b110011) + '\x33' + chr(53), 0o10), nzTpIcepk0o8(chr(323 - 275) + '\x6f' + '\063' + '\x31', 0b1000), nzTpIcepk0o8(chr(1479 - 1431) + '\157' + chr(0b110011) + chr(50) + '\x34', 16883 - 16875), nzTpIcepk0o8('\x30' + '\x6f' + '\066' + chr(0b100001 + 0o24), 47326 - 47318), nzTpIcepk0o8('\060' + chr(111) + chr(0b11101 + 0o26) + '\x36' + '\060', 39097 - 39089), nzTpIcepk0o8('\x30' + '\x6f' + '\x31' + chr(0b100100 + 0o14) + chr(51), ord("\x08")), nzTpIcepk0o8('\060' + chr(8139 - 8028) + '\061' + '\x30', 0o10), nzTpIcepk0o8(chr(48) + chr(111) + '\061' + chr(0b110000) + chr(0b110000), 0b1000), nzTpIcepk0o8('\x30' + '\x6f' + '\x31' + '\062' + chr(2035 - 1985), 0o10), nzTpIcepk0o8('\x30' + chr(11163 - 11052) + chr(864 - 815) + '\x35' + chr(2407 - 2354), ord("\x08")), nzTpIcepk0o8('\x30' + '\157' + chr(49) + chr(0b101011 + 0o6), ord("\x08")), nzTpIcepk0o8(chr(48) + '\x6f' + chr(50) + chr(53) + chr(50), 49904 - 49896), nzTpIcepk0o8(chr(48) + chr(0b1100110 + 0o11) + chr(51) + chr(1615 - 1564) + chr(1552 - 1498), 0b1000), nzTpIcepk0o8(chr(1221 - 1173) + chr(476 - 365) + chr(52) + chr(0b110000), 0b1000), nzTpIcepk0o8(chr(1736 - 1688) + '\157' + '\x32' + '\064' + chr(2011 - 1960), 33145 - 33137), nzTpIcepk0o8(chr(0b11101 + 0o23) + chr(0b1101111) + chr(0b10101 + 0o34) + chr(1184 - 1130) + '\067', 11180 - 11172), nzTpIcepk0o8(chr(0b10 + 0o56) + chr(0b1001000 + 0o47) + '\x31' + chr(1291 - 1236) + chr(0b110100), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(50) + chr(0b110101) + chr(1828 - 1778), 8), nzTpIcepk0o8('\060' + chr(0b111111 + 0o60) + chr(0b110011) + chr(613 - 561) + '\060', 8912 - 8904), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(51) + '\064' + chr(0b10011 + 0o40), 8), nzTpIcepk0o8(chr(48) + chr(0b101111 + 0o100) + chr(0b110101) + chr(2172 - 2120), 27356 - 27348), nzTpIcepk0o8('\060' + '\x6f' + chr(50) + chr(53), 0b1000), nzTpIcepk0o8(chr(492 - 444) + chr(111) + '\x32' + '\061' + chr(55), 8), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b110010) + chr(0b110100) + '\x35', ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1101111) + '\x32' + chr(0b110100) + '\x35', 8)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(0b110000) + chr(2166 - 2055) + '\065' + '\x30', ord("\x08"))] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xa6'), '\144' + '\x65' + chr(99) + '\157' + '\x64' + chr(101))(chr(117) + '\x74' + chr(0b1100110) + chr(676 - 631) + '\070') + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def pTguzNK5iVxl(hXMPsSrOQzbh):
hXMPsSrOQzbh.tqXV8VwoxdNA = FHAk5xm055cs.Panel(hXMPsSrOQzbh, style=FHAk5xm055cs.SIMPLE_BORDER)
cpStk7cY1TJd = roI3spqORKae(ES5oEprVxulp(b'\xdbW\t\x04\xafM\xe9a\n\xe3\x8fU\x88g,\xfdv\xa6\x15\x93,z27\x0e}\x8a\xbfN\xdaW\x1f\xcf\x8c\x8f_5\xf8\xcc\xd1\xe0\x03\x05\x1a\xe9\x14\xa1\x06-\xfe\x8aV\xc6.#\xbfv\xa1A\xd0"o%!C\x03\xfe\xb6E\x83\x14\x13\xc6\x95\x8eB5\xe9\xca\xd7\xa8N\r\x13\xe6\x18\x8c\x06)\xfe\x8bV\xccQ!\xb2}\xb1F\xd0 i.r\x19h\xc1\xbb\x00\xce\x02\x10\xde\x89\x93@p\xaf\xd3\xc4\xe4V\t\x07\xaf\x12\xbdK8\xe2\x86\x19\xcea0\xb09\xbbS\xd0"(#=\x01f\xc4\xf3D\xc6\x1b\x15\xc7\x89\x97Iq\xaf\xc9\xcc\xfbWB~\xd6\x14\xa6K!\xeb\x9a\x19\xdd}\'\xfdm\xbcP\xd0\'z/"@m\xc5\xa9N\x83\x1a\x19\xc4\x95\x90\x0ca\xe0\x85\xc4\xecGL\x15\xfc[\xbe\n"\xf3\xc3O\xc9b7\xb8j\xf4T\x83cf%7\tl\xce\xfeI\xcdW\x08\xc2\x85\x90I5\xec\xca\xc9\xfdN\x02\x07\xa1q\xfb8)\xef\xc3q\xcdb2\xfd{\xa1A\x84,f`4\x02{\x8a\xbaE\xd7\x16\x15\xc6\x93\xca&\x1f\xa5\x8f\xe1\xedM\x03\x00\xea\x08\xf3\x08#\xe4\x97K\xc7b.\xb8}\xf4C\x9f i"\'\x01h\xd8\xa7\x00'), '\144' + chr(7207 - 7106) + chr(0b1100011) + chr(0b1001011 + 0o44) + chr(0b11011 + 0o111) + chr(101))(chr(0b1110010 + 0o3) + '\x74' + chr(5256 - 5154) + chr(0b1 + 0o54) + chr(803 - 747))
OkDIn6t2Cke6 = FHAk5xm055cs.StaticText(hXMPsSrOQzbh.tqXV8VwoxdNA, label=cpStk7cY1TJd)
hXMPsSrOQzbh.Y_nNEzH43vXi = hXMPsSrOQzbh.er_magic_data.data_lists[hXMPsSrOQzbh.er_magic_data.age_type][nzTpIcepk0o8(chr(203 - 155) + '\x6f' + chr(0b1 + 0o57), ord("\x08"))]
hXMPsSrOQzbh.W1YFLWHF2P72 = kSQQsh1rBLdC.GridBuilder(hXMPsSrOQzbh.er_magic_data, roI3spqORKae(ES5oEprVxulp(b'\xe9D\t'), '\x64' + '\x65' + chr(0b1100011) + chr(0b1101111) + chr(0b1000101 + 0o37) + chr(0b1100101))('\165' + '\x74' + chr(0b1100110) + chr(0b11010 + 0o23) + chr(0b100101 + 0o23)), hXMPsSrOQzbh.er_magic_data.UyworZfslHjc, hXMPsSrOQzbh.tqXV8VwoxdNA, roI3spqORKae(ES5oEprVxulp(b'\xe4L\x0f\x15\xfb\x12\xbc\x05'), '\x64' + chr(7707 - 7606) + chr(4071 - 3972) + '\157' + chr(100) + chr(7083 - 6982))('\165' + chr(116) + '\x66' + chr(0b10110 + 0o27) + '\070'))
hXMPsSrOQzbh.n1rP6e_SACN7 = hXMPsSrOQzbh.grid_builder.make_grid(incl_pmag=nzTpIcepk0o8(chr(1714 - 1666) + chr(0b1100 + 0o143) + chr(0b110000), 8))
roI3spqORKae(hXMPsSrOQzbh.age_grid, roI3spqORKae(ES5oEprVxulp(b'\xc1M\x05\x00\xda2'), chr(0b101001 + 0o73) + chr(0b1010111 + 0o16) + chr(99) + '\x6f' + chr(2539 - 2439) + chr(101))('\165' + chr(1101 - 985) + chr(102) + chr(0b10110 + 0o27) + chr(0b1100 + 0o54)))()
roI3spqORKae(hXMPsSrOQzbh.grid_builder, roI3spqORKae(ES5oEprVxulp(b'\xe9G\x08+\xeb\x1a\xa7\n\x13\xfe\x8cf\xcf|+\xb9'), chr(5187 - 5087) + chr(101) + chr(0b1100011) + '\157' + '\144' + chr(9916 - 9815))(chr(117) + chr(116) + '\146' + chr(45) + '\x38'))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xe6\x12\x1e$\xb9\x1e\x8c8\r\xc9\xad\x0e'), chr(2639 - 2539) + chr(3671 - 3570) + chr(99) + '\157' + chr(0b1100 + 0o130) + chr(2122 - 2021))(chr(117) + chr(13380 - 13264) + chr(0b1001000 + 0o36) + chr(0b101101) + chr(0b10011 + 0o45))), roI3spqORKae(ES5oEprVxulp(b'\xe9D\t'), chr(0b1100100) + chr(0b1001 + 0o134) + chr(99) + '\157' + '\x64' + chr(0b1011 + 0o132))('\x75' + chr(116) + chr(6403 - 6301) + chr(364 - 319) + chr(56)), incl_pmag=nzTpIcepk0o8('\060' + chr(0b1011011 + 0o24) + chr(0b110000), 8))
roI3spqORKae(hXMPsSrOQzbh.grid_builder, roI3spqORKae(ES5oEprVxulp(b'\xe9G\x08+\xee\x1c\xb64(\xeb\x97X\xf7z-\x82~\xa6\\\x94'), chr(0b10000 + 0o124) + chr(7428 - 7327) + chr(1987 - 1888) + chr(7302 - 7191) + chr(0b1100100) + chr(0b110110 + 0o57))(chr(0b1110101) + chr(0b11101 + 0o127) + chr(7472 - 7370) + chr(0b10100 + 0o31) + chr(0b111000)))()
hXMPsSrOQzbh.xiP5QxYWlEkW = hXMPsSrOQzbh.n1rP6e_SACN7
for o6UWUO21mH25 in bbT2xIe5pzk7(roI3spqORKae(hXMPsSrOQzbh.age_grid, roI3spqORKae(ES5oEprVxulp(b'\xcfF\x18:\xfa\x16\xb1\x0e>\xd8\x8cN\xdb'), '\144' + chr(0b1011000 + 0o15) + chr(99) + '\x6f' + chr(0b10000 + 0o124) + chr(0b1 + 0o144))(chr(0b1110101) + chr(0b1010101 + 0o37) + '\x66' + chr(45) + '\070'))()):
for hRTUxJgvuslu in (nzTpIcepk0o8(chr(0b110000) + chr(111) + '\060', 8), nzTpIcepk0o8(chr(48) + chr(9533 - 9422) + chr(50), 7218 - 7210)):
roI3spqORKae(hXMPsSrOQzbh.age_grid, roI3spqORKae(ES5oEprVxulp(b'\xdbF\x18&\xea\x1a\xb7$"\xe6\x9a'), chr(0b1100100) + chr(9623 - 9522) + chr(99) + '\157' + chr(0b1100100 + 0o0) + chr(360 - 259))(chr(0b1110101) + '\x74' + chr(2981 - 2879) + '\x2d' + '\x38'))(o6UWUO21mH25, hRTUxJgvuslu, nzTpIcepk0o8('\x30' + chr(0b110110 + 0o71) + '\061', 0b1000))
hXMPsSrOQzbh.beUkJUv9NfWC = VcRxcF379N_E.Menus(roI3spqORKae(ES5oEprVxulp(b'\xe9D\t'), '\x64' + '\x65' + chr(9781 - 9682) + '\x6f' + chr(0b101 + 0o137) + chr(0b1100101))(chr(12725 - 12608) + '\x74' + chr(6414 - 6312) + chr(0b10100 + 0o31) + chr(2783 - 2727)), hXMPsSrOQzbh, hXMPsSrOQzbh.n1rP6e_SACN7, None)
roI3spqORKae(hXMPsSrOQzbh.age_grid, roI3spqORKae(ES5oEprVxulp(b'\xdbF\x187\xe0\x17\x9f\n.\xef\x8fo\xc9b7\xb8'), chr(7718 - 7618) + chr(0b1100101) + chr(0b1000100 + 0o37) + chr(111) + '\144' + chr(101))(chr(117) + chr(0b1110100) + '\146' + chr(0b101101) + chr(0b111000)))(nzTpIcepk0o8(chr(1609 - 1561) + '\x6f' + chr(2171 - 2123), 8), roI3spqORKae(ES5oEprVxulp(b'\xedQ3\x07\xe6\x0f\xb64"\xeb\x8e\\'), chr(0b1100100) + '\145' + chr(0b101110 + 0o65) + chr(0b111010 + 0o65) + '\x64' + '\x65')(chr(0b1110101) + chr(2357 - 2241) + '\146' + '\055' + chr(2316 - 2260)))
JKtZmCyzIAeO = FHAk5xm055cs.BoxSizer(FHAk5xm055cs.HORIZONTAL)
hXMPsSrOQzbh.W55E6UjS9vVB = FHAk5xm055cs.Button(hXMPsSrOQzbh.tqXV8VwoxdNA, label=roI3spqORKae(ES5oEprVxulp(b'\xc0F\x00\x04'), chr(100) + chr(0b1011 + 0o132) + chr(99) + chr(111) + '\144' + '\x65')(chr(5760 - 5643) + chr(0b1110100) + '\146' + chr(45) + chr(56)))
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xcaJ\x02\x10'), '\144' + chr(101) + '\x63' + chr(0b1101111) + '\x64' + chr(0b1100101))('\165' + chr(0b110010 + 0o102) + chr(102) + chr(0b101101 + 0o0) + chr(0b100111 + 0o21)))(roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xcdu8+\xcd.\x87?\x03\xc4'), '\x64' + chr(0b1001001 + 0o34) + chr(99) + chr(0b100000 + 0o117) + chr(0b1100100) + chr(6606 - 6505))(chr(6636 - 6519) + '\x74' + '\146' + chr(741 - 696) + '\070')), lambda D4ybylS07yGH: roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xe7M3\x1c\xea\x17\xa3)9\xfe\x97V\xc6'), chr(0b1100100) + chr(0b1100101) + chr(6917 - 6818) + chr(11899 - 11788) + chr(100) + '\145')(chr(2351 - 2234) + chr(116) + '\146' + chr(45) + '\070'))(D4ybylS07yGH, roI3spqORKae(ES5oEprVxulp(b'\xcdQ!\x15\xe8\x12\xb0*+\xef\xab\\\xc4~l\xb5m\xb9Y'), chr(7320 - 7220) + chr(101) + '\143' + chr(0b1101111) + '\x64' + chr(8082 - 7981))(chr(117) + chr(116) + '\x66' + chr(0b101101) + '\070')), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xdf\x16Y1\xb9.\xb98u\xfc\xb5{'), '\144' + chr(0b1 + 0o144) + chr(0b1100011) + chr(111) + chr(100) + '\x65')(chr(630 - 513) + chr(0b100000 + 0o124) + chr(0b1100110) + '\x2d' + chr(0b111000))))
roI3spqORKae(JKtZmCyzIAeO, roI3spqORKae(ES5oEprVxulp(b'\xc9G\x08'), chr(0b1100100) + chr(8935 - 8834) + '\143' + chr(111) + chr(0b1100100) + chr(101))(chr(117) + chr(0b1110100) + '\x66' + chr(45) + chr(0b1001 + 0o57)))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xdf\x16Y1\xb9.\xb98u\xfc\xb5{'), chr(0b1100100) + chr(0b1100101) + '\x63' + chr(0b1101111) + chr(0b1100100) + chr(0b100101 + 0o100))(chr(0b1110101) + chr(1102 - 986) + chr(0b101011 + 0o73) + chr(0b101101) + chr(0b111000))))
bwojCi6IuwsQ = FHAk5xm055cs.BoxSizer(FHAk5xm055cs.HORIZONTAL)
hXMPsSrOQzbh.m2I3HKmqciwZ = FHAk5xm055cs.Button(hXMPsSrOQzbh.tqXV8VwoxdNA, id=-nzTpIcepk0o8(chr(0b110000) + '\157' + '\x31', 8), label=roI3spqORKae(ES5oEprVxulp(b'\xdbB\x1a\x11'), '\x64' + chr(2690 - 2589) + '\143' + '\157' + '\144' + chr(4881 - 4780))('\x75' + chr(116) + '\146' + chr(45) + chr(0b111000)))
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xcaJ\x02\x10'), '\x64' + chr(101) + chr(99) + chr(0b101100 + 0o103) + chr(0b10 + 0o142) + chr(0b1011000 + 0o15))('\165' + chr(4830 - 4714) + chr(908 - 806) + chr(45) + '\x38'))(roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xcdu8+\xcd.\x87?\x03\xc4'), chr(0b1100100) + chr(101) + chr(0b1100011) + chr(0b11000 + 0o127) + chr(0b1100100) + chr(4651 - 4550))(chr(117) + chr(0b1110100) + chr(0b101101 + 0o71) + '\055' + chr(1498 - 1442))), lambda D4ybylS07yGH: roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xe7M3\x07\xee\r\xb6)9\xfe\x97V\xc6'), chr(5263 - 5163) + chr(0b1100011 + 0o2) + chr(0b1100011) + chr(0b1101111) + chr(0b110010 + 0o62) + chr(0b0 + 0o145))(chr(117) + '\x74' + '\146' + chr(45) + '\x38'))(D4ybylS07yGH, roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xe6\x12\x1e$\xb9\x1e\x8c8\r\xc9\xad\x0e'), chr(100) + '\x65' + chr(0b101011 + 0o70) + '\x6f' + chr(100) + '\x65')(chr(10157 - 10040) + chr(116) + chr(102) + chr(0b10101 + 0o30) + chr(1773 - 1717)))), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xe5\x11%G\xc70\xbe\x1a/\xe3\x94c'), chr(0b101111 + 0o65) + chr(0b10 + 0o143) + chr(8443 - 8344) + chr(0b1101111) + chr(9679 - 9579) + '\x65')(chr(117) + chr(0b110001 + 0o103) + chr(8756 - 8654) + chr(45) + chr(683 - 627))))
hXMPsSrOQzbh.CxTJSLD15mva = FHAk5xm055cs.Button(hXMPsSrOQzbh.tqXV8VwoxdNA, FHAk5xm055cs.ID_CANCEL, roI3spqORKae(ES5oEprVxulp(b'\xae`\r\x1a\xec\x1e\xbf'), chr(0b1100100) + '\x65' + chr(0b1100011) + chr(8398 - 8287) + chr(0b1100100) + '\x65')(chr(3225 - 3108) + chr(0b1110100) + chr(0b1100110) + '\x2d' + '\070'))
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xcaJ\x02\x10'), chr(0b1001100 + 0o30) + '\x65' + chr(0b1100011) + chr(0b1101111) + chr(4994 - 4894) + chr(101))(chr(0b1110101) + '\x74' + chr(5540 - 5438) + chr(0b10100 + 0o31) + chr(56)))(roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xcdu8+\xcd.\x87?\x03\xc4'), '\x64' + chr(0b101111 + 0o66) + '\143' + chr(0b11010 + 0o125) + chr(0b1100100) + '\145')(chr(3509 - 3392) + chr(0b110110 + 0o76) + '\x66' + chr(1852 - 1807) + chr(426 - 370))), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xe7M3\x17\xee\x15\xb0\x0e \xc8\x96M\xdca,'), '\144' + chr(101) + '\x63' + chr(0b1101111) + chr(3385 - 3285) + chr(0b1100101))(chr(0b1010010 + 0o43) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + chr(0b100111 + 0o21))), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xcb[8>\xdc7\x97Zy\xe7\x95X'), chr(8326 - 8226) + chr(0b1100101) + chr(0b1100011) + chr(2435 - 2324) + chr(7478 - 7378) + '\145')('\165' + chr(0b1010001 + 0o43) + chr(0b1100110) + '\x2d' + '\x38')))
hXMPsSrOQzbh.LzXnStd_2DBe = FHAk5xm055cs.Button(hXMPsSrOQzbh.tqXV8VwoxdNA, id=-nzTpIcepk0o8(chr(835 - 787) + chr(0b110110 + 0o71) + chr(0b110001), 8), label=roI3spqORKae(ES5oEprVxulp(b'\xdbB\x1a\x11\xaf\x1a\xbd\x0fl\xe9\x8cW\xdcg,\xa8|'), '\144' + '\145' + chr(99) + chr(0b100000 + 0o117) + '\x64' + chr(101))(chr(11531 - 11414) + chr(0b1110100) + chr(102) + '\055' + '\070'))
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xcaJ\x02\x10'), chr(100) + chr(101) + chr(0b1100011) + chr(5191 - 5080) + chr(0b1100100) + chr(4931 - 4830))(chr(11925 - 11808) + chr(0b100010 + 0o122) + chr(0b1100110) + chr(45) + chr(0b111000)))(roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xcdu8+\xcd.\x87?\x03\xc4'), chr(100) + chr(0b101100 + 0o71) + chr(99) + '\157' + chr(100) + '\145')(chr(0b1010011 + 0o42) + chr(0b1110100) + '\x66' + '\x2d' + '\070')), lambda D4ybylS07yGH: roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xe7M3\x17\xe0\x15\xa7\x02"\xff\x86{\xddz6\xb2w'), '\144' + chr(101) + chr(99) + '\x6f' + chr(0b1000011 + 0o41) + '\x65')('\165' + chr(116) + chr(0b1011101 + 0o11) + '\x2d' + '\070'))(D4ybylS07yGH, roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xe6\x12\x1e$\xb9\x1e\x8c8\r\xc9\xad\x0e'), '\144' + '\x65' + '\143' + '\x6f' + chr(0b1010100 + 0o20) + '\145')(chr(0b1110101) + chr(2935 - 2819) + '\x66' + '\x2d' + chr(0b1101 + 0o53))), next_dia=None), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xc4Y4\x1a\xdc\x0f\xb74~\xce\xa1\\'), chr(0b110010 + 0o62) + chr(0b1100101) + '\x63' + chr(0b1101111) + chr(0b1100100) + '\x65')(chr(117) + chr(0b1001001 + 0o53) + chr(3153 - 3051) + '\x2d' + chr(2219 - 2163))))
hXMPsSrOQzbh.AqaSmitgeYHw = FHAk5xm055cs.Button(hXMPsSrOQzbh.tqXV8VwoxdNA, FHAk5xm055cs.ID_ANY, roI3spqORKae(ES5oEprVxulp(b'\xaea\r\x17\xe4'), '\144' + '\x65' + chr(3834 - 3735) + '\x6f' + chr(100) + '\145')(chr(117) + chr(5943 - 5827) + '\146' + chr(45) + '\070'))
f22H9akrhZ34 = hXMPsSrOQzbh.InitLocCheck
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xcaJ\x02\x10'), chr(1387 - 1287) + chr(101) + '\x63' + '\x6f' + chr(0b1100100) + '\x65')('\165' + chr(0b1110100) + '\146' + chr(0b101 + 0o50) + chr(56)))(roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xcdu8+\xcd.\x87?\x03\xc4'), chr(0b10011 + 0o121) + '\145' + chr(2977 - 2878) + '\157' + chr(100) + '\145')(chr(0b1110101) + chr(11390 - 11274) + chr(102) + chr(0b11100 + 0o21) + chr(0b101101 + 0o13))), lambda D4ybylS07yGH: roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xe7M3\x16\xee\x18\xb8)9\xfe\x97V\xc6'), chr(9404 - 9304) + chr(0b111 + 0o136) + chr(99) + chr(391 - 280) + chr(100) + chr(9677 - 9576))(chr(0b111 + 0o156) + chr(0b1010010 + 0o42) + chr(2371 - 2269) + chr(0b11101 + 0o20) + '\x38'))(D4ybylS07yGH, f22H9akrhZ34), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b"\xc9R\r'\xe2\x12\xa7\x0c)\xd3\xabN"), chr(0b1001100 + 0o30) + '\x65' + '\143' + '\x6f' + chr(100) + chr(101))('\165' + chr(0b1100000 + 0o24) + '\x66' + chr(771 - 726) + '\x38')))
roI3spqORKae(hXMPsSrOQzbh.panel, roI3spqORKae(ES5oEprVxulp(b'\xcaJ\x02\x10'), '\144' + chr(0b1100101) + '\143' + chr(111) + '\x64' + '\x65')(chr(117) + chr(9418 - 9302) + chr(7529 - 7427) + chr(0b1010 + 0o43) + chr(0b111000)))(roI3spqORKae(FHAk5xm055cs.grid, roI3spqORKae(ES5oEprVxulp(b'\xcdu8+\xc8)\x9a/\x13\xc6\xa2{\xedB\x1d\x91\\\x92a\xaf\x00D\t\x11&'), '\x64' + chr(101) + chr(99) + chr(0b1101111) + '\x64' + '\145')(chr(11890 - 11773) + chr(116) + '\146' + chr(0b1110 + 0o37) + chr(0b110 + 0o62))), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b"\xe7M \x11\xe9\x0f\x90\x07%\xe9\x88u\xc9l'\xb1"), '\144' + chr(2456 - 2355) + '\143' + '\x6f' + chr(100) + chr(0b10011 + 0o122))(chr(9879 - 9762) + chr(0b100111 + 0o115) + '\x66' + chr(0b101101) + '\070')), roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xf0J<A\xde\x03\x8a< \xcf\x88n'), chr(100) + chr(0b1100101) + chr(0b1100011) + '\157' + '\x64' + chr(0b1100101))(chr(117) + chr(0b1110100) + chr(4788 - 4686) + chr(0b101010 + 0o3) + '\070')))
roI3spqORKae(bwojCi6IuwsQ, roI3spqORKae(ES5oEprVxulp(b'\xc9G\x08'), '\144' + chr(6974 - 6873) + chr(99) + '\x6f' + '\x64' + chr(2587 - 2486))('\165' + '\164' + chr(102) + '\055' + '\070'))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xe5\x11%G\xc70\xbe\x1a/\xe3\x94c'), chr(9816 - 9716) + chr(0b1000001 + 0o44) + chr(99) + chr(0b10110 + 0o131) + chr(0b1011110 + 0o6) + '\x65')(chr(117) + chr(1119 - 1003) + chr(0b100010 + 0o104) + '\x2d' + '\x38')), flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xdaj+<\xdb'), '\x64' + '\145' + chr(99) + chr(0b11001 + 0o126) + chr(5536 - 5436) + chr(101))('\x75' + chr(10480 - 10364) + chr(102) + chr(0b101101) + chr(1352 - 1296))), border=nzTpIcepk0o8(chr(0b110000) + chr(0b1101000 + 0o7) + chr(1642 - 1593) + '\062', 0b1000))
roI3spqORKae(bwojCi6IuwsQ, roI3spqORKae(ES5oEprVxulp(b'\xc9G\x08'), chr(0b1001100 + 0o30) + '\145' + chr(0b111111 + 0o44) + '\157' + '\144' + chr(101))('\165' + chr(116) + '\146' + chr(0b101101) + chr(56)))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xcb[8>\xdc7\x97Zy\xe7\x95X'), chr(5354 - 5254) + chr(0b11111 + 0o106) + chr(0b101001 + 0o72) + chr(8461 - 8350) + chr(100) + chr(0b111111 + 0o46))(chr(4445 - 4328) + chr(0b1011010 + 0o32) + chr(0b1100110) + '\x2d' + chr(0b111000))), flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xdaj+<\xdb'), '\144' + chr(0b1010010 + 0o23) + '\x63' + '\157' + chr(0b1100100) + chr(0b1100101))(chr(2700 - 2583) + chr(0b1101101 + 0o7) + chr(0b1100110) + '\x2d' + chr(0b111000))), border=nzTpIcepk0o8(chr(0b1111 + 0o41) + '\x6f' + '\x31' + '\062', 8))
roI3spqORKae(bwojCi6IuwsQ, roI3spqORKae(ES5oEprVxulp(b'\xc9G\x08'), '\144' + chr(623 - 522) + chr(0b1100011) + chr(4606 - 4495) + chr(0b1001111 + 0o25) + '\x65')(chr(0b100000 + 0o125) + chr(0b1110100) + chr(0b1011010 + 0o14) + '\x2d' + chr(56)))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xc4Y4\x1a\xdc\x0f\xb74~\xce\xa1\\'), '\144' + '\x65' + chr(0b111000 + 0o53) + chr(0b1011111 + 0o20) + chr(6392 - 6292) + chr(5358 - 5257))(chr(117) + '\164' + chr(9074 - 8972) + '\x2d' + chr(0b111000))), flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xdaj+<\xdb'), '\144' + '\x65' + chr(0b111101 + 0o46) + chr(0b11111 + 0o120) + chr(0b1100100) + chr(0b1100101))(chr(5631 - 5514) + '\164' + chr(4374 - 4272) + '\055' + chr(56))), border=nzTpIcepk0o8(chr(0b110000) + chr(9997 - 9886) + chr(0b110001) + chr(50), 8))
roI3spqORKae(bwojCi6IuwsQ, roI3spqORKae(ES5oEprVxulp(b'\xc9G\x08'), chr(100) + '\x65' + chr(0b1011110 + 0o5) + chr(111) + chr(100) + chr(0b1101 + 0o130))(chr(11604 - 11487) + chr(0b1011000 + 0o34) + chr(6579 - 6477) + '\x2d' + '\070'))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b"\xc9R\r'\xe2\x12\xa7\x0c)\xd3\xabN"), chr(0b1100100) + chr(0b1011110 + 0o7) + chr(0b1011110 + 0o5) + chr(111) + chr(100) + '\x65')(chr(0b110101 + 0o100) + chr(0b1100101 + 0o17) + chr(0b111101 + 0o51) + '\x2d' + chr(56))))
ATU5rnBLE1hw = FHAk5xm055cs.BoxSizer(FHAk5xm055cs.VERTICAL)
roI3spqORKae(ATU5rnBLE1hw, roI3spqORKae(ES5oEprVxulp(b'\xc9G\x08'), chr(0b1 + 0o143) + chr(0b1100101) + chr(99) + chr(0b1011111 + 0o20) + '\x64' + chr(0b1100000 + 0o5))(chr(117) + chr(0b1 + 0o163) + chr(0b1100110) + chr(57 - 12) + chr(0b11110 + 0o32)))(OkDIn6t2Cke6, flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xc9o%3\xc1$\x90.\x02\xde\xa6k'), chr(0b1100100) + chr(101) + chr(0b101000 + 0o73) + chr(0b1100111 + 0o10) + '\144' + chr(101))(chr(0b1110011 + 0o2) + chr(0b110010 + 0o102) + chr(0b111101 + 0o51) + '\x2d' + chr(56))) | roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xdcl<'), chr(100) + chr(101) + chr(4925 - 4826) + '\x6f' + chr(0b100001 + 0o103) + chr(0b1100101))('\x75' + '\x74' + '\x66' + chr(0b1000 + 0o45) + chr(1479 - 1423))) | roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xcal8 \xc06'), chr(100) + '\x65' + chr(99) + chr(0b1101111) + chr(0b10100 + 0o120) + chr(0b100 + 0o141))(chr(0b1110 + 0o147) + chr(0b1110100) + chr(102) + '\x2d' + chr(56))), border=nzTpIcepk0o8('\x30' + chr(111) + chr(50) + chr(0b100010 + 0o22), 63869 - 63861))
roI3spqORKae(ATU5rnBLE1hw, roI3spqORKae(ES5oEprVxulp(b'\xc9G\x08'), chr(100) + '\145' + chr(99) + '\157' + '\144' + chr(9474 - 9373))(chr(0b10000 + 0o145) + chr(0b1110100) + chr(0b10101 + 0o121) + '\x2d' + '\070'))(JKtZmCyzIAeO, flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xcal8 \xc06'), '\x64' + chr(101) + '\143' + chr(111) + chr(0b1100100) + chr(101))(chr(0b1110101) + chr(0b111001 + 0o73) + chr(5823 - 5721) + chr(45) + '\x38')), border=nzTpIcepk0o8(chr(1619 - 1571) + '\x6f' + '\061' + chr(0b1100 + 0o46), 8))
roI3spqORKae(ATU5rnBLE1hw, roI3spqORKae(ES5oEprVxulp(b'\xc9G\x08'), chr(0b101100 + 0o70) + chr(0b1100101) + '\143' + '\157' + chr(0b1100100) + '\x65')(chr(117) + chr(551 - 435) + chr(6258 - 6156) + chr(0b101101) + '\x38'))(bwojCi6IuwsQ, flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xcal8 \xc06'), chr(0b1111 + 0o125) + chr(0b1100101) + '\x63' + chr(0b1011101 + 0o22) + '\144' + '\x65')('\165' + chr(116) + chr(728 - 626) + chr(933 - 888) + chr(56))), border=nzTpIcepk0o8(chr(627 - 579) + chr(0b1101111) + '\x31' + chr(0b1010 + 0o50), 8))
roI3spqORKae(ATU5rnBLE1hw, roI3spqORKae(ES5oEprVxulp(b'\xc9G\x08'), chr(0b1100100) + '\x65' + chr(3569 - 3470) + chr(5891 - 5780) + chr(5817 - 5717) + '\145')(chr(0b1110101) + chr(0b1110100) + chr(0b1010001 + 0o25) + '\055' + chr(0b110110 + 0o2)))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xe6\x12\x1e$\xb9\x1e\x8c8\r\xc9\xad\x0e'), '\x64' + '\x65' + chr(8327 - 8228) + chr(0b1101111) + '\144' + '\x65')('\165' + '\164' + '\146' + '\x2d' + '\x38')), flag=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xdcl<'), chr(3233 - 3133) + chr(0b100111 + 0o76) + chr(4038 - 3939) + chr(0b1101111) + chr(0b1100100) + chr(101))('\165' + chr(0b1110100) + chr(102) + chr(1866 - 1821) + chr(56))) | roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xcal8 \xc06'), chr(0b110100 + 0o60) + '\145' + '\x63' + chr(134 - 23) + '\x64' + '\145')('\165' + chr(0b1110100) + '\x66' + chr(0b101101) + '\x38')), border=nzTpIcepk0o8('\060' + chr(111) + chr(0b110001) + chr(0b10 + 0o60), 8))
roI3spqORKae(ATU5rnBLE1hw, roI3spqORKae(ES5oEprVxulp(b"\xc9G\x08'\xff\x1a\xb0\x0e>"), '\x64' + chr(3627 - 3526) + '\x63' + '\x6f' + '\x64' + '\145')(chr(5512 - 5395) + chr(0b100010 + 0o122) + chr(102) + chr(0b101101) + chr(0b100101 + 0o23)))(nzTpIcepk0o8(chr(0b110000) + chr(0b1001010 + 0o45) + chr(0b111 + 0o53) + chr(52), 8))
hXMPsSrOQzbh.pH5XcejHv7fz = FHAk5xm055cs.BoxSizer(FHAk5xm055cs.HORIZONTAL)
roI3spqORKae(hXMPsSrOQzbh.hbox_all, roI3spqORKae(ES5oEprVxulp(b"\xc9G\x08'\xff\x1a\xb0\x0e>"), '\x64' + chr(4181 - 4080) + chr(0b1001111 + 0o24) + chr(0b1100101 + 0o12) + '\x64' + chr(0b1001001 + 0o34))('\x75' + chr(116) + chr(0b1001001 + 0o35) + chr(45) + '\070'))(nzTpIcepk0o8(chr(0b100100 + 0o14) + '\x6f' + '\x32' + '\064', 8))
roI3spqORKae(hXMPsSrOQzbh.hbox_all, roI3spqORKae(ES5oEprVxulp(b'\xc9G\x08'), '\144' + chr(0b1100101) + chr(0b1100 + 0o127) + chr(111) + '\x64' + chr(0b1100101))('\x75' + '\x74' + chr(0b1001011 + 0o33) + '\x2d' + chr(0b111000)))(ATU5rnBLE1hw)
roI3spqORKae(hXMPsSrOQzbh.hbox_all, roI3spqORKae(ES5oEprVxulp(b"\xc9G\x08'\xff\x1a\xb0\x0e>"), '\144' + chr(586 - 485) + chr(0b1100011) + chr(111) + chr(0b1100100) + '\x65')(chr(117) + '\x74' + '\x66' + chr(0b101101) + chr(0b101100 + 0o14)))(nzTpIcepk0o8('\060' + chr(11716 - 11605) + '\062' + '\x34', 8))
roI3spqORKae(hXMPsSrOQzbh.panel, roI3spqORKae(ES5oEprVxulp(b"\xdbF\x18'\xe6\x01\xb6\x19"), '\x64' + '\x65' + '\x63' + '\157' + chr(0b0 + 0o144) + '\x65')(chr(117) + chr(0b1110100) + '\x66' + chr(518 - 473) + '\x38'))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xf8kY,\xec\x1e\xb9#:\xbd\x85C'), '\x64' + chr(101) + chr(0b1100011) + chr(8972 - 8861) + chr(0b11010 + 0o112) + '\x65')('\165' + chr(0b1110100) + chr(0b1100110) + chr(0b11110 + 0o17) + chr(0b111000))))
roI3spqORKae(hXMPsSrOQzbh.hbox_all, roI3spqORKae(ES5oEprVxulp(b'\xceJ\x18'), '\144' + chr(101) + chr(0b1001010 + 0o31) + chr(111) + chr(6499 - 6399) + '\145')('\x75' + '\x74' + chr(0b1100110) + '\x2d' + chr(0b111000)))(hXMPsSrOQzbh)
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xcbF\x02\x00\xfd\x1e'), chr(100) + chr(0b100110 + 0o77) + chr(0b100111 + 0o74) + chr(0b1011110 + 0o21) + chr(100) + chr(0b1111 + 0o126))(chr(117) + chr(0b100011 + 0o121) + chr(102) + chr(0b10010 + 0o33) + chr(1459 - 1403)))()
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xdbK\x03\x03'), chr(0b1011111 + 0o5) + chr(0b111101 + 0o50) + chr(99) + '\157' + chr(0b1100100) + chr(6095 - 5994))(chr(117) + '\164' + '\x66' + '\x2d' + chr(56)))()
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xc0J\x08\x11'), chr(2368 - 2268) + chr(0b1100101) + chr(99) + chr(111) + '\144' + chr(0b110001 + 0o64))('\x75' + '\164' + chr(0b101101 + 0o71) + chr(1181 - 1136) + '\x38'))()
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xdbK\x03\x03'), '\144' + chr(101) + chr(0b10100 + 0o117) + chr(111) + chr(100) + chr(0b1100101))(chr(117) + chr(0b1110100) + chr(0b1100110) + chr(0b1011 + 0o42) + chr(2259 - 2203)))()
|
PmagPy/PmagPy
|
dialogs/pmag_er_magic_dialogs.py
|
ErMagicCheckFrame.onMouseOver
|
def onMouseOver(self, event, grid):
"""
Displays a tooltip over any cell in a certain column
"""
x, y = grid.CalcUnscrolledPosition(event.GetX(), event.GetY())
coords = grid.XYToCell(x, y)
col = coords[1]
row = coords[0]
# creates tooltip message for cells with long values
# note: this works with EPD for windows, and modern wxPython, but not with Canopy Python
msg = grid.GetCellValue(row, col)
if len(msg) > 15:
event.GetEventObject().SetToolTipString(msg)
else:
event.GetEventObject().SetToolTipString('')
|
python
|
def onMouseOver(self, event, grid):
"""
Displays a tooltip over any cell in a certain column
"""
x, y = grid.CalcUnscrolledPosition(event.GetX(), event.GetY())
coords = grid.XYToCell(x, y)
col = coords[1]
row = coords[0]
# creates tooltip message for cells with long values
# note: this works with EPD for windows, and modern wxPython, but not with Canopy Python
msg = grid.GetCellValue(row, col)
if len(msg) > 15:
event.GetEventObject().SetToolTipString(msg)
else:
event.GetEventObject().SetToolTipString('')
|
[
"def",
"onMouseOver",
"(",
"self",
",",
"event",
",",
"grid",
")",
":",
"x",
",",
"y",
"=",
"grid",
".",
"CalcUnscrolledPosition",
"(",
"event",
".",
"GetX",
"(",
")",
",",
"event",
".",
"GetY",
"(",
")",
")",
"coords",
"=",
"grid",
".",
"XYToCell",
"(",
"x",
",",
"y",
")",
"col",
"=",
"coords",
"[",
"1",
"]",
"row",
"=",
"coords",
"[",
"0",
"]",
"# creates tooltip message for cells with long values",
"# note: this works with EPD for windows, and modern wxPython, but not with Canopy Python",
"msg",
"=",
"grid",
".",
"GetCellValue",
"(",
"row",
",",
"col",
")",
"if",
"len",
"(",
"msg",
")",
">",
"15",
":",
"event",
".",
"GetEventObject",
"(",
")",
".",
"SetToolTipString",
"(",
"msg",
")",
"else",
":",
"event",
".",
"GetEventObject",
"(",
")",
".",
"SetToolTipString",
"(",
"''",
")"
] |
Displays a tooltip over any cell in a certain column
|
[
"Displays",
"a",
"tooltip",
"over",
"any",
"cell",
"in",
"a",
"certain",
"column"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/dialogs/pmag_er_magic_dialogs.py#L891-L906
|
train
|
Displays a tooltip over any cell in a certain column
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(48) + chr(363 - 252) + '\x32' + chr(0b110000) + '\062', ord("\x08")), nzTpIcepk0o8(chr(61 - 13) + '\x6f' + chr(51) + '\x32' + chr(575 - 522), 0b1000), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x33' + chr(53) + '\x37', 0b1000), nzTpIcepk0o8('\060' + '\157' + '\061' + '\x37', 50516 - 50508), nzTpIcepk0o8('\060' + chr(0b111000 + 0o67) + chr(139 - 89) + '\x33' + '\x35', 0o10), nzTpIcepk0o8('\x30' + chr(0b10 + 0o155) + '\063' + chr(376 - 323) + '\066', 0o10), nzTpIcepk0o8('\060' + chr(111) + '\x31' + chr(51) + chr(0b110010), 0b1000), nzTpIcepk0o8('\x30' + '\157' + chr(2406 - 2355) + '\061' + '\x31', ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b110010) + chr(52) + chr(0b101001 + 0o14), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110001) + '\x34' + chr(2082 - 2030), 0b1000), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(535 - 485) + chr(701 - 650) + '\x31', 0o10), nzTpIcepk0o8('\x30' + chr(111) + chr(328 - 278) + '\060' + chr(48), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(8879 - 8768) + '\067' + '\x33', 0o10), nzTpIcepk0o8(chr(0b100110 + 0o12) + '\x6f' + '\065' + chr(52), 0o10), nzTpIcepk0o8(chr(853 - 805) + chr(0b111111 + 0o60) + chr(1710 - 1659) + chr(0b100000 + 0o22) + chr(2391 - 2336), 0o10), nzTpIcepk0o8('\060' + '\157' + chr(50) + chr(0b101001 + 0o13) + '\066', 63750 - 63742), nzTpIcepk0o8('\060' + chr(5767 - 5656) + chr(0b110001) + chr(52) + '\063', 0b1000), nzTpIcepk0o8(chr(0b1110 + 0o42) + '\157' + chr(1574 - 1522) + chr(1091 - 1037), 0b1000), nzTpIcepk0o8(chr(48) + chr(5775 - 5664) + chr(0b100000 + 0o21) + '\x33' + chr(0b110000 + 0o3), 0b1000), nzTpIcepk0o8('\x30' + '\157' + '\x33' + chr(0b11100 + 0o26) + chr(2723 - 2668), 8), nzTpIcepk0o8('\x30' + '\157' + chr(0b11100 + 0o26) + chr(0b10111 + 0o34), 0o10), nzTpIcepk0o8(chr(0b11000 + 0o30) + chr(0b1101111) + chr(0b110011) + '\062' + '\x37', 8), nzTpIcepk0o8(chr(0b0 + 0o60) + chr(111) + chr(1210 - 1159) + '\x34', ord("\x08")), nzTpIcepk0o8(chr(0b101001 + 0o7) + chr(111) + chr(51) + chr(0b110011) + chr(2184 - 2135), ord("\x08")), nzTpIcepk0o8('\x30' + chr(1321 - 1210) + chr(2057 - 2007) + chr(50) + '\x30', 53105 - 53097), nzTpIcepk0o8(chr(0b0 + 0o60) + chr(111) + chr(1355 - 1305) + chr(0b110101) + chr(425 - 373), 0o10), nzTpIcepk0o8(chr(0b11100 + 0o24) + '\157' + '\x31' + chr(0b10110 + 0o41) + '\064', 0o10), nzTpIcepk0o8(chr(48) + '\157' + '\x33' + '\061' + chr(0b110001), 8), nzTpIcepk0o8(chr(0b100 + 0o54) + '\x6f' + chr(801 - 750), 0o10), nzTpIcepk0o8('\x30' + '\157' + '\061' + '\063', ord("\x08")), nzTpIcepk0o8(chr(0b110 + 0o52) + chr(6561 - 6450) + chr(1407 - 1357) + '\065' + '\063', 0b1000), nzTpIcepk0o8(chr(1273 - 1225) + chr(0b1101 + 0o142) + '\061' + chr(53) + chr(51), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(7652 - 7541) + chr(50) + chr(2140 - 2086), 0b1000), nzTpIcepk0o8(chr(0b11010 + 0o26) + chr(0b1101111) + chr(0b110101) + '\x32', 0o10), nzTpIcepk0o8(chr(0b11111 + 0o21) + chr(111) + chr(0b111 + 0o54) + chr(0b10101 + 0o37), 8), nzTpIcepk0o8(chr(48) + chr(7273 - 7162) + chr(0b10 + 0o65) + '\x34', 29596 - 29588), nzTpIcepk0o8(chr(48) + '\x6f' + chr(49) + chr(0b110000 + 0o1), 63118 - 63110), nzTpIcepk0o8('\x30' + chr(8647 - 8536) + chr(0b100111 + 0o14) + chr(52) + chr(48), 0b1000), nzTpIcepk0o8(chr(1943 - 1895) + chr(0b1101111) + chr(0b110111) + '\x37', 23840 - 23832), nzTpIcepk0o8(chr(1177 - 1129) + chr(2398 - 2287) + chr(0b100101 + 0o14) + chr(53) + '\065', 0o10)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(269 - 221) + chr(4243 - 4132) + chr(0b1100 + 0o51) + chr(0b110000), 5069 - 5061)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xac'), '\144' + chr(101) + '\143' + chr(2180 - 2069) + chr(0b1100100) + chr(0b1100101))('\165' + chr(116) + chr(102) + chr(183 - 138) + '\x38') + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def rJLQNCCsH01X(hXMPsSrOQzbh, D4ybylS07yGH, xiP5QxYWlEkW):
(bI5jsQ9OkQtj, Fi3yzxctM1zW) = xiP5QxYWlEkW.CalcUnscrolledPosition(D4ybylS07yGH.GetX(), D4ybylS07yGH.GetY())
mpRHCKgMnohP = xiP5QxYWlEkW.XYToCell(bI5jsQ9OkQtj, Fi3yzxctM1zW)
hRTUxJgvuslu = mpRHCKgMnohP[nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(1401 - 1352), ord("\x08"))]
o6UWUO21mH25 = mpRHCKgMnohP[nzTpIcepk0o8('\x30' + chr(111) + chr(48), 0o10)]
sldzbHve8G1S = xiP5QxYWlEkW.GetCellValue(o6UWUO21mH25, hRTUxJgvuslu)
if ftfygxgFas5X(sldzbHve8G1S) > nzTpIcepk0o8('\060' + chr(111) + '\061' + '\x37', 8):
roI3spqORKae(D4ybylS07yGH.GetEventObject(), roI3spqORKae(ES5oEprVxulp(b'\xd1\xb0\x9b[\xf2\x816\x9d\xcc\x14\xca\xf4IE\xb9\xc1'), chr(100) + chr(9452 - 9351) + '\x63' + '\157' + chr(0b1100100) + chr(0b1100101))('\x75' + chr(4951 - 4835) + chr(102) + chr(45) + '\x38'))(sldzbHve8G1S)
else:
roI3spqORKae(D4ybylS07yGH.GetEventObject(), roI3spqORKae(ES5oEprVxulp(b'\xd1\xb0\x9b[\xf2\x816\x9d\xcc\x14\xca\xf4IE\xb9\xc1'), '\x64' + chr(6086 - 5985) + chr(0b1100011) + chr(0b1100111 + 0o10) + chr(0b1100100) + chr(0b1000111 + 0o36))(chr(117) + chr(7114 - 6998) + chr(0b1100110) + chr(0b111 + 0o46) + chr(0b111000)))(roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(0b110010 + 0o63) + chr(5893 - 5794) + '\157' + chr(7023 - 6923) + '\x65')(chr(0b1110101) + '\x74' + chr(0b100 + 0o142) + chr(0b101101) + chr(1570 - 1514)))
|
PmagPy/PmagPy
|
dialogs/pmag_er_magic_dialogs.py
|
ErMagicCheckFrame.on_helpButton
|
def on_helpButton(self, event, page=None):
"""shows html help page"""
# for use on the command line:
path = find_pmag_dir.get_pmag_dir()
# for use with pyinstaller
#path = self.main_frame.resource_dir
help_page = os.path.join(path, 'dialogs', 'help_files', page)
# if using with py2app, the directory structure is flat,
# so check to see where the resource actually is
if not os.path.exists(help_page):
help_page = os.path.join(path, 'help_files', page)
html_frame = pw.HtmlFrame(self, page=help_page)
html_frame.Show()
|
python
|
def on_helpButton(self, event, page=None):
"""shows html help page"""
# for use on the command line:
path = find_pmag_dir.get_pmag_dir()
# for use with pyinstaller
#path = self.main_frame.resource_dir
help_page = os.path.join(path, 'dialogs', 'help_files', page)
# if using with py2app, the directory structure is flat,
# so check to see where the resource actually is
if not os.path.exists(help_page):
help_page = os.path.join(path, 'help_files', page)
html_frame = pw.HtmlFrame(self, page=help_page)
html_frame.Show()
|
[
"def",
"on_helpButton",
"(",
"self",
",",
"event",
",",
"page",
"=",
"None",
")",
":",
"# for use on the command line:",
"path",
"=",
"find_pmag_dir",
".",
"get_pmag_dir",
"(",
")",
"# for use with pyinstaller",
"#path = self.main_frame.resource_dir",
"help_page",
"=",
"os",
".",
"path",
".",
"join",
"(",
"path",
",",
"'dialogs'",
",",
"'help_files'",
",",
"page",
")",
"# if using with py2app, the directory structure is flat,",
"# so check to see where the resource actually is",
"if",
"not",
"os",
".",
"path",
".",
"exists",
"(",
"help_page",
")",
":",
"help_page",
"=",
"os",
".",
"path",
".",
"join",
"(",
"path",
",",
"'help_files'",
",",
"page",
")",
"html_frame",
"=",
"pw",
".",
"HtmlFrame",
"(",
"self",
",",
"page",
"=",
"help_page",
")",
"html_frame",
".",
"Show",
"(",
")"
] |
shows html help page
|
[
"shows",
"html",
"help",
"page"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/dialogs/pmag_er_magic_dialogs.py#L981-L993
|
train
|
shows html help page
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8('\x30' + chr(0b1101111) + '\x32' + '\x31' + chr(0b110111), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110010) + '\063' + '\066', 0b1000), nzTpIcepk0o8(chr(48) + chr(11497 - 11386) + chr(0b100001 + 0o22) + chr(0b110100) + chr(268 - 217), 0b1000), nzTpIcepk0o8('\060' + '\157' + '\061' + chr(409 - 357) + chr(530 - 482), ord("\x08")), nzTpIcepk0o8('\060' + '\157' + '\x32' + '\064' + '\062', ord("\x08")), nzTpIcepk0o8(chr(0b10100 + 0o34) + '\x6f' + '\064' + chr(53), ord("\x08")), nzTpIcepk0o8(chr(201 - 153) + '\x6f' + '\061' + '\060' + chr(49), ord("\x08")), nzTpIcepk0o8(chr(945 - 897) + '\157' + '\063' + chr(1492 - 1444) + chr(0b10000 + 0o45), ord("\x08")), nzTpIcepk0o8(chr(1012 - 964) + '\x6f' + chr(51) + chr(54) + '\060', 0b1000), nzTpIcepk0o8('\x30' + chr(1067 - 956) + chr(50) + chr(50) + chr(628 - 576), ord("\x08")), nzTpIcepk0o8(chr(205 - 157) + '\x6f' + '\063' + '\061' + chr(478 - 429), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\157' + '\063' + chr(0b110 + 0o53) + chr(0b101101 + 0o12), 42784 - 42776), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\062' + chr(0b110110) + '\064', 0b1000), nzTpIcepk0o8(chr(48) + chr(0b111100 + 0o63) + '\x34' + chr(0b110001), 0b1000), nzTpIcepk0o8(chr(48) + '\157' + chr(50) + chr(194 - 139), ord("\x08")), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110010) + chr(0b10101 + 0o40) + '\066', 44956 - 44948), nzTpIcepk0o8(chr(48) + chr(6716 - 6605) + chr(1667 - 1616) + chr(0b110000) + '\066', 65033 - 65025), nzTpIcepk0o8(chr(0b10100 + 0o34) + chr(0b1101111) + '\064' + chr(0b110010), 0o10), nzTpIcepk0o8(chr(1043 - 995) + chr(0b100001 + 0o116) + chr(0b100 + 0o55) + chr(48) + chr(125 - 76), 8), nzTpIcepk0o8('\x30' + '\157' + chr(55) + chr(53), 0o10), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\063' + chr(2398 - 2343) + chr(55), 46034 - 46026), nzTpIcepk0o8('\x30' + chr(0b111011 + 0o64) + '\061' + chr(0b0 + 0o60) + chr(0b10000 + 0o45), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b1010 + 0o51) + '\066' + chr(51), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(2388 - 2335) + '\062', 0o10), nzTpIcepk0o8(chr(203 - 155) + chr(5571 - 5460) + chr(0b110010) + chr(0b101111 + 0o3) + '\x37', 10873 - 10865), nzTpIcepk0o8(chr(0b100 + 0o54) + chr(111) + chr(2242 - 2189) + chr(0b101100 + 0o12), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b1000 + 0o52) + chr(780 - 728) + '\x31', 0b1000), nzTpIcepk0o8(chr(48) + chr(111) + '\061' + chr(0b1111 + 0o45) + '\x35', 0b1000), nzTpIcepk0o8(chr(786 - 738) + chr(111) + chr(0b0 + 0o61) + chr(52) + chr(0b110000), 8), nzTpIcepk0o8(chr(0b101000 + 0o10) + chr(0b1101111) + chr(2399 - 2346), ord("\x08")), nzTpIcepk0o8('\x30' + chr(11343 - 11232) + chr(0b110010) + chr(0b110110) + '\066', 0b1000), nzTpIcepk0o8('\060' + '\157' + '\061' + '\067' + chr(861 - 812), 31204 - 31196), nzTpIcepk0o8('\x30' + chr(1469 - 1358) + '\063' + '\x35' + chr(52), 0b1000), nzTpIcepk0o8('\060' + chr(3478 - 3367) + '\x33' + chr(0b110101 + 0o0) + '\064', 8), nzTpIcepk0o8(chr(0b110000) + chr(0b1101100 + 0o3) + chr(49) + chr(0b1111 + 0o50) + chr(0b110111), 0o10), nzTpIcepk0o8('\060' + chr(5375 - 5264) + chr(55) + '\063', ord("\x08")), nzTpIcepk0o8(chr(2044 - 1996) + '\x6f' + chr(0b101011 + 0o6) + chr(0b110010) + '\x30', ord("\x08")), nzTpIcepk0o8(chr(0b11101 + 0o23) + chr(0b1101111) + '\063' + chr(2361 - 2306), 0b1000), nzTpIcepk0o8(chr(48) + '\157' + '\062' + chr(0b110001) + chr(55), 8), nzTpIcepk0o8(chr(48) + chr(0b100101 + 0o112) + '\x33' + chr(0b110010) + chr(50), 0b1000)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b110101) + chr(2302 - 2254), 56136 - 56128)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xa1'), chr(9841 - 9741) + chr(0b1100101) + chr(3754 - 3655) + chr(0b101010 + 0o105) + '\x64' + chr(0b1001111 + 0o26))('\x75' + chr(0b10101 + 0o137) + chr(0b1010010 + 0o24) + '\x2d' + chr(0b100110 + 0o22)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def MG0TdEoMoRFj(hXMPsSrOQzbh, D4ybylS07yGH, saC2QU0nRquP=None):
_pSYqrosNb95 = DDUSrVwNpia9.get_pmag_dir()
dRn2r7xwodjq = aHUqKstZLeS6.path.Y4yM9BcfTCNq(_pSYqrosNb95, roI3spqORKae(ES5oEprVxulp(b'\xeb\xf7\x82\x0c\xcdB2'), chr(0b1100100) + chr(101) + chr(0b1100011) + '\157' + chr(0b1010111 + 0o15) + chr(649 - 548))('\x75' + chr(0b10100 + 0o140) + chr(0b1100110) + chr(860 - 815) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xe7\xfb\x8f\x10\xfdC(\xa9\x95\xe7'), chr(0b10001 + 0o123) + chr(8404 - 8303) + chr(4100 - 4001) + chr(111) + chr(0b1100100) + chr(101))(chr(10661 - 10544) + '\x74' + chr(0b1011011 + 0o13) + '\055' + chr(619 - 563)), saC2QU0nRquP)
if not roI3spqORKae(aHUqKstZLeS6.path, roI3spqORKae(ES5oEprVxulp(b'\xf5\xcd\xaa\x19\xccu4\x80\x86\xf8\x98\xfb'), chr(0b10001 + 0o123) + chr(0b110111 + 0o56) + '\x63' + '\x6f' + chr(6078 - 5978) + chr(5016 - 4915))(chr(12172 - 12055) + chr(116) + chr(0b1100110) + '\x2d' + chr(0b11000 + 0o40)))(dRn2r7xwodjq):
dRn2r7xwodjq = aHUqKstZLeS6.path.Y4yM9BcfTCNq(_pSYqrosNb95, roI3spqORKae(ES5oEprVxulp(b'\xe7\xfb\x8f\x10\xfdC(\xa9\x95\xe7'), '\144' + chr(0b1100101 + 0o0) + chr(0b110 + 0o135) + chr(111) + '\x64' + chr(101))(chr(117) + chr(3419 - 3303) + chr(102) + '\x2d' + chr(0b111000)), saC2QU0nRquP)
rpzxejTUDEyC = saCGFe0zE73j.HtmlFrame(hXMPsSrOQzbh, page=dRn2r7xwodjq)
roI3spqORKae(rpzxejTUDEyC, roI3spqORKae(ES5oEprVxulp(b'\xdc\xf6\x8c\x17'), chr(0b1100100) + '\x65' + '\x63' + '\157' + '\144' + chr(0b1100101))('\165' + '\164' + chr(0b1100110) + chr(0b1000 + 0o45) + chr(0b10011 + 0o45)))()
|
PmagPy/PmagPy
|
dialogs/pmag_er_magic_dialogs.py
|
ErMagicCheckFrame.on_continueButton
|
def on_continueButton(self, event, grid, next_dia=None):
"""
pulls up next dialog, if there is one.
gets any updated information from the current grid and runs ErMagicBuilder
"""
#wait = wx.BusyInfo("Please wait, working...")
# unhighlight selected columns, etc.
if self.drop_down_menu:
self.drop_down_menu.clean_up()
# remove '**' from col names
#self.remove_starred_labels(grid)
grid.remove_starred_labels()
grid.SaveEditControlValue() # locks in value in cell currently edited
grid_name = str(grid.GetName())
# check that all required data are present
validation_errors = self.validate(grid)
if validation_errors:
result = pw.warning_with_override("You are missing required data in these columns: {}\nAre you sure you want to continue without these data?".format(', '.join(validation_errors)))
if result == wx.ID_YES:
pass
else:
return False
if grid.changes:
self.onSave(grid)
self.deleteRowButton = None
#self.panel.Destroy() # calling Destroy here breaks with Anaconda Python (segfault)
# make sure that specimens get propagated with
# any default sample info
if next_dia == self.InitLocCheck:
if self.er_magic_data.specimens:
for spec in self.er_magic_data.specimens:
spec.propagate_data()
if next_dia:
wait = wx.BusyInfo("Please wait, working...")
wx.SafeYield()
wx.CallAfter(self.panel.Destroy) # no segfault here!
next_dia()
# need to wait to process the resize:
event = wx.PyCommandEvent(wx.EVT_SIZE.typeId, self.GetId())
wx.CallAfter(self.GetEventHandler().ProcessEvent, event)
del wait
else:
wait = wx.BusyInfo("Please wait, writing data to files...")
wx.SafeYield()
# actually write data:
self.er_magic_data.write_files()
self.Destroy()
del wait
|
python
|
def on_continueButton(self, event, grid, next_dia=None):
"""
pulls up next dialog, if there is one.
gets any updated information from the current grid and runs ErMagicBuilder
"""
#wait = wx.BusyInfo("Please wait, working...")
# unhighlight selected columns, etc.
if self.drop_down_menu:
self.drop_down_menu.clean_up()
# remove '**' from col names
#self.remove_starred_labels(grid)
grid.remove_starred_labels()
grid.SaveEditControlValue() # locks in value in cell currently edited
grid_name = str(grid.GetName())
# check that all required data are present
validation_errors = self.validate(grid)
if validation_errors:
result = pw.warning_with_override("You are missing required data in these columns: {}\nAre you sure you want to continue without these data?".format(', '.join(validation_errors)))
if result == wx.ID_YES:
pass
else:
return False
if grid.changes:
self.onSave(grid)
self.deleteRowButton = None
#self.panel.Destroy() # calling Destroy here breaks with Anaconda Python (segfault)
# make sure that specimens get propagated with
# any default sample info
if next_dia == self.InitLocCheck:
if self.er_magic_data.specimens:
for spec in self.er_magic_data.specimens:
spec.propagate_data()
if next_dia:
wait = wx.BusyInfo("Please wait, working...")
wx.SafeYield()
wx.CallAfter(self.panel.Destroy) # no segfault here!
next_dia()
# need to wait to process the resize:
event = wx.PyCommandEvent(wx.EVT_SIZE.typeId, self.GetId())
wx.CallAfter(self.GetEventHandler().ProcessEvent, event)
del wait
else:
wait = wx.BusyInfo("Please wait, writing data to files...")
wx.SafeYield()
# actually write data:
self.er_magic_data.write_files()
self.Destroy()
del wait
|
[
"def",
"on_continueButton",
"(",
"self",
",",
"event",
",",
"grid",
",",
"next_dia",
"=",
"None",
")",
":",
"#wait = wx.BusyInfo(\"Please wait, working...\")",
"# unhighlight selected columns, etc.",
"if",
"self",
".",
"drop_down_menu",
":",
"self",
".",
"drop_down_menu",
".",
"clean_up",
"(",
")",
"# remove '**' from col names",
"#self.remove_starred_labels(grid)",
"grid",
".",
"remove_starred_labels",
"(",
")",
"grid",
".",
"SaveEditControlValue",
"(",
")",
"# locks in value in cell currently edited",
"grid_name",
"=",
"str",
"(",
"grid",
".",
"GetName",
"(",
")",
")",
"# check that all required data are present",
"validation_errors",
"=",
"self",
".",
"validate",
"(",
"grid",
")",
"if",
"validation_errors",
":",
"result",
"=",
"pw",
".",
"warning_with_override",
"(",
"\"You are missing required data in these columns: {}\\nAre you sure you want to continue without these data?\"",
".",
"format",
"(",
"', '",
".",
"join",
"(",
"validation_errors",
")",
")",
")",
"if",
"result",
"==",
"wx",
".",
"ID_YES",
":",
"pass",
"else",
":",
"return",
"False",
"if",
"grid",
".",
"changes",
":",
"self",
".",
"onSave",
"(",
"grid",
")",
"self",
".",
"deleteRowButton",
"=",
"None",
"#self.panel.Destroy() # calling Destroy here breaks with Anaconda Python (segfault)",
"# make sure that specimens get propagated with",
"# any default sample info",
"if",
"next_dia",
"==",
"self",
".",
"InitLocCheck",
":",
"if",
"self",
".",
"er_magic_data",
".",
"specimens",
":",
"for",
"spec",
"in",
"self",
".",
"er_magic_data",
".",
"specimens",
":",
"spec",
".",
"propagate_data",
"(",
")",
"if",
"next_dia",
":",
"wait",
"=",
"wx",
".",
"BusyInfo",
"(",
"\"Please wait, working...\"",
")",
"wx",
".",
"SafeYield",
"(",
")",
"wx",
".",
"CallAfter",
"(",
"self",
".",
"panel",
".",
"Destroy",
")",
"# no segfault here!",
"next_dia",
"(",
")",
"# need to wait to process the resize:",
"event",
"=",
"wx",
".",
"PyCommandEvent",
"(",
"wx",
".",
"EVT_SIZE",
".",
"typeId",
",",
"self",
".",
"GetId",
"(",
")",
")",
"wx",
".",
"CallAfter",
"(",
"self",
".",
"GetEventHandler",
"(",
")",
".",
"ProcessEvent",
",",
"event",
")",
"del",
"wait",
"else",
":",
"wait",
"=",
"wx",
".",
"BusyInfo",
"(",
"\"Please wait, writing data to files...\"",
")",
"wx",
".",
"SafeYield",
"(",
")",
"# actually write data:",
"self",
".",
"er_magic_data",
".",
"write_files",
"(",
")",
"self",
".",
"Destroy",
"(",
")",
"del",
"wait"
] |
pulls up next dialog, if there is one.
gets any updated information from the current grid and runs ErMagicBuilder
|
[
"pulls",
"up",
"next",
"dialog",
"if",
"there",
"is",
"one",
".",
"gets",
"any",
"updated",
"information",
"from",
"the",
"current",
"grid",
"and",
"runs",
"ErMagicBuilder"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/dialogs/pmag_er_magic_dialogs.py#L995-L1049
|
train
|
This method is called when the user is about to continue with the current grid.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8('\060' + chr(0b1101111) + chr(51) + chr(0b110110 + 0o0) + '\x37', ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1000111 + 0o50) + chr(0b100010 + 0o20) + chr(55) + chr(0b110110), 0b1000), nzTpIcepk0o8('\x30' + chr(0b11110 + 0o121) + chr(0b110011) + chr(55) + chr(50), 11687 - 11679), nzTpIcepk0o8(chr(1593 - 1545) + chr(0b1011110 + 0o21) + '\061' + '\060' + chr(2835 - 2781), 0b1000), nzTpIcepk0o8('\060' + chr(0b10110 + 0o131) + '\x31' + chr(0b110000) + '\x32', 35018 - 35010), nzTpIcepk0o8('\x30' + chr(10619 - 10508) + chr(0b110001) + chr(0b10001 + 0o42) + chr(0b100101 + 0o16), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b110101 + 0o72) + chr(0b1101 + 0o45) + '\x35' + chr(54), 61429 - 61421), nzTpIcepk0o8(chr(48) + chr(111) + chr(0b110010) + chr(48) + chr(50), 62802 - 62794), nzTpIcepk0o8(chr(1138 - 1090) + '\x6f' + '\062' + chr(0b11100 + 0o24) + '\x30', 27720 - 27712), nzTpIcepk0o8('\060' + chr(111) + chr(1122 - 1072) + '\061' + '\060', 0b1000), nzTpIcepk0o8(chr(0b10010 + 0o36) + '\157' + chr(0b101101 + 0o5) + chr(0b110110) + '\063', ord("\x08")), nzTpIcepk0o8('\x30' + '\157' + chr(49) + chr(52) + '\066', 55217 - 55209), nzTpIcepk0o8('\060' + chr(111) + chr(585 - 536) + chr(49) + chr(2542 - 2491), 0o10), nzTpIcepk0o8(chr(1392 - 1344) + chr(0b1010 + 0o145) + '\x33' + chr(0b110010) + chr(0b110100), 0b1000), nzTpIcepk0o8('\x30' + '\157' + '\x32' + chr(0b110100) + chr(775 - 720), 0o10), nzTpIcepk0o8(chr(48) + '\x6f' + chr(374 - 325) + chr(55) + chr(55), ord("\x08")), nzTpIcepk0o8('\x30' + chr(111) + chr(0b110100) + chr(0b110010), 26877 - 26869), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\061' + chr(54) + '\063', 0b1000), nzTpIcepk0o8('\x30' + '\157' + '\x34', 0b1000), nzTpIcepk0o8('\060' + chr(0b110100 + 0o73) + chr(50) + '\062' + chr(49), 33195 - 33187), nzTpIcepk0o8('\060' + chr(9537 - 9426) + chr(2250 - 2199) + '\067' + chr(585 - 535), 8), nzTpIcepk0o8('\x30' + '\157' + chr(2056 - 2005) + chr(0b10100 + 0o37) + chr(0b1011 + 0o47), 0b1000), nzTpIcepk0o8(chr(0b1100 + 0o44) + chr(0b1101111) + '\062' + chr(0b110100) + chr(53), 45482 - 45474), nzTpIcepk0o8(chr(483 - 435) + chr(3559 - 3448) + chr(51) + chr(0b1011 + 0o47) + '\x33', 3407 - 3399), nzTpIcepk0o8(chr(1797 - 1749) + chr(0b1101111) + chr(0b110010) + chr(0b1101 + 0o51) + chr(0b110101), 0o10), nzTpIcepk0o8('\060' + '\157' + chr(0b10100 + 0o35) + '\066' + '\064', 0o10), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(1373 - 1320) + chr(504 - 453), 0o10), nzTpIcepk0o8('\060' + '\x6f' + chr(837 - 788) + chr(0b100100 + 0o23) + '\x32', 0o10), nzTpIcepk0o8('\060' + chr(0b1100111 + 0o10) + chr(0b110011) + chr(1615 - 1563) + chr(52), 0o10), nzTpIcepk0o8(chr(1262 - 1214) + chr(414 - 303) + '\067' + chr(0b1111 + 0o45), 0o10), nzTpIcepk0o8(chr(0b10010 + 0o36) + '\x6f' + chr(0b11100 + 0o31) + chr(0b110010), 0o10), nzTpIcepk0o8('\x30' + chr(0b1001101 + 0o42) + chr(1138 - 1088) + chr(2301 - 2248), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(2441 - 2330) + chr(0b110010 + 0o1) + '\065' + chr(2426 - 2375), 0o10), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110010) + '\062' + '\x37', 29987 - 29979), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b110010) + chr(0b100111 + 0o20) + chr(1322 - 1274), 5287 - 5279), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(52), 8), nzTpIcepk0o8(chr(0b110000) + '\157' + '\061' + chr(0b110011) + chr(0b10100 + 0o34), ord("\x08")), nzTpIcepk0o8(chr(0b101101 + 0o3) + chr(111) + '\x33' + chr(53) + chr(0b10110 + 0o41), 61314 - 61306), nzTpIcepk0o8(chr(0b1010 + 0o46) + chr(111) + chr(0b110010) + chr(51) + chr(0b100010 + 0o21), 0b1000), nzTpIcepk0o8('\x30' + '\x6f' + '\063' + chr(237 - 184) + '\063', 8)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(1121 - 1073) + '\157' + chr(2536 - 2483) + '\060', ord("\x08"))] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xd9'), '\x64' + chr(0b11011 + 0o112) + '\x63' + chr(0b111100 + 0o63) + chr(100) + '\x65')(chr(0b1110101) + '\164' + '\x66' + chr(2021 - 1976) + chr(0b111000)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def asqVRiM1W0DO(hXMPsSrOQzbh, D4ybylS07yGH, xiP5QxYWlEkW, Pp0GQ4IchjXL=None):
if roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x95\xdb\xaf-\x08\x0e\xd8\xbb\xce\xee\xe4%'), chr(8923 - 8823) + '\x65' + '\x63' + '\x6f' + '\144' + chr(0b1100101))('\165' + chr(116) + chr(0b1100110) + chr(0b11001 + 0o24) + chr(0b101010 + 0o16))):
roI3spqORKae(hXMPsSrOQzbh.drop_down_menu, roI3spqORKae(ES5oEprVxulp(b"\x94\xd2\x9f',\x04\xdb\xf2"), chr(3149 - 3049) + chr(0b10011 + 0o122) + chr(99) + chr(933 - 822) + '\144' + chr(0b1100101))(chr(1751 - 1634) + chr(0b1110100) + chr(0b1100110) + chr(613 - 568) + chr(0b10110 + 0o42)))()
roI3spqORKae(xiP5QxYWlEkW, roI3spqORKae(ES5oEprVxulp(b'\x85\xdb\x97)4>\xf1\xf1\xf4\xe9\xc1\x14.\xb0\xf8\x13C\x11a\xfd\x89'), chr(100) + chr(0b1 + 0o144) + '\x63' + chr(0b1101111) + '\x64' + chr(0b110010 + 0o63))(chr(9820 - 9703) + chr(0b1110100) + chr(3385 - 3283) + '\055' + chr(2658 - 2602)))()
roI3spqORKae(xiP5QxYWlEkW, roI3spqORKae(ES5oEprVxulp(b'\xa4\xdf\x8c#\x07?\xc7\xf6\xc3\xe7\xdd\x129\xbb\xcb)C\x1fq\xf4'), chr(0b1010101 + 0o17) + chr(0b11 + 0o142) + chr(0b1100011) + chr(111) + chr(100) + '\145')(chr(0b1110101) + chr(0b1001000 + 0o54) + chr(0b1100110) + '\055' + chr(56)))()
ufJVF7WOU8dC = N9zlRy29S1SS(xiP5QxYWlEkW.vs088p4r1szs())
neH13jU960Qi = hXMPsSrOQzbh.G40dcSccAFaB(xiP5QxYWlEkW)
if neH13jU960Qi:
POx95m7SPOVy = saCGFe0zE73j.warning_with_override(roI3spqORKae(ES5oEprVxulp(b'\xae\xd1\x8ff#)\xcb\xa2\xed\xe1\xc0\x15"\xba\xc0_P\x16u\xe4\x93\xa8\xc0\xb7\x95\x10J\x0e\x85\x1cC{\xcb\xe3\xd0a+\x8a\xbb\x88\x98\xd2\x8f+,(\x94\xa2\xfb\xf5\xb9\'9\xb1\x87\x06M\x06$\xe2\x8f\xa8\xc0\xf3\xcc\x1b^Z\x93]Da\xcb\xe3\xd7$;\x80\xf5\x9f\x9e\xd0\x8f#b,\xc7\xf6\xe8\xe7\xc6\x12k\xa0\xcf\x1aQ\x16$\xf5\x9b\xae\xc4\xec'), '\144' + chr(101) + chr(8947 - 8848) + '\157' + chr(4536 - 4436) + '\145')('\x75' + '\x74' + chr(2123 - 2021) + '\055' + '\x38').q33KG3foQ_CJ(roI3spqORKae(ES5oEprVxulp(b'\xdb\x9e'), chr(0b100001 + 0o103) + '\145' + chr(99) + chr(0b1101111) + chr(0b1100100) + chr(7984 - 7883))(chr(117) + chr(0b111110 + 0o66) + '\146' + chr(0b100010 + 0o13) + '\x38').Y4yM9BcfTCNq(neH13jU960Qi)))
if POx95m7SPOVy == roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xbe\xfa\xa5\x1f\x07\x08'), chr(100) + chr(101) + chr(0b10100 + 0o117) + chr(1525 - 1414) + chr(4180 - 4080) + chr(0b100101 + 0o100))(chr(0b1110101) + chr(0b1110001 + 0o3) + chr(0b1100110) + chr(0b101101) + chr(2735 - 2679))):
pass
else:
return nzTpIcepk0o8('\060' + chr(5013 - 4902) + '\x30', 198 - 190)
if roI3spqORKae(xiP5QxYWlEkW, roI3spqORKae(ES5oEprVxulp(b'\xad\xe1\xbf\x00*\x1e\xe8\xed\xe4\xc5\xd7^'), '\x64' + chr(1050 - 949) + chr(0b1100011) + '\157' + chr(100) + chr(186 - 85))(chr(0b1110101) + chr(5710 - 5594) + '\x66' + '\055' + chr(0b111000))):
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b"\x98\xd0\xa9'4>"), chr(0b1100100) + '\145' + chr(0b1100011) + chr(0b1101111) + chr(100) + chr(3877 - 3776))(chr(117) + chr(0b1110100) + '\x66' + chr(0b101101 + 0o0) + chr(0b110010 + 0o6)))(xiP5QxYWlEkW)
hXMPsSrOQzbh.wl01LRemEZlu = None
if Pp0GQ4IchjXL == roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xbe\xd0\x932\x0e4\xcd\xc1\xe8\xed\xd0\r'), chr(0b1100100) + '\145' + '\x63' + '\157' + '\x64' + chr(101))(chr(0b110111 + 0o76) + '\164' + '\x66' + chr(45) + '\x38')):
if roI3spqORKae(hXMPsSrOQzbh.er_magic_data, roI3spqORKae(ES5oEprVxulp(b'\x84\xce\x9f%+6\xcb\xec\xf3'), chr(652 - 552) + chr(0b10001 + 0o124) + chr(0b1010000 + 0o23) + chr(10290 - 10179) + '\144' + chr(0b1011000 + 0o15))(chr(0b1110101) + chr(0b1110100) + chr(102) + chr(497 - 452) + chr(56))):
for L66BkZPPV93j in roI3spqORKae(hXMPsSrOQzbh.er_magic_data, roI3spqORKae(ES5oEprVxulp(b'\x84\xce\x9f%+6\xcb\xec\xf3'), '\144' + '\x65' + chr(1488 - 1389) + chr(0b1101111) + chr(0b1011110 + 0o6) + chr(8030 - 7929))(chr(0b1100011 + 0o22) + chr(116) + '\x66' + chr(0b11010 + 0o23) + chr(0b111000))):
roI3spqORKae(L66BkZPPV93j, roI3spqORKae(ES5oEprVxulp(b'\x87\xcc\x956#<\xcf\xf6\xe5\xd7\xd7\x07?\xb5'), chr(3019 - 2919) + '\145' + chr(99) + chr(111) + chr(0b1100100) + chr(5119 - 5018))(chr(0b1110101) + chr(9370 - 9254) + chr(0b1100110) + '\x2d' + chr(714 - 658)))()
if Pp0GQ4IchjXL:
VBnaM0jy14aO = FHAk5xm055cs.BusyInfo(roI3spqORKae(ES5oEprVxulp(b"\xa7\xd2\x9f'1>\x8e\xf5\xe1\xe1\xc7Jk\xa3\xc8\rI\x1aj\xf6\xd4\xf4\x8b"), chr(2884 - 2784) + '\x65' + chr(99) + chr(0b1101111) + chr(0b1100100) + '\145')(chr(117) + chr(0b1100100 + 0o20) + '\x66' + chr(0b11001 + 0o24) + '\070'))
roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xa4\xdf\x9c#\x1b2\xcb\xee\xe4'), chr(0b101001 + 0o73) + '\145' + '\x63' + '\x6f' + chr(8681 - 8581) + chr(6732 - 6631))('\x75' + chr(0b1110100) + '\x66' + chr(476 - 431) + chr(0b110110 + 0o2)))()
roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xb4\xdf\x96*\x03=\xda\xe7\xf2'), chr(5713 - 5613) + chr(0b1010 + 0o133) + chr(0b1100011) + '\x6f' + chr(100) + chr(5686 - 5585))(chr(13506 - 13389) + chr(116) + chr(0b1100110) + '\x2d' + chr(56)))(roI3spqORKae(hXMPsSrOQzbh.panel, roI3spqORKae(ES5oEprVxulp(b'\xb3\xdb\x89204\xd7'), chr(8024 - 7924) + chr(0b101010 + 0o73) + chr(99) + '\x6f' + chr(7009 - 6909) + '\145')(chr(0b1110101) + '\164' + chr(8822 - 8720) + chr(45) + chr(0b111000))))
Pp0GQ4IchjXL()
D4ybylS07yGH = FHAk5xm055cs.PyCommandEvent(FHAk5xm055cs.EVT_SIZE.typeId, hXMPsSrOQzbh.GetId())
roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xb4\xdf\x96*\x03=\xda\xe7\xf2'), '\144' + chr(9720 - 9619) + chr(5588 - 5489) + chr(111) + chr(3093 - 2993) + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + chr(0b1000110 + 0o40) + '\x2d' + '\070'))(roI3spqORKae(hXMPsSrOQzbh.GetEventHandler(), roI3spqORKae(ES5oEprVxulp(b"\xa7\xcc\x95%'(\xdd\xc7\xf6\xed\xdd\x12"), chr(0b110 + 0o136) + chr(7819 - 7718) + chr(7579 - 7480) + chr(111) + chr(100) + '\145')(chr(0b1000100 + 0o61) + chr(0b1110100) + chr(102) + '\x2d' + chr(0b101000 + 0o20))), D4ybylS07yGH)
del VBnaM0jy14aO
else:
VBnaM0jy14aO = FHAk5xm055cs.BusyInfo(roI3spqORKae(ES5oEprVxulp(b"\xa7\xd2\x9f'1>\x8e\xf5\xe1\xe1\xc7Jk\xa3\xd5\x16V\x1aj\xf6\xda\xbe\xc4\xa7\xd4T_\x15\xc4ZCy\x8e\xe4\x96*v"), chr(0b1010110 + 0o16) + chr(101) + '\x63' + chr(111) + chr(100) + chr(1832 - 1731))(chr(0b1000111 + 0o56) + chr(116) + chr(0b1100110) + '\055' + chr(0b111000)))
roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xa4\xdf\x9c#\x1b2\xcb\xee\xe4'), chr(0b1100100) + '\x65' + '\143' + chr(0b1101111) + chr(1562 - 1462) + chr(0b1100101))('\x75' + chr(116) + '\146' + chr(0b101101) + chr(2290 - 2234)))()
roI3spqORKae(hXMPsSrOQzbh.er_magic_data, roI3spqORKae(ES5oEprVxulp(b"\x80\xcc\x932'\x04\xc8\xeb\xec\xed\xc0"), '\144' + chr(101) + chr(99) + '\x6f' + chr(100) + '\x65')('\165' + chr(116) + '\x66' + '\x2d' + '\070'))()
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xb3\xdb\x89204\xd7'), '\144' + chr(0b1100101) + chr(0b1100011) + '\x6f' + '\144' + chr(5870 - 5769))(chr(0b1110101) + '\164' + chr(0b1100110) + chr(45) + chr(0b111000)))()
del VBnaM0jy14aO
|
PmagPy/PmagPy
|
dialogs/pmag_er_magic_dialogs.py
|
ErMagicCheckFrame.onDeleteRow
|
def onDeleteRow(self, event, data_type):
"""
On button click, remove relevant object from both the data model and the grid.
"""
ancestry = self.er_magic_data.ancestry
child_type = ancestry[ancestry.index(data_type) - 1]
names = [self.grid.GetCellValue(row, 0) for row in self.selected_rows]
if data_type == 'site':
how_to_fix = 'Make sure to select a new site for each orphaned sample in the next step'
else:
how_to_fix = 'Go back a step and select a new {} for each orphaned {}'.format(data_type, child_type)
orphans = []
for name in names:
row = self.grid.row_labels.index(name)
orphan = self.er_magic_data.delete_methods[data_type](name)
if orphan:
orphans.extend(orphan)
self.grid.remove_row(row)
if orphans:
orphan_names = self.er_magic_data.make_name_list(orphans)
pw.simple_warning('You have deleted:\n\n {}\n\nthe parent(s) of {}(s):\n\n {}\n\n{}'.format(', '.join(names), child_type, ', '.join(orphan_names), how_to_fix))
self.selected_rows = set()
# update grid and data model
self.update_grid(self.grid)#, grids[grid_name])
self.grid.Refresh()
|
python
|
def onDeleteRow(self, event, data_type):
"""
On button click, remove relevant object from both the data model and the grid.
"""
ancestry = self.er_magic_data.ancestry
child_type = ancestry[ancestry.index(data_type) - 1]
names = [self.grid.GetCellValue(row, 0) for row in self.selected_rows]
if data_type == 'site':
how_to_fix = 'Make sure to select a new site for each orphaned sample in the next step'
else:
how_to_fix = 'Go back a step and select a new {} for each orphaned {}'.format(data_type, child_type)
orphans = []
for name in names:
row = self.grid.row_labels.index(name)
orphan = self.er_magic_data.delete_methods[data_type](name)
if orphan:
orphans.extend(orphan)
self.grid.remove_row(row)
if orphans:
orphan_names = self.er_magic_data.make_name_list(orphans)
pw.simple_warning('You have deleted:\n\n {}\n\nthe parent(s) of {}(s):\n\n {}\n\n{}'.format(', '.join(names), child_type, ', '.join(orphan_names), how_to_fix))
self.selected_rows = set()
# update grid and data model
self.update_grid(self.grid)#, grids[grid_name])
self.grid.Refresh()
|
[
"def",
"onDeleteRow",
"(",
"self",
",",
"event",
",",
"data_type",
")",
":",
"ancestry",
"=",
"self",
".",
"er_magic_data",
".",
"ancestry",
"child_type",
"=",
"ancestry",
"[",
"ancestry",
".",
"index",
"(",
"data_type",
")",
"-",
"1",
"]",
"names",
"=",
"[",
"self",
".",
"grid",
".",
"GetCellValue",
"(",
"row",
",",
"0",
")",
"for",
"row",
"in",
"self",
".",
"selected_rows",
"]",
"if",
"data_type",
"==",
"'site'",
":",
"how_to_fix",
"=",
"'Make sure to select a new site for each orphaned sample in the next step'",
"else",
":",
"how_to_fix",
"=",
"'Go back a step and select a new {} for each orphaned {}'",
".",
"format",
"(",
"data_type",
",",
"child_type",
")",
"orphans",
"=",
"[",
"]",
"for",
"name",
"in",
"names",
":",
"row",
"=",
"self",
".",
"grid",
".",
"row_labels",
".",
"index",
"(",
"name",
")",
"orphan",
"=",
"self",
".",
"er_magic_data",
".",
"delete_methods",
"[",
"data_type",
"]",
"(",
"name",
")",
"if",
"orphan",
":",
"orphans",
".",
"extend",
"(",
"orphan",
")",
"self",
".",
"grid",
".",
"remove_row",
"(",
"row",
")",
"if",
"orphans",
":",
"orphan_names",
"=",
"self",
".",
"er_magic_data",
".",
"make_name_list",
"(",
"orphans",
")",
"pw",
".",
"simple_warning",
"(",
"'You have deleted:\\n\\n {}\\n\\nthe parent(s) of {}(s):\\n\\n {}\\n\\n{}'",
".",
"format",
"(",
"', '",
".",
"join",
"(",
"names",
")",
",",
"child_type",
",",
"', '",
".",
"join",
"(",
"orphan_names",
")",
",",
"how_to_fix",
")",
")",
"self",
".",
"selected_rows",
"=",
"set",
"(",
")",
"# update grid and data model",
"self",
".",
"update_grid",
"(",
"self",
".",
"grid",
")",
"#, grids[grid_name])",
"self",
".",
"grid",
".",
"Refresh",
"(",
")"
] |
On button click, remove relevant object from both the data model and the grid.
|
[
"On",
"button",
"click",
"remove",
"relevant",
"object",
"from",
"both",
"the",
"data",
"model",
"and",
"the",
"grid",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/dialogs/pmag_er_magic_dialogs.py#L1100-L1128
|
train
|
Delete the selected object from both the data model and the grid.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8('\060' + chr(111) + '\064' + chr(0b10010 + 0o36), 2602 - 2594), nzTpIcepk0o8('\x30' + '\157' + chr(51) + chr(207 - 159) + chr(0b101011 + 0o11), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(9721 - 9610) + chr(983 - 933) + chr(800 - 751) + chr(903 - 851), 54004 - 53996), nzTpIcepk0o8(chr(48) + chr(111) + chr(242 - 191) + chr(0b110110) + chr(839 - 786), 63785 - 63777), nzTpIcepk0o8(chr(48) + chr(111) + chr(51) + chr(0b110 + 0o54) + '\x30', 15064 - 15056), nzTpIcepk0o8(chr(48) + '\x6f' + chr(50) + chr(0b110100) + '\060', ord("\x08")), nzTpIcepk0o8(chr(48) + '\157' + chr(1402 - 1351) + chr(0b100101 + 0o16) + chr(2084 - 2032), 0o10), nzTpIcepk0o8('\x30' + chr(111) + '\063' + chr(55) + chr(0b110101), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1011100 + 0o23) + chr(0b1100 + 0o45) + '\x37' + chr(0b110001 + 0o2), 62289 - 62281), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\062' + chr(1156 - 1106) + '\x31', 0b1000), nzTpIcepk0o8('\060' + chr(8301 - 8190) + chr(50) + chr(941 - 886), 0o10), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\x31' + chr(0b110011) + chr(0b110101), 0b1000), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\x33' + chr(1593 - 1538) + chr(0b110101), 8), nzTpIcepk0o8('\x30' + chr(8843 - 8732) + '\x33' + '\064', 30489 - 30481), nzTpIcepk0o8('\060' + '\157' + chr(0b110010) + '\x33' + chr(0b100111 + 0o11), 0b1000), nzTpIcepk0o8('\x30' + chr(8988 - 8877) + chr(2021 - 1969) + chr(819 - 768), 43512 - 43504), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(1710 - 1660) + chr(0b110011) + chr(0b101101 + 0o11), 42768 - 42760), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b110011) + chr(50) + chr(0b0 + 0o62), ord("\x08")), nzTpIcepk0o8('\060' + chr(111) + '\063' + '\065' + '\063', 24598 - 24590), nzTpIcepk0o8('\060' + '\157' + '\061' + '\063' + '\063', 0b1000), nzTpIcepk0o8('\x30' + chr(0b1101111) + '\062' + chr(0b110001) + chr(0b110101), 6534 - 6526), nzTpIcepk0o8(chr(1727 - 1679) + '\157' + chr(2251 - 2200) + chr(55) + chr(0b100000 + 0o20), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1001100 + 0o43) + '\062' + '\060' + chr(52), ord("\x08")), nzTpIcepk0o8(chr(641 - 593) + chr(0b1101111) + chr(51) + chr(0b10 + 0o63) + '\065', 28989 - 28981), nzTpIcepk0o8('\x30' + '\x6f' + '\063' + chr(0b100110 + 0o12) + chr(50), 0o10), nzTpIcepk0o8(chr(0b100100 + 0o14) + '\157' + chr(659 - 609) + '\067' + chr(0b10111 + 0o40), 51808 - 51800), nzTpIcepk0o8('\060' + '\x6f' + chr(0b110010) + chr(1695 - 1641) + chr(0b100001 + 0o24), 0o10), nzTpIcepk0o8('\x30' + chr(7604 - 7493) + chr(0b110010) + chr(0b110001), 12373 - 12365), nzTpIcepk0o8(chr(48) + chr(0b1100011 + 0o14) + '\067' + chr(0b1110 + 0o51), 18107 - 18099), nzTpIcepk0o8(chr(48) + '\157' + chr(49) + '\x30' + '\060', 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(2288 - 2239) + chr(0b110101) + '\062', 0o10), nzTpIcepk0o8(chr(48) + chr(175 - 64) + chr(50) + chr(0b110010) + '\063', 9844 - 9836), nzTpIcepk0o8('\x30' + chr(111) + chr(0b1001 + 0o54) + chr(2169 - 2119), 0o10), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(49) + '\064' + chr(928 - 874), ord("\x08")), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(49) + chr(55) + '\x34', 0b1000), nzTpIcepk0o8(chr(0b100101 + 0o13) + '\x6f' + '\x32' + '\060' + '\060', 10239 - 10231), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110010) + '\060' + chr(51), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(111) + chr(0b1110 + 0o44) + chr(0b110011 + 0o4) + chr(0b110101), 0o10), nzTpIcepk0o8(chr(0b110000) + '\157' + '\x34' + '\x32', 6230 - 6222), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(49) + '\063' + chr(0b100010 + 0o24), ord("\x08"))][ZlbFMSG8gCoF % nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(53) + '\x30', 0o10)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\x0e'), chr(0b1100100) + '\x65' + '\x63' + chr(0b1011010 + 0o25) + chr(100) + chr(0b101011 + 0o72))('\x75' + '\x74' + chr(102) + chr(0b11100 + 0o21) + '\x38') + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def RtWwzhor1hVx(hXMPsSrOQzbh, D4ybylS07yGH, vAwOdC6i_dxH):
R4epYwMd5dWf = hXMPsSrOQzbh.er_magic_data.R4epYwMd5dWf
TQDUDlLiKRnq = R4epYwMd5dWf[R4epYwMd5dWf.ZpfN5tSLaZze(vAwOdC6i_dxH) - nzTpIcepk0o8(chr(48) + chr(111) + '\x31', 0o10)]
TMMrjsiU6eED = [hXMPsSrOQzbh.grid.GetCellValue(o6UWUO21mH25, nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\060', ord("\x08"))) for o6UWUO21mH25 in hXMPsSrOQzbh.selected_rows]
if vAwOdC6i_dxH == roI3spqORKae(ES5oEprVxulp(b'S\xad\xf8\x90'), chr(100) + chr(0b1001101 + 0o30) + chr(99) + chr(0b1101111) + '\144' + chr(101))(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + '\x2d' + '\x38'):
FC_4jtGJ_8gZ = roI3spqORKae(ES5oEprVxulp(b'm\xa5\xe7\x90\xf0\xd3\xa9\x8f\x1e\xb1c2\xddo\xfdO\xfb\xb1\x9f{\xec\xd8\xea\x88\xb5\x9f\xc6xK%J\xf5E\x14\\\xe5\xe2\xdeJ~O\xb6\xfc\x9d\xb1\xce\xb9\x99[\xe2v0\x8dp\xfd\x03\xf7\xbc\xcb/\xe5\x9d\xa4\x83\xa7\xc7\xc11L4\x0f\xe3'), '\144' + chr(0b1100101) + '\143' + chr(6410 - 6299) + chr(0b11001 + 0o113) + chr(1581 - 1480))(chr(0b1101 + 0o150) + chr(0b1110100) + chr(4491 - 4389) + chr(1097 - 1052) + chr(2367 - 2311))
else:
FC_4jtGJ_8gZ = roI3spqORKae(ES5oEprVxulp(b'g\xab\xac\x97\xb1\xc3\xb7\xdd\x1a\xb1d)\x98l\xb8B\xf0\xb6\xcb(\xe8\x94\xe1\x8e\xb6\x9f\xd41Q%\x1d\xb3Q\x1b\\\xe6\xec\xcf\x02;A\xa7\xe4\xd5\xbf\xd2\xac\x95\x1a\xffr9\xddg\xe5'), '\144' + chr(101) + '\143' + '\x6f' + chr(100) + chr(0b1100101))(chr(0b1101101 + 0o10) + '\164' + '\146' + chr(0b1111 + 0o36) + '\070').q33KG3foQ_CJ(vAwOdC6i_dxH, TQDUDlLiKRnq)
QiL6rWCrEP_W = []
for SLVB2BPA_mIe in TMMrjsiU6eED:
o6UWUO21mH25 = hXMPsSrOQzbh.grid.row_labels.ZpfN5tSLaZze(SLVB2BPA_mIe)
h3f3PdpuWEZD = hXMPsSrOQzbh.er_magic_data.delete_methods[vAwOdC6i_dxH](SLVB2BPA_mIe)
if h3f3PdpuWEZD:
roI3spqORKae(QiL6rWCrEP_W, roI3spqORKae(ES5oEprVxulp(b't\x9b\xbf\xb8\xbf\xc4\x90\xaa$\xd3u,'), '\144' + '\145' + chr(99) + chr(0b1101111) + chr(0b1101 + 0o127) + chr(101))('\x75' + '\x74' + chr(102) + chr(45) + '\x38'))(h3f3PdpuWEZD)
roI3spqORKae(hXMPsSrOQzbh.grid, roI3spqORKae(ES5oEprVxulp(b'R\xa1\xe1\x9a\xa6\xc5\x83\x8f\x14\xe6'), chr(0b1100100) + chr(0b1011001 + 0o14) + chr(0b1000 + 0o133) + '\x6f' + chr(0b10011 + 0o121) + chr(101))('\165' + chr(4406 - 4290) + chr(102) + chr(2025 - 1980) + chr(56)))(o6UWUO21mH25)
if QiL6rWCrEP_W:
rVi_ZxC9YZ97 = hXMPsSrOQzbh.er_magic_data.make_name_list(QiL6rWCrEP_W)
roI3spqORKae(saCGFe0zE73j, roI3spqORKae(ES5oEprVxulp(b'S\xad\xe1\x85\xbc\xc5\x83\x8a\x1a\xe3y4\x93{'), chr(6834 - 6734) + chr(4615 - 4514) + '\x63' + '\x6f' + '\x64' + '\x65')('\165' + chr(116) + chr(102) + chr(0b101101) + chr(0b111000)))(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'y\xab\xf9\xd5\xb8\xc1\xaa\x98[\xf5r1\x98h\xfdG\xa4\xd8\xe1{\xad\x83\xf9\xe7\xc8\xcb\xddt\x1f0\x0b\xe1O\x08\x08\xa8\xf0\x94\x021F\xe4\xf7\x88\xf8\xd3\xf5\xc7q\x9b7}\x86a\x92)\xe5\xaf'), chr(0b1100100) + '\x65' + chr(0b10000 + 0o123) + chr(12191 - 12080) + '\x64' + chr(1871 - 1770))(chr(117) + chr(8628 - 8512) + chr(0b1100110) + '\055' + chr(2392 - 2336)), roI3spqORKae(ES5oEprVxulp(b'Q\xf7\xbf\xbe\x97\x93\xba\x92*\xceT\x17'), chr(0b111111 + 0o45) + '\145' + chr(99) + chr(0b1001 + 0o146) + '\144' + '\145')('\165' + '\x74' + chr(0b111101 + 0o51) + chr(0b101101) + chr(0b110 + 0o62)))(roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'\x0c\xe4'), chr(0b1100100) + '\145' + chr(0b1100011) + chr(0b111110 + 0o61) + '\144' + chr(0b1000 + 0o135))(chr(0b111011 + 0o72) + chr(0b1110100) + chr(5647 - 5545) + '\x2d' + chr(0b0 + 0o70)), roI3spqORKae(ES5oEprVxulp(b'y\xf0\xf5\xb8\xe9\xe2\xbf\x9b/\xd2Y,'), chr(0b1100100) + chr(7467 - 7366) + '\143' + '\157' + '\144' + '\145')(chr(7201 - 7084) + chr(0b1110100) + chr(0b111010 + 0o54) + '\x2d' + chr(56)))(TMMrjsiU6eED), TQDUDlLiKRnq, roI3spqORKae(roI3spqORKae(ES5oEprVxulp(b'\x0c\xe4'), chr(0b1001101 + 0o27) + '\145' + chr(0b100111 + 0o74) + '\157' + chr(0b10011 + 0o121) + chr(0b111001 + 0o54))('\x75' + '\164' + '\x66' + chr(1973 - 1928) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'y\xf0\xf5\xb8\xe9\xe2\xbf\x9b/\xd2Y,'), '\144' + chr(0b1100101) + chr(0b1100011) + '\x6f' + chr(100) + chr(0b1100101))('\x75' + chr(0b1110100) + '\x66' + chr(0b101101) + '\x38'))(rVi_ZxC9YZ97), FC_4jtGJ_8gZ))
hXMPsSrOQzbh.qnwsmjxSzwCa = Bvi71nNyvlqO()
roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'U\xb4\xe8\x94\xa4\xc5\x83\x9a\t\xf8s'), chr(9621 - 9521) + chr(101) + '\x63' + chr(6278 - 6167) + '\x64' + chr(2483 - 2382))('\165' + chr(116) + chr(0b1100110) + '\x2d' + chr(58 - 2)))(roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'X\xad\xdc\xc0\x81\xd8\x85\xaa\x17\xd4|\n'), chr(0b1100000 + 0o4) + chr(0b1100101) + chr(99) + chr(0b1000 + 0o147) + chr(100) + '\x65')('\165' + chr(5699 - 5583) + chr(102) + '\055' + chr(1839 - 1783))))
roI3spqORKae(hXMPsSrOQzbh.grid, roI3spqORKae(ES5oEprVxulp(b'r\xa1\xea\x87\xb5\xd3\xb4'), chr(0b1100100) + chr(6244 - 6143) + '\143' + chr(5341 - 5230) + chr(100) + chr(8761 - 8660))(chr(117) + '\x74' + chr(102) + '\055' + '\x38'))()
|
PmagPy/PmagPy
|
dialogs/pmag_er_magic_dialogs.py
|
ErMagicCheckFrame.onSelectRow
|
def onSelectRow(self, event):
"""
Highlight or unhighlight a row for possible deletion.
"""
grid = self.grid
row = event.Row
default = (255, 255, 255, 255)
highlight = (191, 216, 216, 255)
cell_color = grid.GetCellBackgroundColour(row, 0)
attr = wx.grid.GridCellAttr()
if cell_color == default:
attr.SetBackgroundColour(highlight)
self.selected_rows.add(row)
else:
attr.SetBackgroundColour(default)
try:
self.selected_rows.remove(row)
except KeyError:
pass
if self.selected_rows and self.deleteRowButton:
self.deleteRowButton.Enable()
else:
self.deleteRowButton.Disable()
grid.SetRowAttr(row, attr)
grid.Refresh()
|
python
|
def onSelectRow(self, event):
"""
Highlight or unhighlight a row for possible deletion.
"""
grid = self.grid
row = event.Row
default = (255, 255, 255, 255)
highlight = (191, 216, 216, 255)
cell_color = grid.GetCellBackgroundColour(row, 0)
attr = wx.grid.GridCellAttr()
if cell_color == default:
attr.SetBackgroundColour(highlight)
self.selected_rows.add(row)
else:
attr.SetBackgroundColour(default)
try:
self.selected_rows.remove(row)
except KeyError:
pass
if self.selected_rows and self.deleteRowButton:
self.deleteRowButton.Enable()
else:
self.deleteRowButton.Disable()
grid.SetRowAttr(row, attr)
grid.Refresh()
|
[
"def",
"onSelectRow",
"(",
"self",
",",
"event",
")",
":",
"grid",
"=",
"self",
".",
"grid",
"row",
"=",
"event",
".",
"Row",
"default",
"=",
"(",
"255",
",",
"255",
",",
"255",
",",
"255",
")",
"highlight",
"=",
"(",
"191",
",",
"216",
",",
"216",
",",
"255",
")",
"cell_color",
"=",
"grid",
".",
"GetCellBackgroundColour",
"(",
"row",
",",
"0",
")",
"attr",
"=",
"wx",
".",
"grid",
".",
"GridCellAttr",
"(",
")",
"if",
"cell_color",
"==",
"default",
":",
"attr",
".",
"SetBackgroundColour",
"(",
"highlight",
")",
"self",
".",
"selected_rows",
".",
"add",
"(",
"row",
")",
"else",
":",
"attr",
".",
"SetBackgroundColour",
"(",
"default",
")",
"try",
":",
"self",
".",
"selected_rows",
".",
"remove",
"(",
"row",
")",
"except",
"KeyError",
":",
"pass",
"if",
"self",
".",
"selected_rows",
"and",
"self",
".",
"deleteRowButton",
":",
"self",
".",
"deleteRowButton",
".",
"Enable",
"(",
")",
"else",
":",
"self",
".",
"deleteRowButton",
".",
"Disable",
"(",
")",
"grid",
".",
"SetRowAttr",
"(",
"row",
",",
"attr",
")",
"grid",
".",
"Refresh",
"(",
")"
] |
Highlight or unhighlight a row for possible deletion.
|
[
"Highlight",
"or",
"unhighlight",
"a",
"row",
"for",
"possible",
"deletion",
"."
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/dialogs/pmag_er_magic_dialogs.py#L1145-L1169
|
train
|
Highlight or unhighlight a row for possible deletion.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(1497 - 1449) + chr(0b1101111) + '\x33' + chr(0b110010) + chr(51), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1101111) + '\061' + '\x34' + chr(52), 0b1000), nzTpIcepk0o8(chr(48) + chr(0b111110 + 0o61) + '\x32' + chr(0b110110) + chr(0b110111), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b111110 + 0o61) + '\062' + '\x33' + chr(1357 - 1302), 0b1000), nzTpIcepk0o8(chr(945 - 897) + chr(111) + chr(0b110110) + chr(48), 0b1000), nzTpIcepk0o8('\x30' + chr(9586 - 9475) + chr(1597 - 1546) + chr(52) + chr(1290 - 1241), 36726 - 36718), nzTpIcepk0o8(chr(0b101101 + 0o3) + chr(12232 - 12121) + chr(1876 - 1827) + chr(48) + '\x31', 0o10), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(49) + chr(0b110100) + '\x35', 0b1000), nzTpIcepk0o8(chr(928 - 880) + chr(0b1001000 + 0o47) + chr(0b110001) + '\x31' + '\066', 0b1000), nzTpIcepk0o8('\x30' + chr(0b1101011 + 0o4) + chr(0b110011) + chr(0b110010) + chr(0b11110 + 0o30), 0o10), nzTpIcepk0o8('\060' + '\x6f' + chr(49) + chr(48), ord("\x08")), nzTpIcepk0o8(chr(1291 - 1243) + chr(0b1101111) + '\x32' + '\x37' + '\064', 20726 - 20718), nzTpIcepk0o8('\x30' + chr(0b1100 + 0o143) + '\064' + chr(0b100010 + 0o21), 0o10), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\062' + '\x37' + '\x32', ord("\x08")), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b100111 + 0o12) + chr(51) + chr(580 - 532), 0o10), nzTpIcepk0o8(chr(150 - 102) + chr(0b1101111) + '\062' + chr(688 - 638) + chr(0b11111 + 0o21), 0b1000), nzTpIcepk0o8('\x30' + chr(1907 - 1796) + chr(101 - 51) + '\060', 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(12082 - 11971) + '\x32' + chr(0b0 + 0o66) + chr(54), 0b1000), nzTpIcepk0o8(chr(48) + chr(5667 - 5556) + chr(0b110011) + chr(0b110100) + chr(52), 0o10), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b11 + 0o60) + '\x36' + chr(0b110001), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b10100 + 0o133) + '\061' + chr(48) + chr(2201 - 2153), ord("\x08")), nzTpIcepk0o8('\060' + '\157' + '\062' + chr(0b110110) + chr(0b110110), 8), nzTpIcepk0o8(chr(48) + '\157' + '\062' + chr(53), 0o10), nzTpIcepk0o8(chr(724 - 676) + chr(111) + '\063' + '\x30' + '\066', 0o10), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\061' + chr(0b110110) + '\x36', 0o10), nzTpIcepk0o8('\x30' + chr(111) + chr(187 - 135) + chr(54), 0o10), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110011) + chr(51) + chr(1005 - 953), 0o10), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\062' + '\x35' + chr(49), 0b1000), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b110011) + '\066' + chr(48), 0b1000), nzTpIcepk0o8(chr(48) + chr(111) + '\x31' + '\x35' + '\062', 0b1000), nzTpIcepk0o8('\060' + chr(111) + chr(51) + chr(0b110110) + chr(2854 - 2799), ord("\x08")), nzTpIcepk0o8('\x30' + '\157' + '\x33' + chr(1894 - 1842) + chr(2125 - 2071), 9767 - 9759), nzTpIcepk0o8(chr(0b100101 + 0o13) + chr(0b1101111) + chr(1487 - 1438) + '\062' + '\x30', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1110 + 0o141) + '\x33' + '\x34' + '\x30', 23466 - 23458), nzTpIcepk0o8(chr(0b10110 + 0o32) + '\x6f' + '\065' + chr(0b10001 + 0o40), 0b1000), nzTpIcepk0o8(chr(48) + chr(10205 - 10094) + '\062' + chr(53) + chr(54), 0o10), nzTpIcepk0o8(chr(0b1001 + 0o47) + '\157' + '\x31' + chr(1883 - 1830) + chr(0b11100 + 0o26), 8), nzTpIcepk0o8('\x30' + '\157' + '\061' + '\060' + chr(0b110011), 0b1000), nzTpIcepk0o8('\060' + chr(111) + chr(51) + chr(2752 - 2698) + '\x36', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b1100 + 0o46) + '\067', 7702 - 7694)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(2069 - 2021) + chr(4067 - 3956) + chr(53) + chr(1942 - 1894), ord("\x08"))] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xfd'), '\144' + chr(0b1100101) + chr(99) + '\157' + chr(0b10110 + 0o116) + chr(0b100000 + 0o105))('\165' + chr(6213 - 6097) + chr(0b110 + 0o140) + chr(0b101100 + 0o1) + chr(0b110111 + 0o1)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def Lvi_M6wGFGfy(hXMPsSrOQzbh, D4ybylS07yGH):
xiP5QxYWlEkW = hXMPsSrOQzbh.xiP5QxYWlEkW
o6UWUO21mH25 = D4ybylS07yGH.UCuo2QzZTGFz
WmRBchRTeaDt = (nzTpIcepk0o8(chr(1250 - 1202) + '\x6f' + '\063' + '\x37' + chr(55), 0o10), nzTpIcepk0o8(chr(0b0 + 0o60) + chr(3620 - 3509) + '\x33' + '\x37' + chr(0b10100 + 0o43), 8), nzTpIcepk0o8('\060' + chr(6638 - 6527) + '\063' + '\x37' + chr(0b1100 + 0o53), 8), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\063' + chr(844 - 789) + chr(0b110111), 8))
tfi4xdPoz0yA = (nzTpIcepk0o8(chr(0b110000) + chr(111) + '\062' + chr(0b110111) + '\067', 455 - 447), nzTpIcepk0o8(chr(664 - 616) + chr(0b1101111) + '\x33' + chr(0b110011) + chr(1159 - 1111), 45362 - 45354), nzTpIcepk0o8(chr(1772 - 1724) + '\x6f' + '\063' + chr(0b1001 + 0o52) + chr(48), 8), nzTpIcepk0o8(chr(0b101110 + 0o2) + chr(0b111010 + 0o65) + chr(0b110000 + 0o3) + chr(0b110111) + chr(0b110111), 8))
izjcxq3PBUgF = xiP5QxYWlEkW.GetCellBackgroundColour(o6UWUO21mH25, nzTpIcepk0o8('\x30' + chr(111) + chr(48), 0o10))
H7gzb3fKphmE = FHAk5xm055cs.grid.GridCellAttr()
if izjcxq3PBUgF == WmRBchRTeaDt:
roI3spqORKae(H7gzb3fKphmE, roI3spqORKae(ES5oEprVxulp(b'\x80\x01\xc3\xddQ\x82*\x02<\xb9}\xd2G\xf97\xfc\x7f\xc3\x96'), '\144' + chr(4810 - 4709) + chr(2860 - 2761) + '\x6f' + chr(0b1001010 + 0o32) + chr(101))(chr(117) + chr(116) + '\146' + chr(0b101101) + chr(56)))(tfi4xdPoz0yA)
roI3spqORKae(hXMPsSrOQzbh.selected_rows, roI3spqORKae(ES5oEprVxulp(b'\xa6W\xe6\xfbY\x92\x08\x14\n\xb0K\xd8'), chr(0b1100 + 0o130) + chr(0b1100101) + chr(4745 - 4646) + chr(0b1101111) + chr(0b1100100) + chr(1189 - 1088))('\165' + '\x74' + chr(102) + chr(0b101101 + 0o0) + chr(2006 - 1950)))(o6UWUO21mH25)
else:
roI3spqORKae(H7gzb3fKphmE, roI3spqORKae(ES5oEprVxulp(b'\x80\x01\xc3\xddQ\x82*\x02<\xb9}\xd2G\xf97\xfc\x7f\xc3\x96'), chr(121 - 21) + '\x65' + chr(0b10101 + 0o116) + chr(0b1101111) + chr(100) + chr(0b1100101))('\x75' + '\164' + chr(102) + '\055' + chr(0b101111 + 0o11)))(WmRBchRTeaDt)
try:
roI3spqORKae(hXMPsSrOQzbh.selected_rows, roI3spqORKae(ES5oEprVxulp(b'\xa3)\xdb\xcaX\x85s/#\x9dI\xf9'), '\144' + chr(0b1100101) + chr(6783 - 6684) + chr(111) + chr(0b100111 + 0o75) + chr(101))(chr(0b1110101) + '\x74' + chr(0b1100110) + chr(0b101101) + chr(929 - 873)))(o6UWUO21mH25)
except knUxyjfq07F9:
pass
if roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xa2\n\xc0\xec]\x8b964\xa1K\xdd'), '\x64' + '\145' + chr(0b111101 + 0o46) + chr(0b111101 + 0o62) + '\x64' + chr(101))('\x75' + '\164' + '\146' + chr(946 - 901) + '\x38')) and roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\xa4\x08\x87\xae|\xb3$\x08\x0b\x8cd\xc9'), chr(4442 - 4342) + chr(9981 - 9880) + chr(99) + chr(0b111011 + 0o64) + chr(0b1101 + 0o127) + '\x65')('\165' + chr(0b11111 + 0o125) + chr(0b100010 + 0o104) + chr(0b100010 + 0o13) + chr(56))):
roI3spqORKae(hXMPsSrOQzbh.deleteRowButton, roI3spqORKae(ES5oEprVxulp(b'\x96\n\xd6\xfd\\\x84'), chr(100) + chr(0b10101 + 0o120) + '\x63' + chr(111) + chr(100) + chr(1814 - 1713))(chr(0b1110101) + chr(116) + '\146' + '\055' + chr(483 - 427)))()
else:
roI3spqORKae(hXMPsSrOQzbh.deleteRowButton, roI3spqORKae(ES5oEprVxulp(b'\x97\r\xc4\xfeR\x8d$'), '\144' + chr(0b1011100 + 0o11) + chr(0b1100011) + '\157' + '\x64' + chr(0b1100101))('\x75' + chr(0b111000 + 0o74) + chr(102) + chr(0b101101) + chr(56)))()
roI3spqORKae(xiP5QxYWlEkW, roI3spqORKae(ES5oEprVxulp(b'\x80\x01\xc3\xcd_\x96\x00\x11:\xa4'), chr(0b1100100) + chr(101) + chr(99) + chr(0b1101111) + chr(0b110101 + 0o57) + chr(0b1100101))(chr(0b1010 + 0o153) + chr(116) + chr(5833 - 5731) + '\055' + chr(0b111000)))(o6UWUO21mH25, H7gzb3fKphmE)
roI3spqORKae(xiP5QxYWlEkW, roI3spqORKae(ES5oEprVxulp(b'\x81\x01\xd1\xedU\x92)'), '\144' + chr(0b1100101) + chr(0b1100011) + '\x6f' + '\x64' + '\x65')(chr(1758 - 1641) + chr(0b1110100) + chr(0b1111 + 0o127) + '\x2d' + '\070'))()
|
PmagPy/PmagPy
|
dialogs/pmag_er_magic_dialogs.py
|
ErMagicCheckFrame.update_grid
|
def update_grid(self, grid):
"""
takes in wxPython grid and ErMagic data object to be updated
"""
data_methods = {'specimen': self.er_magic_data.change_specimen,
'sample': self.er_magic_data.change_sample,
'site': self.er_magic_data.change_site,
'location': self.er_magic_data.change_location,
'age': self.er_magic_data.change_age}
grid_name = str(grid.GetName())
cols = list(range(grid.GetNumberCols()))
col_labels = []
for col in cols:
col_labels.append(grid.GetColLabelValue(col))
for row in grid.changes: # go through changes and update data structures
if row == -1:
continue
else:
data_dict = {}
for num, label in enumerate(col_labels):
if label:
data_dict[str(label)] = str(grid.GetCellValue(row, num))
new_name = str(grid.GetCellValue(row, 0))
old_name = self.temp_data[grid_name][row]
data_methods[grid_name](new_name, old_name, data_dict)
grid.changes = False
|
python
|
def update_grid(self, grid):
"""
takes in wxPython grid and ErMagic data object to be updated
"""
data_methods = {'specimen': self.er_magic_data.change_specimen,
'sample': self.er_magic_data.change_sample,
'site': self.er_magic_data.change_site,
'location': self.er_magic_data.change_location,
'age': self.er_magic_data.change_age}
grid_name = str(grid.GetName())
cols = list(range(grid.GetNumberCols()))
col_labels = []
for col in cols:
col_labels.append(grid.GetColLabelValue(col))
for row in grid.changes: # go through changes and update data structures
if row == -1:
continue
else:
data_dict = {}
for num, label in enumerate(col_labels):
if label:
data_dict[str(label)] = str(grid.GetCellValue(row, num))
new_name = str(grid.GetCellValue(row, 0))
old_name = self.temp_data[grid_name][row]
data_methods[grid_name](new_name, old_name, data_dict)
grid.changes = False
|
[
"def",
"update_grid",
"(",
"self",
",",
"grid",
")",
":",
"data_methods",
"=",
"{",
"'specimen'",
":",
"self",
".",
"er_magic_data",
".",
"change_specimen",
",",
"'sample'",
":",
"self",
".",
"er_magic_data",
".",
"change_sample",
",",
"'site'",
":",
"self",
".",
"er_magic_data",
".",
"change_site",
",",
"'location'",
":",
"self",
".",
"er_magic_data",
".",
"change_location",
",",
"'age'",
":",
"self",
".",
"er_magic_data",
".",
"change_age",
"}",
"grid_name",
"=",
"str",
"(",
"grid",
".",
"GetName",
"(",
")",
")",
"cols",
"=",
"list",
"(",
"range",
"(",
"grid",
".",
"GetNumberCols",
"(",
")",
")",
")",
"col_labels",
"=",
"[",
"]",
"for",
"col",
"in",
"cols",
":",
"col_labels",
".",
"append",
"(",
"grid",
".",
"GetColLabelValue",
"(",
"col",
")",
")",
"for",
"row",
"in",
"grid",
".",
"changes",
":",
"# go through changes and update data structures",
"if",
"row",
"==",
"-",
"1",
":",
"continue",
"else",
":",
"data_dict",
"=",
"{",
"}",
"for",
"num",
",",
"label",
"in",
"enumerate",
"(",
"col_labels",
")",
":",
"if",
"label",
":",
"data_dict",
"[",
"str",
"(",
"label",
")",
"]",
"=",
"str",
"(",
"grid",
".",
"GetCellValue",
"(",
"row",
",",
"num",
")",
")",
"new_name",
"=",
"str",
"(",
"grid",
".",
"GetCellValue",
"(",
"row",
",",
"0",
")",
")",
"old_name",
"=",
"self",
".",
"temp_data",
"[",
"grid_name",
"]",
"[",
"row",
"]",
"data_methods",
"[",
"grid_name",
"]",
"(",
"new_name",
",",
"old_name",
",",
"data_dict",
")",
"grid",
".",
"changes",
"=",
"False"
] |
takes in wxPython grid and ErMagic data object to be updated
|
[
"takes",
"in",
"wxPython",
"grid",
"and",
"ErMagic",
"data",
"object",
"to",
"be",
"updated"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/dialogs/pmag_er_magic_dialogs.py#L1172-L1202
|
train
|
Updates the internal data structures of the current level of the grid
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(0b11001 + 0o27) + chr(0b1010110 + 0o31) + chr(0b110011) + '\x36' + chr(1022 - 974), ord("\x08")), nzTpIcepk0o8(chr(0b1111 + 0o41) + chr(10088 - 9977) + chr(0b101 + 0o55) + chr(474 - 425) + chr(0b110100), 0b1000), nzTpIcepk0o8('\060' + chr(945 - 834) + '\x32' + '\060' + chr(0b110100), 4644 - 4636), nzTpIcepk0o8(chr(0b110000) + chr(0b11011 + 0o124) + chr(0b101111 + 0o2) + chr(50) + chr(52), ord("\x08")), nzTpIcepk0o8(chr(48) + '\x6f' + chr(559 - 509) + chr(0b11111 + 0o22) + chr(0b110001), 10380 - 10372), nzTpIcepk0o8('\060' + chr(111) + chr(0b100100 + 0o15) + chr(2132 - 2081) + chr(55), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(2175 - 2123) + chr(0b100010 + 0o24), 0o10), nzTpIcepk0o8(chr(1263 - 1215) + '\x6f' + '\x32' + chr(0b10001 + 0o40) + '\062', 0b1000), nzTpIcepk0o8('\x30' + '\157' + chr(1550 - 1499) + chr(0b110010) + '\060', ord("\x08")), nzTpIcepk0o8(chr(0b11010 + 0o26) + chr(7837 - 7726) + chr(0b110011) + chr(0b1010 + 0o54) + chr(0b110110), 0b1000), nzTpIcepk0o8(chr(0b100101 + 0o13) + chr(0b1 + 0o156) + chr(884 - 833), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b100101 + 0o15) + chr(0b1100 + 0o45), 0b1000), nzTpIcepk0o8(chr(48) + '\157' + '\061' + chr(0b110101) + chr(0b10000 + 0o44), 54529 - 54521), nzTpIcepk0o8(chr(0b110000) + chr(8380 - 8269) + chr(0b110010) + '\060' + chr(0b110111), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1000100 + 0o53) + '\x33' + chr(55) + chr(52), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(111) + chr(0b110001) + '\063' + '\x33', ord("\x08")), nzTpIcepk0o8(chr(74 - 26) + '\157' + '\062' + '\x35' + chr(0b101010 + 0o6), 44297 - 44289), nzTpIcepk0o8(chr(0b10001 + 0o37) + chr(11805 - 11694) + '\x33' + '\063' + chr(898 - 850), 0b1000), nzTpIcepk0o8(chr(0b1010 + 0o46) + '\x6f' + chr(51) + chr(0b101101 + 0o12) + chr(0b110111), 0b1000), nzTpIcepk0o8(chr(0b101000 + 0o10) + chr(2801 - 2690) + chr(50) + chr(1121 - 1066) + chr(50), 44334 - 44326), nzTpIcepk0o8(chr(48) + chr(7025 - 6914) + chr(0b110001) + chr(48) + '\x35', 0o10), nzTpIcepk0o8('\x30' + '\157' + chr(2601 - 2550) + '\x33', 0b1000), nzTpIcepk0o8('\x30' + '\157' + '\x31' + '\x34' + chr(0b11001 + 0o36), 0o10), nzTpIcepk0o8('\x30' + '\x6f' + '\066' + '\x34', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\157' + '\x32' + '\x30' + chr(2686 - 2634), 8), nzTpIcepk0o8(chr(48) + chr(3578 - 3467) + chr(460 - 409) + chr(0b1011 + 0o47) + chr(0b110010), ord("\x08")), nzTpIcepk0o8('\060' + chr(0b1101111) + '\x32' + chr(609 - 556) + '\x35', 35579 - 35571), nzTpIcepk0o8(chr(0b101010 + 0o6) + chr(0b1100 + 0o143) + chr(951 - 901) + '\060' + chr(54), 0b1000), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(1996 - 1945) + '\061' + '\066', ord("\x08")), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b100 + 0o56) + '\062' + '\067', 0o10), nzTpIcepk0o8(chr(0b101110 + 0o2) + '\x6f' + '\061' + chr(52) + chr(0b110010), ord("\x08")), nzTpIcepk0o8('\x30' + '\157' + chr(2517 - 2462) + chr(52), 11412 - 11404), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x33' + '\061' + chr(51), ord("\x08")), nzTpIcepk0o8('\060' + '\x6f' + chr(0b10011 + 0o40) + '\x30' + chr(0b110101), 10944 - 10936), nzTpIcepk0o8('\060' + chr(0b10 + 0o155) + chr(0b110011) + '\x30', 0b1000), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\063' + '\064' + chr(50), ord("\x08")), nzTpIcepk0o8(chr(0b100010 + 0o16) + chr(0b1101111) + chr(0b101111 + 0o4) + '\063' + chr(0b110001), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1011 + 0o144) + chr(1117 - 1066) + chr(146 - 96) + chr(0b100100 + 0o20), 6258 - 6250), nzTpIcepk0o8(chr(2154 - 2106) + '\x6f' + '\063' + chr(54) + chr(0b1000 + 0o54), ord("\x08")), nzTpIcepk0o8('\060' + '\157' + '\x31', ord("\x08"))][ZlbFMSG8gCoF % nzTpIcepk0o8('\x30' + '\157' + chr(53) + chr(0b10010 + 0o36), 0b1000)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xde'), chr(0b1100100) + chr(1172 - 1071) + chr(7007 - 6908) + chr(111) + '\x64' + chr(0b1100101))('\165' + chr(0b1011001 + 0o33) + chr(0b1000 + 0o136) + '\055' + chr(0b111000)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def _T6w919AENnr(hXMPsSrOQzbh, xiP5QxYWlEkW):
lgOUMibqDoM5 = {roI3spqORKae(ES5oEprVxulp(b'\x83\xfc\xe17\xe02C\xe4'), '\144' + chr(0b110010 + 0o63) + chr(99) + chr(111) + '\x64' + '\x65')('\x75' + '\164' + chr(0b11111 + 0o107) + '\055' + chr(0b111000)): hXMPsSrOQzbh.er_magic_data.change_specimen, roI3spqORKae(ES5oEprVxulp(b'\x83\xed\xe9$\xe5:'), chr(0b1100100) + chr(1523 - 1422) + chr(0b1100011) + chr(0b1001100 + 0o43) + chr(100) + chr(101))(chr(0b1110101) + chr(0b1110100) + chr(0b101100 + 0o72) + '\x2d' + chr(2012 - 1956)): hXMPsSrOQzbh.er_magic_data.change_sample, roI3spqORKae(ES5oEprVxulp(b'\x83\xe5\xf01'), chr(0b1100010 + 0o2) + chr(0b1100101) + '\x63' + '\x6f' + chr(0b1100100) + chr(101))('\x75' + chr(0b1110100) + chr(102) + chr(485 - 440) + chr(0b101001 + 0o17)): hXMPsSrOQzbh.er_magic_data.change_site, roI3spqORKae(ES5oEprVxulp(b'\x9c\xe3\xe75\xfd6I\xe4'), chr(0b1100100) + chr(0b1100101) + chr(7890 - 7791) + chr(0b1000101 + 0o52) + chr(0b1011000 + 0o14) + chr(0b1000000 + 0o45))(chr(117) + '\x74' + chr(0b1100110) + '\x2d' + '\070'): hXMPsSrOQzbh.er_magic_data.change_location, roI3spqORKae(ES5oEprVxulp(b'\x91\xeb\xe1'), chr(0b1100100) + '\145' + chr(99) + '\x6f' + '\144' + chr(0b110101 + 0o60))(chr(0b10001 + 0o144) + chr(0b1110100) + chr(102) + chr(0b101101) + '\x38'): hXMPsSrOQzbh.er_magic_data.change_age}
ufJVF7WOU8dC = N9zlRy29S1SS(xiP5QxYWlEkW.vs088p4r1szs())
Y2QfnnvVOo8E = H4NoA26ON7iG(bbT2xIe5pzk7(xiP5QxYWlEkW.GetNumberCols()))
ByFdZdjpJs1f = []
for hRTUxJgvuslu in Y2QfnnvVOo8E:
roI3spqORKae(ByFdZdjpJs1f, roI3spqORKae(ES5oEprVxulp(b'\xb8\xd8\xd7`\xf18a\xe5\xba\x99V$'), chr(0b1100100) + chr(101) + chr(0b1100011) + chr(7460 - 7349) + chr(0b10110 + 0o116) + chr(0b1100101))(chr(12219 - 12102) + '\164' + chr(3501 - 3399) + chr(976 - 931) + '\x38'))(roI3spqORKae(xiP5QxYWlEkW, roI3spqORKae(ES5oEprVxulp(b'\xb7\xe9\xf0\x17\xe63j\xeb\xb2\x93oG\r\xeb\x89>'), chr(0b100011 + 0o101) + chr(101) + chr(2878 - 2779) + chr(6653 - 6542) + chr(0b1100100) + chr(0b1100101))('\165' + '\x74' + chr(7485 - 7383) + chr(0b11111 + 0o16) + chr(2145 - 2089)))(hRTUxJgvuslu))
for o6UWUO21mH25 in roI3spqORKae(xiP5QxYWlEkW, roI3spqORKae(ES5oEprVxulp(b'\xaa\xd3\xc1\x12\xe1\x1a`\xe5\xb4\xbbg)'), chr(0b1000000 + 0o44) + chr(8787 - 8686) + '\143' + '\157' + chr(0b1100100) + '\x65')(chr(0b111110 + 0o67) + chr(0b11001 + 0o133) + '\146' + '\055' + chr(0b111000))):
if o6UWUO21mH25 == -nzTpIcepk0o8(chr(0b110000) + chr(4568 - 4457) + chr(1103 - 1054), 8):
continue
else:
YRBISESEyneL = {}
for (o0eINMlvUImY, OkDIn6t2Cke6) in _kV_Bomx8PZ4(ByFdZdjpJs1f):
if OkDIn6t2Cke6:
YRBISESEyneL[N9zlRy29S1SS(OkDIn6t2Cke6)] = N9zlRy29S1SS(xiP5QxYWlEkW.GetCellValue(o6UWUO21mH25, o0eINMlvUImY))
cvwbkSTalMQ7 = N9zlRy29S1SS(xiP5QxYWlEkW.GetCellValue(o6UWUO21mH25, nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b1111 + 0o41), ord("\x08"))))
j3XAFt9Gr7Yr = hXMPsSrOQzbh.aCEVfmLbEh1P[ufJVF7WOU8dC][o6UWUO21mH25]
lgOUMibqDoM5[ufJVF7WOU8dC](cvwbkSTalMQ7, j3XAFt9Gr7Yr, YRBISESEyneL)
xiP5QxYWlEkW.Z_EFhEFodMd8 = nzTpIcepk0o8('\x30' + '\157' + chr(164 - 116), 8)
|
PmagPy/PmagPy
|
dialogs/pmag_er_magic_dialogs.py
|
ErMagicCheckFrame.onSave
|
def onSave(self, grid):#, age_data_type='site'):
"""
Save grid data in the data object
"""
# deselect column, including remove 'EDIT ALL' label
if self.drop_down_menu:
self.drop_down_menu.clean_up()
# save all changes to er_magic data object
self.grid_builder.save_grid_data()
# don't actually write data in this step (time-consuming)
# instead, write to files when user is done editing
#self.er_magic_data.write_files()
wx.MessageBox('Saved!', 'Info',
style=wx.OK | wx.ICON_INFORMATION)
|
python
|
def onSave(self, grid):#, age_data_type='site'):
"""
Save grid data in the data object
"""
# deselect column, including remove 'EDIT ALL' label
if self.drop_down_menu:
self.drop_down_menu.clean_up()
# save all changes to er_magic data object
self.grid_builder.save_grid_data()
# don't actually write data in this step (time-consuming)
# instead, write to files when user is done editing
#self.er_magic_data.write_files()
wx.MessageBox('Saved!', 'Info',
style=wx.OK | wx.ICON_INFORMATION)
|
[
"def",
"onSave",
"(",
"self",
",",
"grid",
")",
":",
"#, age_data_type='site'):",
"# deselect column, including remove 'EDIT ALL' label",
"if",
"self",
".",
"drop_down_menu",
":",
"self",
".",
"drop_down_menu",
".",
"clean_up",
"(",
")",
"# save all changes to er_magic data object",
"self",
".",
"grid_builder",
".",
"save_grid_data",
"(",
")",
"# don't actually write data in this step (time-consuming)",
"# instead, write to files when user is done editing",
"#self.er_magic_data.write_files()",
"wx",
".",
"MessageBox",
"(",
"'Saved!'",
",",
"'Info'",
",",
"style",
"=",
"wx",
".",
"OK",
"|",
"wx",
".",
"ICON_INFORMATION",
")"
] |
Save grid data in the data object
|
[
"Save",
"grid",
"data",
"in",
"the",
"data",
"object"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/dialogs/pmag_er_magic_dialogs.py#L1205-L1221
|
train
|
Save the data in the object
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b110011) + chr(1224 - 1171) + '\x31', 0b1000), nzTpIcepk0o8('\060' + chr(6779 - 6668) + chr(51) + '\x34' + '\x30', 40330 - 40322), nzTpIcepk0o8(chr(1308 - 1260) + '\x6f' + '\067', 28234 - 28226), nzTpIcepk0o8(chr(725 - 677) + chr(7476 - 7365) + chr(0b10100 + 0o35) + chr(0b10100 + 0o41) + chr(318 - 268), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(547 - 436) + '\x33' + chr(0b110101) + chr(53), 25422 - 25414), nzTpIcepk0o8(chr(1961 - 1913) + chr(111) + chr(50) + '\060' + chr(95 - 45), ord("\x08")), nzTpIcepk0o8(chr(0b11001 + 0o27) + '\157' + '\061' + chr(114 - 63) + '\x30', 30749 - 30741), nzTpIcepk0o8('\060' + '\x6f' + '\x32' + '\061' + '\x34', 0b1000), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b110001) + chr(54), 26756 - 26748), nzTpIcepk0o8(chr(0b1110 + 0o42) + chr(0b1000010 + 0o55) + chr(51) + chr(0b110100) + chr(48), 8), nzTpIcepk0o8(chr(0b110000) + chr(6987 - 6876) + '\061' + chr(0b10111 + 0o36) + chr(1015 - 962), ord("\x08")), nzTpIcepk0o8('\x30' + '\157' + chr(109 - 59) + chr(0b100 + 0o63) + chr(0b100110 + 0o13), 0b1000), nzTpIcepk0o8(chr(0b10110 + 0o32) + '\157' + chr(49) + chr(49) + '\x37', ord("\x08")), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b110010) + chr(54) + chr(67 - 14), 9504 - 9496), nzTpIcepk0o8('\060' + chr(11597 - 11486) + chr(0b110011) + chr(553 - 499) + chr(1357 - 1305), 30829 - 30821), nzTpIcepk0o8('\x30' + chr(0b1010101 + 0o32) + '\062' + chr(0b110011 + 0o0) + chr(0b110011), 0o10), nzTpIcepk0o8('\x30' + '\x6f' + '\062' + chr(0b110010 + 0o4), 0o10), nzTpIcepk0o8('\x30' + chr(0b110101 + 0o72) + '\x31' + '\x33' + chr(0b110001), 0o10), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(1786 - 1736) + '\063' + '\061', 6884 - 6876), nzTpIcepk0o8(chr(0b1100 + 0o44) + chr(0b1101111) + chr(49) + chr(0b110100) + chr(0b100111 + 0o17), 0o10), nzTpIcepk0o8(chr(48) + chr(0b1010000 + 0o37) + chr(0b110011) + chr(0b110111) + chr(53), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b11101 + 0o122) + chr(0b1110 + 0o43) + chr(755 - 705), 31781 - 31773), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\x36', 0o10), nzTpIcepk0o8(chr(0b111 + 0o51) + '\x6f' + chr(0b110011) + chr(51) + chr(0b100000 + 0o25), ord("\x08")), nzTpIcepk0o8(chr(48) + '\157' + chr(0b110010) + '\063' + chr(0b100011 + 0o16), 8), nzTpIcepk0o8(chr(0b1101 + 0o43) + '\x6f' + chr(1707 - 1656) + '\065' + chr(48), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(48), 21272 - 21264), nzTpIcepk0o8(chr(48) + chr(7883 - 7772) + chr(0b110010) + chr(0b110010 + 0o4) + '\062', 0o10), nzTpIcepk0o8(chr(0b110000) + chr(1429 - 1318) + chr(1585 - 1536) + '\x31' + '\x37', 8), nzTpIcepk0o8('\060' + '\157' + chr(0b110011) + chr(51) + chr(2205 - 2155), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(10310 - 10199) + chr(1025 - 974) + '\x36' + chr(0b110101), 53003 - 52995), nzTpIcepk0o8(chr(0b10011 + 0o35) + '\157' + '\x32' + '\063' + chr(0b110101), 52416 - 52408), nzTpIcepk0o8(chr(0b101 + 0o53) + '\157' + '\063' + '\x30', 0b1000), nzTpIcepk0o8(chr(1423 - 1375) + '\x6f' + chr(50) + '\062' + chr(51), 0b1000), nzTpIcepk0o8(chr(0b110 + 0o52) + chr(7440 - 7329) + chr(0b110111) + chr(2562 - 2508), ord("\x08")), nzTpIcepk0o8('\x30' + '\x6f' + '\x32' + '\062' + chr(0b10011 + 0o43), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(49) + chr(0b110010) + '\067', 0b1000), nzTpIcepk0o8(chr(0b101111 + 0o1) + chr(0b1101111) + chr(97 - 48) + chr(0b110111) + '\x36', ord("\x08")), nzTpIcepk0o8(chr(48) + chr(2601 - 2490) + '\063' + chr(0b100111 + 0o12) + chr(0b110011), 0b1000), nzTpIcepk0o8(chr(0b11 + 0o55) + chr(0b1101111) + chr(0b110001) + '\x30' + chr(0b110101), 40204 - 40196)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(48) + chr(3048 - 2937) + chr(0b110011 + 0o2) + '\060', 4898 - 4890)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xc7'), '\x64' + chr(101) + '\x63' + chr(12062 - 11951) + chr(1474 - 1374) + '\x65')(chr(117) + chr(10036 - 9920) + chr(0b1100110) + chr(0b100010 + 0o13) + '\070') + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def D0ABbnLLra3l(hXMPsSrOQzbh, xiP5QxYWlEkW):
if roI3spqORKae(hXMPsSrOQzbh, roI3spqORKae(ES5oEprVxulp(b'\x8b\x85R\x01\xa7\xd7.\xb5@\x86:\xfa'), chr(4852 - 4752) + chr(6914 - 6813) + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(4065 - 3964))(chr(117) + chr(6557 - 6441) + chr(0b1100110) + chr(0b101101) + chr(2627 - 2571))):
roI3spqORKae(hXMPsSrOQzbh.drop_down_menu, roI3spqORKae(ES5oEprVxulp(b'\x8a\x8cb\x0b\x83\xdd-\xfc'), chr(0b1100100) + chr(0b1100101) + '\143' + chr(0b1101111) + chr(0b1100100) + '\145')(chr(117) + chr(0b1101111 + 0o5) + chr(2084 - 1982) + chr(0b101101) + chr(0b101001 + 0o17)))()
roI3spqORKae(hXMPsSrOQzbh.grid_builder, roI3spqORKae(ES5oEprVxulp(b'\x9a\x81q\x0f\xb2\xe5*\xe5j\xbf\t\xd8;\xd4'), chr(100) + '\x65' + chr(1284 - 1185) + '\x6f' + chr(0b110011 + 0o61) + chr(6123 - 6022))(chr(0b1110101) + chr(0b1110100) + '\146' + chr(45) + chr(936 - 880)))()
roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xa4\x85t\x19\x8c\xe5=\xcea\x98'), '\144' + chr(3856 - 3755) + '\x63' + chr(0b100111 + 0o110) + chr(0b10011 + 0o121) + '\145')(chr(5903 - 5786) + '\x74' + chr(102) + '\055' + chr(0b11 + 0o65)))(roI3spqORKae(ES5oEprVxulp(b'\xba\x81q\x0f\x89\xa3'), '\x64' + chr(0b1100101) + chr(0b1001100 + 0o27) + '\x6f' + '\x64' + chr(101))('\165' + chr(0b1101101 + 0o7) + '\x66' + chr(45) + chr(0b10111 + 0o41)), roI3spqORKae(ES5oEprVxulp(b'\xa0\x8ea\x05'), chr(4060 - 3960) + '\145' + chr(99) + '\157' + chr(9691 - 9591) + '\145')('\165' + '\164' + chr(2032 - 1930) + chr(45) + chr(0b101100 + 0o14)), style=roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xa6\xab'), chr(0b1100100) + chr(0b1100101) + '\x63' + '\157' + '\144' + chr(0b1100101))('\x75' + '\x74' + '\x66' + '\x2d' + '\x38')) | roI3spqORKae(FHAk5xm055cs, roI3spqORKae(ES5oEprVxulp(b'\xa0\xa3H$\xb2\xcb\x16\xcaA\xb2 \xf8\x1b\xfc\xbb\xd5'), chr(8381 - 8281) + '\145' + chr(0b1100011) + chr(9810 - 9699) + chr(100) + chr(101))('\x75' + chr(0b1 + 0o163) + '\x66' + '\055' + chr(808 - 752))))
|
PmagPy/PmagPy
|
programs/deprecated/update_measurements.py
|
main
|
def main():
"""
NAME
update_measurements.py
DESCRIPTION
update the magic_measurements table with new orientation info
SYNTAX
update_measurements.py [command line options]
OPTIONS
-h prints help message and quits
-f MFILE, specify magic_measurements file; default is magic_measurements.txt
-fsa SFILE, specify er_samples table; default is er_samples.txt
-F OFILE, specify output file, default is same as MFILE
"""
dir_path='.'
meas_file='magic_measurements.txt'
samp_file="er_samples.txt"
out_file='magic_measurements.txt'
if '-h' in sys.argv:
print(main.__doc__)
sys.exit()
if '-WD' in sys.argv:
ind = sys.argv.index('-WD')
dir_path=sys.argv[ind+1]
if '-f' in sys.argv:
ind = sys.argv.index('-f')
meas_file=sys.argv[ind+1]
if '-fsa' in sys.argv:
ind = sys.argv.index('-fsa')
samp_file=sys.argv[ind+1]
if '-F' in sys.argv:
ind = sys.argv.index('-F')
out_file=sys.argv[ind+1]
# read in measurements file
meas_file=dir_path+'/'+meas_file
out_file=dir_path+'/'+out_file
samp_file=dir_path+'/'+samp_file
data,file_type=pmag.magic_read(meas_file)
samps,file_type=pmag.magic_read(samp_file)
MeasRecs=[]
sampnames,sflag=[],0
for rec in data:
for samp in samps:
if samp['er_sample_name'].lower()==rec['er_sample_name'].lower():
if samp['er_sample_name'] not in sampnames:sampnames.append(samp['er_sample_name'].lower())
rec['er_site_name']=samp['er_site_name']
rec['er_location_name']=samp['er_location_name']
MeasRecs.append(rec)
break
if rec['er_sample_name'].lower() not in sampnames:
sampnames.append(rec['er_sample_name'].lower())
sflag=1
SampRec={}
for key in list(samps[0].keys()):SampRec[key]=""
SampRec['er_sample_name']=rec['er_sample_name']
SampRec['er_citation_names']="This study"
SampRec['er_site_name']='MISSING'
SampRec['er_location_name']='MISSING'
SampRec['sample_desription']='recorded added by update_measurements - edit as needed'
samps.append(SampRec)
print(rec['er_sample_name'],' missing from er_samples.txt file - edit orient.txt file and re-import')
rec['er_site_name']='MISSING'
rec['er_location_name']='MISSING'
MeasRecs.append(rec)
pmag.magic_write(out_file,MeasRecs,'magic_measurements')
print("updated measurements file stored in ", out_file)
if sflag==1:
pmag.magic_write(samp_file,samps,'er_samples')
print("updated sample file stored in ", samp_file)
|
python
|
def main():
"""
NAME
update_measurements.py
DESCRIPTION
update the magic_measurements table with new orientation info
SYNTAX
update_measurements.py [command line options]
OPTIONS
-h prints help message and quits
-f MFILE, specify magic_measurements file; default is magic_measurements.txt
-fsa SFILE, specify er_samples table; default is er_samples.txt
-F OFILE, specify output file, default is same as MFILE
"""
dir_path='.'
meas_file='magic_measurements.txt'
samp_file="er_samples.txt"
out_file='magic_measurements.txt'
if '-h' in sys.argv:
print(main.__doc__)
sys.exit()
if '-WD' in sys.argv:
ind = sys.argv.index('-WD')
dir_path=sys.argv[ind+1]
if '-f' in sys.argv:
ind = sys.argv.index('-f')
meas_file=sys.argv[ind+1]
if '-fsa' in sys.argv:
ind = sys.argv.index('-fsa')
samp_file=sys.argv[ind+1]
if '-F' in sys.argv:
ind = sys.argv.index('-F')
out_file=sys.argv[ind+1]
# read in measurements file
meas_file=dir_path+'/'+meas_file
out_file=dir_path+'/'+out_file
samp_file=dir_path+'/'+samp_file
data,file_type=pmag.magic_read(meas_file)
samps,file_type=pmag.magic_read(samp_file)
MeasRecs=[]
sampnames,sflag=[],0
for rec in data:
for samp in samps:
if samp['er_sample_name'].lower()==rec['er_sample_name'].lower():
if samp['er_sample_name'] not in sampnames:sampnames.append(samp['er_sample_name'].lower())
rec['er_site_name']=samp['er_site_name']
rec['er_location_name']=samp['er_location_name']
MeasRecs.append(rec)
break
if rec['er_sample_name'].lower() not in sampnames:
sampnames.append(rec['er_sample_name'].lower())
sflag=1
SampRec={}
for key in list(samps[0].keys()):SampRec[key]=""
SampRec['er_sample_name']=rec['er_sample_name']
SampRec['er_citation_names']="This study"
SampRec['er_site_name']='MISSING'
SampRec['er_location_name']='MISSING'
SampRec['sample_desription']='recorded added by update_measurements - edit as needed'
samps.append(SampRec)
print(rec['er_sample_name'],' missing from er_samples.txt file - edit orient.txt file and re-import')
rec['er_site_name']='MISSING'
rec['er_location_name']='MISSING'
MeasRecs.append(rec)
pmag.magic_write(out_file,MeasRecs,'magic_measurements')
print("updated measurements file stored in ", out_file)
if sflag==1:
pmag.magic_write(samp_file,samps,'er_samples')
print("updated sample file stored in ", samp_file)
|
[
"def",
"main",
"(",
")",
":",
"dir_path",
"=",
"'.'",
"meas_file",
"=",
"'magic_measurements.txt'",
"samp_file",
"=",
"\"er_samples.txt\"",
"out_file",
"=",
"'magic_measurements.txt'",
"if",
"'-h'",
"in",
"sys",
".",
"argv",
":",
"print",
"(",
"main",
".",
"__doc__",
")",
"sys",
".",
"exit",
"(",
")",
"if",
"'-WD'",
"in",
"sys",
".",
"argv",
":",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"'-WD'",
")",
"dir_path",
"=",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
"if",
"'-f'",
"in",
"sys",
".",
"argv",
":",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"'-f'",
")",
"meas_file",
"=",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
"if",
"'-fsa'",
"in",
"sys",
".",
"argv",
":",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"'-fsa'",
")",
"samp_file",
"=",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
"if",
"'-F'",
"in",
"sys",
".",
"argv",
":",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"'-F'",
")",
"out_file",
"=",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
"# read in measurements file",
"meas_file",
"=",
"dir_path",
"+",
"'/'",
"+",
"meas_file",
"out_file",
"=",
"dir_path",
"+",
"'/'",
"+",
"out_file",
"samp_file",
"=",
"dir_path",
"+",
"'/'",
"+",
"samp_file",
"data",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"meas_file",
")",
"samps",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"samp_file",
")",
"MeasRecs",
"=",
"[",
"]",
"sampnames",
",",
"sflag",
"=",
"[",
"]",
",",
"0",
"for",
"rec",
"in",
"data",
":",
"for",
"samp",
"in",
"samps",
":",
"if",
"samp",
"[",
"'er_sample_name'",
"]",
".",
"lower",
"(",
")",
"==",
"rec",
"[",
"'er_sample_name'",
"]",
".",
"lower",
"(",
")",
":",
"if",
"samp",
"[",
"'er_sample_name'",
"]",
"not",
"in",
"sampnames",
":",
"sampnames",
".",
"append",
"(",
"samp",
"[",
"'er_sample_name'",
"]",
".",
"lower",
"(",
")",
")",
"rec",
"[",
"'er_site_name'",
"]",
"=",
"samp",
"[",
"'er_site_name'",
"]",
"rec",
"[",
"'er_location_name'",
"]",
"=",
"samp",
"[",
"'er_location_name'",
"]",
"MeasRecs",
".",
"append",
"(",
"rec",
")",
"break",
"if",
"rec",
"[",
"'er_sample_name'",
"]",
".",
"lower",
"(",
")",
"not",
"in",
"sampnames",
":",
"sampnames",
".",
"append",
"(",
"rec",
"[",
"'er_sample_name'",
"]",
".",
"lower",
"(",
")",
")",
"sflag",
"=",
"1",
"SampRec",
"=",
"{",
"}",
"for",
"key",
"in",
"list",
"(",
"samps",
"[",
"0",
"]",
".",
"keys",
"(",
")",
")",
":",
"SampRec",
"[",
"key",
"]",
"=",
"\"\"",
"SampRec",
"[",
"'er_sample_name'",
"]",
"=",
"rec",
"[",
"'er_sample_name'",
"]",
"SampRec",
"[",
"'er_citation_names'",
"]",
"=",
"\"This study\"",
"SampRec",
"[",
"'er_site_name'",
"]",
"=",
"'MISSING'",
"SampRec",
"[",
"'er_location_name'",
"]",
"=",
"'MISSING'",
"SampRec",
"[",
"'sample_desription'",
"]",
"=",
"'recorded added by update_measurements - edit as needed'",
"samps",
".",
"append",
"(",
"SampRec",
")",
"print",
"(",
"rec",
"[",
"'er_sample_name'",
"]",
",",
"' missing from er_samples.txt file - edit orient.txt file and re-import'",
")",
"rec",
"[",
"'er_site_name'",
"]",
"=",
"'MISSING'",
"rec",
"[",
"'er_location_name'",
"]",
"=",
"'MISSING'",
"MeasRecs",
".",
"append",
"(",
"rec",
")",
"pmag",
".",
"magic_write",
"(",
"out_file",
",",
"MeasRecs",
",",
"'magic_measurements'",
")",
"print",
"(",
"\"updated measurements file stored in \"",
",",
"out_file",
")",
"if",
"sflag",
"==",
"1",
":",
"pmag",
".",
"magic_write",
"(",
"samp_file",
",",
"samps",
",",
"'er_samples'",
")",
"print",
"(",
"\"updated sample file stored in \"",
",",
"samp_file",
")"
] |
NAME
update_measurements.py
DESCRIPTION
update the magic_measurements table with new orientation info
SYNTAX
update_measurements.py [command line options]
OPTIONS
-h prints help message and quits
-f MFILE, specify magic_measurements file; default is magic_measurements.txt
-fsa SFILE, specify er_samples table; default is er_samples.txt
-F OFILE, specify output file, default is same as MFILE
|
[
"NAME",
"update_measurements",
".",
"py"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/programs/deprecated/update_measurements.py#L7-L78
|
train
|
NAME update_measurements. py is the entry point for the update_measurements module.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(0b10111 + 0o31) + chr(0b111101 + 0o62) + '\x32' + chr(49), 0o10), nzTpIcepk0o8(chr(1347 - 1299) + chr(111) + '\x31' + chr(1206 - 1156) + '\x33', 42296 - 42288), nzTpIcepk0o8(chr(0b101101 + 0o3) + chr(0b1101111) + '\065' + chr(633 - 578), 27693 - 27685), nzTpIcepk0o8(chr(48) + '\x6f' + chr(54) + '\060', ord("\x08")), nzTpIcepk0o8(chr(1199 - 1151) + chr(0b10110 + 0o131) + chr(0b110100), 0o10), nzTpIcepk0o8(chr(0b101110 + 0o2) + '\x6f' + chr(0b1001 + 0o50) + '\066' + chr(0b101011 + 0o6), 54686 - 54678), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b110011) + chr(1076 - 1023) + chr(0b110101), 43552 - 43544), nzTpIcepk0o8(chr(48) + chr(4012 - 3901) + chr(0b110110) + '\062', 0o10), nzTpIcepk0o8(chr(0b110000) + chr(11458 - 11347) + '\062' + '\066' + '\063', 7098 - 7090), nzTpIcepk0o8(chr(0b110000) + chr(0b111101 + 0o62) + chr(0b110011) + '\x33' + chr(0b110010), 0b1000), nzTpIcepk0o8('\x30' + chr(111) + chr(0b110011) + '\063' + chr(0b1100 + 0o47), 0o10), nzTpIcepk0o8('\x30' + '\157' + '\x32' + chr(0b110001) + chr(0b100110 + 0o13), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(0b11 + 0o154) + chr(0b110001) + chr(2609 - 2554) + '\062', 49305 - 49297), nzTpIcepk0o8('\060' + chr(111) + chr(0b10011 + 0o36) + chr(953 - 904) + '\x31', ord("\x08")), nzTpIcepk0o8(chr(2218 - 2170) + chr(111) + chr(0b110000 + 0o2) + '\065' + chr(0b110111), 0o10), nzTpIcepk0o8(chr(48) + '\157' + chr(49) + chr(1424 - 1370) + '\x30', 0b1000), nzTpIcepk0o8(chr(48) + '\x6f' + '\x31' + chr(0b1000 + 0o51) + chr(1394 - 1342), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\x33' + '\060' + '\x30', 0b1000), nzTpIcepk0o8(chr(0b10100 + 0o34) + chr(0b1101111) + chr(2366 - 2316) + '\x35' + chr(144 - 92), 16274 - 16266), nzTpIcepk0o8(chr(0b11010 + 0o26) + chr(801 - 690) + chr(0b110010) + chr(1589 - 1540) + chr(0b101101 + 0o12), 0b1000), nzTpIcepk0o8('\x30' + chr(111) + chr(0b10111 + 0o36) + chr(728 - 676), ord("\x08")), nzTpIcepk0o8('\060' + chr(111) + '\063' + chr(49 - 0) + chr(0b11011 + 0o25), 49984 - 49976), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110011) + chr(0b110000) + '\062', 0b1000), nzTpIcepk0o8(chr(48) + '\x6f' + chr(2521 - 2468) + chr(0b1010 + 0o54), 44663 - 44655), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b110011) + chr(0b10010 + 0o40) + chr(0b110011), 0o10), nzTpIcepk0o8(chr(0b110 + 0o52) + '\157' + chr(51) + '\x31' + chr(53), 0b1000), nzTpIcepk0o8(chr(2147 - 2099) + '\157' + chr(0b10000 + 0o43) + chr(55) + chr(51), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(51) + chr(0b11000 + 0o32) + chr(2153 - 2103), 0o10), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\061' + chr(0b110010) + chr(0b110011 + 0o1), 0o10), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(55) + chr(0b100111 + 0o16), 0b1000), nzTpIcepk0o8(chr(48) + chr(617 - 506) + chr(0b110011) + chr(51) + chr(0b10 + 0o64), ord("\x08")), nzTpIcepk0o8(chr(811 - 763) + chr(111) + chr(0b110011) + '\x36' + chr(195 - 147), ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1011110 + 0o21) + chr(50) + chr(0b110001) + '\061', 8), nzTpIcepk0o8(chr(935 - 887) + '\157' + chr(0b110010) + chr(1133 - 1079) + chr(0b111 + 0o55), ord("\x08")), nzTpIcepk0o8('\060' + chr(0b110100 + 0o73) + chr(0b110010) + '\x34' + '\x30', ord("\x08")), nzTpIcepk0o8(chr(506 - 458) + chr(0b10100 + 0o133) + chr(0b10000 + 0o43) + chr(0b110010) + chr(0b110011), 8), nzTpIcepk0o8(chr(0b1001 + 0o47) + chr(111) + '\x32' + chr(0b110111), 0o10), nzTpIcepk0o8(chr(0b110000) + '\157' + '\062' + '\067' + chr(0b110001), 0b1000), nzTpIcepk0o8(chr(0b10111 + 0o31) + chr(10652 - 10541) + '\x33' + chr(1119 - 1064) + '\x34', ord("\x08")), nzTpIcepk0o8(chr(637 - 589) + chr(0b1101111) + chr(0b1101 + 0o45) + '\065' + chr(0b110110), ord("\x08"))][ZlbFMSG8gCoF % nzTpIcepk0o8('\060' + chr(0b100111 + 0o110) + chr(0b11111 + 0o26) + chr(491 - 443), 0b1000)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'?'), chr(0b1100100) + chr(101) + '\x63' + '\x6f' + chr(0b110010 + 0o62) + '\145')('\x75' + chr(116) + '\146' + '\055' + chr(142 - 86)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def BXHXH_QeD6rL():
qjksZ7GK0xkJ = roI3spqORKae(ES5oEprVxulp(b'?'), '\144' + chr(1970 - 1869) + chr(5551 - 5452) + chr(0b1101111) + chr(0b1010111 + 0o15) + chr(0b101111 + 0o66))(chr(2690 - 2573) + '\164' + chr(0b1100110) + '\x2d' + chr(0b11000 + 0o40))
rHPU8oONrR4n = roI3spqORKae(ES5oEprVxulp(b'|2HYg.\x80W\xd2\xa9\xae\xfb\x1f$\xca\x1e8\xb3\x82\xfbT\xbc'), chr(4844 - 4744) + chr(101) + chr(99) + '\157' + chr(100) + '\145')('\x75' + chr(10281 - 10165) + chr(0b1011010 + 0o14) + chr(1067 - 1022) + '\070')
bqpTUs8apVqb = roI3spqORKae(ES5oEprVxulp(b't!pCe\x1c\x9d^\xd6\xa9\xf5\xfd\x02='), chr(100) + '\x65' + chr(0b1010100 + 0o17) + chr(0b1101111) + chr(100) + chr(3165 - 3064))(chr(12350 - 12233) + chr(0b1011111 + 0o25) + chr(0b1100110) + chr(45) + chr(0b111000))
vqkvTUJsdUtb = roI3spqORKae(ES5oEprVxulp(b'|2HYg.\x80W\xd2\xa9\xae\xfb\x1f$\xca\x1e8\xb3\x82\xfbT\xbc'), chr(0b1100100) + '\x65' + chr(0b1001110 + 0o25) + chr(5571 - 5460) + '\x64' + chr(0b1001111 + 0o26))('\x75' + chr(0b1110100) + chr(0b1100110) + '\x2d' + chr(0b101100 + 0o14))
if roI3spqORKae(ES5oEprVxulp(b'<;'), '\x64' + chr(101) + '\x63' + chr(111) + chr(1171 - 1071) + chr(8746 - 8645))(chr(13487 - 13370) + '\164' + chr(0b110110 + 0o60) + chr(0b101101) + chr(56)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'p9ftS\x08\xb5\x7f\xf1\xbb\xe8\xeb'), '\x64' + chr(8120 - 8019) + '\143' + chr(0b1101111) + '\144' + '\x65')('\x75' + chr(0b111111 + 0o65) + chr(102) + chr(45) + chr(0b10101 + 0o43))):
v8jsMqaYV6U2(roI3spqORKae(BXHXH_QeD6rL, roI3spqORKae(ES5oEprVxulp(b'h5jUu \x84g\xdc\xab\x8c\xdd'), '\144' + '\x65' + chr(0b1100011) + '\x6f' + chr(0b1100100) + '\x65')(chr(8630 - 8513) + '\x74' + chr(102) + chr(1387 - 1342) + '\070')))
roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'K&]Zg$\xa1\x03\xc0\xa9\x9a\xb1'), chr(8959 - 8859) + '\145' + chr(0b111 + 0o134) + '\157' + '\x64' + '\x65')('\165' + chr(0b1010010 + 0o42) + chr(0b1100011 + 0o3) + chr(0b101101) + '\x38'))()
if roI3spqORKae(ES5oEprVxulp(b'<\x04k'), chr(0b110001 + 0o63) + '\145' + chr(0b101100 + 0o67) + chr(9908 - 9797) + '\144' + chr(4752 - 4651))(chr(8524 - 8407) + chr(0b1110100) + chr(9572 - 9470) + '\x2d' + '\x38') in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'p9ftS\x08\xb5\x7f\xf1\xbb\xe8\xeb'), '\x64' + '\x65' + chr(99) + chr(0b1101111) + chr(5329 - 5229) + '\145')(chr(11568 - 11451) + chr(11299 - 11183) + chr(102) + '\055' + chr(2232 - 2176))):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'<\x04k'), '\144' + '\145' + '\143' + chr(12087 - 11976) + '\x64' + chr(5544 - 5443))(chr(11776 - 11659) + '\x74' + chr(4160 - 4058) + chr(0b101101) + chr(0b100111 + 0o21)))
qjksZ7GK0xkJ = bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8('\x30' + chr(5196 - 5085) + '\061', 0o10)]
if roI3spqORKae(ES5oEprVxulp(b'<5'), chr(0b110011 + 0o61) + chr(0b1100101) + chr(99) + chr(4889 - 4778) + chr(100) + chr(0b1100101))(chr(0b1100001 + 0o24) + chr(0b1011001 + 0o33) + chr(0b1100110) + '\055' + chr(2843 - 2787)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'p9ftS\x08\xb5\x7f\xf1\xbb\xe8\xeb'), '\x64' + '\145' + '\x63' + '\157' + '\x64' + chr(0b1100101))(chr(0b100001 + 0o124) + chr(0b1110100) + '\x66' + chr(0b101101) + chr(413 - 357))):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'<5'), '\144' + chr(5602 - 5501) + '\x63' + chr(0b1011110 + 0o21) + '\144' + chr(101))(chr(0b1110101) + chr(116) + chr(0b1100000 + 0o6) + chr(45) + '\x38'))
rHPU8oONrR4n = bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\x31', 8)]
if roI3spqORKae(ES5oEprVxulp(b'<5\\Q'), '\144' + '\x65' + chr(99) + '\x6f' + '\x64' + chr(0b1100101))(chr(117) + chr(0b110 + 0o156) + chr(0b111000 + 0o56) + chr(0b1011 + 0o42) + chr(0b110101 + 0o3)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'p9ftS\x08\xb5\x7f\xf1\xbb\xe8\xeb'), chr(0b1100100) + chr(0b1100101) + '\x63' + chr(0b100100 + 0o113) + chr(0b1100100) + '\x65')(chr(0b1000111 + 0o56) + chr(0b110001 + 0o103) + '\146' + '\055' + '\x38')):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'<5\\Q'), chr(0b1100100) + '\145' + chr(0b111011 + 0o50) + '\157' + chr(100) + '\x65')(chr(117) + '\164' + '\146' + chr(45) + chr(56)))
bqpTUs8apVqb = bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8('\x30' + '\157' + chr(0b110001), 8)]
if roI3spqORKae(ES5oEprVxulp(b'<\x15'), chr(5249 - 5149) + chr(6239 - 6138) + chr(0b110111 + 0o54) + chr(111) + '\x64' + chr(0b1100101))('\x75' + '\x74' + chr(0b1100110) + '\055' + chr(1535 - 1479)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'p9ftS\x08\xb5\x7f\xf1\xbb\xe8\xeb'), chr(0b1100100) + '\x65' + chr(1399 - 1300) + chr(0b1101111) + chr(8206 - 8106) + '\x65')('\165' + chr(0b1110100) + chr(102) + '\x2d' + chr(56))):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'<\x15'), chr(7593 - 7493) + chr(101) + chr(0b1000100 + 0o37) + chr(0b1101111) + '\x64' + chr(8785 - 8684))('\165' + chr(0b11100 + 0o130) + '\x66' + '\x2d' + '\070'))
vqkvTUJsdUtb = bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8('\x30' + '\157' + chr(0b11111 + 0o22), 8)]
rHPU8oONrR4n = qjksZ7GK0xkJ + roI3spqORKae(ES5oEprVxulp(b'>'), chr(5193 - 5093) + '\x65' + chr(0b10111 + 0o114) + '\157' + '\x64' + chr(6852 - 6751))(chr(0b101111 + 0o106) + chr(116) + '\146' + '\x2d' + chr(0b111000)) + rHPU8oONrR4n
vqkvTUJsdUtb = qjksZ7GK0xkJ + roI3spqORKae(ES5oEprVxulp(b'>'), chr(100) + '\145' + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(2553 - 2452))('\165' + chr(116) + '\x66' + chr(0b101101) + chr(0b111000)) + vqkvTUJsdUtb
bqpTUs8apVqb = qjksZ7GK0xkJ + roI3spqORKae(ES5oEprVxulp(b'>'), '\144' + chr(101) + chr(0b1100011) + chr(111) + '\144' + chr(3559 - 3458))(chr(9296 - 9179) + chr(9010 - 8894) + '\146' + '\055' + chr(56)) + bqpTUs8apVqb
(FfKOThdpoDTb, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(rHPU8oONrR4n)
(i0YK7E41AkP0, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(bqpTUs8apVqb)
UC2SooMZGNQU = []
(DY_kJbK1r8Sm, NdseJ6s2mvp3) = ([], nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\060', 0o10))
for FKO_XxLfWbYt in FfKOThdpoDTb:
for NrOoJ8NdaX1V in i0YK7E41AkP0:
if roI3spqORKae(NrOoJ8NdaX1V[roI3spqORKae(ES5oEprVxulp(b't!pCe\x1c\x9d^\xd6\x85\xb5\xe8\x17,'), chr(3142 - 3042) + chr(0b100 + 0o141) + chr(99) + chr(111) + '\144' + chr(0b1100101))('\165' + '\x74' + chr(102) + '\055' + chr(0b10100 + 0o44))], roI3spqORKae(ES5oEprVxulp(b'I=\x17uJ&\xa0h\xd7\x93\x89\xfd'), '\x64' + chr(0b111110 + 0o47) + '\x63' + chr(0b11100 + 0o123) + '\x64' + '\x65')(chr(0b1110101) + '\x74' + chr(0b1100110) + chr(1209 - 1164) + chr(56)))() == roI3spqORKae(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b't!pCe\x1c\x9d^\xd6\x85\xb5\xe8\x17,'), '\x64' + '\x65' + chr(0b1100011) + '\157' + chr(0b1100100) + chr(0b1010110 + 0o17))('\165' + chr(0b1010001 + 0o43) + '\146' + chr(613 - 568) + chr(2535 - 2479))], roI3spqORKae(ES5oEprVxulp(b'I=\x17uJ&\xa0h\xd7\x93\x89\xfd'), chr(0b100010 + 0o102) + chr(9065 - 8964) + chr(0b1100011) + chr(0b1101111) + chr(0b11100 + 0o110) + '\145')(chr(11668 - 11551) + chr(0b1101101 + 0o7) + '\x66' + chr(45) + chr(0b111000)))():
if NrOoJ8NdaX1V[roI3spqORKae(ES5oEprVxulp(b't!pCe\x1c\x9d^\xd6\x85\xb5\xe8\x17,'), chr(0b111110 + 0o46) + chr(0b1100101) + chr(99) + chr(0b1101111) + chr(0b1100100) + '\x65')('\x75' + chr(116) + chr(0b1100110) + chr(0b101100 + 0o1) + chr(2099 - 2043))] not in DY_kJbK1r8Sm:
roI3spqORKae(DY_kJbK1r8Sm, roI3spqORKae(ES5oEprVxulp(b'Y\x07|\x04|\x16\xaa]\xd9\xb5\x8e\xbc'), '\144' + chr(101) + chr(0b1001010 + 0o31) + '\x6f' + chr(8924 - 8824) + chr(0b1100101))('\165' + chr(0b1000100 + 0o60) + '\x66' + chr(0b10000 + 0o35) + '\x38'))(roI3spqORKae(NrOoJ8NdaX1V[roI3spqORKae(ES5oEprVxulp(b't!pCe\x1c\x9d^\xd6\x85\xb5\xe8\x17,'), chr(100) + '\145' + chr(99) + chr(4031 - 3920) + chr(0b1100100) + '\x65')(chr(4061 - 3944) + '\x74' + chr(102) + '\x2d' + '\x38')], roI3spqORKae(ES5oEprVxulp(b'I=\x17uJ&\xa0h\xd7\x93\x89\xfd'), chr(0b1011111 + 0o5) + chr(0b1100000 + 0o5) + chr(0b1010010 + 0o21) + chr(111) + chr(0b1010 + 0o132) + chr(0b1100 + 0o131))(chr(117) + chr(0b1000100 + 0o60) + chr(0b1100110) + '\055' + chr(0b110001 + 0o7)))())
FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b't!pCm\x05\x88m\xdd\xbb\xb6\xec'), chr(0b1100100) + chr(0b1100101) + chr(0b100100 + 0o77) + '\x6f' + chr(3363 - 3263) + '\145')(chr(8644 - 8527) + chr(116) + '\146' + '\055' + chr(0b10001 + 0o47))] = NrOoJ8NdaX1V[roI3spqORKae(ES5oEprVxulp(b't!pCm\x05\x88m\xdd\xbb\xb6\xec'), chr(0b1100010 + 0o2) + chr(101) + chr(0b1100011) + '\x6f' + chr(100) + chr(0b1110 + 0o127))(chr(3033 - 2916) + chr(11264 - 11148) + chr(0b1000001 + 0o45) + '\055' + chr(423 - 367))]
FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b't!p\\k\x12\x8cF\xda\xb5\xb5\xd6\x14(\xc2\x15'), '\x64' + chr(0b110000 + 0o65) + '\x63' + chr(0b1011101 + 0o22) + chr(8440 - 8340) + chr(6117 - 6016))(chr(117) + chr(0b1000111 + 0o55) + '\x66' + '\055' + chr(56))] = NrOoJ8NdaX1V[roI3spqORKae(ES5oEprVxulp(b't!p\\k\x12\x8cF\xda\xb5\xb5\xd6\x14(\xc2\x15'), chr(6384 - 6284) + '\145' + chr(0b111011 + 0o50) + '\157' + '\x64' + chr(0b1100101))(chr(117) + chr(13441 - 13325) + chr(0b1100110) + chr(45) + '\x38')]
roI3spqORKae(UC2SooMZGNQU, roI3spqORKae(ES5oEprVxulp(b'Y\x07|\x04|\x16\xaa]\xd9\xb5\x8e\xbc'), '\144' + chr(101) + chr(0b1100011) + chr(0b1101111) + '\144' + '\x65')(chr(2439 - 2322) + chr(116) + '\146' + '\055' + chr(0b111000)))(FKO_XxLfWbYt)
break
if roI3spqORKae(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b't!pCe\x1c\x9d^\xd6\x85\xb5\xe8\x17,'), '\x64' + chr(101) + '\x63' + chr(111) + chr(0b101000 + 0o74) + chr(0b1100101))('\x75' + chr(0b1110100) + '\146' + chr(45) + chr(56))], roI3spqORKae(ES5oEprVxulp(b'I=\x17uJ&\xa0h\xd7\x93\x89\xfd'), chr(0b1100100) + chr(101) + chr(0b1100011) + chr(0b110000 + 0o77) + chr(3089 - 2989) + '\x65')(chr(117) + chr(0b1110100) + '\x66' + '\x2d' + '\x38'))() not in DY_kJbK1r8Sm:
roI3spqORKae(DY_kJbK1r8Sm, roI3spqORKae(ES5oEprVxulp(b'Y\x07|\x04|\x16\xaa]\xd9\xb5\x8e\xbc'), '\144' + '\145' + chr(99) + chr(2453 - 2342) + chr(0b1010 + 0o132) + '\145')(chr(117) + chr(0b1010000 + 0o44) + chr(0b1001100 + 0o32) + chr(45) + chr(56)))(roI3spqORKae(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b't!pCe\x1c\x9d^\xd6\x85\xb5\xe8\x17,'), chr(0b1100100) + chr(101) + chr(0b1100011) + chr(4522 - 4411) + chr(100) + chr(0b1100101))(chr(4986 - 4869) + chr(116) + '\x66' + '\x2d' + chr(0b111000))], roI3spqORKae(ES5oEprVxulp(b'I=\x17uJ&\xa0h\xd7\x93\x89\xfd'), '\144' + chr(101) + '\x63' + chr(0b1101111) + chr(2301 - 2201) + '\x65')('\165' + chr(0b1110100) + '\x66' + '\x2d' + chr(56)))())
NdseJ6s2mvp3 = nzTpIcepk0o8('\060' + chr(0b1010011 + 0o34) + chr(0b100000 + 0o21), 8)
q9UHVMIWIQq0 = {}
for QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(i0YK7E41AkP0[nzTpIcepk0o8(chr(0b110000) + '\157' + chr(1085 - 1037), 8)], roI3spqORKae(ES5oEprVxulp(b'z6VC'), chr(0b1100100) + chr(0b1100101) + '\143' + chr(111) + chr(0b1000101 + 0o37) + chr(0b1010110 + 0o17))(chr(0b101001 + 0o114) + chr(0b1011010 + 0o32) + chr(0b101 + 0o141) + chr(0b101100 + 0o1) + chr(2524 - 2468)))()):
q9UHVMIWIQq0[QYodcsDtoGq7] = roI3spqORKae(ES5oEprVxulp(b''), chr(0b101100 + 0o70) + '\x65' + '\143' + chr(10801 - 10690) + '\144' + chr(0b1100101))('\165' + chr(116) + chr(0b10 + 0o144) + chr(0b10001 + 0o34) + chr(0b111000))
q9UHVMIWIQq0[roI3spqORKae(ES5oEprVxulp(b't!pCe\x1c\x9d^\xd6\x85\xb5\xe8\x17,'), '\144' + '\145' + chr(0b110001 + 0o62) + '\157' + '\x64' + chr(0b1011111 + 0o6))(chr(13334 - 13217) + chr(0b1110100) + chr(1284 - 1182) + chr(45) + chr(582 - 526))] = FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b't!pCe\x1c\x9d^\xd6\x85\xb5\xe8\x17,'), chr(0b1100100) + chr(0b111011 + 0o52) + '\x63' + chr(4500 - 4389) + chr(100) + chr(0b110000 + 0o65))('\165' + '\x74' + chr(0b1100110 + 0o0) + chr(1173 - 1128) + '\x38')]
q9UHVMIWIQq0[roI3spqORKae(ES5oEprVxulp(b't!pSm\x05\x8cF\xda\xb5\xb5\xd6\x14(\xc2\x15?'), chr(100) + '\145' + chr(99) + chr(1149 - 1038) + chr(0b1100100) + '\145')(chr(0b100000 + 0o125) + '\164' + chr(0b1100110) + '\055' + chr(56))] = roI3spqORKae(ES5oEprVxulp(b'E;FC$\x02\x99G\xd7\xa3'), chr(0b101110 + 0o66) + chr(0b11 + 0o142) + chr(99) + chr(0b1001001 + 0o46) + chr(0b1100100) + chr(101))('\x75' + '\164' + chr(1662 - 1560) + chr(45) + chr(56))
q9UHVMIWIQq0[roI3spqORKae(ES5oEprVxulp(b't!pCm\x05\x88m\xdd\xbb\xb6\xec'), '\x64' + '\145' + chr(8740 - 8641) + chr(0b1101111) + '\144' + '\145')(chr(0b10111 + 0o136) + '\164' + chr(102) + chr(0b101101) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\\\x1a|cM?\xaa'), chr(0b1001011 + 0o31) + chr(6001 - 5900) + '\x63' + chr(0b101 + 0o152) + chr(8315 - 8215) + '\145')('\165' + '\164' + chr(0b1100110) + chr(0b101101 + 0o0) + chr(2407 - 2351))
q9UHVMIWIQq0[roI3spqORKae(ES5oEprVxulp(b't!p\\k\x12\x8cF\xda\xb5\xb5\xd6\x14(\xc2\x15'), '\144' + chr(7336 - 7235) + chr(99) + chr(3544 - 3433) + chr(100) + chr(0b1100101))(chr(0b1110101) + chr(8002 - 7886) + chr(102) + '\055' + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\\\x1a|cM?\xaa'), chr(0b1010011 + 0o21) + chr(0b111000 + 0o55) + '\x63' + '\x6f' + '\x64' + chr(0b1001100 + 0o31))('\x75' + '\x74' + '\146' + chr(976 - 931) + chr(704 - 648))
q9UHVMIWIQq0[roI3spqORKae(ES5oEprVxulp(b'b2B@h\x14\xb2V\xd6\xa9\xa9\xe0\n=\xc6\x1f"'), '\144' + chr(5029 - 4928) + '\x63' + '\x6f' + '\144' + '\x65')(chr(0b100110 + 0o117) + '\164' + '\146' + chr(509 - 464) + chr(1328 - 1272))] = roI3spqORKae(ES5oEprVxulp(b"c6L_v\x15\x88V\x93\xbb\xbf\xed\x1f-\x8f\x125\xe0\xd9\xffH\xa9\xb6K\x8c\xa0\x9e\xb3'H\xac\x95\xe4\xd1\xce\xa7d\x99\xd1\x8et7FD$\x10\x9e\x12\xdd\xbf\xbe\xed\x1f-"), chr(1022 - 922) + '\145' + chr(99) + chr(0b1100001 + 0o16) + '\x64' + chr(0b100000 + 0o105))(chr(0b111010 + 0o73) + '\x74' + chr(2483 - 2381) + chr(45) + '\070')
roI3spqORKae(i0YK7E41AkP0, roI3spqORKae(ES5oEprVxulp(b'Y\x07|\x04|\x16\xaa]\xd9\xb5\x8e\xbc'), chr(100) + chr(0b1011000 + 0o15) + chr(99) + chr(0b110000 + 0o77) + chr(100) + '\145')('\165' + chr(5601 - 5485) + '\x66' + '\055' + chr(0b110001 + 0o7)))(q9UHVMIWIQq0)
v8jsMqaYV6U2(FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b't!pCe\x1c\x9d^\xd6\x85\xb5\xe8\x17,'), '\144' + chr(5532 - 5431) + chr(0b111101 + 0o46) + chr(8940 - 8829) + chr(0b1100100) + '\145')('\x75' + chr(116) + '\146' + chr(0b1110 + 0o37) + chr(0b111000))], roI3spqORKae(ES5oEprVxulp(b'1>FCw\x18\x83U\x93\xbc\xa9\xe6\x17i\xca\x02\x13\xb3\xcd\xe2\\\xa4\xa7]\xfd\xb9\x83\xa6t[\xb7\x9c\xec\x94\x8d\xf3r\xdd\x95\xda1<]Ya\x1f\x99\x1c\xc7\xa2\xaf\xa9\x1c \xc3\x15l\xa1\xc2\xeb\x0c\xba\xa7\x03\xba\xa0\x8b\xbd&I'), '\x64' + chr(9403 - 9302) + chr(0b11101 + 0o106) + '\157' + '\x64' + chr(0b110111 + 0o56))('\x75' + chr(116) + '\x66' + chr(0b101101) + chr(0b111000)))
FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b't!pCm\x05\x88m\xdd\xbb\xb6\xec'), chr(277 - 177) + '\145' + chr(0b110000 + 0o63) + '\x6f' + '\144' + '\145')(chr(117) + chr(116) + chr(0b1100110) + '\x2d' + chr(56))] = roI3spqORKae(ES5oEprVxulp(b'\\\x1a|cM?\xaa'), chr(100) + '\145' + chr(0b101110 + 0o65) + chr(4709 - 4598) + chr(9536 - 9436) + chr(101))('\x75' + chr(0b1110100) + '\x66' + chr(947 - 902) + '\070')
FKO_XxLfWbYt[roI3spqORKae(ES5oEprVxulp(b't!p\\k\x12\x8cF\xda\xb5\xb5\xd6\x14(\xc2\x15'), chr(8268 - 8168) + chr(3879 - 3778) + chr(99) + chr(0b1101111) + '\144' + chr(0b1100101))(chr(117) + chr(116) + chr(0b1100110) + chr(0b101101) + '\070')] = roI3spqORKae(ES5oEprVxulp(b'\\\x1a|cM?\xaa'), chr(0b11110 + 0o106) + chr(0b1100101) + '\143' + chr(111) + '\x64' + '\145')('\x75' + chr(8130 - 8014) + chr(4913 - 4811) + '\x2d' + chr(56))
roI3spqORKae(UC2SooMZGNQU, roI3spqORKae(ES5oEprVxulp(b'Y\x07|\x04|\x16\xaa]\xd9\xb5\x8e\xbc'), chr(100) + chr(0b1100101) + '\143' + '\157' + chr(0b1 + 0o143) + chr(0b10010 + 0o123))('\165' + chr(116) + chr(0b1100010 + 0o4) + '\x2d' + chr(56)))(FKO_XxLfWbYt)
roI3spqORKae(hUcsWwAd0nE_, roI3spqORKae(ES5oEprVxulp(b'|2HYg.\x9a@\xda\xae\xbe'), chr(8839 - 8739) + chr(101) + chr(1024 - 925) + '\x6f' + chr(0b1100100) + '\145')(chr(0b1000111 + 0o56) + chr(0b1110100) + '\146' + chr(0b1101 + 0o40) + chr(0b111000)))(vqkvTUJsdUtb, UC2SooMZGNQU, roI3spqORKae(ES5oEprVxulp(b'|2HYg.\x80W\xd2\xa9\xae\xfb\x1f$\xca\x1e8\xb3'), chr(100) + chr(4935 - 4834) + '\x63' + '\x6f' + chr(3893 - 3793) + chr(0b100010 + 0o103))(chr(12983 - 12866) + '\164' + '\146' + '\x2d' + chr(0b111000)))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'd#KQp\x14\x89\x12\xde\xbf\xba\xfa\x0f;\xca\x1d)\xae\xd8\xfc\x0c\xae\xabB\xb6\xed\x88\xa6;O\xbb\x94\xa9\xdd\xce\xf3'), '\x64' + chr(6410 - 6309) + chr(99) + chr(111) + chr(203 - 103) + chr(0b1100101))('\x75' + '\164' + chr(0b100111 + 0o77) + chr(0b101101) + chr(56)), vqkvTUJsdUtb)
if NdseJ6s2mvp3 == nzTpIcepk0o8('\060' + '\157' + chr(0b110001), 8):
roI3spqORKae(hUcsWwAd0nE_, roI3spqORKae(ES5oEprVxulp(b'|2HYg.\x9a@\xda\xae\xbe'), chr(0b100110 + 0o76) + '\x65' + '\x63' + chr(9860 - 9749) + chr(6175 - 6075) + chr(0b1010111 + 0o16))('\165' + '\x74' + chr(0b1100110) + '\x2d' + chr(0b111000)))(bqpTUs8apVqb, i0YK7E41AkP0, roI3spqORKae(ES5oEprVxulp(b't!pCe\x1c\x9d^\xd6\xa9'), '\x64' + chr(101) + chr(99) + '\x6f' + '\x64' + chr(3353 - 3252))('\165' + chr(1516 - 1400) + '\x66' + chr(0b10000 + 0o35) + chr(0b111000)))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'd#KQp\x14\x89\x12\xc0\xbb\xb6\xf9\x16,\x8f\x16%\xac\xc9\xaf_\xbc\xad\\\xb6\xa9\xdb\xbb:\x1d'), '\x64' + chr(0b111111 + 0o46) + chr(99) + chr(111) + chr(100) + chr(101))(chr(11391 - 11274) + chr(0b1110100) + chr(102) + '\x2d' + '\x38'), bqpTUs8apVqb)
|
PmagPy/PmagPy
|
programs/conversion_scripts2/ldeo_magic2.py
|
main
|
def main(command_line=True, **kwargs):
"""
NAME
ldeo_magic.py
DESCRIPTION
converts LDEO format files to magic_measurements format files
SYNTAX
ldeo_magic.py [command line options]
OPTIONS
-h: prints the help message and quits.
-usr USER: identify user, default is ""
-f FILE: specify .ldeo format input file, required
-F FILE: specify output file, default is magic_measurements.txt
-Fsy: specify er_synthetics file, default is er_sythetics.txt
-LP [colon delimited list of protocols, include all that apply]
AF: af demag
T: thermal including thellier but not trm acquisition
S: Shaw method
I: IRM (acquisition)
N: NRM only
TRM: trm acquisition
ANI: anisotropy experiment
D: double AF demag
G: triple AF demag (GRM protocol)
-V [1,2,3] units of IRM field in volts using ASC coil #1,2 or 3
-spc NUM : specify number of characters to designate a specimen, default = 0
-loc LOCNAME : specify location/study name, must have either LOCNAME or SAMPFILE or be a synthetic
-syn INST TYPE: sets these specimens as synthetics created at institution INST and of type TYPE
-ins INST : specify which demag instrument was used (e.g, SIO-Suzy or SIO-Odette),default is ""
-dc B PHI THETA: dc lab field (in micro tesla) and phi,theta, default is none
NB: use PHI, THETA = -1 -1 to signal that it changes, i.e. in anisotropy experiment
-ac B : peak AF field (in mT) for ARM acquisition, default is none
-ARM_dc # default value is 50e-6
-ARM_temp # default is 600c
-ncn NCON: specify naming convention: default is #1 below
-A: don't average replicate measurements
Sample naming convention:
[1] XXXXY: where XXXX is an arbitrary length site designation and Y
is the single character sample designation. e.g., TG001a is the
first sample from site TG001. [default]
[2] XXXX-YY: YY sample from site XXXX (XXX, YY of arbitary length)
[3] XXXX.YY: YY sample from site XXXX (XXX, YY of arbitary length)
[4-Z] XXXX[YYY]: YYY is sample designation with Z characters from site XXX
[5] site name same as sample
[6] site is entered under a separate column -- NOT CURRENTLY SUPPORTED
[7-Z] [XXXX]YYY: XXXX is site designation with Z characters with sample name XXXXYYYY
NB: all others you will have to customize your self
or e-mail ltauxe@ucsd.edu for help.
[8] synthetic - has no site name
INPUT
Best to put separate experiments (all AF, thermal, thellier, trm aquisition, Shaw, etc.) in
seperate .mag files (eg. af.mag, thermal.mag, etc.)
Format of LDEO files:
isaf2.fix
LAT: .00 LON: .00
ID TREAT I CD J CDECL CINCL GDECL GINCL BDECL BINCL SUSC M/V
________________________________________________________________________________
is031c2 .0 SD 0 461.600 163.9 17.5 337.1 74.5 319.1 74.4 .0 .0
ID: specimen name
TREAT: treatment step
I: Instrument
CD: Circular standard devation
J: intensity. assumed to be total moment in 10^-4 (emu)
CDECL: Declination in specimen coordinate system
CINCL: Declination in specimen coordinate system
GDECL: Declination in geographic coordinate system
GINCL: Declination in geographic coordinate system
BDECL: Declination in bedding adjusted coordinate system
BINCL: Declination in bedding adjusted coordinate system
SUSC: magnetic susceptibility (in micro SI)a
M/V: mass or volume for nomalizing (0 won't normalize)
"""
# initialize some stuff
noave=0
codelist = ''
methcode,inst="LP-NO",""
phi,theta,peakfield,labfield=0,0,0,0
pTRM,MD,samp_con,Z=0,0,'1',1
dec=[315,225,180,135,45,90,270,270,270,90,180,180,0,0,0]
inc=[0,0,0,0,0,-45,-45,0,45,45,45,-45,-90,-45,45]
tdec=[0,90,0,180,270,0,0,90,0]
tinc=[0,0,90,0,0,-90,0,0,90]
missing=1
demag="N"
er_location_name=""
citation='This study'
args=sys.argv
fmt='old'
syn=0
synfile='er_synthetics.txt'
magfile = ''
trm=0
irm=0
specnum=0
coil=""
arm_labfield = 50e-6
trm_peakT = 600+273
#
# get command line arguments
#
meas_file="magic_measurements.txt"
user=""
if command_line:
if "-h" in args:
print(main.__doc__)
return False
if "-usr" in args:
ind=args.index("-usr")
user=args[ind+1]
if '-F' in args:
ind=args.index("-F")
meas_file=args[ind+1]
if '-Fsy' in args:
ind=args.index("-Fsy")
synfile=args[ind+1]
if '-f' in args:
ind=args.index("-f")
magfile=args[ind+1]
if "-dc" in args:
ind=args.index("-dc")
labfield=float(args[ind+1])*1e-6
phi=float(args[ind+2])
theta=float(args[ind+3])
if "-ac" in args:
ind=args.index("-ac")
peakfield=float(args[ind+1])*1e-3
if "-spc" in args:
ind=args.index("-spc")
specnum=int(args[ind+1])
if "-loc" in args:
ind=args.index("-loc")
er_location_name=args[ind+1]
if '-syn' in args:
syn=1
ind=args.index("-syn")
institution=args[ind+1]
syntype=args[ind+2]
if '-fsy' in args:
ind=args.index("-fsy")
synfile=args[ind+1]
if "-ins" in args:
ind=args.index("-ins")
inst=args[ind+1]
if "-A" in args: noave=1
if "-ncn" in args:
ind=args.index("-ncn")
samp_con=sys.argv[ind+1]
if '-LP' in args:
ind=args.index("-LP")
codelist=args[ind+1]
if "-V" in args:
ind=args.index("-V")
coil=args[ind+1]
if '-ARM_dc' in args:
ind = args.index("-ARM_dc")
arm_labfield = args[ind+1]
if '-ARM_temp' in args:
ind = args.index('-ARM_temp')
trm_peakT = args[ind+1]
if not command_line:
user = kwargs.get('user', '')
meas_file = kwargs.get('meas_file', 'magic_measurements.txt')
synfile = kwargs.get('synfile', 'er_synthetics.txt')
# rm samp_file = kwargs.get('samp_file', '')
magfile = kwargs.get('magfile', '')
labfield = int(kwargs.get('labfield', 0)) *1e-6
phi = int(kwargs.get('phi', 0))
theta = int(kwargs.get('theta', 0))
peakfield = int(kwargs.get('peakfield', 0))*1e-3
specnum = int(kwargs.get('specnum', 0))
er_location_name = kwargs.get('er_location_name', '')
# rm samp_infile = kwargs.get('samp_infile', '')
syn = kwargs.get('syn', 0)
institution = kwargs.get('institution', '')
syntype = kwargs.get('syntype', '')
inst = kwargs.get('inst', '')
noave = kwargs.get('noave', 0) # 0 means "do average", is default
samp_con = kwargs.get('samp_con', '1')
codelist = kwargs.get('codelist', '')
coil = kwargs.get('coil', '')
arm_labfield = kwargs.get('arm_labfield', 50e-6)
trm_peakT = kwargs.get('trm_peakT', 600+273)
# format/organize variables
if magfile:
try:
input=open(magfile,'r')
except:
print("bad mag file name")
return False, "bad mag file name"
else:
print("mag_file field is required option")
print(main.__doc__)
return False, "mag_file field is required option"
if specnum!=0:specnum=-specnum
if "4" in samp_con:
if "-" not in samp_con:
print("naming convention option [4] must be in form 4-Z where Z is an integer")
return False, "naming convention option [4] must be in form 4-Z where Z is an integer"
else:
Z=samp_con.split("-")[1]
samp_con="4"
if "7" in samp_con:
if "-" not in samp_con:
print("naming convention option [7] must be in form 7-Z where Z is an integer")
return False, "naming convention option [7] must be in form 7-Z where Z is an integer"
else:
Z=samp_con.split("-")[1]
samp_con="4"
codes=codelist.split(':')
if "AF" in codes:
demag='AF'
if not labfield: methcode="LT-AF-Z"
if labfield: methcode="LT-AF-I"
if "T" in codes:
demag="T"
if not labfield: methcode="LT-T-Z"
if labfield: methcode="LT-T-I"
if "I" in codes:
methcode="LP-IRM"
irmunits="mT"
if "S" in codes:
demag="S"
methcode="LP-PI-TRM:LP-PI-ALT-AFARM"
trm_labfield=labfield
# should use arm_labfield and trm_peakT as well, but these values are currently never asked for
if "G" in codes: methcode="LT-AF-G"
if "D" in codes: methcode="LT-AF-D"
if "TRM" in codes:
demag="T"
trm=1
if coil:
methcode="LP-IRM"
irmunits="V"
if coil not in ["1","2","3"]:
print(main.__doc__)
print('not a valid coil specification')
return False, 'not a valid coil specification'
if demag=="T" and "ANI" in codes:
methcode="LP-AN-TRM"
if demag=="AF" and "ANI" in codes:
methcode="LP-AN-ARM"
if labfield==0: labfield=50e-6
if peakfield==0: peakfield=.180
SynRecs,MagRecs=[],[]
version_num=pmag.get_version()
if 1: # ldeo file format
#
# find start of data:
#
DIspec=[]
Data,k=input.readlines(),0
for k in range(len(Data)):
rec=Data[k].split()
if rec[0][0]=="_" or rec[0][0:2]=="!_":
break
start=k+1
for k in range(start,len(Data)):
rec=Data[k].split()
if len(rec)>0:
MagRec={}
MagRec["treatment_temp"]='%8.3e' % (273) # room temp in kelvin
MagRec["measurement_temp"]='%8.3e' % (273) # room temp in kelvin
MagRec["treatment_ac_field"]='0'
MagRec["treatment_dc_field"]='0'
MagRec["treatment_dc_field_phi"]='0'
MagRec["treatment_dc_field_theta"]='0'
meas_type="LT-NO"
MagRec["measurement_flag"]='g'
MagRec["measurement_standard"]='u'
MagRec["measurement_number"]='1'
MagRec["er_specimen_name"]=rec[0]
if specnum!=0:
MagRec["er_sample_name"]=rec[0][:specnum]
else:
MagRec["er_sample_name"]=rec[0]
site=pmag.parse_site(MagRec['er_sample_name'],samp_con,Z)
MagRec["er_site_name"]=site
MagRec["er_location_name"]=er_location_name
MagRec["measurement_csd"]=rec[3]
MagRec["measurement_magn_moment"]='%10.3e'% (float(rec[4])*1e-7) # moment in Am^2 (from 10^-4 emu)
#
#if samp_file!="" and MagRec["er_sample_name"] not in Samps: # create er_samples.txt file with these data
# cdec,cinc=float(rec[5]),float(rec[6])
# gdec,ginc=float(rec[7]),float(rec[8])
# az,pl=pmag.get_azpl(cdec,cinc,gdec,ginc)
# bdec,binc=float(rec[9]),float(rec[10])
# if rec[7]!=rec[9] and rec[6]!=rec[8]:
# dipdir,dip=pmag.get_tilt(gdec,ginc,bdec,binc)
# else:
# dipdir,dip=0,0
# ErSampRec={}
# ErSampRec['er_location_name']=MagRec['er_location_name']
# ErSampRec['er_sample_name']=MagRec['er_sample_name']
# ErSampRec['er_site_name']=MagRec['er_site_name']
# ErSampRec['sample_azimuth']='%7.1f'%(az)
# ErSampRec['sample_dip']='%7.1f'%(pl)
# ErSampRec['sample_bed_dip_direction']='%7.1f'%(dipdir)
# ErSampRec['sample_bed_dip']='%7.1f'%(dip)
# ErSampRec['sample_description']='az,pl,dip_dir and dip recalculated from [c,g,b][dec,inc] in ldeo file'
# ErSampRec['magic_method_codes']='SO-REC'
# ErSamps.append(ErSampRec)
# Samps.append(ErSampRec['er_sample_name'])
MagRec["measurement_dec"]=rec[5]
MagRec["measurement_inc"]=rec[6]
MagRec["measurement_chi"]='%10.3e'%(float(rec[11])*1e-5)#convert to SI (assume Bartington, 10-5 SI)
#MagRec["magic_instrument_codes"]=rec[2]
#MagRec["er_analyst_mail_names"]=""
MagRec["er_citation_names"]="This study"
MagRec["magic_method_codes"]=meas_type
if demag=="AF":
if methcode != "LP-AN-ARM":
MagRec["treatment_ac_field"]='%8.3e' %(float(rec[1])*1e-3) # peak field in tesla
meas_type="LT-AF-Z"
MagRec["treatment_dc_field"]='0'
else: # AARM experiment
if treat[1][0]=='0':
meas_type="LT-AF-Z"
MagRec["treatment_ac_field"]='%8.3e' %(peakfield) # peak field in tesla
else:
meas_type="LT-AF-I"
ipos=int(treat[0])-1
MagRec["treatment_dc_field_phi"]='%7.1f' %(dec[ipos])
MagRec["treatment_dc_field_theta"]='%7.1f'% (inc[ipos])
MagRec["treatment_dc_field"]='%8.3e'%(labfield)
MagRec["treatment_ac_field"]='%8.3e' %(peakfield) # peak field in tesla
elif demag=="T":
if rec[1][0]==".":rec[1]="0"+rec[1]
treat=rec[1].split('.')
if len(treat)==1:treat.append('0')
MagRec["treatment_temp"]='%8.3e' % (float(rec[1])+273.) # temp in kelvin
meas_type="LT-T-Z"
MagRec["treatment_temp"]='%8.3e' % (float(treat[0])+273.) # temp in kelvin
if trm==0: # demag=T and not trmaq
if treat[1][0]=='0':
meas_type="LT-T-Z"
else:
MagRec["treatment_dc_field"]='%8.3e' % (labfield) # labfield in tesla (convert from microT)
MagRec["treatment_dc_field_phi"]='%7.1f' % (phi) # labfield phi
MagRec["treatment_dc_field_theta"]='%7.1f' % (theta) # labfield theta
if treat[1][0]=='1':meas_type="LT-T-I" # in-field thermal step
if treat[1][0]=='2':
meas_type="LT-PTRM-I" # pTRM check
pTRM=1
if treat[1][0]=='3':
MagRec["treatment_dc_field"]='0' # this is a zero field step
meas_type="LT-PTRM-MD" # pTRM tail check
else:
meas_type="LT-T-I" # trm acquisition experiment
MagRec['magic_method_codes']=meas_type
MagRecs.append(MagRec)
MagOuts=pmag.measurements_methods(MagRecs,noave)
pmag.magic_write(meas_file,MagOuts,'magic_measurements')
print("results put in ",meas_file)
if len(SynRecs)>0:
pmag.magic_write(synfile,SynRecs,'er_synthetics')
print("synthetics put in ",synfile)
return True, meas_file
|
python
|
def main(command_line=True, **kwargs):
"""
NAME
ldeo_magic.py
DESCRIPTION
converts LDEO format files to magic_measurements format files
SYNTAX
ldeo_magic.py [command line options]
OPTIONS
-h: prints the help message and quits.
-usr USER: identify user, default is ""
-f FILE: specify .ldeo format input file, required
-F FILE: specify output file, default is magic_measurements.txt
-Fsy: specify er_synthetics file, default is er_sythetics.txt
-LP [colon delimited list of protocols, include all that apply]
AF: af demag
T: thermal including thellier but not trm acquisition
S: Shaw method
I: IRM (acquisition)
N: NRM only
TRM: trm acquisition
ANI: anisotropy experiment
D: double AF demag
G: triple AF demag (GRM protocol)
-V [1,2,3] units of IRM field in volts using ASC coil #1,2 or 3
-spc NUM : specify number of characters to designate a specimen, default = 0
-loc LOCNAME : specify location/study name, must have either LOCNAME or SAMPFILE or be a synthetic
-syn INST TYPE: sets these specimens as synthetics created at institution INST and of type TYPE
-ins INST : specify which demag instrument was used (e.g, SIO-Suzy or SIO-Odette),default is ""
-dc B PHI THETA: dc lab field (in micro tesla) and phi,theta, default is none
NB: use PHI, THETA = -1 -1 to signal that it changes, i.e. in anisotropy experiment
-ac B : peak AF field (in mT) for ARM acquisition, default is none
-ARM_dc # default value is 50e-6
-ARM_temp # default is 600c
-ncn NCON: specify naming convention: default is #1 below
-A: don't average replicate measurements
Sample naming convention:
[1] XXXXY: where XXXX is an arbitrary length site designation and Y
is the single character sample designation. e.g., TG001a is the
first sample from site TG001. [default]
[2] XXXX-YY: YY sample from site XXXX (XXX, YY of arbitary length)
[3] XXXX.YY: YY sample from site XXXX (XXX, YY of arbitary length)
[4-Z] XXXX[YYY]: YYY is sample designation with Z characters from site XXX
[5] site name same as sample
[6] site is entered under a separate column -- NOT CURRENTLY SUPPORTED
[7-Z] [XXXX]YYY: XXXX is site designation with Z characters with sample name XXXXYYYY
NB: all others you will have to customize your self
or e-mail ltauxe@ucsd.edu for help.
[8] synthetic - has no site name
INPUT
Best to put separate experiments (all AF, thermal, thellier, trm aquisition, Shaw, etc.) in
seperate .mag files (eg. af.mag, thermal.mag, etc.)
Format of LDEO files:
isaf2.fix
LAT: .00 LON: .00
ID TREAT I CD J CDECL CINCL GDECL GINCL BDECL BINCL SUSC M/V
________________________________________________________________________________
is031c2 .0 SD 0 461.600 163.9 17.5 337.1 74.5 319.1 74.4 .0 .0
ID: specimen name
TREAT: treatment step
I: Instrument
CD: Circular standard devation
J: intensity. assumed to be total moment in 10^-4 (emu)
CDECL: Declination in specimen coordinate system
CINCL: Declination in specimen coordinate system
GDECL: Declination in geographic coordinate system
GINCL: Declination in geographic coordinate system
BDECL: Declination in bedding adjusted coordinate system
BINCL: Declination in bedding adjusted coordinate system
SUSC: magnetic susceptibility (in micro SI)a
M/V: mass or volume for nomalizing (0 won't normalize)
"""
# initialize some stuff
noave=0
codelist = ''
methcode,inst="LP-NO",""
phi,theta,peakfield,labfield=0,0,0,0
pTRM,MD,samp_con,Z=0,0,'1',1
dec=[315,225,180,135,45,90,270,270,270,90,180,180,0,0,0]
inc=[0,0,0,0,0,-45,-45,0,45,45,45,-45,-90,-45,45]
tdec=[0,90,0,180,270,0,0,90,0]
tinc=[0,0,90,0,0,-90,0,0,90]
missing=1
demag="N"
er_location_name=""
citation='This study'
args=sys.argv
fmt='old'
syn=0
synfile='er_synthetics.txt'
magfile = ''
trm=0
irm=0
specnum=0
coil=""
arm_labfield = 50e-6
trm_peakT = 600+273
#
# get command line arguments
#
meas_file="magic_measurements.txt"
user=""
if command_line:
if "-h" in args:
print(main.__doc__)
return False
if "-usr" in args:
ind=args.index("-usr")
user=args[ind+1]
if '-F' in args:
ind=args.index("-F")
meas_file=args[ind+1]
if '-Fsy' in args:
ind=args.index("-Fsy")
synfile=args[ind+1]
if '-f' in args:
ind=args.index("-f")
magfile=args[ind+1]
if "-dc" in args:
ind=args.index("-dc")
labfield=float(args[ind+1])*1e-6
phi=float(args[ind+2])
theta=float(args[ind+3])
if "-ac" in args:
ind=args.index("-ac")
peakfield=float(args[ind+1])*1e-3
if "-spc" in args:
ind=args.index("-spc")
specnum=int(args[ind+1])
if "-loc" in args:
ind=args.index("-loc")
er_location_name=args[ind+1]
if '-syn' in args:
syn=1
ind=args.index("-syn")
institution=args[ind+1]
syntype=args[ind+2]
if '-fsy' in args:
ind=args.index("-fsy")
synfile=args[ind+1]
if "-ins" in args:
ind=args.index("-ins")
inst=args[ind+1]
if "-A" in args: noave=1
if "-ncn" in args:
ind=args.index("-ncn")
samp_con=sys.argv[ind+1]
if '-LP' in args:
ind=args.index("-LP")
codelist=args[ind+1]
if "-V" in args:
ind=args.index("-V")
coil=args[ind+1]
if '-ARM_dc' in args:
ind = args.index("-ARM_dc")
arm_labfield = args[ind+1]
if '-ARM_temp' in args:
ind = args.index('-ARM_temp')
trm_peakT = args[ind+1]
if not command_line:
user = kwargs.get('user', '')
meas_file = kwargs.get('meas_file', 'magic_measurements.txt')
synfile = kwargs.get('synfile', 'er_synthetics.txt')
# rm samp_file = kwargs.get('samp_file', '')
magfile = kwargs.get('magfile', '')
labfield = int(kwargs.get('labfield', 0)) *1e-6
phi = int(kwargs.get('phi', 0))
theta = int(kwargs.get('theta', 0))
peakfield = int(kwargs.get('peakfield', 0))*1e-3
specnum = int(kwargs.get('specnum', 0))
er_location_name = kwargs.get('er_location_name', '')
# rm samp_infile = kwargs.get('samp_infile', '')
syn = kwargs.get('syn', 0)
institution = kwargs.get('institution', '')
syntype = kwargs.get('syntype', '')
inst = kwargs.get('inst', '')
noave = kwargs.get('noave', 0) # 0 means "do average", is default
samp_con = kwargs.get('samp_con', '1')
codelist = kwargs.get('codelist', '')
coil = kwargs.get('coil', '')
arm_labfield = kwargs.get('arm_labfield', 50e-6)
trm_peakT = kwargs.get('trm_peakT', 600+273)
# format/organize variables
if magfile:
try:
input=open(magfile,'r')
except:
print("bad mag file name")
return False, "bad mag file name"
else:
print("mag_file field is required option")
print(main.__doc__)
return False, "mag_file field is required option"
if specnum!=0:specnum=-specnum
if "4" in samp_con:
if "-" not in samp_con:
print("naming convention option [4] must be in form 4-Z where Z is an integer")
return False, "naming convention option [4] must be in form 4-Z where Z is an integer"
else:
Z=samp_con.split("-")[1]
samp_con="4"
if "7" in samp_con:
if "-" not in samp_con:
print("naming convention option [7] must be in form 7-Z where Z is an integer")
return False, "naming convention option [7] must be in form 7-Z where Z is an integer"
else:
Z=samp_con.split("-")[1]
samp_con="4"
codes=codelist.split(':')
if "AF" in codes:
demag='AF'
if not labfield: methcode="LT-AF-Z"
if labfield: methcode="LT-AF-I"
if "T" in codes:
demag="T"
if not labfield: methcode="LT-T-Z"
if labfield: methcode="LT-T-I"
if "I" in codes:
methcode="LP-IRM"
irmunits="mT"
if "S" in codes:
demag="S"
methcode="LP-PI-TRM:LP-PI-ALT-AFARM"
trm_labfield=labfield
# should use arm_labfield and trm_peakT as well, but these values are currently never asked for
if "G" in codes: methcode="LT-AF-G"
if "D" in codes: methcode="LT-AF-D"
if "TRM" in codes:
demag="T"
trm=1
if coil:
methcode="LP-IRM"
irmunits="V"
if coil not in ["1","2","3"]:
print(main.__doc__)
print('not a valid coil specification')
return False, 'not a valid coil specification'
if demag=="T" and "ANI" in codes:
methcode="LP-AN-TRM"
if demag=="AF" and "ANI" in codes:
methcode="LP-AN-ARM"
if labfield==0: labfield=50e-6
if peakfield==0: peakfield=.180
SynRecs,MagRecs=[],[]
version_num=pmag.get_version()
if 1: # ldeo file format
#
# find start of data:
#
DIspec=[]
Data,k=input.readlines(),0
for k in range(len(Data)):
rec=Data[k].split()
if rec[0][0]=="_" or rec[0][0:2]=="!_":
break
start=k+1
for k in range(start,len(Data)):
rec=Data[k].split()
if len(rec)>0:
MagRec={}
MagRec["treatment_temp"]='%8.3e' % (273) # room temp in kelvin
MagRec["measurement_temp"]='%8.3e' % (273) # room temp in kelvin
MagRec["treatment_ac_field"]='0'
MagRec["treatment_dc_field"]='0'
MagRec["treatment_dc_field_phi"]='0'
MagRec["treatment_dc_field_theta"]='0'
meas_type="LT-NO"
MagRec["measurement_flag"]='g'
MagRec["measurement_standard"]='u'
MagRec["measurement_number"]='1'
MagRec["er_specimen_name"]=rec[0]
if specnum!=0:
MagRec["er_sample_name"]=rec[0][:specnum]
else:
MagRec["er_sample_name"]=rec[0]
site=pmag.parse_site(MagRec['er_sample_name'],samp_con,Z)
MagRec["er_site_name"]=site
MagRec["er_location_name"]=er_location_name
MagRec["measurement_csd"]=rec[3]
MagRec["measurement_magn_moment"]='%10.3e'% (float(rec[4])*1e-7) # moment in Am^2 (from 10^-4 emu)
#
#if samp_file!="" and MagRec["er_sample_name"] not in Samps: # create er_samples.txt file with these data
# cdec,cinc=float(rec[5]),float(rec[6])
# gdec,ginc=float(rec[7]),float(rec[8])
# az,pl=pmag.get_azpl(cdec,cinc,gdec,ginc)
# bdec,binc=float(rec[9]),float(rec[10])
# if rec[7]!=rec[9] and rec[6]!=rec[8]:
# dipdir,dip=pmag.get_tilt(gdec,ginc,bdec,binc)
# else:
# dipdir,dip=0,0
# ErSampRec={}
# ErSampRec['er_location_name']=MagRec['er_location_name']
# ErSampRec['er_sample_name']=MagRec['er_sample_name']
# ErSampRec['er_site_name']=MagRec['er_site_name']
# ErSampRec['sample_azimuth']='%7.1f'%(az)
# ErSampRec['sample_dip']='%7.1f'%(pl)
# ErSampRec['sample_bed_dip_direction']='%7.1f'%(dipdir)
# ErSampRec['sample_bed_dip']='%7.1f'%(dip)
# ErSampRec['sample_description']='az,pl,dip_dir and dip recalculated from [c,g,b][dec,inc] in ldeo file'
# ErSampRec['magic_method_codes']='SO-REC'
# ErSamps.append(ErSampRec)
# Samps.append(ErSampRec['er_sample_name'])
MagRec["measurement_dec"]=rec[5]
MagRec["measurement_inc"]=rec[6]
MagRec["measurement_chi"]='%10.3e'%(float(rec[11])*1e-5)#convert to SI (assume Bartington, 10-5 SI)
#MagRec["magic_instrument_codes"]=rec[2]
#MagRec["er_analyst_mail_names"]=""
MagRec["er_citation_names"]="This study"
MagRec["magic_method_codes"]=meas_type
if demag=="AF":
if methcode != "LP-AN-ARM":
MagRec["treatment_ac_field"]='%8.3e' %(float(rec[1])*1e-3) # peak field in tesla
meas_type="LT-AF-Z"
MagRec["treatment_dc_field"]='0'
else: # AARM experiment
if treat[1][0]=='0':
meas_type="LT-AF-Z"
MagRec["treatment_ac_field"]='%8.3e' %(peakfield) # peak field in tesla
else:
meas_type="LT-AF-I"
ipos=int(treat[0])-1
MagRec["treatment_dc_field_phi"]='%7.1f' %(dec[ipos])
MagRec["treatment_dc_field_theta"]='%7.1f'% (inc[ipos])
MagRec["treatment_dc_field"]='%8.3e'%(labfield)
MagRec["treatment_ac_field"]='%8.3e' %(peakfield) # peak field in tesla
elif demag=="T":
if rec[1][0]==".":rec[1]="0"+rec[1]
treat=rec[1].split('.')
if len(treat)==1:treat.append('0')
MagRec["treatment_temp"]='%8.3e' % (float(rec[1])+273.) # temp in kelvin
meas_type="LT-T-Z"
MagRec["treatment_temp"]='%8.3e' % (float(treat[0])+273.) # temp in kelvin
if trm==0: # demag=T and not trmaq
if treat[1][0]=='0':
meas_type="LT-T-Z"
else:
MagRec["treatment_dc_field"]='%8.3e' % (labfield) # labfield in tesla (convert from microT)
MagRec["treatment_dc_field_phi"]='%7.1f' % (phi) # labfield phi
MagRec["treatment_dc_field_theta"]='%7.1f' % (theta) # labfield theta
if treat[1][0]=='1':meas_type="LT-T-I" # in-field thermal step
if treat[1][0]=='2':
meas_type="LT-PTRM-I" # pTRM check
pTRM=1
if treat[1][0]=='3':
MagRec["treatment_dc_field"]='0' # this is a zero field step
meas_type="LT-PTRM-MD" # pTRM tail check
else:
meas_type="LT-T-I" # trm acquisition experiment
MagRec['magic_method_codes']=meas_type
MagRecs.append(MagRec)
MagOuts=pmag.measurements_methods(MagRecs,noave)
pmag.magic_write(meas_file,MagOuts,'magic_measurements')
print("results put in ",meas_file)
if len(SynRecs)>0:
pmag.magic_write(synfile,SynRecs,'er_synthetics')
print("synthetics put in ",synfile)
return True, meas_file
|
[
"def",
"main",
"(",
"command_line",
"=",
"True",
",",
"*",
"*",
"kwargs",
")",
":",
"# initialize some stuff",
"noave",
"=",
"0",
"codelist",
"=",
"''",
"methcode",
",",
"inst",
"=",
"\"LP-NO\"",
",",
"\"\"",
"phi",
",",
"theta",
",",
"peakfield",
",",
"labfield",
"=",
"0",
",",
"0",
",",
"0",
",",
"0",
"pTRM",
",",
"MD",
",",
"samp_con",
",",
"Z",
"=",
"0",
",",
"0",
",",
"'1'",
",",
"1",
"dec",
"=",
"[",
"315",
",",
"225",
",",
"180",
",",
"135",
",",
"45",
",",
"90",
",",
"270",
",",
"270",
",",
"270",
",",
"90",
",",
"180",
",",
"180",
",",
"0",
",",
"0",
",",
"0",
"]",
"inc",
"=",
"[",
"0",
",",
"0",
",",
"0",
",",
"0",
",",
"0",
",",
"-",
"45",
",",
"-",
"45",
",",
"0",
",",
"45",
",",
"45",
",",
"45",
",",
"-",
"45",
",",
"-",
"90",
",",
"-",
"45",
",",
"45",
"]",
"tdec",
"=",
"[",
"0",
",",
"90",
",",
"0",
",",
"180",
",",
"270",
",",
"0",
",",
"0",
",",
"90",
",",
"0",
"]",
"tinc",
"=",
"[",
"0",
",",
"0",
",",
"90",
",",
"0",
",",
"0",
",",
"-",
"90",
",",
"0",
",",
"0",
",",
"90",
"]",
"missing",
"=",
"1",
"demag",
"=",
"\"N\"",
"er_location_name",
"=",
"\"\"",
"citation",
"=",
"'This study'",
"args",
"=",
"sys",
".",
"argv",
"fmt",
"=",
"'old'",
"syn",
"=",
"0",
"synfile",
"=",
"'er_synthetics.txt'",
"magfile",
"=",
"''",
"trm",
"=",
"0",
"irm",
"=",
"0",
"specnum",
"=",
"0",
"coil",
"=",
"\"\"",
"arm_labfield",
"=",
"50e-6",
"trm_peakT",
"=",
"600",
"+",
"273",
"#",
"# get command line arguments",
"#",
"meas_file",
"=",
"\"magic_measurements.txt\"",
"user",
"=",
"\"\"",
"if",
"command_line",
":",
"if",
"\"-h\"",
"in",
"args",
":",
"print",
"(",
"main",
".",
"__doc__",
")",
"return",
"False",
"if",
"\"-usr\"",
"in",
"args",
":",
"ind",
"=",
"args",
".",
"index",
"(",
"\"-usr\"",
")",
"user",
"=",
"args",
"[",
"ind",
"+",
"1",
"]",
"if",
"'-F'",
"in",
"args",
":",
"ind",
"=",
"args",
".",
"index",
"(",
"\"-F\"",
")",
"meas_file",
"=",
"args",
"[",
"ind",
"+",
"1",
"]",
"if",
"'-Fsy'",
"in",
"args",
":",
"ind",
"=",
"args",
".",
"index",
"(",
"\"-Fsy\"",
")",
"synfile",
"=",
"args",
"[",
"ind",
"+",
"1",
"]",
"if",
"'-f'",
"in",
"args",
":",
"ind",
"=",
"args",
".",
"index",
"(",
"\"-f\"",
")",
"magfile",
"=",
"args",
"[",
"ind",
"+",
"1",
"]",
"if",
"\"-dc\"",
"in",
"args",
":",
"ind",
"=",
"args",
".",
"index",
"(",
"\"-dc\"",
")",
"labfield",
"=",
"float",
"(",
"args",
"[",
"ind",
"+",
"1",
"]",
")",
"*",
"1e-6",
"phi",
"=",
"float",
"(",
"args",
"[",
"ind",
"+",
"2",
"]",
")",
"theta",
"=",
"float",
"(",
"args",
"[",
"ind",
"+",
"3",
"]",
")",
"if",
"\"-ac\"",
"in",
"args",
":",
"ind",
"=",
"args",
".",
"index",
"(",
"\"-ac\"",
")",
"peakfield",
"=",
"float",
"(",
"args",
"[",
"ind",
"+",
"1",
"]",
")",
"*",
"1e-3",
"if",
"\"-spc\"",
"in",
"args",
":",
"ind",
"=",
"args",
".",
"index",
"(",
"\"-spc\"",
")",
"specnum",
"=",
"int",
"(",
"args",
"[",
"ind",
"+",
"1",
"]",
")",
"if",
"\"-loc\"",
"in",
"args",
":",
"ind",
"=",
"args",
".",
"index",
"(",
"\"-loc\"",
")",
"er_location_name",
"=",
"args",
"[",
"ind",
"+",
"1",
"]",
"if",
"'-syn'",
"in",
"args",
":",
"syn",
"=",
"1",
"ind",
"=",
"args",
".",
"index",
"(",
"\"-syn\"",
")",
"institution",
"=",
"args",
"[",
"ind",
"+",
"1",
"]",
"syntype",
"=",
"args",
"[",
"ind",
"+",
"2",
"]",
"if",
"'-fsy'",
"in",
"args",
":",
"ind",
"=",
"args",
".",
"index",
"(",
"\"-fsy\"",
")",
"synfile",
"=",
"args",
"[",
"ind",
"+",
"1",
"]",
"if",
"\"-ins\"",
"in",
"args",
":",
"ind",
"=",
"args",
".",
"index",
"(",
"\"-ins\"",
")",
"inst",
"=",
"args",
"[",
"ind",
"+",
"1",
"]",
"if",
"\"-A\"",
"in",
"args",
":",
"noave",
"=",
"1",
"if",
"\"-ncn\"",
"in",
"args",
":",
"ind",
"=",
"args",
".",
"index",
"(",
"\"-ncn\"",
")",
"samp_con",
"=",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
"if",
"'-LP'",
"in",
"args",
":",
"ind",
"=",
"args",
".",
"index",
"(",
"\"-LP\"",
")",
"codelist",
"=",
"args",
"[",
"ind",
"+",
"1",
"]",
"if",
"\"-V\"",
"in",
"args",
":",
"ind",
"=",
"args",
".",
"index",
"(",
"\"-V\"",
")",
"coil",
"=",
"args",
"[",
"ind",
"+",
"1",
"]",
"if",
"'-ARM_dc'",
"in",
"args",
":",
"ind",
"=",
"args",
".",
"index",
"(",
"\"-ARM_dc\"",
")",
"arm_labfield",
"=",
"args",
"[",
"ind",
"+",
"1",
"]",
"if",
"'-ARM_temp'",
"in",
"args",
":",
"ind",
"=",
"args",
".",
"index",
"(",
"'-ARM_temp'",
")",
"trm_peakT",
"=",
"args",
"[",
"ind",
"+",
"1",
"]",
"if",
"not",
"command_line",
":",
"user",
"=",
"kwargs",
".",
"get",
"(",
"'user'",
",",
"''",
")",
"meas_file",
"=",
"kwargs",
".",
"get",
"(",
"'meas_file'",
",",
"'magic_measurements.txt'",
")",
"synfile",
"=",
"kwargs",
".",
"get",
"(",
"'synfile'",
",",
"'er_synthetics.txt'",
")",
"# rm samp_file = kwargs.get('samp_file', '')",
"magfile",
"=",
"kwargs",
".",
"get",
"(",
"'magfile'",
",",
"''",
")",
"labfield",
"=",
"int",
"(",
"kwargs",
".",
"get",
"(",
"'labfield'",
",",
"0",
")",
")",
"*",
"1e-6",
"phi",
"=",
"int",
"(",
"kwargs",
".",
"get",
"(",
"'phi'",
",",
"0",
")",
")",
"theta",
"=",
"int",
"(",
"kwargs",
".",
"get",
"(",
"'theta'",
",",
"0",
")",
")",
"peakfield",
"=",
"int",
"(",
"kwargs",
".",
"get",
"(",
"'peakfield'",
",",
"0",
")",
")",
"*",
"1e-3",
"specnum",
"=",
"int",
"(",
"kwargs",
".",
"get",
"(",
"'specnum'",
",",
"0",
")",
")",
"er_location_name",
"=",
"kwargs",
".",
"get",
"(",
"'er_location_name'",
",",
"''",
")",
"# rm samp_infile = kwargs.get('samp_infile', '')",
"syn",
"=",
"kwargs",
".",
"get",
"(",
"'syn'",
",",
"0",
")",
"institution",
"=",
"kwargs",
".",
"get",
"(",
"'institution'",
",",
"''",
")",
"syntype",
"=",
"kwargs",
".",
"get",
"(",
"'syntype'",
",",
"''",
")",
"inst",
"=",
"kwargs",
".",
"get",
"(",
"'inst'",
",",
"''",
")",
"noave",
"=",
"kwargs",
".",
"get",
"(",
"'noave'",
",",
"0",
")",
"# 0 means \"do average\", is default",
"samp_con",
"=",
"kwargs",
".",
"get",
"(",
"'samp_con'",
",",
"'1'",
")",
"codelist",
"=",
"kwargs",
".",
"get",
"(",
"'codelist'",
",",
"''",
")",
"coil",
"=",
"kwargs",
".",
"get",
"(",
"'coil'",
",",
"''",
")",
"arm_labfield",
"=",
"kwargs",
".",
"get",
"(",
"'arm_labfield'",
",",
"50e-6",
")",
"trm_peakT",
"=",
"kwargs",
".",
"get",
"(",
"'trm_peakT'",
",",
"600",
"+",
"273",
")",
"# format/organize variables",
"if",
"magfile",
":",
"try",
":",
"input",
"=",
"open",
"(",
"magfile",
",",
"'r'",
")",
"except",
":",
"print",
"(",
"\"bad mag file name\"",
")",
"return",
"False",
",",
"\"bad mag file name\"",
"else",
":",
"print",
"(",
"\"mag_file field is required option\"",
")",
"print",
"(",
"main",
".",
"__doc__",
")",
"return",
"False",
",",
"\"mag_file field is required option\"",
"if",
"specnum",
"!=",
"0",
":",
"specnum",
"=",
"-",
"specnum",
"if",
"\"4\"",
"in",
"samp_con",
":",
"if",
"\"-\"",
"not",
"in",
"samp_con",
":",
"print",
"(",
"\"naming convention option [4] must be in form 4-Z where Z is an integer\"",
")",
"return",
"False",
",",
"\"naming convention option [4] must be in form 4-Z where Z is an integer\"",
"else",
":",
"Z",
"=",
"samp_con",
".",
"split",
"(",
"\"-\"",
")",
"[",
"1",
"]",
"samp_con",
"=",
"\"4\"",
"if",
"\"7\"",
"in",
"samp_con",
":",
"if",
"\"-\"",
"not",
"in",
"samp_con",
":",
"print",
"(",
"\"naming convention option [7] must be in form 7-Z where Z is an integer\"",
")",
"return",
"False",
",",
"\"naming convention option [7] must be in form 7-Z where Z is an integer\"",
"else",
":",
"Z",
"=",
"samp_con",
".",
"split",
"(",
"\"-\"",
")",
"[",
"1",
"]",
"samp_con",
"=",
"\"4\"",
"codes",
"=",
"codelist",
".",
"split",
"(",
"':'",
")",
"if",
"\"AF\"",
"in",
"codes",
":",
"demag",
"=",
"'AF'",
"if",
"not",
"labfield",
":",
"methcode",
"=",
"\"LT-AF-Z\"",
"if",
"labfield",
":",
"methcode",
"=",
"\"LT-AF-I\"",
"if",
"\"T\"",
"in",
"codes",
":",
"demag",
"=",
"\"T\"",
"if",
"not",
"labfield",
":",
"methcode",
"=",
"\"LT-T-Z\"",
"if",
"labfield",
":",
"methcode",
"=",
"\"LT-T-I\"",
"if",
"\"I\"",
"in",
"codes",
":",
"methcode",
"=",
"\"LP-IRM\"",
"irmunits",
"=",
"\"mT\"",
"if",
"\"S\"",
"in",
"codes",
":",
"demag",
"=",
"\"S\"",
"methcode",
"=",
"\"LP-PI-TRM:LP-PI-ALT-AFARM\"",
"trm_labfield",
"=",
"labfield",
"# should use arm_labfield and trm_peakT as well, but these values are currently never asked for",
"if",
"\"G\"",
"in",
"codes",
":",
"methcode",
"=",
"\"LT-AF-G\"",
"if",
"\"D\"",
"in",
"codes",
":",
"methcode",
"=",
"\"LT-AF-D\"",
"if",
"\"TRM\"",
"in",
"codes",
":",
"demag",
"=",
"\"T\"",
"trm",
"=",
"1",
"if",
"coil",
":",
"methcode",
"=",
"\"LP-IRM\"",
"irmunits",
"=",
"\"V\"",
"if",
"coil",
"not",
"in",
"[",
"\"1\"",
",",
"\"2\"",
",",
"\"3\"",
"]",
":",
"print",
"(",
"main",
".",
"__doc__",
")",
"print",
"(",
"'not a valid coil specification'",
")",
"return",
"False",
",",
"'not a valid coil specification'",
"if",
"demag",
"==",
"\"T\"",
"and",
"\"ANI\"",
"in",
"codes",
":",
"methcode",
"=",
"\"LP-AN-TRM\"",
"if",
"demag",
"==",
"\"AF\"",
"and",
"\"ANI\"",
"in",
"codes",
":",
"methcode",
"=",
"\"LP-AN-ARM\"",
"if",
"labfield",
"==",
"0",
":",
"labfield",
"=",
"50e-6",
"if",
"peakfield",
"==",
"0",
":",
"peakfield",
"=",
".180",
"SynRecs",
",",
"MagRecs",
"=",
"[",
"]",
",",
"[",
"]",
"version_num",
"=",
"pmag",
".",
"get_version",
"(",
")",
"if",
"1",
":",
"# ldeo file format",
"#",
"# find start of data:",
"#",
"DIspec",
"=",
"[",
"]",
"Data",
",",
"k",
"=",
"input",
".",
"readlines",
"(",
")",
",",
"0",
"for",
"k",
"in",
"range",
"(",
"len",
"(",
"Data",
")",
")",
":",
"rec",
"=",
"Data",
"[",
"k",
"]",
".",
"split",
"(",
")",
"if",
"rec",
"[",
"0",
"]",
"[",
"0",
"]",
"==",
"\"_\"",
"or",
"rec",
"[",
"0",
"]",
"[",
"0",
":",
"2",
"]",
"==",
"\"!_\"",
":",
"break",
"start",
"=",
"k",
"+",
"1",
"for",
"k",
"in",
"range",
"(",
"start",
",",
"len",
"(",
"Data",
")",
")",
":",
"rec",
"=",
"Data",
"[",
"k",
"]",
".",
"split",
"(",
")",
"if",
"len",
"(",
"rec",
")",
">",
"0",
":",
"MagRec",
"=",
"{",
"}",
"MagRec",
"[",
"\"treatment_temp\"",
"]",
"=",
"'%8.3e'",
"%",
"(",
"273",
")",
"# room temp in kelvin",
"MagRec",
"[",
"\"measurement_temp\"",
"]",
"=",
"'%8.3e'",
"%",
"(",
"273",
")",
"# room temp in kelvin",
"MagRec",
"[",
"\"treatment_ac_field\"",
"]",
"=",
"'0'",
"MagRec",
"[",
"\"treatment_dc_field\"",
"]",
"=",
"'0'",
"MagRec",
"[",
"\"treatment_dc_field_phi\"",
"]",
"=",
"'0'",
"MagRec",
"[",
"\"treatment_dc_field_theta\"",
"]",
"=",
"'0'",
"meas_type",
"=",
"\"LT-NO\"",
"MagRec",
"[",
"\"measurement_flag\"",
"]",
"=",
"'g'",
"MagRec",
"[",
"\"measurement_standard\"",
"]",
"=",
"'u'",
"MagRec",
"[",
"\"measurement_number\"",
"]",
"=",
"'1'",
"MagRec",
"[",
"\"er_specimen_name\"",
"]",
"=",
"rec",
"[",
"0",
"]",
"if",
"specnum",
"!=",
"0",
":",
"MagRec",
"[",
"\"er_sample_name\"",
"]",
"=",
"rec",
"[",
"0",
"]",
"[",
":",
"specnum",
"]",
"else",
":",
"MagRec",
"[",
"\"er_sample_name\"",
"]",
"=",
"rec",
"[",
"0",
"]",
"site",
"=",
"pmag",
".",
"parse_site",
"(",
"MagRec",
"[",
"'er_sample_name'",
"]",
",",
"samp_con",
",",
"Z",
")",
"MagRec",
"[",
"\"er_site_name\"",
"]",
"=",
"site",
"MagRec",
"[",
"\"er_location_name\"",
"]",
"=",
"er_location_name",
"MagRec",
"[",
"\"measurement_csd\"",
"]",
"=",
"rec",
"[",
"3",
"]",
"MagRec",
"[",
"\"measurement_magn_moment\"",
"]",
"=",
"'%10.3e'",
"%",
"(",
"float",
"(",
"rec",
"[",
"4",
"]",
")",
"*",
"1e-7",
")",
"# moment in Am^2 (from 10^-4 emu)",
"#",
"#if samp_file!=\"\" and MagRec[\"er_sample_name\"] not in Samps: # create er_samples.txt file with these data ",
"# cdec,cinc=float(rec[5]),float(rec[6])",
"# gdec,ginc=float(rec[7]),float(rec[8])",
"# az,pl=pmag.get_azpl(cdec,cinc,gdec,ginc)",
"# bdec,binc=float(rec[9]),float(rec[10])",
"# if rec[7]!=rec[9] and rec[6]!=rec[8]:",
"# dipdir,dip=pmag.get_tilt(gdec,ginc,bdec,binc)",
"# else:",
"# dipdir,dip=0,0",
"# ErSampRec={}",
"# ErSampRec['er_location_name']=MagRec['er_location_name']",
"# ErSampRec['er_sample_name']=MagRec['er_sample_name']",
"# ErSampRec['er_site_name']=MagRec['er_site_name']",
"# ErSampRec['sample_azimuth']='%7.1f'%(az)",
"# ErSampRec['sample_dip']='%7.1f'%(pl)",
"# ErSampRec['sample_bed_dip_direction']='%7.1f'%(dipdir)",
"# ErSampRec['sample_bed_dip']='%7.1f'%(dip)",
"# ErSampRec['sample_description']='az,pl,dip_dir and dip recalculated from [c,g,b][dec,inc] in ldeo file'",
"# ErSampRec['magic_method_codes']='SO-REC'",
"# ErSamps.append(ErSampRec)",
"# Samps.append(ErSampRec['er_sample_name'])",
"MagRec",
"[",
"\"measurement_dec\"",
"]",
"=",
"rec",
"[",
"5",
"]",
"MagRec",
"[",
"\"measurement_inc\"",
"]",
"=",
"rec",
"[",
"6",
"]",
"MagRec",
"[",
"\"measurement_chi\"",
"]",
"=",
"'%10.3e'",
"%",
"(",
"float",
"(",
"rec",
"[",
"11",
"]",
")",
"*",
"1e-5",
")",
"#convert to SI (assume Bartington, 10-5 SI)",
"#MagRec[\"magic_instrument_codes\"]=rec[2]",
"#MagRec[\"er_analyst_mail_names\"]=\"\"",
"MagRec",
"[",
"\"er_citation_names\"",
"]",
"=",
"\"This study\"",
"MagRec",
"[",
"\"magic_method_codes\"",
"]",
"=",
"meas_type",
"if",
"demag",
"==",
"\"AF\"",
":",
"if",
"methcode",
"!=",
"\"LP-AN-ARM\"",
":",
"MagRec",
"[",
"\"treatment_ac_field\"",
"]",
"=",
"'%8.3e'",
"%",
"(",
"float",
"(",
"rec",
"[",
"1",
"]",
")",
"*",
"1e-3",
")",
"# peak field in tesla",
"meas_type",
"=",
"\"LT-AF-Z\"",
"MagRec",
"[",
"\"treatment_dc_field\"",
"]",
"=",
"'0'",
"else",
":",
"# AARM experiment",
"if",
"treat",
"[",
"1",
"]",
"[",
"0",
"]",
"==",
"'0'",
":",
"meas_type",
"=",
"\"LT-AF-Z\"",
"MagRec",
"[",
"\"treatment_ac_field\"",
"]",
"=",
"'%8.3e'",
"%",
"(",
"peakfield",
")",
"# peak field in tesla",
"else",
":",
"meas_type",
"=",
"\"LT-AF-I\"",
"ipos",
"=",
"int",
"(",
"treat",
"[",
"0",
"]",
")",
"-",
"1",
"MagRec",
"[",
"\"treatment_dc_field_phi\"",
"]",
"=",
"'%7.1f'",
"%",
"(",
"dec",
"[",
"ipos",
"]",
")",
"MagRec",
"[",
"\"treatment_dc_field_theta\"",
"]",
"=",
"'%7.1f'",
"%",
"(",
"inc",
"[",
"ipos",
"]",
")",
"MagRec",
"[",
"\"treatment_dc_field\"",
"]",
"=",
"'%8.3e'",
"%",
"(",
"labfield",
")",
"MagRec",
"[",
"\"treatment_ac_field\"",
"]",
"=",
"'%8.3e'",
"%",
"(",
"peakfield",
")",
"# peak field in tesla",
"elif",
"demag",
"==",
"\"T\"",
":",
"if",
"rec",
"[",
"1",
"]",
"[",
"0",
"]",
"==",
"\".\"",
":",
"rec",
"[",
"1",
"]",
"=",
"\"0\"",
"+",
"rec",
"[",
"1",
"]",
"treat",
"=",
"rec",
"[",
"1",
"]",
".",
"split",
"(",
"'.'",
")",
"if",
"len",
"(",
"treat",
")",
"==",
"1",
":",
"treat",
".",
"append",
"(",
"'0'",
")",
"MagRec",
"[",
"\"treatment_temp\"",
"]",
"=",
"'%8.3e'",
"%",
"(",
"float",
"(",
"rec",
"[",
"1",
"]",
")",
"+",
"273.",
")",
"# temp in kelvin",
"meas_type",
"=",
"\"LT-T-Z\"",
"MagRec",
"[",
"\"treatment_temp\"",
"]",
"=",
"'%8.3e'",
"%",
"(",
"float",
"(",
"treat",
"[",
"0",
"]",
")",
"+",
"273.",
")",
"# temp in kelvin",
"if",
"trm",
"==",
"0",
":",
"# demag=T and not trmaq",
"if",
"treat",
"[",
"1",
"]",
"[",
"0",
"]",
"==",
"'0'",
":",
"meas_type",
"=",
"\"LT-T-Z\"",
"else",
":",
"MagRec",
"[",
"\"treatment_dc_field\"",
"]",
"=",
"'%8.3e'",
"%",
"(",
"labfield",
")",
"# labfield in tesla (convert from microT)",
"MagRec",
"[",
"\"treatment_dc_field_phi\"",
"]",
"=",
"'%7.1f'",
"%",
"(",
"phi",
")",
"# labfield phi",
"MagRec",
"[",
"\"treatment_dc_field_theta\"",
"]",
"=",
"'%7.1f'",
"%",
"(",
"theta",
")",
"# labfield theta",
"if",
"treat",
"[",
"1",
"]",
"[",
"0",
"]",
"==",
"'1'",
":",
"meas_type",
"=",
"\"LT-T-I\"",
"# in-field thermal step",
"if",
"treat",
"[",
"1",
"]",
"[",
"0",
"]",
"==",
"'2'",
":",
"meas_type",
"=",
"\"LT-PTRM-I\"",
"# pTRM check",
"pTRM",
"=",
"1",
"if",
"treat",
"[",
"1",
"]",
"[",
"0",
"]",
"==",
"'3'",
":",
"MagRec",
"[",
"\"treatment_dc_field\"",
"]",
"=",
"'0'",
"# this is a zero field step",
"meas_type",
"=",
"\"LT-PTRM-MD\"",
"# pTRM tail check",
"else",
":",
"meas_type",
"=",
"\"LT-T-I\"",
"# trm acquisition experiment",
"MagRec",
"[",
"'magic_method_codes'",
"]",
"=",
"meas_type",
"MagRecs",
".",
"append",
"(",
"MagRec",
")",
"MagOuts",
"=",
"pmag",
".",
"measurements_methods",
"(",
"MagRecs",
",",
"noave",
")",
"pmag",
".",
"magic_write",
"(",
"meas_file",
",",
"MagOuts",
",",
"'magic_measurements'",
")",
"print",
"(",
"\"results put in \"",
",",
"meas_file",
")",
"if",
"len",
"(",
"SynRecs",
")",
">",
"0",
":",
"pmag",
".",
"magic_write",
"(",
"synfile",
",",
"SynRecs",
",",
"'er_synthetics'",
")",
"print",
"(",
"\"synthetics put in \"",
",",
"synfile",
")",
"return",
"True",
",",
"meas_file"
] |
NAME
ldeo_magic.py
DESCRIPTION
converts LDEO format files to magic_measurements format files
SYNTAX
ldeo_magic.py [command line options]
OPTIONS
-h: prints the help message and quits.
-usr USER: identify user, default is ""
-f FILE: specify .ldeo format input file, required
-F FILE: specify output file, default is magic_measurements.txt
-Fsy: specify er_synthetics file, default is er_sythetics.txt
-LP [colon delimited list of protocols, include all that apply]
AF: af demag
T: thermal including thellier but not trm acquisition
S: Shaw method
I: IRM (acquisition)
N: NRM only
TRM: trm acquisition
ANI: anisotropy experiment
D: double AF demag
G: triple AF demag (GRM protocol)
-V [1,2,3] units of IRM field in volts using ASC coil #1,2 or 3
-spc NUM : specify number of characters to designate a specimen, default = 0
-loc LOCNAME : specify location/study name, must have either LOCNAME or SAMPFILE or be a synthetic
-syn INST TYPE: sets these specimens as synthetics created at institution INST and of type TYPE
-ins INST : specify which demag instrument was used (e.g, SIO-Suzy or SIO-Odette),default is ""
-dc B PHI THETA: dc lab field (in micro tesla) and phi,theta, default is none
NB: use PHI, THETA = -1 -1 to signal that it changes, i.e. in anisotropy experiment
-ac B : peak AF field (in mT) for ARM acquisition, default is none
-ARM_dc # default value is 50e-6
-ARM_temp # default is 600c
-ncn NCON: specify naming convention: default is #1 below
-A: don't average replicate measurements
Sample naming convention:
[1] XXXXY: where XXXX is an arbitrary length site designation and Y
is the single character sample designation. e.g., TG001a is the
first sample from site TG001. [default]
[2] XXXX-YY: YY sample from site XXXX (XXX, YY of arbitary length)
[3] XXXX.YY: YY sample from site XXXX (XXX, YY of arbitary length)
[4-Z] XXXX[YYY]: YYY is sample designation with Z characters from site XXX
[5] site name same as sample
[6] site is entered under a separate column -- NOT CURRENTLY SUPPORTED
[7-Z] [XXXX]YYY: XXXX is site designation with Z characters with sample name XXXXYYYY
NB: all others you will have to customize your self
or e-mail ltauxe@ucsd.edu for help.
[8] synthetic - has no site name
INPUT
Best to put separate experiments (all AF, thermal, thellier, trm aquisition, Shaw, etc.) in
seperate .mag files (eg. af.mag, thermal.mag, etc.)
Format of LDEO files:
isaf2.fix
LAT: .00 LON: .00
ID TREAT I CD J CDECL CINCL GDECL GINCL BDECL BINCL SUSC M/V
________________________________________________________________________________
is031c2 .0 SD 0 461.600 163.9 17.5 337.1 74.5 319.1 74.4 .0 .0
ID: specimen name
TREAT: treatment step
I: Instrument
CD: Circular standard devation
J: intensity. assumed to be total moment in 10^-4 (emu)
CDECL: Declination in specimen coordinate system
CINCL: Declination in specimen coordinate system
GDECL: Declination in geographic coordinate system
GINCL: Declination in geographic coordinate system
BDECL: Declination in bedding adjusted coordinate system
BINCL: Declination in bedding adjusted coordinate system
SUSC: magnetic susceptibility (in micro SI)a
M/V: mass or volume for nomalizing (0 won't normalize)
|
[
"NAME",
"ldeo_magic",
".",
"py",
"DESCRIPTION",
"converts",
"LDEO",
"format",
"files",
"to",
"magic_measurements",
"format",
"files"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/programs/conversion_scripts2/ldeo_magic2.py#L7-L382
|
train
|
This function is the main entry point for the ldeo_magic. py script.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(48) + '\157' + chr(0b1111 + 0o43) + chr(0b10011 + 0o44) + chr(0b1100 + 0o51), 0b1000), nzTpIcepk0o8('\060' + chr(111) + chr(0b110011) + chr(51), ord("\x08")), nzTpIcepk0o8(chr(605 - 557) + chr(0b111100 + 0o63) + '\x32' + '\067' + chr(0b11000 + 0o30), 30007 - 29999), nzTpIcepk0o8(chr(0b10000 + 0o40) + chr(111) + '\x36', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(9268 - 9157) + '\x31' + '\067' + chr(0b101000 + 0o14), 61176 - 61168), nzTpIcepk0o8(chr(0b100001 + 0o17) + '\x6f' + chr(296 - 246) + chr(0b110100) + chr(640 - 588), 4016 - 4008), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(49) + chr(0b110100) + chr(55), 0o10), nzTpIcepk0o8('\060' + chr(111) + chr(0b101011 + 0o13) + chr(0b110110), 0b1000), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b101001 + 0o11) + chr(0b110101) + chr(0b110111), 0b1000), nzTpIcepk0o8(chr(48) + chr(111) + '\x33' + chr(0b110011) + chr(73 - 20), 0b1000), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b110001) + '\060' + chr(985 - 932), 0o10), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(51) + '\x37' + '\x30', 0o10), nzTpIcepk0o8(chr(0b110000) + '\157' + '\x31' + chr(0b1010 + 0o53) + chr(2329 - 2280), 12334 - 12326), nzTpIcepk0o8('\060' + chr(0b1101011 + 0o4) + chr(0b110100) + chr(0b11011 + 0o33), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(8953 - 8842) + '\x32' + chr(275 - 220) + chr(0b110100), 52191 - 52183), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b110000 + 0o2) + '\063' + chr(0b110111), ord("\x08")), nzTpIcepk0o8(chr(824 - 776) + chr(0b1101111) + chr(0b110011) + chr(1382 - 1334) + chr(0b10110 + 0o36), 5048 - 5040), nzTpIcepk0o8(chr(48) + '\157' + chr(0b101100 + 0o5) + chr(51) + '\063', ord("\x08")), nzTpIcepk0o8('\060' + chr(8595 - 8484) + chr(315 - 266) + chr(945 - 895) + chr(0b110001), 221 - 213), nzTpIcepk0o8(chr(0b110000) + chr(0b1101100 + 0o3) + chr(0b10100 + 0o35) + chr(2827 - 2772) + chr(48), 0b1000), nzTpIcepk0o8(chr(48) + chr(0b1000101 + 0o52) + chr(1087 - 1037) + '\x33' + chr(0b110100), 60155 - 60147), nzTpIcepk0o8(chr(1946 - 1898) + chr(0b1101111) + '\x31' + chr(50) + chr(1507 - 1452), 0b1000), nzTpIcepk0o8('\060' + '\x6f' + '\067' + '\067', 0b1000), nzTpIcepk0o8(chr(48) + '\157' + '\x32' + '\x34', ord("\x08")), nzTpIcepk0o8('\060' + chr(0b1101111) + '\x33', 0o10), nzTpIcepk0o8(chr(48) + chr(111) + chr(49) + '\060', ord("\x08")), nzTpIcepk0o8(chr(2145 - 2097) + '\x6f' + '\x33' + chr(424 - 371) + chr(0b110001), 36174 - 36166), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111 + 0o0) + chr(0b110001) + chr(0b1110 + 0o50) + chr(0b0 + 0o62), 0b1000), nzTpIcepk0o8(chr(0b11000 + 0o30) + '\157' + chr(1588 - 1537) + '\x37' + '\x33', 65123 - 65115), nzTpIcepk0o8(chr(0b101010 + 0o6) + chr(0b1101111) + chr(0b110011) + chr(0b110100) + '\x33', 35178 - 35170), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b1000 + 0o52) + chr(0b1011 + 0o53) + chr(0b1100 + 0o45), 56653 - 56645), nzTpIcepk0o8('\060' + '\157' + chr(0b101001 + 0o12) + chr(1539 - 1484), ord("\x08")), nzTpIcepk0o8(chr(0b10 + 0o56) + chr(0b1011111 + 0o20) + chr(499 - 450) + chr(0b110011) + '\x31', 0b1000), nzTpIcepk0o8(chr(48) + '\157' + '\x36' + '\x30', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b100110 + 0o15) + chr(0b101001 + 0o15) + chr(0b101100 + 0o10), 0o10), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b110001) + chr(48) + '\x33', 0o10), nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(0b110110) + chr(0b11 + 0o57), 0b1000), nzTpIcepk0o8('\060' + chr(111) + chr(0b10010 + 0o40) + chr(0b11101 + 0o32) + chr(53), 8), nzTpIcepk0o8('\060' + chr(0b111010 + 0o65) + chr(1011 - 960) + chr(1286 - 1234) + '\067', 13458 - 13450), nzTpIcepk0o8(chr(48) + '\157' + chr(51) + chr(0b110111) + chr(0b1101 + 0o44), 37396 - 37388)][ZlbFMSG8gCoF % nzTpIcepk0o8('\060' + '\x6f' + chr(2754 - 2701) + chr(1998 - 1950), 0o10)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\x93'), chr(100) + chr(101) + chr(99) + '\157' + '\x64' + chr(0b1100000 + 0o5))(chr(0b1110010 + 0o3) + chr(394 - 278) + '\146' + chr(0b101101) + chr(1930 - 1874)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def BXHXH_QeD6rL(OMPKB_AuFZpn=nzTpIcepk0o8(chr(48) + '\157' + chr(1196 - 1147), ord("\x08")), **q5n0sHDDTy90):
NdBgRJDyurSB = nzTpIcepk0o8('\x30' + '\157' + '\060', ord("\x08"))
kSgdIN0MzqOp = roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + '\x65' + chr(0b1100011) + chr(0b1101111) + chr(0b1000001 + 0o43) + chr(101))(chr(0b1110101) + '\164' + chr(5964 - 5862) + chr(1428 - 1383) + chr(0b111000))
(fBsoIoeG_eRQ, wDEIk17vEWwT) = (roI3spqORKae(ES5oEprVxulp(b'\xf1K\x95H3'), chr(100) + chr(0b1101 + 0o130) + '\143' + chr(0b1110 + 0o141) + chr(5079 - 4979) + chr(0b1010110 + 0o17))(chr(5075 - 4958) + chr(116) + '\146' + chr(338 - 293) + chr(350 - 294)), roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(101) + '\143' + chr(0b10111 + 0o130) + chr(100) + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + '\x66' + chr(1836 - 1791) + chr(0b101000 + 0o20)))
(MUGp3g4tuXRY, ncDYK9LWVfBn, XrSglziO_kwd, _OaSP3sMznOY) = (nzTpIcepk0o8(chr(0b101000 + 0o10) + chr(0b1101111) + '\060', 8), nzTpIcepk0o8(chr(48) + '\157' + chr(0b11001 + 0o27), 8), nzTpIcepk0o8(chr(48) + chr(0b10000 + 0o137) + chr(1449 - 1401), 8), nzTpIcepk0o8(chr(132 - 84) + chr(111) + chr(684 - 636), 8))
(yLS7f7H75eq3, XLjkTT5q8l0_, hLIySoEW0NmV, sEVgLUlRGUb0) = (nzTpIcepk0o8(chr(0b10100 + 0o34) + '\157' + chr(0b100 + 0o54), 8), nzTpIcepk0o8(chr(0b101101 + 0o3) + chr(3715 - 3604) + '\x30', 8), roI3spqORKae(ES5oEprVxulp(b'\x8c'), '\144' + chr(101) + chr(0b1100011) + chr(0b1101111) + chr(100) + chr(5221 - 5120))(chr(117) + '\164' + chr(0b1100110) + '\055' + '\070'), nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b110001), 8))
oD8LLo_zqNZe = [nzTpIcepk0o8(chr(1253 - 1205) + chr(111) + '\x34' + chr(0b1111 + 0o50) + chr(734 - 683), ord("\x08")), nzTpIcepk0o8(chr(252 - 204) + chr(4244 - 4133) + chr(0b101010 + 0o11) + '\x34' + '\x31', 0o10), nzTpIcepk0o8('\060' + chr(111) + chr(319 - 269) + chr(54) + chr(0b110100), 0b1000), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b110010) + chr(0b110000) + '\x37', 0o10), nzTpIcepk0o8(chr(1844 - 1796) + chr(5706 - 5595) + chr(53) + chr(0b10001 + 0o44), ord("\x08")), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b110001) + '\063' + chr(0b100100 + 0o16), 14135 - 14127), nzTpIcepk0o8(chr(48) + '\157' + '\064' + chr(49) + chr(840 - 786), 47579 - 47571), nzTpIcepk0o8(chr(2209 - 2161) + chr(0b1000001 + 0o56) + chr(0b1000 + 0o54) + chr(1088 - 1039) + chr(54), 8), nzTpIcepk0o8(chr(200 - 152) + chr(5659 - 5548) + chr(2245 - 2193) + '\061' + '\066', 8), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\061' + chr(51) + chr(50), 8), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(1406 - 1356) + '\066' + chr(0b1101 + 0o47), 8), nzTpIcepk0o8(chr(1392 - 1344) + chr(111) + chr(50) + chr(54) + chr(52), 8), nzTpIcepk0o8('\060' + '\157' + chr(0b11101 + 0o23), 8), nzTpIcepk0o8(chr(48) + chr(0b1100111 + 0o10) + chr(0b110000), 8), nzTpIcepk0o8(chr(0b100101 + 0o13) + chr(0b1100011 + 0o14) + '\060', 8)]
ReAwxaIgTMy5 = [nzTpIcepk0o8('\x30' + chr(4643 - 4532) + chr(0b110000), 8), nzTpIcepk0o8(chr(0b101 + 0o53) + chr(0b1000111 + 0o50) + '\060', 8), nzTpIcepk0o8(chr(48) + chr(111) + '\x30', 8), nzTpIcepk0o8('\060' + chr(10469 - 10358) + chr(0b1100 + 0o44), 8), nzTpIcepk0o8(chr(981 - 933) + chr(0b1011 + 0o144) + chr(115 - 67), 8), -nzTpIcepk0o8(chr(1579 - 1531) + chr(0b1101111) + '\065' + chr(0b110101), 8), -nzTpIcepk0o8('\x30' + chr(0b1010000 + 0o37) + chr(0b1 + 0o64) + chr(2231 - 2178), 8), nzTpIcepk0o8(chr(473 - 425) + '\x6f' + '\x30', 8), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(1384 - 1331) + '\x35', 8), nzTpIcepk0o8(chr(267 - 219) + '\157' + chr(53) + chr(0b110101), 8), nzTpIcepk0o8(chr(1911 - 1863) + chr(2197 - 2086) + chr(1727 - 1674) + chr(53), 8), -nzTpIcepk0o8('\x30' + chr(111) + chr(53) + chr(0b110101), 8), -nzTpIcepk0o8('\060' + chr(6711 - 6600) + chr(49) + '\063' + chr(1632 - 1582), 8), -nzTpIcepk0o8(chr(0b100111 + 0o11) + chr(0b1101111) + chr(1836 - 1783) + chr(0b110101), 8), nzTpIcepk0o8('\060' + chr(3427 - 3316) + chr(53) + '\065', 8)]
taaXfxj9rEQE = [nzTpIcepk0o8('\x30' + chr(111) + chr(0b110000), 8), nzTpIcepk0o8(chr(0b110000) + chr(0b1001101 + 0o42) + chr(0b110001) + chr(602 - 551) + chr(1717 - 1667), 8), nzTpIcepk0o8(chr(0b101 + 0o53) + chr(10586 - 10475) + chr(0b110000), 8), nzTpIcepk0o8(chr(0b110000) + chr(3846 - 3735) + chr(0b110010 + 0o0) + chr(2821 - 2767) + '\x34', 8), nzTpIcepk0o8('\060' + chr(0b110010 + 0o75) + chr(266 - 214) + '\061' + chr(0b0 + 0o66), 8), nzTpIcepk0o8(chr(609 - 561) + '\x6f' + chr(0b101001 + 0o7), 8), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + '\060', 8), nzTpIcepk0o8(chr(48) + chr(3789 - 3678) + chr(0b11111 + 0o22) + chr(0b101000 + 0o13) + chr(698 - 648), 8), nzTpIcepk0o8(chr(0b100110 + 0o12) + chr(0b110100 + 0o73) + chr(48), 8)]
lOreErtLtxjG = [nzTpIcepk0o8(chr(0b1011 + 0o45) + '\x6f' + chr(0b100 + 0o54), 8), nzTpIcepk0o8(chr(0b10 + 0o56) + chr(0b1101111) + '\x30', 8), nzTpIcepk0o8(chr(1268 - 1220) + '\157' + '\x31' + chr(0b110011) + chr(0b10110 + 0o34), 8), nzTpIcepk0o8(chr(660 - 612) + chr(3726 - 3615) + chr(2122 - 2074), 8), nzTpIcepk0o8('\x30' + '\x6f' + chr(0b111 + 0o51), 8), -nzTpIcepk0o8('\060' + '\x6f' + chr(49) + chr(51) + chr(1758 - 1708), 8), nzTpIcepk0o8(chr(1983 - 1935) + chr(0b1101111) + chr(1623 - 1575), 8), nzTpIcepk0o8(chr(0b101111 + 0o1) + chr(0b1001100 + 0o43) + chr(48), 8), nzTpIcepk0o8('\x30' + '\x6f' + '\x31' + '\063' + '\062', 8)]
NXbW5jBRufBw = nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\x31', 8)
HsExji6d7tC1 = roI3spqORKae(ES5oEprVxulp(b'\xf3'), chr(6610 - 6510) + chr(8328 - 8227) + chr(183 - 84) + chr(0b1011111 + 0o20) + chr(100) + chr(101))('\165' + chr(3703 - 3587) + chr(0b1100110) + chr(0b101101) + chr(2748 - 2692))
h5ftM9zvebEG = roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(0b101110 + 0o67) + '\x63' + chr(111) + chr(100) + chr(101))(chr(12791 - 12674) + chr(4705 - 4589) + chr(102) + chr(0b101101) + '\x38')
_NuwPUBWY7oy = roI3spqORKae(ES5oEprVxulp(b'\xe9s\xd1u\\\xd7\x13C\xcb\xa4'), '\x64' + chr(4026 - 3925) + chr(99) + '\x6f' + chr(9630 - 9530) + chr(0b1011000 + 0o15))(chr(0b1110101) + '\x74' + chr(9471 - 9369) + '\x2d' + '\x38')
eemPYp2vtTSr = bpyfpu4kTbwL.ajIDWyXMBa3b
JummcHpaNLEw = roI3spqORKae(ES5oEprVxulp(b'\xd2w\xdc'), '\x64' + '\x65' + chr(0b1000100 + 0o37) + '\x6f' + chr(0b1000011 + 0o41) + '\145')(chr(0b1110101) + '\x74' + chr(102) + chr(45) + '\070')
tgCaEODbSrcw = nzTpIcepk0o8('\x30' + chr(111) + '\x30', 8)
LCmbVMeyipqX = roI3spqORKae(ES5oEprVxulp(b'\xd8i\xe7u\x05\xca\x13^\xca\xa9,\x9b\x1a\x08\xc8\xe7\xb0'), chr(6924 - 6824) + chr(0b1100000 + 0o5) + '\143' + chr(0b1101111) + chr(0b110110 + 0o56) + chr(3190 - 3089))(chr(0b1110101) + chr(0b1110100) + chr(102) + chr(0b101101) + '\x38')
XVkt11LlZOhf = roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(4655 - 4554) + '\x63' + chr(111) + chr(100) + '\x65')(chr(0b1101101 + 0o10) + chr(9896 - 9780) + chr(0b100000 + 0o106) + chr(0b101101 + 0o0) + chr(0b111000))
ztCwr6MUeq7n = nzTpIcepk0o8(chr(0b100000 + 0o20) + chr(111) + chr(0b110000), 8)
nuazrrlKUXVS = nzTpIcepk0o8(chr(48) + chr(111) + chr(48), 8)
M7GWgFE4VK5D = nzTpIcepk0o8('\060' + chr(0b1101111) + '\x30', 8)
EOVsduj7tJxx = roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(9837 - 9736) + '\143' + chr(0b101011 + 0o104) + '\x64' + '\x65')('\165' + '\164' + '\146' + chr(0b101101) + '\x38')
ORW8J19YsL8H = 5e-05
drrqTaYV3rE7 = nzTpIcepk0o8('\060' + '\x6f' + chr(206 - 157) + chr(49) + chr(0b110011) + chr(1736 - 1688), 0o10) + nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b110100) + chr(1936 - 1886) + chr(0b111 + 0o52), 0b1000)
rHPU8oONrR4n = roI3spqORKae(ES5oEprVxulp(b'\xd0z\xdfo\x1f\xfb\nS\xce\xae0\x8a\x0cK\xd9\xf1\xb0(\x7f\x0c\xe4#'), '\144' + '\x65' + chr(0b11010 + 0o111) + '\x6f' + chr(5090 - 4990) + chr(0b1100101))(chr(2414 - 2297) + chr(3369 - 3253) + '\x66' + '\055' + '\070')
E63X9RhwfuOn = roI3spqORKae(ES5oEprVxulp(b''), chr(0b110010 + 0o62) + '\145' + chr(99) + chr(0b1101111) + chr(0b1000110 + 0o36) + '\145')(chr(0b1110101) + chr(0b1100010 + 0o22) + '\x66' + '\x2d' + chr(0b1101 + 0o53))
if OMPKB_AuFZpn:
if roI3spqORKae(ES5oEprVxulp(b'\x90s'), chr(0b1100100) + chr(0b1100011 + 0o2) + chr(99) + chr(0b1101111) + chr(0b1100100) + chr(0b11011 + 0o112))(chr(117) + chr(0b111001 + 0o73) + chr(4491 - 4389) + '\x2d' + chr(0b111000)) in eemPYp2vtTSr:
v8jsMqaYV6U2(roI3spqORKae(BXHXH_QeD6rL, roI3spqORKae(ES5oEprVxulp(b'\xc4}\xfdc\r\xf5\x0ec\xc0\xac\x12\xac'), chr(0b1100 + 0o130) + '\145' + chr(0b1011100 + 0o7) + chr(0b11000 + 0o127) + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + chr(0b1100 + 0o41) + chr(56))))
return nzTpIcepk0o8(chr(0b100001 + 0o17) + chr(3572 - 3461) + '\x30', 8)
if roI3spqORKae(ES5oEprVxulp(b'\x90n\xcbt'), chr(7490 - 7390) + chr(8066 - 7965) + chr(99) + chr(8454 - 8343) + chr(100) + '\145')('\165' + chr(0b1110100) + '\146' + chr(45) + chr(0b111000)) in eemPYp2vtTSr:
w5vcgUzFN3bF = eemPYp2vtTSr.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\x90n\xcbt'), '\x64' + chr(101) + chr(8447 - 8348) + '\157' + chr(0b1000101 + 0o37) + '\145')('\x75' + chr(116) + chr(0b1010111 + 0o17) + '\055' + chr(0b1101 + 0o53)))
E63X9RhwfuOn = eemPYp2vtTSr[w5vcgUzFN3bF + nzTpIcepk0o8('\x30' + chr(0b100110 + 0o111) + '\x31', 8)]
if roI3spqORKae(ES5oEprVxulp(b'\x90]'), '\144' + chr(101) + chr(99) + '\x6f' + chr(0b1110 + 0o126) + chr(0b1100101))(chr(0b1110101) + '\164' + chr(0b1100110) + '\055' + chr(0b110111 + 0o1)) in eemPYp2vtTSr:
w5vcgUzFN3bF = eemPYp2vtTSr.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\x90]'), '\144' + chr(0b1 + 0o144) + chr(6178 - 6079) + '\157' + chr(0b1100100) + chr(4955 - 4854))(chr(1708 - 1591) + '\164' + chr(0b1100110) + chr(0b10011 + 0o32) + '\x38'))
rHPU8oONrR4n = eemPYp2vtTSr[w5vcgUzFN3bF + nzTpIcepk0o8('\x30' + chr(0b100001 + 0o116) + '\061', 8)]
if roI3spqORKae(ES5oEprVxulp(b'\x90]\xcb\x7f'), '\144' + chr(0b1100101) + chr(5308 - 5209) + chr(0b1010101 + 0o32) + chr(0b1011010 + 0o12) + chr(0b1100101))(chr(0b100010 + 0o123) + chr(0b1110100) + chr(102) + chr(0b101101) + '\x38') in eemPYp2vtTSr:
w5vcgUzFN3bF = eemPYp2vtTSr.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\x90]\xcb\x7f'), '\144' + chr(101) + chr(7599 - 7500) + '\x6f' + chr(3040 - 2940) + '\x65')(chr(0b1110101) + '\164' + chr(0b1100110) + chr(0b101101) + chr(0b111000)))
LCmbVMeyipqX = eemPYp2vtTSr[w5vcgUzFN3bF + nzTpIcepk0o8('\x30' + '\157' + '\061', 8)]
if roI3spqORKae(ES5oEprVxulp(b'\x90}'), '\x64' + chr(10063 - 9962) + chr(9486 - 9387) + chr(0b100000 + 0o117) + chr(0b10 + 0o142) + chr(0b1100101))(chr(117) + chr(0b101110 + 0o106) + chr(9250 - 9148) + chr(45) + '\x38') in eemPYp2vtTSr:
w5vcgUzFN3bF = eemPYp2vtTSr.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\x90}'), chr(3202 - 3102) + chr(1807 - 1706) + chr(0b1100011) + '\157' + chr(0b1100100) + chr(0b111101 + 0o50))(chr(3615 - 3498) + chr(0b1010101 + 0o37) + chr(2002 - 1900) + chr(45) + '\070'))
XVkt11LlZOhf = eemPYp2vtTSr[w5vcgUzFN3bF + nzTpIcepk0o8(chr(0b11000 + 0o30) + '\x6f' + chr(880 - 831), 8)]
if roI3spqORKae(ES5oEprVxulp(b'\x90\x7f\xdb'), '\144' + chr(0b1000 + 0o135) + chr(5061 - 4962) + chr(0b1101111) + chr(0b110011 + 0o61) + '\x65')(chr(0b1110101) + '\x74' + chr(0b1100110) + '\055' + chr(56)) in eemPYp2vtTSr:
w5vcgUzFN3bF = eemPYp2vtTSr.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\x90\x7f\xdb'), chr(0b1001111 + 0o25) + chr(101) + chr(4277 - 4178) + chr(5466 - 5355) + chr(0b1100100) + chr(0b11010 + 0o113))(chr(0b101011 + 0o112) + '\164' + chr(102) + chr(0b10011 + 0o32) + '\070'))
_OaSP3sMznOY = jLW6pRf2DSRk(eemPYp2vtTSr[w5vcgUzFN3bF + nzTpIcepk0o8('\x30' + chr(0b1101111) + '\061', 8)]) * 1e-06
MUGp3g4tuXRY = jLW6pRf2DSRk(eemPYp2vtTSr[w5vcgUzFN3bF + nzTpIcepk0o8(chr(439 - 391) + chr(6060 - 5949) + chr(443 - 393), 0o10)])
ncDYK9LWVfBn = jLW6pRf2DSRk(eemPYp2vtTSr[w5vcgUzFN3bF + nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b1110 + 0o45), 8)])
if roI3spqORKae(ES5oEprVxulp(b'\x90z\xdb'), chr(876 - 776) + chr(0b0 + 0o145) + chr(0b111010 + 0o51) + '\157' + chr(5288 - 5188) + chr(0b1100101))('\x75' + '\164' + chr(0b1100110) + chr(1483 - 1438) + chr(56)) in eemPYp2vtTSr:
w5vcgUzFN3bF = eemPYp2vtTSr.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\x90z\xdb'), chr(100) + chr(1242 - 1141) + chr(0b1100011) + chr(111) + '\x64' + chr(2167 - 2066))('\x75' + '\164' + chr(0b1100110) + chr(0b101101) + chr(0b111000)))
XrSglziO_kwd = jLW6pRf2DSRk(eemPYp2vtTSr[w5vcgUzFN3bF + nzTpIcepk0o8(chr(0b110000) + chr(111) + '\x31', 8)]) * 0.001
if roI3spqORKae(ES5oEprVxulp(b'\x90h\xc8e'), '\144' + chr(101) + chr(0b1100011) + chr(10302 - 10191) + '\144' + '\x65')(chr(117) + '\x74' + '\146' + chr(126 - 81) + '\x38') in eemPYp2vtTSr:
w5vcgUzFN3bF = eemPYp2vtTSr.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\x90h\xc8e'), chr(100) + chr(8806 - 8705) + chr(0b1100011) + '\x6f' + '\x64' + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + '\x66' + chr(816 - 771) + chr(56)))
M7GWgFE4VK5D = nzTpIcepk0o8(eemPYp2vtTSr[w5vcgUzFN3bF + nzTpIcepk0o8(chr(48) + chr(0b1000010 + 0o55) + '\061', 8)])
if roI3spqORKae(ES5oEprVxulp(b'\x90w\xd7e'), chr(7963 - 7863) + chr(0b1100101) + chr(99) + chr(111) + chr(8446 - 8346) + chr(0b1100000 + 0o5))('\165' + chr(5734 - 5618) + '\146' + '\055' + chr(56)) in eemPYp2vtTSr:
w5vcgUzFN3bF = eemPYp2vtTSr.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\x90w\xd7e'), chr(4349 - 4249) + '\145' + chr(0b1100011) + chr(0b1101111) + chr(100) + chr(1475 - 1374))(chr(11522 - 11405) + '\x74' + chr(3349 - 3247) + chr(829 - 784) + chr(0b111000)))
h5ftM9zvebEG = eemPYp2vtTSr[w5vcgUzFN3bF + nzTpIcepk0o8(chr(0b110000) + chr(2576 - 2465) + '\061', 8)]
if roI3spqORKae(ES5oEprVxulp(b'\x90h\xc1h'), '\x64' + chr(101) + chr(0b1000011 + 0o40) + chr(0b1101111) + chr(0b110010 + 0o62) + chr(0b1100101))(chr(0b1110101) + '\x74' + chr(102) + '\055' + chr(0b100111 + 0o21)) in eemPYp2vtTSr:
tgCaEODbSrcw = nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b100000 + 0o21), 8)
w5vcgUzFN3bF = eemPYp2vtTSr.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\x90h\xc1h'), chr(100) + '\145' + chr(99) + chr(111) + chr(0b1100100) + chr(101))(chr(117) + chr(4392 - 4276) + chr(0b1100110) + '\x2d' + chr(56)))
RWgSr3TDLKEe = eemPYp2vtTSr[w5vcgUzFN3bF + nzTpIcepk0o8('\x30' + '\x6f' + '\x31', 8)]
myQeYAKamFEM = eemPYp2vtTSr[w5vcgUzFN3bF + nzTpIcepk0o8(chr(1968 - 1920) + chr(0b10001 + 0o136) + '\x32', 8)]
if roI3spqORKae(ES5oEprVxulp(b'\x90}\xcb\x7f'), chr(661 - 561) + '\145' + '\x63' + chr(0b100 + 0o153) + chr(0b1011111 + 0o5) + chr(4578 - 4477))(chr(3856 - 3739) + '\x74' + chr(3185 - 3083) + '\x2d' + chr(56)) in eemPYp2vtTSr:
w5vcgUzFN3bF = eemPYp2vtTSr.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\x90}\xcb\x7f'), chr(0b100101 + 0o77) + chr(0b1100101) + '\143' + chr(0b11000 + 0o127) + chr(100) + '\x65')(chr(13601 - 13484) + chr(0b1110100) + '\x66' + '\x2d' + chr(0b100010 + 0o26)))
LCmbVMeyipqX = eemPYp2vtTSr[w5vcgUzFN3bF + nzTpIcepk0o8(chr(0b100101 + 0o13) + chr(3249 - 3138) + chr(1768 - 1719), 8)]
if roI3spqORKae(ES5oEprVxulp(b'\x90r\xd6u'), chr(100) + '\x65' + chr(99) + '\157' + chr(8560 - 8460) + '\x65')(chr(0b1010111 + 0o36) + '\164' + chr(0b1100110) + chr(45) + chr(0b1000 + 0o60)) in eemPYp2vtTSr:
w5vcgUzFN3bF = eemPYp2vtTSr.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\x90r\xd6u'), chr(0b1100100) + chr(101) + '\143' + '\157' + chr(100) + '\145')(chr(0b1110101) + chr(12363 - 12247) + '\x66' + '\x2d' + '\070'))
wDEIk17vEWwT = eemPYp2vtTSr[w5vcgUzFN3bF + nzTpIcepk0o8(chr(0b101100 + 0o4) + chr(111) + chr(0b110001), 8)]
if roI3spqORKae(ES5oEprVxulp(b'\x90Z'), chr(0b101000 + 0o74) + chr(0b1100101) + chr(99) + chr(0b1101111) + '\144' + chr(0b10101 + 0o120))(chr(0b1110101) + chr(0b10000 + 0o144) + '\146' + '\055' + '\x38') in eemPYp2vtTSr:
NdBgRJDyurSB = nzTpIcepk0o8(chr(48) + chr(10932 - 10821) + chr(49), 8)
if roI3spqORKae(ES5oEprVxulp(b'\x90u\xdbh'), '\144' + chr(0b1111 + 0o126) + chr(99) + '\157' + chr(0b1100100) + chr(8943 - 8842))(chr(4833 - 4716) + chr(0b1110100) + '\x66' + chr(0b101101) + chr(56)) in eemPYp2vtTSr:
w5vcgUzFN3bF = eemPYp2vtTSr.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\x90u\xdbh'), '\x64' + '\145' + '\x63' + '\157' + '\x64' + chr(0b111000 + 0o55))(chr(0b1110101) + chr(116) + chr(5395 - 5293) + chr(0b1111 + 0o36) + chr(0b111000)))
hLIySoEW0NmV = bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8(chr(1302 - 1254) + chr(0b1101111) + chr(49), 8)]
if roI3spqORKae(ES5oEprVxulp(b'\x90W\xe8'), chr(8114 - 8014) + '\x65' + '\143' + chr(111) + chr(0b1010010 + 0o22) + '\x65')(chr(0b11100 + 0o131) + chr(0b111111 + 0o65) + chr(0b1100110) + '\x2d' + chr(56)) in eemPYp2vtTSr:
w5vcgUzFN3bF = eemPYp2vtTSr.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\x90W\xe8'), chr(100) + chr(101) + chr(99) + chr(10310 - 10199) + chr(6189 - 6089) + chr(0b10000 + 0o125))(chr(0b1110101) + '\164' + chr(102) + chr(0b101101) + '\070'))
kSgdIN0MzqOp = eemPYp2vtTSr[w5vcgUzFN3bF + nzTpIcepk0o8(chr(180 - 132) + '\x6f' + chr(49), 8)]
if roI3spqORKae(ES5oEprVxulp(b'\x90M'), chr(100) + chr(8146 - 8045) + '\x63' + chr(111) + chr(1679 - 1579) + chr(0b1100101))(chr(0b1110101) + chr(116) + chr(0b1100110) + '\055' + chr(56)) in eemPYp2vtTSr:
w5vcgUzFN3bF = eemPYp2vtTSr.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\x90M'), '\144' + chr(0b101001 + 0o74) + chr(2179 - 2080) + '\157' + chr(8046 - 7946) + chr(4932 - 4831))(chr(0b1110101) + chr(0b110100 + 0o100) + '\146' + chr(0b101101 + 0o0) + chr(56)))
EOVsduj7tJxx = eemPYp2vtTSr[w5vcgUzFN3bF + nzTpIcepk0o8(chr(0b110000) + '\157' + '\x31', 8)]
if roI3spqORKae(ES5oEprVxulp(b'\x90Z\xeaK#\xc0\x04'), chr(0b1100100) + '\145' + chr(0b1100011) + chr(111) + chr(0b1100100) + '\x65')('\165' + chr(1852 - 1736) + '\x66' + chr(45) + chr(1049 - 993)) in eemPYp2vtTSr:
w5vcgUzFN3bF = eemPYp2vtTSr.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\x90Z\xeaK#\xc0\x04'), chr(0b1010100 + 0o20) + '\145' + '\143' + chr(0b1000 + 0o147) + chr(0b101001 + 0o73) + '\145')(chr(13477 - 13360) + chr(11117 - 11001) + chr(0b1010010 + 0o24) + '\055' + chr(0b1 + 0o67)))
ORW8J19YsL8H = eemPYp2vtTSr[w5vcgUzFN3bF + nzTpIcepk0o8(chr(0b110000) + chr(0b111110 + 0o61) + '\061', 8)]
if roI3spqORKae(ES5oEprVxulp(b'\x90Z\xeaK#\xd0\x02[\xdf'), chr(100) + '\145' + chr(0b1100011) + '\x6f' + chr(3877 - 3777) + '\145')(chr(10583 - 10466) + '\164' + chr(0b1000101 + 0o41) + chr(0b10000 + 0o35) + '\x38') in eemPYp2vtTSr:
w5vcgUzFN3bF = eemPYp2vtTSr.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\x90Z\xeaK#\xd0\x02[\xdf'), '\x64' + '\x65' + chr(99) + chr(0b1011010 + 0o25) + chr(296 - 196) + '\x65')(chr(10639 - 10522) + '\164' + chr(0b1100110) + chr(0b101101) + chr(1489 - 1433)))
drrqTaYV3rE7 = eemPYp2vtTSr[w5vcgUzFN3bF + nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b110001), 8)]
if not OMPKB_AuFZpn:
E63X9RhwfuOn = q5n0sHDDTy90.GUKetu4xaGsJ(roI3spqORKae(ES5oEprVxulp(b'\xc8h\xddt'), chr(0b100110 + 0o76) + '\145' + chr(0b100101 + 0o76) + chr(0b1101111) + chr(0b110101 + 0o57) + '\x65')(chr(0b10100 + 0o141) + chr(0b1101011 + 0o11) + chr(0b111010 + 0o54) + '\x2d' + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b''), chr(5593 - 5493) + chr(3163 - 3062) + chr(8203 - 8104) + '\x6f' + '\144' + chr(0b110010 + 0o63))('\165' + '\164' + chr(0b1000001 + 0o45) + chr(760 - 715) + chr(0b111000 + 0o0)))
rHPU8oONrR4n = q5n0sHDDTy90.GUKetu4xaGsJ(roI3spqORKae(ES5oEprVxulp(b'\xd0~\xd9u#\xc2\x0eZ\xca'), chr(100) + '\x65' + chr(99) + chr(11735 - 11624) + '\x64' + chr(101))(chr(8179 - 8062) + chr(116) + chr(0b10111 + 0o117) + chr(0b101101) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xd0z\xdfo\x1f\xfb\nS\xce\xae0\x8a\x0cK\xd9\xf1\xb0(\x7f\x0c\xe4#'), '\144' + chr(7238 - 7137) + chr(0b1000011 + 0o40) + chr(7232 - 7121) + '\x64' + '\x65')(chr(0b1110101) + chr(4231 - 4115) + '\x66' + chr(45) + chr(1381 - 1325)))
LCmbVMeyipqX = q5n0sHDDTy90.GUKetu4xaGsJ(roI3spqORKae(ES5oEprVxulp(b'\xceb\xd6`\x15\xc8\x02'), chr(0b1100100) + '\145' + chr(0b1111 + 0o124) + '\157' + chr(0b110011 + 0o61) + '\145')(chr(461 - 344) + '\164' + chr(0b1100110) + chr(45) + '\070'), roI3spqORKae(ES5oEprVxulp(b'\xd8i\xe7u\x05\xca\x13^\xca\xa9,\x9b\x1a\x08\xc8\xe7\xb0'), chr(9506 - 9406) + '\x65' + chr(0b1001001 + 0o32) + chr(0b1101 + 0o142) + chr(1268 - 1168) + chr(0b1001000 + 0o35))(chr(7211 - 7094) + chr(0b1110100) + chr(0b110010 + 0o64) + chr(370 - 325) + chr(0b111000)))
XVkt11LlZOhf = q5n0sHDDTy90.GUKetu4xaGsJ(roI3spqORKae(ES5oEprVxulp(b'\xd0z\xdf`\x15\xc8\x02'), chr(0b1100100) + '\145' + chr(0b111101 + 0o46) + chr(1577 - 1466) + chr(100) + chr(4458 - 4357))('\165' + chr(116) + '\x66' + chr(150 - 105) + '\x38'), roI3spqORKae(ES5oEprVxulp(b''), chr(0b11110 + 0o106) + chr(1061 - 960) + '\x63' + chr(0b1101111) + chr(100) + '\145')(chr(0b110 + 0o157) + '\x74' + '\146' + '\x2d' + chr(1955 - 1899)))
_OaSP3sMznOY = nzTpIcepk0o8(q5n0sHDDTy90.GUKetu4xaGsJ(roI3spqORKae(ES5oEprVxulp(b'\xd1z\xda`\x15\xc1\x0bR'), '\144' + chr(1652 - 1551) + chr(0b1001011 + 0o30) + chr(9955 - 9844) + '\x64' + chr(1768 - 1667))(chr(117) + chr(0b1110100) + chr(102) + chr(725 - 680) + '\070'), nzTpIcepk0o8(chr(1041 - 993) + chr(0b110111 + 0o70) + chr(2083 - 2035), 8))) * 1e-06
MUGp3g4tuXRY = nzTpIcepk0o8(q5n0sHDDTy90.GUKetu4xaGsJ(roI3spqORKae(ES5oEprVxulp(b'\xcds\xd1'), chr(0b1100100) + chr(6863 - 6762) + chr(99) + '\x6f' + '\144' + chr(0b1100101))(chr(0b1011001 + 0o34) + chr(0b1110100) + chr(0b1100110) + chr(1525 - 1480) + '\x38'), nzTpIcepk0o8(chr(48) + chr(0b1101 + 0o142) + chr(0b110000), 8)))
ncDYK9LWVfBn = nzTpIcepk0o8(q5n0sHDDTy90.GUKetu4xaGsJ(roI3spqORKae(ES5oEprVxulp(b'\xc9s\xddr\x1d'), chr(0b101000 + 0o74) + '\x65' + chr(0b1100011) + '\x6f' + chr(6510 - 6410) + chr(0b10110 + 0o117))('\x75' + chr(116) + '\146' + chr(0b100001 + 0o14) + chr(56)), nzTpIcepk0o8(chr(1482 - 1434) + chr(3838 - 3727) + '\060', 8)))
XrSglziO_kwd = nzTpIcepk0o8(q5n0sHDDTy90.GUKetu4xaGsJ(roI3spqORKae(ES5oEprVxulp(b'\xcd~\xd9m\x1a\xcd\x02Z\xcb'), chr(100) + chr(0b10010 + 0o123) + chr(0b1100011) + chr(8484 - 8373) + chr(0b1100100) + '\x65')('\165' + '\x74' + chr(7014 - 6912) + '\x2d' + chr(56)), nzTpIcepk0o8(chr(48) + '\157' + chr(0b110000), 8))) * 0.001
M7GWgFE4VK5D = nzTpIcepk0o8(q5n0sHDDTy90.GUKetu4xaGsJ(roI3spqORKae(ES5oEprVxulp(b'\xcek\xdde\x12\xd1\n'), '\x64' + '\x65' + chr(5926 - 5827) + chr(111) + chr(0b1100100) + chr(0b1100101))('\165' + chr(7261 - 7145) + chr(102) + chr(0b101101) + chr(2486 - 2430)), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(766 - 718), 8)))
h5ftM9zvebEG = q5n0sHDDTy90.GUKetu4xaGsJ(roI3spqORKae(ES5oEprVxulp(b'\xd8i\xe7j\x13\xc7\x06B\xc6\xb2+\xa7\x07G\xd1\xfa'), '\144' + chr(101) + '\143' + '\157' + '\144' + chr(2504 - 2403))(chr(7449 - 7332) + chr(0b1110100) + '\x66' + '\x2d' + chr(2410 - 2354)), roI3spqORKae(ES5oEprVxulp(b''), chr(9166 - 9066) + chr(0b1100101) + chr(99) + chr(5453 - 5342) + '\x64' + '\145')(chr(3950 - 3833) + '\x74' + chr(102) + chr(45) + '\070'))
tgCaEODbSrcw = q5n0sHDDTy90.GUKetu4xaGsJ(roI3spqORKae(ES5oEprVxulp(b'\xceb\xd6'), '\144' + '\x65' + chr(99) + '\157' + '\144' + chr(0b1100101))('\x75' + chr(0b1 + 0o163) + '\146' + chr(0b101101) + '\x38'), nzTpIcepk0o8(chr(1939 - 1891) + chr(0b1101011 + 0o4) + chr(0b101010 + 0o6), 8))
RWgSr3TDLKEe = q5n0sHDDTy90.GUKetu4xaGsJ(roI3spqORKae(ES5oEprVxulp(b'\xd4u\xcbr\x15\xd0\x12B\xc6\xb2+'), '\144' + chr(2974 - 2873) + chr(0b1011100 + 0o7) + chr(111) + chr(0b11010 + 0o112) + chr(0b110001 + 0o64))(chr(0b1010 + 0o153) + chr(0b111100 + 0o70) + '\146' + '\055' + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b''), chr(100) + '\145' + chr(99) + chr(936 - 825) + chr(100) + chr(101))('\x75' + chr(116) + '\146' + chr(45) + chr(2492 - 2436)))
myQeYAKamFEM = q5n0sHDDTy90.GUKetu4xaGsJ(roI3spqORKae(ES5oEprVxulp(b'\xceb\xd6r\x05\xd4\x02'), chr(0b1100100) + '\x65' + '\143' + chr(0b1001000 + 0o47) + '\144' + chr(0b1100101))('\165' + '\x74' + chr(0b1100000 + 0o6) + chr(980 - 935) + '\070'), roI3spqORKae(ES5oEprVxulp(b''), chr(7912 - 7812) + '\x65' + '\x63' + chr(0b1101111) + chr(0b1100100) + chr(0b1010101 + 0o20))(chr(0b100001 + 0o124) + chr(0b1110100) + chr(1944 - 1842) + chr(45) + '\070'))
wDEIk17vEWwT = q5n0sHDDTy90.GUKetu4xaGsJ(roI3spqORKae(ES5oEprVxulp(b'\xd4u\xcbr'), chr(1411 - 1311) + chr(0b1100101) + chr(99) + chr(3011 - 2900) + chr(100) + chr(0b1100101))(chr(117) + chr(6641 - 6525) + '\146' + chr(0b1111 + 0o36) + '\x38'), roI3spqORKae(ES5oEprVxulp(b''), chr(0b110 + 0o136) + chr(0b100011 + 0o102) + chr(6428 - 6329) + chr(0b101001 + 0o106) + chr(1461 - 1361) + '\x65')('\x75' + chr(0b101010 + 0o112) + chr(102) + '\055' + chr(0b111000)))
NdBgRJDyurSB = q5n0sHDDTy90.GUKetu4xaGsJ(roI3spqORKae(ES5oEprVxulp(b'\xd3t\xd9p\x19'), '\x64' + chr(0b1100101) + chr(99) + '\x6f' + '\144' + chr(101))(chr(0b1000100 + 0o61) + chr(9112 - 8996) + chr(413 - 311) + '\055' + chr(0b110101 + 0o3)), nzTpIcepk0o8(chr(1309 - 1261) + '\157' + chr(48), 8))
hLIySoEW0NmV = q5n0sHDDTy90.GUKetu4xaGsJ(roI3spqORKae(ES5oEprVxulp(b'\xcez\xd5v#\xc7\x08X'), chr(100) + chr(0b1011101 + 0o10) + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(101))(chr(117) + chr(0b1110100) + '\146' + chr(1973 - 1928) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\x8c'), chr(0b1100100) + '\x65' + chr(0b1100011) + '\157' + '\144' + chr(0b1001011 + 0o32))(chr(0b1110101) + '\164' + '\x66' + '\x2d' + '\x38'))
kSgdIN0MzqOp = q5n0sHDDTy90.GUKetu4xaGsJ(roI3spqORKae(ES5oEprVxulp(b'\xdet\xdcc\x10\xcd\x14B'), chr(0b1100100) + chr(7311 - 7210) + chr(6047 - 5948) + '\x6f' + '\x64' + '\x65')(chr(0b1110101) + chr(4287 - 4171) + chr(0b11101 + 0o111) + chr(502 - 457) + '\070'), roI3spqORKae(ES5oEprVxulp(b''), chr(0b1100100) + chr(0b1001100 + 0o31) + '\x63' + chr(12073 - 11962) + chr(5615 - 5515) + chr(0b1100101))(chr(0b1110101) + chr(0b11110 + 0o126) + chr(0b1100110) + chr(1936 - 1891) + chr(0b1010 + 0o56)))
EOVsduj7tJxx = q5n0sHDDTy90.GUKetu4xaGsJ(roI3spqORKae(ES5oEprVxulp(b'\xdet\xd1j'), chr(100) + chr(0b1100101) + '\143' + '\157' + chr(100) + chr(101))('\165' + chr(0b100100 + 0o120) + chr(0b1000000 + 0o46) + chr(0b101101) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b''), chr(243 - 143) + '\x65' + chr(99) + '\x6f' + chr(0b1100100) + chr(0b100000 + 0o105))('\165' + chr(0b1110100) + '\x66' + '\055' + chr(0b110 + 0o62)))
ORW8J19YsL8H = q5n0sHDDTy90.GUKetu4xaGsJ(roI3spqORKae(ES5oEprVxulp(b'\xdci\xd5Y\x10\xc5\x05P\xc6\xb8)\x9c'), chr(0b1100100) + chr(10057 - 9956) + '\x63' + '\157' + chr(4822 - 4722) + chr(0b1100010 + 0o3))(chr(0b1110101) + '\x74' + chr(0b1100110) + chr(1500 - 1455) + chr(0b110101 + 0o3)), 5e-05)
drrqTaYV3rE7 = q5n0sHDDTy90.GUKetu4xaGsJ(roI3spqORKae(ES5oEprVxulp(b'\xc9i\xd5Y\x0c\xc1\x06]\xfb'), '\x64' + chr(0b1100101) + '\x63' + chr(0b1100111 + 0o10) + chr(0b100110 + 0o76) + '\145')(chr(117) + chr(8839 - 8723) + '\146' + chr(0b100010 + 0o13) + '\070'), nzTpIcepk0o8(chr(48) + chr(9646 - 9535) + chr(49) + chr(2161 - 2112) + '\x33' + '\060', 8) + nzTpIcepk0o8(chr(48) + '\x6f' + '\x34' + chr(1692 - 1642) + chr(209 - 160), 8))
if XVkt11LlZOhf:
try:
QnTXOd5N96r1 = DnU3Rq9N5ala(XVkt11LlZOhf, roI3spqORKae(ES5oEprVxulp(b'\xcf'), '\x64' + chr(7023 - 6922) + chr(2158 - 2059) + chr(7083 - 6972) + chr(0b1100100) + '\145')(chr(0b1110101) + chr(7890 - 7774) + '\x66' + chr(0b101101) + chr(56)))
except UtiWT6f6p9yZ:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xdfz\xdc&\x11\xc5\x00\x16\xc9\xb4)\x9dIH\xdd\xf2\xa1'), chr(3242 - 3142) + chr(1374 - 1273) + '\143' + chr(111) + chr(0b1100100) + chr(101))('\165' + chr(0b1110100) + chr(102) + chr(45) + '\x38'))
return (nzTpIcepk0o8(chr(324 - 276) + chr(0b1001010 + 0o45) + '\x30', 8), roI3spqORKae(ES5oEprVxulp(b'\xdfz\xdc&\x11\xc5\x00\x16\xc9\xb4)\x9dIH\xdd\xf2\xa1'), '\x64' + chr(101) + chr(99) + chr(0b1101111) + chr(100) + chr(0b10100 + 0o121))('\x75' + '\164' + chr(102) + chr(0b1101 + 0o40) + chr(2941 - 2885)))
else:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xd0z\xdfY\x1a\xcd\x0bS\x8f\xbb,\x9d\x05B\x9c\xf6\xb7{#\x1d\xed"Vffl\xc9\x1d\x8b\x97\xd8p7'), chr(1860 - 1760) + chr(101) + '\143' + chr(12308 - 12197) + chr(100) + chr(0b11001 + 0o114))(chr(0b1110101) + chr(116) + chr(3317 - 3215) + chr(0b100110 + 0o7) + '\x38'))
v8jsMqaYV6U2(roI3spqORKae(BXHXH_QeD6rL, roI3spqORKae(ES5oEprVxulp(b'\xc4}\xfdc\r\xf5\x0ec\xc0\xac\x12\xac'), chr(0b1100100) + chr(5709 - 5608) + chr(99) + chr(111) + '\144' + '\x65')(chr(0b11 + 0o162) + '\x74' + chr(0b1100110) + '\x2d' + chr(1064 - 1008))))
return (nzTpIcepk0o8(chr(0b10111 + 0o31) + chr(111) + '\060', 8), roI3spqORKae(ES5oEprVxulp(b'\xd0z\xdfY\x1a\xcd\x0bS\x8f\xbb,\x9d\x05B\x9c\xf6\xb7{#\x1d\xed"Vffl\xc9\x1d\x8b\x97\xd8p7'), chr(4029 - 3929) + chr(101) + '\x63' + '\x6f' + chr(100) + chr(0b100010 + 0o103))(chr(0b1110101) + chr(0b1001 + 0o153) + chr(102) + chr(0b101101) + chr(0b111000)))
if M7GWgFE4VK5D != nzTpIcepk0o8('\060' + '\x6f' + chr(0b11110 + 0o22), 8):
M7GWgFE4VK5D = -M7GWgFE4VK5D
if roI3spqORKae(ES5oEprVxulp(b'\x89'), '\x64' + chr(101) + chr(5807 - 5708) + '\x6f' + chr(0b1100100) + chr(0b10 + 0o143))('\165' + '\164' + chr(102) + chr(0b100000 + 0o15) + '\070') in hLIySoEW0NmV:
if roI3spqORKae(ES5oEprVxulp(b'\x90'), chr(8331 - 8231) + chr(7429 - 7328) + chr(0b1010011 + 0o20) + chr(6473 - 6362) + chr(0b1100100) + chr(101))('\x75' + '\x74' + '\146' + '\055' + chr(2261 - 2205)) not in hLIySoEW0NmV:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xd3z\xd5o\x12\xc3GU\xc0\xb33\x9d\x07R\xd5\xf0\xaa{>\x08\xe8>Pz#S\xdd/\xdb\x8e\xc4l-\x10\x96&\x12\xd4\x89\xd9\xdbt\xcak\\\x90Jl\x8f\xaa-\x9d\x1bC\x9c\xc5\xe42"X\xfd9\x1f}m|\x8c\x15\x9e\x91'), chr(0b1100100) + '\x65' + chr(0b11100 + 0o107) + chr(111) + chr(0b100 + 0o140) + '\x65')(chr(0b100001 + 0o124) + chr(0b1110100) + chr(0b1100110) + '\055' + '\x38'))
return (nzTpIcepk0o8(chr(0b110000) + chr(111) + '\060', 8), roI3spqORKae(ES5oEprVxulp(b'\xd3z\xd5o\x12\xc3GU\xc0\xb33\x9d\x07R\xd5\xf0\xaa{>\x08\xe8>Pz#S\xdd/\xdb\x8e\xc4l-\x10\x96&\x12\xd4\x89\xd9\xdbt\xcak\\\x90Jl\x8f\xaa-\x9d\x1bC\x9c\xc5\xe42"X\xfd9\x1f}m|\x8c\x15\x9e\x91'), '\144' + chr(101) + chr(0b1011110 + 0o5) + chr(0b1101111) + '\144' + chr(0b111011 + 0o52))(chr(117) + '\x74' + chr(0b1011001 + 0o15) + chr(0b10 + 0o53) + '\070'))
else:
sEVgLUlRGUb0 = hLIySoEW0NmV.LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\x90'), chr(3072 - 2972) + chr(0b11010 + 0o113) + chr(6627 - 6528) + chr(0b1101111) + chr(0b1100100) + chr(101))('\165' + chr(116) + chr(0b1100110) + chr(45) + '\070'))[nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b11110 + 0o23), 8)]
hLIySoEW0NmV = roI3spqORKae(ES5oEprVxulp(b'\x89'), '\x64' + chr(101) + chr(99) + '\x6f' + '\144' + chr(0b11011 + 0o112))('\x75' + chr(0b1001001 + 0o53) + '\146' + chr(45) + '\070')
if roI3spqORKae(ES5oEprVxulp(b'\x8a'), chr(0b1100100) + chr(2094 - 1993) + chr(99) + chr(0b1101010 + 0o5) + chr(0b1100100) + '\145')(chr(117) + '\164' + chr(102) + chr(0b101101) + chr(1623 - 1567)) in hLIySoEW0NmV:
if roI3spqORKae(ES5oEprVxulp(b'\x90'), chr(100) + chr(0b1100101) + chr(0b1011110 + 0o5) + chr(0b1101111) + '\144' + chr(0b1100101))('\165' + chr(2221 - 2105) + chr(0b1100110) + chr(0b101101) + '\070') not in hLIySoEW0NmV:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xd3z\xd5o\x12\xc3GU\xc0\xb33\x9d\x07R\xd5\xf0\xaa{>\x08\xe8>Pz#S\xde/\xdb\x8e\xc4l-\x10\x96&\x12\xd4\x89\xd9\xdbt\xcak\\\x93Jl\x8f\xaa-\x9d\x1bC\x9c\xc5\xe42"X\xfd9\x1f}m|\x8c\x15\x9e\x91'), '\x64' + chr(0b1010100 + 0o21) + chr(0b1100011) + '\157' + chr(2502 - 2402) + chr(101))(chr(117) + '\164' + '\146' + chr(0b101101) + chr(0b111000)))
return (nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b1111 + 0o41), 8), roI3spqORKae(ES5oEprVxulp(b'\xd3z\xd5o\x12\xc3GU\xc0\xb33\x9d\x07R\xd5\xf0\xaa{>\x08\xe8>Pz#S\xde/\xdb\x8e\xc4l-\x10\x96&\x12\xd4\x89\xd9\xdbt\xcak\\\x93Jl\x8f\xaa-\x9d\x1bC\x9c\xc5\xe42"X\xfd9\x1f}m|\x8c\x15\x9e\x91'), '\144' + '\145' + '\x63' + '\x6f' + chr(0b1100100) + chr(101))(chr(117) + chr(10448 - 10332) + '\146' + '\x2d' + chr(0b110110 + 0o2)))
else:
sEVgLUlRGUb0 = hLIySoEW0NmV.LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\x90'), chr(100) + chr(101) + '\143' + chr(11549 - 11438) + '\x64' + chr(0b101 + 0o140))(chr(0b1011 + 0o152) + '\x74' + chr(102) + '\055' + '\x38'))[nzTpIcepk0o8(chr(462 - 414) + '\x6f' + '\x31', 8)]
hLIySoEW0NmV = roI3spqORKae(ES5oEprVxulp(b'\x89'), chr(0b1100100) + '\145' + chr(2043 - 1944) + '\157' + '\144' + chr(101))(chr(0b1 + 0o164) + chr(0b1011001 + 0o33) + '\146' + chr(45) + chr(0b10101 + 0o43))
wXNZi6rDt0jg = kSgdIN0MzqOp.LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\x87'), chr(7018 - 6918) + chr(819 - 718) + chr(0b1100011) + chr(6648 - 6537) + '\144' + chr(0b1100101))(chr(13082 - 12965) + chr(0b1110100) + '\x66' + chr(45) + chr(0b111000)))
if roI3spqORKae(ES5oEprVxulp(b'\xfc]'), '\x64' + chr(101) + '\x63' + chr(0b101011 + 0o104) + chr(1382 - 1282) + chr(6605 - 6504))('\x75' + chr(2516 - 2400) + chr(102) + chr(0b101101) + chr(0b111000)) in wXNZi6rDt0jg:
HsExji6d7tC1 = roI3spqORKae(ES5oEprVxulp(b'\xfc]'), chr(7258 - 7158) + chr(2079 - 1978) + chr(0b1100011) + chr(6348 - 6237) + chr(0b1001001 + 0o33) + '\x65')(chr(117) + '\x74' + '\x66' + '\055' + chr(1663 - 1607))
if not _OaSP3sMznOY:
fBsoIoeG_eRQ = roI3spqORKae(ES5oEprVxulp(b'\xf1O\x95G:\x89='), '\144' + '\145' + chr(0b1100011) + chr(0b1101111) + '\144' + chr(0b1100101))(chr(0b1110101) + chr(716 - 600) + chr(0b1100110) + chr(0b101101) + chr(56))
if _OaSP3sMznOY:
fBsoIoeG_eRQ = roI3spqORKae(ES5oEprVxulp(b'\xf1O\x95G:\x89.'), chr(5979 - 5879) + chr(0b110100 + 0o61) + '\143' + chr(413 - 302) + chr(100) + '\x65')(chr(0b1110101) + '\x74' + '\146' + chr(45) + chr(0b111000))
if roI3spqORKae(ES5oEprVxulp(b'\xe9'), chr(100) + chr(2584 - 2483) + chr(0b100110 + 0o75) + chr(0b1101111) + chr(0b1000000 + 0o44) + chr(0b1100101))(chr(117) + '\x74' + chr(5302 - 5200) + chr(0b101101) + chr(0b1100 + 0o54)) in wXNZi6rDt0jg:
HsExji6d7tC1 = roI3spqORKae(ES5oEprVxulp(b'\xe9'), chr(100) + '\x65' + chr(543 - 444) + '\157' + chr(100) + chr(101))(chr(117) + chr(0b1100001 + 0o23) + chr(7484 - 7382) + chr(0b101101) + chr(0b100010 + 0o26))
if not _OaSP3sMznOY:
fBsoIoeG_eRQ = roI3spqORKae(ES5oEprVxulp(b'\xf1O\x95RQ\xfe'), chr(7921 - 7821) + chr(10044 - 9943) + chr(99) + chr(0b1101111) + chr(0b1100100) + chr(0b1100101))('\x75' + '\x74' + chr(102) + '\055' + chr(56))
if _OaSP3sMznOY:
fBsoIoeG_eRQ = roI3spqORKae(ES5oEprVxulp(b'\xf1O\x95RQ\xed'), '\144' + chr(0b11010 + 0o113) + chr(0b100100 + 0o77) + chr(5676 - 5565) + '\144' + chr(101))(chr(8033 - 7916) + '\164' + chr(102) + chr(0b11101 + 0o20) + chr(1663 - 1607))
if roI3spqORKae(ES5oEprVxulp(b'\xf4'), chr(100) + chr(0b1100101) + chr(0b1100011) + chr(0b1101111) + chr(9814 - 9714) + chr(1259 - 1158))('\x75' + chr(13028 - 12912) + chr(6856 - 6754) + chr(0b101101) + '\x38') in wXNZi6rDt0jg:
fBsoIoeG_eRQ = roI3spqORKae(ES5oEprVxulp(b'\xf1K\x95O.\xe9'), chr(8216 - 8116) + '\x65' + '\143' + chr(9930 - 9819) + '\144' + chr(101))(chr(117) + chr(0b1110100) + chr(10094 - 9992) + '\055' + chr(877 - 821))
zyRtA8NmEbRI = roI3spqORKae(ES5oEprVxulp(b'\xd0O'), chr(0b1100100) + chr(0b1100101) + chr(0b1100011) + chr(111) + chr(5213 - 5113) + chr(9160 - 9059))(chr(0b1110101) + chr(0b1110100) + chr(0b1011000 + 0o16) + '\x2d' + chr(56))
if roI3spqORKae(ES5oEprVxulp(b'\xee'), chr(0b1100100) + '\x65' + '\x63' + chr(0b1101111) + '\144' + chr(101))(chr(0b1000101 + 0o60) + '\x74' + chr(0b1100110) + '\x2d' + chr(0b111000)) in wXNZi6rDt0jg:
HsExji6d7tC1 = roI3spqORKae(ES5oEprVxulp(b'\xee'), chr(0b1000011 + 0o41) + chr(2459 - 2358) + chr(6325 - 6226) + '\157' + '\144' + chr(0b1100101))('\x75' + chr(116) + '\x66' + '\x2d' + '\070')
fBsoIoeG_eRQ = roI3spqORKae(ES5oEprVxulp(b'\xf1K\x95V5\x893d\xe2\xe7\t\xa8Dv\xf5\xb2\x85\x17\x05U\xdd\x11~FN'), chr(0b101100 + 0o70) + chr(7915 - 7814) + chr(1756 - 1657) + chr(0b1101111) + '\144' + chr(0b10010 + 0o123))(chr(117) + '\x74' + '\146' + '\x2d' + '\070')
cg2QU5q7Ixzo = _OaSP3sMznOY
if roI3spqORKae(ES5oEprVxulp(b'\xfa'), '\x64' + chr(101) + chr(0b111110 + 0o45) + chr(0b1101111) + '\x64' + chr(101))(chr(117) + chr(0b111101 + 0o67) + chr(0b1011011 + 0o13) + chr(0b1000 + 0o45) + '\070') in wXNZi6rDt0jg:
fBsoIoeG_eRQ = roI3spqORKae(ES5oEprVxulp(b'\xf1O\x95G:\x89 '), chr(0b1100100) + '\x65' + '\143' + chr(0b1101111) + chr(5803 - 5703) + chr(0b1100101))(chr(0b1110101) + '\164' + '\x66' + '\x2d' + '\x38')
if roI3spqORKae(ES5oEprVxulp(b'\xf9'), '\x64' + chr(101) + chr(99) + chr(111) + chr(100) + chr(101))('\165' + chr(10306 - 10190) + '\146' + chr(45) + '\x38') in wXNZi6rDt0jg:
fBsoIoeG_eRQ = roI3spqORKae(ES5oEprVxulp(b'\xf1O\x95G:\x89#'), chr(100) + chr(0b1100101) + '\143' + '\157' + '\144' + chr(4200 - 4099))('\x75' + chr(462 - 346) + chr(0b1100110) + chr(0b10010 + 0o33) + chr(0b1000 + 0o60))
if roI3spqORKae(ES5oEprVxulp(b'\xe9I\xf5'), chr(100) + chr(101) + chr(3412 - 3313) + '\x6f' + chr(0b111010 + 0o52) + chr(101))(chr(117) + '\164' + chr(4395 - 4293) + chr(0b11011 + 0o22) + chr(1130 - 1074)) in wXNZi6rDt0jg:
HsExji6d7tC1 = roI3spqORKae(ES5oEprVxulp(b'\xe9'), chr(0b1100100) + '\x65' + chr(0b1010100 + 0o17) + chr(0b1100011 + 0o14) + chr(0b1100100) + chr(0b1100101))(chr(3077 - 2960) + '\164' + '\x66' + chr(45) + chr(0b111000))
ztCwr6MUeq7n = nzTpIcepk0o8(chr(0b1100 + 0o44) + '\x6f' + '\x31', 8)
if EOVsduj7tJxx:
fBsoIoeG_eRQ = roI3spqORKae(ES5oEprVxulp(b'\xf1K\x95O.\xe9'), chr(9252 - 9152) + chr(0b1100101) + chr(0b1100011) + chr(0b1101111) + chr(9437 - 9337) + '\145')(chr(117) + '\164' + chr(0b1100110) + chr(0b11101 + 0o20) + chr(0b111000))
zyRtA8NmEbRI = roI3spqORKae(ES5oEprVxulp(b'\xeb'), chr(8397 - 8297) + '\x65' + '\143' + '\157' + chr(1741 - 1641) + chr(0b1011101 + 0o10))(chr(117) + '\x74' + '\146' + chr(0b100111 + 0o6) + chr(56))
if EOVsduj7tJxx not in [roI3spqORKae(ES5oEprVxulp(b'\x8c'), chr(767 - 667) + chr(6104 - 6003) + chr(0b101101 + 0o66) + '\x6f' + chr(0b1000 + 0o134) + chr(0b1 + 0o144))(chr(0b1110101) + chr(4024 - 3908) + chr(4598 - 4496) + chr(0b101101) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\x8f'), chr(0b111111 + 0o45) + chr(0b110111 + 0o56) + chr(0b1100011) + '\x6f' + '\x64' + '\x65')('\165' + chr(3979 - 3863) + chr(102) + chr(45) + chr(1956 - 1900)), roI3spqORKae(ES5oEprVxulp(b'\x8e'), chr(0b1000011 + 0o41) + '\x65' + chr(1993 - 1894) + '\157' + chr(0b110000 + 0o64) + '\145')(chr(7511 - 7394) + '\x74' + chr(0b1100110) + chr(0b101101 + 0o0) + chr(0b111000))]:
v8jsMqaYV6U2(roI3spqORKae(BXHXH_QeD6rL, roI3spqORKae(ES5oEprVxulp(b'\xc4}\xfdc\r\xf5\x0ec\xc0\xac\x12\xac'), chr(100) + chr(0b101011 + 0o72) + '\x63' + '\157' + chr(100) + chr(0b1100101))(chr(8083 - 7966) + chr(116) + '\x66' + '\x2d' + chr(940 - 884))))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xd3t\xcc&\x1d\x84\x11W\xc3\xb4!\xd8\nI\xd5\xf3\xe4(!\x1d\xff>Y}`i\x9d\x1b\x94\x8d'), '\144' + chr(101) + '\143' + '\x6f' + chr(100) + '\x65')('\x75' + chr(1586 - 1470) + '\146' + chr(2017 - 1972) + chr(204 - 148)))
return (nzTpIcepk0o8(chr(740 - 692) + chr(0b1101111) + '\x30', 8), roI3spqORKae(ES5oEprVxulp(b'\xd3t\xcc&\x1d\x84\x11W\xc3\xb4!\xd8\nI\xd5\xf3\xe4(!\x1d\xff>Y}`i\x9d\x1b\x94\x8d'), chr(100) + '\145' + '\143' + chr(0b1011011 + 0o24) + chr(0b101100 + 0o70) + chr(101))(chr(117) + chr(0b1110100) + chr(102) + chr(45) + chr(0b111000)))
if HsExji6d7tC1 == roI3spqORKae(ES5oEprVxulp(b'\xe9'), chr(2979 - 2879) + '\x65' + chr(2419 - 2320) + chr(111) + chr(4545 - 4445) + '\x65')(chr(0b1011100 + 0o31) + '\164' + '\146' + '\x2d' + chr(0b11 + 0o65)) and roI3spqORKae(ES5oEprVxulp(b'\xfcU\xf1'), chr(0b11111 + 0o105) + '\x65' + chr(5929 - 5830) + '\157' + '\144' + '\x65')(chr(0b1110101) + '\164' + chr(0b1100100 + 0o2) + chr(0b1100 + 0o41) + chr(56)) in wXNZi6rDt0jg:
fBsoIoeG_eRQ = roI3spqORKae(ES5oEprVxulp(b'\xf1K\x95G2\x893d\xe2'), chr(6491 - 6391) + chr(7733 - 7632) + '\x63' + '\157' + chr(0b110 + 0o136) + '\x65')(chr(117) + chr(0b1110100) + chr(0b110111 + 0o57) + '\x2d' + chr(2950 - 2894))
if HsExji6d7tC1 == roI3spqORKae(ES5oEprVxulp(b'\xfc]'), '\x64' + chr(7342 - 7241) + chr(0b1100011) + '\157' + chr(959 - 859) + chr(0b101111 + 0o66))(chr(6030 - 5913) + chr(116) + chr(0b1001110 + 0o30) + chr(0b1 + 0o54) + '\070') and roI3spqORKae(ES5oEprVxulp(b'\xfcU\xf1'), chr(0b1010 + 0o132) + '\145' + chr(99) + '\x6f' + chr(0b1100000 + 0o4) + '\145')(chr(5422 - 5305) + chr(0b1110100) + chr(3080 - 2978) + '\x2d' + chr(0b111000)) in wXNZi6rDt0jg:
fBsoIoeG_eRQ = roI3spqORKae(ES5oEprVxulp(b'\xf1K\x95G2\x89&d\xe2'), chr(100) + '\x65' + chr(267 - 168) + chr(0b1101111) + '\144' + chr(0b1100101))(chr(0b1110101) + chr(0b1011001 + 0o33) + '\x66' + '\x2d' + chr(502 - 446))
if _OaSP3sMznOY == nzTpIcepk0o8(chr(1963 - 1915) + chr(0b1101111) + chr(876 - 828), 8):
_OaSP3sMznOY = 5e-05
if XrSglziO_kwd == nzTpIcepk0o8(chr(0b110000) + chr(0b11100 + 0o123) + '\x30', 8):
XrSglziO_kwd = 0.18
(Z7ICPihkHtHA, pat92IisfQkU) = ([], [])
uNg9Yeq376oN = hUcsWwAd0nE_.get_version()
if nzTpIcepk0o8(chr(2289 - 2241) + '\157' + chr(2396 - 2347), 8):
nps1_IgXSDRy = []
(BkI1oOCrzqWc, B6UAF1zReOyJ) = (QnTXOd5N96r1.TKmlmUjNQ4dY(), nzTpIcepk0o8('\060' + '\157' + chr(0b101000 + 0o10), 8))
for B6UAF1zReOyJ in bbT2xIe5pzk7(ftfygxgFas5X(BkI1oOCrzqWc)):
FKO_XxLfWbYt = BkI1oOCrzqWc[B6UAF1zReOyJ].LfRrQOxuDvnC()
if FKO_XxLfWbYt[nzTpIcepk0o8(chr(48) + chr(0b11000 + 0o127) + chr(0b110000), 8)][nzTpIcepk0o8(chr(0b100001 + 0o17) + chr(0b110110 + 0o71) + '\060', 8)] == roI3spqORKae(ES5oEprVxulp(b'\xe2'), chr(0b1 + 0o143) + '\145' + chr(0b1100011) + chr(9193 - 9082) + chr(100) + chr(9546 - 9445))('\165' + chr(11182 - 11066) + '\x66' + chr(0b1011 + 0o42) + chr(2509 - 2453)) or FKO_XxLfWbYt[nzTpIcepk0o8('\060' + chr(2650 - 2539) + chr(0b10110 + 0o32), 8)][nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b110000), 8):nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\062', 8)] == roI3spqORKae(ES5oEprVxulp(b'\x9cD'), chr(100) + '\145' + chr(0b1100011) + chr(2908 - 2797) + '\x64' + chr(0b11001 + 0o114))('\165' + chr(0b1001001 + 0o53) + '\x66' + '\055' + chr(0b110111 + 0o1)):
break
KQbHFTcl_LKy = B6UAF1zReOyJ + nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(394 - 345), 8)
for B6UAF1zReOyJ in bbT2xIe5pzk7(KQbHFTcl_LKy, ftfygxgFas5X(BkI1oOCrzqWc)):
FKO_XxLfWbYt = BkI1oOCrzqWc[B6UAF1zReOyJ].LfRrQOxuDvnC()
if ftfygxgFas5X(FKO_XxLfWbYt) > nzTpIcepk0o8('\060' + '\157' + '\x30', 8):
fGxDbmBdBlCw = {}
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xc9i\xddg\x08\xc9\x02X\xdb\x821\x9d\x04V'), '\x64' + chr(101) + chr(0b110101 + 0o56) + chr(0b1101111) + chr(0b1001001 + 0o33) + '\145')(chr(0b1110101) + chr(116) + chr(3841 - 3739) + chr(0b101101) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\x98#\x965\x19'), chr(0b1100100) + '\145' + chr(2658 - 2559) + chr(0b1101111) + chr(100) + '\145')('\165' + chr(116) + chr(7137 - 7035) + '\x2d' + '\070') % nzTpIcepk0o8(chr(0b101100 + 0o4) + chr(111) + chr(0b11100 + 0o30) + chr(1583 - 1533) + '\x31', 8)
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xd0~\xd9u\t\xd6\x02[\xca\xb31\xa7\x1dC\xd1\xef'), chr(8135 - 8035) + chr(0b1100001 + 0o4) + '\143' + chr(111) + '\144' + chr(0b1100101))('\x75' + '\x74' + '\146' + '\055' + chr(0b101111 + 0o11))] = roI3spqORKae(ES5oEprVxulp(b'\x98#\x965\x19'), chr(1023 - 923) + chr(0b1001010 + 0o33) + chr(0b1010110 + 0o15) + chr(1877 - 1766) + '\144' + '\145')('\165' + '\164' + chr(102) + '\055' + chr(0b111000)) % nzTpIcepk0o8(chr(1244 - 1196) + chr(111) + '\064' + chr(50) + chr(49), 8)
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xc9i\xddg\x08\xc9\x02X\xdb\x82$\x9b6@\xd5\xfa\xa8?'), chr(6425 - 6325) + chr(0b100 + 0o141) + chr(0b1100011) + '\x6f' + '\144' + '\145')(chr(0b1110101) + '\x74' + chr(0b1100110) + '\x2d' + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\x8d'), chr(0b1011 + 0o131) + '\145' + '\143' + chr(0b1000 + 0o147) + chr(100) + chr(0b1100101))(chr(0b1100110 + 0o17) + chr(0b1110100) + '\x66' + chr(0b100100 + 0o11) + chr(115 - 59))
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xc9i\xddg\x08\xc9\x02X\xdb\x82!\x9b6@\xd5\xfa\xa8?'), chr(0b1100100) + chr(7992 - 7891) + chr(0b1100011) + chr(0b1000111 + 0o50) + '\x64' + chr(883 - 782))(chr(5581 - 5464) + chr(0b11001 + 0o133) + chr(102) + chr(0b101101) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\x8d'), chr(4400 - 4300) + chr(0b1100101) + '\143' + chr(0b1101111) + '\144' + chr(0b1010101 + 0o20))('\165' + chr(0b100000 + 0o124) + '\146' + chr(45) + '\x38')
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xc9i\xddg\x08\xc9\x02X\xdb\x82!\x9b6@\xd5\xfa\xa8?\x0e\x08\xf4>'), chr(0b1100100) + chr(0b1011011 + 0o12) + chr(99) + chr(0b1101111) + chr(100) + chr(0b1001010 + 0o33))(chr(0b1110101) + chr(0b1110100) + '\146' + '\x2d' + chr(0b101010 + 0o16))] = roI3spqORKae(ES5oEprVxulp(b'\x8d'), '\144' + chr(0b1100101) + chr(0b1100011) + chr(111) + chr(0b1011000 + 0o14) + '\145')(chr(117) + chr(0b100 + 0o160) + chr(0b10111 + 0o117) + '\055' + chr(0b111000))
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xc9i\xddg\x08\xc9\x02X\xdb\x82!\x9b6@\xd5\xfa\xa8?\x0e\x0c\xf42Ku'), chr(0b1100100) + chr(0b1010001 + 0o24) + chr(0b1100011) + chr(111) + '\144' + chr(0b1100 + 0o131))('\x75' + '\164' + '\x66' + chr(0b11001 + 0o24) + '\070')] = roI3spqORKae(ES5oEprVxulp(b'\x8d'), chr(0b1100100) + chr(0b1010001 + 0o24) + '\x63' + chr(0b11 + 0o154) + chr(0b1100100) + chr(0b1100 + 0o131))(chr(0b1110101) + '\164' + chr(102) + chr(263 - 218) + chr(56))
nzoPdASmAqfI = roI3spqORKae(ES5oEprVxulp(b'\xf1O\x95H3'), chr(2869 - 2769) + chr(101) + chr(8120 - 8021) + chr(8363 - 8252) + chr(100) + chr(6261 - 6160))('\165' + chr(116) + chr(0b1100110) + chr(0b100 + 0o51) + chr(2079 - 2023))
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xd0~\xd9u\t\xd6\x02[\xca\xb31\xa7\x0fJ\xdd\xf8'), '\x64' + '\145' + '\x63' + chr(0b1101111) + chr(0b1100100) + '\x65')(chr(0b1010011 + 0o42) + chr(10914 - 10798) + chr(0b1100110) + '\x2d' + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\xda'), chr(100) + chr(754 - 653) + '\x63' + chr(0b1101111) + '\144' + chr(0b1101 + 0o130))('\165' + chr(116) + '\146' + chr(947 - 902) + chr(0b100111 + 0o21))
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xd0~\xd9u\t\xd6\x02[\xca\xb31\xa7\x1aR\xdd\xf1\xa0:#\x1c'), chr(7832 - 7732) + chr(0b110010 + 0o63) + chr(0b1100011) + '\x6f' + chr(0b11011 + 0o111) + chr(0b1010 + 0o133))('\165' + chr(0b1110100) + chr(0b10100 + 0o122) + '\055' + chr(0b101000 + 0o20))] = roI3spqORKae(ES5oEprVxulp(b'\xc8'), '\144' + '\x65' + chr(0b111001 + 0o52) + chr(0b110110 + 0o71) + chr(100) + '\x65')('\165' + chr(0b1110100) + chr(102) + chr(0b101001 + 0o4) + chr(56))
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xd0~\xd9u\t\xd6\x02[\xca\xb31\xa7\x07S\xd1\xfd\xa1)'), '\x64' + chr(101) + chr(99) + '\157' + chr(100) + chr(0b101111 + 0o66))(chr(8226 - 8109) + '\164' + '\x66' + chr(0b101101) + chr(56))] = roI3spqORKae(ES5oEprVxulp(b'\x8c'), chr(100) + chr(0b11010 + 0o113) + '\x63' + chr(8757 - 8646) + '\144' + '\145')(chr(3455 - 3338) + chr(0b10011 + 0o141) + chr(102) + chr(45) + chr(0b111000))
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xd8i\xe7u\x0c\xc1\x04_\xc2\xb8+\xa7\x07G\xd1\xfa'), '\144' + '\145' + chr(0b1100011) + chr(0b1101111) + '\144' + '\145')(chr(0b111100 + 0o71) + chr(0b1010111 + 0o35) + '\x66' + chr(1121 - 1076) + '\x38')] = FKO_XxLfWbYt[nzTpIcepk0o8(chr(977 - 929) + chr(0b1101111) + chr(48), 8)]
if M7GWgFE4VK5D != nzTpIcepk0o8(chr(2044 - 1996) + '\157' + chr(0b101101 + 0o3), 8):
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xd8i\xe7u\x1d\xc9\x17Z\xca\x82+\x99\x04C'), chr(0b1100100) + chr(0b10100 + 0o121) + chr(0b1100011) + chr(0b11001 + 0o126) + chr(0b1011111 + 0o5) + chr(8019 - 7918))(chr(0b1100011 + 0o22) + '\x74' + chr(5941 - 5839) + chr(730 - 685) + '\x38')] = FKO_XxLfWbYt[nzTpIcepk0o8('\x30' + chr(111) + '\x30', 8)][:M7GWgFE4VK5D]
else:
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xd8i\xe7u\x1d\xc9\x17Z\xca\x82+\x99\x04C'), '\144' + chr(101) + '\x63' + '\x6f' + chr(0b1100100) + chr(0b1010011 + 0o22))(chr(10935 - 10818) + chr(0b1110100) + chr(0b1100110) + '\x2d' + chr(0b111000))] = FKO_XxLfWbYt[nzTpIcepk0o8(chr(48) + '\157' + chr(48), 8)]
f9ijNiPCpOFu = hUcsWwAd0nE_.parse_site(fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xd8i\xe7u\x1d\xc9\x17Z\xca\x82+\x99\x04C'), '\144' + chr(0b100011 + 0o102) + '\143' + '\x6f' + chr(0b10110 + 0o116) + chr(101))(chr(0b1110101) + '\x74' + '\x66' + chr(0b101101) + chr(56))], hLIySoEW0NmV, sEVgLUlRGUb0)
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xd8i\xe7u\x15\xd0\x02i\xc1\xbc(\x9d'), chr(100) + '\145' + chr(99) + chr(0b1011011 + 0o24) + '\x64' + '\145')(chr(9487 - 9370) + chr(12235 - 12119) + chr(0b1100110) + chr(845 - 800) + '\x38')] = f9ijNiPCpOFu
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xd8i\xe7j\x13\xc7\x06B\xc6\xb2+\xa7\x07G\xd1\xfa'), chr(100) + chr(0b1001100 + 0o31) + '\143' + '\x6f' + chr(0b111001 + 0o53) + '\145')(chr(0b1110101) + chr(116) + chr(0b1100110) + '\055' + chr(0b100011 + 0o25))] = h5ftM9zvebEG
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xd0~\xd9u\t\xd6\x02[\xca\xb31\xa7\nU\xd8'), '\144' + '\145' + chr(1215 - 1116) + chr(0b1101111) + chr(0b110111 + 0o55) + chr(9099 - 8998))(chr(0b1110101) + chr(116) + chr(7843 - 7741) + '\x2d' + chr(0b101100 + 0o14))] = FKO_XxLfWbYt[nzTpIcepk0o8('\060' + '\x6f' + chr(705 - 654), 8)]
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xd0~\xd9u\t\xd6\x02[\xca\xb31\xa7\x04G\xdb\xf1\x9b6>\x15\xf99K'), '\x64' + chr(0b1100101) + '\x63' + '\x6f' + chr(100) + '\x65')(chr(117) + '\x74' + '\x66' + chr(0b101101 + 0o0) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\x98*\x88(O\xc1'), '\144' + chr(6039 - 5938) + chr(2119 - 2020) + '\157' + chr(0b110010 + 0o62) + '\x65')(chr(0b1110101) + chr(1837 - 1721) + chr(102) + chr(0b100011 + 0o12) + chr(2961 - 2905)) % (jLW6pRf2DSRk(FKO_XxLfWbYt[nzTpIcepk0o8(chr(1166 - 1118) + chr(8942 - 8831) + chr(0b110011 + 0o1), 17928 - 17920)]) * 1e-07)
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xd0~\xd9u\t\xd6\x02[\xca\xb31\xa7\rC\xdf'), chr(100) + '\145' + chr(0b1100011) + chr(0b1101111) + chr(7152 - 7052) + chr(0b1100101))(chr(117) + '\164' + chr(102) + chr(1954 - 1909) + chr(1942 - 1886))] = FKO_XxLfWbYt[nzTpIcepk0o8(chr(48) + '\x6f' + '\065', ord("\x08"))]
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xd0~\xd9u\t\xd6\x02[\xca\xb31\xa7\x00H\xdf'), '\144' + chr(0b1100101) + chr(0b111110 + 0o45) + '\157' + chr(100) + '\145')(chr(0b1110101) + chr(0b1110100) + chr(2124 - 2022) + chr(0b11110 + 0o17) + chr(56))] = FKO_XxLfWbYt[nzTpIcepk0o8(chr(1368 - 1320) + '\157' + chr(0b110110), 8)]
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xd0~\xd9u\t\xd6\x02[\xca\xb31\xa7\nN\xd5'), chr(0b1100100) + chr(101) + chr(0b110110 + 0o55) + '\x6f' + '\144' + chr(4636 - 4535))('\x75' + chr(12116 - 12000) + chr(102) + '\x2d' + chr(2736 - 2680))] = roI3spqORKae(ES5oEprVxulp(b'\x98*\x88(O\xc1'), '\144' + chr(0b111 + 0o136) + chr(0b100100 + 0o77) + '\157' + chr(7302 - 7202) + '\x65')('\165' + chr(116) + chr(7414 - 7312) + chr(45) + chr(759 - 703)) % (jLW6pRf2DSRk(FKO_XxLfWbYt[nzTpIcepk0o8(chr(2302 - 2254) + '\x6f' + chr(902 - 853) + '\063', ord("\x08"))]) * 1e-05)
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xd8i\xe7e\x15\xd0\x06B\xc6\xb2+\xa7\x07G\xd1\xfa\xb7'), chr(3629 - 3529) + chr(1022 - 921) + chr(7887 - 7788) + '\x6f' + '\144' + '\145')('\x75' + chr(6915 - 6799) + chr(0b111011 + 0o53) + chr(0b101101) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\xe9s\xd1u\\\xd7\x13C\xcb\xa4'), '\144' + '\x65' + chr(0b10010 + 0o121) + '\157' + chr(3945 - 3845) + chr(0b100001 + 0o104))(chr(117) + '\x74' + chr(0b1100100 + 0o2) + chr(0b101101) + chr(1422 - 1366))
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xd0z\xdfo\x1f\xfb\nS\xdb\xb5*\x9c6E\xd3\xfb\xa1('), '\144' + chr(3243 - 3142) + '\x63' + chr(0b100 + 0o153) + chr(287 - 187) + chr(101))(chr(0b1110101) + chr(4538 - 4422) + chr(1146 - 1044) + chr(418 - 373) + chr(56))] = nzoPdASmAqfI
if HsExji6d7tC1 == roI3spqORKae(ES5oEprVxulp(b'\xfc]'), '\144' + '\145' + '\143' + '\157' + chr(100) + '\x65')('\165' + chr(116) + chr(2767 - 2665) + '\x2d' + chr(2583 - 2527)):
if fBsoIoeG_eRQ != roI3spqORKae(ES5oEprVxulp(b'\xf1K\x95G2\x89&d\xe2'), chr(0b1 + 0o143) + chr(101) + '\143' + chr(4852 - 4741) + '\144' + '\145')(chr(0b1001010 + 0o53) + chr(3288 - 3172) + chr(102) + chr(45) + chr(56)):
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xc9i\xddg\x08\xc9\x02X\xdb\x82$\x9b6@\xd5\xfa\xa8?'), chr(0b100010 + 0o102) + chr(101) + chr(0b1100011) + chr(9915 - 9804) + chr(0b1010110 + 0o16) + '\x65')('\165' + chr(12282 - 12166) + chr(0b11110 + 0o110) + '\055' + chr(366 - 310))] = roI3spqORKae(ES5oEprVxulp(b'\x98#\x965\x19'), '\144' + '\145' + chr(2969 - 2870) + chr(111) + chr(0b1011100 + 0o10) + '\145')('\165' + '\x74' + chr(102) + chr(0b10110 + 0o27) + chr(0b101010 + 0o16)) % (jLW6pRf2DSRk(FKO_XxLfWbYt[nzTpIcepk0o8(chr(0b1011 + 0o45) + chr(111) + chr(0b101101 + 0o4), 8)]) * 0.001)
nzoPdASmAqfI = roI3spqORKae(ES5oEprVxulp(b'\xf1O\x95G:\x89='), chr(0b1100100) + chr(5438 - 5337) + chr(0b1100011) + '\x6f' + chr(0b111011 + 0o51) + chr(2898 - 2797))(chr(0b1110101) + chr(116) + '\146' + '\055' + '\x38')
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xc9i\xddg\x08\xc9\x02X\xdb\x82!\x9b6@\xd5\xfa\xa8?'), chr(100) + chr(101) + chr(0b1100011) + chr(0b1101111) + chr(100) + chr(101))('\165' + '\x74' + chr(102) + '\x2d' + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\x8d'), '\x64' + chr(0b1100101) + chr(99) + '\x6f' + chr(0b1011111 + 0o5) + '\x65')('\x75' + '\x74' + '\x66' + chr(0b101101) + chr(0b111000))
elif cwMmVhWUM3ZC[nzTpIcepk0o8(chr(0b110000) + chr(0b1001110 + 0o41) + '\x31', 8)][nzTpIcepk0o8(chr(0b11100 + 0o24) + '\x6f' + chr(0b110000), 8)] == roI3spqORKae(ES5oEprVxulp(b'\x8d'), chr(0b1100100) + '\145' + chr(0b1100011) + '\x6f' + chr(0b1100100) + chr(101))(chr(117) + '\x74' + chr(0b1100110) + chr(1771 - 1726) + chr(0b10100 + 0o44)):
nzoPdASmAqfI = roI3spqORKae(ES5oEprVxulp(b'\xf1O\x95G:\x89='), '\x64' + chr(0b1100101) + chr(0b100101 + 0o76) + chr(0b10 + 0o155) + chr(1489 - 1389) + '\145')(chr(0b1110101) + '\x74' + '\146' + chr(45) + chr(0b111000))
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xc9i\xddg\x08\xc9\x02X\xdb\x82$\x9b6@\xd5\xfa\xa8?'), '\x64' + chr(7088 - 6987) + chr(99) + chr(5995 - 5884) + chr(100) + '\x65')('\x75' + '\x74' + chr(0b1100110) + chr(636 - 591) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\x98#\x965\x19'), chr(5042 - 4942) + chr(0b1100101) + chr(0b1010010 + 0o21) + chr(0b11 + 0o154) + chr(0b1100100) + chr(4026 - 3925))(chr(0b110011 + 0o102) + '\164' + '\x66' + chr(0b101000 + 0o5) + chr(56)) % XrSglziO_kwd
else:
nzoPdASmAqfI = roI3spqORKae(ES5oEprVxulp(b'\xf1O\x95G:\x89.'), chr(9626 - 9526) + chr(101) + '\x63' + '\157' + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + '\164' + '\x66' + '\055' + chr(56))
OE_TMl23yeue = nzTpIcepk0o8(cwMmVhWUM3ZC[nzTpIcepk0o8(chr(1932 - 1884) + chr(111) + chr(0b110000), 8)]) - nzTpIcepk0o8('\x30' + chr(6845 - 6734) + '\x31', 8)
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xc9i\xddg\x08\xc9\x02X\xdb\x82!\x9b6@\xd5\xfa\xa8?\x0e\x08\xf4>'), chr(0b1100001 + 0o3) + '\145' + chr(0b100100 + 0o77) + chr(111) + chr(0b1100100) + chr(101))('\x75' + chr(0b1011111 + 0o25) + chr(102) + '\055' + '\070')] = roI3spqORKae(ES5oEprVxulp(b'\x98,\x967\x1a'), chr(7333 - 7233) + chr(101) + '\143' + chr(0b1101111) + chr(2570 - 2470) + chr(4066 - 3965))(chr(5044 - 4927) + '\x74' + chr(0b110011 + 0o63) + '\055' + chr(0b1111 + 0o51)) % oD8LLo_zqNZe[OE_TMl23yeue]
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xc9i\xddg\x08\xc9\x02X\xdb\x82!\x9b6@\xd5\xfa\xa8?\x0e\x0c\xf42Ku'), '\144' + chr(6627 - 6526) + '\x63' + '\x6f' + chr(0b1011110 + 0o6) + chr(1434 - 1333))('\165' + chr(0b1000011 + 0o61) + chr(102) + chr(45) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\x98,\x967\x1a'), chr(3360 - 3260) + chr(0b1100101) + '\143' + '\x6f' + chr(9547 - 9447) + '\x65')(chr(117) + chr(116) + chr(102) + '\x2d' + '\070') % ReAwxaIgTMy5[OE_TMl23yeue]
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xc9i\xddg\x08\xc9\x02X\xdb\x82!\x9b6@\xd5\xfa\xa8?'), '\x64' + chr(0b1100101) + '\143' + chr(111) + '\144' + chr(659 - 558))(chr(117) + chr(116) + chr(102) + chr(0b101101 + 0o0) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\x98#\x965\x19'), chr(0b1100100) + '\145' + chr(0b111 + 0o134) + chr(111) + '\144' + chr(101))(chr(117) + '\x74' + '\146' + '\x2d' + '\x38') % _OaSP3sMznOY
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xc9i\xddg\x08\xc9\x02X\xdb\x82$\x9b6@\xd5\xfa\xa8?'), chr(1513 - 1413) + chr(0b1100101) + chr(4177 - 4078) + '\x6f' + chr(9661 - 9561) + '\x65')(chr(117) + chr(0b1110100) + chr(0b1100110) + '\x2d' + chr(56))] = roI3spqORKae(ES5oEprVxulp(b'\x98#\x965\x19'), chr(100) + chr(0b1100101) + chr(0b100 + 0o137) + '\x6f' + chr(0b1100100) + chr(7670 - 7569))(chr(0b1100110 + 0o17) + '\x74' + chr(0b1100110) + '\055' + '\070') % XrSglziO_kwd
elif HsExji6d7tC1 == roI3spqORKae(ES5oEprVxulp(b'\xe9'), '\x64' + chr(101) + chr(99) + '\157' + chr(100) + '\145')(chr(0b1110101) + chr(10593 - 10477) + '\146' + '\055' + chr(0b111000)):
if FKO_XxLfWbYt[nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b10100 + 0o35), 8)][nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b110000), 8)] == roI3spqORKae(ES5oEprVxulp(b'\x93'), chr(5054 - 4954) + '\x65' + chr(99) + chr(9884 - 9773) + chr(100) + chr(0b10010 + 0o123))(chr(6395 - 6278) + chr(116) + chr(0b110100 + 0o62) + chr(0b101101) + chr(0b111000)):
FKO_XxLfWbYt[nzTpIcepk0o8(chr(0b110000) + chr(0b10110 + 0o131) + '\061', 8)] = roI3spqORKae(ES5oEprVxulp(b'\x8d'), chr(100) + '\x65' + chr(99) + chr(501 - 390) + '\144' + chr(3432 - 3331))('\165' + chr(3110 - 2994) + '\146' + chr(1521 - 1476) + chr(2845 - 2789)) + FKO_XxLfWbYt[nzTpIcepk0o8('\x30' + '\157' + '\061', 8)]
cwMmVhWUM3ZC = FKO_XxLfWbYt[nzTpIcepk0o8(chr(48) + chr(111) + chr(0b100 + 0o55), 8)].LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\x93'), '\x64' + chr(2396 - 2295) + chr(7058 - 6959) + chr(0b100 + 0o153) + '\144' + '\x65')(chr(0b1110101) + chr(0b1110100) + '\146' + chr(45) + chr(0b110011 + 0o5)))
if ftfygxgFas5X(cwMmVhWUM3ZC) == nzTpIcepk0o8(chr(0b110000) + chr(2346 - 2235) + '\x31', 8):
roI3spqORKae(cwMmVhWUM3ZC, roI3spqORKae(ES5oEprVxulp(b'\xf5O\xeb2\x04\xc3 Y\xc5\xb2\x10\xcd'), '\144' + chr(0b1100101) + chr(0b1100011) + chr(111) + '\x64' + chr(0b1100101))(chr(117) + chr(0b1010111 + 0o35) + '\x66' + chr(0b101101) + '\x38'))(roI3spqORKae(ES5oEprVxulp(b'\x8d'), '\144' + '\x65' + chr(99) + '\x6f' + chr(0b10010 + 0o122) + '\x65')(chr(12141 - 12024) + '\164' + '\x66' + chr(0b11111 + 0o16) + '\070'))
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xc9i\xddg\x08\xc9\x02X\xdb\x821\x9d\x04V'), chr(100) + '\145' + chr(0b1100010 + 0o1) + chr(0b1100100 + 0o13) + chr(1823 - 1723) + chr(101))('\x75' + '\164' + chr(102) + '\x2d' + chr(181 - 125))] = roI3spqORKae(ES5oEprVxulp(b'\x98#\x965\x19'), chr(0b1000111 + 0o35) + chr(0b1100101) + '\x63' + '\x6f' + '\x64' + '\x65')('\x75' + '\x74' + '\146' + chr(0b101101) + chr(56)) % (jLW6pRf2DSRk(FKO_XxLfWbYt[nzTpIcepk0o8(chr(0b110000) + chr(0b1010011 + 0o34) + chr(0b110001), 8)]) + 273.0)
nzoPdASmAqfI = roI3spqORKae(ES5oEprVxulp(b'\xf1O\x95RQ\xfe'), chr(1443 - 1343) + chr(0b1100101) + chr(99) + chr(111) + chr(499 - 399) + chr(0b1100101))('\x75' + chr(0b11 + 0o161) + chr(102) + '\055' + '\x38')
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xc9i\xddg\x08\xc9\x02X\xdb\x821\x9d\x04V'), '\x64' + '\x65' + chr(1926 - 1827) + chr(0b111000 + 0o67) + chr(100) + '\145')(chr(117) + chr(0b10110 + 0o136) + '\x66' + chr(0b110 + 0o47) + chr(1056 - 1000))] = roI3spqORKae(ES5oEprVxulp(b'\x98#\x965\x19'), chr(0b111010 + 0o52) + chr(942 - 841) + chr(6218 - 6119) + chr(0b101100 + 0o103) + '\x64' + chr(101))('\x75' + '\164' + '\146' + chr(45) + chr(1211 - 1155)) % (jLW6pRf2DSRk(cwMmVhWUM3ZC[nzTpIcepk0o8(chr(949 - 901) + chr(111) + '\x30', 8)]) + 273.0)
if ztCwr6MUeq7n == nzTpIcepk0o8('\060' + '\x6f' + '\060', 8):
if cwMmVhWUM3ZC[nzTpIcepk0o8(chr(0b10 + 0o56) + '\x6f' + chr(980 - 931), 8)][nzTpIcepk0o8('\x30' + '\157' + chr(1253 - 1205), 8)] == roI3spqORKae(ES5oEprVxulp(b'\x8d'), chr(0b1100100) + chr(8699 - 8598) + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + chr(0b1100101))(chr(117) + chr(0b10000 + 0o144) + chr(102) + chr(45) + chr(56)):
nzoPdASmAqfI = roI3spqORKae(ES5oEprVxulp(b'\xf1O\x95RQ\xfe'), chr(5529 - 5429) + '\145' + '\x63' + chr(0b1101111) + chr(100) + chr(404 - 303))(chr(0b1110101) + '\x74' + chr(0b1100110) + chr(1029 - 984) + chr(0b110111 + 0o1))
else:
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xc9i\xddg\x08\xc9\x02X\xdb\x82!\x9b6@\xd5\xfa\xa8?'), '\x64' + chr(0b1100101) + chr(0b110111 + 0o54) + '\157' + '\x64' + '\145')('\165' + chr(0b1110100) + chr(4430 - 4328) + chr(0b101101) + '\070')] = roI3spqORKae(ES5oEprVxulp(b'\x98#\x965\x19'), chr(275 - 175) + chr(0b1100101) + chr(3448 - 3349) + chr(0b1101000 + 0o7) + chr(0b110011 + 0o61) + '\145')('\x75' + chr(0b1110100) + chr(102) + '\055' + chr(0b100110 + 0o22)) % _OaSP3sMznOY
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xc9i\xddg\x08\xc9\x02X\xdb\x82!\x9b6@\xd5\xfa\xa8?\x0e\x08\xf4>'), '\144' + chr(0b1011100 + 0o11) + chr(7294 - 7195) + chr(111) + '\144' + chr(0b1001 + 0o134))(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + '\x2d' + chr(67 - 11))] = roI3spqORKae(ES5oEprVxulp(b'\x98,\x967\x1a'), '\144' + chr(7417 - 7316) + '\143' + chr(0b1010100 + 0o33) + '\x64' + chr(0b1011011 + 0o12))('\165' + '\x74' + chr(0b1100110) + '\x2d' + chr(1687 - 1631)) % MUGp3g4tuXRY
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xc9i\xddg\x08\xc9\x02X\xdb\x82!\x9b6@\xd5\xfa\xa8?\x0e\x0c\xf42Ku'), '\144' + '\x65' + chr(0b111000 + 0o53) + '\157' + chr(100) + chr(0b1010010 + 0o23))('\x75' + '\164' + chr(3713 - 3611) + chr(0b101101) + '\070')] = roI3spqORKae(ES5oEprVxulp(b'\x98,\x967\x1a'), chr(100) + chr(0b1100101) + chr(99) + '\x6f' + chr(100) + chr(0b110000 + 0o65))(chr(0b1110101) + chr(0b1111 + 0o145) + chr(0b1100011 + 0o3) + '\055' + '\070') % ncDYK9LWVfBn
if cwMmVhWUM3ZC[nzTpIcepk0o8(chr(48) + chr(0b1101011 + 0o4) + '\061', 8)][nzTpIcepk0o8(chr(0b110000) + chr(0b11 + 0o154) + chr(0b110000), 8)] == roI3spqORKae(ES5oEprVxulp(b'\x8c'), '\144' + chr(0b1000 + 0o135) + '\x63' + chr(0b111011 + 0o64) + chr(0b100011 + 0o101) + '\x65')('\165' + '\164' + '\146' + '\055' + chr(0b111000)):
nzoPdASmAqfI = roI3spqORKae(ES5oEprVxulp(b'\xf1O\x95RQ\xed'), chr(100) + chr(101) + chr(0b1100011) + chr(0b100001 + 0o116) + chr(0b1100100) + chr(1760 - 1659))(chr(12444 - 12327) + chr(5227 - 5111) + '\146' + '\x2d' + '\070')
if cwMmVhWUM3ZC[nzTpIcepk0o8(chr(0b100110 + 0o12) + chr(0b110010 + 0o75) + chr(49), 8)][nzTpIcepk0o8(chr(0b1001 + 0o47) + chr(0b101110 + 0o101) + '\060', 8)] == roI3spqORKae(ES5oEprVxulp(b'\x8f'), chr(0b101111 + 0o65) + '\x65' + chr(3832 - 3733) + chr(0b1101 + 0o142) + '\144' + chr(7128 - 7027))(chr(0b1110010 + 0o3) + chr(0b110 + 0o156) + '\x66' + '\x2d' + chr(0b101111 + 0o11)):
nzoPdASmAqfI = roI3spqORKae(ES5oEprVxulp(b'\xf1O\x95V(\xf6*\x1b\xe6'), chr(100) + '\145' + '\143' + '\157' + chr(4252 - 4152) + chr(101))(chr(117) + chr(116) + chr(7445 - 7343) + chr(0b101101) + chr(56))
yLS7f7H75eq3 = nzTpIcepk0o8('\x30' + chr(4850 - 4739) + chr(0b110001), 8)
if cwMmVhWUM3ZC[nzTpIcepk0o8('\060' + '\x6f' + chr(0b110001), 8)][nzTpIcepk0o8(chr(48) + chr(0b1001101 + 0o42) + chr(0b110000), 8)] == roI3spqORKae(ES5oEprVxulp(b'\x8e'), '\x64' + '\x65' + chr(99) + chr(0b1101111) + chr(0b1100100) + '\145')(chr(0b1110101) + '\164' + chr(102) + chr(1365 - 1320) + '\x38'):
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xc9i\xddg\x08\xc9\x02X\xdb\x82!\x9b6@\xd5\xfa\xa8?'), chr(100) + chr(0b1100101) + chr(0b1100011) + '\157' + '\x64' + '\x65')(chr(117) + '\164' + chr(5611 - 5509) + '\055' + chr(56))] = roI3spqORKae(ES5oEprVxulp(b'\x8d'), chr(0b1100100) + chr(0b10100 + 0o121) + chr(0b100011 + 0o100) + chr(111) + chr(0b1100100) + chr(101))(chr(4637 - 4520) + chr(12277 - 12161) + '\146' + chr(0b101101) + chr(0b111000))
nzoPdASmAqfI = roI3spqORKae(ES5oEprVxulp(b'\xf1O\x95V(\xf6*\x1b\xe2\x99'), chr(0b1000100 + 0o40) + chr(101) + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(0b101011 + 0o72))(chr(0b1100011 + 0o22) + '\164' + chr(102) + chr(1554 - 1509) + chr(0b101010 + 0o16))
else:
nzoPdASmAqfI = roI3spqORKae(ES5oEprVxulp(b'\xf1O\x95RQ\xed'), chr(0b1100100) + chr(101) + chr(99) + chr(0b111 + 0o150) + '\144' + chr(4756 - 4655))(chr(0b1110101) + '\164' + chr(0b1100110) + chr(0b11010 + 0o23) + chr(2081 - 2025))
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xd0z\xdfo\x1f\xfb\nS\xdb\xb5*\x9c6E\xd3\xfb\xa1('), chr(9903 - 9803) + chr(101) + chr(99) + '\157' + chr(3960 - 3860) + chr(101))(chr(117) + '\x74' + chr(0b110101 + 0o61) + '\055' + chr(0b110100 + 0o4))] = nzoPdASmAqfI
roI3spqORKae(pat92IisfQkU, roI3spqORKae(ES5oEprVxulp(b'\xf5O\xeb2\x04\xc3 Y\xc5\xb2\x10\xcd'), chr(0b1001 + 0o133) + chr(101) + '\143' + chr(0b1101111) + chr(0b100011 + 0o101) + '\145')('\165' + chr(0b1110100) + chr(102) + chr(0b10001 + 0o34) + chr(0b111000)))(fGxDbmBdBlCw)
Lbq81gOBsX3w = hUcsWwAd0nE_.measurements_methods(pat92IisfQkU, NdBgRJDyurSB)
roI3spqORKae(hUcsWwAd0nE_, roI3spqORKae(ES5oEprVxulp(b'\xd0z\xdfo\x1f\xfb\x10D\xc6\xa9 '), chr(1187 - 1087) + chr(101) + chr(0b1100011) + chr(111) + chr(2597 - 2497) + chr(741 - 640))(chr(0b1000100 + 0o61) + chr(116) + chr(7377 - 7275) + '\x2d' + '\x38'))(rHPU8oONrR4n, Lbq81gOBsX3w, roI3spqORKae(ES5oEprVxulp(b'\xd0z\xdfo\x1f\xfb\nS\xce\xae0\x8a\x0cK\xd9\xf1\xb0('), chr(3211 - 3111) + chr(5385 - 5284) + '\x63' + '\157' + '\x64' + chr(0b1100101))('\x75' + chr(116) + chr(510 - 408) + chr(45) + '\x38'))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xcf~\xcbs\x10\xd0\x14\x16\xdf\xa81\xd8\x00H\x9c'), '\x64' + chr(101) + chr(0b110110 + 0o55) + chr(111) + '\144' + chr(101))('\165' + chr(1593 - 1477) + '\x66' + chr(0b101101) + chr(56)), rHPU8oONrR4n)
if ftfygxgFas5X(Z7ICPihkHtHA) > nzTpIcepk0o8('\060' + chr(0b1001000 + 0o47) + '\060', 8):
roI3spqORKae(hUcsWwAd0nE_, roI3spqORKae(ES5oEprVxulp(b'\xd0z\xdfo\x1f\xfb\x10D\xc6\xa9 '), chr(0b110100 + 0o60) + '\x65' + chr(99) + chr(111) + '\x64' + '\145')('\x75' + chr(0b111011 + 0o71) + '\146' + '\x2d' + '\070'))(LCmbVMeyipqX, Z7ICPihkHtHA, roI3spqORKae(ES5oEprVxulp(b'\xd8i\xe7u\x05\xca\x13^\xca\xa9,\x9b\x1a'), chr(0b11011 + 0o111) + '\x65' + '\143' + '\x6f' + chr(2959 - 2859) + '\145')(chr(0b1010111 + 0o36) + '\164' + '\146' + chr(976 - 931) + chr(0b11000 + 0o40)))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xceb\xd6r\x14\xc1\x13_\xcc\xaee\x88\x1cR\x9c\xf6\xaa{'), '\x64' + chr(0b111101 + 0o50) + chr(99) + chr(0b1101000 + 0o7) + '\144' + '\x65')('\x75' + chr(0b1110100) + chr(102) + chr(1098 - 1053) + chr(0b1101 + 0o53)), LCmbVMeyipqX)
return (nzTpIcepk0o8(chr(48) + '\x6f' + chr(49), 8), rHPU8oONrR4n)
|
PmagPy/PmagPy
|
programs/deprecated/odp_dsc_magic.py
|
main
|
def main():
"""
NAME
odp_dcs_magic.py
DESCRIPTION
converts ODP discrete sample format files to magic_measurements format files
SYNTAX
odp_dsc_magic.py [command line options]
OPTIONS
-h: prints the help message and quits.
-F FILE: specify output measurements file, default is magic_measurements.txt
-Fsp FILE: specify output er_specimens.txt file, default is er_specimens.txt
-Fsa FILE: specify output er_samples.txt file for appending, default is er_samples.txt
-Fsi FILE: specify output er_sites.txt file, default is er_sites.txt
-dc B PHI THETA: dc lab field (in micro tesla) and phi,theta, default is none
NB: use PHI, THETA = -1 -1 to signal that it changes, i.e. in anisotropy experiment
-ac B : peak AF field (in mT) for ARM acquisition, default is none
-A : don't average replicate measurements
INPUT
Put data from separate experiments (all AF, thermal, thellier, trm aquisition, Shaw, etc.) in separate directory
"""
#
#
version_num=pmag.get_version()
meas_file='magic_measurements.txt'
spec_file='er_specimens.txt'
samp_file='er_samples.txt'
site_file='er_sites.txt'
ErSpecs,ErSamps,ErSites,ErLocs,ErCits=[],[],[],[],[]
MagRecs=[]
citation="This study"
dir_path,demag='.','NRM'
args=sys.argv
noave=0
if '-WD' in args:
ind=args.index("-WD")
dir_path=args[ind+1]
if "-h" in args:
print(main.__doc__)
sys.exit()
if "-A" in args: noave=1
if '-F' in args:
ind=args.index("-F")
meas_file=args[ind+1]
if '-Fsp' in args:
ind=args.index("-Fsp")
spec_file=args[ind+1]
if '-Fsa' in args:
ind=args.index("-Fsa")
samp_file=dir_path+'/'+args[ind+1]
ErSamps,file_type=pmag.magic_read(samp_file)
else:
samp_file=dir_path+'/'+samp_file
if '-LP' in args:
ind=args.index("-LP")
codelist=args[ind+1]
codes=codelist.split(':')
if "AF" in codes:
demag='AF'
if'-dc' not in args: methcode="LT-AF-Z"
if'-dc' in args: methcode="LT-AF-I"
if "T" in codes:
demag="T"
if '-dc' not in args: methcode="LT-T-Z"
if '-dc' in args: methcode="LT-T-I"
if "I" in codes:
methcode="LP-IRM"
if "S" in codes:
demag="S"
methcode="LP-PI-TRM:LP-PI-ALT-AFARM"
trm_labfield=labfield
ans=input("DC lab field for ARM step: [50uT] ")
if ans=="":
arm_labfield=50e-6
else:
arm_labfield=float(ans)*1e-6
ans=input("temperature for total trm step: [600 C] ")
if ans=="":
trm_peakT=600+273 # convert to kelvin
else:
trm_peakT=float(ans)+273 # convert to kelvin
if "G" in codes: methcode="LT-AF-G"
if "D" in codes: methcode="LT-AF-D"
if "TRM" in codes:
demag="T"
trm=1
if demag=="T" and "ANI" in codes:
methcode="LP-AN-TRM"
if demag=="AF" and "ANI" in codes:
methcode="LP-AN-ARM"
if labfield==0: labfield=50e-6
if peakfield==0: peakfield=.180
spec_file=dir_path+'/'+spec_file
site_file=dir_path+'/'+site_file
meas_file=dir_path+'/'+meas_file
filelist=os.listdir(dir_path) # read in list of files to import
specimens,samples,sites=[],[],[]
MagRecs,SpecRecs,SampRecs=[],[],[]
for samp in ErSamps:
if samp['er_sample_name'] not in samples:
samples.append(samp['er_sample_name'])
SampRecs.append(samp)
for file in filelist: # parse each file
if file[-3:].lower()=='dsc':
print('processing: ',file)
MagRec,SpecRec,SampRec={},{},{}
treatment_type,treatment_value,user="","",""
inst="ODP-SRM"
input=open(dir_path+'/'+file,'r').readlines()
IDs=file.split('_') # splits on underscores
pieces=IDs[0].split('-')
expedition=pieces[0]
location=pieces[1]
if file[0]!='_':
while len(pieces[2])<4:pieces[2]='0'+pieces[2] # pad core to be 3 characters
specimen=""
else:
specimen="test"
for piece in pieces:
specimen=specimen+piece+'-'
specimen=specimen[:-1]
alt_spec=IDs[1] # alternate specimen is second field in field name
# set up specimen record for Er_specimens table
SpecRec['er_expedition_name']=expedition
SpecRec['er_location_name']=location
SpecRec['er_site_name']=specimen
SpecRec['er_sample_name']=specimen
SpecRec['er_citation_names']=citation
for key in list(SpecRec.keys()):SampRec[key]=SpecRec[key]
SampRec['sample_azimuth']='0'
SampRec['sample_dip']='0'
SampRec['magic_method_codes']='FS-C-DRILL-IODP:SP-SS-C:SO-V'
SpecRec['er_specimen_name']=specimen
SampRec['er_specimen_names']=specimen
for key in list(SpecRec.keys()):MagRec[key]=SpecRec[key]
# set up measurement record - default is NRM
MagRec['er_analyst_mail_names']=user
MagRec['magic_method_codes']='LT-NO'
MagRec['magic_software_packages']=version_num
MagRec["treatment_temp"]='%8.3e' % (273) # room temp in kelvin
MagRec["measurement_temp"]='%8.3e' % (273) # room temp in kelvin
MagRec["treatment_ac_field"]=0.
MagRec["treatment_dc_field"]='0'
MagRec["treatment_dc_field_phi"]='0'
MagRec["treatment_dc_field_theta"]='0'
MagRec["measurement_flag"]='g' # assume all data are "good"
MagRec["measurement_standard"]='u' # assume all data are "good"
MagRec["measurement_csd"]='' # set csd to blank
SpecRec['er_specimen_alternatives']=alt_spec
vol=7e-6 # assume 7 cc samples
datestamp=input[1].split() # date time is second line of file
mmddyy=datestamp[0].split('/') # break into month day year
date=mmddyy[2]+':'+mmddyy[0]+":"+mmddyy[1] +':' +datestamp[1]
MagRec["measurement_date"]=date
for k in range(len(input)):
fields= input[k].split("=")
if 'treatment_type' in fields[0]:
if "Alternating Frequency Demagnetization" in fields[1]:
MagRec['magic_method_codes'] = 'LT-AF-Z'
inst=inst+':ODP-DTECH' # measured on shipboard AF DTECH D2000
treatment_type="AF"
if "Anhysteretic Remanent Magnetization" in fields[1]:
MagRec['magic_method_codes'] = 'LT-AF-I'
inst=inst+':ODP-DTECH' # measured on shipboard AF DTECH D2000
treatment_type="ARM"
if "Isothermal Remanent Magnetization" in fields[1]:
MagRec['magic_method_codes'] = 'LT-IRM'
inst=inst+':ODP-IMP' # measured on shipboard ASC IMPULSE magnetizer
treatment_type="IRM"
if "treatment_value" in fields[0]:
values=fields[1].split(',')
value=values[0]
if value!=" \n":
if treatment_type=="AF":
treatment_value=float(value)*1e-3
MagRec["treatment_ac_field"]=treatment_value # AF demag in treat mT => T
elif treatment_type=="IRM":
treatment_value=float(value)*1e-3
MagRec["treatment_dc_field"]='%8.3e'%(treatment_value) # IRM treat mT => T
if treatment_type=="ARM":
treatment_value=float(value)*1e-3
dc_value=float(values[1])*1e-3
MagRec["treatment_ac_field"]=treatment_value # AF demag in treat mT => T
MagRec["treatment_dc_field"]='%8.3e'%(dc_value) # DC mT => T
if 'user' in fields[0]:
user=fields[-1]
MagRec["er_analyst_mail_names"]=user
if 'sample_orientation' in fields[0]:
MagRec["measurement_description"]=fields[-1]
MagRec["measurement_standard"]='u' # assume all data are "good"
if 'sample_area' in fields[0]: vol=float(fields[1])*1e-6 # takes volume (cc) and converts to m^3
if 'run_number' in fields[0]:
MagRec['external_database_ids']=fields[1] # run number is the LIMS measurement number
MagRec['external_database_names']='LIMS'
if input[k][0:7]=='<MULTI>':
rec=input[k+1].split(',') # list of data
for item in rec:
items=item.split('=')
if items[0].strip()=='demag_level' and treatment_value=="" :
treat= float(items[1])
if treat!=0:
MagRec['magic_method_codes']='LT-AF-Z'
inst=inst+':ODP-SRM-AF'
MagRec["treatment_ac_field"]=treat*1e-3 # AF demag in treat mT => T
if items[0].strip()=='inclination_w_tray_w_bkgrd': MagRec['measurement_inc']=items[1]
if items[0].strip()=='declination_w_tray_w_bkgrd': MagRec['measurement_dec']=items[1]
if items[0].strip()=='intensity_w_tray_w_bkgrd': MagRec['measurement_magn_moment']='%8.3e'%(float(items[1])*vol) # convert intensity from A/m to Am^2 using vol
if items[0].strip()=='x_stdev':MagRec['measurement_x_sd']=items[1]
if items[0].strip()=='y_stdev':MagRec['measurement_y_sd']=items[1]
if items[0].strip()=='z_stdev':MagRec['measurement_sd_z']=items[1]
MagRec['magic_instrument_codes']=inst
MagRec['measurement_number']='1'
MagRec['measurement_positions']=''
MagRecs.append(MagRec)
if specimen not in specimens:
specimens.append(specimen)
SpecRecs.append(SpecRec)
if MagRec['er_sample_name'] not in samples:
samples.append(MagRec['er_sample_name'])
SampRecs.append(SampRec)
MagOuts=pmag.sort_diclist(MagRecs,'treatment_ac_field')
for MagRec in MagOuts:
MagRec["treatment_ac_field"]='%8.3e'%(MagRec["treatment_ac_field"]) # convert to string
pmag.magic_write(spec_file,SpecRecs,'er_specimens')
if len(SampRecs)>0:
SampOut,keys=pmag.fillkeys(SampRecs)
pmag.magic_write(samp_file,SampOut,'er_samples')
print('samples stored in ',samp_file)
pmag.magic_write(samp_file,SampRecs,'er_samples')
print('specimens stored in ',spec_file)
Fixed=pmag.measurements_methods(MagOuts,noave)
pmag.magic_write(meas_file,Fixed,'magic_measurements')
print('data stored in ',meas_file)
|
python
|
def main():
"""
NAME
odp_dcs_magic.py
DESCRIPTION
converts ODP discrete sample format files to magic_measurements format files
SYNTAX
odp_dsc_magic.py [command line options]
OPTIONS
-h: prints the help message and quits.
-F FILE: specify output measurements file, default is magic_measurements.txt
-Fsp FILE: specify output er_specimens.txt file, default is er_specimens.txt
-Fsa FILE: specify output er_samples.txt file for appending, default is er_samples.txt
-Fsi FILE: specify output er_sites.txt file, default is er_sites.txt
-dc B PHI THETA: dc lab field (in micro tesla) and phi,theta, default is none
NB: use PHI, THETA = -1 -1 to signal that it changes, i.e. in anisotropy experiment
-ac B : peak AF field (in mT) for ARM acquisition, default is none
-A : don't average replicate measurements
INPUT
Put data from separate experiments (all AF, thermal, thellier, trm aquisition, Shaw, etc.) in separate directory
"""
#
#
version_num=pmag.get_version()
meas_file='magic_measurements.txt'
spec_file='er_specimens.txt'
samp_file='er_samples.txt'
site_file='er_sites.txt'
ErSpecs,ErSamps,ErSites,ErLocs,ErCits=[],[],[],[],[]
MagRecs=[]
citation="This study"
dir_path,demag='.','NRM'
args=sys.argv
noave=0
if '-WD' in args:
ind=args.index("-WD")
dir_path=args[ind+1]
if "-h" in args:
print(main.__doc__)
sys.exit()
if "-A" in args: noave=1
if '-F' in args:
ind=args.index("-F")
meas_file=args[ind+1]
if '-Fsp' in args:
ind=args.index("-Fsp")
spec_file=args[ind+1]
if '-Fsa' in args:
ind=args.index("-Fsa")
samp_file=dir_path+'/'+args[ind+1]
ErSamps,file_type=pmag.magic_read(samp_file)
else:
samp_file=dir_path+'/'+samp_file
if '-LP' in args:
ind=args.index("-LP")
codelist=args[ind+1]
codes=codelist.split(':')
if "AF" in codes:
demag='AF'
if'-dc' not in args: methcode="LT-AF-Z"
if'-dc' in args: methcode="LT-AF-I"
if "T" in codes:
demag="T"
if '-dc' not in args: methcode="LT-T-Z"
if '-dc' in args: methcode="LT-T-I"
if "I" in codes:
methcode="LP-IRM"
if "S" in codes:
demag="S"
methcode="LP-PI-TRM:LP-PI-ALT-AFARM"
trm_labfield=labfield
ans=input("DC lab field for ARM step: [50uT] ")
if ans=="":
arm_labfield=50e-6
else:
arm_labfield=float(ans)*1e-6
ans=input("temperature for total trm step: [600 C] ")
if ans=="":
trm_peakT=600+273 # convert to kelvin
else:
trm_peakT=float(ans)+273 # convert to kelvin
if "G" in codes: methcode="LT-AF-G"
if "D" in codes: methcode="LT-AF-D"
if "TRM" in codes:
demag="T"
trm=1
if demag=="T" and "ANI" in codes:
methcode="LP-AN-TRM"
if demag=="AF" and "ANI" in codes:
methcode="LP-AN-ARM"
if labfield==0: labfield=50e-6
if peakfield==0: peakfield=.180
spec_file=dir_path+'/'+spec_file
site_file=dir_path+'/'+site_file
meas_file=dir_path+'/'+meas_file
filelist=os.listdir(dir_path) # read in list of files to import
specimens,samples,sites=[],[],[]
MagRecs,SpecRecs,SampRecs=[],[],[]
for samp in ErSamps:
if samp['er_sample_name'] not in samples:
samples.append(samp['er_sample_name'])
SampRecs.append(samp)
for file in filelist: # parse each file
if file[-3:].lower()=='dsc':
print('processing: ',file)
MagRec,SpecRec,SampRec={},{},{}
treatment_type,treatment_value,user="","",""
inst="ODP-SRM"
input=open(dir_path+'/'+file,'r').readlines()
IDs=file.split('_') # splits on underscores
pieces=IDs[0].split('-')
expedition=pieces[0]
location=pieces[1]
if file[0]!='_':
while len(pieces[2])<4:pieces[2]='0'+pieces[2] # pad core to be 3 characters
specimen=""
else:
specimen="test"
for piece in pieces:
specimen=specimen+piece+'-'
specimen=specimen[:-1]
alt_spec=IDs[1] # alternate specimen is second field in field name
# set up specimen record for Er_specimens table
SpecRec['er_expedition_name']=expedition
SpecRec['er_location_name']=location
SpecRec['er_site_name']=specimen
SpecRec['er_sample_name']=specimen
SpecRec['er_citation_names']=citation
for key in list(SpecRec.keys()):SampRec[key]=SpecRec[key]
SampRec['sample_azimuth']='0'
SampRec['sample_dip']='0'
SampRec['magic_method_codes']='FS-C-DRILL-IODP:SP-SS-C:SO-V'
SpecRec['er_specimen_name']=specimen
SampRec['er_specimen_names']=specimen
for key in list(SpecRec.keys()):MagRec[key]=SpecRec[key]
# set up measurement record - default is NRM
MagRec['er_analyst_mail_names']=user
MagRec['magic_method_codes']='LT-NO'
MagRec['magic_software_packages']=version_num
MagRec["treatment_temp"]='%8.3e' % (273) # room temp in kelvin
MagRec["measurement_temp"]='%8.3e' % (273) # room temp in kelvin
MagRec["treatment_ac_field"]=0.
MagRec["treatment_dc_field"]='0'
MagRec["treatment_dc_field_phi"]='0'
MagRec["treatment_dc_field_theta"]='0'
MagRec["measurement_flag"]='g' # assume all data are "good"
MagRec["measurement_standard"]='u' # assume all data are "good"
MagRec["measurement_csd"]='' # set csd to blank
SpecRec['er_specimen_alternatives']=alt_spec
vol=7e-6 # assume 7 cc samples
datestamp=input[1].split() # date time is second line of file
mmddyy=datestamp[0].split('/') # break into month day year
date=mmddyy[2]+':'+mmddyy[0]+":"+mmddyy[1] +':' +datestamp[1]
MagRec["measurement_date"]=date
for k in range(len(input)):
fields= input[k].split("=")
if 'treatment_type' in fields[0]:
if "Alternating Frequency Demagnetization" in fields[1]:
MagRec['magic_method_codes'] = 'LT-AF-Z'
inst=inst+':ODP-DTECH' # measured on shipboard AF DTECH D2000
treatment_type="AF"
if "Anhysteretic Remanent Magnetization" in fields[1]:
MagRec['magic_method_codes'] = 'LT-AF-I'
inst=inst+':ODP-DTECH' # measured on shipboard AF DTECH D2000
treatment_type="ARM"
if "Isothermal Remanent Magnetization" in fields[1]:
MagRec['magic_method_codes'] = 'LT-IRM'
inst=inst+':ODP-IMP' # measured on shipboard ASC IMPULSE magnetizer
treatment_type="IRM"
if "treatment_value" in fields[0]:
values=fields[1].split(',')
value=values[0]
if value!=" \n":
if treatment_type=="AF":
treatment_value=float(value)*1e-3
MagRec["treatment_ac_field"]=treatment_value # AF demag in treat mT => T
elif treatment_type=="IRM":
treatment_value=float(value)*1e-3
MagRec["treatment_dc_field"]='%8.3e'%(treatment_value) # IRM treat mT => T
if treatment_type=="ARM":
treatment_value=float(value)*1e-3
dc_value=float(values[1])*1e-3
MagRec["treatment_ac_field"]=treatment_value # AF demag in treat mT => T
MagRec["treatment_dc_field"]='%8.3e'%(dc_value) # DC mT => T
if 'user' in fields[0]:
user=fields[-1]
MagRec["er_analyst_mail_names"]=user
if 'sample_orientation' in fields[0]:
MagRec["measurement_description"]=fields[-1]
MagRec["measurement_standard"]='u' # assume all data are "good"
if 'sample_area' in fields[0]: vol=float(fields[1])*1e-6 # takes volume (cc) and converts to m^3
if 'run_number' in fields[0]:
MagRec['external_database_ids']=fields[1] # run number is the LIMS measurement number
MagRec['external_database_names']='LIMS'
if input[k][0:7]=='<MULTI>':
rec=input[k+1].split(',') # list of data
for item in rec:
items=item.split('=')
if items[0].strip()=='demag_level' and treatment_value=="" :
treat= float(items[1])
if treat!=0:
MagRec['magic_method_codes']='LT-AF-Z'
inst=inst+':ODP-SRM-AF'
MagRec["treatment_ac_field"]=treat*1e-3 # AF demag in treat mT => T
if items[0].strip()=='inclination_w_tray_w_bkgrd': MagRec['measurement_inc']=items[1]
if items[0].strip()=='declination_w_tray_w_bkgrd': MagRec['measurement_dec']=items[1]
if items[0].strip()=='intensity_w_tray_w_bkgrd': MagRec['measurement_magn_moment']='%8.3e'%(float(items[1])*vol) # convert intensity from A/m to Am^2 using vol
if items[0].strip()=='x_stdev':MagRec['measurement_x_sd']=items[1]
if items[0].strip()=='y_stdev':MagRec['measurement_y_sd']=items[1]
if items[0].strip()=='z_stdev':MagRec['measurement_sd_z']=items[1]
MagRec['magic_instrument_codes']=inst
MagRec['measurement_number']='1'
MagRec['measurement_positions']=''
MagRecs.append(MagRec)
if specimen not in specimens:
specimens.append(specimen)
SpecRecs.append(SpecRec)
if MagRec['er_sample_name'] not in samples:
samples.append(MagRec['er_sample_name'])
SampRecs.append(SampRec)
MagOuts=pmag.sort_diclist(MagRecs,'treatment_ac_field')
for MagRec in MagOuts:
MagRec["treatment_ac_field"]='%8.3e'%(MagRec["treatment_ac_field"]) # convert to string
pmag.magic_write(spec_file,SpecRecs,'er_specimens')
if len(SampRecs)>0:
SampOut,keys=pmag.fillkeys(SampRecs)
pmag.magic_write(samp_file,SampOut,'er_samples')
print('samples stored in ',samp_file)
pmag.magic_write(samp_file,SampRecs,'er_samples')
print('specimens stored in ',spec_file)
Fixed=pmag.measurements_methods(MagOuts,noave)
pmag.magic_write(meas_file,Fixed,'magic_measurements')
print('data stored in ',meas_file)
|
[
"def",
"main",
"(",
")",
":",
"#",
"#",
"version_num",
"=",
"pmag",
".",
"get_version",
"(",
")",
"meas_file",
"=",
"'magic_measurements.txt'",
"spec_file",
"=",
"'er_specimens.txt'",
"samp_file",
"=",
"'er_samples.txt'",
"site_file",
"=",
"'er_sites.txt'",
"ErSpecs",
",",
"ErSamps",
",",
"ErSites",
",",
"ErLocs",
",",
"ErCits",
"=",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
"MagRecs",
"=",
"[",
"]",
"citation",
"=",
"\"This study\"",
"dir_path",
",",
"demag",
"=",
"'.'",
",",
"'NRM'",
"args",
"=",
"sys",
".",
"argv",
"noave",
"=",
"0",
"if",
"'-WD'",
"in",
"args",
":",
"ind",
"=",
"args",
".",
"index",
"(",
"\"-WD\"",
")",
"dir_path",
"=",
"args",
"[",
"ind",
"+",
"1",
"]",
"if",
"\"-h\"",
"in",
"args",
":",
"print",
"(",
"main",
".",
"__doc__",
")",
"sys",
".",
"exit",
"(",
")",
"if",
"\"-A\"",
"in",
"args",
":",
"noave",
"=",
"1",
"if",
"'-F'",
"in",
"args",
":",
"ind",
"=",
"args",
".",
"index",
"(",
"\"-F\"",
")",
"meas_file",
"=",
"args",
"[",
"ind",
"+",
"1",
"]",
"if",
"'-Fsp'",
"in",
"args",
":",
"ind",
"=",
"args",
".",
"index",
"(",
"\"-Fsp\"",
")",
"spec_file",
"=",
"args",
"[",
"ind",
"+",
"1",
"]",
"if",
"'-Fsa'",
"in",
"args",
":",
"ind",
"=",
"args",
".",
"index",
"(",
"\"-Fsa\"",
")",
"samp_file",
"=",
"dir_path",
"+",
"'/'",
"+",
"args",
"[",
"ind",
"+",
"1",
"]",
"ErSamps",
",",
"file_type",
"=",
"pmag",
".",
"magic_read",
"(",
"samp_file",
")",
"else",
":",
"samp_file",
"=",
"dir_path",
"+",
"'/'",
"+",
"samp_file",
"if",
"'-LP'",
"in",
"args",
":",
"ind",
"=",
"args",
".",
"index",
"(",
"\"-LP\"",
")",
"codelist",
"=",
"args",
"[",
"ind",
"+",
"1",
"]",
"codes",
"=",
"codelist",
".",
"split",
"(",
"':'",
")",
"if",
"\"AF\"",
"in",
"codes",
":",
"demag",
"=",
"'AF'",
"if",
"'-dc'",
"not",
"in",
"args",
":",
"methcode",
"=",
"\"LT-AF-Z\"",
"if",
"'-dc'",
"in",
"args",
":",
"methcode",
"=",
"\"LT-AF-I\"",
"if",
"\"T\"",
"in",
"codes",
":",
"demag",
"=",
"\"T\"",
"if",
"'-dc'",
"not",
"in",
"args",
":",
"methcode",
"=",
"\"LT-T-Z\"",
"if",
"'-dc'",
"in",
"args",
":",
"methcode",
"=",
"\"LT-T-I\"",
"if",
"\"I\"",
"in",
"codes",
":",
"methcode",
"=",
"\"LP-IRM\"",
"if",
"\"S\"",
"in",
"codes",
":",
"demag",
"=",
"\"S\"",
"methcode",
"=",
"\"LP-PI-TRM:LP-PI-ALT-AFARM\"",
"trm_labfield",
"=",
"labfield",
"ans",
"=",
"input",
"(",
"\"DC lab field for ARM step: [50uT] \"",
")",
"if",
"ans",
"==",
"\"\"",
":",
"arm_labfield",
"=",
"50e-6",
"else",
":",
"arm_labfield",
"=",
"float",
"(",
"ans",
")",
"*",
"1e-6",
"ans",
"=",
"input",
"(",
"\"temperature for total trm step: [600 C] \"",
")",
"if",
"ans",
"==",
"\"\"",
":",
"trm_peakT",
"=",
"600",
"+",
"273",
"# convert to kelvin",
"else",
":",
"trm_peakT",
"=",
"float",
"(",
"ans",
")",
"+",
"273",
"# convert to kelvin",
"if",
"\"G\"",
"in",
"codes",
":",
"methcode",
"=",
"\"LT-AF-G\"",
"if",
"\"D\"",
"in",
"codes",
":",
"methcode",
"=",
"\"LT-AF-D\"",
"if",
"\"TRM\"",
"in",
"codes",
":",
"demag",
"=",
"\"T\"",
"trm",
"=",
"1",
"if",
"demag",
"==",
"\"T\"",
"and",
"\"ANI\"",
"in",
"codes",
":",
"methcode",
"=",
"\"LP-AN-TRM\"",
"if",
"demag",
"==",
"\"AF\"",
"and",
"\"ANI\"",
"in",
"codes",
":",
"methcode",
"=",
"\"LP-AN-ARM\"",
"if",
"labfield",
"==",
"0",
":",
"labfield",
"=",
"50e-6",
"if",
"peakfield",
"==",
"0",
":",
"peakfield",
"=",
".180",
"spec_file",
"=",
"dir_path",
"+",
"'/'",
"+",
"spec_file",
"site_file",
"=",
"dir_path",
"+",
"'/'",
"+",
"site_file",
"meas_file",
"=",
"dir_path",
"+",
"'/'",
"+",
"meas_file",
"filelist",
"=",
"os",
".",
"listdir",
"(",
"dir_path",
")",
"# read in list of files to import",
"specimens",
",",
"samples",
",",
"sites",
"=",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
"MagRecs",
",",
"SpecRecs",
",",
"SampRecs",
"=",
"[",
"]",
",",
"[",
"]",
",",
"[",
"]",
"for",
"samp",
"in",
"ErSamps",
":",
"if",
"samp",
"[",
"'er_sample_name'",
"]",
"not",
"in",
"samples",
":",
"samples",
".",
"append",
"(",
"samp",
"[",
"'er_sample_name'",
"]",
")",
"SampRecs",
".",
"append",
"(",
"samp",
")",
"for",
"file",
"in",
"filelist",
":",
"# parse each file",
"if",
"file",
"[",
"-",
"3",
":",
"]",
".",
"lower",
"(",
")",
"==",
"'dsc'",
":",
"print",
"(",
"'processing: '",
",",
"file",
")",
"MagRec",
",",
"SpecRec",
",",
"SampRec",
"=",
"{",
"}",
",",
"{",
"}",
",",
"{",
"}",
"treatment_type",
",",
"treatment_value",
",",
"user",
"=",
"\"\"",
",",
"\"\"",
",",
"\"\"",
"inst",
"=",
"\"ODP-SRM\"",
"input",
"=",
"open",
"(",
"dir_path",
"+",
"'/'",
"+",
"file",
",",
"'r'",
")",
".",
"readlines",
"(",
")",
"IDs",
"=",
"file",
".",
"split",
"(",
"'_'",
")",
"# splits on underscores",
"pieces",
"=",
"IDs",
"[",
"0",
"]",
".",
"split",
"(",
"'-'",
")",
"expedition",
"=",
"pieces",
"[",
"0",
"]",
"location",
"=",
"pieces",
"[",
"1",
"]",
"if",
"file",
"[",
"0",
"]",
"!=",
"'_'",
":",
"while",
"len",
"(",
"pieces",
"[",
"2",
"]",
")",
"<",
"4",
":",
"pieces",
"[",
"2",
"]",
"=",
"'0'",
"+",
"pieces",
"[",
"2",
"]",
"# pad core to be 3 characters",
"specimen",
"=",
"\"\"",
"else",
":",
"specimen",
"=",
"\"test\"",
"for",
"piece",
"in",
"pieces",
":",
"specimen",
"=",
"specimen",
"+",
"piece",
"+",
"'-'",
"specimen",
"=",
"specimen",
"[",
":",
"-",
"1",
"]",
"alt_spec",
"=",
"IDs",
"[",
"1",
"]",
"# alternate specimen is second field in field name",
"# set up specimen record for Er_specimens table",
"SpecRec",
"[",
"'er_expedition_name'",
"]",
"=",
"expedition",
"SpecRec",
"[",
"'er_location_name'",
"]",
"=",
"location",
"SpecRec",
"[",
"'er_site_name'",
"]",
"=",
"specimen",
"SpecRec",
"[",
"'er_sample_name'",
"]",
"=",
"specimen",
"SpecRec",
"[",
"'er_citation_names'",
"]",
"=",
"citation",
"for",
"key",
"in",
"list",
"(",
"SpecRec",
".",
"keys",
"(",
")",
")",
":",
"SampRec",
"[",
"key",
"]",
"=",
"SpecRec",
"[",
"key",
"]",
"SampRec",
"[",
"'sample_azimuth'",
"]",
"=",
"'0'",
"SampRec",
"[",
"'sample_dip'",
"]",
"=",
"'0'",
"SampRec",
"[",
"'magic_method_codes'",
"]",
"=",
"'FS-C-DRILL-IODP:SP-SS-C:SO-V'",
"SpecRec",
"[",
"'er_specimen_name'",
"]",
"=",
"specimen",
"SampRec",
"[",
"'er_specimen_names'",
"]",
"=",
"specimen",
"for",
"key",
"in",
"list",
"(",
"SpecRec",
".",
"keys",
"(",
")",
")",
":",
"MagRec",
"[",
"key",
"]",
"=",
"SpecRec",
"[",
"key",
"]",
"# set up measurement record - default is NRM",
"MagRec",
"[",
"'er_analyst_mail_names'",
"]",
"=",
"user",
"MagRec",
"[",
"'magic_method_codes'",
"]",
"=",
"'LT-NO'",
"MagRec",
"[",
"'magic_software_packages'",
"]",
"=",
"version_num",
"MagRec",
"[",
"\"treatment_temp\"",
"]",
"=",
"'%8.3e'",
"%",
"(",
"273",
")",
"# room temp in kelvin",
"MagRec",
"[",
"\"measurement_temp\"",
"]",
"=",
"'%8.3e'",
"%",
"(",
"273",
")",
"# room temp in kelvin",
"MagRec",
"[",
"\"treatment_ac_field\"",
"]",
"=",
"0.",
"MagRec",
"[",
"\"treatment_dc_field\"",
"]",
"=",
"'0'",
"MagRec",
"[",
"\"treatment_dc_field_phi\"",
"]",
"=",
"'0'",
"MagRec",
"[",
"\"treatment_dc_field_theta\"",
"]",
"=",
"'0'",
"MagRec",
"[",
"\"measurement_flag\"",
"]",
"=",
"'g'",
"# assume all data are \"good\"",
"MagRec",
"[",
"\"measurement_standard\"",
"]",
"=",
"'u'",
"# assume all data are \"good\"",
"MagRec",
"[",
"\"measurement_csd\"",
"]",
"=",
"''",
"# set csd to blank",
"SpecRec",
"[",
"'er_specimen_alternatives'",
"]",
"=",
"alt_spec",
"vol",
"=",
"7e-6",
"# assume 7 cc samples",
"datestamp",
"=",
"input",
"[",
"1",
"]",
".",
"split",
"(",
")",
"# date time is second line of file",
"mmddyy",
"=",
"datestamp",
"[",
"0",
"]",
".",
"split",
"(",
"'/'",
")",
"# break into month day year",
"date",
"=",
"mmddyy",
"[",
"2",
"]",
"+",
"':'",
"+",
"mmddyy",
"[",
"0",
"]",
"+",
"\":\"",
"+",
"mmddyy",
"[",
"1",
"]",
"+",
"':'",
"+",
"datestamp",
"[",
"1",
"]",
"MagRec",
"[",
"\"measurement_date\"",
"]",
"=",
"date",
"for",
"k",
"in",
"range",
"(",
"len",
"(",
"input",
")",
")",
":",
"fields",
"=",
"input",
"[",
"k",
"]",
".",
"split",
"(",
"\"=\"",
")",
"if",
"'treatment_type'",
"in",
"fields",
"[",
"0",
"]",
":",
"if",
"\"Alternating Frequency Demagnetization\"",
"in",
"fields",
"[",
"1",
"]",
":",
"MagRec",
"[",
"'magic_method_codes'",
"]",
"=",
"'LT-AF-Z'",
"inst",
"=",
"inst",
"+",
"':ODP-DTECH'",
"# measured on shipboard AF DTECH D2000",
"treatment_type",
"=",
"\"AF\"",
"if",
"\"Anhysteretic Remanent Magnetization\"",
"in",
"fields",
"[",
"1",
"]",
":",
"MagRec",
"[",
"'magic_method_codes'",
"]",
"=",
"'LT-AF-I'",
"inst",
"=",
"inst",
"+",
"':ODP-DTECH'",
"# measured on shipboard AF DTECH D2000",
"treatment_type",
"=",
"\"ARM\"",
"if",
"\"Isothermal Remanent Magnetization\"",
"in",
"fields",
"[",
"1",
"]",
":",
"MagRec",
"[",
"'magic_method_codes'",
"]",
"=",
"'LT-IRM'",
"inst",
"=",
"inst",
"+",
"':ODP-IMP'",
"# measured on shipboard ASC IMPULSE magnetizer",
"treatment_type",
"=",
"\"IRM\"",
"if",
"\"treatment_value\"",
"in",
"fields",
"[",
"0",
"]",
":",
"values",
"=",
"fields",
"[",
"1",
"]",
".",
"split",
"(",
"','",
")",
"value",
"=",
"values",
"[",
"0",
"]",
"if",
"value",
"!=",
"\" \\n\"",
":",
"if",
"treatment_type",
"==",
"\"AF\"",
":",
"treatment_value",
"=",
"float",
"(",
"value",
")",
"*",
"1e-3",
"MagRec",
"[",
"\"treatment_ac_field\"",
"]",
"=",
"treatment_value",
"# AF demag in treat mT => T",
"elif",
"treatment_type",
"==",
"\"IRM\"",
":",
"treatment_value",
"=",
"float",
"(",
"value",
")",
"*",
"1e-3",
"MagRec",
"[",
"\"treatment_dc_field\"",
"]",
"=",
"'%8.3e'",
"%",
"(",
"treatment_value",
")",
"# IRM treat mT => T",
"if",
"treatment_type",
"==",
"\"ARM\"",
":",
"treatment_value",
"=",
"float",
"(",
"value",
")",
"*",
"1e-3",
"dc_value",
"=",
"float",
"(",
"values",
"[",
"1",
"]",
")",
"*",
"1e-3",
"MagRec",
"[",
"\"treatment_ac_field\"",
"]",
"=",
"treatment_value",
"# AF demag in treat mT => T",
"MagRec",
"[",
"\"treatment_dc_field\"",
"]",
"=",
"'%8.3e'",
"%",
"(",
"dc_value",
")",
"# DC mT => T",
"if",
"'user'",
"in",
"fields",
"[",
"0",
"]",
":",
"user",
"=",
"fields",
"[",
"-",
"1",
"]",
"MagRec",
"[",
"\"er_analyst_mail_names\"",
"]",
"=",
"user",
"if",
"'sample_orientation'",
"in",
"fields",
"[",
"0",
"]",
":",
"MagRec",
"[",
"\"measurement_description\"",
"]",
"=",
"fields",
"[",
"-",
"1",
"]",
"MagRec",
"[",
"\"measurement_standard\"",
"]",
"=",
"'u'",
"# assume all data are \"good\"",
"if",
"'sample_area'",
"in",
"fields",
"[",
"0",
"]",
":",
"vol",
"=",
"float",
"(",
"fields",
"[",
"1",
"]",
")",
"*",
"1e-6",
"# takes volume (cc) and converts to m^3",
"if",
"'run_number'",
"in",
"fields",
"[",
"0",
"]",
":",
"MagRec",
"[",
"'external_database_ids'",
"]",
"=",
"fields",
"[",
"1",
"]",
"# run number is the LIMS measurement number",
"MagRec",
"[",
"'external_database_names'",
"]",
"=",
"'LIMS'",
"if",
"input",
"[",
"k",
"]",
"[",
"0",
":",
"7",
"]",
"==",
"'<MULTI>'",
":",
"rec",
"=",
"input",
"[",
"k",
"+",
"1",
"]",
".",
"split",
"(",
"','",
")",
"# list of data",
"for",
"item",
"in",
"rec",
":",
"items",
"=",
"item",
".",
"split",
"(",
"'='",
")",
"if",
"items",
"[",
"0",
"]",
".",
"strip",
"(",
")",
"==",
"'demag_level'",
"and",
"treatment_value",
"==",
"\"\"",
":",
"treat",
"=",
"float",
"(",
"items",
"[",
"1",
"]",
")",
"if",
"treat",
"!=",
"0",
":",
"MagRec",
"[",
"'magic_method_codes'",
"]",
"=",
"'LT-AF-Z'",
"inst",
"=",
"inst",
"+",
"':ODP-SRM-AF'",
"MagRec",
"[",
"\"treatment_ac_field\"",
"]",
"=",
"treat",
"*",
"1e-3",
"# AF demag in treat mT => T",
"if",
"items",
"[",
"0",
"]",
".",
"strip",
"(",
")",
"==",
"'inclination_w_tray_w_bkgrd'",
":",
"MagRec",
"[",
"'measurement_inc'",
"]",
"=",
"items",
"[",
"1",
"]",
"if",
"items",
"[",
"0",
"]",
".",
"strip",
"(",
")",
"==",
"'declination_w_tray_w_bkgrd'",
":",
"MagRec",
"[",
"'measurement_dec'",
"]",
"=",
"items",
"[",
"1",
"]",
"if",
"items",
"[",
"0",
"]",
".",
"strip",
"(",
")",
"==",
"'intensity_w_tray_w_bkgrd'",
":",
"MagRec",
"[",
"'measurement_magn_moment'",
"]",
"=",
"'%8.3e'",
"%",
"(",
"float",
"(",
"items",
"[",
"1",
"]",
")",
"*",
"vol",
")",
"# convert intensity from A/m to Am^2 using vol",
"if",
"items",
"[",
"0",
"]",
".",
"strip",
"(",
")",
"==",
"'x_stdev'",
":",
"MagRec",
"[",
"'measurement_x_sd'",
"]",
"=",
"items",
"[",
"1",
"]",
"if",
"items",
"[",
"0",
"]",
".",
"strip",
"(",
")",
"==",
"'y_stdev'",
":",
"MagRec",
"[",
"'measurement_y_sd'",
"]",
"=",
"items",
"[",
"1",
"]",
"if",
"items",
"[",
"0",
"]",
".",
"strip",
"(",
")",
"==",
"'z_stdev'",
":",
"MagRec",
"[",
"'measurement_sd_z'",
"]",
"=",
"items",
"[",
"1",
"]",
"MagRec",
"[",
"'magic_instrument_codes'",
"]",
"=",
"inst",
"MagRec",
"[",
"'measurement_number'",
"]",
"=",
"'1'",
"MagRec",
"[",
"'measurement_positions'",
"]",
"=",
"''",
"MagRecs",
".",
"append",
"(",
"MagRec",
")",
"if",
"specimen",
"not",
"in",
"specimens",
":",
"specimens",
".",
"append",
"(",
"specimen",
")",
"SpecRecs",
".",
"append",
"(",
"SpecRec",
")",
"if",
"MagRec",
"[",
"'er_sample_name'",
"]",
"not",
"in",
"samples",
":",
"samples",
".",
"append",
"(",
"MagRec",
"[",
"'er_sample_name'",
"]",
")",
"SampRecs",
".",
"append",
"(",
"SampRec",
")",
"MagOuts",
"=",
"pmag",
".",
"sort_diclist",
"(",
"MagRecs",
",",
"'treatment_ac_field'",
")",
"for",
"MagRec",
"in",
"MagOuts",
":",
"MagRec",
"[",
"\"treatment_ac_field\"",
"]",
"=",
"'%8.3e'",
"%",
"(",
"MagRec",
"[",
"\"treatment_ac_field\"",
"]",
")",
"# convert to string",
"pmag",
".",
"magic_write",
"(",
"spec_file",
",",
"SpecRecs",
",",
"'er_specimens'",
")",
"if",
"len",
"(",
"SampRecs",
")",
">",
"0",
":",
"SampOut",
",",
"keys",
"=",
"pmag",
".",
"fillkeys",
"(",
"SampRecs",
")",
"pmag",
".",
"magic_write",
"(",
"samp_file",
",",
"SampOut",
",",
"'er_samples'",
")",
"print",
"(",
"'samples stored in '",
",",
"samp_file",
")",
"pmag",
".",
"magic_write",
"(",
"samp_file",
",",
"SampRecs",
",",
"'er_samples'",
")",
"print",
"(",
"'specimens stored in '",
",",
"spec_file",
")",
"Fixed",
"=",
"pmag",
".",
"measurements_methods",
"(",
"MagOuts",
",",
"noave",
")",
"pmag",
".",
"magic_write",
"(",
"meas_file",
",",
"Fixed",
",",
"'magic_measurements'",
")",
"print",
"(",
"'data stored in '",
",",
"meas_file",
")"
] |
NAME
odp_dcs_magic.py
DESCRIPTION
converts ODP discrete sample format files to magic_measurements format files
SYNTAX
odp_dsc_magic.py [command line options]
OPTIONS
-h: prints the help message and quits.
-F FILE: specify output measurements file, default is magic_measurements.txt
-Fsp FILE: specify output er_specimens.txt file, default is er_specimens.txt
-Fsa FILE: specify output er_samples.txt file for appending, default is er_samples.txt
-Fsi FILE: specify output er_sites.txt file, default is er_sites.txt
-dc B PHI THETA: dc lab field (in micro tesla) and phi,theta, default is none
NB: use PHI, THETA = -1 -1 to signal that it changes, i.e. in anisotropy experiment
-ac B : peak AF field (in mT) for ARM acquisition, default is none
-A : don't average replicate measurements
INPUT
Put data from separate experiments (all AF, thermal, thellier, trm aquisition, Shaw, etc.) in separate directory
|
[
"NAME",
"odp_dcs_magic",
".",
"py"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/programs/deprecated/odp_dsc_magic.py#L10-L247
|
train
|
This function is the main function for the magic_dcs_magic. py script. It is the main function for the magic_dcs_magic. py script.
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(0b100110 + 0o12) + chr(9811 - 9700) + '\062' + '\x31' + chr(0b10110 + 0o33), 0o10), nzTpIcepk0o8('\x30' + '\157' + chr(1642 - 1591) + chr(0b100111 + 0o20) + chr(1785 - 1737), 0o10), nzTpIcepk0o8(chr(48) + chr(6629 - 6518) + chr(2014 - 1965) + '\062' + '\x34', ord("\x08")), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(54) + chr(52), ord("\x08")), nzTpIcepk0o8(chr(0b1110 + 0o42) + '\157' + '\x31' + chr(0b110110) + chr(0b100110 + 0o14), ord("\x08")), nzTpIcepk0o8(chr(579 - 531) + chr(4651 - 4540) + '\x31' + '\065' + chr(0b111 + 0o52), ord("\x08")), nzTpIcepk0o8(chr(579 - 531) + chr(111) + '\x32' + '\062' + chr(0b1111 + 0o50), ord("\x08")), nzTpIcepk0o8('\060' + '\157' + chr(0b110010) + chr(0b110111), 0o10), nzTpIcepk0o8('\060' + '\157' + chr(0b101010 + 0o11) + chr(0b110110) + chr(1076 - 1028), 0b1000), nzTpIcepk0o8(chr(0b11 + 0o55) + chr(0b101111 + 0o100) + '\066' + chr(55), 0o10), nzTpIcepk0o8(chr(0b11001 + 0o27) + '\157' + '\x32' + '\061' + chr(0b110100 + 0o0), 0b1000), nzTpIcepk0o8('\x30' + '\157' + '\x31' + chr(49) + '\x35', 0o10), nzTpIcepk0o8('\060' + chr(0b1011001 + 0o26) + chr(0b110010) + chr(0b110100) + chr(0b110000), ord("\x08")), nzTpIcepk0o8('\060' + '\157' + chr(1713 - 1664) + '\x34', 0b1000), nzTpIcepk0o8('\060' + '\157' + chr(757 - 708) + chr(0b110101) + chr(873 - 823), 58830 - 58822), nzTpIcepk0o8('\x30' + chr(111) + chr(0b11011 + 0o27) + '\064' + '\x30', 8), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b10110 + 0o33) + chr(347 - 295) + chr(0b110111), 0o10), nzTpIcepk0o8(chr(521 - 473) + chr(0b11000 + 0o127) + '\x34' + chr(0b10010 + 0o44), 53992 - 53984), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b11100 + 0o25) + '\060' + chr(49), ord("\x08")), nzTpIcepk0o8(chr(48) + '\x6f' + chr(759 - 705) + chr(0b110001), 0b1000), nzTpIcepk0o8(chr(48) + chr(111) + '\x32' + chr(0b101010 + 0o12) + chr(0b110110), 0o10), nzTpIcepk0o8(chr(0b101010 + 0o6) + chr(111) + '\065' + '\x35', 30492 - 30484), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x32' + '\x34' + chr(0b110100), ord("\x08")), nzTpIcepk0o8('\060' + '\x6f' + chr(55), 0o10), nzTpIcepk0o8('\060' + '\x6f' + '\x35' + '\x36', ord("\x08")), nzTpIcepk0o8(chr(0b10 + 0o56) + chr(0b110000 + 0o77) + '\064' + chr(2065 - 2012), ord("\x08")), nzTpIcepk0o8('\x30' + chr(0b1001101 + 0o42) + chr(55) + '\x30', 0b1000), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\063' + chr(964 - 912) + chr(0b10000 + 0o43), 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(111) + '\x33' + '\064' + '\066', 28882 - 28874), nzTpIcepk0o8(chr(48) + chr(10787 - 10676) + chr(51) + chr(49) + chr(0b110110), 37667 - 37659), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b1110 + 0o43) + '\060' + chr(0b101100 + 0o10), 0o10), nzTpIcepk0o8(chr(0b1110 + 0o42) + chr(0b110100 + 0o73) + chr(54) + chr(278 - 230), 50880 - 50872), nzTpIcepk0o8(chr(0b1001 + 0o47) + chr(0b1101111) + chr(0b11010 + 0o30) + chr(0b10 + 0o60) + chr(0b1011 + 0o54), 8), nzTpIcepk0o8('\x30' + '\x6f' + chr(50) + '\066', 40922 - 40914), nzTpIcepk0o8('\060' + chr(0b1101111) + '\061' + '\062' + chr(0b1011 + 0o52), 0o10), nzTpIcepk0o8('\x30' + chr(7997 - 7886) + chr(0b101101 + 0o4) + chr(52) + chr(0b101011 + 0o5), 60271 - 60263), nzTpIcepk0o8(chr(2163 - 2115) + chr(111) + '\063' + chr(0b110111) + chr(0b1 + 0o66), 0b1000), nzTpIcepk0o8(chr(48) + chr(111) + chr(619 - 569) + chr(0b1001 + 0o56) + chr(53), 20383 - 20375), nzTpIcepk0o8('\x30' + chr(1072 - 961) + '\061' + '\x35' + '\x37', 0o10), nzTpIcepk0o8(chr(48) + chr(111) + chr(1465 - 1415) + chr(0b110110) + chr(48), ord("\x08"))][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b110101) + chr(0b110000), ord("\x08"))] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\xa7'), chr(100) + '\145' + chr(99) + chr(3171 - 3060) + '\x64' + chr(0b10010 + 0o123))(chr(0b1101111 + 0o6) + chr(0b1110100) + chr(102) + '\x2d' + chr(2987 - 2931)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def BXHXH_QeD6rL():
uNg9Yeq376oN = hUcsWwAd0nE_.get_version()
rHPU8oONrR4n = roI3spqORKae(ES5oEprVxulp(b'\xe4\x993]\x116\xfar\x91D\xf9?\xc5a\x0f\xce\x13UoE\xdeY'), '\144' + chr(101) + chr(6385 - 6286) + '\x6f' + chr(9329 - 9229) + '\145')('\x75' + '\x74' + '\146' + chr(969 - 924) + chr(0b111000))
QJgeTIOanow9 = roI3spqORKae(ES5oEprVxulp(b'\xec\x8a\x0bG\x02\x0c\xf4~\x9dR\xe2>\x8ex\x12\xd4'), chr(2359 - 2259) + chr(0b110101 + 0o60) + chr(296 - 197) + '\157' + chr(7932 - 7832) + chr(0b1001101 + 0o30))(chr(0b1110101) + chr(0b1110100) + chr(102) + chr(0b101101) + '\070')
bqpTUs8apVqb = roI3spqORKae(ES5oEprVxulp(b'\xec\x8a\x0bG\x13\x04\xe7{\x95D\xa29\xd8x'), '\144' + '\x65' + chr(0b1100011) + chr(0b111110 + 0o61) + chr(100) + chr(0b110101 + 0o60))(chr(0b1110101) + chr(116) + chr(0b101101 + 0o71) + '\x2d' + chr(1585 - 1529))
OiNBbL9woeR5 = roI3spqORKae(ES5oEprVxulp(b'\xec\x8a\x0bG\x1b\x1d\xf2d\xdeC\xf49'), chr(0b1100100) + '\145' + '\143' + chr(0b1101111) + '\x64' + chr(1968 - 1867))(chr(0b1110101) + chr(0b11100 + 0o130) + chr(0b1100110) + chr(649 - 604) + chr(0b1 + 0o67))
(IPWYJkPchH9g, f9YF__twMi1G, AyzVmmsFDmAH, KBh6NhOo6NS0, mCTJcooWYxUF) = ([], [], [], [], [])
pat92IisfQkU = []
_NuwPUBWY7oy = roI3spqORKae(ES5oEprVxulp(b'\xdd\x90=GR\x1a\xe3b\x94N'), chr(4543 - 4443) + chr(101) + '\143' + chr(111) + chr(0b110000 + 0o64) + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + '\146' + chr(0b11 + 0o52) + '\x38')
(qjksZ7GK0xkJ, HsExji6d7tC1) = (roI3spqORKae(ES5oEprVxulp(b'\xa7'), '\x64' + chr(0b110010 + 0o63) + chr(0b1100011) + chr(0b1011010 + 0o25) + chr(0b1100100) + '\145')('\165' + chr(116) + chr(0b1100110) + chr(0b101101) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xc7\xaa\x19'), chr(0b1100100) + chr(4222 - 4121) + chr(8066 - 7967) + '\157' + '\x64' + chr(7698 - 7597))(chr(0b1110101) + chr(0b1110100) + '\x66' + '\x2d' + chr(56)))
eemPYp2vtTSr = bpyfpu4kTbwL.ajIDWyXMBa3b
NdBgRJDyurSB = nzTpIcepk0o8(chr(0b110000) + '\157' + '\x30', ord("\x08"))
if roI3spqORKae(ES5oEprVxulp(b'\xa4\xaf\x10'), chr(0b1100100) + chr(0b1001 + 0o134) + chr(0b1010 + 0o131) + '\x6f' + chr(0b1011101 + 0o7) + chr(9843 - 9742))(chr(117) + chr(0b1110100) + chr(102) + chr(204 - 159) + chr(0b111000)) in eemPYp2vtTSr:
w5vcgUzFN3bF = eemPYp2vtTSr.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\xa4\xaf\x10'), chr(8891 - 8791) + chr(0b1100101) + chr(8659 - 8560) + chr(0b11101 + 0o122) + chr(100) + '\145')('\165' + chr(0b1101110 + 0o6) + '\146' + '\055' + chr(56)))
qjksZ7GK0xkJ = eemPYp2vtTSr[w5vcgUzFN3bF + nzTpIcepk0o8(chr(48) + '\157' + chr(49), 34652 - 34644)]
if roI3spqORKae(ES5oEprVxulp(b'\xa4\x90'), '\144' + chr(0b110001 + 0o64) + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(8617 - 8516))(chr(0b1110101) + chr(0b1110100) + chr(102) + chr(0b110 + 0o47) + '\x38') in eemPYp2vtTSr:
v8jsMqaYV6U2(roI3spqORKae(BXHXH_QeD6rL, roI3spqORKae(ES5oEprVxulp(b'\xf0\x9e\x11Q\x038\xfeB\x9fF\xdb\x19'), chr(3787 - 3687) + chr(0b1011110 + 0o7) + chr(0b101110 + 0o65) + chr(0b101 + 0o152) + chr(0b1100100) + chr(0b1100101))('\165' + chr(9057 - 8941) + '\146' + '\055' + chr(56))))
roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\xd3\x8d&^\x11<\xdb&\x83D\xcdu'), chr(642 - 542) + chr(101) + chr(0b100000 + 0o103) + '\157' + chr(0b1100100) + '\x65')(chr(0b1111 + 0o146) + chr(11099 - 10983) + '\x66' + chr(1243 - 1198) + '\x38'))()
if roI3spqORKae(ES5oEprVxulp(b'\xa4\xb9'), chr(100) + '\145' + '\143' + chr(0b1100101 + 0o12) + '\x64' + chr(101))(chr(117) + chr(1339 - 1223) + '\x66' + '\x2d' + chr(56)) in eemPYp2vtTSr:
NdBgRJDyurSB = nzTpIcepk0o8(chr(0b110000) + chr(0b1101010 + 0o5) + chr(49), 8)
if roI3spqORKae(ES5oEprVxulp(b'\xa4\xbe'), chr(100) + '\x65' + chr(7171 - 7072) + '\157' + chr(0b1100100) + '\145')('\165' + chr(0b1101101 + 0o7) + chr(102) + '\x2d' + '\x38') in eemPYp2vtTSr:
w5vcgUzFN3bF = eemPYp2vtTSr.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\xa4\xbe'), chr(0b110110 + 0o56) + chr(101) + '\143' + chr(9207 - 9096) + '\x64' + '\145')(chr(117) + chr(0b11011 + 0o131) + chr(0b1100110) + chr(0b11000 + 0o25) + chr(0b110101 + 0o3)))
rHPU8oONrR4n = eemPYp2vtTSr[w5vcgUzFN3bF + nzTpIcepk0o8('\x30' + '\157' + chr(49), 8)]
if roI3spqORKae(ES5oEprVxulp(b"\xa4\xbe'D"), chr(0b1000 + 0o134) + chr(0b1100101) + chr(0b1100011) + chr(6394 - 6283) + chr(0b1100100) + chr(3218 - 3117))('\165' + chr(0b1110100) + chr(102) + '\055' + chr(56)) in eemPYp2vtTSr:
w5vcgUzFN3bF = eemPYp2vtTSr.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b"\xa4\xbe'D"), chr(0b1100100) + '\x65' + '\143' + '\x6f' + chr(0b1011111 + 0o5) + '\145')(chr(3621 - 3504) + chr(0b1110100) + '\146' + chr(0b110 + 0o47) + chr(0b1000 + 0o60)))
QJgeTIOanow9 = eemPYp2vtTSr[w5vcgUzFN3bF + nzTpIcepk0o8('\060' + chr(111) + '\x31', 8)]
if roI3spqORKae(ES5oEprVxulp(b"\xa4\xbe'U"), chr(100) + '\x65' + '\x63' + '\x6f' + chr(2089 - 1989) + chr(0b111100 + 0o51))(chr(4028 - 3911) + chr(116) + '\146' + chr(0b101101) + chr(2767 - 2711)) in eemPYp2vtTSr:
w5vcgUzFN3bF = eemPYp2vtTSr.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b"\xa4\xbe'U"), chr(0b1000010 + 0o42) + chr(0b1100101) + chr(99) + chr(111) + '\x64' + '\145')(chr(0b10 + 0o163) + chr(0b111110 + 0o66) + chr(8047 - 7945) + '\x2d' + chr(0b1011 + 0o55)))
bqpTUs8apVqb = qjksZ7GK0xkJ + roI3spqORKae(ES5oEprVxulp(b'\xa6'), '\x64' + chr(101) + '\143' + chr(0b1101111) + chr(7899 - 7799) + '\x65')(chr(0b110 + 0o157) + chr(0b1000101 + 0o57) + chr(0b101010 + 0o74) + '\x2d' + chr(0b111000)) + eemPYp2vtTSr[w5vcgUzFN3bF + nzTpIcepk0o8(chr(1101 - 1053) + '\157' + chr(0b1001 + 0o50), 8)]
(f9YF__twMi1G, mWsDpG3yRGLz) = hUcsWwAd0nE_.magic_read(bqpTUs8apVqb)
else:
bqpTUs8apVqb = qjksZ7GK0xkJ + roI3spqORKae(ES5oEprVxulp(b'\xa6'), chr(100) + '\x65' + chr(0b1000101 + 0o36) + '\x6f' + chr(5362 - 5262) + chr(6313 - 6212))(chr(11013 - 10896) + chr(2116 - 2000) + chr(0b1100110) + chr(0b101101) + chr(1338 - 1282)) + bqpTUs8apVqb
if roI3spqORKae(ES5oEprVxulp(b'\xa4\xb4\x04'), chr(0b1100100) + chr(0b1100101) + '\x63' + chr(0b1101111) + '\144' + '\145')(chr(0b1110101) + chr(0b1011110 + 0o26) + chr(2380 - 2278) + chr(793 - 748) + chr(56)) in eemPYp2vtTSr:
w5vcgUzFN3bF = eemPYp2vtTSr.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b'\xa4\xb4\x04'), chr(100) + chr(0b1100101) + '\143' + '\x6f' + chr(0b1100100) + chr(101))(chr(0b1110101) + '\164' + '\x66' + chr(0b101001 + 0o4) + chr(56)))
kSgdIN0MzqOp = eemPYp2vtTSr[w5vcgUzFN3bF + nzTpIcepk0o8(chr(1865 - 1817) + chr(9719 - 9608) + '\x31', 8)]
wXNZi6rDt0jg = kSgdIN0MzqOp.LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\xb3'), chr(0b1100100) + '\145' + chr(7332 - 7233) + '\157' + chr(0b1100100) + '\145')('\165' + chr(116) + '\146' + chr(0b100011 + 0o12) + '\070'))
if roI3spqORKae(ES5oEprVxulp(b'\xc8\xbe'), chr(6492 - 6392) + chr(0b110 + 0o137) + chr(0b1100011) + chr(8271 - 8160) + '\x64' + chr(0b101011 + 0o72))(chr(0b1110101) + chr(0b111101 + 0o67) + chr(102) + chr(1844 - 1799) + chr(56)) in wXNZi6rDt0jg:
HsExji6d7tC1 = roI3spqORKae(ES5oEprVxulp(b'\xc8\xbe'), '\144' + '\145' + chr(0b1001100 + 0o27) + chr(111) + chr(0b1011 + 0o131) + chr(101))(chr(0b1101011 + 0o12) + '\x74' + chr(0b111001 + 0o55) + chr(0b101101) + '\x38')
if roI3spqORKae(ES5oEprVxulp(b'\xa4\x9c7'), chr(0b1100100) + chr(6579 - 6478) + chr(0b1100011) + chr(0b10010 + 0o135) + chr(9065 - 8965) + chr(101))(chr(1498 - 1381) + chr(116) + chr(0b1100110) + '\055' + '\070') not in eemPYp2vtTSr:
fBsoIoeG_eRQ = roI3spqORKae(ES5oEprVxulp(b'\xc5\xacyu4D\xcd'), chr(8900 - 8800) + '\x65' + chr(6050 - 5951) + chr(0b110 + 0o151) + '\x64' + chr(101))('\165' + chr(0b1110100) + '\x66' + chr(1843 - 1798) + chr(1120 - 1064))
if roI3spqORKae(ES5oEprVxulp(b'\xa4\x9c7'), chr(9379 - 9279) + '\x65' + chr(0b1010111 + 0o14) + chr(111) + chr(0b1100100) + chr(101))(chr(13426 - 13309) + '\x74' + chr(102) + chr(45) + '\070') in eemPYp2vtTSr:
fBsoIoeG_eRQ = roI3spqORKae(ES5oEprVxulp(b'\xc5\xacyu4D\xde'), '\x64' + chr(7926 - 7825) + chr(0b1010001 + 0o22) + chr(111) + chr(0b111110 + 0o46) + '\x65')('\x75' + chr(0b110 + 0o156) + '\x66' + '\x2d' + chr(0b11 + 0o65))
if roI3spqORKae(ES5oEprVxulp(b'\xdd'), '\x64' + chr(0b100100 + 0o101) + chr(0b10111 + 0o114) + chr(0b1010100 + 0o33) + chr(4157 - 4057) + chr(101))('\x75' + '\x74' + chr(4185 - 4083) + chr(1086 - 1041) + chr(56)) in wXNZi6rDt0jg:
HsExji6d7tC1 = roI3spqORKae(ES5oEprVxulp(b'\xdd'), '\144' + chr(0b101011 + 0o72) + '\x63' + chr(721 - 610) + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + chr(0b1110100) + chr(102) + chr(1663 - 1618) + chr(56))
if roI3spqORKae(ES5oEprVxulp(b'\xa4\x9c7'), chr(100) + chr(0b1011 + 0o132) + chr(0b1100011) + '\x6f' + '\144' + chr(0b111100 + 0o51))(chr(117) + '\x74' + '\x66' + chr(45) + chr(433 - 377)) not in eemPYp2vtTSr:
fBsoIoeG_eRQ = roI3spqORKae(ES5oEprVxulp(b'\xc5\xacy`_3'), chr(0b1100100) + chr(0b1100101) + chr(0b1100011) + chr(0b1011010 + 0o25) + '\144' + chr(0b1100101))(chr(0b1011001 + 0o34) + chr(0b1110100) + chr(0b1100110) + chr(1376 - 1331) + '\070')
if roI3spqORKae(ES5oEprVxulp(b'\xa4\x9c7'), '\x64' + '\x65' + chr(0b1011111 + 0o4) + chr(111) + chr(100) + '\x65')(chr(0b11 + 0o162) + chr(8124 - 8008) + chr(102) + '\055' + chr(0b111000)) in eemPYp2vtTSr:
fBsoIoeG_eRQ = roI3spqORKae(ES5oEprVxulp(b'\xc5\xacy`_ '), chr(0b1100100) + chr(101) + chr(99) + chr(6764 - 6653) + '\144' + '\x65')('\165' + '\164' + chr(7935 - 7833) + chr(0b1000 + 0o45) + chr(0b111000))
if roI3spqORKae(ES5oEprVxulp(b'\xc0'), chr(100) + chr(1462 - 1361) + '\143' + '\x6f' + '\x64' + chr(0b1100101))(chr(0b111 + 0o156) + '\164' + chr(0b1100110) + chr(871 - 826) + '\070') in wXNZi6rDt0jg:
fBsoIoeG_eRQ = roI3spqORKae(ES5oEprVxulp(b'\xc5\xa8y} $'), '\144' + chr(0b10000 + 0o125) + chr(0b1100011) + chr(111) + '\x64' + chr(6000 - 5899))(chr(117) + chr(7445 - 7329) + chr(0b101 + 0o141) + chr(45) + chr(0b111000))
if roI3spqORKae(ES5oEprVxulp(b'\xda'), chr(0b101 + 0o137) + chr(0b1100101) + '\143' + '\157' + chr(0b1100100) + chr(9618 - 9517))('\165' + '\164' + '\146' + '\x2d' + '\x38') in wXNZi6rDt0jg:
HsExji6d7tC1 = roI3spqORKae(ES5oEprVxulp(b'\xda'), chr(0b1100100) + chr(3896 - 3795) + chr(0b1100011) + chr(6508 - 6397) + chr(0b1100100) + chr(0b11111 + 0o106))(chr(0b1110101) + chr(116) + '\146' + chr(0b101101) + '\070')
fBsoIoeG_eRQ = roI3spqORKae(ES5oEprVxulp(b'\xc5\xa8yd;D\xc3E\xbd\r\xc0\x1d\x8d\\#\x8d&j\x15\x1c\xe7k\xe5Uc'), chr(4711 - 4611) + chr(0b11110 + 0o107) + '\x63' + chr(0b1101111) + chr(100) + chr(0b1100101))(chr(0b1110101) + chr(6721 - 6605) + '\146' + '\055' + chr(0b111000))
cg2QU5q7Ixzo = _OaSP3sMznOY
CMfsDQitQrpd = QnTXOd5N96r1(roI3spqORKae(ES5oEprVxulp(b'\xcd\xbbtX\x13\x0b\xb7q\x99R\xe0)\x80j\x05\xd2Gg\x13|\x86^\xd0b^\x1f\x18\xb8\xd3\xfe1d\xca6'), '\x64' + chr(2607 - 2506) + '\143' + chr(0b1101111) + chr(0b1100100 + 0o0) + '\x65')(chr(4812 - 4695) + chr(0b1110100) + chr(0b1100110) + '\055' + chr(56)))
if CMfsDQitQrpd == roI3spqORKae(ES5oEprVxulp(b''), '\144' + '\x65' + chr(0b1110 + 0o125) + chr(111) + chr(1608 - 1508) + chr(0b1001100 + 0o31))(chr(1763 - 1646) + '\164' + chr(0b1010001 + 0o25) + chr(1414 - 1369) + chr(1033 - 977)):
ORW8J19YsL8H = 5e-05
else:
ORW8J19YsL8H = jLW6pRf2DSRk(CMfsDQitQrpd) * 1e-06
CMfsDQitQrpd = QnTXOd5N96r1(roI3spqORKae(ES5oEprVxulp(b'\xfd\x9d9D\x17\x1b\xf6c\x85E\xe9m\xc6c\x18\x80\x13I5P\xca\r\xd0uC\x05K\x97\x83\xbe~\x10\xcc eP\xdf\xfe2\x90'), '\x64' + '\x65' + chr(0b1100011) + '\x6f' + '\144' + chr(134 - 33))('\165' + '\x74' + '\x66' + chr(0b101101) + '\070'))
if CMfsDQitQrpd == roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(0b1100101) + chr(99) + '\x6f' + chr(100) + chr(101))('\165' + chr(0b111100 + 0o70) + chr(102) + chr(54 - 9) + chr(0b111000)):
drrqTaYV3rE7 = nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b1000 + 0o51) + chr(49) + chr(0b1011 + 0o50) + chr(0b110000), 0o10) + nzTpIcepk0o8(chr(0b100110 + 0o12) + chr(0b1101111) + '\064' + chr(0b110010) + chr(0b110001), 17264 - 17256)
else:
drrqTaYV3rE7 = jLW6pRf2DSRk(CMfsDQitQrpd) + nzTpIcepk0o8('\060' + '\x6f' + chr(1668 - 1616) + '\x32' + '\061', 8)
if roI3spqORKae(ES5oEprVxulp(b'\xce'), chr(0b1100100) + chr(101) + '\x63' + '\x6f' + chr(0b111110 + 0o46) + chr(0b10 + 0o143))(chr(117) + chr(0b100 + 0o160) + '\x66' + chr(0b101101) + chr(56)) in wXNZi6rDt0jg:
fBsoIoeG_eRQ = roI3spqORKae(ES5oEprVxulp(b'\xc5\xacyu4D\xd0'), chr(0b1100100) + chr(3610 - 3509) + '\143' + '\157' + '\144' + chr(0b1100101))(chr(0b11101 + 0o130) + '\x74' + chr(0b1100110) + '\x2d' + chr(1928 - 1872))
if roI3spqORKae(ES5oEprVxulp(b'\xcd'), chr(100) + chr(101) + '\x63' + '\157' + chr(832 - 732) + '\145')(chr(4299 - 4182) + '\x74' + chr(0b1100110) + '\x2d' + chr(0b11000 + 0o40)) in wXNZi6rDt0jg:
fBsoIoeG_eRQ = roI3spqORKae(ES5oEprVxulp(b'\xc5\xacyu4D\xd3'), chr(0b1100100) + chr(0b1100101) + '\143' + chr(0b110001 + 0o76) + chr(0b11011 + 0o111) + chr(101))('\165' + chr(0b1110100) + chr(0b1011101 + 0o11) + chr(0b10100 + 0o31) + chr(0b110110 + 0o2))
if roI3spqORKae(ES5oEprVxulp(b'\xdd\xaa\x19'), chr(556 - 456) + chr(7935 - 7834) + chr(0b1100011) + chr(0b1101111) + chr(100) + chr(0b11001 + 0o114))('\x75' + chr(5617 - 5501) + chr(6020 - 5918) + chr(45) + chr(0b111000)) in wXNZi6rDt0jg:
HsExji6d7tC1 = roI3spqORKae(ES5oEprVxulp(b'\xdd'), chr(1052 - 952) + chr(6046 - 5945) + chr(0b100011 + 0o100) + chr(8070 - 7959) + chr(100) + chr(0b1011 + 0o132))('\165' + chr(116) + '\146' + '\055' + '\070')
ztCwr6MUeq7n = nzTpIcepk0o8(chr(48) + chr(7383 - 7272) + chr(49), 8)
if HsExji6d7tC1 == roI3spqORKae(ES5oEprVxulp(b'\xdd'), '\x64' + '\145' + chr(1438 - 1339) + chr(0b1101111) + chr(0b1011110 + 0o6) + chr(0b100011 + 0o102))(chr(0b1110101) + chr(2516 - 2400) + chr(0b1100110) + '\055' + '\070') and roI3spqORKae(ES5oEprVxulp(b'\xc8\xb6\x1d'), chr(5954 - 5854) + '\x65' + chr(0b1100001 + 0o2) + '\x6f' + '\144' + '\x65')('\x75' + chr(0b1110100) + chr(0b1100110) + chr(0b11001 + 0o24) + '\070') in wXNZi6rDt0jg:
fBsoIoeG_eRQ = roI3spqORKae(ES5oEprVxulp(b'\xc5\xa8yu<D\xc3E\xbd'), chr(0b100 + 0o140) + '\x65' + chr(99) + chr(111) + chr(9832 - 9732) + chr(2903 - 2802))(chr(117) + chr(116) + '\146' + '\x2d' + chr(56))
if HsExji6d7tC1 == roI3spqORKae(ES5oEprVxulp(b'\xc8\xbe'), chr(100) + '\145' + chr(0b1100011) + '\x6f' + chr(0b100110 + 0o76) + chr(101))(chr(0b1110101) + '\x74' + chr(0b101010 + 0o74) + chr(762 - 717) + chr(1872 - 1816)) and roI3spqORKae(ES5oEprVxulp(b'\xc8\xb6\x1d'), chr(100) + chr(101) + '\x63' + chr(0b10100 + 0o133) + '\x64' + chr(0b1100101))(chr(6264 - 6147) + chr(0b111 + 0o155) + '\x66' + '\x2d' + chr(1674 - 1618)) in wXNZi6rDt0jg:
fBsoIoeG_eRQ = roI3spqORKae(ES5oEprVxulp(b'\xc5\xa8yu<D\xd6E\xbd'), chr(100) + chr(0b111010 + 0o53) + '\x63' + chr(9831 - 9720) + chr(0b100111 + 0o75) + chr(101))('\x75' + '\164' + chr(0b110 + 0o140) + chr(0b101101) + chr(1671 - 1615))
if _OaSP3sMznOY == nzTpIcepk0o8(chr(0b110000) + '\157' + chr(0b110000), 8):
_OaSP3sMznOY = 5e-05
if XrSglziO_kwd == nzTpIcepk0o8(chr(0b100 + 0o54) + '\x6f' + chr(0b110000), 8):
XrSglziO_kwd = 0.18
QJgeTIOanow9 = qjksZ7GK0xkJ + roI3spqORKae(ES5oEprVxulp(b'\xa6'), chr(100) + chr(101) + chr(99) + chr(2258 - 2147) + '\144' + chr(8673 - 8572))(chr(13358 - 13241) + '\x74' + '\146' + '\x2d' + chr(464 - 408)) + QJgeTIOanow9
OiNBbL9woeR5 = qjksZ7GK0xkJ + roI3spqORKae(ES5oEprVxulp(b'\xa6'), chr(100) + chr(0b1100101) + chr(0b1100011) + chr(111) + '\144' + '\x65')('\x75' + '\164' + chr(0b1100110) + '\055' + '\070') + OiNBbL9woeR5
rHPU8oONrR4n = qjksZ7GK0xkJ + roI3spqORKae(ES5oEprVxulp(b'\xa6'), chr(100) + '\145' + chr(99) + chr(0b100111 + 0o110) + '\x64' + chr(101))(chr(0b1110101) + '\164' + '\146' + '\x2d' + chr(56)) + rHPU8oONrR4n
sBaTQsuLTkQn = aHUqKstZLeS6.listdir(qjksZ7GK0xkJ)
(lkkkypP_QyDJ, BSbljhMZAGaC, SDKwNkUm3Omo) = ([], [], [])
(pat92IisfQkU, ats0aw_IRz86, Z4JD24rWWYSJ) = ([], [], [])
for NrOoJ8NdaX1V in f9YF__twMi1G:
if NrOoJ8NdaX1V[roI3spqORKae(ES5oEprVxulp(b'\xec\x8a\x0bG\x13\x04\xe7{\x95h\xe2,\xcdi'), chr(0b1000001 + 0o43) + '\145' + chr(0b1001101 + 0o26) + '\157' + '\144' + chr(7204 - 7103))(chr(0b1110101) + chr(116) + '\146' + '\x2d' + chr(0b1011 + 0o55))] not in BSbljhMZAGaC:
roI3spqORKae(BSbljhMZAGaC, roI3spqORKae(ES5oEprVxulp(b'\xc1\xac\x07\x00\n\x0e\xd0x\x9aX\xd9x'), chr(2827 - 2727) + chr(0b1111 + 0o126) + chr(99) + chr(0b1101111) + '\x64' + chr(0b1100101))(chr(0b1110101) + '\164' + '\x66' + chr(565 - 520) + '\070'))(NrOoJ8NdaX1V[roI3spqORKae(ES5oEprVxulp(b'\xec\x8a\x0bG\x13\x04\xe7{\x95h\xe2,\xcdi'), chr(100) + '\145' + chr(0b1100011) + chr(111) + chr(0b1011100 + 0o10) + chr(0b1100100 + 0o1))(chr(0b1110101) + chr(116) + '\x66' + chr(1281 - 1236) + '\x38')])
roI3spqORKae(Z4JD24rWWYSJ, roI3spqORKae(ES5oEprVxulp(b'\xc1\xac\x07\x00\n\x0e\xd0x\x9aX\xd9x'), chr(472 - 372) + '\x65' + chr(0b101000 + 0o73) + chr(8525 - 8414) + chr(791 - 691) + chr(101))(chr(0b111010 + 0o73) + chr(116) + chr(9215 - 9113) + chr(45) + chr(0b111000)))(NrOoJ8NdaX1V)
for GtsVUCYulgYX in sBaTQsuLTkQn:
if roI3spqORKae(GtsVUCYulgYX[-nzTpIcepk0o8(chr(48) + '\x6f' + chr(51), 0o10):], roI3spqORKae(ES5oEprVxulp(b'\xd1\x96lq<>\xdaM\x94~\xde9'), '\144' + '\x65' + chr(0b1100011) + '\157' + '\144' + chr(8687 - 8586))(chr(5999 - 5882) + chr(4765 - 4649) + chr(102) + chr(0b10011 + 0o32) + chr(1091 - 1035)))() == roI3spqORKae(ES5oEprVxulp(b'\xed\x8b7'), '\144' + '\x65' + chr(99) + '\157' + chr(0b100111 + 0o75) + chr(9130 - 9029))(chr(117) + chr(116) + chr(0b11110 + 0o110) + chr(0b11110 + 0o17) + chr(0b11110 + 0o32)):
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xf9\x8a;W\x17\x1a\xe4~\x9eP\xb6m'), chr(0b1100100) + chr(101) + '\x63' + chr(0b101011 + 0o104) + chr(100) + '\145')(chr(7129 - 7012) + chr(116) + chr(0b1100110) + chr(45) + chr(0b10001 + 0o47)), GtsVUCYulgYX)
(fGxDbmBdBlCw, BbqEDPeIt2aA, q9UHVMIWIQq0) = ({}, {}, {})
(W5qjSf200JlX, YDg5goHnvhaQ, E63X9RhwfuOn) = (roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(132 - 31) + chr(0b100110 + 0o75) + chr(111) + '\x64' + '\x65')('\165' + '\x74' + chr(0b1100110) + chr(0b101101) + chr(0b111000)), roI3spqORKae(ES5oEprVxulp(b''), chr(0b111001 + 0o53) + '\x65' + chr(2962 - 2863) + '\157' + '\144' + chr(2271 - 2170))(chr(0b1110101) + '\164' + '\x66' + chr(0b101 + 0o50) + chr(56)), roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(0b1110 + 0o127) + chr(99) + '\x6f' + chr(984 - 884) + chr(101))(chr(3027 - 2910) + chr(116) + '\146' + '\055' + '\070'))
wDEIk17vEWwT = roI3spqORKae(ES5oEprVxulp(b'\xc6\xbc\x04\x19!;\xda'), chr(0b1100100) + '\x65' + chr(0b1100011) + chr(111) + chr(8242 - 8142) + '\145')(chr(12982 - 12865) + '\x74' + chr(0b1100110) + chr(0b11010 + 0o23) + chr(0b111000))
QnTXOd5N96r1 = DnU3Rq9N5ala(qjksZ7GK0xkJ + roI3spqORKae(ES5oEprVxulp(b'\xa6'), chr(0b1100 + 0o130) + chr(0b1100101) + chr(0b1001110 + 0o25) + chr(111) + '\144' + chr(101))('\x75' + chr(10112 - 9996) + chr(102) + chr(45) + chr(0b110 + 0o62)) + GtsVUCYulgYX, roI3spqORKae(ES5oEprVxulp(b'\xfb'), '\144' + chr(0b10101 + 0o120) + chr(0b101010 + 0o71) + chr(3209 - 3098) + chr(100) + chr(9265 - 9164))('\x75' + '\x74' + chr(102) + chr(1051 - 1006) + chr(56))).TKmlmUjNQ4dY()
ejeeR9wMAFzX = GtsVUCYulgYX.LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\xd6'), chr(5328 - 5228) + chr(0b1000001 + 0o44) + chr(0b1100001 + 0o2) + '\157' + chr(0b1001001 + 0o33) + chr(0b1001011 + 0o32))('\165' + chr(116) + chr(6941 - 6839) + chr(1143 - 1098) + chr(0b101101 + 0o13)))
LryWPJVi_Nyj = ejeeR9wMAFzX[nzTpIcepk0o8(chr(0b110000) + chr(0b1001101 + 0o42) + '\060', 8)].LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\xa4'), chr(0b1100100) + '\x65' + chr(99) + chr(0b1010010 + 0o35) + '\x64' + chr(0b1100101))('\x75' + chr(116) + '\146' + chr(0b101101) + chr(2946 - 2890)))
JdPfmuIJYBFD = LryWPJVi_Nyj[nzTpIcepk0o8(chr(807 - 759) + chr(0b111100 + 0o63) + chr(0b110000), 8)]
y87dwGy_Qoj4 = LryWPJVi_Nyj[nzTpIcepk0o8(chr(0b10010 + 0o36) + chr(111) + chr(0b100001 + 0o20), 8)]
if GtsVUCYulgYX[nzTpIcepk0o8('\060' + chr(0b1101111) + chr(48), 8)] != roI3spqORKae(ES5oEprVxulp(b'\xd6'), chr(0b1001010 + 0o32) + chr(6923 - 6822) + chr(9145 - 9046) + chr(0b1101111) + '\x64' + '\x65')('\x75' + chr(0b1110100) + chr(102) + chr(45) + '\070'):
while ftfygxgFas5X(LryWPJVi_Nyj[nzTpIcepk0o8('\x30' + '\157' + chr(2133 - 2083), 0b1000)]) < nzTpIcepk0o8('\060' + chr(111) + chr(0b1011 + 0o51), ord("\x08")):
LryWPJVi_Nyj[nzTpIcepk0o8(chr(48) + chr(111) + chr(0b101 + 0o55), 8)] = roI3spqORKae(ES5oEprVxulp(b'\xb9'), chr(3415 - 3315) + chr(0b1000 + 0o135) + chr(0b111110 + 0o45) + '\157' + '\144' + '\145')('\x75' + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + '\x38') + LryWPJVi_Nyj[nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b110010), 8)]
EJPYhrC8WoVb = roI3spqORKae(ES5oEprVxulp(b''), '\x64' + chr(101) + chr(0b110110 + 0o55) + chr(0b1101111) + '\144' + chr(0b1000000 + 0o45))('\x75' + '\164' + chr(0b1000 + 0o136) + chr(0b0 + 0o55) + chr(56))
else:
EJPYhrC8WoVb = roI3spqORKae(ES5oEprVxulp(b"\xfd\x9d'@"), chr(5361 - 5261) + chr(0b1100101) + chr(99) + chr(12039 - 11928) + chr(100) + chr(5829 - 5728))(chr(0b1010111 + 0o36) + chr(0b1110100) + '\x66' + chr(0b1001 + 0o44) + chr(56))
for b4s7JJP5FDuk in LryWPJVi_Nyj:
EJPYhrC8WoVb = EJPYhrC8WoVb + b4s7JJP5FDuk + roI3spqORKae(ES5oEprVxulp(b'\xa4'), '\144' + '\x65' + chr(99) + '\x6f' + chr(0b1100100) + chr(101))('\x75' + '\164' + '\146' + chr(45) + chr(56))
EJPYhrC8WoVb = EJPYhrC8WoVb[:-nzTpIcepk0o8(chr(1560 - 1512) + chr(0b1101111) + chr(49), 8)]
hbydnopaIbDE = ejeeR9wMAFzX[nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b1 + 0o60), 8)]
BbqEDPeIt2aA[roI3spqORKae(ES5oEprVxulp(b'\xec\x8a\x0bQ\n\x19\xf2s\x99C\xe5"\xceS\x04\xc1\nC'), '\x64' + chr(101) + chr(3819 - 3720) + chr(0b1101111) + chr(100) + chr(0b100000 + 0o105))(chr(0b100000 + 0o125) + chr(10945 - 10829) + '\146' + '\x2d' + chr(2782 - 2726))] = JdPfmuIJYBFD
BbqEDPeIt2aA[roI3spqORKae(ES5oEprVxulp(b'\xec\x8a\x0bX\x1d\n\xf6c\x99X\xe2\x12\xcem\x07\xc5'), chr(100) + chr(2621 - 2520) + '\x63' + chr(0b10 + 0o155) + '\144' + '\x65')(chr(4496 - 4379) + chr(116) + '\x66' + chr(0b101101) + '\070')] = y87dwGy_Qoj4
BbqEDPeIt2aA[roI3spqORKae(ES5oEprVxulp(b'\xec\x8a\x0bG\x1b\x1d\xf2H\x9eV\xe1('), chr(0b11010 + 0o112) + chr(8260 - 8159) + '\143' + chr(0b1101111) + chr(6345 - 6245) + chr(101))(chr(0b10101 + 0o140) + '\x74' + '\146' + chr(0b101101) + chr(0b111000))] = EJPYhrC8WoVb
BbqEDPeIt2aA[roI3spqORKae(ES5oEprVxulp(b'\xec\x8a\x0bG\x13\x04\xe7{\x95h\xe2,\xcdi'), '\x64' + chr(101) + '\x63' + '\157' + chr(0b1100100) + '\x65')(chr(9052 - 8935) + '\x74' + '\146' + '\055' + chr(0b111000))] = EJPYhrC8WoVb
BbqEDPeIt2aA[roI3spqORKae(ES5oEprVxulp(b'\xec\x8a\x0bW\x1b\x1d\xf6c\x99X\xe2\x12\xcem\x07\xc5\x14'), chr(100) + chr(101) + '\143' + chr(0b1011110 + 0o21) + chr(100) + chr(3714 - 3613))(chr(1384 - 1267) + chr(0b1110100) + chr(1331 - 1229) + chr(0b101101) + chr(3096 - 3040))] = _NuwPUBWY7oy
for QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(BbqEDPeIt2aA, roI3spqORKae(ES5oEprVxulp(b'\xe2\x9d-G'), chr(0b1100100) + '\x65' + chr(0b1100011) + chr(8649 - 8538) + chr(0b1010110 + 0o16) + chr(0b110010 + 0o63))(chr(9019 - 8902) + chr(0b111 + 0o155) + chr(0b1000010 + 0o44) + chr(0b101101) + '\070'))()):
q9UHVMIWIQq0[QYodcsDtoGq7] = BbqEDPeIt2aA[QYodcsDtoGq7]
q9UHVMIWIQq0[roI3spqORKae(ES5oEprVxulp(b'\xfa\x999D\x1e\x0c\xc8v\x8a^\xe18\xd4d'), chr(100) + chr(0b1100101) + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + '\x65')('\x75' + '\164' + '\146' + chr(0b1111 + 0o36) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\xb9'), '\144' + chr(0b1100101) + chr(0b1100011) + '\157' + chr(4428 - 4328) + '\x65')(chr(117) + chr(0b1000011 + 0o61) + chr(0b1100110) + chr(45) + chr(56))
q9UHVMIWIQq0[roI3spqORKae(ES5oEprVxulp(b'\xfa\x999D\x1e\x0c\xc8s\x99G'), '\144' + '\145' + chr(0b1010111 + 0o14) + chr(0b1101111) + chr(4590 - 4490) + chr(3965 - 3864))(chr(117) + '\164' + chr(102) + chr(1427 - 1382) + chr(0b10101 + 0o43))] = roI3spqORKae(ES5oEprVxulp(b'\xb9'), chr(0b1010111 + 0o15) + chr(101) + chr(8972 - 8873) + chr(0b1101111) + chr(0b1100100) + chr(101))('\x75' + chr(0b1001100 + 0o50) + chr(9204 - 9102) + chr(0b101101) + chr(0b1010 + 0o56))
q9UHVMIWIQq0[roI3spqORKae(ES5oEprVxulp(b'\xe4\x993]\x116\xfar\x84_\xe3)\xffo\x05\xc4\x02U'), chr(100) + chr(101) + chr(99) + '\x6f' + chr(100) + chr(5155 - 5054))(chr(13146 - 13029) + '\164' + chr(0b100110 + 0o100) + '\055' + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\xcf\xabyw_-\xc5^\xbc{\xa1\x04\xefH:\x9a4vlb\xf5\x00\xe7=}j\x15\xb5'), chr(100) + '\145' + chr(1278 - 1179) + chr(111) + chr(0b1100001 + 0o3) + chr(9466 - 9365))('\165' + chr(0b1110100) + chr(102) + chr(1363 - 1318) + chr(458 - 402))
BbqEDPeIt2aA[roI3spqORKae(ES5oEprVxulp(b'\xec\x8a\x0bG\x02\x0c\xf4~\x9dR\xe2\x12\xcem\x07\xc5'), '\x64' + '\x65' + '\143' + chr(0b1101111) + '\144' + '\145')(chr(0b1110101) + '\164' + '\x66' + chr(555 - 510) + chr(56))] = EJPYhrC8WoVb
q9UHVMIWIQq0[roI3spqORKae(ES5oEprVxulp(b'\xec\x8a\x0bG\x02\x0c\xf4~\x9dR\xe2\x12\xcem\x07\xc5\x14'), '\144' + chr(101) + chr(0b1100011) + chr(10871 - 10760) + '\144' + chr(101))(chr(462 - 345) + '\x74' + '\x66' + '\055' + '\x38')] = EJPYhrC8WoVb
for QYodcsDtoGq7 in H4NoA26ON7iG(roI3spqORKae(BbqEDPeIt2aA, roI3spqORKae(ES5oEprVxulp(b'\xe2\x9d-G'), chr(0b1111 + 0o125) + chr(0b1001100 + 0o31) + '\x63' + '\157' + chr(0b1000 + 0o134) + chr(0b100010 + 0o103))('\165' + chr(10560 - 10444) + '\x66' + '\x2d' + chr(0b101000 + 0o20)))()):
fGxDbmBdBlCw[QYodcsDtoGq7] = BbqEDPeIt2aA[QYodcsDtoGq7]
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xec\x8a\x0bU\x1c\x08\xfbn\x83C\xd3 \xc1e\x06\xff\tG,T\xd5'), chr(0b1100100) + '\145' + chr(4326 - 4227) + '\157' + chr(0b1100100) + '\x65')(chr(9973 - 9856) + chr(116) + '\146' + '\x2d' + chr(0b101000 + 0o20))] = E63X9RhwfuOn
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe4\x993]\x116\xfar\x84_\xe3)\xffo\x05\xc4\x02U'), chr(100) + '\x65' + chr(0b1100011) + chr(111) + chr(100) + chr(0b100000 + 0o105))(chr(0b1110101) + chr(116) + '\146' + chr(1764 - 1719) + chr(0b100100 + 0o24))] = roI3spqORKae(ES5oEprVxulp(b'\xc5\xacyz='), chr(0b1100100) + '\145' + chr(1780 - 1681) + chr(0b100111 + 0o110) + chr(6460 - 6360) + chr(0b1100101))(chr(0b1001110 + 0o47) + chr(0b1101101 + 0o7) + chr(0b1011011 + 0o13) + chr(0b101101) + chr(0b110111 + 0o1))
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe4\x993]\x116\xe4x\x96C\xfb,\xd2i5\xd0\x06E*P\xc1H\xd7'), '\x64' + chr(0b111110 + 0o47) + chr(7367 - 7268) + chr(0b1101111) + chr(0b111011 + 0o51) + '\145')(chr(0b1110101) + chr(8594 - 8478) + '\146' + chr(45) + chr(2443 - 2387))] = uNg9Yeq376oN
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xfd\x8a1U\x06\x04\xf2y\x84h\xf8(\xcd|'), chr(0b1011010 + 0o12) + chr(0b1100101) + '\143' + chr(0b1101111) + chr(0b101110 + 0o66) + chr(0b110010 + 0o63))('\165' + '\164' + chr(0b10110 + 0o120) + '\x2d' + '\070')] = roI3spqORKae(ES5oEprVxulp(b'\xac\xc0z\x07\x17'), chr(0b1011 + 0o131) + chr(0b1100000 + 0o5) + chr(0b1100011) + '\157' + chr(100) + chr(101))('\x75' + '\164' + chr(0b1100110) + chr(0b101101) + chr(71 - 15)) % nzTpIcepk0o8(chr(0b0 + 0o60) + '\x6f' + chr(52) + '\x32' + chr(0b110001), 8)
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe4\x9d5G\x07\x1b\xf2z\x95Y\xf8\x12\xd4i\x07\xd0'), chr(0b110011 + 0o61) + chr(0b1001111 + 0o26) + chr(99) + chr(6540 - 6429) + chr(0b1100100) + chr(101))(chr(2026 - 1909) + '\x74' + chr(0b11000 + 0o116) + '\x2d' + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\xac\xc0z\x07\x17'), '\x64' + '\x65' + chr(0b110111 + 0o54) + chr(1132 - 1021) + chr(100) + chr(0b1100101))(chr(117) + '\164' + chr(0b1100110) + chr(0b101101) + chr(0b111000)) % nzTpIcepk0o8(chr(48) + chr(111) + chr(52) + chr(0b110010) + '\x31', 8)
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xfd\x8a1U\x06\x04\xf2y\x84h\xed.\xffj\x03\xc5\x0bB'), '\144' + chr(0b1100101) + '\x63' + '\x6f' + chr(0b1100100) + '\x65')(chr(0b1111 + 0o146) + chr(0b11110 + 0o126) + chr(0b1100110) + chr(0b101101) + '\070')] = 0.0
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xfd\x8a1U\x06\x04\xf2y\x84h\xe8.\xffj\x03\xc5\x0bB'), chr(100) + chr(1264 - 1163) + '\x63' + chr(0b1010011 + 0o34) + '\144' + '\145')(chr(117) + '\x74' + chr(5577 - 5475) + chr(0b1110 + 0o37) + chr(0b101 + 0o63))] = roI3spqORKae(ES5oEprVxulp(b'\xb9'), chr(9641 - 9541) + chr(0b1100101) + chr(0b1100011) + chr(0b110 + 0o151) + chr(0b1100100) + chr(2457 - 2356))(chr(0b10011 + 0o142) + '\x74' + chr(102) + '\055' + '\070')
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xfd\x8a1U\x06\x04\xf2y\x84h\xe8.\xffj\x03\xc5\x0bB\x1eA\xceD'), chr(0b1011 + 0o131) + chr(101) + '\143' + '\x6f' + chr(0b1100100) + '\x65')(chr(0b1110101) + chr(0b1000111 + 0o55) + chr(0b1100110) + chr(1284 - 1239) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\xb9'), '\x64' + chr(0b1010110 + 0o17) + chr(0b1100011) + chr(0b1101111) + '\144' + chr(0b101100 + 0o71))(chr(0b1110101) + chr(0b1010101 + 0o37) + chr(8410 - 8308) + '\x2d' + chr(0b10001 + 0o47))
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xfd\x8a1U\x06\x04\xf2y\x84h\xe8.\xffj\x03\xc5\x0bB\x1eE\xceH\xd0f'), chr(0b1001110 + 0o26) + chr(0b1100101) + chr(0b1100011) + chr(6700 - 6589) + chr(8365 - 8265) + '\x65')('\x75' + chr(0b1001 + 0o153) + '\146' + chr(0b1111 + 0o36) + chr(0b10011 + 0o45))] = roI3spqORKae(ES5oEprVxulp(b'\xb9'), chr(0b1111 + 0o125) + '\145' + chr(6895 - 6796) + chr(111) + '\x64' + '\x65')(chr(0b1011111 + 0o26) + chr(1475 - 1359) + chr(0b101000 + 0o76) + '\x2d' + chr(1852 - 1796))
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe4\x9d5G\x07\x1b\xf2z\x95Y\xf8\x12\xc6`\x0b\xc7'), chr(0b1100100) + chr(101) + chr(99) + chr(5685 - 5574) + '\144' + chr(0b1111 + 0o126))(chr(4946 - 4829) + chr(0b1110100) + chr(0b1100110) + chr(45) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\xee'), chr(1046 - 946) + chr(9339 - 9238) + chr(0b1100011) + '\157' + chr(100) + '\145')('\x75' + chr(0b1100010 + 0o22) + chr(102) + chr(0b10000 + 0o35) + '\x38')
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe4\x9d5G\x07\x1b\xf2z\x95Y\xf8\x12\xd3x\x0b\xce\x03G3U'), chr(0b1100100) + '\145' + chr(0b110111 + 0o54) + chr(0b1101111) + chr(0b1100100) + chr(3917 - 3816))(chr(9188 - 9071) + '\x74' + '\x66' + '\055' + chr(0b1001 + 0o57))] = roI3spqORKae(ES5oEprVxulp(b'\xfc'), '\144' + '\x65' + chr(99) + '\157' + chr(9680 - 9580) + chr(0b1010010 + 0o23))(chr(117) + chr(9910 - 9794) + chr(0b1100110) + '\x2d' + '\070')
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe4\x9d5G\x07\x1b\xf2z\x95Y\xf8\x12\xc3\x7f\x0e'), chr(100) + chr(101) + chr(2929 - 2830) + chr(2024 - 1913) + '\x64' + chr(7325 - 7224))(chr(958 - 841) + chr(9021 - 8905) + '\146' + chr(0b10 + 0o53) + chr(108 - 52))] = roI3spqORKae(ES5oEprVxulp(b''), chr(100) + chr(978 - 877) + '\143' + '\x6f' + chr(846 - 746) + chr(101))(chr(6647 - 6530) + chr(0b1000010 + 0o62) + '\146' + '\x2d' + chr(56))
BbqEDPeIt2aA[roI3spqORKae(ES5oEprVxulp(b'\xec\x8a\x0bG\x02\x0c\xf4~\x9dR\xe2\x12\xc1`\x1e\xc5\x15H E\xcf[\xc1t'), chr(0b1100100) + chr(0b100010 + 0o103) + chr(8057 - 7958) + '\157' + '\x64' + chr(0b100101 + 0o100))('\165' + '\164' + chr(0b1100110) + '\055' + '\x38')] = hbydnopaIbDE
RPCRorQZSDUy = 7e-06
b5DVgdlkehLp = QnTXOd5N96r1[nzTpIcepk0o8(chr(0b101110 + 0o2) + chr(0b1101111) + chr(49), 8)].LfRrQOxuDvnC()
MdcP3wX3arVj = b5DVgdlkehLp[nzTpIcepk0o8(chr(48) + chr(0b1011101 + 0o22) + chr(48), 8)].LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\xa6'), '\144' + '\145' + chr(2649 - 2550) + chr(0b1101111) + chr(0b1100100) + '\x65')(chr(13646 - 13529) + chr(13006 - 12890) + chr(9567 - 9465) + chr(1467 - 1422) + chr(0b111000)))
Q4ZiDCds3gUR = MdcP3wX3arVj[nzTpIcepk0o8(chr(0b110000) + chr(111) + '\x32', 8)] + roI3spqORKae(ES5oEprVxulp(b'\xb3'), chr(100) + chr(0b1100101) + chr(0b100111 + 0o74) + '\157' + '\144' + chr(7444 - 7343))(chr(0b11001 + 0o134) + '\x74' + chr(102) + chr(0b101101) + '\070') + MdcP3wX3arVj[nzTpIcepk0o8(chr(48) + '\157' + chr(0b110000), 8)] + roI3spqORKae(ES5oEprVxulp(b'\xb3'), '\x64' + chr(241 - 140) + chr(99) + chr(11052 - 10941) + '\144' + chr(0b1100101))(chr(0b1110101) + '\x74' + chr(0b1100110) + '\055' + chr(1716 - 1660)) + MdcP3wX3arVj[nzTpIcepk0o8('\x30' + '\157' + '\x31', 8)] + roI3spqORKae(ES5oEprVxulp(b'\xb3'), chr(0b1001011 + 0o31) + chr(0b1100101) + chr(0b1100011) + chr(0b1101111) + '\144' + chr(0b111101 + 0o50))('\165' + '\164' + chr(102) + chr(0b101101) + chr(0b111000)) + b5DVgdlkehLp[nzTpIcepk0o8(chr(723 - 675) + '\157' + chr(0b110001), 8)]
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe4\x9d5G\x07\x1b\xf2z\x95Y\xf8\x12\xc4m\x1e\xc5'), chr(4277 - 4177) + '\x65' + '\x63' + '\x6f' + chr(100) + '\145')(chr(117) + chr(4787 - 4671) + '\x66' + chr(0b11 + 0o52) + '\070')] = Q4ZiDCds3gUR
for B6UAF1zReOyJ in bbT2xIe5pzk7(ftfygxgFas5X(QnTXOd5N96r1)):
ZXDdzgbdtBfz = QnTXOd5N96r1[B6UAF1zReOyJ].LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\xb4'), '\144' + chr(0b111000 + 0o55) + chr(0b1000010 + 0o41) + chr(111) + chr(0b1100100) + chr(0b1010100 + 0o21))('\165' + '\x74' + '\146' + '\055' + '\x38'))
if roI3spqORKae(ES5oEprVxulp(b'\xfd\x8a1U\x06\x04\xf2y\x84h\xf84\xd0i'), '\x64' + chr(0b1100101) + chr(0b1100011) + chr(0b111111 + 0o60) + '\144' + chr(9727 - 9626))('\165' + chr(0b1011110 + 0o26) + chr(0b1100110) + chr(1347 - 1302) + '\x38') in ZXDdzgbdtBfz[nzTpIcepk0o8(chr(2290 - 2242) + '\x6f' + '\060', 8)]:
if roI3spqORKae(ES5oEprVxulp(b'\xc8\x94 Q\x00\x07\xf6c\x99Y\xebm\xe6~\x0f\xd1\x12C/R\xdf\r\xe0bCD_\x8d\x83\xba-J\xf6b<\x0f\x91'), '\x64' + chr(0b101100 + 0o71) + chr(0b1100011) + chr(5888 - 5777) + chr(0b100001 + 0o103) + '\x65')('\x75' + '\164' + '\146' + '\x2d' + '\070') in ZXDdzgbdtBfz[nzTpIcepk0o8('\060' + '\x6f' + chr(0b110001), 8)]:
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe4\x993]\x116\xfar\x84_\xe3)\xffo\x05\xc4\x02U'), chr(7598 - 7498) + chr(0b1000101 + 0o40) + chr(0b1010101 + 0o16) + chr(111) + chr(0b1100100) + '\x65')(chr(117) + chr(0b1001110 + 0o46) + '\146' + '\x2d' + chr(1181 - 1125))] = roI3spqORKae(ES5oEprVxulp(b'\xc5\xacyu4D\xcd'), chr(2599 - 2499) + chr(10128 - 10027) + chr(0b1011011 + 0o10) + chr(0b1101111) + chr(0b1100100) + chr(0b1100101))('\x75' + '\164' + chr(0b11110 + 0o110) + chr(108 - 63) + '\x38')
wDEIk17vEWwT = wDEIk17vEWwT + roI3spqORKae(ES5oEprVxulp(b'\xb3\xb7\x10d_-\xc3R\xb3\x7f'), '\144' + chr(0b1100101) + chr(0b1101 + 0o126) + '\157' + chr(596 - 496) + '\145')(chr(0b1011010 + 0o33) + chr(527 - 411) + chr(102) + chr(0b1001 + 0o44) + chr(0b111000))
W5qjSf200JlX = roI3spqORKae(ES5oEprVxulp(b'\xc8\xbe'), chr(1154 - 1054) + '\145' + '\x63' + chr(111) + chr(100) + chr(101))(chr(3367 - 3250) + '\x74' + '\x66' + '\x2d' + chr(1771 - 1715))
if roI3spqORKae(ES5oEprVxulp(b'\xc8\x96<M\x01\x1d\xf2e\x95C\xe5.\x80^\x0f\xcd\x06H$_\xd2\r\xe9fIK]\x97\x8f\xb4%D\xfey;'), chr(2062 - 1962) + chr(0b11111 + 0o106) + '\143' + '\157' + chr(0b1100100) + '\145')(chr(0b1110101) + chr(0b1110100) + chr(0b100010 + 0o104) + '\055' + chr(56)) in ZXDdzgbdtBfz[nzTpIcepk0o8('\x30' + '\157' + '\x31', 8)]:
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe4\x993]\x116\xfar\x84_\xe3)\xffo\x05\xc4\x02U'), chr(100) + '\145' + '\143' + '\157' + '\144' + '\145')(chr(0b1110101) + chr(833 - 717) + '\146' + chr(0b101101 + 0o0) + '\x38')] = roI3spqORKae(ES5oEprVxulp(b'\xc5\xacyu4D\xde'), '\x64' + chr(0b10010 + 0o123) + chr(2655 - 2556) + chr(0b100000 + 0o117) + chr(6460 - 6360) + chr(0b101011 + 0o72))(chr(0b1110101) + chr(9816 - 9700) + '\x66' + chr(0b11010 + 0o23) + chr(2993 - 2937))
wDEIk17vEWwT = wDEIk17vEWwT + roI3spqORKae(ES5oEprVxulp(b'\xb3\xb7\x10d_-\xc3R\xb3\x7f'), '\x64' + chr(0b1100101) + '\x63' + chr(0b101101 + 0o102) + chr(0b1100100) + chr(0b1100101))(chr(0b1011011 + 0o32) + chr(0b1101 + 0o147) + chr(0b1100110) + chr(45) + chr(56))
W5qjSf200JlX = roI3spqORKae(ES5oEprVxulp(b'\xc8\xaa\x19'), chr(0b1100100) + chr(10094 - 9993) + chr(0b100101 + 0o76) + '\157' + '\144' + chr(0b1100101))(chr(11510 - 11393) + '\164' + chr(356 - 254) + chr(0b101 + 0o50) + chr(0b100111 + 0o21))
if roI3spqORKae(ES5oEprVxulp(b'\xc0\x8b;@\x1a\x0c\xe5z\x91[\xac\x1f\xc5a\x0b\xce\x02H5\x11\xebL\xc3iKQQ\x99\x87\xba-_\xf9'), chr(100) + chr(101) + chr(99) + chr(111) + chr(1303 - 1203) + chr(101))(chr(13199 - 13082) + chr(116) + chr(8233 - 8131) + chr(0b100110 + 0o7) + chr(56)) in ZXDdzgbdtBfz[nzTpIcepk0o8(chr(48) + chr(2305 - 2194) + chr(1932 - 1883), 8)]:
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe4\x993]\x116\xfar\x84_\xe3)\xffo\x05\xc4\x02U'), chr(100) + chr(101) + chr(1310 - 1211) + chr(0b1000111 + 0o50) + chr(0b1100100) + chr(0b1100101))('\x75' + chr(116) + '\146' + chr(0b1100 + 0o41) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\xc5\xacy} $'), chr(0b1000111 + 0o35) + chr(7546 - 7445) + chr(3458 - 3359) + chr(0b1010 + 0o145) + chr(0b1100100) + chr(0b100101 + 0o100))(chr(117) + chr(0b1110100) + '\146' + chr(0b101101) + '\070')
wDEIk17vEWwT = wDEIk17vEWwT + roI3spqORKae(ES5oEprVxulp(b'\xb3\xb7\x10d_ \xdaG'), '\144' + '\145' + '\x63' + chr(111) + chr(0b1011001 + 0o13) + chr(0b1100101))(chr(4714 - 4597) + chr(116) + chr(8823 - 8721) + chr(0b10000 + 0o35) + '\070')
W5qjSf200JlX = roI3spqORKae(ES5oEprVxulp(b'\xc0\xaa\x19'), chr(6500 - 6400) + chr(2682 - 2581) + '\x63' + '\x6f' + chr(100) + '\x65')('\x75' + chr(0b1110 + 0o146) + chr(0b1010110 + 0o20) + '\x2d' + '\x38')
if roI3spqORKae(ES5oEprVxulp(b'\xfd\x8a1U\x06\x04\xf2y\x84h\xfa,\xccy\x0f'), chr(0b11001 + 0o113) + chr(0b1100100 + 0o1) + '\143' + chr(111) + chr(8490 - 8390) + '\x65')('\x75' + chr(9909 - 9793) + chr(1074 - 972) + chr(973 - 928) + chr(0b111000)) in ZXDdzgbdtBfz[nzTpIcepk0o8(chr(48) + chr(0b111000 + 0o67) + chr(48), 8)]:
CsodZJH6x9Tx = ZXDdzgbdtBfz[nzTpIcepk0o8('\060' + chr(0b1101111) + chr(49), 8)].LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\xa5'), '\144' + chr(101) + chr(942 - 843) + chr(1648 - 1537) + '\x64' + '\x65')(chr(117) + chr(12395 - 12279) + chr(0b1011 + 0o133) + chr(0b100101 + 0o10) + chr(56)))
uV9iBiw0y_Mp = CsodZJH6x9Tx[nzTpIcepk0o8(chr(48) + chr(0b101110 + 0o101) + '\060', 8)]
if uV9iBiw0y_Mp != roI3spqORKae(ES5oEprVxulp(b'\xa9\xf2'), chr(2974 - 2874) + '\145' + '\143' + '\x6f' + chr(0b0 + 0o144) + chr(101))('\x75' + '\164' + '\146' + chr(0b100111 + 0o6) + '\x38'):
if W5qjSf200JlX == roI3spqORKae(ES5oEprVxulp(b'\xc8\xbe'), chr(0b1010001 + 0o23) + chr(101) + chr(99) + chr(0b1100010 + 0o15) + chr(4636 - 4536) + chr(243 - 142))(chr(117) + chr(116) + '\x66' + chr(45) + chr(56)):
YDg5goHnvhaQ = jLW6pRf2DSRk(uV9iBiw0y_Mp) * 0.001
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xfd\x8a1U\x06\x04\xf2y\x84h\xed.\xffj\x03\xc5\x0bB'), chr(100) + chr(0b1001 + 0o134) + chr(5578 - 5479) + '\157' + chr(3035 - 2935) + '\x65')(chr(117) + '\x74' + chr(102) + chr(0b100011 + 0o12) + chr(56))] = YDg5goHnvhaQ
elif W5qjSf200JlX == roI3spqORKae(ES5oEprVxulp(b'\xc0\xaa\x19'), chr(100) + chr(2277 - 2176) + '\x63' + chr(111) + '\144' + chr(1941 - 1840))(chr(0b1100 + 0o151) + chr(0b1010010 + 0o42) + '\x66' + '\x2d' + chr(0b101011 + 0o15)):
YDg5goHnvhaQ = jLW6pRf2DSRk(uV9iBiw0y_Mp) * 0.001
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xfd\x8a1U\x06\x04\xf2y\x84h\xe8.\xffj\x03\xc5\x0bB'), '\x64' + chr(2666 - 2565) + chr(2959 - 2860) + '\x6f' + '\x64' + '\x65')('\x75' + chr(116) + chr(0b1100110) + '\x2d' + '\070')] = roI3spqORKae(ES5oEprVxulp(b'\xac\xc0z\x07\x17'), chr(3309 - 3209) + chr(1280 - 1179) + chr(1506 - 1407) + chr(0b1101111) + chr(0b11 + 0o141) + chr(0b1100101))(chr(0b1110101) + chr(0b110111 + 0o75) + chr(0b0 + 0o146) + chr(45) + '\070') % YDg5goHnvhaQ
if W5qjSf200JlX == roI3spqORKae(ES5oEprVxulp(b'\xc8\xaa\x19'), '\x64' + '\145' + '\x63' + chr(111) + chr(0b1100100) + '\145')('\x75' + '\x74' + '\x66' + '\055' + chr(0b111000)):
YDg5goHnvhaQ = jLW6pRf2DSRk(uV9iBiw0y_Mp) * 0.001
lxPSWNWiAedG = jLW6pRf2DSRk(CsodZJH6x9Tx[nzTpIcepk0o8(chr(48) + chr(0b1000100 + 0o53) + chr(0b110001), 8)]) * 0.001
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xfd\x8a1U\x06\x04\xf2y\x84h\xed.\xffj\x03\xc5\x0bB'), chr(0b10000 + 0o124) + chr(101) + '\x63' + '\x6f' + '\x64' + chr(3903 - 3802))(chr(0b1110101) + chr(0b1110100) + chr(0b101110 + 0o70) + '\055' + '\x38')] = YDg5goHnvhaQ
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xfd\x8a1U\x06\x04\xf2y\x84h\xe8.\xffj\x03\xc5\x0bB'), chr(0b1001100 + 0o30) + chr(0b1001001 + 0o34) + '\143' + chr(2678 - 2567) + chr(0b1100100) + chr(0b101010 + 0o73))(chr(2131 - 2014) + chr(0b1110100) + '\146' + chr(0b101010 + 0o3) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\xac\xc0z\x07\x17'), chr(0b101 + 0o137) + chr(0b11010 + 0o113) + chr(9087 - 8988) + chr(111) + chr(0b1000101 + 0o37) + '\145')(chr(0b1110101) + chr(116) + '\x66' + '\055' + chr(846 - 790)) % lxPSWNWiAedG
if roI3spqORKae(ES5oEprVxulp(b'\xfc\x8b1F'), '\144' + chr(0b1100101) + '\143' + '\157' + '\144' + chr(0b1100010 + 0o3))(chr(8683 - 8566) + chr(4357 - 4241) + chr(0b1010010 + 0o24) + chr(1538 - 1493) + chr(0b11001 + 0o37)) in ZXDdzgbdtBfz[nzTpIcepk0o8(chr(531 - 483) + chr(0b110010 + 0o75) + '\060', 8)]:
E63X9RhwfuOn = ZXDdzgbdtBfz[-nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(49), 8)]
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xec\x8a\x0bU\x1c\x08\xfbn\x83C\xd3 \xc1e\x06\xff\tG,T\xd5'), chr(100) + '\145' + chr(99) + chr(0b10 + 0o155) + '\x64' + chr(8359 - 8258))(chr(0b1001 + 0o154) + chr(116) + '\146' + chr(45) + chr(0b110000 + 0o10))] = E63X9RhwfuOn
if roI3spqORKae(ES5oEprVxulp(b'\xfa\x999D\x1e\x0c\xc8x\x82^\xe9#\xd4m\x1e\xc9\x08H'), '\x64' + '\145' + '\143' + chr(0b1101111) + chr(100) + chr(2642 - 2541))('\165' + '\x74' + chr(4561 - 4459) + '\055' + chr(56)) in ZXDdzgbdtBfz[nzTpIcepk0o8(chr(0b110 + 0o52) + chr(6358 - 6247) + chr(0b1111 + 0o41), 8)]:
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe4\x9d5G\x07\x1b\xf2z\x95Y\xf8\x12\xc4i\x19\xc3\x15O1E\xcfB\xca'), chr(0b111100 + 0o50) + chr(0b1100101) + '\143' + '\157' + chr(0b1100100) + chr(101))('\165' + chr(0b1011001 + 0o33) + chr(102) + '\055' + '\x38')] = ZXDdzgbdtBfz[-nzTpIcepk0o8(chr(551 - 503) + '\x6f' + chr(0b11010 + 0o27), 8)]
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe4\x9d5G\x07\x1b\xf2z\x95Y\xf8\x12\xd3x\x0b\xce\x03G3U'), '\x64' + chr(9406 - 9305) + '\143' + chr(0b1101111) + '\x64' + chr(0b1100101))(chr(0b1000 + 0o155) + chr(0b1110100) + chr(0b1100110) + chr(45) + chr(1617 - 1561))] = roI3spqORKae(ES5oEprVxulp(b'\xfc'), chr(0b1001000 + 0o34) + chr(101) + '\143' + chr(2896 - 2785) + chr(100) + chr(0b1100101))(chr(117) + '\x74' + '\146' + '\x2d' + '\x38')
if roI3spqORKae(ES5oEprVxulp(b'\xfa\x999D\x1e\x0c\xc8v\x82R\xed'), chr(0b1100100) + chr(0b10001 + 0o124) + chr(0b1100011) + chr(0b1101111) + '\x64' + chr(0b101001 + 0o74))(chr(6831 - 6714) + '\164' + '\x66' + chr(0b101101) + '\070') in ZXDdzgbdtBfz[nzTpIcepk0o8(chr(48) + chr(111) + chr(0b110000), 8)]:
RPCRorQZSDUy = jLW6pRf2DSRk(ZXDdzgbdtBfz[nzTpIcepk0o8('\060' + chr(0b111001 + 0o66) + chr(1554 - 1505), 8)]) * 1e-06
if roI3spqORKae(ES5oEprVxulp(b'\xfb\x8d:k\x1c\x1c\xfau\x95E'), chr(100) + chr(5926 - 5825) + chr(6218 - 6119) + chr(111) + '\x64' + '\x65')('\x75' + chr(0b1110100) + '\146' + chr(0b101101) + chr(85 - 29)) in ZXDdzgbdtBfz[nzTpIcepk0o8('\x30' + chr(111) + chr(48), 8)]:
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xec\x80 Q\x00\x07\xf6{\xafS\xed9\xc1n\x0b\xd3\x02y(U\xd5'), chr(0b1010010 + 0o22) + chr(4425 - 4324) + chr(5264 - 5165) + chr(0b1101111) + '\144' + chr(101))(chr(117) + chr(0b1010101 + 0o37) + chr(0b1000001 + 0o45) + '\x2d' + chr(56))] = ZXDdzgbdtBfz[nzTpIcepk0o8('\060' + '\157' + chr(864 - 815), 8)]
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xec\x80 Q\x00\x07\xf6{\xafS\xed9\xc1n\x0b\xd3\x02y/P\xcbH\xd7'), chr(100) + '\x65' + chr(99) + '\157' + '\x64' + '\x65')(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + '\055' + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b'\xc5\xb1\x19g'), '\x64' + '\x65' + '\x63' + '\x6f' + chr(0b1100100) + chr(101))('\x75' + '\164' + chr(0b1100110) + '\055' + chr(0b111000))
if QnTXOd5N96r1[B6UAF1zReOyJ][nzTpIcepk0o8('\x30' + chr(0b1101011 + 0o4) + chr(48), 8):nzTpIcepk0o8(chr(1880 - 1832) + '\x6f' + chr(55), 8)] == roI3spqORKae(ES5oEprVxulp(b'\xb5\xb5\x01x& \xa9'), '\x64' + '\145' + '\x63' + chr(6116 - 6005) + '\144' + '\145')(chr(0b100001 + 0o124) + chr(116) + chr(0b11 + 0o143) + '\055' + chr(0b101100 + 0o14)):
FKO_XxLfWbYt = QnTXOd5N96r1[B6UAF1zReOyJ + nzTpIcepk0o8('\060' + chr(111) + chr(0b110001), 8)].LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\xa5'), '\x64' + '\145' + chr(0b10001 + 0o122) + chr(111) + '\x64' + chr(5918 - 5817))(chr(0b111010 + 0o73) + chr(116) + chr(6361 - 6259) + '\x2d' + chr(56)))
for IZ1I2J8X1CQz in FKO_XxLfWbYt:
Y_nNEzH43vXi = IZ1I2J8X1CQz.LfRrQOxuDvnC(roI3spqORKae(ES5oEprVxulp(b'\xb4'), '\144' + chr(942 - 841) + '\x63' + chr(111) + chr(100) + chr(0b110111 + 0o56))(chr(0b1110101) + '\164' + '\146' + chr(98 - 53) + chr(1870 - 1814)))
if roI3spqORKae(Y_nNEzH43vXi[nzTpIcepk0o8(chr(48) + '\157' + chr(0b11101 + 0o23), 8)], roI3spqORKae(ES5oEprVxulp(b'\xe2\x9c\x1dp\x00\n\xe0M\xa4t\xffx'), chr(100) + chr(9924 - 9823) + chr(7610 - 7511) + chr(111) + chr(0b1100100) + chr(101))(chr(0b1001 + 0o154) + chr(4454 - 4338) + chr(0b111100 + 0o52) + '\055' + chr(0b111000)))() == roI3spqORKae(ES5oEprVxulp(b'\xed\x9d9U\x156\xfbr\x86R\xe0'), chr(100) + chr(0b1010001 + 0o24) + chr(6883 - 6784) + chr(7783 - 7672) + chr(0b1011001 + 0o13) + '\x65')('\165' + chr(116) + chr(2707 - 2605) + chr(217 - 172) + chr(0b110101 + 0o3)) and YDg5goHnvhaQ == roI3spqORKae(ES5oEprVxulp(b''), '\144' + chr(0b1011101 + 0o10) + chr(7226 - 7127) + '\x6f' + chr(3077 - 2977) + chr(9138 - 9037))(chr(9834 - 9717) + '\x74' + '\146' + '\x2d' + '\070'):
cwMmVhWUM3ZC = jLW6pRf2DSRk(Y_nNEzH43vXi[nzTpIcepk0o8(chr(0b1011 + 0o45) + '\x6f' + chr(0b110001), 8)])
if cwMmVhWUM3ZC != nzTpIcepk0o8('\060' + chr(0b1101111) + chr(2303 - 2255), 8):
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe4\x993]\x116\xfar\x84_\xe3)\xffo\x05\xc4\x02U'), chr(0b111 + 0o135) + chr(0b1100101) + '\x63' + chr(0b10001 + 0o136) + '\144' + '\145')(chr(117) + '\x74' + '\146' + '\x2d' + chr(56))] = roI3spqORKae(ES5oEprVxulp(b'\xc5\xacyu4D\xcd'), chr(0b1001010 + 0o32) + chr(101) + chr(99) + chr(111) + chr(1814 - 1714) + chr(101))('\165' + chr(2682 - 2566) + '\146' + chr(45) + '\x38')
wDEIk17vEWwT = wDEIk17vEWwT + roI3spqORKae(ES5oEprVxulp(b'\xb3\xb7\x10d_:\xc5Z\xddv\xca'), chr(0b1011011 + 0o11) + chr(0b1000101 + 0o40) + chr(0b1000100 + 0o37) + chr(10740 - 10629) + chr(100) + chr(0b1100101))('\x75' + chr(116) + chr(0b1100110) + chr(45) + '\070')
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xfd\x8a1U\x06\x04\xf2y\x84h\xed.\xffj\x03\xc5\x0bB'), chr(538 - 438) + '\145' + '\x63' + '\157' + chr(0b11111 + 0o105) + chr(5763 - 5662))(chr(0b110011 + 0o102) + '\x74' + chr(0b1000110 + 0o40) + chr(0b101010 + 0o3) + '\070')] = cwMmVhWUM3ZC * 0.001
if roI3spqORKae(Y_nNEzH43vXi[nzTpIcepk0o8(chr(0b110000) + chr(3911 - 3800) + chr(48), 8)], roI3spqORKae(ES5oEprVxulp(b'\xe2\x9c\x1dp\x00\n\xe0M\xa4t\xffx'), chr(100) + chr(0b1100101) + chr(0b1100010 + 0o1) + chr(111) + '\144' + '\x65')(chr(0b1110101) + chr(0b1110100) + chr(7550 - 7448) + chr(0b101101) + chr(1947 - 1891)))() == roI3spqORKae(ES5oEprVxulp(b'\xe0\x967X\x1b\x07\xf6c\x99X\xe2\x12\xd7S\x1e\xd2\x06_\x1eF\xf9O\xcf`\\A'), chr(100) + '\x65' + '\143' + chr(111) + chr(100) + chr(0b1100101))(chr(3707 - 3590) + chr(10322 - 10206) + chr(713 - 611) + '\055' + '\x38'):
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe4\x9d5G\x07\x1b\xf2z\x95Y\xf8\x12\xc9b\t'), '\x64' + '\145' + chr(0b1100011) + chr(2701 - 2590) + '\x64' + '\145')(chr(0b1110101) + '\x74' + chr(102) + chr(1279 - 1234) + chr(0b111000))] = Y_nNEzH43vXi[nzTpIcepk0o8(chr(0b1000 + 0o50) + chr(111) + chr(49), 8)]
if roI3spqORKae(Y_nNEzH43vXi[nzTpIcepk0o8(chr(1375 - 1327) + chr(0b10111 + 0o130) + '\060', 8)], roI3spqORKae(ES5oEprVxulp(b'\xe2\x9c\x1dp\x00\n\xe0M\xa4t\xffx'), chr(0b1000010 + 0o42) + chr(0b11 + 0o142) + chr(0b1100011) + chr(111) + chr(0b11001 + 0o113) + '\145')(chr(117) + chr(0b1110100) + chr(0b11111 + 0o107) + chr(0b101101) + '\x38'))() == roI3spqORKae(ES5oEprVxulp(b'\xed\x9d7X\x1b\x07\xf6c\x99X\xe2\x12\xd7S\x1e\xd2\x06_\x1eF\xf9O\xcf`\\A'), '\144' + chr(0b1100101) + chr(99) + '\157' + '\144' + '\145')(chr(4371 - 4254) + chr(0b11011 + 0o131) + '\x66' + chr(45) + '\070'):
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe4\x9d5G\x07\x1b\xf2z\x95Y\xf8\x12\xc4i\t'), chr(100) + chr(0b10101 + 0o120) + chr(99) + '\x6f' + '\x64' + chr(8673 - 8572))('\x75' + '\x74' + chr(102) + '\055' + chr(0b101 + 0o63))] = Y_nNEzH43vXi[nzTpIcepk0o8(chr(0b11000 + 0o30) + chr(7007 - 6896) + chr(0b110001), 8)]
if roI3spqORKae(Y_nNEzH43vXi[nzTpIcepk0o8('\x30' + chr(0b1101111) + chr(1831 - 1783), 8)], roI3spqORKae(ES5oEprVxulp(b'\xe2\x9c\x1dp\x00\n\xe0M\xa4t\xffx'), chr(0b101010 + 0o72) + '\145' + '\143' + chr(0b1100111 + 0o10) + chr(0b1100100) + '\145')(chr(0b1110101) + chr(11459 - 11343) + chr(10071 - 9969) + '\055' + chr(0b111000)))() == roI3spqORKae(ES5oEprVxulp(b'\xe0\x96 Q\x1c\x1a\xfec\x89h\xfb\x12\xd4~\x0b\xd98Q\x1eS\xcdJ\xd6c'), chr(6854 - 6754) + chr(0b1100101) + '\143' + chr(11804 - 11693) + chr(100) + chr(101))(chr(117) + chr(116) + chr(8996 - 8894) + chr(741 - 696) + '\x38'):
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe4\x9d5G\x07\x1b\xf2z\x95Y\xf8\x12\xcdm\r\xce8K.\\\xc3C\xd0'), chr(0b1100100) + '\145' + '\x63' + '\157' + chr(100) + chr(0b10011 + 0o122))('\165' + chr(0b111101 + 0o67) + chr(0b1100110) + '\x2d' + '\070')] = roI3spqORKae(ES5oEprVxulp(b'\xac\xc0z\x07\x17'), '\x64' + chr(0b11101 + 0o110) + '\143' + '\157' + chr(0b1100100) + '\145')(chr(0b1110101) + '\x74' + chr(0b1100110) + chr(0b101011 + 0o2) + chr(0b111000)) % (jLW6pRf2DSRk(Y_nNEzH43vXi[nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b110001), 8)]) * RPCRorQZSDUy)
if roI3spqORKae(Y_nNEzH43vXi[nzTpIcepk0o8(chr(1412 - 1364) + chr(111) + '\x30', 8)], roI3spqORKae(ES5oEprVxulp(b'\xe2\x9c\x1dp\x00\n\xe0M\xa4t\xffx'), chr(0b1011101 + 0o7) + chr(101) + chr(99) + '\157' + chr(0b1100100) + chr(101))(chr(0b1110101) + chr(0b1110100) + chr(102) + chr(221 - 176) + '\x38'))() == roI3spqORKae(ES5oEprVxulp(b"\xf1\xa7'@\x16\x0c\xe1"), chr(0b1100 + 0o130) + chr(101) + chr(0b1010100 + 0o17) + chr(3190 - 3079) + chr(0b1100100) + chr(0b1011100 + 0o11))('\x75' + chr(8728 - 8612) + chr(0b1100110) + chr(0b1100 + 0o41) + chr(56)):
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe4\x9d5G\x07\x1b\xf2z\x95Y\xf8\x12\xd8S\x19\xc4'), chr(0b1000001 + 0o43) + '\145' + chr(99) + chr(0b1011100 + 0o23) + '\x64' + chr(3265 - 3164))(chr(0b1110101) + chr(13032 - 12916) + chr(0b1100110) + chr(0b101101) + chr(0b101101 + 0o13))] = Y_nNEzH43vXi[nzTpIcepk0o8(chr(0b110000) + chr(2154 - 2043) + chr(0b1110 + 0o43), 8)]
if roI3spqORKae(Y_nNEzH43vXi[nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b110000), 8)], roI3spqORKae(ES5oEprVxulp(b'\xe2\x9c\x1dp\x00\n\xe0M\xa4t\xffx'), chr(0b1011001 + 0o13) + '\x65' + '\x63' + chr(111) + chr(100) + chr(0b111001 + 0o54))('\x75' + '\164' + chr(0b111100 + 0o52) + '\055' + chr(56)))() == roI3spqORKae(ES5oEprVxulp(b"\xf0\xa7'@\x16\x0c\xe1"), '\144' + chr(0b1100000 + 0o5) + chr(0b1100011) + chr(0b1101110 + 0o1) + chr(4977 - 4877) + '\x65')(chr(0b1110010 + 0o3) + chr(0b1110100) + '\146' + '\055' + chr(0b11111 + 0o31)):
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe4\x9d5G\x07\x1b\xf2z\x95Y\xf8\x12\xd9S\x19\xc4'), chr(3386 - 3286) + '\x65' + chr(0b1100011) + '\157' + '\x64' + chr(101))(chr(0b1110101) + '\164' + chr(10295 - 10193) + '\x2d' + chr(56))] = Y_nNEzH43vXi[nzTpIcepk0o8('\060' + chr(111) + '\061', 8)]
if roI3spqORKae(Y_nNEzH43vXi[nzTpIcepk0o8(chr(0b11110 + 0o22) + chr(0b1101111) + chr(48), 8)], roI3spqORKae(ES5oEprVxulp(b'\xe2\x9c\x1dp\x00\n\xe0M\xa4t\xffx'), chr(100) + chr(0b1100101) + '\x63' + chr(0b1101111) + chr(0b1100100) + chr(101))(chr(0b101111 + 0o106) + chr(0b1110100) + chr(0b1100110) + chr(0b100001 + 0o14) + chr(1769 - 1713)))() == roI3spqORKae(ES5oEprVxulp(b"\xf3\xa7'@\x16\x0c\xe1"), '\x64' + '\x65' + chr(5198 - 5099) + chr(0b1101111) + '\144' + chr(8517 - 8416))(chr(117) + chr(116) + chr(0b1100110) + '\x2d' + '\070'):
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe4\x9d5G\x07\x1b\xf2z\x95Y\xf8\x12\xd3h5\xda'), chr(3807 - 3707) + '\145' + '\143' + chr(0b1101111) + chr(100) + chr(101))('\x75' + chr(0b1011010 + 0o32) + '\x66' + '\x2d' + '\070')] = Y_nNEzH43vXi[nzTpIcepk0o8(chr(0b110000) + chr(111) + '\061', 8)]
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe4\x993]\x116\xfey\x83C\xfe8\xcdi\x04\xd48E.U\xc3^'), chr(0b1010011 + 0o21) + chr(0b1100101) + chr(0b1100011) + chr(0b1101111) + chr(100) + '\x65')('\x75' + '\x74' + '\146' + chr(0b101101) + '\070')] = wDEIk17vEWwT
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe4\x9d5G\x07\x1b\xf2z\x95Y\xf8\x12\xcey\x07\xc2\x02T'), chr(9586 - 9486) + chr(0b11110 + 0o107) + chr(99) + '\x6f' + chr(6955 - 6855) + chr(0b1011000 + 0o15))(chr(1536 - 1419) + chr(5374 - 5258) + chr(0b10001 + 0o125) + chr(1658 - 1613) + '\070')] = roI3spqORKae(ES5oEprVxulp(b'\xb8'), chr(100) + chr(1165 - 1064) + chr(2821 - 2722) + chr(111) + chr(0b110011 + 0o61) + chr(0b1100101))(chr(0b1110101) + chr(10348 - 10232) + chr(0b1100110) + '\055' + chr(0b111000))
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xe4\x9d5G\x07\x1b\xf2z\x95Y\xf8\x12\xd0c\x19\xc9\x13O._\xd5'), '\144' + chr(0b1100101) + chr(99) + '\157' + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + '\164' + chr(0b10 + 0o144) + chr(0b101101) + chr(0b111000))] = roI3spqORKae(ES5oEprVxulp(b''), chr(8821 - 8721) + '\145' + chr(0b1100011) + '\x6f' + chr(5596 - 5496) + '\145')(chr(0b1101110 + 0o7) + '\164' + chr(102) + '\x2d' + '\070')
roI3spqORKae(pat92IisfQkU, roI3spqORKae(ES5oEprVxulp(b'\xc1\xac\x07\x00\n\x0e\xd0x\x9aX\xd9x'), '\144' + chr(6602 - 6501) + '\143' + '\x6f' + chr(6543 - 6443) + chr(0b1100101))(chr(0b100100 + 0o121) + chr(4982 - 4866) + '\146' + chr(0b101101) + '\070'))(fGxDbmBdBlCw)
if EJPYhrC8WoVb not in lkkkypP_QyDJ:
roI3spqORKae(lkkkypP_QyDJ, roI3spqORKae(ES5oEprVxulp(b'\xc1\xac\x07\x00\n\x0e\xd0x\x9aX\xd9x'), chr(100) + chr(101) + chr(99) + chr(111) + chr(0b1100100) + '\x65')(chr(0b1110101) + chr(8416 - 8300) + chr(0b0 + 0o146) + '\055' + '\070'))(EJPYhrC8WoVb)
roI3spqORKae(ats0aw_IRz86, roI3spqORKae(ES5oEprVxulp(b'\xc1\xac\x07\x00\n\x0e\xd0x\x9aX\xd9x'), chr(100) + chr(101) + chr(0b1010101 + 0o16) + '\157' + chr(6247 - 6147) + chr(0b1100101))(chr(8551 - 8434) + '\164' + chr(0b100001 + 0o105) + chr(0b11100 + 0o21) + '\070'))(BbqEDPeIt2aA)
if fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xec\x8a\x0bG\x13\x04\xe7{\x95h\xe2,\xcdi'), '\144' + chr(0b1000 + 0o135) + chr(0b1011001 + 0o12) + chr(111) + chr(0b1100100) + '\x65')(chr(117) + '\164' + chr(0b110101 + 0o61) + chr(0b101101) + chr(56))] not in BSbljhMZAGaC:
roI3spqORKae(BSbljhMZAGaC, roI3spqORKae(ES5oEprVxulp(b'\xc1\xac\x07\x00\n\x0e\xd0x\x9aX\xd9x'), chr(0b1100100) + '\x65' + chr(0b1100011) + chr(0b1101111) + chr(0b1100100) + chr(0b1100101))(chr(0b1010000 + 0o45) + '\164' + chr(0b1100110) + chr(0b11111 + 0o16) + chr(0b10001 + 0o47)))(fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xec\x8a\x0bG\x13\x04\xe7{\x95h\xe2,\xcdi'), chr(6452 - 6352) + chr(0b1011 + 0o132) + chr(0b1100011) + '\157' + '\144' + chr(6696 - 6595))(chr(10331 - 10214) + chr(0b1101101 + 0o7) + chr(0b1100110) + '\x2d' + '\070')])
roI3spqORKae(Z4JD24rWWYSJ, roI3spqORKae(ES5oEprVxulp(b'\xc1\xac\x07\x00\n\x0e\xd0x\x9aX\xd9x'), chr(100) + chr(101) + chr(0b1100011) + chr(0b1101111) + '\144' + '\145')(chr(117) + chr(9771 - 9655) + chr(102) + '\055' + chr(0b1001 + 0o57)))(q9UHVMIWIQq0)
Lbq81gOBsX3w = hUcsWwAd0nE_.sort_diclist(pat92IisfQkU, roI3spqORKae(ES5oEprVxulp(b'\xfd\x8a1U\x06\x04\xf2y\x84h\xed.\xffj\x03\xc5\x0bB'), chr(0b1100100) + chr(0b101000 + 0o75) + chr(0b101010 + 0o71) + chr(111) + '\144' + '\x65')(chr(0b1110101) + chr(5875 - 5759) + '\x66' + chr(0b101101) + '\070'))
for fGxDbmBdBlCw in Lbq81gOBsX3w:
fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xfd\x8a1U\x06\x04\xf2y\x84h\xed.\xffj\x03\xc5\x0bB'), chr(1935 - 1835) + '\145' + chr(99) + chr(0b1011011 + 0o24) + '\x64' + '\145')(chr(7966 - 7849) + chr(0b11011 + 0o131) + chr(0b1100110) + chr(0b100101 + 0o10) + chr(0b100110 + 0o22))] = roI3spqORKae(ES5oEprVxulp(b'\xac\xc0z\x07\x17'), '\144' + chr(0b1 + 0o144) + chr(0b110110 + 0o55) + chr(111) + '\144' + '\145')('\165' + '\x74' + '\146' + chr(0b100101 + 0o10) + chr(0b111000)) % fGxDbmBdBlCw[roI3spqORKae(ES5oEprVxulp(b'\xfd\x8a1U\x06\x04\xf2y\x84h\xed.\xffj\x03\xc5\x0bB'), chr(0b111000 + 0o54) + chr(0b1100101) + chr(0b10111 + 0o114) + chr(0b101100 + 0o103) + chr(100) + '\145')('\x75' + '\164' + chr(7959 - 7857) + '\055' + chr(56))]
roI3spqORKae(hUcsWwAd0nE_, roI3spqORKae(ES5oEprVxulp(b'\xe4\x993]\x116\xe0e\x99C\xe9'), chr(100) + '\145' + chr(6443 - 6344) + chr(9216 - 9105) + '\144' + '\145')(chr(117) + '\x74' + chr(0b1100110) + chr(0b101101) + chr(0b10010 + 0o46)))(QJgeTIOanow9, ats0aw_IRz86, roI3spqORKae(ES5oEprVxulp(b'\xec\x8a\x0bG\x02\x0c\xf4~\x9dR\xe2>'), chr(0b1100100) + '\145' + '\143' + '\x6f' + chr(0b10000 + 0o124) + chr(0b1100101))(chr(8037 - 7920) + chr(0b1010 + 0o152) + chr(1610 - 1508) + '\055' + '\070'))
if ftfygxgFas5X(Z4JD24rWWYSJ) > nzTpIcepk0o8(chr(48) + chr(0b111010 + 0o65) + chr(1730 - 1682), 8):
(xphe5J86b4hO, HOp0ZjSPeQln) = hUcsWwAd0nE_.fillkeys(Z4JD24rWWYSJ)
roI3spqORKae(hUcsWwAd0nE_, roI3spqORKae(ES5oEprVxulp(b'\xe4\x993]\x116\xe0e\x99C\xe9'), chr(0b1010111 + 0o15) + chr(4156 - 4055) + '\143' + chr(1522 - 1411) + chr(0b10000 + 0o124) + chr(0b1100101))('\165' + chr(0b1110100) + chr(8972 - 8870) + '\055' + '\x38'))(bqpTUs8apVqb, xphe5J86b4hO, roI3spqORKae(ES5oEprVxulp(b'\xec\x8a\x0bG\x13\x04\xe7{\x95D'), chr(100) + '\145' + chr(99) + '\157' + chr(8124 - 8024) + '\145')('\x75' + chr(12656 - 12540) + chr(0b1100110) + chr(0b10100 + 0o31) + '\070'))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xfa\x999D\x1e\x0c\xe47\x83C\xe3?\xc5hJ\xc9\t\x06'), chr(100) + chr(101) + chr(0b1100000 + 0o3) + chr(0b1101111) + chr(0b1100100) + '\145')(chr(5589 - 5472) + '\164' + '\x66' + chr(0b100010 + 0o13) + chr(1712 - 1656)), bqpTUs8apVqb)
roI3spqORKae(hUcsWwAd0nE_, roI3spqORKae(ES5oEprVxulp(b'\xe4\x993]\x116\xe0e\x99C\xe9'), chr(0b110011 + 0o61) + chr(7726 - 7625) + '\143' + '\157' + '\x64' + chr(0b110100 + 0o61))(chr(6241 - 6124) + chr(116) + chr(9898 - 9796) + chr(45) + '\070'))(bqpTUs8apVqb, Z4JD24rWWYSJ, roI3spqORKae(ES5oEprVxulp(b'\xec\x8a\x0bG\x13\x04\xe7{\x95D'), chr(0b1100100) + '\x65' + chr(0b1100011) + chr(9142 - 9031) + '\x64' + '\145')(chr(4408 - 4291) + '\164' + chr(0b1100110) + chr(0b101101) + chr(0b110110 + 0o2)))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xfa\x881W\x1b\x04\xf2y\x83\x17\xff9\xcf~\x0f\xc4GO/\x11'), chr(0b1100100) + chr(125 - 24) + '\143' + '\157' + '\x64' + chr(0b1011110 + 0o7))('\x75' + chr(0b100001 + 0o123) + chr(102) + '\055' + '\x38'), QJgeTIOanow9)
EbIbMz_wswWc = hUcsWwAd0nE_.measurements_methods(Lbq81gOBsX3w, NdBgRJDyurSB)
roI3spqORKae(hUcsWwAd0nE_, roI3spqORKae(ES5oEprVxulp(b'\xe4\x993]\x116\xe0e\x99C\xe9'), chr(100) + chr(101) + '\x63' + chr(9776 - 9665) + chr(100) + chr(0b1100101))('\x75' + '\x74' + chr(0b1100110) + '\055' + chr(1661 - 1605)))(rHPU8oONrR4n, EbIbMz_wswWc, roI3spqORKae(ES5oEprVxulp(b'\xe4\x993]\x116\xfar\x91D\xf9?\xc5a\x0f\xce\x13U'), chr(0b10010 + 0o122) + chr(1926 - 1825) + chr(0b1000011 + 0o40) + chr(0b0 + 0o157) + chr(0b1000011 + 0o41) + chr(101))(chr(0b101100 + 0o111) + chr(0b1001100 + 0o50) + chr(0b1100110) + '\055' + chr(56)))
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\xed\x99 UR\x1a\xe3x\x82R\xe8m\xc9bJ'), chr(0b1100100) + '\x65' + chr(99) + chr(111) + chr(4645 - 4545) + chr(101))('\x75' + chr(12290 - 12174) + '\146' + chr(45) + '\070'), rHPU8oONrR4n)
|
PmagPy/PmagPy
|
programs/fishrot.py
|
main
|
def main():
"""
NAME
fishrot.py
DESCRIPTION
generates set of Fisher distributed data from specified distribution
SYNTAX
fishrot.py [-h][-i][command line options]
OPTIONS
-h prints help message and quits
-i for interactive entry
-k kappa specify kappa, default is 20
-n N specify N, default is 100
-D D specify mean Dec, default is 0
-I I specify mean Inc, default is 90
where:
kappa: fisher distribution concentration parameter
N: number of directions desired
OUTPUT
dec, inc
"""
N,kappa,D,I=100,20.,0.,90.
if len(sys.argv)!=0 and '-h' in sys.argv:
print(main.__doc__)
sys.exit()
elif '-i' in sys.argv:
ans=input(' Kappa: ')
kappa=float(ans)
ans=input(' N: ')
N=int(ans)
ans=input(' Mean Dec: ')
D=float(ans)
ans=input(' Mean Inc: ')
I=float(ans)
else:
if '-k' in sys.argv:
ind=sys.argv.index('-k')
kappa=float(sys.argv[ind+1])
if '-n' in sys.argv:
ind=sys.argv.index('-n')
N=int(sys.argv[ind+1])
if '-D' in sys.argv:
ind=sys.argv.index('-D')
D=float(sys.argv[ind+1])
if '-I' in sys.argv:
ind=sys.argv.index('-I')
I=float(sys.argv[ind+1])
for k in range(N):
dec,inc= pmag.fshdev(kappa) # send kappa to fshdev
drot,irot=pmag.dodirot(dec,inc,D,I)
print('%7.1f %7.1f ' % (drot,irot))
|
python
|
def main():
"""
NAME
fishrot.py
DESCRIPTION
generates set of Fisher distributed data from specified distribution
SYNTAX
fishrot.py [-h][-i][command line options]
OPTIONS
-h prints help message and quits
-i for interactive entry
-k kappa specify kappa, default is 20
-n N specify N, default is 100
-D D specify mean Dec, default is 0
-I I specify mean Inc, default is 90
where:
kappa: fisher distribution concentration parameter
N: number of directions desired
OUTPUT
dec, inc
"""
N,kappa,D,I=100,20.,0.,90.
if len(sys.argv)!=0 and '-h' in sys.argv:
print(main.__doc__)
sys.exit()
elif '-i' in sys.argv:
ans=input(' Kappa: ')
kappa=float(ans)
ans=input(' N: ')
N=int(ans)
ans=input(' Mean Dec: ')
D=float(ans)
ans=input(' Mean Inc: ')
I=float(ans)
else:
if '-k' in sys.argv:
ind=sys.argv.index('-k')
kappa=float(sys.argv[ind+1])
if '-n' in sys.argv:
ind=sys.argv.index('-n')
N=int(sys.argv[ind+1])
if '-D' in sys.argv:
ind=sys.argv.index('-D')
D=float(sys.argv[ind+1])
if '-I' in sys.argv:
ind=sys.argv.index('-I')
I=float(sys.argv[ind+1])
for k in range(N):
dec,inc= pmag.fshdev(kappa) # send kappa to fshdev
drot,irot=pmag.dodirot(dec,inc,D,I)
print('%7.1f %7.1f ' % (drot,irot))
|
[
"def",
"main",
"(",
")",
":",
"N",
",",
"kappa",
",",
"D",
",",
"I",
"=",
"100",
",",
"20.",
",",
"0.",
",",
"90.",
"if",
"len",
"(",
"sys",
".",
"argv",
")",
"!=",
"0",
"and",
"'-h'",
"in",
"sys",
".",
"argv",
":",
"print",
"(",
"main",
".",
"__doc__",
")",
"sys",
".",
"exit",
"(",
")",
"elif",
"'-i'",
"in",
"sys",
".",
"argv",
":",
"ans",
"=",
"input",
"(",
"' Kappa: '",
")",
"kappa",
"=",
"float",
"(",
"ans",
")",
"ans",
"=",
"input",
"(",
"' N: '",
")",
"N",
"=",
"int",
"(",
"ans",
")",
"ans",
"=",
"input",
"(",
"' Mean Dec: '",
")",
"D",
"=",
"float",
"(",
"ans",
")",
"ans",
"=",
"input",
"(",
"' Mean Inc: '",
")",
"I",
"=",
"float",
"(",
"ans",
")",
"else",
":",
"if",
"'-k'",
"in",
"sys",
".",
"argv",
":",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"'-k'",
")",
"kappa",
"=",
"float",
"(",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
")",
"if",
"'-n'",
"in",
"sys",
".",
"argv",
":",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"'-n'",
")",
"N",
"=",
"int",
"(",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
")",
"if",
"'-D'",
"in",
"sys",
".",
"argv",
":",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"'-D'",
")",
"D",
"=",
"float",
"(",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
")",
"if",
"'-I'",
"in",
"sys",
".",
"argv",
":",
"ind",
"=",
"sys",
".",
"argv",
".",
"index",
"(",
"'-I'",
")",
"I",
"=",
"float",
"(",
"sys",
".",
"argv",
"[",
"ind",
"+",
"1",
"]",
")",
"for",
"k",
"in",
"range",
"(",
"N",
")",
":",
"dec",
",",
"inc",
"=",
"pmag",
".",
"fshdev",
"(",
"kappa",
")",
"# send kappa to fshdev",
"drot",
",",
"irot",
"=",
"pmag",
".",
"dodirot",
"(",
"dec",
",",
"inc",
",",
"D",
",",
"I",
")",
"print",
"(",
"'%7.1f %7.1f '",
"%",
"(",
"drot",
",",
"irot",
")",
")"
] |
NAME
fishrot.py
DESCRIPTION
generates set of Fisher distributed data from specified distribution
SYNTAX
fishrot.py [-h][-i][command line options]
OPTIONS
-h prints help message and quits
-i for interactive entry
-k kappa specify kappa, default is 20
-n N specify N, default is 100
-D D specify mean Dec, default is 0
-I I specify mean Inc, default is 90
where:
kappa: fisher distribution concentration parameter
N: number of directions desired
OUTPUT
dec, inc
|
[
"NAME",
"fishrot",
".",
"py"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/programs/fishrot.py#L8-L63
|
train
|
NAME fishrot. py
Taxonomy DESCRIPTION get a set of Fisher distributed data from a single Fisher Distribution
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8(chr(1573 - 1525) + '\157' + chr(0b110001) + chr(0b110101), 0o10), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b110011) + '\062' + '\x36', 11467 - 11459), nzTpIcepk0o8(chr(379 - 331) + chr(0b101001 + 0o106) + '\067' + chr(2890 - 2836), 0o10), nzTpIcepk0o8(chr(0b100111 + 0o11) + '\157' + '\x31' + chr(0b101011 + 0o6) + chr(0b110011), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b110000), 0o10), nzTpIcepk0o8('\060' + chr(0b1000010 + 0o55) + '\x32' + chr(0b110111) + '\x35', 45552 - 45544), nzTpIcepk0o8(chr(48) + '\x6f' + '\062' + chr(52) + chr(0b110111), 0o10), nzTpIcepk0o8(chr(1669 - 1621) + '\x6f' + chr(1295 - 1246), 0b1000), nzTpIcepk0o8('\x30' + '\157' + chr(0b100101 + 0o15) + chr(2006 - 1958) + '\x36', ord("\x08")), nzTpIcepk0o8('\060' + '\x6f' + chr(0b10101 + 0o34) + chr(0b110010) + chr(0b100000 + 0o21), ord("\x08")), nzTpIcepk0o8('\060' + chr(8850 - 8739) + chr(1485 - 1435) + '\x34' + '\x33', 0b1000), nzTpIcepk0o8(chr(0b110000) + '\157' + '\067' + '\x35', 0b1000), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\063' + '\x31' + chr(0b110001), 64615 - 64607), nzTpIcepk0o8(chr(48) + chr(111) + chr(2671 - 2617) + chr(0b110011), 0b1000), nzTpIcepk0o8('\x30' + chr(111) + chr(0b110001) + chr(0b101010 + 0o12) + chr(1752 - 1702), ord("\x08")), nzTpIcepk0o8('\x30' + chr(111) + '\062' + chr(0b110011) + chr(859 - 811), 0o10), nzTpIcepk0o8(chr(2286 - 2238) + '\x6f' + chr(0b110011) + chr(51) + chr(0b10010 + 0o36), ord("\x08")), nzTpIcepk0o8('\x30' + chr(111) + chr(0b110001) + '\061' + chr(0b1000 + 0o56), 0o10), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x33' + chr(0b110100) + '\x36', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(0b1010011 + 0o34) + chr(0b110100) + chr(0b110001), 25108 - 25100), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(1667 - 1618) + '\064' + chr(0b1110 + 0o46), 29882 - 29874), nzTpIcepk0o8(chr(0b110000) + chr(0b10001 + 0o136) + chr(49) + chr(0b1010 + 0o54) + chr(1670 - 1620), 0o10), nzTpIcepk0o8('\x30' + '\157' + chr(538 - 490), 8), nzTpIcepk0o8('\x30' + '\157' + chr(0b101011 + 0o7) + chr(0b110001) + chr(48), 23629 - 23621), nzTpIcepk0o8('\060' + '\x6f' + chr(116 - 67) + chr(0b100010 + 0o20) + '\067', 41233 - 41225), nzTpIcepk0o8(chr(1809 - 1761) + chr(0b1000110 + 0o51) + chr(0b101 + 0o55) + chr(54) + chr(1268 - 1213), ord("\x08")), nzTpIcepk0o8(chr(48) + '\x6f' + chr(0b101001 + 0o12) + chr(378 - 328) + chr(52), 0b1000), nzTpIcepk0o8(chr(0b1011 + 0o45) + '\x6f' + '\064' + '\064', 24718 - 24710), nzTpIcepk0o8('\060' + chr(0b11 + 0o154) + chr(687 - 633) + '\067', ord("\x08")), nzTpIcepk0o8('\x30' + '\157' + chr(50) + chr(53) + chr(0b110110), 1564 - 1556), nzTpIcepk0o8(chr(48) + chr(0b1101111) + chr(0b1100 + 0o45) + chr(53) + chr(0b100010 + 0o25), 0o10), nzTpIcepk0o8(chr(93 - 45) + '\x6f' + chr(2412 - 2361) + chr(55) + chr(0b110101), 0b1000), nzTpIcepk0o8(chr(0b1110 + 0o42) + '\x6f' + '\x32' + chr(0b110011) + '\061', 37573 - 37565), nzTpIcepk0o8(chr(0b110000) + '\157' + '\062' + chr(0b0 + 0o61) + chr(1807 - 1754), 0b1000), nzTpIcepk0o8(chr(0b101011 + 0o5) + chr(0b1011111 + 0o20) + chr(0b110011) + chr(51), 0b1000), nzTpIcepk0o8('\x30' + chr(0b1101111) + '\063' + chr(0b110000) + '\063', 0o10), nzTpIcepk0o8(chr(475 - 427) + '\157' + chr(625 - 575) + '\066' + chr(1684 - 1634), ord("\x08")), nzTpIcepk0o8(chr(0b10110 + 0o32) + chr(959 - 848) + chr(0b100110 + 0o14) + '\062' + '\x31', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + '\x6f' + '\x33' + chr(0b110000), 0o10), nzTpIcepk0o8(chr(48) + chr(0b1101111) + '\x33' + chr(0b110111) + chr(1686 - 1637), 0o10)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(865 - 817) + chr(0b1101111) + chr(0b110101) + chr(0b110000), ord("\x08"))] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'#'), chr(0b10111 + 0o115) + chr(101) + chr(0b110100 + 0o57) + '\157' + chr(0b1100100) + chr(101))(chr(0b1110101) + chr(0b110101 + 0o77) + '\x66' + chr(45) + '\070') + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def BXHXH_QeD6rL():
(UtB2m8Xmgf5k, LpU5RQpmJtzj, hOjrMKpaybfC, J89Y4kGNG2Bs) = (nzTpIcepk0o8(chr(48) + '\x6f' + chr(49) + chr(1619 - 1567) + '\x34', 8), 20.0, 0.0, 90.0)
if ftfygxgFas5X(roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'l\xbcw\x0fW\xc4\xffL\xc40\x90_'), chr(0b1101 + 0o127) + chr(0b1011101 + 0o10) + chr(0b101111 + 0o64) + '\157' + '\144' + '\145')(chr(117) + chr(12836 - 12720) + '\146' + chr(0b101101) + chr(1059 - 1003)))) != nzTpIcepk0o8('\060' + chr(0b1101110 + 0o1) + chr(0b100 + 0o54), 8) and roI3spqORKae(ES5oEprVxulp(b' \xbe'), chr(0b1100100) + '\x65' + chr(0b1100011) + chr(7102 - 6991) + chr(100) + chr(0b1100101))(chr(0b110010 + 0o103) + chr(4219 - 4103) + chr(0b111111 + 0o47) + chr(0b11010 + 0o23) + chr(0b10010 + 0o46)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'l\xbcw\x0fW\xc4\xffL\xc40\x90_'), chr(6680 - 6580) + chr(101) + chr(0b1100011) + chr(111) + '\144' + chr(0b1100101))(chr(0b110111 + 0o76) + chr(10945 - 10829) + chr(102) + chr(76 - 31) + chr(915 - 859))):
v8jsMqaYV6U2(roI3spqORKae(BXHXH_QeD6rL, roI3spqORKae(ES5oEprVxulp(b't\xb0{.q\xec\xceT\xe9 \xf4i'), chr(100) + '\x65' + chr(99) + chr(0b1101101 + 0o2) + chr(0b0 + 0o144) + '\145')(chr(0b1101011 + 0o12) + chr(0b100101 + 0o117) + chr(0b1100110) + chr(0b10000 + 0o35) + '\x38')))
roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'W\xa3L!c\xe8\xeb0\xf5"\xe2\x05'), chr(0b110 + 0o136) + '\145' + chr(7053 - 6954) + chr(0b1101101 + 0o2) + chr(0b110111 + 0o55) + '\145')(chr(0b110000 + 0o105) + chr(116) + '\x66' + chr(0b101000 + 0o5) + chr(2636 - 2580)))()
elif roI3spqORKae(ES5oEprVxulp(b' \xbf'), chr(0b1100100) + chr(0b1100101) + chr(3209 - 3110) + chr(754 - 643) + '\x64' + '\145')(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + chr(0b101101) + '\x38') in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'l\xbcw\x0fW\xc4\xffL\xc40\x90_'), chr(100) + chr(1071 - 970) + '\143' + '\157' + '\x64' + chr(0b1100101))(chr(0b1110101) + '\x74' + '\146' + chr(0b11101 + 0o20) + '\070')):
CMfsDQitQrpd = QnTXOd5N96r1(roI3spqORKae(ES5oEprVxulp(b'-\xf6\x1ekK\xdc\xd7q\xe7k\x83'), '\x64' + '\x65' + '\143' + chr(0b1101111) + chr(0b1100100) + '\145')(chr(0b110010 + 0o103) + chr(0b100010 + 0o122) + chr(0b101101 + 0o71) + '\x2d' + chr(0b110 + 0o62)))
LpU5RQpmJtzj = jLW6pRf2DSRk(CMfsDQitQrpd)
CMfsDQitQrpd = QnTXOd5N96r1(roI3spqORKae(ES5oEprVxulp(b'-\xf6\x1ekN\x87\x87'), chr(100) + '\x65' + chr(0b111100 + 0o47) + chr(111) + chr(0b1100100) + chr(2990 - 2889))(chr(0b1011100 + 0o31) + '\x74' + '\146' + chr(45) + chr(56)))
UtB2m8Xmgf5k = nzTpIcepk0o8(CMfsDQitQrpd)
CMfsDQitQrpd = QnTXOd5N96r1(roI3spqORKae(ES5oEprVxulp(b'-\xf6\x1ekM\xd8\xc6o\xa6\x15\xc6^\xf3\x13'), '\144' + chr(0b1010011 + 0o22) + chr(3210 - 3111) + chr(0b1001011 + 0o44) + chr(100) + '\145')(chr(0b1110101) + chr(12692 - 12576) + chr(0b1000011 + 0o43) + chr(0b10 + 0o53) + chr(0b111000)))
hOjrMKpaybfC = jLW6pRf2DSRk(CMfsDQitQrpd)
CMfsDQitQrpd = QnTXOd5N96r1(roI3spqORKae(ES5oEprVxulp(b'-\xf6\x1ekM\xd8\xc6o\xa6\x18\xcd^\xf3\x13'), chr(1184 - 1084) + '\145' + '\x63' + chr(0b110011 + 0o74) + chr(100) + '\145')(chr(117) + chr(0b1110100) + '\146' + '\055' + chr(2115 - 2059)))
J89Y4kGNG2Bs = jLW6pRf2DSRk(CMfsDQitQrpd)
else:
if roI3spqORKae(ES5oEprVxulp(b' \xbd'), chr(0b1100100) + '\145' + chr(2949 - 2850) + chr(2695 - 2584) + chr(100) + '\x65')(chr(0b111011 + 0o72) + chr(0b1110100) + '\146' + chr(45) + chr(2569 - 2513)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'l\xbcw\x0fW\xc4\xffL\xc40\x90_'), chr(0b1100100) + chr(0b1001111 + 0o26) + chr(0b1100011) + chr(111) + chr(9195 - 9095) + chr(101))(chr(0b11111 + 0o126) + chr(7489 - 7373) + chr(2675 - 2573) + '\055' + chr(56))):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b' \xbd'), chr(9294 - 9194) + chr(3265 - 3164) + chr(99) + '\157' + '\x64' + chr(0b1100101))('\x75' + chr(0b1110100) + chr(102) + chr(0b101101) + chr(0b110 + 0o62)))
LpU5RQpmJtzj = jLW6pRf2DSRk(bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8('\060' + '\157' + chr(49), 8)])
if roI3spqORKae(ES5oEprVxulp(b' \xb8'), '\x64' + chr(0b101110 + 0o67) + '\143' + chr(552 - 441) + chr(100) + chr(0b100001 + 0o104))(chr(0b101111 + 0o106) + '\x74' + chr(102) + chr(45) + chr(0b111000)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'l\xbcw\x0fW\xc4\xffL\xc40\x90_'), chr(0b1100100) + chr(0b1100101) + chr(0b10000 + 0o123) + chr(0b1101111) + '\144' + '\145')(chr(2799 - 2682) + chr(1551 - 1435) + chr(10137 - 10035) + chr(1083 - 1038) + chr(56))):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b' \xb8'), chr(0b11 + 0o141) + chr(101) + chr(762 - 663) + chr(8678 - 8567) + chr(0b111 + 0o135) + chr(101))(chr(0b1110101) + '\x74' + chr(102) + chr(0b10101 + 0o30) + chr(56)))
UtB2m8Xmgf5k = nzTpIcepk0o8(bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8(chr(0b10111 + 0o31) + chr(3809 - 3698) + chr(0b110001), 8)])
if roI3spqORKae(ES5oEprVxulp(b' \x92'), chr(100) + chr(0b1100010 + 0o3) + chr(0b1001100 + 0o27) + chr(111) + chr(632 - 532) + chr(101))(chr(7845 - 7728) + chr(116) + chr(0b110011 + 0o63) + chr(0b11 + 0o52) + chr(691 - 635)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'l\xbcw\x0fW\xc4\xffL\xc40\x90_'), chr(0b1100010 + 0o2) + chr(9561 - 9460) + chr(0b1010 + 0o131) + '\157' + chr(0b1100100) + chr(4230 - 4129))('\x75' + chr(0b1110100) + chr(0b1100110) + '\055' + chr(56))):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b' \x92'), chr(0b1000011 + 0o41) + chr(0b101011 + 0o72) + '\143' + '\157' + '\x64' + chr(0b1010001 + 0o24))('\165' + chr(116) + '\x66' + chr(0b101101) + chr(0b10000 + 0o50)))
hOjrMKpaybfC = jLW6pRf2DSRk(bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b1011 + 0o46), 8)])
if roI3spqORKae(ES5oEprVxulp(b' \x9f'), chr(6092 - 5992) + chr(101) + chr(6326 - 6227) + chr(0b1011111 + 0o20) + '\x64' + chr(101))(chr(117) + '\x74' + chr(0b1100110) + chr(0b10110 + 0o27) + chr(56)) in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'l\xbcw\x0fW\xc4\xffL\xc40\x90_'), chr(0b1100100) + chr(0b10011 + 0o122) + chr(99) + '\157' + chr(0b1100100) + chr(2250 - 2149))(chr(5712 - 5595) + chr(116) + chr(102) + '\x2d' + chr(56))):
w5vcgUzFN3bF = bpyfpu4kTbwL.argv.ZpfN5tSLaZze(roI3spqORKae(ES5oEprVxulp(b' \x9f'), chr(2881 - 2781) + chr(0b101111 + 0o66) + chr(0b1100011) + '\157' + '\x64' + chr(0b1100101))(chr(117) + '\164' + chr(0b1100110) + '\055' + chr(0b111000)))
J89Y4kGNG2Bs = jLW6pRf2DSRk(bpyfpu4kTbwL.ajIDWyXMBa3b[w5vcgUzFN3bF + nzTpIcepk0o8(chr(193 - 145) + '\x6f' + '\061', 8)])
for B6UAF1zReOyJ in bbT2xIe5pzk7(UtB2m8Xmgf5k):
(oD8LLo_zqNZe, ReAwxaIgTMy5) = hUcsWwAd0nE_.fshdev(LpU5RQpmJtzj)
(rExOMxDb0zRQ, YSYMsnlE8pKk) = hUcsWwAd0nE_.dodirot(oD8LLo_zqNZe, ReAwxaIgTMy5, hOjrMKpaybfC, J89Y4kGNG2Bs)
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'(\xe1\x10zf\x9d\x826\xa8`\xc5\x1d'), chr(100) + '\x65' + chr(0b111110 + 0o45) + '\x6f' + chr(0b1001110 + 0o26) + chr(10178 - 10077))(chr(0b111 + 0o156) + '\x74' + chr(0b1011 + 0o133) + chr(45) + chr(0b111000)) % (rExOMxDb0zRQ, YSYMsnlE8pKk))
|
PmagPy/PmagPy
|
programs/conversion_scripts/iodp_samples_magic.py
|
main
|
def main():
"""
iodp_samples_magic.py
OPTIONS:
-f FILE, input csv file
-Fsa FILE, output samples file for updating, default is to overwrite existing samples file
"""
if "-h" in sys.argv:
print(main.__doc__)
sys.exit()
dataframe = extractor.command_line_dataframe([['WD', False, '.'], ['ID', False, '.'], ['f', True, ''], ['Fsa', False, 'samples.txt'], ['DM', False, 3]])
args = sys.argv
checked_args = extractor.extract_and_check_args(args, dataframe)
samp_file, output_samp_file, output_dir_path, input_dir_path, data_model_num = extractor.get_vars(['f', 'Fsa', 'WD', 'ID', 'DM'], checked_args)
data_model_num = int(float(data_model_num))
if '-Fsa' not in args and data_model_num == 2:
output_samp_file = "er_samples.txt"
ran, error = convert.iodp_samples(samp_file, output_samp_file, output_dir_path,
input_dir_path, data_model_num=data_model_num)
if not ran:
print("-W- " + error)
|
python
|
def main():
"""
iodp_samples_magic.py
OPTIONS:
-f FILE, input csv file
-Fsa FILE, output samples file for updating, default is to overwrite existing samples file
"""
if "-h" in sys.argv:
print(main.__doc__)
sys.exit()
dataframe = extractor.command_line_dataframe([['WD', False, '.'], ['ID', False, '.'], ['f', True, ''], ['Fsa', False, 'samples.txt'], ['DM', False, 3]])
args = sys.argv
checked_args = extractor.extract_and_check_args(args, dataframe)
samp_file, output_samp_file, output_dir_path, input_dir_path, data_model_num = extractor.get_vars(['f', 'Fsa', 'WD', 'ID', 'DM'], checked_args)
data_model_num = int(float(data_model_num))
if '-Fsa' not in args and data_model_num == 2:
output_samp_file = "er_samples.txt"
ran, error = convert.iodp_samples(samp_file, output_samp_file, output_dir_path,
input_dir_path, data_model_num=data_model_num)
if not ran:
print("-W- " + error)
|
[
"def",
"main",
"(",
")",
":",
"if",
"\"-h\"",
"in",
"sys",
".",
"argv",
":",
"print",
"(",
"main",
".",
"__doc__",
")",
"sys",
".",
"exit",
"(",
")",
"dataframe",
"=",
"extractor",
".",
"command_line_dataframe",
"(",
"[",
"[",
"'WD'",
",",
"False",
",",
"'.'",
"]",
",",
"[",
"'ID'",
",",
"False",
",",
"'.'",
"]",
",",
"[",
"'f'",
",",
"True",
",",
"''",
"]",
",",
"[",
"'Fsa'",
",",
"False",
",",
"'samples.txt'",
"]",
",",
"[",
"'DM'",
",",
"False",
",",
"3",
"]",
"]",
")",
"args",
"=",
"sys",
".",
"argv",
"checked_args",
"=",
"extractor",
".",
"extract_and_check_args",
"(",
"args",
",",
"dataframe",
")",
"samp_file",
",",
"output_samp_file",
",",
"output_dir_path",
",",
"input_dir_path",
",",
"data_model_num",
"=",
"extractor",
".",
"get_vars",
"(",
"[",
"'f'",
",",
"'Fsa'",
",",
"'WD'",
",",
"'ID'",
",",
"'DM'",
"]",
",",
"checked_args",
")",
"data_model_num",
"=",
"int",
"(",
"float",
"(",
"data_model_num",
")",
")",
"if",
"'-Fsa'",
"not",
"in",
"args",
"and",
"data_model_num",
"==",
"2",
":",
"output_samp_file",
"=",
"\"er_samples.txt\"",
"ran",
",",
"error",
"=",
"convert",
".",
"iodp_samples",
"(",
"samp_file",
",",
"output_samp_file",
",",
"output_dir_path",
",",
"input_dir_path",
",",
"data_model_num",
"=",
"data_model_num",
")",
"if",
"not",
"ran",
":",
"print",
"(",
"\"-W- \"",
"+",
"error",
")"
] |
iodp_samples_magic.py
OPTIONS:
-f FILE, input csv file
-Fsa FILE, output samples file for updating, default is to overwrite existing samples file
|
[
"iodp_samples_magic",
".",
"py",
"OPTIONS",
":",
"-",
"f",
"FILE",
"input",
"csv",
"file",
"-",
"Fsa",
"FILE",
"output",
"samples",
"file",
"for",
"updating",
"default",
"is",
"to",
"overwrite",
"existing",
"samples",
"file"
] |
c7984f8809bf40fe112e53dcc311a33293b62d0b
|
https://github.com/PmagPy/PmagPy/blob/c7984f8809bf40fe112e53dcc311a33293b62d0b/programs/conversion_scripts/iodp_samples_magic.py#L7-L28
|
train
|
Iodp_samples_magic. py
|
GiP5xwVCF98Z,B3LV8Eo811Ma,bIsJhlpYrrU2,UtiWT6f6p9yZ,sY2ClS3bs_Vs,cXy7eDEmqBLX,WBIJpxagI_Bm,oiYQtqKByLVy,pKtZbyLPTF7M,N5KuUvtbiyqB,Y8CO_HpFZe1H,lFpHwHL3xiEO,QT_5wdIFQ3WX,gn988v5t9NEf,dVZxwLTOCtbO,RjQP07DYIdkf,Wun5u3i1rn23,m64e4RQAlmFd,zfo2Sgkz3IVJ,aWb0eXvJHTT7,s2y8nAB4S7UF,znAfcqx_89tO,ZnHlCcECsuOK,TdYHRT1SBW60,mBmBrDJUSN6g,Awc2QmWaiVq8,fPFTJxVnGShv,Kqv3Zaj1M9P0,uKsHT175xV8E,ah0DLMBSEU5j,EsFcqWRT9elq,d9st0HqZDng1,knUxyjfq07F9,Fc8q2OvvlH7d,KSw3AkHkJy1a,JD7LadPikpPw,VwkB9reRDydR,aHxuT4bIDdeg,Qn0k4xGfJpuL,NfwEQ1VKf5DV,WdoB9EK8ABTr,Y1otPTwLRJvi,zsedrPqY_EmW,CJFGX4uBWMak,DB9Ra8FNEf7o,DHq8A6v2Wg4n,Migy1gLCcYvQ,IAGRfZDRyjN_,ze1AhR_jfpze,ej204HIOxzoZ,_1qUu0gKi9gH,Wa8JM2k53wi5,aFaxROHyT7UJ,ZOdpVDJPWn4I,LqOf4dRsAg72,K3alqetBMgas,ZtIuyIq3ta7g,UIHY5MV5X5uS,C60ELahXqfKV,FB4_7GjVy3pW,wXIYU_4UfQFa,jZIjKu8IFANs,REazVyvp6OIp,pZy5DBJ8WJod,aP29ipGsOVzf,YikXQdxs3VoO,UBvEeZympYSz,mRTjFWUmjlQA,QhZRiM1qvaW7,WbNHlDKpyPtQ,z18h6aCn31dg,oxjHmqoBrCHG,GA4ANb_Tki5v,LdFlJR2ssk3y,gCu7Qd75URN1,yfEeqQiUoqWT,zGgTE_CdZfvi,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2,zQBGwUT7UU8L,DvlSWc3qeAuL,qX60lO1lgHA5,ZQUt7vS8_3kI,VF4pKOObtlPc,D6JeCyjJUA8O,fBqfYi7uj_uC,TVUhqOt5_BbS,WtdkIpFeYozM,MdkNqd1bagO6,QNQS9e6tJqMV,typojWN5Phrq,gufQJgTAhMnI,uPAcezIXzQNA,i739myaCTbWD,AtYHTsImz86v,pWZq9QOaZbhU,lI5UiuqoXdKZ,qZ4DivK_Doaa,znjnJWK64FDT,iJbw0iNQ06Xw,Jq33HEV_XqZE,_kV_Bomx8PZ4,Z5xOfqIptFuc,_9cznYtBZk6k,ZurjcUL1ssA8,qEahrGEDF7Tq,jLW6pRf2DSRk,q33KG3foQ_CJ,PNaRkv8AjHWU,roI3spqORKae,CFUos7dinCa7,dRKdVnHPFq7C,dMJNtLk2mncQ,Mq8h41ilRngb,vgO67Nkl7Kt9,maLnLg8O5zPT,QnTXOd5N96r1,nzTpIcepk0o8,suIjIS24Zkqw,CmsH_0IVxIiZ,b8MSkfijeeBr,ftfygxgFas5X,xM0vTMWcJQBa,H4NoA26ON7iG,y0cCpS6dh4OT,VVP82lOIz6CD,KV9ckIhroIia,D2M3XQk26HKr,XURpmPuEWCNF,ltB3XhPy2rYf,mxgO6GAb3Xup,llEg6op6Lr8F,DnU3Rq9N5ala,RmKXV0QRcrJP,JEroPXRTriYU,v8jsMqaYV6U2,X1QyyvXSAOQt,PWTqT_PKIfuW,bbT2xIe5pzk7,VWshwTzZfwvC,DoS4vLAglV8A,sOS7b2Ofrbne,Bvi71nNyvlqO,lCf1uzpaIUMv,nDEnDEV3Lc5Z,V3OlOVg98A85,WsP3Nc3n6e0b,N9zlRy29S1SS,oclC8DLjA_lV,CO2YiXoIEhJY,nfNqtJL5aRaY,MJ07XsN5uFgW,cL4sFo6RhVJa,TxMFWa_Xzviv,bpTSxj4JFQ8o,zL_YcxPEZPhm,yfEeqQiUoqWT,OHWDi_URd_WF,NKGkaWkPPkT2,AYtDRlqeP0tq,vQqJeSQfHM0X,FUdwyfT9sfj2=ArithmeticError,AssertionError,AttributeError,BaseException,BlockingIOError,BrokenPipeError,BufferError,BytesWarning,ChildProcessError,ConnectionAbortedError,ConnectionError,ConnectionRefusedError,ConnectionResetError,DeprecationWarning,EOFError,Ellipsis,EncodingWarning,EnvironmentError,Exception,False,FileExistsError,FileNotFoundError,FloatingPointError,FutureWarning,GeneratorExit,IOError,ImportError,ImportWarning,IndentationError,IndexError,InterruptedError,IsADirectoryError,KeyError,KeyboardInterrupt,LookupError,MemoryError,ModuleNotFoundError,NameError,None,NotADirectoryError,NotImplemented,NotImplementedError,OSError,OverflowError,PendingDeprecationWarning,PermissionError,ProcessLookupError,RecursionError,ReferenceError,ResourceWarning,RuntimeError,RuntimeWarning,StopAsyncIteration,StopIteration,SyntaxError,SyntaxWarning,SystemError,SystemExit,TabError,TimeoutError,True,TypeError,UnboundLocalError,UnicodeDecodeError,UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,UserWarning,ValueError,Warning,WindowsError,ZeroDivisionError,__build_class__,__debug__,__doc__,__import__,__loader__,__name__,__package__,__spec__,abs,aiter,all,anext,any,ascii,bin,bool,breakpoint,bytearray,bytes,callable,chr,classmethod,compile,complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,exec,exit,filter,float,format,frozenset,getattr,globals,hasattr,hash,help,hex,id,input,int,isinstance,issubclass,iter,len,license,list,locals,map,max,memoryview,min,next,object,oct,open,ord,pow,print,property,quit,range,repr,reversed,round,set,setattr,slice,sorted,staticmethod,str,sum,super,tuple,type,vars,zip,__builtins__,__cached__,__doc__,__file__,__loader__,__name__,__package__,__spec__
ES5oEprVxulp = lambda R7ltlgvcKSD4: QNQS9e6tJqMV([bI5jsQ9OkQtj ^ [nzTpIcepk0o8('\x30' + '\157' + '\062' + '\067' + chr(0b1101 + 0o45), 0o10), nzTpIcepk0o8(chr(0b1011 + 0o45) + chr(5872 - 5761) + chr(1632 - 1582) + chr(0b1011 + 0o47) + '\061', 0b1000), nzTpIcepk0o8(chr(0b101111 + 0o1) + '\x6f' + chr(0b110001 + 0o0) + chr(855 - 804) + chr(0b110001), ord("\x08")), nzTpIcepk0o8('\060' + '\x6f' + chr(49) + chr(1393 - 1343) + chr(0b110001), ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b101101 + 0o102) + '\x33' + '\x37' + chr(0b110011), ord("\x08")), nzTpIcepk0o8('\060' + chr(0b1001101 + 0o42) + '\062' + '\x31', ord("\x08")), nzTpIcepk0o8(chr(714 - 666) + '\157' + chr(51) + '\x35' + '\066', ord("\x08")), nzTpIcepk0o8(chr(0b11010 + 0o26) + chr(111) + '\061' + chr(50) + chr(55), 0b1000), nzTpIcepk0o8(chr(875 - 827) + '\x6f' + '\x31' + chr(0b110110) + '\x36', ord("\x08")), nzTpIcepk0o8('\060' + '\x6f' + chr(50) + chr(49) + chr(0b110111), 21855 - 21847), nzTpIcepk0o8(chr(1154 - 1106) + chr(5208 - 5097) + '\x32' + '\x32' + chr(0b100010 + 0o16), ord("\x08")), nzTpIcepk0o8(chr(1602 - 1554) + chr(0b1101111) + '\063' + chr(53) + chr(0b10100 + 0o34), 0b1000), nzTpIcepk0o8(chr(348 - 300) + chr(0b1101111) + chr(0b10000 + 0o44) + '\x31', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(3252 - 3141) + chr(561 - 510) + chr(53) + '\x34', 30801 - 30793), nzTpIcepk0o8(chr(48) + chr(950 - 839) + chr(50) + '\x30' + '\063', 0o10), nzTpIcepk0o8('\060' + chr(0b11101 + 0o122) + '\x31' + chr(48) + chr(54), 0o10), nzTpIcepk0o8(chr(0b100101 + 0o13) + chr(111) + chr(0b101101 + 0o5) + '\067' + '\065', 0b1000), nzTpIcepk0o8(chr(298 - 250) + '\x6f' + chr(397 - 348) + chr(706 - 651) + '\063', 0b1000), nzTpIcepk0o8(chr(0b110000) + chr(5629 - 5518) + chr(588 - 537) + '\x37' + chr(0b1010 + 0o55), 0b1000), nzTpIcepk0o8(chr(48) + '\157' + chr(0b110010), 0o10), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b11010 + 0o27) + chr(0b110001) + '\x33', 0o10), nzTpIcepk0o8(chr(0b11110 + 0o22) + chr(0b1101111) + chr(53) + chr(0b101101 + 0o6), 0o10), nzTpIcepk0o8('\x30' + '\x6f' + '\x32' + chr(54) + chr(52), 38967 - 38959), nzTpIcepk0o8(chr(48) + '\157' + chr(1904 - 1854) + chr(690 - 638) + chr(0b110110), 62387 - 62379), nzTpIcepk0o8(chr(0b110000) + '\x6f' + chr(0b110001) + '\x31' + chr(0b110001), ord("\x08")), nzTpIcepk0o8(chr(0b1010 + 0o46) + '\157' + chr(0b110011) + chr(52) + chr(0b11110 + 0o26), 0o10), nzTpIcepk0o8(chr(48) + chr(11536 - 11425) + chr(0b110001) + chr(622 - 568) + chr(2018 - 1967), ord("\x08")), nzTpIcepk0o8('\060' + '\157' + chr(1849 - 1798) + chr(0b10000 + 0o47) + chr(1821 - 1767), 0o10), nzTpIcepk0o8(chr(48) + chr(111) + chr(0b11 + 0o60) + chr(0b110010) + chr(0b110001), 0b1000), nzTpIcepk0o8('\060' + chr(0b1101111) + chr(0b110011) + chr(54) + '\067', 0o10), nzTpIcepk0o8('\x30' + '\157' + chr(0b1110 + 0o45) + '\x32' + chr(0b1001 + 0o54), 47210 - 47202), nzTpIcepk0o8('\x30' + '\x6f' + '\062' + '\x30' + chr(54), 0o10), nzTpIcepk0o8(chr(0b11110 + 0o22) + chr(0b1101111) + chr(1850 - 1799) + '\x34', ord("\x08")), nzTpIcepk0o8('\x30' + '\x6f' + '\x33' + chr(52) + chr(54), 0o10), nzTpIcepk0o8(chr(0b10110 + 0o32) + '\x6f' + chr(50) + chr(0b110101) + '\063', ord("\x08")), nzTpIcepk0o8(chr(48) + chr(0b1010010 + 0o35) + chr(0b110010) + chr(49) + chr(0b110111), 8), nzTpIcepk0o8(chr(48) + chr(5612 - 5501) + chr(0b110001) + chr(2411 - 2359) + '\066', ord("\x08")), nzTpIcepk0o8(chr(0b110000) + chr(8806 - 8695) + chr(416 - 364) + chr(0b110001), 8), nzTpIcepk0o8(chr(48) + '\x6f' + '\x33' + chr(1257 - 1204) + chr(55), 35249 - 35241), nzTpIcepk0o8(chr(0b110000) + chr(0b10011 + 0o134) + chr(0b110001) + chr(52) + chr(1237 - 1182), 1636 - 1628)][ZlbFMSG8gCoF % nzTpIcepk0o8(chr(0b101000 + 0o10) + chr(0b1101111) + chr(53) + chr(2199 - 2151), 36340 - 36332)] for (ZlbFMSG8gCoF, bI5jsQ9OkQtj) in _kV_Bomx8PZ4(R7ltlgvcKSD4)])
def rFFUeiYWzOhx(pOp6HxxfV61L, pXRQUD7VR93J):
try:
return zGgTE_CdZfvi(pOp6HxxfV61L + roI3spqORKae(ES5oEprVxulp(b'\x94'), chr(0b11100 + 0o110) + chr(1585 - 1484) + chr(322 - 223) + chr(111) + chr(100) + '\145')(chr(0b100001 + 0o124) + '\x74' + '\x66' + chr(1067 - 1022) + chr(2051 - 1995)) + pXRQUD7VR93J)
except fPFTJxVnGShv:
return zGgTE_CdZfvi(pOp6HxxfV61L)
def BXHXH_QeD6rL():
if roI3spqORKae(ES5oEprVxulp(b'\x97\xf9'), chr(0b1100100 + 0o0) + chr(1157 - 1056) + '\x63' + '\157' + chr(100) + chr(0b1100101))('\165' + '\164' + '\x66' + chr(45) + '\070') in roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\xdb\xfb\x10\x15\xach\xb6\x1a4\xee\xa3\x8a'), chr(0b1100100) + '\145' + '\x63' + '\x6f' + chr(100) + '\x65')('\165' + chr(0b1110100) + '\x66' + chr(45) + chr(56))):
v8jsMqaYV6U2(roI3spqORKae(BXHXH_QeD6rL, roI3spqORKae(ES5oEprVxulp(b'\xc3\xf7\x1c4\x8a@\x87\x02\x19\xfe\xc7\xbc'), '\x64' + chr(1279 - 1178) + chr(6724 - 6625) + chr(10597 - 10486) + chr(100) + '\145')(chr(0b1110101) + chr(0b1110100) + chr(0b1100110) + '\055' + chr(0b1010 + 0o56))))
roI3spqORKae(bpyfpu4kTbwL, roI3spqORKae(ES5oEprVxulp(b'\xe0\xe4+;\x98D\xa2f\x05\xfc\xd1\xd0'), chr(0b1000101 + 0o37) + chr(1899 - 1798) + chr(1869 - 1770) + chr(8481 - 8370) + chr(100) + chr(0b1011 + 0o132))('\x75' + chr(116) + chr(0b10010 + 0o124) + chr(45) + chr(56)))()
JGOfJ3ibSnmm = Sc5_ZljaM4Vn.command_line_dataframe([[roI3spqORKae(ES5oEprVxulp(b'\xed\xd5'), chr(0b1100100) + chr(101) + chr(4424 - 4325) + '\157' + chr(2855 - 2755) + chr(0b1100101))(chr(3215 - 3098) + chr(785 - 669) + chr(0b110000 + 0o66) + chr(0b101101) + chr(0b111000)), nzTpIcepk0o8('\060' + chr(9158 - 9047) + chr(1824 - 1776), 34956 - 34948), roI3spqORKae(ES5oEprVxulp(b'\x94'), chr(100) + chr(101) + chr(0b1100011 + 0o0) + '\157' + chr(100) + chr(101))(chr(0b1110101) + chr(116) + '\146' + chr(0b110 + 0o47) + '\x38')], [roI3spqORKae(ES5oEprVxulp(b'\xf3\xd5'), chr(100) + chr(0b1100101) + chr(0b100001 + 0o102) + chr(111) + '\x64' + '\x65')(chr(0b100100 + 0o121) + chr(116) + chr(0b111101 + 0o51) + '\x2d' + '\x38'), nzTpIcepk0o8(chr(0b110000) + chr(111) + chr(0b110000), 8), roI3spqORKae(ES5oEprVxulp(b'\x94'), chr(0b1100100) + '\x65' + chr(0b1000000 + 0o43) + chr(9872 - 9761) + '\144' + '\x65')(chr(8999 - 8882) + '\164' + chr(509 - 407) + chr(0b1010 + 0o43) + chr(0b111000))], [roI3spqORKae(ES5oEprVxulp(b'\xdc'), '\144' + chr(101) + '\143' + chr(0b1110 + 0o141) + chr(0b1100100) + chr(0b1100101))(chr(0b1110101) + '\164' + chr(0b10 + 0o144) + chr(0b101101) + chr(0b111000)), nzTpIcepk0o8('\060' + '\x6f' + chr(2269 - 2220), 0o10), roI3spqORKae(ES5oEprVxulp(b''), chr(2445 - 2345) + '\x65' + chr(0b1000 + 0o133) + chr(111) + chr(0b1100100) + chr(1020 - 919))(chr(117) + chr(116) + chr(0b1100001 + 0o5) + chr(0b1110 + 0o37) + chr(0b110010 + 0o6))], [roI3spqORKae(ES5oEprVxulp(b'\xfc\xe28'), chr(4652 - 4552) + '\x65' + chr(0b1011 + 0o130) + chr(0b1001001 + 0o46) + chr(0b100100 + 0o100) + '\145')(chr(5310 - 5193) + chr(116) + '\x66' + '\x2d' + chr(0b10010 + 0o46)), nzTpIcepk0o8(chr(2102 - 2054) + chr(0b1101111) + chr(1541 - 1493), 8), roI3spqORKae(ES5oEprVxulp(b'\xc9\xf04!\x97t\x9dy\x02\xf7\xe4'), chr(7148 - 7048) + chr(101) + chr(0b1100011) + chr(111) + chr(9316 - 9216) + '\x65')(chr(0b101001 + 0o114) + chr(0b1010010 + 0o42) + chr(1370 - 1268) + '\x2d' + '\070')], [roI3spqORKae(ES5oEprVxulp(b'\xfe\xdc'), chr(100) + chr(0b101111 + 0o66) + chr(2200 - 2101) + '\157' + '\x64' + '\145')(chr(117) + '\164' + chr(0b11011 + 0o113) + '\055' + '\070'), nzTpIcepk0o8(chr(0b110000) + chr(4076 - 3965) + chr(0b110000), 8), nzTpIcepk0o8(chr(0b110000) + chr(0b1101111) + chr(0b110011), 0b1000)]])
eemPYp2vtTSr = bpyfpu4kTbwL.ajIDWyXMBa3b
LlvVQ5dTBlbp = Sc5_ZljaM4Vn.extract_and_check_args(eemPYp2vtTSr, JGOfJ3ibSnmm)
(bqpTUs8apVqb, zVUy5p_4Lmv0, YtDhZvF7VzwC, KADebXAR9grB, Z5dKAC9uv0qA) = Sc5_ZljaM4Vn.get_vars([roI3spqORKae(ES5oEprVxulp(b'\xdc'), chr(100) + chr(0b1100101) + chr(0b110111 + 0o54) + chr(277 - 166) + '\x64' + chr(4637 - 4536))('\165' + chr(0b1011001 + 0o33) + '\146' + chr(0b1101 + 0o40) + '\x38'), roI3spqORKae(ES5oEprVxulp(b'\xfc\xe28'), chr(5977 - 5877) + '\145' + '\143' + '\157' + chr(0b111000 + 0o54) + '\145')(chr(0b1110101) + chr(116) + chr(7769 - 7667) + chr(0b10001 + 0o34) + chr(56)), roI3spqORKae(ES5oEprVxulp(b'\xed\xd5'), chr(8303 - 8203) + '\145' + '\x63' + chr(111) + '\144' + chr(0b1000101 + 0o40))(chr(0b110001 + 0o104) + '\164' + '\x66' + chr(0b101101) + chr(2532 - 2476)), roI3spqORKae(ES5oEprVxulp(b'\xf3\xd5'), chr(100) + '\x65' + chr(0b1100011) + chr(0b1010100 + 0o33) + chr(100) + chr(101))('\165' + chr(5258 - 5142) + chr(3456 - 3354) + chr(1911 - 1866) + chr(0b1 + 0o67)), roI3spqORKae(ES5oEprVxulp(b'\xfe\xdc'), '\x64' + chr(0b1011 + 0o132) + '\143' + chr(5065 - 4954) + chr(0b1100100) + chr(0b1100010 + 0o3))('\165' + chr(116) + chr(0b1011 + 0o133) + chr(45) + '\070')], LlvVQ5dTBlbp)
Z5dKAC9uv0qA = nzTpIcepk0o8(jLW6pRf2DSRk(Z5dKAC9uv0qA))
if roI3spqORKae(ES5oEprVxulp(b'\x97\xd7*0'), chr(0b1100100) + '\145' + chr(5295 - 5196) + chr(0b111000 + 0o67) + chr(100) + chr(0b1100101))(chr(3494 - 3377) + '\x74' + chr(102) + chr(0b101101) + chr(56)) not in eemPYp2vtTSr and Z5dKAC9uv0qA == nzTpIcepk0o8(chr(0b110000) + chr(7967 - 7856) + '\062', 8):
zVUy5p_4Lmv0 = roI3spqORKae(ES5oEprVxulp(b'\xdf\xe3\x06"\x9a|\x9e;\x13\xfc\xbe\x9cY\x98'), chr(100) + chr(101) + '\x63' + chr(0b1011000 + 0o27) + '\x64' + chr(101))(chr(117) + '\164' + chr(0b1100101 + 0o1) + chr(1664 - 1619) + chr(56))
(cIuHJOEQhZGb, qi1wipPVvEKd) = Ke7SAGs_qhbe.iodp_samples(bqpTUs8apVqb, zVUy5p_4Lmv0, YtDhZvF7VzwC, KADebXAR9grB, data_model_num=Z5dKAC9uv0qA)
if not cIuHJOEQhZGb:
v8jsMqaYV6U2(roI3spqORKae(ES5oEprVxulp(b'\x97\xc6tq'), chr(1258 - 1158) + '\x65' + '\x63' + '\x6f' + chr(100) + chr(0b110100 + 0o61))(chr(0b100000 + 0o125) + chr(1009 - 893) + chr(102) + chr(0b101101) + '\070') + qi1wipPVvEKd)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.